@imposium-hub/components 1.34.2 → 1.34.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("react"),require("react-redux"),require("redux"),require("@fortawesome/react-fontawesome"),require("axios"),require("react-dnd"),require("hotkeys-js"),require("react-dom"),require("react-resize-detector"),require("react-tooltip"),require("react-table"),require("react-autosuggest"),require("react-dnd-html5-backend"),require("react-moveable"),require("localforage"));else if("function"==typeof define&&define.amd)define(["react","react-redux","redux","@fortawesome/react-fontawesome","axios","react-dnd","hotkeys-js","react-dom","react-resize-detector","react-tooltip","react-table","react-autosuggest","react-dnd-html5-backend","react-moveable","localforage"],t);else{var n="object"==typeof exports?t(require("react"),require("react-redux"),require("redux"),require("@fortawesome/react-fontawesome"),require("axios"),require("react-dnd"),require("hotkeys-js"),require("react-dom"),require("react-resize-detector"),require("react-tooltip"),require("react-table"),require("react-autosuggest"),require("react-dnd-html5-backend"),require("react-moveable"),require("localforage")):t(e.react,e["react-redux"],e.redux,e["@fortawesome/react-fontawesome"],e.axios,e["react-dnd"],e["hotkeys-js"],e["react-dom"],e["react-resize-detector"],e["react-tooltip"],e["react-table"],e["react-autosuggest"],e["react-dnd-html5-backend"],e["react-moveable"],e.localforage);for(var r in n)("object"==typeof exports?exports:e)[r]=n[r]}}(window,(function(e,t,n,r,o,i,a,s,c,l,u,p,f,d,h){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=133)}([function(t,n){t.exports=e},function(e,t,n){e.exports=n(320)()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ReactCSS=t.loop=t.handleActive=t.handleHover=t.hover=void 0;var r=l(n(214)),o=l(n(290)),i=l(n(316)),a=l(n(317)),s=l(n(318)),c=l(n(319));function l(e){return e&&e.__esModule?e:{default:e}}t.hover=a.default,t.handleHover=a.default,t.handleActive=s.default,t.loop=c.default;var u=t.ReactCSS=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];var s=(0,r.default)(n),c=(0,o.default)(e,s);return(0,i.default)(c)};t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ICON_FILE_CODE=t.ICON_CUBE=t.ICON_LAYER_GROUP=t.ICON_EXPAND_ARROWS=t.ICON_EXPAND=t.ICON_COMPRESS=t.ICON_ARROW_RIGHT=t.ICON_ARROW_CENTER_H=t.ICON_ARROW_LEFT=t.ICON_ARROW_DOWN=t.ICON_ARROW_CENTER_V=t.ICON_ARROW_UP=t.ICON_BARS=t.ICON_ALIGN_CENTER=t.ICON_ALIGN_RIGHT=t.ICON_ALIGN_LEFT=t.ICON_FONT=t.ICON_INFO_CIRCLE=t.ICON_TIMES_CIRCLE=t.SORT_DOWN=t.SORT_UP=t.ICON_BAN=t.ICON_USER_LOCK=t.ICON_CHEVRON_UP=t.ICON_CHEVRON_DOWN=t.ICON_ANGLE_DOUBLE_RIGHT=t.ICON_ANGLE_RIGHT=t.ICON_ANGLE_DOUBLE_LEFT=t.ICON_ANGLE_LEFT=t.ICON_EXCLAIMATION_TRIANGLE=t.ICON_CLIPBOARD=t.ICON_PLUS=t.ICON_SEARCH=t.ICON_EDIT=t.ICON_CHECK=t.ICON_CARET_DOWN=t.ICON_CARET_UP=t.ICON_CIRCLE_NOTCH=t.ICON_TIMES=t.ICON_COPY=t.ICON_AUDIO_TYPE=t.ICON_IMAGE_SEQ_TYPE=t.ICON_FILE_ARCHIVE=t.ICON_FILE_IMAGE=t.ICON_FILE_AUDIO=t.ICON_FILE_VIDEO=t.ICON_FILTER=t.ICON_STICKY_NOTE=t.ICON_IMAGE=t.ICON_VIDEO=void 0;var r=n(0),o=n(49),i=n(146),a=n(147),s=n(148),c=n(149),l=n(150),u=n(86),p=n(151),f=n(152),d=n(153),h=n(154),v=n(155),g=n(156),m=n(157),y=n(158),b=n(159),_=n(83),w=n(160),x=n(161),E=n(162),O=n(163),C=n(164),T=n(165),A=n(50),S=n(87),P=n(166),k=n(167),j=n(168),I=n(169),N=n(170),R=n(171),D=n(172),L=n(173),M=n(174),F=n(175),H=n(176),U=n(177),z=n(178),B=n(179),V=n(180),q=n(181),G=n(182),W=n(183),Y=n(184),X=n(185),$=n(186),J=n(187),K=n(188),Q=n(189),Z=n(190),ee=n(191);t.ICON_VIDEO=r.createElement(o.FontAwesomeIcon,{icon:S.faVideo}),t.ICON_IMAGE=r.createElement(o.FontAwesomeIcon,{icon:P.faImage}),t.ICON_STICKY_NOTE=r.createElement(o.FontAwesomeIcon,{icon:k.faStickyNote}),t.ICON_FILTER=r.createElement(o.FontAwesomeIcon,{icon:c.faFilter}),t.ICON_FILE_VIDEO=r.createElement(o.FontAwesomeIcon,{icon:u.faFileVideo}),t.ICON_FILE_AUDIO=r.createElement(o.FontAwesomeIcon,{icon:p.faFileAudio}),t.ICON_FILE_IMAGE=r.createElement(o.FontAwesomeIcon,{icon:f.faFileImage}),t.ICON_FILE_ARCHIVE=r.createElement(o.FontAwesomeIcon,{icon:d.faFileArchive}),t.ICON_IMAGE_SEQ_TYPE=r.createElement(o.FontAwesomeIcon,{icon:I.faImages}),t.ICON_AUDIO_TYPE=r.createElement(o.FontAwesomeIcon,{icon:N.faHeadphones}),t.ICON_COPY=r.createElement(o.FontAwesomeIcon,{icon:h.faCopy}),t.ICON_TIMES=r.createElement(o.FontAwesomeIcon,{icon:v.faTimes}),t.ICON_CIRCLE_NOTCH=r.createElement(o.FontAwesomeIcon,{icon:l.faCircleNotch}),t.ICON_CARET_UP=r.createElement(o.FontAwesomeIcon,{icon:i.faCaretUp}),t.ICON_CARET_DOWN=r.createElement(o.FontAwesomeIcon,{icon:a.faCaretDown}),t.ICON_CHECK=r.createElement(o.FontAwesomeIcon,{icon:s.faCheck}),t.ICON_EDIT=r.createElement(o.FontAwesomeIcon,{icon:g.faEdit}),t.ICON_SEARCH=r.createElement(o.FontAwesomeIcon,{icon:m.faSearch}),t.ICON_PLUS=r.createElement(o.FontAwesomeIcon,{icon:y.faPlus}),t.ICON_CLIPBOARD=r.createElement(o.FontAwesomeIcon,{icon:b.faClipboard}),t.ICON_EXCLAIMATION_TRIANGLE=r.createElement(o.FontAwesomeIcon,{icon:_.faExclamationTriangle}),t.ICON_ANGLE_LEFT=r.createElement(o.FontAwesomeIcon,{icon:w.faAngleLeft}),t.ICON_ANGLE_DOUBLE_LEFT=r.createElement(o.FontAwesomeIcon,{icon:x.faAngleDoubleLeft}),t.ICON_ANGLE_RIGHT=r.createElement(o.FontAwesomeIcon,{icon:E.faAngleRight}),t.ICON_ANGLE_DOUBLE_RIGHT=r.createElement(o.FontAwesomeIcon,{icon:O.faAngleDoubleRight}),t.ICON_CHEVRON_DOWN=r.createElement(o.FontAwesomeIcon,{icon:C.faChevronDown}),t.ICON_CHEVRON_UP=r.createElement(o.FontAwesomeIcon,{icon:T.faChevronUp}),t.ICON_USER_LOCK=r.createElement(o.FontAwesomeIcon,{icon:A.faUserLock}),t.ICON_BAN=r.createElement(o.FontAwesomeIcon,{icon:j.faBan}),t.SORT_UP=r.createElement(o.FontAwesomeIcon,{icon:R.faSortUp}),t.SORT_DOWN=r.createElement(o.FontAwesomeIcon,{icon:D.faSortDown}),t.ICON_TIMES_CIRCLE=r.createElement(o.FontAwesomeIcon,{icon:L.faTimesCircle}),t.ICON_INFO_CIRCLE=r.createElement(o.FontAwesomeIcon,{icon:M.faInfoCircle}),t.ICON_FONT=r.createElement(o.FontAwesomeIcon,{icon:F.faFont}),t.ICON_ALIGN_LEFT=r.createElement(o.FontAwesomeIcon,{icon:H.faAlignLeft}),t.ICON_ALIGN_RIGHT=r.createElement(o.FontAwesomeIcon,{icon:U.faAlignRight}),t.ICON_ALIGN_CENTER=r.createElement(o.FontAwesomeIcon,{icon:z.faAlignCenter}),t.ICON_BARS=r.createElement(o.FontAwesomeIcon,{icon:B.faBars}),t.ICON_ARROW_UP=r.createElement(o.FontAwesomeIcon,{icon:V.faArrowToTop}),t.ICON_ARROW_CENTER_V=r.createElement(o.FontAwesomeIcon,{icon:G.faArrowsV}),t.ICON_ARROW_DOWN=r.createElement(o.FontAwesomeIcon,{icon:q.faArrowToBottom}),t.ICON_ARROW_LEFT=r.createElement(o.FontAwesomeIcon,{icon:W.faArrowToLeft}),t.ICON_ARROW_CENTER_H=r.createElement(o.FontAwesomeIcon,{icon:X.faArrowsH}),t.ICON_ARROW_RIGHT=r.createElement(o.FontAwesomeIcon,{icon:Y.faArrowToRight}),t.ICON_COMPRESS=r.createElement(o.FontAwesomeIcon,{icon:K.faCompress}),t.ICON_EXPAND=r.createElement(o.FontAwesomeIcon,{icon:J.faExpand}),t.ICON_EXPAND_ARROWS=r.createElement(o.FontAwesomeIcon,{icon:$.faExpandArrowsAlt}),t.ICON_LAYER_GROUP=r.createElement(o.FontAwesomeIcon,{icon:Q.faLayerGroup}),t.ICON_CUBE=r.createElement(o.FontAwesomeIcon,{icon:Z.faCube}),t.ICON_FILE_CODE=r.createElement(o.FontAwesomeIcon,{icon:ee.faFileCode})},function(e,t,n){"use strict";var r=n(48),o="object"==typeof self&&self&&self.Object===Object&&self,i=r.a||o||Function("return this")();t.a=i},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var a=n(0),s=n(6),c=n(54),l=n(3),u=function(e){function t(t){var n=e.call(this,t)||this;return n.tooltipId="imposium-button-"+s.generateUUID(),n}return o(t,e),t.prototype.onClick=function(e){this.props.onClick&&!this.props.loading&&this.props.onClick(e)},t.prototype.render=function(){var e=this,t=this.props,n=t.style,r=t.color,o=t.size,s=t.customStyles,u=this.props,p=u.width,f=u.loading,d=(u.tooltip,this.props),h=d.active,v=d.disabled,g=d.buttonRef,m=h?"active":"",y=v?"disabled":"";o||(o=""),n||(n="default"),r||(r=""),p&&(s?s.width=p:s={width:p});var b=f?a.createElement("span",{className:"loading-icon"},l.ICON_CIRCLE_NOTCH):this.props.children;return a.createElement("div",i({},c.renderTooltipProps(this.tooltipId,this.props.tooltip),{ref:g,className:"imposium-btn btn-"+n+" "+o+" "+r+" "+m+" "+y,onClick:function(t){return e.onClick(t)},style:s}),b,c.renderTooltip(this.tooltipId,this.props.tooltip))},t}(a.PureComponent);t.default=u},function(e,t,n){"use strict";var r=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a};Object.defineProperty(t,"__esModule",{value:!0}),t.s3Url=t.formattedTime=t.formatDateDefault=t.padStart=t.toFixed=t.mimetypeConformsToOverlay=t.isFont=t.validateAssetMimetype=t.isObjEmpty=t.filterHotkeys=t.fitToContainer=t.generateUUID=t.string2HexCode=t.parameterizeServiceUrl=t.scrapeEmail=t.getFirstStoryInOrg=t.validateAccessLevel=t.getActiveOrg=t.isLocal=void 0;t.isLocal=function(){return"localhost"===window.location.hostname};t.getActiveOrg=function(e,t){return t.organizations.find((function(t){return t.id===e}))};t.validateAccessLevel=function(e,n,r){var o=t.getActiveOrg(e,r);return!!o&&o.services.includes(n)};t.getFirstStoryInOrg=function(e,n){var r=t.getActiveOrg(e,n);return r&&"object"==typeof r.stories[0]?r.stories[0].id:""};t.scrapeEmail=function(e){return e&&e.idTokenPayload&&e.idTokenPayload["https://imposium.com/email"]?e.idTokenPayload["https://imposium.com/email"]:""};t.parameterizeServiceUrl=function(e,t,n,r){if(!e||!t)return e&&!t?n+"?organization_id="+e:n;switch(r){case 1:case 4:case 5:case 6:case 8:return n+"/"+t+"?organization_id="+e;case 3:return n+"/dashboard/live/"+t+"?organization_id="+e;default:return n+"?organization_id="+e}};t.string2HexCode=function(e){var t=(16777215&e.split("").map((function(t,n){return e.charCodeAt(n)})).reduce((function(e,t){return t+((e<<5)-e)}),0)).toString(16).toUpperCase();return"#"+("00000".substring(0,6-t.length)+t)};t.generateUUID=function(){var e=(new Date).getTime();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(t){var n=(e+16*Math.random())%16|0;return e=Math.floor(e/16),("x"===t?n:7&n|8).toString(16)}))};t.fitToContainer=function(e,t,n){var r,o,i,a,s=t.width/t.height,c=n.padding?e.width-2*n.padding:e.width,l=n.padding?e.height-2*n.padding:e.height,u=n.padding?n.padding:0;return"proportionalInside"===n.scaleMode?(r=(o=c)/s)>l&&(o=(r=l)*s):"proportionalOutside"===n.scaleMode?(r=(o=c)/s)<l&&(o=(r=l)*s):"none"!==n.scaleMode&&n.scaleMode||(o=t.width,r=t.height),n.maxWidth&&o>n.maxWidth&&(r=(o=n.maxWidth)/s),n.maxHeight&&r>n.maxHeight&&(o=(r=n.maxHeight)*s),a="left"===n.hAlign?0:"right"===n.hAlign?c-o:(c-o)/2,i="top"===n.vAlign?0:"bottom"===n.vAlign?l-r:(l-r)/2,{width:o,height:r,top:i+=u,left:a+=u}};t.filterHotkeys=function(e){var t=(e.target||e.srcElement).tagName,n=t.isContentEditable||"INPUT"===t||"SELECT"===t||"TEXTAREA"===t,r="Enter"===e.code,o="Escape"===e.code,i=!0===e.metaKey;return!!(!n||n&&r||n&&o||n&&i)};t.isObjEmpty=function(e){for(var t in e)if(e.hasOwnProperty(t))return!1;return!0};t.validateAssetMimetype=function(e){var n=r(e.type.split("/"),2),o=n[0],i=n[1],a=e.name.split("."),s=a[a.length-1];switch(o){case"image":case"video":case"audio":return!0;case"application":switch(i){case"zip":case"x-gzip":return!0}}return!!t.isFont(o,s)||(-1!==e.name.indexOf(".CUBE")||(console.warn("Mimetype: "+e.type+" is not a supported asset type."),!1))};t.isFont=function(e,t){var n=["otf","sfnt","ttf","woff","woff2","font-sfnt","font-woff","vnd.ms-fontobject"];return e?-1!==n.indexOf(e):-1!==n.indexOf(t)};t.mimetypeConformsToOverlay=function(e,t){var n=r(t.type.split("/"),2),o=n[0],i=n[1];return"video"===e&&"video"===o||"image"===e&&"image"===o||"audio"===e&&"audio"===o||"template"===e&&"application"===o&&("zip"===i||"x-gzip"===i)||"image_sequence"===e&&"application"===o&&("zip"===i||"x-gzip"===i)};t.toFixed=function(e,t){var n=new RegExp("^-?\\d+(?:.\\d{0,"+(t||-1)+"})?");return e.toString().match(n)[0]};t.padStart=function(e,t){return new Array(t+1-(e+"").length).join("0")+e};t.formatDateDefault=function(e){var t=new Date(1e3*e),n=t.getMonth()+1,r=t.getDate(),o=t.getFullYear(),i=t.getHours(),a=i>=12?"PM":"AM";i>12&&(i-=12),0===i&&(i=12);var s=t.getMinutes();return s<10&&(s="0"+s),n+"/"+r+"/"+o+" "+i+":"+s+" "+a};t.formattedTime=function(e){var t=Math.floor(e/6e4),n=(e%6e4/1e3).toFixed(0);return(t<10?"0":"")+t+":"+(n<10?"0":"")+n};t.s3Url=function(e,t,n){return e?e.replace(t,n):""}},function(e,n){e.exports=t},function(e,t){e.exports=n},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var a=n(0),s=n(6),c=n(54),l=n(3),u=n(5),p=function(e){function t(t){var n=e.call(this,t)||this;return n.tooltipId=s.generateUUID(),n.state={showInfo:!1},n.toggleIDInfo=function(){n.setState({showInfo:!n.state.showInfo})},n}return o(t,e),t.prototype.getLabelClass=function(){return this.props.label?"label-"+(this.props.labelPosition?this.props.labelPosition:"left"):"no-label"},t.prototype.renderLabel=function(){var e=this.state.showInfo,t=this.props,n=t.info,r=t.label,o=e?l.ICON_TIMES_CIRCLE:l.ICON_INFO_CIRCLE,s=n?a.createElement(u.default,{onClick:this.toggleIDInfo,size:"small",style:"subtle"},o):null;return s||r?a.createElement("label",i({},c.renderTooltipProps(this.tooltipId,this.props.tooltip),{className:this.getLabelClass()}),s,s&&" ",r):null},t.prototype.render=function(){var e=this.props,t=e.label,n=e.width,r=e.customClass,o=this.renderLabel(),s={},l={};return t||(l=c.renderTooltipProps(this.tooltipId,this.props.tooltip)),n&&(s.width="string"==typeof n?n:n+"px"),a.createElement("div",{className:"form-field "+r+" "+this.getLabelClass(),style:s},o,a.createElement("div",i({className:"form-field-content "+this.getLabelClass()},l),this.props.children,this.renderButtons()),c.renderTooltip(this.tooltipId,this.props.tooltip),this.renderInfo())},t.prototype.renderInfo=function(){var e=this.props.info,t=this.state.showInfo;return e&&t?a.createElement("p",null,e):null},t.prototype.renderButtons=function(){if(this.props.buttons)return a.createElement("div",{className:"form-field-buttons"},this.props.buttons)},t}(a.PureComponent);t.default=p},function(e,t){var n=Array.isArray;e.exports=n},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},a=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},s=this&&this.__spreadArray||function(e,t){for(var n=0,r=t.length,o=e.length;n<r;n++,o++)e[o]=t[n];return e};Object.defineProperty(t,"__esModule",{value:!0});var c=n(0),l=n(56),u=n(5),p=n(9),f=n(6),d=n(3),h=n(212),v=function(e){function t(t){var n=e.call(this,t)||this;if(n.evtHandlers={submittable:function(){return n.forceSubmit()},controlled:function(e){return n.toggleEditing(e)},cancel:function(){return n.cancelEdit()},clear:function(){return n.forceSubmit(!0)},toggleEditing:function(e){return n.toggleEditing(e)},forceSubmit:function(){return n.forceSubmit()},clearValue:function(){return n.clearValue()},copyToClipboard:function(e){return n.copyToClipboard(e)},onSuggestionsFetchRequested:function(e){return n.onSuggestionsFetchRequested(e)},onSuggestionsClearRequested:function(){return n.onSuggestionsClearRequested()},getSuggestionValue:function(e){return n.getSuggestionValue(e)},renderSuggestion:function(e){return n.renderSuggestion(e)}},n.componentDidUpdate=function(e,t){(n.props.controlled||n.props.submittable)&&(e.value!==n.props.value&&n.setState({internalValue:n.props.value}),""===n.props.value&&!n.state.editing&&t.editing&&n.setState({internalValue:""}))},n.forceSubmit=function(e){void 0===e&&(e=!1);var t=n.state.internalValue;e||(n.props.doSubmit(t),"add"===n.props.submittableType&&n.setState({internalValue:""})),e&&(n.props.doSubmit(""),n.setState({internalValue:""}))},n.renderSubmittableIcon=function(){switch(n.props.submittableType){case"search":return d.ICON_SEARCH;case"check":return d.ICON_CHECK;case"add":return d.ICON_PLUS;default:return null}},n.onSuggestionsFetchRequested=function(e){var t=e.value;n.setState({suggestions:n.getSuggestions(t)})},n.onSuggestionsClearRequested=function(){n.setState({suggestions:[]})},n.props.controlled&&n.props.submittable)throw new Error("Actionable TextField(s) must be one of either: controlled or submittable.");return n.state={internalValue:t.value||"",suggestions:[],editing:!1},n.inputRef=c.createRef(),l.default.filter=function(e){return f.filterHotkeys(e)},n}return o(t,e),t.prototype.componentDidMount=function(){this.props.focusOnMount&&this.inputRef.current&&this.inputRef.current.focus()},t.prototype.componentWillUnmount=function(){this.props.submittable?(l.default.unbind("enter",this.evtHandlers.submittable),l.default.unbind("esc",this.evtHandlers.clear)):this.props.controlled&&(l.default.unbind("enter",this.evtHandlers.controlled),l.default.unbind("esc",this.evtHandlers.cancel))},t.prototype.setEditing=function(e){var t=this;this.setState({editing:e},(function(){t.inputRef.current.focus()}))},t.prototype.blur=function(e){this.props.onBlur&&this.props.onBlur(e),this.props.submittable?(l.default.unbind("enter",this.evtHandlers.submittable),l.default.unbind("esc",this.evtHandlers.clear)):this.props.controlled&&(l.default.unbind("enter",this.evtHandlers.controlled),l.default.unbind("esc",this.evtHandlers.cancel))},t.prototype.focus=function(e){this.props.onFocus&&this.props.onFocus(e),this.props.submittable?(l.default("enter",this.evtHandlers.submittable),l.default("esc",this.evtHandlers.clear)):this.props.controlled&&(l.default("enter",this.evtHandlers.controlled),l.default("esc",this.evtHandlers.cancel))},t.prototype.cancelEdit=function(){this.setState({editing:!1,internalValue:this.props.value})},t.prototype.copyToClipboard=function(e){var t=this.props,n=t.onNotification,r=t.onError;navigator.clipboard.writeText(this.props.value).then((function(){n&&n("Copied to clipboard!")}),(function(){r&&r("Error copying to clipboard.")}))},t.prototype.getValue=function(){var e=this.props,t=e.controlled,n=e.submittable,r=e.value,o=this.state.internalValue;return t||n?o:r||""},t.prototype.onChange=function(e,t){var n=this,r=this.props.pattern,o=t?t.newValue:e.target.value;if(this.props.controlled||this.props.submittable)this.setState({internalValue:o},(function(){t&&"click"===t.method&&n.evtHandlers.submittable()}));else{if(r&&!r.test(o))return;""===o&&(o=null),this.props.onChange(o)}},t.prototype.toggleEditing=function(e){var t=this;e.preventDefault(),e.stopPropagation();var n=this.state,r=n.editing,o=n.internalValue,i=this.props.value;r?this.setState({editing:!1},(function(){if(o!==i){var e=t.state.internalValue;""===e&&(e=null),t.props.onSubmit(e)}})):this.setState({editing:!0},(function(){var e=t.inputRef.current;e&&e.focus()}))},t.prototype.clearValue=function(){var e=this;this.setState({internalValue:""},(function(){e.props.doSubmit("")}))},t.prototype.getSuggestions=function(e){var t=e.trim().toLowerCase(),n=t.length;return 0===n?[]:this.props.suggestions.filter((function(e){return e.toLowerCase().slice(0,n)===t}))},t.prototype.getSuggestionValue=function(e){return e},t.prototype.renderSuggestion=function(e){return c.createElement("div",{className:"suggestion"},e)},t.prototype.renderButtons=function(){var e,t=this.props,n=t.controlled,r=t.submittable,o=(t.readOnly,t.buttons),i=t.showCopy,l=t.submittableType,p=t.value,f=t.hideButtons,h=this.state,v=h.editing;h.internalValue;o?Array.isArray(o)?e=s([],a(o)):(e=[]).push(o):e=[];var g="search"===l?"Search":"Confirm";if(f)return[];if(n){var m=v?d.ICON_CHECK:d.ICON_EDIT;e.push(c.createElement(u.default,{key:"btn-edit",style:"subtle",tooltip:"Edit",color:"secondary",onClick:this.evtHandlers.toggleEditing},m))}return r&&(e.push(c.createElement(u.default,{key:"btn-submit",style:"subtle",tooltip:g,color:"secondary",onClick:this.evtHandlers.forceSubmit},this.renderSubmittableIcon())),p&&e.push(c.createElement(u.default,{key:"btn-clear",style:"subtle",tooltip:"Clear",onClick:this.evtHandlers.clearValue},d.ICON_TIMES))),i&&e.push(c.createElement(u.default,{key:"btn-copy",style:"subtle",color:"primary",tooltip:"Copy to Clipboard",onClick:this.evtHandlers.copyToClipboard},d.ICON_CLIPBOARD)),e},t.prototype.renderInput=function(){var e=this,t=this.props,n=t.placeholder,r=t.controlled,o=t.submittable,a=t.disabled,s=t.readOnly,l=t.loading,u=this.state.suggestions,p=this.state.editing,f=r&&!p||a,d=r||o?"controlled-input":"",v={type:"text",placeholder:n,value:this.getValue(),disabled:f||l,readOnly:s,ref:this.inputRef,onFocus:function(t){return e.focus(t)},onBlur:function(t){return e.blur(t)}};return this.props.suggestions?(v.onChange=function(t,n){return e.onChange(t,n)},c.createElement(h,{suggestions:u,onSuggestionsFetchRequested:this.evtHandlers.onSuggestionsFetchRequested,onSuggestionsClearRequested:this.evtHandlers.onSuggestionsClearRequested,getSuggestionValue:this.evtHandlers.getSuggestionValue,renderSuggestion:this.evtHandlers.renderSuggestion,inputProps:v})):(v.onChange=function(t){return e.onChange(t)},c.createElement("input",i({className:""+d},v)))},t.prototype.render=function(){var e=this.props,t=e.label,n=e.width,r=e.tooltip,o=e.info,i=e.labelPosition;return c.createElement(p.default,{customClass:"text-field",label:t,buttons:this.renderButtons(),tooltip:r,info:o,labelPosition:i,width:n},this.renderInput())},t}(c.PureComponent);t.default=v},function(e,t,n){var r=n(95),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.compositions=t.previewer=t.assets=void 0,t.assets={tooltipFilter:"Filter by Asset type",previewNotAvailable:"Preview Not Available for this Asset Type",iconTypes:{filter:"Filter By Type",lut:"LUT",all:"All Types",video:"Video Files",audio:"Audio Files",video_composition:"Composition",image:"Image Files",image_sequence:"Image Sequences (Archive)",template:"Custom Template",static_composition:"Template",font:"Font Files"},uploads:{noUploads:"There are currently no assets uploading...",preparePhase:"Preparing asset...",autoTagInput:"Tag by filename",assignToStoryInput:"Assign to Story",assignToStoryInfo:"If selected, any assets uploaded will only be available to use with the currently selected story.",uploadButton:"Upload"},tags:{add:"Add new tag"},field:{fieldMismatchError:'Asset Type mismatch. Field only accepts "[accepts]" assets.',dragPrompt:"Drag Asset Here",tooltipClear:"Clear the selected Asset",tooltipFilter:"Filter assets to match Asset type"},details:"Asset Details",newDetails:"New Asset Details",name:"Name",date:"Date Created",addTag:"Add Tag",assetTag:"Tags"},t.previewer={previewVars:"Preview Variables",time:"Time Elapsed:",expRunning:"Rendering Experience",runExpStart:"Creating Experience",runExpError:"Error running experience - ID: [expId]",triggerExpError:"Error triggering experience - ID: [expId]",expId:"Running Experience - ID: [expId]",createExpError:"Error creating experience",logDownloadError:"Could not download log of Job: [jobId]",logURLError:"Could not retrieve log URL of Job: [jobId]",btnLog:"Job Log",btnRender:"Render",btnReRender:"Re-Render",expIdField:"Exp. ID"},t.compositions={name:"Name",width:"Width",height:"Height",rotation:"Rotation",color:"Color",x:"X",y:"Y",wrap:"Wrap",fit:"Fit",fillMode:"Fill Mode",hAlign:"H. Align",vAlign:"V. Align",backgroundColor:"Background",layers:"Layers",layerText:"Text",fontType:"Font Type",layerImage:"Image",fontSize:"Font Size",lineHeight:"Line Height",font:"Font",letterSpacing:"Letter Spacing",wordSpacing:"Word Spacing",tooltipName:"Display name of this composition.",tooltipBackgroundColor:"Background color of this composition. Can also be transparent.",tooltipWidth:"Width of the composition, in pixels",tooltipHeight:"Height of the composition, in pixels",tooltipAddLayer:"Add a new layer to the composition",tooltipLayerRotation:"Rotation angle of the layer, in degrees",tooltipLayerX:"Layer X position.",tooltipLayerY:"Layer Y position",tooltipLayerWidth:"Layer width, in pixels.",tooltipLayerHeight:"Layer height, in pixels",textOptions:"Text Options",textLayerContent:"Content",tooltipTextLayerContent:"The copy rendered in this layer. Wrap variables like so: {{variable_id}}."}},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.deleteAssetTag=t.updateAssetData=t.updateAssetName=t.addAssetTag=t.deleteAssets=t.getAssets=t.doAssetTableHydration=t.toggleLoading=void 0;var r=n(77),o=n(25),i={TOGGLE_LOADING:"assetList/TOGGLE_LOADING",GET:"assetList/GET",ADD_TAG:"assetList/ADD_TAG",DELETE_TAG:"assetList/DELETE_TAG",UPDATE_NAME:"assetList/UPDATE_NAME",UPDATE_DATA:"assetList/UPDATE_DATA"};t.toggleLoading=function(e){return{type:i.TOGGLE_LOADING,toggle:e}};t.doAssetTableHydration=function(e,n,i){return function(a){return new Promise((function(s,c){Promise.all([a(t.getAssets(e,n)),a(r.getAssetTagList(e,n))]).then((function(){a(o.resetSelection),s()})).catch((function(e){"function"==typeof i&&i(),c()}))}))}};t.getAssets=function(e,n){return function(r,o){return new Promise((function(a,s){var c=o(),l=c.assetFilters;c.loading||r(t.toggleLoading(!0)),e.getAssets(l,n,!0).then((function(e){r({type:i.GET,assetList:e}),r(t.toggleLoading(!1)),a()})).catch((function(e){r(t.toggleLoading(!1)),s()}))}))}};t.deleteAssets=function(e,n,r){return function(o){if(window.confirm("Are you sure you want to delete "+n.length+" assets?"))return new Promise((function(i,a){o(t.toggleLoading(!0)),e.deleteAssets(n).then((function(){o(t.getAssets(e,r)),i()})).catch((function(e){o(t.toggleLoading(!1)),a()}))}))}};t.addAssetTag=function(e,t,n,r){return function(r,o){return new Promise((function(o){var a,s=n.includes(",")?n.split(",").filter(String).map((function(e){return e.trim()})):[n];0===s.length&&o(),s.length>0&&(a=s.map((function(n){return e.addAssetTag(t,n).then((function(){return o()})).catch((function(e){return o(e)}))})),Promise.all(a).then((function(e){o()})),r({type:i.ADD_TAG,id:t,freshTags:s}))}))}};t.updateAssetName=function(e,t,n,r){return void 0===r&&(r=!1),function(o){return new Promise((function(a,s){o({type:i.UPDATE_NAME,id:t,name:n}),r||e.updateAsset(t,{name:n}).then((function(){a()})).catch((function(e){s()}))}))}};t.updateAssetData=function(e,t,n){return function(r){return new Promise((function(o,a){r({type:i.UPDATE_DATA,id:t,name:name}),e.updateAsset(t,{data:JSON.stringify(n)}).then((function(){o()})).catch((function(e){a()}))}))}};t.deleteAssetTag=function(e,t,n){return function(r){return new Promise((function(o,a){r({type:i.DELETE_TAG,id:t,tag:n}),e.deleteAssetTag(t,n).then((function(){o()})).catch((function(e){a()}))}))}},t.default=i},function(e,t,n){var r=n(23),o=n(216),i=n(217),a=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?o(e):i(e)}},function(e,t,n){var r=n(242),o=n(245);e.exports=function(e,t){var n=o(e,t);return r(n)?n:void 0}},function(e,t,n){"use strict";(function(e){var r=n(4),o=n(129),i="object"==typeof exports&&exports&&!exports.nodeType&&exports,a=i&&"object"==typeof e&&e&&!e.nodeType&&e,s=a&&a.exports===i?r.a.Buffer:void 0,c=(s?s.isBuffer:void 0)||o.a;t.a=c}).call(this,n(76)(e))},function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.updateFilters=void 0;var r={UPDATE:"assetFilters/UPDATE",RESET:"footageFilters/RESET"};t.updateFilters=function(e){return{type:r.UPDATE,newFilters:e}},t.default=r},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.getPlayerStyle=void 0;var i=n(0),a=n(6),s=n(27);t.getPlayerStyle=function(e,t,n,r,o,i,s){var c={width:e,height:t},l={width:n,height:r},u=a.fitToContainer(c,l,{scaleMode:"proportionalInside",maxWidth:i,maxHeight:s,padding:o}),p=u.width,f=u.height;return{top:u.top+"px",left:u.left+"px",width:p+"px",height:f+"px"}};var c=function(e){function n(t){var r=e.call(this,t)||this;return r.state={videoHeight:1080,videoWidth:1920,scaleMode:n.SCALE_MODES.AUTOMATIC},r.videoNode=i.createRef(),r}return o(n,e),n.prototype.getVideoStyle=function(){var e=this.state,n=e.videoHeight,r=e.videoWidth,o=this.props,i=o.padding,a=o.width,c=o.height,l=o.maxWidth,u=o.maxHeight,p=void 0!==i?i:s.DEFAULT_PADDING;return n&&r?t.getPlayerStyle(a,c,r,n,p,l,u):{}},n.prototype.setTime=function(e){var t=this.videoNode.current;t&&(t.currentTime=e)},n.prototype.metadataLoaded=function(e){this.setState({videoWidth:e.target.videoWidth,videoHeight:e.target.videoHeight})},n.prototype.renderCustomControls=function(){var e=this.props.customControls;return e?i.cloneElement(e,{videoNode:this.videoNode}):null},n.prototype.render=function(){var e=this,t=this.props,n=t.url,r=t.active,o=t.muted,a=t.customControls,s=t.hideDefaultControls,c=!a&&!s,l=!!this.props.autoPlay&&this.props.autoPlay;return!1!==r?i.createElement("div",{className:"media-player"},i.createElement("div",{className:"inner-viewer",style:this.getVideoStyle()},i.createElement("video",{controls:c,onLoadedMetadata:function(t){return e.metadataLoaded(t)},muted:o,src:n,ref:this.videoNode,preload:"auto",autoPlay:l}),this.renderCustomControls())):null},n.SCALE_MODES={MANUAL:"manual",AUTOMATIC:"automatic"},n}(i.PureComponent);t.default=c},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),a=n(9),s=n(3),c=function(e){function t(t){return e.call(this,t)||this}return o(t,e),t.prototype.toggle=function(e){this.props.propagate||e.stopPropagation(),this.props.onChange(!this.props.value,e)},t.prototype.render=function(){var e=this,t=this.props,n=t.value,r=t.label,o=t.width,c=t.tooltip,l=t.info,u=t.labelPosition,p=!0===n?s.ICON_CHECK:null;return i.createElement(a.default,{customClass:"checkbox-field",label:r,tooltip:c,info:l,labelPosition:u,width:o},i.createElement("div",{className:"checkbox",onClick:function(t){return e.toggle(t)}},p))},t}(i.PureComponent);t.default=c},function(e,t,n){var r=n(12).Symbol;e.exports=r},function(e,t,n){var r=n(97),o=n(224),i=n(36);e.exports=function(e){return i(e)?r(e):o(e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.selectMultipleAssets=t.selectAsset=t.resetSelection=t.deselectAsset=t.selectAll=void 0;t.selectAll=function(){return function(e,t){var n=t().assetList.assets.map((function(e){return e.id}));e({type:o.SELECT_ALL,allIds:n})}};t.deselectAsset=function(e){return{type:o.DESELECT_ASSET,id:e}};t.resetSelection=function(){return{type:o.RESET_SELECTION}};t.selectAsset=function(e){return{type:o.SELECT_ASSET,id:e}};t.selectMultipleAssets=function(e){return function(t,n){for(var i=n(),a=i.selectedAssets,s=i.assetList.assets,c=a[a.length-1],l=r(s,c),u=r(s,e),p=l<u?u:l,f=[],d=l<u?l:u;d<=p;d++){var h=s[d];f.push(h.id)}t({type:o.SELECT_MULTIPLE,assets:f}),window.getSelection().removeAllRanges()}};var r=function(e,t){for(var n=0;n<e.length;n++){if(e[n].id===t)return n}},o={SELECT_ALL:"selectAssets/SELECT_ALL",SELECT_MULTIPLE:"selectAssets/SELECT_MULTIPLE",SELECT_ASSET:"selectedAssets/SELECT_ASSET",DESELECT_ASSET:"selectedAssets/DESELECT_ASSET",RESET_SELECTION:"selectedAssets/RESET_SELECTION"};t.default=o},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.ASSET_COLORS=t.ASSET_TYPES=t.ASSET_ORIGIN=t.ASSET_DISTRO=void 0,t.ASSET_DISTRO="https://d188rqu2y6x0ew.cloudfront.net",t.ASSET_ORIGIN="https://imposium-footage.s3.us-east-1.amazonaws.com",t.ASSET_TYPES={VIDEO_COMPOSITION:"video_composition",STATIC_COMPOSITION:"static_composition",VIDEO:"video",IMAGE:"image",TEMPLATE:"template",AUDIO:"audio",IMAGE_SEQUENCE:"image_sequence",FONT:"font",LUT:"lut",ALL:"all"},t.ASSET_COLORS=((r={})[t.ASSET_TYPES.VIDEO]="rgba(236,22,150, 1)",r[t.ASSET_TYPES.IMAGE]="rgba(241,191,21, 1)",r[t.ASSET_TYPES.AUDIO]="rgba(72,177,222,1)",r[t.ASSET_TYPES.TEMPLATE]="rgba(208, 80, 35, 1)",r[t.ASSET_TYPES.VIDEO_COMPOSITION]="rgba(215, 22, 22, 1)",r[t.ASSET_TYPES.IMAGE_SEQUENCE]="rgba(241,191,21, 1)",r)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_PADDING=void 0,t.DEFAULT_PADDING=35},function(e,t,n){var r;!function(o){var i=/^\s+/,a=/\s+$/,s=0,c=o.round,l=o.min,u=o.max,p=o.random;function f(e,t){if(t=t||{},(e=e||"")instanceof f)return e;if(!(this instanceof f))return new f(e,t);var n=function(e){var t={r:0,g:0,b:0},n=1,r=null,s=null,c=null,p=!1,f=!1;"string"==typeof e&&(e=function(e){e=e.replace(i,"").replace(a,"").toLowerCase();var t,n=!1;if(k[e])e=k[e],n=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};if(t=V.rgb.exec(e))return{r:t[1],g:t[2],b:t[3]};if(t=V.rgba.exec(e))return{r:t[1],g:t[2],b:t[3],a:t[4]};if(t=V.hsl.exec(e))return{h:t[1],s:t[2],l:t[3]};if(t=V.hsla.exec(e))return{h:t[1],s:t[2],l:t[3],a:t[4]};if(t=V.hsv.exec(e))return{h:t[1],s:t[2],v:t[3]};if(t=V.hsva.exec(e))return{h:t[1],s:t[2],v:t[3],a:t[4]};if(t=V.hex8.exec(e))return{r:D(t[1]),g:D(t[2]),b:D(t[3]),a:H(t[4]),format:n?"name":"hex8"};if(t=V.hex6.exec(e))return{r:D(t[1]),g:D(t[2]),b:D(t[3]),format:n?"name":"hex"};if(t=V.hex4.exec(e))return{r:D(t[1]+""+t[1]),g:D(t[2]+""+t[2]),b:D(t[3]+""+t[3]),a:H(t[4]+""+t[4]),format:n?"name":"hex8"};if(t=V.hex3.exec(e))return{r:D(t[1]+""+t[1]),g:D(t[2]+""+t[2]),b:D(t[3]+""+t[3]),format:n?"name":"hex"};return!1}(e));"object"==typeof e&&(q(e.r)&&q(e.g)&&q(e.b)?(d=e.r,h=e.g,v=e.b,t={r:255*N(d,255),g:255*N(h,255),b:255*N(v,255)},p=!0,f="%"===String(e.r).substr(-1)?"prgb":"rgb"):q(e.h)&&q(e.s)&&q(e.v)?(r=M(e.s),s=M(e.v),t=function(e,t,n){e=6*N(e,360),t=N(t,100),n=N(n,100);var r=o.floor(e),i=e-r,a=n*(1-t),s=n*(1-i*t),c=n*(1-(1-i)*t),l=r%6;return{r:255*[n,s,a,a,c,n][l],g:255*[c,n,n,s,a,a][l],b:255*[a,a,c,n,n,s][l]}}(e.h,r,s),p=!0,f="hsv"):q(e.h)&&q(e.s)&&q(e.l)&&(r=M(e.s),c=M(e.l),t=function(e,t,n){var r,o,i;function a(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}if(e=N(e,360),t=N(t,100),n=N(n,100),0===t)r=o=i=n;else{var s=n<.5?n*(1+t):n+t-n*t,c=2*n-s;r=a(c,s,e+1/3),o=a(c,s,e),i=a(c,s,e-1/3)}return{r:255*r,g:255*o,b:255*i}}(e.h,r,c),p=!0,f="hsl"),e.hasOwnProperty("a")&&(n=e.a));var d,h,v;return n=I(n),{ok:p,format:e.format||f,r:l(255,u(t.r,0)),g:l(255,u(t.g,0)),b:l(255,u(t.b,0)),a:n}}(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=c(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=c(this._r)),this._g<1&&(this._g=c(this._g)),this._b<1&&(this._b=c(this._b)),this._ok=n.ok,this._tc_id=s++}function d(e,t,n){e=N(e,255),t=N(t,255),n=N(n,255);var r,o,i=u(e,t,n),a=l(e,t,n),s=(i+a)/2;if(i==a)r=o=0;else{var c=i-a;switch(o=s>.5?c/(2-i-a):c/(i+a),i){case e:r=(t-n)/c+(t<n?6:0);break;case t:r=(n-e)/c+2;break;case n:r=(e-t)/c+4}r/=6}return{h:r,s:o,l:s}}function h(e,t,n){e=N(e,255),t=N(t,255),n=N(n,255);var r,o,i=u(e,t,n),a=l(e,t,n),s=i,c=i-a;if(o=0===i?0:c/i,i==a)r=0;else{switch(i){case e:r=(t-n)/c+(t<n?6:0);break;case t:r=(n-e)/c+2;break;case n:r=(e-t)/c+4}r/=6}return{h:r,s:o,v:s}}function v(e,t,n,r){var o=[L(c(e).toString(16)),L(c(t).toString(16)),L(c(n).toString(16))];return r&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function g(e,t,n,r){return[L(F(r)),L(c(e).toString(16)),L(c(t).toString(16)),L(c(n).toString(16))].join("")}function m(e,t){t=0===t?0:t||10;var n=f(e).toHsl();return n.s-=t/100,n.s=R(n.s),f(n)}function y(e,t){t=0===t?0:t||10;var n=f(e).toHsl();return n.s+=t/100,n.s=R(n.s),f(n)}function b(e){return f(e).desaturate(100)}function _(e,t){t=0===t?0:t||10;var n=f(e).toHsl();return n.l+=t/100,n.l=R(n.l),f(n)}function w(e,t){t=0===t?0:t||10;var n=f(e).toRgb();return n.r=u(0,l(255,n.r-c(-t/100*255))),n.g=u(0,l(255,n.g-c(-t/100*255))),n.b=u(0,l(255,n.b-c(-t/100*255))),f(n)}function x(e,t){t=0===t?0:t||10;var n=f(e).toHsl();return n.l-=t/100,n.l=R(n.l),f(n)}function E(e,t){var n=f(e).toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,f(n)}function O(e){var t=f(e).toHsl();return t.h=(t.h+180)%360,f(t)}function C(e){var t=f(e).toHsl(),n=t.h;return[f(e),f({h:(n+120)%360,s:t.s,l:t.l}),f({h:(n+240)%360,s:t.s,l:t.l})]}function T(e){var t=f(e).toHsl(),n=t.h;return[f(e),f({h:(n+90)%360,s:t.s,l:t.l}),f({h:(n+180)%360,s:t.s,l:t.l}),f({h:(n+270)%360,s:t.s,l:t.l})]}function A(e){var t=f(e).toHsl(),n=t.h;return[f(e),f({h:(n+72)%360,s:t.s,l:t.l}),f({h:(n+216)%360,s:t.s,l:t.l})]}function S(e,t,n){t=t||6,n=n||30;var r=f(e).toHsl(),o=360/n,i=[f(e)];for(r.h=(r.h-(o*t>>1)+720)%360;--t;)r.h=(r.h+o)%360,i.push(f(r));return i}function P(e,t){t=t||6;for(var n=f(e).toHsv(),r=n.h,o=n.s,i=n.v,a=[],s=1/t;t--;)a.push(f({h:r,s:o,v:i})),i=(i+s)%1;return a}f.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,n,r=this.toRgb();return e=r.r/255,t=r.g/255,n=r.b/255,.2126*(e<=.03928?e/12.92:o.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:o.pow((t+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:o.pow((n+.055)/1.055,2.4))},setAlpha:function(e){return this._a=I(e),this._roundA=c(100*this._a)/100,this},toHsv:function(){var e=h(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=h(this._r,this._g,this._b),t=c(360*e.h),n=c(100*e.s),r=c(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var e=d(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=d(this._r,this._g,this._b),t=c(360*e.h),n=c(100*e.s),r=c(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return v(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,n,r,o){var i=[L(c(e).toString(16)),L(c(t).toString(16)),L(c(n).toString(16)),L(F(r))];if(o&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)&&i[3].charAt(0)==i[3].charAt(1))return i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0);return i.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:c(this._r),g:c(this._g),b:c(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+c(this._r)+", "+c(this._g)+", "+c(this._b)+")":"rgba("+c(this._r)+", "+c(this._g)+", "+c(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:c(100*N(this._r,255))+"%",g:c(100*N(this._g,255))+"%",b:c(100*N(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+c(100*N(this._r,255))+"%, "+c(100*N(this._g,255))+"%, "+c(100*N(this._b,255))+"%)":"rgba("+c(100*N(this._r,255))+"%, "+c(100*N(this._g,255))+"%, "+c(100*N(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(j[v(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+g(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?"GradientType = 1, ":"";if(e){var o=f(e);n="#"+g(o._r,o._g,o._b,o._a)}return"progid:DXImageTransform.Microsoft.gradient("+r+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,r=this._a<1&&this._a>=0;return t||!r||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return f(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(_,arguments)},brighten:function(){return this._applyModification(w,arguments)},darken:function(){return this._applyModification(x,arguments)},desaturate:function(){return this._applyModification(m,arguments)},saturate:function(){return this._applyModification(y,arguments)},greyscale:function(){return this._applyModification(b,arguments)},spin:function(){return this._applyModification(E,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(S,arguments)},complement:function(){return this._applyCombination(O,arguments)},monochromatic:function(){return this._applyCombination(P,arguments)},splitcomplement:function(){return this._applyCombination(A,arguments)},triad:function(){return this._applyCombination(C,arguments)},tetrad:function(){return this._applyCombination(T,arguments)}},f.fromRatio=function(e,t){if("object"==typeof e){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]="a"===r?e[r]:M(e[r]));e=n}return f(e,t)},f.equals=function(e,t){return!(!e||!t)&&f(e).toRgbString()==f(t).toRgbString()},f.random=function(){return f.fromRatio({r:p(),g:p(),b:p()})},f.mix=function(e,t,n){n=0===n?0:n||50;var r=f(e).toRgb(),o=f(t).toRgb(),i=n/100;return f({r:(o.r-r.r)*i+r.r,g:(o.g-r.g)*i+r.g,b:(o.b-r.b)*i+r.b,a:(o.a-r.a)*i+r.a})},f.readability=function(e,t){var n=f(e),r=f(t);return(o.max(n.getLuminance(),r.getLuminance())+.05)/(o.min(n.getLuminance(),r.getLuminance())+.05)},f.isReadable=function(e,t,n){var r,o,i=f.readability(e,t);switch(o=!1,(r=function(e){var t,n;t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),n=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA");"small"!==n&&"large"!==n&&(n="small");return{level:t,size:n}}(n)).level+r.size){case"AAsmall":case"AAAlarge":o=i>=4.5;break;case"AAlarge":o=i>=3;break;case"AAAsmall":o=i>=7}return o},f.mostReadable=function(e,t,n){var r,o,i,a,s=null,c=0;o=(n=n||{}).includeFallbackColors,i=n.level,a=n.size;for(var l=0;l<t.length;l++)(r=f.readability(e,t[l]))>c&&(c=r,s=f(t[l]));return f.isReadable(e,s,{level:i,size:a})||!o?s:(n.includeFallbackColors=!1,f.mostReadable(e,["#fff","#000"],n))};var k=f.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},j=f.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(k);function I(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function N(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=l(t,u(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),o.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function R(e){return l(1,u(0,e))}function D(e){return parseInt(e,16)}function L(e){return 1==e.length?"0"+e:""+e}function M(e){return e<=1&&(e=100*e+"%"),e}function F(e){return o.round(255*parseFloat(e)).toString(16)}function H(e){return D(e)/255}var U,z,B,V=(z="[\\s|\\(]+("+(U="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+U+")[,|\\s]+("+U+")\\s*\\)?",B="[\\s|\\(]+("+U+")[,|\\s]+("+U+")[,|\\s]+("+U+")[,|\\s]+("+U+")\\s*\\)?",{CSS_UNIT:new RegExp(U),rgb:new RegExp("rgb"+z),rgba:new RegExp("rgba"+B),hsl:new RegExp("hsl"+z),hsla:new RegExp("hsla"+B),hsv:new RegExp("hsv"+z),hsva:new RegExp("hsva"+B),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function q(e){return!!V.CSS_UNIT.exec(e)}e.exports?e.exports=f:void 0===(r=function(){return f}.call(t,n,t,e))||(e.exports=r)}(Math)},function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},o=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},i=this&&this.__spreadArray||function(e,t){for(var n=0,r=t.length,o=e.length;n<r;n++,o++)e[o]=t[n];return e};Object.defineProperty(t,"__esModule",{value:!0});var a=n(192),s=n(52),c=function(){function e(){}return e.LAST_STORY_ID_CACHE="imp_hub_last_story_id",e.LAST_ORG_ID_CACHE="imp_hub_last_org_id",e.SESSION_COOKIE_NAME="auth_state",e.FRESH_COOKIE={sub:"",organization_id:"",story_id:"",stories_hash:0,orgs_hash:0},e.getAccessData=function(t){return new Promise((function(n,r){s.default.get(e.determineAccessUrl(),{headers:{Authorization:"Bearer "+t}}).then((function(e){n(e.data?e.data:[])})).catch((function(e){r(e)}))}))},e.getSession=function(){return a.getJSON(e.SESSION_COOKIE_NAME)},e.removeSession=function(){var t=e.scrapeDomain();a.remove(e.SESSION_COOKIE_NAME,{domain:t})},e.buildFreshSession=function(t,n){var r,o,i,a,s=t.idTokenPayload,c=s.sub,l=s.exp,u=n.organizations,p="",f="";try{o=localStorage.getItem(e.LAST_ORG_ID_CACHE),i=localStorage.getItem(e.LAST_STORY_ID_CACHE)}catch(e){console.warn("Failed to look up cached hub settings",e)}o&&"object"==typeof(a=n.organizations.find((function(e){return e.id===o})))&&a.hasOwnProperty("id")&&(p=o),i&&p&&a.stories.find((function(e){return e.id===i}))&&(f=i),!p&&u.length>0&&"object"==typeof u[0]&&u[0].hasOwnProperty("id")&&(p=u[0].id),!f&&u[0].stories.length>0&&"object"==typeof u[0].stories[0]&&u[0].stories[0].hasOwnProperty("id")&&(f=u[0].stories[0].id),r={sub:c,organization_id:p,story_id:f,stories_hash:e.generateStoriesHash(n),orgs_hash:e.generateOrgsHash(n)},e.storeSession(r,l)},e.storeSession=function(t,n){var o=r(r({},e.FRESH_COOKIE),t),i=e.scrapeDomain(),s=new Date(1e3*n);a.set(e.SESSION_COOKIE_NAME,o,{domain:i,expires:s})},e.updateSession=function(t,n){var o=e.getSession(),i=r(r({},o),t);if(t.hasOwnProperty("organization_id"))try{localStorage.setItem(e.LAST_ORG_ID_CACHE,t.organization_id)}catch(e){console.warn("Failed to cache last organization id selected",e)}if(t.hasOwnProperty("story_id"))try{localStorage.setItem(e.LAST_STORY_ID_CACHE,t.story_id)}catch(e){console.warn("Failed to cache last story id selected",e)}e.storeSession(i,n)},e.generateOrgsHash=function(t){var n=t.organizations.map((function(e){return e.id})).join("");return e.string2Hash(n)},e.generateStoriesHash=function(t){var n=t.organizations.reduce((function(e,t){return i(i([],o(e)),o(t.stories))}),[]).map((function(e){return""+e.id+e.name})).join("");return e.string2Hash(n)},e.string2Hash=function(e){var t=0;if(0===e.length)return t;for(var n=0;n<e.length;n++)t=(t<<5)-t+e.charCodeAt(n),t|=0;return t},e.scrapeDomain=function(){var e=window.location.host.split(".").reverse();return e.length>2?"."+e[1]+"."+e[0].split(":")[0]:null},e.determineAccessUrl=function(){var e=window.location,t=e.hostname,n=e.host;return"localhost"===t?"https://api/access":n.includes(".staging.")?"https://api.staging.imposium.com/access":"https://api.imposium.com/access"},e}();t.default=c},function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var o=n(193),i=function(){function e(){}return e.IMPOSIUM_APP_DEFAULTS={domain:"imposium.auth0.com",scope:"openid",responseType:"token id_token",redirectUri:window.location.origin+"/auth"},e.bindToClient=function(t){e.auth0Client=new o.WebAuth(r({clientID:t},e.IMPOSIUM_APP_DEFAULTS))},e.login=function(){e.auth0Client.authorize()},e.logout=function(){e.auth0Client.logout({returnTo:window.location.origin+"/auth"})},e.checkExpiry=function(e){return e>Date.now().valueOf()/1e3},e.parseIdFromHash=function(t){return new Promise((function(n,r){e.auth0Client.parseHash({options:t},(function(e,t){e?r(e):n(t)}))}))},e.checkSession=function(){return new Promise((function(t,n){e.auth0Client.checkSession({},(function(e,r){e?n(e):t(r)}))}))},e}();t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.clearCachedAuth=t.login=t.AUTH_CACHE_KEY=void 0,t.AUTH_CACHE_KEY="imposium_hub_creds";t.login=function(e){try{localStorage.setItem(t.AUTH_CACHE_KEY,JSON.stringify(e))}catch(e){console.warn("Failed to cache auth creds...")}return{type:r.LOGIN,auth:e}};t.clearCachedAuth=function(){try{localStorage.removeItem(t.AUTH_CACHE_KEY)}catch(e){console.warn("Failed to remove cached creds")}return{type:r.CLEAR}};var r={LOGIN:"auth/LOGIN",CLEAR:"auth/CLEAR"};t.default=r},function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},o=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},i=this&&this.__spreadArray||function(e,t){for(var n=0,r=t.length,o=e.length;n<r;n++,o++)e[o]=t[n];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.storyDeleted=t.storyNameMutated=t.orgNameMutated=t.storyAdded=t.clearCachedAccessList=t.cacheAccessData=t.ACCESS_CACHE_KEY=void 0;var a=n(29);t.ACCESS_CACHE_KEY="imposium_access_list";t.cacheAccessData=function(e){return s(e),{type:c.SET,accessData:e}};t.clearCachedAccessList=function(){try{localStorage.removeItem(t.ACCESS_CACHE_KEY)}catch(e){console.warn("Failed to clear access list cache from local storage.")}return{type:c.CLEAR}};t.storyAdded=function(e,t){return function(n,l){var u=l(),p=u.access,f=u.auth.idTokenPayload.exp,d=u.routing.locationBeforeTransitions.query.organization_id,h=r(r({},p),{organizations:p.organizations.map((function(n){return n.id===d?r(r({},n),{stories:i(i([],o(n.stories)),[{id:e,name:t}]).sort((function(e,t){return e.name.localeCompare(t.name)}))}):n}))});a.default.updateSession({stories_hash:a.default.generateStoriesHash(h)},f),s(h),n({type:c.STORY_ADDED,accessData:h})}};t.orgNameMutated=function(e,t){return function(n,o){var i=o(),l=i.access,u=i.auth.idTokenPayload.exp,p=r(r({},l),{organizations:l.organizations.map((function(n){return n.id===e?r(r({},n),{name:t}):n}))});a.default.updateSession({stories_hash:a.default.generateOrgsHash(p)},u),s(p),n({type:c.ORG_NAME_MUTATION,accessData:p})}};t.storyNameMutated=function(e,t){return function(n,o){var i=o(),l=i.access,u=i.auth.idTokenPayload.exp,p=i.routing.locationBeforeTransitions.query.organization_id,f=r(r({},l),{organizations:l.organizations.map((function(n){return n.id===p?r(r({},n),{stories:n.stories.map((function(n){return n.id===e?r(r({},n),{name:t}):n}))}):n}))});a.default.updateSession({stories_hash:a.default.generateOrgsHash(f)},u),s(f),n({type:c.STORY_NAME_MUTATION,accessData:f})}};t.storyDeleted=function(e){return function(t,n){var o=n(),i=o.access,l=o.auth.idTokenPayload.exp,u=o.routing.locationBeforeTransitions.query.organization_id,p=r(r({},i),{organizations:i.organizations.map((function(t){return t.id===u?r(r({},t),{stories:t.stories.filter((function(t){return t.id!==e}))}):t}))});a.default.updateSession({story_id:"",stories_hash:a.default.generateStoriesHash(p)},l),s(p),t({type:c.STORY_DELETED,accessData:p})}};var s=function(e){try{localStorage.setItem(t.ACCESS_CACHE_KEY,JSON.stringify(e))}catch(e){console.warn("Failed to cache access list in local storage.")}},c={SET:"access/SET",CLEAR:"access/CLEAR",STORY_ADDED:"access/STORY_ADDED",STORY_NAME_MUTATION:"access/STORY_NAME_MUTATION",ORG_NAME_MUTATION:"access/ORG_NAME_MUTATION",STORY_DELETED:"access/STORY_DELETED"};t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),o=n(3);t.default=function(){return r.createElement("div",{className:"spinner"},r.createElement("div",{className:"icon"},o.ICON_CIRCLE_NOTCH))}},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},a=this&&this.__spreadArray||function(e,t){for(var n=0,r=t.length,o=e.length;n<r;n++,o++)e[o]=t[n];return e};Object.defineProperty(t,"__esModule",{value:!0});var s=n(0),c=n(9),l=n(3),u=function(e){function t(t){return e.call(this,t)||this}return o(t,e),t.prototype.onChange=function(e){var t=e.target.value;"true"===t&&(t=!0),"false"===t&&(t=!1),this.props.onChange(t)},t.prototype.render=function(){var e,t=this,n=this.props,r=n.label,o=(n.placeholder,n.options),u=n.value,p=n.width,f=n.buttons,d=n.selectRef,h=n.disable,v=n.tooltip,g=n.info,m=n.labelPosition,y=n.disableFirst,b=[],_=null==u?"":u,w=s.createElement("div",{key:"caret",className:"caret"},l.ICON_CARET_DOWN);return e=f?Array.isArray(f)?a([w],i(f)):[w,f]:[w],o&&(b=o.map((function(e,t){var n=!(0!==t||!y),r=void 0!==e.value?e.value:e,o=void 0!==e.label?e.label:e;return s.createElement("option",{disabled:n,key:"option-"+r,value:r},o)}))),s.createElement(c.default,{customClass:"select-field",label:r,tooltip:v,buttons:e,info:g,labelPosition:m,width:p},s.createElement("select",{value:_,onChange:function(e){return t.onChange(e)},ref:d,disabled:h},b))},t}(s.PureComponent);t.default=u},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),a=n(9),s=function(e){function t(t){var n=e.call(this,t)||this;return n.inputRef=i.createRef(),n}return o(t,e),t.prototype.onChange=function(e){var t=e.target.value;t=""===t?null:parseFloat(t),this.props.onChange(t)},t.prototype.onSelectFocus=function(){},t.prototype.onSelectBlur=function(){},t.prototype.handleLabelDrag=function(e){var t=this.props.value+e;this.props.onChange(t)},t.prototype.render=function(){var e=this,t=this.props,n=t.label,r=t.placeholder,o=t.width,s=t.readOnly,c=t.buttons,l=t.tooltip,u=t.info,p=t.labelPosition,f=t.min,d=t.max,h=this.props.value;return null===h&&(h=""),i.createElement(a.default,{customClass:"number-field",label:n,tooltip:l,buttons:c,info:u,labelPosition:p,width:o},i.createElement("input",{ref:this.inputRef,type:"number",pattern:"/^-?(0|[1-9]d*)(.d+)?$/",placeholder:r,value:h,readOnly:s,min:f,max:d,onFocus:function(){return e.onSelectFocus()},onBlur:function(){return e.onSelectBlur()},onChange:function(t){return e.onChange(t)}}))},t}(i.PureComponent);t.default=s},function(e,t,n){var r=n(102),o=n(62);e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},function(e,t,n){var r=n(232),o=n(233),i=n(234),a=n(235),s=n(236);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=a,c.prototype.set=s,e.exports=c},function(e,t,n){var r=n(68);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},function(e,t,n){var r=n(17)(Object,"create");e.exports=r},function(e,t,n){var r=n(254);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},function(e,t,n){var r=n(269),o=n(69),i=n(270),a=n(271),s=n(272),c=n(16),l=n(105),u=l(r),p=l(o),f=l(i),d=l(a),h=l(s),v=c;(r&&"[object DataView]"!=v(new r(new ArrayBuffer(1)))||o&&"[object Map]"!=v(new o)||i&&"[object Promise]"!=v(i.resolve())||a&&"[object Set]"!=v(new a)||s&&"[object WeakMap]"!=v(new s))&&(v=function(e){var t=c(e),n="[object Object]"==t?e.constructor:void 0,r=n?l(n):"";if(r)switch(r){case u:return"[object DataView]";case p:return"[object Map]";case f:return"[object Promise]";case d:return"[object Set]";case h:return"[object WeakMap]"}return t}),e.exports=v},function(e,t,n){var r=n(73);e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},function(e,t,n){var r=n(117),o=n(118);e.exports=function(e,t,n,i){var a=!n;n||(n={});for(var s=-1,c=t.length;++s<c;){var l=t[s],u=i?i(n[l],e[l],l,n,e):void 0;void 0===u&&(u=e[l]),a?o(n,l,u):r(n,l,u)}return n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),o=n(3),i=n(6),a=r.memo((function(e){if("string"!=typeof e.copy)throw new Error("Prop passed to Tag is not string: ");var t=e.colorize?""+i.string2HexCode(e.copy):"",n="function"==typeof e.removeHandler&&r.createElement("div",{className:"remove-tag",onClick:e.removeHandler},o.ICON_TIMES);return r.createElement("div",{key:e.copy,style:{borderLeftColor:t},className:"imposium-tag"},e.copy,n)}));t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0);t.default=function(e){var t=e.style;return t||(t="default"),r.createElement("div",{className:"horizontal-rule "+t})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.uploadAssets=t.toggleAssignToStory=t.toggleAutoTag=void 0;var r=n(15),o={TOGGLE_AUTO_TAG:"assetUploads/TOGGLE_AUTO_TAG",TOGGLE_ASSIGN_TO_STORY:"assetUploads/TOGGLE_ASSIGN_TO_STORY",ADD_UPLOAD:"assetUploads/ADD_UPLOAD",UPDATE_PERCENT_UPLOADED:"assetUploads/UPDATE_PERCENT_UPLOADED",REMOVE_UPLOAD:"assetUploads/REMOVE_UPLOAD"};t.toggleAutoTag=function(e){return{type:o.TOGGLE_AUTO_TAG,toggle:e}};t.toggleAssignToStory=function(e){return{type:o.TOGGLE_ASSIGN_TO_STORY,toggle:e}};t.uploadAssets=function(e,t,n,a){return function(s,c){var l=c().assetUploads,u=l.autoTag,p=l.uploads,f=l.assignToStory&&n?n:null,d=t.map((function(e){var t=p.filter((function(t){return t.filename.includes(e.name)})),n=t.length>0?e.name+" ("+t.length+")":e.name,r=u?e.name.substr(0,e.name.lastIndexOf(".")).split("_").join(","):"";return s({type:o.ADD_UPLOAD,uploadMeta:{filename:n,percent:0}}),{file:e,tags:r,filename:n,onUploadProgress:function(e){s({type:o.UPDATE_PERCENT_UPLOADED,percent:Math.floor(100*e.loaded/e.total),filename:n})}}})),h=d.map((function(t){return e.uploadAsset(f,t.tags,t.file,t.onUploadProgress)}));Promise.all(h).then((function(t){var c=t.map((function(t,i){return a&&a(t[0]),{footageId:t[0].id,jobId:t[0].job_id,onProcessed:function(){s({type:o.REMOVE_UPLOAD,filename:d[i].filename}),r.doAssetTableHydration(e,n)}}}));(c=c.filter((function(t,i){var a="string"==typeof t.jobId;return a||(s({type:o.REMOVE_UPLOAD,filename:d[i].filename}),r.doAssetTableHydration(e,n)),a}))).length>0&&i(e,c,-1)})).catch((function(e){console.error("Error(s) uploading footage: ",e)}))}};var i=function(e,t,n){n=window.setTimeout((function(){var r=t.map((function(t){return e.getJob(t.jobId)}));Promise.all(r).then((function(r){var o;clearTimeout(n),r.forEach((function(e){"processing"!==e.status&&"completed"!==e.status||(o=t.find((function(t){return t.jobId===e.id})))&&(o.onProcessed(),t=t.filter((function(t){return t.jobId!==e.id})))})),t.length>0&&i(e,t,n)})).catch((function(e){console.error("Failed to poll for processing jobs:",e)}))}),5e3)};t.default=o},function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.getNewCompositionLayer=t.VARIABLE_TYPES=t.TEXT_SIZE_OPTIONS=t.DEFAULT_FONT=t.FILL_MODES=t.STADARD_FONTS=t.FONT_TYPE_OPTIONS=t.FONT_TYPES=void 0;var o=n(6);t.FONT_TYPES={STANDARD:"standard",CUSTOM:"custom"},t.FONT_TYPE_OPTIONS=[{label:"Standard",value:t.FONT_TYPES.STANDARD},{label:"Custom",value:t.FONT_TYPES.CUSTOM}],t.STADARD_FONTS=["Arial","Courier New","Georgia","Impact","Times New Roman","Trebuchet MS","Verdana"],t.FILL_MODES={FIT:"fit",FILL:"fill",STRETCH:"stretch"},t.DEFAULT_FONT="Arial",t.TEXT_SIZE_OPTIONS=[{label:"6px",value:6},{label:"8px",value:8},{label:"9px",value:9},{label:"10px",value:10},{label:"11px",value:11},{label:"12px",value:12},{label:"14px",value:14},{label:"16px",value:16},{label:"18px",value:18},{label:"24px",value:24},{label:"30px",value:30},{label:"36px",value:36},{label:"48px",value:48},{label:"60px",value:60},{label:"72px",value:72}],t.VARIABLE_TYPES={TEXT:"text",NUMBER:"number",BOOLEAN:"boolean",ENUM:"enum",IMAGE:"image",VIDEO:"video",AUDIO:"audio"};t.getNewCompositionLayer=function(){var e=r({},i);return e.id=o.generateUUID(),e};var i={id:null,x:0,y:0,width:200,height:100,rotation:0,name:"New Layer",content:"",color:"#000000",background_color:"transparent",font_size:24,font_type:"standard",font:t.DEFAULT_FONT,custom_font_id:null,custom_font_url:null,letter_spacing:null,word_spacing:null,line_height:null,horizontal_alignment:"center",vertical_alignment:"center",text_wrap:!0,text_fit:!0}},function(e,t,n){"use strict";(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.a=n}).call(this,n(53))},function(e,t){e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M224 256A128 128 0 1 0 96 128a128 128 0 0 0 128 128zm96 64a63.08 63.08 0 0 1 8.1-30.5c-4.8-.5-9.5-1.5-14.5-1.5h-16.7a174.08 174.08 0 0 1-145.8 0h-16.7A134.43 134.43 0 0 0 0 422.4V464a48 48 0 0 0 48 48h280.9a63.54 63.54 0 0 1-8.9-32zm288-32h-32v-80a80 80 0 0 0-160 0v80h-32a32 32 0 0 0-32 32v160a32 32 0 0 0 32 32h224a32 32 0 0 0 32-32V320a32 32 0 0 0-32-32zM496 432a32 32 0 1 1 32-32 32 32 0 0 1-32 32zm32-144h-64v-80a32 32 0 0 1 64 0z";t.definition={prefix:"fas",iconName:"user-lock",icon:[640,512,r,"f502",o]},t.faUserLock=t.definition,t.prefix="fas",t.iconName="user-lock",t.width=640,t.height=512,t.ligatures=r,t.unicode="f502",t.svgPathData=o},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),a=function(e){function t(n){var r=e.call(this,n)||this;return r.resizeHandler=function(){return r.onResize()},r.clickHandler=function(e){return r.detectOutsideClick(e)},r.escHandler=function(e){return r.onEsc(e)},r.dropdownRef=null,r.onResize=function(){var e=r.props.toggleRef;if(void 0!==e){var t=e.current.getBoundingClientRect(),n=t.top,o=t.left,i=t.bottom,a=t.right;r.setState({offset:{top:n,left:o,bottom:i,right:a}})}},r.cancelRender=function(e){void 0===e&&(e=!1);var t=r.props.onOutsideClick;window.removeEventListener("resize",r.resizeHandler),window.removeEventListener("mousedown",r.clickHandler),window.addEventListener("keydown",r.onEsc),r.setState({build:!1,offset:{}}),e&&t()},r.onEsc=function(e){r.props.onOutsideClick;e.keyCode===t.ESC_CODE&&r.cancelRender(!0)},r.detectOutsideClick=function(e){var t=r.props,n=t.toggleRef,o=(t.onOutsideClick,e.target);!r.dropdownRef.current||r.dropdownRef.current.contains(o)||n.current.contains(o)||r.cancelRender(!0)},r.state={build:!1,offset:{}},r.dropdownRef=i.createRef(),r}return o(t,e),t.prototype.componentDidUpdate=function(e){var t=this;this.props.show&&!e.show&&(this.onResize(),this.setState({build:!0},(function(){window.addEventListener("resize",t.resizeHandler),window.addEventListener("mousedown",t.clickHandler),window.addEventListener("keydown",t.onEsc)}))),!this.props.show&&e.show&&this.cancelRender()},t.prototype.render=function(){var e=this.state,t=e.build,n=e.offset,r=this.props,o=r.show,a=r.position,s=r.children,c={position:r.fixed?"fixed":"absolute",transform:t?"scaleY(1)":"scaleY(0)",opacity:t?"1":"0"};if(!o)return null;if(n){var l=document.documentElement.clientWidth,u=(n.top,n.left),p=n.bottom,f=n.right;switch(a){case"topleft":case"topright":case"bottomleft":c.top=p+5+"px",c.left=u+"px",c.transformOrigin="top left";break;case"bottomright":c.top=p+5+"px",c.right=l-f+"px",c.transformOrigin="top right"}}return i.createElement("div",{className:"imposium-dropdown",style:c,ref:this.dropdownRef},s)},t.ESC_CODE=27,t}(i.PureComponent);t.default=a},function(e,t){e.exports=o},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.renderTooltip=t.renderTooltipProps=void 0;var r=n(0),o=n(88),i=n(202);t.renderTooltipProps=function(e,t){return t?{"data-tip":"object"==typeof t?t.content:t,"data-for":e}:{}};t.renderTooltip=function(e,t){var n=document.getElementById("tooltips");if(t&&n){var a="light",s="top";"object"==typeof t&&(a=t.theme?t.theme:"light",s=t.position?t.position:"top");var c=r.createElement(i,{place:s,offset:{top:0,right:0,bottom:0,left:0},id:e,className:"imposium-button-tooltip-"+a,delayShow:1e3,effect:"solid"});return o.createPortal(c,n)}return null}},function(e,t){e.exports=i},function(e,t){e.exports=a},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var a=n(0),s=n(9),c=n(54),l=function(e){function t(t){var n=e.call(this,t)||this;return n.clickCounter=0,n.handleMultipleClicks=function(e,t){n.clickCounter++,1===n.clickCounter&&(n.clickTimeout=window.setTimeout((function(){n.clickCounter=0,e()}),300)),2===n.clickCounter&&(clearTimeout(n.clickTimeout),n.clickCounter=0,t())},n.render=function(){var e=n.props,t=e.value,r=e.label,o=e.options,l=e.width,u=e.tooltip,p=e.info,f=e.labelPosition,d={width:100/o.length+"%"};return a.createElement(s.default,{customClass:"button-group-field",label:r,tooltip:u,info:p,labelPosition:f,width:l},a.createElement("div",{className:"button-group"},o.map((function(e,r){var o=e.value,s=e.label,l=e.icon?e.icon:null,u=o+"-"+r,p=o===t,f=p?"active":"",h=p?null:function(){n.props.onChange(o)};return a.createElement("div",i({key:"option-"+o,style:d,className:"button-group-option "+f},c.renderTooltipProps(u,e.tooltip),{onClick:"function"==typeof e.onDoubleClick?function(){return n.handleMultipleClicks(h,e.onDoubleClick)}:h}),l||s,c.renderTooltip(u,e.tooltip))}))))},n}return o(t,e),t}(a.PureComponent);t.default=l},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),a=n(9),s=n(366),c=function(e){function t(t){var n=e.call(this,t)||this;return n.transparentBg='url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAMUlEQVQ4T2NkYGAQYcAP3uCTZhw1gGGYhAGBZIA/nYDCgBDAm9BGDWAAJyRCgLaBCAAgXwixzAS0pgAAAABJRU5ErkJggg==") left center',n.state={pickerOpen:!1},n.picker=i.createRef(),n.clickOutsideHandler=function(e){return n.handleClickOutside(e)},n}return o(t,e),t.prototype.togglePicker=function(e){var t=this;e.preventDefault(),e.stopPropagation();var n=!this.state.pickerOpen;this.setState({pickerOpen:n},(function(){t.state.pickerOpen?document.addEventListener("click",t.clickOutsideHandler):document.removeEventListener("click",t.clickOutsideHandler)}))},t.prototype.handleClickOutside=function(e){var t=e.target,n=this.picker.current;do{if(t===n)return;t=t.parentNode}while(t);document.removeEventListener("click",this.clickOutsideHandler),this.setState({pickerOpen:!1})},t.prototype.handleChangeComplete=function(e,t){return this.props.onChange(e)},t.prototype.render=function(){var e,t=this,n=this.props,r=n.label,o=(n.placeholder,n.width),c=(n.readOnly,n.buttons),l=n.tooltip,u=n.value,p=n.enableAlpha,f=n.presetColors,d=n.info,h=n.labelPosition,v=!p,g=n.pickerPosition||"left",m=this.state.pickerOpen?i.createElement(s.SketchPicker,{color:u,disableAlpha:v,presetColors:f,onChangeComplete:function(e,n){return t.handleChangeComplete(e,n)}}):null;return e="transparent"===u?{background:this.transparentBg,border:"1px solid #1d1d1d",boxSizing:"border-box"}:{backgroundColor:u},i.createElement(a.default,{customClass:"color-field",label:r,tooltip:l,buttons:c,info:d,labelPosition:h,width:o},i.createElement("div",{className:"swatch",style:e,onClick:function(e){return t.togglePicker(e)}}),i.createElement("div",{className:"picker picker-"+g,ref:this.picker},m))},t}(i.PureComponent);t.default=c},function(e,t,n){var r=n(96),o=n(226);e.exports=function(e,t){return e&&r(e,o(t))}},function(e,t,n){(function(e){var r=n(12),o=n(222),i=t&&!t.nodeType&&t,a=i&&"object"==typeof e&&e&&!e.nodeType&&e,s=a&&a.exports===i?r.Buffer:void 0,c=(s?s.isBuffer:void 0)||o;e.exports=c}).call(this,n(61)(e))},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},function(e,t){e.exports=function(e){return function(t){return e(t)}}},function(e,t,n){(function(e){var r=n(95),o=t&&!t.nodeType&&t,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===o&&r.process,s=function(){try{var e=i&&i.require&&i.require("util").types;return e||a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=s}).call(this,n(61)(e))},function(e,t){var n=Object.prototype;e.exports=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||n)}},function(e,t,n){var r=n(101)(Object.getPrototypeOf,Object);e.exports=r},function(e,t,n){var r=n(37),o=n(237),i=n(238),a=n(239),s=n(240),c=n(241);function l(e){var t=this.__data__=new r(e);this.size=t.size}l.prototype.clear=o,l.prototype.delete=i,l.prototype.get=a,l.prototype.has=s,l.prototype.set=c,e.exports=l},function(e,t){e.exports=function(e,t){return e===t||e!=e&&t!=t}},function(e,t,n){var r=n(17)(n(12),"Map");e.exports=r},function(e,t,n){var r=n(246),o=n(253),i=n(255),a=n(256),s=n(257);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=a,c.prototype.set=s,e.exports=c},function(e,t,n){var r=n(268),o=n(112),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(e){return null==e?[]:(e=Object(e),r(a(e),(function(t){return i.call(e,t)})))}:o;e.exports=s},function(e,t,n){var r=n(10),o=n(73),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!o(e))||(a.test(e)||!i.test(e)||null!=t&&e in Object(t))}},function(e,t,n){var r=n(16),o=n(14);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},function(e,t,n){var r=n(97),o=n(297),i=n(36);e.exports=function(e){return i(e)?r(e,!0):o(e)}},function(e,t,n){var r=n(108);e.exports=function(e){var t=new e.constructor(e.byteLength);return new r(t).set(new r(e)),t}},function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addAssetTagToList=t.getAssetTagList=void 0;var r={GET:"assetTags/GET",ADD:"assetTags/ADD"};t.getAssetTagList=function(e,t){return function(n){return new Promise((function(o,i){e.getAssetTags(t).then((function(e){n({type:r.GET,assetTags:e}),o()})).catch((function(e){console.error("Failed to get tag list",e),i()}))}))}};t.addAssetTagToList=function(e){return{type:r.ADD,freshTags:e}},t.default=r},function(e,t,n){"use strict";var r=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a};Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=n(325),a=n(55);t.default=function(e){var t=r(a.useDrop({accept:[i.NativeTypes.FILE],drop:function(t,n){e.onDrop&&e.onDrop(e,n)},collect:function(e){return{isOver:e.isOver,canDrop:e.canDrop}}}),2),n=t[0],s=(n.canDrop,n.isOver,t[1]);return o.createElement("div",{className:e.className||"",ref:e.disable?void 0:s},e.children)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),o=n(26),i=n(13),a=n(3),s=r.memo((function(e){var t={color:o.ASSET_COLORS[e.type]};switch(e.type){case"filter":return r.createElement("span",null,a.ICON_FILTER);case"all":return r.createElement("span",{title:i.assets.iconTypes.all},a.ICON_TIMES);case o.ASSET_TYPES.VIDEO:return r.createElement("span",{title:i.assets.iconTypes.video,style:t},a.ICON_VIDEO);case o.ASSET_TYPES.AUDIO:return r.createElement("span",{title:i.assets.iconTypes.audio,style:t},a.ICON_AUDIO_TYPE);case o.ASSET_TYPES.IMAGE:return r.createElement("span",{title:i.assets.iconTypes.image,style:t},a.ICON_IMAGE);case o.ASSET_TYPES.IMAGE_SEQUENCE:return r.createElement("span",{title:i.assets.iconTypes.image_sequence,style:t},a.ICON_IMAGE_SEQ_TYPE);case o.ASSET_TYPES.TEMPLATE:return r.createElement("span",{title:i.assets.iconTypes.template,style:t},a.ICON_FILE_ARCHIVE);case o.ASSET_TYPES.VIDEO_COMPOSITION:return r.createElement("span",{title:i.assets.iconTypes.video_composition,style:t},a.ICON_LAYER_GROUP);case o.ASSET_TYPES.LUT:return r.createElement("span",{title:i.assets.iconTypes.lut},a.ICON_CUBE);case o.ASSET_TYPES.FONT:return r.createElement("span",{title:i.assets.iconTypes.font},a.ICON_FONT);case o.ASSET_TYPES.STATIC_COMPOSITION:return r.createElement("span",{title:i.assets.iconTypes.static_composition},a.ICON_FILE_CODE);default:return null}}));t.default=s},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),a=n(26),s=n(47),c=n(6),l=function(e){function t(t){var n=e.call(this,t)||this;return n.state={fontLoaded:!1},n.innerTextRef=i.createRef(),n}return o(t,e),t.prototype.componentDidMount=function(){this.loadFont()},t.prototype.componentDidUpdate=function(e){var t=this.state.fontLoaded,n=this.props.options,r=n.font,o=n.custom_font_id,i=n.content;e.options.font===r&&e.options.custom_font_id===o||this.loadFont(),e.options.content!==i&&t&&this.fitText()},t.prototype.fitElement=function(e,t,n){for(var r=window.getComputedStyle(e,null),o=parseFloat(r.getPropertyValue("font-size")),i=parseFloat(r.getPropertyValue("letter-spacing")),a=parseFloat(r.getPropertyValue("line-height")),s=parseFloat(r.getPropertyValue("word-spacing")),c=i/o,l=a/o,u=s/o,p=e.offsetWidth,f=e.offsetHeight;p>t||f>n;)o--,i=Math.round(o*c),a=Math.round(o*l),s=Math.round(o*u),e.style.fontSize=o+"px",e.style.letterSpacing=i+"px",e.style.wordSpacing=s+"px",e.style.lineHeight=a+"px",p=e.offsetWidth,f=e.offsetHeight},t.prototype.loadFont=function(){var e=this,t=this.props.options,n=t.font,r=t.font_size,o=t.font_type,i=t.custom_font_url;if(o===s.FONT_TYPES.CUSTOM&&r&&i){var l=c.s3Url(i,a.ASSET_DISTRO,a.ASSET_ORIGIN);document.fonts.check(r+"px "+n)?this.fontReady():this.setState({fontLoaded:!1},(function(){var t=new FontFace(n,"url("+l+")",{style:"normal",weight:"normal"});t.load().then((function(n){document.fonts.add(t),e.fontReady()})).catch((function(t){e.errorLoadingFont()}))}))}else o===s.FONT_TYPES.STANDARD&&this.fontReady()},t.prototype.formatContent=function(){var e=this.props,t=e.options.content,n=e.inventory,r=t||"";if(n)for(var o in n)if(n.hasOwnProperty(o)){var a=new RegExp("{{"+o+"}}","g"),s=n[o];s&&(s=s.toString(),r=r.replace(a,s))}for(var c=r.split("\n"),l=[],u=0;u<c.length;u++)l.push(i.createElement("span",{key:"s-"+u},c[u])),c[u+1]&&l.push(i.createElement("br",{key:"b-"+u}));return l},t.prototype.fitText=function(){if(this.props.options.text_fit){var e=this.innerTextRef.current;e&&this.fitElement(e,this.props.options.width,this.props.options.height)}},t.prototype.errorLoadingFont=function(){},t.prototype.fontReady=function(){var e=this;this.setState({fontLoaded:!0},(function(){e.fitText(),e.props.onReady&&e.props.onReady()}))},t.prototype.getFlexStart=function(e){switch(e){case"left":return"flex-start";case"center":return"center";case"right":return"flex-end"}},t.prototype.render=function(){var e=this.props.options,t=e.color,n=e.background_color,r=e.line_height,o=e.word_spacing,a=e.letter_spacing,s=e.font_size,c=e.font,l=e.horizontal_alignment,u=e.vertical_alignment,p={color:t,lineHeight:r?r+"px":"normal",wordSpacing:o?o+"px":"normal",letterSpacing:a?a+"px":"normal",fontSize:s?s+"px":"0px",whiteSpace:e.text_wrap?"normal":"nowrap",fontFamily:c},f={display:"flex",textAlign:l,justifyContent:this.getFlexStart(l),alignItems:u,backgroundColor:n};return i.createElement("div",{className:"composition-text-layer",style:f},i.createElement("div",{className:"inner-text",style:p,ref:this.innerTextRef},this.formatContent()))},t}(i.PureComponent);t.default=l},function(e,t,n){"use strict";(function(e){var r=n(48),o="object"==typeof exports&&exports&&!exports.nodeType&&exports,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===o&&r.a.process,s=function(){try{var e=i&&i.require&&i.require("util").types;return e||a&&a.binding&&a.binding("util")}catch(e){}}();t.a=s}).call(this,n(76)(e))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),o=n(49),i=n(50),a=n(83);t.default=function(e){if(!e.type)throw new Error("NoAccess requires a type of either: request or restrict");var t="request"===e.type;return r.createElement("div",{className:"no-access"},t?r.createElement(o.FontAwesomeIcon,{icon:i.faUserLock,size:"6x"}):r.createElement(o.FontAwesomeIcon,{icon:a.faExclamationTriangle,size:"6x"}),r.createElement("div",{className:"no-access-copy"},r.createElement("h1",{className:"no-access-heading"},t?"You don't have access to Imposium yet":"Service not found"),t&&r.createElement("a",{href:"mailto:info@imposium.com?subject=My access to Imposium is restricted"},"Request Access")))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z";t.definition={prefix:"fas",iconName:"exclamation-triangle",icon:[576,512,r,"f071",o]},t.faExclamationTriangle=t.definition,t.prefix="fas",t.iconName="exclamation-triangle",t.width=576,t.height=512,t.ligatures=r,t.unicode="f071",t.svgPathData=o},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),a=n(51),s=n(85),c=n(6),l=n(3),u=function(e){function t(n){var r=e.call(this,n)||this;return r.serviceToggleRef=null,r.storyToggleRef=null,r.orgsToggleRef=null,r.componentDidMount=function(){var e=r.props,t=e.accessData,n=e.activeOrganization;t&&r.parseAccessData(t,n)},r.componentDidUpdate=function(e){var n=r.props,o=n.accessData,i=n.activeOrganization,a=e.accessData,s=e.activeOrganization;o&&o!==a&&r.parseAccessData(o,i),"string"==typeof i&&i.length===t.UUID_LENGTH&&i!==s&&r.parseAccessData(o,i)},r.parseAccessData=function(e,n){var o=e.organizations,i=e.services,a=n?e.organizations.find((function(e){return e.id===n})):void 0,s=o.length>1?o.filter((function(e){return e.id!==n})):[],l=i&&a?i.filter((function(e){return a.services.includes(e.id)})):[],u=l.length>1?i.find((function(e){return window.location.href.includes(e.url)})):void 0,p=t.DEFAULT_ACCOUNT_TOGGLE_COLOR,f="";a&&a.hasOwnProperty("name")&&(p=c.string2HexCode(a.name),f=r.pullFirstChar(a.name)),r.setState({servicesByOrganization:l,activeServiceBlob:u,inactiveOrganizations:s,activeOrganizationBlob:a,dropdownToggleColor:p,activeFirstChar:f})},r.changeStory=function(e){var t=r.props.onStoryChange;"function"==typeof t&&(t(e),r.setState({showStoriesDropdown:!1}))},r.toggleAccountDropdown=function(e,t){void 0===t&&(t="");var n=r.props.onOrganizationChange;e?r.setState({showAccountDropdown:!0}):(r.setState({showAccountDropdown:!1}),t&&n&&n(t),t&&!n&&window.location.replace(r.getHomeUrl()+"?organization_id="+t))},r.getHomeUrl=function(){var e=window.location,t=e.hostname,n=e.host;return"localhost"===t?"http://localhost:3036":n.includes(".staging.")?"https://launchpad.staging.imposium.com":"https://launchpad.imposium.com"},r.doLogout=function(){r.setState({showAccountDropdown:!1}),r.props.logout()},r.pullFirstChar=function(e){return e?e.substring(0,1):""},r.renderDropdownChevron=function(e){return e?t.UP:t.DOWN},r.renderServiceAnchor=function(e,t,n){return i.createElement("div",{className:"anchor-wrapper",key:e.id},i.createElement("a",{href:c.parameterizeServiceUrl(t,n,e.url,e.id)},i.createElement("div",{className:"icon-fixed"},i.createElement(s.default,{iconName:e.icon,color:"#"+e.color})),e.name))},r.state={inactiveOrganizations:[],servicesByOrganization:[],activeServiceBlob:void 0,activeOrganizationBlob:void 0,showAccountDropdown:!1,showStoriesDropdown:!1,showServiceDropdown:!1,dropdownToggleColor:t.DEFAULT_ACCOUNT_TOGGLE_COLOR,activeFirstChar:""},r.serviceToggleRef=i.createRef(),r.storyToggleRef=i.createRef(),r.orgsToggleRef=i.createRef(),r}return o(t,e),t.prototype.render=function(){var e,n,r,o,l,u,p,f,d,h,v,g,m=this,y=this.props,b=y.email,_=y.accessData,w=y.activeOrganization,x=y.activeStory,E=y.hideStoryPicker,O=this.state,C=O.showAccountDropdown,T=O.servicesByOrganization,A=O.activeServiceBlob,S=O.showStoriesDropdown,P=O.inactiveOrganizations,k=O.activeOrganizationBlob,j=O.activeFirstChar,I=O.dropdownToggleColor,N=O.showServiceDropdown,R={};return _&&((r=T.find((function(e){return window.location.href.includes(e.url)})))&&(R={color:"#"+r.color},n={borderBottom:"4px solid #"+r.color}),o=T.filter((function(e){return!e.private&&-1===t.PRIVATE_IDS.indexOf(e.id)})).map((function(e){return m.renderServiceAnchor(e,w,x)})),l=T.filter((function(e){return!e.private&&t.PRIVATE_IDS.indexOf(e.id)>-1})).map((function(e){return m.renderServiceAnchor(e,w,x)})),g=i.createElement("div",{className:"service-menu"},i.createElement("section",{className:"service-menu-section"},i.createElement("div",{className:"service-menu-heading"},t.SERVICE_MESH_ALIAS),i.createElement("div",{className:"service-menu-anchors"},o)),l.length>0&&i.createElement("section",{className:"service-menu-section"},i.createElement("div",{className:"service-menu-heading"},t.PRIVATE_HEADER),i.createElement("div",{className:"service-menu-anchors"},l)),i.createElement("section",{className:"service-menu-section"},i.createElement("div",{className:"service-menu-heading"},t.DOCS_HEADER),i.createElement("div",{className:"service-menu-anchors"},i.createElement("div",{className:"anchor-wrapper doc"},i.createElement("a",{target:"__blank",href:t.API_DOCS_LINK},i.createElement("div",{className:"icon-fixed"},i.createElement(s.default,{iconName:"FaCogs"})),t.API_DOCS_LINK_COPY)),i.createElement("div",{className:"anchor-wrapper doc"},i.createElement("a",{target:"__blank",href:t.SDK_DOCS_LINK},i.createElement("div",{className:"icon-fixed"},i.createElement(s.default,{iconName:"FaJsSquare"})),t.SDK_DOCS_LINK_COPY))))),v=i.createElement("button",{id:"btn-toggle-services",className:"btn-toggle-services",style:R,ref:this.serviceToggleRef,onClick:function(){return m.setState({showServiceDropdown:!m.state.showServiceDropdown})}},i.createElement("span",null,A?A.name:t.SERVICE_MESH_ALIAS),this.renderDropdownChevron(N)),u=i.createElement("button",{id:"btn-toggle-orgs",className:"btn-toggle-orgs",ref:this.orgsToggleRef,style:{backgroundColor:I},onClick:function(){return m.toggleAccountDropdown(!C)}},j)),_&&k&&(p=i.createElement("div",{className:"orgs-menu-active-org"},i.createElement("div",{className:"active-first-char",style:{backgroundColor:I}},this.pullFirstChar(k.name)),i.createElement("div",null,k.name))),_&&k&&!E&&(e=k.stories.find((function(e){return e.id===x})),f=i.createElement("button",{id:"btn-toggle-story",className:"btn-toggle-story",ref:this.storyToggleRef,onClick:function(){m.setState({showStoriesDropdown:!m.state.showStoriesDropdown})}},i.createElement("div",{className:"story-name"},e?e.name:t.DEFAULT_SERVICE_TOGGLE_COPY),this.renderDropdownChevron(S)),h=0===k.stories.length?i.createElement("div",{className:"no-stories-dialog"},t.NO_STORIES_COPY):k.stories.map((function(e){return i.createElement("button",{key:e.id,className:"btn-change-story",onClick:function(){return m.changeStory(e)}},e.name)}))),C&&(d=i.createElement("div",{className:"orgs-menu-org-picker"},P.map((function(e){return i.createElement("button",{key:e.name,className:"menu-item inactive-org-button",onClick:function(){return m.toggleAccountDropdown(!1,e.id)}},i.createElement("div",{className:"inactive-first-char",style:{backgroundColor:c.string2HexCode(e.name)}},m.pullFirstChar(e.name)),e.name)})))),i.createElement("nav",{id:"imposium-header",className:"imposium-header",style:n},i.createElement("div",{className:"inner-content"},i.createElement("span",{className:"inner-left"},i.createElement("a",{className:"title",href:c.parameterizeServiceUrl(w,x,this.getHomeUrl())},i.createElement("div",{className:"logo"}),i.createElement("h1",{className:"heading"},t.DEFAULT_TITLE)),v),i.createElement("span",{className:"inner-right"},f,u)),i.createElement(a.default,{key:"services-dropdown",position:"bottomleft",show:N,toggleRef:this.serviceToggleRef,onOutsideClick:function(){return m.setState({showServiceDropdown:!1})}},g),i.createElement(a.default,{key:"stories-dropdown",position:"bottomright",show:S,toggleRef:this.storyToggleRef,onOutsideClick:function(){return m.setState({showStoriesDropdown:!1})}},i.createElement("div",{className:"stories-menu"},h)),i.createElement(a.default,{key:"org-dropdown",position:"bottomright",show:C,toggleRef:this.orgsToggleRef,onOutsideClick:function(){return m.toggleAccountDropdown(!1)}},i.createElement("div",{className:"orgs-menu"},p,d,i.createElement("div",{className:"orgs-menu-footer"},i.createElement("div",{className:"email"},b),i.createElement("button",{className:"btn-logout",onClick:function(){return m.doLogout()}},t.LOGOUT_COPY)))))},t.DEFAULT_TITLE="imposium",t.SERVICE_MESH_ALIAS="services",t.DOCS_HEADER="documentation",t.PRIVATE_HEADER="admin",t.API_DOCS_LINK_COPY="REST API",t.SDK_DOCS_LINK_COPY="Javascript SDK",t.API_DOCS_LINK="https://docs.imposium.com",t.SDK_DOCS_LINK="https://docs.imposium.com/js-sdk/",t.DEFAULT_SERVICE_TOGGLE_COPY="stories",t.DEFAULT_ACCOUNT_TOGGLE_COLOR="royalblue",t.NO_STORIES_COPY="No stories were found",t.LOGOUT_COPY="logout",t.UUID_LENGTH=36,t.UP=l.ICON_CHEVRON_UP,t.DOWN=l.ICON_CHEVRON_DOWN,t.PRIVATE_IDS=[9,10,11,12],t}(i.PureComponent);t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),o=n(49),i=n(135),a=n(136),s=n(137),c=n(138),l=n(86),u=n(87),p=n(139),f=n(140),d=n(141),h=n(142),v=n(50),g=n(143),m=n(144),y=n(145);t.default=function(e){switch(e.iconName){case"FaFilm":return r.createElement(o.FontAwesomeIcon,{icon:a.faFilm,color:e.color});case"FaRegFileVideo":return r.createElement(o.FontAwesomeIcon,{icon:l.faFileVideo,color:e.color});case"FaChartBar":return r.createElement(o.FontAwesomeIcon,{icon:p.faChartBar,color:e.color});case"FaGavel":return r.createElement(o.FontAwesomeIcon,{icon:s.faGavel,color:e.color});case"FaDatabase":return r.createElement(o.FontAwesomeIcon,{icon:c.faDatabase,color:e.color});case"FaVideo":return r.createElement(o.FontAwesomeIcon,{icon:u.faVideo,color:e.color});case"FaUsersCog":return r.createElement(o.FontAwesomeIcon,{icon:f.faUsersCog,color:e.color});case"FaPlayCircle":return r.createElement(o.FontAwesomeIcon,{icon:h.faPlayCircle,color:e.color});case"FaUserLock":return r.createElement(o.FontAwesomeIcon,{icon:v.faUserLock,color:e.color});case"FaSiteMap":return r.createElement(o.FontAwesomeIcon,{icon:g.faSitemap,color:e.color});case"FaFileAlt":return r.createElement(o.FontAwesomeIcon,{icon:y.faFileAlt,color:e.color});case"FaChartArea":return r.createElement(o.FontAwesomeIcon,{icon:m.faChartArea,color:e.color});case"FaCogs":return r.createElement(o.FontAwesomeIcon,{icon:d.faCogs});case"FaJsSquare":return r.createElement(o.FontAwesomeIcon,{icon:i.faJsSquare});default:return null}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M384 121.941V128H256V0h6.059c6.365 0 12.47 2.529 16.971 7.029l97.941 97.941A24.005 24.005 0 0 1 384 121.941zM224 136V0H24C10.745 0 0 10.745 0 24v464c0 13.255 10.745 24 24 24h336c13.255 0 24-10.745 24-24V160H248c-13.2 0-24-10.8-24-24zm96 144.016v111.963c0 21.445-25.943 31.998-40.971 16.971L224 353.941V392c0 13.255-10.745 24-24 24H88c-13.255 0-24-10.745-24-24V280c0-13.255 10.745-24 24-24h112c13.255 0 24 10.745 24 24v38.059l55.029-55.013c15.011-15.01 40.971-4.491 40.971 16.97z";t.definition={prefix:"fas",iconName:"file-video",icon:[384,512,r,"f1c8",o]},t.faFileVideo=t.definition,t.prefix="fas",t.iconName="file-video",t.width=384,t.height=512,t.ligatures=r,t.unicode="f1c8",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M336.2 64H47.8C21.4 64 0 85.4 0 111.8v288.4C0 426.6 21.4 448 47.8 448h288.4c26.4 0 47.8-21.4 47.8-47.8V111.8c0-26.4-21.4-47.8-47.8-47.8zm189.4 37.7L416 177.3v157.4l109.6 75.5c21.2 14.6 50.4-.3 50.4-25.8V127.5c0-25.4-29.1-40.4-50.4-25.8z";t.definition={prefix:"fas",iconName:"video",icon:[576,512,r,"f03d",o]},t.faVideo=t.definition,t.prefix="fas",t.iconName="video",t.width=576,t.height=512,t.ligatures=r,t.unicode="f03d",t.svgPathData=o},function(e,t){e.exports=s},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0});var a=n(0),s=function(e){function t(t){var n=e.call(this,t)||this;return n.state={open:!1},n.evtHandlers={toggleMenu:function(e){return n.toggleMenu(e)},clickOutside:function(e){return n.handleClickOutside(e)}},n}return o(t,e),t.prototype.handleClickOutside=function(e){document.removeEventListener("click",this.evtHandlers.clickOutside),this.setState({open:!1})},t.prototype.componentWillUnmount=function(){document.removeEventListener("click",this.evtHandlers.clickOutside)},t.prototype.toggleMenu=function(e){var t=this;e.preventDefault(),e.stopPropagation();var n=!this.state.open;this.setState({open:n},(function(){t.state.open?document.addEventListener("click",t.evtHandlers.clickOutside):document.removeEventListener("click",t.evtHandlers.clickOutside)}))},t.prototype.renderItems=function(){var e,t,n=this,r=this.props.items,o=[],s=function(e){var t=a.cloneElement(e,{onClick:function(t){t.preventDefault(),t.stopPropagation(),document.removeEventListener("click",n.evtHandlers.clickOutside),n.setState({open:!1},(function(){e.props.onClick(t)}))}});o.push(t)};try{for(var c=i(r),l=c.next();!l.done;l=c.next()){s(l.value)}}catch(t){e={error:t}}finally{try{l&&!l.done&&(t=c.return)&&t.call(c)}finally{if(e)throw e.error}}return o},t.prototype.renderMenu=function(){var e=this.props.position;if(this.state.open)return a.createElement("div",{className:"menu "+e},this.renderItems())},t.prototype.render=function(){var e=this.props.button,t=this.state.open,n=a.cloneElement(e,{onClick:this.evtHandlers.toggleMenu,active:t});return a.createElement("div",{className:"button-menu"},n,this.renderMenu())},t}(a.PureComponent);t.default=s},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),a=function(e){function t(t){return e.call(this,t)||this}return o(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.label,r=t.active;return i.createElement("div",{className:"button-menu-item "+(r?"active":null)+" ",onClick:function(t){return e.props.onClick(t)}},n)},t}(i.Component);t.default=a},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),a=n(5),s=n(3),c=function(e){function t(t){var n=e.call(this,t)||this;return n.state={open:t.open},n.evtHandlers={toggleOpen:function(e){return n.toggleOpen(e)}},n}return o(t,e),t.prototype.toggleOpen=function(e){var t=this;e.persist(),e.preventDefault();var n=this.props,r=n.collapsable,o=n.onOpen,i=n.onClose;r&&("function"==typeof this.props.onToggle&&this.props.onToggle(!this.state.open),this.setState({open:!this.state.open},(function(){t.state.open&&o?o(e):!t.state.open&&i&&i(e)})))},t.prototype.componentDidUpdate=function(e){var t=this.props,n=t.open;t.collapsable;e.open!==n&&this.setState({open:n})},t.prototype.renderTitle=function(e){var t=this.props.title;return"small"===e?i.createElement("p",null,t):"large"===e?i.createElement("h1",null,t):i.createElement("h2",null,t)},t.prototype.renderContent=function(){if(this.state.open)return i.createElement("div",{className:"card-content"},this.props.children)},t.prototype.render=function(){var e=this.props,t=e.collapsable,n=(e.title,e.style),r=t?"collapsable":"",o=!this.state.open&&t?"closed":"",a=n||"default";return i.createElement("div",{className:"card "+o+" "+r+" "+a},i.createElement("div",{className:"card-header",onClick:this.evtHandlers.toggleOpen},this.renderTitle(a),this.renderButtons()),this.renderContent())},t.prototype.renderButtons=function(){var e=this.props.collapsable,t=this.state.open?s.ICON_CARET_UP:s.ICON_CARET_DOWN;if(e)return i.createElement("div",{className:"header-buttons"},i.createElement(a.default,{style:"subtle",onClick:this.evtHandlers.toggleOpen},t))},t}(i.PureComponent);t.default=c},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),a=n(5),s=n(3),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.renderRemoveButton=function(e){var t=this;if(this.props.removable)return i.createElement("div",{className:"buttons"},i.createElement(a.default,{style:"subtle",color:"danger",onClick:function(){return t.props.onRemove(e)}},s.ICON_TIMES))},t.prototype.render=function(){var e,t=this,n=this.props.items;return n&&(e=n.map((function(e,n){return i.createElement("div",{className:"item",key:"item-"+n},e,t.renderRemoveButton(n))}))),i.createElement("div",{className:"controlled-list"},e)},t}(i.PureComponent);t.default=c},function(e,t){e.exports=c},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},a=this&&this.__spreadArray||function(e,t){for(var n=0,r=t.length,o=e.length;n<r;n++,o++)e[o]=t[n];return e};Object.defineProperty(t,"__esModule",{value:!0});var s=n(0),c=n(5),l=n(9),u=n(3),p=function(e){function t(t){var n=e.call(this,t)||this;return n.state={internalValue:t.value,editing:!1},n.evtHandlers={toggleEditing:function(e){return n.toggleEditing(e)},copyToClipboard:function(e){return n.copyToClipboard(e)}},n.inputRef=s.createRef(),n}return o(t,e),t.prototype.blur=function(e){this.props.onBlur&&this.props.onBlur(e)},t.prototype.copyToClipboard=function(e){var t=this.props,n=t.onNotification,r=t.onError;navigator.clipboard.writeText(this.props.value).then((function(){n&&n("Copied to clipboard!")}),(function(){r&&r("Error copying to clipboard.")}))},t.prototype.focus=function(e){this.props.onFocus&&this.props.onFocus(e)},t.prototype.getValue=function(){var e=this.props,t=e.controlled,n=e.value,r=this.state.internalValue;return t?r:n},t.prototype.onChange=function(e){this.props.controlled?this.setState({internalValue:e.target.value}):this.props.onChange(e.target.value)},t.prototype.renderButtons=function(){var e=this.props,t=e.controlled,n=(e.readOnly,e.buttons),r=e.showCopy,o=this.state.editing,l=n?a([],i(n)):[];if(t){var p=o?u.ICON_CHECK:u.ICON_EDIT;l.push(s.createElement(c.default,{key:"btn-edit",style:"subtle",color:"secondary",onClick:this.evtHandlers.toggleEditing},p))}return r&&l.push(s.createElement(c.default,{key:"btn-copy",style:"subtle",tooltip:"Copy to Clipboard",color:"primary",onClick:this.evtHandlers.copyToClipboard},u.ICON_CLIPBOARD)),l},t.prototype.toggleEditing=function(e){var t=this,n=this.state,r=n.editing,o=n.internalValue,i=this.props.value;r?this.setState({editing:!1},(function(){o!==i&&t.props.onSubmit(t.state.internalValue)})):this.setState({editing:!0},(function(){var e=t.inputRef.current;e&&e.focus()}))},t.prototype.componentDidUpdate=function(e){this.props.controlled&&e.value!==this.props.value&&this.setState({internalValue:this.props.value})},t.prototype.render=function(){var e=this,t=this.props,n=t.label,r=t.placeholder,o=t.controlled,i=t.disabled,a=t.readOnly,c=t.width,u=t.tooltip,p=t.info,f=t.labelPosition,d=this.state.editing,h=o&&!d||i;return s.createElement(l.default,{customClass:"text-area-field",label:n,tooltip:u,buttons:this.renderButtons(),info:p,labelPosition:f,width:c},s.createElement("textarea",{placeholder:r,value:this.getValue(),disabled:h,readOnly:a,ref:this.inputRef,onChange:function(t){return e.onChange(t)},onFocus:function(t){return e.focus(t)},onBlur:function(t){return e.blur(t)}}))},t}(s.PureComponent);t.default=p},function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(this,n(53))},function(e,t,n){var r=n(218),o=n(24);e.exports=function(e,t){return e&&r(e,t,o)}},function(e,t,n){var r=n(220),o=n(98),i=n(10),a=n(60),s=n(99),c=n(100),l=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=i(e),u=!n&&o(e),p=!n&&!u&&a(e),f=!n&&!u&&!p&&c(e),d=n||u||p||f,h=d?r(e.length,String):[],v=h.length;for(var g in e)!t&&!l.call(e,g)||d&&("length"==g||p&&("offset"==g||"parent"==g)||f&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||s(g,v))||h.push(g);return h}},function(e,t,n){var r=n(221),o=n(14),i=Object.prototype,a=i.hasOwnProperty,s=i.propertyIsEnumerable,c=r(function(){return arguments}())?r:function(e){return o(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=c},function(e,t){var n=/^(?:0|[1-9]\d*)$/;e.exports=function(e,t){var r=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==r||"symbol"!=r&&n.test(e))&&e>-1&&e%1==0&&e<t}},function(e,t,n){var r=n(223),o=n(63),i=n(64),a=i&&i.isTypedArray,s=a?o(a):r;e.exports=s},function(e,t){e.exports=function(e,t){return function(n){return e(t(n))}}},function(e,t,n){var r=n(16),o=n(19);e.exports=function(e){if(!o(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},function(e,t){e.exports=function(e){return e}},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}},function(e,t){var n=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return n.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},function(e,t,n){var r=n(258),o=n(14);e.exports=function e(t,n,i,a,s){return t===n||(null==t||null==n||!o(t)&&!o(n)?t!=t&&n!=n:r(t,n,i,a,e,s))}},function(e,t,n){var r=n(259),o=n(262),i=n(263);e.exports=function(e,t,n,a,s,c){var l=1&n,u=e.length,p=t.length;if(u!=p&&!(l&&p>u))return!1;var f=c.get(e),d=c.get(t);if(f&&d)return f==t&&d==e;var h=-1,v=!0,g=2&n?new r:void 0;for(c.set(e,t),c.set(t,e);++h<u;){var m=e[h],y=t[h];if(a)var b=l?a(y,m,h,t,e,c):a(m,y,h,e,t,c);if(void 0!==b){if(b)continue;v=!1;break}if(g){if(!o(t,(function(e,t){if(!i(g,t)&&(m===e||s(m,e,n,a,c)))return g.push(t)}))){v=!1;break}}else if(m!==y&&!s(m,y,n,a,c)){v=!1;break}}return c.delete(e),c.delete(t),v}},function(e,t,n){var r=n(12).Uint8Array;e.exports=r},function(e,t,n){var r=n(110),o=n(71),i=n(24);e.exports=function(e){return r(e,i,o)}},function(e,t,n){var r=n(111),o=n(10);e.exports=function(e,t,n){var i=t(e);return o(e)?i:r(i,n(e))}},function(e,t){e.exports=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}},function(e,t){e.exports=function(){return[]}},function(e,t,n){var r=n(19);e.exports=function(e){return e==e&&!r(e)}},function(e,t){e.exports=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}},function(e,t,n){var r=n(116),o=n(42);e.exports=function(e,t){for(var n=0,i=(t=r(t,e)).length;null!=e&&n<i;)e=e[o(t[n++])];return n&&n==i?e:void 0}},function(e,t,n){var r=n(10),o=n(72),i=n(276),a=n(279);e.exports=function(e,t){return r(e)?e:o(e,t)?[e]:i(a(e))}},function(e,t,n){var r=n(118),o=n(68),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var a=e[t];i.call(e,t)&&o(a,n)&&(void 0!==n||t in e)||r(e,t,n)}},function(e,t,n){var r=n(294);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},function(e,t,n){var r=n(111),o=n(66),i=n(71),a=n(112),s=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)r(t,i(e)),e=o(e);return t}:a;e.exports=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0);t.default=function(e){var t=e.progress?"scaleX("+e.progress/100+")":"scaleX(0)";return r.createElement("div",{className:"determinate-loader"},r.createElement("div",{className:"progress-bg",style:{transform:t}}),r.createElement("div",{className:"progress-copy"},Math.round(e.progress)+"%"))}},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),a=n(13),s=n(5),c=n(11),l=n(78),u=n(122),p=n(6),f=n(20),d=n(46),h=n(7),v=n(8),g=n(3),m=function(e){function t(t){var n=e.call(this,t)||this;return n.onFileDrop=function(e,t){var r=n.props,o=r.accepts,i=r.storyId,a=r.api;if(t){var s=t.getItem().files;p.mimetypeConformsToOverlay(o,s[0])&&(n.setState({assetUploading:!0}),n.props.uploadAssets(a,[s[0]],i,(function(e){n.setState({assetName:e.name,error:!1},(function(){n.setState({assetUploading:!1}),n.props.onChange(e)}))})))}},n.state={assetName:"",error:!1,assetUploading:!1},n}return o(t,e),t.prototype.componentDidMount=function(){var e=this.props,t=e.assetId;e.api;t&&!this.state.assetName&&this.loadAsset()},t.prototype.componentDidUpdate=function(e,t){var n=this.props.assetId;n&&n!==e.assetId?this.loadAsset():n||this.setState({error:!1,assetName:""})},t.prototype.loadAsset=function(){var e=this,t=this.props,n=t.assetId;t.api.getAssetItem(n).then((function(t){e.setState({error:!1,assetName:t.name})})).catch((function(t){e.setState({error:!0,assetName:"Cound not find asset: "+n})}))},t.prototype.setFilter=function(e){var t=this.props.accepts;this.props.updateFilters({type:t||"",page:1})},t.prototype.onAssetDrop=function(e,t){var n=this,r=e.rowData,o=e.rowData,i=o.name,s=(o.id,o.type),c=this.props.accepts;s===c?this.setState({assetName:i,error:!1},(function(){n.props.onChange(r)})):this.props.onError&&this.props.onError(a.assets.field.fieldMismatchError.replace("[accepts]",c))},t.prototype.clearAsset=function(e){var t=this;this.setState({assetName:"",error:!1},(function(){t.props.onChange(null)}))},t.prototype.render=function(){var e=this,t=this.props,n=t.assetId,r=t.label,o=t.width,p=t.tooltip,f=t.labelPosition,d=this.state,h=d.assetName,v=d.assetUploading,m=d.error?"error":"",y=n?"":a.assets.field.dragPrompt,b={width:o||"100%"},_=[];return _.push(i.createElement(s.default,{key:"btn-filter",onClick:function(t){return e.setFilter(t)},style:"subtle",tooltip:a.assets.field.tooltipFilter,color:"primary"},g.ICON_FILTER)),n&&!v&&_.unshift(i.createElement(s.default,{key:"btn-clear-asset",tooltip:a.assets.field.tooltipClear,onClick:function(t){return e.clearAsset(t)},style:"subtle"},g.ICON_TIMES)),i.createElement("div",{style:b,className:"asset-field "+m},i.createElement(l.default,{onDrop:function(t,n){return e.onFileDrop(t,n)},disable:v},i.createElement(u.default,{onDrop:function(t,n){return e.onAssetDrop(t,n)}},i.createElement(c.default,{readOnly:!0,label:r,tooltip:p,loading:v,placeholder:y,buttons:_,labelPosition:f,value:h}))))},t}(i.PureComponent);t.default=h.connect(null,(function(e){return v.bindActionCreators({updateFilters:f.updateFilters,uploadAssets:d.uploadAssets},e)}))(m)},function(e,t,n){"use strict";var r=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a};Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=n(55),a=n(326);t.default=function(e){var t=r(i.useDrop({accept:a.ASSET_DND_TYPES.ASSET_NAME,drop:e.onDrop,collect:function(e){return{isOver:e.isOver(),canDrop:e.canDrop()}}}),2),n=t[0],s=n.canDrop,c=n.isOver,l=t[1],u=s&&c?"1px solid royalblue":"";return o.createElement("div",{ref:l,className:"asset-target",style:{border:u}},e.children)}},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),a=n(27),s=n(21),c=function(e){function t(t){var n=e.call(this,t)||this;return n.state={imageHeight:1080,imageWidth:1920},n.imgNode=i.createRef(),n}return o(t,e),t.prototype.getImageStyle=function(){var e=this.state,t=e.imageHeight,n=e.imageWidth,r=this.props,o=r.padding,i=r.width,c=r.height,l=void 0!==o?o:a.DEFAULT_PADDING;return t&&n?s.getPlayerStyle(i,c,n,t,l,n,t):{}},t.prototype.metadataLoaded=function(e){this.setState({imageWidth:e.target.naturalWidth,imageHeight:e.target.naturalHeight})},t.prototype.render=function(){var e=this,t=this.props,n=t.url;return!1!==t.active?i.createElement("div",{className:"media-player"},i.createElement("div",{className:"inner-viewer",style:this.getImageStyle()},i.createElement("img",{onLoad:function(t){return e.metadataLoaded(t)},src:n,ref:this.imgNode}))):null},t}(i.PureComponent);t.default=c},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),a=n(343),s=n(13),c=function(e){function t(t){var n=e.call(this,t)||this;return n.state={loading:!0,log:""},n.ansi_up=new a.default,n.ansi_up.use_classes=!0,n}return o(t,e),t.prototype.getJobLogs=function(){var e=this,t=this.props,n=t.api,r=t.onError,o=t.jobId;n.getJobLogUrl(this.props.jobId).then((function(t){var i=t.signed_url;n.getJobLog(i).then((function(t){e.setState({loading:!1,log:t})})).catch((function(t){r&&r(s.previewer.logDownloadError.replace("[jobId]",o)),e.setState({loading:!1,log:""})}))})).catch((function(t){r&&r(s.previewer.logURLError.replace("[jobId]",e.props.jobId)),e.setState({loading:!1,log:""})}))},t.prototype.componentDidMount=function(){this.props.jobId&&this.getJobLogs()},t.prototype.componentDidUpdate=function(e){e.jobId!==this.props.jobId&&this.props.jobId&&this.getJobLogs()},t.prototype.render=function(){var e=this.ansi_up.ansi_to_html(this.state.log);return i.createElement("div",{className:"log-viewer"},i.createElement("div",{className:"log-html",dangerouslySetInnerHTML:{__html:e}}))},t}(i.PureComponent);t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BOOLEAN_DEFAULT_OPTIONS=t.VARIABLE_TYPES=void 0,t.VARIABLE_TYPES={TEXT:"text",NUMBER:"number",BOOLEAN:"boolean",ENUM:"enum",IMAGE:"image",VIDEO:"video",AUDIO:"audio"},t.BOOLEAN_DEFAULT_OPTIONS=[{value:!0,label:"True"},{value:!1,label:"False"}]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e){this.config=e}return e.prototype.stop=function(){this.running=!1,clearInterval(this.timeInterval)},e.prototype.start=function(){var e=this;this.running=!0,clearInterval(this.timeInterval),this.startTime=Date.now(),this.timeInterval=setInterval((function(){return e.updateTimeElapsed()}),this.config.interval)},e.prototype.updateTimeElapsed=function(){var e=Date.now()-this.startTime;this.config.onUpdate(e)},e}();t.default=r},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},a=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},s=this&&this.__spreadArray||function(e,t){for(var n=0,r=t.length,o=e.length;n<r;n++,o++)e[o]=t[n];return e};Object.defineProperty(t,"__esModule",{value:!0});var c=n(0),l=n(128),u=function(e){function t(t){var n=e.call(this,t)||this;return n.bgRef=c.createRef(),n}return o(t,e),t.prototype.renderLayers=function(){var e=this,t=this.props,n=t.composition.layers,r=t.inventory,o=t.selectedLayer,i=function(t){e.props.onSelectLayer(t)},s=[],u=[];return n?(n.map((function(t,n){var a,p=t.id&&t.id===o;u.push(new Promise((function(e,t){a=e,t}))),s.push(c.createElement(l.default,{onUpdate:function(t){return e.updateLayer(n,t)},onReady:a,onClick:i,selected:p,layer:t,inventory:r,key:t.id||n}))})),Promise.all(u).then((function(t){a(t,1)[0];e.props.onReady&&e.props.onReady()})),s):null},t.prototype.updateLayer=function(e,t){var n=i({},this.props.composition),r=s([],a(n.layers));r[e]=t,n.layers=r,this.props.onUpdate(n)},t.prototype.resetSelected=function(e){e.preventDefault(),e.stopPropagation();var t=this.bgRef.current;!t||e.target},t.prototype.render=function(){var e=this,t=this.props.composition,n=t.width,r=t.height,o=t.background_color,i={width:n+"px",height:r+"px"};return o&&(i.backgroundColor=o),c.createElement("div",{ref:this.bgRef,className:"static-composition-renderer",style:i,onClick:function(t){return e.resetSelected(t)}},this.renderLayers())},t}(c.PureComponent);t.default=u},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var a=n(0),s=n(350),c=n(56),l=n(80),u=function(e){function t(t){var n=e.call(this,t)||this;return n.layerRefMount=function(e){return n.onRefMount(e)},n.evtHandlers={onDrag:function(e){return n.handleDrag(e)},onResize:function(e){return n.handleResize(e)},onRotate:function(e){return n.handleRotate(e)},onClick:function(e){return n.layerClicked(e)},onShift:function(e){return n.onShift(e)},onLeft:function(e){return n.move(e,-1,0)},onRight:function(e){return n.move(e,1,0)},onUp:function(e){return n.move(e,0,-1)},onDown:function(e){return n.move(e,0,1)}},n.moveable=a.createRef(),n.state={lockRatio:!1},n}return o(t,e),t.prototype.move=function(e,t,n){if(this.props.selected){var r=e.shiftKey?10*t:t,o=e.shiftKey?10*n:n,a=i({},this.props.layer);a.x=a.x+r,a.y=a.y+o,this.props.onUpdate(a)}},t.prototype.onShift=function(e){if("Shift"===e.key&&16===e.keyCode&&this.props.selected){var t="keydown"===e.type;this.setState({lockRatio:t})}},t.prototype.componentDidUpdate=function(){var e=this.moveable.current;e&&e.updateRect()},t.prototype.componentDidMount=function(){c.default("*",{keyup:!0},this.evtHandlers.onShift),c.default("left, shift+left",this.evtHandlers.onLeft),c.default("right, shift+right",this.evtHandlers.onRight),c.default("up, shift+up",this.evtHandlers.onUp),c.default("down, shift+down",this.evtHandlers.onDown)},t.prototype.componentWillUnmount=function(){c.default.unbind("*",this.evtHandlers.onShift),c.default.unbind("left, shift+left",this.evtHandlers.onLeft),c.default.unbind("right, shift+right",this.evtHandlers.onRight),c.default.unbind("up, shift+up",this.evtHandlers.onUp),c.default.unbind("down, shift+down",this.evtHandlers.onDown)},t.prototype.handleDrag=function(e){var t=i({},this.props.layer);t.x=Math.round(e.left),t.y=Math.round(e.top),this.props.onUpdate(t)},t.prototype.handleResize=function(e){var t=e.drag.beforeDelta,n=e.width,r=e.height,o=i({},this.props.layer);o.width=Math.round(n),o.height=Math.round(r),o.x=Math.round(o.x+t[0]),o.y=Math.round(o.y+t[1]),this.props.onUpdate(o)},t.prototype.handleRotate=function(e){var t=i({},this.props.layer);t.rotation=Math.round(e.beforeDelta+t.rotation),this.props.onUpdate(t)},t.prototype.layerClicked=function(e){e.preventDefault(),e.stopPropagation(),this.props.onClick(this.props.layer.id)},t.prototype.onRefMount=function(e){this.layerRef=e,this.forceUpdate()},t.prototype.renderLayerContent=function(){var e=this.props,t=e.layer,n=e.inventory;return a.createElement(l.default,{onReady:this.props.onReady,inventory:n,options:t})},t.prototype.render=function(){var e=this.props,t=e.selected,n=e.layer,r=this.state.lockRatio,o="comp-layer-"+n.id,i={top:n.y+"px",left:n.x+"px",width:n.width+"px",height:n.height+"px",transform:"rotate("+n.rotation+"deg)"},c=t?a.createElement(s.default,{ref:this.moveable,target:document.querySelector("."+o),onDrag:this.evtHandlers.onDrag,onDragEnd:this.evtHandlers.onDragEnd,onResize:this.evtHandlers.onResize,onResizeEnd:this.evtHandlers.onResizeEnd,onRotate:this.evtHandlers.onRotate,onRotateEnd:this.evtHandlers.onRotateEnd,keepRatio:r,resizable:!0,rotatable:!0,origin:!1,draggable:!0}):null;return a.createElement(a.Fragment,null,c,a.createElement("div",{ref:this.layerRefMount,className:"composition-renderer-layer "+o,onClick:this.evtHandlers.onClick,style:i},this.renderLayerContent()))},t}(a.PureComponent);t.default=u},function(e,t,n){"use strict";t.a=function(){return!1}},function(e,t,n){"use strict";(function(e){var r=n(4),o="object"==typeof exports&&exports&&!exports.nodeType&&exports,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===o?r.a.Buffer:void 0,s=a?a.allocUnsafe:void 0;t.a=function(e,t){if(t)return e.slice();var n=e.length,r=s?s(n):new e.constructor(n);return e.copy(r),r}}).call(this,n(76)(e))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(0),a=(r=i)&&r.__esModule?r:{default:r};t.default=function(e){var t=e.fill,n=void 0===t?"currentColor":t,r=e.width,i=void 0===r?24:r,s=e.height,c=void 0===s?24:s,l=e.style,u=void 0===l?{}:l,p=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["fill","width","height","style"]);return a.default.createElement("svg",o({viewBox:"0 0 24 24",style:o({fill:n,width:i,height:c},u)},p),a.default.createElement("path",{d:"M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z"}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(0),a=(r=i)&&r.__esModule?r:{default:r};t.default=function(e){var t=e.fill,n=void 0===t?"currentColor":t,r=e.width,i=void 0===r?24:r,s=e.height,c=void 0===s?24:s,l=e.style,u=void 0===l?{}:l,p=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["fill","width","height","style"]);return a.default.createElement("svg",o({viewBox:"0 0 24 24",style:o({fill:n,width:i,height:c},u)},p),a.default.createElement("path",{d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AssetsTableDurationCell=t.AssetsTableNameCell=t.AssetsTableNameFilter=t.AssetsTableStatusCell=t.AssetsTableTypeCell=t.AssetsTableTypeFilter=t.AssetsTableSelectCell=t.AssetsTableSelectFilter=t.AssetsTableDropzone=t.AssetsTableDateCell=t.AssetsTypeIcon=t.ImageSequencePlayer=t.AudioPlayer=t.VideoPlayer=t.ImagePlayer=t.AssetDetails=t.Portal=t.ShortcutMenu=t.StoryPreviewer=t.LogViewer=t.ServiceIcon=t.NoAccess=t.Spinner=t.DeterminateLoader=t.Section=t.SliderField=t.TextAreaField=t.TextField=t.Tag=t.Tabs=t.ColorField=t.SelectField=t.NumberField=t.Modal=t.ListField=t.HRule=t.FieldWrapper=t.DataTablePaginator=t.DataTable=t.ControlledList=t.CheckboxField=t.Card=t.ButtonMenuItem=t.ButtonMenu=t.ButtonGroupField=t.Button=t.ImposiumDropdown=t.ImposiumHeader=t.AuthGate=t.AppWrapper=void 0,t.getFirstStoryInOrg=t.validateAccessLevel=t.Timer=t.StorageService=t.LegacyAPI=t.API=t.SessionService=t.AuthService=t.assetActions=t.assetTags=t.addAssetTagToList=t.getAssetTagList=t.selectedAssets=t.assetUploads=t.assetList=t.assetFilters=t.resetSelection=t.deselectAsset=t.selectAsset=t.uploadAssets=t.toggleAutoTag=t.doAssetTableHydration=t.updateAssetData=t.updateAssetName=t.deleteAssetTag=t.addAssetTag=t.deleteAssets=t.getAssets=t.updateFilters=t.storyDeleted=t.orgNameMutated=t.storyNameMutated=t.storyAdded=t.clearCachedAccessList=t.cacheAccessData=t.access=t.clearCachedAuth=t.login=t.auth=t.StaticCompositionRenderer=t.StaticCompositionEditor=t.PreviewNotAvailable=t.DroppableAssetRenderer=t.FontAssetPreview=t.AssetsUploadMenu=t.AssetField=t.AssetsTableComplexTagCell=t.AssetsTableTagsPivot=t.AssetsTableTagsFilter=t.AssetsTableTagsCell=void 0,t.ASSET_TYPES=t.CompositionRendererLayer=t.TextLayer=t.formatDateDefault=t.padStart=t.toFixed=t.validateAssetMimetype=t.mimetypeConformsToOverlay=t.filterHotkeys=t.formattedTime=t.fitToContainer=t.scrapeEmail=t.parameterizeServiceUrl=t.string2HexCode=void 0;var r=n(134);t.AppWrapper=r.default;var o=n(195);t.AuthGate=o.default;var i=n(84);t.ImposiumHeader=i.default;var a=n(51);t.ImposiumDropdown=a.default;var s=n(5);t.Button=s.default;var c=n(89);t.ButtonMenu=c.default;var l=n(90);t.ButtonMenuItem=l.default;var u=n(91);t.Card=u.default;var p=n(92);t.ControlledList=p.default;var f=n(203);t.DataTable=f.default;var d=n(208);t.DataTablePaginator=d.default;var h=n(209);t.Modal=h.default;var v=n(210);t.Tabs=v.default;var g=n(9);t.FieldWrapper=g.default;var m=n(22);t.CheckboxField=m.default;var y=n(211);t.ListField=y.default;var b=n(57);t.ButtonGroupField=b.default;var _=n(35);t.NumberField=_.default;var w=n(34);t.SelectField=w.default;var x=n(11);t.TextField=x.default;var E=n(94);t.TextAreaField=E.default;var O=n(213);t.SliderField=O.default;var C=n(58);t.ColorField=C.default;var T=n(44);t.Tag=T.default;var A=n(45);t.HRule=A.default;var S=n(322);t.Section=S.default;var P=n(33);t.Spinner=P.default;var k=n(82);t.NoAccess=k.default;var j=n(85);t.ServiceIcon=j.default;var I=n(120);t.DeterminateLoader=I.default;var N=n(323);t.AssetsTableDateCell=N.default;var R=n(324);t.AssetsTableDurationCell=R.default;var D=n(121);t.AssetField=D.default;var L=n(78);t.AssetsTableDropzone=L.default;var M=n(327);t.AssetsTableNameCell=M.default;var F=n(328);t.AssetsTableNameFilter=F.default;var H=n(329);t.AssetsTableSelectCell=H.default;var U=n(330);t.AssetsTableSelectFilter=U.default;var z=n(331);t.AssetsTableTagsCell=z.default;var B=n(332);t.AssetsTableTagsFilter=B.default;var V=n(333);t.AssetsTableTagsPivot=V.default;var q=n(334);t.AssetsTableComplexTagCell=q.default;var G=n(335);t.AssetsTableTypeCell=G.default;var W=n(336);t.AssetsTableStatusCell=W.default;var Y=n(337);t.AssetsTableTypeFilter=Y.default;var X=n(79);t.AssetsTypeIcon=X.default;var $=n(338);t.FontAssetPreview=$.default;var J=n(339);t.AssetsUploadMenu=J.default;var K=n(340);Object.defineProperty(t,"PreviewNotAvailable",{enumerable:!0,get:function(){return K.PreviewNotAvailable}});var Q=n(122);t.DroppableAssetRenderer=Q.default;var Z=n(123);t.ImagePlayer=Z.default;var ee=n(21);t.VideoPlayer=ee.default;var te=n(341);t.AudioPlayer=te.default;var ne=n(342);t.ImageSequencePlayer=ne.default;var re=n(124);t.LogViewer=re.default;var oe=n(344);t.StoryPreviewer=oe.default;var ie=n(347);t.StaticCompositionEditor=ie.default;var ae=n(127);t.StaticCompositionRenderer=ae.default;var se=n(351);t.ShortcutMenu=se.default;var ce=n(80);t.TextLayer=ce.default;var le=n(26);Object.defineProperty(t,"ASSET_TYPES",{enumerable:!0,get:function(){return le.ASSET_TYPES}});var ue=n(352);t.Portal=ue.default;var pe=n(353);t.AssetDetails=pe.default;var fe=n(354);t.auth=fe.default;var de=n(31);Object.defineProperty(t,"login",{enumerable:!0,get:function(){return de.login}}),Object.defineProperty(t,"clearCachedAuth",{enumerable:!0,get:function(){return de.clearCachedAuth}});var he=n(355);t.access=he.default;var ve=n(32);Object.defineProperty(t,"cacheAccessData",{enumerable:!0,get:function(){return ve.cacheAccessData}}),Object.defineProperty(t,"clearCachedAccessList",{enumerable:!0,get:function(){return ve.clearCachedAccessList}}),Object.defineProperty(t,"storyAdded",{enumerable:!0,get:function(){return ve.storyAdded}}),Object.defineProperty(t,"storyNameMutated",{enumerable:!0,get:function(){return ve.storyNameMutated}}),Object.defineProperty(t,"orgNameMutated",{enumerable:!0,get:function(){return ve.orgNameMutated}}),Object.defineProperty(t,"storyDeleted",{enumerable:!0,get:function(){return ve.storyDeleted}});var ge=n(20);Object.defineProperty(t,"updateFilters",{enumerable:!0,get:function(){return ge.updateFilters}});var me=n(15);Object.defineProperty(t,"getAssets",{enumerable:!0,get:function(){return me.getAssets}}),Object.defineProperty(t,"deleteAssets",{enumerable:!0,get:function(){return me.deleteAssets}}),Object.defineProperty(t,"addAssetTag",{enumerable:!0,get:function(){return me.addAssetTag}}),Object.defineProperty(t,"deleteAssetTag",{enumerable:!0,get:function(){return me.deleteAssetTag}}),Object.defineProperty(t,"updateAssetName",{enumerable:!0,get:function(){return me.updateAssetName}}),Object.defineProperty(t,"updateAssetData",{enumerable:!0,get:function(){return me.updateAssetData}}),Object.defineProperty(t,"doAssetTableHydration",{enumerable:!0,get:function(){return me.doAssetTableHydration}});var ye=n(77);Object.defineProperty(t,"getAssetTagList",{enumerable:!0,get:function(){return ye.getAssetTagList}}),Object.defineProperty(t,"addAssetTagToList",{enumerable:!0,get:function(){return ye.addAssetTagToList}});var be=n(46);Object.defineProperty(t,"toggleAutoTag",{enumerable:!0,get:function(){return be.toggleAutoTag}}),Object.defineProperty(t,"uploadAssets",{enumerable:!0,get:function(){return be.uploadAssets}});var _e=n(25);Object.defineProperty(t,"selectAsset",{enumerable:!0,get:function(){return _e.selectAsset}}),Object.defineProperty(t,"deselectAsset",{enumerable:!0,get:function(){return _e.deselectAsset}}),Object.defineProperty(t,"resetSelection",{enumerable:!0,get:function(){return _e.resetSelection}});var we=n(356);t.assetFilters=we.default;var xe=n(357);t.assetList=xe.default;var Ee=n(358);t.assetTags=Ee.default;var Oe=n(359);t.assetUploads=Oe.default;var Ce=n(360);t.selectedAssets=Ce.default;var Te=n(15);t.assetActions=Te.default;var Ae=n(30);t.AuthService=Ae.default;var Se=n(29);t.SessionService=Se.default;var Pe=n(361);t.API=Pe.default;var ke=n(363);t.LegacyAPI=ke.default;var je=n(364);t.StorageService=je.default;var Ie=n(126);t.Timer=Ie.default;var Ne=n(6);Object.defineProperty(t,"getFirstStoryInOrg",{enumerable:!0,get:function(){return Ne.getFirstStoryInOrg}}),Object.defineProperty(t,"string2HexCode",{enumerable:!0,get:function(){return Ne.string2HexCode}}),Object.defineProperty(t,"toFixed",{enumerable:!0,get:function(){return Ne.toFixed}}),Object.defineProperty(t,"padStart",{enumerable:!0,get:function(){return Ne.padStart}}),Object.defineProperty(t,"parameterizeServiceUrl",{enumerable:!0,get:function(){return Ne.parameterizeServiceUrl}}),Object.defineProperty(t,"scrapeEmail",{enumerable:!0,get:function(){return Ne.scrapeEmail}}),Object.defineProperty(t,"fitToContainer",{enumerable:!0,get:function(){return Ne.fitToContainer}}),Object.defineProperty(t,"filterHotkeys",{enumerable:!0,get:function(){return Ne.filterHotkeys}}),Object.defineProperty(t,"mimetypeConformsToOverlay",{enumerable:!0,get:function(){return Ne.mimetypeConformsToOverlay}}),Object.defineProperty(t,"validateAssetMimetype",{enumerable:!0,get:function(){return Ne.validateAssetMimetype}}),Object.defineProperty(t,"formatDateDefault",{enumerable:!0,get:function(){return Ne.formatDateDefault}}),Object.defineProperty(t,"validateAccessLevel",{enumerable:!0,get:function(){return Ne.validateAccessLevel}}),Object.defineProperty(t,"formattedTime",{enumerable:!0,get:function(){return Ne.formattedTime}});var Re=n(128);t.CompositionRendererLayer=Re.default},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),a=n(82),s=n(84),c=n(29),l=n(30),u=n(7),p=n(8),f=n(31),d=n(32),h=n(6),v=function(e){function t(n){var r=e.call(this,n)||this;return r.componentDidMount=function(){var e=r.props,t=e.auth,n=e.access,o=e.auth0ClientId,i=e.isFreshUser,a=c.default.getSession();l.default.bindToClient(o),i||null===t||null===n||"object"!=typeof a||"string"!=typeof a.sub||a.sub!==t.idTokenPayload.sub||a.stories_hash!==c.default.generateStoriesHash(n)||a.orgs_hash!==c.default.generateOrgsHash(n)?r.doCheckSession(!0):r.propagateCreds()},r.componentDidUpdate=function(e,t){var n,o=r.props.auth;if(o){var i=o.idTokenPayload.exp;l.default.checkExpiry(i)||(r.props.clearCachedAuth(),r.props.clearCachedAccessList(),r.doCheckSession())}r.props.organizationId!==e.organizationId&&(n=h.validateAccessLevel(r.props.organizationId,r.props.serviceId,r.props.access),r.state.restrictAccess||n||r.setState({restrictAccess:!0}),r.state.restrictAccess&&n&&r.setState({restrictAccess:!1}))},r.propagateCreds=function(){var e,t=r.props,n=t.auth,o=t.access,i=t.storyId,a=t.onAuthenticated,s=r.determineActiveOrganization(n,o),l=c.default.getSession().story_id;r.props.storyId&&(e=o.organizations.find((function(e){return e.id===s})))&&e.stories.find((function(e){return e.id===i}))&&(l=i),a(s,l),r.state.blockRender&&r.setState({blockRender:!1})},r.handleCheckSessionFailure=function(e){r.props.clearCachedAuth(),r.props.clearCachedAccessList(),r.props.onAuthenticationFailure(e)},r.doCheckSession=function(e){void 0===e&&(e=!1);r.props.onAuthenticationFailure;e&&r.setState({blockRender:!0}),l.default.checkSession().then((function(e){c.default.getAccessData(e.idToken).then((function(t){r.props.login(e),r.props.cacheAccessData(t),c.default.buildFreshSession(e,t),r.propagateCreds()})).catch((function(e){console.error(e),r.handleCheckSessionFailure(e)}))})).catch((function(e){console.error(e),r.handleCheckSessionFailure(e)}))},r.determineActiveOrganization=function(e,t){var n=r.props.serviceId,o=t.organizations,i=c.default.getSession(),a=o.map((function(e){return e.id})),s=r.determineActiveOrganizationIn(e,i,a),l=o.find((function(e){return e.id===s}));return l&&!l.services.includes(n)&&r.setState({restrictAccess:!0}),s},r.setActiveOrganization=function(e,t,n){if(!n||!n.organization_id||n.organization_id!==e){var o=r.props.access.organizations.find((function(t){return t.id===e})),i="object"==typeof o.stories[0]?o.stories[0].id:"";c.default.updateSession({organization_id:e,story_id:i},t)}return e},r.render=function(){var e,n=r.state,o=n.blockRender,a=n.restrictAccess,c=r.props,l=c.children,u=c.showRequestAccess,p=c.allowUnauthenticatedRender;return!o&&a&&(e=["object"==typeof l[0]&&l[0].type===s.default&&l[0],u?t.RESTRICTED_REQUEST:t.RESTRICTED_BLOCK]),(!o&&!a||p)&&(e=l),i.createElement("div",{id:"app",className:"app"},e)},r.state={blockRender:!0,restrictAccess:!1},r}return o(t,e),t.prototype.determineActiveOrganizationIn=function(e,t,n){var r=this.props.organizationId,o=e.idTokenPayload.exp;return n.length>0?r&&n.indexOf(r)>-1?this.setActiveOrganization(r,o,t):t&&t.organization_id&&n.indexOf(t.organization_id)>-1?t.organization_id:this.setActiveOrganization(n[0],o,t):""},t.RESTRICTED_REQUEST=i.createElement(a.default,{key:"restriction-msg",type:"request"}),t.RESTRICTED_BLOCK=i.createElement(a.default,{key:"restriction-msg",type:"restrict"}),t}(i.Component);t.default=u.connect((function(e){return{auth:e.auth,access:e.access}}),(function(e){return p.bindActionCreators({login:f.login,clearCachedAuth:f.clearCachedAuth,cacheAccessData:d.cacheAccessData,clearCachedAccessList:d.clearCachedAccessList},e)}))(v)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zM243.8 381.4c0 43.6-25.6 63.5-62.9 63.5-33.7 0-53.2-17.4-63.2-38.5l34.3-20.7c6.6 11.7 12.6 21.6 27.1 21.6 13.8 0 22.6-5.4 22.6-26.5V237.7h42.1v143.7zm99.6 63.5c-39.1 0-64.4-18.6-76.7-43l34.3-19.8c9 14.7 20.8 25.6 41.5 25.6 17.4 0 28.6-8.7 28.6-20.8 0-14.4-11.4-19.5-30.7-28l-10.5-4.5c-30.4-12.9-50.5-29.2-50.5-63.5 0-31.6 24.1-55.6 61.6-55.6 26.8 0 46 9.3 59.8 33.7L368 290c-7.2-12.9-15-18-27.1-18-12.3 0-20.1 7.8-20.1 18 0 12.6 7.8 17.7 25.9 25.6l10.5 4.5c35.8 15.3 55.9 31 55.9 66.2 0 37.8-29.8 58.6-69.7 58.6z";t.definition={prefix:"fab",iconName:"js-square",icon:[448,512,r,"f3b9",o]},t.faJsSquare=t.definition,t.prefix="fab",t.iconName="js-square",t.width=448,t.height=512,t.ligatures=r,t.unicode="f3b9",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M488 64h-8v20c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12V64H96v20c0 6.6-5.4 12-12 12H44c-6.6 0-12-5.4-12-12V64h-8C10.7 64 0 74.7 0 88v336c0 13.3 10.7 24 24 24h8v-20c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v20h320v-20c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v20h8c13.3 0 24-10.7 24-24V88c0-13.3-10.7-24-24-24zM96 372c0 6.6-5.4 12-12 12H44c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40zm0-96c0 6.6-5.4 12-12 12H44c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40zm0-96c0 6.6-5.4 12-12 12H44c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40zm272 208c0 6.6-5.4 12-12 12H156c-6.6 0-12-5.4-12-12v-96c0-6.6 5.4-12 12-12h200c6.6 0 12 5.4 12 12v96zm0-168c0 6.6-5.4 12-12 12H156c-6.6 0-12-5.4-12-12v-96c0-6.6 5.4-12 12-12h200c6.6 0 12 5.4 12 12v96zm112 152c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40zm0-96c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40zm0-96c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40z";t.definition={prefix:"fas",iconName:"film",icon:[512,512,r,"f008",o]},t.faFilm=t.definition,t.prefix="fas",t.iconName="film",t.width=512,t.height=512,t.ligatures=r,t.unicode="f008",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M504.971 199.362l-22.627-22.627c-9.373-9.373-24.569-9.373-33.941 0l-5.657 5.657L329.608 69.255l5.657-5.657c9.373-9.373 9.373-24.569 0-33.941L312.638 7.029c-9.373-9.373-24.569-9.373-33.941 0L154.246 131.48c-9.373 9.373-9.373 24.569 0 33.941l22.627 22.627c9.373 9.373 24.569 9.373 33.941 0l5.657-5.657 39.598 39.598-81.04 81.04-5.657-5.657c-12.497-12.497-32.758-12.497-45.255 0L9.373 412.118c-12.497 12.497-12.497 32.758 0 45.255l45.255 45.255c12.497 12.497 32.758 12.497 45.255 0l114.745-114.745c12.497-12.497 12.497-32.758 0-45.255l-5.657-5.657 81.04-81.04 39.598 39.598-5.657 5.657c-9.373 9.373-9.373 24.569 0 33.941l22.627 22.627c9.373 9.373 24.569 9.373 33.941 0l124.451-124.451c9.372-9.372 9.372-24.568 0-33.941z";t.definition={prefix:"fas",iconName:"gavel",icon:[512,512,r,"f0e3",o]},t.faGavel=t.definition,t.prefix="fas",t.iconName="gavel",t.width=512,t.height=512,t.ligatures=r,t.unicode="f0e3",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M448 73.143v45.714C448 159.143 347.667 192 224 192S0 159.143 0 118.857V73.143C0 32.857 100.333 0 224 0s224 32.857 224 73.143zM448 176v102.857C448 319.143 347.667 352 224 352S0 319.143 0 278.857V176c48.125 33.143 136.208 48.572 224 48.572S399.874 209.143 448 176zm0 160v102.857C448 479.143 347.667 512 224 512S0 479.143 0 438.857V336c48.125 33.143 136.208 48.572 224 48.572S399.874 369.143 448 336z";t.definition={prefix:"fas",iconName:"database",icon:[448,512,r,"f1c0",o]},t.faDatabase=t.definition,t.prefix="fas",t.iconName="database",t.width=448,t.height=512,t.ligatures=r,t.unicode="f1c0",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M332.8 320h38.4c6.4 0 12.8-6.4 12.8-12.8V172.8c0-6.4-6.4-12.8-12.8-12.8h-38.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h38.4c6.4 0 12.8-6.4 12.8-12.8V76.8c0-6.4-6.4-12.8-12.8-12.8h-38.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-288 0h38.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-38.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h38.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-38.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zM496 384H64V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-32c0-8.84-7.16-16-16-16z";t.definition={prefix:"fas",iconName:"chart-bar",icon:[512,512,r,"f080",o]},t.faChartBar=t.definition,t.prefix="fas",t.iconName="chart-bar",t.width=512,t.height=512,t.ligatures=r,t.unicode="f080",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M610.5 341.3c2.6-14.1 2.6-28.5 0-42.6l25.8-14.9c3-1.7 4.3-5.2 3.3-8.5-6.7-21.6-18.2-41.2-33.2-57.4-2.3-2.5-6-3.1-9-1.4l-25.8 14.9c-10.9-9.3-23.4-16.5-36.9-21.3v-29.8c0-3.4-2.4-6.4-5.7-7.1-22.3-5-45-4.8-66.2 0-3.3.7-5.7 3.7-5.7 7.1v29.8c-13.5 4.8-26 12-36.9 21.3l-25.8-14.9c-2.9-1.7-6.7-1.1-9 1.4-15 16.2-26.5 35.8-33.2 57.4-1 3.3.4 6.8 3.3 8.5l25.8 14.9c-2.6 14.1-2.6 28.5 0 42.6l-25.8 14.9c-3 1.7-4.3 5.2-3.3 8.5 6.7 21.6 18.2 41.1 33.2 57.4 2.3 2.5 6 3.1 9 1.4l25.8-14.9c10.9 9.3 23.4 16.5 36.9 21.3v29.8c0 3.4 2.4 6.4 5.7 7.1 22.3 5 45 4.8 66.2 0 3.3-.7 5.7-3.7 5.7-7.1v-29.8c13.5-4.8 26-12 36.9-21.3l25.8 14.9c2.9 1.7 6.7 1.1 9-1.4 15-16.2 26.5-35.8 33.2-57.4 1-3.3-.4-6.8-3.3-8.5l-25.8-14.9zM496 368.5c-26.8 0-48.5-21.8-48.5-48.5s21.8-48.5 48.5-48.5 48.5 21.8 48.5 48.5-21.7 48.5-48.5 48.5zM96 224c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm224 32c1.9 0 3.7-.5 5.6-.6 8.3-21.7 20.5-42.1 36.3-59.2 7.4-8 17.9-12.6 28.9-12.6 6.9 0 13.7 1.8 19.6 5.3l7.9 4.6c.8-.5 1.6-.9 2.4-1.4 7-14.6 11.2-30.8 11.2-48 0-61.9-50.1-112-112-112S208 82.1 208 144c0 61.9 50.1 112 112 112zm105.2 194.5c-2.3-1.2-4.6-2.6-6.8-3.9-8.2 4.8-15.3 9.8-27.5 9.8-10.9 0-21.4-4.6-28.9-12.6-18.3-19.8-32.3-43.9-40.2-69.6-10.7-34.5 24.9-49.7 25.8-50.3-.1-2.6-.1-5.2 0-7.8l-7.9-4.6c-3.8-2.2-7-5-9.8-8.1-3.3.2-6.5.6-9.8.6-24.6 0-47.6-6-68.5-16h-8.3C179.6 288 128 339.6 128 403.2V432c0 26.5 21.5 48 48 48h255.4c-3.7-6-6.2-12.8-6.2-20.3v-9.2zM173.1 274.6C161.5 263.1 145.6 256 128 256H64c-35.3 0-64 28.7-64 64v32c0 17.7 14.3 32 32 32h65.9c6.3-47.4 34.9-87.3 75.2-109.4z";t.definition={prefix:"fas",iconName:"users-cog",icon:[640,512,r,"f509",o]},t.faUsersCog=t.definition,t.prefix="fas",t.iconName="users-cog",t.width=640,t.height=512,t.ligatures=r,t.unicode="f509",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M512.1 191l-8.2 14.3c-3 5.3-9.4 7.5-15.1 5.4-11.8-4.4-22.6-10.7-32.1-18.6-4.6-3.8-5.8-10.5-2.8-15.7l8.2-14.3c-6.9-8-12.3-17.3-15.9-27.4h-16.5c-6 0-11.2-4.3-12.2-10.3-2-12-2.1-24.6 0-37.1 1-6 6.2-10.4 12.2-10.4h16.5c3.6-10.1 9-19.4 15.9-27.4l-8.2-14.3c-3-5.2-1.9-11.9 2.8-15.7 9.5-7.9 20.4-14.2 32.1-18.6 5.7-2.1 12.1.1 15.1 5.4l8.2 14.3c10.5-1.9 21.2-1.9 31.7 0L552 6.3c3-5.3 9.4-7.5 15.1-5.4 11.8 4.4 22.6 10.7 32.1 18.6 4.6 3.8 5.8 10.5 2.8 15.7l-8.2 14.3c6.9 8 12.3 17.3 15.9 27.4h16.5c6 0 11.2 4.3 12.2 10.3 2 12 2.1 24.6 0 37.1-1 6-6.2 10.4-12.2 10.4h-16.5c-3.6 10.1-9 19.4-15.9 27.4l8.2 14.3c3 5.2 1.9 11.9-2.8 15.7-9.5 7.9-20.4 14.2-32.1 18.6-5.7 2.1-12.1-.1-15.1-5.4l-8.2-14.3c-10.4 1.9-21.2 1.9-31.7 0zm-10.5-58.8c38.5 29.6 82.4-14.3 52.8-52.8-38.5-29.7-82.4 14.3-52.8 52.8zM386.3 286.1l33.7 16.8c10.1 5.8 14.5 18.1 10.5 29.1-8.9 24.2-26.4 46.4-42.6 65.8-7.4 8.9-20.2 11.1-30.3 5.3l-29.1-16.8c-16 13.7-34.6 24.6-54.9 31.7v33.6c0 11.6-8.3 21.6-19.7 23.6-24.6 4.2-50.4 4.4-75.9 0-11.5-2-20-11.9-20-23.6V418c-20.3-7.2-38.9-18-54.9-31.7L74 403c-10 5.8-22.9 3.6-30.3-5.3-16.2-19.4-33.3-41.6-42.2-65.7-4-10.9.4-23.2 10.5-29.1l33.3-16.8c-3.9-20.9-3.9-42.4 0-63.4L12 205.8c-10.1-5.8-14.6-18.1-10.5-29 8.9-24.2 26-46.4 42.2-65.8 7.4-8.9 20.2-11.1 30.3-5.3l29.1 16.8c16-13.7 34.6-24.6 54.9-31.7V57.1c0-11.5 8.2-21.5 19.6-23.5 24.6-4.2 50.5-4.4 76-.1 11.5 2 20 11.9 20 23.6v33.6c20.3 7.2 38.9 18 54.9 31.7l29.1-16.8c10-5.8 22.9-3.6 30.3 5.3 16.2 19.4 33.2 41.6 42.1 65.8 4 10.9.1 23.2-10 29.1l-33.7 16.8c3.9 21 3.9 42.5 0 63.5zm-117.6 21.1c59.2-77-28.7-164.9-105.7-105.7-59.2 77 28.7 164.9 105.7 105.7zm243.4 182.7l-8.2 14.3c-3 5.3-9.4 7.5-15.1 5.4-11.8-4.4-22.6-10.7-32.1-18.6-4.6-3.8-5.8-10.5-2.8-15.7l8.2-14.3c-6.9-8-12.3-17.3-15.9-27.4h-16.5c-6 0-11.2-4.3-12.2-10.3-2-12-2.1-24.6 0-37.1 1-6 6.2-10.4 12.2-10.4h16.5c3.6-10.1 9-19.4 15.9-27.4l-8.2-14.3c-3-5.2-1.9-11.9 2.8-15.7 9.5-7.9 20.4-14.2 32.1-18.6 5.7-2.1 12.1.1 15.1 5.4l8.2 14.3c10.5-1.9 21.2-1.9 31.7 0l8.2-14.3c3-5.3 9.4-7.5 15.1-5.4 11.8 4.4 22.6 10.7 32.1 18.6 4.6 3.8 5.8 10.5 2.8 15.7l-8.2 14.3c6.9 8 12.3 17.3 15.9 27.4h16.5c6 0 11.2 4.3 12.2 10.3 2 12 2.1 24.6 0 37.1-1 6-6.2 10.4-12.2 10.4h-16.5c-3.6 10.1-9 19.4-15.9 27.4l8.2 14.3c3 5.2 1.9 11.9-2.8 15.7-9.5 7.9-20.4 14.2-32.1 18.6-5.7 2.1-12.1-.1-15.1-5.4l-8.2-14.3c-10.4 1.9-21.2 1.9-31.7 0zM501.6 431c38.5 29.6 82.4-14.3 52.8-52.8-38.5-29.6-82.4 14.3-52.8 52.8z";t.definition={prefix:"fas",iconName:"cogs",icon:[640,512,r,"f085",o]},t.faCogs=t.definition,t.prefix="fas",t.iconName="cogs",t.width=640,t.height=512,t.ligatures=r,t.unicode="f085",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm115.7 272l-176 101c-15.8 8.8-35.7-2.5-35.7-21V152c0-18.4 19.8-29.8 35.7-21l176 107c16.4 9.2 16.4 32.9 0 42z";t.definition={prefix:"fas",iconName:"play-circle",icon:[512,512,r,"f144",o]},t.faPlayCircle=t.definition,t.prefix="fas",t.iconName="play-circle",t.width=512,t.height=512,t.ligatures=r,t.unicode="f144",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M128 352H32c-17.67 0-32 14.33-32 32v96c0 17.67 14.33 32 32 32h96c17.67 0 32-14.33 32-32v-96c0-17.67-14.33-32-32-32zm-24-80h192v48h48v-48h192v48h48v-57.59c0-21.17-17.23-38.41-38.41-38.41H344v-64h40c17.67 0 32-14.33 32-32V32c0-17.67-14.33-32-32-32H256c-17.67 0-32 14.33-32 32v96c0 17.67 14.33 32 32 32h40v64H94.41C73.23 224 56 241.23 56 262.41V320h48v-48zm264 80h-96c-17.67 0-32 14.33-32 32v96c0 17.67 14.33 32 32 32h96c17.67 0 32-14.33 32-32v-96c0-17.67-14.33-32-32-32zm240 0h-96c-17.67 0-32 14.33-32 32v96c0 17.67 14.33 32 32 32h96c17.67 0 32-14.33 32-32v-96c0-17.67-14.33-32-32-32z";t.definition={prefix:"fas",iconName:"sitemap",icon:[640,512,r,"f0e8",o]},t.faSitemap=t.definition,t.prefix="fas",t.iconName="sitemap",t.width=640,t.height=512,t.ligatures=r,t.unicode="f0e8",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M500 384c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12H12c-6.6 0-12-5.4-12-12V76c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v308h436zM372.7 159.5L288 216l-85.3-113.7c-5.1-6.8-15.5-6.3-19.9 1L96 248v104h384l-89.9-187.8c-3.2-6.5-11.4-8.7-17.4-4.7z";t.definition={prefix:"fas",iconName:"chart-area",icon:[512,512,r,"f1fe",o]},t.faChartArea=t.definition,t.prefix="fas",t.iconName="chart-area",t.width=512,t.height=512,t.ligatures=r,t.unicode="f1fe",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M224 136V0H24C10.7 0 0 10.7 0 24v464c0 13.3 10.7 24 24 24h336c13.3 0 24-10.7 24-24V160H248c-13.2 0-24-10.8-24-24zm64 236c0 6.6-5.4 12-12 12H108c-6.6 0-12-5.4-12-12v-8c0-6.6 5.4-12 12-12h168c6.6 0 12 5.4 12 12v8zm0-64c0 6.6-5.4 12-12 12H108c-6.6 0-12-5.4-12-12v-8c0-6.6 5.4-12 12-12h168c6.6 0 12 5.4 12 12v8zm0-72v8c0 6.6-5.4 12-12 12H108c-6.6 0-12-5.4-12-12v-8c0-6.6 5.4-12 12-12h168c6.6 0 12 5.4 12 12zm96-114.1v6.1H256V0h6.1c6.4 0 12.5 2.5 17 7l97.9 98c4.5 4.5 7 10.6 7 16.9z";t.definition={prefix:"fas",iconName:"file-alt",icon:[384,512,r,"f15c",o]},t.faFileAlt=t.definition,t.prefix="fas",t.iconName="file-alt",t.width=384,t.height=512,t.ligatures=r,t.unicode="f15c",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M288.662 352H31.338c-17.818 0-26.741-21.543-14.142-34.142l128.662-128.662c7.81-7.81 20.474-7.81 28.284 0l128.662 128.662c12.6 12.599 3.676 34.142-14.142 34.142z";t.definition={prefix:"fas",iconName:"caret-up",icon:[320,512,r,"f0d8",o]},t.faCaretUp=t.definition,t.prefix="fas",t.iconName="caret-up",t.width=320,t.height=512,t.ligatures=r,t.unicode="f0d8",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z";t.definition={prefix:"fas",iconName:"caret-down",icon:[320,512,r,"f0d7",o]},t.faCaretDown=t.definition,t.prefix="fas",t.iconName="caret-down",t.width=320,t.height=512,t.ligatures=r,t.unicode="f0d7",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z";t.definition={prefix:"fas",iconName:"check",icon:[512,512,r,"f00c",o]},t.faCheck=t.definition,t.prefix="fas",t.iconName="check",t.width=512,t.height=512,t.ligatures=r,t.unicode="f00c",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M487.976 0H24.028C2.71 0-8.047 25.866 7.058 40.971L192 225.941V432c0 7.831 3.821 15.17 10.237 19.662l80 55.98C298.02 518.69 320 507.493 320 487.98V225.941l184.947-184.97C520.021 25.896 509.338 0 487.976 0z";t.definition={prefix:"fas",iconName:"filter",icon:[512,512,r,"f0b0",o]},t.faFilter=t.definition,t.prefix="fas",t.iconName="filter",t.width=512,t.height=512,t.ligatures=r,t.unicode="f0b0",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M288 39.056v16.659c0 10.804 7.281 20.159 17.686 23.066C383.204 100.434 440 171.518 440 256c0 101.689-82.295 184-184 184-101.689 0-184-82.295-184-184 0-84.47 56.786-155.564 134.312-177.219C216.719 75.874 224 66.517 224 55.712V39.064c0-15.709-14.834-27.153-30.046-23.234C86.603 43.482 7.394 141.206 8.003 257.332c.72 137.052 111.477 246.956 248.531 246.667C393.255 503.711 504 392.788 504 256c0-115.633-79.14-212.779-186.211-240.236C302.678 11.889 288 23.456 288 39.056z";t.definition={prefix:"fas",iconName:"circle-notch",icon:[512,512,r,"f1ce",o]},t.faCircleNotch=t.definition,t.prefix="fas",t.iconName="circle-notch",t.width=512,t.height=512,t.ligatures=r,t.unicode="f1ce",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M224 136V0H24C10.7 0 0 10.7 0 24v464c0 13.3 10.7 24 24 24h336c13.3 0 24-10.7 24-24V160H248c-13.2 0-24-10.8-24-24zm-64 268c0 10.7-12.9 16-20.5 8.5L104 376H76c-6.6 0-12-5.4-12-12v-56c0-6.6 5.4-12 12-12h28l35.5-36.5c7.6-7.6 20.5-2.2 20.5 8.5v136zm33.2-47.6c9.1-9.3 9.1-24.1 0-33.4-22.1-22.8 12.2-56.2 34.4-33.5 27.2 27.9 27.2 72.4 0 100.4-21.8 22.3-56.9-10.4-34.4-33.5zm86-117.1c54.4 55.9 54.4 144.8 0 200.8-21.8 22.4-57-10.3-34.4-33.5 36.2-37.2 36.3-96.5 0-133.8-22.1-22.8 12.3-56.3 34.4-33.5zM384 121.9v6.1H256V0h6.1c6.4 0 12.5 2.5 17 7l97.9 98c4.5 4.5 7 10.6 7 16.9z";t.definition={prefix:"fas",iconName:"file-audio",icon:[384,512,r,"f1c7",o]},t.faFileAudio=t.definition,t.prefix="fas",t.iconName="file-audio",t.width=384,t.height=512,t.ligatures=r,t.unicode="f1c7",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M384 121.941V128H256V0h6.059a24 24 0 0 1 16.97 7.029l97.941 97.941a24.002 24.002 0 0 1 7.03 16.971zM248 160c-13.2 0-24-10.8-24-24V0H24C10.745 0 0 10.745 0 24v464c0 13.255 10.745 24 24 24h336c13.255 0 24-10.745 24-24V160H248zm-135.455 16c26.51 0 48 21.49 48 48s-21.49 48-48 48-48-21.49-48-48 21.491-48 48-48zm208 240h-256l.485-48.485L104.545 328c4.686-4.686 11.799-4.201 16.485.485L160.545 368 264.06 264.485c4.686-4.686 12.284-4.686 16.971 0L320.545 304v112z";t.definition={prefix:"fas",iconName:"file-image",icon:[384,512,r,"f1c5",o]},t.faFileImage=t.definition,t.prefix="fas",t.iconName="file-image",t.width=384,t.height=512,t.ligatures=r,t.unicode="f1c5",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M377 105L279.1 7c-4.5-4.5-10.6-7-17-7H256v128h128v-6.1c0-6.3-2.5-12.4-7-16.9zM128.4 336c-17.9 0-32.4 12.1-32.4 27 0 15 14.6 27 32.5 27s32.4-12.1 32.4-27-14.6-27-32.5-27zM224 136V0h-63.6v32h-32V0H24C10.7 0 0 10.7 0 24v464c0 13.3 10.7 24 24 24h336c13.3 0 24-10.7 24-24V160H248c-13.2 0-24-10.8-24-24zM95.9 32h32v32h-32zm32.3 384c-33.2 0-58-30.4-51.4-62.9L96.4 256v-32h32v-32h-32v-32h32v-32h-32V96h32V64h32v32h-32v32h32v32h-32v32h32v32h-32v32h22.1c5.7 0 10.7 4.1 11.8 9.7l17.3 87.7c6.4 32.4-18.4 62.6-51.4 62.6z";t.definition={prefix:"fas",iconName:"file-archive",icon:[384,512,r,"f1c6",o]},t.faFileArchive=t.definition,t.prefix="fas",t.iconName="file-archive",t.width=384,t.height=512,t.ligatures=r,t.unicode="f1c6",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M320 448v40c0 13.255-10.745 24-24 24H24c-13.255 0-24-10.745-24-24V120c0-13.255 10.745-24 24-24h72v296c0 30.879 25.121 56 56 56h168zm0-344V0H152c-13.255 0-24 10.745-24 24v368c0 13.255 10.745 24 24 24h272c13.255 0 24-10.745 24-24V128H344c-13.2 0-24-10.8-24-24zm120.971-31.029L375.029 7.029A24 24 0 0 0 358.059 0H352v96h96v-6.059a24 24 0 0 0-7.029-16.97z";t.definition={prefix:"fas",iconName:"copy",icon:[448,512,r,"f0c5",o]},t.faCopy=t.definition,t.prefix="fas",t.iconName="copy",t.width=448,t.height=512,t.ligatures=r,t.unicode="f0c5",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z";t.definition={prefix:"fas",iconName:"times",icon:[352,512,r,"f00d",o]},t.faTimes=t.definition,t.prefix="fas",t.iconName="times",t.width=352,t.height=512,t.ligatures=r,t.unicode="f00d",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M402.6 83.2l90.2 90.2c3.8 3.8 3.8 10 0 13.8L274.4 405.6l-92.8 10.3c-12.4 1.4-22.9-9.1-21.5-21.5l10.3-92.8L388.8 83.2c3.8-3.8 10-3.8 13.8 0zm162-22.9l-48.8-48.8c-15.2-15.2-39.9-15.2-55.2 0l-35.4 35.4c-3.8 3.8-3.8 10 0 13.8l90.2 90.2c3.8 3.8 10 3.8 13.8 0l35.4-35.4c15.2-15.3 15.2-40 0-55.2zM384 346.2V448H64V128h229.8c3.2 0 6.2-1.3 8.5-3.5l40-40c7.6-7.6 2.2-20.5-8.5-20.5H48C21.5 64 0 85.5 0 112v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V306.2c0-10.7-12.9-16-20.5-8.5l-40 40c-2.2 2.3-3.5 5.3-3.5 8.5z";t.definition={prefix:"fas",iconName:"edit",icon:[576,512,r,"f044",o]},t.faEdit=t.definition,t.prefix="fas",t.iconName="edit",t.width=576,t.height=512,t.ligatures=r,t.unicode="f044",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M505 442.7L405.3 343c-4.5-4.5-10.6-7-17-7H372c27.6-35.3 44-79.7 44-128C416 93.1 322.9 0 208 0S0 93.1 0 208s93.1 208 208 208c48.3 0 92.7-16.4 128-44v16.3c0 6.4 2.5 12.5 7 17l99.7 99.7c9.4 9.4 24.6 9.4 33.9 0l28.3-28.3c9.4-9.4 9.4-24.6.1-34zM208 336c-70.7 0-128-57.2-128-128 0-70.7 57.2-128 128-128 70.7 0 128 57.2 128 128 0 70.7-57.2 128-128 128z";t.definition={prefix:"fas",iconName:"search",icon:[512,512,r,"f002",o]},t.faSearch=t.definition,t.prefix="fas",t.iconName="search",t.width=512,t.height=512,t.ligatures=r,t.unicode="f002",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z";t.definition={prefix:"fas",iconName:"plus",icon:[448,512,r,"f067",o]},t.faPlus=t.definition,t.prefix="fas",t.iconName="plus",t.width=448,t.height=512,t.ligatures=r,t.unicode="f067",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M384 112v352c0 26.51-21.49 48-48 48H48c-26.51 0-48-21.49-48-48V112c0-26.51 21.49-48 48-48h80c0-35.29 28.71-64 64-64s64 28.71 64 64h80c26.51 0 48 21.49 48 48zM192 40c-13.255 0-24 10.745-24 24s10.745 24 24 24 24-10.745 24-24-10.745-24-24-24m96 114v-20a6 6 0 0 0-6-6H102a6 6 0 0 0-6 6v20a6 6 0 0 0 6 6h180a6 6 0 0 0 6-6z";t.definition={prefix:"fas",iconName:"clipboard",icon:[384,512,r,"f328",o]},t.faClipboard=t.definition,t.prefix="fas",t.iconName="clipboard",t.width=384,t.height=512,t.ligatures=r,t.unicode="f328",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M31.7 239l136-136c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9L127.9 256l96.4 96.4c9.4 9.4 9.4 24.6 0 33.9L201.7 409c-9.4 9.4-24.6 9.4-33.9 0l-136-136c-9.5-9.4-9.5-24.6-.1-34z";t.definition={prefix:"fas",iconName:"angle-left",icon:[256,512,r,"f104",o]},t.faAngleLeft=t.definition,t.prefix="fas",t.iconName="angle-left",t.width=256,t.height=512,t.ligatures=r,t.unicode="f104",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M223.7 239l136-136c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9L319.9 256l96.4 96.4c9.4 9.4 9.4 24.6 0 33.9L393.7 409c-9.4 9.4-24.6 9.4-33.9 0l-136-136c-9.5-9.4-9.5-24.6-.1-34zm-192 34l136 136c9.4 9.4 24.6 9.4 33.9 0l22.6-22.6c9.4-9.4 9.4-24.6 0-33.9L127.9 256l96.4-96.4c9.4-9.4 9.4-24.6 0-33.9L201.7 103c-9.4-9.4-24.6-9.4-33.9 0l-136 136c-9.5 9.4-9.5 24.6-.1 34z";t.definition={prefix:"fas",iconName:"angle-double-left",icon:[448,512,r,"f100",o]},t.faAngleDoubleLeft=t.definition,t.prefix="fas",t.iconName="angle-double-left",t.width=448,t.height=512,t.ligatures=r,t.unicode="f100",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z";t.definition={prefix:"fas",iconName:"angle-right",icon:[256,512,r,"f105",o]},t.faAngleRight=t.definition,t.prefix="fas",t.iconName="angle-right",t.width=256,t.height=512,t.ligatures=r,t.unicode="f105",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34zm192-34l-136-136c-9.4-9.4-24.6-9.4-33.9 0l-22.6 22.6c-9.4 9.4-9.4 24.6 0 33.9l96.4 96.4-96.4 96.4c-9.4 9.4-9.4 24.6 0 33.9l22.6 22.6c9.4 9.4 24.6 9.4 33.9 0l136-136c9.4-9.2 9.4-24.4 0-33.8z";t.definition={prefix:"fas",iconName:"angle-double-right",icon:[448,512,r,"f101",o]},t.faAngleDoubleRight=t.definition,t.prefix="fas",t.iconName="angle-double-right",t.width=448,t.height=512,t.ligatures=r,t.unicode="f101",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M207.029 381.476L12.686 187.132c-9.373-9.373-9.373-24.569 0-33.941l22.667-22.667c9.357-9.357 24.522-9.375 33.901-.04L224 284.505l154.745-154.021c9.379-9.335 24.544-9.317 33.901.04l22.667 22.667c9.373 9.373 9.373 24.569 0 33.941L240.971 381.476c-9.373 9.372-24.569 9.372-33.942 0z";t.definition={prefix:"fas",iconName:"chevron-down",icon:[448,512,r,"f078",o]},t.faChevronDown=t.definition,t.prefix="fas",t.iconName="chevron-down",t.width=448,t.height=512,t.ligatures=r,t.unicode="f078",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M240.971 130.524l194.343 194.343c9.373 9.373 9.373 24.569 0 33.941l-22.667 22.667c-9.357 9.357-24.522 9.375-33.901.04L224 227.495 69.255 381.516c-9.379 9.335-24.544 9.317-33.901-.04l-22.667-22.667c-9.373-9.373-9.373-24.569 0-33.941L207.03 130.525c9.372-9.373 24.568-9.373 33.941-.001z";t.definition={prefix:"fas",iconName:"chevron-up",icon:[448,512,r,"f077",o]},t.faChevronUp=t.definition,t.prefix="fas",t.iconName="chevron-up",t.width=448,t.height=512,t.ligatures=r,t.unicode="f077",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M464 448H48c-26.51 0-48-21.49-48-48V112c0-26.51 21.49-48 48-48h416c26.51 0 48 21.49 48 48v288c0 26.51-21.49 48-48 48zM112 120c-30.928 0-56 25.072-56 56s25.072 56 56 56 56-25.072 56-56-25.072-56-56-56zM64 384h384V272l-87.515-87.515c-4.686-4.686-12.284-4.686-16.971 0L208 320l-55.515-55.515c-4.686-4.686-12.284-4.686-16.971 0L64 336v48z";t.definition={prefix:"fas",iconName:"image",icon:[512,512,r,"f03e",o]},t.faImage=t.definition,t.prefix="fas",t.iconName="image",t.width=512,t.height=512,t.ligatures=r,t.unicode="f03e",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M312 320h136V56c0-13.3-10.7-24-24-24H24C10.7 32 0 42.7 0 56v400c0 13.3 10.7 24 24 24h264V344c0-13.2 10.8-24 24-24zm129 55l-98 98c-4.5 4.5-10.6 7-17 7h-6V352h128v6.1c0 6.3-2.5 12.4-7 16.9z";t.definition={prefix:"fas",iconName:"sticky-note",icon:[448,512,r,"f249",o]},t.faStickyNote=t.definition,t.prefix="fas",t.iconName="sticky-note",t.width=448,t.height=512,t.ligatures=r,t.unicode="f249",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M256 8C119.034 8 8 119.033 8 256s111.034 248 248 248 248-111.034 248-248S392.967 8 256 8zm130.108 117.892c65.448 65.448 70 165.481 20.677 235.637L150.47 105.216c70.204-49.356 170.226-44.735 235.638 20.676zM125.892 386.108c-65.448-65.448-70-165.481-20.677-235.637L361.53 406.784c-70.203 49.356-170.226 44.736-235.638-20.676z";t.definition={prefix:"fas",iconName:"ban",icon:[512,512,r,"f05e",o]},t.faBan=t.definition,t.prefix="fas",t.iconName="ban",t.width=512,t.height=512,t.ligatures=r,t.unicode="f05e",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M480 416v16c0 26.51-21.49 48-48 48H48c-26.51 0-48-21.49-48-48V176c0-26.51 21.49-48 48-48h16v208c0 44.112 35.888 80 80 80h336zm96-80V80c0-26.51-21.49-48-48-48H144c-26.51 0-48 21.49-48 48v256c0 26.51 21.49 48 48 48h384c26.51 0 48-21.49 48-48zM256 128c0 26.51-21.49 48-48 48s-48-21.49-48-48 21.49-48 48-48 48 21.49 48 48zm-96 144l55.515-55.515c4.686-4.686 12.284-4.686 16.971 0L272 256l135.515-135.515c4.686-4.686 12.284-4.686 16.971 0L512 208v112H160v-48z";t.definition={prefix:"fas",iconName:"images",icon:[576,512,r,"f302",o]},t.faImages=t.definition,t.prefix="fas",t.iconName="images",t.width=576,t.height=512,t.ligatures=r,t.unicode="f302",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M256 32C114.52 32 0 146.496 0 288v48a32 32 0 0 0 17.689 28.622l14.383 7.191C34.083 431.903 83.421 480 144 480h24c13.255 0 24-10.745 24-24V280c0-13.255-10.745-24-24-24h-24c-31.342 0-59.671 12.879-80 33.627V288c0-105.869 86.131-192 192-192s192 86.131 192 192v1.627C427.671 268.879 399.342 256 368 256h-24c-13.255 0-24 10.745-24 24v176c0 13.255 10.745 24 24 24h24c60.579 0 109.917-48.098 111.928-108.187l14.382-7.191A32 32 0 0 0 512 336v-48c0-141.479-114.496-256-256-256z";t.definition={prefix:"fas",iconName:"headphones",icon:[512,512,r,"f025",o]},t.faHeadphones=t.definition,t.prefix="fas",t.iconName="headphones",t.width=512,t.height=512,t.ligatures=r,t.unicode="f025",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M279 224H41c-21.4 0-32.1-25.9-17-41L143 64c9.4-9.4 24.6-9.4 33.9 0l119 119c15.2 15.1 4.5 41-16.9 41z";t.definition={prefix:"fas",iconName:"sort-up",icon:[320,512,r,"f0de",o]},t.faSortUp=t.definition,t.prefix="fas",t.iconName="sort-up",t.width=320,t.height=512,t.ligatures=r,t.unicode="f0de",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M41 288h238c21.4 0 32.1 25.9 17 41L177 448c-9.4 9.4-24.6 9.4-33.9 0L24 329c-15.1-15.1-4.4-41 17-41z";t.definition={prefix:"fas",iconName:"sort-down",icon:[320,512,r,"f0dd",o]},t.faSortDown=t.definition,t.prefix="fas",t.iconName="sort-down",t.width=320,t.height=512,t.ligatures=r,t.unicode="f0dd",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm121.6 313.1c4.7 4.7 4.7 12.3 0 17L338 377.6c-4.7 4.7-12.3 4.7-17 0L256 312l-65.1 65.6c-4.7 4.7-12.3 4.7-17 0L134.4 338c-4.7-4.7-4.7-12.3 0-17l65.6-65-65.6-65.1c-4.7-4.7-4.7-12.3 0-17l39.6-39.6c4.7-4.7 12.3-4.7 17 0l65 65.7 65.1-65.6c4.7-4.7 12.3-4.7 17 0l39.6 39.6c4.7 4.7 4.7 12.3 0 17L312 256l65.6 65.1z";t.definition={prefix:"fas",iconName:"times-circle",icon:[512,512,r,"f057",o]},t.faTimesCircle=t.definition,t.prefix="fas",t.iconName="times-circle",t.width=512,t.height=512,t.ligatures=r,t.unicode="f057",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z";t.definition={prefix:"fas",iconName:"info-circle",icon:[512,512,r,"f05a",o]},t.faInfoCircle=t.definition,t.prefix="fas",t.iconName="info-circle",t.width=512,t.height=512,t.ligatures=r,t.unicode="f05a",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M432 416h-23.41L277.88 53.69A32 32 0 0 0 247.58 32h-47.16a32 32 0 0 0-30.3 21.69L39.41 416H16a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h128a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16h-19.58l23.3-64h152.56l23.3 64H304a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h128a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zM176.85 272L224 142.51 271.15 272z";t.definition={prefix:"fas",iconName:"font",icon:[448,512,r,"f031",o]},t.faFont=t.definition,t.prefix="fas",t.iconName="font",t.width=448,t.height=512,t.ligatures=r,t.unicode="f031",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M12.83 352h262.34A12.82 12.82 0 0 0 288 339.17v-38.34A12.82 12.82 0 0 0 275.17 288H12.83A12.82 12.82 0 0 0 0 300.83v38.34A12.82 12.82 0 0 0 12.83 352zm0-256h262.34A12.82 12.82 0 0 0 288 83.17V44.83A12.82 12.82 0 0 0 275.17 32H12.83A12.82 12.82 0 0 0 0 44.83v38.34A12.82 12.82 0 0 0 12.83 96zM432 160H16a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zm0 256H16a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16z";t.definition={prefix:"fas",iconName:"align-left",icon:[448,512,r,"f036",o]},t.faAlignLeft=t.definition,t.prefix="fas",t.iconName="align-left",t.width=448,t.height=512,t.ligatures=r,t.unicode="f036",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M16 224h416a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16H16a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16zm416 192H16a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zm3.17-384H172.83A12.82 12.82 0 0 0 160 44.83v38.34A12.82 12.82 0 0 0 172.83 96h262.34A12.82 12.82 0 0 0 448 83.17V44.83A12.82 12.82 0 0 0 435.17 32zm0 256H172.83A12.82 12.82 0 0 0 160 300.83v38.34A12.82 12.82 0 0 0 172.83 352h262.34A12.82 12.82 0 0 0 448 339.17v-38.34A12.82 12.82 0 0 0 435.17 288z";t.definition={prefix:"fas",iconName:"align-right",icon:[448,512,r,"f038",o]},t.faAlignRight=t.definition,t.prefix="fas",t.iconName="align-right",t.width=448,t.height=512,t.ligatures=r,t.unicode="f038",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M432 160H16a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zm0 256H16a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zM108.1 96h231.81A12.09 12.09 0 0 0 352 83.9V44.09A12.09 12.09 0 0 0 339.91 32H108.1A12.09 12.09 0 0 0 96 44.09V83.9A12.1 12.1 0 0 0 108.1 96zm231.81 256A12.09 12.09 0 0 0 352 339.9v-39.81A12.09 12.09 0 0 0 339.91 288H108.1A12.09 12.09 0 0 0 96 300.09v39.81a12.1 12.1 0 0 0 12.1 12.1z";t.definition={prefix:"fas",iconName:"align-center",icon:[448,512,r,"f037",o]},t.faAlignCenter=t.definition,t.prefix="fas",t.iconName="align-center",t.width=448,t.height=512,t.ligatures=r,t.unicode="f037",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M16 132h416c8.837 0 16-7.163 16-16V76c0-8.837-7.163-16-16-16H16C7.163 60 0 67.163 0 76v40c0 8.837 7.163 16 16 16zm0 160h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm0 160h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16z";t.definition={prefix:"fas",iconName:"bars",icon:[448,512,r,"f0c9",o]},t.faBars=t.definition,t.prefix="fas",t.iconName="bars",t.width=448,t.height=512,t.ligatures=r,t.unicode="f0c9",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M35.5 248l148-148.5c4.7-4.7 12.3-4.7 17 0l148 148.5c4.7 4.7 4.7 12.3 0 17l-7.1 7.1c-4.7 4.7-12.3 4.7-17 0L209 156.1V468c0 6.6-5.4 12-12 12h-10c-6.6 0-12-5.4-12-12V156.1L59.6 272c-4.7 4.7-12.3 4.7-17 0l-7.1-7.1c-4.7-4.6-4.7-12.2 0-16.9zM0 44v8c0 6.6 5.4 12 12 12h360c6.6 0 12-5.4 12-12v-8c0-6.6-5.4-12-12-12H12C5.4 32 0 37.4 0 44z";t.definition={prefix:"fal",iconName:"arrow-to-top",icon:[384,512,r,"f341",o]},t.faArrowToTop=t.definition,t.prefix="fal",t.iconName="arrow-to-top",t.width=384,t.height=512,t.ligatures=r,t.unicode="f341",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M348.5 264l-148 148.5c-4.7 4.7-12.3 4.7-17 0L35.5 264c-4.7-4.7-4.7-12.3 0-17l7.1-7.1c4.7-4.7 12.3-4.7 17 0l115.4 116V44c0-6.6 5.4-12 12-12h10c6.6 0 12 5.4 12 12v311.9L324.4 240c4.7-4.7 12.3-4.7 17 0l7.1 7.1c4.7 4.6 4.7 12.2 0 16.9zM384 468v-8c0-6.6-5.4-12-12-12H12c-6.6 0-12 5.4-12 12v8c0 6.6 5.4 12 12 12h360c6.6 0 12-5.4 12-12z";t.definition={prefix:"fal",iconName:"arrow-to-bottom",icon:[384,512,r,"f33d",o]},t.faArrowToBottom=t.definition,t.prefix="fal",t.iconName="arrow-to-bottom",t.width=384,t.height=512,t.ligatures=r,t.unicode="f33d",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M181.415 399.959c-4.686-4.686-12.284-4.686-16.971 0L113 451.887V60.113l51.444 51.928c4.686 4.686 12.284 4.686 16.971 0l7.07-7.071c4.686-4.686 4.686-12.284 0-16.97l-84-84.485c-4.686-4.686-12.284-4.686-16.971 0L3.515 88c-4.686 4.686-4.686 12.284 0 16.97l7.07 7.071c4.686 4.686 12.284 4.686 16.971 0L79 60.113v391.773l-51.444-51.928c-4.686-4.686-12.284-4.686-16.971 0l-7.07 7.071c-4.686 4.686-4.686 12.284 0 16.97l84 84.485c4.686 4.687 12.284 4.687 16.971 0l84-84.485c4.686-4.686 4.686-12.284 0-16.97l-7.071-7.07z";t.definition={prefix:"fal",iconName:"arrows-v",icon:[192,512,r,"f07d",o]},t.faArrowsV=t.definition,t.prefix="fal",t.iconName="arrows-v",t.width=192,t.height=512,t.ligatures=r,t.unicode="f07d",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M216 412.5l-148.5-148c-4.7-4.7-4.7-12.3 0-17L216 99.5c4.7-4.7 12.3-4.7 17 0l7.1 7.1c4.7 4.7 4.7 12.3 0 17L124.1 239H436c6.6 0 12 5.4 12 12v10c0 6.6-5.4 12-12 12H124.1L240 388.4c4.7 4.7 4.7 12.3 0 17l-7.1 7.1c-4.6 4.7-12.2 4.7-16.9 0zM12 448h8c6.6 0 12-5.4 12-12V76c0-6.6-5.4-12-12-12h-8C5.4 64 0 69.4 0 76v360c0 6.6 5.4 12 12 12z";t.definition={prefix:"fal",iconName:"arrow-to-left",icon:[448,512,r,"f33e",o]},t.faArrowToLeft=t.definition,t.prefix="fal",t.iconName="arrow-to-left",t.width=448,t.height=512,t.ligatures=r,t.unicode="f33e",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M215 99.5l-7.1 7.1c-4.7 4.7-4.7 12.3 0 17l116 115.4H12c-6.6 0-12 5.4-12 12v10c0 6.6 5.4 12 12 12h311.9L208 388.4c-4.7 4.7-4.7 12.3 0 17l7.1 7.1c4.7 4.7 12.3 4.7 17 0l148.5-148c4.7-4.7 4.7-12.3 0-17L232 99.5c-4.7-4.7-12.3-4.7-17 0zM448 76v360c0 6.6-5.4 12-12 12h-8c-6.6 0-12-5.4-12-12V76c0-6.6 5.4-12 12-12h8c6.6 0 12 5.4 12 12z";t.definition={prefix:"fal",iconName:"arrow-to-right",icon:[448,512,r,"f340",o]},t.faArrowToRight=t.definition,t.prefix="fal",t.iconName="arrow-to-right",t.width=448,t.height=512,t.ligatures=r,t.unicode="f340",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M399.959 170.585c-4.686 4.686-4.686 12.284 0 16.971L451.887 239H60.113l51.928-51.444c4.686-4.686 4.686-12.284 0-16.971l-7.071-7.07c-4.686-4.686-12.284-4.686-16.97 0l-84.485 84c-4.686 4.686-4.686 12.284 0 16.971l84.485 84c4.686 4.686 12.284 4.686 16.97 0l7.071-7.07c4.686-4.686 4.686-12.284 0-16.971L60.113 273h391.773l-51.928 51.444c-4.686 4.686-4.686 12.284 0 16.971l7.071 7.07c4.686 4.686 12.284 4.686 16.97 0l84.485-84c4.687-4.686 4.687-12.284 0-16.971l-84.485-84c-4.686-4.686-12.284-4.686-16.97 0l-7.07 7.071z";t.definition={prefix:"fal",iconName:"arrows-h",icon:[512,512,r,"f07e",o]},t.faArrowsH=t.definition,t.prefix="fal",t.iconName="arrows-h",t.width=512,t.height=512,t.ligatures=r,t.unicode="f07e",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M448 344v112a23.94 23.94 0 0 1-24 24H312c-21.39 0-32.09-25.9-17-41l36.2-36.2L224 295.6 116.77 402.9 153 439c15.09 15.1 4.39 41-17 41H24a23.94 23.94 0 0 1-24-24V344c0-21.4 25.89-32.1 41-17l36.19 36.2L184.46 256 77.18 148.7 41 185c-15.1 15.1-41 4.4-41-17V56a23.94 23.94 0 0 1 24-24h112c21.39 0 32.09 25.9 17 41l-36.2 36.2L224 216.4l107.23-107.3L295 73c-15.09-15.1-4.39-41 17-41h112a23.94 23.94 0 0 1 24 24v112c0 21.4-25.89 32.1-41 17l-36.19-36.2L263.54 256l107.28 107.3L407 327.1c15.1-15.2 41-4.5 41 16.9z";t.definition={prefix:"fas",iconName:"expand-arrows-alt",icon:[448,512,r,"f31e",o]},t.faExpandArrowsAlt=t.definition,t.prefix="fas",t.iconName="expand-arrows-alt",t.width=448,t.height=512,t.ligatures=r,t.unicode="f31e",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M0 180V56c0-13.3 10.7-24 24-24h124c6.6 0 12 5.4 12 12v8c0 6.6-5.4 12-12 12H32v116c0 6.6-5.4 12-12 12h-8c-6.6 0-12-5.4-12-12zM300 32h124c13.3 0 24 10.7 24 24v124c0 6.6-5.4 12-12 12h-8c-6.6 0-12-5.4-12-12V64H300c-6.6 0-12-5.4-12-12v-8c0-6.6 5.4-12 12-12zm148 300v124c0 13.3-10.7 24-24 24H300c-6.6 0-12-5.4-12-12v-8c0-6.6 5.4-12 12-12h116V332c0-6.6 5.4-12 12-12h8c6.6 0 12 5.4 12 12zM148 480H24c-13.3 0-24-10.7-24-24V332c0-6.6 5.4-12 12-12h8c6.6 0 12 5.4 12 12v116h116c6.6 0 12 5.4 12 12v8c0 6.6-5.4 12-12 12z";t.definition={prefix:"fal",iconName:"expand",icon:[448,512,r,"f065",o]},t.faExpand=t.definition,t.prefix="fal",t.iconName="expand",t.width=448,t.height=512,t.ligatures=r,t.unicode="f065",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M436 192H312c-13.3 0-24-10.7-24-24V44c0-6.6 5.4-12 12-12h8c6.6 0 12 5.4 12 12v116h116c6.6 0 12 5.4 12 12v8c0 6.6-5.4 12-12 12zm-276-24V44c0-6.6-5.4-12-12-12h-8c-6.6 0-12 5.4-12 12v116H12c-6.6 0-12 5.4-12 12v8c0 6.6 5.4 12 12 12h124c13.3 0 24-10.7 24-24zm0 300V344c0-13.3-10.7-24-24-24H12c-6.6 0-12 5.4-12 12v8c0 6.6 5.4 12 12 12h116v116c0 6.6 5.4 12 12 12h8c6.6 0 12-5.4 12-12zm160 0V352h116c6.6 0 12-5.4 12-12v-8c0-6.6-5.4-12-12-12H312c-13.3 0-24 10.7-24 24v124c0 6.6 5.4 12 12 12h8c6.6 0 12-5.4 12-12z";t.definition={prefix:"fal",iconName:"compress",icon:[448,512,r,"f066",o]},t.faCompress=t.definition,t.prefix="fal",t.iconName="compress",t.width=448,t.height=512,t.ligatures=r,t.unicode="f066",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M12.41 148.02l232.94 105.67c6.8 3.09 14.49 3.09 21.29 0l232.94-105.67c16.55-7.51 16.55-32.52 0-40.03L266.65 2.31a25.607 25.607 0 0 0-21.29 0L12.41 107.98c-16.55 7.51-16.55 32.53 0 40.04zm487.18 88.28l-58.09-26.33-161.64 73.27c-7.56 3.43-15.59 5.17-23.86 5.17s-16.29-1.74-23.86-5.17L70.51 209.97l-58.1 26.33c-16.55 7.5-16.55 32.5 0 40l232.94 105.59c6.8 3.08 14.49 3.08 21.29 0L499.59 276.3c16.55-7.5 16.55-32.5 0-40zm0 127.8l-57.87-26.23-161.86 73.37c-7.56 3.43-15.59 5.17-23.86 5.17s-16.29-1.74-23.86-5.17L70.29 337.87 12.41 364.1c-16.55 7.5-16.55 32.5 0 40l232.94 105.59c6.8 3.08 14.49 3.08 21.29 0L499.59 404.1c16.55-7.5 16.55-32.5 0-40z";t.definition={prefix:"fas",iconName:"layer-group",icon:[512,512,r,"f5fd",o]},t.faLayerGroup=t.definition,t.prefix="fas",t.iconName="layer-group",t.width=512,t.height=512,t.ligatures=r,t.unicode="f5fd",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M239.1 6.3l-208 78c-18.7 7-31.1 25-31.1 45v225.1c0 18.2 10.3 34.8 26.5 42.9l208 104c13.5 6.8 29.4 6.8 42.9 0l208-104c16.3-8.1 26.5-24.8 26.5-42.9V129.3c0-20-12.4-37.9-31.1-44.9l-208-78C262 2.2 250 2.2 239.1 6.3zM256 68.4l192 72v1.1l-192 78-192-78v-1.1l192-72zm32 356V275.5l160-65v133.9l-160 80z";t.definition={prefix:"fas",iconName:"cube",icon:[512,512,r,"f1b2",o]},t.faCube=t.definition,t.prefix="fas",t.iconName="cube",t.width=512,t.height=512,t.ligatures=r,t.unicode="f1b2",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M384 121.941V128H256V0h6.059c6.365 0 12.47 2.529 16.971 7.029l97.941 97.941A24.005 24.005 0 0 1 384 121.941zM248 160c-13.2 0-24-10.8-24-24V0H24C10.745 0 0 10.745 0 24v464c0 13.255 10.745 24 24 24h336c13.255 0 24-10.745 24-24V160H248zM123.206 400.505a5.4 5.4 0 0 1-7.633.246l-64.866-60.812a5.4 5.4 0 0 1 0-7.879l64.866-60.812a5.4 5.4 0 0 1 7.633.246l19.579 20.885a5.4 5.4 0 0 1-.372 7.747L101.65 336l40.763 35.874a5.4 5.4 0 0 1 .372 7.747l-19.579 20.884zm51.295 50.479l-27.453-7.97a5.402 5.402 0 0 1-3.681-6.692l61.44-211.626a5.402 5.402 0 0 1 6.692-3.681l27.452 7.97a5.4 5.4 0 0 1 3.68 6.692l-61.44 211.626a5.397 5.397 0 0 1-6.69 3.681zm160.792-111.045l-64.866 60.812a5.4 5.4 0 0 1-7.633-.246l-19.58-20.885a5.4 5.4 0 0 1 .372-7.747L284.35 336l-40.763-35.874a5.4 5.4 0 0 1-.372-7.747l19.58-20.885a5.4 5.4 0 0 1 7.633-.246l64.866 60.812a5.4 5.4 0 0 1-.001 7.879z";t.definition={prefix:"fas",iconName:"file-code",icon:[384,512,r,"f1c9",o]},t.faFileCode=t.definition,t.prefix="fas",t.iconName="file-code",t.width=384,t.height=512,t.ligatures=r,t.unicode="f1c9",t.svgPathData=o},function(e,t,n){var r,o;
1
+ !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("react"),require("react-redux"),require("redux"),require("@fortawesome/react-fontawesome"),require("axios"),require("react-dnd"),require("hotkeys-js"),require("react-dom"),require("react-resize-detector"),require("react-tooltip"),require("react-table"),require("react-autosuggest"),require("react-dnd-html5-backend"),require("react-moveable"),require("localforage"));else if("function"==typeof define&&define.amd)define(["react","react-redux","redux","@fortawesome/react-fontawesome","axios","react-dnd","hotkeys-js","react-dom","react-resize-detector","react-tooltip","react-table","react-autosuggest","react-dnd-html5-backend","react-moveable","localforage"],t);else{var n="object"==typeof exports?t(require("react"),require("react-redux"),require("redux"),require("@fortawesome/react-fontawesome"),require("axios"),require("react-dnd"),require("hotkeys-js"),require("react-dom"),require("react-resize-detector"),require("react-tooltip"),require("react-table"),require("react-autosuggest"),require("react-dnd-html5-backend"),require("react-moveable"),require("localforage")):t(e.react,e["react-redux"],e.redux,e["@fortawesome/react-fontawesome"],e.axios,e["react-dnd"],e["hotkeys-js"],e["react-dom"],e["react-resize-detector"],e["react-tooltip"],e["react-table"],e["react-autosuggest"],e["react-dnd-html5-backend"],e["react-moveable"],e.localforage);for(var r in n)("object"==typeof exports?exports:e)[r]=n[r]}}(window,(function(e,t,n,r,o,i,a,s,c,l,u,p,f,d,h){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=133)}([function(t,n){t.exports=e},function(e,t,n){e.exports=n(320)()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ReactCSS=t.loop=t.handleActive=t.handleHover=t.hover=void 0;var r=l(n(214)),o=l(n(290)),i=l(n(316)),a=l(n(317)),s=l(n(318)),c=l(n(319));function l(e){return e&&e.__esModule?e:{default:e}}t.hover=a.default,t.handleHover=a.default,t.handleActive=s.default,t.loop=c.default;var u=t.ReactCSS=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];var s=(0,r.default)(n),c=(0,o.default)(e,s);return(0,i.default)(c)};t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ICON_FILE_CODE=t.ICON_CUBE=t.ICON_LAYER_GROUP=t.ICON_EXPAND_ARROWS=t.ICON_EXPAND=t.ICON_COMPRESS=t.ICON_ARROW_RIGHT=t.ICON_ARROW_CENTER_H=t.ICON_ARROW_LEFT=t.ICON_ARROW_DOWN=t.ICON_ARROW_CENTER_V=t.ICON_ARROW_UP=t.ICON_BARS=t.ICON_ALIGN_CENTER=t.ICON_ALIGN_RIGHT=t.ICON_ALIGN_LEFT=t.ICON_FONT=t.ICON_INFO_CIRCLE=t.ICON_TIMES_CIRCLE=t.SORT_DOWN=t.SORT_UP=t.ICON_BAN=t.ICON_USER_LOCK=t.ICON_CHEVRON_UP=t.ICON_CHEVRON_DOWN=t.ICON_ANGLE_DOUBLE_RIGHT=t.ICON_ANGLE_RIGHT=t.ICON_ANGLE_DOUBLE_LEFT=t.ICON_ANGLE_LEFT=t.ICON_EXCLAIMATION_TRIANGLE=t.ICON_CLIPBOARD=t.ICON_PLUS=t.ICON_SEARCH=t.ICON_EDIT=t.ICON_CHECK=t.ICON_CARET_DOWN=t.ICON_CARET_UP=t.ICON_CIRCLE_NOTCH=t.ICON_TIMES=t.ICON_COPY=t.ICON_AUDIO_TYPE=t.ICON_IMAGE_SEQ_TYPE=t.ICON_FILE_ARCHIVE=t.ICON_FILE_IMAGE=t.ICON_FILE_AUDIO=t.ICON_FILE_VIDEO=t.ICON_FILTER=t.ICON_STICKY_NOTE=t.ICON_IMAGE=t.ICON_VIDEO=void 0;var r=n(0),o=n(49),i=n(146),a=n(147),s=n(148),c=n(149),l=n(150),u=n(86),p=n(151),f=n(152),d=n(153),h=n(154),v=n(155),g=n(156),m=n(157),y=n(158),b=n(159),_=n(83),w=n(160),x=n(161),E=n(162),O=n(163),C=n(164),T=n(165),A=n(50),S=n(87),P=n(166),k=n(167),j=n(168),I=n(169),N=n(170),R=n(171),D=n(172),L=n(173),M=n(174),F=n(175),H=n(176),U=n(177),z=n(178),B=n(179),V=n(180),q=n(181),G=n(182),W=n(183),Y=n(184),X=n(185),$=n(186),J=n(187),K=n(188),Q=n(189),Z=n(190),ee=n(191);t.ICON_VIDEO=r.createElement(o.FontAwesomeIcon,{icon:S.faVideo}),t.ICON_IMAGE=r.createElement(o.FontAwesomeIcon,{icon:P.faImage}),t.ICON_STICKY_NOTE=r.createElement(o.FontAwesomeIcon,{icon:k.faStickyNote}),t.ICON_FILTER=r.createElement(o.FontAwesomeIcon,{icon:c.faFilter}),t.ICON_FILE_VIDEO=r.createElement(o.FontAwesomeIcon,{icon:u.faFileVideo}),t.ICON_FILE_AUDIO=r.createElement(o.FontAwesomeIcon,{icon:p.faFileAudio}),t.ICON_FILE_IMAGE=r.createElement(o.FontAwesomeIcon,{icon:f.faFileImage}),t.ICON_FILE_ARCHIVE=r.createElement(o.FontAwesomeIcon,{icon:d.faFileArchive}),t.ICON_IMAGE_SEQ_TYPE=r.createElement(o.FontAwesomeIcon,{icon:I.faImages}),t.ICON_AUDIO_TYPE=r.createElement(o.FontAwesomeIcon,{icon:N.faHeadphones}),t.ICON_COPY=r.createElement(o.FontAwesomeIcon,{icon:h.faCopy}),t.ICON_TIMES=r.createElement(o.FontAwesomeIcon,{icon:v.faTimes}),t.ICON_CIRCLE_NOTCH=r.createElement(o.FontAwesomeIcon,{icon:l.faCircleNotch}),t.ICON_CARET_UP=r.createElement(o.FontAwesomeIcon,{icon:i.faCaretUp}),t.ICON_CARET_DOWN=r.createElement(o.FontAwesomeIcon,{icon:a.faCaretDown}),t.ICON_CHECK=r.createElement(o.FontAwesomeIcon,{icon:s.faCheck}),t.ICON_EDIT=r.createElement(o.FontAwesomeIcon,{icon:g.faEdit}),t.ICON_SEARCH=r.createElement(o.FontAwesomeIcon,{icon:m.faSearch}),t.ICON_PLUS=r.createElement(o.FontAwesomeIcon,{icon:y.faPlus}),t.ICON_CLIPBOARD=r.createElement(o.FontAwesomeIcon,{icon:b.faClipboard}),t.ICON_EXCLAIMATION_TRIANGLE=r.createElement(o.FontAwesomeIcon,{icon:_.faExclamationTriangle}),t.ICON_ANGLE_LEFT=r.createElement(o.FontAwesomeIcon,{icon:w.faAngleLeft}),t.ICON_ANGLE_DOUBLE_LEFT=r.createElement(o.FontAwesomeIcon,{icon:x.faAngleDoubleLeft}),t.ICON_ANGLE_RIGHT=r.createElement(o.FontAwesomeIcon,{icon:E.faAngleRight}),t.ICON_ANGLE_DOUBLE_RIGHT=r.createElement(o.FontAwesomeIcon,{icon:O.faAngleDoubleRight}),t.ICON_CHEVRON_DOWN=r.createElement(o.FontAwesomeIcon,{icon:C.faChevronDown}),t.ICON_CHEVRON_UP=r.createElement(o.FontAwesomeIcon,{icon:T.faChevronUp}),t.ICON_USER_LOCK=r.createElement(o.FontAwesomeIcon,{icon:A.faUserLock}),t.ICON_BAN=r.createElement(o.FontAwesomeIcon,{icon:j.faBan}),t.SORT_UP=r.createElement(o.FontAwesomeIcon,{icon:R.faSortUp}),t.SORT_DOWN=r.createElement(o.FontAwesomeIcon,{icon:D.faSortDown}),t.ICON_TIMES_CIRCLE=r.createElement(o.FontAwesomeIcon,{icon:L.faTimesCircle}),t.ICON_INFO_CIRCLE=r.createElement(o.FontAwesomeIcon,{icon:M.faInfoCircle}),t.ICON_FONT=r.createElement(o.FontAwesomeIcon,{icon:F.faFont}),t.ICON_ALIGN_LEFT=r.createElement(o.FontAwesomeIcon,{icon:H.faAlignLeft}),t.ICON_ALIGN_RIGHT=r.createElement(o.FontAwesomeIcon,{icon:U.faAlignRight}),t.ICON_ALIGN_CENTER=r.createElement(o.FontAwesomeIcon,{icon:z.faAlignCenter}),t.ICON_BARS=r.createElement(o.FontAwesomeIcon,{icon:B.faBars}),t.ICON_ARROW_UP=r.createElement(o.FontAwesomeIcon,{icon:V.faArrowToTop}),t.ICON_ARROW_CENTER_V=r.createElement(o.FontAwesomeIcon,{icon:G.faArrowsV}),t.ICON_ARROW_DOWN=r.createElement(o.FontAwesomeIcon,{icon:q.faArrowToBottom}),t.ICON_ARROW_LEFT=r.createElement(o.FontAwesomeIcon,{icon:W.faArrowToLeft}),t.ICON_ARROW_CENTER_H=r.createElement(o.FontAwesomeIcon,{icon:X.faArrowsH}),t.ICON_ARROW_RIGHT=r.createElement(o.FontAwesomeIcon,{icon:Y.faArrowToRight}),t.ICON_COMPRESS=r.createElement(o.FontAwesomeIcon,{icon:K.faCompress}),t.ICON_EXPAND=r.createElement(o.FontAwesomeIcon,{icon:J.faExpand}),t.ICON_EXPAND_ARROWS=r.createElement(o.FontAwesomeIcon,{icon:$.faExpandArrowsAlt}),t.ICON_LAYER_GROUP=r.createElement(o.FontAwesomeIcon,{icon:Q.faLayerGroup}),t.ICON_CUBE=r.createElement(o.FontAwesomeIcon,{icon:Z.faCube}),t.ICON_FILE_CODE=r.createElement(o.FontAwesomeIcon,{icon:ee.faFileCode})},function(e,t,n){"use strict";var r=n(48),o="object"==typeof self&&self&&self.Object===Object&&self,i=r.a||o||Function("return this")();t.a=i},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var a=n(0),s=n(6),c=n(54),l=n(3),u=function(e){function t(t){var n=e.call(this,t)||this;return n.tooltipId="imposium-button-"+s.generateUUID(),n}return o(t,e),t.prototype.onClick=function(e){this.props.onClick&&!this.props.loading&&this.props.onClick(e)},t.prototype.render=function(){var e=this,t=this.props,n=t.style,r=t.color,o=t.size,s=t.customStyles,u=this.props,p=u.width,f=u.loading,d=(u.tooltip,this.props),h=d.active,v=d.disabled,g=d.buttonRef,m=h?"active":"",y=v?"disabled":"";o||(o=""),n||(n="default"),r||(r=""),p&&(s?s.width=p:s={width:p});var b=f?a.createElement("span",{className:"loading-icon"},l.ICON_CIRCLE_NOTCH):this.props.children;return a.createElement("div",i({},c.renderTooltipProps(this.tooltipId,this.props.tooltip),{ref:g,className:"imposium-btn btn-"+n+" "+o+" "+r+" "+m+" "+y,onClick:function(t){return e.onClick(t)},style:s}),b,c.renderTooltip(this.tooltipId,this.props.tooltip))},t}(a.PureComponent);t.default=u},function(e,t,n){"use strict";var r=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a};Object.defineProperty(t,"__esModule",{value:!0}),t.s3Url=t.formattedTime=t.formatDateDefault=t.padStart=t.toFixed=t.mimetypeConformsToOverlay=t.isFont=t.validateAssetMimetype=t.isObjEmpty=t.filterHotkeys=t.fitToContainer=t.generateUUID=t.string2HexCode=t.parameterizeServiceUrl=t.scrapeEmail=t.getFirstStoryInOrg=t.validateAccessLevel=t.getActiveOrg=t.isLocal=void 0;t.isLocal=function(){return"localhost"===window.location.hostname};t.getActiveOrg=function(e,t){return t.organizations.find((function(t){return t.id===e}))};t.validateAccessLevel=function(e,n,r){var o=t.getActiveOrg(e,r);return!!o&&o.services.includes(n)};t.getFirstStoryInOrg=function(e,n){var r=t.getActiveOrg(e,n);return r&&"object"==typeof r.stories[0]?r.stories[0].id:""};t.scrapeEmail=function(e){return e&&e.idTokenPayload&&e.idTokenPayload["https://imposium.com/email"]?e.idTokenPayload["https://imposium.com/email"]:""};t.parameterizeServiceUrl=function(e,t,n,r){if(!e||!t)return e&&!t?n+"?organization_id="+e:n;switch(r){case 1:case 4:case 5:case 6:case 8:return n+"/"+t+"?organization_id="+e;case 3:return n+"/dashboard/live/"+t+"?organization_id="+e;default:return n+"?organization_id="+e}};t.string2HexCode=function(e){var t=(16777215&e.split("").map((function(t,n){return e.charCodeAt(n)})).reduce((function(e,t){return t+((e<<5)-e)}),0)).toString(16).toUpperCase();return"#"+("00000".substring(0,6-t.length)+t)};t.generateUUID=function(){var e=(new Date).getTime();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(t){var n=(e+16*Math.random())%16|0;return e=Math.floor(e/16),("x"===t?n:7&n|8).toString(16)}))};t.fitToContainer=function(e,t,n){var r,o,i,a,s=t.width/t.height,c=n.padding?e.width-2*n.padding:e.width,l=n.padding?e.height-2*n.padding:e.height,u=n.padding?n.padding:0;return"proportionalInside"===n.scaleMode?(r=(o=c)/s)>l&&(o=(r=l)*s):"proportionalOutside"===n.scaleMode?(r=(o=c)/s)<l&&(o=(r=l)*s):"none"!==n.scaleMode&&n.scaleMode||(o=t.width,r=t.height),n.maxWidth&&o>n.maxWidth&&(r=(o=n.maxWidth)/s),n.maxHeight&&r>n.maxHeight&&(o=(r=n.maxHeight)*s),a="left"===n.hAlign?0:"right"===n.hAlign?c-o:(c-o)/2,i="top"===n.vAlign?0:"bottom"===n.vAlign?l-r:(l-r)/2,{width:o,height:r,top:i+=u,left:a+=u}};t.filterHotkeys=function(e){var t=(e.target||e.srcElement).tagName,n=t.isContentEditable||"INPUT"===t||"SELECT"===t||"TEXTAREA"===t,r="Enter"===e.code,o="Escape"===e.code,i=!0===e.metaKey;return!!(!n||n&&r||n&&o||n&&i)};t.isObjEmpty=function(e){for(var t in e)if(e.hasOwnProperty(t))return!1;return!0};t.validateAssetMimetype=function(e){var n=r(e.type.split("/"),2),o=n[0],i=n[1],a=e.name.split("."),s=a[a.length-1];switch(o){case"image":case"video":case"audio":return!0;case"application":switch(i){case"zip":case"x-gzip":return!0}}return!!t.isFont(o,s)||(-1!==e.name.indexOf(".CUBE")||(console.warn("Mimetype: "+e.type+" is not a supported asset type."),!1))};t.isFont=function(e,t){var n=["otf","sfnt","ttf","woff","woff2","font-sfnt","font-woff","vnd.ms-fontobject"];return e?-1!==n.indexOf(e):-1!==n.indexOf(t)};t.mimetypeConformsToOverlay=function(e,t){var n=r(t.type.split("/"),2),o=n[0],i=n[1];return"video"===e&&"video"===o||"image"===e&&"image"===o||"audio"===e&&"audio"===o||"template"===e&&"application"===o&&("zip"===i||"x-gzip"===i)||"image_sequence"===e&&"application"===o&&("zip"===i||"x-gzip"===i)};t.toFixed=function(e,t){var n=new RegExp("^-?\\d+(?:.\\d{0,"+(t||-1)+"})?");return e.toString().match(n)[0]};t.padStart=function(e,t){return new Array(t+1-(e+"").length).join("0")+e};t.formatDateDefault=function(e){var t=new Date(1e3*e),n=t.getMonth()+1,r=t.getDate(),o=t.getFullYear(),i=t.getHours(),a=i>=12?"PM":"AM";i>12&&(i-=12),0===i&&(i=12);var s=t.getMinutes();return s<10&&(s="0"+s),n+"/"+r+"/"+o+" "+i+":"+s+" "+a};t.formattedTime=function(e){var t=Math.floor(e/6e4),n=(e%6e4/1e3).toFixed(0);return(t<10?"0":"")+t+":"+(n<10?"0":"")+n};t.s3Url=function(e,t,n){return e?e.replace(t,n):""}},function(e,n){e.exports=t},function(e,t){e.exports=n},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var a=n(0),s=n(6),c=n(54),l=n(3),u=n(5),p=function(e){function t(t){var n=e.call(this,t)||this;return n.tooltipId=s.generateUUID(),n.state={showInfo:!1},n.toggleIDInfo=function(){n.setState({showInfo:!n.state.showInfo})},n}return o(t,e),t.prototype.getLabelClass=function(){return this.props.label?"label-"+(this.props.labelPosition?this.props.labelPosition:"left"):"no-label"},t.prototype.renderLabel=function(){var e=this.state.showInfo,t=this.props,n=t.info,r=t.label,o=e?l.ICON_TIMES_CIRCLE:l.ICON_INFO_CIRCLE,s=n?a.createElement(u.default,{onClick:this.toggleIDInfo,size:"small",style:"subtle"},o):null;return s||r?a.createElement("label",i({},c.renderTooltipProps(this.tooltipId,this.props.tooltip),{className:this.getLabelClass()}),s,s&&" ",r):null},t.prototype.render=function(){var e=this.props,t=e.label,n=e.width,r=e.customClass,o=this.renderLabel(),s={},l={};return t||(l=c.renderTooltipProps(this.tooltipId,this.props.tooltip)),n&&(s.width="string"==typeof n?n:n+"px"),a.createElement("div",{className:"form-field "+r+" "+this.getLabelClass(),style:s},o,a.createElement("div",i({className:"form-field-content "+this.getLabelClass()},l),this.props.children,this.renderButtons()),c.renderTooltip(this.tooltipId,this.props.tooltip),this.renderInfo())},t.prototype.renderInfo=function(){var e=this.props.info,t=this.state.showInfo;return e&&t?a.createElement("p",null,e):null},t.prototype.renderButtons=function(){if(this.props.buttons)return a.createElement("div",{className:"form-field-buttons"},this.props.buttons)},t}(a.PureComponent);t.default=p},function(e,t){var n=Array.isArray;e.exports=n},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},a=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},s=this&&this.__spreadArray||function(e,t){for(var n=0,r=t.length,o=e.length;n<r;n++,o++)e[o]=t[n];return e};Object.defineProperty(t,"__esModule",{value:!0});var c=n(0),l=n(56),u=n(5),p=n(9),f=n(6),d=n(3),h=n(212),v=function(e){function t(t){var n=e.call(this,t)||this;if(n.evtHandlers={submittable:function(){return n.forceSubmit()},controlled:function(e){return n.toggleEditing(e)},cancel:function(){return n.cancelEdit()},clear:function(){return n.forceSubmit(!0)},toggleEditing:function(e){return n.toggleEditing(e)},forceSubmit:function(){return n.forceSubmit()},clearValue:function(){return n.clearValue()},copyToClipboard:function(e){return n.copyToClipboard(e)},onSuggestionsFetchRequested:function(e){return n.onSuggestionsFetchRequested(e)},onSuggestionsClearRequested:function(){return n.onSuggestionsClearRequested()},getSuggestionValue:function(e){return n.getSuggestionValue(e)},renderSuggestion:function(e){return n.renderSuggestion(e)}},n.componentDidUpdate=function(e,t){(n.props.controlled||n.props.submittable)&&(e.value!==n.props.value&&n.setState({internalValue:n.props.value}),""===n.props.value&&!n.state.editing&&t.editing&&n.setState({internalValue:""}))},n.forceSubmit=function(e){void 0===e&&(e=!1);var t=n.state.internalValue;e||(n.props.doSubmit(t),"add"===n.props.submittableType&&n.setState({internalValue:""})),e&&(n.props.doSubmit(""),n.setState({internalValue:""}))},n.renderSubmittableIcon=function(){switch(n.props.submittableType){case"search":return d.ICON_SEARCH;case"check":return d.ICON_CHECK;case"add":return d.ICON_PLUS;default:return null}},n.onSuggestionsFetchRequested=function(e){var t=e.value;n.setState({suggestions:n.getSuggestions(t)})},n.onSuggestionsClearRequested=function(){n.setState({suggestions:[]})},n.props.controlled&&n.props.submittable)throw new Error("Actionable TextField(s) must be one of either: controlled or submittable.");return n.state={internalValue:t.value||"",suggestions:[],editing:!1},n.inputRef=c.createRef(),l.default.filter=function(e){return f.filterHotkeys(e)},n}return o(t,e),t.prototype.componentDidMount=function(){this.props.focusOnMount&&this.inputRef.current&&this.inputRef.current.focus()},t.prototype.componentWillUnmount=function(){this.props.submittable?(l.default.unbind("enter",this.evtHandlers.submittable),l.default.unbind("esc",this.evtHandlers.clear)):this.props.controlled&&(l.default.unbind("enter",this.evtHandlers.controlled),l.default.unbind("esc",this.evtHandlers.cancel))},t.prototype.setEditing=function(e){var t=this;this.setState({editing:e},(function(){t.inputRef.current.focus()}))},t.prototype.blur=function(e){this.props.onBlur&&this.props.onBlur(e),this.props.submittable?(l.default.unbind("enter",this.evtHandlers.submittable),l.default.unbind("esc",this.evtHandlers.clear)):this.props.controlled&&(l.default.unbind("enter",this.evtHandlers.controlled),l.default.unbind("esc",this.evtHandlers.cancel))},t.prototype.focus=function(e){this.props.onFocus&&this.props.onFocus(e),this.props.submittable?(l.default("enter",this.evtHandlers.submittable),l.default("esc",this.evtHandlers.clear)):this.props.controlled&&(l.default("enter",this.evtHandlers.controlled),l.default("esc",this.evtHandlers.cancel))},t.prototype.cancelEdit=function(){this.setState({editing:!1,internalValue:this.props.value})},t.prototype.copyToClipboard=function(e){var t=this.props,n=t.onNotification,r=t.onError;navigator.clipboard.writeText(this.props.value).then((function(){n&&n("Copied to clipboard!")}),(function(){r&&r("Error copying to clipboard.")}))},t.prototype.getValue=function(){var e=this.props,t=e.controlled,n=e.submittable,r=e.value,o=this.state.internalValue;return t||n?o:r||""},t.prototype.onChange=function(e,t){var n=this,r=this.props.pattern,o=t?t.newValue:e.target.value;if(this.props.controlled||this.props.submittable)this.setState({internalValue:o},(function(){t&&"click"===t.method&&n.evtHandlers.submittable()}));else{if(r&&!r.test(o))return;""===o&&(o=null),this.props.onChange(o)}},t.prototype.toggleEditing=function(e){var t=this;e.preventDefault(),e.stopPropagation();var n=this.state,r=n.editing,o=n.internalValue,i=this.props.value;r?this.setState({editing:!1},(function(){if(o!==i){var e=t.state.internalValue;""===e&&(e=null),t.props.onSubmit(e)}})):this.setState({editing:!0},(function(){var e=t.inputRef.current;e&&e.focus()}))},t.prototype.clearValue=function(){var e=this;this.setState({internalValue:""},(function(){e.props.doSubmit("")}))},t.prototype.getSuggestions=function(e){var t=e.trim().toLowerCase(),n=t.length;return 0===n?[]:this.props.suggestions.filter((function(e){return e.toLowerCase().slice(0,n)===t}))},t.prototype.getSuggestionValue=function(e){return e},t.prototype.renderSuggestion=function(e){return c.createElement("div",{className:"suggestion"},e)},t.prototype.renderButtons=function(){var e,t=this.props,n=t.controlled,r=t.submittable,o=(t.readOnly,t.buttons),i=t.showCopy,l=t.submittableType,p=t.value,f=t.hideButtons,h=this.state,v=h.editing;h.internalValue;o?Array.isArray(o)?e=s([],a(o)):(e=[]).push(o):e=[];var g="search"===l?"Search":"Confirm";if(f)return[];if(n){var m=v?d.ICON_CHECK:d.ICON_EDIT;e.push(c.createElement(u.default,{key:"btn-edit",style:"subtle",tooltip:"Edit",color:"secondary",onClick:this.evtHandlers.toggleEditing},m))}return r&&(e.push(c.createElement(u.default,{key:"btn-submit",style:"subtle",tooltip:g,color:"secondary",onClick:this.evtHandlers.forceSubmit},this.renderSubmittableIcon())),p&&e.push(c.createElement(u.default,{key:"btn-clear",style:"subtle",tooltip:"Clear",onClick:this.evtHandlers.clearValue},d.ICON_TIMES))),i&&e.push(c.createElement(u.default,{key:"btn-copy",style:"subtle",color:"primary",tooltip:"Copy to Clipboard",onClick:this.evtHandlers.copyToClipboard},d.ICON_CLIPBOARD)),e},t.prototype.renderInput=function(){var e=this,t=this.props,n=t.placeholder,r=t.controlled,o=t.submittable,a=t.disabled,s=t.readOnly,l=t.loading,u=this.state.suggestions,p=this.state.editing,f=r&&!p||a,d=r||o?"controlled-input":"",v={type:"text",placeholder:n,value:this.getValue(),disabled:f||l,readOnly:s,ref:this.inputRef,onFocus:function(t){return e.focus(t)},onBlur:function(t){return e.blur(t)}};return this.props.suggestions?(v.onChange=function(t,n){return e.onChange(t,n)},c.createElement(h,{suggestions:u,onSuggestionsFetchRequested:this.evtHandlers.onSuggestionsFetchRequested,onSuggestionsClearRequested:this.evtHandlers.onSuggestionsClearRequested,getSuggestionValue:this.evtHandlers.getSuggestionValue,renderSuggestion:this.evtHandlers.renderSuggestion,inputProps:v})):(v.onChange=function(t){return e.onChange(t)},c.createElement("input",i({className:""+d},v)))},t.prototype.render=function(){var e=this.props,t=e.label,n=e.width,r=e.tooltip,o=e.info,i=e.labelPosition;return c.createElement(p.default,{customClass:"text-field",label:t,buttons:this.renderButtons(),tooltip:r,info:o,labelPosition:i,width:n},this.renderInput())},t}(c.PureComponent);t.default=v},function(e,t,n){var r=n(95),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.compositions=t.previewer=t.assets=void 0,t.assets={tooltipFilter:"Filter by Asset type",previewNotAvailable:"Preview Not Available for this Asset Type",iconTypes:{filter:"Filter By Type",lut:"LUT",all:"All Types",video:"Video Files",audio:"Audio Files",video_composition:"Composition",image:"Image Files",image_sequence:"Image Sequences (Archive)",template:"Custom Template",static_composition:"Template",font:"Font Files"},uploads:{noUploads:"There are currently no assets uploading...",preparePhase:"Preparing asset...",autoTagInput:"Tag by filename",assignToStoryInput:"Assign to Story",assignToStoryInfo:"If selected, any assets uploaded will only be available to use with the currently selected story.",uploadButton:"Upload"},tags:{add:"Add new tag"},field:{fieldMismatchError:'Asset Type mismatch. Field only accepts "[accepts]" assets.',dragPrompt:"Drag Asset Here",tooltipClear:"Clear the selected Asset",tooltipFilter:"Filter assets to match Asset type"},details:"Asset Details",newDetails:"New Asset Details",name:"Name",date:"Date Created",addTag:"Add Tag",assetTag:"Tags"},t.previewer={previewVars:"Preview Variables",time:"Time Elapsed:",expRunning:"Rendering Experience",runExpStart:"Creating Experience",runExpError:"Error running experience - ID: [expId]",triggerExpError:"Error triggering experience - ID: [expId]",expId:"Running Experience - ID: [expId]",createExpError:"Error creating experience",logDownloadError:"Could not download log of Job: [jobId]",logURLError:"Could not retrieve log URL of Job: [jobId]",btnLog:"Job Log",btnRender:"Render",btnReRender:"Re-Render",expIdField:"Exp. ID"},t.compositions={name:"Name",width:"Width",height:"Height",rotation:"Rotation",color:"Color",x:"X",y:"Y",wrap:"Wrap",fit:"Fit",fillMode:"Fill Mode",hAlign:"H. Align",vAlign:"V. Align",backgroundColor:"Background",layers:"Layers",layerText:"Text",fontType:"Font Type",layerImage:"Image",fontSize:"Font Size",lineHeight:"Line Height",font:"Font",letterSpacing:"Letter Spacing",wordSpacing:"Word Spacing",tooltipName:"Display name of this composition.",tooltipBackgroundColor:"Background color of this composition. Can also be transparent.",tooltipWidth:"Width of the composition, in pixels",tooltipHeight:"Height of the composition, in pixels",tooltipAddLayer:"Add a new layer to the composition",tooltipLayerRotation:"Rotation angle of the layer, in degrees",tooltipLayerX:"Layer X position.",tooltipLayerY:"Layer Y position",tooltipLayerWidth:"Layer width, in pixels.",tooltipLayerHeight:"Layer height, in pixels",textOptions:"Text Options",textLayerContent:"Content",tooltipTextLayerContent:"The copy rendered in this layer. Wrap variables like so: {{variable_id}}."}},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.deleteAssetTag=t.updateAssetData=t.updateAssetName=t.addAssetTag=t.deleteAssets=t.getAssets=t.doAssetTableHydration=t.toggleLoading=void 0;var r=n(77),o=n(25),i={TOGGLE_LOADING:"assetList/TOGGLE_LOADING",GET:"assetList/GET",ADD_TAG:"assetList/ADD_TAG",DELETE_TAG:"assetList/DELETE_TAG",UPDATE_NAME:"assetList/UPDATE_NAME",UPDATE_DATA:"assetList/UPDATE_DATA"};t.toggleLoading=function(e){return{type:i.TOGGLE_LOADING,toggle:e}};t.doAssetTableHydration=function(e,n,i){return function(a){return new Promise((function(s,c){Promise.all([a(t.getAssets(e,n)),a(r.getAssetTagList(e,n))]).then((function(){a(o.resetSelection),s()})).catch((function(e){"function"==typeof i&&i(),c()}))}))}};t.getAssets=function(e,n){return function(r,o){return new Promise((function(a,s){var c=o(),l=c.assetFilters;c.loading||r(t.toggleLoading(!0)),e.getAssets(l,n,!0).then((function(e){r({type:i.GET,assetList:e}),r(t.toggleLoading(!1)),a()})).catch((function(e){r(t.toggleLoading(!1)),s()}))}))}};t.deleteAssets=function(e,n,r){return function(o){if(window.confirm("Are you sure you want to delete "+n.length+" assets?"))return new Promise((function(i,a){o(t.toggleLoading(!0)),e.deleteAssets(n).then((function(){o(t.getAssets(e,r)),i()})).catch((function(e){o(t.toggleLoading(!1)),a()}))}))}};t.addAssetTag=function(e,t,n,r){return function(r,o){return new Promise((function(o){var a,s=n.includes(",")?n.split(",").filter(String).map((function(e){return e.trim()})):[n];0===s.length&&o(),s.length>0&&(a=s.map((function(n){return e.addAssetTag(t,n).then((function(){return o()})).catch((function(e){return o(e)}))})),Promise.all(a).then((function(e){o()})),r({type:i.ADD_TAG,id:t,freshTags:s}))}))}};t.updateAssetName=function(e,t,n,r){return void 0===r&&(r=!1),function(o){return new Promise((function(a,s){o({type:i.UPDATE_NAME,id:t,name:n}),r||e.updateAsset(t,{name:n}).then((function(){a()})).catch((function(e){s()}))}))}};t.updateAssetData=function(e,t,n){return function(r){return new Promise((function(o,a){r({type:i.UPDATE_DATA,id:t,name:name}),e.updateAsset(t,{data:JSON.stringify(n)}).then((function(){o()})).catch((function(e){a()}))}))}};t.deleteAssetTag=function(e,t,n){return function(r){return new Promise((function(o,a){r({type:i.DELETE_TAG,id:t,tag:n}),e.deleteAssetTag(t,n).then((function(){o()})).catch((function(e){a()}))}))}},t.default=i},function(e,t,n){var r=n(23),o=n(216),i=n(217),a=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?o(e):i(e)}},function(e,t,n){var r=n(242),o=n(245);e.exports=function(e,t){var n=o(e,t);return r(n)?n:void 0}},function(e,t,n){"use strict";(function(e){var r=n(4),o=n(129),i="object"==typeof exports&&exports&&!exports.nodeType&&exports,a=i&&"object"==typeof e&&e&&!e.nodeType&&e,s=a&&a.exports===i?r.a.Buffer:void 0,c=(s?s.isBuffer:void 0)||o.a;t.a=c}).call(this,n(76)(e))},function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.updateFilters=void 0;var r={UPDATE:"assetFilters/UPDATE",RESET:"footageFilters/RESET"};t.updateFilters=function(e){return{type:r.UPDATE,newFilters:e}},t.default=r},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.getPlayerStyle=void 0;var i=n(0),a=n(6),s=n(27);t.getPlayerStyle=function(e,t,n,r,o,i,s){var c={width:e,height:t},l={width:n,height:r},u=a.fitToContainer(c,l,{scaleMode:"proportionalInside",maxWidth:i,maxHeight:s,padding:o}),p=u.width,f=u.height;return{top:u.top+"px",left:u.left+"px",width:p+"px",height:f+"px"}};var c=function(e){function n(t){var r=e.call(this,t)||this;return r.state={videoHeight:1080,videoWidth:1920,scaleMode:n.SCALE_MODES.AUTOMATIC},r.videoNode=i.createRef(),r}return o(n,e),n.prototype.getVideoStyle=function(){var e=this.state,n=e.videoHeight,r=e.videoWidth,o=this.props,i=o.padding,a=o.width,c=o.height,l=o.maxWidth,u=o.maxHeight,p=void 0!==i?i:s.DEFAULT_PADDING;return n&&r?t.getPlayerStyle(a,c,r,n,p,l,u):{}},n.prototype.setTime=function(e){var t=this.videoNode.current;t&&(t.currentTime=e)},n.prototype.metadataLoaded=function(e){this.setState({videoWidth:e.target.videoWidth,videoHeight:e.target.videoHeight})},n.prototype.renderCustomControls=function(){var e=this.props.customControls;return e?i.cloneElement(e,{videoNode:this.videoNode}):null},n.prototype.render=function(){var e=this,t=this.props,n=t.url,r=t.active,o=t.muted,a=t.customControls,s=t.hideDefaultControls,c=!a&&!s,l=!!this.props.autoPlay&&this.props.autoPlay;return!1!==r?i.createElement("div",{className:"media-player"},i.createElement("div",{className:"inner-viewer",style:this.getVideoStyle()},i.createElement("video",{controls:c,onLoadedMetadata:function(t){return e.metadataLoaded(t)},muted:o,src:n,ref:this.videoNode,preload:"auto",autoPlay:l}),this.renderCustomControls())):null},n.SCALE_MODES={MANUAL:"manual",AUTOMATIC:"automatic"},n}(i.PureComponent);t.default=c},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),a=n(9),s=n(3),c=function(e){function t(t){return e.call(this,t)||this}return o(t,e),t.prototype.toggle=function(e){this.props.propagate||e.stopPropagation(),this.props.onChange(!this.props.value,e)},t.prototype.render=function(){var e=this,t=this.props,n=t.value,r=t.label,o=t.width,c=t.tooltip,l=t.info,u=t.labelPosition,p=!0===n?s.ICON_CHECK:null;return i.createElement(a.default,{customClass:"checkbox-field",label:r,tooltip:c,info:l,labelPosition:u,width:o},i.createElement("div",{className:"checkbox",onClick:function(t){return e.toggle(t)}},p))},t}(i.PureComponent);t.default=c},function(e,t,n){var r=n(12).Symbol;e.exports=r},function(e,t,n){var r=n(97),o=n(224),i=n(36);e.exports=function(e){return i(e)?r(e):o(e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.selectMultipleAssets=t.selectAsset=t.resetSelection=t.deselectAsset=t.selectAll=void 0;t.selectAll=function(){return function(e,t){var n=t().assetList.assets.map((function(e){return e.id}));e({type:o.SELECT_ALL,allIds:n})}};t.deselectAsset=function(e){return{type:o.DESELECT_ASSET,id:e}};t.resetSelection=function(){return{type:o.RESET_SELECTION}};t.selectAsset=function(e){return{type:o.SELECT_ASSET,id:e}};t.selectMultipleAssets=function(e){return function(t,n){for(var i=n(),a=i.selectedAssets,s=i.assetList.assets,c=a[a.length-1],l=r(s,c),u=r(s,e),p=l<u?u:l,f=[],d=l<u?l:u;d<=p;d++){var h=s[d];f.push(h.id)}t({type:o.SELECT_MULTIPLE,assets:f}),window.getSelection().removeAllRanges()}};var r=function(e,t){for(var n=0;n<e.length;n++){if(e[n].id===t)return n}},o={SELECT_ALL:"selectAssets/SELECT_ALL",SELECT_MULTIPLE:"selectAssets/SELECT_MULTIPLE",SELECT_ASSET:"selectedAssets/SELECT_ASSET",DESELECT_ASSET:"selectedAssets/DESELECT_ASSET",RESET_SELECTION:"selectedAssets/RESET_SELECTION"};t.default=o},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.ASSET_COLORS=t.ASSET_TYPES=t.ASSET_ORIGIN=t.ASSET_DISTRO=void 0,t.ASSET_DISTRO="https://d188rqu2y6x0ew.cloudfront.net",t.ASSET_ORIGIN="https://imposium-footage.s3.us-east-1.amazonaws.com",t.ASSET_TYPES={VIDEO_COMPOSITION:"video_composition",STATIC_COMPOSITION:"static_composition",VIDEO:"video",IMAGE:"image",TEMPLATE:"template",AUDIO:"audio",IMAGE_SEQUENCE:"image_sequence",FONT:"font",LUT:"lut",ALL:"all"},t.ASSET_COLORS=((r={})[t.ASSET_TYPES.VIDEO]="rgba(236,22,150, 1)",r[t.ASSET_TYPES.IMAGE]="rgba(241,191,21, 1)",r[t.ASSET_TYPES.AUDIO]="rgba(72,177,222,1)",r[t.ASSET_TYPES.TEMPLATE]="rgba(208, 80, 35, 1)",r[t.ASSET_TYPES.VIDEO_COMPOSITION]="rgba(215, 22, 22, 1)",r[t.ASSET_TYPES.IMAGE_SEQUENCE]="rgba(241,191,21, 1)",r)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_PADDING=void 0,t.DEFAULT_PADDING=35},function(e,t,n){var r;!function(o){var i=/^\s+/,a=/\s+$/,s=0,c=o.round,l=o.min,u=o.max,p=o.random;function f(e,t){if(t=t||{},(e=e||"")instanceof f)return e;if(!(this instanceof f))return new f(e,t);var n=function(e){var t={r:0,g:0,b:0},n=1,r=null,s=null,c=null,p=!1,f=!1;"string"==typeof e&&(e=function(e){e=e.replace(i,"").replace(a,"").toLowerCase();var t,n=!1;if(k[e])e=k[e],n=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};if(t=V.rgb.exec(e))return{r:t[1],g:t[2],b:t[3]};if(t=V.rgba.exec(e))return{r:t[1],g:t[2],b:t[3],a:t[4]};if(t=V.hsl.exec(e))return{h:t[1],s:t[2],l:t[3]};if(t=V.hsla.exec(e))return{h:t[1],s:t[2],l:t[3],a:t[4]};if(t=V.hsv.exec(e))return{h:t[1],s:t[2],v:t[3]};if(t=V.hsva.exec(e))return{h:t[1],s:t[2],v:t[3],a:t[4]};if(t=V.hex8.exec(e))return{r:D(t[1]),g:D(t[2]),b:D(t[3]),a:H(t[4]),format:n?"name":"hex8"};if(t=V.hex6.exec(e))return{r:D(t[1]),g:D(t[2]),b:D(t[3]),format:n?"name":"hex"};if(t=V.hex4.exec(e))return{r:D(t[1]+""+t[1]),g:D(t[2]+""+t[2]),b:D(t[3]+""+t[3]),a:H(t[4]+""+t[4]),format:n?"name":"hex8"};if(t=V.hex3.exec(e))return{r:D(t[1]+""+t[1]),g:D(t[2]+""+t[2]),b:D(t[3]+""+t[3]),format:n?"name":"hex"};return!1}(e));"object"==typeof e&&(q(e.r)&&q(e.g)&&q(e.b)?(d=e.r,h=e.g,v=e.b,t={r:255*N(d,255),g:255*N(h,255),b:255*N(v,255)},p=!0,f="%"===String(e.r).substr(-1)?"prgb":"rgb"):q(e.h)&&q(e.s)&&q(e.v)?(r=M(e.s),s=M(e.v),t=function(e,t,n){e=6*N(e,360),t=N(t,100),n=N(n,100);var r=o.floor(e),i=e-r,a=n*(1-t),s=n*(1-i*t),c=n*(1-(1-i)*t),l=r%6;return{r:255*[n,s,a,a,c,n][l],g:255*[c,n,n,s,a,a][l],b:255*[a,a,c,n,n,s][l]}}(e.h,r,s),p=!0,f="hsv"):q(e.h)&&q(e.s)&&q(e.l)&&(r=M(e.s),c=M(e.l),t=function(e,t,n){var r,o,i;function a(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}if(e=N(e,360),t=N(t,100),n=N(n,100),0===t)r=o=i=n;else{var s=n<.5?n*(1+t):n+t-n*t,c=2*n-s;r=a(c,s,e+1/3),o=a(c,s,e),i=a(c,s,e-1/3)}return{r:255*r,g:255*o,b:255*i}}(e.h,r,c),p=!0,f="hsl"),e.hasOwnProperty("a")&&(n=e.a));var d,h,v;return n=I(n),{ok:p,format:e.format||f,r:l(255,u(t.r,0)),g:l(255,u(t.g,0)),b:l(255,u(t.b,0)),a:n}}(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=c(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=c(this._r)),this._g<1&&(this._g=c(this._g)),this._b<1&&(this._b=c(this._b)),this._ok=n.ok,this._tc_id=s++}function d(e,t,n){e=N(e,255),t=N(t,255),n=N(n,255);var r,o,i=u(e,t,n),a=l(e,t,n),s=(i+a)/2;if(i==a)r=o=0;else{var c=i-a;switch(o=s>.5?c/(2-i-a):c/(i+a),i){case e:r=(t-n)/c+(t<n?6:0);break;case t:r=(n-e)/c+2;break;case n:r=(e-t)/c+4}r/=6}return{h:r,s:o,l:s}}function h(e,t,n){e=N(e,255),t=N(t,255),n=N(n,255);var r,o,i=u(e,t,n),a=l(e,t,n),s=i,c=i-a;if(o=0===i?0:c/i,i==a)r=0;else{switch(i){case e:r=(t-n)/c+(t<n?6:0);break;case t:r=(n-e)/c+2;break;case n:r=(e-t)/c+4}r/=6}return{h:r,s:o,v:s}}function v(e,t,n,r){var o=[L(c(e).toString(16)),L(c(t).toString(16)),L(c(n).toString(16))];return r&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function g(e,t,n,r){return[L(F(r)),L(c(e).toString(16)),L(c(t).toString(16)),L(c(n).toString(16))].join("")}function m(e,t){t=0===t?0:t||10;var n=f(e).toHsl();return n.s-=t/100,n.s=R(n.s),f(n)}function y(e,t){t=0===t?0:t||10;var n=f(e).toHsl();return n.s+=t/100,n.s=R(n.s),f(n)}function b(e){return f(e).desaturate(100)}function _(e,t){t=0===t?0:t||10;var n=f(e).toHsl();return n.l+=t/100,n.l=R(n.l),f(n)}function w(e,t){t=0===t?0:t||10;var n=f(e).toRgb();return n.r=u(0,l(255,n.r-c(-t/100*255))),n.g=u(0,l(255,n.g-c(-t/100*255))),n.b=u(0,l(255,n.b-c(-t/100*255))),f(n)}function x(e,t){t=0===t?0:t||10;var n=f(e).toHsl();return n.l-=t/100,n.l=R(n.l),f(n)}function E(e,t){var n=f(e).toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,f(n)}function O(e){var t=f(e).toHsl();return t.h=(t.h+180)%360,f(t)}function C(e){var t=f(e).toHsl(),n=t.h;return[f(e),f({h:(n+120)%360,s:t.s,l:t.l}),f({h:(n+240)%360,s:t.s,l:t.l})]}function T(e){var t=f(e).toHsl(),n=t.h;return[f(e),f({h:(n+90)%360,s:t.s,l:t.l}),f({h:(n+180)%360,s:t.s,l:t.l}),f({h:(n+270)%360,s:t.s,l:t.l})]}function A(e){var t=f(e).toHsl(),n=t.h;return[f(e),f({h:(n+72)%360,s:t.s,l:t.l}),f({h:(n+216)%360,s:t.s,l:t.l})]}function S(e,t,n){t=t||6,n=n||30;var r=f(e).toHsl(),o=360/n,i=[f(e)];for(r.h=(r.h-(o*t>>1)+720)%360;--t;)r.h=(r.h+o)%360,i.push(f(r));return i}function P(e,t){t=t||6;for(var n=f(e).toHsv(),r=n.h,o=n.s,i=n.v,a=[],s=1/t;t--;)a.push(f({h:r,s:o,v:i})),i=(i+s)%1;return a}f.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,n,r=this.toRgb();return e=r.r/255,t=r.g/255,n=r.b/255,.2126*(e<=.03928?e/12.92:o.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:o.pow((t+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:o.pow((n+.055)/1.055,2.4))},setAlpha:function(e){return this._a=I(e),this._roundA=c(100*this._a)/100,this},toHsv:function(){var e=h(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=h(this._r,this._g,this._b),t=c(360*e.h),n=c(100*e.s),r=c(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var e=d(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=d(this._r,this._g,this._b),t=c(360*e.h),n=c(100*e.s),r=c(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return v(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,n,r,o){var i=[L(c(e).toString(16)),L(c(t).toString(16)),L(c(n).toString(16)),L(F(r))];if(o&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)&&i[3].charAt(0)==i[3].charAt(1))return i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0);return i.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:c(this._r),g:c(this._g),b:c(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+c(this._r)+", "+c(this._g)+", "+c(this._b)+")":"rgba("+c(this._r)+", "+c(this._g)+", "+c(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:c(100*N(this._r,255))+"%",g:c(100*N(this._g,255))+"%",b:c(100*N(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+c(100*N(this._r,255))+"%, "+c(100*N(this._g,255))+"%, "+c(100*N(this._b,255))+"%)":"rgba("+c(100*N(this._r,255))+"%, "+c(100*N(this._g,255))+"%, "+c(100*N(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(j[v(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+g(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?"GradientType = 1, ":"";if(e){var o=f(e);n="#"+g(o._r,o._g,o._b,o._a)}return"progid:DXImageTransform.Microsoft.gradient("+r+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,r=this._a<1&&this._a>=0;return t||!r||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return f(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(_,arguments)},brighten:function(){return this._applyModification(w,arguments)},darken:function(){return this._applyModification(x,arguments)},desaturate:function(){return this._applyModification(m,arguments)},saturate:function(){return this._applyModification(y,arguments)},greyscale:function(){return this._applyModification(b,arguments)},spin:function(){return this._applyModification(E,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(S,arguments)},complement:function(){return this._applyCombination(O,arguments)},monochromatic:function(){return this._applyCombination(P,arguments)},splitcomplement:function(){return this._applyCombination(A,arguments)},triad:function(){return this._applyCombination(C,arguments)},tetrad:function(){return this._applyCombination(T,arguments)}},f.fromRatio=function(e,t){if("object"==typeof e){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]="a"===r?e[r]:M(e[r]));e=n}return f(e,t)},f.equals=function(e,t){return!(!e||!t)&&f(e).toRgbString()==f(t).toRgbString()},f.random=function(){return f.fromRatio({r:p(),g:p(),b:p()})},f.mix=function(e,t,n){n=0===n?0:n||50;var r=f(e).toRgb(),o=f(t).toRgb(),i=n/100;return f({r:(o.r-r.r)*i+r.r,g:(o.g-r.g)*i+r.g,b:(o.b-r.b)*i+r.b,a:(o.a-r.a)*i+r.a})},f.readability=function(e,t){var n=f(e),r=f(t);return(o.max(n.getLuminance(),r.getLuminance())+.05)/(o.min(n.getLuminance(),r.getLuminance())+.05)},f.isReadable=function(e,t,n){var r,o,i=f.readability(e,t);switch(o=!1,(r=function(e){var t,n;t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),n=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA");"small"!==n&&"large"!==n&&(n="small");return{level:t,size:n}}(n)).level+r.size){case"AAsmall":case"AAAlarge":o=i>=4.5;break;case"AAlarge":o=i>=3;break;case"AAAsmall":o=i>=7}return o},f.mostReadable=function(e,t,n){var r,o,i,a,s=null,c=0;o=(n=n||{}).includeFallbackColors,i=n.level,a=n.size;for(var l=0;l<t.length;l++)(r=f.readability(e,t[l]))>c&&(c=r,s=f(t[l]));return f.isReadable(e,s,{level:i,size:a})||!o?s:(n.includeFallbackColors=!1,f.mostReadable(e,["#fff","#000"],n))};var k=f.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},j=f.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(k);function I(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function N(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=l(t,u(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),o.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function R(e){return l(1,u(0,e))}function D(e){return parseInt(e,16)}function L(e){return 1==e.length?"0"+e:""+e}function M(e){return e<=1&&(e=100*e+"%"),e}function F(e){return o.round(255*parseFloat(e)).toString(16)}function H(e){return D(e)/255}var U,z,B,V=(z="[\\s|\\(]+("+(U="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+U+")[,|\\s]+("+U+")\\s*\\)?",B="[\\s|\\(]+("+U+")[,|\\s]+("+U+")[,|\\s]+("+U+")[,|\\s]+("+U+")\\s*\\)?",{CSS_UNIT:new RegExp(U),rgb:new RegExp("rgb"+z),rgba:new RegExp("rgba"+B),hsl:new RegExp("hsl"+z),hsla:new RegExp("hsla"+B),hsv:new RegExp("hsv"+z),hsva:new RegExp("hsva"+B),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function q(e){return!!V.CSS_UNIT.exec(e)}e.exports?e.exports=f:void 0===(r=function(){return f}.call(t,n,t,e))||(e.exports=r)}(Math)},function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},o=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},i=this&&this.__spreadArray||function(e,t){for(var n=0,r=t.length,o=e.length;n<r;n++,o++)e[o]=t[n];return e};Object.defineProperty(t,"__esModule",{value:!0});var a=n(192),s=n(52),c=function(){function e(){}return e.LAST_STORY_ID_CACHE="imp_hub_last_story_id",e.LAST_ORG_ID_CACHE="imp_hub_last_org_id",e.SESSION_COOKIE_NAME="auth_state",e.FRESH_COOKIE={sub:"",organization_id:"",story_id:"",stories_hash:0,orgs_hash:0},e.getAccessData=function(t){return new Promise((function(n,r){s.default.get(e.determineAccessUrl(),{headers:{Authorization:"Bearer "+t}}).then((function(e){n(e.data?e.data:[])})).catch((function(e){r(e)}))}))},e.getSession=function(){return a.getJSON(e.SESSION_COOKIE_NAME)},e.removeSession=function(){var t=e.scrapeDomain();a.remove(e.SESSION_COOKIE_NAME,{domain:t})},e.buildFreshSession=function(t,n){var r,o,i,a,s=t.idTokenPayload,c=s.sub,l=s.exp,u=n.organizations,p="",f="";try{o=localStorage.getItem(e.LAST_ORG_ID_CACHE),i=localStorage.getItem(e.LAST_STORY_ID_CACHE)}catch(e){console.warn("Failed to look up cached hub settings",e)}o&&"object"==typeof(a=n.organizations.find((function(e){return e.id===o})))&&a.hasOwnProperty("id")&&(p=o),i&&p&&a.stories.find((function(e){return e.id===i}))&&(f=i),!p&&u.length>0&&"object"==typeof u[0]&&u[0].hasOwnProperty("id")&&(p=u[0].id),!f&&u[0].stories.length>0&&"object"==typeof u[0].stories[0]&&u[0].stories[0].hasOwnProperty("id")&&(f=u[0].stories[0].id),r={sub:c,organization_id:p,story_id:f,stories_hash:e.generateStoriesHash(n),orgs_hash:e.generateOrgsHash(n)},e.storeSession(r,l)},e.storeSession=function(t,n){var o=r(r({},e.FRESH_COOKIE),t),i=e.scrapeDomain(),s=new Date(1e3*n);a.set(e.SESSION_COOKIE_NAME,o,{domain:i,expires:s})},e.updateSession=function(t,n){var o=e.getSession(),i=r(r({},o),t);if(t.hasOwnProperty("organization_id"))try{localStorage.setItem(e.LAST_ORG_ID_CACHE,t.organization_id)}catch(e){console.warn("Failed to cache last organization id selected",e)}if(t.hasOwnProperty("story_id"))try{localStorage.setItem(e.LAST_STORY_ID_CACHE,t.story_id)}catch(e){console.warn("Failed to cache last story id selected",e)}e.storeSession(i,n)},e.generateOrgsHash=function(t){var n=t.organizations.map((function(e){return e.id})).join("");return e.string2Hash(n)},e.generateStoriesHash=function(t){var n=t.organizations.reduce((function(e,t){return i(i([],o(e)),o(t.stories))}),[]).map((function(e){return""+e.id+e.name})).join("");return e.string2Hash(n)},e.string2Hash=function(e){var t=0;if(0===e.length)return t;for(var n=0;n<e.length;n++)t=(t<<5)-t+e.charCodeAt(n),t|=0;return t},e.scrapeDomain=function(){var e=window.location.host.split(".").reverse();return e.length>2?"."+e[1]+"."+e[0].split(":")[0]:null},e.determineAccessUrl=function(){var e=window.location,t=e.hostname,n=e.host;return"localhost"===t?"https://api/access":n.includes(".staging.")?"https://api.staging.imposium.com/access":"https://api.imposium.com/access"},e}();t.default=c},function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var o=n(193),i=function(){function e(){}return e.IMPOSIUM_APP_DEFAULTS={domain:"imposium.auth0.com",scope:"openid",responseType:"token id_token",redirectUri:window.location.origin+"/auth"},e.bindToClient=function(t){e.auth0Client=new o.WebAuth(r({clientID:t},e.IMPOSIUM_APP_DEFAULTS))},e.login=function(){e.auth0Client.authorize()},e.logout=function(){e.auth0Client.logout({returnTo:window.location.origin+"/auth"})},e.checkExpiry=function(e){return e>Date.now().valueOf()/1e3},e.parseIdFromHash=function(t){return new Promise((function(n,r){e.auth0Client.parseHash({options:t},(function(e,t){e?r(e):n(t)}))}))},e.checkSession=function(){return new Promise((function(t,n){e.auth0Client.checkSession({},(function(e,r){e?n(e):t(r)}))}))},e}();t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.clearCachedAuth=t.login=t.AUTH_CACHE_KEY=void 0,t.AUTH_CACHE_KEY="imposium_hub_creds";t.login=function(e){try{localStorage.setItem(t.AUTH_CACHE_KEY,JSON.stringify(e))}catch(e){console.warn("Failed to cache auth creds...")}return{type:r.LOGIN,auth:e}};t.clearCachedAuth=function(){try{localStorage.removeItem(t.AUTH_CACHE_KEY)}catch(e){console.warn("Failed to remove cached creds")}return{type:r.CLEAR}};var r={LOGIN:"auth/LOGIN",CLEAR:"auth/CLEAR"};t.default=r},function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},o=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},i=this&&this.__spreadArray||function(e,t){for(var n=0,r=t.length,o=e.length;n<r;n++,o++)e[o]=t[n];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.storyDeleted=t.storyNameMutated=t.orgNameMutated=t.storyAdded=t.clearCachedAccessList=t.cacheAccessData=t.ACCESS_CACHE_KEY=void 0;var a=n(29);t.ACCESS_CACHE_KEY="imposium_access_list";t.cacheAccessData=function(e){return s(e),{type:c.SET,accessData:e}};t.clearCachedAccessList=function(){try{localStorage.removeItem(t.ACCESS_CACHE_KEY)}catch(e){console.warn("Failed to clear access list cache from local storage.")}return{type:c.CLEAR}};t.storyAdded=function(e,t){return function(n,l){var u=l(),p=u.access,f=u.auth.idTokenPayload.exp,d=u.routing.locationBeforeTransitions.query.organization_id,h=r(r({},p),{organizations:p.organizations.map((function(n){return n.id===d?r(r({},n),{stories:i(i([],o(n.stories)),[{id:e,name:t}]).sort((function(e,t){return e.name.localeCompare(t.name)}))}):n}))});a.default.updateSession({stories_hash:a.default.generateStoriesHash(h)},f),s(h),n({type:c.STORY_ADDED,accessData:h})}};t.orgNameMutated=function(e,t){return function(n,o){var i=o(),l=i.access,u=i.auth.idTokenPayload.exp,p=r(r({},l),{organizations:l.organizations.map((function(n){return n.id===e?r(r({},n),{name:t}):n}))});a.default.updateSession({stories_hash:a.default.generateOrgsHash(p)},u),s(p),n({type:c.ORG_NAME_MUTATION,accessData:p})}};t.storyNameMutated=function(e,t){return function(n,o){var i=o(),l=i.access,u=i.auth.idTokenPayload.exp,p=i.routing.locationBeforeTransitions.query.organization_id,f=r(r({},l),{organizations:l.organizations.map((function(n){return n.id===p?r(r({},n),{stories:n.stories.map((function(n){return n.id===e?r(r({},n),{name:t}):n}))}):n}))});a.default.updateSession({stories_hash:a.default.generateOrgsHash(f)},u),s(f),n({type:c.STORY_NAME_MUTATION,accessData:f})}};t.storyDeleted=function(e){return function(t,n){var o=n(),i=o.access,l=o.auth.idTokenPayload.exp,u=o.routing.locationBeforeTransitions.query.organization_id,p=r(r({},i),{organizations:i.organizations.map((function(t){return t.id===u?r(r({},t),{stories:t.stories.filter((function(t){return t.id!==e}))}):t}))});a.default.updateSession({story_id:"",stories_hash:a.default.generateStoriesHash(p)},l),s(p),t({type:c.STORY_DELETED,accessData:p})}};var s=function(e){try{localStorage.setItem(t.ACCESS_CACHE_KEY,JSON.stringify(e))}catch(e){console.warn("Failed to cache access list in local storage.")}},c={SET:"access/SET",CLEAR:"access/CLEAR",STORY_ADDED:"access/STORY_ADDED",STORY_NAME_MUTATION:"access/STORY_NAME_MUTATION",ORG_NAME_MUTATION:"access/ORG_NAME_MUTATION",STORY_DELETED:"access/STORY_DELETED"};t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),o=n(3);t.default=function(){return r.createElement("div",{className:"spinner"},r.createElement("div",{className:"icon"},o.ICON_CIRCLE_NOTCH))}},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},a=this&&this.__spreadArray||function(e,t){for(var n=0,r=t.length,o=e.length;n<r;n++,o++)e[o]=t[n];return e};Object.defineProperty(t,"__esModule",{value:!0});var s=n(0),c=n(9),l=n(3),u=function(e){function t(t){return e.call(this,t)||this}return o(t,e),t.prototype.onChange=function(e){var t=e.target.value;"true"===t&&(t=!0),"false"===t&&(t=!1),this.props.onChange(t)},t.prototype.render=function(){var e,t=this,n=this.props,r=n.label,o=(n.placeholder,n.options),u=n.value,p=n.width,f=n.buttons,d=n.selectRef,h=n.disable,v=n.tooltip,g=n.info,m=n.labelPosition,y=n.disableFirst,b=[],_=null==u?"":u,w=s.createElement("div",{key:"caret",className:"caret"},l.ICON_CARET_DOWN);return e=f?Array.isArray(f)?a([w],i(f)):[w,f]:[w],o&&(b=o.map((function(e,t){var n=!(0!==t||!y),r=void 0!==e.value?e.value:e,o=void 0!==e.label?e.label:e;return s.createElement("option",{disabled:n,key:"option-"+r,value:r},o)}))),s.createElement(c.default,{customClass:"select-field",label:r,tooltip:v,buttons:e,info:g,labelPosition:m,width:p},s.createElement("select",{value:_,onChange:function(e){return t.onChange(e)},ref:d,disabled:h},b))},t}(s.PureComponent);t.default=u},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),a=n(9),s=function(e){function t(t){var n=e.call(this,t)||this;return n.inputRef=i.createRef(),n}return o(t,e),t.prototype.onChange=function(e){var t=e.target.value;t=""===t?null:parseFloat(t),this.props.onChange(t)},t.prototype.onSelectFocus=function(){},t.prototype.onSelectBlur=function(){},t.prototype.handleLabelDrag=function(e){var t=this.props.value+e;this.props.onChange(t)},t.prototype.render=function(){var e=this,t=this.props,n=t.label,r=t.placeholder,o=t.width,s=t.readOnly,c=t.buttons,l=t.tooltip,u=t.info,p=t.labelPosition,f=t.min,d=t.max,h=this.props.value;return null===h&&(h=""),i.createElement(a.default,{customClass:"number-field",label:n,tooltip:l,buttons:c,info:u,labelPosition:p,width:o},i.createElement("input",{ref:this.inputRef,type:"number",pattern:"/^-?(0|[1-9]d*)(.d+)?$/",placeholder:r,value:h,readOnly:s,min:f,max:d,onFocus:function(){return e.onSelectFocus()},onBlur:function(){return e.onSelectBlur()},onChange:function(t){return e.onChange(t)}}))},t}(i.PureComponent);t.default=s},function(e,t,n){var r=n(102),o=n(62);e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},function(e,t,n){var r=n(232),o=n(233),i=n(234),a=n(235),s=n(236);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=a,c.prototype.set=s,e.exports=c},function(e,t,n){var r=n(68);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},function(e,t,n){var r=n(17)(Object,"create");e.exports=r},function(e,t,n){var r=n(254);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},function(e,t,n){var r=n(269),o=n(69),i=n(270),a=n(271),s=n(272),c=n(16),l=n(105),u=l(r),p=l(o),f=l(i),d=l(a),h=l(s),v=c;(r&&"[object DataView]"!=v(new r(new ArrayBuffer(1)))||o&&"[object Map]"!=v(new o)||i&&"[object Promise]"!=v(i.resolve())||a&&"[object Set]"!=v(new a)||s&&"[object WeakMap]"!=v(new s))&&(v=function(e){var t=c(e),n="[object Object]"==t?e.constructor:void 0,r=n?l(n):"";if(r)switch(r){case u:return"[object DataView]";case p:return"[object Map]";case f:return"[object Promise]";case d:return"[object Set]";case h:return"[object WeakMap]"}return t}),e.exports=v},function(e,t,n){var r=n(73);e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},function(e,t,n){var r=n(117),o=n(118);e.exports=function(e,t,n,i){var a=!n;n||(n={});for(var s=-1,c=t.length;++s<c;){var l=t[s],u=i?i(n[l],e[l],l,n,e):void 0;void 0===u&&(u=e[l]),a?o(n,l,u):r(n,l,u)}return n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),o=n(3),i=n(6),a=r.memo((function(e){if("string"!=typeof e.copy)throw new Error("Prop passed to Tag is not string: ");var t=e.colorize?""+i.string2HexCode(e.copy):"",n="function"==typeof e.removeHandler&&r.createElement("div",{className:"remove-tag",onClick:e.removeHandler},o.ICON_TIMES);return r.createElement("div",{key:e.copy,style:{borderLeftColor:t},className:"imposium-tag"},e.copy,n)}));t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0);t.default=function(e){var t=e.style;return t||(t="default"),r.createElement("div",{className:"horizontal-rule "+t})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.uploadAssets=t.toggleAssignToStory=t.toggleAutoTag=void 0;var r=n(15),o={TOGGLE_AUTO_TAG:"assetUploads/TOGGLE_AUTO_TAG",TOGGLE_ASSIGN_TO_STORY:"assetUploads/TOGGLE_ASSIGN_TO_STORY",ADD_UPLOAD:"assetUploads/ADD_UPLOAD",UPDATE_PERCENT_UPLOADED:"assetUploads/UPDATE_PERCENT_UPLOADED",REMOVE_UPLOAD:"assetUploads/REMOVE_UPLOAD"};t.toggleAutoTag=function(e){return{type:o.TOGGLE_AUTO_TAG,toggle:e}};t.toggleAssignToStory=function(e){return{type:o.TOGGLE_ASSIGN_TO_STORY,toggle:e}};t.uploadAssets=function(e,t,n,a){return function(s,c){var l=c().assetUploads,u=l.autoTag,p=l.uploads,f=l.assignToStory&&n?n:null,d=t.map((function(e){var t=p.filter((function(t){return t.filename.includes(e.name)})),n=t.length>0?e.name+" ("+t.length+")":e.name,r=u?e.name.substr(0,e.name.lastIndexOf(".")).split("_").join(","):"";return s({type:o.ADD_UPLOAD,uploadMeta:{filename:n,percent:0}}),{file:e,tags:r,filename:n,onUploadProgress:function(e){s({type:o.UPDATE_PERCENT_UPLOADED,percent:Math.floor(100*e.loaded/e.total),filename:n})}}})),h=d.map((function(t){return e.uploadAsset(f,t.tags,t.file,t.onUploadProgress)}));Promise.all(h).then((function(t){var c=t.map((function(t,i){return a&&a(t[0]),{footageId:t[0].id,jobId:t[0].job_id,onProcessed:function(){s({type:o.REMOVE_UPLOAD,filename:d[i].filename}),r.doAssetTableHydration(e,n)}}}));(c=c.filter((function(t,i){var a="string"==typeof t.jobId;return a||(s({type:o.REMOVE_UPLOAD,filename:d[i].filename}),r.doAssetTableHydration(e,n)),a}))).length>0&&i(e,c,-1)})).catch((function(e){console.error("Error(s) uploading footage: ",e)}))}};var i=function(e,t,n){n=window.setTimeout((function(){var r=t.map((function(t){return e.getJob(t.jobId)}));Promise.all(r).then((function(r){var o;clearTimeout(n),r.forEach((function(e){"processing"!==e.status&&"completed"!==e.status||(o=t.find((function(t){return t.jobId===e.id})))&&(o.onProcessed(),t=t.filter((function(t){return t.jobId!==e.id})))})),t.length>0&&i(e,t,n)})).catch((function(e){console.error("Failed to poll for processing jobs:",e)}))}),5e3)};t.default=o},function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.getNewCompositionLayer=t.VARIABLE_TYPES=t.TEXT_SIZE_OPTIONS=t.DEFAULT_FONT=t.FILL_MODES=t.STADARD_FONTS=t.FONT_TYPE_OPTIONS=t.FONT_TYPES=void 0;var o=n(6);t.FONT_TYPES={STANDARD:"standard",CUSTOM:"custom"},t.FONT_TYPE_OPTIONS=[{label:"Standard",value:t.FONT_TYPES.STANDARD},{label:"Custom",value:t.FONT_TYPES.CUSTOM}],t.STADARD_FONTS=["Arial","Courier New","Georgia","Impact","Times New Roman","Trebuchet MS","Verdana"],t.FILL_MODES={FIT:"fit",FILL:"fill",STRETCH:"stretch"},t.DEFAULT_FONT="Arial",t.TEXT_SIZE_OPTIONS=[{label:"6px",value:6},{label:"8px",value:8},{label:"9px",value:9},{label:"10px",value:10},{label:"11px",value:11},{label:"12px",value:12},{label:"14px",value:14},{label:"16px",value:16},{label:"18px",value:18},{label:"24px",value:24},{label:"30px",value:30},{label:"36px",value:36},{label:"48px",value:48},{label:"60px",value:60},{label:"72px",value:72}],t.VARIABLE_TYPES={TEXT:"text",NUMBER:"number",BOOLEAN:"boolean",ENUM:"enum",IMAGE:"image",VIDEO:"video",AUDIO:"audio"};t.getNewCompositionLayer=function(){var e=r({},i);return e.id=o.generateUUID(),e};var i={id:null,x:0,y:0,width:200,height:100,rotation:0,name:"New Layer",content:"",color:"#000000",background_color:"transparent",font_size:24,font_type:"standard",font:t.DEFAULT_FONT,custom_font_id:null,custom_font_url:null,letter_spacing:null,word_spacing:null,line_height:null,horizontal_alignment:"center",vertical_alignment:"center",text_wrap:!0,text_fit:!0}},function(e,t,n){"use strict";(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.a=n}).call(this,n(53))},function(e,t){e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M224 256A128 128 0 1 0 96 128a128 128 0 0 0 128 128zm96 64a63.08 63.08 0 0 1 8.1-30.5c-4.8-.5-9.5-1.5-14.5-1.5h-16.7a174.08 174.08 0 0 1-145.8 0h-16.7A134.43 134.43 0 0 0 0 422.4V464a48 48 0 0 0 48 48h280.9a63.54 63.54 0 0 1-8.9-32zm288-32h-32v-80a80 80 0 0 0-160 0v80h-32a32 32 0 0 0-32 32v160a32 32 0 0 0 32 32h224a32 32 0 0 0 32-32V320a32 32 0 0 0-32-32zM496 432a32 32 0 1 1 32-32 32 32 0 0 1-32 32zm32-144h-64v-80a32 32 0 0 1 64 0z";t.definition={prefix:"fas",iconName:"user-lock",icon:[640,512,r,"f502",o]},t.faUserLock=t.definition,t.prefix="fas",t.iconName="user-lock",t.width=640,t.height=512,t.ligatures=r,t.unicode="f502",t.svgPathData=o},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),a=function(e){function t(n){var r=e.call(this,n)||this;return r.resizeHandler=function(){return r.onResize()},r.clickHandler=function(e){return r.detectOutsideClick(e)},r.escHandler=function(e){return r.onEsc(e)},r.dropdownRef=null,r.onResize=function(){var e=r.props.toggleRef;if(void 0!==e){var t=e.current.getBoundingClientRect(),n=t.top,o=t.left,i=t.bottom,a=t.right;r.setState({offset:{top:n,left:o,bottom:i,right:a}})}},r.cancelRender=function(e){void 0===e&&(e=!1);var t=r.props.onOutsideClick;window.removeEventListener("resize",r.resizeHandler),window.removeEventListener("mousedown",r.clickHandler),window.addEventListener("keydown",r.onEsc),r.setState({build:!1,offset:{}}),e&&t()},r.onEsc=function(e){r.props.onOutsideClick;e.keyCode===t.ESC_CODE&&r.cancelRender(!0)},r.detectOutsideClick=function(e){var t=r.props,n=t.toggleRef,o=(t.onOutsideClick,e.target);!r.dropdownRef.current||r.dropdownRef.current.contains(o)||n.current.contains(o)||r.cancelRender(!0)},r.state={build:!1,offset:{}},r.dropdownRef=i.createRef(),r}return o(t,e),t.prototype.componentDidUpdate=function(e){var t=this;this.props.show&&!e.show&&(this.onResize(),this.setState({build:!0},(function(){window.addEventListener("resize",t.resizeHandler),window.addEventListener("mousedown",t.clickHandler),window.addEventListener("keydown",t.onEsc)}))),!this.props.show&&e.show&&this.cancelRender()},t.prototype.render=function(){var e=this.state,t=e.build,n=e.offset,r=this.props,o=r.show,a=r.position,s=r.children,c={position:r.fixed?"fixed":"absolute",transform:t?"scaleY(1)":"scaleY(0)",opacity:t?"1":"0"};if(!o)return null;if(n){var l=document.documentElement.clientWidth,u=(n.top,n.left),p=n.bottom,f=n.right;switch(a){case"topleft":case"topright":case"bottomleft":c.top=p+5+"px",c.left=u+"px",c.transformOrigin="top left";break;case"bottomright":c.top=p+5+"px",c.right=l-f+"px",c.transformOrigin="top right"}}return i.createElement("div",{className:"imposium-dropdown",style:c,ref:this.dropdownRef},s)},t.ESC_CODE=27,t}(i.PureComponent);t.default=a},function(e,t){e.exports=o},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.renderTooltip=t.renderTooltipProps=void 0;var r=n(0),o=n(88),i=n(202);t.renderTooltipProps=function(e,t){return t?{"data-tip":"object"==typeof t?t.content:t,"data-for":e}:{}};t.renderTooltip=function(e,t){var n=document.getElementById("tooltips");if(t&&n){var a="light",s="top";"object"==typeof t&&(a=t.theme?t.theme:"light",s=t.position?t.position:"top");var c=r.createElement(i,{place:s,offset:{top:0,right:0,bottom:0,left:0},id:e,className:"imposium-button-tooltip-"+a,delayShow:1e3,effect:"solid"});return o.createPortal(c,n)}return null}},function(e,t){e.exports=i},function(e,t){e.exports=a},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var a=n(0),s=n(9),c=n(54),l=function(e){function t(t){var n=e.call(this,t)||this;return n.clickCounter=0,n.handleMultipleClicks=function(e,t){n.clickCounter++,1===n.clickCounter&&(n.clickTimeout=window.setTimeout((function(){n.clickCounter=0,e()}),300)),2===n.clickCounter&&(clearTimeout(n.clickTimeout),n.clickCounter=0,t())},n.render=function(){var e=n.props,t=e.value,r=e.label,o=e.options,l=e.width,u=e.tooltip,p=e.info,f=e.labelPosition,d={width:100/o.length+"%"};return a.createElement(s.default,{customClass:"button-group-field",label:r,tooltip:u,info:p,labelPosition:f,width:l},a.createElement("div",{className:"button-group"},o.map((function(e,r){var o=e.value,s=e.label,l=e.icon?e.icon:null,u=o+"-"+r,p=o===t,f=p?"active":"",h=p?null:function(){n.props.onChange(o)};return a.createElement("div",i({key:"option-"+o,style:d,className:"button-group-option "+f},c.renderTooltipProps(u,e.tooltip),{onClick:"function"==typeof e.onDoubleClick?function(){return n.handleMultipleClicks(h,e.onDoubleClick)}:h}),l||s,c.renderTooltip(u,e.tooltip))}))))},n}return o(t,e),t}(a.PureComponent);t.default=l},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),a=n(9),s=n(366),c=function(e){function t(t){var n=e.call(this,t)||this;return n.transparentBg='url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAMUlEQVQ4T2NkYGAQYcAP3uCTZhw1gGGYhAGBZIA/nYDCgBDAm9BGDWAAJyRCgLaBCAAgXwixzAS0pgAAAABJRU5ErkJggg==") left center',n.state={pickerOpen:!1},n.picker=i.createRef(),n.clickOutsideHandler=function(e){return n.handleClickOutside(e)},n}return o(t,e),t.prototype.togglePicker=function(e){var t=this;e.preventDefault(),e.stopPropagation();var n=!this.state.pickerOpen;this.setState({pickerOpen:n},(function(){t.state.pickerOpen?document.addEventListener("click",t.clickOutsideHandler):document.removeEventListener("click",t.clickOutsideHandler)}))},t.prototype.handleClickOutside=function(e){var t=e.target,n=this.picker.current;do{if(t===n)return;t=t.parentNode}while(t);document.removeEventListener("click",this.clickOutsideHandler),this.setState({pickerOpen:!1})},t.prototype.handleChangeComplete=function(e,t){return this.props.onChange(e)},t.prototype.render=function(){var e,t=this,n=this.props,r=n.label,o=(n.placeholder,n.width),c=(n.readOnly,n.buttons),l=n.tooltip,u=n.value,p=n.enableAlpha,f=n.presetColors,d=n.info,h=n.labelPosition,v=!p,g=n.pickerPosition||"left",m=this.state.pickerOpen?i.createElement(s.SketchPicker,{color:u,disableAlpha:v,presetColors:f,onChangeComplete:function(e,n){return t.handleChangeComplete(e,n)}}):null;return e="transparent"===u?{background:this.transparentBg,border:"1px solid #1d1d1d",boxSizing:"border-box"}:{backgroundColor:u},i.createElement(a.default,{customClass:"color-field",label:r,tooltip:l,buttons:c,info:d,labelPosition:h,width:o},i.createElement("div",{className:"swatch",style:e,onClick:function(e){return t.togglePicker(e)}}),i.createElement("div",{className:"picker picker-"+g,ref:this.picker},m))},t}(i.PureComponent);t.default=c},function(e,t,n){var r=n(96),o=n(226);e.exports=function(e,t){return e&&r(e,o(t))}},function(e,t,n){(function(e){var r=n(12),o=n(222),i=t&&!t.nodeType&&t,a=i&&"object"==typeof e&&e&&!e.nodeType&&e,s=a&&a.exports===i?r.Buffer:void 0,c=(s?s.isBuffer:void 0)||o;e.exports=c}).call(this,n(61)(e))},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},function(e,t){e.exports=function(e){return function(t){return e(t)}}},function(e,t,n){(function(e){var r=n(95),o=t&&!t.nodeType&&t,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===o&&r.process,s=function(){try{var e=i&&i.require&&i.require("util").types;return e||a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=s}).call(this,n(61)(e))},function(e,t){var n=Object.prototype;e.exports=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||n)}},function(e,t,n){var r=n(101)(Object.getPrototypeOf,Object);e.exports=r},function(e,t,n){var r=n(37),o=n(237),i=n(238),a=n(239),s=n(240),c=n(241);function l(e){var t=this.__data__=new r(e);this.size=t.size}l.prototype.clear=o,l.prototype.delete=i,l.prototype.get=a,l.prototype.has=s,l.prototype.set=c,e.exports=l},function(e,t){e.exports=function(e,t){return e===t||e!=e&&t!=t}},function(e,t,n){var r=n(17)(n(12),"Map");e.exports=r},function(e,t,n){var r=n(246),o=n(253),i=n(255),a=n(256),s=n(257);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=a,c.prototype.set=s,e.exports=c},function(e,t,n){var r=n(268),o=n(112),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(e){return null==e?[]:(e=Object(e),r(a(e),(function(t){return i.call(e,t)})))}:o;e.exports=s},function(e,t,n){var r=n(10),o=n(73),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!o(e))||(a.test(e)||!i.test(e)||null!=t&&e in Object(t))}},function(e,t,n){var r=n(16),o=n(14);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},function(e,t,n){var r=n(97),o=n(297),i=n(36);e.exports=function(e){return i(e)?r(e,!0):o(e)}},function(e,t,n){var r=n(108);e.exports=function(e){var t=new e.constructor(e.byteLength);return new r(t).set(new r(e)),t}},function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addAssetTagToList=t.getAssetTagList=void 0;var r={GET:"assetTags/GET",ADD:"assetTags/ADD"};t.getAssetTagList=function(e,t){return function(n){return new Promise((function(o,i){e.getAssetTags(t).then((function(e){n({type:r.GET,assetTags:e}),o()})).catch((function(e){console.error("Failed to get tag list",e),i()}))}))}};t.addAssetTagToList=function(e){return{type:r.ADD,freshTags:e}},t.default=r},function(e,t,n){"use strict";var r=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a};Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=n(325),a=n(55);t.default=function(e){var t=r(a.useDrop({accept:[i.NativeTypes.FILE],drop:function(t,n){e.onDrop&&e.onDrop(e,n)},collect:function(e){return{isOver:e.isOver,canDrop:e.canDrop}}}),2),n=t[0],s=(n.canDrop,n.isOver,t[1]);return o.createElement("div",{className:e.className||"",ref:e.disable?void 0:s},e.children)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),o=n(26),i=n(13),a=n(3),s=r.memo((function(e){var t={color:o.ASSET_COLORS[e.type]};switch(e.type){case"filter":return r.createElement("span",null,a.ICON_FILTER);case"all":return r.createElement("span",{title:i.assets.iconTypes.all},a.ICON_TIMES);case o.ASSET_TYPES.VIDEO:return r.createElement("span",{title:i.assets.iconTypes.video,style:t},a.ICON_VIDEO);case o.ASSET_TYPES.AUDIO:return r.createElement("span",{title:i.assets.iconTypes.audio,style:t},a.ICON_AUDIO_TYPE);case o.ASSET_TYPES.IMAGE:return r.createElement("span",{title:i.assets.iconTypes.image,style:t},a.ICON_IMAGE);case o.ASSET_TYPES.IMAGE_SEQUENCE:return r.createElement("span",{title:i.assets.iconTypes.image_sequence,style:t},a.ICON_IMAGE_SEQ_TYPE);case o.ASSET_TYPES.TEMPLATE:return r.createElement("span",{title:i.assets.iconTypes.template,style:t},a.ICON_FILE_ARCHIVE);case o.ASSET_TYPES.VIDEO_COMPOSITION:return r.createElement("span",{title:i.assets.iconTypes.video_composition,style:t},a.ICON_LAYER_GROUP);case o.ASSET_TYPES.LUT:return r.createElement("span",{title:i.assets.iconTypes.lut},a.ICON_CUBE);case o.ASSET_TYPES.FONT:return r.createElement("span",{title:i.assets.iconTypes.font},a.ICON_FONT);case o.ASSET_TYPES.STATIC_COMPOSITION:return r.createElement("span",{title:i.assets.iconTypes.static_composition},a.ICON_FILE_CODE);default:return null}}));t.default=s},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),a=n(26),s=n(47),c=n(6),l=function(e){function t(t){var n=e.call(this,t)||this;return n.state={fontLoaded:!1},n.innerTextRef=i.createRef(),n}return o(t,e),t.prototype.componentDidMount=function(){this.loadFont()},t.prototype.componentDidUpdate=function(e){var t=this.state.fontLoaded,n=this.props.options,r=n.font,o=n.custom_font_id,i=n.content;e.options.font===r&&e.options.custom_font_id===o||this.loadFont(),e.options.content!==i&&t&&this.fitText()},t.prototype.fitElement=function(e,t,n){for(var r=window.getComputedStyle(e,null),o=parseFloat(r.getPropertyValue("font-size")),i=parseFloat(r.getPropertyValue("letter-spacing")),a=parseFloat(r.getPropertyValue("line-height")),s=parseFloat(r.getPropertyValue("word-spacing")),c=i/o,l=a/o,u=s/o,p=e.offsetWidth,f=e.offsetHeight;p>t||f>n;)o--,i=Math.round(o*c),a=Math.round(o*l),s=Math.round(o*u),e.style.fontSize=o+"px",e.style.letterSpacing=i+"px",e.style.wordSpacing=s+"px",e.style.lineHeight=a+"px",p=e.offsetWidth,f=e.offsetHeight},t.prototype.loadFont=function(){var e=this,t=this.props.options,n=t.font,r=t.font_size,o=t.font_type,i=t.custom_font_url;if(o===s.FONT_TYPES.CUSTOM&&r&&i){var l=c.s3Url(i,a.ASSET_DISTRO,a.ASSET_ORIGIN);document.fonts.check(r+"px "+n)?this.fontReady():this.setState({fontLoaded:!1},(function(){var t=new FontFace(n,"url("+l+")",{style:"normal",weight:"normal"});t.load().then((function(n){document.fonts.add(t),e.fontReady()})).catch((function(t){e.errorLoadingFont()}))}))}else o===s.FONT_TYPES.STANDARD&&this.fontReady()},t.prototype.formatContent=function(){var e=this.props,t=e.options.content,n=e.inventory,r=t||"";if(n)for(var o in n)if(n.hasOwnProperty(o)){var a=new RegExp("{{"+o+"}}","g"),s=n[o];s&&(s=s.toString(),r=r.replace(a,s))}for(var c=r.split("\n"),l=[],u=0;u<c.length;u++)l.push(i.createElement("span",{key:"s-"+u},c[u])),c[u+1]&&l.push(i.createElement("br",{key:"b-"+u}));return l},t.prototype.fitText=function(){if(this.props.options.text_fit){var e=this.innerTextRef.current;e&&this.fitElement(e,this.props.options.width,this.props.options.height)}},t.prototype.errorLoadingFont=function(){},t.prototype.fontReady=function(){var e=this;this.setState({fontLoaded:!0},(function(){e.fitText(),e.props.onReady&&e.props.onReady()}))},t.prototype.getFlexStart=function(e){switch(e){case"left":return"flex-start";case"center":return"center";case"right":return"flex-end"}},t.prototype.render=function(){var e=this.props.options,t=e.color,n=e.background_color,r=e.line_height,o=e.word_spacing,a=e.letter_spacing,s=e.font_size,c=e.font,l=e.horizontal_alignment,u=e.vertical_alignment,p={color:t,lineHeight:r?r+"px":"normal",wordSpacing:o?o+"px":"normal",letterSpacing:a?a+"px":"normal",fontSize:s?s+"px":"0px",whiteSpace:e.text_wrap?"normal":"nowrap",fontFamily:c},f={display:"flex",textAlign:l,justifyContent:this.getFlexStart(l),alignItems:u,backgroundColor:n};return i.createElement("div",{className:"composition-text-layer",style:f},i.createElement("div",{className:"inner-text",style:p,ref:this.innerTextRef},this.formatContent()))},t}(i.PureComponent);t.default=l},function(e,t,n){"use strict";(function(e){var r=n(48),o="object"==typeof exports&&exports&&!exports.nodeType&&exports,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===o&&r.a.process,s=function(){try{var e=i&&i.require&&i.require("util").types;return e||a&&a.binding&&a.binding("util")}catch(e){}}();t.a=s}).call(this,n(76)(e))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),o=n(49),i=n(50),a=n(83);t.default=function(e){if(!e.type)throw new Error("NoAccess requires a type of either: request or restrict");var t="request"===e.type;return r.createElement("div",{className:"no-access"},t?r.createElement(o.FontAwesomeIcon,{icon:i.faUserLock,size:"6x"}):r.createElement(o.FontAwesomeIcon,{icon:a.faExclamationTriangle,size:"6x"}),r.createElement("div",{className:"no-access-copy"},r.createElement("h1",{className:"no-access-heading"},t?"You don't have access to Imposium yet":"Service not found"),t&&r.createElement("a",{href:"mailto:info@imposium.com?subject=My access to Imposium is restricted"},"Request Access")))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z";t.definition={prefix:"fas",iconName:"exclamation-triangle",icon:[576,512,r,"f071",o]},t.faExclamationTriangle=t.definition,t.prefix="fas",t.iconName="exclamation-triangle",t.width=576,t.height=512,t.ligatures=r,t.unicode="f071",t.svgPathData=o},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),a=n(51),s=n(85),c=n(6),l=n(3),u=function(e){function t(n){var r=e.call(this,n)||this;return r.serviceToggleRef=null,r.storyToggleRef=null,r.orgsToggleRef=null,r.componentDidMount=function(){var e=r.props,t=e.accessData,n=e.activeOrganization;t&&r.parseAccessData(t,n)},r.componentDidUpdate=function(e){var n=r.props,o=n.accessData,i=n.activeOrganization,a=e.accessData,s=e.activeOrganization;o&&o!==a&&r.parseAccessData(o,i),"string"==typeof i&&i.length===t.UUID_LENGTH&&i!==s&&r.parseAccessData(o,i)},r.parseAccessData=function(e,n){var o=e.organizations,i=e.services,a=n?e.organizations.find((function(e){return e.id===n})):void 0,s=o.length>1?o.filter((function(e){return e.id!==n})):[],l=i&&a?i.filter((function(e){return a.services.includes(e.id)})):[],u=l.length>1?i.find((function(e){return window.location.href.includes(e.url)})):void 0,p=t.DEFAULT_ACCOUNT_TOGGLE_COLOR,f="";a&&a.hasOwnProperty("name")&&(p=c.string2HexCode(a.name),f=r.pullFirstChar(a.name)),r.setState({servicesByOrganization:l,activeServiceBlob:u,inactiveOrganizations:s,activeOrganizationBlob:a,dropdownToggleColor:p,activeFirstChar:f})},r.changeStory=function(e){var t=r.props.onStoryChange;"function"==typeof t&&(t(e),r.setState({showStoriesDropdown:!1}))},r.toggleAccountDropdown=function(e,t){void 0===t&&(t="");var n=r.props.onOrganizationChange;e?r.setState({showAccountDropdown:!0}):(r.setState({showAccountDropdown:!1}),t&&n&&n(t),t&&!n&&window.location.replace(r.getHomeUrl()+"?organization_id="+t))},r.getHomeUrl=function(){var e=window.location,t=e.hostname,n=e.host;return"localhost"===t?"http://localhost:3036":n.includes(".staging.")?"https://launchpad.staging.imposium.com":"https://launchpad.imposium.com"},r.doLogout=function(){r.setState({showAccountDropdown:!1}),r.props.logout()},r.pullFirstChar=function(e){return e?e.substring(0,1):""},r.renderDropdownChevron=function(e){return e?t.UP:t.DOWN},r.renderServiceAnchor=function(e,t,n){return i.createElement("div",{className:"anchor-wrapper",key:e.id},i.createElement("a",{href:c.parameterizeServiceUrl(t,n,e.url,e.id)},i.createElement("div",{className:"icon-fixed"},i.createElement(s.default,{iconName:e.icon,color:"#"+e.color})),e.name))},r.state={inactiveOrganizations:[],servicesByOrganization:[],activeServiceBlob:void 0,activeOrganizationBlob:void 0,showAccountDropdown:!1,showStoriesDropdown:!1,showServiceDropdown:!1,dropdownToggleColor:t.DEFAULT_ACCOUNT_TOGGLE_COLOR,activeFirstChar:""},r.serviceToggleRef=i.createRef(),r.storyToggleRef=i.createRef(),r.orgsToggleRef=i.createRef(),r}return o(t,e),t.prototype.render=function(){var e,n,r,o,l,u,p,f,d,h,v,g,m=this,y=this.props,b=y.email,_=y.accessData,w=y.activeOrganization,x=y.activeStory,E=y.hideStoryPicker,O=this.state,C=O.showAccountDropdown,T=O.servicesByOrganization,A=O.activeServiceBlob,S=O.showStoriesDropdown,P=O.inactiveOrganizations,k=O.activeOrganizationBlob,j=O.activeFirstChar,I=O.dropdownToggleColor,N=O.showServiceDropdown,R={};return _&&((r=T.find((function(e){return window.location.href.includes(e.url)})))&&(R={color:"#"+r.color},n={borderBottom:"4px solid #"+r.color}),o=T.filter((function(e){return!e.private&&-1===t.PRIVATE_IDS.indexOf(e.id)})).map((function(e){return m.renderServiceAnchor(e,w,x)})),l=T.filter((function(e){return!e.private&&t.PRIVATE_IDS.indexOf(e.id)>-1})).map((function(e){return m.renderServiceAnchor(e,w,x)})),g=i.createElement("div",{className:"service-menu"},i.createElement("section",{className:"service-menu-section"},i.createElement("div",{className:"service-menu-heading"},t.SERVICE_MESH_ALIAS),i.createElement("div",{className:"service-menu-anchors"},o)),l.length>0&&i.createElement("section",{className:"service-menu-section"},i.createElement("div",{className:"service-menu-heading"},t.PRIVATE_HEADER),i.createElement("div",{className:"service-menu-anchors"},l)),i.createElement("section",{className:"service-menu-section"},i.createElement("div",{className:"service-menu-heading"},t.DOCS_HEADER),i.createElement("div",{className:"service-menu-anchors"},i.createElement("div",{className:"anchor-wrapper doc"},i.createElement("a",{target:"__blank",href:t.API_DOCS_LINK},i.createElement("div",{className:"icon-fixed"},i.createElement(s.default,{iconName:"FaCogs"})),t.API_DOCS_LINK_COPY)),i.createElement("div",{className:"anchor-wrapper doc"},i.createElement("a",{target:"__blank",href:t.SDK_DOCS_LINK},i.createElement("div",{className:"icon-fixed"},i.createElement(s.default,{iconName:"FaJsSquare"})),t.SDK_DOCS_LINK_COPY))))),v=i.createElement("button",{id:"btn-toggle-services",className:"btn-toggle-services",style:R,ref:this.serviceToggleRef,onClick:function(){return m.setState({showServiceDropdown:!m.state.showServiceDropdown})}},i.createElement("span",null,A?A.name:t.SERVICE_MESH_ALIAS),this.renderDropdownChevron(N)),u=i.createElement("button",{id:"btn-toggle-orgs",className:"btn-toggle-orgs",ref:this.orgsToggleRef,style:{backgroundColor:I},onClick:function(){return m.toggleAccountDropdown(!C)}},j)),_&&k&&(p=i.createElement("div",{className:"orgs-menu-active-org"},i.createElement("div",{className:"active-first-char",style:{backgroundColor:I}},this.pullFirstChar(k.name)),i.createElement("div",null,k.name))),_&&k&&!E&&(e=k.stories.find((function(e){return e.id===x})),f=i.createElement("button",{id:"btn-toggle-story",className:"btn-toggle-story",ref:this.storyToggleRef,onClick:function(){m.setState({showStoriesDropdown:!m.state.showStoriesDropdown})}},i.createElement("div",{className:"story-name"},e?e.name:t.DEFAULT_SERVICE_TOGGLE_COPY),this.renderDropdownChevron(S)),h=0===k.stories.length?i.createElement("div",{className:"no-stories-dialog"},t.NO_STORIES_COPY):k.stories.map((function(e){return i.createElement("button",{key:e.id,className:"btn-change-story",onClick:function(){return m.changeStory(e)}},e.name)}))),C&&(d=i.createElement("div",{className:"orgs-menu-org-picker"},P.map((function(e){return i.createElement("button",{key:e.name,className:"menu-item inactive-org-button",onClick:function(){return m.toggleAccountDropdown(!1,e.id)}},i.createElement("div",{className:"inactive-first-char",style:{backgroundColor:c.string2HexCode(e.name)}},m.pullFirstChar(e.name)),e.name)})))),i.createElement("nav",{id:"imposium-header",className:"imposium-header",style:n},i.createElement("div",{className:"inner-content"},i.createElement("span",{className:"inner-left"},i.createElement("a",{className:"title",href:c.parameterizeServiceUrl(w,x,this.getHomeUrl())},i.createElement("div",{className:"logo"}),i.createElement("h1",{className:"heading"},t.DEFAULT_TITLE)),v),i.createElement("span",{className:"inner-right"},f,u)),i.createElement(a.default,{key:"services-dropdown",position:"bottomleft",show:N,toggleRef:this.serviceToggleRef,onOutsideClick:function(){return m.setState({showServiceDropdown:!1})}},g),i.createElement(a.default,{key:"stories-dropdown",position:"bottomright",show:S,toggleRef:this.storyToggleRef,onOutsideClick:function(){return m.setState({showStoriesDropdown:!1})}},i.createElement("div",{className:"stories-menu"},h)),i.createElement(a.default,{key:"org-dropdown",position:"bottomright",show:C,toggleRef:this.orgsToggleRef,onOutsideClick:function(){return m.toggleAccountDropdown(!1)}},i.createElement("div",{className:"orgs-menu"},p,d,i.createElement("div",{className:"orgs-menu-footer"},i.createElement("div",{className:"email"},b),i.createElement("button",{className:"btn-logout",onClick:function(){return m.doLogout()}},t.LOGOUT_COPY)))))},t.DEFAULT_TITLE="imposium",t.SERVICE_MESH_ALIAS="services",t.DOCS_HEADER="documentation",t.PRIVATE_HEADER="admin",t.API_DOCS_LINK_COPY="REST API",t.SDK_DOCS_LINK_COPY="Javascript SDK",t.API_DOCS_LINK="https://docs.imposium.com",t.SDK_DOCS_LINK="https://docs.imposium.com/js-sdk/",t.DEFAULT_SERVICE_TOGGLE_COPY="stories",t.DEFAULT_ACCOUNT_TOGGLE_COLOR="royalblue",t.NO_STORIES_COPY="No stories were found",t.LOGOUT_COPY="logout",t.UUID_LENGTH=36,t.UP=l.ICON_CHEVRON_UP,t.DOWN=l.ICON_CHEVRON_DOWN,t.PRIVATE_IDS=[9,10,11,12],t}(i.PureComponent);t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),o=n(49),i=n(135),a=n(136),s=n(137),c=n(138),l=n(86),u=n(87),p=n(139),f=n(140),d=n(141),h=n(142),v=n(50),g=n(143),m=n(144),y=n(145);t.default=function(e){switch(e.iconName){case"FaFilm":return r.createElement(o.FontAwesomeIcon,{icon:a.faFilm,color:e.color});case"FaRegFileVideo":return r.createElement(o.FontAwesomeIcon,{icon:l.faFileVideo,color:e.color});case"FaChartBar":return r.createElement(o.FontAwesomeIcon,{icon:p.faChartBar,color:e.color});case"FaGavel":return r.createElement(o.FontAwesomeIcon,{icon:s.faGavel,color:e.color});case"FaDatabase":return r.createElement(o.FontAwesomeIcon,{icon:c.faDatabase,color:e.color});case"FaVideo":return r.createElement(o.FontAwesomeIcon,{icon:u.faVideo,color:e.color});case"FaUsersCog":return r.createElement(o.FontAwesomeIcon,{icon:f.faUsersCog,color:e.color});case"FaPlayCircle":return r.createElement(o.FontAwesomeIcon,{icon:h.faPlayCircle,color:e.color});case"FaUserLock":return r.createElement(o.FontAwesomeIcon,{icon:v.faUserLock,color:e.color});case"FaSiteMap":return r.createElement(o.FontAwesomeIcon,{icon:g.faSitemap,color:e.color});case"FaFileAlt":return r.createElement(o.FontAwesomeIcon,{icon:y.faFileAlt,color:e.color});case"FaChartArea":return r.createElement(o.FontAwesomeIcon,{icon:m.faChartArea,color:e.color});case"FaCogs":return r.createElement(o.FontAwesomeIcon,{icon:d.faCogs});case"FaJsSquare":return r.createElement(o.FontAwesomeIcon,{icon:i.faJsSquare});default:return null}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M384 121.941V128H256V0h6.059c6.365 0 12.47 2.529 16.971 7.029l97.941 97.941A24.005 24.005 0 0 1 384 121.941zM224 136V0H24C10.745 0 0 10.745 0 24v464c0 13.255 10.745 24 24 24h336c13.255 0 24-10.745 24-24V160H248c-13.2 0-24-10.8-24-24zm96 144.016v111.963c0 21.445-25.943 31.998-40.971 16.971L224 353.941V392c0 13.255-10.745 24-24 24H88c-13.255 0-24-10.745-24-24V280c0-13.255 10.745-24 24-24h112c13.255 0 24 10.745 24 24v38.059l55.029-55.013c15.011-15.01 40.971-4.491 40.971 16.97z";t.definition={prefix:"fas",iconName:"file-video",icon:[384,512,r,"f1c8",o]},t.faFileVideo=t.definition,t.prefix="fas",t.iconName="file-video",t.width=384,t.height=512,t.ligatures=r,t.unicode="f1c8",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M336.2 64H47.8C21.4 64 0 85.4 0 111.8v288.4C0 426.6 21.4 448 47.8 448h288.4c26.4 0 47.8-21.4 47.8-47.8V111.8c0-26.4-21.4-47.8-47.8-47.8zm189.4 37.7L416 177.3v157.4l109.6 75.5c21.2 14.6 50.4-.3 50.4-25.8V127.5c0-25.4-29.1-40.4-50.4-25.8z";t.definition={prefix:"fas",iconName:"video",icon:[576,512,r,"f03d",o]},t.faVideo=t.definition,t.prefix="fas",t.iconName="video",t.width=576,t.height=512,t.ligatures=r,t.unicode="f03d",t.svgPathData=o},function(e,t){e.exports=s},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0});var a=n(0),s=function(e){function t(t){var n=e.call(this,t)||this;return n.state={open:!1},n.evtHandlers={toggleMenu:function(e){return n.toggleMenu(e)},clickOutside:function(e){return n.handleClickOutside(e)}},n}return o(t,e),t.prototype.handleClickOutside=function(e){document.removeEventListener("click",this.evtHandlers.clickOutside),this.setState({open:!1})},t.prototype.componentWillUnmount=function(){document.removeEventListener("click",this.evtHandlers.clickOutside)},t.prototype.toggleMenu=function(e){var t=this;e.preventDefault(),e.stopPropagation();var n=!this.state.open;this.setState({open:n},(function(){t.state.open?document.addEventListener("click",t.evtHandlers.clickOutside):document.removeEventListener("click",t.evtHandlers.clickOutside)}))},t.prototype.renderItems=function(){var e,t,n=this,r=this.props.items,o=[],s=function(e){var t=a.cloneElement(e,{onClick:function(t){t.preventDefault(),t.stopPropagation(),document.removeEventListener("click",n.evtHandlers.clickOutside),n.setState({open:!1},(function(){e.props.onClick(t)}))}});o.push(t)};try{for(var c=i(r),l=c.next();!l.done;l=c.next()){s(l.value)}}catch(t){e={error:t}}finally{try{l&&!l.done&&(t=c.return)&&t.call(c)}finally{if(e)throw e.error}}return o},t.prototype.renderMenu=function(){var e=this.props.position;if(this.state.open)return a.createElement("div",{className:"menu "+e},this.renderItems())},t.prototype.render=function(){var e=this.props.button,t=this.state.open,n=a.cloneElement(e,{onClick:this.evtHandlers.toggleMenu,active:t});return a.createElement("div",{className:"button-menu"},n,this.renderMenu())},t}(a.PureComponent);t.default=s},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),a=function(e){function t(t){return e.call(this,t)||this}return o(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.label,r=t.active;return i.createElement("div",{className:"button-menu-item "+(r?"active":null)+" ",onClick:function(t){return e.props.onClick(t)}},n)},t}(i.Component);t.default=a},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),a=n(5),s=n(3),c=function(e){function t(t){var n=e.call(this,t)||this;return n.state={open:t.open},n.evtHandlers={toggleOpen:function(e){return n.toggleOpen(e)}},n}return o(t,e),t.prototype.toggleOpen=function(e){var t=this;e.persist(),e.preventDefault();var n=this.props,r=n.collapsable,o=n.onOpen,i=n.onClose;r&&("function"==typeof this.props.onToggle&&this.props.onToggle(!this.state.open),this.setState({open:!this.state.open},(function(){t.state.open&&o?o(e):!t.state.open&&i&&i(e)})))},t.prototype.componentDidUpdate=function(e){var t=this.props,n=t.open;t.collapsable;e.open!==n&&this.setState({open:n})},t.prototype.renderTitle=function(e){var t=this.props.title;return"small"===e?i.createElement("p",null,t):"large"===e?i.createElement("h1",null,t):i.createElement("h2",null,t)},t.prototype.renderContent=function(){if(this.state.open)return i.createElement("div",{className:"card-content"},this.props.children)},t.prototype.render=function(){var e=this.props,t=e.collapsable,n=(e.title,e.style),r=t?"collapsable":"",o=!this.state.open&&t?"closed":"",a=n||"default";return i.createElement("div",{className:"card "+o+" "+r+" "+a},i.createElement("div",{className:"card-header",onClick:this.evtHandlers.toggleOpen},this.renderTitle(a),this.renderButtons()),this.renderContent())},t.prototype.renderButtons=function(){var e=this.props.collapsable,t=this.state.open?s.ICON_CARET_UP:s.ICON_CARET_DOWN;if(e)return i.createElement("div",{className:"header-buttons"},i.createElement(a.default,{style:"subtle",onClick:this.evtHandlers.toggleOpen},t))},t}(i.PureComponent);t.default=c},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),a=n(5),s=n(3),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.renderRemoveButton=function(e){var t=this;if(this.props.removable)return i.createElement("div",{className:"buttons"},i.createElement(a.default,{style:"subtle",color:"danger",onClick:function(){return t.props.onRemove(e)}},s.ICON_TIMES))},t.prototype.render=function(){var e,t=this,n=this.props.items;return n&&(e=n.map((function(e,n){return i.createElement("div",{className:"item",key:"item-"+n},e,t.renderRemoveButton(n))}))),i.createElement("div",{className:"controlled-list"},e)},t}(i.PureComponent);t.default=c},function(e,t){e.exports=c},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},a=this&&this.__spreadArray||function(e,t){for(var n=0,r=t.length,o=e.length;n<r;n++,o++)e[o]=t[n];return e};Object.defineProperty(t,"__esModule",{value:!0});var s=n(0),c=n(5),l=n(9),u=n(3),p=function(e){function t(t){var n=e.call(this,t)||this;return n.state={internalValue:t.value,editing:!1},n.evtHandlers={toggleEditing:function(e){return n.toggleEditing(e)},copyToClipboard:function(e){return n.copyToClipboard(e)}},n.inputRef=s.createRef(),n}return o(t,e),t.prototype.blur=function(e){this.props.onBlur&&this.props.onBlur(e)},t.prototype.copyToClipboard=function(e){var t=this.props,n=t.onNotification,r=t.onError;navigator.clipboard.writeText(this.props.value).then((function(){n&&n("Copied to clipboard!")}),(function(){r&&r("Error copying to clipboard.")}))},t.prototype.focus=function(e){this.props.onFocus&&this.props.onFocus(e)},t.prototype.getValue=function(){var e=this.props,t=e.controlled,n=e.value,r=this.state.internalValue;return t?r:n},t.prototype.onChange=function(e){this.props.controlled?this.setState({internalValue:e.target.value}):this.props.onChange(e.target.value)},t.prototype.renderButtons=function(){var e=this.props,t=e.controlled,n=(e.readOnly,e.buttons),r=e.showCopy,o=this.state.editing,l=n?a([],i(n)):[];if(t){var p=o?u.ICON_CHECK:u.ICON_EDIT;l.push(s.createElement(c.default,{key:"btn-edit",style:"subtle",color:"secondary",onClick:this.evtHandlers.toggleEditing},p))}return r&&l.push(s.createElement(c.default,{key:"btn-copy",style:"subtle",tooltip:"Copy to Clipboard",color:"primary",onClick:this.evtHandlers.copyToClipboard},u.ICON_CLIPBOARD)),l},t.prototype.toggleEditing=function(e){var t=this,n=this.state,r=n.editing,o=n.internalValue,i=this.props.value;r?this.setState({editing:!1},(function(){o!==i&&t.props.onSubmit(t.state.internalValue)})):this.setState({editing:!0},(function(){var e=t.inputRef.current;e&&e.focus()}))},t.prototype.componentDidUpdate=function(e){this.props.controlled&&e.value!==this.props.value&&this.setState({internalValue:this.props.value})},t.prototype.render=function(){var e=this,t=this.props,n=t.label,r=t.placeholder,o=t.controlled,i=t.disabled,a=t.readOnly,c=t.width,u=t.tooltip,p=t.info,f=t.labelPosition,d=this.state.editing,h=o&&!d||i;return s.createElement(l.default,{customClass:"text-area-field",label:n,tooltip:u,buttons:this.renderButtons(),info:p,labelPosition:f,width:c},s.createElement("textarea",{placeholder:r,value:this.getValue(),disabled:h,readOnly:a,ref:this.inputRef,onChange:function(t){return e.onChange(t)},onFocus:function(t){return e.focus(t)},onBlur:function(t){return e.blur(t)}}))},t}(s.PureComponent);t.default=p},function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(this,n(53))},function(e,t,n){var r=n(218),o=n(24);e.exports=function(e,t){return e&&r(e,t,o)}},function(e,t,n){var r=n(220),o=n(98),i=n(10),a=n(60),s=n(99),c=n(100),l=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=i(e),u=!n&&o(e),p=!n&&!u&&a(e),f=!n&&!u&&!p&&c(e),d=n||u||p||f,h=d?r(e.length,String):[],v=h.length;for(var g in e)!t&&!l.call(e,g)||d&&("length"==g||p&&("offset"==g||"parent"==g)||f&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||s(g,v))||h.push(g);return h}},function(e,t,n){var r=n(221),o=n(14),i=Object.prototype,a=i.hasOwnProperty,s=i.propertyIsEnumerable,c=r(function(){return arguments}())?r:function(e){return o(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=c},function(e,t){var n=/^(?:0|[1-9]\d*)$/;e.exports=function(e,t){var r=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==r||"symbol"!=r&&n.test(e))&&e>-1&&e%1==0&&e<t}},function(e,t,n){var r=n(223),o=n(63),i=n(64),a=i&&i.isTypedArray,s=a?o(a):r;e.exports=s},function(e,t){e.exports=function(e,t){return function(n){return e(t(n))}}},function(e,t,n){var r=n(16),o=n(19);e.exports=function(e){if(!o(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},function(e,t){e.exports=function(e){return e}},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}},function(e,t){var n=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return n.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},function(e,t,n){var r=n(258),o=n(14);e.exports=function e(t,n,i,a,s){return t===n||(null==t||null==n||!o(t)&&!o(n)?t!=t&&n!=n:r(t,n,i,a,e,s))}},function(e,t,n){var r=n(259),o=n(262),i=n(263);e.exports=function(e,t,n,a,s,c){var l=1&n,u=e.length,p=t.length;if(u!=p&&!(l&&p>u))return!1;var f=c.get(e),d=c.get(t);if(f&&d)return f==t&&d==e;var h=-1,v=!0,g=2&n?new r:void 0;for(c.set(e,t),c.set(t,e);++h<u;){var m=e[h],y=t[h];if(a)var b=l?a(y,m,h,t,e,c):a(m,y,h,e,t,c);if(void 0!==b){if(b)continue;v=!1;break}if(g){if(!o(t,(function(e,t){if(!i(g,t)&&(m===e||s(m,e,n,a,c)))return g.push(t)}))){v=!1;break}}else if(m!==y&&!s(m,y,n,a,c)){v=!1;break}}return c.delete(e),c.delete(t),v}},function(e,t,n){var r=n(12).Uint8Array;e.exports=r},function(e,t,n){var r=n(110),o=n(71),i=n(24);e.exports=function(e){return r(e,i,o)}},function(e,t,n){var r=n(111),o=n(10);e.exports=function(e,t,n){var i=t(e);return o(e)?i:r(i,n(e))}},function(e,t){e.exports=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}},function(e,t){e.exports=function(){return[]}},function(e,t,n){var r=n(19);e.exports=function(e){return e==e&&!r(e)}},function(e,t){e.exports=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}},function(e,t,n){var r=n(116),o=n(42);e.exports=function(e,t){for(var n=0,i=(t=r(t,e)).length;null!=e&&n<i;)e=e[o(t[n++])];return n&&n==i?e:void 0}},function(e,t,n){var r=n(10),o=n(72),i=n(276),a=n(279);e.exports=function(e,t){return r(e)?e:o(e,t)?[e]:i(a(e))}},function(e,t,n){var r=n(118),o=n(68),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var a=e[t];i.call(e,t)&&o(a,n)&&(void 0!==n||t in e)||r(e,t,n)}},function(e,t,n){var r=n(294);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},function(e,t,n){var r=n(111),o=n(66),i=n(71),a=n(112),s=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)r(t,i(e)),e=o(e);return t}:a;e.exports=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0);t.default=function(e){var t=e.progress?"scaleX("+e.progress/100+")":"scaleX(0)";return r.createElement("div",{className:"determinate-loader"},r.createElement("div",{className:"progress-bg",style:{transform:t}}),r.createElement("div",{className:"progress-copy"},Math.round(e.progress)+"%"))}},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),a=n(13),s=n(5),c=n(11),l=n(78),u=n(122),p=n(6),f=n(20),d=n(46),h=n(7),v=n(8),g=n(3),m=function(e){function t(t){var n=e.call(this,t)||this;return n.onFileDrop=function(e,t){var r=n.props,o=r.accepts,i=r.storyId,a=r.api;if(t){var s=t.getItem().files;p.mimetypeConformsToOverlay(o,s[0])&&(n.setState({assetUploading:!0}),n.props.uploadAssets(a,[s[0]],i,(function(e){n.setState({assetName:e.name,error:!1},(function(){n.setState({assetUploading:!1}),n.props.onChange(e)}))})))}},n.state={assetName:"",error:!1,assetUploading:!1},n}return o(t,e),t.prototype.componentDidMount=function(){var e=this.props,t=e.assetId;e.api;t&&!this.state.assetName&&this.loadAsset()},t.prototype.componentDidUpdate=function(e,t){var n=this.props.assetId;n&&n!==e.assetId?this.loadAsset():n||this.setState({error:!1,assetName:""})},t.prototype.loadAsset=function(){var e=this,t=this.props,n=t.assetId;t.api.getAssetItem(n).then((function(t){e.setState({error:!1,assetName:t.name})})).catch((function(t){e.setState({error:!0,assetName:"Could not find asset: "+n})}))},t.prototype.setFilter=function(e){var t=this.props.accepts;this.props.updateFilters({type:t||"",page:1})},t.prototype.onAssetDrop=function(e,t){var n=this,r=e.rowData,o=e.rowData,i=o.name,s=(o.id,o.type),c=this.props.accepts;s===c?this.setState({assetName:i,error:!1},(function(){n.props.onChange(r)})):this.props.onError&&this.props.onError(a.assets.field.fieldMismatchError.replace("[accepts]",c))},t.prototype.clearAsset=function(e){var t=this;this.setState({assetName:"",error:!1},(function(){t.props.onChange(null)}))},t.prototype.render=function(){var e=this,t=this.props,n=t.assetId,r=t.label,o=t.width,p=t.tooltip,f=t.labelPosition,d=this.state,h=d.assetName,v=d.assetUploading,m=d.error?"error":"",y=n?"":a.assets.field.dragPrompt,b={width:o||"100%"},_=[];return _.push(i.createElement(s.default,{key:"btn-filter",onClick:function(t){return e.setFilter(t)},style:"subtle",tooltip:a.assets.field.tooltipFilter,color:"primary"},g.ICON_FILTER)),n&&!v&&_.unshift(i.createElement(s.default,{key:"btn-clear-asset",tooltip:a.assets.field.tooltipClear,onClick:function(t){return e.clearAsset(t)},style:"subtle"},g.ICON_TIMES)),i.createElement("div",{style:b,className:"asset-field "+m},i.createElement(l.default,{onDrop:function(t,n){return e.onFileDrop(t,n)},disable:v},i.createElement(u.default,{onDrop:function(t,n){return e.onAssetDrop(t,n)}},i.createElement(c.default,{readOnly:!0,label:r,tooltip:p,loading:v,placeholder:y,buttons:_,labelPosition:f,value:h}))))},t}(i.PureComponent);t.default=h.connect(null,(function(e){return v.bindActionCreators({updateFilters:f.updateFilters,uploadAssets:d.uploadAssets},e)}))(m)},function(e,t,n){"use strict";var r=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a};Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=n(55),a=n(326);t.default=function(e){var t=r(i.useDrop({accept:a.ASSET_DND_TYPES.ASSET_NAME,drop:e.onDrop,collect:function(e){return{isOver:e.isOver(),canDrop:e.canDrop()}}}),2),n=t[0],s=n.canDrop,c=n.isOver,l=t[1],u=s&&c?"1px solid royalblue":"";return o.createElement("div",{ref:l,className:"asset-target",style:{border:u}},e.children)}},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),a=n(27),s=n(21),c=function(e){function t(t){var n=e.call(this,t)||this;return n.state={imageHeight:1080,imageWidth:1920},n.imgNode=i.createRef(),n}return o(t,e),t.prototype.getImageStyle=function(){var e=this.state,t=e.imageHeight,n=e.imageWidth,r=this.props,o=r.padding,i=r.width,c=r.height,l=void 0!==o?o:a.DEFAULT_PADDING;return t&&n?s.getPlayerStyle(i,c,n,t,l,n,t):{}},t.prototype.metadataLoaded=function(e){this.setState({imageWidth:e.target.naturalWidth,imageHeight:e.target.naturalHeight})},t.prototype.render=function(){var e=this,t=this.props,n=t.url;return!1!==t.active?i.createElement("div",{className:"media-player"},i.createElement("div",{className:"inner-viewer",style:this.getImageStyle()},i.createElement("img",{onLoad:function(t){return e.metadataLoaded(t)},src:n,ref:this.imgNode}))):null},t}(i.PureComponent);t.default=c},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),a=n(343),s=n(13),c=function(e){function t(t){var n=e.call(this,t)||this;return n.state={loading:!0,log:""},n.ansi_up=new a.default,n.ansi_up.use_classes=!0,n}return o(t,e),t.prototype.getJobLogs=function(){var e=this,t=this.props,n=t.api,r=t.onError,o=t.jobId;n.getJobLogUrl(this.props.jobId).then((function(t){var i=t.signed_url;n.getJobLog(i).then((function(t){e.setState({loading:!1,log:t})})).catch((function(t){r&&r(s.previewer.logDownloadError.replace("[jobId]",o)),e.setState({loading:!1,log:""})}))})).catch((function(t){r&&r(s.previewer.logURLError.replace("[jobId]",e.props.jobId)),e.setState({loading:!1,log:""})}))},t.prototype.componentDidMount=function(){this.props.jobId&&this.getJobLogs()},t.prototype.componentDidUpdate=function(e){e.jobId!==this.props.jobId&&this.props.jobId&&this.getJobLogs()},t.prototype.render=function(){var e=this.ansi_up.ansi_to_html(this.state.log);return i.createElement("div",{className:"log-viewer"},i.createElement("div",{className:"log-html",dangerouslySetInnerHTML:{__html:e}}))},t}(i.PureComponent);t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BOOLEAN_DEFAULT_OPTIONS=t.VARIABLE_TYPES=void 0,t.VARIABLE_TYPES={TEXT:"text",NUMBER:"number",BOOLEAN:"boolean",ENUM:"enum",IMAGE:"image",VIDEO:"video",AUDIO:"audio"},t.BOOLEAN_DEFAULT_OPTIONS=[{value:!0,label:"True"},{value:!1,label:"False"}]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e){this.config=e}return e.prototype.stop=function(){this.running=!1,clearInterval(this.timeInterval)},e.prototype.start=function(){var e=this;this.running=!0,clearInterval(this.timeInterval),this.startTime=Date.now(),this.timeInterval=setInterval((function(){return e.updateTimeElapsed()}),this.config.interval)},e.prototype.updateTimeElapsed=function(){var e=Date.now()-this.startTime;this.config.onUpdate(e)},e}();t.default=r},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},a=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},s=this&&this.__spreadArray||function(e,t){for(var n=0,r=t.length,o=e.length;n<r;n++,o++)e[o]=t[n];return e};Object.defineProperty(t,"__esModule",{value:!0});var c=n(0),l=n(128),u=function(e){function t(t){var n=e.call(this,t)||this;return n.bgRef=c.createRef(),n}return o(t,e),t.prototype.renderLayers=function(){var e=this,t=this.props,n=t.composition.layers,r=t.inventory,o=t.selectedLayer,i=function(t){e.props.onSelectLayer(t)},s=[],u=[];return n?(n.map((function(t,n){var a,p=t.id&&t.id===o;u.push(new Promise((function(e,t){a=e,t}))),s.push(c.createElement(l.default,{onUpdate:function(t){return e.updateLayer(n,t)},onReady:a,onClick:i,selected:p,layer:t,inventory:r,key:t.id||n}))})),Promise.all(u).then((function(t){a(t,1)[0];e.props.onReady&&e.props.onReady()})),s):null},t.prototype.updateLayer=function(e,t){var n=i({},this.props.composition),r=s([],a(n.layers));r[e]=t,n.layers=r,this.props.onUpdate(n)},t.prototype.resetSelected=function(e){e.preventDefault(),e.stopPropagation();var t=this.bgRef.current;!t||e.target},t.prototype.render=function(){var e=this,t=this.props.composition,n=t.width,r=t.height,o=t.background_color,i={width:n+"px",height:r+"px"};return o&&(i.backgroundColor=o),c.createElement("div",{ref:this.bgRef,className:"static-composition-renderer",style:i,onClick:function(t){return e.resetSelected(t)}},this.renderLayers())},t}(c.PureComponent);t.default=u},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var a=n(0),s=n(350),c=n(56),l=n(80),u=function(e){function t(t){var n=e.call(this,t)||this;return n.layerRefMount=function(e){return n.onRefMount(e)},n.evtHandlers={onDrag:function(e){return n.handleDrag(e)},onResize:function(e){return n.handleResize(e)},onRotate:function(e){return n.handleRotate(e)},onClick:function(e){return n.layerClicked(e)},onShift:function(e){return n.onShift(e)},onLeft:function(e){return n.move(e,-1,0)},onRight:function(e){return n.move(e,1,0)},onUp:function(e){return n.move(e,0,-1)},onDown:function(e){return n.move(e,0,1)}},n.moveable=a.createRef(),n.state={lockRatio:!1},n}return o(t,e),t.prototype.move=function(e,t,n){if(this.props.selected){var r=e.shiftKey?10*t:t,o=e.shiftKey?10*n:n,a=i({},this.props.layer);a.x=a.x+r,a.y=a.y+o,this.props.onUpdate(a)}},t.prototype.onShift=function(e){if("Shift"===e.key&&16===e.keyCode&&this.props.selected){var t="keydown"===e.type;this.setState({lockRatio:t})}},t.prototype.componentDidUpdate=function(){var e=this.moveable.current;e&&e.updateRect()},t.prototype.componentDidMount=function(){c.default("*",{keyup:!0},this.evtHandlers.onShift),c.default("left, shift+left",this.evtHandlers.onLeft),c.default("right, shift+right",this.evtHandlers.onRight),c.default("up, shift+up",this.evtHandlers.onUp),c.default("down, shift+down",this.evtHandlers.onDown)},t.prototype.componentWillUnmount=function(){c.default.unbind("*",this.evtHandlers.onShift),c.default.unbind("left, shift+left",this.evtHandlers.onLeft),c.default.unbind("right, shift+right",this.evtHandlers.onRight),c.default.unbind("up, shift+up",this.evtHandlers.onUp),c.default.unbind("down, shift+down",this.evtHandlers.onDown)},t.prototype.handleDrag=function(e){var t=i({},this.props.layer);t.x=Math.round(e.left),t.y=Math.round(e.top),this.props.onUpdate(t)},t.prototype.handleResize=function(e){var t=e.drag.beforeDelta,n=e.width,r=e.height,o=i({},this.props.layer);o.width=Math.round(n),o.height=Math.round(r),o.x=Math.round(o.x+t[0]),o.y=Math.round(o.y+t[1]),this.props.onUpdate(o)},t.prototype.handleRotate=function(e){var t=i({},this.props.layer);t.rotation=Math.round(e.beforeDelta+t.rotation),this.props.onUpdate(t)},t.prototype.layerClicked=function(e){e.preventDefault(),e.stopPropagation(),this.props.onClick(this.props.layer.id)},t.prototype.onRefMount=function(e){this.layerRef=e,this.forceUpdate()},t.prototype.renderLayerContent=function(){var e=this.props,t=e.layer,n=e.inventory;return a.createElement(l.default,{onReady:this.props.onReady,inventory:n,options:t})},t.prototype.render=function(){var e=this.props,t=e.selected,n=e.layer,r=this.state.lockRatio,o="comp-layer-"+n.id,i={top:n.y+"px",left:n.x+"px",width:n.width+"px",height:n.height+"px",transform:"rotate("+n.rotation+"deg)"},c=t?a.createElement(s.default,{ref:this.moveable,target:document.querySelector("."+o),onDrag:this.evtHandlers.onDrag,onDragEnd:this.evtHandlers.onDragEnd,onResize:this.evtHandlers.onResize,onResizeEnd:this.evtHandlers.onResizeEnd,onRotate:this.evtHandlers.onRotate,onRotateEnd:this.evtHandlers.onRotateEnd,keepRatio:r,resizable:!0,rotatable:!0,origin:!1,draggable:!0}):null;return a.createElement(a.Fragment,null,c,a.createElement("div",{ref:this.layerRefMount,className:"composition-renderer-layer "+o,onClick:this.evtHandlers.onClick,style:i},this.renderLayerContent()))},t}(a.PureComponent);t.default=u},function(e,t,n){"use strict";t.a=function(){return!1}},function(e,t,n){"use strict";(function(e){var r=n(4),o="object"==typeof exports&&exports&&!exports.nodeType&&exports,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===o?r.a.Buffer:void 0,s=a?a.allocUnsafe:void 0;t.a=function(e,t){if(t)return e.slice();var n=e.length,r=s?s(n):new e.constructor(n);return e.copy(r),r}}).call(this,n(76)(e))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(0),a=(r=i)&&r.__esModule?r:{default:r};t.default=function(e){var t=e.fill,n=void 0===t?"currentColor":t,r=e.width,i=void 0===r?24:r,s=e.height,c=void 0===s?24:s,l=e.style,u=void 0===l?{}:l,p=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["fill","width","height","style"]);return a.default.createElement("svg",o({viewBox:"0 0 24 24",style:o({fill:n,width:i,height:c},u)},p),a.default.createElement("path",{d:"M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z"}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(0),a=(r=i)&&r.__esModule?r:{default:r};t.default=function(e){var t=e.fill,n=void 0===t?"currentColor":t,r=e.width,i=void 0===r?24:r,s=e.height,c=void 0===s?24:s,l=e.style,u=void 0===l?{}:l,p=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["fill","width","height","style"]);return a.default.createElement("svg",o({viewBox:"0 0 24 24",style:o({fill:n,width:i,height:c},u)},p),a.default.createElement("path",{d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AssetsTableDurationCell=t.AssetsTableNameCell=t.AssetsTableNameFilter=t.AssetsTableStatusCell=t.AssetsTableTypeCell=t.AssetsTableTypeFilter=t.AssetsTableSelectCell=t.AssetsTableSelectFilter=t.AssetsTableDropzone=t.AssetsTableDateCell=t.AssetsTypeIcon=t.ImageSequencePlayer=t.AudioPlayer=t.VideoPlayer=t.ImagePlayer=t.AssetDetails=t.Portal=t.ShortcutMenu=t.StoryPreviewer=t.LogViewer=t.ServiceIcon=t.NoAccess=t.Spinner=t.DeterminateLoader=t.Section=t.SliderField=t.TextAreaField=t.TextField=t.Tag=t.Tabs=t.ColorField=t.SelectField=t.NumberField=t.Modal=t.ListField=t.HRule=t.FieldWrapper=t.DataTablePaginator=t.DataTable=t.ControlledList=t.CheckboxField=t.Card=t.ButtonMenuItem=t.ButtonMenu=t.ButtonGroupField=t.Button=t.ImposiumDropdown=t.ImposiumHeader=t.AuthGate=t.AppWrapper=void 0,t.getFirstStoryInOrg=t.validateAccessLevel=t.Timer=t.StorageService=t.LegacyAPI=t.API=t.SessionService=t.AuthService=t.assetActions=t.assetTags=t.addAssetTagToList=t.getAssetTagList=t.selectedAssets=t.assetUploads=t.assetList=t.assetFilters=t.resetSelection=t.deselectAsset=t.selectAsset=t.uploadAssets=t.toggleAutoTag=t.doAssetTableHydration=t.updateAssetData=t.updateAssetName=t.deleteAssetTag=t.addAssetTag=t.deleteAssets=t.getAssets=t.updateFilters=t.storyDeleted=t.orgNameMutated=t.storyNameMutated=t.storyAdded=t.clearCachedAccessList=t.cacheAccessData=t.access=t.clearCachedAuth=t.login=t.auth=t.StaticCompositionRenderer=t.StaticCompositionEditor=t.PreviewNotAvailable=t.DroppableAssetRenderer=t.FontAssetPreview=t.AssetsUploadMenu=t.AssetField=t.AssetsTableComplexTagCell=t.AssetsTableTagsPivot=t.AssetsTableTagsFilter=t.AssetsTableTagsCell=void 0,t.ASSET_TYPES=t.CompositionRendererLayer=t.TextLayer=t.formatDateDefault=t.padStart=t.toFixed=t.validateAssetMimetype=t.mimetypeConformsToOverlay=t.filterHotkeys=t.formattedTime=t.fitToContainer=t.scrapeEmail=t.parameterizeServiceUrl=t.string2HexCode=void 0;var r=n(134);t.AppWrapper=r.default;var o=n(195);t.AuthGate=o.default;var i=n(84);t.ImposiumHeader=i.default;var a=n(51);t.ImposiumDropdown=a.default;var s=n(5);t.Button=s.default;var c=n(89);t.ButtonMenu=c.default;var l=n(90);t.ButtonMenuItem=l.default;var u=n(91);t.Card=u.default;var p=n(92);t.ControlledList=p.default;var f=n(203);t.DataTable=f.default;var d=n(208);t.DataTablePaginator=d.default;var h=n(209);t.Modal=h.default;var v=n(210);t.Tabs=v.default;var g=n(9);t.FieldWrapper=g.default;var m=n(22);t.CheckboxField=m.default;var y=n(211);t.ListField=y.default;var b=n(57);t.ButtonGroupField=b.default;var _=n(35);t.NumberField=_.default;var w=n(34);t.SelectField=w.default;var x=n(11);t.TextField=x.default;var E=n(94);t.TextAreaField=E.default;var O=n(213);t.SliderField=O.default;var C=n(58);t.ColorField=C.default;var T=n(44);t.Tag=T.default;var A=n(45);t.HRule=A.default;var S=n(322);t.Section=S.default;var P=n(33);t.Spinner=P.default;var k=n(82);t.NoAccess=k.default;var j=n(85);t.ServiceIcon=j.default;var I=n(120);t.DeterminateLoader=I.default;var N=n(323);t.AssetsTableDateCell=N.default;var R=n(324);t.AssetsTableDurationCell=R.default;var D=n(121);t.AssetField=D.default;var L=n(78);t.AssetsTableDropzone=L.default;var M=n(327);t.AssetsTableNameCell=M.default;var F=n(328);t.AssetsTableNameFilter=F.default;var H=n(329);t.AssetsTableSelectCell=H.default;var U=n(330);t.AssetsTableSelectFilter=U.default;var z=n(331);t.AssetsTableTagsCell=z.default;var B=n(332);t.AssetsTableTagsFilter=B.default;var V=n(333);t.AssetsTableTagsPivot=V.default;var q=n(334);t.AssetsTableComplexTagCell=q.default;var G=n(335);t.AssetsTableTypeCell=G.default;var W=n(336);t.AssetsTableStatusCell=W.default;var Y=n(337);t.AssetsTableTypeFilter=Y.default;var X=n(79);t.AssetsTypeIcon=X.default;var $=n(338);t.FontAssetPreview=$.default;var J=n(339);t.AssetsUploadMenu=J.default;var K=n(340);Object.defineProperty(t,"PreviewNotAvailable",{enumerable:!0,get:function(){return K.PreviewNotAvailable}});var Q=n(122);t.DroppableAssetRenderer=Q.default;var Z=n(123);t.ImagePlayer=Z.default;var ee=n(21);t.VideoPlayer=ee.default;var te=n(341);t.AudioPlayer=te.default;var ne=n(342);t.ImageSequencePlayer=ne.default;var re=n(124);t.LogViewer=re.default;var oe=n(344);t.StoryPreviewer=oe.default;var ie=n(347);t.StaticCompositionEditor=ie.default;var ae=n(127);t.StaticCompositionRenderer=ae.default;var se=n(351);t.ShortcutMenu=se.default;var ce=n(80);t.TextLayer=ce.default;var le=n(26);Object.defineProperty(t,"ASSET_TYPES",{enumerable:!0,get:function(){return le.ASSET_TYPES}});var ue=n(352);t.Portal=ue.default;var pe=n(353);t.AssetDetails=pe.default;var fe=n(354);t.auth=fe.default;var de=n(31);Object.defineProperty(t,"login",{enumerable:!0,get:function(){return de.login}}),Object.defineProperty(t,"clearCachedAuth",{enumerable:!0,get:function(){return de.clearCachedAuth}});var he=n(355);t.access=he.default;var ve=n(32);Object.defineProperty(t,"cacheAccessData",{enumerable:!0,get:function(){return ve.cacheAccessData}}),Object.defineProperty(t,"clearCachedAccessList",{enumerable:!0,get:function(){return ve.clearCachedAccessList}}),Object.defineProperty(t,"storyAdded",{enumerable:!0,get:function(){return ve.storyAdded}}),Object.defineProperty(t,"storyNameMutated",{enumerable:!0,get:function(){return ve.storyNameMutated}}),Object.defineProperty(t,"orgNameMutated",{enumerable:!0,get:function(){return ve.orgNameMutated}}),Object.defineProperty(t,"storyDeleted",{enumerable:!0,get:function(){return ve.storyDeleted}});var ge=n(20);Object.defineProperty(t,"updateFilters",{enumerable:!0,get:function(){return ge.updateFilters}});var me=n(15);Object.defineProperty(t,"getAssets",{enumerable:!0,get:function(){return me.getAssets}}),Object.defineProperty(t,"deleteAssets",{enumerable:!0,get:function(){return me.deleteAssets}}),Object.defineProperty(t,"addAssetTag",{enumerable:!0,get:function(){return me.addAssetTag}}),Object.defineProperty(t,"deleteAssetTag",{enumerable:!0,get:function(){return me.deleteAssetTag}}),Object.defineProperty(t,"updateAssetName",{enumerable:!0,get:function(){return me.updateAssetName}}),Object.defineProperty(t,"updateAssetData",{enumerable:!0,get:function(){return me.updateAssetData}}),Object.defineProperty(t,"doAssetTableHydration",{enumerable:!0,get:function(){return me.doAssetTableHydration}});var ye=n(77);Object.defineProperty(t,"getAssetTagList",{enumerable:!0,get:function(){return ye.getAssetTagList}}),Object.defineProperty(t,"addAssetTagToList",{enumerable:!0,get:function(){return ye.addAssetTagToList}});var be=n(46);Object.defineProperty(t,"toggleAutoTag",{enumerable:!0,get:function(){return be.toggleAutoTag}}),Object.defineProperty(t,"uploadAssets",{enumerable:!0,get:function(){return be.uploadAssets}});var _e=n(25);Object.defineProperty(t,"selectAsset",{enumerable:!0,get:function(){return _e.selectAsset}}),Object.defineProperty(t,"deselectAsset",{enumerable:!0,get:function(){return _e.deselectAsset}}),Object.defineProperty(t,"resetSelection",{enumerable:!0,get:function(){return _e.resetSelection}});var we=n(356);t.assetFilters=we.default;var xe=n(357);t.assetList=xe.default;var Ee=n(358);t.assetTags=Ee.default;var Oe=n(359);t.assetUploads=Oe.default;var Ce=n(360);t.selectedAssets=Ce.default;var Te=n(15);t.assetActions=Te.default;var Ae=n(30);t.AuthService=Ae.default;var Se=n(29);t.SessionService=Se.default;var Pe=n(361);t.API=Pe.default;var ke=n(363);t.LegacyAPI=ke.default;var je=n(364);t.StorageService=je.default;var Ie=n(126);t.Timer=Ie.default;var Ne=n(6);Object.defineProperty(t,"getFirstStoryInOrg",{enumerable:!0,get:function(){return Ne.getFirstStoryInOrg}}),Object.defineProperty(t,"string2HexCode",{enumerable:!0,get:function(){return Ne.string2HexCode}}),Object.defineProperty(t,"toFixed",{enumerable:!0,get:function(){return Ne.toFixed}}),Object.defineProperty(t,"padStart",{enumerable:!0,get:function(){return Ne.padStart}}),Object.defineProperty(t,"parameterizeServiceUrl",{enumerable:!0,get:function(){return Ne.parameterizeServiceUrl}}),Object.defineProperty(t,"scrapeEmail",{enumerable:!0,get:function(){return Ne.scrapeEmail}}),Object.defineProperty(t,"fitToContainer",{enumerable:!0,get:function(){return Ne.fitToContainer}}),Object.defineProperty(t,"filterHotkeys",{enumerable:!0,get:function(){return Ne.filterHotkeys}}),Object.defineProperty(t,"mimetypeConformsToOverlay",{enumerable:!0,get:function(){return Ne.mimetypeConformsToOverlay}}),Object.defineProperty(t,"validateAssetMimetype",{enumerable:!0,get:function(){return Ne.validateAssetMimetype}}),Object.defineProperty(t,"formatDateDefault",{enumerable:!0,get:function(){return Ne.formatDateDefault}}),Object.defineProperty(t,"validateAccessLevel",{enumerable:!0,get:function(){return Ne.validateAccessLevel}}),Object.defineProperty(t,"formattedTime",{enumerable:!0,get:function(){return Ne.formattedTime}});var Re=n(128);t.CompositionRendererLayer=Re.default},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),a=n(82),s=n(84),c=n(29),l=n(30),u=n(7),p=n(8),f=n(31),d=n(32),h=n(6),v=function(e){function t(n){var r=e.call(this,n)||this;return r.componentDidMount=function(){var e=r.props,t=e.auth,n=e.access,o=e.auth0ClientId,i=e.isFreshUser,a=c.default.getSession();l.default.bindToClient(o),i||null===t||null===n||"object"!=typeof a||"string"!=typeof a.sub||a.sub!==t.idTokenPayload.sub||a.stories_hash!==c.default.generateStoriesHash(n)||a.orgs_hash!==c.default.generateOrgsHash(n)?r.doCheckSession(!0):r.propagateCreds()},r.componentDidUpdate=function(e,t){var n,o=r.props.auth;if(o){var i=o.idTokenPayload.exp;l.default.checkExpiry(i)||(r.props.clearCachedAuth(),r.props.clearCachedAccessList(),r.doCheckSession())}r.props.organizationId!==e.organizationId&&(n=h.validateAccessLevel(r.props.organizationId,r.props.serviceId,r.props.access),r.state.restrictAccess||n||r.setState({restrictAccess:!0}),r.state.restrictAccess&&n&&r.setState({restrictAccess:!1}))},r.propagateCreds=function(){var e,t=r.props,n=t.auth,o=t.access,i=t.storyId,a=t.onAuthenticated,s=r.determineActiveOrganization(n,o),l=c.default.getSession().story_id;r.props.storyId&&(e=o.organizations.find((function(e){return e.id===s})))&&e.stories.find((function(e){return e.id===i}))&&(l=i),a(s,l),r.state.blockRender&&r.setState({blockRender:!1})},r.handleCheckSessionFailure=function(e){r.props.clearCachedAuth(),r.props.clearCachedAccessList(),r.props.onAuthenticationFailure(e)},r.doCheckSession=function(e){void 0===e&&(e=!1);r.props.onAuthenticationFailure;e&&r.setState({blockRender:!0}),l.default.checkSession().then((function(e){c.default.getAccessData(e.idToken).then((function(t){r.props.login(e),r.props.cacheAccessData(t),c.default.buildFreshSession(e,t),r.propagateCreds()})).catch((function(e){console.error(e),r.handleCheckSessionFailure(e)}))})).catch((function(e){console.error(e),r.handleCheckSessionFailure(e)}))},r.determineActiveOrganization=function(e,t){var n=r.props.serviceId,o=t.organizations,i=c.default.getSession(),a=o.map((function(e){return e.id})),s=r.determineActiveOrganizationIn(e,i,a),l=o.find((function(e){return e.id===s}));return l&&!l.services.includes(n)&&r.setState({restrictAccess:!0}),s},r.setActiveOrganization=function(e,t,n){if(!n||!n.organization_id||n.organization_id!==e){var o=r.props.access.organizations.find((function(t){return t.id===e})),i="object"==typeof o.stories[0]?o.stories[0].id:"";c.default.updateSession({organization_id:e,story_id:i},t)}return e},r.render=function(){var e,n=r.state,o=n.blockRender,a=n.restrictAccess,c=r.props,l=c.children,u=c.showRequestAccess,p=c.allowUnauthenticatedRender;return!o&&a&&(e=["object"==typeof l[0]&&l[0].type===s.default&&l[0],u?t.RESTRICTED_REQUEST:t.RESTRICTED_BLOCK]),(!o&&!a||p)&&(e=l),i.createElement("div",{id:"app",className:"app"},e)},r.state={blockRender:!0,restrictAccess:!1},r}return o(t,e),t.prototype.determineActiveOrganizationIn=function(e,t,n){var r=this.props.organizationId,o=e.idTokenPayload.exp;return n.length>0?r&&n.indexOf(r)>-1?this.setActiveOrganization(r,o,t):t&&t.organization_id&&n.indexOf(t.organization_id)>-1?t.organization_id:this.setActiveOrganization(n[0],o,t):""},t.RESTRICTED_REQUEST=i.createElement(a.default,{key:"restriction-msg",type:"request"}),t.RESTRICTED_BLOCK=i.createElement(a.default,{key:"restriction-msg",type:"restrict"}),t}(i.Component);t.default=u.connect((function(e){return{auth:e.auth,access:e.access}}),(function(e){return p.bindActionCreators({login:f.login,clearCachedAuth:f.clearCachedAuth,cacheAccessData:d.cacheAccessData,clearCachedAccessList:d.clearCachedAccessList},e)}))(v)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zM243.8 381.4c0 43.6-25.6 63.5-62.9 63.5-33.7 0-53.2-17.4-63.2-38.5l34.3-20.7c6.6 11.7 12.6 21.6 27.1 21.6 13.8 0 22.6-5.4 22.6-26.5V237.7h42.1v143.7zm99.6 63.5c-39.1 0-64.4-18.6-76.7-43l34.3-19.8c9 14.7 20.8 25.6 41.5 25.6 17.4 0 28.6-8.7 28.6-20.8 0-14.4-11.4-19.5-30.7-28l-10.5-4.5c-30.4-12.9-50.5-29.2-50.5-63.5 0-31.6 24.1-55.6 61.6-55.6 26.8 0 46 9.3 59.8 33.7L368 290c-7.2-12.9-15-18-27.1-18-12.3 0-20.1 7.8-20.1 18 0 12.6 7.8 17.7 25.9 25.6l10.5 4.5c35.8 15.3 55.9 31 55.9 66.2 0 37.8-29.8 58.6-69.7 58.6z";t.definition={prefix:"fab",iconName:"js-square",icon:[448,512,r,"f3b9",o]},t.faJsSquare=t.definition,t.prefix="fab",t.iconName="js-square",t.width=448,t.height=512,t.ligatures=r,t.unicode="f3b9",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M488 64h-8v20c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12V64H96v20c0 6.6-5.4 12-12 12H44c-6.6 0-12-5.4-12-12V64h-8C10.7 64 0 74.7 0 88v336c0 13.3 10.7 24 24 24h8v-20c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v20h320v-20c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v20h8c13.3 0 24-10.7 24-24V88c0-13.3-10.7-24-24-24zM96 372c0 6.6-5.4 12-12 12H44c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40zm0-96c0 6.6-5.4 12-12 12H44c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40zm0-96c0 6.6-5.4 12-12 12H44c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40zm272 208c0 6.6-5.4 12-12 12H156c-6.6 0-12-5.4-12-12v-96c0-6.6 5.4-12 12-12h200c6.6 0 12 5.4 12 12v96zm0-168c0 6.6-5.4 12-12 12H156c-6.6 0-12-5.4-12-12v-96c0-6.6 5.4-12 12-12h200c6.6 0 12 5.4 12 12v96zm112 152c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40zm0-96c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40zm0-96c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40z";t.definition={prefix:"fas",iconName:"film",icon:[512,512,r,"f008",o]},t.faFilm=t.definition,t.prefix="fas",t.iconName="film",t.width=512,t.height=512,t.ligatures=r,t.unicode="f008",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M504.971 199.362l-22.627-22.627c-9.373-9.373-24.569-9.373-33.941 0l-5.657 5.657L329.608 69.255l5.657-5.657c9.373-9.373 9.373-24.569 0-33.941L312.638 7.029c-9.373-9.373-24.569-9.373-33.941 0L154.246 131.48c-9.373 9.373-9.373 24.569 0 33.941l22.627 22.627c9.373 9.373 24.569 9.373 33.941 0l5.657-5.657 39.598 39.598-81.04 81.04-5.657-5.657c-12.497-12.497-32.758-12.497-45.255 0L9.373 412.118c-12.497 12.497-12.497 32.758 0 45.255l45.255 45.255c12.497 12.497 32.758 12.497 45.255 0l114.745-114.745c12.497-12.497 12.497-32.758 0-45.255l-5.657-5.657 81.04-81.04 39.598 39.598-5.657 5.657c-9.373 9.373-9.373 24.569 0 33.941l22.627 22.627c9.373 9.373 24.569 9.373 33.941 0l124.451-124.451c9.372-9.372 9.372-24.568 0-33.941z";t.definition={prefix:"fas",iconName:"gavel",icon:[512,512,r,"f0e3",o]},t.faGavel=t.definition,t.prefix="fas",t.iconName="gavel",t.width=512,t.height=512,t.ligatures=r,t.unicode="f0e3",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M448 73.143v45.714C448 159.143 347.667 192 224 192S0 159.143 0 118.857V73.143C0 32.857 100.333 0 224 0s224 32.857 224 73.143zM448 176v102.857C448 319.143 347.667 352 224 352S0 319.143 0 278.857V176c48.125 33.143 136.208 48.572 224 48.572S399.874 209.143 448 176zm0 160v102.857C448 479.143 347.667 512 224 512S0 479.143 0 438.857V336c48.125 33.143 136.208 48.572 224 48.572S399.874 369.143 448 336z";t.definition={prefix:"fas",iconName:"database",icon:[448,512,r,"f1c0",o]},t.faDatabase=t.definition,t.prefix="fas",t.iconName="database",t.width=448,t.height=512,t.ligatures=r,t.unicode="f1c0",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M332.8 320h38.4c6.4 0 12.8-6.4 12.8-12.8V172.8c0-6.4-6.4-12.8-12.8-12.8h-38.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h38.4c6.4 0 12.8-6.4 12.8-12.8V76.8c0-6.4-6.4-12.8-12.8-12.8h-38.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-288 0h38.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-38.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h38.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-38.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zM496 384H64V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-32c0-8.84-7.16-16-16-16z";t.definition={prefix:"fas",iconName:"chart-bar",icon:[512,512,r,"f080",o]},t.faChartBar=t.definition,t.prefix="fas",t.iconName="chart-bar",t.width=512,t.height=512,t.ligatures=r,t.unicode="f080",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M610.5 341.3c2.6-14.1 2.6-28.5 0-42.6l25.8-14.9c3-1.7 4.3-5.2 3.3-8.5-6.7-21.6-18.2-41.2-33.2-57.4-2.3-2.5-6-3.1-9-1.4l-25.8 14.9c-10.9-9.3-23.4-16.5-36.9-21.3v-29.8c0-3.4-2.4-6.4-5.7-7.1-22.3-5-45-4.8-66.2 0-3.3.7-5.7 3.7-5.7 7.1v29.8c-13.5 4.8-26 12-36.9 21.3l-25.8-14.9c-2.9-1.7-6.7-1.1-9 1.4-15 16.2-26.5 35.8-33.2 57.4-1 3.3.4 6.8 3.3 8.5l25.8 14.9c-2.6 14.1-2.6 28.5 0 42.6l-25.8 14.9c-3 1.7-4.3 5.2-3.3 8.5 6.7 21.6 18.2 41.1 33.2 57.4 2.3 2.5 6 3.1 9 1.4l25.8-14.9c10.9 9.3 23.4 16.5 36.9 21.3v29.8c0 3.4 2.4 6.4 5.7 7.1 22.3 5 45 4.8 66.2 0 3.3-.7 5.7-3.7 5.7-7.1v-29.8c13.5-4.8 26-12 36.9-21.3l25.8 14.9c2.9 1.7 6.7 1.1 9-1.4 15-16.2 26.5-35.8 33.2-57.4 1-3.3-.4-6.8-3.3-8.5l-25.8-14.9zM496 368.5c-26.8 0-48.5-21.8-48.5-48.5s21.8-48.5 48.5-48.5 48.5 21.8 48.5 48.5-21.7 48.5-48.5 48.5zM96 224c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm224 32c1.9 0 3.7-.5 5.6-.6 8.3-21.7 20.5-42.1 36.3-59.2 7.4-8 17.9-12.6 28.9-12.6 6.9 0 13.7 1.8 19.6 5.3l7.9 4.6c.8-.5 1.6-.9 2.4-1.4 7-14.6 11.2-30.8 11.2-48 0-61.9-50.1-112-112-112S208 82.1 208 144c0 61.9 50.1 112 112 112zm105.2 194.5c-2.3-1.2-4.6-2.6-6.8-3.9-8.2 4.8-15.3 9.8-27.5 9.8-10.9 0-21.4-4.6-28.9-12.6-18.3-19.8-32.3-43.9-40.2-69.6-10.7-34.5 24.9-49.7 25.8-50.3-.1-2.6-.1-5.2 0-7.8l-7.9-4.6c-3.8-2.2-7-5-9.8-8.1-3.3.2-6.5.6-9.8.6-24.6 0-47.6-6-68.5-16h-8.3C179.6 288 128 339.6 128 403.2V432c0 26.5 21.5 48 48 48h255.4c-3.7-6-6.2-12.8-6.2-20.3v-9.2zM173.1 274.6C161.5 263.1 145.6 256 128 256H64c-35.3 0-64 28.7-64 64v32c0 17.7 14.3 32 32 32h65.9c6.3-47.4 34.9-87.3 75.2-109.4z";t.definition={prefix:"fas",iconName:"users-cog",icon:[640,512,r,"f509",o]},t.faUsersCog=t.definition,t.prefix="fas",t.iconName="users-cog",t.width=640,t.height=512,t.ligatures=r,t.unicode="f509",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M512.1 191l-8.2 14.3c-3 5.3-9.4 7.5-15.1 5.4-11.8-4.4-22.6-10.7-32.1-18.6-4.6-3.8-5.8-10.5-2.8-15.7l8.2-14.3c-6.9-8-12.3-17.3-15.9-27.4h-16.5c-6 0-11.2-4.3-12.2-10.3-2-12-2.1-24.6 0-37.1 1-6 6.2-10.4 12.2-10.4h16.5c3.6-10.1 9-19.4 15.9-27.4l-8.2-14.3c-3-5.2-1.9-11.9 2.8-15.7 9.5-7.9 20.4-14.2 32.1-18.6 5.7-2.1 12.1.1 15.1 5.4l8.2 14.3c10.5-1.9 21.2-1.9 31.7 0L552 6.3c3-5.3 9.4-7.5 15.1-5.4 11.8 4.4 22.6 10.7 32.1 18.6 4.6 3.8 5.8 10.5 2.8 15.7l-8.2 14.3c6.9 8 12.3 17.3 15.9 27.4h16.5c6 0 11.2 4.3 12.2 10.3 2 12 2.1 24.6 0 37.1-1 6-6.2 10.4-12.2 10.4h-16.5c-3.6 10.1-9 19.4-15.9 27.4l8.2 14.3c3 5.2 1.9 11.9-2.8 15.7-9.5 7.9-20.4 14.2-32.1 18.6-5.7 2.1-12.1-.1-15.1-5.4l-8.2-14.3c-10.4 1.9-21.2 1.9-31.7 0zm-10.5-58.8c38.5 29.6 82.4-14.3 52.8-52.8-38.5-29.7-82.4 14.3-52.8 52.8zM386.3 286.1l33.7 16.8c10.1 5.8 14.5 18.1 10.5 29.1-8.9 24.2-26.4 46.4-42.6 65.8-7.4 8.9-20.2 11.1-30.3 5.3l-29.1-16.8c-16 13.7-34.6 24.6-54.9 31.7v33.6c0 11.6-8.3 21.6-19.7 23.6-24.6 4.2-50.4 4.4-75.9 0-11.5-2-20-11.9-20-23.6V418c-20.3-7.2-38.9-18-54.9-31.7L74 403c-10 5.8-22.9 3.6-30.3-5.3-16.2-19.4-33.3-41.6-42.2-65.7-4-10.9.4-23.2 10.5-29.1l33.3-16.8c-3.9-20.9-3.9-42.4 0-63.4L12 205.8c-10.1-5.8-14.6-18.1-10.5-29 8.9-24.2 26-46.4 42.2-65.8 7.4-8.9 20.2-11.1 30.3-5.3l29.1 16.8c16-13.7 34.6-24.6 54.9-31.7V57.1c0-11.5 8.2-21.5 19.6-23.5 24.6-4.2 50.5-4.4 76-.1 11.5 2 20 11.9 20 23.6v33.6c20.3 7.2 38.9 18 54.9 31.7l29.1-16.8c10-5.8 22.9-3.6 30.3 5.3 16.2 19.4 33.2 41.6 42.1 65.8 4 10.9.1 23.2-10 29.1l-33.7 16.8c3.9 21 3.9 42.5 0 63.5zm-117.6 21.1c59.2-77-28.7-164.9-105.7-105.7-59.2 77 28.7 164.9 105.7 105.7zm243.4 182.7l-8.2 14.3c-3 5.3-9.4 7.5-15.1 5.4-11.8-4.4-22.6-10.7-32.1-18.6-4.6-3.8-5.8-10.5-2.8-15.7l8.2-14.3c-6.9-8-12.3-17.3-15.9-27.4h-16.5c-6 0-11.2-4.3-12.2-10.3-2-12-2.1-24.6 0-37.1 1-6 6.2-10.4 12.2-10.4h16.5c3.6-10.1 9-19.4 15.9-27.4l-8.2-14.3c-3-5.2-1.9-11.9 2.8-15.7 9.5-7.9 20.4-14.2 32.1-18.6 5.7-2.1 12.1.1 15.1 5.4l8.2 14.3c10.5-1.9 21.2-1.9 31.7 0l8.2-14.3c3-5.3 9.4-7.5 15.1-5.4 11.8 4.4 22.6 10.7 32.1 18.6 4.6 3.8 5.8 10.5 2.8 15.7l-8.2 14.3c6.9 8 12.3 17.3 15.9 27.4h16.5c6 0 11.2 4.3 12.2 10.3 2 12 2.1 24.6 0 37.1-1 6-6.2 10.4-12.2 10.4h-16.5c-3.6 10.1-9 19.4-15.9 27.4l8.2 14.3c3 5.2 1.9 11.9-2.8 15.7-9.5 7.9-20.4 14.2-32.1 18.6-5.7 2.1-12.1-.1-15.1-5.4l-8.2-14.3c-10.4 1.9-21.2 1.9-31.7 0zM501.6 431c38.5 29.6 82.4-14.3 52.8-52.8-38.5-29.6-82.4 14.3-52.8 52.8z";t.definition={prefix:"fas",iconName:"cogs",icon:[640,512,r,"f085",o]},t.faCogs=t.definition,t.prefix="fas",t.iconName="cogs",t.width=640,t.height=512,t.ligatures=r,t.unicode="f085",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm115.7 272l-176 101c-15.8 8.8-35.7-2.5-35.7-21V152c0-18.4 19.8-29.8 35.7-21l176 107c16.4 9.2 16.4 32.9 0 42z";t.definition={prefix:"fas",iconName:"play-circle",icon:[512,512,r,"f144",o]},t.faPlayCircle=t.definition,t.prefix="fas",t.iconName="play-circle",t.width=512,t.height=512,t.ligatures=r,t.unicode="f144",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M128 352H32c-17.67 0-32 14.33-32 32v96c0 17.67 14.33 32 32 32h96c17.67 0 32-14.33 32-32v-96c0-17.67-14.33-32-32-32zm-24-80h192v48h48v-48h192v48h48v-57.59c0-21.17-17.23-38.41-38.41-38.41H344v-64h40c17.67 0 32-14.33 32-32V32c0-17.67-14.33-32-32-32H256c-17.67 0-32 14.33-32 32v96c0 17.67 14.33 32 32 32h40v64H94.41C73.23 224 56 241.23 56 262.41V320h48v-48zm264 80h-96c-17.67 0-32 14.33-32 32v96c0 17.67 14.33 32 32 32h96c17.67 0 32-14.33 32-32v-96c0-17.67-14.33-32-32-32zm240 0h-96c-17.67 0-32 14.33-32 32v96c0 17.67 14.33 32 32 32h96c17.67 0 32-14.33 32-32v-96c0-17.67-14.33-32-32-32z";t.definition={prefix:"fas",iconName:"sitemap",icon:[640,512,r,"f0e8",o]},t.faSitemap=t.definition,t.prefix="fas",t.iconName="sitemap",t.width=640,t.height=512,t.ligatures=r,t.unicode="f0e8",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M500 384c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12H12c-6.6 0-12-5.4-12-12V76c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v308h436zM372.7 159.5L288 216l-85.3-113.7c-5.1-6.8-15.5-6.3-19.9 1L96 248v104h384l-89.9-187.8c-3.2-6.5-11.4-8.7-17.4-4.7z";t.definition={prefix:"fas",iconName:"chart-area",icon:[512,512,r,"f1fe",o]},t.faChartArea=t.definition,t.prefix="fas",t.iconName="chart-area",t.width=512,t.height=512,t.ligatures=r,t.unicode="f1fe",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M224 136V0H24C10.7 0 0 10.7 0 24v464c0 13.3 10.7 24 24 24h336c13.3 0 24-10.7 24-24V160H248c-13.2 0-24-10.8-24-24zm64 236c0 6.6-5.4 12-12 12H108c-6.6 0-12-5.4-12-12v-8c0-6.6 5.4-12 12-12h168c6.6 0 12 5.4 12 12v8zm0-64c0 6.6-5.4 12-12 12H108c-6.6 0-12-5.4-12-12v-8c0-6.6 5.4-12 12-12h168c6.6 0 12 5.4 12 12v8zm0-72v8c0 6.6-5.4 12-12 12H108c-6.6 0-12-5.4-12-12v-8c0-6.6 5.4-12 12-12h168c6.6 0 12 5.4 12 12zm96-114.1v6.1H256V0h6.1c6.4 0 12.5 2.5 17 7l97.9 98c4.5 4.5 7 10.6 7 16.9z";t.definition={prefix:"fas",iconName:"file-alt",icon:[384,512,r,"f15c",o]},t.faFileAlt=t.definition,t.prefix="fas",t.iconName="file-alt",t.width=384,t.height=512,t.ligatures=r,t.unicode="f15c",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M288.662 352H31.338c-17.818 0-26.741-21.543-14.142-34.142l128.662-128.662c7.81-7.81 20.474-7.81 28.284 0l128.662 128.662c12.6 12.599 3.676 34.142-14.142 34.142z";t.definition={prefix:"fas",iconName:"caret-up",icon:[320,512,r,"f0d8",o]},t.faCaretUp=t.definition,t.prefix="fas",t.iconName="caret-up",t.width=320,t.height=512,t.ligatures=r,t.unicode="f0d8",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z";t.definition={prefix:"fas",iconName:"caret-down",icon:[320,512,r,"f0d7",o]},t.faCaretDown=t.definition,t.prefix="fas",t.iconName="caret-down",t.width=320,t.height=512,t.ligatures=r,t.unicode="f0d7",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z";t.definition={prefix:"fas",iconName:"check",icon:[512,512,r,"f00c",o]},t.faCheck=t.definition,t.prefix="fas",t.iconName="check",t.width=512,t.height=512,t.ligatures=r,t.unicode="f00c",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M487.976 0H24.028C2.71 0-8.047 25.866 7.058 40.971L192 225.941V432c0 7.831 3.821 15.17 10.237 19.662l80 55.98C298.02 518.69 320 507.493 320 487.98V225.941l184.947-184.97C520.021 25.896 509.338 0 487.976 0z";t.definition={prefix:"fas",iconName:"filter",icon:[512,512,r,"f0b0",o]},t.faFilter=t.definition,t.prefix="fas",t.iconName="filter",t.width=512,t.height=512,t.ligatures=r,t.unicode="f0b0",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M288 39.056v16.659c0 10.804 7.281 20.159 17.686 23.066C383.204 100.434 440 171.518 440 256c0 101.689-82.295 184-184 184-101.689 0-184-82.295-184-184 0-84.47 56.786-155.564 134.312-177.219C216.719 75.874 224 66.517 224 55.712V39.064c0-15.709-14.834-27.153-30.046-23.234C86.603 43.482 7.394 141.206 8.003 257.332c.72 137.052 111.477 246.956 248.531 246.667C393.255 503.711 504 392.788 504 256c0-115.633-79.14-212.779-186.211-240.236C302.678 11.889 288 23.456 288 39.056z";t.definition={prefix:"fas",iconName:"circle-notch",icon:[512,512,r,"f1ce",o]},t.faCircleNotch=t.definition,t.prefix="fas",t.iconName="circle-notch",t.width=512,t.height=512,t.ligatures=r,t.unicode="f1ce",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M224 136V0H24C10.7 0 0 10.7 0 24v464c0 13.3 10.7 24 24 24h336c13.3 0 24-10.7 24-24V160H248c-13.2 0-24-10.8-24-24zm-64 268c0 10.7-12.9 16-20.5 8.5L104 376H76c-6.6 0-12-5.4-12-12v-56c0-6.6 5.4-12 12-12h28l35.5-36.5c7.6-7.6 20.5-2.2 20.5 8.5v136zm33.2-47.6c9.1-9.3 9.1-24.1 0-33.4-22.1-22.8 12.2-56.2 34.4-33.5 27.2 27.9 27.2 72.4 0 100.4-21.8 22.3-56.9-10.4-34.4-33.5zm86-117.1c54.4 55.9 54.4 144.8 0 200.8-21.8 22.4-57-10.3-34.4-33.5 36.2-37.2 36.3-96.5 0-133.8-22.1-22.8 12.3-56.3 34.4-33.5zM384 121.9v6.1H256V0h6.1c6.4 0 12.5 2.5 17 7l97.9 98c4.5 4.5 7 10.6 7 16.9z";t.definition={prefix:"fas",iconName:"file-audio",icon:[384,512,r,"f1c7",o]},t.faFileAudio=t.definition,t.prefix="fas",t.iconName="file-audio",t.width=384,t.height=512,t.ligatures=r,t.unicode="f1c7",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M384 121.941V128H256V0h6.059a24 24 0 0 1 16.97 7.029l97.941 97.941a24.002 24.002 0 0 1 7.03 16.971zM248 160c-13.2 0-24-10.8-24-24V0H24C10.745 0 0 10.745 0 24v464c0 13.255 10.745 24 24 24h336c13.255 0 24-10.745 24-24V160H248zm-135.455 16c26.51 0 48 21.49 48 48s-21.49 48-48 48-48-21.49-48-48 21.491-48 48-48zm208 240h-256l.485-48.485L104.545 328c4.686-4.686 11.799-4.201 16.485.485L160.545 368 264.06 264.485c4.686-4.686 12.284-4.686 16.971 0L320.545 304v112z";t.definition={prefix:"fas",iconName:"file-image",icon:[384,512,r,"f1c5",o]},t.faFileImage=t.definition,t.prefix="fas",t.iconName="file-image",t.width=384,t.height=512,t.ligatures=r,t.unicode="f1c5",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M377 105L279.1 7c-4.5-4.5-10.6-7-17-7H256v128h128v-6.1c0-6.3-2.5-12.4-7-16.9zM128.4 336c-17.9 0-32.4 12.1-32.4 27 0 15 14.6 27 32.5 27s32.4-12.1 32.4-27-14.6-27-32.5-27zM224 136V0h-63.6v32h-32V0H24C10.7 0 0 10.7 0 24v464c0 13.3 10.7 24 24 24h336c13.3 0 24-10.7 24-24V160H248c-13.2 0-24-10.8-24-24zM95.9 32h32v32h-32zm32.3 384c-33.2 0-58-30.4-51.4-62.9L96.4 256v-32h32v-32h-32v-32h32v-32h-32V96h32V64h32v32h-32v32h32v32h-32v32h32v32h-32v32h22.1c5.7 0 10.7 4.1 11.8 9.7l17.3 87.7c6.4 32.4-18.4 62.6-51.4 62.6z";t.definition={prefix:"fas",iconName:"file-archive",icon:[384,512,r,"f1c6",o]},t.faFileArchive=t.definition,t.prefix="fas",t.iconName="file-archive",t.width=384,t.height=512,t.ligatures=r,t.unicode="f1c6",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M320 448v40c0 13.255-10.745 24-24 24H24c-13.255 0-24-10.745-24-24V120c0-13.255 10.745-24 24-24h72v296c0 30.879 25.121 56 56 56h168zm0-344V0H152c-13.255 0-24 10.745-24 24v368c0 13.255 10.745 24 24 24h272c13.255 0 24-10.745 24-24V128H344c-13.2 0-24-10.8-24-24zm120.971-31.029L375.029 7.029A24 24 0 0 0 358.059 0H352v96h96v-6.059a24 24 0 0 0-7.029-16.97z";t.definition={prefix:"fas",iconName:"copy",icon:[448,512,r,"f0c5",o]},t.faCopy=t.definition,t.prefix="fas",t.iconName="copy",t.width=448,t.height=512,t.ligatures=r,t.unicode="f0c5",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z";t.definition={prefix:"fas",iconName:"times",icon:[352,512,r,"f00d",o]},t.faTimes=t.definition,t.prefix="fas",t.iconName="times",t.width=352,t.height=512,t.ligatures=r,t.unicode="f00d",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M402.6 83.2l90.2 90.2c3.8 3.8 3.8 10 0 13.8L274.4 405.6l-92.8 10.3c-12.4 1.4-22.9-9.1-21.5-21.5l10.3-92.8L388.8 83.2c3.8-3.8 10-3.8 13.8 0zm162-22.9l-48.8-48.8c-15.2-15.2-39.9-15.2-55.2 0l-35.4 35.4c-3.8 3.8-3.8 10 0 13.8l90.2 90.2c3.8 3.8 10 3.8 13.8 0l35.4-35.4c15.2-15.3 15.2-40 0-55.2zM384 346.2V448H64V128h229.8c3.2 0 6.2-1.3 8.5-3.5l40-40c7.6-7.6 2.2-20.5-8.5-20.5H48C21.5 64 0 85.5 0 112v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V306.2c0-10.7-12.9-16-20.5-8.5l-40 40c-2.2 2.3-3.5 5.3-3.5 8.5z";t.definition={prefix:"fas",iconName:"edit",icon:[576,512,r,"f044",o]},t.faEdit=t.definition,t.prefix="fas",t.iconName="edit",t.width=576,t.height=512,t.ligatures=r,t.unicode="f044",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M505 442.7L405.3 343c-4.5-4.5-10.6-7-17-7H372c27.6-35.3 44-79.7 44-128C416 93.1 322.9 0 208 0S0 93.1 0 208s93.1 208 208 208c48.3 0 92.7-16.4 128-44v16.3c0 6.4 2.5 12.5 7 17l99.7 99.7c9.4 9.4 24.6 9.4 33.9 0l28.3-28.3c9.4-9.4 9.4-24.6.1-34zM208 336c-70.7 0-128-57.2-128-128 0-70.7 57.2-128 128-128 70.7 0 128 57.2 128 128 0 70.7-57.2 128-128 128z";t.definition={prefix:"fas",iconName:"search",icon:[512,512,r,"f002",o]},t.faSearch=t.definition,t.prefix="fas",t.iconName="search",t.width=512,t.height=512,t.ligatures=r,t.unicode="f002",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z";t.definition={prefix:"fas",iconName:"plus",icon:[448,512,r,"f067",o]},t.faPlus=t.definition,t.prefix="fas",t.iconName="plus",t.width=448,t.height=512,t.ligatures=r,t.unicode="f067",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M384 112v352c0 26.51-21.49 48-48 48H48c-26.51 0-48-21.49-48-48V112c0-26.51 21.49-48 48-48h80c0-35.29 28.71-64 64-64s64 28.71 64 64h80c26.51 0 48 21.49 48 48zM192 40c-13.255 0-24 10.745-24 24s10.745 24 24 24 24-10.745 24-24-10.745-24-24-24m96 114v-20a6 6 0 0 0-6-6H102a6 6 0 0 0-6 6v20a6 6 0 0 0 6 6h180a6 6 0 0 0 6-6z";t.definition={prefix:"fas",iconName:"clipboard",icon:[384,512,r,"f328",o]},t.faClipboard=t.definition,t.prefix="fas",t.iconName="clipboard",t.width=384,t.height=512,t.ligatures=r,t.unicode="f328",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M31.7 239l136-136c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9L127.9 256l96.4 96.4c9.4 9.4 9.4 24.6 0 33.9L201.7 409c-9.4 9.4-24.6 9.4-33.9 0l-136-136c-9.5-9.4-9.5-24.6-.1-34z";t.definition={prefix:"fas",iconName:"angle-left",icon:[256,512,r,"f104",o]},t.faAngleLeft=t.definition,t.prefix="fas",t.iconName="angle-left",t.width=256,t.height=512,t.ligatures=r,t.unicode="f104",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M223.7 239l136-136c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9L319.9 256l96.4 96.4c9.4 9.4 9.4 24.6 0 33.9L393.7 409c-9.4 9.4-24.6 9.4-33.9 0l-136-136c-9.5-9.4-9.5-24.6-.1-34zm-192 34l136 136c9.4 9.4 24.6 9.4 33.9 0l22.6-22.6c9.4-9.4 9.4-24.6 0-33.9L127.9 256l96.4-96.4c9.4-9.4 9.4-24.6 0-33.9L201.7 103c-9.4-9.4-24.6-9.4-33.9 0l-136 136c-9.5 9.4-9.5 24.6-.1 34z";t.definition={prefix:"fas",iconName:"angle-double-left",icon:[448,512,r,"f100",o]},t.faAngleDoubleLeft=t.definition,t.prefix="fas",t.iconName="angle-double-left",t.width=448,t.height=512,t.ligatures=r,t.unicode="f100",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z";t.definition={prefix:"fas",iconName:"angle-right",icon:[256,512,r,"f105",o]},t.faAngleRight=t.definition,t.prefix="fas",t.iconName="angle-right",t.width=256,t.height=512,t.ligatures=r,t.unicode="f105",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34zm192-34l-136-136c-9.4-9.4-24.6-9.4-33.9 0l-22.6 22.6c-9.4 9.4-9.4 24.6 0 33.9l96.4 96.4-96.4 96.4c-9.4 9.4-9.4 24.6 0 33.9l22.6 22.6c9.4 9.4 24.6 9.4 33.9 0l136-136c9.4-9.2 9.4-24.4 0-33.8z";t.definition={prefix:"fas",iconName:"angle-double-right",icon:[448,512,r,"f101",o]},t.faAngleDoubleRight=t.definition,t.prefix="fas",t.iconName="angle-double-right",t.width=448,t.height=512,t.ligatures=r,t.unicode="f101",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M207.029 381.476L12.686 187.132c-9.373-9.373-9.373-24.569 0-33.941l22.667-22.667c9.357-9.357 24.522-9.375 33.901-.04L224 284.505l154.745-154.021c9.379-9.335 24.544-9.317 33.901.04l22.667 22.667c9.373 9.373 9.373 24.569 0 33.941L240.971 381.476c-9.373 9.372-24.569 9.372-33.942 0z";t.definition={prefix:"fas",iconName:"chevron-down",icon:[448,512,r,"f078",o]},t.faChevronDown=t.definition,t.prefix="fas",t.iconName="chevron-down",t.width=448,t.height=512,t.ligatures=r,t.unicode="f078",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M240.971 130.524l194.343 194.343c9.373 9.373 9.373 24.569 0 33.941l-22.667 22.667c-9.357 9.357-24.522 9.375-33.901.04L224 227.495 69.255 381.516c-9.379 9.335-24.544 9.317-33.901-.04l-22.667-22.667c-9.373-9.373-9.373-24.569 0-33.941L207.03 130.525c9.372-9.373 24.568-9.373 33.941-.001z";t.definition={prefix:"fas",iconName:"chevron-up",icon:[448,512,r,"f077",o]},t.faChevronUp=t.definition,t.prefix="fas",t.iconName="chevron-up",t.width=448,t.height=512,t.ligatures=r,t.unicode="f077",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M464 448H48c-26.51 0-48-21.49-48-48V112c0-26.51 21.49-48 48-48h416c26.51 0 48 21.49 48 48v288c0 26.51-21.49 48-48 48zM112 120c-30.928 0-56 25.072-56 56s25.072 56 56 56 56-25.072 56-56-25.072-56-56-56zM64 384h384V272l-87.515-87.515c-4.686-4.686-12.284-4.686-16.971 0L208 320l-55.515-55.515c-4.686-4.686-12.284-4.686-16.971 0L64 336v48z";t.definition={prefix:"fas",iconName:"image",icon:[512,512,r,"f03e",o]},t.faImage=t.definition,t.prefix="fas",t.iconName="image",t.width=512,t.height=512,t.ligatures=r,t.unicode="f03e",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M312 320h136V56c0-13.3-10.7-24-24-24H24C10.7 32 0 42.7 0 56v400c0 13.3 10.7 24 24 24h264V344c0-13.2 10.8-24 24-24zm129 55l-98 98c-4.5 4.5-10.6 7-17 7h-6V352h128v6.1c0 6.3-2.5 12.4-7 16.9z";t.definition={prefix:"fas",iconName:"sticky-note",icon:[448,512,r,"f249",o]},t.faStickyNote=t.definition,t.prefix="fas",t.iconName="sticky-note",t.width=448,t.height=512,t.ligatures=r,t.unicode="f249",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M256 8C119.034 8 8 119.033 8 256s111.034 248 248 248 248-111.034 248-248S392.967 8 256 8zm130.108 117.892c65.448 65.448 70 165.481 20.677 235.637L150.47 105.216c70.204-49.356 170.226-44.735 235.638 20.676zM125.892 386.108c-65.448-65.448-70-165.481-20.677-235.637L361.53 406.784c-70.203 49.356-170.226 44.736-235.638-20.676z";t.definition={prefix:"fas",iconName:"ban",icon:[512,512,r,"f05e",o]},t.faBan=t.definition,t.prefix="fas",t.iconName="ban",t.width=512,t.height=512,t.ligatures=r,t.unicode="f05e",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M480 416v16c0 26.51-21.49 48-48 48H48c-26.51 0-48-21.49-48-48V176c0-26.51 21.49-48 48-48h16v208c0 44.112 35.888 80 80 80h336zm96-80V80c0-26.51-21.49-48-48-48H144c-26.51 0-48 21.49-48 48v256c0 26.51 21.49 48 48 48h384c26.51 0 48-21.49 48-48zM256 128c0 26.51-21.49 48-48 48s-48-21.49-48-48 21.49-48 48-48 48 21.49 48 48zm-96 144l55.515-55.515c4.686-4.686 12.284-4.686 16.971 0L272 256l135.515-135.515c4.686-4.686 12.284-4.686 16.971 0L512 208v112H160v-48z";t.definition={prefix:"fas",iconName:"images",icon:[576,512,r,"f302",o]},t.faImages=t.definition,t.prefix="fas",t.iconName="images",t.width=576,t.height=512,t.ligatures=r,t.unicode="f302",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M256 32C114.52 32 0 146.496 0 288v48a32 32 0 0 0 17.689 28.622l14.383 7.191C34.083 431.903 83.421 480 144 480h24c13.255 0 24-10.745 24-24V280c0-13.255-10.745-24-24-24h-24c-31.342 0-59.671 12.879-80 33.627V288c0-105.869 86.131-192 192-192s192 86.131 192 192v1.627C427.671 268.879 399.342 256 368 256h-24c-13.255 0-24 10.745-24 24v176c0 13.255 10.745 24 24 24h24c60.579 0 109.917-48.098 111.928-108.187l14.382-7.191A32 32 0 0 0 512 336v-48c0-141.479-114.496-256-256-256z";t.definition={prefix:"fas",iconName:"headphones",icon:[512,512,r,"f025",o]},t.faHeadphones=t.definition,t.prefix="fas",t.iconName="headphones",t.width=512,t.height=512,t.ligatures=r,t.unicode="f025",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M279 224H41c-21.4 0-32.1-25.9-17-41L143 64c9.4-9.4 24.6-9.4 33.9 0l119 119c15.2 15.1 4.5 41-16.9 41z";t.definition={prefix:"fas",iconName:"sort-up",icon:[320,512,r,"f0de",o]},t.faSortUp=t.definition,t.prefix="fas",t.iconName="sort-up",t.width=320,t.height=512,t.ligatures=r,t.unicode="f0de",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M41 288h238c21.4 0 32.1 25.9 17 41L177 448c-9.4 9.4-24.6 9.4-33.9 0L24 329c-15.1-15.1-4.4-41 17-41z";t.definition={prefix:"fas",iconName:"sort-down",icon:[320,512,r,"f0dd",o]},t.faSortDown=t.definition,t.prefix="fas",t.iconName="sort-down",t.width=320,t.height=512,t.ligatures=r,t.unicode="f0dd",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm121.6 313.1c4.7 4.7 4.7 12.3 0 17L338 377.6c-4.7 4.7-12.3 4.7-17 0L256 312l-65.1 65.6c-4.7 4.7-12.3 4.7-17 0L134.4 338c-4.7-4.7-4.7-12.3 0-17l65.6-65-65.6-65.1c-4.7-4.7-4.7-12.3 0-17l39.6-39.6c4.7-4.7 12.3-4.7 17 0l65 65.7 65.1-65.6c4.7-4.7 12.3-4.7 17 0l39.6 39.6c4.7 4.7 4.7 12.3 0 17L312 256l65.6 65.1z";t.definition={prefix:"fas",iconName:"times-circle",icon:[512,512,r,"f057",o]},t.faTimesCircle=t.definition,t.prefix="fas",t.iconName="times-circle",t.width=512,t.height=512,t.ligatures=r,t.unicode="f057",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z";t.definition={prefix:"fas",iconName:"info-circle",icon:[512,512,r,"f05a",o]},t.faInfoCircle=t.definition,t.prefix="fas",t.iconName="info-circle",t.width=512,t.height=512,t.ligatures=r,t.unicode="f05a",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M432 416h-23.41L277.88 53.69A32 32 0 0 0 247.58 32h-47.16a32 32 0 0 0-30.3 21.69L39.41 416H16a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h128a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16h-19.58l23.3-64h152.56l23.3 64H304a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h128a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zM176.85 272L224 142.51 271.15 272z";t.definition={prefix:"fas",iconName:"font",icon:[448,512,r,"f031",o]},t.faFont=t.definition,t.prefix="fas",t.iconName="font",t.width=448,t.height=512,t.ligatures=r,t.unicode="f031",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M12.83 352h262.34A12.82 12.82 0 0 0 288 339.17v-38.34A12.82 12.82 0 0 0 275.17 288H12.83A12.82 12.82 0 0 0 0 300.83v38.34A12.82 12.82 0 0 0 12.83 352zm0-256h262.34A12.82 12.82 0 0 0 288 83.17V44.83A12.82 12.82 0 0 0 275.17 32H12.83A12.82 12.82 0 0 0 0 44.83v38.34A12.82 12.82 0 0 0 12.83 96zM432 160H16a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zm0 256H16a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16z";t.definition={prefix:"fas",iconName:"align-left",icon:[448,512,r,"f036",o]},t.faAlignLeft=t.definition,t.prefix="fas",t.iconName="align-left",t.width=448,t.height=512,t.ligatures=r,t.unicode="f036",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M16 224h416a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16H16a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16zm416 192H16a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zm3.17-384H172.83A12.82 12.82 0 0 0 160 44.83v38.34A12.82 12.82 0 0 0 172.83 96h262.34A12.82 12.82 0 0 0 448 83.17V44.83A12.82 12.82 0 0 0 435.17 32zm0 256H172.83A12.82 12.82 0 0 0 160 300.83v38.34A12.82 12.82 0 0 0 172.83 352h262.34A12.82 12.82 0 0 0 448 339.17v-38.34A12.82 12.82 0 0 0 435.17 288z";t.definition={prefix:"fas",iconName:"align-right",icon:[448,512,r,"f038",o]},t.faAlignRight=t.definition,t.prefix="fas",t.iconName="align-right",t.width=448,t.height=512,t.ligatures=r,t.unicode="f038",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M432 160H16a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zm0 256H16a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zM108.1 96h231.81A12.09 12.09 0 0 0 352 83.9V44.09A12.09 12.09 0 0 0 339.91 32H108.1A12.09 12.09 0 0 0 96 44.09V83.9A12.1 12.1 0 0 0 108.1 96zm231.81 256A12.09 12.09 0 0 0 352 339.9v-39.81A12.09 12.09 0 0 0 339.91 288H108.1A12.09 12.09 0 0 0 96 300.09v39.81a12.1 12.1 0 0 0 12.1 12.1z";t.definition={prefix:"fas",iconName:"align-center",icon:[448,512,r,"f037",o]},t.faAlignCenter=t.definition,t.prefix="fas",t.iconName="align-center",t.width=448,t.height=512,t.ligatures=r,t.unicode="f037",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M16 132h416c8.837 0 16-7.163 16-16V76c0-8.837-7.163-16-16-16H16C7.163 60 0 67.163 0 76v40c0 8.837 7.163 16 16 16zm0 160h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm0 160h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16z";t.definition={prefix:"fas",iconName:"bars",icon:[448,512,r,"f0c9",o]},t.faBars=t.definition,t.prefix="fas",t.iconName="bars",t.width=448,t.height=512,t.ligatures=r,t.unicode="f0c9",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M35.5 248l148-148.5c4.7-4.7 12.3-4.7 17 0l148 148.5c4.7 4.7 4.7 12.3 0 17l-7.1 7.1c-4.7 4.7-12.3 4.7-17 0L209 156.1V468c0 6.6-5.4 12-12 12h-10c-6.6 0-12-5.4-12-12V156.1L59.6 272c-4.7 4.7-12.3 4.7-17 0l-7.1-7.1c-4.7-4.6-4.7-12.2 0-16.9zM0 44v8c0 6.6 5.4 12 12 12h360c6.6 0 12-5.4 12-12v-8c0-6.6-5.4-12-12-12H12C5.4 32 0 37.4 0 44z";t.definition={prefix:"fal",iconName:"arrow-to-top",icon:[384,512,r,"f341",o]},t.faArrowToTop=t.definition,t.prefix="fal",t.iconName="arrow-to-top",t.width=384,t.height=512,t.ligatures=r,t.unicode="f341",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M348.5 264l-148 148.5c-4.7 4.7-12.3 4.7-17 0L35.5 264c-4.7-4.7-4.7-12.3 0-17l7.1-7.1c4.7-4.7 12.3-4.7 17 0l115.4 116V44c0-6.6 5.4-12 12-12h10c6.6 0 12 5.4 12 12v311.9L324.4 240c4.7-4.7 12.3-4.7 17 0l7.1 7.1c4.7 4.6 4.7 12.2 0 16.9zM384 468v-8c0-6.6-5.4-12-12-12H12c-6.6 0-12 5.4-12 12v8c0 6.6 5.4 12 12 12h360c6.6 0 12-5.4 12-12z";t.definition={prefix:"fal",iconName:"arrow-to-bottom",icon:[384,512,r,"f33d",o]},t.faArrowToBottom=t.definition,t.prefix="fal",t.iconName="arrow-to-bottom",t.width=384,t.height=512,t.ligatures=r,t.unicode="f33d",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M181.415 399.959c-4.686-4.686-12.284-4.686-16.971 0L113 451.887V60.113l51.444 51.928c4.686 4.686 12.284 4.686 16.971 0l7.07-7.071c4.686-4.686 4.686-12.284 0-16.97l-84-84.485c-4.686-4.686-12.284-4.686-16.971 0L3.515 88c-4.686 4.686-4.686 12.284 0 16.97l7.07 7.071c4.686 4.686 12.284 4.686 16.971 0L79 60.113v391.773l-51.444-51.928c-4.686-4.686-12.284-4.686-16.971 0l-7.07 7.071c-4.686 4.686-4.686 12.284 0 16.97l84 84.485c4.686 4.687 12.284 4.687 16.971 0l84-84.485c4.686-4.686 4.686-12.284 0-16.97l-7.071-7.07z";t.definition={prefix:"fal",iconName:"arrows-v",icon:[192,512,r,"f07d",o]},t.faArrowsV=t.definition,t.prefix="fal",t.iconName="arrows-v",t.width=192,t.height=512,t.ligatures=r,t.unicode="f07d",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M216 412.5l-148.5-148c-4.7-4.7-4.7-12.3 0-17L216 99.5c4.7-4.7 12.3-4.7 17 0l7.1 7.1c4.7 4.7 4.7 12.3 0 17L124.1 239H436c6.6 0 12 5.4 12 12v10c0 6.6-5.4 12-12 12H124.1L240 388.4c4.7 4.7 4.7 12.3 0 17l-7.1 7.1c-4.6 4.7-12.2 4.7-16.9 0zM12 448h8c6.6 0 12-5.4 12-12V76c0-6.6-5.4-12-12-12h-8C5.4 64 0 69.4 0 76v360c0 6.6 5.4 12 12 12z";t.definition={prefix:"fal",iconName:"arrow-to-left",icon:[448,512,r,"f33e",o]},t.faArrowToLeft=t.definition,t.prefix="fal",t.iconName="arrow-to-left",t.width=448,t.height=512,t.ligatures=r,t.unicode="f33e",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M215 99.5l-7.1 7.1c-4.7 4.7-4.7 12.3 0 17l116 115.4H12c-6.6 0-12 5.4-12 12v10c0 6.6 5.4 12 12 12h311.9L208 388.4c-4.7 4.7-4.7 12.3 0 17l7.1 7.1c4.7 4.7 12.3 4.7 17 0l148.5-148c4.7-4.7 4.7-12.3 0-17L232 99.5c-4.7-4.7-12.3-4.7-17 0zM448 76v360c0 6.6-5.4 12-12 12h-8c-6.6 0-12-5.4-12-12V76c0-6.6 5.4-12 12-12h8c6.6 0 12 5.4 12 12z";t.definition={prefix:"fal",iconName:"arrow-to-right",icon:[448,512,r,"f340",o]},t.faArrowToRight=t.definition,t.prefix="fal",t.iconName="arrow-to-right",t.width=448,t.height=512,t.ligatures=r,t.unicode="f340",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M399.959 170.585c-4.686 4.686-4.686 12.284 0 16.971L451.887 239H60.113l51.928-51.444c4.686-4.686 4.686-12.284 0-16.971l-7.071-7.07c-4.686-4.686-12.284-4.686-16.97 0l-84.485 84c-4.686 4.686-4.686 12.284 0 16.971l84.485 84c4.686 4.686 12.284 4.686 16.97 0l7.071-7.07c4.686-4.686 4.686-12.284 0-16.971L60.113 273h391.773l-51.928 51.444c-4.686 4.686-4.686 12.284 0 16.971l7.071 7.07c4.686 4.686 12.284 4.686 16.97 0l84.485-84c4.687-4.686 4.687-12.284 0-16.971l-84.485-84c-4.686-4.686-12.284-4.686-16.97 0l-7.07 7.071z";t.definition={prefix:"fal",iconName:"arrows-h",icon:[512,512,r,"f07e",o]},t.faArrowsH=t.definition,t.prefix="fal",t.iconName="arrows-h",t.width=512,t.height=512,t.ligatures=r,t.unicode="f07e",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M448 344v112a23.94 23.94 0 0 1-24 24H312c-21.39 0-32.09-25.9-17-41l36.2-36.2L224 295.6 116.77 402.9 153 439c15.09 15.1 4.39 41-17 41H24a23.94 23.94 0 0 1-24-24V344c0-21.4 25.89-32.1 41-17l36.19 36.2L184.46 256 77.18 148.7 41 185c-15.1 15.1-41 4.4-41-17V56a23.94 23.94 0 0 1 24-24h112c21.39 0 32.09 25.9 17 41l-36.2 36.2L224 216.4l107.23-107.3L295 73c-15.09-15.1-4.39-41 17-41h112a23.94 23.94 0 0 1 24 24v112c0 21.4-25.89 32.1-41 17l-36.19-36.2L263.54 256l107.28 107.3L407 327.1c15.1-15.2 41-4.5 41 16.9z";t.definition={prefix:"fas",iconName:"expand-arrows-alt",icon:[448,512,r,"f31e",o]},t.faExpandArrowsAlt=t.definition,t.prefix="fas",t.iconName="expand-arrows-alt",t.width=448,t.height=512,t.ligatures=r,t.unicode="f31e",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M0 180V56c0-13.3 10.7-24 24-24h124c6.6 0 12 5.4 12 12v8c0 6.6-5.4 12-12 12H32v116c0 6.6-5.4 12-12 12h-8c-6.6 0-12-5.4-12-12zM300 32h124c13.3 0 24 10.7 24 24v124c0 6.6-5.4 12-12 12h-8c-6.6 0-12-5.4-12-12V64H300c-6.6 0-12-5.4-12-12v-8c0-6.6 5.4-12 12-12zm148 300v124c0 13.3-10.7 24-24 24H300c-6.6 0-12-5.4-12-12v-8c0-6.6 5.4-12 12-12h116V332c0-6.6 5.4-12 12-12h8c6.6 0 12 5.4 12 12zM148 480H24c-13.3 0-24-10.7-24-24V332c0-6.6 5.4-12 12-12h8c6.6 0 12 5.4 12 12v116h116c6.6 0 12 5.4 12 12v8c0 6.6-5.4 12-12 12z";t.definition={prefix:"fal",iconName:"expand",icon:[448,512,r,"f065",o]},t.faExpand=t.definition,t.prefix="fal",t.iconName="expand",t.width=448,t.height=512,t.ligatures=r,t.unicode="f065",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M436 192H312c-13.3 0-24-10.7-24-24V44c0-6.6 5.4-12 12-12h8c6.6 0 12 5.4 12 12v116h116c6.6 0 12 5.4 12 12v8c0 6.6-5.4 12-12 12zm-276-24V44c0-6.6-5.4-12-12-12h-8c-6.6 0-12 5.4-12 12v116H12c-6.6 0-12 5.4-12 12v8c0 6.6 5.4 12 12 12h124c13.3 0 24-10.7 24-24zm0 300V344c0-13.3-10.7-24-24-24H12c-6.6 0-12 5.4-12 12v8c0 6.6 5.4 12 12 12h116v116c0 6.6 5.4 12 12 12h8c6.6 0 12-5.4 12-12zm160 0V352h116c6.6 0 12-5.4 12-12v-8c0-6.6-5.4-12-12-12H312c-13.3 0-24 10.7-24 24v124c0 6.6 5.4 12 12 12h8c6.6 0 12-5.4 12-12z";t.definition={prefix:"fal",iconName:"compress",icon:[448,512,r,"f066",o]},t.faCompress=t.definition,t.prefix="fal",t.iconName="compress",t.width=448,t.height=512,t.ligatures=r,t.unicode="f066",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M12.41 148.02l232.94 105.67c6.8 3.09 14.49 3.09 21.29 0l232.94-105.67c16.55-7.51 16.55-32.52 0-40.03L266.65 2.31a25.607 25.607 0 0 0-21.29 0L12.41 107.98c-16.55 7.51-16.55 32.53 0 40.04zm487.18 88.28l-58.09-26.33-161.64 73.27c-7.56 3.43-15.59 5.17-23.86 5.17s-16.29-1.74-23.86-5.17L70.51 209.97l-58.1 26.33c-16.55 7.5-16.55 32.5 0 40l232.94 105.59c6.8 3.08 14.49 3.08 21.29 0L499.59 276.3c16.55-7.5 16.55-32.5 0-40zm0 127.8l-57.87-26.23-161.86 73.37c-7.56 3.43-15.59 5.17-23.86 5.17s-16.29-1.74-23.86-5.17L70.29 337.87 12.41 364.1c-16.55 7.5-16.55 32.5 0 40l232.94 105.59c6.8 3.08 14.49 3.08 21.29 0L499.59 404.1c16.55-7.5 16.55-32.5 0-40z";t.definition={prefix:"fas",iconName:"layer-group",icon:[512,512,r,"f5fd",o]},t.faLayerGroup=t.definition,t.prefix="fas",t.iconName="layer-group",t.width=512,t.height=512,t.ligatures=r,t.unicode="f5fd",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M239.1 6.3l-208 78c-18.7 7-31.1 25-31.1 45v225.1c0 18.2 10.3 34.8 26.5 42.9l208 104c13.5 6.8 29.4 6.8 42.9 0l208-104c16.3-8.1 26.5-24.8 26.5-42.9V129.3c0-20-12.4-37.9-31.1-44.9l-208-78C262 2.2 250 2.2 239.1 6.3zM256 68.4l192 72v1.1l-192 78-192-78v-1.1l192-72zm32 356V275.5l160-65v133.9l-160 80z";t.definition={prefix:"fas",iconName:"cube",icon:[512,512,r,"f1b2",o]},t.faCube=t.definition,t.prefix="fas",t.iconName="cube",t.width=512,t.height=512,t.ligatures=r,t.unicode="f1b2",t.svgPathData=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],o="M384 121.941V128H256V0h6.059c6.365 0 12.47 2.529 16.971 7.029l97.941 97.941A24.005 24.005 0 0 1 384 121.941zM248 160c-13.2 0-24-10.8-24-24V0H24C10.745 0 0 10.745 0 24v464c0 13.255 10.745 24 24 24h336c13.255 0 24-10.745 24-24V160H248zM123.206 400.505a5.4 5.4 0 0 1-7.633.246l-64.866-60.812a5.4 5.4 0 0 1 0-7.879l64.866-60.812a5.4 5.4 0 0 1 7.633.246l19.579 20.885a5.4 5.4 0 0 1-.372 7.747L101.65 336l40.763 35.874a5.4 5.4 0 0 1 .372 7.747l-19.579 20.884zm51.295 50.479l-27.453-7.97a5.402 5.402 0 0 1-3.681-6.692l61.44-211.626a5.402 5.402 0 0 1 6.692-3.681l27.452 7.97a5.4 5.4 0 0 1 3.68 6.692l-61.44 211.626a5.397 5.397 0 0 1-6.69 3.681zm160.792-111.045l-64.866 60.812a5.4 5.4 0 0 1-7.633-.246l-19.58-20.885a5.4 5.4 0 0 1 .372-7.747L284.35 336l-40.763-35.874a5.4 5.4 0 0 1-.372-7.747l19.58-20.885a5.4 5.4 0 0 1 7.633-.246l64.866 60.812a5.4 5.4 0 0 1-.001 7.879z";t.definition={prefix:"fas",iconName:"file-code",icon:[384,512,r,"f1c9",o]},t.faFileCode=t.definition,t.prefix="fas",t.iconName="file-code",t.width=384,t.height=512,t.ligatures=r,t.unicode="f1c9",t.svgPathData=o},function(e,t,n){var r,o;
2
2
  /*!
3
3
  * JavaScript Cookie v2.2.1
4
4
  * https://github.com/js-cookie/js-cookie