0byt3m1n1
Path:
/
home
/
mgatv524
/
mixmidia.mgaplay.com.br
/
web
/
dist
/
[
Home
]
File: layoutEditor.bundle.min.js
(function(){var __webpack_modules__={20453:function(e,t,o){var n=document.querySelector("meta[name='public-path']").content;o.p=n+"dist/"},56512:function(e,t,o){var n=o(8099),a=o(80939),r=function(e,t){this.parent=e,this.DOMObject=t};r.prototype.render=function(e,t){var o=this.parent,r=null!=o.readOnlyMode&&!0===o.readOnlyMode,i=$.extend(toolbarTrans,topbarTrans),l=o.checkHistory();i.undoActiveTitle=l?l.undoActiveTitle:"";var s=o.selectedObject.isDeletable&&(void 0===o.readOnlyMode||!1===o.readOnlyMode);if(i.trashBinActiveTitle=s?i.deleteObject.replace("%object%",o.selectedObject.type):"",o.navigatorMode)this.DOMObject.html(n({trans:i,readOnlyModeOn:r,element:e,undoActive:l.undoActive,trashActive:s})),this.DOMObject.find("#add-btn").click(lD.addRegion);else if("widget"==e.type){var c=e.index,d=e.drawerWidget?lD.getElementByTypeAndId("drawer"):lD.getElementByTypeAndId("region",e.regionId),f=null!=d&&null!=d.numWidgets?d.numWidgets:1;this.DOMObject.html(a({currentItem:c,totalItems:f,extra:t.extra,regionName:d?d.name:"",pagingEnable:f>1,trans:i,readOnlyModeOn:r,element:e,undoActive:l.undoActive,trashActive:s})),t.extra&&f>1&&(this.DOMObject.find("#left-btn").prop("disabled",c<=1).click(function(){lD.selectObject($("#"+e.getNextWidget(!0).id))}.bind(this)),this.DOMObject.find("#right-btn").prop("disabled",c>=f).click(function(){lD.selectObject($("#"+e.getNextWidget().id))}.bind(this)))}else if("layout"==e.type){this.DOMObject.html(a({trans:i,readOnlyModeOn:r,renderLayout:!0,element:e,undoActive:l.undoActive,trashActive:s}));var u=urlsForApi.layout.preview.url;u=u.replace(":id",lD.layout.layoutId),this.DOMObject.find("#play-btn").click(function(){lD.viewer.previewPlaying?(this.DOMObject.find("#play-btn i").removeClass("fa-stop-circle").addClass("fa-play-circle").attr("title",bottombarTrans.playPreviewLayout),o.renderContainer(o.viewer,o.layout)):(lD.viewer.playPreview(u,lD.viewer.containerElementDimensions),this.DOMObject.find("#play-btn i").removeClass("fa-play-circle").addClass("fa-stop-circle").attr("title",bottombarTrans.stopPreviewLayout),lD.viewer.previewPlaying=!0)}.bind(this)),this.DOMObject.find("#navigator-edit-btn").click(function(){o.toggleNavigatorEditing(!0)}.bind(this))}else"region"==e.type&&this.DOMObject.html(a({trans:i,readOnlyModeOn:r,element:e,undoActive:l.undoActive,trashActive:s}));null!=o.readOnlyMode&&!0===o.readOnlyMode&&$('<div id="read-only-message" class="alert alert-warning text-center navbar-nav" data-container=".editor-bottom-bar" data-toggle="tooltip" data-placement="bottom" data-title="'+layoutEditorTrans.readOnlyModeMessage+'" role="alert"><strong>'+layoutEditorTrans.readOnlyModeTitle+"</strong>: "+layoutEditorTrans.readOnlyModeMessage+"</div>").insertAfter(this.DOMObject.find(".pull-left")).on("click",lD.checkoutLayout),this.DOMObject.find("#delete-btn").click((function(){e.isDeletable&&lD.deleteSelectedObject()})),this.DOMObject.find("#undo-btn").click((function(){o.undoLastAction()})),this.DOMObject.find(".properties-btn").click((function(){var t=$(this).data();e.editPropertyForm(t.property,t.propertyType)}))},r.prototype.showPlayMessage=function(){var e=this.DOMObject.find("#play-btn i");e.popover("show"),setTimeout((function(){e.popover("dispose")}),4e3)},e.exports=r},15151:function(e){e.exports=function(e,t,o,n,a,r){this.id=e,this.type=t,this.target={id:n,type:o},this.oldState=a,this.newState=r,this.timeStamp=Math.round((new Date).getTime()/1e3),this.uploaded=!1,this.uploading=!1}},33429:function(t){t.exports={displayTooltips:!0,showLoadingScreen:function(){var e=$(".loading-overlay.loading").data("bump")||0;++e<=1&&$(".loading-overlay").addClass("loading").show(),$(".loading-overlay").data("bump",e++)},hideLoadingScreen:function(){var e=$(".loading-overlay.loading").data("bump")||1;--e<=0&&$(".loading-overlay.loading").removeClass("loading"),$(".loading-overlay").data("bump",e)},reloadTooltips:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,o=null!=t?t:this.displayTooltips;e.tooltip("dispose").tooltip({boundary:"window",trigger:"hover",selector:o?'[data-toggle="tooltip"]:not(:disabled)':'[data-toggle="tooltip"].tooltip-always-on:not(:disabled)'}),this.clearTooltips()},clearTooltips:function(){$("body").find(".tooltip, .popover:not(.tour)").remove()},timeFormat:function(e){var t=Math.floor(e/3600),o=Math.floor(e%3600/60),n=Math.floor(e%3600%60),a=function(e){return e<10&&(e="0"+e),e},r=t>0?a(t)+":":"",i=o>0||""!=r?a(o)+":":"";return r+i+(""!=i?a(n):n)},formatFileSize:function(t){return(b=Math,c=b.log,d=1e3,e=c(t)/c(d)|0,t/b.pow(d,e)).toFixed(2)+" "+(e?"kMGTPEZY"[--e]+"B":"Bytes")},getModuleByType:function(e){var t;return modulesList.forEach((function(o){o.type==e&&(t=o)})),t}}},40360:function(e,t,o){function n(e,t,o,n,a,r,i){try{var l=e[r](i),s=l.value}catch(e){return void o(e)}l.done?t(s):Promise.resolve(s).then(n,a)}function a(e){return function(){var t=this,o=arguments;return new Promise((function(a,r){var i=e.apply(t,o);function l(e){n(i,a,r,l,s,"next",e)}function s(e){n(i,a,r,l,s,"throw",e)}l(void 0)}))}}var r=o(15151),i=o(25847),l={transform:{inverse:"transform",parseData:!0},create:{inverse:"delete"},saveForm:{inverse:"saveForm"},addMedia:{inverse:"delete"},addWidget:{inverse:"delete"},order:{inverse:"order"}},s=function(e,t,o){this.parent=e,this.DOMObject=t,this.extended=!0,this.visible=o,this.changeUniqueId=0,this.changeHistory=[],this.toggleExtended=function(){this.extended=!this.extended,this.render()},this.changesToUpload=function(){for(var e=this.changeHistory.length-1;e>=0;e--)if(!this.changeHistory[e].uploaded)return!0;return!1}};s.prototype.addChange=function(e,t,o,n,a){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},l=i.upload,s=void 0===l||l,c=i.addToHistory,d=void 0===c||c,f=i.updateTargetId,u=void 0!==f&&f,p=i.updateTargetType,b=void 0===p?null:p,m=i.customRequestPath,h=void 0===m?null:m,g=i.customRequestReplace,y=void 0===g?null:g,v=this.changeUniqueId++,w=new r(v,e,t,o,n,a);return d&&(this.changeHistory.push(w),this.render()),s?this.uploadChange(w,u,b,h,y):Promise.resolve("Change added!")},s.prototype.uploadChange=function(e,t,o,n,a){var r=this,i=this.parent;if(!e||e.uploaded)return Promise.reject("Change already uploaded!");e.uploading=!0;var l=null!=n?n:urlsForApi[e.target.type][e.type],s=l.url;if(a&&(s=s.replace(a.tag,a.replace)),e.target){var c=e.target.id;(null==c||l.useMainObjectId)&&(c=i.mainObjectId),s=s.replace(":id",c)}return new Promise((function(n,a){$.ajax({url:s,type:l.type,data:e.newState}).done(function(i){if(i.success){if(e.uploaded=!0,e.uploading=!1,t)if("create"===e.type||"addWidget"===e.type)e.target.id=i.id;else if("addMedia"===e.type){e.target.id=[];for(var l=0;l<i.data.newWidgets.length;l++)e.target.id.push(i.data.newWidgets[l].widgetId)}null!=o&&(e.target.type=o),n(i)}else i.login?(window.location.href=window.location.href,location.reload()):null==i.message?a(i):a(i.message);r.render()}.bind(e)).fail((function(e,t,o){console.error(e,t,o),a({jqXHR:e,textStatus:t,errorThrown:o})}))}))},s.prototype.revertChange=function(){if(this.changeHistory.length<=0)return Promise.reject("There are no changes in history!");var e=this,t=this.parent,o=this.changeHistory[this.changeHistory.length-1],n=l[o.type].inverse,a=l[o.type].parseData;return new Promise((function(r,i){if(o.uploaded){var l=urlsForApi[o.target.type][n];!function a(){var s=l.url;if(o.target){var c="";Array.isArray(o.target.id)?(c=o.target.id[0],o.target.id.shift()):c=o.target.id,(null==c||l.useMainObjectId)&&(c=t.mainObjectId),s=s.replace(":id",c)}$.ajax({url:s,type:l.type,data:o.oldState}).done((function(l){l.success?Array.isArray(o.target.id)&&0==o.target.id.length||$.isNumeric(o.target.id)?(e.changeHistory.pop(),"delete"===n&&t.selectObject(),r(l)):(toastr.success(l.message),a()):l.login?(window.location.href=window.location.href,location.reload()):null==l.message?i(l):i(l.message)})).fail((function(e,t,o){console.error(e,t,o),i({jqXHR:e,textStatus:t,errorThrown:o})}))}()}else{var s=o.oldState,c=t.getElementByTypeAndId(o.target.type,o.target.type+"_"+o.target.id);null!=a&&a&&(s=JSON.parse(s.regions)[0]),c[n](s,!1),e.changeHistory.pop(),r({type:n,target:o.target.type,message:"Change reverted",localRevert:!0})}}))},s.prototype.saveAllChanges=a(regeneratorRuntime.mark((function e(){var t,o,n,a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=this,this.changesToUpload()){e.next=3;break}return e.abrupt("return",Promise.resolve("No changes to upload"));case 3:o=[],n=0;case 5:if(!(n<t.changeHistory.length)){e.next=19;break}if(!(a=t.changeHistory[n]).uploaded&&!a.uploading){e.next=9;break}return e.abrupt("continue",16);case 9:return a.uploading=!0,e.t0=o,e.next=13,t.uploadChange(a);case 13:e.t1=e.sent,e.t0.push.call(e.t0,e.t1),t.render();case 16:n++,e.next=5;break;case 19:return e.abrupt("return",Promise.all(o));case 20:case"end":return e.stop()}}),e,this)}))),s.prototype.removeAllChanges=function(e,t){var o=this;return new Promise((function(n,a){for(var r=0;r<o.changeHistory.length;r++){var i=o.changeHistory[r];i.target.type===e&&(i.target.id===t||Array.isArray(i.target.id)&&i.target.id.includes(t))&&(o.changeHistory.splice(r,1),r--)}o.render(),n("All Changes Removed")}))},s.prototype.removeLastChange=function(){this.changeHistory.pop(),this.render()},s.prototype.render=function(){if(0!=this.visible){var e=i(this);this.DOMObject.html(e),this.DOMObject.draggable(),this.DOMObject.find("#layout-manager-header .title").click(this.toggleExtended.bind(this))}},e.exports=s},76911:function(e,t,o){var n=o(99145),a=o(27527),r=o(62224),i=o(88943),l=o(85637),s=function(e,t){this.parent=e,this.DOMObject=t,this.formSerializedLoadData="",this.inlineEditor=!1,this.openTabOnRender=""};s.prototype.elementAction=function(e,t){this.parent.getElementByTypeAndId(e.type,e.id,e.regionId)[t]()},s.prototype.save=function(e){var t=this,o=this.parent,n=this;o.editorContainer.removeClass("inline-edit-mode"),this.inlineEditor&&void 0!==o.viewer&&o.viewer.hideInlineEditor(),"widget"===e.type&&formHelpers.widgetFormEditBeforeSubmit(this.DOMObject,e.subType);var a=$(this.DOMObject).find("form");if(a.valid()){var r=a.serialize();o.common.showLoadingScreen(),this.openTabOnRender='a[href="'+o.propertiesPanel.DOMObject.find(".nav-tabs .nav-link.active").attr("href")+'"]',o.manager.addChange("saveForm",e.type,e[e.type+"Id"],this.formSerializedLoadData,r,{customRequestPath:{url:a.attr("action"),type:a.attr("method")}}).then((function(n){o.common.hideLoadingScreen(),"function"==typeof o.timeline.resetZoom&&o.timeline.resetZoom();var a=n.message,r=function(){toastr.success(a);var e=o.getElementByTypeAndId(o.mainObjectType,o.mainObjectId);o.reloadData(e)},i=t.DOMObject.find("#drawerWidgetTargetRegion");if(i.length>0&&""!=i.val()){var l=i.val(),s=urlsForApi[e.type].setRegion.url;s=s.replace(":id",e[e.type+"Id"]),$.ajax({url:s,type:urlsForApi[e.type].setRegion.type,data:{targetRegionId:l}}).done((function(e){e.success?(toastr.success(e.message),r()):e.login?(window.location.href=window.location.href,location.reload()):(toastr.error(errorMessagesTrans.formLoadFailed),null==e.message?console.error(e):console.error(e.message))})).catch((function(e,t,o){console.error(e,t,o),toastr.error(errorMessagesTrans.formLoadFailed)}))}else r()})).catch((function(e){o.common.hideLoadingScreen();var t="";t+="string"==typeof e?e:e.errorThrown,o.manager.removeLastChange(),formHelpers.displayErrorMessage(a,t,"danger"),o.propertiesPanel.inlineEditor&&o.viewer.showInlineEditor(),n.openTabOnRender="",toastr.error(t)}))}},s.prototype.back=function(e){var t=this.DOMObject.find("form").data("formStep");this.render(e,t-1)},s.prototype.makeFormReadOnly=function(){this.DOMObject.find("input, select, textarea, button:not(.copyTextAreaButton)").attr("disabled","disabled"),this.DOMObject.find("button:not(.copyTextAreaButton)").hide(),this.DOMObject.find(".bootstrap-switch").hide()},s.prototype.render=function(e,t){var o=this;if(void 0===e||$.isEmptyObject(e)||void 0===e.type||void 0===e[e.type+"Id"])return this.DOMObject.html(""),!1;if("widget"==e.type&&!e.enabled)return this.DOMObject.html(a({message:editorsTrans.invalidModule})),!1;this.inlineEditor=!1,this.DOMObject.html(n());var s=urlsForApi[e.type].getForm.url,c=o.DOMObject.parents(".toggle-panel");c.hasClass("opened")&&this.DOMObject.siblings(".toggle-container").hide(),s=s.replace(":id",e[e.type+"Id"]),void 0!==t&&"number"==typeof t&&(s+="?step="+t),null!=this.renderRequest&&this.renderRequest.abort("requestAborted"),this.renderRequest=$.get(s).done((function(t){var n=o.parent;if(o.renderRequest=void 0,null!==t.html&&!1!==t.success){var a=Handlebars.compile(t.html),s={};void 0!==n.readOnlyMode&&!1!==n.readOnlyMode||(s=formHelpers.widgetFormRenderButtons(t.buttons));var d=r({header:t.dialogTitle,style:e.type,form:a(e),buttons:s,trans:propertiesPanelTrans,isDrawerWidget:e.drawerWidget||!1});if(o.DOMObject.html(d),"layout"===n.mainObjectType){var f=urlsForApi[e.type].addActionForm.url;f=f.replace(":id",e[e.type+"Id"]);var u=actionsTranslations.tableHeaders.name,p=o.DOMObject.find(".nav-tabs");$('<li class="nav-item"><a class="nav-link action-tab" href="#actionTab" role="tab" data-toggle="tab"><span id="actionTabName"></span></a></li>').appendTo(p),$("#actionTabName").text(u);var b=i({trans:actionsTranslations}),m=o.DOMObject.find(".tab-content");$(b).appendTo(m),showActionsGrid(e.type,e[e.type+"Id"]),o.DOMObject.find(".button-container").append($(l({addUrl:f,trans:actionsTranslations})))}o.DOMObject.data("extra",t.extra);var h=void 0!==n.viewer;if(o.DOMObject.data("formEditorOnly",!h),h&&o.DOMObject.data("viewerObject",n.viewer),"widget"===e.type?(null!=e.getOptions&&o.DOMObject.find("form").data("elementOptions",e.getOptions()),formHelpers.widgetFormEditAfterOpen(o.DOMObject,e.subType)):"region"===e.type&&"function"==typeof window.regionFormEditOpen&&window.regionFormEditOpen.bind(o.DOMObject)(),o.DOMObject.find("input[type=text]").each((function(e,t){formRenderDetectSpacingIssues(t),$(t).on("keyup",_.debounce((function(){formRenderDetectSpacingIssues(t)}),500))})),o.formSerializedLoadData=o.DOMObject.find("form").serialize(),void 0!==n.readOnlyMode&&!1!==n.readOnlyMode||(o.DOMObject.find(".properties-panel-btn").click((function(t){$(this).data("action")&&o[$(this).data("action")](e,$(this).data("subAction"))})),null!=o.DOMObject.find("form").data("formStep")&&o.DOMObject.find("form").data("formStep")>1?o.DOMObject.find("button#back").show():o.DOMObject.find("button#back").hide(),o.DOMObject.off("keydown").keydown((function(t){"Enter"!=t.key||$(t.target).is("textarea")||o.save(e,$(this).data("subAction"))}))),XiboInitialise("#"+o.DOMObject.attr("id")),"layout"==e.type&&backGroundFormSetup(o.DOMObject),null!=n.readOnlyMode&&!0===n.readOnlyMode&&o.makeFormReadOnly(),""!=o.openTabOnRender&&(o.DOMObject.find(o.openTabOnRender).tab("show"),o.openTabOnRender=""),$(".form-editor-controls-target-region").length>0){var g=o.DOMObject.find(".form-editor-controls-target-region #drawerWidgetTargetRegion");g.find("option:not(.default-option)").remove();var y=e.targetRegionId||"";for(regionID in lD.layout.regions){var v=lD.layout.regions[regionID],w=$('<option value="'+v.regionId+'">'+v.name+"</option>");y==v.regionId&&w.attr("selected","selected"),w.appendTo(g)}}"layout"!==n.mainObjectType||"widget"!==e.type||0!==e.isValid||c.hasClass("opened")||(n.togglePanel(c),n.savePrefs()),c.find(".toggle").off().click((function(e){e.stopPropagation(),n.togglePanel(c),n.savePrefs()})),o.DOMObject.siblings(".toggle-container").show()}else o.DOMObject.html('<div class="unsuccessMessage">'+t.message+"</div>")})).fail((function(e){o.renderRequest=void 0,"requestAborted"!=e.statusText&&toastr.error(errorMessagesTrans.getFormFailed,errorMessagesTrans.error)}))},e.exports=s},74087:function(e,t,o){var n=o(85696),a=o(42518),r=o(53594),i=o(99393),l=o(32708),s=o(85375),c=o(86123),d=[],f=[],u=[];modulesList.forEach((function(e){1==e.assignable&&0==e.regionSpecific&&-1==["image","audio","video"].indexOf(e.type)&&f.push({type:e.type,name:e.name}),-1==["image","audio","video"].indexOf(e.type)&&d.push(e)})),d.sort((function(e,t){return e.name<t.name?-1:1})),usersList.forEach((function(e){u.push({userId:e.userId.toString(),name:e.userName})}));var p={name:{value:""},tag:{value:""},type:{value:""},owner:{value:""},orientation:{value:""},provider:{value:"both"}},b=[{name:"widgets",itemName:toolbarTrans.menuItems.widgetsName,itemTitle:toolbarTrans.menuItems.widgetsTitle,itemIcon:"th-large",content:[],filters:{name:{value:""}},state:"",itemCount:0,favouriteModules:[]},{name:"image",itemName:toolbarTrans.menuItems.imageName,itemIcon:"image",itemTitle:toolbarTrans.menuItems.imageTitle,search:!0,filters:{name:{value:""},tag:{value:""},type:{value:"image",locked:!0},owner:{value:"",values:u},orientation:{value:""},provider:{value:"both"}},state:"",itemCount:0},{name:"audio",itemName:toolbarTrans.menuItems.audioName,itemIcon:"volume-up",itemTitle:toolbarTrans.menuItems.audioTitle,search:!0,filters:{name:{value:""},tag:{value:""},type:{value:"audio",locked:!0},owner:{value:"",values:u},provider:{value:"both"}},state:"",itemCount:0},{name:"video",itemName:toolbarTrans.menuItems.videoName,itemIcon:"video",itemTitle:toolbarTrans.menuItems.videoTitle,search:!0,filters:{name:{value:""},tag:{value:""},type:{value:"video",locked:!0},owner:{value:"",values:u},orientation:{value:""},provider:{value:"both"}},state:"",itemCount:0},{name:"library",itemName:toolbarTrans.menuItems.libraryName,itemIcon:"archive",itemTitle:toolbarTrans.menuItems.libraryTitle,search:!0,filters:{name:{value:""},tag:{value:""},type:{value:"",values:f},owner:{value:"",values:u},provider:{value:"both"}},state:"",itemCount:0}],m=function(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];this.parent=e,this.DOMObject=t,this.openedMenu=-1,this.menuItems=b;var a=this.parent.common.getModuleByType;this.menuItems.forEach((function(e){e.search&&("library"==e.name?(e.disabled=!0,e.filters.type.values.forEach((function(t){t.disabled=$.isEmptyObject(a(t.type)),e.disabled&&!t.disabled&&(e.disabled=!1)}))):e.disabled=$.isEmptyObject(a(e.name)))})),this.widgetMenuIndex=0,this.libraryMenuIndex=4,this.selectedCard={},this.customActions=o,this.firstRun=!0,this.opened=!1,this.useQueue=!0,this.selectedQueue=[],this.showOptions=n,this.customModuleList=d};m.prototype.loadPrefs=function(){var e=urlsForApi.user.getPref,t=this.parent,o=this;$.ajax({url:e.url+"?preference=toolbar",type:e.type}).done((function(e){if(e.success){var n=JSON.parse(e.data.value);o.openedMenu=null!=n.openedMenu?n.openedMenu:-1,o.menuItems[o.widgetMenuIndex].favouriteModules=null!=n.favouriteModules?n.favouriteModules:[],n.filters&&n.filters.forEach((function(e,t){for(var n in e)o.menuItems[t].filters[n].value=e[n]})),t.common.displayTooltips=1==n.displayTooltips||null==n.displayTooltips,t.common.reloadTooltips(t.editorContainer),t.refreshDesigner(!0)}else e.login?(window.location.href=window.location.href,location.reload()):null==e.message?console.error(e):console.error(e.message)})).catch((function(e,t,o){console.error(e,t,o),toastr.error(errorMessagesTrans.userLoadPreferencesFailed)}))},m.prototype.savePrefs=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.parent,o=this.openedMenu,n=t.common.displayTooltips?1:0,a=[],r=[];e?(o=-1,n=1):(a=this.menuItems[this.widgetMenuIndex].favouriteModules,this.menuItems.forEach((function(e,t){for(var o in r[t]={},e.filters)p[o].value!=e.filters[o].value&&1!=e.filters[o].locked&&(r[t][o]=e.filters[o].value)})));var i={preference:[{option:"toolbar",value:JSON.stringify({filters:r,openedMenu:o,displayTooltips:n,favouriteModules:a})}]},l=urlsForApi.user.savePref;$.ajax({url:l.url,type:l.type,data:i}).done((function(e){e.success||(e.login?(window.location.href=window.location.href,location.reload()):(toastr.error(errorMessagesTrans.userSavePreferencesFailed),null==e.message?console.error(e):console.error(e.message)))})).catch((function(e,t,o){console.error(e,t,o),toastr.error(errorMessagesTrans.userSavePreferencesFailed)}))},m.prototype.render=function(){var e=this;this.firstRun&&(this.firstRun=!1,this.loadPrefs());var t=this,o=this.parent;this.selectedCard={};var a=Object.assign({},toolbarTrans),r=o.selectedObject.isDeletable&&(void 0===o.readOnlyMode||!1===o.readOnlyMode);a.trashBinActiveTitle=r?toolbarTrans.deleteObject.replace("%object%",o.selectedObject.type):"";var i=o.checkHistory();a.undoActiveTitle=i?i.undoActiveTitle:"";var l=-1!=this.openedMenu&&(void 0===o.readOnlyMode||!1===o.readOnlyMode),s=n({opened:l,menuItems:this.menuItems,displayTooltips:o.common.displayTooltips,trashActive:r,undoActive:i.undoActive,trans:a,showOptions:t.showOptions,mainObjectType:o.mainObjectType});if(this.DOMObject.html(s),null!=o.readOnlyMode&&!0===o.readOnlyMode)this.DOMObject.hide();else{this.DOMObject.show();for(var c=function(o){var n=t,a=o;e.DOMObject.find("#btn-menu-"+a).click((function(){n.openMenu(a)}))},d=0;d<this.menuItems.length;d++)c(d);this.DOMObject.find(".trash-container").click((function(){$(this).hasClass("active")&&o.deleteSelectedObject()})),this.DOMObject.find(".undo-container").click((function(){$(this).hasClass("active")&&o.undoLastAction()})),this.DOMObject.find("#multiSelectContainer").click((function(){t.toggleMultiselectMode()}))}t.showOptions&&(t.DOMObject.find(".navbar-submenu-options-container").off().click((function(e){e.stopPropagation()})),t.DOMObject.find("#displayTooltips").off().click((function(){o.common.displayTooltips=t.DOMObject.find("#displayTooltips").prop("checked"),o.common.displayTooltips?toastr.success(editorsTrans.tooltipsEnabled):toastr.error(editorsTrans.tooltipsDisabled),t.savePrefs(),o.common.reloadTooltips(o.editorContainer)})),"function"==typeof o.resetTour&&t.DOMObject.find("#resetTour").removeClass("d-none").off().click((function(){o.resetTour()}))),this.defaultZIndex=this.DOMObject.find("nav").css("z-index"),null!=this.openedMenu&&-1!=this.openedMenu&&this.openMenu(this.openedMenu,!0)},m.prototype.loadContent=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(this.menuItems[e].state="active","widgets"===this.menuItems[e].name){for(var o=[],n=[],a=0;a<this.customModuleList.length;a++){var r=this.customModuleList[a];r.maxSize=libraryUpload.maxSize,r.maxSizeMessage=libraryUpload.maxSizeMessage,this.menuItems[e].filters.name.value&&!r.name.toLowerCase().includes(this.menuItems[e].filters.name.value.toLowerCase())||($.inArray(r.type,this.menuItems[e].favouriteModules)>-1?(r.favourited=!0,o.push(r)):(r.favourited=!1,n.push(r)))}this.menuItems[e].content={modulesFav:o,modules:n}}this.DOMObject.find("#content-"+e+", #btn-menu-"+e).addClass("active"),this.createContent(e,t),this.savePrefs()},m.prototype.createContent=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=$.extend({},this.menuItems[e],{menuIndex:e,trans:toolbarTrans,filters:this.menuItems[e].filters}),n=this,a=this.parent;if(!t&&e>n.widgetMenuIndex&&n.DOMObject.find("#content-"+e+" .toolbar-pane-container .toolbar-card").length>0)return n.DOMObject.find("#media-content-"+e).masonry("layout"),void n.handleCardsBehaviour();var r=i(o);if(this.DOMObject.find("#content-"+e).replaceWith(r),o.search)this.mediaContentCreateWindow(e);else{this.handleCardsBehaviour(),this.DOMObject.find('#module-search-form input[type="text"]').on("input",_.debounce((function(t){n.menuItems[e].filters.name.value=$(this).val(),n.menuItems[e].focus=t.target.selectionStart,a.common.clearTooltips(),n.loadContent(e)}),500));var l=n.menuItems[e].focus;null!=l&&($('#module-search-form input[type="text"]').focus(),$('#module-search-form input[type="text"]')[0].setSelectionRange(l,l))}this.DOMObject.find(".close-content").on("click",(function(){n.openMenu(n.openedMenu)}))},m.prototype.openMenu=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=!1,n=this.opened,a=this.parent;if(this.deselectCardsAndDropZones(),e>-1&&e<this.menuItems.length){o=!t&&"active"==this.menuItems[e].state;for(var r=this.menuItems.length-1;r>=0;r--)this.menuItems[r].state="",this.DOMObject.find("#content-"+r+", #btn-menu-"+r).removeClass("active");o?(this.openedMenu=-1,this.opened=!1):(this.openedMenu=e,e>-1&&this.loadContent(e),this.opened=!0)}else o=!0,this.openedMenu=-1,this.opened=!1;this.opened!=n&&(this.DOMObject.find("nav.navbar").toggleClass("opened",this.opened),this.DOMObject.parents(".editor-modal").toggleClass("toolbar-opened",this.opened),"playlist"!=a.mainObjectType&&(a.navigatorMode?a.renderContainer(a.navigator,a.selectedObject):a.renderContainer(a.viewer,a.selectedObject))),this.opened||this.savePrefs(),a.common.clearTooltips()},m.prototype.selectCard=function(e){var t=this;if(this.deselectCardsAndDropZones(),this.selectedCard[0]!=e[0]){var o=$(e).attr("drop-to"),n=$(e).attr("data-sub-type");if($(e).addClass("card-selected"),$(e).parent(".toolbar-pane-content").addClass("selected"),this.selectedCard=e,$(".custom-overlay").show().unbind().click((function(){t.deselectCardsAndDropZones()})),"all"===o&&"permissions"===n)$(".ui-droppable.permissionsModifiable").addClass("ui-droppable-active");else{var a="";"audio"==n&&(a+=':not([data-widget-type="subplaylist"])'),"subplaylist"==n&&(a+=":not(#actions-drawer-content)"),$('[data-type="'+o+'"].ui-droppable.editable'+a+', [data-parent="'+o+'"].widget-preview.ui-droppable.parent-editable'+a).addClass("ui-droppable-active")}}},m.prototype.deselectCardsAndDropZones=function(){this.DOMObject.find(".toolbar-card.card-selected").removeClass("card-selected"),this.DOMObject.find(".media-content .media-selected").removeClass("media-selected"),this.DOMObject.find(".toolbar-pane-content.selected").removeClass("selected"),this.DOMObject.find(".toolbar-pane-content").removeData("mediaQueue"),$(".ui-droppable").removeClass("ui-droppable-active"),this.parent.editorContainer.hasClass("multi-select")&&this.toggleMultiselectMode(!1),$(".custom-overlay").hide().unbind(),this.selectedCard={},this.selectedQueue=[]},m.prototype.mediaContentCreateWindow=function(e){var t=this;t.deselectCardsAndDropZones();var o=l({menuIndex:e,filters:this.menuItems[e].filters,trans:toolbarTrans});t.DOMObject.find("#media-container-"+e).html(o),t.mediaContentPopulate(e)},m.prototype.mediaContentPopulate=function(e){var t=this,o=this.parent,n=t.menuItems[e].filters,i=t.DOMObject.find("#media-container-"+e),l=function n(){var l=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],s=t.DOMObject.find("#media-content-"+e),c=s.parent().find(".media-search-form");i.find(".show-more").remove(),l&&(t.deselectCardsAndDropZones(),s.empty(),t.menuItems[e].itemCount=0),s.after('<div class="loading-container w-100 text-center"><span class="loading fa fa-cog fa-spin"></span></div>'),c.find(".no-results-message").remove();var d=t.DOMObject.find("#media-container-"+e+" .media-search-form").serializeObject();e==t.libraryMenuIndex&&""==d.type&&(d.types=f.map((function(e){return e.type})));var u=15,p=t.menuItems[e].itemCount;$.ajax({url:librarySearchUrl,type:"GET",data:$.extend({start:p,length:u,provider:"both"},d)}).done((function(i){var l=function(){if(0==s.find(".upload-card").length){var e=o.common.getModuleByType(d.type);if(e){e.trans=toolbarTrans;var t=$(r(e));s.append(t).masonry("appended",t)}}};if(s.parent().find(".loading-container").remove(),s.masonry({itemSelector:".toolbar-card",columnWidth:96,gutter:11}),i.data&&0!=i.data.length||0!=s.find(".toolbar-card").length){l();for(var f=0;f<i.data.length;f++){var u=Object.assign({},i.data[f]);u.trans=toolbarTrans,"image"!=u.type||u.download||(u.download=imageDownloadUrl.replace(":id",u.id)),["audio","video"].includes(u.type)&&(u.mediaDuration=o.common.timeFormat(u.duration));var p=$(a(u));p.hasClass("from-provider")&&p.data("providerData",i.data[f]),s.append(p).masonry("appended",p),t.menuItems[e].itemCount++}s.imagesLoaded((function(){if(s.masonry("layout"),s.find(".toolbar-card").removeClass("hide-content"),i.data.length>0){var e=$('<button class="btn btn-block btn-white show-more">'+toolbarTrans.showMore+"</button>");s.after(e),e.off("click").on("click",(function(){n(!1)}))}else toastr.info(toolbarTrans.noShowMore,null,{positionClass:"toast-bottom-center"});var o=s.parent();o.toggleClass("scroll",o.width()<o[0].scrollHeight),t.handleCardsBehaviour()}))}else l(),t.handleCardsBehaviour(),c.append('<div class="no-results-message">'+toolbarTrans.noMediaToShow+"</div>")})).catch((function(e,t,o){res.login?(window.location.href=window.location.href,location.reload()):null==res.message?console.error(res):console.error(res.message)}))},s=function(o){for(var n in o)o[n].value=t.DOMObject.find("#content-"+e+" .media-search-form #input-"+n).val();l(),t.savePrefs()};i.find(".media-search-form").on("submit",(function(e){return e.preventDefault(),!1})),i.find(".media-search-form select").change(_.debounce((function(){s(n)}),200)),i.find('.media-search-form input[type="text"].input-tag').on("itemAdded itemRemoved",_.debounce((function(){s(n)}),200)),i.find('.media-search-form input[type="text"]').on("input",_.debounce((function(){s(n)}),500));var c=i.find('.media-search-form input[data-role="tagsinput"]');c.tagsinput(),i.find("#media-"+e).off("click").on("click","#tagDiv .btn-tag",(function(){c.tagsinput("add",$(this).text(),{allowDuplicates:!1})})),l()},m.prototype.toggleFavourite=function(e){var t=this.menuItems[this.widgetMenuIndex].favouriteModules,o=!1,n=$(e).parent('.toolbar-card[data-type="module"]').data().subType,a=$.inArray(n,t);a>-1?t.splice(a,1):(o=!0,t.push(n)),toastr.success(o?toolbarTrans.addedToFavourites:toolbarTrans.removedFromFavourites,"",{positionClass:"toast-bottom-right"}),this.loadContent(0,!0)},m.prototype.updateQueue=function(e,t){var o=this.DOMObject.find("#content-"+e+" .toolbar-pane-content");t.length>0?this.queueToggleOverlays(e):this.queueToggleOverlays(e,!1),$(".background-image-add").toggleClass("ui-droppable-active",1==t.length&&"image"==this.menuItems[e].name),o.data("mediaQueue",t),this.selectedQueue=t},m.prototype.addToQueue=function(e,t){var o,n=null!==(o=this.DOMObject.find("#content-"+e+" .toolbar-pane-content").data("mediaQueue"))&&void 0!==o?o:[],a=t.data("providerData")||t.data("mediaId");n.push(a),t.addClass("card-selected"),this.updateQueue(e,n)},m.prototype.removeFromQueue=function(e,t){var o=this.DOMObject.find("#content-"+e+" .toolbar-pane-content").data("mediaQueue");o.splice(o.indexOf(t.data("mediaId")),1),t.removeClass("card-selected"),this.updateQueue(e,o)},m.prototype.queueToggleOverlays=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],o=this,n=this.DOMObject.find("#content-"+e+" .media-add-queue");n.data("toAdd",t),t?($(".custom-overlay").show().unbind().click((function(){o.deselectCardsAndDropZones()})),$('[data-type="region"].ui-droppable.editable, [data-parent="region"].widget-preview.ui-droppable.parent-editable').addClass("ui-droppable-active")):o.deselectCardsAndDropZones()},m.prototype.toggleMultiselectMode=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=this,o=this.parent,n=o.timeline,a=o.editorContainer,r=function(){t.DOMObject.find("#trashContainer").toggleClass("active",n.DOMObject.find(".playlist-widget.multi-selected").length>0)},i=null!=e?e:!a.hasClass("multi-select");a.toggleClass("multi-select",i),this.DOMObject.find("#multiSelectContainer").toggleClass("multiselect-active",i),i?($(".custom-overlay").show().unbind().click((function(){t.deselectCardsAndDropZones()})),n.DOMObject.find("#timeline-container").sortable("disable"),n.DOMObject.find(".playlist-widget.deletable").removeClass("selected").unbind().click((function(e){e.stopPropagation(),$(this).toggleClass("multi-selected"),r()})),r()):($(".custom-overlay").hide().unbind(),o.renderContainer(n),o.renderContainer(this))},m.prototype.handleCardsBehaviour=function(){var e=this.parent,t=this;void 0!==e.readOnlyMode&&!1!==e.readOnlyMode||(this.DOMObject.find(".toolbar-card").each((function(){$(this).draggable({cursor:"crosshair",appendTo:$(this).parents(".toolbar-pane:first"),handle:t.openedMenu==t.widgetMenuIndex&&".drag-area",cursorAt:{top:($(this).height()+($(this).outerWidth(!0)-$(this).outerWidth())/2)/2,left:($(this).width()+($(this).outerWidth(!0)-$(this).outerWidth())/2)/2},opacity:.3,helper:"clone",start:function(){t.deselectCardsAndDropZones(),$(".custom-overlay").show(),$(this).addClass("card-dragged"),$(this).parent(".toolbar-pane-content").addClass("selected"),e.common.reloadTooltips(e.editorContainer)},stop:function(){$(".custom-overlay").hide(),$(this).removeClass("card-dragged"),$(this).parent(".toolbar-pane-content").removeClass("selected"),e.common.reloadTooltips(e.editorContainer)}})})),this.DOMObject.find(".toolbar-card:not(.card-selected) .add-area").click((function(e){t.selectCard($(e.currentTarget).parent())})),this.DOMObject.find(".toolbar-card .select-upload").click((function(e){$(e.currentTarget).parent().hasClass("card-selected")?t.deselectCardsAndDropZones():t.selectCard($(e.currentTarget).parent())})),this.DOMObject.find(".toolbar-card:not(.card-selected) .btn-favourite").click((function(e){t.toggleFavourite(e.currentTarget)})),this.DOMObject.find("#media-content-"+this.openedMenu+" .select-button:not(.select-upload)").off("click").click((function(){!$.isEmptyObject(t.selectedCard)&&t.selectedCard.hasClass("card-selected")&&t.deselectCardsAndDropZones();var e=$(this).parent();e.hasClass("card-selected")?t.removeFromQueue(t.openedMenu,e):t.addToQueue(t.openedMenu,e)})),this.DOMObject.find("#media-content-"+this.openedMenu+" .preview-button").off("click").click((function(){t.createMediaPreview($(this).parent())})),this.DOMObject.find("#media-content-"+this.openedMenu+' .toolbar-card[data-sub-type="video"]').off("mouseenter mouseleave").hover((function(){var e=$(this).find("video")[0];e&&e.readyState>1&&e.paused&&(e.play(),_.debounce((function(){e&&e.readyState>1&&!e.paused&&e.currentTime>0&&(e.currentTime=0,e.pause())}),5e3)())}),(function(){var e=$(this).find("video")[0];e&&e.readyState>1&&!e.paused&&e.currentTime>0&&(e.currentTime=0,e.pause())})))},m.prototype.createMediaPreview=function(e){var t,o=this,n=this.parent;0==o.DOMObject.find(".media-preview").length&&o.DOMObject.append(s({trans:toolbarTrans}));var a=o.DOMObject.find(".media-preview"),r=a.find("#content"),i=a.find("#info"),l={video:Handlebars.compile('<video src="{{url}}" controls></video>'),image:Handlebars.compile('<img src="{{url}}">')};r.html("").removeData("mediaId"),i.html("");var d=e.data();(null===(t=d.providerData)||void 0===t?void 0:t.fileSize)&&(d.providerData.fileSizeFormatted=n.common.formatFileSize(d.providerData.fileSize)),r.append(l[d.subType]({url:d.providerData?d.providerData.download:d.download})).data("mediaId",d.mediaId),i.append(c({data:d.providerData?d.providerData:d,trans:toolbarTrans})),a.find("#closeBtn").off().on("click",(function(){a.find("#content").html(""),a.removeClass("show"),a.remove()})),a.find("#sizeBtn").off().on("click",(function(){a.toggleClass("large"),$(this).toggleClass("fa-arrow-circle-down",a.hasClass("large")),$(this).toggleClass("fa-arrow-circle-up",!a.hasClass("large"))})),a.find("#selectBtn").off().on("click",(function(){var e=o.DOMObject.find(".toolbar-menu-content #content-"+o.openedMenu+' .toolbar-card[data-media-id="'+r.data("mediaId")+'"]');e.hasClass("card-selected")||o.addToQueue(o.openedMenu,e)})),a.addClass("show")},m.prototype.openNewTabAndSearch=function(e){["audio","video","image"].includes(e)?this.openedMenu=["image","audio","video"].indexOf(e)+1:(this.openedMenu=4,this.menuItems[this.openedMenu].filters.type.value=e),this.render()},e.exports=m},16137:function(e,t,o){var n=o(94648),a=o(36353),r=function(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},r=arguments.length>5&&void 0!==arguments[5]&&arguments[5];this.parent=e,this.DOMObject=t,this.jumpList=a,this.customDropdownOptions=o,this.customActions=n,this.showOptions=r};r.prototype.render=function(){var e=this,t=this.parent,o=t.getElementByTypeAndId(t.mainObjectType,t.mainObjectId);o.duration=Math.round(100*Number(o.duration))/100;var a=$.extend(toolbarTrans,topbarTrans),r=n({customDropdownOptions:this.customDropdownOptions,displayTooltips:t.common.displayTooltips,trans:a,mainObject:o,showOptions:e.showOptions});this.DOMObject.html(r);var i=function(t){var o=!1;if(e.DOMObject.find("#"+t.id).click(t.action),null!=t.inactiveCheck){var n=null!=t.inactiveCheckClass?t.inactiveCheckClass:"disabled",a=t.inactiveCheck();e.DOMObject.find("#"+t.id).toggleClass(n,a),o=a}return o};if(null!=this.customDropdownOptions){for(var l=!1,s=0;s<this.customDropdownOptions.length;s++)i(this.customDropdownOptions[s])||(l=!0);e.DOMObject.find(".dropdown.navbar-submenu:not(.navbar-submenu-options)").toggle(l)}this.DOMObject.find(".layout-info-actions").off().click((function(){lD.propertiesPanel.openTabOnRender='a[href="#actionTab"]',lD.selectObject()})),$.isEmptyObject(this.jumpList)||0!=$("#layoutJumpList").length||this.setupJumpList($("#layoutJumpListContainer")),e.showOptions&&(e.DOMObject.find(".navbar-submenu-options-container").off().click((function(e){e.stopPropagation()})),e.DOMObject.find("#displayTooltips").off().click((function(){t.common.displayTooltips=$("#displayTooltips").prop("checked"),t.common.displayTooltips?toastr.success(editorsTrans.tooltipsEnabled):toastr.error(editorsTrans.tooltipsDisabled),t.toolbar.savePrefs(),t.common.reloadTooltips(t.editorContainer)})),"function"==typeof t.resetTour&&e.DOMObject.find("#resetTour").removeClass("d-none").off().click((function(){t.resetTour()}))),this.updateLayoutStatus()},r.prototype.setupJumpList=function(e){var t=a(this.jumpList);e.html(t),e.removeClass("d-none");var o=e.find("#layoutJumpList");o.select2({ajax:{url:o.data().url,dataType:"json",data:function(e){var t={layout:e.term,onlyMyLayouts:$("#onlyMyLayouts").is(":checked"),start:0,length:10};if(localStorage.liveSearchOnlyMyLayouts=$("#onlyMyLayouts").is(":checked")?1:0,null!=t.layout){var o=t.layout.match(/\[([^}]+)\]/);null!=o&&(t.tags=o[1],t.layout=t.layout.replace(o[0],""))}return null!=e.page&&(t.start=10*(e.page-1)),void 0!==e.term&&(localStorage.liveSearchPlaceholder=e.term),t},processResults:function(e,t){var o=[];$.each(e.data,(function(e,t){o.push({id:t.layoutId,text:t.layout})}));var n=t.page||1;return{results:o,pagination:{more:10*(n=n>1?n-1:n)<e.recordsTotal}}},delay:250}}),o.on("select2:select",(function(e){window.location=o.data().designerUrl.replace(":id",e.params.data.id)})).on("select2:opening",(function(e){if(null!=localStorage.liveSearchPlaceholder&&""!==localStorage.liveSearchPlaceholder){var t=o.data("select2").dropdown.$search;t.val(localStorage.liveSearchPlaceholder),setTimeout((function(){t.trigger("input")}),100)}})).on("select2:open",(function(e){0===$("#onlyMyLayouts").length&&($("<input style='margin-left: 5px; margin-bottom: 15px' type='checkbox' id='onlyMyLayouts' name='onlyMyLayouts'> "+topbarTrans.onlyMyLayouts+"</input>").insertAfter(".select2-search"),1===Number(localStorage.getItem("liveSearchOnlyMyLayouts"))&&$("#onlyMyLayouts").prop("checked",!0));var t=o.data("select2").dropdown.$search;$("#onlyMyLayouts").on("change",(function(e){setTimeout((function(){t.trigger("input")}),100)}))}))},r.prototype.updateLayoutStatus=function(){var e=this.DOMObject.find("#layout-info-status"),t=this.parent;if(e.find("i").removeClass().addClass("fa fa-spinner fa-spin"),e.removeClass().addClass("badge badge-default"),null!=lD.layout.status){var o="",n="",a={1:"success",2:"warning",3:"info","":"danger"},r={1:"check",2:"exclamation",3:"cogs","":"times"};if(lD.layout.status.messages.length>0){o=lD.layout.status.description;for(var i=0;i<lD.layout.status.messages.length;i++)n+='<div class="status-message">'+lD.layout.status.messages[i]+"</div>"}else o="",n='<div class="status-title text-center">'+lD.layout.status.description+"</div>";var l=null!=a[lD.layout.status.code]?a[lD.layout.status.code]:a[""];e.removeClass().addClass("badge badge-"+l).attr("data-status-code",lD.layout.status.code),null==e.data("bs.popover")?e.popover({delay:tooltipDelay,title:o,content:n}):(e.data("bs.popover").config.title=o,e.data("bs.popover").config.content=n),e.toggleClass("clickable",null==r[lD.layout.status.code]).on("click",(function(){t.timeline.DOMObject.parents(".toggle-panel").hasClass("opened")||lD.togglePanel(t.timeline.DOMObject.parents(".toggle-panel")),null==r[lD.layout.status.code]&&t.timeline.scrollToBrokenWidget()}));var s=null!=r[lD.layout.status.code]?r[lD.layout.status.code]:r[""];e.find("i").removeClass().addClass("fa fa-"+s),this.DOMObject.find(".layout-info-duration-value").html(lD.layout.duration)}},e.exports=r},32670:function(e){var t=["",widgetStatusTrans.setToStart,widgetStatusTrans.setToExpire,widgetStatusTrans.expired,widgetStatusTrans.deleteOnExpire],o=["","fa-calendar-plus-o","fa-calendar-o","fa-calendar-check-o","fa-calendar-times-o"],n=function(e,n){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;this.widgetId=e,null!=a?(this.id="widget_"+a+"_"+e,this.regionId="region_"+a):this.id="widget_"+e,this.widgetName=n.name,this.layoutObject=r,this.isValid=n.isValid,this.type="widget",this.subType=n.type,this.moduleName=n.moduleName,this.isEditable=n.isEditable,this.isDeletable=n.isDeletable,this.isPermissionsModifiable=n.isPermissionsModifiable,this.tags=n.tags,this.mediaIds=n.mediaIds;var i=["subplaylist"];if(this.canAttachAudio=!i.includes(this.subType),"Permissions Colouring"===playlistRegionColouring||"Sharing Colouring"===playlistRegionColouring)this.widgetColouring=n.isEditable?"timelineMediaItemColouring_enabled":"timelineMediaItemColouring_disabled";else{this.widgetColouring="";for(var l=0;l<this.tags.length;l++)this.tags[l],this.widgetColouring+=this.tags[l].tag+" "}this.selected=!1,this.singleWidget=!1,this.loop=!1,this.extend=!1,this.duration=null,this.widgetDurationNotSet=!1,this.widgetDefaultDuration=10,this.widgetOptions=n.widgetOptions,this.calculatedDuration=n.calculatedDuration,this.audio=n.audio,this.fromDt=n.fromDt,this.toDt=n.toDt,this.DATE_MIN=0,this.DATE_MAX=2147483647,this.expireStatus=0,this.expireStatusTitle="",this.expireStatusIcon="",this.transitionIn=n.transitionIn,this.transitionOut=n.transitionOut,this.transitionDurationIn=n.transitionDurationIn,this.transitionDurationOut=n.transitionDurationOut,this.actions=n.actions,this.transitions=function(){var e={},t=1e3*this.getDuration();return null!=this.transitionIn&&""!=this.transitionIn&&null!=this.transitionIn&&(e.in={name:"transitionIn",type:this.transitionIn,duration:this.transitionDurationIn,percDuration:null!=this.transitionDurationIn?parseFloat(this.transitionDurationIn)/t*100:0,direction:this.getOptions().transInDirection}),null!=this.transitionOut&&""!=this.transitionOut&&null!=this.transitionOut&&(e.out={name:"transitionOut",type:this.transitionOut,duration:this.transitionDurationOut,percDuration:null!=this.transitionDurationOut?parseFloat(this.transitionDurationOut)/t*100:0,direction:this.getOptions().transOutDirection}),e},this.durationPercentage=function(){if(null==this.layoutObject)return!1;var e=this.getTotalDuration()/this.layoutObject.duration*100;return!this.loop&&this.singleWidget&&parseFloat(this.getTotalDuration())<parseFloat(this.layoutObject.duration)&&(this.extend=!0,this.extendSize=100-e),e},this.getOptions=function(){var e={};for(var t in this.widgetOptions){var o=this.widgetOptions[t];"attrib"===o.type&&(e[o.option]=o.value)}return e},this.selectedFlag=function(){return this.selected?"selected-widget":""},this.getDuration=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(e||null===this.duration){var t=parseFloat(this.calculatedDuration);0===t&&(t=this.widgetDefaultDuration),t<=0&&(t=1),this.duration=t}return this.duration},this.getTotalDuration=function(){var e=this.getDuration();return null!=this.transitionDurationOut&&(e+=parseFloat(this.transitionDurationOut)/1e3),e},this.calculateExpireStatus=function(){var e=0,n=Math.round((new Date).getTime()/1e3);return(this.fromDt>this.DATE_MIN||this.toDt<this.DATE_MAX)&&(n<this.fromDt?e=1:n>this.toDt?e=3:1==this.getOptions().deleteOnExpiry&&n<this.toDt&&this.toDt<this.DATE_MAX?e=4:n<this.toDt&&this.toDt<this.DATE_MAX&&(e=2)),this.expireStatus=e,this.expireStatusTitle="<p>"+t[e]+"</p>",this.fromDt>this.DATE_MIN&&(this.expireStatusTitle+="<p>"+widgetStatusTrans.startTime+": "+moment.unix(this.fromDt).format(jsDateFormat)+"</p>"),this.toDt<this.DATE_MAX&&(this.expireStatusTitle+="<p>"+widgetStatusTrans.endTime+": "+moment.unix(this.toDt).format(jsDateFormat)+"</p>"),this.expireStatusIcon=o[e],e},this.isRegionSpecific=function(){var e=this,t=!0;return Object.keys(modulesList).forEach((function(o){modulesList[o].type==e.subType&&(t=1==modulesList[o].regionSpecific)})),t},this.checkIfEnabled=function(){var e=this.designerObject.common.getModuleByType(this.subType);this.enabled=!$.isEmptyObject(e),this.enabled||(this.isEditable=!1,this.isPermissionsModifiable=!1,this.isDeletable=n.isDeletable)}};n.prototype.createClone=function(){var e=this;return{id:"ghost_"+this.id,widgetName:this.widgetName,moduleName:this.moduleName,subType:this.subType,duration:this.getTotalDuration(),regionId:this.regionId,durationPercentage:function(){return this.duration/e.layoutObject.duration*100}}},n.prototype.editPropertyForm=function(e,t){var o=this,n=this.designerObject,a=urlsForApi.widget["get"+e],r=a.url;r=(r=r.replace(":type",t)).replace(":id",this.widgetId);var i=(new Date).getTime(),l=bootbox.dialog({className:"second-dialog",title:editorsTrans.loadPropertyForObject.replace("%prop%",e).replace("%obj%","widget"),message:'<p><i class="fa fa-spin fa-spinner"></i> '+editorsTrans.loading+"...</p>",size:"large",buttons:{cancel:{label:translations.cancel,className:"btn-white btn-bb-cancel"},done:{label:translations.done,className:"btn-primary test btn-bb-done",callback:function(a){var r=l.find("form");n.common.showLoadingScreen();var i="",s={addToHistory:!1};"Permissions"===e?(i=formHelpers.permissionsFormBeforeSubmit(l),s.customRequestPath={url:l.find(".permissionsGrid").data("url"),type:"POST"}):i=r.serialize(),void 0!==t&&(s.customRequestReplace={tag:":type",replace:t}),n.manager.addChange("save"+e,"widget",o.widgetId,null,i,s).then((function(e){n.common.hideLoadingScreen(),toastr.success(e.message),l.modal("hide"),n.reloadData(n.layout)})).catch((function(e){n.common.hideLoadingScreen();var t="";t+="string"==typeof e?e:e.errorThrown,formHelpers.displayErrorMessage(l.find("form"),t,"danger"),toastr.error(t)}))}}}}).attr("id",i).attr("data-test","widgetPropertiesForm");$.ajax({url:r,type:a.type}).done((function(t){t.success?(l.find(".modal-title").html(t.dialogTitle),l.find(".bootbox-body").html(t.html),l.data("extra",t.extra),"Permissions"===e&&formHelpers.permissionsFormAfterOpen(l),XiboInitialise("#"+l.attr("id"))):t.login?(window.location.href=window.location.href,location.reload()):(toastr.error(errorMessagesTrans.formLoadFailed),null==t.message?console.error(t):console.error(t.message),l.modal("hide"))})).catch((function(e,t,o){console.error(e,t,o),toastr.error(errorMessagesTrans.formLoadFailed),l.modal("hide")}))},n.prototype.editAttachedAudio=function(){this.editPropertyForm("Audio")},n.prototype.editExpiry=function(){this.editPropertyForm("Expiry")},n.prototype.editTransition=function(e){this.editPropertyForm("Transition",e)},n.prototype.editPermissions=function(){this.editPropertyForm("Permissions")},n.prototype.getNextWidget=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.designerObject,o=this.drawerWidget?t.getElementByTypeAndId("drawer"):t.getElementByTypeAndId("region",this.regionId),n=o.widgets,a=this.index+(e?-1:1);for(var r in n)if(n.hasOwnProperty(r)&&n[r].index==a)return n[r];return!1},e.exports=n},92110:function(e){e.exports=function(e,t,o){return e===t?o.fn(this):o.inverse(this)}},80274:function(e){e.exports=function(e,t,o){return e>t?o.fn(this):o.inverse(this)}},43306:function(e){e.exports=function(e,t,o){return e!==t?o.fn(this):o.inverse(this)}},83146:function(e,t,o){var n=o(20305),a=o(99145),r=["subplaylist"],i=function(e,t,o){this.parent=e,this.DOMObject=t,this.opened=!1,this.initialised=!1,this.searchQuery="",this.searchFocus=!1};i.prototype.updateSearch=function(){this.searchQuery=this.DOMObject.find("#inputSearch").val(),this.searchFocus=!0,this.render()},i.prototype.toggleDrawer=function(e){var t=this.parent;this.opened=!this.opened,this.DOMObject.toggleClass("drawed",this.opened),this.initialised&&!$.isEmptyObject(lD.layout.drawer)||this.initDrawer(),_.debounce((function(){var e=t.timeline.DOMObject.find("#regions-container");t.timeline.properties.scrollWidth=e.find("#regions").width(),e.scroll()}),1e3)()},i.prototype.initDrawer=function(e){var t=this.parent,o=null!=t.readOnlyMode&&!0===t.readOnlyMode,n=this;if($.isEmptyObject(lD.layout.drawer)){if(o)return lD.layout.drawer.isEmpty=!0,void this.render();if(null==e){var r=urlsForApi.layout.addDrawer,i=r.url;n.DOMObject.find("#actions-drawer-content").html(a()),i=i.replace(":id",lD.layout.layoutId),$.ajax({url:i,type:r.type}).done((function(e){e.success?(toastr.success(e.message),lD.layout.createDrawer(e.data),n.initalised=!0,n.render()):(e.login?(window.location.href=window.location.href,location.reload(!1)):toastr.error(e.message),lD.common.hideLoadingScreen())})).fail((function(e,t,o){lD.common.hideLoadingScreen(),console.error(e,t,o)}))}this.initialised=!0}else this.initalised=!0},i.prototype.render=function(){var e=this.parent,t=this,o=null!=e.readOnlyMode&&!0===e.readOnlyMode;t.DOMObject.html(a()),t.DOMObject.find("#actions-drawer-content").html(a());var i=$.map(lD.layout.drawer.widgets,(function(t,o){return 0==t.isValid||null==t.targetRegionId?t.isDrawerValid=!1:(t.isDrawerValid=!0,t.targetRegionName=e.getElementByTypeAndId("region","region_"+t.targetRegionId).name),[t]}));i.sort((function(e,t){var o=e.widgetName.toUpperCase(),n=t.widgetName.toUpperCase();return o<n?-1:o>n?1:0}));var l=i.filter((function(e){var o=t.searchQuery.toUpperCase();return!!e.widgetName.toUpperCase().includes(o)||!!e.moduleName.toUpperCase().includes(o)})),s=n({drawer:lD.layout.drawer,widgets:l,readOnlyModeOn:o,searchQuery:t.searchQuery,trans:drawerTrans});if(this.DOMObject.html(s),this.DOMObject.find("#actions-drawer-toggle").off().click((function(){t.toggleDrawer()})),this.DOMObject.find(".selectable:not(.ui-draggable-dragging)").click((function(e){e.stopPropagation(),lD.selectObject($(this))})),this.DOMObject.find("#actions-drawer-widgets").css("grid-template-rows","repeat("+Math.clamp(lD.layout.numRegions,1,3)+", 1fr)"),!1===lD.readOnlyMode){var c=this.DOMObject.find("#inputSearch");if(c.off().on("input",_.debounce((function(){t.updateSearch()}),500)),this.searchFocus){var d=2*c.val().length;c.focus(),c[0].setSelectionRange(d,d),this.searchFocus=!1}var f=":not(";r.forEach((function(e,t){f+=(0==t?"":", ")+'[data-sub-type="'+e+'"]'})),f+=")",this.DOMObject.find("#actions-drawer-content").droppable({accept:'[drop-to="region"]'+f,tolerance:"pointer",drop:function(e,o){t.opened&&lD.dropItemAdd(e.target,o.draggable[0])}}).click((function(e){$.isEmptyObject(lD.toolbar.selectedCard)&&$.isEmptyObject(lD.toolbar.selectedQueue)||(e.stopPropagation(),lD.selectObject($(this)))})),this.DOMObject.find(".designer-widget").droppable({greedy:!0,tolerance:"pointer",accept:function(e){return $(this).hasClass("editable")&&"widget"===$(e).attr("drop-to")||$(this).hasClass("permissionsModifiable")&&"all"===$(e).attr("drop-to")&&"permissions"===$(e).data("subType")},drop:function(e,o){t.opened&&lD.dropItemAdd(e.target,o.draggable[0])}}),this.DOMObject.find(".designer-widget.editable .editProperty").click((function(e){e.stopPropagation();var t=$(this).parents(".designer-widget.editable:first");lD.getElementByTypeAndId(t.data("type"),t.attr("id"),t.data("parentType")).editPropertyForm($(this).data("property"),$(this).data("propertyType"))})),this.DOMObject.find(".designer-widget").contextmenu((function(e){return $(e.currentTarget).is(".editable, .deletable, .permissionsModifiable")&&lD.openContextMenu(e.currentTarget,{x:e.pageX,y:e.pageY}),!1}))}},i.prototype.saveDimensions=function(){this.parent;var e=this.DOMObject.find("#drawerRegionWidth").val(),t=this.DOMObject.find("#drawerRegionHeight").val();if(""!=e&&""!=t){var o={width:e,height:t},n=urlsForApi.layout.saveDrawer,a=n.url;a=a.replace(":id",lD.layout.drawer.regionId),$.ajax({url:a,type:n.type,data:o}).done((function(e){e.success?(lD.layout.drawer.dimensions.width=o.width,lD.layout.drawer.dimensions.height=o.height,lD.renderContainer(lD.viewer,lD.selectedObject)):(e.login?(window.location.href=window.location.href,location.reload(!1)):toastr.error(e.message),lD.common.hideLoadingScreen())})).fail((function(e,t,o){lD.common.hideLoadingScreen(),console.error(e,t,o)}))}else console.log("No dimensions set, skip save")},e.exports=i},76808:function(e,t,o){var n=o(89099),a=o(32670),r=function(e,t){this.editable=2==t.publishedStatusId,this.scheduleNowPermission=t.scheduleNowPermission,this.deletePermission=t.deletePermission,this.parentLayoutId=t.parentId,this.name=t.layout,this.id="layout_"+e,this.layoutId=e,this.folderId=t.folderId,this.campaignId=t.campaignId,this.regions={},this.duration=null,this.drawer={},this.width=t.width,this.height=t.height,this.backgroundImage=t.backgroundImageId,this.backgroundColor=t.backgroundColor,this.code=t.code,this.folderId=t.folderId,this.actions=t.actions,this.backgroundCss=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.width,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.height;if(null===this.backgroundImage)return this.backgroundColor;var o=urlsForApi.layout.downloadBackground.url;return"url('"+(o=o.replace(":id",this.layoutId))+"?preview=1&width="+e+"&height="+t+"&proportional=0&layoutBackgroundId="+this.backgroundImage+"') top center no-repeat; background-color: "+this.backgroundColor},this.createDataStructure(t),this.calculateTimeValues()};r.prototype.createDataStructure=function(e){var t=0;for(var o in this.numRegions=e.regions.length,e.regions){var r=0,i=new n(e.regions[o].regionId,e.regions[o]);i.index=parseInt(o)+1;var l=i.playlists.widgets;for(var s in i.numWidgets=l.length,l){var c=new a(l[s].widgetId,l[s],e.regions[o].regionId,this);c.index=parseInt(s)+1,c.isSortable=i.isEditable,c.designerObject=lD,c.calculateExpireStatus(),c.checkIfEnabled(),i.widgets[c.id]=c,i.isEmpty=!1,r+=c.getTotalDuration()}i.duration=r,this.regions[i.id]=i,r>t&&(t=r)}for(var d in e.drawers)this.createDrawer(e.drawers[d]);this.duration=t},r.prototype.calculateTimeValues=function(){for(var e in this.regions){var t=this.regions[e],o=t.widgets,n=!1,a=!1;if(1===Object.keys(o).length){for(var r in a=!0,t.options)if("loop"===t.options[r].option&&"1"===t.options[r].value){t.loop=!0,n=!0;break}}else parseFloat(t.duration)<parseFloat(this.duration)&&(t.loop=!0);for(var i in o){var l=o[i];l.singleWidget=a,l.loop=n}}},r.prototype.addElement=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,o=null;return null!==t&&(o=t),lD.manager.addChange("create",e,null,null,o,{updateTargetId:!0})},r.prototype.deleteElement=function(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return lD.common.showLoadingScreen("deleteElement"),lD.manager.saveAllChanges().then((function(n){return lD.manager.removeAllChanges(e,t).then((function(n){return lD.selectObject(),lD.common.hideLoadingScreen("deleteElement"),lD.manager.addChange("delete",e,t,null,o,{addToHistory:!1})})).catch((function(){lD.common.hideLoadingScreen("deleteElement"),toastr.error(errorMessagesTrans.removeAllChangesFailed)}))})).catch((function(){lD.common.hideLoadingScreen("deleteElement"),toastr.error(errorMessagesTrans.saveAllChangesFailed)}))},r.prototype.savePlaylistOrder=function(e,t){var o={},n=1;for(var a in e.widgets)o[e.widgets[a].widgetId]=n,n++;for(var r={},i=0;i<t.length;i++)r[lD.getElementByTypeAndId("widget",$(t[i]).attr("id"),"region_"+e.regionId).widgetId]=i+1;return JSON.stringify(r)===JSON.stringify(o)?Promise.resolve({message:errorMessagesTrans.listOrderNotChanged}):lD.manager.addChange("order","playlist",e.playlistId,{widgets:o},{widgets:r}).catch((function(e){toastr.error(errorMessagesTrans.playlistOrderSave),console.log(e)}))},r.prototype.updateStatus=function(e,t,o,n){this.status={code:e,description:t,messages:o},n&&(this.duration=Math.round(100*Number(n))/100),lD.topbar.updateLayoutStatus()},r.prototype.scale=function(e){var t=Object.assign({},this),o=e.width(),n=e.height(),a=t.width/t.height,r=o/n;for(var i in t.scaledDimensions={},t.scaledDimensions.scale=a>r?o/t.width:n/t.height,t.scaledDimensions.width=t.width*t.scaledDimensions.scale,t.scaledDimensions.height=t.height*t.scaledDimensions.scale,t.scaledDimensions.top=n/2-t.scaledDimensions.height/2,t.scaledDimensions.left=o/2-t.scaledDimensions.width/2,t.calculatedBackground=t.backgroundCss(t.scaledDimensions.width,t.scaledDimensions.height),t.regions)for(var l in t.regions[i].scaledDimensions={},t.regions[i].dimensions)t.regions[i].dimensions.hasOwnProperty(l)&&(t.regions[i].scaledDimensions[l]=t.regions[i].dimensions[l]*t.scaledDimensions.scale);return t},r.prototype.createDrawer=function(e){var t=new n(e.regionId,e);t.index=1;var o=t.playlists.widgets;for(var r in t.numWidgets=o.length,o){var i=new a(o[r].widgetId,o[r],e.regionId,this);i.index=parseInt(r)+1,i.designerObject=lD,i.drawerWidget=!0,i.calculateExpireStatus(),i.checkIfEnabled(),i.getDuration(),this.regions["region_"+i.getOptions().targetRegionId]&&(i.targetRegionId=i.getOptions().targetRegionId),t.widgets[i.id]=i,t.isEmpty=!1}t.dimensions={width:e.width,height:e.height,top:e.top,left:e.left},this.drawer=t},e.exports=r},33602:function(e,t,o){var n=o(67638),a=o(99145),r=function(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=(o.edit,o.editNavbar),a=void 0===n?null:n;this.parent=e,this.DOMObject=t,this.navbarContainer=a,this.layoutRenderScale=1};r.prototype.render=function(){var e=this,t=this.parent;this.DOMObject.html(a()),null!=this.navbarContainer&&null!=this.navbarContainer&&(this.navbarContainer.removeClass(),this.navbarContainer.html(""));var o=t.layout.scale(this.DOMObject);this.layoutRenderScale=o.scaledDimensions.scale,this.DOMObject.html(n(Object.assign({},o)));var r=this.DOMObject.find("#"+t.layout.id);this.DOMObject.find("#regions .designer-region.editable").each((function(){var o=lD.selectedObject.id!=$(this).attr("id");$(this).resizable({containment:r,disabled:o}).draggable({containment:r,disabled:o}).on("resizestop dragstop",(function(o,n){var a=lD.navigator.layoutRenderScale,r={width:parseFloat(($(this).width()/a).toFixed(2)),height:parseFloat(($(this).height()/a).toFixed(2)),top:parseFloat(($(this).position().top/a).toFixed(2)),left:parseFloat(($(this).position().left/a).toFixed(2))};$(this).attr("id")==lD.selectedObject.id&&(t.layout.regions[$(this).attr("id")].transform(r,!1),"function"==typeof window.regionChangesForm&&window.regionChangesForm.bind(e.DOMObject)(r))}))})),this.DOMObject.find(".selectable").click((function(t){t.stopPropagation(),"region"==lD.selectedObject.type&&e.saveRegionPropertiesPanel(),lD.selectObject($(this))})),!1===lD.readOnlyMode?(this.DOMObject.find('[data-type="layout"]').droppable({tolerance:"pointer",accept:'[drop-to="layout"]',drop:function(e,t){var o=lD.layout.width/$(e.target).width(),n=t.offset.top+$(t.helper).height()/2,a=t.offset.left+$(t.helper).width()/2,r=n-$(e.target).offset().top,i=a-$(e.target).offset().left,l={top:parseInt(r*o),left:parseInt(i*o)};l.top+250>lD.layout.height&&(l.top=lD.layout.height-250),l.left+250>lD.layout.width&&(l.left=lD.layout.width-250),lD.dropItemAdd(e.target,t.draggable[0],{positionToAdd:l})}}),this.DOMObject.find(".designer-region").droppable({tolerance:"pointer",greedy:!0,accept:function(e){return $(this).hasClass("editable")&&"region"===$(e).attr("drop-to")||$(this).hasClass("permissionsModifiable")&&"all"===$(e).attr("drop-to")&&"permissions"===$(e).data("subType")},drop:_.debounce((function(e,t){lD.dropItemAdd(e.target,t.draggable[0])}),200)}),this.DOMObject.find(".designer-region").contextmenu((function(e){return $(e.currentTarget).is(".deletable, .permissionsModifiable")&&lD.openContextMenu(e.currentTarget,{x:e.pageX,y:e.pageY}),!1}))):this.DOMObject.find("#edit-btn").hide(),this.DOMObject.off().click(function(t){"layout"==lD.selectedObject.type||this.DOMObject.hasClass("selectable")||["edit-btn"].includes(t.target.id)||("region"==lD.selectedObject.type&&e.saveRegionPropertiesPanel(),lD.selectObject())}.bind(this)),this.DOMObject.parent().find("#goBackBtn").off().click(function(){"region"==lD.selectedObject.type&&e.saveRegionPropertiesPanel(),e.DOMObject.parent().remove("fullscreen")&&e.DOMObject.parent().removeClass("fullscreen"),lD.toggleNavigatorEditing(!1,!0)}.bind(this)),this.DOMObject.parent().find("#fullscreenBtn").off().click(function(){this.toggleFullscreen()}.bind(this))},r.prototype.saveRegionPropertiesPanel=function(){var e=this.parent,t=$(e.propertiesPanel.DOMObject).find("form");if(0!=t.length){var o=e.selectedObject,n=t.serialize();t.valid()&&e.propertiesPanel.formSerializedLoadData!=n&&(e.common.showLoadingScreen(),lD.manager.addChange("saveForm",o.type,o[o.type+"Id"],e.propertiesPanel.formSerializedLoadData,n,{customRequestPath:{url:t.attr("action"),type:t.attr("method")},upload:!0}).then((function(t){e.common.hideLoadingScreen(),toastr.success(t.message)})).catch((function(o){e.common.hideLoadingScreen();var n="";n+="string"==typeof o?o:o.errorThrown,e.manager.removeLastChange(),formHelpers.displayErrorMessage(t,n,"danger"),toastr.error(n)})))}},r.prototype.toggleFullscreen=function(){this.DOMObject.parents("#layout-navigator").toggleClass("fullscreen"),this.parent.editorContainer.toggleClass("fullscreen-mode"),this.render()},e.exports=r},89099:function(e){var t=function(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=o.backgroundColor,a=void 0===n?"#aaa":n;this.id="region_"+e,this.regionId=e,this.type="region",this.name=t.name,this.playlists=t.regionPlaylist,this.backgroundColor=a,this.selected=!1,this.loop=!1,this.isEmpty=!0,this.widgets={},this.options=t.regionOptions,this.isEditable=t.isEditable,this.isDeletable=t.isDeletable,this.isPermissionsModifiable=t.isPermissionsModifiable,this.actions=t.actions,this.dimensions={width:t.width,height:t.height,top:t.top,left:t.left},this.zIndex=t.zIndex,this.selectedFlag=function(){for(var e in this.widgets)if(!0===this.widgets[e].selected)return"selected-widget";return this.selected?"selected-region":""}};t.prototype.transform=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(t){var o=[{width:this.dimensions.width,height:this.dimensions.height,top:this.dimensions.top,left:this.dimensions.left,regionid:this.regionId}],n=[{width:e.width,height:e.height,top:e.top,left:e.left,regionid:this.regionId}];lD.manager.addChange("transform","region",this.regionId,{regions:JSON.stringify(o)},{regions:JSON.stringify(n)},{upload:!1}).catch((function(e){toastr.error(errorMessagesTrans.transformRegionFailed),console.log(e)}))}this.dimensions.width=e.width,this.dimensions.height=e.height,this.dimensions.top=e.top,this.dimensions.left=e.left},t.prototype.editPropertyForm=function(e){var t=this,o=lD,n=urlsForApi.region["get"+e],a=n.url;a=a.replace(":id",this.regionId);var r=(new Date).getTime(),i=bootbox.dialog({className:"second-dialog",title:editorsTrans.loadPropertyForObject.replace("%prop%",e).replace("%obj%","region"),message:'<p><i class="fa fa-spin fa-spinner"></i>'+editorsTrans.loading+"...</p>",size:"large",buttons:{cancel:{label:translations.cancel,className:"btn-white btn-bb-cancel"},done:{label:translations.done,className:"btn-primary test btn-bb-done",callback:function(n){o.common.showLoadingScreen();var a="",r={addToHistory:!1};"Permissions"===e?(a=formHelpers.permissionsFormBeforeSubmit(i),r.customRequestPath={url:i.find(".permissionsGrid").data("url"),type:"POST"}):a=form.serialize(),o.manager.addChange("save"+e,"widget",t.regionId,null,a,r).then((function(e){o.common.hideLoadingScreen(),toastr.success(e.message),i.modal("hide"),o.reloadData(o.layout)})).catch((function(e){o.common.hideLoadingScreen();var t="";t+="string"==typeof e?e:e.errorThrown,formHelpers.displayErrorMessage(i.find("form"),t,"danger"),toastr.error(t)}))}}}}).attr("id",r).attr("data-test","region"+e+"Form");$.ajax({url:a,type:n.type}).done((function(t){t.success?(i.find(".modal-title").html(t.dialogTitle),i.find(".bootbox-body").html(t.html),i.data("extra",t.extra),"Permissions"==e&&formHelpers.permissionsFormAfterOpen(i),XiboInitialise("#"+i.attr("id"))):t.login?(window.location.href=window.location.href,location.reload()):(toastr.error(errorMessagesTrans.formLoadFailed),null==t.message?console.error(t):console.error(t.message),i.modal("hide"))})).catch((function(e,t,o){console.error(e,t,o),toastr.error(errorMessagesTrans.formLoadFailed),i.modal("hide")}))},e.exports=t},74461:function(e,t,o){var n=o(26034),a=[{maxTime:20,step:1,delta:1},{maxTime:30,step:1,delta:2},{maxTime:60,step:1,delta:2},{maxTime:120,step:2,delta:4},{maxTime:240,step:5,delta:4},{maxTime:600,step:10,delta:4},{maxTime:1200,step:10,delta:4},{maxTime:3600,step:60,delta:4},{maxTime:1e4,step:300,delta:4}],r=function(e,t){this.parent=e,this.DOMObject=t,this.beingSorted=!1,this.properties={zoom:-1,timelineMaxZoom:3e4,startingZoom:-1,minTime:0,maxTime:lD.layout.duration,deltaTime:lD.layout.duration,deltaTimeFormatted:lD.common.timeFormat(lD.layout.duration),zoomInDisable:"",zoomOutDisable:"",zoomFindWidgetDisabled:"",scrollPosition:0,scrollVerticalPosition:0,scrollWidth:0,widgetContentMinimumVisibleWidth:25,widgetMinimumVisibleDuration:5,widgetMinimumDurationOnStart:15},this.highlightOnLoad={},this.scrollOnLoad={},this.timeruler={}};r.prototype.changeZoom=function(e){if(0===e)return this.properties.scrollPosition=0,void(this.properties.zoom=this.properties.startingZoom);var t=10;this.properties.zoom>=1e4?t=.1*this.properties.zoom:this.properties.zoom>=5e3?t=1e3:this.properties.zoom>=1e3?t=200:this.properties.zoom>=500?t=100:this.properties.zoom>=200&&(t=50);var o=Math.round(this.properties.zoom+t*e);this.properties.zoomOutDisable=this.properties.zoomInDisable="",o<=100&&(o=100,this.properties.zoomOutDisable="disabled",this.properties.scrollPosition=0),this.properties.zoom=o},r.prototype.calculateTimeValues=function(){this.properties.deltaTime=Math.round(lD.layout.duration/(this.properties.zoom/100)*10)/10,this.properties.deltaTimeFormatted=lD.common.timeFormat(this.properties.deltaTime),this.properties.minTime=Math.round(this.properties.scrollPosition*lD.layout.duration*10)/10,this.properties.maxTime=this.properties.minTime+this.properties.deltaTime},r.prototype.calculateStartingZoom=function(e){var t=-1;for(var o in e)for(var n in e[o].widgets)(e[o].widgets[n].getTotalDuration()<t||-1===t)&&(t=e[o].widgets[n].getTotalDuration());this.properties.zoom=Math.floor(this.properties.widgetMinimumDurationOnStart/(t/lD.layout.duration)),this.properties.zoom<=100?(this.properties.zoom=this.properties.startingZoom=100,this.properties.zoomOutDisable="disabled"):this.properties.zoomOutDisable="",this.properties.startingZoom=this.properties.zoom},r.prototype.checkRegionsVisibility=function(e){var t=lD.layout.duration*(100/this.properties.zoom);for(var o in e)for(var n in e[o].hideDetails=!1,e[o].widgets)if(e[o].widgets[n].getTotalDuration()/t<this.properties.widgetMinimumVisibleDuration/100){e[o].hideDetails=!0;break}},r.prototype.calculateRegionPreview=function(e){var t=lD.layout.width/lD.layout.height>1.25?60/lD.layout.width:48/lD.layout.height,o={width:lD.layout.width*t,height:lD.layout.height*t,top:24-lD.layout.height*t/2,left:30-lD.layout.width*t/2};for(var n in e)if(e.hasOwnProperty(n)){var a=e[n];a.timelinePreview={width:parseFloat(a.dimensions.width)*t,height:parseFloat(a.dimensions.height)*t,top:parseFloat(a.dimensions.top)*t,left:parseFloat(a.dimensions.left)*t},a.timelinePreviewContainer=o}},r.prototype.calculateTimeruler=function(){var e,t=[],o=null,n=null,r=0,i=0;if(this.properties.zoom>this.properties.timelineMaxZoom)return this.timeruler=null,null;for(var l=0;l<a.length;l++){var s=a[l];if(this.properties.deltaTime<=s.maxTime){o=s.step,n=s.delta;break}}null!=o&&null!=n||(o=this.properties.deltaTime/20,o=Math.ceil(o),n=4),lD.layout.duration,e=Math.floor(lD.layout.duration/o),r=(r=this.properties.minTime-10*o)<0?0:r,i=(i=this.properties.maxTime+10*o)>lD.layout.duration?lD.layout.duration:i;for(var c=-1,d=r;d<i;d+=o)c++,t.push({labelled:c%n==0,label:lD.common.timeFormat(d)});var f=100/e,u=Math.floor(r/o),p=e-u+o;this.timeruler={startMargin:f*u,endMargin:f*p,gap:f,steps:t}},r.prototype.createGhostWidgetsDynamically=function(e){for(var t in e){var o=e[t];if(o.loop&&!$.isEmptyObject(o.widgets)){var n=0,a=[];for(var r in o.ghostWidgetsObject=[],o.widgets)n+=o.widgets[r].getTotalDuration();var i=n>this.properties.minTime?n:this.properties.minTime,l=this.properties.maxTime>lD.layout.duration?lD.layout.duration:this.properties.maxTime,s=0;if(!(n>l)){for(var c=n;c<l;)for(var d in o.widgets){if(c+o.widgets[d].getTotalDuration()>i){var f=o.widgets[d].createClone();if(c+f.duration>lD.layout.duration){var u=f.duration-(c+f.duration-lD.layout.duration);f.duration=u}a.push(f)}else s+=o.widgets[d].getTotalDuration();if((c+=o.widgets[d].getTotalDuration())>=l)break}o.ghostWidgetsHavePadding=s>0,o.ghostWidgetsPadding=s/lD.layout.duration*100,o.ghostWidgetsObject=a}}}},r.prototype.resetZoom=function(){this.properties.zoom=-1},r.prototype.moveWidgetInRegion=function(e,t,o){var n=this.DOMObject.find("#"+e+" #"+t);switch(o){case"oneRight":n.insertAfter(n.next(".designer-widget:not(.designer-widget-ghost)"));break;case"oneLeft":n.insertBefore(n.prev(".designer-widget:not(.designer-widget-ghost)"));break;case"topRight":n.insertAfter(n.nextAll(".designer-widget:not(.designer-widget-ghost)").last());break;case"topLeft":n.prependTo(n.parent());break;default:return void console.warn("Change type not known")}lD.common.showLoadingScreen();var a=this.DOMObject.find("#"+e),r=lD.getElementByTypeAndId($(a).data("type"),$(a).attr("id")).playlists;$(a).addClass("to-sort"),lD.layout.savePlaylistOrder(r,$(a).find(".designer-widget:not(.designer-widget-ghost)")).then((function(e){lD.common.hideLoadingScreen(),toastr.success(e.message),lD.reloadData(lD.layout)})).catch((function(e){$(a).removeClass("to-sort"),lD.common.hideLoadingScreen();var t;t="string"==typeof e?e:e.errorThrown,toastr.error(errorMessagesTrans.saveOrderFailed.replace("%error%",t))}))},r.prototype.render=function(e){var t=this.parent,o=this,a=null!=t.readOnlyMode&&!0===t.readOnlyMode,r=0==Object.keys(e.regions).length;-1===this.properties.zoom&&this.calculateStartingZoom(e.regions),this.beingSorted=!1,this.calculateTimeValues(),this.calculateRegionPreview(e.regions),this.calculateTimeruler(),this.createGhostWidgetsDynamically(e.regions),this.properties.zoomFindWidgetDisabled="widget"!=t.selectedObject.type?"disabled":"";var i=n({layout:e,noRegions:r,properties:this.properties,readOnlyModeOn:a,trans:timelineTrans,timeruler:this.timeruler});this.DOMObject.html(i);var l=this.DOMObject.find("#regions-container");this.properties.scrollWidth=l.find("#regions").width(),l.scrollLeft(this.properties.scrollPosition*l.find("#regions").width()),l.scrollTop(this.properties.scrollVerticalPosition),this.DOMObject.parents(".toggle-panel").find(".toggle").off().click((function(e){e.stopPropagation(),lD.togglePanel($(this).parents(".toggle-panel")),lD.savePrefs()})),this.DOMObject.find(".selectable:not(.ui-draggable-dragging)").click((function(e){e.stopPropagation(),lD.selectObject($(this))})),this.DOMObject.find(".designer-region-overlay-step").click((function(e){e.stopPropagation();var t=$(this).parents(".designer-region"),o=parseInt($(this).data("position"))+1;lD.selectObject(t,!1,{positionToAdd:o})})),this.DOMObject.find("#findSelectedBtn").click((function(){"widget"==lD.selectedObject.type&&(o.highlightOnLoad=lD.selectedObject,o.scrollOnLoad=lD.selectedObject,o.render(lD.layout))})),this.DOMObject.find("#zoomInBtn").click((function(){o.changeZoom(1),o.render(e)})),this.DOMObject.find("#zoomOutBtn").click((function(){o.changeZoom(-1),o.render(e)})),this.DOMObject.find("#zoomReset").click((function(){o.changeZoom(0),o.render(e)})),this.DOMObject.find(".open-playlist-editor").click((function(){var e=$(this).parents(".designer-region-info").data("playlistId"),t=$(this).parents(".designer-region-info").data("region"),o=lD.getElementByTypeAndId("region",t);lD.openPlaylistEditor(e,o)})),this.DOMObject.find(".open-region-actions").click((function(){var e=$(this).parents(".designer-region-info").data("region");lD.toggleNavigatorEditing(!0),lD.propertiesPanel.openTabOnRender='a[href="#actionTab"]',lD.selectObject(o.DOMObject.find("#"+e),!0)})),this.DOMObject.find(".edit-region, .region-preview").click((function(){var e=$(this).parents(".designer-region-info").data("region");lD.toggleNavigatorEditing(!0),lD.selectObject(o.DOMObject.find("#"+e),!0)})),this.DOMObject.find(".designer-region").droppable({tolerance:"pointer",accept:function(e){return $(this).hasClass("editable")&&"region"===$(e).attr("drop-to")||$(this).hasClass("permissionsModifiable")&&"all"===$(e).attr("drop-to")&&"permissions"===$(e).data("subType")},drop:function(e,t){lD.dropItemAdd(e.target,t.draggable[0])}}),this.DOMObject.find(".designer-region-overlay-step").droppable({greedy:!0,tolerance:"pointer",accept:function(e){var t=$(this).parents(".designer-region");return t.hasClass("editable")&&"region"===$(e).attr("drop-to")||t.hasClass("permissionsModifiable")&&"all"===$(e).attr("drop-to")&&"permissions"===$(e).data("subType")},drop:function(e,t){var o=$(e.target).parents(".designer-region"),n=parseInt($(e.target).data("position"))+1;lD.dropItemAdd(o,t.draggable[0],{positionToAdd:n})}}),this.DOMObject.find(".designer-widget").droppable({greedy:!0,tolerance:"pointer",accept:function(e){var t=$(this).hasClass("editable")&&"widget"===$(e).attr("drop-to"),o="audio"!=$(e).attr("data-sub-type")||"audio"===$(e).attr("data-sub-type")&&"subplaylist"!=$(this).data("widgetType"),n=$(this).hasClass("permissionsModifiable")&&"all"===$(e).attr("drop-to")&&"permissions"===$(e).data("subType");return t&&o||n},drop:function(e,t){lD.dropItemAdd(e.target,t.draggable[0])}}).each((function(){var e=$(this);if(e.outerWidth()<o.properties.widgetContentMinimumVisibleWidth&&e.addClass("hideContent").tooltip({title:timelineTrans.hiddenContentInWidget}),null!=e.data("widgetRegion")){var t=lD.getElementByTypeAndId("widget",e.attr("id"),e.data("widgetRegion"));t.id==o.highlightOnLoad.id&&o.highlightWidget(t)}})),this.DOMObject.find(".designer-widget.editable .editProperty").click((function(e){e.stopPropagation();var t=$(this),o=t.parents(".designer-widget.editable:first"),n=lD.getElementByTypeAndId(o.data("type"),o.attr("id"),o.data("widgetRegion")),a=t.data("property"),r=$(this).data("propertyType");"Action"==a?(lD.propertiesPanel.openTabOnRender='a[href="#actionTab"]',lD.selectObject(o,!0)):n.editPropertyForm(a,r)})),!1===lD.readOnlyMode&&(this.DOMObject.find("#regions .designer-region.editable").sortable({items:".designer-widget:not(.designer-widget-ghost)",placeholder:"designer-widget-sortable-highlight",opacity:".6",axis:"x",helper:"clone",start:function(e,t){o.beingSorted=!0,lD.toolbar.DOMObject.find("#trashContainer").removeClass("active");var n=o.DOMObject.find("#regions").data("zoom")/100,a=$(t.item).width();$(t.helper).width(a*n)},stop:function(){var e=this;o.beingSorted=!1,lD.common.showLoadingScreen(),$(this).addClass("to-sort");var t=lD.getElementByTypeAndId($(this).data("type"),$(this).attr("id")).playlists;lD.layout.savePlaylistOrder(t,$(this).find(".designer-widget:not(.designer-widget-ghost)")).then((function(e){lD.common.hideLoadingScreen(),toastr.success(e.message),lD.reloadData(lD.layout)})).catch((function(t){$(e).removeClass("to-sort"),lD.common.hideLoadingScreen();var o;o="string"==typeof t?t:t.errorThrown,toastr.error(errorMessagesTrans.saveOrderFailed.replace("%error%",o))}))}}),this.DOMObject.find(".designer-region, .designer-widget:not(.designer-widget-ghost)").contextmenu((function(e){return $(e.currentTarget).is(".editable, .deletable, .permissionsModifiable")&&lD.openContextMenu(e.currentTarget,{x:e.pageX,y:e.pageY}),!1})),this.DOMObject.find(".empty-timeline").on("click",(function(){lD.toggleNavigatorEditing(!0),lD.addRegion()})),r&&!this.DOMObject.parents(".toggle-panel").hasClass("opened")&&(lD.togglePanel(this.DOMObject.parents(".toggle-panel")),lD.savePrefs())),l.scroll(_.debounce((function(){if(o.properties.scrollWidth==$(this).find("#regions").width()&&1!=o.beingSorted){var t=$(this).scrollLeft()/$(this).find("#regions").width();o.properties.scrollPosition!=t&&(o.properties.scrollPosition=t,o.render(e))}}),500));var s=o.DOMObject.find(".timeline-left-panel"),c=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];(e||l.scrollTop()!=o.properties.scrollVerticalPosition)&&(o.properties.scrollVerticalPosition=l.scrollTop(),s.scrollTop(o.properties.scrollVerticalPosition))};l.scroll((function(){c()})),c(!0),this.DOMObject.find(".widget-transition-container").each((function(){var e=$(this);if(e.outerWidth()<60){e.addClass("d-none");var t=e.find(".editProperty").data("propertyType");e.parent().find('.widgetProperties i[data-property-type="'+t+'"]').removeClass("d-none")}})),$.isEmptyObject(this.scrollOnLoad)||this.scrollToWidget(this.scrollOnLoad)},r.prototype.scrollToWidget=function(e){var t=this.DOMObject.find("#regions-container"),o=t.find("#"+e.id);if(this.scrollOnLoad={},o.length>0){var n=t.scrollLeft()-(t.offset().left-o.offset().left);this.properties.scrollPosition=n/t.find("#regions").width(),this.render(lD.layout)}},r.prototype.highlightWidget=_.debounce((function(e){var t=this.DOMObject.find("#"+e.id),o=this;t.addClass("highlighted"),setTimeout((function(){o.highlightOnLoad={},t.removeClass("highlighted")}),1e3)}),1e3),r.prototype.scrollToBrokenWidget=function(){var e=Object.values(lD.layout.regions),t=this,o=this.parent;$.each(e,(function(){var e=!0,n=Object.values(this.widgets);return $.each(n,(function(){if(0==this.isValid)return t.highlightOnLoad=this,t.scrollOnLoad=this,o.selectObject($("#"+this.id),!0),e=!1,!1})),e}))},e.exports=r},92840:function(e,t,o){var n=o(93356),a=o(84880),r=o(99145),i=function(e,t){this.parent=e,this.DOMObject=t,this.containerElementDimensions=null,this.inlineEditorState=0,this.previewPlaying=!1};i.prototype.scaleElement=function(e,t){var o=t.width(),n=t.height(),a={width:parseFloat(e.dimensions?e.dimensions.width:e.width),height:parseFloat(e.dimensions?e.dimensions.height:e.height),scale:1,top:0,left:0},r=a.width/a.height,i=o/n;return a.scale=r>i?o/a.width:n/a.height,a.width*=a.scale,a.height*=a.scale,a.top=n/2-a.height/2,a.left=o/2-a.width/2,a},i.prototype.render=function(e){this.previewPlaying&&"layout"==this.parent.selectedObject.type&&this.parent.bottombar.render(this.parent.selectedObject),this.DOMObject.html(r()),this.previewPlaying=!1,this.DOMObject.css("background","#111"),this.DOMObject.css("border","none"),"layout"===e.type?this.renderLayout(e,this.DOMObject):this.renderRegion(e,this.DOMObject),this.DOMObject.parent().find("#fullscreenBtn").off().click(function(){this.toggleFullscreen()}.bind(this)),this.DOMObject.parent().find("#goBackBtn").off().click(function(){lD.selectObject()}.bind(this)),this.DOMObject.parent().find("#goBackBtn").toggle("layout"!=e.type)},i.prototype.renderLayout=function(e,t){this.containerElementDimensions=this.scaleElement(e,t);var o=e.scale(t),a=n({renderLayout:!0,containerStyle:"layout-player",dimensions:this.containerElementDimensions,layout:o,trans:viewerTrans});if(t.html(a),null===e.backgroundImage)t.find(".viewer-element").css("background",e.backgroundColor);else{var r=urlsForApi.layout.downloadBackground.url;r=r.replace(":id",e.layoutId),t.find(".viewer-element").css("background","url('"+r+"?preview=1&width="+e.width*this.containerElementDimensions.scale+"&height="+e.height*this.containerElementDimensions.scale+"&proportional=0&layoutBackgroundId="+e.backgroundImage+"') top center no-repeat")}for(var i in e.regions)if(e.regions.hasOwnProperty(i)){var l=e.regions[i];this.renderRegion(l,this.DOMObject.find("#"+l.id),!0,1)}this.DOMObject.find(".designer-region").droppable({greedy:!0,tolerance:"pointer",accept:function(e){return $(this).hasClass("editable")&&"region"===$(e).attr("drop-to")},drop:_.debounce((function(e,t){lD.dropItemAdd(e.target,t.draggable[0])}),200)})},i.prototype.renderRegion=function(e,t){var o=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,i=this;null==this.renderRequest||o||this.renderRequest.abort("requestAborted"),t.html(r());var l=e,s=e;if("widget"===e.type&&(e.drawerWidget?(l=s=lD.layout.drawer,null!=e.targetRegionId&&null!=lD.layout.regions["region_"+e.targetRegionId]&&(s=lD.layout.regions["region_"+e.targetRegionId])):l=s=lD.layout.regions[e.regionId]),null!=l&&null!=s){var c=this.scaleElement(s,t),d="widget"===e.type?e.index:a,f=l.numWidgets,u=urlsForApi.region.preview.url;u=u.replace(":id",l[l.type+"Id"]),o||"region"===e.type?u+="?seq="+d:u+="?widgetId="+e[e.type+"Id"],u+="&width="+c.width+"&height="+c.height,this.renderRequest=$.get(u).done(function(a){if(i.renderRequest=void 0,!a.success)return toastr.error(a.message),void t.html(a.message);var r="widget"===e.type?e.type+"_"+e.subType:e.type,s=e.isEditable,d=!1;"widget"===e.type&&(e.drawerWidget?(s=lD.layout.drawer.isEditable,d=!0):s=lD.getElementByTypeAndId("region",e.regionId).isEditable);var u=n({res:a,dimensions:c,type:r,smallPreview:o,editable:s,drawer:d,isEmpty:f<=0,elementPosition:e.index,id:e.id,parentId:e.regionId,trans:viewerTrans});if(t.html(u),o)a.extra.number_items>1&&(t.find(".preview-paging").addClass("active"),t.find(".preview-paging-message").html(a.extra.current_item+"/"+a.extra.number_items),t.find(".preview-paging-name").html(a.extra.moduleName),t.find(".preview-paging-name").attr("data-title",a.extra.moduleName),a.extra.current_item>1&&t.find(".preview-paging .widget-left").show().off().on("click",(function(){i.renderRegion(l,t,!0,a.extra.current_item-1)})),a.extra.current_item<a.extra.number_items&&t.find(".preview-paging .widget-right").show().off().on("click",(function(){i.renderRegion(l,t,!0,a.extra.current_item+1)}))),t.off("click").on("click",(function(e){$(this).is(".editable.ui-droppable-active")&&(e.stopPropagation(),lD.selectObject($(this)))})),t.find(".preview-select").off("click").on("click",(function(){a.extra.number_items>0&&lD.selectObject($("#widget_"+l.regionId+"_"+a.extra.tempId))}));else{var p=function(e){var t,o=0;$(e).hasClass("drawer-parent")?(o=lD.layout.drawer.numWidgets,t=$("#actions-drawer-content")):(o=lD.getElementByTypeAndId("region",$(e).data("parentId")).numWidgets,t=$("#"+$(e).data("parentId")));var n=$(e).data("position")+1;return{options:n>o?{}:{positionToAdd:n},droppable:t}};t.find(".widget-preview").off("click").on("click",(function(e){if($(this).is(".parent-editable.ui-droppable-active")){e.stopPropagation();var t=p(this);lD.selectObject(t.droppable,!0,t.options)}})),t.find(".widget-preview").droppable({greedy:!0,tolerance:"pointer",accept:function(e){return $(this).hasClass("parent-editable")&&"region"===$(e).attr("drop-to")},drop:_.debounce((function(e,t){var o=p(this);lD.dropItemAdd(o.droppable,t.draggable[0],o.options)}),200)}),t.find(".designer-region").off("click").on("click",(function(e){$(this).is(".editable.ui-droppable-active")&&(e.stopPropagation(),lD.selectObject($("#"+$(this).data("regionId")),!0))})),t.find(".designer-region").droppable({greedy:!0,tolerance:"pointer",accept:function(e){return $(this).hasClass("editable")&&"region"===$(e).attr("drop-to")},drop:_.debounce((function(e,t){lD.dropItemAdd(e.target,t.draggable[0])}),200)}),lD.bottombar.render(lD.selectedObject,a),this.calculateBackground(c,l,lD.layout),lD.propertiesPanel.inlineEditor&&this.showInlineEditor()}}.bind(this)).fail(function(e){i.renderRequest=void 0,"requestAborted"!=e.statusText&&(toastr.error(errorMessagesTrans.previewFailed),t.html(errorMessagesTrans.previewFailed))}.bind(this))}},i.prototype.playPreview=function(e,t){var o=a({url:e,width:t.width,height:t.height});this.DOMObject.find(".layout-player").html(o)},i.prototype.toggleFullscreen=function(){2==this.inlineEditorState&&this.closeInlineEditorContent(),this.DOMObject.parents("#layout-viewer-container").toggleClass("fullscreen"),this.parent.editorContainer.toggleClass("fullscreen-mode"),this.render(lD.selectedObject,lD.layout)},i.prototype.setupInlineEditor=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=this.parent;null!=n.readOnlyMode&&!0===n.readOnlyMode||(lD.propertiesPanel.inlineEditor=t,lD.propertiesPanel.inlineEditorId=e,lD.propertiesPanel.customNoDataMessage=o,t?this.showInlineEditor():this.hideInlineEditor())},i.prototype.showInlineEditor=function(){lD.editorContainer.find(".inline-editor-closed").show(),lD.editorContainer.find(".inline-editor-show").show(),lD.editorContainer.find(".inline-editor-hide").hide(),this.DOMObject.find("#inline-editor-overlay").off().click(function(){this.editInlineEditorToggle(!0)}.bind(this)),this.inlineEditorState=1},i.prototype.hideInlineEditor=function(){lD.editorContainer.find(".inline-editor-opened, .inline-editor-closed").hide(),lD.editorContainer.find(".inline-editor-show").hide(),lD.editorContainer.find(".inline-editor-hide").show(),2==this.inlineEditorState&&(this.closeInlineEditorContent(),this.DOMObject.find("#viewer-preview").show()),this.inlineEditorState=0},i.prototype.editInlineEditorToggle=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];lD.editorContainer.find(".inline-editor-opened").toggle(e),lD.editorContainer.find(".inline-editor-hide").toggle(!e),lD.editorContainer.find(".inline-editor-closed").toggle(!e),e?this.openInlineEditorContent():this.closeInlineEditorContent(),this.DOMObject.find("#viewer-preview").toggle(!e),this.DOMObject.find("#inline-editor-overlay").toggle(!e),lD.editorContainer.find(".viewer-navbar-overlay").toggle(!e)},i.prototype.openInlineEditorContent=function(){var e=lD.propertiesPanel.DOMObject.find("#"+lD.propertiesPanel.inlineEditorId).clone();e.attr("id","viewer_"+e.attr("id")),this.DOMObject.find("#inline-editor").empty().append(e);var t=lD.propertiesPanel.DOMObject.find('.ckeditor_controls[data-linked-to="'+lD.propertiesPanel.inlineEditorId+'"]');t.find("select").each((function(){$(this).hasClass("select2-hidden-accessible")&&$(this).select2("destroy")}));var o=t.clone();o.find("select").attr("data-linked-to","viewer_"+t.find("select").attr("data-linked-to")),o.show(),lD.bottombar.DOMObject.addClass("fs-edit"),lD.bottombar.DOMObject.find("#inline-editor-save").off().click((function(){lD.propertiesPanel.DOMObject.find('button[data-action="save"]').trigger("click")})),this.DOMObject.parents("#layout-viewer-container").find("#inline-editor-templates").empty().append(o),formHelpers.setupCKEditor(this.DOMObject.parent(),null,"viewer_"+lD.propertiesPanel.inlineEditorId,!0,lD.propertiesPanel.customNoDataMessage,!0),this.inlineEditorState=2},i.prototype.closeInlineEditorContent=function(){if(null!=CKEDITOR.instances["viewer_"+lD.propertiesPanel.inlineEditorId]){var e=CKEDITOR.instances["viewer_"+lD.propertiesPanel.inlineEditorId].getData();e=formHelpers.revertLibraryReferences(e),lD.propertiesPanel.DOMObject.find("#"+lD.propertiesPanel.inlineEditorId).val(e),lD.bottombar.DOMObject.removeClass("fs-edit"),this.inlineEditorState=1,formHelpers.destroyCKEditor("viewer_"+lD.propertiesPanel.inlineEditorId)}},i.prototype.calculateBackground=function(e,t,o){if(t.dimensions){var n={top:parseFloat(t.dimensions.top)*e.scale,left:parseFloat(t.dimensions.left)*e.scale,width:parseFloat(t.dimensions.width)*e.scale,height:parseFloat(t.dimensions.height)*e.scale},a={width:o.width*e.scale,height:o.height*e.scale};if(null===o.backgroundImage)this.DOMObject.css("background-color",o.backgroundColor);else{var r=urlsForApi.layout.downloadBackground.url;r=r.replace(":id",o.layoutId),this.DOMObject.css("background","url('"+r+"?preview=1&width="+o.width*e.scale+"&height="+o.height*e.scale+"&proportional=0&layoutBackgroundId="+o.backgroundImage+"') top center no-repeat"),this.DOMObject.css("background-color","#111"),this.DOMObject.css("background-position-x",-n.left+"px"),this.DOMObject.css("background-position-y",-n.top+"px")}this.DOMObject.find(".viewer-element").css("top",0),this.DOMObject.find(".viewer-element").css("left",0),this.DOMObject.css("border-color","#000"),this.DOMObject.css("border-color","#000a"),this.DOMObject.css("border-style","solid"),this.DOMObject.css("border-top-width",e.top+"px"),this.DOMObject.css("border-left-width",e.left+"px"),this.DOMObject.css("border-bottom-width",e.top+"px"),this.DOMObject.css("border-right-width",e.left+"px"),Math.abs(n.left)<e.left&&this.DOMObject.find("#border-before").css({width:e.left-n.left,height:e.height,"-webkit-transform":"translate("+-e.left+"px, 0px)","-moz-transform":"translate("+-e.left+"px, 0px)","-ms-transform":"translate("+-e.left+"px, 0px)","-o-transform":"translate("+-e.left+"px, 0px)",transform:"translate("+-e.left+"px, 0px)"}),Math.abs(n.top)<e.top&&this.DOMObject.find("#border-before").css({width:e.width,height:e.top-n.top,"-webkit-transform":"translate(0px, "+-e.top+"px)","-moz-transform":"translate(0px, "+-e.top+"px)","-ms-transform":"translate(0px, "+-e.top+"px)","-o-transform":"translate(0px, "+-e.top+"px)",transform:"translate(0px, "+-e.top+"px)"});var i=n.width+n.left,l=n.height+n.top,s=a.width,c=a.height;if(Math.abs(s-i)<e.left){var d=n.width+(s-i);this.DOMObject.find("#border-after").css({width:e.left-(s-i),height:e.height,"-webkit-transform":"translate("+d+"px, 0px)","-moz-transform":"translate("+d+"px, 0px)","-ms-transform":"translate("+d+"px, 0px)","-o-transform":"translate("+d+"px, 0px)",transform:"translate("+d+"px, 0px)"})}if(Math.abs(c-l)<e.top){var f=n.height+(c-l);this.DOMObject.find("#border-after").css({width:e.width,height:e.top-(c-l),"-webkit-transform":"translate(0px, "+f+"px)","-moz-transform":"translate(0px, "+f+"px)","-ms-transform":"translate(0px, "+f+"px)","-o-transform":"translate(0px, "+f+"px)",transform:"translate(0px, "+f+"px)"})}}},e.exports=i},38075:function(e,t,o){(e.exports=o(23645)(!1)).push([e.id,"#layout-editor-bottombar{height:38px;margin:0px 24px 24px 16px}#layout-editor-bottombar nav{border:none;color:#506098;padding:0 16px !important;min-height:30px;font-size:0;z-index:2;margin:0;background:#fff;right:0;left:0;border-radius:0 0 4px 4px}#layout-editor-bottombar nav span,#layout-editor-bottombar nav .info{font-size:1rem}#layout-editor-bottombar nav .divider{display:inline-block;height:40px;vertical-align:middle;border-right:3px solid #f0f2f8;margin:0 3px}#layout-editor-bottombar nav .btn{color:#506098;height:38px;width:38px;font-size:1.2rem;border:none;border-radius:0}#layout-editor-bottombar nav .btn:hover:not(:disabled){color:#f0f2f8;background-color:#506098}#layout-editor-bottombar nav .btn:disabled,#layout-editor-bottombar nav .btn.disabled{opacity:.4}#layout-editor-bottombar nav .btn#delete-btn{color:#e64c4c}#layout-editor-bottombar nav .btn#delete-btn:hover{color:#f0f2f8;background-color:#e64c4c}#layout-editor-bottombar nav .hide-on-fs{display:inline-block}#layout-editor-bottombar nav .show-on-fs{display:none}#layout-editor-bottombar nav .viewer-navbar-overlay{position:absolute;width:100%;height:38px;top:-38px;color:#f0f2f8;opacity:.8;padding:0 1rem;left:0;background:#333;background:rgba(51,51,51,.8)}#layout-editor-bottombar nav .viewer-navbar-overlay .info{line-height:2.5rem}#layout-editor-bottombar nav .viewer-navbar-overlay .info .label-name{max-width:20%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#layout-editor-bottombar nav .viewer-navbar-overlay .btn{color:#f0f2f8;height:38px;width:38px;font-size:1.2rem}#layout-editor-bottombar nav .viewer-navbar-overlay:hover{opacity:1 !important}#layout-editor-bottombar nav.designer-layout{border-bottom:3px solid #c1e1fd}#layout-editor-bottombar nav.designer-layout .viewer-navbar-overlay{display:none}#layout-editor-bottombar nav.designer-region{border-bottom:3px solid #ffc582}#layout-editor-bottombar nav.designer-widget{border-bottom:3px solid #82e59e}#layout-editor-bottombar #inline-editor-save{display:none}#layout-editor.fullscreen-mode #layout-editor-bottombar{position:fixed;bottom:0;left:0;right:0;z-index:1060;margin:0}#layout-editor.fullscreen-mode #layout-editor-bottombar.fs-edit #inline-editor-save{display:inline-block}#layout-editor.fullscreen-mode #layout-editor-bottombar .hide-on-fs{display:none}#layout-editor.fullscreen-mode #layout-editor-bottombar .show-on-fs{display:inline-block}",""])},88817:function(e,t,o){t=e.exports=o(23645)(!1);var n=o(54077),a=n(o(13816)),r=n(o(66933)+"?#iefix&v=4.7.0"),i=n(o(52884)),l=n(o(71523)),s=n(o(44133)),c=n(o(80018)+"#fontawesomeregular");t.push([e.id,'/*!\n * Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome\n * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)\n */@font-face{font-family:"FontAwesome";src:url('+a+");src:url("+r+') format("embedded-opentype"),url('+i+') format("woff2"),url('+l+') format("woff"),url('+s+') format("truetype"),url('+c+') format("svg");font-weight:normal;font-style:normal}.fa{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fa-lg{font-size:1.3333333333em;line-height:.75em;vertical-align:-15%}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-fw{width:1.2857142857em;text-align:center}.fa-ul{padding-left:0;margin-left:2.1428571429em;list-style-type:none}.fa-ul>li{position:relative}.fa-li{position:absolute;left:-2.1428571429em;width:2.1428571429em;top:.1428571429em;text-align:center}.fa-li.fa-lg{left:-1.8571428571em}.fa-border{padding:.2em .25em .15em;border:solid .08em #eee;border-radius:.1em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left{margin-right:.3em}.fa.fa-pull-right{margin-left:.3em}.pull-right{float:right}.pull-left{float:left}.fa.pull-left{margin-right:.3em}.fa.pull-right{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}.fa-pulse{-webkit-animation:fa-spin 1s infinite steps(8);animation:fa-spin 1s infinite steps(8)}@-webkit-keyframes fa-spin{0%{transform:rotate(0deg)}100%{transform:rotate(359deg)}}@keyframes fa-spin{0%{transform:rotate(0deg)}100%{transform:rotate(359deg)}}.fa-rotate-90{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";transform:rotate(90deg)}.fa-rotate-180{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";transform:rotate(180deg)}.fa-rotate-270{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";transform:rotate(270deg)}.fa-flip-horizontal{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";transform:scale(-1, 1)}.fa-flip-vertical{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";transform:scale(1, -1)}:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270,:root .fa-flip-horizontal,:root .fa-flip-vertical{filter:none}.fa-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:middle}.fa-stack-1x,.fa-stack-2x{position:absolute;left:0;width:100%;text-align:center}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-glass:before{content:""}.fa-music:before{content:""}.fa-search:before{content:""}.fa-envelope-o:before{content:""}.fa-heart:before{content:""}.fa-star:before{content:""}.fa-star-o:before{content:""}.fa-user:before{content:""}.fa-film:before{content:""}.fa-th-large:before{content:""}.fa-th:before,.module-icon-menuboard:before{content:""}.fa-th-list:before{content:""}.fa-check:before{content:""}.fa-remove:before,.fa-close:before,.fa-times:before{content:""}.fa-search-plus:before{content:""}.fa-search-minus:before{content:""}.fa-power-off:before{content:""}.fa-signal:before{content:""}.fa-gear:before,.fa-cog:before{content:""}.fa-trash-o:before{content:""}.fa-home:before{content:""}.fa-file-o:before{content:""}.fa-clock-o:before,.module-icon-clock:before{content:""}.fa-road:before{content:""}.fa-download:before{content:""}.fa-arrow-circle-o-down:before{content:""}.fa-arrow-circle-o-up:before{content:""}.fa-inbox:before{content:""}.fa-play-circle-o:before,.module-icon-subplaylist:before{content:""}.fa-rotate-right:before,.fa-repeat:before{content:""}.fa-refresh:before{content:""}.fa-list-alt:before{content:""}.fa-lock:before{content:""}.fa-flag:before{content:""}.fa-headphones:before{content:""}.fa-volume-off:before{content:""}.fa-volume-down:before{content:""}.fa-volume-up:before,.tool-icon-audio:before{content:""}.fa-qrcode:before{content:""}.fa-barcode:before{content:""}.fa-tag:before{content:""}.fa-tags:before{content:""}.fa-book:before{content:""}.fa-bookmark:before{content:""}.fa-print:before{content:""}.fa-camera:before{content:""}.fa-font:before,.module-icon-text:before{content:""}.fa-bold:before{content:""}.fa-italic:before{content:""}.fa-text-height:before{content:""}.fa-text-width:before{content:""}.fa-align-left:before{content:""}.fa-align-center:before{content:""}.fa-align-right:before{content:""}.fa-align-justify:before{content:""}.fa-list:before,.module-icon-datasetticker:before{content:""}.fa-dedent:before,.fa-outdent:before{content:""}.fa-indent:before{content:""}.fa-video-camera:before,.module-icon-videoin:before,.module-icon-hls:before{content:""}.fa-photo:before,.fa-image:before,.fa-picture-o:before{content:""}.fa-pencil:before{content:""}.fa-map-marker:before{content:""}.fa-adjust:before{content:""}.fa-tint:before{content:""}.fa-edit:before,.fa-pencil-square-o:before{content:""}.fa-share-square-o:before{content:""}.fa-check-square-o:before{content:""}.fa-arrows:before{content:""}.fa-step-backward:before{content:""}.fa-fast-backward:before{content:""}.fa-backward:before{content:""}.fa-play:before{content:""}.fa-pause:before{content:""}.fa-stop:before{content:""}.fa-forward:before{content:""}.fa-fast-forward:before{content:""}.fa-step-forward:before{content:""}.fa-eject:before{content:""}.fa-chevron-left:before{content:""}.fa-chevron-right:before{content:""}.fa-plus-circle:before{content:""}.fa-minus-circle:before{content:""}.fa-times-circle:before{content:""}.fa-check-circle:before{content:""}.fa-question-circle:before{content:""}.fa-info-circle:before{content:""}.fa-crosshairs:before{content:""}.fa-times-circle-o:before{content:""}.fa-check-circle-o:before{content:""}.fa-ban:before{content:""}.fa-arrow-left:before{content:""}.fa-arrow-right:before{content:""}.fa-arrow-up:before{content:""}.fa-arrow-down:before{content:""}.fa-mail-forward:before,.fa-share:before{content:""}.fa-expand:before{content:""}.fa-compress:before{content:""}.fa-plus:before{content:""}.fa-minus:before{content:""}.fa-asterisk:before{content:""}.fa-exclamation-circle:before{content:""}.fa-gift:before{content:""}.fa-leaf:before{content:""}.fa-fire:before{content:""}.fa-eye:before{content:""}.fa-eye-slash:before{content:""}.fa-warning:before,.fa-exclamation-triangle:before,.bg_not_found_icon:before{content:""}.fa-plane:before{content:""}.fa-calendar:before{content:""}.fa-random:before{content:""}.fa-comment:before{content:""}.fa-magnet:before{content:""}.fa-chevron-up:before{content:""}.fa-chevron-down:before{content:""}.fa-retweet:before{content:""}.fa-shopping-cart:before{content:""}.fa-folder:before{content:""}.fa-folder-open:before{content:""}.fa-arrows-v:before{content:""}.fa-arrows-h:before{content:""}.fa-bar-chart-o:before,.fa-bar-chart:before,.module-icon-stocks:before{content:""}.fa-twitter-square:before,.module-icon-twittermetro:before{content:""}.fa-facebook-square:before{content:""}.fa-camera-retro:before{content:""}.fa-key:before{content:""}.fa-gears:before,.fa-cogs:before{content:""}.fa-comments:before{content:""}.fa-thumbs-o-up:before{content:""}.fa-thumbs-o-down:before{content:""}.fa-star-half:before{content:""}.fa-heart-o:before{content:""}.fa-sign-out:before,.tool-icon-transitionOut:before{content:""}.fa-linkedin-square:before{content:""}.fa-thumb-tack:before{content:""}.fa-external-link:before{content:""}.fa-sign-in:before,.tool-icon-transitionIn:before{content:""}.fa-trophy:before{content:""}.fa-github-square:before{content:""}.fa-upload:before{content:""}.fa-lemon-o:before{content:""}.fa-phone:before{content:""}.fa-square-o:before{content:""}.fa-bookmark-o:before{content:""}.fa-phone-square:before{content:""}.fa-twitter:before,.module-icon-twitter:before{content:""}.fa-facebook-f:before,.fa-facebook:before{content:""}.fa-github:before{content:""}.fa-unlock:before{content:""}.fa-credit-card:before{content:""}.fa-feed:before,.fa-rss:before,.module-icon-ticker:before{content:""}.fa-hdd-o:before{content:""}.fa-bullhorn:before{content:""}.fa-bell:before{content:""}.fa-certificate:before{content:""}.fa-hand-o-right:before{content:""}.fa-hand-o-left:before{content:""}.fa-hand-o-up:before{content:""}.fa-hand-o-down:before{content:""}.fa-arrow-circle-left:before{content:""}.fa-arrow-circle-right:before{content:""}.fa-arrow-circle-up:before{content:""}.fa-arrow-circle-down:before{content:""}.fa-globe:before,.module-icon-worldclock:before{content:""}.fa-wrench:before{content:""}.fa-tasks:before{content:""}.fa-filter:before{content:""}.fa-briefcase:before{content:""}.fa-arrows-alt:before{content:""}.fa-group:before,.fa-users:before{content:""}.fa-chain:before,.fa-link:before{content:""}.fa-cloud:before,.module-icon-weather:before,.module-icon-forecastio:before{content:""}.fa-flask:before{content:""}.fa-cut:before,.fa-scissors:before{content:""}.fa-copy:before,.fa-files-o:before{content:""}.fa-paperclip:before{content:""}.fa-save:before,.fa-floppy-o:before{content:""}.fa-square:before{content:""}.fa-navicon:before,.fa-reorder:before,.fa-bars:before{content:""}.fa-list-ul:before{content:""}.fa-list-ol:before{content:""}.fa-strikethrough:before{content:""}.fa-underline:before{content:""}.fa-table:before,.module-icon-datasetview:before{content:""}.fa-magic:before{content:""}.fa-truck:before{content:""}.fa-pinterest:before{content:""}.fa-pinterest-square:before{content:""}.fa-google-plus-square:before{content:""}.fa-google-plus:before{content:""}.fa-money:before{content:""}.fa-caret-down:before{content:""}.fa-caret-up:before{content:""}.fa-caret-left:before{content:""}.fa-caret-right:before{content:""}.fa-columns:before{content:""}.fa-unsorted:before,.fa-sort:before{content:""}.fa-sort-down:before,.fa-sort-desc:before{content:""}.fa-sort-up:before,.fa-sort-asc:before{content:""}.fa-envelope:before{content:""}.fa-linkedin:before{content:""}.fa-rotate-left:before,.fa-undo:before{content:""}.fa-legal:before,.fa-gavel:before{content:""}.fa-dashboard:before,.fa-tachometer:before{content:""}.fa-comment-o:before{content:""}.fa-comments-o:before{content:""}.fa-flash:before,.module-icon-flash:before,.media-icon-flash:before,.fa-bolt:before{content:""}.fa-sitemap:before,.module-icon-webpage:before{content:""}.fa-umbrella:before{content:""}.fa-paste:before,.fa-clipboard:before{content:""}.fa-lightbulb-o:before{content:""}.fa-exchange:before{content:""}.fa-cloud-download:before{content:""}.fa-cloud-upload:before{content:""}.fa-user-md:before{content:""}.fa-stethoscope:before{content:""}.fa-suitcase:before{content:""}.fa-bell-o:before,.module-icon-notificationview:before{content:""}.fa-coffee:before{content:""}.fa-cutlery:before{content:""}.fa-file-text-o:before{content:""}.fa-building-o:before{content:""}.fa-hospital-o:before{content:""}.fa-ambulance:before{content:""}.fa-medkit:before{content:""}.fa-fighter-jet:before{content:""}.fa-beer:before{content:""}.fa-h-square:before{content:""}.fa-plus-square:before{content:""}.fa-angle-double-left:before{content:""}.fa-angle-double-right:before{content:""}.fa-angle-double-up:before{content:""}.fa-angle-double-down:before{content:""}.fa-angle-left:before{content:""}.fa-angle-right:before{content:""}.fa-angle-up:before{content:""}.fa-angle-down:before{content:""}.fa-desktop:before{content:""}.fa-laptop:before{content:""}.fa-tablet:before{content:""}.fa-mobile-phone:before,.fa-mobile:before{content:""}.fa-circle-o:before{content:""}.fa-quote-left:before{content:""}.fa-quote-right:before{content:""}.fa-spinner:before{content:""}.fa-circle:before{content:""}.fa-mail-reply:before,.fa-reply:before{content:""}.fa-github-alt:before{content:""}.fa-folder-o:before{content:""}.fa-folder-open-o:before{content:""}.fa-smile-o:before{content:""}.fa-frown-o:before{content:""}.fa-meh-o:before{content:""}.fa-gamepad:before{content:""}.fa-keyboard-o:before{content:""}.fa-flag-o:before{content:""}.fa-flag-checkered:before{content:""}.fa-terminal:before,.module-icon-shellcommand:before{content:""}.fa-code:before,.module-icon-embedded:before{content:""}.fa-mail-reply-all:before,.fa-reply-all:before{content:""}.fa-star-half-empty:before,.fa-star-half-full:before,.fa-star-half-o:before{content:""}.fa-location-arrow:before{content:""}.fa-crop:before{content:""}.fa-code-fork:before{content:""}.fa-unlink:before,.fa-chain-broken:before{content:""}.fa-question:before{content:""}.fa-info:before{content:""}.fa-exclamation:before{content:""}.fa-superscript:before{content:""}.fa-subscript:before{content:""}.fa-eraser:before{content:""}.fa-puzzle-piece:before{content:""}.fa-microphone:before{content:""}.fa-microphone-slash:before{content:""}.fa-shield:before{content:""}.fa-calendar-o:before,.module-icon-calendar:before{content:""}.fa-fire-extinguisher:before{content:""}.fa-rocket:before{content:""}.fa-maxcdn:before{content:""}.fa-chevron-circle-left:before{content:""}.fa-chevron-circle-right:before{content:""}.fa-chevron-circle-up:before{content:""}.fa-chevron-circle-down:before{content:""}.fa-html5:before{content:""}.fa-css3:before{content:""}.fa-anchor:before{content:""}.fa-unlock-alt:before{content:""}.fa-bullseye:before{content:""}.fa-ellipsis-h:before{content:""}.fa-ellipsis-v:before{content:""}.fa-rss-square:before{content:""}.fa-play-circle:before{content:""}.fa-ticket:before{content:""}.fa-minus-square:before{content:""}.fa-minus-square-o:before{content:""}.fa-level-up:before{content:""}.fa-level-down:before{content:""}.fa-check-square:before{content:""}.fa-pencil-square:before{content:""}.fa-external-link-square:before{content:""}.fa-share-square:before{content:""}.fa-compass:before{content:""}.fa-toggle-down:before,.fa-caret-square-o-down:before{content:""}.fa-toggle-up:before,.fa-caret-square-o-up:before{content:""}.fa-toggle-right:before,.fa-caret-square-o-right:before{content:""}.fa-euro:before,.fa-eur:before{content:""}.fa-gbp:before{content:""}.fa-dollar:before,.fa-usd:before{content:""}.fa-rupee:before,.fa-inr:before{content:""}.fa-cny:before,.fa-rmb:before,.fa-yen:before,.fa-jpy:before{content:""}.fa-ruble:before,.fa-rouble:before,.fa-rub:before{content:""}.fa-won:before,.fa-krw:before{content:""}.fa-bitcoin:before,.fa-btc:before{content:""}.fa-file:before{content:""}.fa-file-text:before{content:""}.fa-sort-alpha-asc:before{content:""}.fa-sort-alpha-desc:before{content:""}.fa-sort-amount-asc:before{content:""}.fa-sort-amount-desc:before{content:""}.fa-sort-numeric-asc:before{content:""}.fa-sort-numeric-desc:before{content:""}.fa-thumbs-up:before{content:""}.fa-thumbs-down:before{content:""}.fa-youtube-square:before{content:""}.fa-youtube:before{content:""}.fa-xing:before{content:""}.fa-xing-square:before{content:""}.fa-youtube-play:before{content:""}.fa-dropbox:before{content:""}.fa-stack-overflow:before{content:""}.fa-instagram:before{content:""}.fa-flickr:before{content:""}.fa-adn:before{content:""}.fa-bitbucket:before{content:""}.fa-bitbucket-square:before{content:""}.fa-tumblr:before{content:""}.fa-tumblr-square:before{content:""}.fa-long-arrow-down:before{content:""}.fa-long-arrow-up:before{content:""}.fa-long-arrow-left:before{content:""}.fa-long-arrow-right:before{content:""}.fa-apple:before{content:""}.fa-windows:before{content:""}.fa-android:before{content:""}.fa-linux:before{content:""}.fa-dribbble:before{content:""}.fa-skype:before{content:""}.fa-foursquare:before{content:""}.fa-trello:before{content:""}.fa-female:before{content:""}.fa-male:before{content:""}.fa-gittip:before,.fa-gratipay:before{content:""}.fa-sun-o:before{content:""}.fa-moon-o:before{content:""}.fa-archive:before{content:""}.fa-bug:before{content:""}.fa-vk:before{content:""}.fa-weibo:before{content:""}.fa-renren:before{content:""}.fa-pagelines:before{content:""}.fa-stack-exchange:before{content:""}.fa-arrow-circle-o-right:before{content:""}.fa-arrow-circle-o-left:before{content:""}.fa-toggle-left:before,.fa-caret-square-o-left:before{content:""}.fa-dot-circle-o:before{content:""}.fa-wheelchair:before{content:""}.fa-vimeo-square:before{content:""}.fa-turkish-lira:before,.fa-try:before{content:""}.fa-plus-square-o:before{content:""}.fa-space-shuttle:before{content:""}.fa-slack:before{content:""}.fa-envelope-square:before{content:""}.fa-wordpress:before{content:""}.fa-openid:before{content:""}.fa-institution:before,.fa-bank:before,.fa-university:before{content:""}.fa-mortar-board:before,.fa-graduation-cap:before{content:""}.fa-yahoo:before{content:""}.fa-google:before{content:""}.fa-reddit:before{content:""}.fa-reddit-square:before{content:""}.fa-stumbleupon-circle:before{content:""}.fa-stumbleupon:before{content:""}.fa-delicious:before{content:""}.fa-digg:before{content:""}.fa-pied-piper-pp:before{content:""}.fa-pied-piper-alt:before{content:""}.fa-drupal:before{content:""}.fa-joomla:before{content:""}.fa-language:before{content:""}.fa-fax:before{content:""}.fa-building:before{content:""}.fa-child:before{content:""}.fa-paw:before{content:""}.fa-spoon:before{content:""}.fa-cube:before{content:""}.fa-cubes:before{content:""}.fa-behance:before{content:""}.fa-behance-square:before{content:""}.fa-steam:before{content:""}.fa-steam-square:before{content:""}.fa-recycle:before{content:""}.fa-automobile:before,.fa-car:before,.module-icon-googletraffic:before{content:""}.fa-cab:before,.fa-taxi:before{content:""}.fa-tree:before{content:""}.fa-spotify:before{content:""}.fa-deviantart:before{content:""}.fa-soundcloud:before{content:""}.fa-database:before{content:""}.fa-file-pdf-o:before,.module-icon-pdf:before,.media-icon-pdf:before{content:""}.fa-file-word-o:before{content:""}.fa-file-excel-o:before{content:""}.fa-file-powerpoint-o:before,.module-icon-powerpoint:before,.media-icon-powerpoint:before{content:""}.fa-file-photo-o:before,.fa-file-picture-o:before,.fa-file-image-o:before,.module-icon-image:before,.media-icon-image:before{content:""}.fa-file-zip-o:before,.fa-file-archive-o:before{content:""}.fa-file-sound-o:before,.fa-file-audio-o:before{content:""}.fa-file-movie-o:before,.fa-file-video-o:before,.module-icon-video:before,.media-icon-video:before,.module-icon-localvideo:before{content:""}.fa-file-code-o:before,.module-icon-htmlpackage:before,.media-icon-htmlpackage:before{content:""}.fa-vine:before{content:""}.fa-codepen:before{content:""}.fa-jsfiddle:before{content:""}.fa-life-bouy:before,.fa-life-buoy:before,.fa-life-saver:before,.fa-support:before,.fa-life-ring:before{content:""}.fa-circle-o-notch:before{content:""}.fa-ra:before,.fa-resistance:before,.fa-rebel:before{content:""}.fa-ge:before,.fa-empire:before{content:""}.fa-git-square:before{content:""}.fa-git:before{content:""}.fa-y-combinator-square:before,.fa-yc-square:before,.fa-hacker-news:before{content:""}.fa-tencent-weibo:before{content:""}.fa-qq:before{content:""}.fa-wechat:before,.fa-weixin:before{content:""}.fa-send:before,.fa-paper-plane:before{content:""}.fa-send-o:before,.fa-paper-plane-o:before{content:""}.fa-history:before{content:""}.fa-circle-thin:before{content:""}.fa-header:before{content:""}.fa-paragraph:before{content:""}.fa-sliders:before{content:""}.fa-share-alt:before{content:""}.fa-share-alt-square:before{content:""}.fa-bomb:before{content:""}.fa-soccer-ball-o:before,.fa-futbol-o:before{content:""}.fa-tty:before{content:""}.fa-binoculars:before{content:""}.fa-plug:before{content:""}.fa-slideshare:before{content:""}.fa-twitch:before{content:""}.fa-yelp:before{content:""}.fa-newspaper-o:before{content:""}.fa-wifi:before{content:""}.fa-calculator:before{content:""}.fa-paypal:before{content:""}.fa-google-wallet:before{content:""}.fa-cc-visa:before{content:""}.fa-cc-mastercard:before{content:""}.fa-cc-discover:before{content:""}.fa-cc-amex:before{content:""}.fa-cc-paypal:before{content:""}.fa-cc-stripe:before{content:""}.fa-bell-slash:before{content:""}.fa-bell-slash-o:before{content:""}.fa-trash:before{content:""}.fa-copyright:before{content:""}.fa-at:before{content:""}.fa-eyedropper:before{content:""}.fa-paint-brush:before{content:""}.fa-birthday-cake:before{content:""}.fa-area-chart:before{content:""}.fa-pie-chart:before,.module-icon-chart:before{content:""}.fa-line-chart:before,.module-icon-currencies:before{content:""}.fa-lastfm:before{content:""}.fa-lastfm-square:before{content:""}.fa-toggle-off:before{content:""}.fa-toggle-on:before{content:""}.fa-bicycle:before{content:""}.fa-bus:before{content:""}.fa-ioxhost:before{content:""}.fa-angellist:before{content:""}.fa-cc:before{content:""}.fa-shekel:before,.fa-sheqel:before,.fa-ils:before{content:""}.fa-meanpath:before{content:""}.fa-buysellads:before{content:""}.fa-connectdevelop:before{content:""}.fa-dashcube:before{content:""}.fa-forumbee:before{content:""}.fa-leanpub:before{content:""}.fa-sellsy:before{content:""}.fa-shirtsinbulk:before{content:""}.fa-simplybuilt:before{content:""}.fa-skyatlas:before{content:""}.fa-cart-plus:before{content:""}.fa-cart-arrow-down:before{content:""}.fa-diamond:before{content:""}.fa-ship:before{content:""}.fa-user-secret:before,.tool-icon-permissions:before{content:""}.fa-motorcycle:before{content:""}.fa-street-view:before{content:""}.fa-heartbeat:before{content:""}.fa-venus:before{content:""}.fa-mars:before{content:""}.fa-mercury:before{content:""}.fa-intersex:before,.fa-transgender:before{content:""}.fa-transgender-alt:before{content:""}.fa-venus-double:before{content:""}.fa-mars-double:before{content:""}.fa-venus-mars:before{content:""}.fa-mars-stroke:before{content:""}.fa-mars-stroke-v:before{content:""}.fa-mars-stroke-h:before{content:""}.fa-neuter:before{content:""}.fa-genderless:before{content:""}.fa-facebook-official:before{content:""}.fa-pinterest-p:before{content:""}.fa-whatsapp:before{content:""}.fa-server:before{content:""}.fa-user-plus:before{content:""}.fa-user-times:before{content:""}.fa-hotel:before,.fa-bed:before{content:""}.fa-viacoin:before{content:""}.fa-train:before{content:""}.fa-subway:before{content:""}.fa-medium:before{content:""}.fa-yc:before,.fa-y-combinator:before{content:""}.fa-optin-monster:before{content:""}.fa-opencart:before{content:""}.fa-expeditedssl:before{content:""}.fa-battery-4:before,.fa-battery:before,.fa-battery-full:before{content:""}.fa-battery-3:before,.fa-battery-three-quarters:before{content:""}.fa-battery-2:before,.fa-battery-half:before{content:""}.fa-battery-1:before,.fa-battery-quarter:before{content:""}.fa-battery-0:before,.fa-battery-empty:before{content:""}.fa-mouse-pointer:before{content:""}.fa-i-cursor:before{content:""}.fa-object-group:before{content:""}.fa-object-ungroup:before{content:""}.fa-sticky-note:before{content:""}.fa-sticky-note-o:before{content:""}.fa-cc-jcb:before{content:""}.fa-cc-diners-club:before{content:""}.fa-clone:before,.tool-icon-region:before{content:""}.fa-balance-scale:before{content:""}.fa-hourglass-o:before,.module-icon-spacer:before,.module-icon-countdown:before{content:""}.fa-hourglass-1:before,.fa-hourglass-start:before{content:""}.fa-hourglass-2:before,.fa-hourglass-half:before{content:""}.fa-hourglass-3:before,.fa-hourglass-end:before{content:""}.fa-hourglass:before{content:""}.fa-hand-grab-o:before,.fa-hand-rock-o:before{content:""}.fa-hand-stop-o:before,.fa-hand-paper-o:before{content:""}.fa-hand-scissors-o:before{content:""}.fa-hand-lizard-o:before{content:""}.fa-hand-spock-o:before{content:""}.fa-hand-pointer-o:before{content:""}.fa-hand-peace-o:before{content:""}.fa-trademark:before{content:""}.fa-registered:before{content:""}.fa-creative-commons:before{content:""}.fa-gg:before{content:""}.fa-gg-circle:before{content:""}.fa-tripadvisor:before{content:""}.fa-odnoklassniki:before{content:""}.fa-odnoklassniki-square:before{content:""}.fa-get-pocket:before{content:""}.fa-wikipedia-w:before{content:""}.fa-safari:before{content:""}.fa-chrome:before{content:""}.fa-firefox:before{content:""}.fa-opera:before{content:""}.fa-internet-explorer:before{content:""}.fa-tv:before,.fa-television:before{content:""}.fa-contao:before{content:""}.fa-500px:before{content:""}.fa-amazon:before{content:""}.fa-calendar-plus-o:before{content:""}.fa-calendar-minus-o:before{content:""}.fa-calendar-times-o:before{content:""}.fa-calendar-check-o:before,.tool-icon-expiry:before{content:""}.fa-industry:before{content:""}.fa-map-pin:before{content:""}.fa-map-signs:before{content:""}.fa-map-o:before{content:""}.fa-map:before{content:""}.fa-commenting:before{content:""}.fa-commenting-o:before{content:""}.fa-houzz:before{content:""}.fa-vimeo:before{content:""}.fa-black-tie:before{content:""}.fa-fonticons:before{content:""}.fa-reddit-alien:before{content:""}.fa-edge:before{content:""}.fa-credit-card-alt:before{content:""}.fa-codiepie:before{content:""}.fa-modx:before{content:""}.fa-fort-awesome:before{content:""}.fa-usb:before{content:""}.fa-product-hunt:before{content:""}.fa-mixcloud:before{content:""}.fa-scribd:before{content:""}.fa-pause-circle:before{content:""}.fa-pause-circle-o:before{content:""}.fa-stop-circle:before{content:""}.fa-stop-circle-o:before{content:""}.fa-shopping-bag:before{content:""}.fa-shopping-basket:before{content:""}.fa-hashtag:before{content:""}.fa-bluetooth:before{content:""}.fa-bluetooth-b:before{content:""}.fa-percent:before{content:""}.fa-gitlab:before{content:""}.fa-wpbeginner:before{content:""}.fa-wpforms:before{content:""}.fa-envira:before{content:""}.fa-universal-access:before{content:""}.fa-wheelchair-alt:before{content:""}.fa-question-circle-o:before{content:""}.fa-blind:before{content:""}.fa-audio-description:before{content:""}.fa-volume-control-phone:before{content:""}.fa-braille:before{content:""}.fa-assistive-listening-systems:before{content:""}.fa-asl-interpreting:before,.fa-american-sign-language-interpreting:before{content:""}.fa-deafness:before,.fa-hard-of-hearing:before,.fa-deaf:before{content:""}.fa-glide:before{content:""}.fa-glide-g:before{content:""}.fa-signing:before,.fa-sign-language:before{content:""}.fa-low-vision:before{content:""}.fa-viadeo:before{content:""}.fa-viadeo-square:before{content:""}.fa-snapchat:before{content:""}.fa-snapchat-ghost:before{content:""}.fa-snapchat-square:before{content:""}.fa-pied-piper:before{content:""}.fa-first-order:before{content:""}.fa-yoast:before{content:""}.fa-themeisle:before{content:""}.fa-google-plus-circle:before,.fa-google-plus-official:before{content:""}.fa-fa:before,.fa-font-awesome:before{content:""}.fa-handshake-o:before{content:""}.fa-envelope-open:before{content:""}.fa-envelope-open-o:before{content:""}.fa-linode:before{content:""}.fa-address-book:before{content:""}.fa-address-book-o:before{content:""}.fa-vcard:before,.fa-address-card:before{content:""}.fa-vcard-o:before,.fa-address-card-o:before{content:""}.fa-user-circle:before{content:""}.fa-user-circle-o:before{content:""}.fa-user-o:before{content:""}.fa-id-badge:before{content:""}.fa-drivers-license:before,.fa-id-card:before{content:""}.fa-drivers-license-o:before,.fa-id-card-o:before{content:""}.fa-quora:before{content:""}.fa-free-code-camp:before{content:""}.fa-telegram:before{content:""}.fa-thermometer-4:before,.fa-thermometer:before,.fa-thermometer-full:before{content:""}.fa-thermometer-3:before,.fa-thermometer-three-quarters:before{content:""}.fa-thermometer-2:before,.fa-thermometer-half:before{content:""}.fa-thermometer-1:before,.fa-thermometer-quarter:before{content:""}.fa-thermometer-0:before,.fa-thermometer-empty:before{content:""}.fa-shower:before{content:""}.fa-bathtub:before,.fa-s15:before,.fa-bath:before{content:""}.fa-podcast:before{content:""}.fa-window-maximize:before{content:""}.fa-window-minimize:before{content:""}.fa-window-restore:before{content:""}.fa-times-rectangle:before,.fa-window-close:before{content:""}.fa-times-rectangle-o:before,.fa-window-close-o:before{content:""}.fa-bandcamp:before{content:""}.fa-grav:before{content:""}.fa-etsy:before{content:""}.fa-imdb:before{content:""}.fa-ravelry:before{content:""}.fa-eercast:before{content:""}.fa-microchip:before{content:""}.fa-snowflake-o:before{content:""}.fa-superpowers:before{content:""}.fa-wpexplorer:before{content:""}.fa-meetup:before{content:""}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}/*!\n * Font Awesome Free 5.13.0 by @fontawesome - https://fontawesome.com\n * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)\n */.fa,.fas,.far,.fal,.fad,.fab{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-block;font-style:normal;font-feature-settings:normal;font-variant:normal;text-rendering:auto;line-height:1}.fa-lg{font-size:1.3333333333em;line-height:.75em;vertical-align:-0.0667em}.fa-xs{font-size:.75em}.fa-sm{font-size:.875em}.fa-1x{font-size:1em}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-6x{font-size:6em}.fa-7x{font-size:7em}.fa-8x{font-size:8em}.fa-9x{font-size:9em}.fa-10x{font-size:10em}.fa-fw{text-align:center;width:1.25em}.fa-ul{list-style-type:none;margin-left:2.6785714286em;padding-left:0}.fa-ul>li{position:relative}.fa-li{left:-2.1428571429em;position:absolute;text-align:center;width:2.1428571429em;line-height:inherit}.fa-border{border:solid .08em #eee;border-radius:.1em;padding:.2em .25em .15em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left,.fas.fa-pull-left,.far.fa-pull-left,.fal.fa-pull-left,.fab.fa-pull-left{margin-right:.3em}.fa.fa-pull-right,.fas.fa-pull-right,.far.fa-pull-right,.fal.fa-pull-right,.fab.fa-pull-right{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}.fa-pulse{-webkit-animation:fa-spin 1s infinite steps(8);animation:fa-spin 1s infinite steps(8)}@keyframes fa-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.fa-rotate-90{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";transform:rotate(90deg)}.fa-rotate-180{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";transform:rotate(180deg)}.fa-rotate-270{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";transform:rotate(270deg)}.fa-flip-horizontal{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";transform:scale(-1, 1)}.fa-flip-vertical{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";transform:scale(1, -1)}.fa-flip-both,.fa-flip-horizontal.fa-flip-vertical{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";transform:scale(-1, -1)}:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270,:root .fa-flip-horizontal,:root .fa-flip-vertical,:root .fa-flip-both{filter:none}.fa-stack{display:inline-block;height:2em;line-height:2em;position:relative;vertical-align:middle;width:2.5em}.fa-stack-1x,.fa-stack-2x{left:0;position:absolute;text-align:center;width:100%}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-500px:before{content:""}.fa-accessible-icon:before{content:""}.fa-accusoft:before{content:""}.fa-acquisitions-incorporated:before{content:""}.fa-ad:before{content:""}.fa-address-book:before{content:""}.fa-address-card:before{content:""}.fa-adjust:before{content:""}.fa-adn:before{content:""}.fa-adobe:before{content:""}.fa-adversal:before{content:""}.fa-affiliatetheme:before{content:""}.fa-air-freshener:before{content:""}.fa-airbnb:before{content:""}.fa-algolia:before{content:""}.fa-align-center:before{content:""}.fa-align-justify:before{content:""}.fa-align-left:before{content:""}.fa-align-right:before{content:""}.fa-alipay:before{content:""}.fa-allergies:before{content:""}.fa-amazon:before{content:""}.fa-amazon-pay:before{content:""}.fa-ambulance:before{content:""}.fa-american-sign-language-interpreting:before{content:""}.fa-amilia:before{content:""}.fa-anchor:before{content:""}.fa-android:before{content:""}.fa-angellist:before{content:""}.fa-angle-double-down:before{content:""}.fa-angle-double-left:before{content:""}.fa-angle-double-right:before{content:""}.fa-angle-double-up:before{content:""}.fa-angle-down:before{content:""}.fa-angle-left:before{content:""}.fa-angle-right:before{content:""}.fa-angle-up:before{content:""}.fa-angry:before{content:""}.fa-angrycreative:before{content:""}.fa-angular:before{content:""}.fa-ankh:before{content:""}.fa-app-store:before{content:""}.fa-app-store-ios:before{content:""}.fa-apper:before{content:""}.fa-apple:before{content:""}.fa-apple-alt:before{content:""}.fa-apple-pay:before{content:""}.fa-archive:before{content:""}.fa-archway:before{content:""}.fa-arrow-alt-circle-down:before{content:""}.fa-arrow-alt-circle-left:before{content:""}.fa-arrow-alt-circle-right:before{content:""}.fa-arrow-alt-circle-up:before{content:""}.fa-arrow-circle-down:before{content:""}.fa-arrow-circle-left:before{content:""}.fa-arrow-circle-right:before{content:""}.fa-arrow-circle-up:before{content:""}.fa-arrow-down:before{content:""}.fa-arrow-left:before{content:""}.fa-arrow-right:before{content:""}.fa-arrow-up:before{content:""}.fa-arrows-alt:before{content:""}.fa-arrows-alt-h:before{content:""}.fa-arrows-alt-v:before{content:""}.fa-artstation:before{content:""}.fa-assistive-listening-systems:before{content:""}.fa-asterisk:before{content:""}.fa-asymmetrik:before{content:""}.fa-at:before{content:""}.fa-atlas:before{content:""}.fa-atlassian:before{content:""}.fa-atom:before{content:""}.fa-audible:before{content:""}.fa-audio-description:before{content:""}.fa-autoprefixer:before{content:""}.fa-avianex:before{content:""}.fa-aviato:before{content:""}.fa-award:before{content:""}.fa-aws:before{content:""}.fa-baby:before{content:""}.fa-baby-carriage:before{content:""}.fa-backspace:before{content:""}.fa-backward:before{content:""}.fa-bacon:before{content:""}.fa-bahai:before{content:""}.fa-balance-scale:before{content:""}.fa-balance-scale-left:before{content:""}.fa-balance-scale-right:before{content:""}.fa-ban:before{content:""}.fa-band-aid:before{content:""}.fa-bandcamp:before{content:""}.fa-barcode:before{content:""}.fa-bars:before{content:""}.fa-baseball-ball:before{content:""}.fa-basketball-ball:before{content:""}.fa-bath:before{content:""}.fa-battery-empty:before{content:""}.fa-battery-full:before{content:""}.fa-battery-half:before{content:""}.fa-battery-quarter:before{content:""}.fa-battery-three-quarters:before{content:""}.fa-battle-net:before{content:""}.fa-bed:before{content:""}.fa-beer:before{content:""}.fa-behance:before{content:""}.fa-behance-square:before{content:""}.fa-bell:before{content:""}.fa-bell-slash:before{content:""}.fa-bezier-curve:before{content:""}.fa-bible:before{content:""}.fa-bicycle:before{content:""}.fa-biking:before{content:""}.fa-bimobject:before{content:""}.fa-binoculars:before{content:""}.fa-biohazard:before{content:""}.fa-birthday-cake:before{content:""}.fa-bitbucket:before{content:""}.fa-bitcoin:before{content:""}.fa-bity:before{content:""}.fa-black-tie:before{content:""}.fa-blackberry:before{content:""}.fa-blender:before{content:""}.fa-blender-phone:before{content:""}.fa-blind:before{content:""}.fa-blog:before{content:""}.fa-blogger:before{content:""}.fa-blogger-b:before{content:""}.fa-bluetooth:before{content:""}.fa-bluetooth-b:before{content:""}.fa-bold:before{content:""}.fa-bolt:before{content:""}.fa-bomb:before{content:""}.fa-bone:before{content:""}.fa-bong:before{content:""}.fa-book:before{content:""}.fa-book-dead:before{content:""}.fa-book-medical:before{content:""}.fa-book-open:before{content:""}.fa-book-reader:before{content:""}.fa-bookmark:before{content:""}.fa-bootstrap:before{content:""}.fa-border-all:before{content:""}.fa-border-none:before{content:""}.fa-border-style:before{content:""}.fa-bowling-ball:before{content:""}.fa-box:before{content:""}.fa-box-open:before{content:""}.fa-box-tissue:before{content:"拏"}.fa-boxes:before{content:""}.fa-braille:before{content:""}.fa-brain:before{content:""}.fa-bread-slice:before{content:""}.fa-briefcase:before{content:""}.fa-briefcase-medical:before{content:""}.fa-broadcast-tower:before{content:""}.fa-broom:before{content:""}.fa-brush:before{content:""}.fa-btc:before{content:""}.fa-buffer:before{content:""}.fa-bug:before{content:""}.fa-building:before{content:""}.fa-bullhorn:before{content:""}.fa-bullseye:before{content:""}.fa-burn:before{content:""}.fa-buromobelexperte:before{content:""}.fa-bus:before{content:""}.fa-bus-alt:before{content:""}.fa-business-time:before{content:""}.fa-buy-n-large:before{content:""}.fa-buysellads:before{content:""}.fa-calculator:before{content:""}.fa-calendar:before{content:""}.fa-calendar-alt:before,.module-icon-calendaradvanced:before{content:""}.fa-calendar-check:before{content:""}.fa-calendar-day:before{content:""}.fa-calendar-minus:before{content:""}.fa-calendar-plus:before{content:""}.fa-calendar-times:before{content:""}.fa-calendar-week:before{content:""}.fa-camera:before{content:""}.fa-camera-retro:before{content:""}.fa-campground:before{content:""}.fa-canadian-maple-leaf:before{content:""}.fa-candy-cane:before{content:""}.fa-cannabis:before{content:""}.fa-capsules:before{content:""}.fa-car:before,.module-icon-googletraffic:before{content:""}.fa-car-alt:before{content:""}.fa-car-battery:before{content:""}.fa-car-crash:before{content:""}.fa-car-side:before{content:""}.fa-caravan:before{content:""}.fa-caret-down:before{content:""}.fa-caret-left:before{content:""}.fa-caret-right:before{content:""}.fa-caret-square-down:before{content:""}.fa-caret-square-left:before{content:""}.fa-caret-square-right:before{content:""}.fa-caret-square-up:before{content:""}.fa-caret-up:before{content:""}.fa-carrot:before{content:""}.fa-cart-arrow-down:before{content:""}.fa-cart-plus:before{content:""}.fa-cash-register:before{content:""}.fa-cat:before{content:""}.fa-cc-amazon-pay:before{content:""}.fa-cc-amex:before{content:""}.fa-cc-apple-pay:before{content:""}.fa-cc-diners-club:before{content:""}.fa-cc-discover:before{content:""}.fa-cc-jcb:before{content:""}.fa-cc-mastercard:before{content:""}.fa-cc-paypal:before{content:""}.fa-cc-stripe:before{content:""}.fa-cc-visa:before{content:""}.fa-centercode:before{content:""}.fa-centos:before{content:""}.fa-certificate:before{content:""}.fa-chair:before{content:""}.fa-chalkboard:before{content:""}.fa-chalkboard-teacher:before{content:""}.fa-charging-station:before{content:""}.fa-chart-area:before{content:""}.fa-chart-bar:before{content:""}.fa-chart-line:before{content:""}.fa-chart-pie:before{content:""}.fa-check:before{content:""}.fa-check-circle:before{content:""}.fa-check-double:before{content:""}.fa-check-square:before{content:""}.fa-cheese:before{content:""}.fa-chess:before{content:""}.fa-chess-bishop:before{content:""}.fa-chess-board:before{content:""}.fa-chess-king:before{content:""}.fa-chess-knight:before{content:""}.fa-chess-pawn:before{content:""}.fa-chess-queen:before{content:""}.fa-chess-rook:before{content:""}.fa-chevron-circle-down:before{content:""}.fa-chevron-circle-left:before{content:""}.fa-chevron-circle-right:before{content:""}.fa-chevron-circle-up:before{content:""}.fa-chevron-down:before{content:""}.fa-chevron-left:before{content:""}.fa-chevron-right:before{content:""}.fa-chevron-up:before{content:""}.fa-child:before{content:""}.fa-chrome:before{content:""}.fa-chromecast:before{content:""}.fa-church:before{content:""}.fa-circle:before{content:""}.fa-circle-notch:before{content:""}.fa-city:before{content:""}.fa-clinic-medical:before{content:""}.fa-clipboard:before{content:""}.fa-clipboard-check:before{content:""}.fa-clipboard-list:before{content:""}.fa-clock:before{content:""}.fa-clone:before,.tool-icon-region:before{content:""}.fa-closed-captioning:before{content:""}.fa-cloud:before,.module-icon-weather:before,.module-icon-forecastio:before{content:""}.fa-cloud-download-alt:before{content:""}.fa-cloud-meatball:before{content:""}.fa-cloud-moon:before{content:""}.fa-cloud-moon-rain:before{content:""}.fa-cloud-rain:before{content:""}.fa-cloud-showers-heavy:before{content:""}.fa-cloud-sun:before{content:""}.fa-cloud-sun-rain:before{content:""}.fa-cloud-upload-alt:before{content:""}.fa-cloudscale:before{content:""}.fa-cloudsmith:before{content:""}.fa-cloudversify:before{content:""}.fa-cocktail:before{content:""}.fa-code:before,.module-icon-embedded:before{content:""}.fa-code-branch:before{content:""}.fa-codepen:before{content:""}.fa-codiepie:before{content:""}.fa-coffee:before{content:""}.fa-cog:before{content:""}.fa-cogs:before{content:""}.fa-coins:before{content:""}.fa-columns:before{content:""}.fa-comment:before{content:""}.fa-comment-alt:before{content:""}.fa-comment-dollar:before{content:""}.fa-comment-dots:before{content:""}.fa-comment-medical:before{content:""}.fa-comment-slash:before{content:""}.fa-comments:before{content:""}.fa-comments-dollar:before{content:""}.fa-compact-disc:before{content:""}.fa-compass:before{content:""}.fa-compress:before{content:""}.fa-compress-alt:before{content:""}.fa-compress-arrows-alt:before{content:""}.fa-concierge-bell:before{content:""}.fa-confluence:before{content:""}.fa-connectdevelop:before{content:""}.fa-contao:before{content:""}.fa-cookie:before{content:""}.fa-cookie-bite:before{content:""}.fa-copy:before{content:""}.fa-copyright:before{content:""}.fa-cotton-bureau:before{content:""}.fa-couch:before{content:""}.fa-cpanel:before{content:""}.fa-creative-commons:before{content:""}.fa-creative-commons-by:before{content:""}.fa-creative-commons-nc:before{content:""}.fa-creative-commons-nc-eu:before{content:""}.fa-creative-commons-nc-jp:before{content:""}.fa-creative-commons-nd:before{content:""}.fa-creative-commons-pd:before{content:""}.fa-creative-commons-pd-alt:before{content:""}.fa-creative-commons-remix:before{content:""}.fa-creative-commons-sa:before{content:""}.fa-creative-commons-sampling:before{content:""}.fa-creative-commons-sampling-plus:before{content:""}.fa-creative-commons-share:before{content:""}.fa-creative-commons-zero:before{content:""}.fa-credit-card:before{content:""}.fa-critical-role:before{content:""}.fa-crop:before{content:""}.fa-crop-alt:before{content:""}.fa-cross:before{content:""}.fa-crosshairs:before{content:""}.fa-crow:before{content:""}.fa-crown:before{content:""}.fa-crutch:before{content:""}.fa-css3:before{content:""}.fa-css3-alt:before{content:""}.fa-cube:before{content:""}.fa-cubes:before{content:""}.fa-cut:before{content:""}.fa-cuttlefish:before{content:""}.fa-d-and-d:before{content:""}.fa-d-and-d-beyond:before{content:""}.fa-dailymotion:before{content:"勒"}.fa-dashcube:before{content:""}.fa-database:before{content:""}.fa-deaf:before{content:""}.fa-delicious:before{content:""}.fa-democrat:before{content:""}.fa-deploydog:before{content:""}.fa-deskpro:before{content:""}.fa-desktop:before{content:""}.fa-dev:before{content:""}.fa-deviantart:before{content:""}.fa-dharmachakra:before{content:""}.fa-dhl:before{content:""}.fa-diagnoses:before{content:""}.fa-diaspora:before{content:""}.fa-dice:before{content:""}.fa-dice-d20:before{content:""}.fa-dice-d6:before{content:""}.fa-dice-five:before{content:""}.fa-dice-four:before{content:""}.fa-dice-one:before{content:""}.fa-dice-six:before{content:""}.fa-dice-three:before{content:""}.fa-dice-two:before{content:""}.fa-digg:before{content:""}.fa-digital-ocean:before{content:""}.fa-digital-tachograph:before{content:""}.fa-directions:before{content:""}.fa-discord:before{content:""}.fa-discourse:before{content:""}.fa-disease:before{content:""}.fa-divide:before{content:""}.fa-dizzy:before{content:""}.fa-dna:before{content:""}.fa-dochub:before{content:""}.fa-docker:before{content:""}.fa-dog:before{content:""}.fa-dollar-sign:before{content:""}.fa-dolly:before{content:""}.fa-dolly-flatbed:before{content:""}.fa-donate:before{content:""}.fa-door-closed:before{content:""}.fa-door-open:before{content:""}.fa-dot-circle:before{content:""}.fa-dove:before{content:""}.fa-download:before{content:""}.fa-draft2digital:before{content:""}.fa-drafting-compass:before{content:""}.fa-dragon:before{content:""}.fa-draw-polygon:before{content:""}.fa-dribbble:before{content:""}.fa-dribbble-square:before{content:""}.fa-dropbox:before{content:""}.fa-drum:before{content:""}.fa-drum-steelpan:before{content:""}.fa-drumstick-bite:before{content:""}.fa-drupal:before{content:""}.fa-dumbbell:before{content:""}.fa-dumpster:before{content:""}.fa-dumpster-fire:before{content:""}.fa-dungeon:before{content:""}.fa-dyalog:before{content:""}.fa-earlybirds:before{content:""}.fa-ebay:before{content:""}.fa-edge:before{content:""}.fa-edit:before{content:""}.fa-egg:before{content:""}.fa-eject:before{content:""}.fa-elementor:before{content:""}.fa-ellipsis-h:before{content:""}.fa-ellipsis-v:before{content:""}.fa-ello:before{content:""}.fa-ember:before{content:""}.fa-empire:before{content:""}.fa-envelope:before{content:""}.fa-envelope-open:before{content:""}.fa-envelope-open-text:before{content:""}.fa-envelope-square:before{content:""}.fa-envira:before{content:""}.fa-equals:before{content:""}.fa-eraser:before{content:""}.fa-erlang:before{content:""}.fa-ethereum:before{content:""}.fa-ethernet:before{content:""}.fa-etsy:before{content:""}.fa-euro-sign:before{content:""}.fa-evernote:before{content:""}.fa-exchange-alt:before{content:""}.fa-exclamation:before{content:""}.fa-exclamation-circle:before{content:""}.fa-exclamation-triangle:before,.bg_not_found_icon:before{content:""}.fa-expand:before{content:""}.fa-expand-alt:before{content:""}.fa-expand-arrows-alt:before{content:""}.fa-expeditedssl:before{content:""}.fa-external-link-alt:before{content:""}.fa-external-link-square-alt:before{content:""}.fa-eye:before{content:""}.fa-eye-dropper:before{content:""}.fa-eye-slash:before{content:""}.fa-facebook:before{content:""}.fa-facebook-f:before{content:""}.fa-facebook-messenger:before{content:""}.fa-facebook-square:before{content:""}.fa-fan:before{content:""}.fa-fantasy-flight-games:before{content:""}.fa-fast-backward:before{content:""}.fa-fast-forward:before{content:""}.fa-faucet:before{content:"串"}.fa-fax:before{content:""}.fa-feather:before{content:""}.fa-feather-alt:before{content:""}.fa-fedex:before{content:""}.fa-fedora:before{content:""}.fa-female:before{content:""}.fa-fighter-jet:before{content:""}.fa-figma:before{content:""}.fa-file:before{content:""}.fa-file-alt:before{content:""}.fa-file-archive:before{content:""}.fa-file-audio:before,.module-icon-audio:before,.media-icon-audio:before{content:""}.fa-file-code:before{content:""}.fa-file-contract:before{content:""}.fa-file-csv:before{content:""}.fa-file-download:before{content:""}.fa-file-excel:before{content:""}.fa-file-export:before{content:""}.fa-file-image:before{content:""}.fa-file-import:before{content:""}.fa-file-invoice:before{content:""}.fa-file-invoice-dollar:before{content:""}.fa-file-medical:before{content:""}.fa-file-medical-alt:before{content:""}.fa-file-pdf:before{content:""}.fa-file-powerpoint:before{content:""}.fa-file-prescription:before{content:""}.fa-file-signature:before{content:""}.fa-file-upload:before{content:""}.fa-file-video:before{content:""}.fa-file-word:before{content:""}.fa-fill:before{content:""}.fa-fill-drip:before{content:""}.fa-film:before{content:""}.fa-filter:before{content:""}.fa-fingerprint:before{content:""}.fa-fire:before{content:""}.fa-fire-alt:before{content:""}.fa-fire-extinguisher:before{content:""}.fa-firefox:before{content:""}.fa-firefox-browser:before{content:"龜"}.fa-first-aid:before{content:""}.fa-first-order:before{content:""}.fa-first-order-alt:before{content:""}.fa-firstdraft:before{content:""}.fa-fish:before{content:""}.fa-fist-raised:before{content:""}.fa-flag:before{content:""}.fa-flag-checkered:before{content:""}.fa-flag-usa:before{content:""}.fa-flask:before{content:""}.fa-flickr:before{content:""}.fa-flipboard:before{content:""}.fa-flushed:before{content:""}.fa-fly:before{content:""}.fa-folder:before{content:""}.fa-folder-minus:before{content:""}.fa-folder-open:before{content:""}.fa-folder-plus:before{content:""}.fa-font:before,.module-icon-text:before{content:""}.fa-font-awesome:before{content:""}.fa-font-awesome-alt:before{content:""}.fa-font-awesome-flag:before{content:""}.fa-font-awesome-logo-full:before{content:""}.fa-fonticons:before{content:""}.fa-fonticons-fi:before{content:""}.fa-football-ball:before{content:""}.fa-fort-awesome:before{content:""}.fa-fort-awesome-alt:before{content:""}.fa-forumbee:before{content:""}.fa-forward:before{content:""}.fa-foursquare:before{content:""}.fa-free-code-camp:before{content:""}.fa-freebsd:before{content:""}.fa-frog:before{content:""}.fa-frown:before{content:""}.fa-frown-open:before{content:""}.fa-fulcrum:before{content:""}.fa-funnel-dollar:before{content:""}.fa-futbol:before{content:""}.fa-galactic-republic:before{content:""}.fa-galactic-senate:before{content:""}.fa-gamepad:before{content:""}.fa-gas-pump:before{content:""}.fa-gavel:before{content:""}.fa-gem:before{content:""}.fa-genderless:before{content:""}.fa-get-pocket:before{content:""}.fa-gg:before{content:""}.fa-gg-circle:before{content:""}.fa-ghost:before{content:""}.fa-gift:before{content:""}.fa-gifts:before{content:""}.fa-git:before{content:""}.fa-git-alt:before{content:""}.fa-git-square:before{content:""}.fa-github:before{content:""}.fa-github-alt:before{content:""}.fa-github-square:before{content:""}.fa-gitkraken:before{content:""}.fa-gitlab:before{content:""}.fa-gitter:before{content:""}.fa-glass-cheers:before{content:""}.fa-glass-martini:before{content:""}.fa-glass-martini-alt:before{content:""}.fa-glass-whiskey:before{content:""}.fa-glasses:before{content:""}.fa-glide:before{content:""}.fa-glide-g:before{content:""}.fa-globe:before,.module-icon-worldclock:before{content:""}.fa-globe-africa:before{content:""}.fa-globe-americas:before{content:""}.fa-globe-asia:before{content:""}.fa-globe-europe:before{content:""}.fa-gofore:before{content:""}.fa-golf-ball:before{content:""}.fa-goodreads:before{content:""}.fa-goodreads-g:before{content:""}.fa-google:before{content:""}.fa-google-drive:before{content:""}.fa-google-play:before{content:""}.fa-google-plus:before{content:""}.fa-google-plus-g:before{content:""}.fa-google-plus-square:before{content:""}.fa-google-wallet:before{content:""}.fa-gopuram:before{content:""}.fa-graduation-cap:before{content:""}.fa-gratipay:before{content:""}.fa-grav:before{content:""}.fa-greater-than:before{content:""}.fa-greater-than-equal:before{content:""}.fa-grimace:before{content:""}.fa-grin:before{content:""}.fa-grin-alt:before{content:""}.fa-grin-beam:before{content:""}.fa-grin-beam-sweat:before{content:""}.fa-grin-hearts:before{content:""}.fa-grin-squint:before{content:""}.fa-grin-squint-tears:before{content:""}.fa-grin-stars:before{content:""}.fa-grin-tears:before{content:""}.fa-grin-tongue:before{content:""}.fa-grin-tongue-squint:before{content:""}.fa-grin-tongue-wink:before{content:""}.fa-grin-wink:before{content:""}.fa-grip-horizontal:before{content:""}.fa-grip-lines:before{content:""}.fa-grip-lines-vertical:before{content:""}.fa-grip-vertical:before{content:""}.fa-gripfire:before{content:""}.fa-grunt:before{content:""}.fa-guitar:before{content:""}.fa-gulp:before{content:""}.fa-h-square:before{content:""}.fa-hacker-news:before{content:""}.fa-hacker-news-square:before{content:""}.fa-hackerrank:before{content:""}.fa-hamburger:before{content:""}.fa-hammer:before{content:""}.fa-hamsa:before{content:""}.fa-hand-holding:before{content:""}.fa-hand-holding-heart:before{content:""}.fa-hand-holding-medical:before{content:"樂"}.fa-hand-holding-usd:before{content:""}.fa-hand-holding-water:before{content:""}.fa-hand-lizard:before{content:""}.fa-hand-middle-finger:before{content:""}.fa-hand-paper:before{content:""}.fa-hand-peace:before{content:""}.fa-hand-point-down:before{content:""}.fa-hand-point-left:before{content:""}.fa-hand-point-right:before{content:""}.fa-hand-point-up:before{content:""}.fa-hand-pointer:before{content:""}.fa-hand-rock:before{content:""}.fa-hand-scissors:before{content:""}.fa-hand-sparkles:before{content:"諾"}.fa-hand-spock:before{content:""}.fa-hands:before{content:""}.fa-hands-helping:before{content:""}.fa-hands-wash:before{content:"丹"}.fa-handshake:before{content:""}.fa-handshake-alt-slash:before{content:"寧"}.fa-handshake-slash:before{content:"怒"}.fa-hanukiah:before{content:""}.fa-hard-hat:before{content:""}.fa-hashtag:before{content:""}.fa-hat-cowboy:before{content:""}.fa-hat-cowboy-side:before{content:""}.fa-hat-wizard:before{content:""}.fa-hdd:before{content:""}.fa-head-side-cough:before{content:"率"}.fa-head-side-cough-slash:before{content:"異"}.fa-head-side-mask:before{content:"北"}.fa-head-side-virus:before{content:"磻"}.fa-heading:before{content:""}.fa-headphones:before{content:""}.fa-headphones-alt:before{content:""}.fa-headset:before{content:""}.fa-heart:before{content:""}.fa-heart-broken:before{content:""}.fa-heartbeat:before{content:""}.fa-helicopter:before{content:""}.fa-highlighter:before{content:""}.fa-hiking:before{content:""}.fa-hippo:before{content:""}.fa-hips:before{content:""}.fa-hire-a-helper:before{content:""}.fa-history:before{content:""}.fa-hockey-puck:before{content:""}.fa-holly-berry:before{content:""}.fa-home:before{content:""}.fa-hooli:before{content:""}.fa-hornbill:before{content:""}.fa-horse:before{content:""}.fa-horse-head:before{content:""}.fa-hospital:before{content:""}.fa-hospital-alt:before{content:""}.fa-hospital-symbol:before{content:""}.fa-hospital-user:before{content:""}.fa-hot-tub:before{content:""}.fa-hotdog:before{content:""}.fa-hotel:before{content:""}.fa-hotjar:before{content:""}.fa-hourglass:before{content:""}.fa-hourglass-end:before{content:""}.fa-hourglass-half:before{content:""}.fa-hourglass-start:before{content:""}.fa-house-damage:before{content:""}.fa-house-user:before{content:"便"}.fa-houzz:before{content:""}.fa-hryvnia:before{content:""}.fa-html5:before{content:""}.fa-hubspot:before{content:""}.fa-i-cursor:before{content:""}.fa-ice-cream:before{content:""}.fa-icicles:before{content:""}.fa-icons:before{content:""}.fa-id-badge:before{content:""}.fa-id-card:before{content:""}.fa-id-card-alt:before{content:""}.fa-ideal:before{content:"邏"}.fa-igloo:before{content:""}.fa-image:before{content:""}.fa-images:before{content:""}.fa-imdb:before{content:""}.fa-inbox:before{content:""}.fa-indent:before{content:""}.fa-industry:before{content:""}.fa-infinity:before{content:""}.fa-info:before{content:""}.fa-info-circle:before{content:""}.fa-instagram:before{content:""}.fa-instagram-square:before{content:"凌"}.fa-intercom:before{content:""}.fa-internet-explorer:before{content:""}.fa-invision:before{content:""}.fa-ioxhost:before{content:""}.fa-italic:before{content:""}.fa-itch-io:before{content:""}.fa-itunes:before{content:""}.fa-itunes-note:before{content:""}.fa-java:before{content:""}.fa-jedi:before{content:""}.fa-jedi-order:before{content:""}.fa-jenkins:before{content:""}.fa-jira:before{content:""}.fa-joget:before{content:""}.fa-joint:before{content:""}.fa-joomla:before{content:""}.fa-journal-whills:before{content:""}.fa-js:before{content:""}.fa-js-square:before{content:""}.fa-jsfiddle:before{content:""}.fa-kaaba:before{content:""}.fa-kaggle:before{content:""}.fa-key:before{content:""}.fa-keybase:before{content:""}.fa-keyboard:before{content:""}.fa-keycdn:before{content:""}.fa-khanda:before{content:""}.fa-kickstarter:before{content:""}.fa-kickstarter-k:before{content:""}.fa-kiss:before{content:""}.fa-kiss-beam:before{content:""}.fa-kiss-wink-heart:before{content:""}.fa-kiwi-bird:before{content:""}.fa-korvue:before{content:""}.fa-landmark:before{content:""}.fa-language:before{content:""}.fa-laptop:before{content:""}.fa-laptop-code:before{content:""}.fa-laptop-house:before{content:"復"}.fa-laptop-medical:before{content:""}.fa-laravel:before{content:""}.fa-lastfm:before{content:""}.fa-lastfm-square:before{content:""}.fa-laugh:before{content:""}.fa-laugh-beam:before{content:""}.fa-laugh-squint:before{content:""}.fa-laugh-wink:before{content:""}.fa-layer-group:before{content:""}.fa-leaf:before{content:""}.fa-leanpub:before{content:""}.fa-lemon:before{content:""}.fa-less:before{content:""}.fa-less-than:before{content:""}.fa-less-than-equal:before{content:""}.fa-level-down-alt:before{content:""}.fa-level-up-alt:before{content:""}.fa-life-ring:before{content:""}.fa-lightbulb:before{content:""}.fa-line:before{content:""}.fa-link:before{content:""}.fa-linkedin:before{content:""}.fa-linkedin-in:before{content:""}.fa-linode:before{content:""}.fa-linux:before{content:""}.fa-lira-sign:before{content:""}.fa-list:before,.module-icon-datasetticker:before{content:""}.fa-list-alt:before{content:""}.fa-list-ol:before{content:""}.fa-list-ul:before{content:""}.fa-location-arrow:before{content:""}.fa-lock:before{content:""}.fa-lock-open:before{content:""}.fa-long-arrow-alt-down:before{content:""}.fa-long-arrow-alt-left:before{content:""}.fa-long-arrow-alt-right:before{content:""}.fa-long-arrow-alt-up:before{content:""}.fa-low-vision:before{content:""}.fa-luggage-cart:before{content:""}.fa-lungs:before{content:""}.fa-lungs-virus:before{content:"不"}.fa-lyft:before{content:""}.fa-magento:before{content:""}.fa-magic:before{content:""}.fa-magnet:before{content:""}.fa-mail-bulk:before{content:""}.fa-mailchimp:before{content:""}.fa-male:before{content:""}.fa-mandalorian:before{content:""}.fa-map:before{content:""}.fa-map-marked:before{content:""}.fa-map-marked-alt:before{content:""}.fa-map-marker:before{content:""}.fa-map-marker-alt:before{content:""}.fa-map-pin:before{content:""}.fa-map-signs:before{content:""}.fa-markdown:before{content:""}.fa-marker:before{content:""}.fa-mars:before{content:""}.fa-mars-double:before{content:""}.fa-mars-stroke:before{content:""}.fa-mars-stroke-h:before{content:""}.fa-mars-stroke-v:before{content:""}.fa-mask:before{content:""}.fa-mastodon:before{content:""}.fa-maxcdn:before{content:""}.fa-mdb:before{content:""}.fa-medal:before{content:""}.fa-medapps:before{content:""}.fa-medium:before{content:""}.fa-medium-m:before{content:""}.fa-medkit:before{content:""}.fa-medrt:before{content:""}.fa-meetup:before{content:""}.fa-megaport:before{content:""}.fa-meh:before{content:""}.fa-meh-blank:before{content:""}.fa-meh-rolling-eyes:before{content:""}.fa-memory:before{content:""}.fa-mendeley:before{content:""}.fa-menorah:before{content:""}.fa-mercury:before{content:""}.fa-meteor:before{content:""}.fa-microblog:before{content:"駱"}.fa-microchip:before{content:""}.fa-microphone:before{content:""}.fa-microphone-alt:before{content:""}.fa-microphone-alt-slash:before{content:""}.fa-microphone-slash:before{content:""}.fa-microscope:before{content:""}.fa-microsoft:before{content:""}.fa-minus:before{content:""}.fa-minus-circle:before{content:""}.fa-minus-square:before{content:""}.fa-mitten:before{content:""}.fa-mix:before{content:""}.fa-mixcloud:before{content:""}.fa-mixer:before{content:"稜"}.fa-mizuni:before{content:""}.fa-mobile:before{content:""}.fa-mobile-alt:before{content:""}.fa-modx:before{content:""}.fa-monero:before{content:""}.fa-money-bill:before{content:""}.fa-money-bill-alt:before{content:""}.fa-money-bill-wave:before{content:""}.fa-money-bill-wave-alt:before{content:""}.fa-money-check:before{content:""}.fa-money-check-alt:before{content:""}.fa-monument:before{content:""}.fa-moon:before{content:""}.fa-mortar-pestle:before{content:""}.fa-mosque:before{content:""}.fa-motorcycle:before{content:""}.fa-mountain:before{content:""}.fa-mouse:before{content:""}.fa-mouse-pointer:before{content:""}.fa-mug-hot:before{content:""}.fa-music:before{content:""}.fa-napster:before{content:""}.fa-neos:before{content:""}.fa-network-wired:before{content:""}.fa-neuter:before{content:""}.fa-newspaper:before{content:""}.fa-nimblr:before{content:""}.fa-node:before{content:""}.fa-node-js:before{content:""}.fa-not-equal:before{content:""}.fa-notes-medical:before{content:""}.fa-npm:before{content:""}.fa-ns8:before{content:""}.fa-nutritionix:before{content:""}.fa-object-group:before{content:""}.fa-object-ungroup:before{content:""}.fa-odnoklassniki:before{content:""}.fa-odnoklassniki-square:before{content:""}.fa-oil-can:before{content:""}.fa-old-republic:before{content:""}.fa-om:before{content:""}.fa-opencart:before{content:""}.fa-openid:before{content:""}.fa-opera:before{content:""}.fa-optin-monster:before{content:""}.fa-orcid:before{content:""}.fa-osi:before{content:""}.fa-otter:before{content:""}.fa-outdent:before{content:""}.fa-page4:before{content:""}.fa-pagelines:before{content:""}.fa-pager:before{content:""}.fa-paint-brush:before{content:""}.fa-paint-roller:before{content:""}.fa-palette:before{content:""}.fa-palfed:before{content:""}.fa-pallet:before{content:""}.fa-paper-plane:before{content:""}.fa-paperclip:before{content:""}.fa-parachute-box:before{content:""}.fa-paragraph:before{content:""}.fa-parking:before{content:""}.fa-passport:before{content:""}.fa-pastafarianism:before{content:""}.fa-paste:before{content:""}.fa-patreon:before{content:""}.fa-pause:before{content:""}.fa-pause-circle:before{content:""}.fa-paw:before{content:""}.fa-paypal:before{content:""}.fa-peace:before{content:""}.fa-pen:before{content:""}.fa-pen-alt:before{content:""}.fa-pen-fancy:before{content:""}.fa-pen-nib:before{content:""}.fa-pen-square:before{content:""}.fa-pencil-alt:before{content:""}.fa-pencil-ruler:before{content:""}.fa-penny-arcade:before{content:""}.fa-people-arrows:before{content:"泌"}.fa-people-carry:before{content:""}.fa-pepper-hot:before{content:""}.fa-percent:before{content:""}.fa-percentage:before{content:""}.fa-periscope:before{content:""}.fa-person-booth:before{content:""}.fa-phabricator:before{content:""}.fa-phoenix-framework:before{content:""}.fa-phoenix-squadron:before{content:""}.fa-phone:before{content:""}.fa-phone-alt:before{content:""}.fa-phone-slash:before{content:""}.fa-phone-square:before{content:""}.fa-phone-square-alt:before{content:""}.fa-phone-volume:before{content:""}.fa-photo-video:before{content:""}.fa-php:before{content:""}.fa-pied-piper:before{content:""}.fa-pied-piper-alt:before{content:""}.fa-pied-piper-hat:before{content:""}.fa-pied-piper-pp:before{content:""}.fa-pied-piper-square:before{content:"爛"}.fa-piggy-bank:before{content:""}.fa-pills:before{content:""}.fa-pinterest:before{content:""}.fa-pinterest-p:before{content:""}.fa-pinterest-square:before{content:""}.fa-pizza-slice:before{content:""}.fa-place-of-worship:before{content:""}.fa-plane:before{content:""}.fa-plane-arrival:before{content:""}.fa-plane-departure:before{content:""}.fa-plane-slash:before{content:"數"}.fa-play:before{content:""}.fa-play-circle:before{content:""}.fa-playstation:before{content:""}.fa-plug:before{content:""}.fa-plus:before{content:""}.fa-plus-circle:before{content:""}.fa-plus-square:before{content:""}.fa-podcast:before{content:""}.fa-poll:before{content:""}.fa-poll-h:before{content:""}.fa-poo:before{content:""}.fa-poo-storm:before{content:""}.fa-poop:before{content:""}.fa-portrait:before{content:""}.fa-pound-sign:before{content:""}.fa-power-off:before{content:""}.fa-pray:before{content:""}.fa-praying-hands:before{content:""}.fa-prescription:before{content:""}.fa-prescription-bottle:before{content:""}.fa-prescription-bottle-alt:before{content:""}.fa-print:before{content:""}.fa-procedures:before{content:""}.fa-product-hunt:before{content:""}.fa-project-diagram:before{content:""}.fa-pump-medical:before{content:"索"}.fa-pump-soap:before{content:"參"}.fa-pushed:before{content:""}.fa-puzzle-piece:before{content:""}.fa-python:before{content:""}.fa-qq:before{content:""}.fa-qrcode:before{content:""}.fa-question:before{content:""}.fa-question-circle:before{content:""}.fa-quidditch:before{content:""}.fa-quinscape:before{content:""}.fa-quora:before{content:""}.fa-quote-left:before{content:""}.fa-quote-right:before{content:""}.fa-quran:before{content:""}.fa-r-project:before{content:""}.fa-radiation:before{content:""}.fa-radiation-alt:before{content:""}.fa-rainbow:before{content:""}.fa-random:before{content:""}.fa-raspberry-pi:before{content:""}.fa-ravelry:before{content:""}.fa-react:before{content:""}.fa-reacteurope:before{content:""}.fa-readme:before{content:""}.fa-rebel:before{content:""}.fa-receipt:before{content:""}.fa-record-vinyl:before{content:""}.fa-recycle:before{content:""}.fa-red-river:before{content:""}.fa-reddit:before{content:""}.fa-reddit-alien:before{content:""}.fa-reddit-square:before{content:""}.fa-redhat:before{content:""}.fa-redo:before{content:""}.fa-redo-alt:before{content:""}.fa-registered:before{content:""}.fa-remove-format:before{content:""}.fa-renren:before{content:""}.fa-reply:before{content:""}.fa-reply-all:before{content:""}.fa-replyd:before{content:""}.fa-republican:before{content:""}.fa-researchgate:before{content:""}.fa-resolving:before{content:""}.fa-restroom:before{content:""}.fa-retweet:before{content:""}.fa-rev:before{content:""}.fa-ribbon:before{content:""}.fa-ring:before{content:""}.fa-road:before{content:""}.fa-robot:before{content:""}.fa-rocket:before{content:""}.fa-rocketchat:before{content:""}.fa-rockrms:before{content:""}.fa-route:before{content:""}.fa-rss:before,.module-icon-ticker:before{content:""}.fa-rss-square:before{content:""}.fa-ruble-sign:before{content:""}.fa-ruler:before{content:""}.fa-ruler-combined:before{content:""}.fa-ruler-horizontal:before{content:""}.fa-ruler-vertical:before{content:""}.fa-running:before{content:""}.fa-rupee-sign:before{content:""}.fa-sad-cry:before{content:""}.fa-sad-tear:before{content:""}.fa-safari:before{content:""}.fa-salesforce:before{content:""}.fa-sass:before{content:""}.fa-satellite:before{content:""}.fa-satellite-dish:before{content:""}.fa-save:before{content:""}.fa-schlix:before{content:""}.fa-school:before{content:""}.fa-screwdriver:before{content:""}.fa-scribd:before{content:""}.fa-scroll:before{content:""}.fa-sd-card:before{content:""}.fa-search:before{content:""}.fa-search-dollar:before{content:""}.fa-search-location:before{content:""}.fa-search-minus:before{content:""}.fa-search-plus:before{content:""}.fa-searchengin:before{content:""}.fa-seedling:before{content:""}.fa-sellcast:before{content:""}.fa-sellsy:before{content:""}.fa-server:before{content:""}.fa-servicestack:before{content:""}.fa-shapes:before{content:""}.fa-share:before{content:""}.fa-share-alt:before{content:""}.fa-share-alt-square:before{content:""}.fa-share-square:before{content:""}.fa-shekel-sign:before{content:""}.fa-shield-alt:before{content:""}.fa-shield-virus:before{content:"塞"}.fa-ship:before{content:""}.fa-shipping-fast:before{content:""}.fa-shirtsinbulk:before{content:""}.fa-shoe-prints:before{content:""}.fa-shopify:before{content:"綾"}.fa-shopping-bag:before{content:""}.fa-shopping-basket:before{content:""}.fa-shopping-cart:before{content:""}.fa-shopware:before{content:""}.fa-shower:before{content:""}.fa-shuttle-van:before{content:""}.fa-sign:before{content:""}.fa-sign-in-alt:before{content:""}.fa-sign-language:before{content:""}.fa-sign-out-alt:before{content:""}.fa-signal:before{content:""}.fa-signature:before{content:""}.fa-sim-card:before{content:""}.fa-simplybuilt:before{content:""}.fa-sistrix:before{content:""}.fa-sitemap:before,.module-icon-webpage:before{content:""}.fa-sith:before{content:""}.fa-skating:before{content:""}.fa-sketch:before{content:""}.fa-skiing:before{content:""}.fa-skiing-nordic:before{content:""}.fa-skull:before{content:""}.fa-skull-crossbones:before{content:""}.fa-skyatlas:before{content:""}.fa-skype:before{content:""}.fa-slack:before{content:""}.fa-slack-hash:before{content:""}.fa-slash:before{content:""}.fa-sleigh:before{content:""}.fa-sliders-h:before{content:""}.fa-slideshare:before{content:""}.fa-smile:before{content:""}.fa-smile-beam:before{content:""}.fa-smile-wink:before{content:""}.fa-smog:before{content:""}.fa-smoking:before{content:""}.fa-smoking-ban:before{content:""}.fa-sms:before{content:""}.fa-snapchat:before{content:""}.fa-snapchat-ghost:before{content:""}.fa-snapchat-square:before{content:""}.fa-snowboarding:before{content:""}.fa-snowflake:before{content:""}.fa-snowman:before{content:""}.fa-snowplow:before{content:""}.fa-soap:before{content:"葉"}.fa-socks:before{content:""}.fa-solar-panel:before{content:""}.fa-sort:before{content:""}.fa-sort-alpha-down:before{content:""}.fa-sort-alpha-down-alt:before{content:""}.fa-sort-alpha-up:before{content:""}.fa-sort-alpha-up-alt:before{content:""}.fa-sort-amount-down:before{content:""}.fa-sort-amount-down-alt:before{content:""}.fa-sort-amount-up:before{content:""}.fa-sort-amount-up-alt:before{content:""}.fa-sort-down:before{content:""}.fa-sort-numeric-down:before{content:""}.fa-sort-numeric-down-alt:before{content:""}.fa-sort-numeric-up:before{content:""}.fa-sort-numeric-up-alt:before{content:""}.fa-sort-up:before{content:""}.fa-soundcloud:before{content:""}.fa-sourcetree:before{content:""}.fa-spa:before{content:""}.fa-space-shuttle:before{content:""}.fa-speakap:before{content:""}.fa-speaker-deck:before{content:""}.fa-spell-check:before{content:""}.fa-spider:before{content:""}.fa-spinner:before{content:""}.fa-splotch:before{content:""}.fa-spotify:before{content:""}.fa-spray-can:before{content:""}.fa-square:before{content:""}.fa-square-full:before{content:""}.fa-square-root-alt:before{content:""}.fa-squarespace:before{content:""}.fa-stack-exchange:before{content:""}.fa-stack-overflow:before{content:""}.fa-stackpath:before{content:""}.fa-stamp:before{content:""}.fa-star:before{content:""}.fa-star-and-crescent:before{content:""}.fa-star-half:before{content:""}.fa-star-half-alt:before{content:""}.fa-star-of-david:before{content:""}.fa-star-of-life:before{content:""}.fa-staylinked:before{content:""}.fa-steam:before{content:""}.fa-steam-square:before{content:""}.fa-steam-symbol:before{content:""}.fa-step-backward:before{content:""}.fa-step-forward:before{content:""}.fa-stethoscope:before{content:""}.fa-sticker-mule:before{content:""}.fa-sticky-note:before{content:""}.fa-stop:before{content:""}.fa-stop-circle:before{content:""}.fa-stopwatch:before{content:""}.fa-stopwatch-20:before{content:"說"}.fa-store:before{content:""}.fa-store-alt:before{content:""}.fa-store-alt-slash:before{content:"殺"}.fa-store-slash:before{content:"辰"}.fa-strava:before{content:""}.fa-stream:before{content:""}.fa-street-view:before{content:""}.fa-strikethrough:before{content:""}.fa-stripe:before{content:""}.fa-stripe-s:before{content:""}.fa-stroopwafel:before{content:""}.fa-studiovinari:before{content:""}.fa-stumbleupon:before{content:""}.fa-stumbleupon-circle:before{content:""}.fa-subscript:before{content:""}.fa-subway:before{content:""}.fa-suitcase:before{content:""}.fa-suitcase-rolling:before{content:""}.fa-sun:before{content:""}.fa-superpowers:before{content:""}.fa-superscript:before{content:""}.fa-supple:before{content:""}.fa-surprise:before{content:""}.fa-suse:before{content:""}.fa-swatchbook:before{content:""}.fa-swift:before{content:""}.fa-swimmer:before{content:""}.fa-swimming-pool:before{content:""}.fa-symfony:before{content:""}.fa-synagogue:before{content:""}.fa-sync:before{content:""}.fa-sync-alt:before{content:""}.fa-syringe:before{content:""}.fa-table:before,.module-icon-datasetview:before{content:""}.fa-table-tennis:before{content:""}.fa-tablet:before{content:""}.fa-tablet-alt:before{content:""}.fa-tablets:before{content:""}.fa-tachometer-alt:before{content:""}.fa-tag:before{content:""}.fa-tags:before{content:""}.fa-tape:before{content:""}.fa-tasks:before{content:""}.fa-taxi:before{content:""}.fa-teamspeak:before{content:""}.fa-teeth:before{content:""}.fa-teeth-open:before{content:""}.fa-telegram:before{content:""}.fa-telegram-plane:before{content:""}.fa-temperature-high:before{content:""}.fa-temperature-low:before{content:""}.fa-tencent-weibo:before{content:""}.fa-tenge:before{content:""}.fa-terminal:before,.module-icon-shellcommand:before{content:""}.fa-text-height:before{content:""}.fa-text-width:before{content:""}.fa-th:before,.module-icon-menuboard:before{content:""}.fa-th-large:before{content:""}.fa-th-list:before{content:""}.fa-the-red-yeti:before{content:""}.fa-theater-masks:before{content:""}.fa-themeco:before{content:""}.fa-themeisle:before{content:""}.fa-thermometer:before{content:""}.fa-thermometer-empty:before{content:""}.fa-thermometer-full:before{content:""}.fa-thermometer-half:before{content:""}.fa-thermometer-quarter:before{content:""}.fa-thermometer-three-quarters:before{content:""}.fa-think-peaks:before{content:""}.fa-thumbs-down:before{content:""}.fa-thumbs-up:before{content:""}.fa-thumbtack:before{content:""}.fa-ticket-alt:before{content:""}.fa-times:before{content:""}.fa-times-circle:before{content:""}.fa-tint:before{content:""}.fa-tint-slash:before{content:""}.fa-tired:before{content:""}.fa-toggle-off:before{content:""}.fa-toggle-on:before{content:""}.fa-toilet:before{content:""}.fa-toilet-paper:before{content:""}.fa-toilet-paper-slash:before{content:"沈"}.fa-toolbox:before{content:""}.fa-tools:before{content:""}.fa-tooth:before{content:""}.fa-torah:before{content:""}.fa-torii-gate:before{content:""}.fa-tractor:before{content:""}.fa-trade-federation:before{content:""}.fa-trademark:before{content:""}.fa-traffic-light:before{content:""}.fa-trailer:before{content:"論"}.fa-train:before{content:""}.fa-tram:before{content:""}.fa-transgender:before{content:""}.fa-transgender-alt:before{content:""}.fa-trash:before{content:""}.fa-trash-alt:before{content:""}.fa-trash-restore:before{content:""}.fa-trash-restore-alt:before{content:""}.fa-tree:before{content:""}.fa-trello:before{content:""}.fa-tripadvisor:before{content:""}.fa-trophy:before{content:""}.fa-truck:before{content:""}.fa-truck-loading:before{content:""}.fa-truck-monster:before{content:""}.fa-truck-moving:before{content:""}.fa-truck-pickup:before{content:""}.fa-tshirt:before{content:""}.fa-tty:before{content:""}.fa-tumblr:before{content:""}.fa-tumblr-square:before{content:""}.fa-tv:before{content:""}.fa-twitch:before{content:""}.fa-twitter:before,.module-icon-twitter:before{content:""}.fa-twitter-square:before,.module-icon-twittermetro:before{content:""}.fa-typo3:before{content:""}.fa-uber:before{content:""}.fa-ubuntu:before{content:""}.fa-uikit:before{content:""}.fa-umbraco:before{content:""}.fa-umbrella:before{content:""}.fa-umbrella-beach:before{content:""}.fa-underline:before{content:""}.fa-undo:before{content:""}.fa-undo-alt:before{content:""}.fa-uniregistry:before{content:""}.fa-unity:before{content:"雷"}.fa-universal-access:before{content:""}.fa-university:before{content:""}.fa-unlink:before{content:""}.fa-unlock:before{content:""}.fa-unlock-alt:before{content:""}.fa-untappd:before{content:""}.fa-upload:before{content:""}.fa-ups:before{content:""}.fa-usb:before{content:""}.fa-user:before{content:""}.fa-user-alt:before{content:""}.fa-user-alt-slash:before{content:""}.fa-user-astronaut:before{content:""}.fa-user-check:before{content:""}.fa-user-circle:before{content:""}.fa-user-clock:before{content:""}.fa-user-cog:before{content:""}.fa-user-edit:before{content:""}.fa-user-friends:before{content:""}.fa-user-graduate:before{content:""}.fa-user-injured:before{content:""}.fa-user-lock:before{content:""}.fa-user-md:before{content:""}.fa-user-minus:before{content:""}.fa-user-ninja:before{content:""}.fa-user-nurse:before{content:""}.fa-user-plus:before{content:""}.fa-user-secret:before,.tool-icon-permissions:before{content:""}.fa-user-shield:before{content:""}.fa-user-slash:before{content:""}.fa-user-tag:before{content:""}.fa-user-tie:before{content:""}.fa-user-times:before{content:""}.fa-users:before{content:""}.fa-users-cog:before{content:""}.fa-usps:before{content:""}.fa-ussunnah:before{content:""}.fa-utensil-spoon:before{content:""}.fa-utensils:before{content:""}.fa-vaadin:before{content:""}.fa-vector-square:before{content:""}.fa-venus:before{content:""}.fa-venus-double:before{content:""}.fa-venus-mars:before{content:""}.fa-viacoin:before{content:""}.fa-viadeo:before{content:""}.fa-viadeo-square:before{content:""}.fa-vial:before{content:""}.fa-vials:before{content:""}.fa-viber:before{content:""}.fa-video:before{content:""}.fa-video-slash:before{content:""}.fa-vihara:before{content:""}.fa-vimeo:before{content:""}.fa-vimeo-square:before{content:""}.fa-vimeo-v:before{content:""}.fa-vine:before{content:""}.fa-virus:before{content:"若"}.fa-virus-slash:before{content:"掠"}.fa-viruses:before{content:"略"}.fa-vk:before{content:""}.fa-vnv:before{content:""}.fa-voicemail:before{content:""}.fa-volleyball-ball:before{content:""}.fa-volume-down:before{content:""}.fa-volume-mute:before{content:""}.fa-volume-off:before{content:""}.fa-volume-up:before,.tool-icon-audio:before{content:""}.fa-vote-yea:before{content:""}.fa-vr-cardboard:before{content:""}.fa-vuejs:before{content:""}.fa-walking:before{content:""}.fa-wallet:before{content:""}.fa-warehouse:before{content:""}.fa-water:before{content:""}.fa-wave-square:before{content:""}.fa-waze:before{content:""}.fa-weebly:before{content:""}.fa-weibo:before{content:""}.fa-weight:before{content:""}.fa-weight-hanging:before{content:""}.fa-weixin:before{content:""}.fa-whatsapp:before{content:""}.fa-whatsapp-square:before{content:""}.fa-wheelchair:before{content:""}.fa-whmcs:before{content:""}.fa-wifi:before{content:""}.fa-wikipedia-w:before{content:""}.fa-wind:before{content:""}.fa-window-close:before{content:""}.fa-window-maximize:before{content:""}.fa-window-minimize:before{content:""}.fa-window-restore:before{content:""}.fa-windows:before{content:""}.fa-wine-bottle:before{content:""}.fa-wine-glass:before{content:""}.fa-wine-glass-alt:before{content:""}.fa-wix:before{content:""}.fa-wizards-of-the-coast:before{content:""}.fa-wolf-pack-battalion:before{content:""}.fa-won-sign:before{content:""}.fa-wordpress:before{content:""}.fa-wordpress-simple:before{content:""}.fa-wpbeginner:before{content:""}.fa-wpexplorer:before{content:""}.fa-wpforms:before{content:""}.fa-wpressr:before{content:""}.fa-wrench:before{content:""}.fa-x-ray:before{content:""}.fa-xbox:before{content:""}.fa-xing:before{content:""}.fa-xing-square:before{content:""}.fa-y-combinator:before{content:""}.fa-yahoo:before{content:""}.fa-yammer:before{content:""}.fa-yandex:before{content:""}.fa-yandex-international:before{content:""}.fa-yarn:before{content:""}.fa-yelp:before{content:""}.fa-yen-sign:before{content:""}.fa-yin-yang:before{content:""}.fa-yoast:before{content:""}.fa-youtube:before{content:""}.fa-youtube-square:before{content:""}.fa-zhihu:before{content:""}.sr-only{border:0;clip:rect(0, 0, 0, 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.sr-only-focusable:active,.sr-only-focusable:focus{clip:auto;height:auto;margin:0;overflow:visible;position:static;width:auto}.form-editor-controls{padding:6px;background:#333;color:#f0f2f8}.form-editor-controls .form-group{margin-right:10px}.form-editor-controls .form-group input{height:25px}.form-editor-controls .form-group input[type=checkbox]{margin:0 6px}.form-editor-controls select{padding:4px;height:28px}.form-container .nav>li>a{color:#888;background-color:#d5d5d5;border-radius:0;border:1px solid #f0f2f8 !important;padding:5px 7px}.form-container .nav>li>a:hover{color:#f0f2f8;background-color:#337ab7 !important}.form-container .nav>li>a.active,.form-container .nav>li>a.active:hover{background-color:#f0f2f8 !important;color:#337ab7}.form-container .tab-pane{padding-top:5px}.form-container .connectedlist .ui-sortable{background-color:#f0f2f8;min-height:80px}#layout-manager{left:10px;top:10px;z-index:1;position:fixed;width:220px;opacity:.8}#layout-manager #layout-manager-header{background:#2d2d2d;color:#fff;font-weight:bold;padding:5px;border:#212121 3px solid}#layout-manager #layout-manager-container{display:grid;grid-template-columns:auto;grid-gap:2px;color:#444;padding:2px;background:#303030;border:#3e3e3e 4px solid}#layout-manager .title{color:#fff;font-weight:bold;background-color:#4d4d4d;cursor:move;text-align:center}#layout-manager .label{display:inline-block;width:48%}#layout-manager .change{color:#000;background-color:#c3c3c3;padding:2px;border-radius:2px}#layout-manager .change.uploaded{background-color:#8dffa6}.custom-overlay,.loading-overlay{display:none;position:fixed;width:100%;height:100%;top:0;left:0;background:#000;filter:alpha(opacity=65);-moz-opacity:.65;-khtml-opacity:.65;opacity:.65;z-index:2}.loading-overlay.loading{display:block;z-index:4000}.loading-overlay.loading .loading-icon{display:block;font-size:4.3rem;position:absolute;left:20px;bottom:20px;color:#fff}.context-menu-overlay{position:fixed;width:100%;height:100%;top:0;left:0;z-index:4000}.context-menu-overlay .context-menu{position:absolute;z-index:4001;opacity:.9;background:#273759;border:#337ab7 solid 2px;box-shadow:2px 2px 5px #080b12 !important}.context-menu-overlay .context-menu .sort-controls-container{text-align:center;background:#337ab7}.context-menu-overlay .context-menu .sort-controls-container .context-menu-btn{color:#f0f2f8}.context-menu-overlay .context-menu .sort-controls-container .context-menu-btn:hover{color:#e7ea6e}.context-menu-overlay .context-menu .main-button-container{margin:2px 5px}.context-menu-overlay .context-menu .context-menu-btn{display:inline-block;font-size:1.25rem;color:#f0f2f8;cursor:pointer}.context-menu-overlay .context-menu .context-menu-btn:hover{color:#e7ea6e}.context-menu-overlay .context-menu .deleteBtn{color:#e64c4c}.context-menu-overlay .context-menu .deleteBtn:hover{color:#f3a6a6}.bg_not_found_icon{padding:0 5px}',""])},2529:function(e,t,o){(e.exports=o(23645)(!1)).push([e.id,'#layout-editor.view-mode{background-color:#888}#layout-editor.view-mode #layout-editor-topbar .navbar,#layout-editor.view-mode #layout-editor-bottombar .navbar{background-color:#c4c4c4}#layout-editor.view-mode #layout-editor-topbar #read-only-message,#layout-editor.view-mode #layout-editor-bottombar #read-only-message{cursor:pointer;display:block;font-size:1.1rem;margin:0 16px;padding:0 12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1;height:24px;opacity:.85}#layout-editor.view-mode #layout-editor-topbar #read-only-message:hover,#layout-editor.view-mode #layout-editor-bottombar #read-only-message:hover{opacity:1}.layout-editor-flex{display:flex}.layout-editor-flex .flex-h{display:flex;flex:1;flex-flow:row;justify-content:space-between}.layout-editor-flex .flex-v{display:flex;flex:1;flex-direction:column}.layout-editor-flex .min-fix{min-width:0}.layout-editor-flex .rowspan2{flex:1 1 100%}.container-designer{height:calc(100vh - 90px)}.main-panel{flex:1}.main-panel .main-panel-wrapper{position:relative;height:100%;padding:8px;background-color:#333;border-width:4px;border-style:solid;border-radius:4px 4px 0 0}.toggle-panel .toggle-container{background-color:#cad0d6;width:100%;height:8px}.toggle-panel .toggle-container .toggle{color:#3d507a;top:-13px;width:50px;height:13px;background-color:#cad0d6;position:relative;border-radius:18px 18px 0px 0;left:50%;transform:translateX(50%);cursor:pointer;font-size:12px;z-index:1}.toggle-panel .hide-closed{display:inline}.toggle-panel .hide-opened{display:none}.toggle-panel.opened .hide-closed{display:none}.toggle-panel.opened .hide-opened{display:inline}.properties-panel-container{flex:0;width:0;height:100%;display:flex}.properties-panel-container .toggle-container{background-color:#fff;height:100%;width:8px}.properties-panel-container .toggle-container .toggle{background-color:#fff;left:-13px;height:50px;width:13px;border-radius:18px 0 0 18px;top:50%;transform:translateY(-50%)}.properties-panel-container .toggle-container .toggle i{top:50%;position:absolute;transform:translateY(-50%)}.properties-panel-container.opened{width:auto}.properties-panel-container.opened .toggle-container{width:0}.toggle-flex{flex-basis:6px !important}.timeline-panel{background:#cad0d6;width:100%}.timeline-panel:not(.opened){height:6px}.timeline-panel.opened .toggle-container{height:2px}#content-wrapper .page-content>.row>div{margin:0}#content-wrapper .page-content>.row.header.header-side{height:50px;margin-bottom:0}#content-wrapper .page-content>.row.header.header-side .navbar-toggler-side{margin-top:8px;margin-right:8px}#content-wrapper .page-content>.row.header.header-side .user>.item{width:auto;height:50px;padding-right:16px}#content-wrapper .page-content>.row.header.header-side .user>.item>a{padding:7px 0}#content-wrapper .page-content>.row.header.header-side .user>.item img.nav-avatar{width:36px;height:36px;border-radius:2px}#content-wrapper .page-content>.row.header.header-side .xibo-logo-container{margin-left:50%;transform:translateX(-50%)}#content-wrapper .page-content>.row.header.header-side .xibo-logo-container .page{width:auto;padding:0}#content-wrapper .page-content>.row.header.header-side .xibo-logo-container .page .xibo-logo{height:30px;margin:10px 0}#content-wrapper .page-content>.row.header.header-side .user-notif>.item>a{padding:5px 0}#layout-editor{overflow:hidden;margin:0 -15px -15px -15px;background-color:#ebeff7;scrollbar-color:#42528a #98a4ce;scrollbar-width:thin}#layout-editor #fullscreenBtn,#layout-editor #goBackBtn{position:absolute;top:6px;right:6px;opacity:.9;font-size:1rem;background-color:#fff;color:#506098;z-index:1}#layout-editor #fullscreenBtn:hover,#layout-editor #goBackBtn:hover{opacity:1}#layout-editor #goBackBtn{left:6px;right:auto}#layout-editor ::-webkit-scrollbar{width:10px;height:10px}#layout-editor ::-webkit-scrollbar-track{background:#f0f2f8;border-radius:6px}#layout-editor ::-webkit-scrollbar-thumb{background:#42528a;border-radius:4px}#layout-editor ::-webkit-scrollbar-thumb:hover{background:#7585bd}#layout-editor ::-webkit-scrollbar-corner{box-shadow:inset 0 0 5px #888 !important}#layout-editor .back-button{position:fixed;left:16px;top:8px}#layout-editor .back-button span{margin-left:6px;font-weight:bold}#layout-editor .center-msg{position:relative;text-align:center;font-size:1.4rem;overflow:hidden;font-weight:bold;color:#f0f2f8;color:rgba(240,242,248,.5);top:50%;transform:translateY(-50%)}#layout-editor .hide-on-fs{display:inline-block}#layout-editor .show-on-fs{display:none}#layout-editor.inline-edit-mode .custom-overlay{display:block !important;opacity:.3;z-index:1040}#layout-editor.inline-edit-mode .main-panel{z-index:calc(1040 + 10)}#layout-editor.inline-edit-mode .main-panel button{display:none}@media(max-width: 768px){#layout-editor{margin-top:50px}}#layout-editor #layout-timeline{max-width:calc(100% - 40px);min-width:60%;max-height:250px;margin:4px 0}#layout-editor #layout-timeline #timeline-container{display:flex;background-color:#f0f2f8}#layout-editor #layout-timeline .timeline-left-panel{background-color:#ebeff7;border-radius:0 0 4px 0;max-height:250px;overflow:hidden}#layout-editor #layout-timeline #regions-container{display:inline-block;width:calc(100% - 180px);overflow:auto;max-height:250px}#layout-editor #layout-timeline .empty-timeline{cursor:pointer;width:100%;background-color:#ebeff7;display:table;text-align:center;min-height:86px}#layout-editor #layout-timeline .empty-timeline .empty-timeline-message{font-size:1.1rem;color:#506098;vertical-align:middle;display:table-cell}#layout-editor #layout-timeline #timeruler{width:100%;height:28px;background-color:#333;overflow:hidden;white-space:nowrap;font-size:0;opacity:.9;position:sticky;top:0;z-index:1}#layout-editor #layout-timeline #timeruler .timeruler-message{color:#fff;font-size:13px;padding-left:6px;line-height:21px}#layout-editor #layout-timeline #timeruler .step-margin{display:inline-block;height:10px}#layout-editor #layout-timeline #timeruler .step{display:inline-block;border-left:#f0f2f8 2px solid;height:10px;vertical-align:top}#layout-editor #layout-timeline #timeruler .step.labelled{color:#f0f2f8;font-size:.85rem;height:18px;line-height:34px}#layout-editor #layout-timeline #timeruler .step.labelled span{padding-left:2px}#layout-editor #layout-timeline #regions-info{float:left;width:180px;margin-bottom:12px}#layout-editor #layout-timeline #regions-info .designer-region-info{background-color:#506098;color:#f0f2f8;height:48px;margin:3px;font-size:1rem;border-radius:4px}#layout-editor #layout-timeline #regions-info .designer-region-info.selected-region{color:#ffc582;font-weight:bold}#layout-editor #layout-timeline #regions-info .designer-region-info .region-preview{float:left;width:60px;height:48px;margin-left:6px;overflow:hidden}#layout-editor #layout-timeline #regions-info .designer-region-info .region-preview .region-preview-background{position:relative;background-color:#181818}#layout-editor #layout-timeline #regions-info .designer-region-info .region-preview .region-preview-element{position:relative;background-color:#fb6c05}#layout-editor #layout-timeline #regions-info .designer-region-info .region-controls{display:inline-block;padding:2px 6px;line-height:22px;width:calc(180px - 60px - 12px)}#layout-editor #layout-timeline #regions-info .designer-region-info .region-controls .region-label{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}#layout-editor #layout-timeline #timeline-controls{font-size:1.15rem;line-height:20px;width:180px;padding:4px 8px;background-color:#273759;position:sticky;top:0;z-index:1}#layout-editor #layout-timeline .designer-region-info a,#layout-editor #layout-timeline #timeline-controls a{cursor:pointer;text-decoration:none;color:#f0f2f8}#layout-editor #layout-timeline .designer-region-info a:hover,#layout-editor #layout-timeline #timeline-controls a:hover{color:#aab6d8}#layout-editor #layout-timeline .designer-region-info a[disabled],#layout-editor #layout-timeline #timeline-controls a[disabled]{color:#4a5f9f}#layout-editor #layout-timeline .designer-region-info span,#layout-editor #layout-timeline #timeline-controls span{color:#f0f2f8;font-size:1rem;line-height:1.2rem}#layout-editor #layout-timeline .designer-region{background:#ffc582;height:48px;padding:2px;margin:3px 0;border-radius:4px;display:flex;display:-webkit-box;display:-moz-box}#layout-editor #layout-timeline .designer-region:not(.editable){box-shadow:inset 0 0 6px 4px #888 !important}#layout-editor #layout-timeline .designer-region .message{color:#666;font-weight:bold;padding:10px}#layout-editor #layout-timeline .label-region{height:40px;padding:10px 2px 0 0;text-align:right;font-weight:bold;margin-bottom:4px;color:#666}#layout-editor #layout-timeline .designer-widget{position:relative;background:#f0f2f8;color:#333;font-weight:bold;height:100%;border:none;box-shadow:inset 0 0 0 1px #888 !important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0;border-radius:4px}#layout-editor #layout-timeline .designer-widget .widgetLabel{float:left;height:inherit;color:#f0f2f8;min-width:20px;height:calc(100% - 2px);text-align:center;opacity:.85;padding:0 4px;margin-left:4px;margin-top:1px;font-size:13px}#layout-editor #layout-timeline .designer-widget .widgetLabel .widgetDuration{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;padding:0 2px}#layout-editor #layout-timeline .designer-widget .widgetName{font-style:italic;color:#333;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:90%;padding-left:4px}#layout-editor #layout-timeline .designer-widget .widgetProperties{float:right;position:absolute;z-index:2;right:4px;top:24px}#layout-editor #layout-timeline .designer-widget .widget-transition-container{position:absolute;height:100%;z-index:1;opacity:.8}#layout-editor #layout-timeline .designer-widget .widget-transition{cursor:pointer;position:absolute;width:100%;top:70%;height:30%;opacity:.3;font-size:.65rem;color:#f0f2f8}#layout-editor #layout-timeline .designer-widget .widget-transition:hover{top:50%;height:50%;opacity:.6;font-size:1rem}#layout-editor #layout-timeline .designer-widget .widget-transition-container.transition-in{left:0;border-right:#82e59e solid 2px}#layout-editor #layout-timeline .designer-widget .widget-transition-container.transition-out{right:0;border-left:#e64c4c solid 2px}#layout-editor #layout-timeline .designer-widget .widget-transition.transition-in{background:#23ab4a;border-radius:80% 0 0 0;text-align:right;padding-right:5px}#layout-editor #layout-timeline .designer-widget .widget-transition.transition-out{background:#861313;border-radius:0 80% 0 0;text-align:left;padding-left:5px}#layout-editor #layout-timeline .designer-widget.hideContent>*{display:none}#layout-editor #layout-timeline .designer-widget i.editProperty{float:right;cursor:pointer;padding:2px;color:#333}#layout-editor #layout-timeline .designer-widget i.editProperty:hover{color:#666}#layout-editor #layout-timeline .designer-widget.invalid-widget:before{box-shadow:inset 0px 0px 6px 4px #e64c4c !important;content:" ";position:absolute;top:1px;left:1px;width:calc(100% - 2px);height:calc(100% - 2px);border-radius:3px}#layout-editor #layout-timeline .designer-widget:after{content:" ";position:absolute;opacity:0;top:1px;left:1px;width:calc(100% - 2px);height:calc(100% - 2px);border-radius:3px;box-shadow:inset 0 0 2px 2px #82e59e !important;background-color:#2ed35c;transition:opacity .3s}#layout-editor #layout-timeline .designer-widget.highlighted:after{opacity:.6}#layout-editor #layout-timeline .designer-widget-ghost{background:#888;background:rgba(136,136,136,.6);color:#666;font-weight:bold;display:flex;height:100%;opacity:.85}#layout-editor #layout-timeline .designer-widget-ghost .widgetName,#layout-editor #layout-timeline .designer-widget-ghost .widgetSubType{color:#666;margin-left:4px}#layout-editor #layout-timeline .designer-widget-sortable-highlight{background:#e7ea6e;float:left;width:20px;height:100%;border:none}#layout-editor #layout-timeline .ghost-padding{background:#333;background:rgba(51,51,51,.2);float:left;height:100%}#layout-editor #layout-timeline .widgetExtension{color:#666;padding:0 4px;font-weight:bold;background:#f0f2f8;background:rgba(240,242,248,.5);height:34px;margin-top:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#layout-editor #layout-viewer-container{height:calc(100% - 64px);padding:16px 24px 0px 16px}#layout-editor #layout-viewer-container .main-panel-wrapper{border-color:#506098}#layout-editor #layout-viewer-container #inline-editor-templates{position:absolute;left:0;bottom:0;z-index:2;background-color:#506098;background-color:rgba(80,96,152,.8);border-radius:0 4px 0 0;opacity:.75}#layout-editor #layout-viewer-container #inline-editor-templates:hover{opacity:.85}#layout-editor #layout-viewer-container #inline-editor-templates .control-label{padding:5px;margin:0;text-align:right;color:#fff;font-weight:bold}#layout-editor #layout-viewer-container #inline-editor-templates .ckeditor_controls{padding:0 !important}#layout-editor #layout-viewer-container #inline-editor-templates .ckeditor_controls>div{padding:2px 5px;min-width:240px;margin:0}#layout-editor #layout-viewer-container #inline-editor-templates .ckeditor_controls .form-group{margin-bottom:0 !important}#layout-editor #layout-viewer-container #inline-editor-templates .ckeditor_controls .select2-container--bootstrap .select2-selection--single{height:26px;padding:2px 24px 2px 4px}#layout-editor #layout-viewer-container #inline-editor-templates .ckeditor_select_container{padding:3px 0;margin:0}#layout-editor #layout-viewer-container #layout-viewer{height:100%;border:none;background:#333}#layout-editor #layout-viewer-container #layout-viewer .layout-viewer-border{background:#333;background:rgba(51,51,51,.9);position:absolute}#layout-editor #layout-viewer-container #layout-viewer .viewer-element{position:relative;overflow:hidden}#layout-editor #layout-viewer-container #layout-viewer .viewer-element .module-preview-icon{font-size:4em;margin-top:10px}#layout-editor #layout-viewer-container #layout-viewer .cke_textarea_inline{display:none}#layout-editor #layout-viewer-container #layout-viewer #viewer-preview iframe{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}#layout-editor #layout-viewer-container #layout-viewer #viewer-preview{color:#8898c7;text-shadow:0px 0px 2px #3a4a7c}#layout-editor #layout-viewer-container #layout-viewer .layout-player{background:#333}#layout-editor #layout-viewer-container #layout-viewer .designer-region{background:#c4c4c4;background:rgba(196,196,196,.6)}#layout-editor #layout-viewer-container #layout-viewer .designer-region.empty-region{width:100%;height:100%}#layout-editor #layout-viewer-container #layout-viewer .designer-region .module-preview-icon{font-size:2em}#layout-editor #layout-viewer-container #layout-viewer .designer-region::after{content:" ";position:absolute;top:0;left:0;width:100%;height:100%;box-shadow:inset 0 0 2px 0px #333 !important}#layout-editor #layout-viewer-container #layout-viewer .designer-region .loading-icon{font-size:inherit}#layout-editor #layout-viewer-container #layout-viewer .designer-region .center-msg{font-size:.85rem;overflow:visible;position:absolute;left:50%;transform:translate(-50%, -50%)}#layout-editor #layout-viewer-container #layout-viewer .designer-region:not(.empty) .preview-select{cursor:pointer;width:100%;height:100%;position:absolute;z-index:1}#layout-editor #layout-viewer-container #layout-viewer .designer-region .preview-paging{position:absolute;color:#f0f2f8;display:none;position:absolute;min-width:100%;width:-webkit-max-content;width:-moz-max-content;width:max-content;height:20px;bottom:0;z-index:2;background:#333;background:rgba(51,51,51,.5);opacity:.2;padding:0 4px;white-space:nowrap;left:50%;transform:translate(-50%, 0)}#layout-editor #layout-viewer-container #layout-viewer .designer-region .preview-paging.active{display:block}#layout-editor #layout-viewer-container #layout-viewer .designer-region .preview-paging-message{font-weight:bold;font-size:1rem}#layout-editor #layout-viewer-container #layout-viewer .designer-region .preview-paging-name{font-weight:bold;font-style:italic;max-width:150px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#layout-editor #layout-viewer-container #layout-viewer .designer-region .widget-arrow{display:none;cursor:pointer;padding:2px 3px}#layout-editor #layout-viewer-container #layout-viewer .designer-region:not(.empty):hover{background:#f0f2f8;background:rgba(240,242,248,.5)}#layout-editor #layout-viewer-container #layout-viewer .designer-region:not(.empty):hover::after{box-shadow:inset 0 0 2px 1px #333 !important}#layout-editor #layout-viewer-container #layout-viewer .designer-region:not(.empty):hover .preview-paging.active{opacity:.9}#layout-editor #layout-viewer-container.fullscreen{background-color:#333;background-color:rgba(51,51,51,.9);position:fixed;z-index:1050;left:0;top:0;padding:0;height:calc(100% - 38px);width:100%}#layout-editor #layout-viewer-container.fullscreen #inline-editor-templates,#layout-editor #layout-viewer-container.fullscreen #fullscreenBtn,#layout-editor #layout-viewer-container.fullscreen #goBackBtn{z-index:calc(1050 + 10)}#layout-editor #layout-viewer-container.fullscreen #layout-viewer{position:fixed;z-index:calc(1050 + 10);left:8px;top:8px;width:calc(100% - 16px);height:calc(100% - 54px);background-color:#333;background-color:rgba(51,51,51,.9)}#layout-editor #layout-viewer-container.fullscreen .hide-on-fs{display:none}#layout-editor #layout-viewer-container.fullscreen .show-on-fs{display:inline-block}#layout-editor #inline-editor{height:inherit}#layout-editor #inline-editor-overlay{position:absolute;text-align:center;cursor:pointer;width:100%;height:100%;background:#337ab7;background:rgba(51,122,183,.2);box-shadow:inset #337ab7 0px 0px 10px 0px !important}#layout-editor #inline-editor-overlay:hover{background:#337ab7;background:rgba(51,122,183,.5)}#layout-editor #inline-editor-overlay .edit-btn-container{display:table;width:100%;height:100%}#layout-editor #inline-editor-overlay .edit-btn-container #edit-btn{font-size:4.3rem;text-shadow:0px 0px 5px #333;color:#f0f2f8;color:rgba(240,242,248,.8);vertical-align:middle;display:table-cell}#layout-editor #inline-editor-overlay .edit-btn-container #edit-btn:hover{color:#f0f2f8;color:rgba(240,242,248,.9)}#layout-editor .inline-editor-opened,#layout-editor .inline-editor-closed,#layout-editor .inline-editor-closed#inline-editor-overlay{display:none}#layout-editor #properties-panel{padding:0;width:400px;height:100%}#layout-editor #properties-panel .nav{width:100% !important;border:none}#layout-editor #properties-panel .nav .nav-item{flex:1 1 auto;text-align:center}#layout-editor #properties-panel .hidden{margin-right:-370px}#layout-editor #properties-panel .unsuccessMessage{text-align:center;font-weight:bold;font-size:1.2em;color:#f0f2f8;padding:30px;background-color:#861313}#layout-editor #properties-panel .loading-container{position:relative;background:#f0f2f8;border:none}#layout-editor #properties-panel .loading-container .loading-icon{color:#273759}#layout-editor #properties-panel #properties-panel-container{background:#fff;position:relative;height:100%;display:flex;flex-direction:column}#layout-editor #properties-panel #properties-panel-container .playlist-editor-message{display:none}#layout-editor #properties-panel #properties-panel-container .form-title{display:none}#layout-editor #properties-panel #properties-panel-container .form-container{overflow-x:hidden;overflow-y:auto;height:100%}#layout-editor #properties-panel #properties-panel-container .form-container>.row{height:100%}#layout-editor #properties-panel #properties-panel-container .form-container>.row>div{height:calc(100% - 65px);padding:4px !important}#layout-editor #properties-panel #properties-panel-container .form-container>.row>div>form{height:100%;overflow-x:hidden;overflow-y:auto}#layout-editor #properties-panel #properties-panel-container .form-container>.row>div>form .form-group>.label{max-width:100%;text-align:left}#layout-editor #properties-panel #properties-panel-container .form-container>.row>div>form .form-group>div{max-width:100%}#layout-editor #properties-panel #properties-panel-container .form-container .nav>li>a{color:#337ab7;background-color:#fff !important;border-color:#337ab7 !important;border-width:0px 0px 2px 0px !important;font-size:.9rem;font-weight:bold;opacity:50%;padding-bottom:7px;text-transform:uppercase}#layout-editor #properties-panel #properties-panel-container .form-container .nav>li>a.active{opacity:100%;border-width:0px 0px 4px 0px !important;padding-bottom:5px}#layout-editor #properties-panel #properties-panel-container .form-container .card{border:none}#layout-editor #properties-panel #properties-panel-container .form-container .row>div{padding:6px;margin:0}#layout-editor #properties-panel #properties-panel-container .form-container .row>div>form{padding:0 6px}#layout-editor #properties-panel #properties-panel-container .form-container .row>div>form .row>div{padding:4px 8px}#layout-editor #properties-panel #properties-panel-container .form-container .row>div>form .form-group{display:flex;margin-right:-5px;margin-left:-5px}#layout-editor #properties-panel #properties-panel-container .form-container .row>div>form .form-group .col-sm-2{flex:0 0 22%;max-width:22%}#layout-editor #properties-panel #properties-panel-container .form-container .row>div>form .form-group .col-sm-10{flex:0 0 78%;max-width:78%}#layout-editor #properties-panel #properties-panel-container .form-container .row>div>form .form-group .col-sm-1,#layout-editor #properties-panel #properties-panel-container .form-container .row>div>form .form-group .col-sm-10,#layout-editor #properties-panel #properties-panel-container .form-container .row>div>form .form-group .col-sm-11,#layout-editor #properties-panel #properties-panel-container .form-container .row>div>form .form-group .col-sm-12,#layout-editor #properties-panel #properties-panel-container .form-container .row>div>form .form-group .col-sm-2,#layout-editor #properties-panel #properties-panel-container .form-container .row>div>form .form-group .col-sm-3,#layout-editor #properties-panel #properties-panel-container .form-container .row>div>form .form-group .col-sm-4,#layout-editor #properties-panel #properties-panel-container .form-container .row>div>form .form-group .col-sm-5,#layout-editor #properties-panel #properties-panel-container .form-container .row>div>form .form-group .col-sm-6,#layout-editor #properties-panel #properties-panel-container .form-container .row>div>form .form-group .col-sm-7,#layout-editor #properties-panel #properties-panel-container .form-container .row>div>form .form-group .col-sm-8,#layout-editor #properties-panel #properties-panel-container .form-container .row>div>form .form-group .col-sm-9{padding-left:4px;padding-right:4px}#layout-editor #properties-panel #properties-panel-container .form-container .row>div>form .form-group .offset-sm-2{margin-left:22%}#layout-editor #properties-panel #properties-panel-container .form-container .row>div>form .sub-playlists{margin-left:-10px}#layout-editor #properties-panel #properties-panel-container .form-container .row>div>form .row-special{margin-right:-5px;margin-left:-5px}#layout-editor #properties-panel #properties-panel-container .form-container .row>div>form .row-special .col-sm-1,#layout-editor #properties-panel #properties-panel-container .form-container .row>div>form .row-special .col-sm-10,#layout-editor #properties-panel #properties-panel-container .form-container .row>div>form .row-special .col-sm-11,#layout-editor #properties-panel #properties-panel-container .form-container .row>div>form .row-special .col-sm-12,#layout-editor #properties-panel #properties-panel-container .form-container .row>div>form .row-special .col-sm-2,#layout-editor #properties-panel #properties-panel-container .form-container .row>div>form .row-special .col-sm-3,#layout-editor #properties-panel #properties-panel-container .form-container .row>div>form .row-special .col-sm-4,#layout-editor #properties-panel #properties-panel-container .form-container .row>div>form .row-special .col-sm-5,#layout-editor #properties-panel #properties-panel-container .form-container .row>div>form .row-special .col-sm-6,#layout-editor #properties-panel #properties-panel-container .form-container .row>div>form .row-special .col-sm-7,#layout-editor #properties-panel #properties-panel-container .form-container .row>div>form .row-special .col-sm-8,#layout-editor #properties-panel #properties-panel-container .form-container .row>div>form .row-special .col-sm-9{padding-left:3px;padding-right:3px}#layout-editor #properties-panel #properties-panel-container .form-container .row>div>form #orderClause .form-group{padding:0;margin-left:4px;margin-right:0;display:inline-block}#layout-editor #properties-panel #properties-panel-container .form-container .row>div>form #filterClause .form-group{padding:0;margin:0;display:inline-block}#layout-editor #properties-panel #properties-panel-container .form-container .row>div>form #filterClause select,#layout-editor #properties-panel #properties-panel-container .form-container .row>div>form #filterClause input{padding:5px;max-width:90px}#layout-editor #properties-panel #properties-panel-container .form-container .row>div>form #filterClause select{max-width:120px}#layout-editor #properties-panel #properties-panel-container .form-container .row>div>form #worldClocksContainer .form-group{padding:2px 0;margin:0;display:inline-block}#layout-editor #properties-panel #properties-panel-container .form-container .row>div>form #worldClocksContainer select,#layout-editor #properties-panel #properties-panel-container .form-container .row>div>form #worldClocksContainer input[type=text]{max-width:95%}#layout-editor #properties-panel #properties-panel-container .form-container .row>div>form #worldClocksContainer .select2{width:95% !important;text-align:left}#layout-editor #properties-panel #properties-panel-container .form-container .row>div>form #worldClocksContainer button{padding:5px 10px;margin:3px 0}#layout-editor #properties-panel #properties-panel-container .form-container .row>div>form #worldClocksContainer input[type=checkbox]{margin:8px 0}#layout-editor #properties-panel #properties-panel-container .form-container .row>div>form #layoutEditFormBackgroundUpload .upload-table-container{overflow-x:auto}#layout-editor #properties-panel #properties-panel-container .form-container .row>div>form #layoutEditFormBackgroundUpload .upload-table-container table td{max-width:100px}#layout-editor #properties-panel #properties-panel-container .form-container .row>div>form #layoutEditFormBackgroundUpload .upload-table-container table td canvas{max-width:60px;max-height:60px}#layout-editor #properties-panel #properties-panel-container .form-container .row>div>form #layoutEditFormBackgroundUpload .upload-table-container table td input[type=text]{max-width:100px}#layout-editor #properties-panel #properties-panel-container .form-container .row>div>form #layoutEditFormBackgroundUpload .upload-table-container table td .progress{min-width:80px}#layout-editor #properties-panel #properties-panel-container .form-container .row>div>form #actions_wrapper{overflow-x:auto}#layout-editor #properties-panel #properties-panel-container .form-container .row>div>form #actions_wrapper .row>div{padding:0}#layout-editor #properties-panel #properties-panel-container .form-container .row>div>form #actions_wrapper .row>div .table th,#layout-editor #properties-panel #properties-panel-container .form-container .row>div>form #actions_wrapper .row>div .table td{padding:.5rem}#layout-editor #properties-panel #properties-panel-container .form-container .row>div>form #actions_wrapper .row:nth-of-type(3)>div{flex:0 0 100% !important;max-width:100% !important}#layout-editor #properties-panel #properties-panel-container .form-container .row>div>form #zonesContainer .structure,#layout-editor #properties-panel #properties-panel-container .form-container .row>div>form #zonesContainer .categoriesNotAssigned{display:grid;width:100%}#layout-editor #properties-panel #properties-panel-container .form-container .row>div>form #zonesContainer .connectedlist{outline:2px solid #c1e1fd;outline-offset:-1px;background-color:#f2f9ff}#layout-editor #properties-panel #properties-panel-container .form-container .row>div>form #zonesContainer .connectedlist ul.ui-sortable{width:100%;min-height:90px;margin:0;background-color:transparent;background-color:initial}#layout-editor #properties-panel #properties-panel-container .form-container .row>div>form #zonesContainer .connectedlist ul.ui-sortable ul{height:100%}#layout-editor #properties-panel #properties-panel-container .form-container .row>div>form #zonesContainer .connectedlist ul.ui-sortable li{width:auto;width:initial;text-align:center}#layout-editor #properties-panel #properties-panel-container .form-container .form-content-title{margin:-5px 0 10px 0;padding:5px 0;border-bottom:1px solid #e5e5e5}#layout-editor #properties-panel #properties-panel-container .form-container .form-content-title h4{font-size:18px;line-height:38px;margin:0;padding:0px 8px}#layout-editor #properties-panel #properties-panel-container .form-container table td span.label{white-space:inherit}#layout-editor #properties-panel #properties-panel-container .button-container{display:flex;flex-direction:column-reverse;padding:0 4px;bottom:0;font-size:0;width:100%}#layout-editor #properties-panel #properties-panel-container .button-container>button{margin:4px 0}#layout-editor #properties-panel #properties-panel-container.form-editor-enabled .form-container,#layout-editor #properties-panel #properties-panel-container.form-editor-enabled form{margin-left:-450px !important;padding-left:450px !important}#layout-editor #properties-panel #properties-panel-container.form-editor-enabled .form-container div.cke:hover,#layout-editor #properties-panel #properties-panel-container.form-editor-enabled form div.cke:hover{position:absolute;right:4px;width:810px;z-index:3}#layout-editor #layout-navigator{display:none;height:calc(100% - 64px);padding:16px 24px 0px 16px}#layout-editor #layout-navigator .main-panel-wrapper{border-color:#fb6c05}#layout-editor #layout-navigator .layout{overflow:hidden;box-shadow:inset 0 0 2px 1px #f0f2f8 !important}#layout-editor #layout-navigator .designer-region{box-shadow:inset 0 0 2px 0px #f0f2f8 !important}#layout-editor #layout-navigator .designer-region:not(.editable){box-shadow:inset 0 0 2px 0px #888 !important}#layout-editor #layout-navigator #layout-navigator-content{background:#333;min-height:100%}#layout-editor #layout-navigator.fullscreen{background-color:#333;background-color:rgba(51,51,51,.9);position:fixed;z-index:1050;left:0;top:0;width:100%;padding:0;height:calc(100% - 38px)}#layout-editor #layout-navigator.fullscreen #fullscreenBtn{z-index:calc(1050 + 10)}#layout-editor #layout-navigator.fullscreen #layout-navigator-content{z-index:1050;left:8px;top:8px;width:calc(100% - 16px);height:calc(100% - 54px);background-color:#333;background-color:rgba(51,51,51,.9)}#layout-editor #layout-navigator.fullscreen .hide-on-fs{display:none}#layout-editor #layout-navigator.fullscreen .show-on-fs{display:inline-block}#layout-editor .selectable{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}#layout-editor .designer-region.selectable:hover{background:#ffb969 !important}#layout-editor #layout-timeline .designer-region .designer-region-overlay{display:none;z-index:2;width:100%;height:100%;left:0;top:0;position:absolute;border-radius:4px;margin-right:-6px}#layout-editor #layout-timeline .designer-region .designer-region-overlay div{position:relative;display:block;float:left;height:100%}#layout-editor #layout-timeline .designer-region .designer-region-overlay .designer-region-overlay-step{background:#aab6d8;width:14px;margin:0}#layout-editor #layout-timeline .designer-region .designer-region-overlay .designer-region-overlay-step:hover,#layout-editor #layout-timeline .designer-region .designer-region-overlay .designer-region-overlay-step.ui-droppable-hover{background:#f0f2f8;box-shadow:0px 0px 3px 1px #f0f2f8 !important}#layout-editor #layout-timeline .designer-region .designer-region-overlay .designer-region-overlay-step:not(:first-child){margin-left:-5px;margin-right:5px}#layout-editor #layout-timeline .designer-widget.selectable:hover{background:#6de18e !important}#layout-editor .selected-region:not(.designer-region-info){background:#ffa236 !important}#layout-editor #layout-navigator .designer-region.selected-widget,#layout-editor .designer-widget.selected-widget{background:#43d86d !important}#layout-editor #layout-navigator .designer-region.ui-droppable-active,#layout-editor #layout-viewer .designer-region.ui-droppable-active{z-index:10 !important;position:relative;background:#ffb969 !important}#layout-editor #layout-navigator .designer-region.ui-droppable-active.ui-droppable-hover,#layout-editor #layout-navigator .designer-region.ui-droppable-active:hover,#layout-editor #layout-viewer .designer-region.ui-droppable-active.ui-droppable-hover,#layout-editor #layout-viewer .designer-region.ui-droppable-active:hover{background:#ff8a03 !important}#layout-editor #layout-navigator .designer-region.ui-droppable-active *,#layout-editor #layout-viewer .designer-region.ui-droppable-active *{visibility:hidden}#layout-editor #layout-navigator .widget-preview.ui-droppable-active,#layout-editor #layout-viewer .widget-preview.ui-droppable-active{z-index:10 !important;position:relative;background:#6de18e !important;width:100%;height:100%}#layout-editor #layout-navigator .widget-preview.ui-droppable-active.ui-droppable-hover,#layout-editor #layout-navigator .widget-preview.ui-droppable-active:hover,#layout-editor #layout-viewer .widget-preview.ui-droppable-active.ui-droppable-hover,#layout-editor #layout-viewer .widget-preview.ui-droppable-active:hover{background:#28c053 !important}#layout-editor #layout-navigator .widget-preview.ui-droppable-active *,#layout-editor #layout-viewer .widget-preview.ui-droppable-active *{visibility:hidden}#layout-editor #layout-navigator .layout.ui-droppable-active,#layout-editor #layout-viewer .layout.ui-droppable-active{z-index:10 !important;position:relative;background:#fff !important}#layout-editor #layout-navigator .layout.ui-droppable-active.ui-droppable-hover,#layout-editor #layout-navigator .layout.ui-droppable-active:hover,#layout-editor #layout-viewer .layout.ui-droppable-active.ui-droppable-hover,#layout-editor #layout-viewer .layout.ui-droppable-active:hover{background:#cee7fd !important}#layout-editor #layout-navigator .layout.ui-droppable-active *,#layout-editor #layout-viewer .layout.ui-droppable-active *{visibility:hidden}#layout-editor .ui-droppable-active{box-shadow:inset 0 0 2px #f0f2f8 !important}#layout-editor .timeline-panel.opened #layout-timeline .designer-widget.ui-droppable-active{z-index:10 !important;position:relative;background:#6de18e;visibility:visible}#layout-editor .timeline-panel.opened #layout-timeline .designer-widget.ui-droppable-active.ui-droppable-hover,#layout-editor .timeline-panel.opened #layout-timeline .designer-widget.ui-droppable-active:hover{background:#43d86d}#layout-editor .timeline-panel.opened #layout-timeline .designer-region.to-sort .designer-widget{background:#e7ea6e !important}#layout-editor .timeline-panel.opened #layout-timeline .designer-region.ui-droppable-active{z-index:10 !important;position:relative}#layout-editor .timeline-panel.opened #layout-timeline .designer-region.ui-droppable-active .designer-region-overlay{background:#ffb969;display:block;opacity:.75}#layout-editor .timeline-panel.opened #layout-timeline .designer-region.ui-droppable-active.ui-droppable-hover .designer-region-overlay,#layout-editor .timeline-panel.opened #layout-timeline .designer-region.ui-droppable-active:hover .designer-region-overlay{background:#ff8a03}#layout-editor .timeline-panel.opened #actions-drawer-content.ui-droppable-active{z-index:10 !important;position:relative;background:#adb6d4}#layout-editor .timeline-panel.opened #actions-drawer-content.ui-droppable-active.ui-droppable-hover,#layout-editor .timeline-panel.opened #actions-drawer-content.ui-droppable-active:hover{background:#6a7ab1}#layout-editor .timeline-panel.opened #actions-drawer-content.ui-droppable-active *{visibility:hidden}#layout-editor .timeline-panel.opened #actions-drawer-content .designer-widget.ui-droppable-active{z-index:10 !important;position:relative;background:#6de18e;visibility:visible}#layout-editor .timeline-panel.opened #actions-drawer-content .designer-widget.ui-droppable-active:hover{background:#43d86d}#layout-editor .ui-droppable-hover{box-shadow:inset 0 0 4px #313131 !important}#layout-editor .loading-container{height:calc(100vh - 130px);width:100%;position:absolute}#layout-editor .loading-container .loading-icon{position:relative;text-align:center;top:50%;transform:translateY(-50%);font-size:5.35rem;color:#273759;z-index:0}#layout-editor .select2-container{width:auto !important}#layout-editor #lockedOverlay{z-index:1;display:block;position:absolute}#layout-editor #lockedLayoutMessage{margin:5px 5%;padding:10px;width:90%;line-height:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;z-index:1050;position:fixed;bottom:0}#layout-editor.locked-for-user .hide-on-lock{display:none}#layout-editor.locked-for-user .designer-region .preview-paging{z-index:1}#layout-editor:not(.locked) .show-on-lock,#layout-editor.locked.locked-for-user .show-on-lock{display:none}#unlockLayoutModal .modal-content{width:60%;margin:0 auto}#layout-editor #actions-drawer{overflow:hidden;display:flex;flex-basis:40px;transition:flex-basis 600ms ease 0s}#layout-editor #actions-drawer #actions-drawer-content{background-color:#5a6ba8;width:calc(100% - 40px);z-index:1}#layout-editor #actions-drawer #actions-drawer-content .actions-drawer-controls{background-color:#3e4b77}#layout-editor #actions-drawer #actions-drawer-content #actions-drawer-search-bar{height:32px;margin-bottom:0;color:#f0f2f8;font-size:0;padding-right:2px;min-width:120px}#layout-editor #actions-drawer #actions-drawer-content #actions-drawer-search-bar i.fa-search{font-size:14px;padding:8px}#layout-editor #actions-drawer #actions-drawer-content #actions-drawer-search-bar input{background:center;border:1px solid #ced4da;color:#3e4b77;height:26px;border-radius:.25rem;background-color:#fff;padding-left:.5rem;margin:2.5px 0;font-size:14px;width:calc(100% - 29px)}#layout-editor #actions-drawer #actions-drawer-content #actions-drawer-widgets{display:grid;grid-template-rows:repeat(3, 1fr);grid-auto-flow:column;justify-content:start;overflow:hidden;height:calc(100% - 32px);grid-gap:5px;gap:5px;padding:3px}#layout-editor #actions-drawer #actions-drawer-content #actions-drawer-widgets ::-webkit-scrollbar{height:8px}#layout-editor #actions-drawer #actions-drawer-content #actions-drawer-widgets ::-webkit-scrollbar-track{border-radius:0}#layout-editor #actions-drawer #actions-drawer-content #actions-drawer-widgets ::-webkit-scrollbar-thumb{border-radius:0}@media screen and (-ms-high-contrast: active),(-ms-high-contrast: none){#layout-editor #actions-drawer #actions-drawer-content #actions-drawer-widgets{padding:0 2px 0 2px}}#layout-editor #actions-drawer #actions-drawer-content #actions-drawer-widgets .designer-widget{width:140px;min-width:140px;height:54px;position:relative;background:#f9f9f9;color:#333;font-weight:bold;box-shadow:inset 0 0 0 1px #888 !important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-radius:4px}#layout-editor #actions-drawer #actions-drawer-content #actions-drawer-widgets .designer-widget .widgetLabel{float:left;color:#f0f2f8;width:22px;height:calc(100% - 2px);text-align:center;opacity:.85;padding:0 4px;margin-left:4px;margin-top:1px;font-size:13px}#layout-editor #actions-drawer #actions-drawer-content #actions-drawer-widgets .designer-widget .widgetDuration{margin-top:-3px}#layout-editor #actions-drawer #actions-drawer-content #actions-drawer-widgets .designer-widget .widgetName{font-style:italic;color:#333;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:90%;padding-left:4px;text-align:left}#layout-editor #actions-drawer #actions-drawer-content #actions-drawer-widgets .designer-widget .widgetProperties{float:right;position:absolute;z-index:2;right:4px;top:18px}#layout-editor #actions-drawer #actions-drawer-content #actions-drawer-widgets .designer-widget .targetInfo{position:absolute;background-color:#32353d;color:#f9f9f9;width:114px;bottom:1px;right:0;height:18px;opacity:.75;padding:2px}#layout-editor #actions-drawer #actions-drawer-content #actions-drawer-widgets .designer-widget .targetInfo.no-target{color:#ff9191}#layout-editor #actions-drawer #actions-drawer-content #actions-drawer-widgets .designer-widget .targetInfo .info-text{font-size:13px;line-height:13px;max-width:90px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#layout-editor #actions-drawer #actions-drawer-content #actions-drawer-widgets .designer-widget.hideContent>*{display:none}#layout-editor #actions-drawer #actions-drawer-content #actions-drawer-widgets .designer-widget i.editProperty{float:right;cursor:pointer;padding:2px;color:#333}#layout-editor #actions-drawer #actions-drawer-content #actions-drawer-widgets .designer-widget i.editProperty:hover{color:#666}#layout-editor #actions-drawer #actions-drawer-content #actions-drawer-widgets .designer-widget.invalid-widget:after{box-shadow:inset 0px 0px 2px 2px #e64c4c !important}#layout-editor #actions-drawer #actions-drawer-content #actions-drawer-widgets .designer-widget:hover{background-color:#6de18e}#layout-editor #actions-drawer #actions-drawer-content .loading-container{position:relative;height:100px}#layout-editor #actions-drawer #actions-drawer-content .loading-container .loading-icon{font-size:3.6rem}#layout-editor #actions-drawer #actions-drawer-toggle{transition:background-color 1s ease 0s;background-color:#506098;color:#f0f2f8;font-size:1.3rem;height:100%;width:40px;position:relative;border-radius:6px 0px 0px 6px;display:flex;flex-direction:column;justify-content:center}#layout-editor #actions-drawer #actions-drawer-empty-message{position:relative;border:2px dashed #f0f2f8;border-radius:6px;color:#f0f2f8;line-height:75px;margin:0 4px;top:50%;transform:translateY(-50%);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;height:100%}#layout-editor #actions-drawer #actions-drawer-empty-message div{top:50%;position:relative;transform:translateY(-50%)}#layout-editor #actions-drawer.drawed{flex-basis:40%}#layout-editor #actions-drawer.drawed #actions-drawer-toggle{background-color:#8c98c2}#layout-editor #actions-drawer.drawed #actions-drawer-widgets{overflow-x:auto !important}.background-image-add{position:relative;min-height:100px;padding:4px 0 7px 0;background-color:#f0f2f8;border-radius:4px 4px 0 0;display:flex;align-content:center;flex-direction:column;justify-content:center;align-items:center;margin-bottom:-3px;flex-wrap:wrap}.background-image-actions .btn-group{width:100%;padding:0;background-color:#fff;border-radius:4px}.background-image-drop{display:none;position:absolute;left:0;top:0;width:100%;height:100%;background-color:#506098;background-color:rgba(80,96,152,.6);border-radius:6px;padding:3rem 1rem;color:#f0f2f8;border:2px dashed #f0f2f8;border-style:dashed;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.background-image-drop:hover{background-color:#506098;background-color:rgba(80,96,152,.9)}.background-image-add.ui-droppable-active .background-image-drop{display:block;z-index:10}div#bg_not_found_icon{width:60%}',""])},89594:function(e,t,o){(e.exports=o(23645)(!1)).push([e.id,'.editor-toolbar nav{background:#506098;color:#273759;z-index:1040;margin-left:0;height:100%;border:none;padding:0 !important}.editor-toolbar nav .container-toolbar{padding:0;height:100%}.editor-toolbar nav .container-toolbar .navbar-btn{margin:8px 3px}.editor-toolbar nav .container-toolbar .navbar-peek-button{display:block;width:60px;text-align:center;font-size:1.5rem;padding:10px;line-height:30px;background:#888;background:rgba(136,136,136,.3);color:#d5d5d5;opacity:.4;cursor:unset}.editor-toolbar nav .container-toolbar .navbar-peek-button.active{cursor:pointer;opacity:1}.editor-toolbar nav .container-toolbar .navbar-peek-button.active.navbar-bin{background:#e64c4c;color:#f0f2f8}.editor-toolbar nav .container-toolbar .navbar-peek-button.active.navbar-bin:hover{background:#b31919 !important}.editor-toolbar nav .container-toolbar .navbar-peek-button.active.navbar-undo{background:#ffc582;color:#f0f2f8}.editor-toolbar nav .container-toolbar .navbar-peek-button.active.navbar-undo:hover{background:#ff961c !important}.editor-toolbar nav .container-toolbar .navbar-peek-button.active.navbar-multiselect{background:#8f2ac3;color:#f0f2f8}.editor-toolbar nav .container-toolbar .navbar-peek-button.active.navbar-multiselect:hover{background:#51186f !important}.editor-toolbar nav .container-toolbar .navbar-peek-button.active.navbar-multiselect.multiselect-active{background:#a748d8 !important}.editor-toolbar nav .toolbar-pane{display:none;flex-direction:column !important}.editor-toolbar nav .toolbar-pane.active{display:flex}.editor-toolbar nav .toolbar-pane form{margin:0 12px 6px}.editor-toolbar nav .toolbar-pane form .form-group{margin-bottom:0}.editor-toolbar nav .toolbar-pane form .form-group label{font-weight:bold}.editor-toolbar nav .toolbar-menu-content .toolbar-pane{position:absolute;left:60px;top:0;bottom:0;background:#42528a;border-width:4px 4px 4px 0;border-style:solid;border-color:#42528a;color:#cad0d6}.editor-toolbar nav .toolbar-menu-content .toolbar-pane .close-content{cursor:pointer;padding:6px 6px 0 0;font-size:18px;line-height:15px;color:#f0f2f8;text-align:right;transition:.3s .1s padding-right}.editor-toolbar nav .toolbar-menu-content .toolbar-pane .close-content:hover{color:#fff;padding-right:12px}.editor-toolbar nav .toolbar-menu-content .toolbar-pane .toolbar-pane-container{float:left;scroll-behavior:smooth;overflow-x:hidden;overflow-y:auto;width:334px;margin:0px -2px 6px 6px;scrollbar-color:#273759 #8399c9}.editor-toolbar nav .toolbar-menu-content .toolbar-pane .toolbar-pane-container ::-webkit-scrollbar{width:7px !important}.editor-toolbar nav .toolbar-menu-content .toolbar-pane .toolbar-pane-container::-webkit-scrollbar-thumb{background:#273759 !important}.editor-toolbar nav .toolbar-menu-content .toolbar-pane .toolbar-pane-container::-webkit-scrollbar-thumb:hover{background:#2f426b !important}.editor-toolbar nav .toolbar-menu-content .toolbar-pane .toolbar-pane-container::-webkit-scrollbar-track{background:#8399c9 !important;border-radius:0 !important}@media screen and (-ms-high-contrast: active),(-ms-high-contrast: none){.editor-toolbar nav .toolbar-menu-content .toolbar-pane .toolbar-pane-container{-ms-overflow-style:-ms-autohiding-scrollbar}}.editor-toolbar nav .toolbar-menu-content .toolbar-pane .toolbar-pane-container .no-results-message{font-size:1.2rem;white-space:normal;margin:1rem 0;font-weight:bold;width:100%;text-align:center}.editor-toolbar nav .toolbar-menu-content .toolbar-pane .toolbar-pane-container .toolbar-pane-content{display:flex;flex-direction:row;width:auto;margin:4px;white-space:nowrap;flex-wrap:wrap}.editor-toolbar nav .toolbar-menu-content .toolbar-pane .toolbar-pane-container .toolbar-pane-content .toolbar-header{flex-basis:100%;margin:6px 0 4px 0;text-transform:uppercase}.editor-toolbar nav .toolbar-menu-content .toolbar-pane .toolbar-card{position:relative;overflow:hidden;background:#273759;height:auto !important;min-height:45px;color:#f0f2f8;width:96px;height:96px;border-radius:4px;font-size:.95rem}.editor-toolbar nav .toolbar-menu-content .toolbar-pane .toolbar-card .thumb{width:100%}.editor-toolbar nav .toolbar-menu-content .toolbar-pane .toolbar-card .card-title{display:block;position:relative;line-height:30px;height:60px;padding:5px 2px;margin-left:40px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.editor-toolbar nav .toolbar-menu-content .toolbar-pane .toolbar-card .card-icon{position:relative}.editor-toolbar nav .toolbar-menu-content .toolbar-pane .toolbar-card .action-area{display:none;z-index:2;position:absolute;text-align:center;background-color:#333;background-color:rgba(51,51,51,.7)}.editor-toolbar nav .toolbar-menu-content .toolbar-pane .toolbar-card .action-area i{line-height:96px;font-size:1.65rem}.editor-toolbar nav .toolbar-menu-content .toolbar-pane.toolbar-library-pane .toolbar-pane-content{width:310px;align-content:flex-start}.editor-toolbar nav .toolbar-menu-content .toolbar-pane.toolbar-library-pane .media-search-form{width:320px;margin:-8px 2px 6px}.editor-toolbar nav .toolbar-menu-content .toolbar-pane.toolbar-library-pane .toolbar-pane-container{width:334px;margin:6px -2px 6px 6px;min-height:calc(100% - 28px)}.editor-toolbar nav .toolbar-menu-content .toolbar-pane.toolbar-library-pane .loading-container .loading{font-size:3rem;opacity:.6;margin:15px}.editor-toolbar nav .toolbar-menu-content .toolbar-pane.toolbar-library-pane .toolbar-card{cursor:-webkit-grab;cursor:grab;background-position:center;background-repeat:no-repeat;background-size:cover;margin:0 0 11px 0}.editor-toolbar nav .toolbar-menu-content .toolbar-pane.toolbar-library-pane .toolbar-card>*{transition:.25s .25s opacity ease-in-out;opacity:1}.editor-toolbar nav .toolbar-menu-content .toolbar-pane.toolbar-library-pane .toolbar-card.hide-content{-webkit-animation:animateBg 1.5s linear infinite;animation:animateBg 1.5s linear infinite;background-image:linear-gradient(0deg, #273759, #374d7c, #273759);background-size:100% 1100%}.editor-toolbar nav .toolbar-menu-content .toolbar-pane.toolbar-library-pane .toolbar-card.hide-content>*{opacity:0}@-webkit-keyframes animateBg{0%{background-position:0% 0%}100%{background-position:0% 100%}}@keyframes animateBg{0%{background-position:0% 0%}100%{background-position:0% 100%}}.editor-toolbar nav .toolbar-menu-content .toolbar-pane.toolbar-library-pane .toolbar-card.ui-draggable-dragging{cursor:-webkit-grabbing;cursor:grabbing}.editor-toolbar nav .toolbar-menu-content .toolbar-pane.toolbar-library-pane .toolbar-card.ui-draggable-dragging .select-button,.editor-toolbar nav .toolbar-menu-content .toolbar-pane.toolbar-library-pane .toolbar-card.ui-draggable-dragging .preview-button{display:none !important}.editor-toolbar nav .toolbar-menu-content .toolbar-pane.toolbar-library-pane .toolbar-card.no-thumbnail{min-height:85px}.editor-toolbar nav .toolbar-menu-content .toolbar-pane.toolbar-library-pane .toolbar-card .media-title{display:block;background-color:#c4c4c4;color:#273759;padding:0 4px;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:18px}.editor-toolbar nav .toolbar-menu-content .toolbar-pane.toolbar-library-pane .toolbar-card .card-icon{font-size:2.5rem;color:#c4c4c4;margin:20px 0;left:50%;transform:translateX(-50%)}.editor-toolbar nav .toolbar-menu-content .toolbar-pane.toolbar-library-pane .toolbar-card .select-button,.editor-toolbar nav .toolbar-menu-content .toolbar-pane.toolbar-library-pane .toolbar-card .preview-button{display:none;cursor:pointer;position:absolute;background-color:#f0f2f8;color:#333;box-shadow:0px 0px 2px 1px #666 !important;top:4px;left:4px;border-radius:50%;width:17px;height:17px;opacity:.8;transition-delay:0s}.editor-toolbar nav .toolbar-menu-content .toolbar-pane.toolbar-library-pane .toolbar-card .select-button:hover,.editor-toolbar nav .toolbar-menu-content .toolbar-pane.toolbar-library-pane .toolbar-card .preview-button:hover{opacity:1}.editor-toolbar nav .toolbar-menu-content .toolbar-pane.toolbar-library-pane .toolbar-card .select-button i,.editor-toolbar nav .toolbar-menu-content .toolbar-pane.toolbar-library-pane .toolbar-card .preview-button i{cursor:pointer;font-size:14px;line-height:14px;position:absolute;top:2px;left:3px}.editor-toolbar nav .toolbar-menu-content .toolbar-pane.toolbar-library-pane .toolbar-card .select-button i.fa-check,.editor-toolbar nav .toolbar-menu-content .toolbar-pane.toolbar-library-pane .toolbar-card .preview-button i.fa-check{left:2px;font-size:13px}.editor-toolbar nav .toolbar-menu-content .toolbar-pane.toolbar-library-pane .toolbar-card .select-button .selectedHide,.editor-toolbar nav .toolbar-menu-content .toolbar-pane.toolbar-library-pane .toolbar-card .preview-button .selectedHide{display:block}.editor-toolbar nav .toolbar-menu-content .toolbar-pane.toolbar-library-pane .toolbar-card .select-button .selectedShow,.editor-toolbar nav .toolbar-menu-content .toolbar-pane.toolbar-library-pane .toolbar-card .preview-button .selectedShow{display:none}.editor-toolbar nav .toolbar-menu-content .toolbar-pane.toolbar-library-pane .toolbar-card .preview-button{left:auto;right:4px}.editor-toolbar nav .toolbar-menu-content .toolbar-pane.toolbar-library-pane .toolbar-card .preview-button i{font-size:12px;left:5px}.editor-toolbar nav .toolbar-menu-content .toolbar-pane.toolbar-library-pane .toolbar-card .media-duration{display:none;position:absolute;top:0;background:#273759;padding:0px 4px;border-radius:4px;opacity:.8;line-height:20px;left:50%;transform:translateX(-50%)}.editor-toolbar nav .toolbar-menu-content .toolbar-pane.toolbar-library-pane .toolbar-card .provider{display:block;background-color:#fff}.editor-toolbar nav .toolbar-menu-content .toolbar-pane.toolbar-library-pane .toolbar-card .provider img{width:100%;padding:2px 6px}.editor-toolbar nav .toolbar-menu-content .toolbar-pane.toolbar-library-pane .toolbar-card:hover{box-shadow:0px 0px 0px 2px #f0f2f8 !important}.editor-toolbar nav .toolbar-menu-content .toolbar-pane.toolbar-library-pane .toolbar-card:hover .select-button,.editor-toolbar nav .toolbar-menu-content .toolbar-pane.toolbar-library-pane .toolbar-card:hover .media-title,.editor-toolbar nav .toolbar-menu-content .toolbar-pane.toolbar-library-pane .toolbar-card:hover .preview-button{display:block;background-color:#f0f2f8}.editor-toolbar nav .toolbar-menu-content .toolbar-pane.toolbar-library-pane .toolbar-card:hover .media-duration{display:block}.editor-toolbar nav .toolbar-menu-content .toolbar-pane.toolbar-library-pane .toolbar-card:hover .card-icon{color:#f0f2f8}.editor-toolbar nav .toolbar-menu-content .toolbar-pane.toolbar-library-pane .toolbar-card.card-selected{box-shadow:0px 0px 0px 2px #6af367 !important}.editor-toolbar nav .toolbar-menu-content .toolbar-pane.toolbar-library-pane .toolbar-card.card-selected .select-button{display:block;background-color:#6af367 !important}.editor-toolbar nav .toolbar-menu-content .toolbar-pane.toolbar-library-pane .toolbar-card.card-selected .selectedHide{display:none}.editor-toolbar nav .toolbar-menu-content .toolbar-pane.toolbar-library-pane .toolbar-card.card-selected .selectedShow{display:block}.editor-toolbar nav .toolbar-menu-content .toolbar-pane.toolbar-library-pane .show-more{margin:6px 6px;width:315px}.editor-toolbar nav .toolbar-menu-content .toolbar-pane.toolbar-widgets-pane .toolbar-card{min-height:60px;height:60px;margin:4px}.editor-toolbar nav .toolbar-menu-content .toolbar-pane.toolbar-widgets-pane .toolbar-card .card-title{line-height:15px;padding:0 3px;text-align:center;margin:9px 0 0 0;width:100%;height:auto}.editor-toolbar nav .toolbar-menu-content .toolbar-pane.toolbar-widgets-pane .toolbar-card .card-icon{line-height:25px;font-size:1.25rem;transform:translate(-50%);padding:0;left:50%;top:10px}.editor-toolbar nav .toolbar-menu-content .toolbar-pane.toolbar-widgets-pane .toolbar-card .action-area{width:50%;height:60px}.editor-toolbar nav .toolbar-menu-content .toolbar-pane.toolbar-widgets-pane .toolbar-card .action-area i{line-height:60px}.editor-toolbar nav .toolbar-menu-content .toolbar-pane.toolbar-widgets-pane .toolbar-card .add-area{border-radius:4px 0 0 4px}.editor-toolbar nav .toolbar-menu-content .toolbar-pane.toolbar-widgets-pane .toolbar-card.card-selected .add-area{display:block;width:100%;background-color:#82e59e;background-color:rgba(130,229,158,.9);border-radius:4px;font-size:1.55rem}.editor-toolbar nav .toolbar-menu-content .toolbar-pane.toolbar-widgets-pane .toolbar-card .drag-area{cursor:move;margin-left:50%;border-radius:0 0 4px 0}.editor-toolbar nav .toolbar-menu-content .toolbar-pane.toolbar-widgets-pane .toolbar-card.card-dragged .drag-area{display:block;margin-left:0;width:100%;background-color:#8f2ac3;background-color:rgba(143,42,195,.6);border-radius:4px;font-size:1.55rem}.editor-toolbar nav .toolbar-menu-content .toolbar-pane.toolbar-widgets-pane .toolbar-card:not(.card-selected):hover .add-area{display:block}.editor-toolbar nav .toolbar-menu-content .toolbar-pane.toolbar-widgets-pane .toolbar-card:not(.card-selected):hover .add-area:hover{background-color:#2ed35c;background-color:rgba(46,211,92,.6)}.editor-toolbar nav .toolbar-menu-content .toolbar-pane.toolbar-widgets-pane .toolbar-card:not(.card-selected):hover .drag-area{display:block}.editor-toolbar nav .toolbar-menu-content .toolbar-pane.toolbar-widgets-pane .toolbar-card:not(.card-selected):hover .drag-area:hover{background-color:#8f2ac3;background-color:rgba(143,42,195,.6)}.editor-toolbar nav .toolbar-menu-content .toolbar-pane.toolbar-widgets-pane .toolbar-card .btn-favourite{display:none;cursor:pointer;color:#e7ea6e;position:absolute;z-index:3;background:#273759;width:16px;border-radius:4px 0 4px 0;margin:0;height:16px;text-align:center;font-size:.85rem}.editor-toolbar nav .toolbar-menu-content .toolbar-pane.toolbar-widgets-pane .toolbar-card:not(.card-selected):hover .btn-favourite,.editor-toolbar nav .toolbar-menu-content .toolbar-pane.toolbar-widgets-pane .toolbar-card.favourited .btn-favourite{display:block}.editor-toolbar nav a:not(.page-link){color:#f0f2f8;cursor:pointer}.editor-toolbar nav .navbar-buttons a.active{background:#42528a;color:#fff}.editor-toolbar nav .navbar-submenu-container{background:#506098;padding:.4rem .2rem;margin:0;border:none;border-radius:.25rem 0 .25rem .25rem}.editor-toolbar nav .navbar-submenu-container>a{padding:0}.editor-toolbar nav .navbar-submenu a:hover{color:#273759}.editor-toolbar nav .navbar-submenu-item{padding:4px 8px;cursor:pointer}.editor-toolbar nav .btn-menu-option{display:block;color:#f0f2f8;width:60px;text-align:center;font-size:1.5rem;padding:10px;line-height:30px;max-height:60px}.editor-toolbar nav .btn-menu-option .material-icons{font-size:1.85rem;line-height:30px}.editor-toolbar nav .btn-menu-option:hover{background:#323e68;color:#fff}.editor-toolbar nav .navbar-buttons a .close-tab-button{display:none;top:0;right:0;position:absolute;padding:2px}.editor-toolbar nav .navbar-buttons a:hover .close-tab-button{display:block}.editor-toolbar nav .navbar-buttons a:hover .close-tab-button:hover{color:#e64c4c !important}.editor-toolbar nav .bootstrap-tagsinput{width:100%;min-width:100%}.editor-toolbar nav .navbar-submenu>a{padding:10px;line-height:20px;color:#273759}.editor-toolbar nav .navbar-submenu>a.option-container,.editor-toolbar nav .navbar-submenu>a.undo-container,.editor-toolbar nav .navbar-submenu>a.trash-container{width:50px;text-align:center;font-size:1.5rem;padding:5px 10px;line-height:30px}.editor-toolbar nav .navbar-submenu>a.option-container::after,.editor-toolbar nav .navbar-submenu>a.undo-container::after,.editor-toolbar nav .navbar-submenu>a.trash-container::after{display:none}.editor-toolbar nav .navbar-submenu>a:hover,.editor-toolbar nav .navbar-submenu>a:focus{color:#f0f2f8;background-color:#506098}.editor-toolbar nav .navbar-submenu>a.trash-container{color:#e64c4c}.editor-toolbar nav .navbar-submenu>a.trash-container:hover,.editor-toolbar nav .navbar-submenu>a.trash-container:focus{color:#f0f2f8;background-color:#e64c4c}.editor-toolbar nav .navbar-submenu>a.undo-container:not(.active),.editor-toolbar nav .navbar-submenu>a.undo-container:not(.active):hover,.editor-toolbar nav .navbar-submenu>a.undo-container:not(.active):focus,.editor-toolbar nav .navbar-submenu>a.trash-container:not(.active),.editor-toolbar nav .navbar-submenu>a.trash-container:not(.active):hover,.editor-toolbar nav .navbar-submenu>a.trash-container:not(.active):focus{color:#888;background-color:transparent;opacity:.6;cursor:unset}.editor-toolbar nav .navbar-submenu.show>a{color:#f0f2f8;background-color:#506098}.editor-toolbar nav .navbar-submenu.open>a{color:#506098}.editor-toolbar nav .navbar-submenu .navbar-submenu-item-options{width:100%;font-weight:normal;margin:0}.editor-toolbar nav .navbar-submenu .navbar-submenu-item-options i{padding:1px;margin-top:4px}.editor-toolbar.editor-side-bar nav{width:60px;padding:16px 0 !important}.editor-toolbar.editor-side-bar nav.opened{margin-right:340px}.editor-toolbar.editor-side-bar-playlist-editor nav{position:fixed;top:0;left:0;bottom:0}.editor-toolbar.editor-side-bar-playlist-editor nav .navbar-submenu>a.option-container{text-align:center;font-size:1.5rem;color:#f0f2f8;width:60px;padding:10px;line-height:30px;max-height:60px}.editor-toolbar.editor-side-bar-playlist-editor nav .navbar-submenu>a.option-container::after{display:none}.editor-toolbar.editor-side-bar-playlist-editor nav .navbar-submenu>a.option-container:hover{color:#506098;background:#f0f2f8}.media-preview{position:fixed;padding:0 5px;z-index:1060;height:280px;width:460px;bottom:-240px;right:10px;text-align:center;transition:bottom 300ms ease-out,width 250ms ease-out,height 250ms ease-out,background-color 250ms ease-out}.media-preview #info{position:absolute;bottom:0;left:0;color:#f0f2f8;height:24px;padding:0 6px;width:100%;text-align:left;background-color:#273759}.media-preview #info .mediaInfo{display:flex;justify-content:space-between}.media-preview #info .mediaInfo span.title{flex-basis:50%;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.media-preview:hover:before{background:#333;background:rgba(51,51,51,.5);content:"";display:block;width:100%;height:24px;position:absolute;left:0}.media-preview #content{height:calc(100% - 24px)}.media-preview #content video,.media-preview #content img{max-width:100%;max-height:100%}.media-preview #content,.media-preview .preview-button{transition:opacity 200ms ease-out;opacity:0}.media-preview .preview-button{position:absolute;color:#cecece;cursor:pointer;font-size:1.4rem;top:3px;z-index:1}.media-preview .preview-button:hover{color:#fff;text-shadow:0 0 5px #fff}.media-preview #closeBtn{right:6px}.media-preview #sizeBtn{left:6px}.media-preview #selectBtn{left:50%;transform:translateX(-50%)}.media-preview.show{bottom:10px;background:#333;background:rgba(51,51,51,.95)}.media-preview.show:hover .preview-button{opacity:1}.media-preview.show.large{width:780px;height:460px}.media-preview.show #content,.media-preview.show #playBtn{opacity:1}',""])},60151:function(e,t,o){(e.exports=o(23645)(!1)).push([e.id,"#layout-editor-topbar nav{border:none;min-height:40px;z-index:2;margin:0;background:#fff;color:#273759;right:0;left:0;border-radius:0}@media(max-width: 768px){#layout-editor-topbar nav .layout-info-duration,#layout-editor-topbar nav .layout-info-dimensions{display:none}}#layout-editor-topbar .container-toolbar{padding:0 16px}#layout-editor-topbar .container-toolbar .navbar-text.layout-info{color:#273759;line-height:24px;display:inline-block}#layout-editor-topbar .container-toolbar .navbar-text.layout-info>span{margin-right:10px;line-height:24px}#layout-editor-topbar .container-toolbar .navbar-text.layout-info .layout-info-label{font-size:.85rem;font-weight:700;margin-right:3px}#layout-editor-topbar .container-toolbar .navbar-text.layout-info .layout-info-icon{margin-right:2px}#layout-editor-topbar .container-toolbar .navbar-text.layout-info .layout-info-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:300px;float:left}#layout-editor-topbar .container-toolbar .navbar-text.layout-info .layout-info-actions{cursor:pointer}#layout-editor-topbar .container-toolbar .navbar-text.layout-info #layout-info-status{float:left;padding:0 5px;min-width:24px}#layout-editor-topbar .container-toolbar .navbar-text.layout-info #layout-info-status.clickable{cursor:pointer}#layout-editor-topbar .container-toolbar .navbar-text.layout-info #layout-info-status i{font-size:1rem}#layout-editor-topbar .container-toolbar .navbar-text.layout-info .popover{color:#333;min-width:250px}#layout-editor-topbar .container-toolbar .navbar-text.layout-info .popover .popover-title{padding:4px;font-weight:bold;text-align:center;border:none}#layout-editor-topbar .container-toolbar .navbar-text.layout-info .popover .popover-content{padding:3px 6px}#layout-editor-topbar .container-toolbar .navbar-text.layout-info .popover .popover-content .status-message{padding:6px;margin:0px -1px 3px -1px;border-radius:6px;background:#e64c4c;color:#f0f2f8}#layout-editor-topbar .container-toolbar .navbar-text.layout-info .popover .popover-content .status-title{padding:4px;font-weight:bold}#layout-editor-topbar .container-toolbar .layout-action-menu{margin:0;padding:0}#layout-editor-topbar .container-toolbar .layout-action-menu #layoutJumpListContainer{min-width:120px;margin:5px 6px}#layout-editor-topbar .container-toolbar .layout-action-menu #layoutJumpListContainer .select2-selection{max-height:30px;padding-top:4px;padding-bottom:4px}",""])},23645:function(e){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var o=function(e,t){var o,n=e[1]||"",a=e[3];if(!a)return n;if(t&&"function"==typeof btoa){var r=(o=a,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */"),i=a.sources.map((function(e){return"/*# sourceURL="+a.sourceRoot+e+" */"}));return[n].concat(i).concat([r]).join("\n")}return[n].join("\n")}(t,e);return t[2]?"@media "+t[2]+"{"+o+"}":o})).join("")},t.i=function(e,o){"string"==typeof e&&(e=[[null,e,""]]);for(var n={},a=0;a<this.length;a++){var r=this[a][0];null!=r&&(n[r]=!0)}for(a=0;a<e.length;a++){var i=e[a];null!=i[0]&&n[i[0]]||(o&&!i[2]?i[2]=o:o&&(i[2]="("+i[2]+") and ("+o+")"),t.push(i))}},t}},54077:function(e){"use strict";e.exports=function(e,t){return"string"!=typeof e?e:(/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),/["'() \t\n]/.test(e)||t?'"'+e.replace(/"/g,'\\"').replace(/\n/g,"\\n")+'"':e)}},66933:function(e,t,o){e.exports=o.p+"fontawesome-webfont.674f50d287a8c48dc19ba404d20fe713.eot"},13816:function(e,t,o){e.exports=o.p+"fontawesome-webfont.674f50d287a8c48dc19ba404d20fe713.eot"},80018:function(e,t,o){e.exports=o.p+"fontawesome-webfont.912ec66d7572ff821749319396470bde.svg"},44133:function(e,t,o){e.exports=o.p+"fontawesome-webfont.b06871f281fee6b241d60582ae9369b9.ttf"},52884:function(e,t,o){e.exports=o.p+"fontawesome-webfont.af7ae505a9eed503f8b8e6982036873e.woff2"},71523:function(e,t,o){e.exports=o.p+"fontawesome-webfont.fee66e712a8a08eef5805a46892932ad.woff"},85637:function(e,t,o){var n=o(40202);e.exports=(n.default||n).template({compiler:[8,">= 4.3.0"],main:function(e,t,o,n,a){var r,i,l=e.lambda,s=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<button class="btn btn-success XiboFormButton d-none action-button-add" type="button" data-title="'+s(l(null!=(r=null!=(r=null!=t?c(t,"trans"):t)?c(r,"button"):r)?c(r,"description"):r,t))+'" href="'+s("function"==typeof(i=null!=(i=c(o,"addUrl")||(null!=t?c(t,"addUrl"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"addUrl",hash:{},data:a,loc:{start:{line:1,column:134},end:{line:1,column:144}}}):i)+'">\n <i class="fa fa-plus-circle" aria-hidden="true"></i> '+s(l(null!=(r=null!=(r=null!=t?c(t,"trans"):t)?c(r,"button"):r)?c(r,"name"):r,t))+"\n</button>"},useData:!0})},88943:function(e,t,o){var n=o(40202);e.exports=(n.default||n).template({compiler:[8,">= 4.3.0"],main:function(e,t,o,n,a){var r,i=e.lambda,l=e.escapeExpression,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="tab-pane" id="actionTab">\n <div class="XiboGrid" id="actions-container">\n <div class="XiboData pt-3">\n <table id="actions" class="table table-striped table-condensed w-100">\n <thead>\n <tr>\n <th>'+l(i(null!=(r=null!=(r=null!=t?s(t,"trans"):t)?s(r,"tableHeaders"):r)?s(r,"id"):r,t))+"</th>\n <th>"+l(i(null!=(r=null!=(r=null!=t?s(t,"trans"):t)?s(r,"tableHeaders"):r)?s(r,"ownerId"):r,t))+"</th>\n <th>"+l(i(null!=(r=null!=(r=null!=t?s(t,"trans"):t)?s(r,"tableHeaders"):r)?s(r,"triggerType"):r,t))+"</th>\n <th>"+l(i(null!=(r=null!=(r=null!=t?s(t,"trans"):t)?s(r,"tableHeaders"):r)?s(r,"triggerCode"):r,t))+"</th>\n <th>"+l(i(null!=(r=null!=(r=null!=t?s(t,"trans"):t)?s(r,"tableHeaders"):r)?s(r,"actionType"):r,t))+"</th>\n <th>"+l(i(null!=(r=null!=(r=null!=t?s(t,"trans"):t)?s(r,"tableHeaders"):r)?s(r,"target"):r,t))+"</th>\n <th>"+l(i(null!=(r=null!=(r=null!=t?s(t,"trans"):t)?s(r,"tableHeaders"):r)?s(r,"targetId"):r,t))+"</th>\n <th>"+l(i(null!=(r=null!=(r=null!=t?s(t,"trans"):t)?s(r,"tableHeaders"):r)?s(r,"widgetId"):r,t))+"</th>\n <th>"+l(i(null!=(r=null!=(r=null!=t?s(t,"trans"):t)?s(r,"tableHeaders"):r)?s(r,"layoutCode"):r,t))+"</th>\n <th></th>\n </tr>\n </thead>\n <tbody>\n\n </tbody>\n </table>\n </div>\n </div>\n</div>"},useData:!0})},8099:function(e,t,o){var n=o(40202);e.exports=(n.default||n).template({1:function(e,t,o,n,a){var r,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <button type="button" id="permissions-btn" class="properties-btn btn btn-sm" data-type="tool" data-property="Permissions" \n data-toggle="tooltip" data-container="#layout-editor-bottombar" data-placement="bottom" data-title="'+e.escapeExpression(e.lambda(null!=(r=null!=(r=null!=(r=null!=t?i(t,"trans"):t)?i(r,"tools"):r)?i(r,"permissions"):r)?i(r,"description"):r,t))+'">\n <i class="fa tool-icon-permissions card-icon"></i>\n </button>\n'},3:function(e,t,o,n,a){var r,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <button type="button" id="undo-btn" class="btn btn-sm" data-toggle="tooltip" data-container="#layout-editor-bottombar" data-placement="top"\n data-title="'+e.escapeExpression(e.lambda(null!=(r=null!=t?i(t,"trans"):t)?i(r,"undoActiveTitle"):r,t))+'">\n <i class="fa fa-undo"></i>\n </button>\n'},5:function(e,t,o,n,a){var r,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <button type="button" id="delete-btn" class="btn btn-sm" data-toggle="tooltip" data-container="#layout-editor-bottombar" data-placement="top"\n data-title="'+e.escapeExpression(e.lambda(null!=(r=null!=t?i(t,"trans"):t)?i(r,"trashBinActiveTitle"):r,t))+'">\n <i class="fa fa-trash"></i>\n </button>\n'},compiler:[8,">= 4.3.0"],main:function(e,t,o,n,a){var r,i=e.lambda,l=e.escapeExpression,s=null!=t?t:e.nullContext||{},c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<nav class="navbar navigator-navbar designer-'+l(i(null!=(r=null!=t?c(t,"element"):t)?c(r,"type"):r,t))+'">\n <div class="pull-left">\n <button type="button" id="add-btn" class="btn btn-sm" data-toggle="tooltip" data-container="#layout-editor-bottombar" data-placement="top"\n data-title="'+l(i(null!=(r=null!=t?c(t,"trans"):t)?c(r,"addRegionDesc"):r,t))+'">\n <i class="fa fa-plus"></i>\n </button>\n\n'+(null!=(r=c(o,"if").call(s,null!=(r=null!=t?c(t,"element"):t)?c(r,"isPermissionsModifiable"):r,{name:"if",hash:{},fn:e.program(1,a,0),inverse:e.noop,data:a,loc:{start:{line:8,column:8},end:{line:13,column:15}}}))?r:"")+' </div>\n\n <div class="pull-right">\n'+(null!=(r=c(o,"if").call(s,null!=t?c(t,"undoActive"):t,{name:"if",hash:{},fn:e.program(3,a,0),inverse:e.noop,data:a,loc:{start:{line:17,column:8},end:{line:22,column:15}}}))?r:"")+"\n"+(null!=(r=c(o,"if").call(s,null!=t?c(t,"trashActive"):t,{name:"if",hash:{},fn:e.program(5,a,0),inverse:e.noop,data:a,loc:{start:{line:24,column:8},end:{line:29,column:15}}}))?r:"")+" </div>\n</nav>"},useData:!0})},80939:function(e,t,o){var n=o(40202);e.exports=(n.default||n).template({1:function(e,t,o,n,a){var r,i=e.lambda,l=e.escapeExpression,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <button type="button" id="play-btn" class="btn btn-sm" data-toggle="tooltip" data-container="#layout-editor-bottombar" data-placement="top" data-title="'+l(i(null!=(r=null!=t?s(t,"trans"):t)?s(r,"playPreviewLayout"):r,t))+'">\n <i class="fa fa-play-circle" data-toggle="popover" title="'+l(i(null!=(r=null!=t?s(t,"trans"):t)?s(r,"playPreviewLayoutPOTitle"):r,t))+'" data-content="'+l(i(null!=(r=null!=t?s(t,"trans"):t)?s(r,"playPreviewLayoutPOMessage"):r,t))+'" data-placement="top"></i>\n </button>\n'+(null!=(r=s(o,"unless").call(null!=t?t:e.nullContext||{},null!=t?s(t,"readOnlyModeOn"):t,{name:"unless",hash:{},fn:e.program(2,a,0),inverse:e.noop,data:a,loc:{start:{line:8,column:12},end:{line:12,column:23}}}))?r:"")},2:function(e,t,o,n,a){var r,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <button type="button" id="navigator-edit-btn" class="btn btn-sm hide-on-fs" data-toggle="tooltip" data-container="#layout-editor-bottombar" data-placement="top" data-title="'+e.escapeExpression(e.lambda(null!=(r=null!=t?i(t,"trans"):t)?i(r,"editLayout"):r,t))+'">\n <i class="fa fa-edit"></i>\n </button>\n'},4:function(e,t,o,n,a){var r,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <button type="button" id="inline-editor-save" class="btn btn-sm" data-toggle="tooltip" data-container="#layout-editor-bottombar" data-placement="top"\n data-title="'+e.escapeExpression(e.lambda(null!=(r=null!=t?i(t,"trans"):t)?i(r,"saveEditorChanges"):r,t))+'">\n <i class="fa fa-save"></i>\n </button>\n'},6:function(e,t,n,a,r){var i,l,s=null!=t?t:e.nullContext||{},c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(i=c(n,"if").call(s,null!=(i=null!=t?c(t,"element"):t)?c(i,"isPermissionsModifiable"):i,{name:"if",hash:{},fn:e.program(7,r,0),inverse:e.noop,data:r,loc:{start:{line:21,column:12},end:{line:26,column:19}}}))?i:"")+"\n"+(null!=(i=(l=o(92110),l&&(l.__esModule?l.default:l)).call(s,null!=(i=null!=t?c(t,"element"):t)?c(i,"type"):i,"widget",{name:"eq",hash:{},fn:e.program(9,r,0),inverse:e.noop,data:r,loc:{start:{line:28,column:12},end:{line:52,column:19}}}))?i:"")},7:function(e,t,o,n,a){var r,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <button type="button" id="permissions-btn" class="properties-btn btn btn-sm" data-property="Permissions" \n data-toggle="tooltip" data-container="#layout-editor-bottombar" data-placement="top" data-title="'+e.escapeExpression(e.lambda(null!=(r=null!=(r=null!=(r=null!=t?i(t,"trans"):t)?i(r,"tools"):r)?i(r,"permissions"):r)?i(r,"description"):r,t))+'">\n <i class="fa tool-icon-permissions card-icon"></i>\n </button>\n'},9:function(e,t,o,n,a){var r,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(r=i(o,"if").call(null!=t?t:e.nullContext||{},null!=(r=null!=t?i(t,"element"):t)?i(r,"isEditable"):r,{name:"if",hash:{},fn:e.program(10,a,0),inverse:e.noop,data:a,loc:{start:{line:29,column:16},end:{line:51,column:23}}}))?r:""},10:function(e,t,o,n,a){var r,i=e.lambda,l=e.escapeExpression,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(r=s(o,"if").call(null!=t?t:e.nullContext||{},null!=(r=null!=t?s(t,"element"):t)?s(r,"canAttachAudio"):r,{name:"if",hash:{},fn:e.program(11,a,0),inverse:e.noop,data:a,loc:{start:{line:30,column:20},end:{line:35,column:27}}}))?r:"")+'\n <button type="button" id="expiry-btn" class="properties-btn btn btn-sm" data-property="Expiry" \n data-toggle="tooltip" data-container="#layout-editor-bottombar" data-placement="top" data-title="'+l(i(null!=(r=null!=(r=null!=(r=null!=t?s(t,"trans"):t)?s(r,"tools"):r)?s(r,"expiry"):r)?s(r,"description"):r,t))+'">\n <i class="fa tool-icon-expiry card-icon"></i>\n </button>\n\n <button type="button" id="transitionIn-btn" class="properties-btn btn btn-sm" data-property="Transition" data-property-type="in" \n data-toggle="tooltip" data-container="#layout-editor-bottombar" data-placement="top" data-title="'+l(i(null!=(r=null!=(r=null!=(r=null!=t?s(t,"trans"):t)?s(r,"tools"):r)?s(r,"transitionIn"):r)?s(r,"description"):r,t))+'">\n <i class="fa tool-icon-transitionIn card-icon"></i>\n </button>\n\n <button type="button" id="transitionOut-btn" class="properties-btn btn btn-sm" data-property="Transition" data-property-type="out" \n data-toggle="tooltip" data-container="#layout-editor-bottombar" data-placement="top" data-title="'+l(i(null!=(r=null!=(r=null!=(r=null!=t?s(t,"trans"):t)?s(r,"tools"):r)?s(r,"transitionOut"):r)?s(r,"description"):r,t))+'">\n <i class="fa tool-icon-transitionOut card-icon"></i>\n </button>\n'},11:function(e,t,o,n,a){var r,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <button type="button" id="audio-btn" class="properties-btn btn btn-sm" data-property="Audio" \n data-toggle="tooltip" data-container="#layout-editor-bottombar" data-placement="top" data-title="'+e.escapeExpression(e.lambda(null!=(r=null!=(r=null!=(r=null!=t?i(t,"trans"):t)?i(r,"tools"):r)?i(r,"audio"):r)?i(r,"description"):r,t))+'">\n <i class="fa tool-icon-audio card-icon"></i>\n </button>\n'},13:function(e,t,o,n,a){var r,i=null!=t?t:e.nullContext||{},l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(r=l(o,"if").call(i,null!=t?l(t,"undoActive"):t,{name:"if",hash:{},fn:e.program(14,a,0),inverse:e.noop,data:a,loc:{start:{line:59,column:12},end:{line:64,column:19}}}))?r:"")+"\n"+(null!=(r=l(o,"if").call(i,null!=t?l(t,"trashActive"):t,{name:"if",hash:{},fn:e.program(16,a,0),inverse:e.noop,data:a,loc:{start:{line:66,column:12},end:{line:71,column:19}}}))?r:"")},14:function(e,t,o,n,a){var r,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <button type="button" id="undo-btn" class="btn btn-sm" data-toggle="tooltip" data-container="#layout-editor-bottombar" data-placement="top"\n data-title="'+e.escapeExpression(e.lambda(null!=(r=null!=t?i(t,"trans"):t)?i(r,"undoActiveTitle"):r,t))+'">\n <i class="fa fa-undo"></i>\n </button>\n'},16:function(e,t,o,n,a){var r,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <button type="button" id="delete-btn" class="btn btn-sm" data-toggle="tooltip" data-container="#layout-editor-bottombar" data-placement="top"\n data-title="'+e.escapeExpression(e.lambda(null!=(r=null!=t?i(t,"trans"):t)?i(r,"trashBinActiveTitle"):r,t))+'">\n <i class="fa fa-trash"></i>\n </button>\n'},18:function(e,t,o,n,a){var r,i=e.lambda,l=e.escapeExpression,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div class="info d-inline">\n'+(null!=(r=s(o,"if").call(null!=t?t:e.nullContext||{},null!=t?s(t,"regionName"):t,{name:"if",hash:{},fn:e.program(19,a,0),inverse:e.noop,data:a,loc:{start:{line:79,column:16},end:{line:84,column:23}}}))?r:"")+' <span class="label-name align-middle d-inline-block">\n "'+l(i(null!=(r=null!=t?s(t,"extra"):t)?s(r,"moduleName"):r,t))+'" ('+l(i(null!=(r=null!=t?s(t,"extra"):t)?s(r,"type"):r,t))+')\n </span>\n <span class="label label-time align-middle d-inline-block pl-2">\n '+l(i(null!=(r=null!=t?s(t,"extra"):t)?s(r,"duration"):r,t))+" / "+l(i(null!=(r=null!=t?s(t,"extra"):t)?s(r,"regionDuration"):r,t))+"\n </span>\n </div>\n"},19:function(e,t,o,n,a){var r,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <span class="label-name align-middle d-inline-block">\n "'+e.escapeExpression("function"==typeof(r=null!=(r=i(o,"regionName")||(null!=t?i(t,"regionName"):t))?r:e.hooks.helperMissing)?r.call(null!=t?t:e.nullContext||{},{name:"regionName",hash:{},data:a,loc:{start:{line:81,column:25},end:{line:81,column:39}}}):r)+'"\n </span>\n <i class="fas fa-arrow-right align-middle"></i> \n'},21:function(e,t,o,n,a){var r,i=e.lambda,l=e.escapeExpression,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div class="info d-inline">\n <span class="label-name align-middle" title="'+l(i(null!=(r=null!=t?s(t,"element"):t)?s(r,"name"):r,t))+'">\n "'+l(i(null!=(r=null!=t?s(t,"element"):t)?s(r,"name"):r,t))+'" ('+l(i(null!=(r=null!=t?s(t,"element"):t)?s(r,"type"):r,t))+")\n </span>\n </div>\n"},23:function(e,t,o,n,a){var r,i,l=e.lambda,s=e.escapeExpression,c=null!=t?t:e.nullContext||{},d=e.hooks.helperMissing,f="function",u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <span class="paging d-inline pull-right">\n <button type="button" id="left-btn" class="btn btn-sm" data-toggle="tooltip" data-container="#layout-editor-bottombar" data-placement="top" data-title="'+s(l(null!=(r=null!=t?u(t,"trans"):t)?u(r,"previousWidget"):r,t))+'">\n <i class="fa fa-arrow-left"></i>\n </button>\n <span class="label align-middle">\n '+s(typeof(i=null!=(i=u(o,"currentItem")||(null!=t?u(t,"currentItem"):t))?i:d)===f?i.call(c,{name:"currentItem",hash:{},data:a,loc:{start:{line:107,column:20},end:{line:107,column:35}}}):i)+" / "+s(typeof(i=null!=(i=u(o,"totalItems")||(null!=t?u(t,"totalItems"):t))?i:d)===f?i.call(c,{name:"totalItems",hash:{},data:a,loc:{start:{line:107,column:38},end:{line:107,column:52}}}):i)+'\n </span>\n <button type="button" id="right-btn" class="btn btn-sm" data-toggle="tooltip" data-container="#layout-editor-bottombar" data-placement="top" data-title="'+s(l(null!=(r=null!=t?u(t,"trans"):t)?u(r,"nextWidget"):r,t))+'">\n <i class="fa fa-arrow-right"></i>\n </button>\n </span>\n'},compiler:[8,">= 4.3.0"],main:function(e,t,o,n,a){var r,i=null!=t?t:e.nullContext||{},l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<nav class="navbar viewer-navbar designer-'+e.escapeExpression(e.lambda(null!=(r=null!=t?l(t,"element"):t)?l(r,"type"):r,t))+'">\n <div class="pull-left">\n'+(null!=(r=l(o,"if").call(i,null!=t?l(t,"renderLayout"):t,{name:"if",hash:{},fn:e.program(1,a,0),inverse:e.program(4,a,0),data:a,loc:{start:{line:4,column:8},end:{line:18,column:15}}}))?r:"")+"\n"+(null!=(r=l(o,"unless").call(i,null!=t?l(t,"readOnlyModeOn"):t,{name:"unless",hash:{},fn:e.program(6,a,0),inverse:e.noop,data:a,loc:{start:{line:20,column:8},end:{line:53,column:19}}}))?r:"")+' </div>\n\n <div class="pull-right">\n'+(null!=(r=l(o,"unless").call(i,null!=t?l(t,"readOnlyModeOn"):t,{name:"unless",hash:{},fn:e.program(13,a,0),inverse:e.noop,data:a,loc:{start:{line:58,column:8},end:{line:72,column:19}}}))?r:"")+' </div>\n\n <div class="viewer-navbar-overlay">\n'+(null!=(r=l(o,"if").call(i,null!=t?l(t,"extra"):t,{name:"if",hash:{},fn:e.program(18,a,0),inverse:e.program(21,a,0),data:a,loc:{start:{line:77,column:8},end:{line:98,column:15}}}))?r:"")+"\n"+(null!=(r=l(o,"if").call(i,null!=t?l(t,"pagingEnable"):t,{name:"if",hash:{},fn:e.program(23,a,0),inverse:e.noop,data:a,loc:{start:{line:101,column:8},end:{line:113,column:15}}}))?r:"")+" </div>\n</nav>"},useData:!0})},77353:function(e,t,o){var n=o(40202);e.exports=(n.default||n).template({1:function(e,t,o,n,a){var r,i=e.lambda,l=e.escapeExpression,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div class="sort-controls-container">\n <div class="context-menu-btn" data-title="'+l(i(null!=(r=null!=t?s(t,"trans"):t)?s(r,"moveTopLeft"):r,t))+'" data-action="Move" data-action-type="topLeft" data-toggle="tooltip" data-container=".context-menu">\n <i class="fa fa-fast-backward"></i>\n </div>\n <div class="context-menu-btn" data-title="'+l(i(null!=(r=null!=t?s(t,"trans"):t)?s(r,"moveLeft"):r,t))+'" data-action="Move" data-action-type="oneLeft" data-toggle="tooltip" data-container=".context-menu">\n <i class="fa fa-backward"></i>\n </div>\n <div class="context-menu-btn" data-title="'+l(i(null!=(r=null!=t?s(t,"trans"):t)?s(r,"moveRight"):r,t))+'" data-action="Move" data-action-type="oneRight" data-toggle="tooltip" data-container=".context-menu">\n <i class="fa fa-forward"></i>\n </div>\n <div class="context-menu-btn" data-title="'+l(i(null!=(r=null!=t?s(t,"trans"):t)?s(r,"moveTopRight"):r,t))+'" data-action="Move" data-action-type="topRight" data-toggle="tooltip" data-container=".context-menu">\n <i class="fa fa-fast-forward"></i>\n </div>\n </div>\n'},3:function(e,t,o,n,a){var r,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(r=i(o,"if").call(null!=t?t:e.nullContext||{},null!=t?i(t,"isEditable"):t,{name:"if",hash:{},fn:e.program(4,a,0),inverse:e.noop,data:a,loc:{start:{line:22,column:16},end:{line:40,column:23}}}))?r:""},4:function(e,t,o,n,a){var r,i=e.lambda,l=e.escapeExpression,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(r=s(o,"if").call(null!=t?t:e.nullContext||{},null!=t?s(t,"canAttachAudio"):t,{name:"if",hash:{},fn:e.program(5,a,0),inverse:e.noop,data:a,loc:{start:{line:23,column:20},end:{line:27,column:27}}}))?r:"")+'\n <div class="context-menu-btn" data-title="'+l(i(null!=(r=null!=t?s(t,"trans"):t)?s(r,"editExpiry"):r,t))+'" data-property="Expiry" data-toggle="tooltip" data-container=".context-menu" data-placement="bottom">\n <i class="fa tool-icon-expiry"></i>\n </div>\n \n <div class="context-menu-btn" data-title="'+l(i(null!=(r=null!=t?s(t,"trans"):t)?s(r,"editTransIn"):r,t))+'" data-property="Transition" data-property-type="in" data-toggle="tooltip" data-container=".context-menu" data-placement="bottom">\n <i class="fa tool-icon-transitionIn"></i>\n </div>\n \n <div class="context-menu-btn" data-title="'+l(i(null!=(r=null!=t?s(t,"trans"):t)?s(r,"editTransOut"):r,t))+'" data-property="Transition" data-property-type="out" data-toggle="tooltip" data-container=".context-menu" data-placement="bottom">\n <i class="fa tool-icon-transitionOut"></i>\n </div>\n'},5:function(e,t,o,n,a){var r,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div class="context-menu-btn" data-title="'+e.escapeExpression(e.lambda(null!=(r=null!=t?i(t,"trans"):t)?i(r,"editAudio"):r,t))+'" data-property="Audio" data-toggle="tooltip" data-container=".context-menu" data-placement="bottom">\n <i class="fa tool-icon-audio"></i>\n </div>\n'},7:function(e,t,o,n,a){var r,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div class="context-menu-btn permissionsBtn" data-title="'+e.escapeExpression(e.lambda(null!=(r=null!=t?i(t,"trans"):t)?i(r,"editPermissions"):r,t))+'" data-property="Permissions" data-toggle="tooltip" data-container=".context-menu" data-placement="bottom">\n <i class="fa tool-icon-permissions"></i>\n </div>\n'},9:function(e,t,o,n,a){var r,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div class="context-menu-btn deleteBtn" data-title="'+e.escapeExpression(e.lambda(null!=(r=null!=t?i(t,"trans"):t)?i(r,"delete"):r,t))+'" data-action="Delete" data-toggle="tooltip" data-container=".context-menu" data-placement="bottom">\n <i class="fa fa-trash"></i>\n </div>\n'},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,r){var i,l,s,c=null!=t?t:e.nullContext||{},d=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="context-menu-overlay" oncontextmenu="return false">\n <div class="context-menu context-menu-'+e.escapeExpression("function"==typeof(l=null!=(l=d(n,"type")||(null!=t?d(t,"type"):t))?l:e.hooks.helperMissing)?l.call(c,{name:"type",hash:{},data:r,loc:{start:{line:2,column:42},end:{line:2,column:50}}}):l)+'">\n'+(null!=(i=d(n,"if").call(c,null!=t?d(t,"isSortable"):t,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r,loc:{start:{line:3,column:8},end:{line:18,column:15}}}))?i:"")+'\n <div class="main-button-container">\n'+(null!=(i=(s=o(92110),s&&(s.__esModule?s.default:s)).call(c,null!=t?d(t,"type"):t,"widget",{name:"eq",hash:{},fn:e.program(3,r,0),inverse:e.noop,data:r,loc:{start:{line:21,column:12},end:{line:41,column:19}}}))?i:"")+"\n"+(null!=(i=d(n,"if").call(c,null!=t?d(t,"isPermissionsModifiable"):t,{name:"if",hash:{},fn:e.program(7,r,0),inverse:e.noop,data:r,loc:{start:{line:43,column:12},end:{line:47,column:19}}}))?i:"")+"\n"+(null!=(i=d(n,"if").call(c,null!=t?d(t,"isDeletable"):t,{name:"if",hash:{},fn:e.program(9,r,0),inverse:e.noop,data:r,loc:{start:{line:49,column:12},end:{line:53,column:19}}}))?i:"")+" </div>\n </div>\n</div>"},useData:!0})},2928:function(e,t,o){var n=o(40202);e.exports=(n.default||n).template({1:function(e,t,o,n,a){var r,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(r=i(o,"if").call(null!=t?t:e.nullContext||{},null!=t?i(t,"showDeleteFromLibrary"):t,{name:"if",hash:{},fn:e.program(2,a,0),inverse:e.program(4,a,0),data:a,loc:{start:{line:7,column:8},end:{line:21,column:15}}}))?r:""},2:function(e,t,o,n,a){var r,i=e.lambda,l=e.escapeExpression,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div class="offset-sm-1 col-sm-10">\n <div class="form-check">\n <input class="form-check-input" type="checkbox" id="deleteMedia" name="deleteMedia">\n <label class="form-check-label" for="deleteMedia" title="'+l(i(null!=(r=null!=t?s(t,"trans"):t)?s(r,"deleteMediaFromLibraryTitle"):r,t))+'" accesskey="">\n '+l(i(null!=(r=null!=t?s(t,"trans"):t)?s(r,"deleteMediaFromLibraryTitle"):r,t))+'\n </label>\n </div>\n <small class="form-text text-muted">'+l(i(null!=(r=null!=t?s(t,"trans"):t)?s(r,"deleteMediaFromLibraryMessage"):r,t))+"</small>\n </div>\n"},4:function(e,t,o,n,a){var r,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div class="col-sm-12 ">\n <p>'+e.escapeExpression(e.lambda(null!=(r=null!=t?i(t,"trans"):t)?i(r,"infoDeleteMessage"):r,t))+"</p>\n </div>\n"},compiler:[8,">= 4.3.0"],main:function(e,t,o,n,a){var r,i,l=null!=t?t:e.nullContext||{},s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="elementDeleteModal container-fluid">\n <div class="col-sm-12 ">\n <p>'+e.escapeExpression("function"==typeof(i=null!=(i=s(o,"mainMessage")||(null!=t?s(t,"mainMessage"):t))?i:e.hooks.helperMissing)?i.call(l,{name:"mainMessage",hash:{},data:a,loc:{start:{line:3,column:11},end:{line:3,column:28}}}):i)+"</p>\n </div>\n\n"+(null!=(r=s(o,"if").call(l,null!=t?s(t,"hasMedia"):t,{name:"if",hash:{},fn:e.program(1,a,0),inverse:e.noop,data:a,loc:{start:{line:6,column:4},end:{line:22,column:11}}}))?r:"")+"</div>"},useData:!0})},63789:function(e,t,o){var n=o(40202);e.exports=(n.default||n).template({compiler:[8,">= 4.3.0"],main:function(e,t,o,n,a){var r,i,l=e.escapeExpression,s=e.lambda,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="back-button">\n <a id="backBtn" class="btn btn-primary" href="'+l("function"==typeof(i=null!=(i=c(o,"exitURL")||(null!=t?c(t,"exitURL"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"exitURL",hash:{},data:a,loc:{start:{line:2,column:50},end:{line:2,column:63}}}):i)+'">\n <i class="fa fa-angle-left"></i>\n <span>'+l(s(null!=(r=null!=t?c(t,"trans"):t)?c(r,"exit"):r,t))+'</span>\n </a>\n</div>\n\n<div id="layout-editor-topbar" class="editor-toolbar editor-top-bar">\n \x3c!--TOPBAR--\x3e\n</div>\n\n<div class="container-designer layout-editor-flex">\n <div class="flex-h flex-grow-0">\n <div id="layout-editor-toolbar" class="editor-toolbar editor-side-bar">\n \x3c!--TOOLBAR--\x3e\n </div>\n </div>\n\n <div class="flex-v justify-content-between min-fix">\n <div class="flex-h overflow-hidden">\n <div class="main-panel">\n <div id="layout-viewer-container">\n <div class="main-panel-wrapper">\n <div id="layout-viewer">\n \x3c!--VIEWER--\x3e\n </div>\n\n <div id="inline-editor-templates" class="inline-editor-opened"></div>\n\n <button type="button" id="fullscreenBtn" class="btn btn-sm btn-light" data-toggle="tooltip" data-placement="bottom"\n data-title="'+l(s(null!=(r=null!=t?c(t,"trans"):t)?c(r,"toggleFullscreen"):r,t))+'">\n <i class="fas fa-arrows-alt hide-on-fs"></i>\n <i class="fas fa-compress-arrows-alt show-on-fs"></i>\n </button>\n\n <button type="button" id="goBackBtn" class="btn btn-sm btn-light" data-toggle="tooltip" data-placement="bottom"\n data-title="'+l(s(null!=(r=null!=t?c(t,"trans"):t)?c(r,"backToLayout"):r,t))+'">\n <i class="fas fa-arrow-left"></i>\n </button>\n </div>\n </div>\n\n <div id="layout-navigator">\n <div class="main-panel-wrapper">\n <div id="layout-navigator-content">\n \x3c!--NAVIGATOR RENDER AREA--\x3e\n </div>\n\n <button type="button" id="fullscreenBtn" class="btn btn-sm btn-light" data-toggle="tooltip" data-placement="bottom"\n data-title="'+l(s(null!=(r=null!=t?c(t,"trans"):t)?c(r,"toggleFullscreen"):r,t))+'">\n <i class="fas fa-arrows-alt hide-on-fs"></i>\n <i class="fas fa-compress-arrows-alt show-on-fs"></i>\n </button>\n\n <button type="button" id="goBackBtn" class="btn btn-sm btn-light" data-toggle="tooltip" data-placement="bottom"\n data-title="'+l(s(null!=(r=null!=t?c(t,"trans"):t)?c(r,"backToLayout"):r,t))+'">\n <i class="fas fa-arrow-left hide-on-fs"></i>\n </button>\n </div>\n </div>\n <div id="layout-editor-bottombar" class="editor-toolbar editor-bottom-bar">\n \x3c!--BOTTOMBAR--\x3e\n </div>\n </div> \n\n <div class="properties-panel-container layout-module toggle-panel toggle-flex opened">\n <div class="toggle-container text-center">\n <div class="toggle">\n <i class="fa fa-chevron-left hide-closed"></i>\n <i class="fa fa-chevron-right hide-opened"></i>\n </div>\n </div>\n <div id="properties-panel" class="bootbox properties-panel">\n \x3c!--PROPERTIES PANEL--\x3e\n </div>\n </div>\n </div>\n\n <div class="flex-h flex-grow-0 toggle-flex">\n <div class="timeline-panel toggle-panel min-fix">\n <div class="">\n <div class="toggle-container text-center">\n <div class="toggle">\n <i class="fa fa-chevron-up hide-closed"></i>\n <i class="fa fa-chevron-down hide-opened"></i>\n </div>\n </div>\n <div class="flex-h">\n <div id="layout-timeline" class="flex-grow-1">\n \x3c!--TIMELINE--\x3e\n </div>\n\n <div id="actions-drawer" class="text-center flex-grow-0 hide-closed">\n \x3c!--ACTION DRAWER--\x3e\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n</div>\n\n<div id="layout-manager">\n \x3c!--MANAGER--\x3e\n</div>\n\n<div class="custom-overlay"></div>\n\n'},useData:!0})},73002:function(e,t,o){var n=o(40202);e.exports=(n.default||n).template({1:function(e,t,o,n,a){return"invalid-widget"},3:function(e,t,o,n,a){return"editable"},5:function(e,t,o,n,a){return"permissionsModifiable"},7:function(e,t,o,n,a){return"deletable"},9:function(e,t,o,n,a){return' <i class="fa fa-volume-up editProperty" data-property="Audio"></i>\n'},11:function(e,t,o,n,a){var r,i=e.lambda,l=e.escapeExpression,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <i class="fa fa-paper-plane editProperty tooltip-always-on" data-property="Action" data-content="tooltip" data-toggle="tooltip" data-placement="left" data-container="#actions-drawer" data-title="'+l(i(null!=(r=null!=t?s(t,"trans"):t)?s(r,"widgetActions"):r,t))+" "+l(i(null!=(r=null!=t?s(t,"actions"):t)?s(r,"length"):r,t))+'" ></i>\n'},13:function(e,t,o,n,a){var r,i=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,s="function",c=e.escapeExpression,d=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <i class="fa '+c(typeof(r=null!=(r=d(o,"expireStatusIcon")||(null!=t?d(t,"expireStatusIcon"):t))?r:l)===s?r.call(i,{name:"expireStatusIcon",hash:{},data:a,loc:{start:{line:25,column:25},end:{line:25,column:45}}}):r)+' editProperty tooltip-always-on" \n data-toggle="tooltip" \n data-placement="right" \n data-container="#actions-drawer" \n data-html="true" \n data-title="'+c(typeof(r=null!=(r=d(o,"expireStatusTitle")||(null!=t?d(t,"expireStatusTitle"):t))?r:l)===s?r.call(i,{name:"expireStatusTitle",hash:{},data:a,loc:{start:{line:30,column:24},end:{line:30,column:45}}}):r)+'"\n data-property="Expiry"></i>\n'},15:function(e,t,o,n,a){var r,i=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,s="function",c=e.escapeExpression,d=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <i class="fa fa-sign-'+c(typeof(r=null!=(r=d(o,"key")||a&&d(a,"key"))?r:l)===s?r.call(i,{name:"key",hash:{},data:a,loc:{start:{line:35,column:33},end:{line:35,column:41}}}):r)+' editProperty" data-property="Transition" data-property-type="'+c(typeof(r=null!=(r=d(o,"key")||a&&d(a,"key"))?r:l)===s?r.call(i,{name:"key",hash:{},data:a,loc:{start:{line:35,column:103},end:{line:35,column:111}}}):r)+'"></i>\n'},17:function(e,t,o,n,a){return"no-target"},19:function(e,t,o,n,a){var r,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <span class="info-text float-right mr-2">'+e.escapeExpression("function"==typeof(r=null!=(r=i(o,"targetRegionName")||(null!=t?i(t,"targetRegionName"):t))?r:e.hooks.helperMissing)?r.call(null!=t?t:e.nullContext||{},{name:"targetRegionName",hash:{},data:a,loc:{start:{line:42,column:53},end:{line:42,column:75}}}):r)+"</span>\n"},21:function(e,t,o,n,a){var r,i=e.lambda,l=e.escapeExpression,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <span class="info-text float-right mr-2" title="'+l(i(null!=(r=null!=t?s(t,"trans"):t)?s(r,"noTargetRegionHelp"):r,t))+'">'+l(i(null!=(r=null!=t?s(t,"trans"):t)?s(r,"noTargetRegion"):r,t))+"</span>\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,r){var i,l,s,c=null!=t?t:e.nullContext||{},d=e.hooks.helperMissing,f="function",u=e.escapeExpression,p=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div id="'+u(typeof(l=null!=(l=p(n,"id")||(null!=t?p(t,"id"):t))?l:d)===f?l.call(c,{name:"id",hash:{},data:r,loc:{start:{line:1,column:9},end:{line:1,column:17}}}):l)+'" data-type="widget" data-widget-id="'+u(typeof(l=null!=(l=p(n,"widgetId")||(null!=t?p(t,"widgetId"):t))?l:d)===f?l.call(c,{name:"widgetId",hash:{},data:r,loc:{start:{line:1,column:54},end:{line:1,column:68}}}):l)+'" data-widget-type="'+u(typeof(l=null!=(l=p(n,"subType")||(null!=t?p(t,"subType"):t))?l:d)===f?l.call(c,{name:"subType",hash:{},data:r,loc:{start:{line:1,column:88},end:{line:1,column:101}}}):l)+'" data-parent-type="drawer" data-widget-region="'+u(typeof(l=null!=(l=p(n,"regionId")||(null!=t?p(t,"regionId"):t))?l:d)===f?l.call(c,{name:"regionId",hash:{},data:r,loc:{start:{line:1,column:149},end:{line:1,column:163}}}):l)+'" class="designer-widget drawer-widget '+(null!=(i=p(n,"unless").call(c,null!=t?p(t,"isDrawerValid"):t,{name:"unless",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:202},end:{line:1,column:253}}}))?i:"")+" selectable "+u(typeof(l=null!=(l=p(n,"selectedFlag")||(null!=t?p(t,"selectedFlag"):t))?l:d)===f?l.call(c,{name:"selectedFlag",hash:{},data:r,loc:{start:{line:1,column:265},end:{line:1,column:281}}}):l)+" "+(null!=(i=p(n,"if").call(c,null!=t?p(t,"isEditable"):t,{name:"if",hash:{},fn:e.program(3,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:282},end:{line:1,column:315}}}))?i:"")+" "+(null!=(i=p(n,"if").call(c,null!=t?p(t,"isPermissionsModifiable"):t,{name:"if",hash:{},fn:e.program(5,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:316},end:{line:1,column:375}}}))?i:"")+" "+(null!=(i=p(n,"if").call(c,null!=t?p(t,"isDeletable"):t,{name:"if",hash:{},fn:e.program(7,r,0),inverse:e.noop,data:r,loc:{start:{line:1,column:376},end:{line:1,column:411}}}))?i:"")+'">\n <div class="widgetLabel timelineMediaItemColouringDefault timelineMediaItemColouring_'+u(typeof(l=null!=(l=p(n,"subType")||(null!=t?p(t,"subType"):t))?l:d)===f?l.call(c,{name:"subType",hash:{},data:r,loc:{start:{line:2,column:89},end:{line:2,column:102}}}):l)+" "+u(typeof(l=null!=(l=p(n,"widgetColouring")||(null!=t?p(t,"widgetColouring"):t))?l:d)===f?l.call(c,{name:"widgetColouring",hash:{},data:r,loc:{start:{line:2,column:103},end:{line:2,column:124}}}):l)+'">\n <div class="widgetSubType">\n <i class="fa module-icon-'+u(typeof(l=null!=(l=p(n,"subType")||(null!=t?p(t,"subType"):t))?l:d)===f?l.call(c,{name:"subType",hash:{},data:r,loc:{start:{line:4,column:37},end:{line:4,column:48}}}):l)+'" data-toggle="tooltip" data-placement="left" data-container="#actions-drawer" data-title="'+u(typeof(l=null!=(l=p(n,"moduleName")||(null!=t?p(t,"moduleName"):t))?l:d)===f?l.call(c,{name:"moduleName",hash:{},data:r,loc:{start:{line:4,column:139},end:{line:4,column:153}}}):l)+'"></i>\n </div>\n <div class="widgetDuration">\n '+u(typeof(l=null!=(l=p(n,"duration")||(null!=t?p(t,"duration"):t))?l:d)===f?l.call(c,{name:"duration",hash:{},data:r,loc:{start:{line:7,column:12},end:{line:7,column:26}}}):l)+'\n </div>\n </div>\n\n <div class="widgetName">\n <span class="tooltip-always-on" data-toggle="tooltip" data-placement="left" data-container="#actions-drawer" data-title="'+u(typeof(l=null!=(l=p(n,"widgetName")||(null!=t?p(t,"widgetName"):t))?l:d)===f?l.call(c,{name:"widgetName",hash:{},data:r,loc:{start:{line:12,column:129},end:{line:12,column:143}}}):l)+'">'+u(typeof(l=null!=(l=p(n,"widgetName")||(null!=t?p(t,"widgetName"):t))?l:d)===f?l.call(c,{name:"widgetName",hash:{},data:r,loc:{start:{line:12,column:145},end:{line:12,column:159}}}):l)+'</span>\n </div>\n\n <div class="widgetProperties">\n'+(null!=(i=p(n,"if").call(c,null!=t?p(t,"audio"):t,{name:"if",hash:{},fn:e.program(9,r,0),inverse:e.noop,data:r,loc:{start:{line:16,column:8},end:{line:18,column:15}}}))?i:"")+"\n"+(null!=(i=p(n,"if").call(c,null!=t?p(t,"actions"):t,{name:"if",hash:{},fn:e.program(11,r,0),inverse:e.noop,data:r,loc:{start:{line:20,column:8},end:{line:22,column:15}}}))?i:"")+"\n"+(null!=(i=(s=o(80274),s&&(s.__esModule?s.default:s)).call(c,null!=t?p(t,"expireStatus"):t,0,{name:"gt",hash:{},fn:e.program(13,r,0),inverse:e.noop,data:r,loc:{start:{line:24,column:8},end:{line:32,column:15}}}))?i:"")+"\n"+(null!=(i=p(n,"each").call(c,null!=t?p(t,"transitions"):t,{name:"each",hash:{},fn:e.program(15,r,0),inverse:e.noop,data:r,loc:{start:{line:34,column:8},end:{line:36,column:17}}}))?i:"")+' </div>\n\n <div class="targetInfo '+(null!=(i=p(n,"unless").call(c,null!=t?p(t,"targetRegionId"):t,{name:"unless",hash:{},fn:e.program(17,r,0),inverse:e.noop,data:r,loc:{start:{line:39,column:27},end:{line:39,column:73}}}))?i:"")+'">\n <i class="fa fa-bullseye float-right"></i>\n'+(null!=(i=p(n,"if").call(c,null!=t?p(t,"targetRegionId"):t,{name:"if",hash:{},fn:e.program(19,r,0),inverse:e.program(21,r,0),data:r,loc:{start:{line:41,column:8},end:{line:45,column:15}}}))?i:"")+" </div>\n</div>\n"},useData:!0})},20305:function(e,t,o){var n=o(40202);e.exports=(n.default||n).template({1:function(e,t,o,n,a){var r,i=null!=t?t:e.nullContext||{},l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div id="actions-drawer-empty-message" class="tooltip-always-on" \n data-toggle="tooltip" data-container=".timeline-panel" \n data-title="'+(null!=(r=l(o,"if").call(i,null!=t?l(t,"readOnlyModeOn"):t,{name:"if",hash:{},fn:e.program(2,a,0),inverse:e.program(4,a,0),data:a,loc:{start:{line:10,column:24},end:{line:10,column:114}}}))?r:"")+'">\n'+(null!=(r=l(o,"if").call(i,null!=t?l(t,"readOnlyModeOn"):t,{name:"if",hash:{},fn:e.program(6,a,0),inverse:e.program(8,a,0),data:a,loc:{start:{line:11,column:12},end:{line:15,column:19}}}))?r:"")+" </div>\n"},2:function(e,t,o,n,a){var r,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression(e.lambda(null!=(r=null!=t?i(t,"trans"):t)?i(r,"notInitEmptyDrawer"):r,t))},4:function(e,t,o,n,a){var r,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression(e.lambda(null!=(r=null!=t?i(t,"trans"):t)?i(r,"emptyDrawer"):r,t))},6:function(e,t,o,n,a){var r,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return" <div>"+e.escapeExpression(e.lambda(null!=(r=null!=t?i(t,"trans"):t)?i(r,"notInitEmptyDrawer"):r,t))+"</div>\n"},8:function(e,t,o,n,a){var r,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return" <div>"+e.escapeExpression(e.lambda(null!=(r=null!=t?i(t,"trans"):t)?i(r,"emptyDrawer"):r,t))+"</div>\n"},10:function(e,t,o,n,a,r,i){var l,s,c=null!=t?t:e.nullContext||{},d=e.escapeExpression,f=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div class="actions-drawer-controls">\n <div id="actions-drawer-search-bar">\n <i class="fa fa-search"></i>\n <input id="inputSearch" name="inputSearch" value="'+d("function"==typeof(s=null!=(s=f(o,"searchQuery")||(null!=t?f(t,"searchQuery"):t))?s:e.hooks.helperMissing)?s.call(c,{name:"searchQuery",hash:{},data:a,loc:{start:{line:21,column:66},end:{line:21,column:83}}}):s)+'" type="text" autoComplete="off" placeholder="'+d(e.lambda(null!=(l=null!=t?f(t,"trans"):t)?f(l,"search"):l,t))+'">\n </div>\n </div>\n\n <div id="actions-drawer-widgets">\n'+(null!=(l=f(o,"each").call(c,null!=t?f(t,"widgets"):t,{name:"each",hash:{},fn:e.program(11,a,0,r,i),inverse:e.noop,data:a,loc:{start:{line:27,column:12},end:{line:29,column:21}}}))?l:"")+" </div>\n"},11:function(e,t,n,a,r,i,l){var s,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(s=e.invokePartial(o(73002),t,{name:"drawer-widget",hash:{trans:null!=l[1]?c(l[1],"trans"):l[1]},data:r,indent:" ",helpers:n,partials:a,decorators:e.decorators}))?s:""},compiler:[8,">= 4.3.0"],main:function(e,t,o,n,a,r,i){var l,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div id="actions-drawer-toggle" class="btn btn-toggle"\n data-toggle="tooltip" data-container=".timeline-panel" data-title="'+e.escapeExpression(e.lambda(null!=(l=null!=t?s(t,"trans"):t)?s(l,"toggleDrawer"):l,t))+'">\n <i class="fa fa-inbox"></i>\n</div>\n\n<div id="actions-drawer-content" data-type="region" class="editable">\n'+(null!=(l=s(o,"if").call(null!=t?t:e.nullContext||{},null!=(l=null!=t?s(t,"drawer"):t)?s(l,"isEmpty"):l,{name:"if",hash:{},fn:e.program(1,a,0,r,i),inverse:e.program(10,a,0,r,i),data:a,loc:{start:{line:7,column:4},end:{line:31,column:11}}}))?l:"")+"</div>"},usePartial:!0,useData:!0,useDepths:!0})},99145:function(e,t,o){var n=o(40202);e.exports=(n.default||n).template({compiler:[8,">= 4.3.0"],main:function(e,t,o,n,a){return'<div class="loading-container">\n <div class="loading-icon">\n <i class="fa fa-spinner fa-spin"></i>\n </div>\n</div>'},useData:!0})},25847:function(e,t,o){var n=o(40202);e.exports=(n.default||n).template({1:function(e,t,o,n,a){return' <i class="fa fa-angle-up"></i>\n'},3:function(e,t,o,n,a){return' <i class="fa fa-angle-down"></i>\n'},5:function(e,t,o,n,a){var r,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div id="layout-manager-container">\n \x3c!-- Changes --\x3e\n'+(null!=(r=i(o,"each").call(null!=t?t:e.nullContext||{},null!=t?i(t,"changeHistory"):t,{name:"each",hash:{},fn:e.program(6,a,0),inverse:e.noop,data:a,loc:{start:{line:19,column:8},end:{line:23,column:17}}}))?r:"")+" </div>\n"},6:function(e,t,o,n,a){var r,i,l=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,c="function",d=e.escapeExpression,f=e.lambda,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div class="change '+(null!=(r=u(o,"if").call(l,null!=t?u(t,"uploaded"):t,{name:"if",hash:{},fn:e.program(7,a,0),inverse:e.noop,data:a,loc:{start:{line:20,column:31},end:{line:20,column:62}}}))?r:"")+'">\n <strong>['+d(typeof(i=null!=(i=u(o,"id")||(null!=t?u(t,"id"):t))?i:s)===c?i.call(l,{name:"id",hash:{},data:a,loc:{start:{line:21,column:25},end:{line:21,column:31}}}):i)+"]</strong> "+d(f(null!=(r=null!=t?u(t,"target"):t)?u(r,"type"):r,t))+"("+d(f(null!=(r=null!=t?u(t,"target"):t)?u(r,"id"):r,t))+") : "+d(typeof(i=null!=(i=u(o,"type")||(null!=t?u(t,"type"):t))?i:s)===c?i.call(l,{name:"type",hash:{},data:a,loc:{start:{line:21,column:75},end:{line:21,column:83}}}):i)+"\n </div>\n"},7:function(e,t,o,n,a){return"uploaded"},compiler:[8,">= 4.3.0"],main:function(e,t,o,n,a){var r,i=null!=t?t:e.nullContext||{},l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'\n<div id="layout-manager-header" class="text-center">\n <div class="title">\n History\n'+(null!=(r=l(o,"if").call(i,null!=t?l(t,"extended"):t,{name:"if",hash:{},fn:e.program(1,a,0),inverse:e.program(3,a,0),data:a,loc:{start:{line:5,column:8},end:{line:9,column:15}}}))?r:"")+' </div>\n \x3c!-- Labels --\x3e\n <div class="change label">Change</div>\n <div class="change label uploaded">Uploaded</div>\n</div>\n\n'+(null!=(r=l(o,"if").call(i,null!=t?l(t,"extended"):t,{name:"if",hash:{},fn:e.program(5,a,0),inverse:e.noop,data:a,loc:{start:{line:16,column:0},end:{line:25,column:7}}}))?r:"")},useData:!0})},4944:function(e,t,o){var n=o(40202);e.exports=(n.default||n).template({1:function(e,t,o,n,a){var r,i=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,s="function",c=e.escapeExpression,d=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div class="alert alert-'+c(typeof(r=null!=(r=d(o,"messageType")||(null!=t?d(t,"messageType"):t))?r:l)===s?r.call(i,{name:"messageType",hash:{},data:a,loc:{start:{line:2,column:28},end:{line:2,column:45}}}):r)+'">\n <strong>'+c(typeof(r=null!=(r=d(o,"messageTitle")||(null!=t?d(t,"messageTitle"):t))?r:l)===s?r.call(i,{name:"messageTitle",hash:{},data:a,loc:{start:{line:3,column:16},end:{line:3,column:34}}}):r)+"</strong> "+c(typeof(r=null!=(r=d(o,"messageDescription")||(null!=t?d(t,"messageDescription"):t))?r:l)===s?r.call(i,{name:"messageDescription",hash:{},data:a,loc:{start:{line:3,column:44},end:{line:3,column:68}}}):r)+"\n </div>\n"},compiler:[8,">= 4.3.0"],main:function(e,t,o,n,a){var r,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(r=i(o,"if").call(null!=t?t:e.nullContext||{},null!=t?i(t,"messageDescription"):t,{name:"if",hash:{},fn:e.program(1,a,0),inverse:e.noop,data:a,loc:{start:{line:1,column:0},end:{line:5,column:7}}}))?r:""},useData:!0})},67638:function(e,t,o){var n=o(40202);e.exports=(n.default||n).template({1:function(e,t,n,a,r){var i;return null!=(i=e.invokePartial(o(90118),t,{name:"navigator-region",data:r,indent:" ",helpers:n,partials:a,decorators:e.decorators}))?i:""},compiler:[8,">= 4.3.0"],main:function(e,t,o,n,a){var r,i,l=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,c="function",d=e.escapeExpression,f=e.lambda,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div id="'+d(typeof(i=null!=(i=u(o,"id")||(null!=t?u(t,"id"):t))?i:s)===c?i.call(l,{name:"id",hash:{},data:a,loc:{start:{line:1,column:9},end:{line:1,column:17}}}):i)+'" data-type="layout" class="layout selectable editable" style="position:relative; \n width: '+d(f(null!=(r=null!=t?u(t,"scaledDimensions"):t)?u(r,"width"):r,t))+"px; \n height: "+d(f(null!=(r=null!=t?u(t,"scaledDimensions"):t)?u(r,"height"):r,t))+"px; \n top: "+d(f(null!=(r=null!=t?u(t,"scaledDimensions"):t)?u(r,"top"):r,t))+"px;\n left: "+d(f(null!=(r=null!=t?u(t,"scaledDimensions"):t)?u(r,"left"):r,t))+"px;\n background: "+d(typeof(i=null!=(i=u(o,"calculatedBackground")||(null!=t?u(t,"calculatedBackground"):t))?i:s)===c?i.call(l,{name:"calculatedBackground",hash:{},data:a,loc:{start:{line:6,column:20},end:{line:6,column:46}}}):i)+';">\n <div id="regions">\n'+(null!=(r=u(o,"each").call(l,null!=t?u(t,"regions"):t,{name:"each",hash:{},fn:e.program(1,a,0),inverse:e.noop,data:a,loc:{start:{line:8,column:8},end:{line:10,column:17}}}))?r:"")+" </div>\n</div>"},usePartial:!0,useData:!0})},90118:function(e,t,o){var n=o(40202);e.exports=(n.default||n).template({1:function(e,t,o,n,a){return"editable"},3:function(e,t,o,n,a){return"permissionsModifiable"},5:function(e,t,o,n,a){return"deletable"},compiler:[8,">= 4.3.0"],main:function(e,t,o,n,a){var r,i,l=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,c="function",d=e.escapeExpression,f=e.lambda,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div id="'+d(typeof(i=null!=(i=u(o,"id")||(null!=t?u(t,"id"):t))?i:s)===c?i.call(l,{name:"id",hash:{},data:a,loc:{start:{line:1,column:9},end:{line:1,column:15}}}):i)+'" data-type="region" class="designer-region selectable tooltip-always-on '+d(typeof(i=null!=(i=u(o,"selectedFlag")||(null!=t?u(t,"selectedFlag"):t))?i:s)===c?i.call(l,{name:"selectedFlag",hash:{},data:a,loc:{start:{line:1,column:88},end:{line:1,column:104}}}):i)+" "+(null!=(r=u(o,"if").call(l,null!=t?u(t,"isEditable"):t,{name:"if",hash:{},fn:e.program(1,a,0),inverse:e.noop,data:a,loc:{start:{line:1,column:105},end:{line:1,column:138}}}))?r:"")+" "+(null!=(r=u(o,"if").call(l,null!=t?u(t,"isPermissionsModifiable"):t,{name:"if",hash:{},fn:e.program(3,a,0),inverse:e.noop,data:a,loc:{start:{line:1,column:139},end:{line:1,column:198}}}))?r:"")+" "+(null!=(r=u(o,"if").call(l,null!=t?u(t,"isDeletable"):t,{name:"if",hash:{},fn:e.program(5,a,0),inverse:e.noop,data:a,loc:{start:{line:1,column:199},end:{line:1,column:234}}}))?r:"")+'" data-region-id="'+d(typeof(i=null!=(i=u(o,"id")||(null!=t?u(t,"id"):t))?i:s)===c?i.call(l,{name:"id",hash:{},data:a,loc:{start:{line:1,column:252},end:{line:1,column:258}}}):i)+'" data-toggle="tooltip" data-container="#layout-navigator-content" data-title="'+d(typeof(i=null!=(i=u(o,"name")||(null!=t?u(t,"name"):t))?i:s)===c?i.call(l,{name:"name",hash:{},data:a,loc:{start:{line:1,column:337},end:{line:1,column:345}}}):i)+'" style="position:absolute; \n width: '+d(f(null!=(r=null!=t?u(t,"scaledDimensions"):t)?u(r,"width"):r,t))+"px; \n height: "+d(f(null!=(r=null!=t?u(t,"scaledDimensions"):t)?u(r,"height"):r,t))+"px;\n z-index: "+d(typeof(i=null!=(i=u(o,"zIndex")||(null!=t?u(t,"zIndex"):t))?i:s)===c?i.call(l,{name:"zIndex",hash:{},data:a,loc:{start:{line:4,column:17},end:{line:4,column:29}}}):i)+";\n top: "+d(f(null!=(r=null!=t?u(t,"scaledDimensions"):t)?u(r,"top"):r,t))+"px;\n left: "+d(f(null!=(r=null!=t?u(t,"scaledDimensions"):t)?u(r,"left"):r,t))+"px;\n background: "+d(typeof(i=null!=(i=u(o,"backgroundColor")||(null!=t?u(t,"backgroundColor"):t))?i:s)===c?i.call(l,{name:"backgroundColor",hash:{},data:a,loc:{start:{line:7,column:20},end:{line:7,column:41}}}):i)+';">\n</div>'},useData:!0})},6173:function(e,t,o){var n=o(40202);e.exports=(n.default||n).template({compiler:[8,">= 4.3.0"],main:function(e,t,o,n,a){var r,i=e.lambda,l=e.escapeExpression,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="form-inline form-editor-controls form-editor-controls-dimensions d-none">\n <div class="form-group">\n <label class="font-weight-bold control-label mr-1" for="editorWidth">'+l(i(null!=(r=null!=t?s(t,"trans"):t)?s(r,"width"):r,t))+'</label>\n <input type="number" class="form-control text_editor_width" id="editorWidth">\n </div>\n <div class="form-group">\n <label class="font-weight-bold control-label mr-1" for="editorHeight">'+l(i(null!=(r=null!=t?s(t,"trans"):t)?s(r,"height"):r,t))+'</label>\n <input type="number" class="form-control text_editor_height" id="editorHeight">\n </div>\n <div class="form-group">\n <label class="font-weight-bold control-label mr-1" for="editorScale">'+l(i(null!=(r=null!=t?s(t,"trans"):t)?s(r,"scale"):r,t))+'</label>\n <input type="checkbox" class="form-control text_editor_scale" id="editorScale" checked>\n </div>\n</div>'},useData:!0})},34089:function(e,t,o){var n=o(40202);e.exports=(n.default||n).template({compiler:[8,">= 4.3.0"],main:function(e,t,o,n,a){var r,i=e.lambda,l=e.escapeExpression,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="form-inline form-editor-controls form-editor-controls-target-region">\n <div class="form-group w-100">\n <label class="w-25 d-block text-right px-2 control-label" for="drawerWidgetTargetRegion" accesskey="">'+l(i(null!=(r=null!=t?s(t,"trans"):t)?s(r,"targetDrawer"):r,t))+'</label>\n <div class="w-75">\n <select class="form-control w-100" name="drawerWidgetTargetRegion" id="drawerWidgetTargetRegion">\n <option value="" class="default-option">'+l(i(null!=(r=null!=t?s(t,"trans"):t)?s(r,"selectATarget"):r,t))+"</option>\n </select>\n </div>\n </div>\n</div>"},useData:!0})},27527:function(e,t,o){var n=o(40202);e.exports=(n.default||n).template({compiler:[8,">= 4.3.0"],main:function(e,t,o,n,a){var r,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="message-container bg-white h-100 p-3">\n <div class="alert alert-danger h4 m-0 py-4 text-center">\n '+e.escapeExpression("function"==typeof(r=null!=(r=i(o,"message")||(null!=t?i(t,"message"):t))?r:e.hooks.helperMissing)?r.call(null!=t?t:e.nullContext||{},{name:"message",hash:{},data:a,loc:{start:{line:3,column:8},end:{line:3,column:21}}}):r)+"\n </div>\n</div>"},useData:!0})},62224:function(e,t,o){var n=o(40202);e.exports=(n.default||n).template({1:function(e,t,n,a,r){var i,l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(i=e.invokePartial(o(34089),t,{name:"properties-panel-editor-controls-target-region",hash:{trans:null!=t?l(t,"trans"):t},data:r,indent:" ",helpers:n,partials:a,decorators:e.decorators}))?i:""},3:function(e,t,o,n,a){var r,i=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,s="function",c=e.escapeExpression,d=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <button type="button" id="'+c(typeof(r=null!=(r=d(o,"key")||a&&d(a,"key"))?r:l)===s?r.call(i,{name:"key",hash:{},data:a,loc:{start:{line:19,column:38},end:{line:19,column:46}}}):r)+'" data-action="'+c(typeof(r=null!=(r=d(o,"action")||(null!=t?d(t,"action"):t))?r:l)===s?r.call(i,{name:"action",hash:{},data:a,loc:{start:{line:19,column:61},end:{line:19,column:71}}}):r)+'" data-sub-action="'+c(typeof(r=null!=(r=d(o,"subAction")||(null!=t?d(t,"subAction"):t))?r:l)===s?r.call(i,{name:"subAction",hash:{},data:a,loc:{start:{line:19,column:90},end:{line:19,column:103}}}):r)+'" onclick="'+c(typeof(r=null!=(r=d(o,"click")||(null!=t?d(t,"click"):t))?r:l)===s?r.call(i,{name:"click",hash:{},data:a,loc:{start:{line:19,column:114},end:{line:19,column:123}}}):r)+'" class="properties-panel-btn btn '+c(typeof(r=null!=(r=d(o,"type")||(null!=t?d(t,"type"):t))?r:l)===s?r.call(i,{name:"type",hash:{},data:a,loc:{start:{line:19,column:157},end:{line:19,column:165}}}):r)+'">'+c(typeof(r=null!=(r=d(o,"name")||(null!=t?d(t,"name"):t))?r:l)===s?r.call(i,{name:"name",hash:{},data:a,loc:{start:{line:19,column:167},end:{line:19,column:175}}}):r)+"</button>\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,a,r){var i,l,s=null!=t?t:e.nullContext||{},c=e.hooks.helperMissing,d="function",f=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div id="properties-panel-container" class="properties-'+f(typeof(l=null!=(l=u(n,"style")||(null!=t?u(t,"style"):t))?l:c)===d?l.call(s,{name:"style",hash:{},data:r,loc:{start:{line:1,column:55},end:{line:1,column:64}}}):l)+'">\n\n <div class="form-title form-title-'+f(typeof(l=null!=(l=u(n,"style")||(null!=t?u(t,"style"):t))?l:c)===d?l.call(s,{name:"style",hash:{},data:r,loc:{start:{line:3,column:38},end:{line:3,column:47}}}):l)+'">\n '+f(typeof(l=null!=(l=u(n,"header")||(null!=t?u(t,"header"):t))?l:c)===d?l.call(s,{name:"header",hash:{},data:r,loc:{start:{line:4,column:8},end:{line:4,column:18}}}):l)+"\n </div>\n\n"+(null!=(i=u(n,"if").call(s,null!=t?u(t,"isDrawerWidget"):t,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r,loc:{start:{line:7,column:4},end:{line:9,column:11}}}))?i:"")+"\n"+(null!=(i=e.invokePartial(o(6173),t,{name:"properties-panel-editor-controls-dimensions",hash:{trans:null!=t?u(t,"trans"):t},data:r,indent:" ",helpers:n,partials:a,decorators:e.decorators}))?i:"")+'\n <div class="form-container">\n '+(null!=(i=typeof(l=null!=(l=u(n,"form")||(null!=t?u(t,"form"):t))?l:c)===d?l.call(s,{name:"form",hash:{},data:r,loc:{start:{line:14,column:8},end:{line:14,column:18}}}):l)?i:"")+'\n </div>\n\n <div class="button-container text-right">\n'+(null!=(i=u(n,"each").call(s,null!=t?u(t,"buttons"):t,{name:"each",hash:{},fn:e.program(3,r,0),inverse:e.noop,data:r,loc:{start:{line:18,column:8},end:{line:20,column:17}}}))?i:"")+" </div>\n</div>"},usePartial:!0,useData:!0})},68029:function(e,t,o){var n=o(40202);e.exports=(n.default||n).template({1:function(e,t,o,n,a){return"lightMode"},compiler:[8,">= 4.3.0"],main:function(e,t,o,n,a){var r,i,l=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,c="function",d=e.escapeExpression,f=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div id="'+d(typeof(i=null!=(i=f(o,"id")||(null!=t?f(t,"id"):t))?i:s)===c?i.call(l,{name:"id",hash:{},data:a,loc:{start:{line:1,column:9},end:{line:1,column:17}}}):i)+'" data-type="widget" class="designer-widget designer-widget-ghost '+(null!=(r=f(o,"if").call(l,null!=t?f(t,"hideDetails"):t,{name:"if",hash:{},fn:e.program(1,a,0),inverse:e.noop,data:a,loc:{start:{line:1,column:83},end:{line:1,column:118}}}))?r:"")+'" style="\nwidth: '+d(typeof(i=null!=(i=f(o,"durationPercentage")||(null!=t?f(t,"durationPercentage"):t))?i:s)===c?i.call(l,{name:"durationPercentage",hash:{},data:a,loc:{start:{line:2,column:7},end:{line:2,column:31}}}):i)+'%;">\n <span class="widgetSubType tooltip-always-on" data-toggle="tooltip" data-container="#layout-timeline" data-title="'+d(typeof(i=null!=(i=f(o,"moduleName")||(null!=t?f(t,"moduleName"):t))?i:s)===c?i.call(l,{name:"moduleName",hash:{},data:a,loc:{start:{line:3,column:118},end:{line:3,column:132}}}):i)+'">\n <i class="fa module-icon-'+d(typeof(i=null!=(i=f(o,"subType")||(null!=t?f(t,"subType"):t))?i:s)===c?i.call(l,{name:"subType",hash:{},data:a,loc:{start:{line:4,column:33},end:{line:4,column:44}}}):i)+'"></i>\n </span>\n \n <span class="widgetName tooltip-always-on" data-toggle="tooltip" data-container="#layout-timeline" data-title="'+d(typeof(i=null!=(i=f(o,"widgetName")||(null!=t?f(t,"widgetName"):t))?i:s)===c?i.call(l,{name:"widgetName",hash:{},data:a,loc:{start:{line:7,column:115},end:{line:7,column:129}}}):i)+'">\n '+d(typeof(i=null!=(i=f(o,"widgetName")||(null!=t?f(t,"widgetName"):t))?i:s)===c?i.call(l,{name:"widgetName",hash:{},data:a,loc:{start:{line:8,column:8},end:{line:8,column:22}}}):i)+"\n </span>\n</div>\n\n"},useData:!0})},90447:function(e,t,o){var n=o(40202);e.exports=(n.default||n).template({1:function(e,t,o,n,a){var r,i=e.lambda,l=e.escapeExpression,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div class="region-actions">\n <a class="edit-region">\n <i class="fa fa-edit" data-content="tooltip" data-toggle="tooltip" data-placement="right" data-title="'+l(i(null!=(r=null!=t?s(t,"trans"):t)?s(r,"editRegion"):r,t))+'"></i>\n </a>\n <a class="open-playlist-editor">\n <i class="fa fa-list" data-content="tooltip" data-toggle="tooltip" data-placement="right" data-title="'+l(i(null!=(r=null!=t?s(t,"trans"):t)?s(r,"openRegionAsPlaylist"):r,t))+'"></i>\n </a>\n'+(null!=(r=s(o,"if").call(null!=t?t:e.nullContext||{},null!=t?s(t,"actions"):t,{name:"if",hash:{},fn:e.program(2,a,0),inverse:e.noop,data:a,loc:{start:{line:34,column:16},end:{line:38,column:23}}}))?r:"")+" </div>\n"},2:function(e,t,o,n,a){var r,i=e.lambda,l=e.escapeExpression,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <a class="open-region-actions">\n <i class="fa fa-paper-plane tooltip-always-on" data-content="tooltip" data-toggle="tooltip" data-placement="right" data-title="'+l(i(null!=(r=null!=t?s(t,"trans"):t)?s(r,"regionActions"):r,t))+" "+l(i(null!=(r=null!=t?s(t,"actions"):t)?s(r,"length"):r,t))+'" ></i>\n </a>\n'},compiler:[8,">= 4.3.0"],main:function(e,t,o,n,a){var r,i,l=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,c="function",d=e.escapeExpression,f=e.lambda,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div id="region_info_'+d(typeof(i=null!=(i=u(o,"id")||(null!=t?u(t,"id"):t))?i:s)===c?i.call(l,{name:"id",hash:{},data:a,loc:{start:{line:1,column:21},end:{line:1,column:29}}}):i)+'" data-region="'+d(typeof(i=null!=(i=u(o,"id")||(null!=t?u(t,"id"):t))?i:s)===c?i.call(l,{name:"id",hash:{},data:a,loc:{start:{line:1,column:44},end:{line:1,column:52}}}):i)+'" data-playlist-id="'+d(f(null!=(r=null!=t?u(t,"playlists"):t)?u(r,"playlistId"):r,t))+'" class="designer-region-info '+d(typeof(i=null!=(i=u(o,"selectedFlag")||(null!=t?u(t,"selectedFlag"):t))?i:s)===c?i.call(l,{name:"selectedFlag",hash:{},data:a,loc:{start:{line:1,column:126},end:{line:1,column:142}}}):i)+'">\n <div class="region-preview">\n <div class="region-preview-background"\n style="\n width: '+d(f(null!=(r=null!=t?u(t,"timelinePreviewContainer"):t)?u(r,"width"):r,t))+"px;\n height: "+d(f(null!=(r=null!=t?u(t,"timelinePreviewContainer"):t)?u(r,"height"):r,t))+"px;\n top: "+d(f(null!=(r=null!=t?u(t,"timelinePreviewContainer"):t)?u(r,"top"):r,t))+"px;\n left: "+d(f(null!=(r=null!=t?u(t,"timelinePreviewContainer"):t)?u(r,"left"):r,t))+'px;">\n\n <div class="region-preview-element"\n style="\n width: '+d(f(null!=(r=null!=t?u(t,"timelinePreview"):t)?u(r,"width"):r,t))+"px;\n height: "+d(f(null!=(r=null!=t?u(t,"timelinePreview"):t)?u(r,"height"):r,t))+"px;\n top: "+d(f(null!=(r=null!=t?u(t,"timelinePreview"):t)?u(r,"top"):r,t))+"px;\n left: "+d(f(null!=(r=null!=t?u(t,"timelinePreview"):t)?u(r,"left"):r,t))+'px;">\n </div>\n </div>\n </div>\n\n <div class="region-controls">\n <div class="region-label">\n '+d(typeof(i=null!=(i=u(o,"name")||(null!=t?u(t,"name"):t))?i:s)===c?i.call(l,{name:"name",hash:{},data:a,loc:{start:{line:24,column:12},end:{line:24,column:22}}}):i)+"\n </div>\n"+(null!=(r=u(o,"unless").call(l,null!=t?u(t,"readOnlyModeOn"):t,{name:"unless",hash:{},fn:e.program(1,a,0),inverse:e.noop,data:a,loc:{start:{line:26,column:8},end:{line:40,column:19}}}))?r:"")+" </div>\n</div>"},useData:!0})},59309:function(e,t,o){var n=o(40202);e.exports=(n.default||n).template({1:function(e,t,o,n,a){return"editable"},3:function(e,t,o,n,a){return"permissionsModifiable"},5:function(e,t,o,n,a){return'\n <div class="message">\n <i class="fa fa-search-plus"></i>\n <span>Zoom in to see/edit region</span>\n </div>\n'},7:function(e,t,o,n,a,r,i){var l,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(l=s(o,"if").call(null!=t?t:e.nullContext||{},null!=t?s(t,"isEmpty"):t,{name:"if",hash:{},fn:e.program(8,a,0,r,i),inverse:e.program(10,a,0,r,i),data:a,loc:{start:{line:7,column:4},end:{line:31,column:4}}}))?l:""},8:function(e,t,o,n,a){var r,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div class="message">\n <span>'+e.escapeExpression(e.lambda(null!=(r=null!=t?i(t,"trans"):t)?i(r,"emptyRegion"):r,t))+"</span>\n </div>\n"},10:function(e,t,o,n,a,r,i){var l,s=null!=t?t:e.nullContext||{},c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(l=c(o,"each").call(s,null!=t?c(t,"widgets"):t,{name:"each",hash:{},fn:e.program(11,a,0,r,i),inverse:e.noop,data:a,loc:{start:{line:13,column:8},end:{line:15,column:17}}}))?l:"")+" \n"+(null!=(l=c(o,"if").call(s,null!=t?c(t,"loop"):t,{name:"if",hash:{},fn:e.program(13,a,0,r,i),inverse:e.noop,data:a,loc:{start:{line:17,column:8},end:{line:30,column:15}}}))?l:"")+" "},11:function(e,t,n,a,r,i,l){var s,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(s=e.invokePartial(o(37642),t,{name:"timeline-widget",hash:{trans:null!=l[1]?c(l[1],"trans"):l[1]},data:r,indent:" ",helpers:n,partials:a,decorators:e.decorators}))?s:""},13:function(e,t,o,n,a){var r,i=null!=t?t:e.nullContext||{},l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return" \n"+(null!=(r=l(o,"if").call(i,null!=t?l(t,"ghostWidgetsHavePadding"):t,{name:"if",hash:{},fn:e.program(14,a,0),inverse:e.noop,data:a,loc:{start:{line:20,column:12},end:{line:24,column:19}}}))?r:"")+" \n"+(null!=(r=l(o,"each").call(i,null!=t?l(t,"ghostWidgetsObject"):t,{name:"each",hash:{},fn:e.program(16,a,0),inverse:e.noop,data:a,loc:{start:{line:27,column:12},end:{line:29,column:21}}}))?r:"")},14:function(e,t,o,n,a){var r,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div class="ghost-padding" style="\n width: '+e.escapeExpression("function"==typeof(r=null!=(r=i(o,"ghostWidgetsPadding")||(null!=t?i(t,"ghostWidgetsPadding"):t))?r:e.hooks.helperMissing)?r.call(null!=t?t:e.nullContext||{},{name:"ghostWidgetsPadding",hash:{},data:a,loc:{start:{line:22,column:35},end:{line:22,column:60}}}):r)+'%;">\n </div>\n'},16:function(e,t,n,a,r){var i;return null!=(i=e.invokePartial(o(68029),t,{name:"timeline-ghost-widget",data:r,indent:" ",helpers:n,partials:a,decorators:e.decorators}))?i:""},18:function(e,t,o,n,a,r,i){var l,s,c=null!=t?t:e.nullContext||{},d=e.hooks.helperMissing,f="function",u=e.escapeExpression,p=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div class="designer-region-overlay-step"\n data-position="'+u(typeof(s=null!=(s=p(o,"index")||a&&p(a,"index"))?s:d)===f?s.call(c,{name:"index",hash:{},data:a,loc:{start:{line:36,column:31},end:{line:36,column:41}}}):s)+'"\n data-toggle="tooltip" data-container="#layout-timeline"\n data-title="'+u(e.lambda(null!=(l=null!=i[1]?p(i[1],"trans"):i[1])?p(l,"addToThisPosition"):l,t))+'"></div>\n <div class="designer-region-overlay-dummy"\n style="width: calc('+u(typeof(s=null!=(s=p(o,"durationPercentage")||(null!=t?p(t,"durationPercentage"):t))?s:d)===f?s.call(c,{name:"durationPercentage",hash:{},data:a,loc:{start:{line:40,column:35},end:{line:40,column:59}}}):s)+'% - 14px);">\n </div>\n'},compiler:[8,">= 4.3.0"],main:function(e,t,o,n,a,r,i){var l,s,c=null!=t?t:e.nullContext||{},d=e.hooks.helperMissing,f="function",u=e.escapeExpression,p=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div id="'+u(typeof(s=null!=(s=p(o,"id")||(null!=t?p(t,"id"):t))?s:d)===f?s.call(c,{name:"id",hash:{},data:a,loc:{start:{line:1,column:9},end:{line:1,column:17}}}):s)+'" data-type="region" class="designer-region selectable '+u(typeof(s=null!=(s=p(o,"selectedFlag")||(null!=t?p(t,"selectedFlag"):t))?s:d)===f?s.call(c,{name:"selectedFlag",hash:{},data:a,loc:{start:{line:1,column:72},end:{line:1,column:88}}}):s)+" "+(null!=(l=p(o,"if").call(c,null!=t?p(t,"isEditable"):t,{name:"if",hash:{},fn:e.program(1,a,0,r,i),inverse:e.noop,data:a,loc:{start:{line:1,column:89},end:{line:1,column:122}}}))?l:"")+" "+(null!=(l=p(o,"if").call(c,null!=t?p(t,"isPermissionsModifiable"):t,{name:"if",hash:{},fn:e.program(3,a,0,r,i),inverse:e.noop,data:a,loc:{start:{line:1,column:123},end:{line:1,column:182}}}))?l:"")+'">\n '+(null!=(l=p(o,"if").call(c,null!=t?p(t,"hideDetails"):t,{name:"if",hash:{},fn:e.program(5,a,0,r,i),inverse:e.program(7,a,0,r,i),data:a,loc:{start:{line:2,column:4},end:{line:31,column:11}}}))?l:"")+'\n <div class="designer-region-overlay">\n'+(null!=(l=p(o,"each").call(c,null!=t?p(t,"widgets"):t,{name:"each",hash:{},fn:e.program(18,a,0,r,i),inverse:e.noop,data:a,loc:{start:{line:34,column:8},end:{line:42,column:17}}}))?l:"")+" </div>\n</div>"},usePartial:!0,useData:!0,useDepths:!0})},37642:function(e,t,o){var n=o(40202);function a(e){return e&&(e.__esModule?e.default:e)}e.exports=(n.default||n).template({1:function(e,t,o,n,a){return"invalid-widget"},3:function(e,t,o,n,a){return"editable"},5:function(e,t,o,n,a){return"permissionsModifiable"},7:function(e,t,o,n,a){return"deletable"},9:function(e,t,o,n,a){var r,i=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,s="function",c=e.escapeExpression,d=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div class="widget-transition-container transition-'+c(typeof(r=null!=(r=d(o,"key")||a&&d(a,"key"))?r:l)===s?r.call(i,{name:"key",hash:{},data:a,loc:{start:{line:5,column:59},end:{line:5,column:67}}}):r)+'" style="\n width: '+c(typeof(r=null!=(r=d(o,"percDuration")||(null!=t?d(t,"percDuration"):t))?r:l)===s?r.call(i,{name:"percDuration",hash:{},data:a,loc:{start:{line:6,column:19},end:{line:6,column:35}}}):r)+'%;">\n <div class="widget-transition transition-'+c(typeof(r=null!=(r=d(o,"key")||a&&d(a,"key"))?r:l)===s?r.call(i,{name:"key",hash:{},data:a,loc:{start:{line:7,column:53},end:{line:7,column:61}}}):r)+' editProperty text-center" data-property="Transition"\n data-property-type="'+c(typeof(r=null!=(r=d(o,"key")||a&&d(a,"key"))?r:l)===s?r.call(i,{name:"key",hash:{},data:a,loc:{start:{line:8,column:36},end:{line:8,column:44}}}):r)+'">\n <i class="fa fa-sign-'+c(typeof(r=null!=(r=d(o,"key")||a&&d(a,"key"))?r:l)===s?r.call(i,{name:"key",hash:{},data:a,loc:{start:{line:9,column:37},end:{line:9,column:45}}}):r)+'"></i>\n </div>\n </div>\n'},11:function(e,t,o,n,a){return' <i class="fa fa-volume-up editProperty" data-property="Audio"></i>\n'},13:function(e,t,o,n,a){var r,i=e.lambda,l=e.escapeExpression,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <i class="fa fa-paper-plane editProperty tooltip-always-on" data-property="Action" data-toggle="tooltip" data-container="#layout-timeline" data-title="'+l(i(null!=(r=null!=t?s(t,"trans"):t)?s(r,"widgetActions"):r,t))+" "+l(i(null!=(r=null!=t?s(t,"actions"):t)?s(r,"length"):r,t))+'" ></i>\n'},15:function(e,t,o,n,a){var r,i=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,s="function",c=e.escapeExpression,d=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <i class="fa '+c(typeof(r=null!=(r=d(o,"expireStatusIcon")||(null!=t?d(t,"expireStatusIcon"):t))?r:l)===s?r.call(i,{name:"expireStatusIcon",hash:{},data:a,loc:{start:{line:37,column:25},end:{line:37,column:45}}}):r)+' editProperty tooltip-always-on" \n data-toggle="tooltip" data-container="#layout-timeline" data-html="true" \n data-title="'+c(typeof(r=null!=(r=d(o,"expireStatusTitle")||(null!=t?d(t,"expireStatusTitle"):t))?r:l)===s?r.call(i,{name:"expireStatusTitle",hash:{},data:a,loc:{start:{line:39,column:24},end:{line:39,column:45}}}):r)+'"\n data-property="Expiry"></i>\n'},17:function(e,t,o,n,a){var r,i=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,s="function",c=e.escapeExpression,d=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <i class="fa fa-sign-'+c(typeof(r=null!=(r=d(o,"key")||a&&d(a,"key"))?r:l)===s?r.call(i,{name:"key",hash:{},data:a,loc:{start:{line:44,column:33},end:{line:44,column:41}}}):r)+' editProperty d-none"\n data-property="Transition"\n data-property-type="'+c(typeof(r=null!=(r=d(o,"key")||a&&d(a,"key"))?r:l)===s?r.call(i,{name:"key",hash:{},data:a,loc:{start:{line:46,column:32},end:{line:46,column:40}}}):r)+'"></i>\n'},19:function(e,t,o,n,a){var r,i=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,s="function",c=e.escapeExpression,d=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div class="widgetExtension" style="\n width: '+c(typeof(r=null!=(r=d(o,"extendSize")||(null!=t?d(t,"extendSize"):t))?r:l)===s?r.call(i,{name:"extendSize",hash:{},data:a,loc:{start:{line:53,column:11},end:{line:53,column:25}}}):r)+'%;">\n <span class="widgetSubType">\n ['+c(typeof(r=null!=(r=d(o,"subType")||(null!=t?d(t,"subType"):t))?r:l)===s?r.call(i,{name:"subType",hash:{},data:a,loc:{start:{line:55,column:13},end:{line:55,column:26}}}):r)+']\n </span>\n \n <span class="widgetName">\n '+c(typeof(r=null!=(r=d(o,"widgetName")||(null!=t?d(t,"widgetName"):t))?r:l)===s?r.call(i,{name:"widgetName",hash:{},data:a,loc:{start:{line:59,column:12},end:{line:59,column:26}}}):r)+"\n </span>\n </div>\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var l,s,c=null!=t?t:e.nullContext||{},d=e.hooks.helperMissing,f="function",u=e.escapeExpression,p=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div id="'+u(typeof(s=null!=(s=p(n,"id")||(null!=t?p(t,"id"):t))?s:d)===f?s.call(c,{name:"id",hash:{},data:i,loc:{start:{line:1,column:9},end:{line:1,column:17}}}):s)+'" data-type="widget" data-widget-id="'+u(typeof(s=null!=(s=p(n,"widgetId")||(null!=t?p(t,"widgetId"):t))?s:d)===f?s.call(c,{name:"widgetId",hash:{},data:i,loc:{start:{line:1,column:54},end:{line:1,column:68}}}):s)+'" data-widget-type="'+u(typeof(s=null!=(s=p(n,"subType")||(null!=t?p(t,"subType"):t))?s:d)===f?s.call(c,{name:"subType",hash:{},data:i,loc:{start:{line:1,column:88},end:{line:1,column:101}}}):s)+'" data-parent-type="region" data-widget-region="'+u(typeof(s=null!=(s=p(n,"regionId")||(null!=t?p(t,"regionId"):t))?s:d)===f?s.call(c,{name:"regionId",hash:{},data:i,loc:{start:{line:1,column:149},end:{line:1,column:163}}}):s)+'" class="designer-widget '+(null!=(l=a(o(92110)).call(c,null!=t?p(t,"isValid"):t,0,{name:"eq",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i,loc:{start:{line:1,column:188},end:{line:1,column:226}}}))?l:"")+" selectable "+u(typeof(s=null!=(s=p(n,"selectedFlag")||(null!=t?p(t,"selectedFlag"):t))?s:d)===f?s.call(c,{name:"selectedFlag",hash:{},data:i,loc:{start:{line:1,column:238},end:{line:1,column:254}}}):s)+" "+(null!=(l=p(n,"if").call(c,null!=t?p(t,"isEditable"):t,{name:"if",hash:{},fn:e.program(3,i,0),inverse:e.noop,data:i,loc:{start:{line:1,column:255},end:{line:1,column:288}}}))?l:"")+" "+(null!=(l=p(n,"if").call(c,null!=t?p(t,"isPermissionsModifiable"):t,{name:"if",hash:{},fn:e.program(5,i,0),inverse:e.noop,data:i,loc:{start:{line:1,column:289},end:{line:1,column:348}}}))?l:"")+" "+(null!=(l=p(n,"if").call(c,null!=t?p(t,"isDeletable"):t,{name:"if",hash:{},fn:e.program(7,i,0),inverse:e.noop,data:i,loc:{start:{line:1,column:349},end:{line:1,column:384}}}))?l:"")+'" style="\nwidth: '+u(typeof(s=null!=(s=p(n,"durationPercentage")||(null!=t?p(t,"durationPercentage"):t))?s:d)===f?s.call(c,{name:"durationPercentage",hash:{},data:i,loc:{start:{line:2,column:7},end:{line:2,column:31}}}):s)+'%;">\n \n'+(null!=(l=p(n,"each").call(c,null!=t?p(t,"transitions"):t,{name:"each",hash:{},fn:e.program(9,i,0),inverse:e.noop,data:i,loc:{start:{line:4,column:4},end:{line:12,column:13}}}))?l:"")+' \n <div class="widgetLabel timelineMediaItemColouringDefault timelineMediaItemColouring_'+u(typeof(s=null!=(s=p(n,"subType")||(null!=t?p(t,"subType"):t))?s:d)===f?s.call(c,{name:"subType",hash:{},data:i,loc:{start:{line:14,column:89},end:{line:14,column:102}}}):s)+" "+u(typeof(s=null!=(s=p(n,"widgetColouring")||(null!=t?p(t,"widgetColouring"):t))?s:d)===f?s.call(c,{name:"widgetColouring",hash:{},data:i,loc:{start:{line:14,column:103},end:{line:14,column:124}}}):s)+'">\n <div class="widgetSubType">\n <i class="fa module-icon-'+u(typeof(s=null!=(s=p(n,"subType")||(null!=t?p(t,"subType"):t))?s:d)===f?s.call(c,{name:"subType",hash:{},data:i,loc:{start:{line:16,column:37},end:{line:16,column:48}}}):s)+' tooltip-always-on" data-toggle="tooltip" data-container="#layout-timeline" data-title="'+u(typeof(s=null!=(s=p(n,"moduleName")||(null!=t?p(t,"moduleName"):t))?s:d)===f?s.call(c,{name:"moduleName",hash:{},data:i,loc:{start:{line:16,column:136},end:{line:16,column:150}}}):s)+'"></i>\n </div>\n <div class="widgetDuration tooltip-always-on" data-toggle="tooltip" data-title="'+u(typeof(s=null!=(s=p(n,"duration")||(null!=t?p(t,"duration"):t))?s:d)===f?s.call(c,{name:"duration",hash:{},data:i,loc:{start:{line:18,column:88},end:{line:18,column:100}}}):s)+'" data-container="#layout-timeline">\n '+u(typeof(s=null!=(s=p(n,"duration")||(null!=t?p(t,"duration"):t))?s:d)===f?s.call(c,{name:"duration",hash:{},data:i,loc:{start:{line:19,column:12},end:{line:19,column:26}}}):s)+'\n </div>\n </div>\n\n <div class="widgetName">\n <span class="tooltip-always-on" data-toggle="tooltip" data-container="#layout-timeline" data-title="'+u(typeof(s=null!=(s=p(n,"widgetName")||(null!=t?p(t,"widgetName"):t))?s:d)===f?s.call(c,{name:"widgetName",hash:{},data:i,loc:{start:{line:24,column:108},end:{line:24,column:122}}}):s)+'">'+u(typeof(s=null!=(s=p(n,"widgetName")||(null!=t?p(t,"widgetName"):t))?s:d)===f?s.call(c,{name:"widgetName",hash:{},data:i,loc:{start:{line:24,column:124},end:{line:24,column:138}}}):s)+'</span>\n </div>\n\n <div class="widgetProperties">\n'+(null!=(l=p(n,"if").call(c,null!=t?p(t,"audio"):t,{name:"if",hash:{},fn:e.program(11,i,0),inverse:e.noop,data:i,loc:{start:{line:28,column:8},end:{line:30,column:15}}}))?l:"")+"\n"+(null!=(l=p(n,"if").call(c,null!=t?p(t,"actions"):t,{name:"if",hash:{},fn:e.program(13,i,0),inverse:e.noop,data:i,loc:{start:{line:32,column:8},end:{line:34,column:15}}}))?l:"")+"\n"+(null!=(l=a(o(80274)).call(c,null!=t?p(t,"expireStatus"):t,0,{name:"gt",hash:{},fn:e.program(15,i,0),inverse:e.noop,data:i,loc:{start:{line:36,column:8},end:{line:41,column:15}}}))?l:"")+"\n"+(null!=(l=p(n,"each").call(c,null!=t?p(t,"transitions"):t,{name:"each",hash:{},fn:e.program(17,i,0),inverse:e.noop,data:i,loc:{start:{line:43,column:8},end:{line:47,column:17}}}))?l:"")+" </div>\n</div>\n\n"+(null!=(l=p(n,"if").call(c,null!=t?p(t,"extend"):t,{name:"if",hash:{},fn:e.program(19,i,0),inverse:e.noop,data:i,loc:{start:{line:51,column:0},end:{line:62,column:7}}}))?l:"")},useData:!0})},26034:function(e,t,o){var n=o(40202);e.exports=(n.default||n).template({1:function(e,t,o,n,a,r,i){var l,s=e.lambda,c=e.escapeExpression,d=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div id="regions-info">\n <div id="timeline-controls">\n <a id="zoomInBtn" '+c(s(null!=(l=null!=t?d(t,"properties"):t)?d(l,"zoomInDisable"):l,t))+' data-toggle="tooltip" data-container="#layout-timeline" data-title="'+c(s(null!=(l=null!=t?d(t,"trans"):t)?d(l,"zoomIn"):l,t))+'">\n <i class="fas fa-search-plus"></i>\n </a>\n <a id="findSelectedBtn" '+c(s(null!=(l=null!=t?d(t,"properties"):t)?d(l,"zoomFindWidgetDisabled"):l,t))+' data-toggle="tooltip" data-container="#layout-timeline" \n data-title="'+c(s(null!=(l=null!=t?d(t,"trans"):t)?d(l,"zoomFindSelected"):l,t))+'">\n <i class="fas fa-search-location"></i>\n </a>\n <a id="zoomReset" data-toggle="tooltip" data-container="#layout-timeline" data-title="'+c(s(null!=(l=null!=t?d(t,"trans"):t)?d(l,"resetZoom"):l,t))+'">\n <i class="fas fa-search"></i>\n </a>\n <a id="zoomOutBtn" '+c(s(null!=(l=null!=t?d(t,"properties"):t)?d(l,"zoomOutDisable"):l,t))+' data-toggle="tooltip" data-container="#layout-timeline" data-title="'+c(s(null!=(l=null!=t?d(t,"trans"):t)?d(l,"zoomOut"):l,t))+'">\n <i class="fas fa-search-minus"></i>\n </a>\n <span id="zoomTimeSpan" class="pull-right" data-toggle="tooltip" data-container="#layout-timeline" data-title="'+c(s(null!=(l=null!=t?d(t,"trans"):t)?d(l,"zoomDelta"):l,t))+'">\n <i class="fa fa-hourglass-o"></i> '+c(s(null!=(l=null!=t?d(t,"properties"):t)?d(l,"deltaTimeFormatted"):l,t))+"\n </span>\n </div>\n\n"+(null!=(l=d(o,"each").call(null!=t?t:e.nullContext||{},null!=(l=null!=t?d(t,"layout"):t)?d(l,"regions"):l,{name:"each",hash:{},fn:e.program(2,a,0,r,i),inverse:e.noop,data:a,loc:{start:{line:26,column:16},end:{line:28,column:25}}}))?l:"")+" </div>\n"},2:function(e,t,n,a,r,i,l){var s,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(s=e.invokePartial(o(90447),t,{name:"timeline-region-info",hash:{readOnlyModeOn:null!=l[1]?c(l[1],"readOnlyModeOn"):l[1],trans:null!=l[1]?c(l[1],"trans"):l[1]},data:r,indent:" ",helpers:n,partials:a,decorators:e.decorators}))?s:""},4:function(e,t,o,n,a,r,i){var l,s=e.lambda,c=e.escapeExpression,d=null!=t?t:e.nullContext||{},f=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div id="regions-container">\n <div id="regions" class="timeline-regions-container" style="width: '+c(s(null!=(l=null!=t?f(t,"properties"):t)?f(l,"zoom"):l,t))+'%;" data-zoom="'+c(s(null!=(l=null!=t?f(t,"properties"):t)?f(l,"zoom"):l,t))+'">\n <div id="timeruler">\n'+(null!=(l=f(o,"if").call(d,null!=t?f(t,"timeruler"):t,{name:"if",hash:{},fn:e.program(5,a,0,r,i),inverse:e.program(11,a,0,r,i),data:a,loc:{start:{line:37,column:20},end:{line:50,column:27}}}))?l:"")+" </div>\n"+(null!=(l=f(o,"each").call(d,null!=(l=null!=t?f(t,"layout"):t)?f(l,"regions"):l,{name:"each",hash:{},fn:e.program(13,a,0,r,i),inverse:e.noop,data:a,loc:{start:{line:52,column:16},end:{line:54,column:25}}}))?l:"")+" </div>\n </div>\n"},5:function(e,t,o,n,a,r,i){var l,s=e.lambda,c=e.escapeExpression,d=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div class="step-margin" style="width:'+c(s(null!=(l=null!=t?d(t,"timeruler"):t)?d(l,"startMargin"):l,t))+'%;"></div>\n'+(null!=(l=d(o,"each").call(null!=t?t:e.nullContext||{},null!=(l=null!=t?d(t,"timeruler"):t)?d(l,"steps"):l,{name:"each",hash:{},fn:e.program(6,a,0,r,i),inverse:e.noop,data:a,loc:{start:{line:40,column:24},end:{line:46,column:33}}}))?l:"")+' <div class="step-margin" style="width:'+c(s(null!=(l=null!=t?d(t,"timeruler"):t)?d(l,"endMargin"):l,t))+'%;"></div>\n'},6:function(e,t,o,n,a,r,i){var l,s,c=null!=t?t:e.nullContext||{},d=e.escapeExpression,f=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div class="step '+(null!=(l=f(o,"if").call(c,null!=t?f(t,"labelled"):t,{name:"if",hash:{},fn:e.program(7,a,0,r,i),inverse:e.noop,data:a,loc:{start:{line:41,column:45},end:{line:41,column:76}}}))?l:"")+'" title="'+d("function"==typeof(s=null!=(s=f(o,"label")||(null!=t?f(t,"label"):t))?s:e.hooks.helperMissing)?s.call(c,{name:"label",hash:{},data:a,loc:{start:{line:41,column:85},end:{line:41,column:94}}}):s)+'" style="width:'+d(e.lambda(null!=(l=null!=i[1]?f(i[1],"timeruler"):i[1])?f(l,"gap"):l,t))+'%;">\n'+(null!=(l=f(o,"if").call(c,null!=t?f(t,"labelled"):t,{name:"if",hash:{},fn:e.program(9,a,0,r,i),inverse:e.noop,data:a,loc:{start:{line:42,column:32},end:{line:44,column:39}}}))?l:"")+" </div>\n"},7:function(e,t,o,n,a){return"labelled"},9:function(e,t,o,n,a){var r,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return" <span>"+e.escapeExpression("function"==typeof(r=null!=(r=i(o,"label")||(null!=t?i(t,"label"):t))?r:e.hooks.helperMissing)?r.call(null!=t?t:e.nullContext||{},{name:"label",hash:{},data:a,loc:{start:{line:43,column:42},end:{line:43,column:51}}}):r)+"</span>\n"},11:function(e,t,o,n,a){var r,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <span class="timeruler-message">'+e.escapeExpression(e.lambda(null!=(r=null!=t?i(t,"trans"):t)?i(r,"hiddenTimeruler"):r,t))+"</span>\n"},13:function(e,t,n,a,r,i,l){var s,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(s=e.invokePartial(o(59309),t,{name:"timeline-region",hash:{trans:null!=l[1]?c(l[1],"trans"):l[1]},data:r,indent:" ",helpers:n,partials:a,decorators:e.decorators}))?s:""},15:function(e,t,o,n,a){var r,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div class="empty-timeline">\n <div class="empty-timeline-message">\n '+e.escapeExpression(e.lambda(null!=(r=null!=t?i(t,"trans"):t)?i(r,"emptyTimeline"):r,t))+"\n </div>\n </div>\n"},compiler:[8,">= 4.3.0"],main:function(e,t,o,n,a,r,i){var l,s=null!=t?t:e.nullContext||{},c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div id="timeline-container">\n <div class="timeline-left-panel">\n'+(null!=(l=c(o,"unless").call(s,null!=t?c(t,"noRegions"):t,{name:"unless",hash:{},fn:e.program(1,a,0,r,i),inverse:e.noop,data:a,loc:{start:{line:4,column:8},end:{line:30,column:19}}}))?l:"")+" </div>\n"+(null!=(l=c(o,"unless").call(s,null!=t?c(t,"noRegions"):t,{name:"unless",hash:{},fn:e.program(4,a,0,r,i),inverse:e.program(15,a,0,r,i),data:a,loc:{start:{line:32,column:4},end:{line:63,column:15}}}))?l:"")+"</div>\n \n\n\n"},usePartial:!0,useData:!0,useDepths:!0})},53594:function(e,t,o){var n=o(40202);e.exports=(n.default||n).template({compiler:[8,">= 4.3.0"],main:function(e,t,o,n,a){var r,i,l=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,c="function",d=e.escapeExpression,f=e.lambda,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="toolbar-card upload-card"\n data-toggle="tooltip" \n data-type="module" \n data-sub-type="'+d(typeof(i=null!=(i=u(o,"type")||(null!=t?u(t,"type"):t))?i:s)===c?i.call(l,{name:"type",hash:{},data:a,loc:{start:{line:4,column:19},end:{line:4,column:27}}}):i)+'"\n data-region-specific="'+d(typeof(i=null!=(i=u(o,"regionSpecific")||(null!=t?u(t,"regionSpecific"):t))?i:s)===c?i.call(l,{name:"regionSpecific",hash:{},data:a,loc:{start:{line:5,column:26},end:{line:5,column:44}}}):i)+'"\n data-valid-ext="'+d(typeof(i=null!=(i=u(o,"validExtensions")||(null!=t?u(t,"validExtensions"):t))?i:s)===c?i.call(l,{name:"validExtensions",hash:{},data:a,loc:{start:{line:6,column:20},end:{line:6,column:41}}}):i)+'"\n data-max-size="'+d(typeof(i=null!=(i=u(o,"maxSize")||(null!=t?u(t,"maxSize"):t))?i:s)===c?i.call(l,{name:"maxSize",hash:{},data:a,loc:{start:{line:7,column:19},end:{line:7,column:32}}}):i)+'" \n data-max-size-message="'+d(typeof(i=null!=(i=u(o,"maxSizeMessage")||(null!=t?u(t,"maxSizeMessage"):t))?i:s)===c?i.call(l,{name:"maxSizeMessage",hash:{},data:a,loc:{start:{line:8,column:27},end:{line:8,column:47}}}):i)+'"\n data-title="'+d(typeof(i=null!=(i=u(o,"description")||(null!=t?u(t,"description"):t))?i:s)===c?i.call(l,{name:"description",hash:{},data:a,loc:{start:{line:9,column:16},end:{line:9,column:31}}}):i)+'"\n drop-to="region">\n\n <div class="select-button select-upload">\n <i class="fa fa-plus selectedHide" data-title="'+d(f(null!=(r=null!=t?u(t,"trans"):t)?u(r,"select"):r,t))+'" data-toggle="tooltip" data-placement="top"></i>\n <i class="fa fa-check selectedShow" data-title="'+d(f(null!=(r=null!=t?u(t,"trans"):t)?u(r,"deselect"):r,t))+'" data-toggle="tooltip" data-placement="top"></i>\n </div>\n\n <i class="fa fa-upload card-icon"></i>\n\n <span class="media-title">'+d(f(null!=(r=null!=t?u(t,"trans"):t)?u(r,"upload"):r,t))+"</span>\n</div>"},useData:!0})},42518:function(e,t,o){var n=o(40202);function a(e){return e&&(e.__esModule?e.default:e)}e.exports=(n.default||n).template({1:function(e,t,o,n,a){return"card-selected"},3:function(e,t,o,n,a){var r,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"no-thumbnail"+e.escapeExpression("function"==typeof(r=null!=(r=i(o,"thumbnail")||(null!=t?i(t,"thumbnail"):t))?r:e.hooks.helperMissing)?r.call(null!=t?t:e.nullContext||{},{name:"thumbnail",hash:{},data:a,loc:{start:{line:1,column:96},end:{line:1,column:109}}}):r)},5:function(e,t,o,n,a){return"hide-content"},7:function(e,t,o,n,a){return"from-provider"},9:function(e,t,n,r,i){var l,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(l=a(o(92110)).call(null!=t?t:e.nullContext||{},null!=t?s(t,"type"):t,"video",{name:"eq",hash:{},fn:e.program(10,i,0),inverse:e.program(12,i,0),data:i,loc:{start:{line:10,column:8},end:{line:14,column:15}}}))?l:""},10:function(e,t,o,n,a){var r,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <video class="thumb" src="'+e.escapeExpression("function"==typeof(r=null!=(r=i(o,"thumbnail")||(null!=t?i(t,"thumbnail"):t))?r:e.hooks.helperMissing)?r.call(null!=t?t:e.nullContext||{},{name:"thumbnail",hash:{},data:a,loc:{start:{line:11,column:38},end:{line:11,column:51}}}):r)+'" alt="" muted="muted"></video>\n'},12:function(e,t,o,n,a){var r,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <img class="thumb" src="'+e.escapeExpression("function"==typeof(r=null!=(r=i(o,"thumbnail")||(null!=t?i(t,"thumbnail"):t))?r:e.hooks.helperMissing)?r.call(null!=t?t:e.nullContext||{},{name:"thumbnail",hash:{},data:a,loc:{start:{line:13,column:36},end:{line:13,column:49}}}):r)+'" alt="">\n'},14:function(e,t,o,n,a){var r,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div class="preview-button">\n <i class="fa fa-play" data-title="'+e.escapeExpression(e.lambda(null!=(r=null!=t?i(t,"trans"):t)?i(r,"preview"):r,t))+'" data-toggle="tooltip" data-placement="top"></i>\n </div>\n'},16:function(e,t,o,n,a){var r,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <i class="fa media-icon-'+e.escapeExpression("function"==typeof(r=null!=(r=i(o,"type")||(null!=t?i(t,"type"):t))?r:e.hooks.helperMissing)?r.call(null!=t?t:e.nullContext||{},{name:"type",hash:{},data:a,loc:{start:{line:29,column:32},end:{line:29,column:40}}}):r)+' card-icon"></i>\n'},18:function(e,t,o,n,a){var r,i=e.lambda,l=e.escapeExpression,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <a class="provider" href="'+l(i(null!=(r=null!=t?s(t,"provider"):t)?s(r,"link"):r,t))+'" target="_blank" rel="noopener noreferrer">\n <img src="'+l(i(null!=(r=null!=t?s(t,"provider"):t)?s(r,"logoUrl"):r,t))+'"></img>\n </a>\n'},20:function(e,t,o,n,a){var r,i,l=e.escapeExpression,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div class="media-duration" data-title="'+l(e.lambda(null!=(r=null!=t?s(t,"trans"):t)?s(r,"duration"):r,t))+'" data-toggle="tooltip" data-placement="top">\n '+l("function"==typeof(i=null!=(i=s(o,"mediaDuration")||(null!=t?s(t,"mediaDuration"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"mediaDuration",hash:{},data:a,loc:{start:{line:40,column:12},end:{line:40,column:29}}}):i)+"\n </div>\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var l,s,c=null!=t?t:e.nullContext||{},d=e.hooks.helperMissing,f="function",u=e.escapeExpression,p=e.lambda,b=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="toolbar-card '+(null!=(l=b(n,"if").call(c,null!=t?b(t,"selected"):t,{name:"if",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i,loc:{start:{line:1,column:25},end:{line:1,column:61}}}))?l:"")+" "+(null!=(l=a(o(92110)).call(c,null!=t?b(t,"thumbnail"):t,null,{name:"eq",hash:{},fn:e.program(3,i,0),inverse:e.program(5,i,0),data:i,loc:{start:{line:1,column:62},end:{line:1,column:136}}}))?l:"")+" "+(null!=(l=b(n,"if").call(c,null!=t?b(t,"provider"):t,{name:"if",hash:{},fn:e.program(7,i,0),inverse:e.noop,data:i,loc:{start:{line:1,column:137},end:{line:1,column:173}}}))?l:"")+'" \n data-type="media" \n data-media-id="'+u(typeof(s=null!=(s=b(n,"id")||(null!=t?b(t,"id"):t))?s:d)===f?s.call(c,{name:"id",hash:{},data:i,loc:{start:{line:3,column:19},end:{line:3,column:25}}}):s)+'"\n data-sub-type="'+u(typeof(s=null!=(s=b(n,"type")||(null!=t?b(t,"type"):t))?s:d)===f?s.call(c,{name:"type",hash:{},data:i,loc:{start:{line:4,column:19},end:{line:4,column:27}}}):s)+'"\n drop-to="region"\n data-title="'+u(typeof(s=null!=(s=b(n,"title")||(null!=t?b(t,"title"):t))?s:d)===f?s.call(c,{name:"title",hash:{},data:i,loc:{start:{line:6,column:16},end:{line:6,column:25}}}):s)+'"\n data-download="'+u(typeof(s=null!=(s=b(n,"download")||(null!=t?b(t,"download"):t))?s:d)===f?s.call(c,{name:"download",hash:{},data:i,loc:{start:{line:7,column:19},end:{line:7,column:31}}}):s)+'">\n\n'+(null!=(l=a(o(43306)).call(c,null!=t?b(t,"thumbnail"):t,null,{name:"neq",hash:{},fn:e.program(9,i,0),inverse:e.noop,data:i,loc:{start:{line:9,column:4},end:{line:15,column:12}}}))?l:"")+"\n"+(null!=(l=a(o(43306)).call(c,null!=t?b(t,"download"):t,null,{name:"neq",hash:{},fn:e.program(14,i,0),inverse:e.noop,data:i,loc:{start:{line:17,column:4},end:{line:21,column:12}}}))?l:"")+'\n <div class="select-button">\n <i class="fa fa-plus selectedHide" data-title="'+u(p(null!=(l=null!=t?b(t,"trans"):t)?b(l,"select"):l,t))+'" data-toggle="tooltip" data-placement="top"></i>\n <i class="fa fa-check selectedShow" data-title="'+u(p(null!=(l=null!=t?b(t,"trans"):t)?b(l,"deselect"):l,t))+'" data-toggle="tooltip" data-placement="top"></i>\n </div>\n\n'+(null!=(l=a(o(92110)).call(c,null!=t?b(t,"thumbnail"):t,null,{name:"eq",hash:{},fn:e.program(16,i,0),inverse:e.noop,data:i,loc:{start:{line:28,column:4},end:{line:30,column:11}}}))?l:"")+"\n"+(null!=(l=b(n,"if").call(c,null!=t?b(t,"provider"):t,{name:"if",hash:{},fn:e.program(18,i,0),inverse:e.noop,data:i,loc:{start:{line:32,column:4},end:{line:36,column:11}}}))?l:"")+"\n"+(null!=(l=b(n,"if").call(c,null!=t?b(t,"mediaDuration"):t,{name:"if",hash:{},fn:e.program(20,i,0),inverse:e.noop,data:i,loc:{start:{line:38,column:4},end:{line:42,column:11}}}))?l:"")+' \n <span class="media-title tooltip-always-on" data-toggle="tooltip" data-title="'+u(typeof(s=null!=(s=b(n,"title")||(null!=t?b(t,"title"):t))?s:d)===f?s.call(c,{name:"title",hash:{},data:i,loc:{start:{line:44,column:82},end:{line:44,column:91}}}):s)+'" data-placement="right">'+u(typeof(s=null!=(s=b(n,"title")||(null!=t?b(t,"title"):t))?s:d)===f?s.call(c,{name:"title",hash:{},data:i,loc:{start:{line:44,column:116},end:{line:44,column:125}}}):s)+"</span>\n</div>"},useData:!0})},82622:function(e,t,o){var n=o(40202);e.exports=(n.default||n).template({1:function(e,t,o,n,a){return"favourited"},3:function(e,t,o,n,a){var r,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' data-title="'+e.escapeExpression(e.lambda(null!=(r=null!=t?i(t,"trans"):t)?i(r,"addAsFavourite"):r,t))+"\n"},5:function(e,t,o,n,a){return"fas"},7:function(e,t,o,n,a){return"far"},compiler:[8,">= 4.3.0"],main:function(e,t,o,n,a){var r,i,l=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,c="function",d=e.escapeExpression,f=e.lambda,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="toolbar-card '+(null!=(r=u(o,"if").call(l,null!=t?u(t,"favourited"):t,{name:"if",hash:{},fn:e.program(1,a,0),inverse:e.noop,data:a,loc:{start:{line:1,column:25},end:{line:1,column:60}}}))?r:"")+'" \n data-toggle="tooltip" \n data-type="module" \n data-sub-type="'+d(typeof(i=null!=(i=u(o,"type")||(null!=t?u(t,"type"):t))?i:s)===c?i.call(l,{name:"type",hash:{},data:a,loc:{start:{line:4,column:19},end:{line:4,column:27}}}):i)+'"\n data-region-specific="'+d(typeof(i=null!=(i=u(o,"regionSpecific")||(null!=t?u(t,"regionSpecific"):t))?i:s)===c?i.call(l,{name:"regionSpecific",hash:{},data:a,loc:{start:{line:5,column:26},end:{line:5,column:44}}}):i)+'"\n data-valid-ext="'+d(typeof(i=null!=(i=u(o,"validExtensions")||(null!=t?u(t,"validExtensions"):t))?i:s)===c?i.call(l,{name:"validExtensions",hash:{},data:a,loc:{start:{line:6,column:20},end:{line:6,column:41}}}):i)+'"\n data-max-size="'+d(typeof(i=null!=(i=u(o,"maxSize")||(null!=t?u(t,"maxSize"):t))?i:s)===c?i.call(l,{name:"maxSize",hash:{},data:a,loc:{start:{line:7,column:19},end:{line:7,column:32}}}):i)+'" \n data-max-size-message="'+d(typeof(i=null!=(i=u(o,"maxSizeMessage")||(null!=t?u(t,"maxSizeMessage"):t))?i:s)===c?i.call(l,{name:"maxSizeMessage",hash:{},data:a,loc:{start:{line:8,column:27},end:{line:8,column:47}}}):i)+'"\n data-title="'+d(typeof(i=null!=(i=u(o,"description")||(null!=t?u(t,"description"):t))?i:s)===c?i.call(l,{name:"description",hash:{},data:a,loc:{start:{line:9,column:16},end:{line:9,column:31}}}):i)+'"\n drop-to="region">\n \n <div class="btn-favourite" data-toggle="tooltip" data-placement="left" \n'+(null!=(r=u(o,"unless").call(l,null!=t?u(t,"favourited"):t,{name:"unless",hash:{},fn:e.program(3,a,0),inverse:e.noop,data:a,loc:{start:{line:13,column:8},end:{line:15,column:19}}}))?r:"")+' ">\n <i class="'+(null!=(r=u(o,"if").call(l,null!=t?u(t,"favourited"):t,{name:"if",hash:{},fn:e.program(5,a,0),inverse:e.program(7,a,0),data:a,loc:{start:{line:17,column:18},end:{line:17,column:57}}}))?r:"")+' fa-star"></i>\n </div>\n\n <div class="add-area action-area" data-title="'+d(f(null!=(r=null!=t?u(t,"trans"):t)?u(r,"add"):r,t))+'" data-toggle="tooltip" data-placement="left">\n <i class="fa fa-plus"></i>\n </div>\n <div class="drag-area action-area" data-title="'+d(f(null!=(r=null!=t?u(t,"trans"):t)?u(r,"grab"):r,t))+'" data-toggle="tooltip" data-placement="right">\n <i class="fa fa-hand-rock-o"></i>\n </div>\n\n <i class="fa module-icon-'+d(typeof(i=null!=(i=u(o,"type")||(null!=t?u(t,"type"):t))?i:s)===c?i.call(l,{name:"type",hash:{},data:a,loc:{start:{line:27,column:29},end:{line:27,column:37}}}):i)+' card-icon"></i>\n \n <span class="card-title">'+d(typeof(i=null!=(i=u(o,"name")||(null!=t?u(t,"name"):t))?i:s)===c?i.call(l,{name:"name",hash:{},data:a,loc:{start:{line:29,column:29},end:{line:29,column:37}}}):i)+"</span>\n</div>"},useData:!0})},32708:function(e,t,o){var n=o(40202);function a(e){return e&&(e.__esModule?e.default:e)}e.exports=(n.default||n).template({1:function(e,t,o,n,a,r,i){var l,s=null!=t?t:e.nullContext||{},c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div class="form-group col-6 p-1 mb-2 '+(null!=(l=c(o,"if").call(s,null!=(l=null!=(l=null!=t?c(t,"filters"):t)?c(l,"type"):l)?c(l,"locked"):l,{name:"if",hash:{},fn:e.program(2,a,0,r,i),inverse:e.noop,data:a,loc:{start:{line:3,column:46},end:{line:3,column:86}}}))?l:"")+'">\n <label for="input-type" class="mb-0">'+e.escapeExpression(e.lambda(null!=(l=null!=(l=null!=t?c(t,"trans"):t)?c(l,"searchFilters"):l)?c(l,"type"):l,t))+'</label>\n <select id="input-type" name="type" class="form-control mr-1 input-type">\n'+(null!=(l=c(o,"if").call(s,null!=(l=null!=(l=null!=t?c(t,"filters"):t)?c(l,"type"):l)?c(l,"locked"):l,{name:"if",hash:{},fn:e.program(4,a,0,r,i),inverse:e.program(6,a,0,r,i),data:a,loc:{start:{line:6,column:16},end:{line:14,column:23}}}))?l:"")+" </select>\n </div>\n"},2:function(e,t,o,n,a){return"hidden"},4:function(e,t,o,n,a){var r,i=e.lambda,l=e.escapeExpression,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <option value="'+l(i(null!=(r=null!=(r=null!=t?s(t,"filters"):t)?s(r,"type"):r)?s(r,"value"):r,t))+'" selected>'+l(i(null!=(r=null!=(r=null!=t?s(t,"filters"):t)?s(r,"type"):r)?s(r,"value"):r,t))+"</option>\n"},6:function(e,t,o,n,a,r,i){var l,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <option value=""></option>\n\n'+(null!=(l=s(o,"each").call(null!=t?t:e.nullContext||{},null!=(l=null!=(l=null!=t?s(t,"filters"):t)?s(l,"type"):l)?s(l,"values"):l,{name:"each",hash:{},fn:e.program(7,a,0,r,i),inverse:e.noop,data:a,loc:{start:{line:11,column:20},end:{line:13,column:29}}}))?l:"")},7:function(e,t,n,r,i,l,s){var c,d,f=null!=t?t:e.nullContext||{},u=e.hooks.helperMissing,p="function",b=e.escapeExpression,m=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <option value="'+b(typeof(d=null!=(d=m(n,"type")||(null!=t?m(t,"type"):t))?d:u)===p?d.call(f,{name:"type",hash:{},data:i,loc:{start:{line:12,column:39},end:{line:12,column:47}}}):d)+'" class="'+(null!=(c=m(n,"if").call(f,null!=t?m(t,"disabled"):t,{name:"if",hash:{},fn:e.program(8,i,0,l,s),inverse:e.noop,data:i,loc:{start:{line:12,column:56},end:{line:12,column:87}}}))?c:"")+'" '+(null!=(c=a(o(92110)).call(f,null!=(c=null!=(c=null!=s[1]?m(s[1],"filters"):s[1])?m(c,"type"):c)?m(c,"value"):c,null!=t?m(t,"type"):t,{name:"eq",hash:{},fn:e.program(10,i,0,l,s),inverse:e.noop,data:i,loc:{start:{line:12,column:89},end:{line:12,column:138}}}))?c:"")+">"+b(typeof(d=null!=(d=m(n,"name")||(null!=t?m(t,"name"):t))?d:u)===p?d.call(f,{name:"name",hash:{},data:i,loc:{start:{line:12,column:139},end:{line:12,column:147}}}):d)+"</option>\n"},8:function(e,t,o,n,a){return"disabled"},10:function(e,t,o,n,a){return"selected"},12:function(e,t,o,n,a){var r,i=e.lambda,l=e.escapeExpression,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div class="form-group col-6 p-1 mb-2">\n <label for="input-name" class="mb-0">'+l(i(null!=(r=null!=(r=null!=t?s(t,"trans"):t)?s(r,"searchFilters"):r)?s(r,"name"):r,t))+'</label>\n <input id="input-name" name="media" type="text" value="'+l(i(null!=(r=null!=(r=null!=t?s(t,"filters"):t)?s(r,"name"):r)?s(r,"value"):r,t))+'" class="form-control mr-1 input-name">\n </div>\n'},14:function(e,t,o,n,a){var r,i=e.lambda,l=e.escapeExpression,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div class="form-group col-6 p-1 mb-2">\n <label for="input-tag" class="mb-0">'+l(i(null!=(r=null!=(r=null!=t?s(t,"trans"):t)?s(r,"searchFilters"):r)?s(r,"tag"):r,t))+'</label>\n <input id="input-tag" name="tags" type="text" value="'+l(i(null!=(r=null!=(r=null!=t?s(t,"filters"):t)?s(r,"tag"):r)?s(r,"value"):r,t))+'" data-role="tagsinput" class="form-control input-tag">\n </div>\n'},16:function(e,t,o,n,a,r,i){var l,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div class="form-group col-6 p-1 mb-2">\n <label for="input-owner" class="mb-0">'+e.escapeExpression(e.lambda(null!=(l=null!=(l=null!=t?s(t,"trans"):t)?s(l,"searchFilters"):l)?s(l,"owner"):l,t))+'</label>\n <select id="input-owner" name="ownerId" class="form-control mr-1 input-owner">\n <option value=""></option>\n'+(null!=(l=s(o,"each").call(null!=t?t:e.nullContext||{},null!=(l=null!=(l=null!=t?s(t,"filters"):t)?s(l,"owner"):l)?s(l,"values"):l,{name:"each",hash:{},fn:e.program(17,a,0,r,i),inverse:e.noop,data:a,loc:{start:{line:38,column:16},end:{line:40,column:25}}}))?l:"")+" </select>\n </div>\n"},17:function(e,t,n,r,i,l,s){var c,d,f=null!=t?t:e.nullContext||{},u=e.hooks.helperMissing,p="function",b=e.escapeExpression,m=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <option value="'+b(typeof(d=null!=(d=m(n,"userId")||(null!=t?m(t,"userId"):t))?d:u)===p?d.call(f,{name:"userId",hash:{},data:i,loc:{start:{line:39,column:35},end:{line:39,column:45}}}):d)+'" '+(null!=(c=a(o(92110)).call(f,null!=(c=null!=(c=null!=s[1]?m(s[1],"filters"):s[1])?m(c,"owner"):c)?m(c,"value"):c,null!=t?m(t,"userId"):t,{name:"eq",hash:{},fn:e.program(10,i,0,l,s),inverse:e.noop,data:i,loc:{start:{line:39,column:47},end:{line:39,column:99}}}))?c:"")+">"+b(typeof(d=null!=(d=m(n,"name")||(null!=t?m(t,"name"):t))?d:u)===p?d.call(f,{name:"name",hash:{},data:i,loc:{start:{line:39,column:100},end:{line:39,column:108}}}):d)+"</option>\n"},19:function(e,t,n,r,i){var l,s=e.lambda,c=e.escapeExpression,d=null!=t?t:e.nullContext||{},f=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div class="form-group col-6 p-1 mb-2">\n <label for="input-orientation" class="mb-0">'+c(s(null!=(l=null!=(l=null!=t?f(t,"trans"):t)?f(l,"searchFilters"):l)?f(l,"orientation"):l,t))+'</label>\n <select id="input-orientation" name="orientation" class="form-control mr-1 input-orientation">\n <option value="" '+(null!=(l=a(o(92110)).call(d,null!=(l=null!=(l=null!=t?f(t,"filters"):t)?f(l,"orientation"):l)?f(l,"value"):l,"",{name:"eq",hash:{},fn:e.program(10,i,0),inverse:e.noop,data:i,loc:{start:{line:49,column:33},end:{line:49,column:85}}}))?l:"")+">"+c(s(null!=(l=null!=(l=null!=t?f(t,"trans"):t)?f(l,"orientationValues"):l)?f(l,"all"):l,t))+'</option>\n <option value="landscape" '+(null!=(l=a(o(92110)).call(d,null!=(l=null!=(l=null!=t?f(t,"filters"):t)?f(l,"orientation"):l)?f(l,"value"):l,"landscape",{name:"eq",hash:{},fn:e.program(10,i,0),inverse:e.noop,data:i,loc:{start:{line:50,column:42},end:{line:50,column:103}}}))?l:"")+">"+c(s(null!=(l=null!=(l=null!=t?f(t,"trans"):t)?f(l,"orientationValues"):l)?f(l,"landscape"):l,t))+'</option>\n <option value="portrait" '+(null!=(l=a(o(92110)).call(d,null!=(l=null!=(l=null!=t?f(t,"filters"):t)?f(l,"orientation"):l)?f(l,"value"):l,"portrait",{name:"eq",hash:{},fn:e.program(10,i,0),inverse:e.noop,data:i,loc:{start:{line:51,column:41},end:{line:51,column:101}}}))?l:"")+">"+c(s(null!=(l=null!=(l=null!=t?f(t,"trans"):t)?f(l,"orientationValues"):l)?f(l,"portrait"):l,t))+"</option>\n </select>\n </div>\n"},21:function(e,t,n,r,i){var l,s=e.lambda,c=e.escapeExpression,d=null!=t?t:e.nullContext||{},f=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div class="form-group col-6 p-1 mb-2">\n <label for="input-provider" class="mb-0">'+c(s(null!=(l=null!=(l=null!=t?f(t,"trans"):t)?f(l,"searchFilters"):l)?f(l,"provider"):l,t))+'</label>\n <select id="input-provider" name="provider" class="form-control mr-1 input-provider">\n <option value="both" '+(null!=(l=a(o(92110)).call(d,null!=(l=null!=(l=null!=t?f(t,"filters"):t)?f(l,"provider"):l)?f(l,"value"):l,"both",{name:"eq",hash:{},fn:e.program(10,i,0),inverse:e.noop,data:i,loc:{start:{line:60,column:37},end:{line:60,column:90}}}))?l:"")+">"+c(s(null!=(l=null!=(l=null!=t?f(t,"trans"):t)?f(l,"providerValues"):l)?f(l,"both"):l,t))+'</option>\n <option value="local" '+(null!=(l=a(o(92110)).call(d,null!=(l=null!=(l=null!=t?f(t,"filters"):t)?f(l,"provider"):l)?f(l,"value"):l,"local",{name:"eq",hash:{},fn:e.program(10,i,0),inverse:e.noop,data:i,loc:{start:{line:61,column:38},end:{line:61,column:92}}}))?l:"")+">"+c(s(null!=(l=null!=(l=null!=t?f(t,"trans"):t)?f(l,"providerValues"):l)?f(l,"local"):l,t))+'</option>\n <option value="remote" '+(null!=(l=a(o(92110)).call(d,null!=(l=null!=(l=null!=t?f(t,"filters"):t)?f(l,"provider"):l)?f(l,"value"):l,"remote",{name:"eq",hash:{},fn:e.program(10,i,0),inverse:e.noop,data:i,loc:{start:{line:62,column:39},end:{line:62,column:94}}}))?l:"")+">"+c(s(null!=(l=null!=(l=null!=t?f(t,"trans"):t)?f(l,"providerValues"):l)?f(l,"remote"):l,t))+"</option>\n </select>\n </div>\n"},compiler:[8,">= 4.3.0"],main:function(e,t,o,n,a,r,i){var l,s,c=null!=t?t:e.nullContext||{},d=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<form class="container-fluid p-0 media-search-form">\n'+(null!=(l=d(o,"if").call(c,null!=(l=null!=t?d(t,"filters"):t)?d(l,"type"):l,{name:"if",hash:{},fn:e.program(1,a,0,r,i),inverse:e.noop,data:a,loc:{start:{line:2,column:4},end:{line:17,column:11}}}))?l:"")+"\n"+(null!=(l=d(o,"if").call(c,null!=(l=null!=t?d(t,"filters"):t)?d(l,"name"):l,{name:"if",hash:{},fn:e.program(12,a,0,r,i),inverse:e.noop,data:a,loc:{start:{line:19,column:4},end:{line:24,column:11}}}))?l:"")+"\n"+(null!=(l=d(o,"if").call(c,null!=(l=null!=t?d(t,"filters"):t)?d(l,"tag"):l,{name:"if",hash:{},fn:e.program(14,a,0,r,i),inverse:e.noop,data:a,loc:{start:{line:26,column:4},end:{line:31,column:11}}}))?l:"")+"\n"+(null!=(l=d(o,"if").call(c,null!=(l=null!=t?d(t,"filters"):t)?d(l,"owner"):l,{name:"if",hash:{},fn:e.program(16,a,0,r,i),inverse:e.noop,data:a,loc:{start:{line:33,column:4},end:{line:43,column:11}}}))?l:"")+"\n"+(null!=(l=d(o,"if").call(c,null!=(l=null!=t?d(t,"filters"):t)?d(l,"orientation"):l,{name:"if",hash:{},fn:e.program(19,a,0,r,i),inverse:e.noop,data:a,loc:{start:{line:45,column:4},end:{line:54,column:11}}}))?l:"")+"\n"+(null!=(l=d(o,"if").call(c,null!=(l=null!=t?d(t,"filters"):t)?d(l,"provider"):l,{name:"if",hash:{},fn:e.program(21,a,0,r,i),inverse:e.noop,data:a,loc:{start:{line:56,column:4},end:{line:65,column:11}}}))?l:"")+'</form>\n\n<div id="media-content-'+e.escapeExpression("function"==typeof(s=null!=(s=d(o,"menuIndex")||(null!=t?d(t,"menuIndex"):t))?s:e.hooks.helperMissing)?s.call(c,{name:"menuIndex",hash:{},data:a,loc:{start:{line:68,column:23},end:{line:68,column:36}}}):s)+'" class="toolbar-pane-content"></div>'},useData:!0,useDepths:!0})},99393:function(e,t,o){var n=o(40202);e.exports=(n.default||n).template({1:function(e,t,o,n,a){return"toolbar-library-pane"},3:function(e,t,o,n,a){var r,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div id="media-container-'+e.escapeExpression("function"==typeof(r=null!=(r=i(o,"menuIndex")||(null!=t?i(t,"menuIndex"):t))?r:e.hooks.helperMissing)?r.call(null!=t?t:e.nullContext||{},{name:"menuIndex",hash:{},data:a,loc:{start:{line:6,column:33},end:{line:6,column:46}}}):r)+'" class="toolbar-pane-container"></div>\n'},5:function(e,t,o,n,a,r,i){var l,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(l=s(o,"if").call(null!=t?t:e.nullContext||{},null!=t?s(t,"content"):t,{name:"if",hash:{},fn:e.program(6,a,0,r,i),inverse:e.noop,data:a,loc:{start:{line:7,column:4},end:{line:45,column:4}}}))?l:""},6:function(e,t,o,n,a,r,i){var l,s=e.lambda,c=e.escapeExpression,d=null!=t?t:e.nullContext||{},f=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <form id="module-search-form" class="module-search-form">\n <div class="form-group">\n <label for="module-name" class="mb-0">'+c(s(null!=(l=null!=(l=null!=t?f(t,"trans"):t)?f(l,"searchFilters"):l)?f(l,"search"):l,t))+'</label>\n <input id="module-name" name="module-name" type="text" class="form-control input-name" value="'+c(s(null!=(l=null!=(l=null!=t?f(t,"filters"):t)?f(l,"name"):l)?f(l,"value"):l,t))+'">\n </div>\n </form>\n\n <div class="toolbar-pane-container">\n <div class="toolbar-pane-content">\n'+(null!=(l=f(o,"if").call(d,null!=(l=null!=t?f(t,"content"):t)?f(l,"modulesFav"):l,{name:"if",hash:{},fn:e.program(7,a,0,r,i),inverse:e.noop,data:a,loc:{start:{line:18,column:16},end:{line:20,column:23}}}))?l:"")+(null!=(l=f(o,"each").call(d,null!=(l=null!=t?f(t,"content"):t)?f(l,"modulesFav"):l,{name:"each",hash:{},fn:e.program(9,a,0,r,i),inverse:e.noop,data:a,loc:{start:{line:21,column:16},end:{line:26,column:25}}}))?l:"")+"\n"+(null!=(l=f(o,"if").call(d,null!=(l=null!=t?f(t,"content"):t)?f(l,"modules"):l,{name:"if",hash:{},fn:e.program(12,a,0,r,i),inverse:e.noop,data:a,loc:{start:{line:28,column:16},end:{line:30,column:23}}}))?l:"")+(null!=(l=f(o,"each").call(d,null!=(l=null!=t?f(t,"content"):t)?f(l,"modules"):l,{name:"each",hash:{},fn:e.program(9,a,0,r,i),inverse:e.noop,data:a,loc:{start:{line:31,column:16},end:{line:36,column:25}}}))?l:"")+"\n"+(null!=(l=f(o,"unless").call(d,null!=(l=null!=t?f(t,"content"):t)?f(l,"modulesFav"):l,{name:"unless",hash:{},fn:e.program(14,a,0,r,i),inverse:e.noop,data:a,loc:{start:{line:38,column:16},end:{line:42,column:27}}}))?l:"")+" </div>\n </div>\n "},7:function(e,t,o,n,a){var r,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div class="toolbar-header">'+e.escapeExpression(e.lambda(null!=(r=null!=t?i(t,"trans"):t)?i(r,"favourites"):r,t))+"</div>\n"},9:function(e,t,o,n,a,r,i){var l,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(l=s(o,"unless").call(null!=t?t:e.nullContext||{},null!=t?s(t,"hideElement"):t,{name:"unless",hash:{},fn:e.program(10,a,0,r,i),inverse:e.noop,data:a,loc:{start:{line:22,column:20},end:{line:25,column:31}}}))?l:""},10:function(e,t,n,a,r,i,l){var s,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(s=e.invokePartial(o(82622),t,{name:"toolbar-card",hash:{trans:null!=l[1]?c(l[1],"trans"):l[1]},data:r,indent:" ",helpers:n,partials:a,decorators:e.decorators}))?s:""},12:function(e,t,o,n,a){var r,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div class="toolbar-header">'+e.escapeExpression(e.lambda(null!=(r=null!=t?i(t,"trans"):t)?i(r,"widgets"):r,t))+"</div>\n"},14:function(e,t,o,n,a){var r,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(r=i(o,"unless").call(null!=t?t:e.nullContext||{},null!=(r=null!=t?i(t,"content"):t)?i(r,"modules"):r,{name:"unless",hash:{},fn:e.program(15,a,0),inverse:e.noop,data:a,loc:{start:{line:39,column:20},end:{line:41,column:31}}}))?r:""},15:function(e,t,o,n,a){var r,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div class="no-results-message">'+e.escapeExpression(e.lambda(null!=(r=null!=t?i(t,"trans"):t)?i(r,"noWidgetsToShow"):r,t))+"</div>\n"},compiler:[8,">= 4.3.0"],main:function(e,t,o,n,a,r,i){var l,s,c=null!=t?t:e.nullContext||{},d=e.hooks.helperMissing,f="function",u=e.escapeExpression,p=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div id="content-'+u(typeof(s=null!=(s=p(o,"menuIndex")||(null!=t?p(t,"menuIndex"):t))?s:d)===f?s.call(c,{name:"menuIndex",hash:{},data:a,loc:{start:{line:1,column:17},end:{line:1,column:30}}}):s)+'"\n class="toolbar-pane toolbar-'+u(typeof(s=null!=(s=p(o,"name")||(null!=t?p(t,"name"):t))?s:d)===f?s.call(c,{name:"name",hash:{},data:a,loc:{start:{line:2,column:32},end:{line:2,column:40}}}):s)+"-pane "+u(typeof(s=null!=(s=p(o,"state")||(null!=t?p(t,"state"):t))?s:d)===f?s.call(c,{name:"state",hash:{},data:a,loc:{start:{line:2,column:46},end:{line:2,column:55}}}):s)+" "+(null!=(l=p(o,"if").call(c,null!=t?p(t,"search"):t,{name:"if",hash:{},fn:e.program(1,a,0,r,i),inverse:e.noop,data:a,loc:{start:{line:2,column:56},end:{line:2,column:97}}}))?l:"")+'">\n <div class="close-content" data-toggle="tooltip" data-placement="right" data-title="'+u(e.lambda(null!=(l=null!=t?p(t,"trans"):t)?p(l,"closeTab"):l,t))+'"><i class="fa fa-arrow-left"></i></div>\n'+(null!=(l=p(o,"if").call(c,null!=t?p(t,"search"):t,{name:"if",hash:{},fn:e.program(3,a,0,r,i),inverse:e.program(5,a,0,r,i),data:a,loc:{start:{line:4,column:4},end:{line:45,column:11}}}))?l:"")+"</div>"},usePartial:!0,useData:!0,useDepths:!0})},36353:function(e,t,o){var n=o(40202);e.exports=(n.default||n).template({compiler:[8,">= 4.3.0"],main:function(e,t,o,n,a){var r,i=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,s="function",c=e.escapeExpression,d=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<select id="layoutJumpList" data-width="150px" data-url="'+c(typeof(r=null!=(r=d(o,"searchLink")||(null!=t?d(t,"searchLink"):t))?r:l)===s?r.call(i,{name:"searchLink",hash:{},data:a,loc:{start:{line:1,column:57},end:{line:1,column:73}}}):r)+'" data-designer-url="'+c(typeof(r=null!=(r=d(o,"designerLink")||(null!=t?d(t,"designerLink"):t))?r:l)===s?r.call(i,{name:"designerLink",hash:{},data:a,loc:{start:{line:1,column:94},end:{line:1,column:112}}}):r)+'">\n <option value="'+c(typeof(r=null!=(r=d(o,"layoutId")||(null!=t?d(t,"layoutId"):t))?r:l)===s?r.call(i,{name:"layoutId",hash:{},data:a,loc:{start:{line:2,column:19},end:{line:2,column:33}}}):r)+'">'+c(typeof(r=null!=(r=d(o,"layoutName")||(null!=t?d(t,"layoutName"):t))?r:l)===s?r.call(i,{name:"layoutName",hash:{},data:a,loc:{start:{line:2,column:35},end:{line:2,column:51}}}):r)+"</option>\n</select>"},useData:!0})},86123:function(e,t,o){var n=o(40202);e.exports=(n.default||n).template({1:function(e,t,o,n,a){var r,i=e.lambda,l=e.escapeExpression,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <span>\n <i class="fa fa-arrows-alt pr-2" data-title="'+l(i(null!=(r=null!=(r=null!=t?s(t,"trans"):t)?s(r,"mediaPreview"):r)?s(r,"dimensions"):r,t))+'" data-toggle="tooltip" data-placement="top"></i>\n '+l(i(null!=(r=null!=t?s(t,"data"):t)?s(r,"width"):r,t))+"x"+l(i(null!=(r=null!=t?s(t,"data"):t)?s(r,"height"):r,t))+"\n </span>\n"},3:function(e,t,o,n,a){var r,i=e.lambda,l=e.escapeExpression,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <span>\n <i class="fa fa-hdd pr-2" data-title="'+l(i(null!=(r=null!=(r=null!=t?s(t,"trans"):t)?s(r,"mediaPreview"):r)?s(r,"size"):r,t))+'" data-toggle="tooltip" data-placement="top"></i>\n '+l(i(null!=(r=null!=t?s(t,"data"):t)?s(r,"fileSizeFormatted"):r,t))+"\n </span>\n"},compiler:[8,">= 4.3.0"],main:function(e,t,o,n,a){var r,i=null!=t?t:e.nullContext||{},l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="mediaInfo">\n <span>'+e.escapeExpression(e.lambda(null!=(r=null!=t?l(t,"data"):t)?l(r,"title"):r,t))+"</span>\n \n"+(null!=(r=l(o,"if").call(i,null!=(r=null!=t?l(t,"data"):t)?l(r,"width"):r,{name:"if",hash:{},fn:e.program(1,a,0),inverse:e.noop,data:a,loc:{start:{line:4,column:4},end:{line:9,column:11}}}))?r:"")+(null!=(r=l(o,"if").call(i,null!=(r=null!=t?l(t,"data"):t)?l(r,"fileSizeFormatted"):r,{name:"if",hash:{},fn:e.program(3,a,0),inverse:e.noop,data:a,loc:{start:{line:10,column:4},end:{line:15,column:11}}}))?r:"")+"</div>"},useData:!0})},85375:function(e,t,o){var n=o(40202);e.exports=(n.default||n).template({compiler:[8,">= 4.3.0"],main:function(e,t,o,n,a){var r,i=e.lambda,l=e.escapeExpression,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="media-preview">\n <div id="closeBtn" class="fa fa-close preview-button" data-title="'+l(i(null!=(r=null!=(r=null!=t?s(t,"trans"):t)?s(r,"mediaPreview"):r)?s(r,"close"):r,t))+'" data-toggle="tooltip" data-placement="top"></div>\n <div id="sizeBtn" class="fa fa-arrow-circle-up preview-button" data-title="'+l(i(null!=(r=null!=(r=null!=t?s(t,"trans"):t)?s(r,"mediaPreview"):r)?s(r,"change"):r,t))+'" data-toggle="tooltip" data-placement="top"></div>\n <div id="selectBtn" class="fa fa-plus-square preview-button" data-title="'+l(i(null!=(r=null!=(r=null!=t?s(t,"trans"):t)?s(r,"mediaPreview"):r)?s(r,"select"):r,t))+'" data-toggle="tooltip" data-placement="top"></div>\n <div id="content"></div>\n <div id="info"></div>\n</div>'},useData:!0})},85696:function(e,t,o){var n=o(40202);e.exports=(n.default||n).template({1:function(e,t,o,n,a){return"opened"},3:function(e,t,o,n,a){var r,i,l=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,c="function",d=e.escapeExpression,f=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <li>\n <a id="btn-menu-'+d(typeof(i=null!=(i=f(o,"index")||a&&f(a,"index"))?i:s)===c?i.call(l,{name:"index",hash:{},data:a,loc:{start:{line:7,column:36},end:{line:7,column:46}}}):i)+'" class="btn-menu-option '+(null!=(r=f(o,"if").call(l,null!=t?f(t,"disabled"):t,{name:"if",hash:{},fn:e.program(4,a,0),inverse:e.noop,data:a,loc:{start:{line:7,column:71},end:{line:7,column:100}}}))?r:"")+" "+d(typeof(i=null!=(i=f(o,"state")||(null!=t?f(t,"state"):t))?i:s)===c?i.call(l,{name:"state",hash:{},data:a,loc:{start:{line:7,column:101},end:{line:7,column:110}}}):i)+'" data-container=".editor-side-bar"\n data-toggle="tooltip" data-title="'+d(typeof(i=null!=(i=f(o,"itemTitle")||(null!=t?f(t,"itemTitle"):t))?i:s)===c?i.call(l,{name:"itemTitle",hash:{},data:a,loc:{start:{line:8,column:58},end:{line:8,column:71}}}):i)+'" data-test="toolbarTabs">\n <i class="fas fa-'+d(typeof(i=null!=(i=f(o,"itemIcon")||(null!=t?f(t,"itemIcon"):t))?i:s)===c?i.call(l,{name:"itemIcon",hash:{},data:a,loc:{start:{line:9,column:41},end:{line:9,column:53}}}):i)+'"></i>\n </a>\n </li>\n'},4:function(e,t,o,n,a){return"d-none"},6:function(e,t,o,n,a){var r,i,l=null!=t?t:e.nullContext||{},s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div id="content-'+e.escapeExpression("function"==typeof(i=null!=(i=s(o,"index")||a&&s(a,"index"))?i:e.hooks.helperMissing)?i.call(l,{name:"index",hash:{},data:a,loc:{start:{line:18,column:33},end:{line:18,column:43}}}):i)+'" class="content '+(null!=(r=s(o,"if").call(l,null!=t?s(t,"disabled"):t,{name:"if",hash:{},fn:e.program(4,a,0),inverse:e.noop,data:a,loc:{start:{line:18,column:60},end:{line:18,column:89}}}))?r:"")+'"></div>\n'},8:function(e,t,o,n,a){var r,i=e.lambda,l=e.escapeExpression,s=null!=t?t:e.nullContext||{},c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <li>\n <a id="undoContainer" data-toggle="tooltip" data-container=".editor-side-bar" data-placement="top"\n data-title="'+l(i(null!=(r=null!=t?c(t,"trans"):t)?c(r,"undoActiveTitle"):r,t))+'"\n class="navbar-peek-button tooltip-always-on undo-container navbar-undo '+(null!=(r=c(o,"if").call(s,null!=t?c(t,"undoActive"):t,{name:"if",hash:{},fn:e.program(9,a,0),inverse:e.noop,data:a,loc:{start:{line:28,column:95},end:{line:28,column:126}}}))?r:"")+'">\n <i class="fa fa-undo"></i>\n </a>\n </li>\n\n <li>\n <a id="multiSelectContainer" data-toggle="tooltip" data-container=".editor-side-bar"\n data-placement="top" data-title="'+l(i(null!=(r=null!=t?c(t,"trans"):t)?c(r,"selectMultipleWidgets"):r,t))+'"\n class="navbar-peek-button navbar-multiselect active">\n <i class="fa fa-object-group"></i>\n </a>\n </li>\n\n <li>\n <a id="trashContainer" data-toggle="tooltip" data-container=".editor-side-bar" data-placement="top"\n data-title="'+l(i(null!=(r=null!=t?c(t,"trans"):t)?c(r,"trashBinActiveTitle"):r,t))+'"\n class="navbar-peek-button navbar-bin trash-container '+(null!=(r=c(o,"if").call(s,null!=t?c(t,"trashActive"):t,{name:"if",hash:{},fn:e.program(9,a,0),inverse:e.noop,data:a,loc:{start:{line:44,column:77},end:{line:44,column:109}}}))?r:"")+'">\n <i class="fa fa-trash"></i>\n </a>\n </li>\n\n <li class="dropright navbar-submenu navbar-submenu-options" data-toggle="tooltip"\n data-container=".editor-side-bar" data-placement="top" data-title="'+l(i(null!=(r=null!=t?c(t,"trans"):t)?c(r,"options"):r,t))+'">\n <a id="optionsContainer" class="dropdown-toggle btn-menu-option option-container"\n data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">\n <i class="fa fa-bars"></i>\n </a>\n\n <div class="dropdown-menu dropdown-menu-right navbar-submenu-container navbar-submenu-options-container"\n aria-labelledby="optionsContainer">\n <a class="dropdown-item">\n <label\n class="navbar-submenu-item navbar-submenu-item-options displayTooltips-container tooltip-always-on"\n for="displayTooltips" data-toggle="tooltip" data-container=".editor-side-bar"\n data-placement="left" data-title="'+l(i(null!=(r=null!=t?c(t,"trans"):t)?c(r,"displayTooltipsTitle"):r,t))+'" accesskey="">\n <input type="checkbox" id="displayTooltips" name="displayTooltips" '+(null!=(r=c(o,"if").call(s,null!=t?c(t,"displayTooltips"):t,{name:"if",hash:{},fn:e.program(11,a,0),inverse:e.noop,data:a,loc:{start:{line:63,column:99},end:{line:64,column:67}}}))?r:"")+">\n <span>"+l(i(null!=(r=null!=t?c(t,"trans"):t)?c(r,"displayTooltipsName"):r,t))+'</span>\n </label>\n </a>\n <a class="dropdown-item">\n <div id="resetTour"\n class="navbar-submenu-item navbar-submenu-item-options tooltip-always-on d-none"\n data-toggle="tooltip" data-container=".editor-side-bar" data-placement="bottom"\n data-title="'+l(i(null!=(r=null!=t?c(t,"trans"):t)?c(r,"resetTourTitle"):r,t))+'" href="#">\n <i class="fa fa-repeat"></i>\n <span>'+l(i(null!=(r=null!=t?c(t,"trans"):t)?c(r,"resetTour"):r,t))+"</span>\n </div>\n </a </div>\n </li>\n"},9:function(e,t,o,n,a){return"active"},11:function(e,t,o,n,a){return"checked"},compiler:[8,">= 4.3.0"],main:function(e,t,o,n,a){var r,i=null!=t?t:e.nullContext||{},l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<nav class="navbar navbar-dark navbar-expand-md flex-column '+(null!=(r=l(o,"if").call(i,null!=t?l(t,"opened"):t,{name:"if",hash:{},fn:e.program(1,a,0),inverse:e.noop,data:a,loc:{start:{line:1,column:60},end:{line:1,column:87}}}))?r:"")+'">\n <div class="container-toolbar container-fluid flex-column flex-column justify-content-between">\n <ul class="navbar-nav navbar-buttons flex-column toolbar-menu-left hide-on-read-only hide-on-lock">\n'+(null!=(r=l(o,"each").call(i,null!=t?l(t,"menuItems"):t,{name:"each",hash:{},fn:e.program(3,a,0),inverse:e.noop,data:a,loc:{start:{line:5,column:12},end:{line:12,column:21}}}))?r:"")+' </ul>\n\n <ul class="navbar-nav flex-column toolbar-menu-content hide-on-read-only hide-on-lock">\n'+(null!=(r=l(o,"each").call(i,null!=t?l(t,"menuItems"):t,{name:"each",hash:{},fn:e.program(6,a,0),inverse:e.noop,data:a,loc:{start:{line:17,column:12},end:{line:19,column:21}}}))?r:"")+' </ul>\n\n <ul class="navbar-nav flex-column navbar-right toolbar-menu-right hide-on-read-only hide-on-lock">\n'+(null!=(r=l(o,"if").call(i,null!=t?l(t,"showOptions"):t,{name:"if",hash:{},fn:e.program(8,a,0),inverse:e.noop,data:a,loc:{start:{line:24,column:12},end:{line:78,column:19}}}))?r:"")+" </ul>\n </div>\n</nav>"},useData:!0})},94648:function(e,t,o){var n=o(40202);e.exports=(n.default||n).template({1:function(e,t,o,n,a){var r,i=e.lambda,l=e.escapeExpression,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <span class="layout-info-actions"\n data-toggle="tooltip" \n data-placement="bottom"\n data-container=".editor-top-bar" \n data-title="'+l(i(null!=(r=null!=t?s(t,"trans"):t)?s(r,"layoutActions"):r,t))+" "+l(i(null!=(r=null!=(r=null!=t?s(t,"mainObject"):t)?s(r,"actions"):r)?s(r,"length"):r,t))+'">\n <i class="fa fa-paper-plane layout-info-icon"></i><span class="layout-info-label">'+l(i(null!=(r=null!=t?s(t,"trans"):t)?s(r,"layoutActions"):r,t))+" "+l(i(null!=(r=null!=(r=null!=t?s(t,"mainObject"):t)?s(r,"actions"):r)?s(r,"length"):r,t))+"\n </span>\n"},3:function(e,t,o,n,a){var r,i=e.lambda,l=e.escapeExpression,s=null!=t?t:e.nullContext||{},c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <li class="nav-item dropdown navbar-submenu navbar-submenu-options hide-on-lock" data-toggle="tooltip" data-container=".editor-top-bar" data-placement="top"\n data-title="'+l(i(null!=(r=null!=t?c(t,"trans"):t)?c(r,"options"):r,t))+'">\n <a id="optionsContainerTop" class="nav-link dropdown-toggle option-container" data-toggle="dropdown" role="button"\n aria-haspopup="true" aria-expanded="false">\n <i class="fa fa-bars"></i>\n </a>\n \n <div class="dropdown-menu dropdown-menu-right navbar-submenu-container navbar-submenu-options-container" aria-labelledby="optionsContainerTop">\n'+(null!=(r=c(o,"each").call(s,null!=t?c(t,"customDropdownOptions"):t,{name:"each",hash:{},fn:e.program(4,a,0),inverse:e.noop,data:a,loc:{start:{line:70,column:24},end:{line:79,column:33}}}))?r:"")+"\n"+(null!=(r=c(o,"if").call(s,null!=t?c(t,"customDropdownOptions"):t,{name:"if",hash:{},fn:e.program(7,a,0),inverse:e.noop,data:a,loc:{start:{line:81,column:24},end:{line:83,column:31}}}))?r:"")+' \n <a class="dropdown-item">\n <label class="navbar-submenu-item navbar-submenu-item-options displayTooltips-container tooltip-always-on"\n for="displayTooltips" data-toggle="tooltip" data-container=".editor-top-bar" data-placement="left" data-title="'+l(i(null!=(r=null!=t?c(t,"trans"):t)?c(r,"displayTooltipsTitle"):r,t))+'"\n accesskey="">\n <input type="checkbox" id="displayTooltips" name="displayTooltips"\n '+(null!=(r=c(o,"if").call(s,null!=t?c(t,"displayTooltips"):t,{name:"if",hash:{},fn:e.program(9,a,0),inverse:e.noop,data:a,loc:{start:{line:90,column:36},end:{line:90,column:73}}}))?r:"")+">\n <span>"+l(i(null!=(r=null!=t?c(t,"trans"):t)?c(r,"displayTooltipsName"):r,t))+'</span>\n </label>\n </a>\n <a class="dropdown-item">\n <div id="resetTour" class="navbar-submenu-item navbar-submenu-item-options tooltip-always-on d-none"\n data-toggle="tooltip" data-container=".editor-top-bar" data-placement="bottom" data-title="'+l(i(null!=(r=null!=t?c(t,"trans"):t)?c(r,"resetTourTitle"):r,t))+'" href="#">\n <i class="fa fa-repeat"></i>\n <span>'+l(i(null!=(r=null!=t?c(t,"trans"):t)?c(r,"resetTour"):r,t))+"</span>\n </div>\n </a>\n </div>\n </li>\n"},4:function(e,t,o,n,a){var r,i,l=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,c="function",d=e.escapeExpression,f=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <a class="dropdown-item">\n <div id="'+d(typeof(i=null!=(i=f(o,"id")||(null!=t?f(t,"id"):t))?i:s)===c?i.call(l,{name:"id",hash:{},data:a,loc:{start:{line:72,column:41},end:{line:72,column:47}}}):i)+'" class="navbar-submenu-item '+d(typeof(i=null!=(i=f(o,"class")||(null!=t?f(t,"class"):t))?i:s)===c?i.call(l,{name:"class",hash:{},data:a,loc:{start:{line:72,column:76},end:{line:72,column:85}}}):i)+'" href="#">\n'+(null!=(r=f(o,"if").call(l,null!=t?f(t,"logo"):t,{name:"if",hash:{},fn:e.program(5,a,0),inverse:e.noop,data:a,loc:{start:{line:73,column:36},end:{line:75,column:43}}}))?r:"")+" <span>"+d(typeof(i=null!=(i=f(o,"title")||(null!=t?f(t,"title"):t))?i:s)===c?i.call(l,{name:"title",hash:{},data:a,loc:{start:{line:76,column:42},end:{line:76,column:51}}}):i)+"</span>\n </div>\n </a>\n"},5:function(e,t,o,n,a){var r,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <i class="fa '+e.escapeExpression("function"==typeof(r=null!=(r=i(o,"logo")||(null!=t?i(t,"logo"):t))?r:e.hooks.helperMissing)?r.call(null!=t?t:e.nullContext||{},{name:"logo",hash:{},data:a,loc:{start:{line:74,column:53},end:{line:74,column:61}}}):r)+'"></i>\n'},7:function(e,t,o,n,a){return' <div class="dropdown-divider"></div>\n'},9:function(e,t,o,n,a){return"checked"},compiler:[8,">= 4.3.0"],main:function(e,t,o,n,a){var r,i=e.lambda,l=e.escapeExpression,s=null!=t?t:e.nullContext||{},c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<nav class="navbar">\n <div class="container-toolbar container-fluid">\n <div id="layoutInfo" class="navbar-text layout-info">\n <span id="layout-info-status" class="badge badge-default" \n data-status-code="" \n data-toggle="popover"\n data-trigger="hover" \n data-placement="right"\n data-html="true">\n <i class="fa fa-spinner fa-spin"></i>\n </span>\n\n <span class="layout-info-name" \n data-toggle="tooltip" \n data-placement="bottom"\n data-container=".editor-top-bar" \n data-title="'+l(i(null!=(r=null!=t?c(t,"trans"):t)?c(r,"nameDetail"):r,t))+'">\n <span class="layout-info-label">'+l(i(null!=(r=null!=t?c(t,"trans"):t)?c(r,"name"):r,t))+':</span>"'+l(i(null!=(r=null!=t?c(t,"mainObject"):t)?c(r,"name"):r,t))+'"\n </span>\n\n <span class="layout-info-duration"\n data-toggle="tooltip" \n data-placement="bottom"\n data-container=".editor-top-bar" \n data-title="'+l(i(null!=(r=null!=t?c(t,"trans"):t)?c(r,"durationDetail"):r,t))+'">\n <i class="fa fa-clock-o layout-info-icon"></i><span class="layout-info-label">'+l(i(null!=(r=null!=t?c(t,"trans"):t)?c(r,"duration"):r,t))+':</span>\n <span class="layout-info-duration-value">'+l(i(null!=(r=null!=t?c(t,"mainObject"):t)?c(r,"duration"):r,t))+'</span>s\n </span>\n\n <span class="layout-info-dimensions"\n data-toggle="tooltip" \n data-placement="bottom"\n data-container=".editor-top-bar" \n data-title="'+l(i(null!=(r=null!=t?c(t,"trans"):t)?c(r,"dimensionsDetail"):r,t))+'">\n <i class="fa fa-arrows layout-info-icon"></i><span class="layout-info-label">'+l(i(null!=(r=null!=t?c(t,"trans"):t)?c(r,"dimensions"):r,t))+":</span>"+l(i(null!=(r=null!=t?c(t,"mainObject"):t)?c(r,"width"):r,t))+"x"+l(i(null!=(r=null!=t?c(t,"mainObject"):t)?c(r,"height"):r,t))+"\n </span>\n\n"+(null!=(r=c(o,"if").call(s,null!=(r=null!=t?c(t,"mainObject"):t)?c(r,"actions"):r,{name:"if",hash:{},fn:e.program(1,a,0),inverse:e.noop,data:a,loc:{start:{line:39,column:12},end:{line:47,column:19}}}))?r:"")+' </div>\n\n <ul class="layout-action-menu nav">\n\n <li>\n <div id="layoutJumpListContainer" data-toggle="tooltip" data-placement="bottom" data-container=".editor-top-bar" data-title="'+l(i(null!=(r=null!=t?c(t,"trans"):t)?c(r,"changeLayout"):r,t))+'"\n class="navbar-btn d-none">\n </div>\n </li>\n\n'+(null!=(r=c(o,"if").call(s,null!=t?c(t,"showOptions"):t,{name:"if",hash:{},fn:e.program(3,a,0),inverse:e.noop,data:a,loc:{start:{line:61,column:12},end:{line:103,column:19}}}))?r:"")+" </ul>\n </div>\n</nav>"},useData:!0})},84880:function(e,t,o){var n=o(40202);e.exports=(n.default||n).template({compiler:[8,">= 4.3.0"],main:function(e,t,o,n,a){var r,i=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,s="function",c=e.escapeExpression,d=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<iframe scrolling="no" \n src="'+c(typeof(r=null!=(r=d(o,"url")||(null!=t?d(t,"url"):t))?r:l)===s?r.call(i,{name:"url",hash:{},data:a,loc:{start:{line:2,column:9},end:{line:2,column:16}}}):r)+'" \n width="'+c(typeof(r=null!=(r=d(o,"width")||(null!=t?d(t,"width"):t))?r:l)===s?r.call(i,{name:"width",hash:{},data:a,loc:{start:{line:3,column:11},end:{line:3,column:20}}}):r)+'px" \n height="'+c(typeof(r=null!=(r=d(o,"height")||(null!=t?d(t,"height"):t))?r:l)===s?r.call(i,{name:"height",hash:{},data:a,loc:{start:{line:4,column:12},end:{line:4,column:22}}}):r)+'px" \n style="border:0;">\n</iframe>'},useData:!0})},14775:function(e,t,o){var n=o(40202);e.exports=(n.default||n).template({1:function(e,t,o,n,a){return"editable"},3:function(e,t,o,n,a){return"empty"},compiler:[8,">= 4.3.0"],main:function(e,t,o,n,a){var r,i,l=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,c="function",d=e.escapeExpression,f=e.lambda,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div id="'+d(typeof(i=null!=(i=u(o,"id")||(null!=t?u(t,"id"):t))?i:s)===c?i.call(l,{name:"id",hash:{},data:a,loc:{start:{line:1,column:9},end:{line:1,column:15}}}):i)+'" data-type="region" class="designer-region tooltip-always-on '+(null!=(r=u(o,"if").call(l,null!=t?u(t,"isEditable"):t,{name:"if",hash:{},fn:e.program(1,a,0),inverse:e.noop,data:a,loc:{start:{line:1,column:77},end:{line:1,column:110}}}))?r:"")+" "+(null!=(r=u(o,"if").call(l,null!=t?u(t,"isEmpty"):t,{name:"if",hash:{},fn:e.program(3,a,0),inverse:e.noop,data:a,loc:{start:{line:1,column:111},end:{line:1,column:138}}}))?r:"")+'" data-region-id="'+d(typeof(i=null!=(i=u(o,"id")||(null!=t?u(t,"id"):t))?i:s)===c?i.call(l,{name:"id",hash:{},data:a,loc:{start:{line:1,column:156},end:{line:1,column:162}}}):i)+'" data-toggle="tooltip" data-container="#layout-viewer" data-title="'+d(typeof(i=null!=(i=u(o,"name")||(null!=t?u(t,"name"):t))?i:s)===c?i.call(l,{name:"name",hash:{},data:a,loc:{start:{line:1,column:230},end:{line:1,column:238}}}):i)+'" style="position:absolute; \n width: '+d(f(null!=(r=null!=t?u(t,"scaledDimensions"):t)?u(r,"width"):r,t))+"px; \n height: "+d(f(null!=(r=null!=t?u(t,"scaledDimensions"):t)?u(r,"height"):r,t))+"px; \n top: "+d(f(null!=(r=null!=t?u(t,"scaledDimensions"):t)?u(r,"top"):r,t))+"px;\n left: "+d(f(null!=(r=null!=t?u(t,"scaledDimensions"):t)?u(r,"left"):r,t))+"px;\n z-index: "+d(typeof(i=null!=(i=u(o,"zIndex")||(null!=t?u(t,"zIndex"):t))?i:s)===c?i.call(l,{name:"zIndex",hash:{},data:a,loc:{start:{line:6,column:17},end:{line:6,column:29}}}):i)+';">\n\n <div class="designer-region-overlay"></div>\n</div>'},useData:!0})},93356:function(e,t,o){var n=o(40202);e.exports=(n.default||n).template({1:function(e,t,o,n,a){var r,i=e.lambda,l=e.escapeExpression,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div class="preview-paging text-right">\n <span class="preview-paging-name pull-left tooltip-always-on" data-toggle="tooltip" data-container="#layout-viewer-container" data-placement="bottom"></span>\n <i class="fa fa-arrow-circle-o-left widget-arrow widget-left" data-toggle="tooltip" data-container="#layout-viewer-container" data-placement="bottom" data-title="'+l(i(null!=(r=null!=t?s(t,"trans"):t)?s(r,"previousWidget"):r,t))+'"></i>\n <span class="preview-paging-message"></span>\n <i class="fa fa-arrow-circle-o-right widget-arrow widget-right" data-toggle="tooltip" data-container="#layout-viewer-container" data-placement="bottom" data-title="'+l(i(null!=(r=null!=t?s(t,"trans"):t)?s(r,"nextWidget"):r,t))+'"></i>\n </div>\n <div class="preview-select"></div>\n'},3:function(e,t,o,n,a){return' <div id="border-before" class="layout-viewer-border"></div>\n <div id="border-after" class="layout-viewer-border"></div>\n'},5:function(e,t,o,n,a){var r,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div class="layout-live-preview">\n <div id="regions">\n'+(null!=(r=i(o,"each").call(null!=t?t:e.nullContext||{},null!=(r=null!=t?i(t,"layout"):t)?i(r,"regions"):r,{name:"each",hash:{},fn:e.program(6,a,0),inverse:e.noop,data:a,loc:{start:{line:25,column:16},end:{line:27,column:25}}}))?r:"")+" </div>\n </div>\n"},6:function(e,t,n,a,r){var i;return null!=(i=e.invokePartial(o(14775),t,{name:"viewer-region",data:r,indent:" ",helpers:n,partials:a,decorators:e.decorators}))?i:""},8:function(e,t,o,n,a){var r,i=null!=t?t:e.nullContext||{},l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(r=l(o,"unless").call(i,null!=t?l(t,"smallPreview"):t,{name:"unless",hash:{},fn:e.program(9,a,0),inverse:e.noop,data:a,loc:{start:{line:31,column:8},end:{line:40,column:19}}}))?r:"")+" \n"+(null!=(r=l(o,"if").call(i,null!=t?l(t,"isEmpty"):t,{name:"if",hash:{},fn:e.program(11,a,0),inverse:e.program(14,a,0),data:a,loc:{start:{line:42,column:8},end:{line:52,column:15}}}))?r:"")},9:function(e,t,o,n,a){var r,i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div id="inline-editor" class="inline-editor-opened"></div>\n\n <div id="inline-editor-overlay" class="inline-editor-closed">\n <div class="edit-btn-container">\n <i id="edit-btn" class="fa fa-edit" data-toggle="tooltip" data-container="#layout-viewer-container" data-placement="bottom" data-title="'+e.escapeExpression(e.lambda(null!=(r=null!=t?i(t,"trans"):t)?i(r,"inlineEditor"):r,t))+'"></i>\n </div>\n </div>\n'},11:function(e,t,o,n,a){var r,i,l=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,c="function",d=e.escapeExpression,f=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div id="'+d(typeof(i=null!=(i=f(o,"id")||(null!=t?f(t,"id"):t))?i:s)===c?i.call(l,{name:"id",hash:{},data:a,loc:{start:{line:43,column:21},end:{line:43,column:27}}}):i)+'"class="empty-region designer-region '+(null!=(r=f(o,"if").call(l,null!=t?f(t,"editable"):t,{name:"if",hash:{},fn:e.program(12,a,0),inverse:e.noop,data:a,loc:{start:{line:43,column:64},end:{line:43,column:95}}}))?r:"")+'" data-region-id="'+d(typeof(i=null!=(i=f(o,"id")||(null!=t?f(t,"id"):t))?i:s)===c?i.call(l,{name:"id",hash:{},data:a,loc:{start:{line:43,column:113},end:{line:43,column:119}}}):i)+'" data-type="region">\n <p class="center-msg">\n '+d(e.lambda(null!=(r=null!=(r=null!=t?f(t,"res"):t)?f(r,"extra"):r)?f(r,"text"):r,t))+"\n </p>\n </div>\n"},12:function(e,t,o,n,a){return"editable"},14:function(e,t,o,n,a){var r,i,l=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,c="function",d=e.escapeExpression,f=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <div id="viewer-preview" class="widget-preview '+(null!=(r=f(o,"if").call(l,null!=t?f(t,"editable"):t,{name:"if",hash:{},fn:e.program(15,a,0),inverse:e.noop,data:a,loc:{start:{line:49,column:59},end:{line:49,column:97}}}))?r:"")+" "+(null!=(r=f(o,"if").call(l,null!=t?f(t,"drawer"):t,{name:"if",hash:{},fn:e.program(17,a,0),inverse:e.noop,data:a,loc:{start:{line:49,column:98},end:{line:49,column:132}}}))?r:"")+'" data-parent="region" data-parent-id="'+d(typeof(i=null!=(i=f(o,"parentId")||(null!=t?f(t,"parentId"):t))?i:s)===c?i.call(l,{name:"parentId",hash:{},data:a,loc:{start:{line:49,column:171},end:{line:49,column:183}}}):i)+'" data-type="'+d(typeof(i=null!=(i=f(o,"type")||(null!=t?f(t,"type"):t))?i:s)===c?i.call(l,{name:"type",hash:{},data:a,loc:{start:{line:49,column:196},end:{line:49,column:204}}}):i)+'" data-position="'+d(typeof(i=null!=(i=f(o,"elementPosition")||(null!=t?f(t,"elementPosition"):t))?i:s)===c?i.call(l,{name:"elementPosition",hash:{},data:a,loc:{start:{line:49,column:221},end:{line:49,column:240}}}):i)+'">\n '+(null!=(r=e.lambda(null!=(r=null!=t?f(t,"res"):t)?f(r,"html"):r,t))?r:"")+"\n </div>\n"},15:function(e,t,o,n,a){return"parent-editable"},17:function(e,t,o,n,a){return"drawer-parent"},compiler:[8,">= 4.3.0"],main:function(e,t,o,n,a){var r,i,l=null!=t?t:e.nullContext||{},s=e.escapeExpression,c=e.lambda,d=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(r=d(o,"if").call(l,null!=t?d(t,"smallPreview"):t,{name:"if",hash:{},fn:e.program(1,a,0),inverse:e.program(3,a,0),data:a,loc:{start:{line:1,column:0},end:{line:12,column:7}}}))?r:"")+'\n<div class="viewer-element '+s("function"==typeof(i=null!=(i=d(o,"containerStyle")||(null!=t?d(t,"containerStyle"):t))?i:e.hooks.helperMissing)?i.call(l,{name:"containerStyle",hash:{},data:a,loc:{start:{line:14,column:27},end:{line:14,column:45}}}):i)+'"\n style="width: '+s(c(null!=(r=null!=t?d(t,"dimensions"):t)?d(r,"width"):r,t))+"px;\n height: "+s(c(null!=(r=null!=t?d(t,"dimensions"):t)?d(r,"height"):r,t))+"px;\n top: "+s(c(null!=(r=null!=t?d(t,"dimensions"):t)?d(r,"top"):r,t))+"px;\n left: "+s(c(null!=(r=null!=t?d(t,"dimensions"):t)?d(r,"left"):r,t))+'px;"\n>\n\n'+(null!=(r=d(o,"if").call(l,null!=t?d(t,"renderLayout"):t,{name:"if",hash:{},fn:e.program(5,a,0),inverse:e.program(8,a,0),data:a,loc:{start:{line:21,column:4},end:{line:53,column:11}}}))?r:"")+"</div>"},usePartial:!0,useData:!0})},86834:function(e,t,o){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t.default=e,t}t.__esModule=!0;var r=a(o(92067)),i=n(o(5558)),l=n(o(98728)),s=a(o(72392)),c=a(o(51628)),d=n(o(53982));function f(){var e=new r.HandlebarsEnvironment;return s.extend(e,r),e.SafeString=i.default,e.Exception=l.default,e.Utils=s,e.escapeExpression=s.escapeExpression,e.VM=c,e.template=function(t){return c.template(t,e)},e}var u=f();u.create=f,d.default(u),u.default=u,t.default=u,e.exports=t.default},92067:function(e,t,o){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.HandlebarsEnvironment=f;var a=o(72392),r=n(o(98728)),i=o(12638),l=o(90881),s=n(o(8037)),c=o(56293);t.VERSION="4.7.7",t.COMPILER_REVISION=8,t.LAST_COMPATIBLE_COMPILER_REVISION=7,t.REVISION_CHANGES={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:"== 1.x.x",5:"== 2.0.0-alpha.x",6:">= 2.0.0-beta.1",7:">= 4.0.0 <4.3.0",8:">= 4.3.0"};var d="[object Object]";function f(e,t,o){this.helpers=e||{},this.partials=t||{},this.decorators=o||{},i.registerDefaultHelpers(this),l.registerDefaultDecorators(this)}f.prototype={constructor:f,logger:s.default,log:s.default.log,registerHelper:function(e,t){if(a.toString.call(e)===d){if(t)throw new r.default("Arg not supported with multiple helpers");a.extend(this.helpers,e)}else this.helpers[e]=t},unregisterHelper:function(e){delete this.helpers[e]},registerPartial:function(e,t){if(a.toString.call(e)===d)a.extend(this.partials,e);else{if(void 0===t)throw new r.default('Attempting to register a partial called "'+e+'" as undefined');this.partials[e]=t}},unregisterPartial:function(e){delete this.partials[e]},registerDecorator:function(e,t){if(a.toString.call(e)===d){if(t)throw new r.default("Arg not supported with multiple decorators");a.extend(this.decorators,e)}else this.decorators[e]=t},unregisterDecorator:function(e){delete this.decorators[e]},resetLoggedPropertyAccesses:function(){c.resetLoggedProperties()}};var u=s.default.log;t.log=u,t.createFrame=a.createFrame,t.logger=s.default},90881:function(e,t,o){"use strict";t.__esModule=!0,t.registerDefaultDecorators=function(e){a.default(e)};var n,a=(n=o(75670))&&n.__esModule?n:{default:n}},75670:function(e,t,o){"use strict";t.__esModule=!0;var n=o(72392);t.default=function(e){e.registerDecorator("inline",(function(e,t,o,a){var r=e;return t.partials||(t.partials={},r=function(a,r){var i=o.partials;o.partials=n.extend({},i,t.partials);var l=e(a,r);return o.partials=i,l}),t.partials[a.args[0]]=a.fn,r}))},e.exports=t.default},98728:function(e,t){"use strict";t.__esModule=!0;var o=["description","fileName","lineNumber","endLineNumber","message","name","number","stack"];function n(e,t){var a=t&&t.loc,r=void 0,i=void 0,l=void 0,s=void 0;a&&(r=a.start.line,i=a.end.line,l=a.start.column,s=a.end.column,e+=" - "+r+":"+l);for(var c=Error.prototype.constructor.call(this,e),d=0;d<o.length;d++)this[o[d]]=c[o[d]];Error.captureStackTrace&&Error.captureStackTrace(this,n);try{a&&(this.lineNumber=r,this.endLineNumber=i,Object.defineProperty?(Object.defineProperty(this,"column",{value:l,enumerable:!0}),Object.defineProperty(this,"endColumn",{value:s,enumerable:!0})):(this.column=l,this.endColumn=s))}catch(e){}}n.prototype=new Error,t.default=n,e.exports=t.default},12638:function(e,t,o){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.registerDefaultHelpers=function(e){a.default(e),r.default(e),i.default(e),l.default(e),s.default(e),c.default(e),d.default(e)},t.moveHelperToHooks=function(e,t,o){e.helpers[t]&&(e.hooks[t]=e.helpers[t],o||delete e.helpers[t])};var a=n(o(57342)),r=n(o(16822)),i=n(o(4905)),l=n(o(97405)),s=n(o(35702)),c=n(o(77593)),d=n(o(53978))},57342:function(e,t,o){"use strict";t.__esModule=!0;var n=o(72392);t.default=function(e){e.registerHelper("blockHelperMissing",(function(t,o){var a=o.inverse,r=o.fn;if(!0===t)return r(this);if(!1===t||null==t)return a(this);if(n.isArray(t))return t.length>0?(o.ids&&(o.ids=[o.name]),e.helpers.each(t,o)):a(this);if(o.data&&o.ids){var i=n.createFrame(o.data);i.contextPath=n.appendContextPath(o.data.contextPath,o.name),o={data:i}}return r(t,o)}))},e.exports=t.default},16822:function(e,t,o){"use strict";t.__esModule=!0;var n,a=o(72392),r=(n=o(98728))&&n.__esModule?n:{default:n};t.default=function(e){e.registerHelper("each",(function(e,t){if(!t)throw new r.default("Must pass iterator to #each");var n,i=t.fn,l=t.inverse,s=0,c="",d=void 0,f=void 0;function u(t,o,n){d&&(d.key=t,d.index=o,d.first=0===o,d.last=!!n,f&&(d.contextPath=f+t)),c+=i(e[t],{data:d,blockParams:a.blockParams([e[t],t],[f+t,null])})}if(t.data&&t.ids&&(f=a.appendContextPath(t.data.contextPath,t.ids[0])+"."),a.isFunction(e)&&(e=e.call(this)),t.data&&(d=a.createFrame(t.data)),e&&"object"==typeof e)if(a.isArray(e))for(var p=e.length;s<p;s++)s in e&&u(s,s,s===e.length-1);else if(o.g.Symbol&&e[o.g.Symbol.iterator]){for(var b=[],m=e[o.g.Symbol.iterator](),h=m.next();!h.done;h=m.next())b.push(h.value);for(p=(e=b).length;s<p;s++)u(s,s,s===e.length-1)}else n=void 0,Object.keys(e).forEach((function(e){void 0!==n&&u(n,s-1),n=e,s++})),void 0!==n&&u(n,s-1,!0);return 0===s&&(c=l(this)),c}))},e.exports=t.default},4905:function(e,t,o){"use strict";t.__esModule=!0;var n,a=(n=o(98728))&&n.__esModule?n:{default:n};t.default=function(e){e.registerHelper("helperMissing",(function(){if(1!==arguments.length)throw new a.default('Missing helper: "'+arguments[arguments.length-1].name+'"')}))},e.exports=t.default},97405:function(e,t,o){"use strict";t.__esModule=!0;var n,a=o(72392),r=(n=o(98728))&&n.__esModule?n:{default:n};t.default=function(e){e.registerHelper("if",(function(e,t){if(2!=arguments.length)throw new r.default("#if requires exactly one argument");return a.isFunction(e)&&(e=e.call(this)),!t.hash.includeZero&&!e||a.isEmpty(e)?t.inverse(this):t.fn(this)})),e.registerHelper("unless",(function(t,o){if(2!=arguments.length)throw new r.default("#unless requires exactly one argument");return e.helpers.if.call(this,t,{fn:o.inverse,inverse:o.fn,hash:o.hash})}))},e.exports=t.default},35702:function(e,t){"use strict";t.__esModule=!0,t.default=function(e){e.registerHelper("log",(function(){for(var t=[void 0],o=arguments[arguments.length-1],n=0;n<arguments.length-1;n++)t.push(arguments[n]);var a=1;null!=o.hash.level?a=o.hash.level:o.data&&null!=o.data.level&&(a=o.data.level),t[0]=a,e.log.apply(e,t)}))},e.exports=t.default},77593:function(e,t){"use strict";t.__esModule=!0,t.default=function(e){e.registerHelper("lookup",(function(e,t,o){return e?o.lookupProperty(e,t):e}))},e.exports=t.default},53978:function(e,t,o){"use strict";t.__esModule=!0;var n,a=o(72392),r=(n=o(98728))&&n.__esModule?n:{default:n};t.default=function(e){e.registerHelper("with",(function(e,t){if(2!=arguments.length)throw new r.default("#with requires exactly one argument");a.isFunction(e)&&(e=e.call(this));var o=t.fn;if(a.isEmpty(e))return t.inverse(this);var n=t.data;return t.data&&t.ids&&((n=a.createFrame(t.data)).contextPath=a.appendContextPath(t.data.contextPath,t.ids[0])),o(e,{data:n,blockParams:a.blockParams([e],[n&&n.contextPath])})}))},e.exports=t.default},8572:function(e,t,o){"use strict";t.__esModule=!0,t.createNewLookupObject=function(){for(var e=arguments.length,t=Array(e),o=0;o<e;o++)t[o]=arguments[o];return n.extend.apply(void 0,[Object.create(null)].concat(t))};var n=o(72392)},56293:function(e,t,o){"use strict";t.__esModule=!0,t.createProtoAccessControl=function(e){var t=Object.create(null);t.constructor=!1,t.__defineGetter__=!1,t.__defineSetter__=!1,t.__lookupGetter__=!1;var o=Object.create(null);return o.__proto__=!1,{properties:{whitelist:n.createNewLookupObject(o,e.allowedProtoProperties),defaultValue:e.allowProtoPropertiesByDefault},methods:{whitelist:n.createNewLookupObject(t,e.allowedProtoMethods),defaultValue:e.allowProtoMethodsByDefault}}},t.resultIsAllowed=function(e,t,o){return function(e,t){return void 0!==e.whitelist[t]?!0===e.whitelist[t]:void 0!==e.defaultValue?e.defaultValue:(function(e){!0!==r[e]&&(r[e]=!0,a.log("error",'Handlebars: Access has been denied to resolve the property "'+e+'" because it is not an "own property" of its parent.\nYou can add a runtime option to disable the check or this warning:\nSee https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details'))}(t),!1)}("function"==typeof e?t.methods:t.properties,o)},t.resetLoggedProperties=function(){Object.keys(r).forEach((function(e){delete r[e]}))};var n=o(8572),a=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t.default=e,t}(o(8037)),r=Object.create(null)},15005:function(e,t){"use strict";t.__esModule=!0,t.wrapHelper=function(e,t){return"function"!=typeof e?e:function(){var o=arguments[arguments.length-1];return arguments[arguments.length-1]=t(o),e.apply(this,arguments)}}},8037:function(e,t,o){"use strict";t.__esModule=!0;var n=o(72392),a={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:function(e){if("string"==typeof e){var t=n.indexOf(a.methodMap,e.toLowerCase());e=t>=0?t:parseInt(e,10)}return e},log:function(e){if(e=a.lookupLevel(e),"undefined"!=typeof console&&a.lookupLevel(a.level)<=e){var t=a.methodMap[e];console[t]||(t="log");for(var o=arguments.length,n=Array(o>1?o-1:0),r=1;r<o;r++)n[r-1]=arguments[r];console[t].apply(console,n)}}};t.default=a,e.exports=t.default},53982:function(e,t,o){"use strict";t.__esModule=!0,t.default=function(e){var t=void 0!==o.g?o.g:window,n=t.Handlebars;e.noConflict=function(){return t.Handlebars===e&&(t.Handlebars=n),e}},e.exports=t.default},51628:function(e,t,o){"use strict";t.__esModule=!0,t.checkRevision=function(e){var t=e&&e[0]||1,o=i.COMPILER_REVISION;if(!(t>=i.LAST_COMPATIBLE_COMPILER_REVISION&&t<=i.COMPILER_REVISION)){if(t<i.LAST_COMPATIBLE_COMPILER_REVISION){var n=i.REVISION_CHANGES[o],a=i.REVISION_CHANGES[t];throw new r.default("Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version ("+n+") or downgrade your runtime to an older version ("+a+").")}throw new r.default("Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version ("+e[1]+").")}},t.template=function(e,t){if(!t)throw new r.default("No environment passed to template");if(!e||!e.main)throw new r.default("Unknown template object: "+typeof e);e.main.decorator=e.main_d,t.VM.checkRevision(e.compiler);var o=e.compiler&&7===e.compiler[0],n={strict:function(e,t,o){if(!e||!(t in e))throw new r.default('"'+t+'" not defined in '+e,{loc:o});return n.lookupProperty(e,t)},lookupProperty:function(e,t){var o=e[t];return null==o||Object.prototype.hasOwnProperty.call(e,t)||c.resultIsAllowed(o,n.protoAccessControl,t)?o:void 0},lookup:function(e,t){for(var o=e.length,a=0;a<o;a++)if(null!=(e[a]&&n.lookupProperty(e[a],t)))return e[a][t]},lambda:function(e,t){return"function"==typeof e?e.call(t):e},escapeExpression:a.escapeExpression,invokePartial:function(o,n,i){i.hash&&(n=a.extend({},n,i.hash),i.ids&&(i.ids[0]=!0)),o=t.VM.resolvePartial.call(this,o,n,i);var l=a.extend({},i,{hooks:this.hooks,protoAccessControl:this.protoAccessControl}),s=t.VM.invokePartial.call(this,o,n,l);if(null==s&&t.compile&&(i.partials[i.name]=t.compile(o,e.compilerOptions,t),s=i.partials[i.name](n,l)),null!=s){if(i.indent){for(var c=s.split("\n"),d=0,f=c.length;d<f&&(c[d]||d+1!==f);d++)c[d]=i.indent+c[d];s=c.join("\n")}return s}throw new r.default("The partial "+i.name+" could not be compiled when running in runtime-only mode")},fn:function(t){var o=e[t];return o.decorator=e[t+"_d"],o},programs:[],program:function(e,t,o,n,a){var r=this.programs[e],i=this.fn(e);return t||a||n||o?r=d(this,e,i,t,o,n,a):r||(r=this.programs[e]=d(this,e,i)),r},data:function(e,t){for(;e&&t--;)e=e._parent;return e},mergeIfNeeded:function(e,t){var o=e||t;return e&&t&&e!==t&&(o=a.extend({},t,e)),o},nullContext:Object.seal({}),noop:t.VM.noop,compilerInfo:e.compiler};function i(t){var o=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],a=o.data;i._setup(o),!o.partial&&e.useData&&(a=u(t,a));var r=void 0,l=e.useBlockParams?[]:void 0;function s(t){return""+e.main(n,t,n.helpers,n.partials,a,l,r)}return e.useDepths&&(r=o.depths?t!=o.depths[0]?[t].concat(o.depths):o.depths:[t]),(s=p(e.main,s,n,o.depths||[],a,l))(t,o)}return i.isTop=!0,i._setup=function(r){if(r.partial)n.protoAccessControl=r.protoAccessControl,n.helpers=r.helpers,n.partials=r.partials,n.decorators=r.decorators,n.hooks=r.hooks;else{var i=a.extend({},t.helpers,r.helpers);!function(e,t){Object.keys(e).forEach((function(o){var n=e[o];e[o]=function(e,t){var o=t.lookupProperty;return s.wrapHelper(e,(function(e){return a.extend({lookupProperty:o},e)}))}(n,t)}))}(i,n),n.helpers=i,e.usePartial&&(n.partials=n.mergeIfNeeded(r.partials,t.partials)),(e.usePartial||e.useDecorators)&&(n.decorators=a.extend({},t.decorators,r.decorators)),n.hooks={},n.protoAccessControl=c.createProtoAccessControl(r);var d=r.allowCallsToHelperMissing||o;l.moveHelperToHooks(n,"helperMissing",d),l.moveHelperToHooks(n,"blockHelperMissing",d)}},i._child=function(t,o,a,i){if(e.useBlockParams&&!a)throw new r.default("must pass block params");if(e.useDepths&&!i)throw new r.default("must pass parent depths");return d(n,t,e[t],o,0,a,i)},i},t.wrapProgram=d,t.resolvePartial=function(e,t,o){return e?e.call||o.name||(o.name=e,e=o.partials[e]):e="@partial-block"===o.name?o.data["partial-block"]:o.partials[o.name],e},t.invokePartial=function(e,t,o){var n=o.data&&o.data["partial-block"];o.partial=!0,o.ids&&(o.data.contextPath=o.ids[0]||o.data.contextPath);var l=void 0;if(o.fn&&o.fn!==f&&function(){o.data=i.createFrame(o.data);var e=o.fn;l=o.data["partial-block"]=function(t){var o=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];return o.data=i.createFrame(o.data),o.data["partial-block"]=n,e(t,o)},e.partials&&(o.partials=a.extend({},o.partials,e.partials))}(),void 0===e&&l&&(e=l),void 0===e)throw new r.default("The partial "+o.name+" could not be found");if(e instanceof Function)return e(t,o)},t.noop=f;var n,a=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t.default=e,t}(o(72392)),r=(n=o(98728))&&n.__esModule?n:{default:n},i=o(92067),l=o(12638),s=o(15005),c=o(56293);function d(e,t,o,n,a,r,i){function l(t){var a=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],l=i;return!i||t==i[0]||t===e.nullContext&&null===i[0]||(l=[t].concat(i)),o(e,t,e.helpers,e.partials,a.data||n,r&&[a.blockParams].concat(r),l)}return(l=p(o,l,e,i,n,r)).program=t,l.depth=i?i.length:0,l.blockParams=a||0,l}function f(){return""}function u(e,t){return t&&"root"in t||((t=t?i.createFrame(t):{}).root=e),t}function p(e,t,o,n,r,i){if(e.decorator){var l={};t=e.decorator(t,l,o,n&&n[0],r,i,n),a.extend(t,l)}return t}},5558:function(e,t){"use strict";function o(e){this.string=e}t.__esModule=!0,o.prototype.toString=o.prototype.toHTML=function(){return""+this.string},t.default=o,e.exports=t.default},72392:function(e,t){"use strict";t.__esModule=!0,t.extend=i,t.indexOf=function(e,t){for(var o=0,n=e.length;o<n;o++)if(e[o]===t)return o;return-1},t.escapeExpression=function(e){if("string"!=typeof e){if(e&&e.toHTML)return e.toHTML();if(null==e)return"";if(!e)return e+"";e=""+e}return a.test(e)?e.replace(n,r):e},t.isEmpty=function(e){return!e&&0!==e||!(!c(e)||0!==e.length)},t.createFrame=function(e){var t=i({},e);return t._parent=e,t},t.blockParams=function(e,t){return e.path=t,e},t.appendContextPath=function(e,t){return(e?e+".":"")+t};var o={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","=":"="},n=/[&<>"'`=]/g,a=/[&<>"'`=]/;function r(e){return o[e]}function i(e){for(var t=1;t<arguments.length;t++)for(var o in arguments[t])Object.prototype.hasOwnProperty.call(arguments[t],o)&&(e[o]=arguments[t][o]);return e}var l=Object.prototype.toString;t.toString=l;var s=function(e){return"function"==typeof e};s(/x/)&&(t.isFunction=s=function(e){return"function"==typeof e&&"[object Function]"===l.call(e)}),t.isFunction=s;var c=Array.isArray||function(e){return!(!e||"object"!=typeof e)&&"[object Array]"===l.call(e)};t.isArray=c},40202:function(e,t,o){e.exports=o(86834).default},74860:function(e,t,o){var n=o(93379),a=o(38075);"string"==typeof(a=a.__esModule?a.default:a)&&(a=[[e.id,a,""]]);n(a,{insert:"head",singleton:!1}),e.exports=a.locals||{}},83063:function(e,t,o){var n=o(93379),a=o(88817);"string"==typeof(a=a.__esModule?a.default:a)&&(a=[[e.id,a,""]]);n(a,{insert:"head",singleton:!1}),e.exports=a.locals||{}},63993:function(e,t,o){var n=o(93379),a=o(2529);"string"==typeof(a=a.__esModule?a.default:a)&&(a=[[e.id,a,""]]);n(a,{insert:"head",singleton:!1}),e.exports=a.locals||{}},62168:function(e,t,o){var n=o(93379),a=o(89594);"string"==typeof(a=a.__esModule?a.default:a)&&(a=[[e.id,a,""]]);n(a,{insert:"head",singleton:!1}),e.exports=a.locals||{}},88232:function(e,t,o){var n=o(93379),a=o(60151);"string"==typeof(a=a.__esModule?a.default:a)&&(a=[[e.id,a,""]]);n(a,{insert:"head",singleton:!1}),e.exports=a.locals||{}},93379:function(e,t,o){"use strict";var n,a=function(){var e={};return function(t){if(void 0===e[t]){var o=document.querySelector(t);if(window.HTMLIFrameElement&&o instanceof window.HTMLIFrameElement)try{o=o.contentDocument.head}catch(e){o=null}e[t]=o}return e[t]}}(),r=[];function i(e){for(var t=-1,o=0;o<r.length;o++)if(r[o].identifier===e){t=o;break}return t}function l(e,t){for(var o={},n=[],a=0;a<e.length;a++){var l=e[a],s=t.base?l[0]+t.base:l[0],c=o[s]||0,d="".concat(s," ").concat(c);o[s]=c+1;var f=i(d),u={css:l[1],media:l[2],sourceMap:l[3]};-1!==f?(r[f].references++,r[f].updater(u)):r.push({identifier:d,updater:m(u,t),references:1}),n.push(d)}return n}function s(e){var t=document.createElement("style"),n=e.attributes||{};if(void 0===n.nonce){var r=o.nc;r&&(n.nonce=r)}if(Object.keys(n).forEach((function(e){t.setAttribute(e,n[e])})),"function"==typeof e.insert)e.insert(t);else{var i=a(e.insert||"head");if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(t)}return t}var c,d=(c=[],function(e,t){return c[e]=t,c.filter(Boolean).join("\n")});function f(e,t,o,n){var a=o?"":n.media?"@media ".concat(n.media," {").concat(n.css,"}"):n.css;if(e.styleSheet)e.styleSheet.cssText=d(t,a);else{var r=document.createTextNode(a),i=e.childNodes;i[t]&&e.removeChild(i[t]),i.length?e.insertBefore(r,i[t]):e.appendChild(r)}}function u(e,t,o){var n=o.css,a=o.media,r=o.sourceMap;if(a?e.setAttribute("media",a):e.removeAttribute("media"),r&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(r))))," */")),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}var p=null,b=0;function m(e,t){var o,n,a;if(t.singleton){var r=b++;o=p||(p=s(t)),n=f.bind(null,o,r,!1),a=f.bind(null,o,r,!0)}else o=s(t),n=u.bind(null,o,t),a=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(o)};return n(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;n(e=t)}else a()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=(void 0===n&&(n=Boolean(window&&document&&document.all&&!window.atob)),n));var o=l(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var n=0;n<o.length;n++){var a=i(o[n]);r[a].references--}for(var s=l(e,t),c=0;c<o.length;c++){var d=i(o[c]);0===r[d].references&&(r[d].updater(),r.splice(d,1))}o=s}}}}},__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var o=__webpack_module_cache__[e]={id:e,exports:{}};return __webpack_modules__[e](o,o.exports,__webpack_require__),o.exports}__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),function(){var e;__webpack_require__.g.importScripts&&(e=__webpack_require__.g.location+"");var t=__webpack_require__.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var o=t.getElementsByTagName("script");o.length&&(e=o[o.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),__webpack_require__.p=e}();var __webpack_exports__={};!function(){__webpack_require__(20453);var designerMainTemplate=__webpack_require__(63789),messageTemplate=__webpack_require__(4944),loadingTemplate=__webpack_require__(99145),contextMenuTemplate=__webpack_require__(77353),deleteElementModalContentTemplate=__webpack_require__(2928),Layout=__webpack_require__(76808),Navigator=__webpack_require__(33602),Timeline=__webpack_require__(74461),Viewer=__webpack_require__(92840),PropertiesPanel=__webpack_require__(76911),Drawer=__webpack_require__(83146),Manager=__webpack_require__(40360),Toolbar=__webpack_require__(74087),Topbar=__webpack_require__(16137),Bottombar=__webpack_require__(56512),Common=__webpack_require__(33429);__webpack_require__(83063),__webpack_require__(63993),__webpack_require__(62168),__webpack_require__(88232),__webpack_require__(74860),window.lD={readOnlyMode:!1,common:Common,mainObjectType:"layout",mainObjectId:"",navigator:{},layout:{},timeline:{},manager:{},viewer:{},editorContainer:$("#layout-editor"),selectedObject:{},toolbar:{},topbar:{},propertiesPanel:{},drawer:{},folderId:"",navigatorMode:!1},window.getXiboApp=function(){return lD},$(document).ready((function(){var e=lD.editorContainer.attr("data-layout-id");lD.common.showLoadingScreen(),lD.editorContainer.html(loadingTemplate()),toastr.options.positionClass="toast-top-center",$.get(urlsForApi.layout.get.url+"?layoutId="+e+"&embed=regions,playlists,widgets,widget_validity,tags,permissions,actions").done((function(t){null!=t.data&&t.data.length>0?(lD.editorContainer.html(designerMainTemplate({trans:layoutEditorTrans,exitURL:urlsForApi.layout.list.url})),lD.layout=new Layout(e,t.data[0]),lD.mainObjectId=lD.layout.layoutId,lD.folderId=lD.layout.folderId,lD.timeline=new Timeline(lD,lD.editorContainer.find("#layout-timeline")),lD.manager=new Manager(lD,lD.editorContainer.find("#layout-manager"),!1),lD.viewer=new Viewer(lD,lD.editorContainer.find("#layout-viewer")),lD.drawer=new Drawer(lD,lD.editorContainer.find("#actions-drawer"),t.data[0].drawers),lD.toolbar=new Toolbar(lD,lD.editorContainer.find("#layout-editor-toolbar"),{deleteSelectedObjectAction:lD.deleteSelectedObject,deleteDraggedObjectAction:lD.deleteDraggedObject}),lD.topbar=new Topbar(lD,lD.editorContainer.find("#layout-editor-topbar"),[{id:"publishLayout",title:layoutEditorTrans.publishTitle,logo:"fa-check-square-o",class:"btn-success",action:lD.showPublishScreen,inactiveCheck:function(){return 0==lD.layout.editable},inactiveCheckClass:"d-none"},{id:"checkoutLayout",title:layoutEditorTrans.checkoutTitle,logo:"fa-edit",class:"btn-success",action:lD.checkoutLayout,inactiveCheck:function(){return 1==lD.layout.editable},inactiveCheckClass:"d-none"},{id:"discardLayout",title:layoutEditorTrans.discardTitle,logo:"fa-times-circle-o",action:lD.showDiscardScreen,inactiveCheck:function(){return 0==lD.layout.editable},inactiveCheckClass:"d-none"},{id:"deleteLayout",title:layoutEditorTrans.deleteTitle,logo:"fa-times-circle-o",class:"btn-danger",action:lD.showDeleteScreen,inactiveCheck:function(){return 1==lD.layout.editable||0==lD.layout.deletePermission},inactiveCheckClass:"d-none"},{id:"scheduleLayout",title:layoutEditorTrans.scheduleTitle,logo:"fa-clock-o",action:lD.showScheduleScreen,inactiveCheck:function(){return 1==lD.layout.editable||0==lD.layout.scheduleNowPermission},inactiveCheckClass:"d-none"},{id:"saveTemplate",title:layoutEditorTrans.saveTemplateTitle,logo:"fa-floppy-o",action:lD.showSaveTemplateScreen,inactiveCheck:function(){return 1==lD.layout.editable},inactiveCheckClass:"d-none"},{id:"unlockLayout",title:layoutEditorTrans.unlockTitle,logo:"fa-unlock",class:"btn-info show-on-lock",action:lD.showUnlockScreen}],{},{searchLink:urlsForApi.layout.get.url,designerLink:urlsForApi.layout.designer.url,layoutId:lD.layout.layoutId,layoutName:lD.layout.name,callback:lD.reloadData},!0),lD.bottombar=new Bottombar(lD,lD.editorContainer.find("#layout-editor-bottombar")),lD.propertiesPanel=new PropertiesPanel(lD,lD.editorContainer.find("#properties-panel")),2!=t.data[0].publishedStatusId&&("1"==new URL(window.location.href).searchParams.get("vM")?lD.enterReadOnlyMode():lD.welcomeScreen()),formHelpers.setup(lD,lD.layout),lD.loadAndSavePref("useLibraryDuration",0),lD.checkLayoutStatus(),setInterval(lD.checkLayoutStatus,6e4),lD.selectedObject=lD.layout,lD.selectedObject.type="layout",lD.refreshDesigner(!0),lD.loadPrefs()):t.login?(window.location.href=window.location.href,location.reload()):lD.showErrorMessage(),lD.common.hideLoadingScreen()})).fail((function(e,t,o){console.error(e,t,o),lD.showErrorMessage()})),$("body").off("keydown").keydown((function(e){$(e.target).is($("body"))&&"Delete"==e.key&&0==lD.readOnlyMode&&lD.deleteSelectedObject()})),$(window).on("resize.designer",_.debounce((function(e){e.target===window&&(lD.navigatorMode?lD.renderContainer(lD.navigator):lD.renderContainer(lD.viewer,lD.selectedObject),lD.renderContainer(lD.timeline),lD.renderContainer(lD.drawer))}),250)),window.addEventListener?window.addEventListener("message",lD.handleMessage):window.attachEvent("onmessage",lD.handleMessage)})),lD.selectObject=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=o.positionToAdd,a=void 0===n?null:n;if(lD.common.clearTooltips(),$.isEmptyObject(this.toolbar.selectedCard))if($.isEmptyObject(this.toolbar.selectedQueue)){var r=null===e?this.layout.id:e.attr("id"),i=null===e?"layout":e.data("type"),l=null===e?"layout":e.data("parentType"),s=this.selectedObject.id,c=this.selectedObject.type;if(this.selectedObject.selected)switch(this.selectedObject.type){case"region":this.layout.regions[this.selectedObject.id]&&(this.layout.regions[this.selectedObject.id].selected=!1);break;case"widget":this.selectedObject.drawerWidget?this.layout.drawer.widgets[this.selectedObject.id]&&(this.layout.drawer.widgets[this.selectedObject.id].selected=!1):this.layout.regions[this.selectedObject.regionId].widgets[this.selectedObject.id]&&(this.layout.regions[this.selectedObject.regionId].widgets[this.selectedObject.id].selected=!1)}if(this.selectedObject=this.layout,this.selectedObject.type="layout",s!=r||c!=i||t){if("region"===i)if(t||this.navigatorMode||$.isEmptyObject(this.layout.regions[r].widgets))this.navigatorMode&&(this.layout.regions[r].selected=!0),this.selectedObject=this.layout.regions[r];else{var d=this.layout.regions[r].widgets;for(var f in d)if(d.hasOwnProperty(f)&&1==d[f].index){d[f].selected=!0,this.selectedObject=d[f],i="widget";break}}else"widget"===i&&(lD.navigatorMode&&lD.toggleNavigatorEditing(!1,!1),"drawer"===l?(this.layout.drawer.widgets[r].selected=!0,this.selectedObject=this.layout.drawer.widgets[r]):(this.layout.regions[e.data("widgetRegion")].widgets[r].selected=!0,this.selectedObject=this.layout.regions[e.data("widgetRegion")].widgets[r]));this.selectedObject.type=i}lD.refreshDesigner()}else{if("region"==e.data("type")){var u,p=$(e).attr("id");u="actions-drawer-content"==p?lD.layout.drawer.playlists.playlistId:lD.layout.regions[p].playlists.playlistId,lD.importFromProvider(this.toolbar.selectedQueue).then((function(e){lD.addMediaToPlaylist(u,e,a)})).catch((function(){toastr.error(errorMessagesTrans.importingMediaFailed)}))}this.toolbar.deselectCardsAndDropZones()}else if(-1!==[e.data("type"),"all"].indexOf($(this.toolbar.selectedCard).attr("drop-to"))){var b=this.toolbar.selectedCard[0];this.toolbar.deselectCardsAndDropZones(),this.dropItemAdd(e,b,{positionToAdd:a})}},lD.refreshDesigner=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.clearTemporaryData(),e&&this.renderContainer(this.toolbar),this.renderContainer(this.topbar),"layout"===this.selectedObject.type&&this.renderContainer(this.bottombar,this.selectedObject),this.renderContainer(this.manager),this.renderContainer(this.propertiesPanel,this.selectedObject),this.renderContainer(this.navigator,this.selectedObject),this.renderContainer(this.viewer,this.selectedObject),this.renderContainer(this.timeline),this.renderContainer(this.drawer)},lD.reloadData=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=void 0===e.layoutId?e:e.layoutId;lD.common.showLoadingScreen(),$.get(urlsForApi.layout.get.url+"?layoutId="+n+"&embed=regions,playlists,widgets,widget_validity,tags,permissions,actions").done((function(e){if(null!=e.data&&e.data.length>0){lD.layout=new Layout(n,e.data[0]),lD.mainObjectId=lD.layout.layoutId,lD.folderId=lD.layout.folderId,t&&(lD.refreshDesigner(),"widget"==lD.selectedObject.type&&(lD.timeline.highlightOnLoad=lD.selectedObject),lD.timeline.scrollOnLoad=lD.selectedObject);var a=lD.selectedObject.id;lD.selectedObject={},lD.selectObject($("#"+a)),formHelpers.setup(lD,lD.layout),lD.checkLayoutStatus(),o&&lD.uploadThumbnail()}else e.login?(window.location.href=window.location.href,location.reload()):lD.showErrorMessage();lD.common.hideLoadingScreen()})).fail((function(e,t,o){lD.common.hideLoadingScreen(),console.error(e,t,o),lD.showErrorMessage()}))},lD.checkoutLayout=function(){var e=urlsForApi.layout.checkout,t=e.url;lD.common.showLoadingScreen(),t=t.replace(":id",lD.layout.layoutId),lD.selectObject(),$.ajax({url:t,type:e.type}).done((function(e){e.success?(bootbox.hideAll(),toastr.success(e.message),lD.readOnlyMode=!1,lD.editorContainer.removeClass("view-mode"),lD.editorContainer.find("#read-only-message").remove(),lD.reloadData(e.data,!1,!0),lD.toolbar.render(),lD.common.hideLoadingScreen()):(e.login?(window.location.href=window.location.href,location.reload()):toastr.error(e.message),lD.common.hideLoadingScreen())})).fail((function(e,t,o){lD.common.hideLoadingScreen(),console.error(e,t,o)}))},lD.publishLayout=function(){var e=urlsForApi.layout.publish,t=e.url;lD.common.showLoadingScreen(),t=t.replace(":id",lD.layout.parentLayoutId);var o=$("#layoutPublishForm").serialize();$.ajax({url:t,type:e.type,data:o}).done((function(e){e.success?(bootbox.hideAll(),toastr.success(e.message),window.location.href=urlsForApi.layout.designer.url.replace(":id",e.data.layoutId)+"?vM=1"):(lD.common.hideLoadingScreen(),e.login?(window.location.href=window.location.href,location.reload()):(toastr.error(e.message),bootbox.hideAll()))})).fail((function(e,t,o){lD.common.hideLoadingScreen(),console.error(e,t,o)}))},lD.discardLayout=function(){var e=urlsForApi.layout.discard,t=e.url;lD.common.showLoadingScreen(),lD.selectObject(),t=t.replace(":id",lD.layout.parentLayoutId);var o=$("#layoutDiscardForm").serialize();$.ajax({url:t,type:e.type,data:o}).done((function(e){e.success?(bootbox.hideAll(),toastr.success(e.message),window.location.href=urlsForApi.layout.list.url):e.login?(window.location.href=window.location.href,location.reload()):(toastr.error(e.message),bootbox.hideAll()),lD.common.hideLoadingScreen()})).fail((function(e,t,o){lD.common.hideLoadingScreen(),console.error(e,t,o)}))},lD.deleteLayout=function(){var e=urlsForApi.layout.delete,t=e.url;lD.common.showLoadingScreen(),lD.selectObject(),t=t.replace(":id",lD.layout.layoutId);var o=$("#layoutDeleteForm").serialize();$.ajax({url:t,type:e.type,data:o}).done((function(e){e.success?(bootbox.hideAll(),toastr.success(e.message),window.location.href=urlsForApi.layout.list.url):e.login?(window.location.href=window.location.href,location.reload()):(toastr.error(e.message),bootbox.hideAll()),lD.common.hideLoadingScreen()})).fail((function(e,t,o){lD.common.hideLoadingScreen(),console.error(e,t,o)}))},lD.welcomeScreen=function(){lD.readOnlyMode=!0,bootbox.dialog({message:layoutEditorTrans.welcomeModalMessage,className:"welcome-screen-modal",size:"large",closeButton:!1,buttons:{checkout:{label:layoutEditorTrans.checkoutTitle,className:"btn-success btn-bb-checkout",callback:function(e){return $(e.currentTarget).append(' <i class="fa fa-cog fa-spin"></i>'),lD.selectObject(),lD.checkoutLayout(),!1}},view:{label:layoutEditorTrans.viewModeTitle,className:"btn-white btn-bb-view",callback:function(e){lD.enterReadOnlyMode()}}}}).attr("data-test","welcomeModal")},lD.enterReadOnlyMode=function(){lD.editorContainer.addClass("view-mode"),lD.readOnlyMode=!0},lD.renderContainer=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};jQuery.isEmptyObject(e)||(jQuery.isEmptyObject(t)?e.render(this.layout):e.render(t))},lD.toggleNavigatorEditing=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(this.selectObject(),e){if(lD.readOnlyMode)return;lD.navigatorMode=!0,this.navigator=new Navigator(lD,this.editorContainer.find("#layout-navigator-content")),this.editorContainer.find("#layout-navigator").css("display","block"),this.editorContainer.find("#layout-viewer-container").css("display","none"),this.renderContainer(this.navigator,this.selectedObject),this.renderContainer(this.bottombar,this.selectedObject),toastr.info(layoutEditorTrans.regionEditModeMessage)}else lD.navigatorMode=!1,t&&this.reloadData(lD.layout),this.navigator={},this.editorContainer.find("#layout-navigator-content").empty(),this.editorContainer.find("#layout-navigator").css("display","none"),this.editorContainer.find("#layout-viewer-container").css("display","block")},lD.showErrorMessage=function(){var e=messageTemplate({messageType:"danger",messageTitle:errorMessagesTrans.error,messageDescription:errorMessagesTrans.loadingLayout});lD.editorContainer.html(e)},lD.showCheckoutScreen=function(){bootbox.dialog({title:layoutEditorTrans.checkoutTitle+" "+lD.layout.name,message:layoutEditorTrans.checkoutMessage,size:"large",buttons:{checkout:{label:layoutEditorTrans.checkoutTitle,className:"btn-success btn-bb-checkout",callback:function(e){return $(e.currentTarget).append(' <i class="fa fa-cog fa-spin"></i>'),lD.selectObject(),lD.checkoutLayout(),!1}}}}).attr("data-test","checkoutModal")},lD.showPublishScreen=function(){lD.selectObject(),lD.loadFormFromAPI("publishForm",lD.layout.parentLayoutId,"formHelpers.setupCheckboxInputFields($('#layoutPublishForm'), '#publishNow', '', '.publish-date-control'); lD.uploadThumbnail($('#layoutPublishForm #publishPreview'));","lD.publishLayout();")},lD.showDiscardScreen=function(){lD.loadFormFromAPI("discardForm",lD.layout.parentLayoutId,"","lD.discardLayout();")},lD.showScheduleScreen=function(){lD.loadFormFromAPI("schedule",lD.layout.campaignId)},lD.showDeleteScreen=function(){lD.loadFormFromAPI("deleteForm",lD.layout.layoutId,"","lD.deleteLayout();",[editorsTrans.retire])},lD.showSaveTemplateScreen=function(){lD.loadFormFromAPI("saveTemplate",lD.layout.layoutId,"initJsTreeAjax('#container-folder-form-tree', 'templateAddForm', true, 600);")},lD.loadFormFromAPI=function(type){var id=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,apiFormCallback=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,mainActionCallback=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,buttonsToRemove=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],linkToAPI=urlsForApi.layout[type],requestPath=linkToAPI.url;null!=id&&(requestPath=requestPath.replace(":id",id));var calculatedId=(new Date).getTime();$.ajax({url:requestPath,type:linkToAPI.type}).done((function(res){if(res.success){var generatedButtons={cancel:{label:translations.cancel,className:"btn-white"}};for(var button in res.buttons)res.buttons.hasOwnProperty(button)&&"XiboDialogClose()"!=res.buttons[button]&&function(){var buttonType="btn-white",mainButtonAction=!1;button!==translations.save&&button!==editorsTrans.publish&&button!==editorsTrans.discard&&button!==editorsTrans.yes||(buttonType="btn-primary",mainButtonAction=!0);var url=res.buttons[button];-1==buttonsToRemove.indexOf(button)&&(generatedButtons[button]={label:button,className:buttonType+" btn-bb-"+button,callback:function callback(){return null!=mainActionCallback&&mainButtonAction?eval(mainActionCallback):eval(url),!1}})}();var dialog=bootbox.dialog({className:"second-dialog",title:res.dialogTitle,message:res.html,size:"large",buttons:generatedButtons}).attr("id",calculatedId).attr("data-test",type+"LayoutForm");dialog.data("extra",res.extra),null!=res.callBack&&"function"==typeof window[res.callBack]&&window[res.callBack](dialog),XiboInitialise("#"+dialog.attr("id")),null!=apiFormCallback&&eval(apiFormCallback)}else res.login?(window.location.href=window.location.href,location.reload()):(toastr.error(errorMessagesTrans.formLoadFailed),null==res.message?console.error(res):console.error(res.message))})).catch((function(e,t,o){console.error(e,t,o),toastr.error(errorMessagesTrans.formLoadFailed)}))},lD.undoLastAction=function(){lD.common.showLoadingScreen("undoLastAction"),lD.manager.revertChange().then((function(e){toastr.success(e.message),e.localRevert?lD.refreshDesigner():lD.reloadData(lD.layout),lD.common.hideLoadingScreen("undoLastAction")})).catch((function(e){lD.common.hideLoadingScreen("undoLastAction");var t;t="string"==typeof e?e:e.errorThrown,toastr.error(errorMessagesTrans.revertFailed.replace("%error%",t))}))},lD.deleteSelectedObject=function(){"region"===lD.selectedObject.type?lD.deleteObject(lD.selectedObject.type,lD.selectedObject[lD.selectedObject.type+"Id"]):"widget"===lD.selectedObject.type&&lD.deleteObject(lD.selectedObject.type,lD.selectedObject[lD.selectedObject.type+"Id"],lD.selectedObject.drawerWidget?lD.layout.drawer.regionId:lD.layout.regions[lD.selectedObject.regionId].regionId)},lD.deleteDraggedObject=function(e){var t=e.data("type"),o=null,n=null;"region"===t?o=lD.layout.regions[e.attr("id")].regionId:"widget"===t&&("drawer"==e.data("parentType")?(o=lD.layout.drawer.widgets[e.data("widgetId")].widgetId,n=lD.layout.drawer.regionId):(o=lD.layout.regions[e.data("widgetRegion")].widgets[e.data("widgetId")].widgetId,n=lD.layout.regions[e.data("widgetRegion")].regionId)),lD.deleteObject(t,o,n)},lD.deleteObject=function(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=function(e,t){var o=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];bootbox.hideAll();var a=deleteElementModalContentTemplate({mainMessage:deleteMenuTrans.mainMessage.replace("%obj%",e),hasMedia:o,showDeleteFromLibrary:n,trans:deleteMenuTrans});bootbox.dialog({title:editorsTrans.deleteTitle.replace("%obj%",e),message:a,size:"large",buttons:{cancel:{label:editorsTrans.no,className:"btn-white btn-bb-cancel"},confirm:{label:editorsTrans.yes,className:"btn-danger btn-bb-confirm",callback:function(){var o=null;$(this).find("input#deleteMedia").is(":checked")&&(o={deleteMedia:1}),lD.common.showLoadingScreen("deleteObject"),lD.layout.deleteElement(e,t,o).then((function(e){lD.timeline.resetZoom(),toastr.success(e.message),lD.reloadData(lD.layout),lD.common.hideLoadingScreen("deleteObject")})).catch((function(e){lD.common.hideLoadingScreen("deleteObject");var t;t="string"==typeof e?e:e.errorThrown,toastr.error(errorMessagesTrans.deleteFailed.replace("%error%",t))}))}}}}).attr("data-test","deleteObjectModal")};if("region"===e)n(e,t);else if("widget"===e){var a=lD.getElementByTypeAndId("widget","widget_"+o+"_"+t,"region_"+o);if(a.isRegionSpecific())n(e,t);else{lD.common.showLoadingScreen("checkMediaIsUsed");var r=urlsForApi.media.isUsed,i=r.url.replace(":id",a.mediaIds[0]);$.get(i+"?count=1").done((function(o){o.success?n(e,t,!0,!o.data.isUsed):o.login?(window.location.href=window.location.href,location.reload()):toastr.error(o.message),lD.common.hideLoadingScreen("checkMediaIsUsed")})).fail((function(e,t,o){lD.common.hideLoadingScreen("checkMediaIsUsed"),console.error(e,t,o)}))}}},lD.dropItemAdd=function(e,t){var o,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=n.positionToAdd,r=void 0===a?null:a,i=$(e).attr("id"),l=$(t).data("type"),s=$(t).data("subType");if(0!==$(t).parents("#layout-editor-toolbar").length)if("media"==l){o="actions-drawer-content"==i?lD.layout.drawer.playlists.playlistId:lD.layout.regions[i].playlists.playlistId;var c=$(t).data("mediaId");$(t).hasClass("from-provider")?lD.importFromProvider([$(t).data("providerData")]).then((function(e){lD.addMediaToPlaylist(o,e,r)})).catch((function(){toastr.error(errorMessagesTrans.importingMediaFailed)})):lD.addMediaToPlaylist(o,c,r)}else if("module"==l){var d=$(t).data();"actions-drawer-content"==i?o=lD.layout.drawer.playlists.playlistId:(o=lD.layout.regions[i].playlists.playlistId,lD.selectObject($(e),!0)),lD.addModuleToPlaylist(o,s,d,r)}},lD.getUploadDialogClassName=function(){return null},lD.addModuleToPlaylist=function(e,t,o){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;if(0==o.regionSpecific){var a=o.validExt.replace(/,/g,"|");bootbox.hideAll(),openUploadForm({url:libraryAddUrl,title:uploadTrans.uploadMessage,animateDialog:!1,initialisedBy:"layout-designer-upload",buttons:{viewLibrary:{label:uploadTrans.viewLibrary,className:"btn-white btn-bb-viewlibrary",callback:function(){lD.toolbar.openNewTabAndSearch(t)}},main:{label:translations.done,className:"btn-primary btn-bb-main",callback:function(){lD.timeline.resetZoom(),lD.reloadData(lD.layout)}}},templateOptions:{trans:uploadTrans,upload:{maxSize:o.maxSize,maxSizeMessage:o.maxSizeMessage,validExtensionsMessage:translations.validExtensions.replace("%s",o.validExt),validExt:a},playlistId:e,displayOrder:n,currentWorkingFolderId:lD.folderId,showWidgetDates:!0,folderSelector:!0}}).attr("data-test","uploadFormModal")}else{var r=urlsForApi.playlist.addWidget,i=r.url;lD.common.showLoadingScreen("addModuleToPlaylist"),i=(i=i.replace(":type",t)).replace(":id",e);var l=null;null!=n&&(l={displayOrder:n}),lD.manager.addChange("addWidget","playlist",e,null,l,{updateTargetId:!0,updateTargetType:"widget",customRequestPath:{url:i,type:r.type}}).then((function(e){toastr.success(e.message),lD.timeline.resetZoom(),lD.selectedObject.id="widget_"+lD.selectedObject.regionId+"_"+e.data.widgetId,lD.selectedObject.type="widget",lD.reloadData(lD.layout,!0),lD.common.hideLoadingScreen("addModuleToPlaylist")})).catch((function(e){lD.common.hideLoadingScreen("addModuleToPlaylist");var t;t="string"==typeof e?e:e.errorThrown,lD.manager.removeLastChange(),toastr.error(errorMessagesTrans.addModuleFailed.replace("%error%",t))}))}},lD.addMediaToPlaylist=function(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n={};if(Array.isArray(t)){if(0==t.length)return;n={media:t}}else n={media:[t]};null!=lD.useLibraryDuration&&(n.useDuration="1"==lD.useLibraryDuration),lD.common.showLoadingScreen("addMediaToPlaylist"),null!=o&&(n.displayOrder=o),lD.manager.addChange("addMedia","playlist",e,null,n,{updateTargetId:!0,updateTargetType:"widget"}).then((function(e){toastr.success(e.message),lD.selectedObject.id="widget_"+e.data.regionId+"_"+e.data.newWidgets[0].widgetId,lD.selectedObject.type="widget",lD.timeline.resetZoom(),lD.reloadData(lD.layout,!0),lD.common.hideLoadingScreen("addMediaToPlaylist")})).catch((function(e){lD.common.hideLoadingScreen("addMediaToPlaylist");var t;t="string"==typeof e?e:e.errorThrown,toastr.error(errorMessagesTrans.addMediaFailed.replace("%error%",t))}))},lD.clearTemporaryData=function(){$(".colorpicker").remove(),$(".cke").remove(),destroyColorPicker(lD.editorContainer.find(".colorpicker-element")),lD.editorContainer.find("#inline-editor-templates").html(""),lD.editorContainer.find(".tooltip").remove(),formHelpers.destroyCKEditor()},lD.getElementByTypeAndId=function(e,t,o){var n={};return"layout"===e?n=lD.layout:"region"===e?n=lD.layout.regions[t]:"drawer"===e?n=lD.layout.drawer:"widget"===e&&(n=null==lD.layout.drawer.id||lD.layout.drawer.id!=o&&"drawer"!=o?lD.layout.regions[o].widgets[t]:lD.layout.drawer.widgets[t]),n},lD.checkLayoutStatus=function(){var e=urlsForApi.layout.status,t=e.url;t=t.replace(":id",lD.layout.layoutId),$.ajax({url:t,type:e.type}).done((function(e){e.success?(lD.layout.updateStatus(e.extra.status,e.html,e.extra.statusMessage),Array.isArray(e.extra.isLocked)&&0==e.extra.isLocked.length?(lD.toggleLockedMode(!1),lD.editorContainer.removeClass("locked")):(lD.editorContainer.addClass("locked"),lD.toggleLockedMode(e.extra.isLocked.lockedUser,moment(e.extra.isLocked.expires,systemDateFormat).format(jsDateFormat)))):e.login?(window.location.href=window.location.href,location.reload()):null==e.message?console.error(e):console.error(e.message)})).fail((function(e,t,o){console.error(e,t,o)}))},lD.openPlaylistEditor=function(e,t){var o=playlistEditorUrl;o=o.replace(":id",e),lD.selectObject(),$.ajax({url:o,type:"GET"}).done((function(e){if(e.success){var o=$("#editor-container").length>0?$("#editor-container"):$("<div/>").attr("id","editor-container").appendTo(lD.editorContainer.parent());o.html(e.html),lD.toolbar.DOMObject.hide(),o.data("regionObj",t),o.find(".editor-modal-close").attr("onclick","").on("click",(function(){pE.close(),o.removeData("regionObj"),lD.toolbar.DOMObject.show(),lD.toolbar.firstRun=!0,lD.reloadData(lD.layout)}))}else e.login?(window.location.href=window.location.href,location.reload()):null==e.message?console.error(e):console.error(e.message)})).fail((function(e,t,o){console.error(e,t,o)}))},lD.openContextMenu=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{x:0,y:0},o=$(e).attr("id"),n=$(e).data("type"),a=null;"widget"==n&&(a=$(e).data("widgetRegion"));var r=lD.getElementByTypeAndId(n,o,a);lD.editorContainer.append(contextMenuTemplate(Object.assign(r,{trans:contextMenuTrans})));var i=lD.editorContainer.find(".context-menu").outerWidth(),l=lD.editorContainer.find(".context-menu").outerHeight(),s=t.x+i>$(window).width()?t.x-i:t.x,c=t.y+l>$(window).height()?t.y-l:t.y;lD.editorContainer.find(".context-menu").offset({top:c,left:s}),lD.editorContainer.find(".context-menu-overlay").click((function(e){$(e.target).hasClass("context-menu-overlay")&&lD.editorContainer.find(".context-menu-overlay").remove()})),lD.editorContainer.find(".context-menu .context-menu-btn").click((function(e){var t=$(e.currentTarget);if("Delete"==t.data("action")){var o="";null!=a&&(o=a.split("region_")[1]),lD.deleteObject(n,r[n+"Id"],o)}else"Move"==t.data("action")?lD.timeline.moveWidgetInRegion(r.regionId,r.id,t.data("actionType")):r.editPropertyForm(t.data("property"),t.data("propertyType"));lD.editorContainer.find(".context-menu-overlay").remove()}))},lD.loadAndSavePref=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=urlsForApi.user.getPref;$.ajax({url:o.url+"?preference="+e,type:o.type}).done((function(o){o.success?o.data.option==e?lD[e]=o.data.value:lD[e]=t:o.login?(window.location.href=window.location.href,location.reload(!1)):null==o.message?console.warn(o):console.warn(o.message)})).catch((function(e,t,o){console.error(e,t,o),toastr.error(errorMessagesTrans.userLoadPreferencesFailed)}))},lD.resetTour=function(){null==localStorage.tour_playing&&(cmsTours.layoutEditorTour.ended()?cmsTours.layoutEditorTour.restart():cmsTours.layoutEditorTour.start()),toastr.info(editorsTrans.resetTourNotification)},lD.toggleLockedMode=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(e&&!lD.readOnlyMode){var o=lD.editorContainer.find("#lockedOverlay"),n=o.find("#lockedLayoutMessage"),a=layoutEditorTrans.lockedModeMessage.replace("[expiryDate]",t);0==o.length&&((o=$(".custom-overlay").clone()).attr("id","lockedOverlay").addClass("locked").show(),o.appendTo(lD.editorContainer),n=$('<div id="lockedLayoutMessage" class="alert alert-warning text-center" role="alert"></div>'),o.after(n)),n.html("<strong>"+layoutEditorTrans.lockedModeTitle+"</strong> "+a),lD.editorContainer.addClass("locked-for-user")}else lD.editorContainer.find("#lockedOverlay").remove(),lD.editorContainer.find("#lockedLayoutMessage").remove(),lD.editorContainer.removeClass("locked-for-user")},lD.showUnlockScreen=function(){bootbox.dialog({title:layoutEditorTrans.unlockTitle,message:layoutEditorTrans.unlockMessage,size:"large",buttons:{unlock:{label:layoutEditorTrans.unlockTitle,className:"btn-info btn-bb-unlock",callback:function(e){return $(e.currentTarget).append(' <i class="fa fa-cog fa-spin"></i>'),lD.unlockLayout(),!1}}}}).attr({"data-test":"unlockLayoutModal",id:"unlockLayoutModal"})},lD.unlockLayout=function(){var e=urlsForApi.layout.unlock,t=e.url;lD.common.showLoadingScreen(),t=t.replace(":id",lD.layout.layoutId),$.ajax({url:t,type:e.type}).done((function(e){e.success?(bootbox.hideAll(),window.location.href=urlsForApi.layout.list.url):(e.login?(window.location.href=window.location.href,location.reload()):toastr.error(e.message),lD.common.hideLoadingScreen())})).fail((function(e,t,o){lD.common.hideLoadingScreen(),console.error(e,t,o)}))},lD.checkHistory=function(){var e=lD.manager.changeHistory.length>0,t="";if(e){var o=lD.manager.changeHistory[lD.manager.changeHistory.length-1];t="undefined"!=typeof historyManagerTrans&&null!=historyManagerTrans.revert[o.type]?historyManagerTrans.revert[o.type].replace("%target%",o.target.type):"["+o.target.type+"] "+o.type}return{undoActive:e,undoActiveTitle:t}},lD.togglePanel=function(e,t){e.toggleClass("opened",t),lD.navigatorMode?lD.renderContainer(lD.navigator):lD.renderContainer(lD.viewer,lD.selectedObject)},lD.importFromProvider=function(e){var t=[],o=e;o.forEach((function(e){isNaN(e)&&t.push(e)}));var n=urlsForApi.library.connectorImport,a=n.url;return new Promise((function(e,r){0==t.length&&e(o),lD.common.showLoadingScreen(),$.ajax({url:a,type:n.type,dataType:"json",data:{folderId:lD.layout.folderId,items:t}}).done((function(t){t.success?(lD.common.hideLoadingScreen(),t.data.forEach((function(e){var t=!0;e.isError&&(t=!1,toastr.error(e.error,e.item.id)),o.forEach((function(n,a){isNaN(n)&&e.item.id==n.id&&(o[a]=t?e.media.mediaId:null)}))})),o=o.filter((function(e){return e})),e(o)):(lD.common.hideLoadingScreen(),data.login?(window.location.href=window.location.href,location.reload()):null==data.message?r(data):r(data.message))})).fail((function(e,t,o){lD.common.hideLoadingScreen(),r({jqXHR:e,textStatus:t,errorThrown:o})}))}))},lD.uploadThumbnail=function(e){$(e).length>0&&($(e).append($('<div class="thumb-preview" style="padding: 2rem 0; font-weight: bold;">').html("Loading Preview...")),$(e).removeClass("d-none"));var t=urlsForApi.layout.addThumbnail.url.replace(":id",lD.layout.layoutId);$.ajax({url:t,type:"POST",success:function(){$(e).length>0&&$(e).find(".thumb-preview").replaceWith($('<img style="max-width: 150px; max-height: 100%;">').attr("src",t))}})},lD.addRegion=function(){lD.common.showLoadingScreen(),"region"==lD.selectedObject.type&&(lD.navigator.saveRegionPropertiesPanel(),lD.selectObject()),lD.layout.addElement("region").then((function(e){lD.common.hideLoadingScreen(),toastr.success(e.message),lD.selectedObject.id="region_"+e.data.regionId,lD.selectedObject.type="region",lD.reloadData(lD.layout,!0)})).catch((function(e){lD.common.hideLoadingScreen();var t;t="string"==typeof e?e:e.errorThrown,toastr.error(errorMessagesTrans.createRegionFailed.replace("%error%",t))}))},lD.handleMessage=function(e){"viewerStoppedPlaying"==e.data&&(lD.refreshDesigner(),lD.bottombar.showPlayMessage())},lD.loadPrefs=function(){var e=urlsForApi.user.getPref,t=this;$.ajax({url:e.url+"?preference=editor",type:e.type}).done((function(e){if(e.success){var o=JSON.parse(e.data.value),n=t.timeline.DOMObject.parents(".toggle-panel");null!=o.timelineStatus&&o.timelineStatus!=n.hasClass("opened")&&t.togglePanel(n,o.timelineStatus);var a=t.propertiesPanel.DOMObject.parents(".toggle-panel");null!=o.propertiesPanelStatus&&o.propertiesPanelStatus!=a.hasClass("opened")&&t.togglePanel(a,o.propertiesPanelStatus),t.common.displayTooltips=1==o.displayTooltips||null==o.displayTooltips}else e.login?(window.location.href=window.location.href,location.reload()):null==e.message?console.error(e):console.error(e.message)})).catch((function(e,t,o){console.error(e,t,o),toastr.error(errorMessagesTrans.userLoadPreferencesFailed)}))},lD.savePrefs=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.timeline.DOMObject.parents(".toggle-panel").hasClass("opened"),o=this.propertiesPanel.DOMObject.parents(".toggle-panel").hasClass("opened");e&&(t=!1,o=!0);var n={preference:[{option:"editor",value:JSON.stringify({timelineStatus:t,propertiesPanelStatus:o})}]},a=urlsForApi.user.savePref;$.ajax({url:a.url,type:a.type,data:n}).done((function(e){e.success||(e.login?(window.location.href=window.location.href,location.reload()):(toastr.error(errorMessagesTrans.userSavePreferencesFailed),null==e.message?console.error(e):console.error(e.message)))})).catch((function(e,t,o){console.error(e,t,o),toastr.error(errorMessagesTrans.userSavePreferencesFailed)}))},lD.enableInlineModeEditing=function(){lD.editorContainer.addClass("inline-edit-mode"),lD.editorContainer.find(".custom-overlay").off().on("click",(function(){lD.propertiesPanel.save(lD.selectedObject)}))}}()})();