/
var
/
www
/
barefootlaw.org
/
wp-content
/
plugins
/
elfsight-facebook-feed
/
assets
/
Upload File
HOME
/* Elfsight Facebook Feed Lite Version: 1.0.0 Release date: Fri Oct 19 2018 https://elfsight.com Copyright (c) 2018 Elfsight, LLC. ALL RIGHTS RESERVED */ !function(e){function t(e,t,o,i,n){this._listener=t,this._isOnce=o,this.context=i,this._signal=e,this._priority=n||0}function o(e,t){if("function"!=typeof e)throw Error("listener is a required param of {fn}() and should be a Function.".replace("{fn}",t))}function i(){this._bindings=[],this._prevParams=null;var e=this;this.dispatch=function(){i.prototype.dispatch.apply(e,arguments)}}t.prototype={active:!0,params:null,execute:function(e){var t;return this.active&&this._listener&&(e=this.params?this.params.concat(e):e,t=this._listener.apply(this.context,e),this._isOnce&&this.detach()),t},detach:function(){return this.isBound()?this._signal.remove(this._listener,this.context):null},isBound:function(){return!!this._signal&&!!this._listener},isOnce:function(){return this._isOnce},getListener:function(){return this._listener},getSignal:function(){return this._signal},_destroy:function(){delete this._signal,delete this._listener,delete this.context},toString:function(){return"[SignalBinding isOnce:"+this._isOnce+", isBound:"+this.isBound()+", active:"+this.active+"]"}},i.prototype={VERSION:"1.0.0",memorize:!1,_shouldPropagate:!0,active:!0,_registerListener:function(e,o,i,n){var r=this._indexOfListener(e,i);if(-1!==r){if((e=this._bindings[r]).isOnce()!==o)throw Error("You cannot add"+(o?"":"Once")+"() then add"+(o?"Once":"")+"() the same listener without removing the relationship first.")}else e=new t(this,e,o,i,n),this._addBinding(e);return this.memorize&&this._prevParams&&e.execute(this._prevParams),e},_addBinding:function(e){var t=this._bindings.length;do{--t}while(this._bindings[t]&&e._priority<=this._bindings[t]._priority);this._bindings.splice(t+1,0,e)},_indexOfListener:function(e,t){for(var o,i=this._bindings.length;i--;)if((o=this._bindings[i])._listener===e&&o.context===t)return i;return-1},has:function(e,t){return-1!==this._indexOfListener(e,t)},add:function(e,t,i){return o(e,"add"),this._registerListener(e,!1,t,i)},addOnce:function(e,t,i){return o(e,"addOnce"),this._registerListener(e,!0,t,i)},remove:function(e,t){o(e,"remove");var i=this._indexOfListener(e,t);return-1!==i&&(this._bindings[i]._destroy(),this._bindings.splice(i,1)),e},removeAll:function(){for(var e=this._bindings.length;e--;)this._bindings[e]._destroy();this._bindings.length=0},getNumListeners:function(){return this._bindings.length},halt:function(){this._shouldPropagate=!1},dispatch:function(e){if(this.active){var t,o=Array.prototype.slice.call(arguments),i=this._bindings.length;if(this.memorize&&(this._prevParams=o),i){t=this._bindings.slice(),this._shouldPropagate=!0;do{i--}while(t[i]&&this._shouldPropagate&&!1!==t[i].execute(o))}}},forget:function(){this._prevParams=null},dispose:function(){this.removeAll(),delete this._bindings,delete this._prevParams},toString:function(){return"[Signal active:"+this.active+" numListeners:"+this.getNumListeners()+"]"}};var n=i;n.Signal=i,"function"==typeof define&&define.amd?define(function(){return n}):"undefined"!=typeof module&&module.exports?module.exports=n:e.signals=n}(this),function(){var e=function(e){function t(e,t){if(e.indexOf)return e.indexOf(t);for(var o=e.length;o--;)if(e[o]===t)return o;return-1}function o(e,o){var i=t(e,o);-1!==i&&e.splice(i,1)}function i(e,t){return"[object "+t+"]"===Object.prototype.toString.call(e)}function n(e){return i(e,"RegExp")}function r(e){return i(e,"Array")}function a(e){return"function"==typeof e}function s(e){return null===e||"null"===e?null:"true"===e||"false"!==e&&(e===h||"undefined"===e?h:""===e||isNaN(e)?e:parseFloat(e))}function l(e){for(var t=e.length,o=[];t--;)o[t]=s(e[t]);return o}function c(e,t){for(var o,i,n,a,l=(e||"").replace("?","").split("&"),c=-1,d={};i=l[++c];)o=i.indexOf("="),a=i.substring(0,o),n=decodeURIComponent(i.substring(o+1)),!1!==t&&(n=s(n)),a in d?r(d[a])?d[a].push(n):d[a]=[d[a],n]:d[a]=n;return d}function d(){this.bypassed=new e.Signal,this.routed=new e.Signal,this._routes=[],this._prevRoutes=[],this._piped=[],this.resetState()}function u(t,o,i,r){var a=n(t),s=r.patternLexer;this._router=r,this._pattern=t,this._paramsIds=a?null:s.getParamIds(t),this._optionalParamsIds=a?null:s.getOptionalParamsIds(t),this._matchRegexp=a?t:s.compilePattern(t,r.ignoreCase),this.matched=new e.Signal,this.switched=new e.Signal,o&&this.matched.add(o),this._priority=i||0}var p,f,h;return f=""===/t(.+)?/.exec("t")[1],d.prototype={greedy:!1,greedyEnabled:!0,ignoreCase:!0,ignoreState:!1,shouldTypecast:!1,normalizeFn:null,resetState:function(){this._prevRoutes.length=0,this._prevMatchedRequest=null,this._prevBypassedRequest=null},create:function(){return new d},addRoute:function(e,t,o){var i=new u(e,t,o,this);return this._sortedInsert(i),i},removeRoute:function(e){o(this._routes,e),e._destroy()},removeAllRoutes:function(){for(var e=this.getNumRoutes();e--;)this._routes[e]._destroy();this._routes.length=0},parse:function(e,t){if(e=e||"",t=t||[],this.ignoreState||e!==this._prevMatchedRequest&&e!==this._prevBypassedRequest){var o,i=this._getMatchedRoutes(e),n=0,r=i.length;if(r)for(this._prevMatchedRequest=e,this._notifyPrevRoutes(i,e),this._prevRoutes=i;n<r;)(o=i[n]).route.matched.dispatch.apply(o.route.matched,t.concat(o.params)),o.isFirst=!n,this.routed.dispatch.apply(this.routed,t.concat([e,o])),n+=1;else this._prevBypassedRequest=e,this.bypassed.dispatch.apply(this.bypassed,t.concat([e]));this._pipeParse(e,t)}},_notifyPrevRoutes:function(e,t){for(var o,i=0;o=this._prevRoutes[i++];)o.route.switched&&this._didSwitch(o.route,e)&&o.route.switched.dispatch(t)},_didSwitch:function(e,t){for(var o,i=0;o=t[i++];)if(o.route===e)return!1;return!0},_pipeParse:function(e,t){for(var o,i=0;o=this._piped[i++];)o.parse(e,t)},getNumRoutes:function(){return this._routes.length},_sortedInsert:function(e){var t=this._routes,o=t.length;do{--o}while(t[o]&&e._priority<=t[o]._priority);t.splice(o+1,0,e)},_getMatchedRoutes:function(e){for(var t,o=[],i=this._routes,n=i.length;(t=i[--n])&&((!o.length||this.greedy||t.greedy)&&t.match(e)&&o.push({route:t,params:t._getParamsArray(e)}),this.greedyEnabled||!o.length););return o},pipe:function(e){this._piped.push(e)},unpipe:function(e){o(this._piped,e)},toString:function(){return"[crossroads numRoutes:"+this.getNumRoutes()+"]"}},(p=new d).VERSION="0.12.2",p.NORM_AS_ARRAY=function(e,t){return[t.vals_]},p.NORM_AS_OBJECT=function(e,t){return[t]},u.prototype={greedy:!1,rules:void 0,match:function(e){return e=e||"",this._matchRegexp.test(e)&&this._validateParams(e)},_validateParams:function(e){var t,o=this.rules,i=this._getParamsObject(e);for(t in o)if("normalize_"!==t&&o.hasOwnProperty(t)&&!this._isValidParam(e,t,i))return!1;return!0},_isValidParam:function(e,o,i){var s=this.rules[o],l=i[o],c=!1,d=0===o.indexOf("?");return null==l&&this._optionalParamsIds&&-1!==t(this._optionalParamsIds,o)?c=!0:n(s)?(d&&(l=i[o+"_"]),c=s.test(l)):r(s)?(d&&(l=i[o+"_"]),c=this._isValidArrayRule(s,l)):a(s)&&(c=s(l,e,i)),c},_isValidArrayRule:function(e,o){if(!this._router.ignoreCase)return-1!==t(e,o);"string"==typeof o&&(o=o.toLowerCase());for(var i,n=e.length;n--;)if(("string"==typeof(i=e[n])?i.toLowerCase():i)===o)return!0;return!1},_getParamsObject:function(e){for(var o,i,n=this._router.shouldTypecast,r=this._router.patternLexer.getParamValues(e,this._matchRegexp,n),a={},l=r.length;l--;)i=r[l],this._paramsIds&&(0===(o=this._paramsIds[l]).indexOf("?")&&i&&(a[o+"_"]=i,i=c(i,n),r[l]=i),f&&""===i&&-1!==t(this._optionalParamsIds,o)&&(i=void 0,r[l]=i),a[o]=i),a[l]=i;return a.request_=n?s(e):e,a.vals_=r,a},_getParamsArray:function(e){var t=this.rules?this.rules.normalize_:null;return(t=t||this._router.normalizeFn)&&a(t)?t(e,this._getParamsObject(e)):this._getParamsObject(e).vals_},interpolate:function(e){var t=this._router.patternLexer.interpolate(this._pattern,e);if(!this._validateParams(t))throw new Error("Generated string doesn't validate against `Route.rules`.");return t},dispose:function(){this._router.removeRoute(this)},_destroy:function(){this.matched.dispose(),this.switched.dispose(),this.matched=this.switched=this._pattern=this._matchRegexp=null},toString:function(){return'[Route pattern:"'+this._pattern+'", numListeners:'+this.matched.getNumListeners()+"]"}},d.prototype.patternLexer=function(){function e(e,t){var o,i=[];for(e.lastIndex=0;o=e.exec(t);)i.push(o[1]);return i}function t(e,t,o){var i,n;for(n in s)s.hasOwnProperty(n)&&(i=s[n],e=e.replace(i[t],i[o]));return e}var o=/[\\.+*?\^$\[\](){}\/'#]/g,i=/^\/|\/$/g,n=/\/$/g,a=/(?:\{|:)([^}:]+)(?:\}|:)/g,s={OS:{rgx:/([:}]|\w(?=\/))\/?(:|(?:\{\?))/g,save:"$1{{id}}$2",res:"\\/?"},RS:{rgx:/([:}])\/?(\{)/g,save:"$1{{id}}$2",res:"\\/"},RQ:{rgx:/\{\?([^}]+)\}/g,res:"\\?([^#]+)"},OQ:{rgx:/:\?([^:]+):/g,res:"(?:\\?([^#]*))?"},OR:{rgx:/:([^:]+)\*:/g,res:"(.*)?"},RR:{rgx:/\{([^}]+)\*\}/g,res:"(.+)"},RP:{rgx:/\{([^}]+)\}/g,res:"([^\\/?]+)"},OP:{rgx:/:([^:]+):/g,res:"([^\\/?]+)?/?"}},c=1,d=2,u=3,p=c;return function(){var e,t;for(e in s)s.hasOwnProperty(e)&&((t=s[e]).id="__CR_"+e+"__",t.save="save"in t?t.save.replace("{{id}}",t.id):t.id,t.rRestore=new RegExp(t.id,"g"))}(),{strict:function(){p=d},loose:function(){p=c},legacy:function(){p=u},getParamIds:function(t){return e(a,t)},getOptionalParamsIds:function(t){return e(s.OP.rgx,t)},getParamValues:function(e,t,o){var i=t.exec(e);return i&&(i.shift(),o&&(i=l(i))),i},compilePattern:function(e,r){return(e=e||"")&&(p===c?e=e.replace(i,""):p===u&&(e=e.replace(n,"")),e=t(e,"rgx","save"),e=t(e=e.replace(o,"\\$&"),"rRestore","res"),p===c&&(e="\\/?"+e)),p!==d&&(e+="\\/?"),new RegExp("^"+e+"$",r?"i":"")},interpolate:function(e,t){if(t=t||{},"string"!=typeof e)throw new Error("Route pattern should be a string.");return s.OS.trail||(s.OS.trail=new RegExp("(?:"+s.OS.id+")+$")),e.replace(s.OS.rgx,s.OS.save).replace(a,function(e,o){var i;if(o="?"===o.substr(0,1)?o.substr(1):o,null!=t[o]){if("object"==typeof t[o]){var n,a=[];for(var s in t[o])if(r(n=t[o][s]))for(var l in n)"[]"==s.slice(-2)?a.push(encodeURI(s.slice(0,-2))+"[]="+encodeURI(n[l])):a.push(encodeURI(s+"="+n[l]));else a.push(encodeURI(s+"="+n));i="?"+a.join("&")}else i=String(t[o]);if(-1===e.indexOf("*")&&-1!==i.indexOf("/"))throw new Error('Invalid value "'+i+'" for segment "'+e+'".')}else{if(-1!==e.indexOf("{"))throw new Error("The segment "+e+" is required.");i=""}return i}).replace(s.OS.trail,"").replace(s.OS.rRestore,"/")}}}(),p};"function"==typeof define&&define.amd?define(["signals"],e):"undefined"!=typeof module&&module.exports?module.exports=e(require("signals")):window.crossroads=e(window.signals)}(),function(){var e=function(e){return function(t){var o,i,n,r,a,s,l=t.document,c=(t.history,e.Signal),d=/#(.*)$/,u=/(\?.*)|(\#.*)/,p=/^\#/,f=!1,h="onhashchange"in t&&7!==l.documentMode,g=f&&!h,m="file:"===location.protocol;function v(e){return String(e||"").replace(/\W/g,"\\$&")}function b(e){if(!e)return"";var t=new RegExp("^"+v(o.prependHash)+"|"+v(o.appendHash)+"$","g");return e.replace(t,"")}function y(){var e=d.exec(o.getURL()),t=e&&e[1]||"";try{return o.raw?t:decodeURIComponent(t)}catch(e){return t}}function _(){return a?a.contentWindow.frameHash:null}function w(){if(a&&i!==_()){var e=a.contentWindow.document;e.open(),e.write("<html><head><title>"+l.title+'</title><script type="text/javascript">var frameHash="'+i+'";<\/script></head><body> </body></html>'),e.close()}}function x(e,t){if(i!==e){var n=i;i=e,g&&(t?a.contentWindow.frameHash=e:w()),o.changed.dispatch(b(e),b(n))}}function j(e){var t=(e=Array.prototype.slice.call(arguments)).join(o.separator);return t=t?o.prependHash+t.replace(p,"")+o.appendHash:t}function k(e){return e=encodeURI(e),f&&m&&(e=e.replace(/\?/,"%3F")),e}return s=g?function(){var e=y(),t=_();t!==i&&t!==e?o.setHash(b(t)):e!==i&&x(e)}:function(){var e=y();e!==i&&x(e)},(o={VERSION:"1.2.0",raw:!1,appendHash:"",prependHash:"/",separator:"/",changed:new c,stopped:new c,initialized:new c,init:function(){var e,c,d;r||(i=y(),h?(c="hashchange",d=s,(e=t).addEventListener?e.addEventListener(c,d,!1):e.attachEvent&&e.attachEvent("on"+c,d)):(g&&(a||((a=l.createElement("iframe")).src="about:blank",a.style.display="none",l.body.appendChild(a)),w()),n=setInterval(s,25)),r=!0,o.initialized.dispatch(b(i)))},stop:function(){var e,a,l;r&&(h?(a="hashchange",l=s,(e=t).removeEventListener?e.removeEventListener(a,l,!1):e.detachEvent&&e.detachEvent("on"+a,l)):(clearInterval(n),n=null),r=!1,o.stopped.dispatch(b(i)))},isActive:function(){return r},getURL:function(){return t.location.href},getBaseURL:function(){return o.getURL().replace(u,"")},setHash:function(e){(e=j.apply(null,arguments))!==i&&(x(e),e===i&&(o.raw||(e=k(e)),t.location.hash="#"+e))},replaceHash:function(e){(e=j.apply(null,arguments))!==i&&(x(e,!0),e===i&&(o.raw||(e=k(e)),t.location.replace("#"+e)))},getHash:function(){return b(i)},getHashAsArray:function(){return o.getHash().split(o.separator)},dispose:function(){o.stop(),o.initialized.dispose(),o.stopped.dispose(),o.changed.dispose(),a=o=t.hasher=null},toString:function(){return'[hasher version="'+o.VERSION+'" hash="'+o.getHash()+'"]'}}).initialized.memorize=!0,o}(window)};"function"==typeof define&&define.amd?define(["signals"],e):"object"==typeof exports?module.exports=e(require("signals")):window.hasher=e(window.signals)}(),function($){$.extend({tablesorter:new function(){var parsers=[],widgets=[];function benchmark(e,t){log(e+","+((new Date).getTime()-t.getTime())+"ms")}function log(e){"undefined"!=typeof console&&void 0!==console.debug?console.log(e):alert(e)}function buildParserCache(e,t){if(e.config.debug)var o="";if(0!=e.tBodies.length){var i=e.tBodies[0].rows;if(i[0])for(var n=[],r=i[0].cells.length,a=0;a<r;a++){var s=!1;$.metadata&&$(t[a]).metadata()&&$(t[a]).metadata().sorter?s=getParserById($(t[a]).metadata().sorter):e.config.headers[a]&&e.config.headers[a].sorter&&(s=getParserById(e.config.headers[a].sorter)),s||(s=detectParserForColumn(e,i,-1,a)),e.config.debug&&(o+="column:"+a+" parser:"+s.id+"\n"),n.push(s)}return e.config.debug&&log(o),n}}function detectParserForColumn(e,t,o,i){for(var n=parsers.length,r=!1,a=!1,s=!0;""==a&&s;)t[++o]?(r=getNodeFromRowAndCellIndex(t,o,i),a=trimAndGetNodeText(e.config,r),e.config.debug&&log("Checking if value was empty on row:"+o)):s=!1;for(var l=1;l<n;l++)if(parsers[l].is(a,e,r))return parsers[l];return parsers[0]}function getNodeFromRowAndCellIndex(e,t,o){return e[t].cells[o]}function trimAndGetNodeText(e,t){return $.trim(getElementText(e,t))}function getParserById(e){for(var t=parsers.length,o=0;o<t;o++)if(parsers[o].id.toLowerCase()==e.toLowerCase())return parsers[o];return!1}function buildCache(e){if(e.config.debug)var t=new Date;for(var o=e.tBodies[0]&&e.tBodies[0].rows.length||0,i=e.tBodies[0].rows[0]&&e.tBodies[0].rows[0].cells.length||0,n=e.config.parsers,r={row:[],normalized:[]},a=0;a<o;++a){var s=$(e.tBodies[0].rows[a]),l=[];if(s.hasClass(e.config.cssChildRow))r.row[r.row.length-1]=r.row[r.row.length-1].add(s);else{r.row.push(s);for(var c=0;c<i;++c)l.push(n[c].format(getElementText(e.config,s[0].cells[c]),e,s[0].cells[c]));l.push(r.normalized.length),r.normalized.push(l),l=null}}return e.config.debug&&benchmark("Building cache for "+o+" rows:",t),r}function getElementText(e,t){return t?(e.supportsTextContent||(e.supportsTextContent=t.textContent||!1),"simple"==e.textExtraction?e.supportsTextContent?t.textContent:t.childNodes[0]&&t.childNodes[0].hasChildNodes()?t.childNodes[0].innerHTML:t.innerHTML:"function"==typeof e.textExtraction?e.textExtraction(t):$(t).text()):""}function appendToTable(e,t){if(e.config.debug)var o=new Date;for(var i=t,n=i.row,r=i.normalized,a=r.length,s=r[0].length-1,l=$(e.tBodies[0]),c=[],d=0;d<a;d++){var u=r[d][s];if(c.push(n[u]),!e.config.appender)for(var p=n[u].length,f=0;f<p;f++)l[0].appendChild(n[u][f])}e.config.appender&&e.config.appender(e,c),c=null,e.config.debug&&benchmark("Rebuilt table:",o),applyWidget(e),setTimeout(function(){$(e).trigger("sortEnd")},0)}function buildHeaders(e){if(e.config.debug)var t=new Date;$.metadata;var o=computeTableHeaderCellIndexes(e);return $tableHeaders=$(e.config.selectorHeaders,e).each(function(t){if(this.column=o[this.parentNode.rowIndex+"-"+this.cellIndex],this.order=formatSortingOrder(e.config.sortInitialOrder),this.count=this.order,(checkHeaderMetadata(this)||checkHeaderOptions(e,t))&&(this.sortDisabled=!0),checkHeaderOptionsSortingLocked(e,t)&&(this.order=this.lockedOrder=checkHeaderOptionsSortingLocked(e,t)),!this.sortDisabled){var i=$(this).addClass(e.config.cssHeader);e.config.onRenderHeader&&e.config.onRenderHeader.apply(i)}e.config.headerList[t]=this}),e.config.debug&&(benchmark("Built headers:",t),log($tableHeaders)),$tableHeaders}function computeTableHeaderCellIndexes(e){for(var t=[],o={},i=e.getElementsByTagName("THEAD")[0].getElementsByTagName("TR"),n=0;n<i.length;n++)for(var r=i[n].cells,a=0;a<r.length;a++){var s,l=r[a],c=l.parentNode.rowIndex,d=c+"-"+l.cellIndex,u=l.rowSpan||1,p=l.colSpan||1;void 0===t[c]&&(t[c]=[]);for(var f=0;f<t[c].length+1;f++)if(void 0===t[c][f]){s=f;break}o[d]=s;for(f=c;f<c+u;f++){void 0===t[f]&&(t[f]=[]);for(var h=t[f],g=s;g<s+p;g++)h[g]="x"}}return o}function checkCellColSpan(e,t,o){for(var i=[],n=e.tHead.rows,r=n[o].cells,a=0;a<r.length;a++){var s=r[a];s.colSpan>1?i=i.concat(checkCellColSpan(e,headerArr,o++)):(1==e.tHead.length||s.rowSpan>1||!n[o+1])&&i.push(s)}return i}function checkHeaderMetadata(e){return!(!$.metadata||!1!==$(e).metadata().sorter)}function checkHeaderOptions(e,t){return!(!e.config.headers[t]||!1!==e.config.headers[t].sorter)}function checkHeaderOptionsSortingLocked(e,t){return!(!e.config.headers[t]||!e.config.headers[t].lockedOrder)&&e.config.headers[t].lockedOrder}function applyWidget(e){for(var t=e.config.widgets,o=t.length,i=0;i<o;i++)getWidgetById(t[i]).format(e)}function getWidgetById(e){for(var t=widgets.length,o=0;o<t;o++)if(widgets[o].id.toLowerCase()==e.toLowerCase())return widgets[o]}function formatSortingOrder(e){return"Number"!=typeof e?"desc"==e.toLowerCase()?1:0:1==e?1:0}function isValueInArray(e,t){for(var o=t.length,i=0;i<o;i++)if(t[i][0]==e)return!0;return!1}function setHeadersCss(e,t,o,i){t.removeClass(i[0]).removeClass(i[1]);var n=[];t.each(function(e){this.sortDisabled||(n[this.column]=$(this))});for(var r=o.length,a=0;a<r;a++)n[o[a][0]].addClass(i[o[a][1]])}function fixColumnWidth(e,t){if(e.config.widthFixed){var o=$("<colgroup>");$("tr:first td",e.tBodies[0]).each(function(){o.append($("<col>").css("width",$(this).width()))}),$(e).prepend(o)}}function updateHeaderSortCount(e,t){for(var o=e.config,i=t.length,n=0;n<i;n++){var r=t[n],a=o.headerList[r[0]];a.count=r[1],a.count++}}function multisort(table,sortList,cache){if(table.config.debug)var sortTime=new Date;for(var dynamicExp="var sortWrapper = function(a,b) {",l=sortList.length,i=0;i<l;i++){var c=sortList[i][0],order=sortList[i][1],s="text"==table.config.parsers[c].type?makeSortFunction("text",0==order?"asc":"desc",c):makeSortFunction("numeric",0==order?"asc":"desc",c),e="e"+i;dynamicExp+="var "+e+" = "+s,dynamicExp+="if("+e+") { return "+e+"; } ",dynamicExp+="else { "}var orgOrderCol=cache.normalized[0].length-1;dynamicExp+="return a["+orgOrderCol+"]-b["+orgOrderCol+"];";for(var i=0;i<l;i++)dynamicExp+="}; ";return dynamicExp+="return 0; ",dynamicExp+="}; ",table.config.debug&&benchmark("Evaling expression:"+dynamicExp,new Date),eval(dynamicExp),cache.normalized.sort(sortWrapper),table.config.debug&&benchmark("Sorting on "+sortList.toString()+" and dir "+order+" time:",sortTime),cache}function makeSortFunction(e,t,o){var i="a["+o+"]",n="b["+o+"]";return"text"==e&&"asc"==t?"("+i+" == "+n+" ? 0 : ("+i+" === null ? Number.POSITIVE_INFINITY : ("+n+" === null ? Number.NEGATIVE_INFINITY : ("+i+" < "+n+") ? -1 : 1 )));":"text"==e&&"desc"==t?"("+i+" == "+n+" ? 0 : ("+i+" === null ? Number.POSITIVE_INFINITY : ("+n+" === null ? Number.NEGATIVE_INFINITY : ("+n+" < "+i+") ? -1 : 1 )));":"numeric"==e&&"asc"==t?"("+i+" === null && "+n+" === null) ? 0 :("+i+" === null ? Number.POSITIVE_INFINITY : ("+n+" === null ? Number.NEGATIVE_INFINITY : "+i+" - "+n+"));":"numeric"==e&&"desc"==t?"("+i+" === null && "+n+" === null) ? 0 :("+i+" === null ? Number.POSITIVE_INFINITY : ("+n+" === null ? Number.NEGATIVE_INFINITY : "+n+" - "+i+"));":void 0}function makeSortText(e){return"((a["+e+"] < b["+e+"]) ? -1 : ((a["+e+"] > b["+e+"]) ? 1 : 0));"}function makeSortTextDesc(e){return"((b["+e+"] < a["+e+"]) ? -1 : ((b["+e+"] > a["+e+"]) ? 1 : 0));"}function makeSortNumeric(e){return"a["+e+"]-b["+e+"];"}function makeSortNumericDesc(e){return"b["+e+"]-a["+e+"];"}function sortText(e,t){return table.config.sortLocaleCompare?e.localeCompare(t):e<t?-1:e>t?1:0}function sortTextDesc(e,t){return table.config.sortLocaleCompare?t.localeCompare(e):t<e?-1:t>e?1:0}function sortNumeric(e,t){return e-t}function sortNumericDesc(e,t){return t-e}function getCachedSortType(e,t){return e[t].type}this.defaults={cssHeader:"header",cssAsc:"headerSortUp",cssDesc:"headerSortDown",cssChildRow:"expand-child",sortInitialOrder:"asc",sortMultiSortKey:"shiftKey",sortForce:null,sortAppend:null,sortLocaleCompare:!0,textExtraction:"simple",parsers:{},widgets:[],widgetZebra:{css:["even","odd"]},headers:{},widthFixed:!1,cancelSelection:!0,sortList:[],headerList:[],dateFormat:"us",decimal:"/.|,/g",onRenderHeader:null,selectorHeaders:"thead th",debug:!1},this.benchmark=benchmark,this.construct=function(e){return this.each(function(){if(this.tHead&&this.tBodies){var t,o,i,n;this.config={},n=$.extend(this.config,$.tablesorter.defaults,e),t=$(this),$.data(this,"tablesorter",n),o=buildHeaders(this),this.config.parsers=buildParserCache(this,o),i=buildCache(this);var r=[n.cssDesc,n.cssAsc];fixColumnWidth(this),o.click(function(e){var a=t[0].tBodies[0]&&t[0].tBodies[0].rows.length||0;if(!this.sortDisabled&&a>0){t.trigger("sortStart");$(this);var s=this.column;if(this.order=this.count++%2,this.lockedOrder&&(this.order=this.lockedOrder),e[n.sortMultiSortKey])if(isValueInArray(s,n.sortList))for(u=0;u<n.sortList.length;u++){var l=n.sortList[u],c=n.headerList[l[0]];l[0]==s&&(c.count=l[1],c.count++,l[1]=c.count%2)}else n.sortList.push([s,this.order]);else{if(n.sortList=[],null!=n.sortForce)for(var d=n.sortForce,u=0;u<d.length;u++)d[u][0]!=s&&n.sortList.push(d[u]);n.sortList.push([s,this.order])}return setTimeout(function(){setHeadersCss(t[0],o,n.sortList,r),appendToTable(t[0],multisort(t[0],n.sortList,i))},1),!1}}).mousedown(function(){if(n.cancelSelection)return this.onselectstart=function(){return!1},!1}),t.bind("update",function(){var e=this;setTimeout(function(){e.config.parsers=buildParserCache(e,o),i=buildCache(e)},1)}).bind("updateCell",function(e,t){var o=this.config,n=[t.parentNode.rowIndex-1,t.cellIndex];i.normalized[n[0]][n[1]]=o.parsers[n[1]].format(getElementText(o,t),t)}).bind("sorton",function(e,t){$(this).trigger("sortStart"),n.sortList=t;var a=n.sortList;updateHeaderSortCount(this,a),setHeadersCss(this,o,a,r),appendToTable(this,multisort(this,a,i))}).bind("appendCache",function(){appendToTable(this,i)}).bind("applyWidgetId",function(e,t){getWidgetById(t).format(this)}).bind("applyWidgets",function(){applyWidget(this)}),$.metadata&&$(this).metadata()&&$(this).metadata().sortlist&&(n.sortList=$(this).metadata().sortlist),n.sortList.length>0&&t.trigger("sorton",[n.sortList]),applyWidget(this)}})},this.addParser=function(e){for(var t=parsers.length,o=!0,i=0;i<t;i++)parsers[i].id.toLowerCase()==e.id.toLowerCase()&&(o=!1);o&&parsers.push(e)},this.addWidget=function(e){widgets.push(e)},this.formatFloat=function(e){var t=parseFloat(e);return isNaN(t)?0:t},this.formatInt=function(e){var t=parseInt(e);return isNaN(t)?0:t},this.isDigit=function(e,t){return/^[-+]?\d*$/.test($.trim(e.replace(/[,.']/g,"")))},this.clearTableBody=function(e){if($.browser.msie){(function(){for(;this.firstChild;)this.removeChild(this.firstChild)}).apply(e.tBodies[0])}else e.tBodies[0].innerHTML=""}}}),$.fn.extend({tablesorter:$.tablesorter.construct});var ts=$.tablesorter;ts.addParser({id:"text",is:function(e){return!0},format:function(e){return $.trim(e.toLocaleLowerCase())},type:"text"}),ts.addParser({id:"digit",is:function(e,t){var o=t.config;return $.tablesorter.isDigit(e,o)},format:function(e){return $.tablesorter.formatFloat(e)},type:"numeric"}),ts.addParser({id:"currency",is:function(e){return/^[£$€?.]/.test(e)},format:function(e){return $.tablesorter.formatFloat(e.replace(new RegExp(/[£$€]/g),""))},type:"numeric"}),ts.addParser({id:"ipAddress",is:function(e){return/^\d{2,3}[\.]\d{2,3}[\.]\d{2,3}[\.]\d{2,3}$/.test(e)},format:function(e){for(var t=e.split("."),o="",i=t.length,n=0;n<i;n++){var r=t[n];2==r.length?o+="0"+r:o+=r}return $.tablesorter.formatFloat(o)},type:"numeric"}),ts.addParser({id:"url",is:function(e){return/^(https?|ftp|file):\/\/$/.test(e)},format:function(e){return jQuery.trim(e.replace(new RegExp(/(https?|ftp|file):\/\//),""))},type:"text"}),ts.addParser({id:"isoDate",is:function(e){return/^\d{4}[\/-]\d{1,2}[\/-]\d{1,2}$/.test(e)},format:function(e){return $.tablesorter.formatFloat(""!=e?new Date(e.replace(new RegExp(/-/g),"/")).getTime():"0")},type:"numeric"}),ts.addParser({id:"percent",is:function(e){return/\%$/.test($.trim(e))},format:function(e){return $.tablesorter.formatFloat(e.replace(new RegExp(/%/g),""))},type:"numeric"}),ts.addParser({id:"usLongDate",is:function(e){return e.match(new RegExp(/^[A-Za-z]{3,10}\.? [0-9]{1,2}, ([0-9]{4}|'?[0-9]{2}) (([0-2]?[0-9]:[0-5][0-9])|([0-1]?[0-9]:[0-5][0-9]\s(AM|PM)))$/))},format:function(e){return $.tablesorter.formatFloat(new Date(e).getTime())},type:"numeric"}),ts.addParser({id:"shortDate",is:function(e){return/\d{1,2}[\/\-]\d{1,2}[\/\-]\d{2,4}/.test(e)},format:function(e,t){var o=t.config;return e=e.replace(/\-/g,"/"),"us"==o.dateFormat?e=e.replace(/(\d{1,2})[\/\-](\d{1,2})[\/\-](\d{4})/,"$3/$1/$2"):"pt"==o.dateFormat?e=e.replace(/(\d{1,2})[\/\-](\d{1,2})[\/\-](\d{4})/,"$3/$2/$1"):"uk"==o.dateFormat?e=e.replace(/(\d{1,2})[\/\-](\d{1,2})[\/\-](\d{4})/,"$3/$2/$1"):"dd/mm/yy"!=o.dateFormat&&"dd-mm-yy"!=o.dateFormat||(e=e.replace(/(\d{1,2})[\/\-](\d{1,2})[\/\-](\d{2})/,"$1/$2/$3")),$.tablesorter.formatFloat(new Date(e).getTime())},type:"numeric"}),ts.addParser({id:"time",is:function(e){return/^(([0-2]?[0-9]:[0-5][0-9])|([0-1]?[0-9]:[0-5][0-9]\s(am|pm)))$/.test(e)},format:function(e){return $.tablesorter.formatFloat(new Date("2000/01/01 "+e).getTime())},type:"numeric"}),ts.addParser({id:"metadata",is:function(e){return!1},format:function(e,t,o){var i=t.config,n=i.parserMetadataName?i.parserMetadataName:"sortValue";return $(o).metadata()[n]},type:"numeric"}),ts.addWidget({id:"zebra",format:function(e){if(e.config.debug)var t=new Date;var o,i,n=-1;$("tr:visible",e.tBodies[0]).each(function(t){(o=$(this)).hasClass(e.config.cssChildRow)||n++,i=n%2==0,o.removeClass(e.config.widgetZebra.css[i?0:1]).addClass(e.config.widgetZebra.css[i?1:0])}),e.config.debug&&$.tablesorter.benchmark("Applying Zebra widget",t)}})}(jQuery),function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.ClipboardJS=t():e.ClipboardJS=t()}(this,function(){return function(e){function t(i){if(o[i])return o[i].exports;var n=o[i]={i:i,l:!1,exports:{}};return e[i].call(n.exports,n,n.exports,t),n.l=!0,n.exports}var o={};return t.m=e,t.c=o,t.i=function(e){return e},t.d=function(e,o,i){t.o(e,o)||Object.defineProperty(e,o,{configurable:!1,enumerable:!0,get:i})},t.n=function(e){var o=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(o,"a",o),o},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=3)}([function(e,t,o){var i,n,r;n=[e,o(7)],i=function(e,t){"use strict";var o=function(e){return e&&e.__esModule?e:{default:e}}(t),i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n=function(){function e(e,t){for(var o=0;o<t.length;o++){var i=t[o];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,o,i){return o&&e(t.prototype,o),i&&e(t,i),t}}(),r=function(){function e(t){(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,e),this.resolveOptions(t),this.initSelection()}return n(e,[{key:"resolveOptions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action=e.action,this.container=e.container,this.emitter=e.emitter,this.target=e.target,this.text=e.text,this.trigger=e.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"selectFake",value:function(){var e=this,t="rtl"==document.documentElement.getAttribute("dir");this.removeFake(),this.fakeHandlerCallback=function(){return e.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[t?"right":"left"]="-9999px";var i=window.pageYOffset||document.documentElement.scrollTop;this.fakeElem.style.top=i+"px",this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.container.appendChild(this.fakeElem),this.selectedText=(0,o.default)(this.fakeElem),this.copyText()}},{key:"removeFake",value:function(){this.fakeHandler&&(this.container.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(this.container.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=(0,o.default)(this.target),this.copyText()}},{key:"copyText",value:function(){var e=void 0;try{e=document.execCommand(this.action)}catch(t){e=!1}this.handleResult(e)}},{key:"handleResult",value:function(e){this.emitter.emit(e?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function(){this.trigger&&this.trigger.focus(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function(){this.removeFake()}},{key:"action",set:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"copy";if(this._action=e,"copy"!==this._action&&"cut"!==this._action)throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action}},{key:"target",set:function(e){if(void 0!==e){if(!e||"object"!==(void 0===e?"undefined":i(e))||1!==e.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===this.action&&e.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===this.action&&(e.hasAttribute("readonly")||e.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');this._target=e}},get:function(){return this._target}}]),e}();e.exports=r},void 0!==(r="function"==typeof i?i.apply(t,n):i)&&(e.exports=r)},function(e,t,o){var i=o(6),n=o(5);e.exports=function(e,t,o){if(!e&&!t&&!o)throw new Error("Missing required arguments");if(!i.string(t))throw new TypeError("Second argument must be a String");if(!i.fn(o))throw new TypeError("Third argument must be a Function");if(i.node(e))return function(e,t,o){return e.addEventListener(t,o),{destroy:function(){e.removeEventListener(t,o)}}}(e,t,o);if(i.nodeList(e))return function(e,t,o){return Array.prototype.forEach.call(e,function(e){e.addEventListener(t,o)}),{destroy:function(){Array.prototype.forEach.call(e,function(e){e.removeEventListener(t,o)})}}}(e,t,o);if(i.string(e))return function(e,t,o){return n(document.body,e,t,o)}(e,t,o);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}},function(e,t){function o(){}o.prototype={on:function(e,t,o){var i=this.e||(this.e={});return(i[e]||(i[e]=[])).push({fn:t,ctx:o}),this},once:function(e,t,o){function i(){n.off(e,i),t.apply(o,arguments)}var n=this;return i._=t,this.on(e,i,o)},emit:function(e){for(var t=[].slice.call(arguments,1),o=((this.e||(this.e={}))[e]||[]).slice(),i=0,n=o.length;i<n;i++)o[i].fn.apply(o[i].ctx,t);return this},off:function(e,t){var o=this.e||(this.e={}),i=o[e],n=[];if(i&&t)for(var r=0,a=i.length;r<a;r++)i[r].fn!==t&&i[r].fn._!==t&&n.push(i[r]);return n.length?o[e]=n:delete o[e],this}},e.exports=o},function(e,t,o){var i,n,r;n=[e,o(0),o(2),o(1)],void 0!==(r="function"==typeof(i=function(e,t,o,i){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function r(e,t){var o="data-clipboard-"+e;if(t.hasAttribute(o))return t.getAttribute(o)}var a=n(t),s=n(o),l=n(i),c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},d=function(){function e(e,t){for(var o=0;o<t.length;o++){var i=t[o];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,o,i){return o&&e(t.prototype,o),i&&e(t,i),t}}(),u=function(e){function t(e,o){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var i=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return i.resolveOptions(o),i.listenClick(e),i}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),d(t,[{key:"resolveOptions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof e.action?e.action:this.defaultAction,this.target="function"==typeof e.target?e.target:this.defaultTarget,this.text="function"==typeof e.text?e.text:this.defaultText,this.container="object"===c(e.container)?e.container:document.body}},{key:"listenClick",value:function(e){var t=this;this.listener=(0,l.default)(e,"click",function(e){return t.onClick(e)})}},{key:"onClick",value:function(e){var t=e.delegateTarget||e.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new a.default({action:this.action(t),target:this.target(t),text:this.text(t),container:this.container,trigger:t,emitter:this})}},{key:"defaultAction",value:function(e){return r("action",e)}},{key:"defaultTarget",value:function(e){var t=r("target",e);if(t)return document.querySelector(t)}},{key:"defaultText",value:function(e){return r("text",e)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}],[{key:"isSupported",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],t="string"==typeof e?[e]:e,o=!!document.queryCommandSupported;return t.forEach(function(e){o=o&&!!document.queryCommandSupported(e)}),o}}]),t}(s.default);e.exports=u})?i.apply(t,n):i)&&(e.exports=r)},function(e,t){var o=9;if("undefined"!=typeof Element&&!Element.prototype.matches){var i=Element.prototype;i.matches=i.matchesSelector||i.mozMatchesSelector||i.msMatchesSelector||i.oMatchesSelector||i.webkitMatchesSelector}e.exports=function(e,t){for(;e&&e.nodeType!==o;){if("function"==typeof e.matches&&e.matches(t))return e;e=e.parentNode}}},function(e,t,o){function i(e,t,o,i,r){var a=n.apply(this,arguments);return e.addEventListener(o,a,r),{destroy:function(){e.removeEventListener(o,a,r)}}}function n(e,t,o,i){return function(o){o.delegateTarget=r(o.target,t),o.delegateTarget&&i.call(e,o)}}var r=o(4);e.exports=function(e,t,o,n,r){return"function"==typeof e.addEventListener?i.apply(null,arguments):"function"==typeof o?i.bind(null,document).apply(null,arguments):("string"==typeof e&&(e=document.querySelectorAll(e)),Array.prototype.map.call(e,function(e){return i(e,t,o,n,r)}))}},function(e,t){t.node=function(e){return void 0!==e&&e instanceof HTMLElement&&1===e.nodeType},t.nodeList=function(e){var o=Object.prototype.toString.call(e);return void 0!==e&&("[object NodeList]"===o||"[object HTMLCollection]"===o)&&"length"in e&&(0===e.length||t.node(e[0]))},t.string=function(e){return"string"==typeof e||e instanceof String},t.fn=function(e){return"[object Function]"===Object.prototype.toString.call(e)}},function(e,t){e.exports=function(e){var t;if("SELECT"===e.nodeName)e.focus(),t=e.value;else if("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName){var o=e.hasAttribute("readonly");o||e.setAttribute("readonly",""),e.select(),e.setSelectionRange(0,e.value.length),o||e.removeAttribute("readonly"),t=e.value}else{e.hasAttribute("contenteditable")&&e.focus();var i=window.getSelection(),n=document.createRange();n.selectNodeContents(e),i.removeAllRanges(),i.addRange(n),t=i.toString()}return t}}])}),function(e){"use strict";function t(e,t){return t=t||Error,function(){var o,i=arguments[0];for(o="["+(e?e+":":"")+i+"] http://errors.angularjs.org/1.6.1/"+(e?e+"/":"")+i,i=1;i<arguments.length;i++){var n;o=o+(1==i?"?":"&")+"p"+(i-1)+"=",o+=encodeURIComponent(n="function"==typeof(n=arguments[i])?n.toString().replace(/ \{[\s\S]*$/,""):void 0===n?"undefined":"string"!=typeof n?JSON.stringify(n):n)}return new t(o)}}function o(e){if(null==e||k(e))return!1;if(Zo(e)||y(e)||zo&&e instanceof zo)return!0;var t="length"in Object(e)&&e.length;return _(t)&&(0<=t&&(t-1 in e||e instanceof Array)||"function"==typeof e.item)}function i(e,t,n){var r,a;if(e)if(x(e))for(r in e)"prototype"!==r&&"length"!==r&&"name"!==r&&e.hasOwnProperty(r)&&t.call(n,e[r],r,e);else if(Zo(e)||o(e)){var s="object"!=typeof e;for(r=0,a=e.length;r<a;r++)(s||r in e)&&t.call(n,e[r],r,e)}else if(e.forEach&&e.forEach!==i)e.forEach(t,n,e);else if(b(e))for(r in e)t.call(n,e[r],r,e);else if("function"==typeof e.hasOwnProperty)for(r in e)e.hasOwnProperty(r)&&t.call(n,e[r],r,e);else for(r in e)Vo.call(e,r)&&t.call(n,e[r],r,e);return e}function n(e,t,o){for(var i=Object.keys(e).sort(),n=0;n<i.length;n++)t.call(o,e[i[n]],i[n]);return i}function r(e){return function(t,o){e(o,t)}}function a(e,t,o){for(var i=e.$$hashKey,n=0,r=t.length;n<r;++n){var s=t[n];if(v(s)||x(s))for(var l=Object.keys(s),c=0,d=l.length;c<d;c++){var u=l[c],p=s[u];o&&v(p)?w(p)?e[u]=new Date(p.valueOf()):j(p)?e[u]=new RegExp(p):p.nodeName?e[u]=p.cloneNode(!0):A(p)?e[u]=p.clone():(v(e[u])||(e[u]=Zo(p)?[]:{}),a(e[u],[p],!0)):e[u]=p}}return i?e.$$hashKey=i:delete e.$$hashKey,e}function s(e){return a(e,Ho.call(arguments,1),!1)}function l(e){return a(e,Ho.call(arguments,1),!0)}function c(e){return parseInt(e,10)}function d(e,t){return s(Object.create(e),t)}function u(){}function p(e){return e}function f(e){return function(){return e}}function h(e){return x(e.toString)&&e.toString!==Uo}function g(e){return void 0===e}function m(e){return void 0!==e}function v(e){return null!==e&&"object"==typeof e}function b(e){return null!==e&&"object"==typeof e&&!Yo(e)}function y(e){return"string"==typeof e}function _(e){return"number"==typeof e}function w(e){return"[object Date]"===Uo.call(e)}function x(e){return"function"==typeof e}function j(e){return"[object RegExp]"===Uo.call(e)}function k(e){return e&&e.window===e}function C(e){return e&&e.$evalAsync&&e.$watch}function $(e){return"boolean"==typeof e}function A(e){return!(!e||!(e.nodeName||e.prop&&e.attr&&e.find))}function S(e){return Ro(e.nodeName||e[0]&&e[0].nodeName)}function E(e,t){var o=e.indexOf(t);return 0<=o&&e.splice(o,1),o}function M(e,t){function o(e,t){var o,i=t.$$hashKey;if(Zo(e)){o=0;for(var r=e.length;o<r;o++)t.push(n(e[o]))}else if(b(e))for(o in e)t[o]=n(e[o]);else if(e&&"function"==typeof e.hasOwnProperty)for(o in e)e.hasOwnProperty(o)&&(t[o]=n(e[o]));else for(o in e)Vo.call(e,o)&&(t[o]=n(e[o]));return i?t.$$hashKey=i:delete t.$$hashKey,t}function n(e){if(!v(e))return e;if(-1!==(t=a.indexOf(e)))return s[t];if(k(e)||C(e))throw Ko("cpws");var t=!1,i=r(e);return void 0===i&&(i=Zo(e)?[]:Object.create(Yo(e)),t=!0),a.push(e),s.push(i),t?o(e,i):i}function r(e){switch(Uo.call(e)){case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Float32Array]":case"[object Float64Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return new e.constructor(n(e.buffer),e.byteOffset,e.length);case"[object ArrayBuffer]":if(!e.slice){var t=new ArrayBuffer(e.byteLength);return new Uint8Array(t).set(new Uint8Array(e)),t}return e.slice(0);case"[object Boolean]":case"[object Number]":case"[object String]":case"[object Date]":return new e.constructor(e.valueOf());case"[object RegExp]":return(t=new RegExp(e.source,e.toString().match(/[^\/]*$/)[0])).lastIndex=e.lastIndex,t;case"[object Blob]":return new e.constructor([e],{type:e.type})}if(x(e.cloneNode))return e.cloneNode(!0)}var a=[],s=[];if(t){if(function(e){return e&&_(e.length)&&Qo.test(Uo.call(e))}(t)||"[object ArrayBuffer]"===Uo.call(t))throw Ko("cpta");if(e===t)throw Ko("cpi");return Zo(t)?t.length=0:i(t,function(e,o){"$$hashKey"!==o&&delete t[o]}),a.push(e),s.push(t),o(e,t)}return n(e)}function T(e,t){if(e===t)return!0;if(null===e||null===t)return!1;if(e!=e&&t!=t)return!0;var o,i=typeof e;if(i===typeof t&&"object"===i){if(!Zo(e)){if(w(e))return!!w(t)&&T(e.getTime(),t.getTime());if(j(e))return!!j(t)&&e.toString()===t.toString();if(C(e)||C(t)||k(e)||k(t)||Zo(t)||w(t)||j(t))return!1;for(o in i=te(),e)if("$"!==o.charAt(0)&&!x(e[o])){if(!T(e[o],t[o]))return!1;i[o]=!0}for(o in t)if(!(o in i)&&"$"!==o.charAt(0)&&m(t[o])&&!x(t[o]))return!1;return!0}if(!Zo(t))return!1;if((i=e.length)===t.length){for(o=0;o<i;o++)if(!T(e[o],t[o]))return!1;return!0}}return!1}function L(e,t,o){return e.concat(Ho.call(t,o))}function q(e,t){var o=2<arguments.length?Ho.call(arguments,2):[];return!x(t)||t instanceof RegExp?t:o.length?function(){return arguments.length?t.apply(e,L(o,arguments,0)):t.apply(e,o)}:function(){return arguments.length?t.apply(e,arguments):t.call(e)}}function D(t,o){var i=o;return"string"==typeof t&&"$"===t.charAt(0)&&"$"===t.charAt(1)?i=void 0:k(o)?i="$WINDOW":o&&e.document===o?i="$DOCUMENT":C(o)&&(i="$SCOPE"),i}function I(e,t){if(!g(e))return _(t)||(t=t?2:null),JSON.stringify(e,D,t)}function z(e){return y(e)?JSON.parse(e):e}function N(e,t){e=e.replace(ni,"");var o=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return Jo(o)?t:o}function O(e,t,o){o=o?-1:1;var i=e.getTimezoneOffset();return o*=(t=N(t,i))-i,(e=new Date(e.getTime())).setMinutes(e.getMinutes()+o),e}function P(e){e=zo(e).clone();try{e.empty()}catch(e){}var t=zo("<div>").append(e).html();try{return e[0].nodeType===ci?Ro(t):t.match(/^(<[^>]+>)/)[1].replace(/^<([\w-]+)/,function(e,t){return"<"+Ro(t)})}catch(e){return Ro(t)}}function V(e){try{return decodeURIComponent(e)}catch(e){}}function R(e){var t={};return i((e||"").split("&"),function(e){var o,i,n;e&&(i=e=e.replace(/\+/g,"%20"),-1!==(o=e.indexOf("="))&&(i=e.substring(0,o),n=e.substring(o+1)),m(i=V(i))&&(n=!m(n)||V(n),Vo.call(t,i)?Zo(t[i])?t[i].push(n):t[i]=[t[i],n]:t[i]=n))}),t}function B(e){var t=[];return i(e,function(e,o){Zo(e)?i(e,function(e){t.push(F(o,!0)+(!0===e?"":"="+F(e,!0)))}):t.push(F(o,!0)+(!0===e?"":"="+F(e,!0)))}),t.length?t.join("&"):""}function H(e){return F(e,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function F(e,t){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%20/g,t?"%20":"+")}function W(t,o){var n,r,a={};i(ri,function(e){e+="app",!n&&t.hasAttribute&&t.hasAttribute(e)&&(n=t,r=t.getAttribute(e))}),i(ri,function(e){var o;e+="app",!n&&(o=t.querySelector("["+e.replace(":","\\:")+"]"))&&(n=o,r=o.getAttribute(e))}),n&&(ai?(a.strictDi=null!==function(e,t){var o,i,n=ri.length;for(i=0;i<n;++i)if(o=ri[i]+t,y(o=e.getAttribute(o)))return o;return null}(n,"strict-di"),o(n,r?[r]:[],a)):e.console.error("Angular: disabling automatic bootstrap. <script> protocol indicates an extension, document.location.href does not match."))}function U(t,o,n){v(n)||(n={}),n=s({strictDi:!1},n);var r=function(){if((t=zo(t)).injector()){var i=t[0]===e.document?"document":P(t);throw Ko("btstrpd",i.replace(/</,"<").replace(/>/,">"))}return(o=o||[]).unshift(["$provide",function(e){e.value("$rootElement",t)}]),n.debugInfoEnabled&&o.push(["$compileProvider",function(e){e.debugInfoEnabled(!0)}]),o.unshift("ng"),(i=Le(o,n.strictDi)).invoke(["$rootScope","$rootElement","$compile","$injector",function(e,t,o,i){e.$apply(function(){t.data("$injector",i),o(t)(e)})}]),i},a=/^NG_ENABLE_DEBUG_INFO!/,l=/^NG_DEFER_BOOTSTRAP!/;if(e&&a.test(e.name)&&(n.debugInfoEnabled=!0,e.name=e.name.replace(a,"")),e&&!l.test(e.name))return r();e.name=e.name.replace(l,""),Go.resumeBootstrap=function(e){return i(e,function(e){o.push(e)}),r()},x(Go.resumeDeferredBootstrap)&&Go.resumeDeferredBootstrap()}function Y(){e.name="NG_ENABLE_DEBUG_INFO!"+e.name,e.location.reload()}function K(e){if(!(e=Go.element(e).injector()))throw Ko("test");return e.get("$$testability")}function G(e,t){return t=t||"_",e.replace(si,function(e,o){return(o?t:"")+e.toLowerCase()})}function X(e,t,o){if(!e)throw Ko("areq",t||"?",o||"required");return e}function J(e,t,o){return o&&Zo(e)&&(e=e[e.length-1]),X(x(e),t,"not a function, got "+(e&&"object"==typeof e?e.constructor.name||"Object":typeof e)),e}function Z(e,t){if("hasOwnProperty"===e)throw Ko("badname",t)}function Q(e,t,o){if(!t)return e;for(var i,n=e,r=(t=t.split(".")).length,a=0;a<r;a++)i=t[a],e&&(e=(n=e)[i]);return!o&&x(e)?q(n,e):e}function ee(e){for(var t,o=e[0],i=e[e.length-1],n=1;o!==i&&(o=o.nextSibling);n++)(t||e[n]!==o)&&(t||(t=zo(Ho.call(e,0,n))),t.push(o));return t||e}function te(){return Object.create(null)}function oe(e){if(null==e)return"";switch(typeof e){case"string":break;case"number":e=""+e;break;default:e=!h(e)||Zo(e)||w(e)?I(e):e.toString()}return e}function ie(e,t){if(Zo(e)){t=t||[];for(var o=0,i=e.length;o<i;o++)t[o]=e[o]}else if(v(e))for(o in t=t||{},e)"$"===o.charAt(0)&&"$"===o.charAt(1)||(t[o]=e[o]);return t||e}function ne(e){var t=[];return JSON.stringify(e,function(e,o){if(v(o=D(e,o))){if(0<=t.indexOf(o))return"...";t.push(o)}return o})}function re(e,t){return t.toUpperCase()}function ae(e){return e.replace(fi,re)}function se(e){return 1===(e=e.nodeType)||!e||9===e}function le(e,t){var o,n,r=t.createDocumentFragment(),a=[];if(bi.test(e)){for(o=r.appendChild(t.createElement("div")),n=(yi.exec(e)||["",""])[1].toLowerCase(),n=wi[n]||wi._default,o.innerHTML=n[1]+e.replace(_i,"<$1></$2>")+n[2],n=n[0];n--;)o=o.lastChild;a=L(a,o.childNodes),(o=r.firstChild).textContent=""}else a.push(t.createTextNode(e));return r.textContent="",r.innerHTML="",i(a,function(e){r.appendChild(e)}),r}function ce(t){if(t instanceof ce)return t;var o,i;if(y(t)&&(t=ei(t),o=!0),!(this instanceof ce)){if(o&&"<"!==t.charAt(0))throw mi("nosel");return new ce(t)}o?(o=e.document,ye(this,t=(i=vi.exec(t))?[o.createElement(i[1])]:(i=le(t,o))?i.childNodes:[])):x(t)?ke(t):ye(this,t)}function de(e){return e.cloneNode(!0)}function ue(e,t){if(t||fe(e),e.querySelectorAll)for(var o=e.querySelectorAll("*"),i=0,n=o.length;i<n;i++)fe(o[i])}function pe(e,t,o,n){if(m(n))throw mi("offargs");var r=(n=he(e))&&n.events,a=n&&n.handle;if(a)if(t){var s=function(t){var i=r[t];m(o)&&E(i||[],o),m(o)&&i&&0<i.length||(e.removeEventListener(t,a),delete r[t])};i(t.split(" "),function(e){s(e),gi[e]&&s(gi[e])})}else for(t in r)"$destroy"!==t&&e.removeEventListener(t,a),delete r[t]}function fe(e,t){var o=e.ng339,i=o&&ui[o];i&&(t?delete i.data[t]:(i.handle&&(i.events.$destroy&&i.handle({},"$destroy"),pe(e)),delete ui[o],e.ng339=void 0))}function he(e,t){var o=(o=e.ng339)&&ui[o];return t&&!o&&(e.ng339=o=++pi,o=ui[o]={events:{},data:{},handle:void 0}),o}function ge(e,t,o){if(se(e)){var i,n=m(o),r=!n&&t&&!v(t),a=!t;if(e=(e=he(e,!r))&&e.data,n)e[ae(t)]=o;else{if(a)return e;if(r)return e&&e[ae(t)];for(i in t)e[ae(i)]=t[i]}}}function me(e,t){return!!e.getAttribute&&-1<(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").indexOf(" "+t+" ")}function ve(e,t){t&&e.setAttribute&&i(t.split(" "),function(t){e.setAttribute("class",ei((" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").replace(" "+ei(t)+" "," ")))})}function be(e,t){if(t&&e.setAttribute){var o=(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ");i(t.split(" "),function(e){e=ei(e),-1===o.indexOf(" "+e+" ")&&(o+=e+" ")}),e.setAttribute("class",ei(o))}}function ye(e,t){if(t)if(t.nodeType)e[e.length++]=t;else{var o=t.length;if("number"==typeof o&&t.window!==t){if(o)for(var i=0;i<o;i++)e[e.length++]=t[i]}else e[e.length++]=t}}function _e(e,t){return we(e,"$"+(t||"ngController")+"Controller")}function we(e,t,o){for(9===e.nodeType&&(e=e.documentElement),t=Zo(t)?t:[t];e;){for(var i=0,n=t.length;i<n;i++)if(m(o=zo.data(e,t[i])))return o;e=e.parentNode||11===e.nodeType&&e.host}}function xe(e){for(ue(e,!0);e.firstChild;)e.removeChild(e.firstChild)}function je(e,t){t||ue(e);var o=e.parentNode;o&&o.removeChild(e)}function ke(t){function o(){e.document.removeEventListener("DOMContentLoaded",o),e.removeEventListener("load",o),t()}"complete"===e.document.readyState?e.setTimeout(t):(e.document.addEventListener("DOMContentLoaded",o),e.addEventListener("load",o))}function Ce(e,t){var o=ki[t.toLowerCase()];return o&&Ci[S(e)]&&o}function $e(e,t,o){o.call(e,t)}function Ae(e,t,o){var i=t.relatedTarget;i&&(i===e||xi.call(e,i))||o.call(e,t)}function Se(){this.$get=function(){return s(ce,{hasClass:function(e,t){return e.attr&&(e=e[0]),me(e,t)},addClass:function(e,t){return e.attr&&(e=e[0]),be(e,t)},removeClass:function(e,t){return e.attr&&(e=e[0]),ve(e,t)}})}}function Ee(e,t){var o=e&&e.$$hashKey;return o?("function"==typeof o&&(o=e.$$hashKey()),o):"function"===(o=typeof e)||"object"===o&&null!==e?e.$$hashKey=o+":"+(t||function(){return++Xo})():o+":"+e}function Me(e,t){if(t){var o=0;this.nextUid=function(){return++o}}i(e,this.put,this)}function Te(e){return(e=(Function.prototype.toString.call(e)+" ").replace(Li,"")).match(Si)||e.match(Ei)}function Le(e,t){function o(e){return function(t,o){if(!v(t))return e(t,o);i(t,r(e))}}function n(e,t){if(Z(e,"service"),(x(t)||Zo(t))&&(t=p.instantiate(t)),!t.$get)throw qi("pget",e);return u[e+"Provider"]=t}function a(e,t,o){return n(e,{$get:!1!==o?function(e,t){return function(){var o=b.invoke(t,this);if(g(o))throw qi("undef",e);return o}}(e,t):t})}function s(e,o){function i(t,i){if(e.hasOwnProperty(t)){if(e[t]===l)throw qi("cdep",t+" <- "+c.join(" <- "));return e[t]}try{return c.unshift(t),e[t]=l,e[t]=o(t,i),e[t]}catch(o){throw e[t]===l&&delete e[t],o}finally{c.shift()}}function n(e,o,n){for(var r=[],a=0,s=(e=Le.$$annotate(e,t,n)).length;a<s;a++){var l=e[a];if("string"!=typeof l)throw qi("itkn",l);r.push(o&&o.hasOwnProperty(l)?o[l]:i(l,n))}return r}return{invoke:function(e,t,o,i){if("string"==typeof o&&(i=o,o=null),o=n(e,o,i),Zo(e)&&(e=e[e.length-1]),i=e,Io||"function"!=typeof i)i=!1;else{var r=i.$$ngIsClass;$(r)||(r=i.$$ngIsClass=/^(?:class\b|constructor\()/.test(Function.prototype.toString.call(i)+" ")),i=r}return i?(o.unshift(null),new(Function.prototype.bind.apply(e,o))):e.apply(t,o)},instantiate:function(e,t,o){var i=Zo(e)?e[e.length-1]:e;return(e=n(e,t,o)).unshift(null),new(Function.prototype.bind.apply(i,e))},get:i,annotate:Le.$$annotate,has:function(t){return u.hasOwnProperty(t+"Provider")||e.hasOwnProperty(t)}}}t=!0===t;var l={},c=[],d=new Me([],!0),u={$provide:{provider:o(n),factory:o(a),service:o(function(e,t){return a(e,["$injector",function(e){return e.instantiate(t)}])}),value:o(function(e,t){return a(e,f(t),!1)}),constant:o(function(e,t){Z(e,"constant"),u[e]=t,h[e]=t}),decorator:function(e,t){var o=p.get(e+"Provider"),i=o.$get;o.$get=function(){var e=b.invoke(i,o);return b.invoke(t,null,{$delegate:e})}}}},p=u.$injector=s(u,function(e,t){throw Go.isString(t)&&c.push(t),qi("unpr",c.join(" <- "))}),h={},m=s(h,function(e,t){var o=p.get(e+"Provider",t);return b.invoke(o.$get,o,void 0,e)}),b=m;u.$injectorProvider={$get:f(m)};var _=function e(t){X(g(t)||Zo(t),"modulesToLoad","not an array");var o,n=[];return i(t,function(t){function i(e){var t,o;for(t=0,o=e.length;t<o;t++){var i=e[t],n=p.get(i[0]);n[i[1]].apply(n,i[2])}}if(!d.get(t)){d.put(t,!0);try{y(t)?(o=Oo(t),n=n.concat(e(o.requires)).concat(o._runBlocks),i(o._invokeQueue),i(o._configBlocks)):x(t)?n.push(p.invoke(t)):Zo(t)?n.push(p.invoke(t)):J(t,"module")}catch(e){throw Zo(t)&&(t=t[t.length-1]),e.message&&e.stack&&-1===e.stack.indexOf(e.message)&&(e=e.message+"\n"+e.stack),qi("modulerr",t,e.stack||e.message||e)}}}),n}(e);return(b=m.get("$injector")).strictDi=t,i(_,function(e){e&&b.invoke(e)}),b}function qe(){var t=!0;this.disableAutoScrolling=function(){t=!1},this.$get=["$window","$location","$rootScope",function(o,i,n){function r(e){var t;e?(e.scrollIntoView(),x(t=a.yOffset)?t=t():A(t)?(t=t[0],t="fixed"!==o.getComputedStyle(t).position?0:t.getBoundingClientRect().bottom):_(t)||(t=0),t&&(e=e.getBoundingClientRect().top,o.scrollBy(0,e-t))):o.scrollTo(0,0)}function a(e){var t;(e=y(e)?e:_(e)?e.toString():i.hash())?(t=s.getElementById(e))?r(t):(t=function(e){var t=null;return Array.prototype.some.call(e,function(e){if("a"===S(e))return t=e,!0}),t}(s.getElementsByName(e)))?r(t):"top"===e&&r(null):r(null)}var s=o.document;return t&&n.$watch(function(){return i.hash()},function(t,o){t===o&&""===t||function(t,o){"complete"===(o=o||e).document.readyState?o.setTimeout(t):zo(o).on("load",t)}(function(){n.$evalAsync(a)})}),a}]}function De(e,t){return e||t?e?t?(Zo(e)&&(e=e.join(" ")),Zo(t)&&(t=t.join(" ")),e+" "+t):e:t:""}function Ie(e){return v(e)?e:{}}function ze(e,t,o,n){function r(e){try{e.apply(null,Ho.call(arguments,1))}finally{if(0===--v)for(;b.length;)try{b.pop()()}catch(e){o.error(e)}}}function a(){j=null,s(),l()}function s(){T(y=g(y=k())?null:y,A)&&(y=A),A=y}function l(){w===c.url()&&_===y||(w=c.url(),_=y,i(C,function(e){e(c.url(),y)}))}var c=this,d=e.location,p=e.history,f=e.setTimeout,h=e.clearTimeout,m={};c.isMock=!1;var v=0,b=[];c.$$completeOutstandingRequest=r,c.$$incOutstandingRequestCount=function(){v++},c.notifyWhenNoOutstandingRequests=function(e){0===v?e():b.push(e)};var y,_,w=d.href,x=t.find("base"),j=null,k=n.history?function(){try{return p.state}catch(e){}}:u;s(),_=y,c.url=function(t,o,i){if(g(i)&&(i=null),d!==e.location&&(d=e.location),p!==e.history&&(p=e.history),t){var r=_===i;if(w===t&&(!n.history||r))return c;var a=w&&pt(w)===pt(t);return w=t,_=i,!n.history||a&&r?(a||(j=t),o?d.replace(t):a?(o=d,i=-1===(i=t.indexOf("#"))?"":t.substr(i),o.hash=i):d.href=t,d.href!==t&&(j=t)):(p[o?"replaceState":"pushState"](i,"",t),s(),_=y),j&&(j=t),c}return j||d.href.replace(/%27/g,"'")},c.state=function(){return y};var C=[],$=!1,A=null;c.onUrlChange=function(t){return $||(n.history&&zo(e).on("popstate",a),zo(e).on("hashchange",a),$=!0),C.push(t),t},c.$$applicationDestroyed=function(){zo(e).off("hashchange popstate",a)},c.$$checkUrlChange=l,c.baseHref=function(){var e=x.attr("href");return e?e.replace(/^(https?:)?\/\/[^\/]*/,""):""},c.defer=function(e,t){var o;return v++,o=f(function(){delete m[o],r(e)},t||0),m[o]=!0,o},c.defer.cancel=function(e){return!!m[e]&&(delete m[e],h(e),r(u),!0)}}function Ne(){this.$get=["$window","$log","$sniffer","$document",function(e,t,o,i){return new ze(e,i,t,o)}]}function Oe(){this.$get=function(){function e(e,i){function n(e){e!==p&&(f?f===e&&(f=e.n):f=e,r(e.n,e.p),r(e,p),(p=e).n=null)}function r(e,t){e!==t&&(e&&(e.p=t),t&&(t.n=e))}if(e in o)throw t("$cacheFactory")("iid",e);var a=0,l=s({},i,{id:e}),c=te(),d=i&&i.capacity||Number.MAX_VALUE,u=te(),p=null,f=null;return o[e]={put:function(e,t){if(!g(t)){if(d<Number.MAX_VALUE)n(u[e]||(u[e]={key:e}));return e in c||a++,c[e]=t,a>d&&this.remove(f.key),t}},get:function(e){if(d<Number.MAX_VALUE){var t=u[e];if(!t)return;n(t)}return c[e]},remove:function(e){if(d<Number.MAX_VALUE){var t=u[e];if(!t)return;t===p&&(p=t.p),t===f&&(f=t.n),r(t.n,t.p),delete u[e]}e in c&&(delete c[e],a--)},removeAll:function(){c=te(),a=0,u=te(),p=f=null},destroy:function(){u=l=c=null,delete o[e]},info:function(){return s({},l,{size:a})}}}var o={};return e.info=function(){var e={};return i(o,function(t,o){e[o]=t.info()}),e},e.get=function(e){return o[e]},e}}function Pe(){this.$get=["$cacheFactory",function(e){return e("templates")}]}function Ve(t,o){function n(e,t,o){var n=/^\s*([@&<]|=(\*?))(\??)\s*(\w*)\s*$/,r=te();return i(e,function(e,i){if(e in j)r[i]=j[e];else{var a=e.match(n);if(!a)throw Ri("iscp",t,i,e,o?"controller bindings definition":"isolate scope definition");r[i]={mode:a[1][0],collection:"*"===a[2],optional:"?"===a[3],attrName:a[4]||i},a[4]&&(j[e]=r[i])}}),r}function a(e){var t=e.require||e.controller&&e.name;return!Zo(t)&&v(t)&&i(t,function(e,o){var i=e.match(_);e.substring(i[0].length)||(t[o]=i[0]+o)}),t}var l={},c=/^\s*directive:\s*([\w-]+)\s+(.*)$/,h=/(([\w-]+)(?::([^;]+))?;?)/,b=function(e){var t,o={};for(e=e.split(","),t=0;t<e.length;t++)o[e[t]]=!0;return o}("ngSrc,ngSrcset,src,srcset"),_=/^(?:(\^\^?)?(\?)?(\^\^?)?)?/,w=/^(on[a-z]+|formaction)$/,j=te();this.directive=function e(o,n){return X(o,"name"),Z(o,"directive"),y(o)?(function(e){var t=e.charAt(0);if(!t||t!==Ro(t))throw Ri("baddir",e);if(e!==e.trim())throw Ri("baddir",e)}(o),X(n,"directiveFactory"),l.hasOwnProperty(o)||(l[o]=[],t.factory(o+"Directive",["$injector","$exceptionHandler",function(e,t){var n=[];return i(l[o],function(i,r){try{var s=e.invoke(i);x(s)?s={compile:f(s)}:!s.compile&&s.link&&(s.compile=f(s.link)),s.priority=s.priority||0,s.index=r,s.name=s.name||o,s.require=a(s);var l=s,c=s.restrict;if(c&&(!y(c)||!/[EACM]/.test(c)))throw Ri("badrestrict",c,o);l.restrict=c||"EA",s.$$moduleName=i.$$moduleName,n.push(s)}catch(e){t(e)}}),n}])),l[o].push(n)):i(o,r(e)),this},this.component=function(e,t){function o(e){function o(t){return x(t)||Zo(t)?function(o,i){return e.invoke(t,this,{$element:o,$attrs:i})}:t}var r=t.template||t.templateUrl?t.template:"",a={controller:n,controllerAs:function(e,t){if(t&&y(t))return t;if(y(e)){var o=Ui.exec(e);if(o)return o[3]}}(t.controller)||t.controllerAs||"$ctrl",template:o(r),templateUrl:o(t.templateUrl),transclude:t.transclude,scope:{},bindToController:t.bindings||{},restrict:"E",require:t.require};return i(t,function(e,t){"$"===t.charAt(0)&&(a[t]=e)}),a}var n=t.controller||function(){};return i(t,function(e,t){"$"===t.charAt(0)&&(o[t]=e,x(n)&&(n[t]=e))}),o.$inject=["$injector"],this.directive(e,o)},this.aHrefSanitizationWhitelist=function(e){return m(e)?(o.aHrefSanitizationWhitelist(e),this):o.aHrefSanitizationWhitelist()},this.imgSrcSanitizationWhitelist=function(e){return m(e)?(o.imgSrcSanitizationWhitelist(e),this):o.imgSrcSanitizationWhitelist()};var k=!0;this.debugInfoEnabled=function(e){return m(e)?(k=e,this):k};var A=!1;this.preAssignBindingsEnabled=function(e){return m(e)?(A=e,this):A};var M=10;this.onChangesTtl=function(e){return arguments.length?(M=e,this):M};var L=!0;this.commentDirectivesEnabled=function(e){return arguments.length?(L=e,this):L};var D=!0;this.cssClassDirectivesEnabled=function(e){return arguments.length?(D=e,this):D},this.$get=["$injector","$interpolate","$exceptionHandler","$templateRequest","$parse","$controller","$rootScope","$sce","$animate","$$sanitizeUri",function(t,o,r,a,f,j,I,z,N,O){function V(){try{if(!--ke)throw ye=void 0,Ri("infchng",M);I.$apply(function(){for(var e=[],t=0,o=ye.length;t<o;++t)try{ye[t]()}catch(t){e.push(t)}if(ye=void 0,e.length)throw e})}finally{ke++}}function R(e,t){if(t){var o,i,n,r=Object.keys(t);for(o=0,i=r.length;o<i;o++)this[n=r[o]]=t[n]}else this.$attr={};this.$$element=e}function B(e,t){try{e.addClass(t)}catch(e){}}function H(e,t,o,i,n){e instanceof zo||(e=zo(e));var r=F(e,t,e,o,i,n);H.$$addScopeClass(e);var a=null;return function(t,o,i){if(!e)throw Ri("multilink");X(t,"scope"),n&&n.needsNewScope&&(t=t.$parent.$new());var s=(i=i||{}).parentBoundTranscludeFn,l=i.transcludeControllers;if(i=i.futureParentElement,s&&s.$$boundTransclude&&(s=s.$$boundTransclude),a||(a=(i=i&&i[0])&&"foreignobject"!==S(i)&&Uo.call(i).match(/SVG/)?"svg":"html"),i="html"!==a?zo(fe(a,zo("<div>").append(e).html())):o?ji.clone.call(e):e,l)for(var c in l)i.data("$"+c+"Controller",l[c].instance);return H.$$addScopeInfo(i,t),o&&o(i,t),r&&r(t,i,i,s),o||(e=r=null),i}}function F(e,t,o,i,n,r){for(var a,s,l,c,d,u=[],p=Zo(e)||e instanceof zo,f=0;f<e.length;f++)a=new R,11===Io&&W(e,f,p),(r=(s=Y(e[f],[],a,0===f?i:void 0,n)).length?ee(s,e[f],a,t,o,null,[],[],r):null)&&r.scope&&H.$$addScopeClass(a.$$element),a=r&&r.terminal||!(l=e[f].childNodes)||!l.length?null:F(l,r?(r.transcludeOnThisElement||!r.templateOnThisElement)&&r.transclude:t),(r||a)&&(u.push(f,r,a),c=!0,d=d||r),r=null;return c?function(e,o,i,n){var r,a,s,l,c,p;if(d)for(p=Array(o.length),l=0;l<u.length;l+=3)p[r=u[l]]=o[r];else p=o;for(l=0,c=u.length;l<c;)a=p[u[l++]],o=u[l++],r=u[l++],o?(o.scope?(s=e.$new(),H.$$addScopeInfo(zo(a),s)):s=e,o(r,s,a,i,o.transcludeOnThisElement?U(e,o.transclude,n):!o.templateOnThisElement&&n?n:!n&&t?U(e,t):null)):r&&r(e,a.childNodes,void 0,n)}:null}function W(e,t,o){var i,n=e[t],r=n.parentNode;if(n.nodeType===ci)for(;(i=r?n.nextSibling:e[t+1])&&i.nodeType===ci;)n.nodeValue+=i.nodeValue,i.parentNode&&i.parentNode.removeChild(i),o&&i===e[t+1]&&e.splice(t+1,1)}function U(e,t,o){function i(i,n,r,a,s){return i||((i=e.$new(!1,s)).$$transcluded=!0),t(i,n,{parentBoundTranscludeFn:o,transcludeControllers:r,futureParentElement:a})}var n,r=i.$$slots=te();for(n in t.$$slots)r[n]=t.$$slots[n]?U(e,t.$$slots[n],o):null;return i}function Y(e,t,o,i,n){var r,a=o.$attr;switch(e.nodeType){case 1:re(t,Be(r=S(e)),"E",i,n);for(var s,l,c,d,u=e.attributes,p=0,f=u&&u.length;p<f;p++){var g=!1,m=!1;l=(s=u[p]).name,c=s.value,s=Be(l),(d=Ee.test(s))&&(l=l.replace(Hi,"").substr(8).replace(/_(.)/g,function(e,t){return t.toUpperCase()})),(s=s.match(Me))&&ae(s[1])&&(g=l,m=l.substr(0,l.length-5)+"end",l=l.substr(0,l.length-6)),a[s=Be(l.toLowerCase())]=l,!d&&o.hasOwnProperty(s)||(o[s]=c,Ce(e,s)&&(o[s]=!0)),he(e,t,c,s,d),re(t,s,"A",i,n,g,m)}if("input"===r&&"hidden"===e.getAttribute("type")&&e.setAttribute("autocomplete","off"),!je)break;if(v(a=e.className)&&(a=a.animVal),y(a)&&""!==a)for(;e=h.exec(a);)re(t,s=Be(e[2]),"C",i,n)&&(o[s]=ei(e[3])),a=a.substr(e.index+e[0].length);break;case ci:pe(t,e.nodeValue);break;case 8:if(!xe)break;K(e,t,o,i,n)}return t.sort(ce),t}function K(e,t,o,i,n){try{var r=c.exec(e.nodeValue);if(r){var a=Be(r[1]);re(t,a,"M",i,n)&&(o[a]=ei(r[2]))}}catch(e){}}function J(e,t,o){var i=[],n=0;if(t&&e.hasAttribute&&e.hasAttribute(t))do{if(!e)throw Ri("uterdir",t,o);1===e.nodeType&&(e.hasAttribute(t)&&n++,e.hasAttribute(o)&&n--),i.push(e),e=e.nextSibling}while(0<n);else i.push(e);return zo(i)}function Z(e,t,o){return function(i,n,r,a,s){return n=J(n[0],t,o),e(i,n,r,a,s)}}function Q(e,t,o,i,n,r){var a;return e?H(t,o,i,n,r):function(){return a||(a=H(t,o,i,n,r),t=o=r=null),a.apply(this,arguments)}}function ee(e,t,o,n,a,l,c,d,u){function p(e,t,o,i){e&&(o&&(e=Z(e,o,i)),e.require=h.require,e.directiveName=m,($===h||h.$$isolateScope)&&(e=me(e,{isolateScope:!0})),c.push(e)),t&&(o&&(t=Z(t,o,i)),t.require=h.require,t.directiveName=m,($===h||h.$$isolateScope)&&(t=me(t,{isolateScope:!0})),d.push(t))}function f(e,n,a,l,u){var p,f,h,m,b,y,_,w;for(p in t===a?(l=o,w=o.$$element):l=new R(w=zo(a),o),b=n,$?m=n.$new(!0):j&&(b=n.$parent),u&&((_=function(e,t,o,i){var n;if(C(e)||(i=o,o=t,t=e,e=void 0),D&&(n=y),o||(o=D?w.parent():w),!i)return u(e,t,n,o,T);var r=u.$$slots[i];if(r)return r(e,t,n,o,T);if(g(r))throw Ri("noslot",i,P(w))}).$$boundTransclude=u,_.isSlotFilled=function(e){return!!u.$$slots[e]}),k&&(y=ie(w,l,_,k,m,n,$)),$&&(H.$$addScopeInfo(w,m,!0,!(E&&(E===$||E===$.$$originalDirective))),H.$$addScopeClass(w,!0),m.$$isolateBindings=$.$$isolateBindings,(f=be(n,l,m,m.$$isolateBindings,$)).removeWatches&&m.$on("$destroy",f.removeWatches)),y){f=k[p],h=y[p];var S=f.$$bindings.bindToController;if(A){h.bindingInfo=S?be(b,l,h.instance,S,f):{};var M=h();M!==h.instance&&(h.instance=M,w.data("$"+f.name+"Controller",M),h.bindingInfo.removeWatches&&h.bindingInfo.removeWatches(),h.bindingInfo=be(b,l,h.instance,S,f))}else h.instance=h(),w.data("$"+f.name+"Controller",h.instance),h.bindingInfo=be(b,l,h.instance,S,f)}for(i(k,function(e,t){var o=e.require;e.bindToController&&!Zo(o)&&v(o)&&s(y[t].instance,oe(t,o,w,y))}),i(y,function(e){var t=e.instance;if(x(t.$onChanges))try{t.$onChanges(e.bindingInfo.initialChanges)}catch(e){r(e)}if(x(t.$onInit))try{t.$onInit()}catch(e){r(e)}x(t.$doCheck)&&(b.$watch(function(){t.$doCheck()}),t.$doCheck()),x(t.$onDestroy)&&b.$on("$destroy",function(){t.$onDestroy()})}),p=0,f=c.length;p<f;p++)ve(h=c[p],h.isolateScope?m:n,w,l,h.require&&oe(h.directiveName,h.require,w,y),_);var T=n;for($&&($.template||null===$.templateUrl)&&(T=m),e&&e(T,a.childNodes,void 0,u),p=d.length-1;0<=p;p--)ve(h=d[p],h.isolateScope?m:n,w,l,h.require&&oe(h.directiveName,h.require,w,y),_);i(y,function(e){x((e=e.instance).$postLink)&&e.$postLink()})}u=u||{};for(var h,m,b,y,_,w=-Number.MAX_VALUE,j=u.newScopeDirective,k=u.controllerDirectives,$=u.newIsolateScopeDirective,E=u.templateDirective,M=u.nonTlbTranscludeDirective,T=!1,L=!1,D=u.hasElementTranscludeDirective,I=o.$$element=zo(t),z=n,N=!1,O=!1,V=0,B=e.length;V<B;V++){var F=(h=e[V]).$$start,W=h.$$end;if(F&&(I=J(t,F,W)),b=void 0,w>h.priority)break;if((_=h.scope)&&(h.templateUrl||(v(_)?(ue("new/isolated scope",$||j,h,I),$=h):ue("new/isolated scope",$,h,I)),j=j||h),m=h.name,!N&&(h.replace&&(h.templateUrl||h.template)||h.transclude&&!h.$$tlb)){for(_=V+1;N=e[_++];)if(N.transclude&&!N.$$tlb||N.replace&&(N.templateUrl||N.template)){O=!0;break}N=!0}if(!h.templateUrl&&h.controller&&(k=k||te(),ue("'"+m+"' controller",k[m],h,I),k[m]=h),_=h.transclude)if(T=!0,h.$$tlb||(ue("transclusion",M,h,I),M=h),"element"===_)D=!0,w=h.priority,b=I,I=o.$$element=zo(H.$$createComment(m,o[m])),t=I[0],ge(a,Ho.call(b,0),t),b[0].$$parentNode=b[0].parentNode,z=Q(O,b,n,w,l&&l.name,{nonTlbTranscludeDirective:M});else{var U=te();if(v(_)){b=[];var K=te(),G=te();for(var X in i(_,function(e,t){var o="?"===e.charAt(0);e=o?e.substring(1):e,K[e]=t,U[t]=null,G[t]=o}),i(I.contents(),function(e){var t=K[Be(S(e))];t?(G[t]=!0,U[t]=U[t]||[],U[t].push(e)):b.push(e)}),i(G,function(e,t){if(!e)throw Ri("reqslot",t)}),U)U[X]&&(U[X]=Q(O,U[X],n))}else b=zo(de(t)).contents();I.empty(),(z=Q(O,b,n,void 0,void 0,{needsNewScope:h.$$isolateScope||h.$$newScope})).$$slots=U}if(h.template)if(L=!0,ue("template",E,h,I),E=h,_=x(h.template)?h.template(I,o):h.template,_=Se(_),h.replace){if(l=h,b=bi.test(_)?Fe(fe(h.templateNamespace,ei(_))):[],t=b[0],1!==b.length||1!==t.nodeType)throw Ri("tplrt",m,"");ge(a,I,t),_=Y(t,[],B={$attr:{}});var ee=e.splice(V+1,e.length-(V+1));($||j)&&ne(_,$,j),e=e.concat(_).concat(ee),se(o,B),B=e.length}else I.html(_);if(h.templateUrl)L=!0,ue("template",E,h,I),E=h,h.replace&&(l=h),f=le(e.splice(V,e.length-V),I,o,a,T&&z,c,d,{controllerDirectives:k,newScopeDirective:j!==h&&j,newIsolateScopeDirective:$,templateDirective:E,nonTlbTranscludeDirective:M}),B=e.length;else if(h.compile)try{y=h.compile(I,o,z);var re=h.$$originalDirective||h;x(y)?p(null,q(re,y),F,W):y&&p(q(re,y.pre),q(re,y.post),F,W)}catch(e){r(e,P(I))}h.terminal&&(f.terminal=!0,w=Math.max(w,h.priority))}return f.scope=j&&!0===j.scope,f.transcludeOnThisElement=T,f.templateOnThisElement=L,f.transclude=z,u.hasElementTranscludeDirective=D,f}function oe(e,t,o,n){var r;if(y(t)){var a=t.match(_);t=t.substring(a[0].length);var s=a[1]||a[3];a="?"===a[2];if("^^"===s?o=o.parent():r=(r=n&&n[t])&&r.instance,!r){var l="$"+t+"Controller";r=s?o.inheritedData(l):o.data(l)}if(!r&&!a)throw Ri("ctreq",t,e)}else if(Zo(t))for(r=[],s=0,a=t.length;s<a;s++)r[s]=oe(e,t[s],o,n);else v(t)&&(r={},i(t,function(t,i){r[i]=oe(e,t,o,n)}));return r||null}function ie(e,t,o,i,n,r,a){var s,l=te();for(s in i){var c=i[s],d={$scope:c===a||c.$$isolateScope?n:r,$element:e,$attrs:t,$transclude:o},u=c.controller;"@"===u&&(u=t[c.name]),d=j(u,d,!0,c.controllerAs),l[c.name]=d,e.data("$"+c.name+"Controller",d.instance)}return l}function ne(e,t,o){for(var i=0,n=e.length;i<n;i++)e[i]=d(e[i],{$$isolateScope:t,$$newScope:o})}function re(e,o,i,r,a,s,c){if(o===a)return null;var u=null;if(l.hasOwnProperty(o))for(var p=0,f=(a=t.get(o+"Directive")).length;p<f;p++)if(o=a[p],(g(r)||r>o.priority)&&-1!==o.restrict.indexOf(i)){if(s&&(o=d(o,{$$start:s,$$end:c})),!o.$$bindings){var h=u=o,m=o.name,b={isolateScope:null,bindToController:null};if(v(h.scope)&&(!0===h.bindToController?(b.bindToController=n(h.scope,m,!0),b.isolateScope={}):b.isolateScope=n(h.scope,m,!1)),v(h.bindToController)&&(b.bindToController=n(h.bindToController,m,!0)),b.bindToController&&!h.controller)throw Ri("noctrl",m);v((u=u.$$bindings=b).isolateScope)&&(o.$$isolateBindings=u.isolateScope)}e.push(o),u=o}return u}function ae(e){if(l.hasOwnProperty(e))for(var o=t.get(e+"Directive"),i=0,n=o.length;i<n;i++)if((e=o[i]).multiElement)return!0;return!1}function se(e,t){var o=t.$attr,n=e.$attr;i(e,function(i,n){"$"!==n.charAt(0)&&(t[n]&&t[n]!==i&&(i=i.length?i+("style"===n?";":" ")+t[n]:t[n]),e.$set(n,i,!0,o[n]))}),i(t,function(t,i){e.hasOwnProperty(i)||"$"===i.charAt(0)||(e[i]=t,"class"!==i&&"style"!==i&&(n[i]=o[i]))})}function le(e,t,o,n,s,l,c,p){var f,h,g=[],m=t[0],b=e.shift(),y=d(b,{templateUrl:null,transclude:null,replace:null,$$originalDirective:b}),_=x(b.templateUrl)?b.templateUrl(t,o):b.templateUrl,w=b.templateNamespace;return t.empty(),a(_).then(function(r){var a,d;if(r=Se(r),b.replace){if(r=bi.test(r)?Fe(fe(w,ei(r))):[],a=r[0],1!==r.length||1!==a.nodeType)throw Ri("tplrt",b.name,_);r={$attr:{}},ge(n,t,a);var u=Y(a,[],r);v(b.scope)&&ne(u,!0),e=u.concat(e),se(o,r)}else a=m,t.html(r);for(e.unshift(y),f=ee(e,a,o,s,t,b,l,c,p),i(n,function(e,o){e===a&&(n[o]=t[0])}),h=F(t[0].childNodes,s);g.length;){r=g.shift(),d=g.shift();var x=g.shift(),j=g.shift();u=t[0];if(!r.$$destroyed){if(d!==m){var k=d.className;p.hasElementTranscludeDirective&&b.replace||(u=de(a)),ge(x,zo(d),u),B(zo(u),k)}d=f.transcludeOnThisElement?U(r,f.transclude,j):j,f(h,r,u,n,d)}}g=null}).catch(function(e){e instanceof Error&&r(e)}).catch(u),function(e,t,o,i,n){e=n,t.$$destroyed||(g?g.push(t,o,i,e):(f.transcludeOnThisElement&&(e=U(t,f.transclude,n)),f(h,t,o,i,e)))}}function ce(e,t){var o=t.priority-e.priority;return 0!==o?o:e.name!==t.name?e.name<t.name?-1:1:e.index-t.index}function ue(e,t,o,i){function n(e){return e?" (module: "+e+")":""}if(t)throw Ri("multidir",t.name,n(t.$$moduleName),o.name,n(o.$$moduleName),e,P(i))}function pe(e,t){var i=o(t,!0);i&&e.push({priority:0,compile:function(e){var t=!!(e=e.parent()).length;return t&&H.$$addBindingClass(e),function(e,o){var n=o.parent();t||H.$$addBindingClass(n),H.$$addBindingInfo(n,i.expressions),e.$watch(i,function(e){o[0].nodeValue=e})}}})}function fe(t,o){switch(t=Ro(t||"html")){case"svg":case"math":var i=e.document.createElement("div");return i.innerHTML="<"+t+">"+o+"</"+t+">",i.childNodes[0].childNodes;default:return o}}function he(e,t,i,n,r){var a=function(e,t){if("srcdoc"===t)return z.HTML;var o=S(e);if("src"===t||"ngSrc"===t){if(-1===["img","video","audio","source","track"].indexOf(o))return z.RESOURCE_URL}else if("xlinkHref"===t||"form"===o&&"action"===t||"link"===o&&"href"===t)return z.RESOURCE_URL}(e,n),s=b[n]||r,l=o(i,!r,a,s);if(l){if("multiple"===n&&"select"===S(e))throw Ri("selmulti",P(e));if(w.test(n))throw Ri("nodomevents");t.push({priority:100,compile:function(){return{pre:function(e,t,r){t=r.$$observers||(r.$$observers=te());var c=r[n];c!==i&&(l=c&&o(c,!0,a,s),i=c),l&&(r[n]=l(e),(t[n]||(t[n]=[])).$$inter=!0,(r.$$observers&&r.$$observers[n].$$scope||e).$watch(l,function(e,t){"class"===n&&e!==t?r.$updateClass(e,t):r.$set(n,e)}))}}}})}}function ge(t,o,i){var n,r,a=o[0],s=o.length,l=a.parentNode;if(t)for(n=0,r=t.length;n<r;n++)if(t[n]===a){t[n++]=i,r=n+s-1;for(var c=t.length;n<c;n++,r++)r<c?t[n]=t[r]:delete t[n];t.length-=s-1,t.context===a&&(t.context=i);break}for(l&&l.replaceChild(i,a),t=e.document.createDocumentFragment(),n=0;n<s;n++)t.appendChild(o[n]);for(zo.hasData(a)&&(zo.data(i,zo.data(a)),zo(a).off("$destroy")),zo.cleanData(t.querySelectorAll("*")),n=1;n<s;n++)delete o[n];o[0]=i,o.length=1}function me(e,t){return s(function(){return e.apply(null,arguments)},e,t)}function ve(e,t,o,i,n,a){try{e(t,o,i,n,a)}catch(e){r(e,P(o))}}function be(e,t,n,r,a){function s(t,o,i){!x(n.$onChanges)||o===i||o!=o&&i!=i||(ye||(e.$$postDigest(V),ye=[]),c||(c={},ye.push(l)),c[t]&&(i=c[t].previousValue),c[t]=new Re(i,o))}function l(){n.$onChanges(c),c=void 0}var c,d=[],p={};return i(r,function(i,r){var l,c,h,g,m=i.attrName,v=i.optional;switch(i.mode){case"@":v||Vo.call(t,m)||(n[r]=t[m]=void 0),v=t.$observe(m,function(e){(y(e)||$(e))&&(s(r,e,n[r]),n[r]=e)}),t.$$observers[m].$$scope=e,y(l=t[m])?n[r]=o(l)(e):$(l)&&(n[r]=l),p[r]=new Re(Bi,n[r]),d.push(v);break;case"=":if(!Vo.call(t,m)){if(v)break;t[m]=void 0}if(v&&!t[m])break;c=f(t[m]),g=c.literal?T:function(e,t){return e===t||e!=e&&t!=t},h=c.assign||function(){throw l=n[r]=c(e),Ri("nonassign",t[m],m,a.name)},l=n[r]=c(e),(v=function(t){return g(t,n[r])||(g(t,l)?h(e,t=n[r]):n[r]=t),l=t}).$stateful=!0,v=i.collection?e.$watchCollection(t[m],v):e.$watch(f(t[m],v),null,c.literal),d.push(v);break;case"<":if(!Vo.call(t,m)){if(v)break;t[m]=void 0}if(v&&!t[m])break;var b=(c=f(t[m])).literal,_=n[r]=c(e);p[r]=new Re(Bi,n[r]),v=e.$watch(c,function(e,t){if(t===e){if(t===_||b&&T(t,_))return;t=_}s(r,e,t),n[r]=e},b),d.push(v);break;case"&":if((c=t.hasOwnProperty(m)?f(t[m]):u)===u&&v)break;n[r]=function(t){return c(e,t)}}}),{initialChanges:p,removeWatches:d.length&&function(){for(var e=0,t=d.length;e<t;++e)d[e]()}}}var ye,_e=/^\w/,we=e.document.createElement("div"),xe=L,je=D,ke=M;R.prototype={$normalize:Be,$addClass:function(e){e&&0<e.length&&N.addClass(this.$$element,e)},$removeClass:function(e){e&&0<e.length&&N.removeClass(this.$$element,e)},$updateClass:function(e,t){var o=He(e,t);o&&o.length&&N.addClass(this.$$element,o),(o=He(t,e))&&o.length&&N.removeClass(this.$$element,o)},$set:function(e,t,o,n){var a=Ce(this.$$element[0],e),s=$i[e],l=e;if(a?(this.$$element.prop(e,t),n=a):s&&(this[s]=t,l=s),this[e]=t,n?this.$attr[e]=n:(n=this.$attr[e])||(this.$attr[e]=n=G(e,"-")),"a"===(a=S(this.$$element))&&("href"===e||"xlinkHref"===e)||"img"===a&&"src"===e)this[e]=t=O(t,"src"===e);else if("img"===a&&"srcset"===e&&m(t)){a="",s=ei(t);for(var c=/(\s+\d+x\s*,|\s+\d+w\s*,|\s+,|,\s+)/,d=(c=/\s/.test(s)?c:/(,)/,s=s.split(c),c=Math.floor(s.length/2),0);d<c;d++){var u=2*d;a=(a=a+O(ei(s[u]),!0))+" "+ei(s[u+1])}s=ei(s[2*d]).split(/\s/),a+=O(ei(s[0]),!0),2===s.length&&(a+=" "+ei(s[1])),this[e]=t=a}!1!==o&&(null===t||g(t)?this.$$element.removeAttr(n):_e.test(n)?this.$$element.attr(n,t):function(e,t,o){we.innerHTML="<span "+t+">";var i=(t=we.firstChild.attributes)[0];t.removeNamedItem(i.name),i.value=o,e.attributes.setNamedItem(i)}(this.$$element[0],n,t)),(e=this.$$observers)&&i(e[l],function(e){try{e(t)}catch(e){r(e)}})},$observe:function(e,t){var o=this,i=o.$$observers||(o.$$observers=te()),n=i[e]||(i[e]=[]);return n.push(t),I.$evalAsync(function(){n.$$inter||!o.hasOwnProperty(e)||g(o[e])||t(o[e])}),function(){E(n,t)}}};var $e=o.startSymbol(),Ae=o.endSymbol(),Se="{{"===$e&&"}}"===Ae?p:function(e){return e.replace(/\{\{/g,$e).replace(/}}/g,Ae)},Ee=/^ngAttr[A-Z]/,Me=/^(.+)Start$/;return H.$$addBindingInfo=k?function(e,t){var o=e.data("$binding")||[];Zo(t)?o=o.concat(t):o.push(t),e.data("$binding",o)}:u,H.$$addBindingClass=k?function(e){B(e,"ng-binding")}:u,H.$$addScopeInfo=k?function(e,t,o,i){e.data(o?i?"$isolateScopeNoTemplate":"$isolateScope":"$scope",t)}:u,H.$$addScopeClass=k?function(e,t){B(e,t?"ng-isolate-scope":"ng-scope")}:u,H.$$createComment=function(t,o){var i="";return k&&(i=" "+(t||"")+": ",o&&(i+=o+" ")),e.document.createComment(i)},H}]}function Re(e,t){this.previousValue=e,this.currentValue=t}function Be(e){return e.replace(Hi,"").replace(Fi,re)}function He(e,t){var o="",i=e.split(/\s+/),n=t.split(/\s+/),r=0;e:for(;r<i.length;r++){for(var a=i[r],s=0;s<n.length;s++)if(a===n[s])continue e;o+=(0<o.length?" ":"")+a}return o}function Fe(e){var t=(e=zo(e)).length;if(1>=t)return e;for(;t--;){var o=e[t];(8===o.nodeType||o.nodeType===ci&&""===o.nodeValue.trim())&&Fo.call(e,t,1)}return e}function We(){var e={},o=!1;this.has=function(t){return e.hasOwnProperty(t)},this.register=function(t,o){Z(t,"controller"),v(t)?s(e,t):e[t]=o},this.allowGlobals=function(){o=!0},this.$get=["$injector","$window",function(i,n){function r(e,o,i,n){if(!e||!v(e.$scope))throw t("$controller")("noscp",n,o);e.$scope[o]=i}return function(t,a,l,c){var d,u,p;if(l=!0===l,c&&y(c)&&(p=c),y(t)){if(!(c=t.match(Ui)))throw Wi("ctrlfmt",t);if(u=c[1],p=p||c[3],!(t=e.hasOwnProperty(u)?e[u]:Q(a.$scope,u,!0)||(o?Q(n,u,!0):void 0)))throw Wi("ctrlreg",u);J(t,u,!0)}return l?(l=(Zo(t)?t[t.length-1]:t).prototype,d=Object.create(l||null),p&&r(a,p,d,u||t.name),s(function(){var e=i.invoke(t,d,a,u);return e!==d&&(v(e)||x(e))&&(d=e,p&&r(a,p,d,u||t.name)),d},{instance:d,identifier:p})):(d=i.instantiate(t,a,u),p&&r(a,p,d,u||t.name),d)}}]}function Ue(){this.$get=["$window",function(e){return zo(e.document)}]}function Ye(){this.$get=["$document","$rootScope",function(e,t){function o(){n=i.hidden}var i=e[0],n=i&&i.hidden;return e.on("visibilitychange",o),t.$on("$destroy",function(){e.off("visibilitychange",o)}),function(){return n}}]}function Ke(){this.$get=["$log",function(e){return function(t,o){e.error.apply(e,arguments)}}]}function Ge(e){return v(e)?w(e)?e.toISOString():I(e):e}function Xe(){this.$get=function(){return function(e){if(!e)return"";var t=[];return n(e,function(e,o){null===e||g(e)||(Zo(e)?i(e,function(e){t.push(F(o)+"="+F(Ge(e)))}):t.push(F(o)+"="+F(Ge(e))))}),t.join("&")}}}function Je(){this.$get=function(){return function(e){if(!e)return"";var t=[];return function e(o,r,a){null===o||g(o)||(Zo(o)?i(o,function(t,o){e(t,r+"["+(v(t)?o:"")+"]")}):v(o)&&!w(o)?n(o,function(t,o){e(t,r+(a?"":"[")+o+(a?"":"]"))}):t.push(F(r)+"="+F(Ge(o))))}(e,"",!0),t.join("&")}}}function Ze(e,t){if(y(e)){var o=e.replace(Zi,"").trim();if(o){var i=t("Content-Type");(i=i&&0===i.indexOf(Ki))||(i=(i=o.match(Xi))&&Ji[i[0]].test(o)),i&&(e=z(o))}}return e}function Qe(e){var t,o=te();return y(e)?i(e.split("\n"),function(e){t=e.indexOf(":");var i=Ro(ei(e.substr(0,t)));e=ei(e.substr(t+1)),i&&(o[i]=o[i]?o[i]+", "+e:e)}):v(e)&&i(e,function(e,t){var i=Ro(t),n=ei(e);i&&(o[i]=o[i]?o[i]+", "+n:n)}),o}function et(e){var t;return function(o){return t||(t=Qe(e)),o?(void 0===(o=t[Ro(o)])&&(o=null),o):t}}function tt(e,t,o,n){return x(n)?n(e,t,o):(i(n,function(i){e=i(e,t,o)}),e)}function ot(){var e=this.defaults={transformResponse:[Ze],transformRequest:[function(e){return v(e)&&"[object File]"!==Uo.call(e)&&"[object Blob]"!==Uo.call(e)&&"[object FormData]"!==Uo.call(e)?I(e):e}],headers:{common:{Accept:"application/json, text/plain, */*"},post:ie(Gi),put:ie(Gi),patch:ie(Gi)},xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",paramSerializer:"$httpParamSerializer",jsonpCallbackParam:"callback"},o=!1;this.useApplyAsync=function(e){return m(e)?(o=!!e,this):o};var n=this.interceptors=[];this.$get=["$browser","$httpBackend","$$cookieReader","$cacheFactory","$rootScope","$q","$injector","$sce",function(r,a,l,c,d,p,f,h){function b(o){function n(e,t){for(var o=0,i=t.length;o<i;){var n=t[o++],r=t[o++];e=e.then(n,r)}return t.length=0,e}function a(e){var t=s({},e);return t.data=tt(e.data,e.headers,e.status,l.transformResponse),200<=(e=e.status)&&300>e?t:p.reject(t)}if(!v(o))throw t("$http")("badreq",o);if(!y(h.valueOf(o.url)))throw t("$http")("badreq",o.url);var l=s({method:"get",transformRequest:e.transformRequest,transformResponse:e.transformResponse,paramSerializer:e.paramSerializer,jsonpCallbackParam:e.jsonpCallbackParam},o);l.headers=function(t){var o,n,r,a=e.headers,l=s({},t.headers);a=s({},a.common,a[Ro(t.method)]);e:for(o in a){for(r in n=Ro(o),l)if(Ro(r)===n)continue e;l[o]=a[o]}return function(e,t){var o,n={};return i(e,function(e,i){x(e)?null!=(o=e(t))&&(n[i]=o):n[i]=e}),n}(l,ie(t))}(o),l.method=Bo(l.method),l.paramSerializer=y(l.paramSerializer)?f.get(l.paramSerializer):l.paramSerializer,r.$$incOutstandingRequestCount();var c=[],d=[];return o=p.resolve(l),i(j,function(e){(e.request||e.requestError)&&c.unshift(e.request,e.requestError),(e.response||e.responseError)&&d.push(e.response,e.responseError)}),o=n(o,c),(o=n(o=o.then(function(t){var o=t.headers,n=tt(t.data,et(o),void 0,t.transformRequest);return g(n)&&i(o,function(e,t){"content-type"===Ro(t)&&delete o[t]}),g(t.withCredentials)&&!g(e.withCredentials)&&(t.withCredentials=e.withCredentials),_(t,n).then(a,a)}),d)).finally(function(){r.$$completeOutstandingRequest(u)})}function _(t,n){function r(e){if(e){var t={};return i(e,function(e,i){t[i]=function(t){function i(){e(t)}o?d.$applyAsync(i):d.$$phase?i():d.$apply(i)}}),t}}function s(e,o,i,n){(200<=(o=-1<=o?o:0)&&300>o?j.resolve:j.reject)({data:e,status:o,headers:et(i),config:t,statusText:n})}function c(e){s(e.data,e.status,ie(e.headers()),e.statusText)}function u(){var e=b.pendingRequests.indexOf(t);-1!==e&&b.pendingRequests.splice(e,1)}var f,_,j=p.defer(),k=j.promise,C=t.headers,$="jsonp"===Ro(t.method),A=t.url;return $?A=h.getTrustedResourceUrl(A):y(A)||(A=h.valueOf(A)),A=function(e,t){return 0<t.length&&(e+=(-1===e.indexOf("?")?"?":"&")+t),e}(A,t.paramSerializer(t.params)),$&&(A=function(e,t){if(/[&?][^=]+=JSON_CALLBACK/.test(e))throw Qi("badjsonp",e);if(new RegExp("[&?]"+t+"=").test(e))throw Qi("badjsonp",t,e);return e+=(-1===e.indexOf("?")?"?":"&")+t+"=JSON_CALLBACK"}(A,t.jsonpCallbackParam)),b.pendingRequests.push(t),k.then(u,u),!t.cache&&!e.cache||!1===t.cache||"GET"!==t.method&&"JSONP"!==t.method||(f=v(t.cache)?t.cache:v(e.cache)?e.cache:w),f&&(m(_=f.get(A))?_&&x(_.then)?_.then(c,c):Zo(_)?s(_[1],_[0],ie(_[2]),_[3]):s(_,200,{},"OK"):f.put(A,k)),g(_)&&((_=Yt(t.url)?l()[t.xsrfCookieName||e.xsrfCookieName]:void 0)&&(C[t.xsrfHeaderName||e.xsrfHeaderName]=_),a(t.method,A,n,function(e,t,i,n){function r(){s(t,e,i,n)}f&&(200<=e&&300>e?f.put(A,[e,t,Qe(i),n]):f.remove(A)),o?d.$applyAsync(r):(r(),d.$$phase||d.$apply())},C,t.timeout,t.withCredentials,t.responseType,r(t.eventHandlers),r(t.uploadEventHandlers))),k}var w=c("$http");e.paramSerializer=y(e.paramSerializer)?f.get(e.paramSerializer):e.paramSerializer;var j=[];return i(n,function(e){j.unshift(y(e)?f.get(e):f.invoke(e))}),b.pendingRequests=[],function(e){i(arguments,function(e){b[e]=function(t,o){return b(s({},o||{},{method:e,url:t}))}})}("get","delete","head","jsonp"),function(e){i(arguments,function(e){b[e]=function(t,o,i){return b(s({},i||{},{method:e,url:t,data:o}))}})}("post","put","patch"),b.defaults=e,b}]}function it(){this.$get=function(){return function(){return new e.XMLHttpRequest}}}function nt(){this.$get=["$browser","$jsonpCallbacks","$document","$xhrFactory",function(e,t,o,n){return function(e,t,o,n,r){function a(e,t,o){e=e.replace("JSON_CALLBACK",t);var i=r.createElement("script"),a=null;return i.type="text/javascript",i.src=e,i.async=!0,a=function(e){i.removeEventListener("load",a),i.removeEventListener("error",a),r.body.removeChild(i),i=null;var s=-1,l="unknown";e&&("load"!==e.type||n.wasCalled(t)||(e={type:"error"}),l=e.type,s="error"===e.type?404:200),o&&o(s,l)},i.addEventListener("load",a),i.addEventListener("error",a),r.body.appendChild(i),a}return function(r,s,l,c,d,u,p,f,h,v){function b(){_&&_(),w&&w.abort()}if(s=s||e.url(),"jsonp"===Ro(r))var y=n.createCallback(s),_=a(s,y,function(e,t){var i=200===e&&n.getResponse(y);m(j)&&o.cancel(j),_=w=null,c(e,i,"",t),n.removeCallback(y)});else{var w=t(r,s);if(w.open(r,s,!0),i(d,function(e,t){m(e)&&w.setRequestHeader(t,e)}),w.onload=function(){var e=w.statusText||"",t="response"in w?w.response:w.responseText,i=1223===w.status?204:w.status;0===i&&(i=t?200:"file"===Ut(s).protocol?404:0);var n=w.getAllResponseHeaders();m(j)&&o.cancel(j),_=w=null,c(i,t,n,e)},r=function(){m(j)&&o.cancel(j),_=w=null,c(-1,null,null,"")},w.onerror=r,w.onabort=r,w.ontimeout=r,i(h,function(e,t){w.addEventListener(t,e)}),i(v,function(e,t){w.upload.addEventListener(t,e)}),p&&(w.withCredentials=!0),f)try{w.responseType=f}catch(e){if("json"!==f)throw e}w.send(g(l)?null:l)}if(0<u)var j=o(b,u);else u&&x(u.then)&&u.then(b)}}(e,n,e.defer,t,o[0])}]}function rt(){var e="{{",t="}}";this.startSymbol=function(t){return t?(e=t,this):e},this.endSymbol=function(e){return e?(t=e,this):t},this.$get=["$parse","$exceptionHandler","$sce",function(o,i,n){function r(e){return"\\\\\\"+e}function a(o){return o.replace(p,e).replace(h,t)}function l(e,t,o,i){var n=e.$watch(function(e){return n(),i(e)},t,o);return n}function c(r,c,p,h){function v(e){try{var t=e;return e=p?n.getTrusted(p,t):n.valueOf(t),h&&!m(e)?e:oe(e)}catch(e){i(en.interr(r,e))}}var b;if(!r.length||-1===r.indexOf(e))return c||((b=f(c=a(r))).exp=r,b.expressions=[],b.$$watchDelegate=l),b;h=!!h;var y,_,w=0,j=[],k=[];b=r.length;for(var C=[],$=[];w<b;){if(-1===(y=r.indexOf(e,w))||-1===(_=r.indexOf(t,y+d))){w!==b&&C.push(a(r.substring(w)));break}w!==y&&C.push(a(r.substring(w,y))),w=r.substring(y+d,_),j.push(w),k.push(o(w,v)),w=_+u,$.push(C.length),C.push("")}if(p&&1<C.length&&en.throwNoconcat(r),!c||j.length){var A=function(e){for(var t=0,o=j.length;t<o;t++){if(h&&g(e[t]))return;C[$[t]]=e[t]}return C.join("")};return s(function(e){var t=0,o=j.length,n=Array(o);try{for(;t<o;t++)n[t]=k[t](e);return A(n)}catch(e){i(en.interr(r,e))}},{exp:r,expressions:j,$$watchDelegate:function(e,t){var o;return e.$watchGroup(k,function(i,n){var r=A(i);x(t)&&t.call(this,r,i!==n?o:r,e),o=r})}})}}var d=e.length,u=t.length,p=new RegExp(e.replace(/./g,r),"g"),h=new RegExp(t.replace(/./g,r),"g");return c.startSymbol=function(){return e},c.endSymbol=function(){return t},c}]}function at(){this.$get=["$rootScope","$window","$q","$$q","$browser",function(e,t,o,i,n){function r(r,s,l,c){function d(){u?r.apply(null,p):r(g)}var u=4<arguments.length,p=u?Ho.call(arguments,4):[],f=t.setInterval,h=t.clearInterval,g=0,v=m(c)&&!c,b=(v?i:o).defer(),y=b.promise;return l=m(l)?l:0,y.$$intervalId=f(function(){v?n.defer(d):e.$evalAsync(d),b.notify(g++),0<l&&g>=l&&(b.resolve(g),h(y.$$intervalId),delete a[y.$$intervalId]),v||e.$apply()},s),a[y.$$intervalId]=b,y}var a={};return r.cancel=function(e){return!!(e&&e.$$intervalId in a)&&(a[e.$$intervalId].promise.catch(u),a[e.$$intervalId].reject("canceled"),t.clearInterval(e.$$intervalId),delete a[e.$$intervalId],!0)},r}]}function st(e){for(var t=(e=e.split("/")).length;t--;)e[t]=H(e[t]);return e.join("/")}function lt(e,t){var o=Ut(e);t.$$protocol=o.protocol,t.$$host=o.hostname,t.$$port=c(o.port)||nn[o.protocol]||null}function ct(e,t){if(an.test(e))throw rn("badpath",e);var o="/"!==e.charAt(0);o&&(e="/"+e);var i=Ut(e);t.$$path=decodeURIComponent(o&&"/"===i.pathname.charAt(0)?i.pathname.substring(1):i.pathname),t.$$search=R(i.search),t.$$hash=decodeURIComponent(i.hash),t.$$path&&"/"!==t.$$path.charAt(0)&&(t.$$path="/"+t.$$path)}function dt(e,t){return e.slice(0,t.length)===t}function ut(e,t){if(dt(t,e))return t.substr(e.length)}function pt(e){var t=e.indexOf("#");return-1===t?e:e.substr(0,t)}function ft(e){return e.replace(/(#.+)|#$/,"$1")}function ht(e,t,o){this.$$html5=!0,o=o||"",lt(e,this),this.$$parse=function(e){var o=ut(t,e);if(!y(o))throw rn("ipthprfx",e,t);ct(o,this),this.$$path||(this.$$path="/"),this.$$compose()},this.$$compose=function(){var e=B(this.$$search),o=this.$$hash?"#"+H(this.$$hash):"";this.$$url=st(this.$$path)+(e?"?"+e:"")+o,this.$$absUrl=t+this.$$url.substr(1)},this.$$parseLinkUrl=function(i,n){return n&&"#"===n[0]?(this.hash(n.slice(1)),!0):(m(r=ut(e,i))?(a=r,a=o&&m(r=ut(o,r))?t+(ut("/",r)||r):e+a):m(r=ut(t,i))?a=t+r:t===i+"/"&&(a=t),a&&this.$$parse(a),!!a);var r,a}}function gt(e,t,o){lt(e,this),this.$$parse=function(i){var n;g(r=ut(e,i)||ut(t,i))||"#"!==r.charAt(0)?this.$$html5?n=r:(n="",g(r)&&(e=i,this.replace())):g(n=ut(o,r))&&(n=r),ct(n,this),i=this.$$path;var r,a=/^\/[A-Z]:(\/.*)/;dt(n,r=e)&&(n=n.replace(r,"")),a.exec(n)||(i=(n=a.exec(i))?n[1]:i),this.$$path=i,this.$$compose()},this.$$compose=function(){var t=B(this.$$search),i=this.$$hash?"#"+H(this.$$hash):"";this.$$url=st(this.$$path)+(t?"?"+t:"")+i,this.$$absUrl=e+(this.$$url?o+this.$$url:"")},this.$$parseLinkUrl=function(t,o){return pt(e)===pt(t)&&(this.$$parse(t),!0)}}function mt(e,t,o){this.$$html5=!0,gt.apply(this,arguments),this.$$parseLinkUrl=function(i,n){return n&&"#"===n[0]?(this.hash(n.slice(1)),!0):(e===pt(i)?r=i:(a=ut(t,i))?r=e+o+a:t===i+"/"&&(r=t),r&&this.$$parse(r),!!r);var r,a},this.$$compose=function(){var t=B(this.$$search),i=this.$$hash?"#"+H(this.$$hash):"";this.$$url=st(this.$$path)+(t?"?"+t:"")+i,this.$$absUrl=e+o+this.$$url}}function vt(e){return function(){return this[e]}}function bt(e,t){return function(o){return g(o)?this[e]:(this[e]=t(o),this.$$compose(),this)}}function yt(){var e="!",t={enabled:!1,requireBase:!0,rewriteLinks:!0};this.hashPrefix=function(t){return m(t)?(e=t,this):e},this.html5Mode=function(e){return $(e)?(t.enabled=e,this):v(e)?($(e.enabled)&&(t.enabled=e.enabled),$(e.requireBase)&&(t.requireBase=e.requireBase),($(e.rewriteLinks)||y(e.rewriteLinks))&&(t.rewriteLinks=e.rewriteLinks),this):t},this.$get=["$rootScope","$browser","$sniffer","$rootElement","$window",function(o,i,n,r,a){function s(e,t,o){var n=c.url(),r=c.$$state;try{i.url(e,t,o),c.$$state=i.state()}catch(e){throw c.url(n),c.$$state=r,e}}function l(e,t){o.$broadcast("$locationChangeSuccess",c.absUrl(),e,c.$$state,t)}var c,d;d=i.baseHref();var u,p=i.url();if(t.enabled){if(!d&&t.requireBase)throw rn("nobase");u=p.substring(0,p.indexOf("/",p.indexOf("//")+2))+(d||"/"),d=n.history?ht:mt}else u=pt(p),d=gt;var f=u.substr(0,pt(u).lastIndexOf("/")+1);(c=new d(u,f,"#"+e)).$$parseLinkUrl(p,p),c.$$state=i.state();var h=/^\s*(javascript|mailto):/i;r.on("click",function(e){if((s=t.rewriteLinks)&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey&&2!==e.which&&2!==e.button){for(var n=zo(e.target);"a"!==S(n[0]);)if(n[0]===r[0]||!(n=n.parent())[0])return;if(!y(s)||!g(n.attr(s))){var s=n.prop("href"),l=n.attr("href")||n.attr("xlink:href");v(s)&&"[object SVGAnimatedString]"===s.toString()&&(s=Ut(s.animVal).href),h.test(s)||!s||n.attr("target")||e.isDefaultPrevented()||!c.$$parseLinkUrl(s,l)||(e.preventDefault(),c.absUrl()!==i.url()&&(o.$apply(),a.angular["ff-684208-preventDefault"]=!0))}}}),ft(c.absUrl())!==ft(p)&&i.url(c.absUrl(),!0);var m=!0;return i.onUrlChange(function(e,t){dt(e,f)?(o.$evalAsync(function(){var i,n=c.absUrl(),r=c.$$state;e=ft(e),c.$$parse(e),c.$$state=t,i=o.$broadcast("$locationChangeStart",e,n,t,r).defaultPrevented,c.absUrl()===e&&(i?(c.$$parse(n),c.$$state=r,s(n,!1,r)):(m=!1,l(n,r)))}),o.$$phase||o.$digest()):a.location.href=e}),o.$watch(function(){var e=ft(i.url()),t=ft(c.absUrl()),r=i.state(),a=c.$$replace,d=e!==t||c.$$html5&&n.history&&r!==c.$$state;(m||d)&&(m=!1,o.$evalAsync(function(){var t=c.absUrl(),i=o.$broadcast("$locationChangeStart",t,e,c.$$state,r).defaultPrevented;c.absUrl()===t&&(i?(c.$$parse(e),c.$$state=r):(d&&s(t,a,r===c.$$state?null:c.$$state),l(e,r)))})),c.$$replace=!1}),c}]}function _t(){var e=!0,t=this;this.debugEnabled=function(t){return m(t)?(e=t,this):e},this.$get=["$window",function(o){function n(e){var t=o.console||{},n=t[e]||t.log||u;e=!1;try{e=!!n.apply}catch(e){}return e?function(){var e=[];return i(arguments,function(t){e.push(function(e){return e instanceof Error&&(e.stack?e=e.message&&-1===e.stack.indexOf(e.message)?"Error: "+e.message+"\n"+e.stack:e.stack:e.sourceURL&&(e=e.message+"\n"+e.sourceURL+":"+e.line)),e}(t))}),n.apply(t,e)}:function(e,t){n(e,null==t?"":t)}}return{log:n("log"),info:n("info"),warn:n("warn"),error:n("error"),debug:function(){var o=n("debug");return function(){e&&o.apply(t,arguments)}}()}}]}function wt(e){return e+""}function xt(e,t){return void 0!==e?e:t}function jt(e,t){return void 0===e?t:void 0===t?e:e+t}function kt(e,t){var o,n,r;switch(e.type){case fn.Program:o=!0,i(e.body,function(e){kt(e.expression,t),o=o&&e.expression.constant}),e.constant=o;break;case fn.Literal:e.constant=!0,e.toWatch=[];break;case fn.UnaryExpression:kt(e.argument,t),e.constant=e.argument.constant,e.toWatch=e.argument.toWatch;break;case fn.BinaryExpression:kt(e.left,t),kt(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.left.toWatch.concat(e.right.toWatch);break;case fn.LogicalExpression:kt(e.left,t),kt(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.constant?[]:[e];break;case fn.ConditionalExpression:kt(e.test,t),kt(e.alternate,t),kt(e.consequent,t),e.constant=e.test.constant&&e.alternate.constant&&e.consequent.constant,e.toWatch=e.constant?[]:[e];break;case fn.Identifier:e.constant=!1,e.toWatch=[e];break;case fn.MemberExpression:kt(e.object,t),e.computed&&kt(e.property,t),e.constant=e.object.constant&&(!e.computed||e.property.constant),e.toWatch=[e];break;case fn.CallExpression:o=r=!!e.filter&&!t(e.callee.name).$stateful,n=[],i(e.arguments,function(e){kt(e,t),o=o&&e.constant,e.constant||n.push.apply(n,e.toWatch)}),e.constant=o,e.toWatch=r?n:[e];break;case fn.AssignmentExpression:kt(e.left,t),kt(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=[e];break;case fn.ArrayExpression:o=!0,n=[],i(e.elements,function(e){kt(e,t),o=o&&e.constant,e.constant||n.push.apply(n,e.toWatch)}),e.constant=o,e.toWatch=n;break;case fn.ObjectExpression:o=!0,n=[],i(e.properties,function(e){kt(e.value,t),o=o&&e.value.constant&&!e.computed,e.value.constant||n.push.apply(n,e.value.toWatch)}),e.constant=o,e.toWatch=n;break;case fn.ThisExpression:e.constant=!1,e.toWatch=[];break;case fn.LocalsExpression:e.constant=!1,e.toWatch=[]}}function Ct(e){if(1===e.length){var t=(e=e[0].expression).toWatch;return 1!==t.length?t:t[0]!==e?t:void 0}}function $t(e){return e.type===fn.Identifier||e.type===fn.MemberExpression}function At(e){if(1===e.body.length&&$t(e.body[0].expression))return{type:fn.AssignmentExpression,left:e.body[0].expression,right:{type:fn.NGValueParameter},operator:"="}}function St(e){return 0===e.body.length||1===e.body.length&&(e.body[0].expression.type===fn.Literal||e.body[0].expression.type===fn.ArrayExpression||e.body[0].expression.type===fn.ObjectExpression)}function Et(e,t){this.astBuilder=e,this.$filter=t}function Mt(e,t){this.astBuilder=e,this.$filter=t}function Tt(e){return x(e.valueOf)?e.valueOf():cn.call(e)}function Lt(){var e,t,o=te(),n={true:!0,false:!1,null:null,undefined:void 0};this.addLiteral=function(e,t){n[e]=t},this.setIdentifierFns=function(o,i){return e=o,t=i,this},this.$get=["$filter",function(r){function a(e,t){return null==e||null==t?e===t:("object"!=typeof e||"object"!=typeof(e=Tt(e)))&&(e===t||e!=e&&t!=t)}function s(e,t,o,i,n){var r;if(1===(l=i.inputs).length){var s=a,l=l[0];return e.$watch(function(e){var t=l(e);return a(t,s)||(r=i(e,void 0,void 0,[t]),s=t&&Tt(t)),r},t,o,n)}for(var c=[],d=[],u=0,p=l.length;u<p;u++)c[u]=a,d[u]=null;return e.$watch(function(e){for(var t=!1,o=0,n=l.length;o<n;o++){var s=l[o](e);(t||(t=!a(s,c[o])))&&(d[o]=s,c[o]=s&&Tt(s))}return t&&(r=i(e,void 0,void 0,d)),r},t,o,n)}function l(e,t,o,i,n){function r(e,o,i){l=e,x(t)&&t(e,o,i),m(e)&&i.$$postDigest(function(){m(l)&&a()})}var a,l;return a=i.inputs?s(e,r,o,i,n):e.$watch(function(e){return i(e)},r,o)}function c(e,t,o,n){function r(e){var t=!0;return i(e,function(e){m(e)||(t=!1)}),t}var a,s;return a=e.$watch(function(e){return n(e)},function(e,o,i){s=e,x(t)&&t(e,o,i),r(e)&&i.$$postDigest(function(){r(s)&&a()})},o)}function d(e,t,o,i){var n=e.$watch(function(e){return n(),i(e)},t,o);return n}function p(e,t){if(!t)return e;var o=e.$$watchDelegate,i=!1;o=o!==c&&o!==l?function(o,n,r,a){return r=i&&a?a[0]:e(o,n,r,a),t(r,o,n)}:function(o,i,n,r){return n=e(o,i,n,r),o=t(n,o,i),m(n)?o:n},i=!e.inputs;return e.$$watchDelegate&&e.$$watchDelegate!==s?(o.$$watchDelegate=e.$$watchDelegate,o.inputs=e.inputs):t.$stateful||(o.$$watchDelegate=s,o.inputs=e.inputs?e.inputs:[e]),o}var f={csp:oi().noUnsafeEval,literals:M(n),isIdentifierStart:x(e)&&e,isIdentifierContinue:x(t)&&t};return function(e,t){var i,n,a;switch(typeof e){case"string":return a=e=e.trim(),(i=o[a])||(":"===e.charAt(0)&&":"===e.charAt(1)&&(n=!0,e=e.substring(2)),i=new pn(f),(i=new hn(i,r,f).parse(e)).constant?i.$$watchDelegate=d:n?i.$$watchDelegate=i.literal?c:l:i.inputs&&(i.$$watchDelegate=s),o[a]=i),p(i,t);case"function":return p(e,t);default:return p(u,t)}}}]}function qt(){var e=!0;this.$get=["$rootScope","$exceptionHandler",function(t,o){return It(function(e){t.$evalAsync(e)},o,e)}],this.errorOnUnhandledRejections=function(t){return m(t)?(e=t,this):e}}function Dt(){var e=!0;this.$get=["$browser","$exceptionHandler",function(t,o){return It(function(e){t.defer(e)},o,e)}],this.errorOnUnhandledRejections=function(t){return m(t)?(e=t,this):e}}function It(e,o,n){function r(){return new a}function a(){var e=this.promise=new l;this.resolve=function(t){u(e,t)},this.reject=function(t){p(e,t)},this.notify=function(t){h(e,t)}}function l(){this.$$state={status:0}}function c(){for(;!j&&k.length;){var e=k.shift();if(!e.pur){e.pur=!0;var t="Possibly unhandled rejection: "+("function"==typeof(t=e.value)?t.toString().replace(/ \{[\s\S]*$/,""):g(t)?"undefined":"string"!=typeof t?ne(t):t);e.value instanceof Error?o(e.value,t):o(t)}}}function d(t){!n||t.pending||2!==t.status||t.pur||(0===j&&0===k.length&&e(c),k.push(t)),!t.processScheduled&&t.pending&&(t.processScheduled=!0,++j,e(function(){var o,i,r;r=t.pending,t.processScheduled=!1,t.pending=void 0;try{for(var a=0,s=r.length;a<s;++a){t.pur=!0,i=r[a][0],o=r[a][t.status];try{x(o)?u(i,o(t.value)):1===t.status?u(i,t.value):p(i,t.value)}catch(e){p(i,e)}}}finally{--j,n&&0===j&&e(c)}}))}function u(e,t){e.$$state.status||(t===e?f(e,w("qcycle",t)):function e(t,o){function i(o){a||(a=!0,e(t,o))}function n(e){a||(a=!0,f(t,e))}var r,a=!1;try{(v(o)||x(o))&&(r=o.then),x(r)?(t.$$state.status=-1,r.call(o,function i(e){a||(a=!0,function e(t,o){function i(o){a||(a=!0,e(t,o))}function n(e){a||(a=!0,f(t,e))}var r,a=!1;try{(v(o)||x(o))&&(r=o.then),x(r)?(t.$$state.status=-1,r.call(o,i,n,function(e){h(t,e)})):(t.$$state.value=o,t.$$state.status=1,d(t.$$state))}catch(e){n(e)}}(t,e))},n,function(e){h(t,e)})):(t.$$state.value=o,t.$$state.status=1,d(t.$$state))}catch(e){n(e)}}(e,t))}function p(e,t){e.$$state.status||f(e,t)}function f(e,t){e.$$state.value=t,e.$$state.status=2,d(e.$$state)}function h(t,i){var n=t.$$state.pending;0>=t.$$state.status&&n&&n.length&&e(function(){for(var e,t,r=0,a=n.length;r<a;r++){t=n[r][0],e=n[r][3];try{h(t,x(e)?e(i):i)}catch(e){o(e)}}})}function m(e){var t=new l;return p(t,e),t}function b(e,t,o){var i=null;try{x(o)&&(i=o())}catch(e){return m(e)}return i&&x(i.then)?i.then(function(){return t(e)},m):t(e)}function y(e,t,o,i){var n=new l;return u(n,e),n.then(t,o,i)}function _(e){if(!x(e))throw w("norslvr",e);var t=new l;return e(function(e){u(t,e)},function(e){p(t,e)}),t}var w=t("$q",TypeError),j=0,k=[];s(l.prototype,{then:function(e,t,o){if(g(e)&&g(t)&&g(o))return this;var i=new l;return this.$$state.pending=this.$$state.pending||[],this.$$state.pending.push([i,e,t,o]),0<this.$$state.status&&d(this.$$state),i},catch:function(e){return this.then(null,e)},finally:function(e,t){return this.then(function(t){return b(t,C,e)},function(t){return b(t,m,e)},t)}});var C=y;return _.prototype=l.prototype,_.defer=r,_.reject=m,_.when=y,_.resolve=C,_.all=function(e){var t=new l,o=0,n=Zo(e)?[]:{};return i(e,function(e,i){o++,y(e).then(function(e){n[i]=e,--o||u(t,n)},function(e){p(t,e)})}),0===o&&u(t,n),t},_.race=function(e){var t=r();return i(e,function(e){y(e).then(t.resolve,t.reject)}),t.promise},_}function zt(){this.$get=["$window","$timeout",function(e,t){var o=e.requestAnimationFrame||e.webkitRequestAnimationFrame,i=e.cancelAnimationFrame||e.webkitCancelAnimationFrame||e.webkitCancelRequestAnimationFrame,n=!!o,r=n?function(e){var t=o(e);return function(){i(t)}}:function(e){var o=t(e,16.66,!1);return function(){t.cancel(o)}};return r.supported=n,r}]}function Nt(){var e=10,n=t("$rootScope"),r=null,a=null;this.digestTtl=function(t){return arguments.length&&(e=t),e},this.$get=["$exceptionHandler","$parse","$browser",function(t,s,l){function c(e){e.currentScope.$$destroyed=!0}function d(){this.$id=++Xo,this.$$phase=this.$parent=this.$$watchers=this.$$nextSibling=this.$$prevSibling=this.$$childHead=this.$$childTail=null,this.$root=this,this.$$destroyed=!1,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$$isolateBindings=null}function p(e){if(y.$$phase)throw n("inprog",y.$$phase);y.$$phase=e}function f(e,t){do{e.$$watchersCount+=t}while(e=e.$parent)}function h(e,t,o){do{e.$$listenerCount[o]-=t,0===e.$$listenerCount[o]&&delete e.$$listenerCount[o]}while(e=e.$parent)}function m(){}function b(){for(;j.length;)try{j.shift()()}catch(e){t(e)}a=null}d.prototype={constructor:d,$new:function(e,t){var o;return t=t||this,e?(o=new d).$root=this.$root:(this.$$ChildScope||(this.$$ChildScope=function(e){function t(){this.$$watchers=this.$$nextSibling=this.$$childHead=this.$$childTail=null,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$id=++Xo,this.$$ChildScope=null}return t.prototype=e,t}(this)),o=new this.$$ChildScope),o.$parent=t,o.$$prevSibling=t.$$childTail,t.$$childHead?(t.$$childTail.$$nextSibling=o,t.$$childTail=o):t.$$childHead=t.$$childTail=o,(e||t!==this)&&o.$on("$destroy",c),o},$watch:function(e,t,o,i){var n=s(e);if(n.$$watchDelegate)return n.$$watchDelegate(this,t,o,n,e);var a=this,l=a.$$watchers,c={fn:t,last:m,get:n,exp:i||e,eq:!!o};return r=null,x(t)||(c.fn=u),l||((l=a.$$watchers=[]).$$digestWatchIndex=-1),l.unshift(c),l.$$digestWatchIndex++,f(this,1),function(){var e=E(l,c);0<=e&&(f(a,-1),e<l.$$digestWatchIndex&&l.$$digestWatchIndex--),r=null}},$watchGroup:function(e,t){function o(){l=!1,c?(c=!1,t(r,r,s)):t(r,n,s)}var n=Array(e.length),r=Array(e.length),a=[],s=this,l=!1,c=!0;if(!e.length){var d=!0;return s.$evalAsync(function(){d&&t(r,r,s)}),function(){d=!1}}return 1===e.length?this.$watch(e[0],function(e,o,i){r[0]=e,n[0]=o,t(r,e===o?r:n,i)}):(i(e,function(e,t){var i=s.$watch(e,function(e,i){r[t]=e,n[t]=i,l||(l=!0,s.$evalAsync(o))});a.push(i)}),function(){for(;a.length;)a.shift()()})},$watchCollection:function(e,t){function i(e){var t,i,a;if(!g(n=e)){if(v(n))if(o(n))for(r!==p&&(m=(r=p).length=0,d++),e=n.length,m!==e&&(d++,r.length=m=e),t=0;t<e;t++)a=r[t],i=n[t],a!=a&&i!=i||a===i||(d++,r[t]=i);else{for(t in r!==f&&(r=f={},m=0,d++),e=0,n)Vo.call(n,t)&&(e++,i=n[t],a=r[t],t in r?a!=a&&i!=i||a===i||(d++,r[t]=i):(m++,r[t]=i,d++));if(m>e)for(t in d++,r)Vo.call(n,t)||(m--,delete r[t])}else r!==n&&(r=n,d++);return d}}i.$stateful=!0;var n,r,a,l=this,c=1<t.length,d=0,u=s(e,i),p=[],f={},h=!0,m=0;return this.$watch(u,function(){if(h?(h=!1,t(n,n,l)):t(n,a,l),c)if(v(n))if(o(n)){a=Array(n.length);for(var e=0;e<n.length;e++)a[e]=n[e]}else for(e in a={},n)Vo.call(n,e)&&(a[e]=n[e]);else a=n})},$digest:function(){var o,i,s,c,d,u,f,h,g=e,v=[];p("$digest"),l.$$checkUrlChange(),this===y&&null!==a&&(l.defer.cancel(a),b()),r=null;do{for(d=!1,u=this,c=0;c<_.length;c++){try{(h=_[c]).scope.$eval(h.expression,h.locals)}catch(e){t(e)}r=null}_.length=0;e:do{if(c=u.$$watchers)for(c.$$digestWatchIndex=c.length;c.$$digestWatchIndex--;)try{if(o=c[c.$$digestWatchIndex])if((i=(0,o.get)(u))===(s=o.last)||(o.eq?T(i,s):Jo(i)&&Jo(s))){if(o===r){d=!1;break e}}else d=!0,r=o,o.last=o.eq?M(i,null):i,(0,o.fn)(i,s===m?i:s,u),5>g&&(v[f=4-g]||(v[f]=[]),v[f].push({msg:x(o.exp)?"fn: "+(o.exp.name||o.exp.toString()):o.exp,newVal:i,oldVal:s}))}catch(e){t(e)}if(!(c=u.$$watchersCount&&u.$$childHead||u!==this&&u.$$nextSibling))for(;u!==this&&!(c=u.$$nextSibling);)u=u.$parent}while(u=c);if((d||_.length)&&!g--)throw y.$$phase=null,n("infdig",e,v)}while(d||_.length);for(y.$$phase=null;k<w.length;)try{w[k++]()}catch(e){t(e)}w.length=k=0},$destroy:function(){if(!this.$$destroyed){var e=this.$parent;for(var t in this.$broadcast("$destroy"),this.$$destroyed=!0,this===y&&l.$$applicationDestroyed(),f(this,-this.$$watchersCount),this.$$listenerCount)h(this,this.$$listenerCount[t],t);e&&e.$$childHead===this&&(e.$$childHead=this.$$nextSibling),e&&e.$$childTail===this&&(e.$$childTail=this.$$prevSibling),this.$$prevSibling&&(this.$$prevSibling.$$nextSibling=this.$$nextSibling),this.$$nextSibling&&(this.$$nextSibling.$$prevSibling=this.$$prevSibling),this.$destroy=this.$digest=this.$apply=this.$evalAsync=this.$applyAsync=u,this.$on=this.$watch=this.$watchGroup=function(){return u},this.$$listeners={},this.$$nextSibling=null,function e(t){9===Io&&(t.$$childHead&&e(t.$$childHead),t.$$nextSibling&&e(t.$$nextSibling)),t.$parent=t.$$nextSibling=t.$$prevSibling=t.$$childHead=t.$$childTail=t.$root=t.$$watchers=null}(this)}},$eval:function(e,t){return s(e)(this,t)},$evalAsync:function(e,t){y.$$phase||_.length||l.defer(function(){_.length&&y.$digest()}),_.push({scope:this,expression:s(e),locals:t})},$$postDigest:function(e){w.push(e)},$apply:function(e){try{p("$apply");try{return this.$eval(e)}finally{y.$$phase=null}}catch(e){t(e)}finally{try{y.$digest()}catch(e){throw t(e),e}}},$applyAsync:function(e){var t=this;e&&j.push(function(){t.$eval(e)}),e=s(e),null===a&&(a=l.defer(function(){y.$apply(b)}))},$on:function(e,t){var o=this.$$listeners[e];o||(this.$$listeners[e]=o=[]),o.push(t);var i=this;do{i.$$listenerCount[e]||(i.$$listenerCount[e]=0),i.$$listenerCount[e]++}while(i=i.$parent);var n=this;return function(){var i=o.indexOf(t);-1!==i&&(o[i]=null,h(n,1,e))}},$emit:function(e,o){var i,n,r,a=[],s=this,l=!1,c={name:e,targetScope:s,stopPropagation:function(){l=!0},preventDefault:function(){c.defaultPrevented=!0},defaultPrevented:!1},d=L([c],arguments,1);do{for(i=s.$$listeners[e]||a,c.currentScope=s,n=0,r=i.length;n<r;n++)if(i[n])try{i[n].apply(null,d)}catch(e){t(e)}else i.splice(n,1),n--,r--;if(l)return c.currentScope=null,c;s=s.$parent}while(s);return c.currentScope=null,c},$broadcast:function(e,o){var i=this,n=this,r={name:e,targetScope:this,preventDefault:function(){r.defaultPrevented=!0},defaultPrevented:!1};if(!this.$$listenerCount[e])return r;for(var a,s,l=L([r],arguments,1);i=n;){for(r.currentScope=i,a=0,s=(n=i.$$listeners[e]||[]).length;a<s;a++)if(n[a])try{n[a].apply(null,l)}catch(e){t(e)}else n.splice(a,1),a--,s--;if(!(n=i.$$listenerCount[e]&&i.$$childHead||i!==this&&i.$$nextSibling))for(;i!==this&&!(n=i.$$nextSibling);)i=i.$parent}return r.currentScope=null,r}};var y=new d,_=y.$$asyncQueue=[],w=y.$$postDigestQueue=[],j=y.$$applyAsyncQueue=[],k=0;return y}]}function Ot(){var e=/^\s*(https?|ftp|mailto|tel|file):/,t=/^\s*((https?|ftp|file|blob):|data:image\/)/;this.aHrefSanitizationWhitelist=function(t){return m(t)?(e=t,this):e},this.imgSrcSanitizationWhitelist=function(e){return m(e)?(t=e,this):t},this.$get=function(){return function(o,i){var n,r=i?t:e;return""===(n=Ut(o).href)||n.match(r)?o:"unsafe:"+n}}}function Pt(e){var t=[];return m(e)&&i(e,function(e){t.push(function(e){if("self"===e)return e;if(y(e)){if(-1<e.indexOf("***"))throw gn("iwcard",e);return e=ti(e).replace(/\\\*\\\*/g,".*").replace(/\\\*/g,"[^:/.?&;]*"),new RegExp("^"+e+"$")}if(j(e))return new RegExp("^"+e.source+"$");throw gn("imatcher")}(e))}),t}function Vt(){this.SCE_CONTEXTS=mn;var e=["self"],t=[];this.resourceUrlWhitelist=function(t){return arguments.length&&(e=Pt(t)),e},this.resourceUrlBlacklist=function(e){return arguments.length&&(t=Pt(e)),t},this.$get=["$injector",function(o){function i(e,t){return"self"===e?Yt(t):!!e.exec(t.href)}function n(e){var t=function(e){this.$$unwrapTrustedValue=function(){return e}};return e&&(t.prototype=new e),t.prototype.valueOf=function(){return this.$$unwrapTrustedValue()},t.prototype.toString=function(){return this.$$unwrapTrustedValue().toString()},t}var r=function(e){throw gn("unsafe")};o.has("$sanitize")&&(r=o.get("$sanitize"));var a=n(),s={};return s[mn.HTML]=n(a),s[mn.CSS]=n(a),s[mn.URL]=n(a),s[mn.JS]=n(a),s[mn.RESOURCE_URL]=n(s[mn.URL]),{trustAs:function(e,t){var o=s.hasOwnProperty(e)?s[e]:null;if(!o)throw gn("icontext",e,t);if(null===t||g(t)||""===t)return t;if("string"!=typeof t)throw gn("itype",e);return new o(t)},getTrusted:function(o,n){if(null===n||g(n)||""===n)return n;if((c=s.hasOwnProperty(o)?s[o]:null)&&n instanceof c)return n.$$unwrapTrustedValue();if(o===mn.RESOURCE_URL){var a,l,c=Ut(n.toString()),d=!1;for(a=0,l=e.length;a<l;a++)if(i(e[a],c)){d=!0;break}if(d)for(a=0,l=t.length;a<l;a++)if(i(t[a],c)){d=!1;break}if(d)return n;throw gn("insecurl",n.toString())}if(o===mn.HTML)return r(n);throw gn("unsafe")},valueOf:function(e){return e instanceof a?e.$$unwrapTrustedValue():e}}}]}function Rt(){var e=!0;this.enabled=function(t){return arguments.length&&(e=!!t),e},this.$get=["$parse","$sceDelegate",function(t,o){if(e&&8>Io)throw gn("iequirks");var n=ie(mn);n.isEnabled=function(){return e},n.trustAs=o.trustAs,n.getTrusted=o.getTrusted,n.valueOf=o.valueOf,e||(n.trustAs=n.getTrusted=function(e,t){return t},n.valueOf=p),n.parseAs=function(e,o){var i=t(o);return i.literal&&i.constant?i:t(o,function(t){return n.getTrusted(e,t)})};var r=n.parseAs,a=n.getTrusted,s=n.trustAs;return i(mn,function(e,t){var o=Ro(t);n[("parse_as_"+o).replace(vn,re)]=function(t){return r(e,t)},n[("get_trusted_"+o).replace(vn,re)]=function(t){return a(e,t)},n[("trust_as_"+o).replace(vn,re)]=function(t){return s(e,t)}}),n}]}function Bt(){this.$get=["$window","$document",function(e,t){var o={},i=!(e.chrome&&(e.chrome.app&&e.chrome.app.runtime||!e.chrome.app&&e.chrome.runtime&&e.chrome.runtime.id))&&e.history&&e.history.pushState,n=c((/android (\d+)/.exec(Ro((e.navigator||{}).userAgent))||[])[1]),r=/Boxee/i.test((e.navigator||{}).userAgent),a=t[0]||{},s=a.body&&a.body.style,l=!1,d=!1;return s&&(l=!!("transition"in s||"webkitTransition"in s),d=!!("animation"in s||"webkitAnimation"in s)),{history:!(!i||4>n||r),hasEvent:function(e){if("input"===e&&Io)return!1;if(g(o[e])){var t=a.createElement("div");o[e]="on"+e in t}return o[e]},csp:oi(),transitions:l,animations:d,android:n}}]}function Ht(){var e;this.httpOptions=function(t){return t?(e=t,this):e},this.$get=["$exceptionHandler","$templateCache","$http","$q","$sce",function(t,o,i,n,r){function a(l,c){a.totalPendingRequests++,y(l)&&!g(o.get(l))||(l=r.getTrustedResourceUrl(l));var d=i.defaults&&i.defaults.transformResponse;return Zo(d)?d=d.filter(function(e){return e!==Ze}):d===Ze&&(d=null),i.get(l,s({cache:o,transformResponse:d},e)).finally(function(){a.totalPendingRequests--}).then(function(e){return o.put(l,e.data),e.data},function(e){return c||(e=bn("tpload",l,e.status,e.statusText),t(e)),n.reject(e)})}return a.totalPendingRequests=0,a}]}function Ft(){this.$get=["$rootScope","$browser","$location",function(e,t,o){return{findBindings:function(e,t,o){e=e.getElementsByClassName("ng-binding");var n=[];return i(e,function(e){var r=Go.element(e).data("$binding");r&&i(r,function(i){o?new RegExp("(^|\\s)"+ti(t)+"(\\s|\\||$)").test(i)&&n.push(e):-1!==i.indexOf(t)&&n.push(e)})}),n},findModels:function(e,t,o){for(var i=["ng-","data-ng-","ng\\:"],n=0;n<i.length;++n){var r=e.querySelectorAll("["+i[n]+"model"+(o?"=":"*=")+'"'+t+'"]');if(r.length)return r}},getLocation:function(){return o.url()},setLocation:function(t){t!==o.url()&&(o.url(t),e.$digest())},whenStable:function(e){t.notifyWhenNoOutstandingRequests(e)}}}]}function Wt(){this.$get=["$rootScope","$browser","$q","$$q","$exceptionHandler",function(e,t,o,i,n){function r(r,s,l){x(r)||(l=s,s=r,r=u);var c,d=Ho.call(arguments,3),p=m(l)&&!l,f=(p?i:o).defer(),h=f.promise;return c=t.defer(function(){try{f.resolve(r.apply(null,d))}catch(e){f.reject(e),n(e)}finally{delete a[h.$$timeoutId]}p||e.$apply()},s),h.$$timeoutId=c,a[c]=f,h}var a={};return r.cancel=function(e){return!!(e&&e.$$timeoutId in a)&&(a[e.$$timeoutId].promise.catch(u),a[e.$$timeoutId].reject("canceled"),delete a[e.$$timeoutId],t.defer.cancel(e.$$timeoutId))},r}]}function Ut(e){return Io&&(yn.setAttribute("href",e),e=yn.href),yn.setAttribute("href",e),{href:yn.href,protocol:yn.protocol?yn.protocol.replace(/:$/,""):"",host:yn.host,search:yn.search?yn.search.replace(/^\?/,""):"",hash:yn.hash?yn.hash.replace(/^#/,""):"",hostname:yn.hostname,port:yn.port,pathname:"/"===yn.pathname.charAt(0)?yn.pathname:"/"+yn.pathname}}function Yt(e){return(e=y(e)?Ut(e):e).protocol===_n.protocol&&e.host===_n.host}function Kt(){this.$get=f(e)}function Gt(e){function t(e){try{return decodeURIComponent(e)}catch(t){return e}}var o=e[0]||{},i={},n="";return function(){var e,r,a,s,l;try{e=o.cookie||""}catch(t){e=""}if(e!==n)for(e=(n=e).split("; "),i={},a=0;a<e.length;a++)0<(s=(r=e[a]).indexOf("="))&&(l=t(r.substring(0,s)),g(i[l])&&(i[l]=t(r.substring(s+1))));return i}}function Xt(){this.$get=Gt}function Jt(e){function t(o,n){if(v(o)){var r={};return i(o,function(e,o){r[o]=t(o,e)}),r}return e.factory(o+"Filter",n)}this.register=t,this.$get=["$injector",function(e){return function(t){return e.get(t+"Filter")}}],t("currency",to),t("date",uo),t("filter",Zt),t("json",po),t("limitTo",fo),t("lowercase",An),t("number",oo),t("orderBy",go),t("uppercase",Sn)}function Zt(){return function(e,i,n,r){if(!o(e)){if(null==e)return e;throw t("filter")("notarray",e)}var a;switch(r=r||"$",eo(i)){case"function":break;case"boolean":case"null":case"number":case"string":a=!0;case"object":i=function(e,t,o,i){var n=v(e)&&o in e;return!0===t?t=T:x(t)||(t=function(e,t){return!(g(e)||(null===e||null===t?e!==t:v(t)||v(e)&&!h(e)||(e=Ro(""+e),t=Ro(""+t),-1===e.indexOf(t))))}),function(r){return n&&!v(r)?Qt(r,e[o],t,o,!1):Qt(r,e,t,o,i)}}(i,n,r,a);break;default:return e}return Array.prototype.filter.call(e,i)}}function Qt(e,t,o,i,n,r){var a=eo(e),s=eo(t);if("string"===s&&"!"===t.charAt(0))return!Qt(e,t.substring(1),o,i,n);if(Zo(e))return e.some(function(e){return Qt(e,t,o,i,n)});switch(a){case"object":var l;if(n){for(l in e)if("$"!==l.charAt(0)&&Qt(e[l],t,o,i,!0))return!0;return!r&&Qt(e,t,o,i,!1)}if("object"===s){for(l in t)if(!x(r=t[l])&&!g(r)&&!Qt((a=l===i)?e:e[l],r,o,i,a,a))return!1;return!0}return o(e,t);case"function":return!1;default:return o(e,t)}}function eo(e){return null===e?"null":typeof e}function to(e){var t=e.NUMBER_FORMATS;return function(e,o,i){return g(o)&&(o=t.CURRENCY_SYM),g(i)&&(i=t.PATTERNS[1].maxFrac),null==e?e:io(e,t.PATTERNS[1],t.GROUP_SEP,t.DECIMAL_SEP,i).replace(/\u00A4/g,o)}}function oo(e){var t=e.NUMBER_FORMATS;return function(e,o){return null==e?e:io(e,t.PATTERNS[0],t.GROUP_SEP,t.DECIMAL_SEP,o)}}function io(e,t,o,i,n){if(!y(e)&&!_(e)||isNaN(e))return"";var r=!isFinite(e),a=!1,s=Math.abs(e)+"",l="";if(r)l="∞";else{for(function(e,t,o,i){var n=e.d,r=n.length-e.i;if(i=n[o=(t=g(t)?Math.min(Math.max(o,r),i):+t)+e.i],0<o){n.splice(Math.max(e.i,o));for(var a=o;a<n.length;a++)n[a]=0}else for(r=Math.max(0,r),e.i=1,n.length=Math.max(1,o=t+1),n[0]=0,a=1;a<o;a++)n[a]=0;if(5<=i)if(0>o-1){for(i=0;i>o;i--)n.unshift(0),e.i++;n.unshift(1),e.i++}else n[o-1]++;for(;r<Math.max(0,t);r++)n.push(0);(t=n.reduceRight(function(e,t,o,i){return t+=e,i[o]=t%10,Math.floor(t/10)},0))&&(n.unshift(t),e.i++)}(a=function(e){var t,o,i,n,r,a=0;for(-1<(o=e.indexOf(xn))&&(e=e.replace(xn,"")),0<(i=e.search(/e/i))?(0>o&&(o=i),o+=+e.slice(i+1),e=e.substring(0,i)):0>o&&(o=e.length),i=0;e.charAt(i)===jn;i++);if(i===(r=e.length))t=[0],o=1;else{for(r--;e.charAt(r)===jn;)r--;for(o-=i,t=[],n=0;i<=r;i++,n++)t[n]=+e.charAt(i)}return o>wn&&(t=t.splice(0,wn-1),a=o-1,o=1),{d:t,e:a,i:o}}(s),n,t.minFrac,t.maxFrac),l=a.d,s=a.i,n=a.e,r=[],a=l.reduce(function(e,t){return e&&!t},!0);0>s;)l.unshift(0),s++;for(0<s?r=l.splice(s,l.length):(r=l,l=[0]),s=[],l.length>=t.lgSize&&s.unshift(l.splice(-t.lgSize,l.length).join(""));l.length>t.gSize;)s.unshift(l.splice(-t.gSize,l.length).join(""));l.length&&s.unshift(l.join("")),l=s.join(o),r.length&&(l+=i+r.join("")),n&&(l+="e+"+n)}return 0>e&&!a?t.negPre+l+t.negSuf:t.posPre+l+t.posSuf}function no(e,t,o,i){var n="";for((0>e||i&&0>=e)&&(i?e=1-e:(e=-e,n="-")),e=""+e;e.length<t;)e=jn+e;return o&&(e=e.substr(e.length-t)),n+e}function ro(e,t,o,i,n){return o=o||0,function(r){return r=r["get"+e](),(0<o||r>-o)&&(r+=o),0===r&&-12===o&&(r=12),no(r,t,i,n)}}function ao(e,t,o){return function(i,n){var r=i["get"+e]();return n[Bo((o?"STANDALONE":"")+(t?"SHORT":"")+e)][r]}}function so(e){var t=new Date(e,0,1).getDay();return new Date(e,0,(4>=t?5:12)-t)}function lo(e){return function(t){var o=so(t.getFullYear());return t=+new Date(t.getFullYear(),t.getMonth(),t.getDate()+(4-t.getDay()))-+o,no(t=1+Math.round(t/6048e5),e)}}function co(e,t){return 0>=e.getFullYear()?t.ERAS[0]:t.ERAS[1]}function uo(e){function t(e){var t;if(t=e.match(o)){e=new Date(0);var i=0,n=0,r=t[8]?e.setUTCFullYear:e.setFullYear,a=t[8]?e.setUTCHours:e.setHours;t[9]&&(i=c(t[9]+t[10]),n=c(t[9]+t[11])),r.call(e,c(t[1]),c(t[2])-1,c(t[3])),i=c(t[4]||0)-i,n=c(t[5]||0)-n,r=c(t[6]||0),t=Math.round(1e3*parseFloat("0."+(t[7]||0))),a.call(e,i,n,r,t)}return e}var o=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/;return function(o,n,r){var a,s,l="",d=[];if(n=n||"mediumDate",n=e.DATETIME_FORMATS[n]||n,y(o)&&(o=$n.test(o)?c(o):t(o)),_(o)&&(o=new Date(o)),!w(o)||!isFinite(o.getTime()))return o;for(;n;)(s=Cn.exec(n))?n=(d=L(d,s,1)).pop():(d.push(n),n=null);var u=o.getTimezoneOffset();return r&&(u=N(r,u),o=O(o,r,!0)),i(d,function(t){a=kn[t],l+=a?a(o,e.DATETIME_FORMATS,u):"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),l}}function po(){return function(e,t){return g(t)&&(t=2),I(e,t)}}function fo(){return function(e,t,i){return t=1/0===Math.abs(Number(t))?Number(t):c(t),Jo(t)?e:(_(e)&&(e=e.toString()),o(e)?(i=0>(i=!i||isNaN(i)?0:c(i))?Math.max(0,e.length+i):i,0<=t?ho(e,i,i+t):0===i?ho(e,t,e.length):ho(e,Math.max(0,i+t),i)):e)}}function ho(e,t,o){return y(e)?e.slice(t,o):Ho.call(e,t,o)}function go(e){function i(t){return t.map(function(t){var o=1,i=p;if(x(t))i=t;else if(y(t)&&("+"!==t.charAt(0)&&"-"!==t.charAt(0)||(o="-"===t.charAt(0)?-1:1,t=t.substring(1)),""!==t&&(i=e(t)).constant)){var n=i();i=function(e){return e[n]}}return{get:i,descending:o}})}function n(e){switch(typeof e){case"number":case"boolean":case"string":return!0;default:return!1}}function r(e,t){var o=0,i=e.type;if(i===(n=t.type)){var n=e.value,r=t.value;"string"===i?(n=n.toLowerCase(),r=r.toLowerCase()):"object"===i&&(v(n)&&(n=e.index),v(r)&&(r=t.index)),n!==r&&(o=n<r?-1:1)}else o=i<n?-1:1;return o}return function(e,a,s,l){if(null==e)return e;if(!o(e))throw t("orderBy")("notarray",e);Zo(a)||(a=[a]),0===a.length&&(a=["+"]);var c=i(a),d=s?-1:1,u=x(l)?l:r;return(e=Array.prototype.map.call(e,function(e,t){return{value:e,tieBreaker:{value:t,type:"number",index:t},predicateValues:c.map(function(o){var i=o.get(e);return o=typeof i,null===i?(o="string",i="null"):"object"===o&&(x(i.valueOf)&&n(i=i.valueOf())||h(i)&&n(i=i.toString())),{value:i,type:o,index:t}})}})).sort(function(e,t){for(var o=0,i=c.length;o<i;o++){var n=u(e.predicateValues[o],t.predicateValues[o]);if(n)return n*c[o].descending*d}return u(e.tieBreaker,t.tieBreaker)*d}),e.map(function(e){return e.value})}}function mo(e){return x(e)&&(e={link:e}),e.restrict=e.restrict||"AC",f(e)}function vo(e,t,o,i,n){this.$$controls=[],this.$error={},this.$$success={},this.$pending=void 0,this.$name=n(t.name||t.ngForm||"")(o),this.$dirty=!1,this.$valid=this.$pristine=!0,this.$submitted=this.$invalid=!1,this.$$parentForm=Tn,this.$$element=e,this.$$animate=i,bo(this)}function bo(e){e.$$classCache={},e.$$classCache[pr]=!(e.$$classCache[ur]=e.$$element.hasClass(ur))}function yo(e){function t(e,t,o){o&&!e.$$classCache[t]?(e.$$animate.addClass(e.$$element,t),e.$$classCache[t]=!0):!o&&e.$$classCache[t]&&(e.$$animate.removeClass(e.$$element,t),e.$$classCache[t]=!1)}function o(e,o,i){o=o?"-"+G(o,"-"):"",t(e,ur+o,!0===i),t(e,pr+o,!1===i)}var i=e.set,n=e.unset;e.clazz.prototype.$setValidity=function(e,r,a){g(r)?(this.$pending||(this.$pending={}),i(this.$pending,e,a)):(this.$pending&&n(this.$pending,e,a),_o(this.$pending)&&(this.$pending=void 0)),$(r)?r?(n(this.$error,e,a),i(this.$$success,e,a)):(i(this.$error,e,a),n(this.$$success,e,a)):(n(this.$error,e,a),n(this.$$success,e,a)),this.$pending?(t(this,"ng-pending",!0),this.$valid=this.$invalid=void 0,o(this,"",null)):(t(this,"ng-pending",!1),this.$valid=_o(this.$error),this.$invalid=!this.$valid,o(this,"",this.$valid)),o(this,e,r=this.$pending&&this.$pending[e]?void 0:!this.$error[e]&&(!!this.$$success[e]||null)),this.$$parentForm.$setValidity(e,r,this)}}function _o(e){if(e)for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}function wo(e){e.$formatters.push(function(t){return e.$isEmpty(t)?t:t.toString()})}function xo(e,t,o,i,n,r){var a=Ro(t[0].type);if(!n.android){var s=!1;t.on("compositionstart",function(){s=!0}),t.on("compositionend",function(){s=!1,c()})}var l,c=function(e){if(l&&(r.defer.cancel(l),l=null),!s){var n=t.val();e=e&&e.type,"password"===a||o.ngTrim&&"false"===o.ngTrim||(n=ei(n)),(i.$viewValue!==n||""===n&&i.$$hasNativeValidators)&&i.$setViewValue(n,e)}};if(n.hasEvent("input"))t.on("input",c);else{var d=function(e,t,o){l||(l=r.defer(function(){l=null,t&&t.value===o||c(e)}))};t.on("keydown",function(e){var t=e.keyCode;91===t||15<t&&19>t||37<=t&&40>=t||d(e,this,this.value)}),n.hasEvent("paste")&&t.on("paste cut",d)}t.on("change",c),Fn[a]&&i.$$hasNativeValidators&&a===o.type&&t.on("keydown wheel mousedown",function(e){if(!l){var t=this.validity,o=t.badInput,i=t.typeMismatch;l=r.defer(function(){l=null,t.badInput===o&&t.typeMismatch===i||c(e)})}}),i.$render=function(){var e=i.$isEmpty(i.$viewValue)?"":i.$viewValue;t.val()!==e&&t.val(e)}}function jo(e,t){return function(o,n){var r,a;if(w(o))return o;if(y(o)){if('"'===o.charAt(0)&&'"'===o.charAt(o.length-1)&&(o=o.substring(1,o.length-1)),In.test(o))return new Date(o);if(e.lastIndex=0,r=e.exec(o))return r.shift(),a=n?{yyyy:n.getFullYear(),MM:n.getMonth()+1,dd:n.getDate(),HH:n.getHours(),mm:n.getMinutes(),ss:n.getSeconds(),sss:n.getMilliseconds()/1e3}:{yyyy:1970,MM:1,dd:1,HH:0,mm:0,ss:0,sss:0},i(r,function(e,o){o<t.length&&(a[t[o]]=+e)}),new Date(a.yyyy,a.MM-1,a.dd,a.HH,a.mm,a.ss||0,1e3*a.sss||0)}return NaN}}function ko(e,t,o,i){return function(n,r,a,s,l,c,d){function u(e){return e&&!(e.getTime&&e.getTime()!=e.getTime())}function p(e){return m(e)&&!w(e)?o(e)||void 0:e}Co(n,r,a,s),xo(0,r,a,s,l,c);var f,h,v,b=s&&s.$options.getOption("timezone");(s.$$parserName=e,s.$parsers.push(function(e){return s.$isEmpty(e)?null:t.test(e)?(e=o(e,f),b&&(e=O(e,b)),e):void 0}),s.$formatters.push(function(e){if(e&&!w(e))throw gr("datefmt",e);return u(e)?((f=e)&&b&&(f=O(f,b,!0)),d("date")(e,i,b)):(f=null,"")}),m(a.min)||a.ngMin)&&(s.$validators.min=function(e){return!u(e)||g(h)||o(e)>=h},a.$observe("min",function(e){h=p(e),s.$validate()}));(m(a.max)||a.ngMax)&&(s.$validators.max=function(e){return!u(e)||g(v)||o(e)<=v},a.$observe("max",function(e){v=p(e),s.$validate()}))}}function Co(e,t,o,i){(i.$$hasNativeValidators=v(t[0].validity))&&i.$parsers.push(function(e){var o=t.prop("validity")||{};return o.badInput||o.typeMismatch?void 0:e})}function $o(e){e.$$parserName="number",e.$parsers.push(function(t){return e.$isEmpty(t)?null:On.test(t)?parseFloat(t):void 0}),e.$formatters.push(function(t){if(!e.$isEmpty(t)){if(!_(t))throw gr("numfmt",t);t=t.toString()}return t})}function Ao(e){return m(e)&&!_(e)&&(e=parseFloat(e)),Jo(e)?void 0:e}function So(e){var t=e.toString(),o=t.indexOf(".");return-1===o?-1<e&&1>e&&(e=/e-(\d+)$/.exec(t))?Number(e[1]):0:t.length-o-1}function Eo(e,t,o){if((0|(e=Number(e)))!==e||(0|t)!==t||(0|o)!==o){var i=Math.max(So(e),So(t),So(o));e*=i=Math.pow(10,i),t*=i,o*=i}return 0==(e-t)%o}function Mo(e,t,o,i,n){if(m(i)){if(!(e=e(i)).constant)throw gr("constexpr",o,i);return e(t)}return n}function To(e,t){function o(e,t){if(!e||!e.length)return[];if(!t||!t.length)return e;var o=[],i=0;e:for(;i<e.length;i++){for(var n=e[i],r=0;r<t.length;r++)if(n===t[r])continue e;o.push(n)}return o}function n(e){var t=e;return Zo(e)?t=e.map(n).join(" "):v(e)&&(t=Object.keys(e).filter(function(t){return e[t]}).join(" ")),t}function r(e){var t=e;if(Zo(e))t=e.map(r);else if(v(e)){var o=!1;t=Object.keys(e).filter(function(t){return t=e[t],!o&&g(t)&&(o=!0),t});o&&t.push(void 0)}return t}var a;return e="ngClass"+e,["$parse",function(s){return{restrict:"AC",link:function(l,c,d){function u(e,t){var o=[];return i(e,function(e){(0<t||v[e])&&(v[e]=(v[e]||0)+t,v[e]===+(0<t)&&o.push(e))}),o.join(" ")}function p(e){if(b===t){var i=f&&f.split(" "),n=e&&e.split(" "),r=o(i,n);i=o(n,i),r=u(r,-1),i=u(i,1);d.$addClass(i),d.$removeClass(r)}f=e}var f,h=":"===(g=d[e].trim()).charAt(0)&&":"===g.charAt(1),g=s(g,h?r:n),m=h?function(e){(e=n(e))!==f&&p(e)}:p,v=c.data("$classCounts"),b=!0;v||(v=te(),c.data("$classCounts",v)),"ngClass"!==e&&(a||(a=s("$index",function(e){return 1&e})),l.$watch(a,function(e){if(e===t){var o=u((o=f)&&o.split(" "),1);d.$addClass(o)}else o=u((o=f)&&o.split(" "),-1),d.$removeClass(o);b=e})),l.$watch(g,m,h)}}}]}function Lo(e,t,o,i,n,r,a,s,l){this.$modelValue=this.$viewValue=Number.NaN,this.$$rawModelValue=void 0,this.$validators={},this.$asyncValidators={},this.$parsers=[],this.$formatters=[],this.$viewChangeListeners=[],this.$untouched=!0,this.$touched=!1,this.$pristine=!0,this.$dirty=!1,this.$valid=!0,this.$invalid=!1,this.$error={},this.$$success={},this.$pending=void 0,this.$name=l(o.name||"",!1)(e),this.$$parentForm=Tn,this.$options=mr,this.$$parsedNgModel=n(o.ngModel),this.$$parsedNgModelAssign=this.$$parsedNgModel.assign,this.$$ngModelGet=this.$$parsedNgModel,this.$$ngModelSet=this.$$parsedNgModelAssign,this.$$pendingDebounce=null,this.$$parserValid=void 0,this.$$currentValidationRunId=0,this.$$scope=e,this.$$attr=o,this.$$element=i,this.$$animate=r,this.$$timeout=a,this.$$parse=n,this.$$q=s,this.$$exceptionHandler=t,bo(this),function(e){e.$$scope.$watch(function(){var t=e.$$ngModelGet(e.$$scope);if(t!==e.$modelValue&&(e.$modelValue==e.$modelValue||t==t)){e.$modelValue=e.$$rawModelValue=t,e.$$parserValid=void 0;for(var o=e.$formatters,i=o.length,n=t;i--;)n=o[i](n);e.$viewValue!==n&&(e.$$updateEmptyClasses(n),e.$viewValue=e.$$lastCommittedViewValue=n,e.$render(),e.$$runValidators(e.$modelValue,e.$viewValue,u))}return t})}(this)}function qo(e){this.$$options=e}function Do(e,t){i(t,function(t,o){m(e[o])||(e[o]=t)})}var Io,zo,No,Oo,Po=/^\/(.+)\/([a-z]*)$/,Vo=Object.prototype.hasOwnProperty,Ro=function(e){return y(e)?e.toLowerCase():e},Bo=function(e){return y(e)?e.toUpperCase():e},Ho=[].slice,Fo=[].splice,Wo=[].push,Uo=Object.prototype.toString,Yo=Object.getPrototypeOf,Ko=t("ng"),Go=e.angular||(e.angular={}),Xo=0;Io=e.document.documentMode;var Jo=Number.isNaN||function(e){return e!=e};u.$inject=[],p.$inject=[];var Zo=Array.isArray,Qo=/^\[object (?:Uint8|Uint8Clamped|Uint16|Uint32|Int8|Int16|Int32|Float32|Float64)Array]$/,ei=function(e){return y(e)?e.trim():e},ti=function(e){return e.replace(/([-()[\]{}+?*.$^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")},oi=function(){if(!m(oi.rules)){var t=e.document.querySelector("[ng-csp]")||e.document.querySelector("[data-ng-csp]");if(t){var o=t.getAttribute("ng-csp")||t.getAttribute("data-ng-csp");oi.rules={noUnsafeEval:!o||-1!==o.indexOf("no-unsafe-eval"),noInlineStyle:!o||-1!==o.indexOf("no-inline-style")}}else{t=oi;try{new Function(""),o=!1}catch(e){o=!0}t.rules={noUnsafeEval:o,noInlineStyle:!1}}}return oi.rules},ii=function(){if(m(ii.name_))return ii.name_;var t,o,i,n,r=ri.length;for(o=0;o<r;++o)if(i=ri[o],t=e.document.querySelector("["+i.replace(":","\\:")+"jq]")){n=t.getAttribute(i+"jq");break}return ii.name_=n},ni=/:/g,ri=["ng-","data-ng-","ng:","x-ng-"],ai=function(e){if(!e.currentScript)return!0;var t=e.currentScript.getAttribute("src"),o=e.createElement("a");if(o.href=t,e.location.origin===o.origin)return!0;switch(o.protocol){case"http:":case"https:":case"ftp:":case"blob:":case"file:":case"data:":return!0;default:return!1}}(e.document),si=/[A-Z]/g,li=!1,ci=3,di={full:"1.6.1",major:1,minor:6,dot:1,codeName:"promise-rectification"};ce.expando="ng339";var ui=ce.cache={},pi=1;ce._data=function(e){return this.cache[e[this.expando]]||{}};var fi=/-([a-z])/g,hi=/^-ms-/,gi={mouseleave:"mouseout",mouseenter:"mouseover"},mi=t("jqLite"),vi=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,bi=/<|&#?\w+;/,yi=/<([\w:-]+)/,_i=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,wi={option:[1,'<select multiple="multiple">',"</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};wi.optgroup=wi.option,wi.tbody=wi.tfoot=wi.colgroup=wi.caption=wi.thead,wi.th=wi.td;var xi=e.Node.prototype.contains||function(e){return!!(16&this.compareDocumentPosition(e))},ji=ce.prototype={ready:ke,toString:function(){var e=[];return i(this,function(t){e.push(""+t)}),"["+e.join(", ")+"]"},eq:function(e){return zo(0<=e?this[e]:this[this.length+e])},length:0,push:Wo,sort:[].sort,splice:[].splice},ki={};i("multiple selected checked disabled readOnly required open".split(" "),function(e){ki[Ro(e)]=e});var Ci={};i("input select option textarea button form details".split(" "),function(e){Ci[e]=!0});var $i={ngMinlength:"minlength",ngMaxlength:"maxlength",ngMin:"min",ngMax:"max",ngPattern:"pattern",ngStep:"step"};i({data:ge,removeData:fe,hasData:function(e){for(var t in ui[e.ng339])return!0;return!1},cleanData:function(e){for(var t=0,o=e.length;t<o;t++)fe(e[t])}},function(e,t){ce[t]=e}),i({data:ge,inheritedData:we,scope:function(e){return zo.data(e,"$scope")||we(e.parentNode||e,["$isolateScope","$scope"])},isolateScope:function(e){return zo.data(e,"$isolateScope")||zo.data(e,"$isolateScopeNoTemplate")},controller:_e,injector:function(e){return we(e,"$injector")},removeAttr:function(e,t){e.removeAttribute(t)},hasClass:me,css:function(e,t,o){if(t=ae(t.replace(hi,"ms-")),!m(o))return e.style[t];e.style[t]=o},attr:function(e,t,o){if((i=e.nodeType)!==ci&&2!==i&&8!==i&&e.getAttribute){var i=Ro(t),n=ki[i];if(!m(o))return e=e.getAttribute(t),n&&null!==e&&(e=i),null===e?void 0:e;null===o||!1===o&&n?e.removeAttribute(t):e.setAttribute(t,n?i:o)}},prop:function(e,t,o){if(!m(o))return e[t];e[t]=o},text:function(){function e(e,t){if(g(t)){var o=e.nodeType;return 1===o||o===ci?e.textContent:""}e.textContent=t}return e.$dv="",e}(),val:function(e,t){if(g(t)){if(e.multiple&&"select"===S(e)){var o=[];return i(e.options,function(e){e.selected&&o.push(e.value||e.text)}),o}return e.value}e.value=t},html:function(e,t){if(g(t))return e.innerHTML;ue(e,!0),e.innerHTML=t},empty:xe},function(e,t){ce.prototype[t]=function(t,o){var i,n,r=this.length;if(e!==xe&&g(2===e.length&&e!==me&&e!==_e?t:o)){if(v(t)){for(i=0;i<r;i++)if(e===ge)e(this[i],t);else for(n in t)e(this[i],n,t[n]);return this}for(r=g(i=e.$dv)?Math.min(r,1):r,n=0;n<r;n++){var a=e(this[n],t,o);i=i?i+a:a}return i}for(i=0;i<r;i++)e(this[i],t,o);return this}}),i({removeData:fe,on:function(e,t,o,i){if(m(i))throw mi("onargs");if(se(e)){var n=(i=he(e,!0)).events,r=i.handle;r||(r=i.handle=function(e,t){var o=function(o,i){o.isDefaultPrevented=function(){return o.defaultPrevented};var n=t[i||o.type],r=n?n.length:0;if(r){if(g(o.immediatePropagationStopped)){var a=o.stopImmediatePropagation;o.stopImmediatePropagation=function(){o.immediatePropagationStopped=!0,o.stopPropagation&&o.stopPropagation(),a&&a.call(o)}}o.isImmediatePropagationStopped=function(){return!0===o.immediatePropagationStopped};var s=n.specialHandlerWrapper||$e;1<r&&(n=ie(n));for(var l=0;l<r;l++)o.isImmediatePropagationStopped()||s(e,o,n[l])}};return o.elem=e,o}(e,n));for(var a=(i=0<=t.indexOf(" ")?t.split(" "):[t]).length,s=function(t,i,a){var s=n[t];s||((s=n[t]=[]).specialHandlerWrapper=i,"$destroy"===t||a||e.addEventListener(t,r)),s.push(o)};a--;)t=i[a],gi[t]?(s(gi[t],Ae),s(t,void 0,!0)):s(t)}},off:pe,one:function(e,t,o){(e=zo(e)).on(t,function i(){e.off(t,o),e.off(t,i)}),e.on(t,o)},replaceWith:function(e,t){var o,n=e.parentNode;ue(e),i(new ce(t),function(t){o?n.insertBefore(t,o.nextSibling):n.replaceChild(t,e),o=t})},children:function(e){var t=[];return i(e.childNodes,function(e){1===e.nodeType&&t.push(e)}),t},contents:function(e){return e.contentDocument||e.childNodes||[]},append:function(e,t){if(1===(o=e.nodeType)||11===o)for(var o=0,i=(t=new ce(t)).length;o<i;o++)e.appendChild(t[o])},prepend:function(e,t){if(1===e.nodeType){var o=e.firstChild;i(new ce(t),function(t){e.insertBefore(t,o)})}},wrap:function(e,t){var o=zo(t).eq(0).clone()[0],i=e.parentNode;i&&i.replaceChild(o,e),o.appendChild(e)},remove:je,detach:function(e){je(e,!0)},after:function(e,t){var o=e,i=e.parentNode;if(i)for(var n=0,r=(t=new ce(t)).length;n<r;n++){var a=t[n];i.insertBefore(a,o.nextSibling),o=a}},addClass:be,removeClass:ve,toggleClass:function(e,t,o){t&&i(t.split(" "),function(t){var i=o;g(i)&&(i=!me(e,t)),(i?be:ve)(e,t)})},parent:function(e){return(e=e.parentNode)&&11!==e.nodeType?e:null},next:function(e){return e.nextElementSibling},find:function(e,t){return e.getElementsByTagName?e.getElementsByTagName(t):[]},clone:de,triggerHandler:function(e,t,o){var n,r,a=t.type||t,l=he(e);(l=(l=l&&l.events)&&l[a])&&(n={preventDefault:function(){this.defaultPrevented=!0},isDefaultPrevented:function(){return!0===this.defaultPrevented},stopImmediatePropagation:function(){this.immediatePropagationStopped=!0},isImmediatePropagationStopped:function(){return!0===this.immediatePropagationStopped},stopPropagation:u,type:a,target:e},t.type&&(n=s(n,t)),t=ie(l),r=o?[n].concat(o):[n],i(t,function(t){n.isImmediatePropagationStopped()||t.apply(e,r)}))}},function(e,t){ce.prototype[t]=function(t,o,i){for(var n,r=0,a=this.length;r<a;r++)g(n)?m(n=e(this[r],t,o,i))&&(n=zo(n)):ye(n,e(this[r],t,o,i));return m(n)?n:this}}),ce.prototype.bind=ce.prototype.on,ce.prototype.unbind=ce.prototype.off,Me.prototype={put:function(e,t){this[Ee(e,this.nextUid)]=t},get:function(e){return this[Ee(e,this.nextUid)]},remove:function(e){var t=this[e=Ee(e,this.nextUid)];return delete this[e],t}};var Ai=[function(){this.$get=[function(){return Me}]}],Si=/^([^(]+?)=>/,Ei=/^[^(]*\(\s*([^)]*)\)/m,Mi=/,/,Ti=/^\s*(_?)(\S+?)\1\s*$/,Li=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,qi=t("$injector");Le.$$annotate=function(e,t,o){var n;if("function"==typeof e){if(!(n=e.$inject)){if(n=[],e.length){if(t)throw y(o)&&o||(o=e.name||function(e){return(e=Te(e))?"function("+(e[1]||"").replace(/[\s\r\n]+/," ")+")":"fn"}(e)),qi("strictdi",o);i((t=Te(e))[1].split(Mi),function(e){e.replace(Ti,function(e,t,o){n.push(o)})})}e.$inject=n}}else Zo(e)?(J(e[t=e.length-1],"fn"),n=e.slice(0,t)):J(e,"fn",!0);return n};var Di=t("$animate"),Ii=function(){this.$get=u},zi=function(){var e=new Me,t=[];this.$get=["$$AnimateRunner","$rootScope",function(o,n){function r(e,t,o){var n=!1;return t&&i(t=y(t)?t.split(" "):Zo(t)?t:[],function(t){t&&(n=!0,e[t]=o)}),n}function a(){i(t,function(t){var o=e.get(t);if(o){var n=function(e){y(e)&&(e=e.split(" "));var t=te();return i(e,function(e){e.length&&(t[e]=!0)}),t}(t.attr("class")),r="",a="";i(o,function(e,t){e!==!!n[t]&&(e?r+=(r.length?" ":"")+t:a+=(a.length?" ":"")+t)}),i(t,function(e){r&&be(e,r),a&&ve(e,a)}),e.remove(t)}}),t.length=0}return{enabled:u,on:u,off:u,pin:u,push:function(i,s,l,c){return c&&c(),(l=l||{}).from&&i.css(l.from),l.to&&i.css(l.to),(l.addClass||l.removeClass)&&(s=l.addClass,c=l.removeClass,s=r(l=e.get(i)||{},s,!0),c=r(l,c,!1),(s||c)&&(e.put(i,l),t.push(i),1===t.length&&n.$$postDigest(a))),(i=new o).complete(),i}}}]},Ni=["$provide",function(e){var t=this;this.$$registeredAnimations=Object.create(null),this.register=function(o,i){if(o&&"."!==o.charAt(0))throw Di("notcsel",o);var n=o+"-animation";t.$$registeredAnimations[o.substr(1)]=n,e.factory(n,i)},this.classNameFilter=function(e){if(1===arguments.length&&(this.$$classNameFilter=e instanceof RegExp?e:null)&&/(\s+|\/)ng-animate(\s+|\/)/.test(this.$$classNameFilter.toString()))throw Di("nongcls","ng-animate");return this.$$classNameFilter},this.$get=["$$animateQueue",function(e){function t(e,t,o){if(o){var i;e:{for(i=0;i<o.length;i++){var n=o[i];if(1===n.nodeType){i=n;break e}}i=void 0}!i||i.parentNode||i.previousElementSibling||(o=null)}o?o.after(e):t.prepend(e)}return{on:e.on,off:e.off,pin:e.pin,enabled:e.enabled,cancel:function(e){e.end&&e.end()},enter:function(o,i,n,r){return i=i&&zo(i),n=n&&zo(n),t(o,i=i||n.parent(),n),e.push(o,"enter",Ie(r))},move:function(o,i,n,r){return i=i&&zo(i),n=n&&zo(n),t(o,i=i||n.parent(),n),e.push(o,"move",Ie(r))},leave:function(t,o){return e.push(t,"leave",Ie(o),function(){t.remove()})},addClass:function(t,o,i){return(i=Ie(i)).addClass=De(i.addclass,o),e.push(t,"addClass",i)},removeClass:function(t,o,i){return(i=Ie(i)).removeClass=De(i.removeClass,o),e.push(t,"removeClass",i)},setClass:function(t,o,i,n){return(n=Ie(n)).addClass=De(n.addClass,o),n.removeClass=De(n.removeClass,i),e.push(t,"setClass",n)},animate:function(t,o,i,n,r){return(r=Ie(r)).from=r.from?s(r.from,o):o,r.to=r.to?s(r.to,i):i,r.tempClasses=De(r.tempClasses,n||"ng-inline-animate"),e.push(t,"animate",r)}}}]}],Oi=function(){this.$get=["$$rAF",function(e){function t(t){o.push(t),1<o.length||e(function(){for(var e=0;e<o.length;e++)o[e]();o=[]})}var o=[];return function(){var e=!1;return t(function(){e=!0}),function(o){e?o():t(o)}}}]},Pi=function(){this.$get=["$q","$sniffer","$$animateAsyncRun","$$isDocumentHidden","$timeout",function(e,t,o,n,r){function a(e){this.setHost(e);var t=o();this._doneCallbacks=[],this._tick=function(e){n()?r(e,0,!1):t(e)},this._state=0}return a.chain=function(e,t){var o=0;!function i(){o===e.length?t(!0):e[o](function(e){!1===e?t(!1):(o++,i())})}()},a.all=function(e,t){function o(o){r=r&&o,++n===e.length&&t(r)}var n=0,r=!0;i(e,function(e){e.done(o)})},a.prototype={setHost:function(e){this.host=e||{}},done:function(e){2===this._state?e():this._doneCallbacks.push(e)},progress:u,getPromise:function(){if(!this.promise){var t=this;this.promise=e(function(e,o){t.done(function(t){!1===t?o():e()})})}return this.promise},then:function(e,t){return this.getPromise().then(e,t)},catch:function(e){return this.getPromise().catch(e)},finally:function(e){return this.getPromise().finally(e)},pause:function(){this.host.pause&&this.host.pause()},resume:function(){this.host.resume&&this.host.resume()},end:function(){this.host.end&&this.host.end(),this._resolve(!0)},cancel:function(){this.host.cancel&&this.host.cancel(),this._resolve(!1)},complete:function(e){var t=this;0===t._state&&(t._state=1,t._tick(function(){t._resolve(e)}))},_resolve:function(e){2!==this._state&&(i(this._doneCallbacks,function(t){t(e)}),this._doneCallbacks.length=0,this._state=2)}},a}]},Vi=function(){this.$get=["$$rAF","$q","$$AnimateRunner",function(e,t,o){return function(t,i){function n(){return e(function(){r.addClass&&(t.addClass(r.addClass),r.addClass=null),r.removeClass&&(t.removeClass(r.removeClass),r.removeClass=null),r.to&&(t.css(r.to),r.to=null),a||s.complete(),a=!0}),s}var r=i||{};r.$$prepared||(r=M(r)),r.cleanupStyles&&(r.from=r.to=null),r.from&&(t.css(r.from),r.from=null);var a,s=new o;return{start:n,end:n}}}]},Ri=t("$compile"),Bi=new function(){};Ve.$inject=["$provide","$$sanitizeUriProvider"],Re.prototype.isFirstChange=function(){return this.previousValue===Bi};var Hi=/^((?:x|data)[:\-_])/i,Fi=/[:\-_]+(.)/g,Wi=t("$controller"),Ui=/^(\S+)(\s+as\s+([\w$]+))?$/,Yi=function(){this.$get=["$document",function(e){return function(t){return t?!t.nodeType&&t instanceof zo&&(t=t[0]):t=e[0].body,t.offsetWidth+1}}]},Ki="application/json",Gi={"Content-Type":Ki+";charset=utf-8"},Xi=/^\[|^\{(?!\{)/,Ji={"[":/]$/,"{":/}$/},Zi=/^\)]\}',?\n/,Qi=t("$http"),en=Go.$interpolateMinErr=t("$interpolate");en.throwNoconcat=function(e){throw en("noconcat",e)},en.interr=function(e,t){return en("interr",e,t.toString())};var tn=function(){this.$get=["$window",function(e){var t=e.angular.callbacks,o={};return{createCallback:function(e){var i="angular.callbacks."+(e="_"+(t.$$counter++).toString(36)),n=function(e){var t=function(e){t.data=e,t.called=!0};return t.id=e,t}(e);return o[i]=t[e]=n,i},wasCalled:function(e){return o[e].called},getResponse:function(e){return o[e].data},removeCallback:function(e){delete t[o[e].id],delete o[e]}}}]},on=/^([^?#]*)(\?([^#]*))?(#(.*))?$/,nn={http:80,https:443,ftp:21},rn=t("$location"),an=/^\s*[\\\/]{2,}/,sn={$$absUrl:"",$$html5:!1,$$replace:!1,absUrl:vt("$$absUrl"),url:function(e){if(g(e))return this.$$url;var t=on.exec(e);return(t[1]||""===e)&&this.path(decodeURIComponent(t[1])),(t[2]||t[1]||""===e)&&this.search(t[3]||""),this.hash(t[5]||""),this},protocol:vt("$$protocol"),host:vt("$$host"),port:vt("$$port"),path:bt("$$path",function(e){return"/"===(e=null!==e?e.toString():"").charAt(0)?e:"/"+e}),search:function(e,t){switch(arguments.length){case 0:return this.$$search;case 1:if(y(e)||_(e))e=e.toString(),this.$$search=R(e);else{if(!v(e))throw rn("isrcharg");i(e=M(e,{}),function(t,o){null==t&&delete e[o]}),this.$$search=e}break;default:g(t)||null===t?delete this.$$search[e]:this.$$search[e]=t}return this.$$compose(),this},hash:bt("$$hash",function(e){return null!==e?e.toString():""}),replace:function(){return this.$$replace=!0,this}};i([mt,gt,ht],function(e){e.prototype=Object.create(sn),e.prototype.state=function(t){if(!arguments.length)return this.$$state;if(e!==ht||!this.$$html5)throw rn("nostate");return this.$$state=g(t)?null:t,this}});var ln=t("$parse"),cn={}.constructor.prototype.valueOf,dn=te();i("+ - * / % === !== == != < > <= >= && || ! = |".split(" "),function(e){dn[e]=!0});var un={n:"\n",f:"\f",r:"\r",t:"\t",v:"\v","'":"'",'"':'"'},pn=function(e){this.options=e};pn.prototype={constructor:pn,lex:function(e){for(this.text=e,this.index=0,this.tokens=[];this.index<this.text.length;)if('"'===(e=this.text.charAt(this.index))||"'"===e)this.readString(e);else if(this.isNumber(e)||"."===e&&this.isNumber(this.peek()))this.readNumber();else if(this.isIdentifierStart(this.peekMultichar()))this.readIdent();else if(this.is(e,"(){}[].,;:?"))this.tokens.push({index:this.index,text:e}),this.index++;else if(this.isWhitespace(e))this.index++;else{var t=e+this.peek(),o=t+this.peek(2),i=dn[t],n=dn[o];dn[e]||i||n?(e=n?o:i?t:e,this.tokens.push({index:this.index,text:e,operator:!0}),this.index+=e.length):this.throwError("Unexpected next character ",this.index,this.index+1)}return this.tokens},is:function(e,t){return-1!==t.indexOf(e)},peek:function(e){return e=e||1,this.index+e<this.text.length&&this.text.charAt(this.index+e)},isNumber:function(e){return"0"<=e&&"9">=e&&"string"==typeof e},isWhitespace:function(e){return" "===e||"\r"===e||"\t"===e||"\n"===e||"\v"===e||" "===e},isIdentifierStart:function(e){return this.options.isIdentifierStart?this.options.isIdentifierStart(e,this.codePointAt(e)):this.isValidIdentifierStart(e)},isValidIdentifierStart:function(e){return"a"<=e&&"z">=e||"A"<=e&&"Z">=e||"_"===e||"$"===e},isIdentifierContinue:function(e){return this.options.isIdentifierContinue?this.options.isIdentifierContinue(e,this.codePointAt(e)):this.isValidIdentifierContinue(e)},isValidIdentifierContinue:function(e,t){return this.isValidIdentifierStart(e,t)||this.isNumber(e)},codePointAt:function(e){return 1===e.length?e.charCodeAt(0):(e.charCodeAt(0)<<10)+e.charCodeAt(1)-56613888},peekMultichar:function(){var e=this.text.charAt(this.index),t=this.peek();if(!t)return e;var o=e.charCodeAt(0),i=t.charCodeAt(0);return 55296<=o&&56319>=o&&56320<=i&&57343>=i?e+t:e},isExpOperator:function(e){return"-"===e||"+"===e||this.isNumber(e)},throwError:function(e,t,o){throw o=o||this.index,t=m(t)?"s "+t+"-"+this.index+" ["+this.text.substring(t,o)+"]":" "+o,ln("lexerr",e,t,this.text)},readNumber:function(){for(var e="",t=this.index;this.index<this.text.length;){var o=Ro(this.text.charAt(this.index));if("."===o||this.isNumber(o))e+=o;else{var i=this.peek();if("e"===o&&this.isExpOperator(i))e+=o;else if(this.isExpOperator(o)&&i&&this.isNumber(i)&&"e"===e.charAt(e.length-1))e+=o;else{if(!this.isExpOperator(o)||i&&this.isNumber(i)||"e"!==e.charAt(e.length-1))break;this.throwError("Invalid exponent")}}this.index++}this.tokens.push({index:t,text:e,constant:!0,value:Number(e)})},readIdent:function(){var e=this.index;for(this.index+=this.peekMultichar().length;this.index<this.text.length;){var t=this.peekMultichar();if(!this.isIdentifierContinue(t))break;this.index+=t.length}this.tokens.push({index:e,text:this.text.slice(e,this.index),identifier:!0})},readString:function(e){var t=this.index;this.index++;for(var o="",i=e,n=!1;this.index<this.text.length;){var r=this.text.charAt(this.index);i=i+r;if(n)"u"===r?((n=this.text.substring(this.index+1,this.index+5)).match(/[\da-f]{4}/i)||this.throwError("Invalid unicode escape [\\u"+n+"]"),this.index+=4,o+=String.fromCharCode(parseInt(n,16))):o+=un[r]||r,n=!1;else if("\\"===r)n=!0;else{if(r===e)return this.index++,void this.tokens.push({index:t,text:i,constant:!0,value:o});o+=r}this.index++}this.throwError("Unterminated quote",t)}};var fn=function(e,t){this.lexer=e,this.options=t};fn.Program="Program",fn.ExpressionStatement="ExpressionStatement",fn.AssignmentExpression="AssignmentExpression",fn.ConditionalExpression="ConditionalExpression",fn.LogicalExpression="LogicalExpression",fn.BinaryExpression="BinaryExpression",fn.UnaryExpression="UnaryExpression",fn.CallExpression="CallExpression",fn.MemberExpression="MemberExpression",fn.Identifier="Identifier",fn.Literal="Literal",fn.ArrayExpression="ArrayExpression",fn.Property="Property",fn.ObjectExpression="ObjectExpression",fn.ThisExpression="ThisExpression",fn.LocalsExpression="LocalsExpression",fn.NGValueParameter="NGValueParameter",fn.prototype={ast:function(e){return this.text=e,this.tokens=this.lexer.lex(e),e=this.program(),0!==this.tokens.length&&this.throwError("is an unexpected token",this.tokens[0]),e},program:function(){for(var e=[];;)if(0<this.tokens.length&&!this.peek("}",")",";","]")&&e.push(this.expressionStatement()),!this.expect(";"))return{type:fn.Program,body:e}},expressionStatement:function(){return{type:fn.ExpressionStatement,expression:this.filterChain()}},filterChain:function(){for(var e=this.expression();this.expect("|");)e=this.filter(e);return e},expression:function(){return this.assignment()},assignment:function(){var e=this.ternary();if(this.expect("=")){if(!$t(e))throw ln("lval");e={type:fn.AssignmentExpression,left:e,right:this.assignment(),operator:"="}}return e},ternary:function(){var e,t,o=this.logicalOR();return this.expect("?")&&(e=this.expression(),this.consume(":"))?(t=this.expression(),{type:fn.ConditionalExpression,test:o,alternate:e,consequent:t}):o},logicalOR:function(){for(var e=this.logicalAND();this.expect("||");)e={type:fn.LogicalExpression,operator:"||",left:e,right:this.logicalAND()};return e},logicalAND:function(){for(var e=this.equality();this.expect("&&");)e={type:fn.LogicalExpression,operator:"&&",left:e,right:this.equality()};return e},equality:function(){for(var e,t=this.relational();e=this.expect("==","!=","===","!==");)t={type:fn.BinaryExpression,operator:e.text,left:t,right:this.relational()};return t},relational:function(){for(var e,t=this.additive();e=this.expect("<",">","<=",">=");)t={type:fn.BinaryExpression,operator:e.text,left:t,right:this.additive()};return t},additive:function(){for(var e,t=this.multiplicative();e=this.expect("+","-");)t={type:fn.BinaryExpression,operator:e.text,left:t,right:this.multiplicative()};return t},multiplicative:function(){for(var e,t=this.unary();e=this.expect("*","/","%");)t={type:fn.BinaryExpression,operator:e.text,left:t,right:this.unary()};return t},unary:function(){var e;return(e=this.expect("+","-","!"))?{type:fn.UnaryExpression,operator:e.text,prefix:!0,argument:this.unary()}:this.primary()},primary:function(){var e,t;for(this.expect("(")?(e=this.filterChain(),this.consume(")")):this.expect("[")?e=this.arrayDeclaration():this.expect("{")?e=this.object():this.selfReferential.hasOwnProperty(this.peek().text)?e=M(this.selfReferential[this.consume().text]):this.options.literals.hasOwnProperty(this.peek().text)?e={type:fn.Literal,value:this.options.literals[this.consume().text]}:this.peek().identifier?e=this.identifier():this.peek().constant?e=this.constant():this.throwError("not a primary expression",this.peek());t=this.expect("(","[",".");)"("===t.text?(e={type:fn.CallExpression,callee:e,arguments:this.parseArguments()},this.consume(")")):"["===t.text?(e={type:fn.MemberExpression,object:e,property:this.expression(),computed:!0},this.consume("]")):"."===t.text?e={type:fn.MemberExpression,object:e,property:this.identifier(),computed:!1}:this.throwError("IMPOSSIBLE");return e},filter:function(e){e=[e];for(var t={type:fn.CallExpression,callee:this.identifier(),arguments:e,filter:!0};this.expect(":");)e.push(this.expression());return t},parseArguments:function(){var e=[];if(")"!==this.peekToken().text)do{e.push(this.filterChain())}while(this.expect(","));return e},identifier:function(){var e=this.consume();return e.identifier||this.throwError("is not a valid identifier",e),{type:fn.Identifier,name:e.text}},constant:function(){return{type:fn.Literal,value:this.consume().value}},arrayDeclaration:function(){var e=[];if("]"!==this.peekToken().text)do{if(this.peek("]"))break;e.push(this.expression())}while(this.expect(","));return this.consume("]"),{type:fn.ArrayExpression,elements:e}},object:function(){var e,t=[];if("}"!==this.peekToken().text)do{if(this.peek("}"))break;e={type:fn.Property,kind:"init"},this.peek().constant?(e.key=this.constant(),e.computed=!1,this.consume(":"),e.value=this.expression()):this.peek().identifier?(e.key=this.identifier(),e.computed=!1,this.peek(":")?(this.consume(":"),e.value=this.expression()):e.value=e.key):this.peek("[")?(this.consume("["),e.key=this.expression(),this.consume("]"),e.computed=!0,this.consume(":"),e.value=this.expression()):this.throwError("invalid key",this.peek()),t.push(e)}while(this.expect(","));return this.consume("}"),{type:fn.ObjectExpression,properties:t}},throwError:function(e,t){throw ln("syntax",t.text,e,t.index+1,this.text,this.text.substring(t.index))},consume:function(e){if(0===this.tokens.length)throw ln("ueoe",this.text);var t=this.expect(e);return t||this.throwError("is unexpected, expecting ["+e+"]",this.peek()),t},peekToken:function(){if(0===this.tokens.length)throw ln("ueoe",this.text);return this.tokens[0]},peek:function(e,t,o,i){return this.peekAhead(0,e,t,o,i)},peekAhead:function(e,t,o,i,n){if(this.tokens.length>e){var r=(e=this.tokens[e]).text;if(r===t||r===o||r===i||r===n||!(t||o||i||n))return e}return!1},expect:function(e,t,o,i){return!!(e=this.peek(e,t,o,i))&&(this.tokens.shift(),e)},selfReferential:{this:{type:fn.ThisExpression},$locals:{type:fn.LocalsExpression}}},Et.prototype={compile:function(e){var t=this;e=this.astBuilder.ast(e),this.state={nextId:0,filters:{},fn:{vars:[],body:[],own:{}},assign:{vars:[],body:[],own:{}},inputs:[]},kt(e,t.$filter);var o,n="";return this.stage="assign",(o=At(e))&&(this.state.computing="assign",n=this.nextId(),this.recurse(o,n),this.return_(n),n="fn.assign="+this.generateFunction("assign","s,v,l")),o=Ct(e.body),t.stage="inputs",i(o,function(e,o){var i="fn"+o;t.state[i]={vars:[],body:[],own:{}},t.state.computing=i;var n=t.nextId();t.recurse(e,n),t.return_(n),t.state.inputs.push(i),e.watchId=o}),this.state.computing="fn",this.stage="main",this.recurse(e),n='"'+this.USE+" "+this.STRICT+'";\n'+this.filterPrefix()+"var fn="+this.generateFunction("fn","s,l,a,i")+n+this.watchFns()+"return fn;",n=new Function("$filter","getStringValue","ifDefined","plus",n)(this.$filter,wt,xt,jt),this.state=this.stage=void 0,n.literal=St(e),n.constant=e.constant,n},USE:"use",STRICT:"strict",watchFns:function(){var e=[],t=this.state.inputs,o=this;return i(t,function(t){e.push("var "+t+"="+o.generateFunction(t,"s"))}),t.length&&e.push("fn.inputs=["+t.join(",")+"];"),e.join("")},generateFunction:function(e,t){return"function("+t+"){"+this.varsPrefix(e)+this.body(e)+"};"},filterPrefix:function(){var e=[],t=this;return i(this.state.filters,function(o,i){e.push(o+"=$filter("+t.escape(i)+")")}),e.length?"var "+e.join(",")+";":""},varsPrefix:function(e){return this.state[e].vars.length?"var "+this.state[e].vars.join(",")+";":""},body:function(e){return this.state[e].body.join("")},recurse:function(e,t,o,n,r,a){var s,l,c,d,p,f=this;if(n=n||u,!a&&m(e.watchId))t=t||this.nextId(),this.if_("i",this.lazyAssign(t,this.computedMember("i",e.watchId)),this.lazyRecurse(e,t,o,n,r,!0));else switch(e.type){case fn.Program:i(e.body,function(t,o){f.recurse(t.expression,void 0,void 0,function(e){l=e}),o!==e.body.length-1?f.current().body.push(l,";"):f.return_(l)});break;case fn.Literal:d=this.escape(e.value),this.assign(t,d),n(t||d);break;case fn.UnaryExpression:this.recurse(e.argument,void 0,void 0,function(e){l=e}),d=e.operator+"("+this.ifDefined(l,0)+")",this.assign(t,d),n(d);break;case fn.BinaryExpression:this.recurse(e.left,void 0,void 0,function(e){s=e}),this.recurse(e.right,void 0,void 0,function(e){l=e}),d="+"===e.operator?this.plus(s,l):"-"===e.operator?this.ifDefined(s,0)+e.operator+this.ifDefined(l,0):"("+s+")"+e.operator+"("+l+")",this.assign(t,d),n(d);break;case fn.LogicalExpression:t=t||this.nextId(),f.recurse(e.left,t),f.if_("&&"===e.operator?t:f.not(t),f.lazyRecurse(e.right,t)),n(t);break;case fn.ConditionalExpression:t=t||this.nextId(),f.recurse(e.test,t),f.if_(t,f.lazyRecurse(e.alternate,t),f.lazyRecurse(e.consequent,t)),n(t);break;case fn.Identifier:t=t||this.nextId(),o&&(o.context="inputs"===f.stage?"s":this.assign(this.nextId(),this.getHasOwnProperty("l",e.name)+"?l:s"),o.computed=!1,o.name=e.name),f.if_("inputs"===f.stage||f.not(f.getHasOwnProperty("l",e.name)),function(){f.if_("inputs"===f.stage||"s",function(){r&&1!==r&&f.if_(f.isNull(f.nonComputedMember("s",e.name)),f.lazyAssign(f.nonComputedMember("s",e.name),"{}")),f.assign(t,f.nonComputedMember("s",e.name))})},t&&f.lazyAssign(t,f.nonComputedMember("l",e.name))),n(t);break;case fn.MemberExpression:s=o&&(o.context=this.nextId())||this.nextId(),t=t||this.nextId(),f.recurse(e.object,s,void 0,function(){f.if_(f.notNull(s),function(){e.computed?(l=f.nextId(),f.recurse(e.property,l),f.getStringValue(l),r&&1!==r&&f.if_(f.not(f.computedMember(s,l)),f.lazyAssign(f.computedMember(s,l),"{}")),d=f.computedMember(s,l),f.assign(t,d),o&&(o.computed=!0,o.name=l)):(r&&1!==r&&f.if_(f.isNull(f.nonComputedMember(s,e.property.name)),f.lazyAssign(f.nonComputedMember(s,e.property.name),"{}")),d=f.nonComputedMember(s,e.property.name),f.assign(t,d),o&&(o.computed=!1,o.name=e.property.name))},function(){f.assign(t,"undefined")}),n(t)},!!r);break;case fn.CallExpression:t=t||this.nextId(),e.filter?(l=f.filter(e.callee.name),c=[],i(e.arguments,function(e){var t=f.nextId();f.recurse(e,t),c.push(t)}),d=l+"("+c.join(",")+")",f.assign(t,d),n(t)):(l=f.nextId(),s={},c=[],f.recurse(e.callee,l,s,function(){f.if_(f.notNull(l),function(){i(e.arguments,function(t){f.recurse(t,e.constant?void 0:f.nextId(),void 0,function(e){c.push(e)})}),d=s.name?f.member(s.context,s.name,s.computed)+"("+c.join(",")+")":l+"("+c.join(",")+")",f.assign(t,d)},function(){f.assign(t,"undefined")}),n(t)}));break;case fn.AssignmentExpression:l=this.nextId(),s={},this.recurse(e.left,void 0,s,function(){f.if_(f.notNull(s.context),function(){f.recurse(e.right,l),d=f.member(s.context,s.name,s.computed)+e.operator+l,f.assign(t,d),n(t||d)})},1);break;case fn.ArrayExpression:c=[],i(e.elements,function(t){f.recurse(t,e.constant?void 0:f.nextId(),void 0,function(e){c.push(e)})}),d="["+c.join(",")+"]",this.assign(t,d),n(t||d);break;case fn.ObjectExpression:c=[],p=!1,i(e.properties,function(e){e.computed&&(p=!0)}),p?(t=t||this.nextId(),this.assign(t,"{}"),i(e.properties,function(e){e.computed?(s=f.nextId(),f.recurse(e.key,s)):s=e.key.type===fn.Identifier?e.key.name:""+e.key.value,l=f.nextId(),f.recurse(e.value,l),f.assign(f.member(t,s,e.computed),l)})):(i(e.properties,function(t){f.recurse(t.value,e.constant?void 0:f.nextId(),void 0,function(e){c.push(f.escape(t.key.type===fn.Identifier?t.key.name:""+t.key.value)+":"+e)})}),d="{"+c.join(",")+"}",this.assign(t,d)),n(t||d);break;case fn.ThisExpression:this.assign(t,"s"),n(t||"s");break;case fn.LocalsExpression:this.assign(t,"l"),n(t||"l");break;case fn.NGValueParameter:this.assign(t,"v"),n(t||"v")}},getHasOwnProperty:function(e,t){var o=e+"."+t,i=this.current().own;return i.hasOwnProperty(o)||(i[o]=this.nextId(!1,e+"&&("+this.escape(t)+" in "+e+")")),i[o]},assign:function(e,t){if(e)return this.current().body.push(e,"=",t,";"),e},filter:function(e){return this.state.filters.hasOwnProperty(e)||(this.state.filters[e]=this.nextId(!0)),this.state.filters[e]},ifDefined:function(e,t){return"ifDefined("+e+","+this.escape(t)+")"},plus:function(e,t){return"plus("+e+","+t+")"},return_:function(e){this.current().body.push("return ",e,";")},if_:function(e,t,o){if(!0===e)t();else{var i=this.current().body;i.push("if(",e,"){"),t(),i.push("}"),o&&(i.push("else{"),o(),i.push("}"))}},not:function(e){return"!("+e+")"},isNull:function(e){return e+"==null"},notNull:function(e){return e+"!=null"},nonComputedMember:function(e,t){return/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(t)?e+"."+t:e+'["'+t.replace(/[^$_a-zA-Z0-9]/g,this.stringEscapeFn)+'"]'},computedMember:function(e,t){return e+"["+t+"]"},member:function(e,t,o){return o?this.computedMember(e,t):this.nonComputedMember(e,t)},getStringValue:function(e){this.assign(e,"getStringValue("+e+")")},lazyRecurse:function(e,t,o,i,n,r){var a=this;return function(){a.recurse(e,t,o,i,n,r)}},lazyAssign:function(e,t){var o=this;return function(){o.assign(e,t)}},stringEscapeRegex:/[^ a-zA-Z0-9]/g,stringEscapeFn:function(e){return"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)},escape:function(e){if(y(e))return"'"+e.replace(this.stringEscapeRegex,this.stringEscapeFn)+"'";if(_(e))return e.toString();if(!0===e)return"true";if(!1===e)return"false";if(null===e)return"null";if(void 0===e)return"undefined";throw ln("esc")},nextId:function(e,t){var o="v"+this.state.nextId++;return e||this.current().vars.push(o+(t?"="+t:"")),o},current:function(){return this.state[this.state.computing]}},Mt.prototype={compile:function(e){var t,o,n,r=this;kt(e=this.astBuilder.ast(e),r.$filter),(t=At(e))&&(o=this.recurse(t)),(t=Ct(e.body))&&(n=[],i(t,function(e,t){var o=r.recurse(e);e.input=o,n.push(o),e.watchId=t}));var a=[];return i(e.body,function(e){a.push(r.recurse(e.expression))}),t=0===e.body.length?u:1===e.body.length?a[0]:function(e,t){var o;return i(a,function(i){o=i(e,t)}),o},o&&(t.assign=function(e,t,i){return o(e,i,t)}),n&&(t.inputs=n),t.literal=St(e),t.constant=e.constant,t},recurse:function(e,t,o){var n,r,a,s=this;if(e.input)return this.inputs(e.input,e.watchId);switch(e.type){case fn.Literal:return this.value(e.value,t);case fn.UnaryExpression:return r=this.recurse(e.argument),this["unary"+e.operator](r,t);case fn.BinaryExpression:case fn.LogicalExpression:return n=this.recurse(e.left),r=this.recurse(e.right),this["binary"+e.operator](n,r,t);case fn.ConditionalExpression:return this["ternary?:"](this.recurse(e.test),this.recurse(e.alternate),this.recurse(e.consequent),t);case fn.Identifier:return s.identifier(e.name,t,o);case fn.MemberExpression:return n=this.recurse(e.object,!1,!!o),e.computed||(r=e.property.name),e.computed&&(r=this.recurse(e.property)),e.computed?this.computedMember(n,r,t,o):this.nonComputedMember(n,r,t,o);case fn.CallExpression:return a=[],i(e.arguments,function(e){a.push(s.recurse(e))}),e.filter&&(r=this.$filter(e.callee.name)),e.filter||(r=this.recurse(e.callee,!0)),e.filter?function(e,o,i,n){for(var s=[],l=0;l<a.length;++l)s.push(a[l](e,o,i,n));return e=r.apply(void 0,s,n),t?{context:void 0,name:void 0,value:e}:e}:function(e,o,i,n){var s,l=r(e,o,i,n);if(null!=l.value){s=[];for(var c=0;c<a.length;++c)s.push(a[c](e,o,i,n));s=l.value.apply(l.context,s)}return t?{value:s}:s};case fn.AssignmentExpression:return n=this.recurse(e.left,!0,1),r=this.recurse(e.right),function(e,o,i,a){var s=n(e,o,i,a);return e=r(e,o,i,a),s.context[s.name]=e,t?{value:e}:e};case fn.ArrayExpression:return a=[],i(e.elements,function(e){a.push(s.recurse(e))}),function(e,o,i,n){for(var r=[],s=0;s<a.length;++s)r.push(a[s](e,o,i,n));return t?{value:r}:r};case fn.ObjectExpression:return a=[],i(e.properties,function(e){e.computed?a.push({key:s.recurse(e.key),computed:!0,value:s.recurse(e.value)}):a.push({key:e.key.type===fn.Identifier?e.key.name:""+e.key.value,computed:!1,value:s.recurse(e.value)})}),function(e,o,i,n){for(var r={},s=0;s<a.length;++s)a[s].computed?r[a[s].key(e,o,i,n)]=a[s].value(e,o,i,n):r[a[s].key]=a[s].value(e,o,i,n);return t?{value:r}:r};case fn.ThisExpression:return function(e){return t?{value:e}:e};case fn.LocalsExpression:return function(e,o){return t?{value:o}:o};case fn.NGValueParameter:return function(e,o,i){return t?{value:i}:i}}},"unary+":function(e,t){return function(o,i,n,r){return o=m(o=e(o,i,n,r))?+o:0,t?{value:o}:o}},"unary-":function(e,t){return function(o,i,n,r){return o=m(o=e(o,i,n,r))?-o:-0,t?{value:o}:o}},"unary!":function(e,t){return function(o,i,n,r){return o=!e(o,i,n,r),t?{value:o}:o}},"binary+":function(e,t,o){return function(i,n,r,a){var s=e(i,n,r,a);return s=jt(s,i=t(i,n,r,a)),o?{value:s}:s}},"binary-":function(e,t,o){return function(i,n,r,a){var s=e(i,n,r,a);return i=t(i,n,r,a),s=(m(s)?s:0)-(m(i)?i:0),o?{value:s}:s}},"binary*":function(e,t,o){return function(i,n,r,a){return i=e(i,n,r,a)*t(i,n,r,a),o?{value:i}:i}},"binary/":function(e,t,o){return function(i,n,r,a){return i=e(i,n,r,a)/t(i,n,r,a),o?{value:i}:i}},"binary%":function(e,t,o){return function(i,n,r,a){return i=e(i,n,r,a)%t(i,n,r,a),o?{value:i}:i}},"binary===":function(e,t,o){return function(i,n,r,a){return i=e(i,n,r,a)===t(i,n,r,a),o?{value:i}:i}},"binary!==":function(e,t,o){return function(i,n,r,a){return i=e(i,n,r,a)!==t(i,n,r,a),o?{value:i}:i}},"binary==":function(e,t,o){return function(i,n,r,a){return i=e(i,n,r,a)==t(i,n,r,a),o?{value:i}:i}},"binary!=":function(e,t,o){return function(i,n,r,a){return i=e(i,n,r,a)!=t(i,n,r,a),o?{value:i}:i}},"binary<":function(e,t,o){return function(i,n,r,a){return i=e(i,n,r,a)<t(i,n,r,a),o?{value:i}:i}},"binary>":function(e,t,o){return function(i,n,r,a){return i=e(i,n,r,a)>t(i,n,r,a),o?{value:i}:i}},"binary<=":function(e,t,o){return function(i,n,r,a){return i=e(i,n,r,a)<=t(i,n,r,a),o?{value:i}:i}},"binary>=":function(e,t,o){return function(i,n,r,a){return i=e(i,n,r,a)>=t(i,n,r,a),o?{value:i}:i}},"binary&&":function(e,t,o){return function(i,n,r,a){return i=e(i,n,r,a)&&t(i,n,r,a),o?{value:i}:i}},"binary||":function(e,t,o){return function(i,n,r,a){return i=e(i,n,r,a)||t(i,n,r,a),o?{value:i}:i}},"ternary?:":function(e,t,o,i){return function(n,r,a,s){return n=e(n,r,a,s)?t(n,r,a,s):o(n,r,a,s),i?{value:n}:n}},value:function(e,t){return function(){return t?{context:void 0,name:void 0,value:e}:e}},identifier:function(e,t,o){return function(i,n,r,a){return i=n&&e in n?n:i,o&&1!==o&&i&&null==i[e]&&(i[e]={}),n=i?i[e]:void 0,t?{context:i,name:e,value:n}:n}},computedMember:function(e,t,o,i){return function(n,r,a,s){var l,c,d=e(n,r,a,s);return null!=d&&(l=t(n,r,a,s),l+="",i&&1!==i&&d&&!d[l]&&(d[l]={}),c=d[l]),o?{context:d,name:l,value:c}:c}},nonComputedMember:function(e,t,o,i){return function(n,r,a,s){return n=e(n,r,a,s),i&&1!==i&&n&&null==n[t]&&(n[t]={}),r=null!=n?n[t]:void 0,o?{context:n,name:t,value:r}:r}},inputs:function(e,t){return function(o,i,n,r){return r?r[t]:e(o,i,n)}}};var hn=function(e,t,o){this.lexer=e,this.$filter=t,this.options=o,this.ast=new fn(e,o),this.astCompiler=o.csp?new Mt(this.ast,t):new Et(this.ast,t)};hn.prototype={constructor:hn,parse:function(e){return this.astCompiler.compile(e)}};var gn=t("$sce"),mn={HTML:"html",CSS:"css",URL:"url",RESOURCE_URL:"resourceUrl",JS:"js"},vn=/_([a-z])/g,bn=t("$compile"),yn=e.document.createElement("a"),_n=Ut(e.location.href);Gt.$inject=["$document"],Jt.$inject=["$provide"];var wn=22,xn=".",jn="0";to.$inject=["$locale"],oo.$inject=["$locale"];var kn={yyyy:ro("FullYear",4,0,!1,!0),yy:ro("FullYear",2,0,!0,!0),y:ro("FullYear",1,0,!1,!0),MMMM:ao("Month"),MMM:ao("Month",!0),MM:ro("Month",2,1),M:ro("Month",1,1),LLLL:ao("Month",!1,!0),dd:ro("Date",2),d:ro("Date",1),HH:ro("Hours",2),H:ro("Hours",1),hh:ro("Hours",2,-12),h:ro("Hours",1,-12),mm:ro("Minutes",2),m:ro("Minutes",1),ss:ro("Seconds",2),s:ro("Seconds",1),sss:ro("Milliseconds",3),EEEE:ao("Day"),EEE:ao("Day",!0),a:function(e,t){return 12>e.getHours()?t.AMPMS[0]:t.AMPMS[1]},Z:function(e,t,o){return(0<=(e=-1*o)?"+":"")+(no(Math[0<e?"floor":"ceil"](e/60),2)+no(Math.abs(e%60),2))},ww:lo(2),w:lo(1),G:co,GG:co,GGG:co,GGGG:function(e,t){return 0>=e.getFullYear()?t.ERANAMES[0]:t.ERANAMES[1]}},Cn=/((?:[^yMLdHhmsaZEwG']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|L+|d+|H+|h+|m+|s+|a|Z|G+|w+))(.*)/,$n=/^-?\d+$/;uo.$inject=["$locale"];var An=f(Ro),Sn=f(Bo);go.$inject=["$parse"];var En=f({restrict:"E",compile:function(e,t){if(!t.href&&!t.xlinkHref)return function(e,t){if("a"===t[0].nodeName.toLowerCase()){var o="[object SVGAnimatedString]"===Uo.call(t.prop("href"))?"xlink:href":"href";t.on("click",function(e){t.attr(o)||e.preventDefault()})}}}}),Mn={};i(ki,function(e,t){function o(e,o,n){e.$watch(n[i],function(e){n.$set(t,!!e)})}if("multiple"!==e){var i=Be("ng-"+t),n=o;"checked"===e&&(n=function(e,t,n){n.ngModel!==n[i]&&o(e,0,n)}),Mn[i]=function(){return{restrict:"A",priority:100,link:n}}}}),i($i,function(e,t){Mn[t]=function(){return{priority:100,link:function(e,o,i){"ngPattern"===t&&"/"===i.ngPattern.charAt(0)&&(o=i.ngPattern.match(Po))?i.$set("ngPattern",new RegExp(o[1],o[2])):e.$watch(i[t],function(e){i.$set(t,e)})}}}}),i(["src","srcset","href"],function(e){var t=Be("ng-"+e);Mn[t]=function(){return{priority:99,link:function(o,i,n){var r=e,a=e;"href"===e&&"[object SVGAnimatedString]"===Uo.call(i.prop("href"))&&(a="xlinkHref",n.$attr[a]="xlink:href",r=null),n.$observe(t,function(t){t?(n.$set(a,t),Io&&r&&i.prop(r,n[a])):"href"===e&&n.$set(a,null)})}}}});var Tn={$addControl:u,$$renameControl:function(e,t){e.$name=t},$removeControl:u,$setValidity:u,$setDirty:u,$setPristine:u,$setSubmitted:u};vo.$inject=["$element","$attrs","$scope","$animate","$interpolate"],vo.prototype={$rollbackViewValue:function(){i(this.$$controls,function(e){e.$rollbackViewValue()})},$commitViewValue:function(){i(this.$$controls,function(e){e.$commitViewValue()})},$addControl:function(e){Z(e.$name,"input"),this.$$controls.push(e),e.$name&&(this[e.$name]=e),e.$$parentForm=this},$$renameControl:function(e,t){var o=e.$name;this[o]===e&&delete this[o],this[t]=e,e.$name=t},$removeControl:function(e){e.$name&&this[e.$name]===e&&delete this[e.$name],i(this.$pending,function(t,o){this.$setValidity(o,null,e)},this),i(this.$error,function(t,o){this.$setValidity(o,null,e)},this),i(this.$$success,function(t,o){this.$setValidity(o,null,e)},this),E(this.$$controls,e),e.$$parentForm=Tn},$setDirty:function(){this.$$animate.removeClass(this.$$element,fr),this.$$animate.addClass(this.$$element,hr),this.$dirty=!0,this.$pristine=!1,this.$$parentForm.$setDirty()},$setPristine:function(){this.$$animate.setClass(this.$$element,fr,hr+" ng-submitted"),this.$dirty=!1,this.$pristine=!0,this.$submitted=!1,i(this.$$controls,function(e){e.$setPristine()})},$setUntouched:function(){i(this.$$controls,function(e){e.$setUntouched()})},$setSubmitted:function(){this.$$animate.addClass(this.$$element,"ng-submitted"),this.$submitted=!0,this.$$parentForm.$setSubmitted()}},yo({clazz:vo,set:function(e,t,o){var i=e[t];i?-1===i.indexOf(o)&&i.push(o):e[t]=[o]},unset:function(e,t,o){var i=e[t];i&&(E(i,o),0===i.length&&delete e[t])}});var Ln=function(e){return["$timeout","$parse",function(t,o){function i(e){return""===e?o('this[""]').assign:o(e).assign||u}return{name:"form",restrict:e?"EAC":"E",require:["form","^^?form"],controller:vo,compile:function(o,n){o.addClass(fr).addClass(ur);var r=n.name?"name":!(!e||!n.ngForm)&&"ngForm";return{pre:function(e,o,n,a){var l=a[0];if(!("action"in n)){var c=function(t){e.$apply(function(){l.$commitViewValue(),l.$setSubmitted()}),t.preventDefault()};o[0].addEventListener("submit",c),o.on("$destroy",function(){t(function(){o[0].removeEventListener("submit",c)},0,!1)})}(a[1]||l.$$parentForm).$addControl(l);var d=r?i(l.$name):u;r&&(d(e,l),n.$observe(r,function(t){l.$name!==t&&(d(e,void 0),l.$$parentForm.$$renameControl(l,t),(d=i(l.$name))(e,l))})),o.on("$destroy",function(){l.$$parentForm.$removeControl(l),d(e,void 0),s(l,Tn)})}}}}}]},qn=Ln(),Dn=Ln(!0),In=/^\d{4,}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+(?:[+-][0-2]\d:[0-5]\d|Z)$/,zn=/^[a-z][a-z\d.+-]*:\/*(?:[^:@]+(?::[^@]+)?@)?(?:[^\s:\/?#]+|\[[a-f\d:]+])(?::\d+)?(?:\/[^?#]*)?(?:\?[^#]*)?(?:#.*)?$/i,Nn=/^(?=.{1,254}$)(?=.{1,64}@)[-!#$%&'*+\/0-9=?A-Z^_`a-z{|}~]+(\.[-!#$%&'*+\/0-9=?A-Z^_`a-z{|}~]+)*@[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?(\.[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?)*$/,On=/^\s*(-|\+)?(\d+|(\d*(\.\d*)))([eE][+-]?\d+)?\s*$/,Pn=/^(\d{4,})-(\d{2})-(\d{2})$/,Vn=/^(\d{4,})-(\d\d)-(\d\d)T(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,Rn=/^(\d{4,})-W(\d\d)$/,Bn=/^(\d{4,})-(\d\d)$/,Hn=/^(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,Fn=te();i(["date","datetime-local","month","time","week"],function(e){Fn[e]=!0});var Wn={text:function(e,t,o,i,n,r){xo(0,t,o,i,n,r),wo(i)},date:ko("date",Pn,jo(Pn,["yyyy","MM","dd"]),"yyyy-MM-dd"),"datetime-local":ko("datetimelocal",Vn,jo(Vn,"yyyy MM dd HH mm ss sss".split(" ")),"yyyy-MM-ddTHH:mm:ss.sss"),time:ko("time",Hn,jo(Hn,["HH","mm","ss","sss"]),"HH:mm:ss.sss"),week:ko("week",Rn,function(e,t){if(w(e))return e;if(y(e)){Rn.lastIndex=0;var o=Rn.exec(e);if(o){var i=+o[1],n=+o[2],r=o=0,a=0,s=0,l=so(i);n=7*(n-1);return t&&(o=t.getHours(),r=t.getMinutes(),a=t.getSeconds(),s=t.getMilliseconds()),new Date(i,0,l.getDate()+n,o,r,a,s)}}return NaN},"yyyy-Www"),month:ko("month",Bn,jo(Bn,["yyyy","MM"]),"yyyy-MM"),number:function(e,t,o,i,n,r){var a,s,l;(Co(0,t,0,i),$o(i),xo(0,t,o,i,n,r),(m(o.min)||o.ngMin)&&(i.$validators.min=function(e){return i.$isEmpty(e)||g(a)||e>=a},o.$observe("min",function(e){a=Ao(e),i.$validate()})),(m(o.max)||o.ngMax)&&(i.$validators.max=function(e){return i.$isEmpty(e)||g(s)||e<=s},o.$observe("max",function(e){s=Ao(e),i.$validate()})),m(o.step)||o.ngStep)&&(i.$validators.step=function(e,t){return i.$isEmpty(t)||g(l)||Eo(t,a||0,l)},o.$observe("step",function(e){l=Ao(e),i.$validate()}))},url:function(e,t,o,i,n,r){xo(0,t,o,i,n,r),wo(i),i.$$parserName="url",i.$validators.url=function(e,t){var o=e||t;return i.$isEmpty(o)||zn.test(o)}},email:function(e,t,o,i,n,r){xo(0,t,o,i,n,r),wo(i),i.$$parserName="email",i.$validators.email=function(e,t){var o=e||t;return i.$isEmpty(o)||Nn.test(o)}},radio:function(e,t,o,i){var n=!o.ngTrim||"false"!==ei(o.ngTrim);g(o.name)&&t.attr("name",++Xo),t.on("click",function(e){var r;t[0].checked&&(r=o.value,n&&(r=ei(r)),i.$setViewValue(r,e&&e.type))}),i.$render=function(){var e=o.value;n&&(e=ei(e)),t[0].checked=e===i.$viewValue},o.$observe("value",i.$render)},range:function(e,t,o,i,n,r){function a(e,i){t.attr(e,o[e]),o.$observe(e,i)}Co(0,t,0,i),$o(i),xo(0,t,o,i,n,r);var s=i.$$hasNativeValidators&&"range"===t[0].type,l=s?0:void 0,c=s?100:void 0,d=s?1:void 0,u=t[0].validity;e=m(o.min),n=m(o.max),r=m(o.step);var p=i.$render;i.$render=s&&m(u.rangeUnderflow)&&m(u.rangeOverflow)?function(){p(),i.$setViewValue(t.val())}:p,e&&(i.$validators.min=s?function(){return!0}:function(e,t){return i.$isEmpty(t)||g(l)||t>=l},a("min",function(e){l=Ao(e),Jo(i.$modelValue)||(s?(e=t.val(),l>e&&(e=l,t.val(e)),i.$setViewValue(e)):i.$validate())})),n&&(i.$validators.max=s?function(){return!0}:function(e,t){return i.$isEmpty(t)||g(c)||t<=c},a("max",function(e){c=Ao(e),Jo(i.$modelValue)||(s?(e=t.val(),c<e&&(t.val(c),e=c<l?l:c),i.$setViewValue(e)):i.$validate())})),r&&(i.$validators.step=s?function(){return!u.stepMismatch}:function(e,t){return i.$isEmpty(t)||g(d)||Eo(t,l||0,d)},a("step",function(e){d=Ao(e),Jo(i.$modelValue)||(s&&i.$viewValue!==t.val()?i.$setViewValue(t.val()):i.$validate())}))},checkbox:function(e,t,o,i,n,r,a,s){var l=Mo(s,e,"ngTrueValue",o.ngTrueValue,!0),c=Mo(s,e,"ngFalseValue",o.ngFalseValue,!1);t.on("click",function(e){i.$setViewValue(t[0].checked,e&&e.type)}),i.$render=function(){t[0].checked=i.$viewValue},i.$isEmpty=function(e){return!1===e},i.$formatters.push(function(e){return T(e,l)}),i.$parsers.push(function(e){return e?l:c})},hidden:u,button:u,submit:u,reset:u,file:u},Un=["$browser","$sniffer","$filter","$parse",function(e,t,o,i){return{restrict:"E",require:["?ngModel"],link:{pre:function(n,r,a,s){s[0]&&(Wn[Ro(a.type)]||Wn.text)(n,r,a,s[0],t,e,o,i)}}}}],Yn=/^(true|false|\d+)$/,Kn=function(){return{restrict:"A",priority:100,compile:function(e,t){return Yn.test(t.ngValue)?function(e,t,o){e=e.$eval(o.ngValue),t.prop("value",e),o.$set("value",e)}:function(e,t,o){e.$watch(o.ngValue,function(e){t.prop("value",e),o.$set("value",e)})}}}},Gn=["$compile",function(e){return{restrict:"AC",compile:function(t){return e.$$addBindingClass(t),function(t,o,i){e.$$addBindingInfo(o,i.ngBind),o=o[0],t.$watch(i.ngBind,function(e){o.textContent=oe(e)})}}}}],Xn=["$interpolate","$compile",function(e,t){return{compile:function(o){return t.$$addBindingClass(o),function(o,i,n){o=e(i.attr(n.$attr.ngBindTemplate)),t.$$addBindingInfo(i,o.expressions),i=i[0],n.$observe("ngBindTemplate",function(e){i.textContent=g(e)?"":e})}}}}],Jn=["$sce","$parse","$compile",function(e,t,o){return{restrict:"A",compile:function(i,n){var r=t(n.ngBindHtml),a=t(n.ngBindHtml,function(t){return e.valueOf(t)});return o.$$addBindingClass(i),function(t,i,n){o.$$addBindingInfo(i,n.ngBindHtml),t.$watch(a,function(){var o=r(t);i.html(e.getTrustedHtml(o)||"")})}}}}],Zn=f({restrict:"A",require:"ngModel",link:function(e,t,o,i){i.$viewChangeListeners.push(function(){e.$eval(o.ngChange)})}}),Qn=To("",!0),er=To("Odd",0),tr=To("Even",1),or=mo({compile:function(e,t){t.$set("ngCloak",void 0),e.removeClass("ng-cloak")}}),ir=[function(){return{restrict:"A",scope:!0,controller:"@",priority:500}}],nr={},rr={blur:!0,focus:!0};i("click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress submit focus blur copy cut paste".split(" "),function(e){var t=Be("ng-"+e);nr[t]=["$parse","$rootScope",function(o,i){return{restrict:"A",compile:function(n,r){var a=o(r[t],null,!0);return function(t,o){o.on(e,function(o){var n=function(){a(t,{$event:o})};rr[e]&&i.$$phase?t.$evalAsync(n):t.$apply(n)})}}}}]});var ar=["$animate","$compile",function(e,t){return{multiElement:!0,transclude:"element",priority:600,terminal:!0,restrict:"A",$$tlb:!0,link:function(o,i,n,r,a){var s,l,c;o.$watch(n.ngIf,function(o){o?l||a(function(o,r){l=r,o[o.length++]=t.$$createComment("end ngIf",n.ngIf),s={clone:o},e.enter(o,i.parent(),i)}):(c&&(c.remove(),c=null),l&&(l.$destroy(),l=null),s&&(c=ee(s.clone),e.leave(c).done(function(e){!1!==e&&(c=null)}),s=null))})}}}],sr=["$templateRequest","$anchorScroll","$animate",function(e,t,o){return{restrict:"ECA",priority:400,terminal:!0,transclude:"element",controller:Go.noop,compile:function(i,n){var r=n.ngInclude||n.src,a=n.onload||"",s=n.autoscroll;return function(i,n,l,c,d){var u,p,f,h=0,g=function(){p&&(p.remove(),p=null),u&&(u.$destroy(),u=null),f&&(o.leave(f).done(function(e){!1!==e&&(p=null)}),p=f,f=null)};i.$watch(r,function(r){var l=function(e){!1===e||!m(s)||s&&!i.$eval(s)||t()},p=++h;r?(e(r,!0).then(function(e){if(!i.$$destroyed&&p===h){var t=i.$new();c.template=e,e=d(t,function(e){g(),o.enter(e,null,n).done(l)}),f=e,(u=t).$emit("$includeContentLoaded",r),i.$eval(a)}},function(){i.$$destroyed||p!==h||(g(),i.$emit("$includeContentError",r))}),i.$emit("$includeContentRequested",r)):(g(),c.template=null)})}}}}],lr=["$compile",function(t){return{restrict:"ECA",priority:-400,require:"ngInclude",link:function(o,i,n,r){Uo.call(i[0]).match(/SVG/)?(i.empty(),t(le(r.template,e.document).childNodes)(o,function(e){i.append(e)},{futureParentElement:i})):(i.html(r.template),t(i.contents())(o))}}}],cr=mo({priority:450,compile:function(){return{pre:function(e,t,o){e.$eval(o.ngInit)}}}}),dr=function(){return{restrict:"A",priority:100,require:"ngModel",link:function(e,t,o,n){var r=o.ngList||", ",a="false"!==o.ngTrim,s=a?ei(r):r;n.$parsers.push(function(e){if(!g(e)){var t=[];return e&&i(e.split(s),function(e){e&&t.push(a?ei(e):e)}),t}}),n.$formatters.push(function(e){if(Zo(e))return e.join(r)}),n.$isEmpty=function(e){return!e||!e.length}}}},ur="ng-valid",pr="ng-invalid",fr="ng-pristine",hr="ng-dirty",gr=t("ngModel");Lo.$inject="$scope $exceptionHandler $attrs $element $parse $animate $timeout $q $interpolate".split(" "),Lo.prototype={$$initGetterSetters:function(){if(this.$options.getOption("getterSetter")){var e=this.$$parse(this.$$attr.ngModel+"()"),t=this.$$parse(this.$$attr.ngModel+"($$$p)");this.$$ngModelGet=function(t){var o=this.$$parsedNgModel(t);return x(o)&&(o=e(t)),o},this.$$ngModelSet=function(e,o){x(this.$$parsedNgModel(e))?t(e,{$$$p:o}):this.$$parsedNgModelAssign(e,o)}}else if(!this.$$parsedNgModel.assign)throw gr("nonassign",this.$$attr.ngModel,P(this.$$element))},$render:u,$isEmpty:function(e){return g(e)||""===e||null===e||e!=e},$$updateEmptyClasses:function(e){this.$isEmpty(e)?(this.$$animate.removeClass(this.$$element,"ng-not-empty"),this.$$animate.addClass(this.$$element,"ng-empty")):(this.$$animate.removeClass(this.$$element,"ng-empty"),this.$$animate.addClass(this.$$element,"ng-not-empty"))},$setPristine:function(){this.$dirty=!1,this.$pristine=!0,this.$$animate.removeClass(this.$$element,hr),this.$$animate.addClass(this.$$element,fr)},$setDirty:function(){this.$dirty=!0,this.$pristine=!1,this.$$animate.removeClass(this.$$element,fr),this.$$animate.addClass(this.$$element,hr),this.$$parentForm.$setDirty()},$setUntouched:function(){this.$touched=!1,this.$untouched=!0,this.$$animate.setClass(this.$$element,"ng-untouched","ng-touched")},$setTouched:function(){this.$touched=!0,this.$untouched=!1,this.$$animate.setClass(this.$$element,"ng-touched","ng-untouched")},$rollbackViewValue:function(){this.$$timeout.cancel(this.$$pendingDebounce),this.$viewValue=this.$$lastCommittedViewValue,this.$render()},$validate:function(){if(!Jo(this.$modelValue)){var e=this.$$lastCommittedViewValue,t=this.$$rawModelValue,o=this.$valid,i=this.$modelValue,n=this.$options.getOption("allowInvalid"),r=this;this.$$runValidators(t,e,function(e){n||o===e||(r.$modelValue=e?t:void 0,r.$modelValue!==i&&r.$$writeModelToScope())})}},$$runValidators:function(e,t,o){function n(e,t){a===s.$$currentValidationRunId&&s.$setValidity(e,t)}function r(e){a===s.$$currentValidationRunId&&o(e)}this.$$currentValidationRunId++;var a=this.$$currentValidationRunId,s=this;!function(){var e=s.$$parserName||"parse";return g(s.$$parserValid)?(n(e,null),!0):(s.$$parserValid||(i(s.$validators,function(e,t){n(t,null)}),i(s.$asyncValidators,function(e,t){n(t,null)})),n(e,s.$$parserValid),s.$$parserValid)}()?r(!1):function(){var o=!0;return i(s.$validators,function(i,r){var a=Boolean(i(e,t));o=o&&a,n(r,a)}),!!o||(i(s.$asyncValidators,function(e,t){n(t,null)}),!1)}()?function(){var o=[],a=!0;i(s.$asyncValidators,function(i,r){var s=i(e,t);if(!s||!x(s.then))throw gr("nopromise",s);n(r,void 0),o.push(s.then(function(){n(r,!0)},function(){a=!1,n(r,!1)}))}),o.length?s.$$q.all(o).then(function(){r(a)},u):r(!0)}():r(!1)},$commitViewValue:function(){var e=this.$viewValue;this.$$timeout.cancel(this.$$pendingDebounce),(this.$$lastCommittedViewValue!==e||""===e&&this.$$hasNativeValidators)&&(this.$$updateEmptyClasses(e),this.$$lastCommittedViewValue=e,this.$pristine&&this.$setDirty(),this.$$parseAndValidate())},$$parseAndValidate:function(){var e=this.$$lastCommittedViewValue,t=this;if(this.$$parserValid=!g(e)||void 0)for(var o=0;o<this.$parsers.length;o++)if(g(e=this.$parsers[o](e))){this.$$parserValid=!1;break}Jo(this.$modelValue)&&(this.$modelValue=this.$$ngModelGet(this.$$scope));var i=this.$modelValue,n=this.$options.getOption("allowInvalid");this.$$rawModelValue=e,n&&(this.$modelValue=e,t.$modelValue!==i&&t.$$writeModelToScope()),this.$$runValidators(e,this.$$lastCommittedViewValue,function(o){n||(t.$modelValue=o?e:void 0,t.$modelValue!==i&&t.$$writeModelToScope())})},$$writeModelToScope:function(){this.$$ngModelSet(this.$$scope,this.$modelValue),i(this.$viewChangeListeners,function(e){try{e()}catch(e){this.$$exceptionHandler(e)}},this)},$setViewValue:function(e,t){this.$viewValue=e,this.$options.getOption("updateOnDefault")&&this.$$debounceViewValueCommit(t)},$$debounceViewValueCommit:function(e){var t=this.$options.getOption("debounce");_(t[e])?t=t[e]:_(t.default)&&(t=t.default),this.$$timeout.cancel(this.$$pendingDebounce);var o=this;0<t?this.$$pendingDebounce=this.$$timeout(function(){o.$commitViewValue()},t):this.$$scope.$root.$$phase?this.$commitViewValue():this.$$scope.$apply(function(){o.$commitViewValue()})}},yo({clazz:Lo,set:function(e,t){e[t]=!0},unset:function(e,t){delete e[t]}});var mr,vr=["$rootScope",function(e){return{restrict:"A",require:["ngModel","^?form","^?ngModelOptions"],controller:Lo,priority:1,compile:function(t){return t.addClass(fr).addClass("ng-untouched").addClass(ur),{pre:function(e,t,o,i){var n=i[0];t=i[1]||n.$$parentForm,(i=i[2])&&(n.$options=i.$options),n.$$initGetterSetters(),t.$addControl(n),o.$observe("name",function(e){n.$name!==e&&n.$$parentForm.$$renameControl(n,e)}),e.$on("$destroy",function(){n.$$parentForm.$removeControl(n)})},post:function(t,o,i,n){function r(){a.$setTouched()}var a=n[0];a.$options.getOption("updateOn")&&o.on(a.$options.getOption("updateOn"),function(e){a.$$debounceViewValueCommit(e&&e.type)}),o.on("blur",function(){a.$touched||(e.$$phase?t.$evalAsync(r):t.$apply(r))})}}}}}],br=/(\s+|^)default(\s+|$)/;qo.prototype={getOption:function(e){return this.$$options[e]},createChild:function(e){var t=!1;return i(e=s({},e),function(o,i){"$inherit"===o?"*"===i?t=!0:(e[i]=this.$$options[i],"updateOn"===i&&(e.updateOnDefault=this.$$options.updateOnDefault)):"updateOn"===i&&(e.updateOnDefault=!1,e[i]=ei(o.replace(br,function(){return e.updateOnDefault=!0," "})))},this),t&&(delete e["*"],Do(e,this.$$options)),Do(e,mr.$$options),new qo(e)}},mr=new qo({updateOn:"",updateOnDefault:!0,debounce:0,getterSetter:!1,allowInvalid:!1,timezone:null});var yr=function(){function e(e,t){this.$$attrs=e,this.$$scope=t}return e.$inject=["$attrs","$scope"],e.prototype={$onInit:function(){var e=this.parentCtrl?this.parentCtrl.$options:mr,t=this.$$scope.$eval(this.$$attrs.ngModelOptions);this.$options=e.createChild(t)}},{restrict:"A",priority:10,require:{parentCtrl:"?^^ngModelOptions"},bindToController:!0,controller:e}},_r=mo({terminal:!0,priority:1e3}),wr=t("ngOptions"),xr=/^\s*([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+group\s+by\s+([\s\S]+?))?(?:\s+disable\s+when\s+([\s\S]+?))?\s+for\s+(?:([$\w][$\w]*)|(?:\(\s*([$\w][$\w]*)\s*,\s*([$\w][$\w]*)\s*\)))\s+in\s+([\s\S]+?)(?:\s+track\s+by\s+([\s\S]+?))?$/,jr=["$compile","$document","$parse",function(t,n,r){function a(e,t,i){function n(e,t,o,i,n){this.selectValue=e,this.viewValue=t,this.label=o,this.group=i,this.disabled=n}function a(e){var t;if(!c&&o(e))t=e;else for(var i in t=[],e)e.hasOwnProperty(i)&&"$"!==i.charAt(0)&&t.push(i);return t}var s=e.match(xr);if(!s)throw wr("iexp",e,P(t));var l=s[5]||s[7],c=s[6];e=/ as /.test(s[0])&&s[1];var d=s[9];t=r(s[2]?s[1]:l);var u=e&&r(e)||t,p=d&&r(d),f=d?function(e,t){return p(i,t)}:function(e){return Ee(e)},h=function(e,t){return f(e,_(e,t))},g=r(s[2]||s[1]),m=r(s[3]||""),v=r(s[4]||""),b=r(s[8]),y={},_=c?function(e,t){return y[c]=t,y[l]=e,y}:function(e){return y[l]=e,y};return{trackBy:d,getTrackByValue:h,getWatchables:r(b,function(e){for(var t=[],o=a(e=e||[]),n=o.length,r=0;r<n;r++){var l=e[c=e===o?r:o[r]],c=_(l,c);l=f(l,c);t.push(l),(s[2]||s[1])&&(l=g(i,c),t.push(l)),s[4]&&(c=v(i,c),t.push(c))}return t}),getOptions:function(){for(var e=[],t={},o=b(i)||[],r=a(o),s=r.length,l=0;l<s;l++){var c=o===r?l:r[l],p=_(o[c],c),y=u(i,p);y=new n(c=f(y,p),y,g(i,p),m(i,p),p=v(i,p));e.push(y),t[c]=y}return{items:e,selectValueMap:t,getOptionFromViewValue:function(e){return t[h(e)]},getViewValueFromOption:function(e){return d?M(e.viewValue):e.viewValue}}}}}var s=e.document.createElement("option"),l=e.document.createElement("optgroup");return{restrict:"A",terminal:!0,require:["select","ngModel"],link:{pre:function(e,t,o,i){i[0].registerOption=u},post:function(e,o,r,c){function d(e){var t=(e=y.getOptionFromViewValue(e))&&e.element;return t&&!t.selected&&(t.selected=!0),e}function u(){var e=y&&p.readValue();if(y)for(var t=y.items.length-1;0<=t;t--){var i=y.items[t];m(i.group)?je(i.element.parentNode):je(i.element)}y=_.getOptions();var n={};b&&o.prepend(p.emptyOption),y.items.forEach(function(e){var t;if(m(e.group)){(t=n[e.group])||(t=l.cloneNode(!1),w.appendChild(t),t.label=null===e.group?"null":e.group,n[e.group]=t);var o=s.cloneNode(!1)}else t=w,o=s.cloneNode(!1);t.appendChild(o),function(e,t){e.element=t,t.disabled=e.disabled,e.label!==t.label&&(t.label=e.label,t.textContent=e.label),t.value=e.selectValue}(e,o)}),o[0].appendChild(w),f.$render(),f.$isEmpty(e)||(t=p.readValue(),(_.trackBy||h?T(e,t):e===t)||(f.$setViewValue(t),f.$render()))}var p=c[0],f=c[1],h=r.multiple;c=0;for(var g=o.children(),v=g.length;c<v;c++)if(""===g[c].value){p.hasEmptyOption=!0,p.emptyOption=g.eq(c);break}var b=!!p.emptyOption;zo(s.cloneNode(!1)).val("?");var y,_=a(r.ngOptions,o,e),w=n[0].createDocumentFragment();p.generateUnknownOptionValue=function(e){return"?"},h?(p.writeValue=function(e){var t=e&&e.map(d)||[];y.items.forEach(function(e){e.element.selected&&-1===Array.prototype.indexOf.call(t,e)&&(e.element.selected=!1)})},p.readValue=function(){var e=o.val()||[],t=[];return i(e,function(e){(e=y.selectValueMap[e])&&!e.disabled&&t.push(y.getViewValueFromOption(e))}),t},_.trackBy&&e.$watchCollection(function(){if(Zo(f.$viewValue))return f.$viewValue.map(function(e){return _.getTrackByValue(e)})},function(){f.$render()})):(p.writeValue=function(e){var t=y.selectValueMap[o.val()],i=y.getOptionFromViewValue(e);t&&t.element.removeAttribute("selected"),i?(o[0].value!==i.selectValue&&(p.removeUnknownOption(),p.unselectEmptyOption(),o[0].value=i.selectValue,i.element.selected=!0),i.element.setAttribute("selected","selected")):b?p.selectEmptyOption():p.unknownOption.parent().length?p.updateUnknownOption(e):p.renderUnknownOption(e)},p.readValue=function(){var e=y.selectValueMap[o.val()];return e&&!e.disabled?(p.unselectEmptyOption(),p.removeUnknownOption(),y.getViewValueFromOption(e)):null},_.trackBy&&e.$watch(function(){return _.getTrackByValue(f.$viewValue)},function(){f.$render()})),b&&(p.emptyOption.remove(),t(p.emptyOption)(e),8===p.emptyOption[0].nodeType?(p.hasEmptyOption=!1,p.registerOption=function(e,t){""===t.val()&&(p.hasEmptyOption=!0,p.emptyOption=t,p.emptyOption.removeClass("ng-scope"),f.$render(),t.on("$destroy",function(){p.hasEmptyOption=!1,p.emptyOption=void 0}))}):p.emptyOption.removeClass("ng-scope")),o.empty(),u(),e.$watchCollection(_.getWatchables,u)}}}}],kr=["$locale","$interpolate","$log",function(e,t,o){var n=/{}/g,r=/^when(Minus)?(.+)$/;return{link:function(a,s,l){function c(e){s.text(e||"")}var d,p=l.count,f=l.$attr.when&&s.attr(l.$attr.when),h=l.offset||0,m=a.$eval(f)||{},v={},b=t.startSymbol(),y=t.endSymbol(),_=b+p+"-"+h+y,w=Go.noop;i(l,function(e,t){var o=r.exec(t);o&&(o=(o[1]?"-":"")+Ro(o[2]),m[o]=s.attr(l.$attr[t]))}),i(m,function(e,o){v[o]=t(e.replace(n,_))}),a.$watch(p,function(t){var i=parseFloat(t),n=Jo(i);n||i in m||(i=e.pluralCat(i-h)),i===d||n&&Jo(d)||(w(),g(n=v[i])?(null!=t&&o.debug("ngPluralize: no rule defined for '"+i+"' in "+f),w=u,c()):w=a.$watch(n,c),d=i)})}}}],Cr=["$parse","$animate","$compile",function(e,n,r){var a=t("ngRepeat"),s=function(e,t,o,i,n,r,a){e[o]=i,n&&(e[n]=r),e.$index=t,e.$first=0===t,e.$last=t===a-1,e.$middle=!(e.$first||e.$last),e.$odd=!(e.$even=0==(1&t))};return{restrict:"A",multiElement:!0,transclude:"element",priority:1e3,terminal:!0,$$tlb:!0,compile:function(t,l){var c=l.ngRepeat,d=r.$$createComment("end ngRepeat",c);if(!(u=c.match(/^\s*([\s\S]+?)\s+in\s+([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+track\s+by\s+([\s\S]+?))?\s*$/)))throw a("iexp",c);var u,p=u[1],f=u[2],h=u[3],g=u[4];if(!(u=p.match(/^(?:(\s*[$\w]+)|\(\s*([$\w]+)\s*,\s*([$\w]+)\s*\))$/)))throw a("iidexp",p);var m=u[3]||u[1],v=u[2];if(h&&(!/^[$a-zA-Z_][$a-zA-Z0-9_]*$/.test(h)||/^(null|undefined|this|\$index|\$first|\$middle|\$last|\$even|\$odd|\$parent|\$root|\$id)$/.test(h)))throw a("badident",h);var b,y,_,w,x={$id:Ee};return g?b=e(g):(_=function(e,t){return Ee(t)},w=function(e){return e}),function(e,t,r,l,u){b&&(y=function(t,o,i){return v&&(x[v]=t),x[m]=o,x.$index=i,b(e,x)});var p=te();e.$watchCollection(f,function(r){var l,f,g,b,x,j,k,C,$,A,S=t[0],E=te();if(h&&(e[h]=r),o(r))C=r,f=y||_;else for(A in f=y||w,C=[],r)Vo.call(r,A)&&"$"!==A.charAt(0)&&C.push(A);for(b=C.length,A=Array(b),l=0;l<b;l++)if(x=r===C?l:C[l],j=r[x],k=f(x,j,l),p[k])$=p[k],delete p[k],E[k]=$,A[l]=$;else{if(E[k])throw i(A,function(e){e&&e.scope&&(p[e.id]=e)}),a("dupes",c,k,j);A[l]={id:k,scope:void 0,clone:void 0},E[k]=!0}for(g in p){if(k=ee(($=p[g]).clone),n.leave(k),k[0].parentNode)for(l=0,f=k.length;l<f;l++)k[l].$$NG_REMOVED=!0;$.scope.$destroy()}for(l=0;l<b;l++)if(x=r===C?l:C[l],j=r[x],($=A[l]).scope){g=S;do{g=g.nextSibling}while(g&&g.$$NG_REMOVED);$.clone[0]!==g&&n.move(ee($.clone),null,S),S=$.clone[$.clone.length-1],s($.scope,l,m,j,v,x,b)}else u(function(e,t){$.scope=t;var o=d.cloneNode(!1);e[e.length++]=o,n.enter(e,null,S),S=o,$.clone=e,E[$.id]=$,s($.scope,l,m,j,v,x,b)});p=E})}}}}],$r=["$animate",function(e){return{restrict:"A",multiElement:!0,link:function(t,o,i){t.$watch(i.ngShow,function(t){e[t?"removeClass":"addClass"](o,"ng-hide",{tempClasses:"ng-hide-animate"})})}}}],Ar=["$animate",function(e){return{restrict:"A",multiElement:!0,link:function(t,o,i){t.$watch(i.ngHide,function(t){e[t?"addClass":"removeClass"](o,"ng-hide",{tempClasses:"ng-hide-animate"})})}}}],Sr=mo(function(e,t,o){e.$watch(o.ngStyle,function(e,o){o&&e!==o&&i(o,function(e,o){t.css(o,"")}),e&&t.css(e)},!0)}),Er=["$animate","$compile",function(e,t){return{require:"ngSwitch",controller:["$scope",function(){this.cases={}}],link:function(o,n,r,a){var s=[],l=[],c=[],d=[],u=function(e,t){return function(o){!1!==o&&e.splice(t,1)}};o.$watch(r.ngSwitch||r.on,function(o){for(var n,r;c.length;)e.cancel(c.pop());for(n=0,r=d.length;n<r;++n){var p=ee(l[n].clone);d[n].$destroy(),(c[n]=e.leave(p)).done(u(c,n))}l.length=0,d.length=0,(s=a.cases["!"+o]||a.cases["?"])&&i(s,function(o){o.transclude(function(i,n){d.push(n);var r=o.element;i[i.length++]=t.$$createComment("end ngSwitchWhen"),l.push({clone:i}),e.enter(i,r.parent(),r)})})})}}}],Mr=mo({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(e,t,o,n,r){i(o.ngSwitchWhen.split(o.ngSwitchWhenSeparator).sort().filter(function(e,t,o){return o[t-1]!==e}),function(e){n.cases["!"+e]=n.cases["!"+e]||[],n.cases["!"+e].push({transclude:r,element:t})})}}),Tr=mo({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(e,t,o,i,n){i.cases["?"]=i.cases["?"]||[],i.cases["?"].push({transclude:n,element:t})}}),Lr=t("ngTransclude"),qr=["$compile",function(e){return{restrict:"EAC",terminal:!0,compile:function(t){var o=e(t.contents());return t.empty(),function(e,t,i,n,r){function a(){o(e,function(e){t.append(e)})}if(!r)throw Lr("orphan",P(t));i.ngTransclude===i.$attr.ngTransclude&&(i.ngTransclude=""),r(function(e,o){var i;if(i=e.length)e:{i=0;for(var n=e.length;i<n;i++){var r=e[i];if(r.nodeType!==ci||r.nodeValue.trim()){i=!0;break e}}i=void 0}i?t.append(e):(a(),o.$destroy())},null,i=i.ngTransclude||i.ngTranscludeSlot),i&&!r.isSlotFilled(i)&&a()}}}}],Dr=["$templateCache",function(e){return{restrict:"E",terminal:!0,compile:function(t,o){"text/ng-template"===o.type&&e.put(o.id,t[0].text)}}}],Ir={$setViewValue:u,$render:u},zr=["$element","$scope",function(t,o){function i(){l||(l=!0,o.$$postDigest(function(){l=!1,a.ngModelCtrl.$render()}))}function n(e){c||(c=!0,o.$$postDigest(function(){o.$$destroyed||(c=!1,a.ngModelCtrl.$setViewValue(a.readValue()),e&&a.ngModelCtrl.$render())}))}function r(e){e.prop("selected",!0),e.attr("selected",!0)}var a=this,s=new Me;a.selectValueMap={},a.ngModelCtrl=Ir,a.multiple=!1,a.unknownOption=zo(e.document.createElement("option")),a.hasEmptyOption=!1,a.emptyOption=void 0,a.renderUnknownOption=function(e){e=a.generateUnknownOptionValue(e),a.unknownOption.val(e),t.prepend(a.unknownOption),r(a.unknownOption),t.val(e)},a.updateUnknownOption=function(e){e=a.generateUnknownOptionValue(e),a.unknownOption.val(e),r(a.unknownOption),t.val(e)},a.generateUnknownOptionValue=function(e){return"? "+Ee(e)+" ?"},a.removeUnknownOption=function(){a.unknownOption.parent()&&a.unknownOption.remove()},a.selectEmptyOption=function(){a.emptyOption&&(t.val(""),r(a.emptyOption))},a.unselectEmptyOption=function(){a.hasEmptyOption&&a.emptyOption.removeAttr("selected")},o.$on("$destroy",function(){a.renderUnknownOption=u}),a.readValue=function(){var e=(e=t.val())in a.selectValueMap?a.selectValueMap[e]:e;return a.hasOption(e)?e:null},a.writeValue=function(e){var o=t[0].options[t[0].selectedIndex];o&&o.removeAttribute("selected"),a.hasOption(e)?(a.removeUnknownOption(),o=Ee(e),t.val(o in a.selectValueMap?o:e),r(zo(t[0].options[t[0].selectedIndex]))):null==e&&a.emptyOption?(a.removeUnknownOption(),a.selectEmptyOption()):a.unknownOption.parent().length?a.updateUnknownOption(e):a.renderUnknownOption(e)},a.addOption=function(e,t){if(8!==t[0].nodeType){Z(e,'"option value"'),""===e&&(a.hasEmptyOption=!0,a.emptyOption=t);var o=s.get(e)||0;s.put(e,o+1),i()}},a.removeOption=function(e){var t=s.get(e);t&&(1===t?(s.remove(e),""===e&&(a.hasEmptyOption=!1,a.emptyOption=void 0)):s.put(e,t-1))},a.hasOption=function(e){return!!s.get(e)};var l=!1,c=!1;a.registerOption=function(e,t,o,i,r){if(o.$attr.ngValue){var s,l=NaN;o.$observe("value",function(e){var o,i=t.prop("selected");m(l)&&(a.removeOption(s),delete a.selectValueMap[l],o=!0),l=Ee(e),s=e,a.selectValueMap[l]=e,a.addOption(e,t),t.attr("value",l),o&&i&&n()})}else i?o.$observe("value",function(e){a.readValue();var o,i=t.prop("selected");m(s)&&(a.removeOption(s),o=!0),s=e,a.addOption(e,t),o&&i&&n()}):r?e.$watch(r,function(e,i){o.$set("value",e);var r=t.prop("selected");i!==e&&a.removeOption(i),a.addOption(e,t),i&&r&&n()}):a.addOption(o.value,t);o.$observe("disabled",function(e){("true"===e||e&&t.prop("selected"))&&(a.multiple?n(!0):(a.ngModelCtrl.$setViewValue(null),a.ngModelCtrl.$render()))}),t.on("$destroy",function(){var e=a.readValue(),t=o.value;a.removeOption(t),a.ngModelCtrl.$render(),(a.multiple&&e&&-1!==e.indexOf(t)||e===t)&&n(!0)})}}],Nr=function(){return{restrict:"E",require:["select","?ngModel"],controller:zr,priority:1,link:{pre:function(e,t,o,n){var r=n[0],a=n[1];if(a){if(r.ngModelCtrl=a,t.on("change",function(){r.removeUnknownOption(),e.$apply(function(){a.$setViewValue(r.readValue())})}),o.multiple){r.multiple=!0,r.readValue=function(){var e=[];return i(t.find("option"),function(t){t.selected&&!t.disabled&&(t=t.value,e.push(t in r.selectValueMap?r.selectValueMap[t]:t))}),e},r.writeValue=function(e){var o=new Me(e);i(t.find("option"),function(e){e.selected=m(o.get(e.value))||m(o.get(r.selectValueMap[e.value]))})};var s,l=NaN;e.$watch(function(){l!==a.$viewValue||T(s,a.$viewValue)||(s=ie(a.$viewValue),a.$render()),l=a.$viewValue}),a.$isEmpty=function(e){return!e||0===e.length}}}else r.registerOption=u},post:function(e,t,o,i){var n=i[1];if(n){var r=i[0];n.$render=function(){r.writeValue(n.$viewValue)}}}}}},Or=["$interpolate",function(e){return{restrict:"E",priority:100,compile:function(t,o){var i,n;return m(o.ngValue)||(m(o.value)?i=e(o.value,!0):(n=e(t.text(),!0))||o.$set("value",t.text())),function(e,t,o){var r=t.parent();(r=r.data("$selectController")||r.parent().data("$selectController"))&&r.registerOption(e,t,o,i,n)}}}}],Pr=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,o,i){i&&(o.required=!0,i.$validators.required=function(e,t){return!o.required||!i.$isEmpty(t)},o.$observe("required",function(){i.$validate()}))}}},Vr=function(){return{restrict:"A",require:"?ngModel",link:function(e,o,i,n){if(n){var r,a=i.ngPattern||i.pattern;i.$observe("pattern",function(e){if(y(e)&&0<e.length&&(e=new RegExp("^"+e+"$")),e&&!e.test)throw t("ngPattern")("noregexp",a,e,P(o));r=e||void 0,n.$validate()}),n.$validators.pattern=function(e,t){return n.$isEmpty(t)||g(r)||r.test(t)}}}}},Rr=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,o,i){if(i){var n=-1;o.$observe("maxlength",function(e){e=c(e),n=Jo(e)?-1:e,i.$validate()}),i.$validators.maxlength=function(e,t){return 0>n||i.$isEmpty(t)||t.length<=n}}}}},Br=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,o,i){if(i){var n=0;o.$observe("minlength",function(e){n=c(e)||0,i.$validate()}),i.$validators.minlength=function(e,t){return i.$isEmpty(t)||t.length>=n}}}}};e.angular.bootstrap?e.console&&console.log("WARNING: Tried to load angular more than once."):(function(){var t;if(!li){var o=ii();(No=g(o)?e.jQuery:o?e[o]:void 0)&&No.fn.on?(zo=No,s(No.fn,{scope:ji.scope,isolateScope:ji.isolateScope,controller:ji.controller,injector:ji.injector,inheritedData:ji.inheritedData}),t=No.cleanData,No.cleanData=function(e){for(var o,i,n=0;null!=(i=e[n]);n++)(o=No._data(i,"events"))&&o.$destroy&&No(i).triggerHandler("$destroy");t(e)}):zo=ce,Go.element=zo,li=!0}}(),s(Go,{bootstrap:U,copy:M,extend:s,merge:l,equals:T,element:zo,forEach:i,injector:Le,noop:u,bind:q,toJson:I,fromJson:z,identity:p,isUndefined:g,isDefined:m,isString:y,isFunction:x,isObject:v,isNumber:_,isElement:A,isArray:Zo,version:di,isDate:w,lowercase:Ro,uppercase:Bo,callbacks:{$$counter:0},getTestability:K,reloadWithDebugInfo:Y,$$minErr:t,$$csp:oi,$$encodeUriSegment:H,$$encodeUriQuery:F,$$stringify:oe}),(Oo=function(e){function o(e,t,o){return e[t]||(e[t]=o())}var i=t("$injector"),n=t("ng");return(e=o(e,"angular",Object)).$$minErr=e.$$minErr||t,o(e,"module",function(){var e={};return function(t,r,a){if("hasOwnProperty"===t)throw n("badname","module");return r&&e.hasOwnProperty(t)&&(e[t]=null),o(e,t,function(){function e(e,t,o,i){return i||(i=n),function(){return i[o||"push"]([e,t,arguments]),d}}function o(e,o,i){return i||(i=n),function(n,r){return r&&x(r)&&(r.$$moduleName=t),i.push([e,o,arguments]),d}}if(!r)throw i("nomod",t);var n=[],s=[],l=[],c=e("$injector","invoke","push",s),d={_invokeQueue:n,_configBlocks:s,_runBlocks:l,requires:r,name:t,provider:o("$provide","provider"),factory:o("$provide","factory"),service:o("$provide","service"),value:e("$provide","value"),constant:e("$provide","constant","unshift"),decorator:o("$provide","decorator",s),animation:o("$animateProvider","register"),filter:o("$filterProvider","register"),controller:o("$controllerProvider","register"),directive:o("$compileProvider","directive"),component:o("$compileProvider","component"),config:c,run:function(e){return l.push(e),this}};return a&&c(a),d})}})}(e))("ng",["ngLocale"],["$provide",function(e){e.provider({$$sanitizeUri:Ot}),e.provider("$compile",Ve).directive({a:En,input:Un,textarea:Un,form:qn,script:Dr,select:Nr,option:Or,ngBind:Gn,ngBindHtml:Jn,ngBindTemplate:Xn,ngClass:Qn,ngClassEven:tr,ngClassOdd:er,ngCloak:or,ngController:ir,ngForm:Dn,ngHide:Ar,ngIf:ar,ngInclude:sr,ngInit:cr,ngNonBindable:_r,ngPluralize:kr,ngRepeat:Cr,ngShow:$r,ngStyle:Sr,ngSwitch:Er,ngSwitchWhen:Mr,ngSwitchDefault:Tr,ngOptions:jr,ngTransclude:qr,ngModel:vr,ngList:dr,ngChange:Zn,pattern:Vr,ngPattern:Vr,required:Pr,ngRequired:Pr,minlength:Br,ngMinlength:Br,maxlength:Rr,ngMaxlength:Rr,ngValue:Kn,ngModelOptions:yr}).directive({ngInclude:lr}).directive(Mn).directive(nr),e.provider({$anchorScroll:qe,$animate:Ni,$animateCss:Vi,$$animateJs:Ii,$$animateQueue:zi,$$AnimateRunner:Pi,$$animateAsyncRun:Oi,$browser:Ne,$cacheFactory:Oe,$controller:We,$document:Ue,$$isDocumentHidden:Ye,$exceptionHandler:Ke,$filter:Jt,$$forceReflow:Yi,$interpolate:rt,$interval:at,$http:ot,$httpParamSerializer:Xe,$httpParamSerializerJQLike:Je,$httpBackend:nt,$xhrFactory:it,$jsonpCallbacks:tn,$location:yt,$log:_t,$parse:Lt,$rootScope:Nt,$q:qt,$$q:Dt,$sce:Rt,$sceDelegate:Vt,$sniffer:Bt,$templateCache:Pe,$templateRequest:Ht,$$testability:Ft,$timeout:Wt,$window:Kt,$$rAF:zt,$$jqLite:Se,$$HashMap:Ai,$$cookieReader:Xt})}]),Go.module("ngLocale",[],["$provide",function(e){e.value("$locale",{DATETIME_FORMATS:{AMPMS:["AM","PM"],DAY:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),ERANAMES:["Before Christ","Anno Domini"],ERAS:["BC","AD"],FIRSTDAYOFWEEK:6,MONTH:"January February March April May June July August September October November December".split(" "),SHORTDAY:"Sun Mon Tue Wed Thu Fri Sat".split(" "),SHORTMONTH:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),STANDALONEMONTH:"January February March April May June July August September October November December".split(" "),WEEKENDRANGE:[5,6],fullDate:"EEEE, MMMM d, y",longDate:"MMMM d, y",medium:"MMM d, y h:mm:ss a",mediumDate:"MMM d, y",mediumTime:"h:mm:ss a",short:"M/d/yy h:mm a",shortDate:"M/d/yy",shortTime:"h:mm a"},NUMBER_FORMATS:{CURRENCY_SYM:"$",DECIMAL_SEP:".",GROUP_SEP:",",PATTERNS:[{gSize:3,lgSize:3,maxFrac:3,minFrac:0,minInt:1,negPre:"-",negSuf:"",posPre:"",posSuf:""},{gSize:3,lgSize:3,maxFrac:2,minFrac:2,minInt:1,negPre:"-¤",negSuf:"",posPre:"¤",posSuf:""}]},id:"en-us",localeID:"en_US",pluralCat:function(e,t){var o=0|e,i=t;return void 0===i&&(i=Math.min(function(e){var t=(e+="").indexOf(".");return-1==t?0:e.length-t-1}(e),3)),Math.pow(10,i),1==o&&0==i?"one":"other"}})}]),zo(function(){W(e.document,U)}))}(window),!window.angular.$$csp().noInlineStyle&&window.angular.element(document.head).prepend('<style type="text/css">@charset "UTF-8";[ng\\:cloak],[ng-cloak],[data-ng-cloak],[x-ng-cloak],.ng-cloak,.x-ng-cloak,.ng-hide:not(.ng-hide-animate){display:none !important;}ng\\:form{display:block;}.ng-animate-shim{visibility:hidden;}.ng-anchor{position:absolute;}</style>'),function(e){var t={};function o(i){if(t[i])return t[i].exports;var n=t[i]={exports:{},id:i,loaded:!1};return e[i].call(n.exports,n,n.exports,o),n.loaded=!0,n.exports}o.m=e,o.c=t,o.p="",o(0)}([function(e,t,o){"use strict";o(1),o(3),o(4),o(5);var i=z(o(7)),n=z(o(9)),r=z(o(10)),a=z(o(12)),s=z(o(17)),l=z(o(19)),c=z(o(21)),d=z(o(23)),u=z(o(25)),p=z(o(27)),f=z(o(29)),h=z(o(31)),g=z(o(33)),m=z(o(35)),v=z(o(37)),b=z(o(39)),y=z(o(41)),_=z(o(43)),w=z(o(45)),x=z(o(47)),j=z(o(49)),k=z(o(51)),C=z(o(53)),$=z(o(55)),A=z(o(57)),S=z(o(58)),E=z(o(60)),M=z(o(65)),T=z(o(67)),L=z(o(69)),q=z(o(71)),D=z(o(73)),I=z(o(74));function z(e){return e&&e.__esModule?e:{default:e}}o(75),angular.module("elfsightAppsEditor",["checklist-model","color.picker","angular-sortable-view","gettext"]).directive("elfsightAppsEditor",i.default).directive("control",n.default).directive("elfsightAppsControlText",r.default).directive("elfsightAppsControlTextarea",a.default).directive("elfsightAppsControlNumber",s.default).directive("elfsightAppsControlStaticHtml",l.default).directive("elfsightAppsControlSelect",c.default).directive("elfsightAppsControlSelectInline",d.default).directive("elfsightAppsControlSelectVisual",u.default).directive("elfsightAppsControlTags",p.default).directive("elfsightAppsControlToggle",f.default).directive("elfsightAppsControlChecklist",h.default).directive("elfsightAppsControlColor",g.default).directive("elfsightAppsControlComplex",m.default).directive("elfsightAppsControlFormComplex",v.default).directive("elfsightAppsControlSubgroup",b.default).directive("elfsightAppsControlDivider",y.default).directive("elfsightAppsControlFile",j.default).directive("elfsightAppsControlCustomGoogleMapsCoordinates",_.default).directive("elfsightAppsControlCustomFacebookFeedToken",w.default).directive("elfsightAppsControlCustomInstagramToken",x.default).directive("elfsightAppsSub",k.default).directive("elfsightAppsVisual",$.default).directive("editorHint",A.default).directive("elfsightAppsEditorToolbar",S.default).directive("elfsightAppsEditorToolbarResolution",E.default).directive("elfsightAppsEditorToolbarBackground",M.default).directive("elfsightAppsTemplates",C.default).factory("$elfsightAppsEditor",T.default).factory("$sub",L.default).factory("$visual",q.default).factory("$l10n",D.default).factory("$utils",I.default).config(["$provide",function(e){e.decorator("ColorPickerOptions",["$delegate",function(e){var t=angular.copy(e);return t.saturation=!1,t.lightness=!1,t.format="rgb",t}])}]).run(["$rootScope",function(e){}]),o(91)},function(e,t,o){var i;i=function(e){"use strict";function t(e){e.put("template/color-picker/directive.html",'<div class="color-picker-wrapper" ng-class="{\'color-picker-disabled\': AngularColorPickerController.options.disabled,\'color-picker-swatch-only\': AngularColorPickerController.options.swatchOnly,\'color-picker-open\': AngularColorPickerController.is_open,\'color-picker-closed\': !AngularColorPickerController.is_open,\'color-picker-horizontal\': AngularColorPickerController.options.horizontal,}"><div class="color-picker-input-wrapper" ng-class="{\'input-group\': AngularColorPickerController.options.swatchBootstrap && AngularColorPickerController.options.swatch}"><span ng-if="AngularColorPickerController.options.swatchPos === \'left\'" class="color-picker-swatch" ng-click="AngularColorPickerController.onSwatchClick($event)" ng-show="AngularColorPickerController.options.swatch" ng-class="{\'color-picker-swatch-left\': AngularColorPickerController.options.swatchPos !== \'right\', \'color-picker-swatch-right\': AngularColorPickerController.options.swatchPos === \'right\', \'input-group-addon\': AngularColorPickerController.options.swatchBootstrap}"></span><input ng-attr-id="{{AngularColorPickerController.options.id}}" ng-attr-name="{{AngularColorPickerController.options.name}}" class="color-picker-input {{AngularColorPickerController.options.inputClass}}" type="text" ng-model="AngularColorPickerController.internalNgModel" ng-model-options="AngularColorPickerController.ngModelOptions" ng-readonly="AngularColorPickerController.options.swatchOnly" ng-disabled="AngularColorPickerController.options.disabled" ng-change="AngularColorPickerController.onChange($event)" size="7" ng-class="{\'color-picker-input-swatch\': AngularColorPickerController.options.swatch && !AngularColorPickerController.options.swatchOnly && AngularColorPickerController.options.swatchPos === \'left\'}" placeholder="{{AngularColorPickerController.options.placeholder}}" ng-required="AngularColorPickerController.options.required"><span ng-if="AngularColorPickerController.options.swatchPos === \'right\'" class="color-picker-swatch" ng-click="AngularColorPickerController.onSwatchClick($event)" ng-show="AngularColorPickerController.options.swatch" ng-class="{\'color-picker-swatch-left\': AngularColorPickerController.options.swatchPos !== \'right\', \'color-picker-swatch-right\': AngularColorPickerController.options.swatchPos === \'right\', \'input-group-addon\': AngularColorPickerController.options.swatchBootstrap}"></span></div><div class="color-picker-panel" ng-class="{\'color-picker-panel-top color-picker-panel-right\': AngularColorPickerController.options.pos === \'top right\',\'color-picker-panel-top color-picker-panel-left\': AngularColorPickerController.options.pos === \'top left\',\'color-picker-panel-bottom color-picker-panel-right\': AngularColorPickerController.options.pos === \'bottom right\',\'color-picker-panel-bottom color-picker-panel-left\': AngularColorPickerController.options.pos === \'bottom left\',\'color-picker-panel-round\': AngularColorPickerController.options.round,\'color-picker-show-hue\': AngularColorPickerController.options.hue,\'color-picker-show-saturation\': AngularColorPickerController.options.saturation,\'color-picker-show-lightness\': AngularColorPickerController.options.lightness,\'color-picker-show-alpha\': AngularColorPickerController.options.alpha && AngularColorPickerController.options.format !== \'hex\',\'color-picker-show-inline\': AngularColorPickerController.options.inline,}"><div class="color-picker-grid-wrapper"><div class="color-picker-row"><div class="color-picker-grid"><div class="color-picker-overlay"></div><div class="color-picker-grid-inner"></div><div class="color-picker-picker"><div></div></div></div><div class="color-picker-hue" ng-show="AngularColorPickerController.options.hue"><div class="color-picker-overlay"></div><div class="color-picker-slider"></div></div><div class="color-picker-saturation" ng-show="AngularColorPickerController.options.saturation"><div class="color-picker-overlay"></div><div class="color-picker-slider"></div></div><div class="color-picker-lightness" ng-show="AngularColorPickerController.options.lightness"><div class="color-picker-overlay"></div><div class="color-picker-slider"></div></div><div class="color-picker-opacity" ng-show="AngularColorPickerController.options.alpha && AngularColorPickerController.options.format !== \'hex\'"><div class="color-picker-overlay"></div><div class="color-picker-slider"></div></div></div></div><div class="color-picker-actions"><button type="button"class="color-picker-action color-picker-action-clear"tabindex="-1"ng-class="AngularColorPickerController.options.clear.class"ng-show="AngularColorPickerController.options.clear.show"ng-click="AngularColorPickerController.api.clear($event)">{{AngularColorPickerController.options.clear.label}}</button><button type="button"class="color-picker-action color-picker-action-reset"tabindex="-1"ng-class="AngularColorPickerController.options.reset.class"ng-show="AngularColorPickerController.options.reset.show"ng-click="AngularColorPickerController.api.reset($event)">{{AngularColorPickerController.options.reset.label}}</button><button type="button"class="color-picker-action color-picker-action-close"tabindex="-1"ng-class="AngularColorPickerController.options.close.class"ng-show="AngularColorPickerController.options.close.show"ng-click="AngularColorPickerController.api.close($event)">{{AngularColorPickerController.options.close.label}}</button></div></div></div>')}t.$inject=["o"],e=e&&e.hasOwnProperty("default")?e.default:e;var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=(function(){function e(e){function t(i,n){try{var r=e[i](n),a=r.value;a instanceof function(e){this.value=e}?Promise.resolve(a.value).then(function(e){t("next",e)},function(e){t("throw",e)}):o(r.done?"return":"normal",r.value)}catch(e){o("throw",e)}}function o(e,o){switch(e){case"return":i.resolve({value:o,done:!0});break;case"throw":i.reject(o);break;default:i.resolve({value:o,done:!1})}(i=i.next)?t(i.key,i.arg):n=null}var i,n;this._invoke=function(e,o){return new Promise(function(r,a){var s={key:e,arg:o,resolve:r,reject:a,next:null};n?n=n.next=s:(i=n=s,t(e,o))})},"function"!=typeof e.return&&(this.return=void 0)}"function"==typeof Symbol&&Symbol.asyncIterator&&(e.prototype[Symbol.asyncIterator]=function(){return this}),e.prototype.next=function(e){return this._invoke("next",e)},e.prototype.throw=function(e){return this._invoke("throw",e)},e.prototype.return=function(e){return this._invoke("return",e)}}(),function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}),n=function(){function e(e,t){for(var o=0;o<t.length;o++){var i=t[o];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,o,i){return o&&e(t.prototype,o),i&&e(t,i),t}}(),r=function(){function t(e,o,n,r,a){i(this,t),this.$scope=e,this.$element=o,this.$document=n,this.$timeout=r,this.ColorPickerOptions=a,this.$scope.init=this.init.bind(this),this.ngModelOptions={},this.hue=0,this.saturation=void 0,this.lightness=void 0,this.opacity=void 0,this.basicEventTypes=["hue","saturation","lightness","opacity"],this.fullEventTypes=["color","hue","saturation","lightness","opacity"]}return n(t,[{key:"init",value:function(){this.$scope.control[0].$options&&this.$scope.control[0].$options.$$options&&(this.ngModelOptions=this.$scope.control[0].$options.$$options),this.chrome=Boolean(window.chrome);var e=window.navigator.userAgent.match(/Android\s([0-9\.]*)/i);this.android_version=e&&e.length>1?parseFloat(e[1]):NaN,this.updateModel=!0,this.initWatchers(),this.initConfig(),this.initMouseEvents()}},{key:"initConfig",value:function(){this.options||(this.options={}),this.mergeOptions(this.options,this.ColorPickerOptions),this.is_open=this.options.inline,this.options.inline&&(this.options.close.show=!1),this.pickerDimensions={width:150,height:150},this.sliderDimensions={width:this.options.horizontal?this.pickerDimensions.width:20,height:this.options.horizontal?20:this.pickerDimensions.height}}},{key:"mergeOptions",value:function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e&&e.hasOwnProperty(i)?"object"===o(t[i])&&this.mergeOptions(e[i],t[i]):e[i]=t[i])}},{key:"initWatchers",value:function(){var e=this;this.$scope.$watch("AngularColorPickerController.internalNgModel",this.watchInternalNgModel.bind(this)),this.$scope.$watch("AngularColorPickerController.ngModel",this.watchNgModel.bind(this)),this.$scope.$watch("AngularColorPickerController.options.swatchPos",function(t){void 0!==t&&(e.initConfig(),e.$timeout(function(){e.updateSwatchBackground()}))}),this.$scope.$watchGroup(["AngularColorPickerController.options.format","AngularColorPickerController.options.alpha","AngularColorPickerController.options.case","AngularColorPickerController.options.round","AngularColorPickerController.options.restrictToFormat","AngularColorPickerController.options.preserveInputFormat","AngularColorPickerController.options.allowEmpty","AngularColorPickerController.options.horizontal","AngularColorPickerController.options.dynamicHue","AngularColorPickerController.options.dynamicSaturation","AngularColorPickerController.options.dynamicLightness","AngularColorPickerController.options.dynamicAlpha"],function(t){void 0!==t&&(e.initConfig(),e.update())}),this.$scope.$watchGroup(["AngularColorPickerController.options.disabled","AngularColorPickerController.options.swatchBootstrap","AngularColorPickerController.options.swatchOnly","AngularColorPickerController.options.swatch","AngularColorPickerController.options.pos","AngularColorPickerController.options.inline","AngularColorPickerController.options.placeholder"],function(t){void 0!==t&&e.initConfig()}),this.$scope.$watch("AngularColorPickerController.api",this.setupApi.bind(this)),this.$scope.$watch("AngularColorPickerController.swatchColor",this.updateSwatchBackground.bind(this)),this.$scope.$watch("AngularColorPickerController.hue",function(){e.valueUpdate("hue")}),this.$scope.$watch("AngularColorPickerController.saturation",function(){e.valueUpdate("saturation")}),this.$scope.$watch("AngularColorPickerController.lightness",function(){e.valueUpdate("lightness")}),this.$scope.$watch("AngularColorPickerController.opacity",function(){e.valueUpdate("opacity")})}},{key:"watchInternalNgModel",value:function(e,t){this.colorMouse||this.watchNgModelSet(e)}},{key:"watchNgModel",value:function(e,t){void 0===e||this.hasOwnProperty("initialNgModel")||(this.initialNgModel=e),this.checkDirty(e),this.internalNgModel=this.ngModelOptions.getterSetter?this.ngModel():this.ngModel,this.colorMouse||this.watchNgModelSet(e)}},{key:"watchNgModelSet",value:function(t){var o=this;if(null!=t){var i=e(t),n=this.isColorValid(i);n&&(this.setColorValue(i),this.updateModel=!1,this.$timeout(function(){o.updateModel=!0})),this.$scope.control[0].$setValidity("color",n)}else null!==t&&""!==t||(this.hue=0,this.saturation=void 0,this.lightness=void 0,this.opacity=void 0),this.swatchColor=""}},{key:"initMouseEvents",value:function(){var e=this,t={mouseDown:this.onMouseDown.bind(this),mouseUp:this.onMouseUp.bind(this),mouseMove:this.onMouseMove.bind(this),keyUp:this.onKeyUp.bind(this)};this.$document.on("mousedown",t.mouseDown),this.$document.on("mouseup",t.mouseUp),this.$document.on("mousemove",t.mouseMove),this.$document.on("touchstart",t.mouseDown),this.$document.on("touchend",t.mouseUp),this.$document.on("touchmove",t.mouseMove),this.$document.on("keyup",t.keyUp),this.find(".color-picker-grid").on("click",function(t){e.onClick("color",t)}),this.find(".color-picker-grid").on("touchend",function(t){e.onClick("color",t)}),this.find(".color-picker-hue").on("click",function(t){e.onClick("hue",t)}),this.find(".color-picker-hue").on("touchend",function(t){e.onClick("hue",t)}),this.find(".color-picker-saturation").on("click",function(t){e.onClick("saturation",t)}),this.find(".color-picker-saturation").on("touchend",function(t){e.onClick("saturation",t)}),this.find(".color-picker-lightness").on("click",function(t){e.onClick("lightness",t)}),this.find(".color-picker-lightness").on("touchend",function(t){e.onClick("lightness",t)}),this.find(".color-picker-opacity").on("click",function(t){e.onClick("opacity",t)}),this.find(".color-picker-opacity").on("touchend",function(t){e.onClick("opacity",t)}),this.find(".color-picker-input").on("focusin",this.onFocus.bind(this)),this.find(".color-picker-input").on("focusout",this.onBlur.bind(this)),this.$scope.$on("$destroy",function(){e.$document.off("mousedown",t.mouseDown),e.$document.off("mouseup",t.mouseUp),e.$document.off("mousemove",t.mouseMove),e.$document.off("touchstart",t.mouseDown),e.$document.off("touchend",t.mouseUp),e.$document.off("touchmove",t.mouseMove),e.$document.off("keyup",t.keyUp),e.eventApiDispatch("onDestroy")})}},{key:"onMouseDown",value:function(e){if(this.has_moused_moved=!1,this.options.disabled||0===this.find(e.target).length)return!0;for(var t=0;t<this.fullEventTypes.length;t++)this.onMouseDownType(this.fullEventTypes[t],e)}},{key:"onMouseDownType",value:function(e,t){"color"===e&&(t.target.classList.contains("color-picker-grid-inner")||t.target.classList.contains("color-picker-picker")||t.target.parentNode.classList.contains("color-picker-picker"))?this.mouseEventToggle(e,!1,t):(t.target.classList.contains("color-picker-"+e)||t.target.parentNode.classList.contains("color-picker-"+e))&&this.mouseEventToggle(e,!1,t)}},{key:"onMouseUp",value:function(e){if(this.anyMouseEvents()||0!==this.find(e.target).length)for(var t=0;t<this.fullEventTypes.length;t++)this.onMouseUpType(this.fullEventTypes[t],e);else this.setupApi(),this.options.hide.click&&this.api.close(e),this.$scope.$apply()}},{key:"onMouseUpType",value:function(e,t){this[e+"Mouse"]&&this.has_moused_moved&&(this.mouseEventToggle(e,!0,t),this.onChange(t))}},{key:"onMouseMove",value:function(e){for(var t=0;t<this.fullEventTypes.length;t++)this.onMouseMoveType(this.fullEventTypes[t],e)}},{key:"onMouseMoveType",value:function(e,t){this[e+"Mouse"]&&(this.has_moused_moved=!0,this.valueChange(e,t),this.$scope.$apply())}},{key:"onKeyUp",value:function(e){this.options.hide.escape&&27===e.keyCode&&this.api.close(e)}},{key:"onClick",value:function(e,t){this.options.disabled||this.has_moused_moved||(this.valueChange(e,t),this.mouseEventToggle(e,!0,t),this.onChange(t))}},{key:"onChange",value:function(e){this.internalNgModel!==this.onChangeValue&&(this.onChangeValue=this.internalNgModel,this.eventApiDispatch("onChange",[e]))}},{key:"onBlur",value:function(e){this.internalNgModel!==this.onChangeValue&&(this.updateModel=!0,this.update()),this.$scope.control[0].$setTouched(),this.eventApiDispatch("onBlur",[e]),this.options.hide.blur&&0===this.find(e.relatedTarget).length&&this.api.close(e)}},{key:"onSwatchClick",value:function(e){this.options.show.swatch&&!this.options.disabled&&this.api.open(e)}},{key:"onFocus",value:function(e){this.options.show.focus&&this.api.open(e)}},{key:"setupApi",value:function(){var e=this;this.api||(this.api={}),this.api.open=function(t){if(e.is_open)return!0;e.is_open=!0,e.hueMouse=!1,e.opacityMouse=!1,e.colorMouse=!1,e.$scope.$applyAsync();for(var o=0;o<e.basicEventTypes.length;o++)e.valueUpdate(e.basicEventTypes[o]);e.eventApiDispatch("onOpen",[t])},this.api.close=function(t){e.options.inline||!e.is_open&&null===e.$element[0].querySelector(".color-picker-panel").offsetParent||(e.is_open=!1,e.$scope.$applyAsync(),e.update(),e.eventApiDispatch("onClose",[t]))},this.api.clear=function(t){e.setNgModel(null),e.eventApiDispatch("onClear",[t])},this.api.reset=function(t){e.internalNgModel!==e.initialNgModel&&(e.setNgModel(e.initialNgModel),e.eventApiDispatch("onReset",[t]))},this.api.getElement=function(){return e.$element},this.api.getScope=function(){return e.$scope}}},{key:"setNgModel",value:function(e){this.internalNgModel=e,this.ngModelOptions.getterSetter?this.ngModel(e):this.ngModel=e}},{key:"update",value:function(){if(!this.areAllValuesSet())return!1;var t=e(this.getColorValue());this.swatchColor=t.toHslString(),this.updateGridBackground(t),this.updateHueBackground(t),this.huePosUpdate(),this.updateSaturationBackground(t),this.saturationPosUpdate(),this.updateLightnessBackground(t),this.lightnessPosUpdate(),this.updateOpacityBackground(t),this.opacityPosUpdate();var o=this.options.preserveInputFormat&&e(this.internalNgModel).toHsvString()===t.toHsvString();if(this.updateModel&&!o){var i=t[{rgb:"toRgbString",hex:"toHex",hex8:"toHex8",hexstring:"toHexString",hex8string:"toHex8String",hsv:"toHsvString",hsl:"toHslString",raw:"clone"}[this.options.format.toLowerCase()]]();this.options.format.match(/hex/i)&&(i="upper"===this.options.case?i.toUpperCase():i.toLowerCase()),this.setNgModel(i)}}},{key:"mouseEventToggle",value:function(e,t,o){this.stopEvent(o),this[e+"Mouse"]=!t,this.$scope.$apply()}},{key:"valueChange",value:function(e,t){if(this.stopEvent(t),"color"===e)return this.colorChange(t);var o=this.find(".color-picker-"+e),i=this.getEventPos(t),n=this.getMaxFromType(e);this[e]=this.calculateSliderPos(o,i,n),this[e]>n?this[e]=n:this[e]<0&&(this[e]=0)}},{key:"valueUpdate",value:function(e){if(void 0!==this[e]){if("saturation"===e)this[e+"Pos"]=this[e];else{var t=this.getMaxFromType(e);this[e+"Pos"]=100*(1-this[e]/t)}this[e+"Pos"]<0?this[e+"Pos"]=0:this[e+"Pos"]>100&&(this[e+"Pos"]=100),this.options.round&&(this.getRoundPos(),this.updateRoundPos()),this[e+"PosUpdate"](),this.update()}}},{key:"huePosUpdate",value:function(){var e=angular.element(this.$element[0].querySelector(".color-picker-hue .color-picker-slider"));this.options.horizontal?e.css({left:this.sliderDimensions.width*this.huePos/100+"px",top:0}):e.css({left:0,top:this.sliderDimensions.height*this.huePos/100+"px"})}},{key:"updateHueBackground",value:function(t){var o=this.find(".color-picker-hue .color-picker-overlay"),i=this.options.horizontal?"left":"top",n=this.getColorValue(this.options.dynamicHue),r=this.getColorValue(this.options.dynamicHue),a=this.getColorValue(this.options.dynamicHue),s=this.getColorValue(this.options.dynamicHue),l=this.getColorValue(this.options.dynamicHue),c=this.getColorValue(this.options.dynamicHue),d=this.getColorValue(this.options.dynamicHue);n.h=0,r.h=60,a.h=120,s.h=180,l.h=240,c.h=300,d.h=359,o.css({background:"linear-gradient(to "+i+", "+e(n).toRgbString()+" 0%, "+e(r).toRgbString()+" 17%, "+e(a).toRgbString()+" 33%, "+e(s).toRgbString()+" 50%, "+e(l).toRgbString()+" 67%, "+e(c).toRgbString()+" 83%, "+e(d).toRgbString()+" 100%)"})}},{key:"saturationPosUpdate",value:function(){var e;this.options.round||(e=angular.element(this.$element[0].querySelector(".color-picker-grid .color-picker-picker"))).css({left:this.pickerDimensions.height*this.saturationPos/100+"px"}),e=angular.element(this.$element[0].querySelector(".color-picker-saturation .color-picker-slider")),this.options.horizontal?e.css({left:this.sliderDimensions.width*(100-this.saturationPos)/100+"px",top:0}):e.css({left:0,top:this.sliderDimensions.height*(100-this.saturationPos)/100+"px"})}},{key:"updateSaturationBackground",value:function(t){var o=this.find(".color-picker-saturation .color-picker-overlay"),i=this.options.horizontal?"right":"bottom",n=this.getColorValue(this.options.dynamicSaturation),r=this.getColorValue(this.options.dynamicSaturation);n.s="100%",r.s="0%",o.css({background:"linear-gradient(to "+i+", "+e(n).toRgbString()+" 0%, "+e(r).toRgbString()+" 100%)"})}},{key:"lightnessPosUpdate",value:function(){var e;this.options.round||(e=angular.element(this.$element[0].querySelector(".color-picker-grid .color-picker-picker"))).css({top:this.pickerDimensions.width*this.lightnessPos/100+"px"}),e=angular.element(this.$element[0].querySelector(".color-picker-lightness .color-picker-slider")),this.options.horizontal?e.css({left:this.sliderDimensions.width*this.lightnessPos/100+"px",top:0}):e.css({left:0,top:this.sliderDimensions.height*this.lightnessPos/100+"px"})}},{key:"updateLightnessBackground",value:function(t){var o=this.find(".color-picker-lightness .color-picker-overlay"),i=this.options.horizontal?"right":"bottom",n=this.getColorValue(this.options.dynamicLightness),r=this.getColorValue(this.options.dynamicLightness),a=this.getColorValue(this.options.dynamicLightness);this.options.round?(n.l=100,r.l=50,a.l=0):(n.v=100,r.v=50,a.v=0),o.css({background:"linear-gradient(to "+i+", "+e(n).toRgbString()+" 0%, "+e(r).toRgbString()+" 50%, "+e(a).toRgbString()+" 100%)"})}},{key:"opacityPosUpdate",value:function(){var e=angular.element(this.$element[0].querySelector(".color-picker-opacity .color-picker-slider"));this.options.horizontal?e.css({left:this.sliderDimensions.width*this.opacityPos/100+"px",top:0}):e.css({left:0,top:this.sliderDimensions.height*this.opacityPos/100+"px"})}},{key:"updateOpacityBackground",value:function(t){var o=this.find(".color-picker-opacity .color-picker-overlay"),i=this.options.horizontal?"right":"bottom",n=this.getColorValue(this.options.dynamicAlpha),r=this.getColorValue(this.options.dynamicAlpha);n.a=1,r.a=0,o.css({background:"linear-gradient(to "+i+", "+e(n).toRgbString()+" 0%, "+e(r).toRgbString()+" 100%)"})}},{key:"colorChange",value:function(e){this.stopEvent(e);var t=this.find(".color-picker-grid-inner"),o=this.getEventPos(e),i=this.offset(t);this.options.round?this.colorChangeRound(t,i,o):this.colorChangeSquare(t,i,o)}},{key:"colorChangeRound",value:function(e,t,o){var i=2*(o.pageX-t.left)/e.prop("offsetWidth")-1,n=-2*(o.pageY-t.top)/e.prop("offsetHeight")+1,r=Math.atan2(n,i),a=Math.round(57.29577951308233*r);a<0&&(a+=360),this.hue=a;var s=Math.sqrt(i*i+n*n);s>1?s=1:s<0&&(s=0),this.saturation=100*s,void 0===this.lightness&&(this.lightness=50)}},{key:"colorChangeSquare",value:function(e,t,o){this.saturation=(o.pageX-t.left)/e.prop("offsetWidth")*100,this.lightness=100*(1-(o.pageY-t.top)/e.prop("offsetHeight")),this.saturation>100?this.saturation=100:this.saturation<0&&(this.saturation=0),this.lightness>100?this.lightness=100:this.lightness<0&&(this.lightness=0)}},{key:"updateGridBackground",value:function(t){var o=this.find(".color-picker-grid .color-picker-overlay"),i=this.getColorValue();this.options.round?i.s="0%":(i.s="100%",i.v="100%",i.a=1),o.css({"background-color":e(i).toRgbString(),opacity:t.getAlpha()}),this.find(".color-picker-grid .color-picker-grid-inner").css({opacity:t.getAlpha()})}},{key:"updateSwatchBackground",value:function(){angular.element(this.$element[0].querySelector(".color-picker-swatch")).css({"background-color":this.swatchColor})}},{key:"isColorValid",value:function(e){var t=e.isValid();if(t&&this.options.restrictToFormat&&(t=e.getFormat()===this.getTinyColorFormat()),!t&&this.options.allowEmpty){var o=e.getOriginalInput();null!=o&&""!==o||(t=!0)}return t}},{key:"getTinyColorFormat",value:function(){return"hexString"===this.options.format?"hex":"hex8String"===this.options.format?"hex8":this.options.format}},{key:"areAllValuesSet",value:function(){return void 0!==this.hue&&void 0!==this.saturation&&void 0!==this.lightness}},{key:"getColorValue",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],o={h:this.hue,s:e?this.saturation+"%":"100%",v:e?this.lightness+"%":"100%"};return this.options.round&&(o={h:this.hue,s:e?this.saturation+"%":"100%",l:e?this.lightness+"%":"50%"}),t&&(o.a=e?this.opacity/100:1),o}},{key:"setColorValue",value:function(e){var t=!this.anyMouseEvents(),o=this.options.round?e.toHsl():e.toHsv();(t||this.hueMouse)&&(this.hue=o.h),(t||this.saturationMouse)&&(this.saturation=100*o.s),(t||this.lightnessMouse)&&(this.lightness=100*(this.options.round?o.l:o.v)),this.options.alpha&&(t||this.opacityMouse)&&(this.opacity=100*o.a)}},{key:"checkDirty",value:function(e){this.hasOwnProperty("initialNgModel")&&(e===this.initialNgModel?"function"==typeof this.$scope.control[0].$setPristine&&this.$scope.control[0].$setPristine():"function"==typeof this.$scope.control[0].$setDirty&&this.$scope.control[0].$setDirty())}},{key:"stopEvent",value:function(e){e.stopPropagation(),e.preventDefault()}},{key:"getRoundPos",value:function(){var e=.01745329251994*this.hue,t=Math.cos(e)*this.saturation,o=-Math.sin(e)*this.saturation;if(this.xPos=.5*(t+100),this.yPos=.5*(o+100),Math.pow(50-this.xPos,2)+Math.pow(50-this.yPos,2)>Math.pow(50,2)){var i=Math.atan2(this.yPos-50,this.xPos-50);this.xPos=50*Math.cos(i)+50,this.yPos=50*Math.sin(i)+50}}},{key:"updateRoundPos",value:function(){angular.element(this.$element[0].querySelector(".color-picker-grid .color-picker-picker")).css({left:this.pickerDimensions.width*this.xPos/100+"px",top:this.pickerDimensions.height*this.yPos/100+"px"})}},{key:"getEventPos",value:function(e){if(0===e.type.search("touch")){if(e.originalEvent&&e.originalEvent.changedTouches)return e.originalEvent.changedTouches[0];if(e.changedTouches)return e.changedTouches[0]}return e}},{key:"calculateSliderPos",value:function(e,t,o){return this.options.horizontal?Math.round((1-(t.pageX-this.offset(e).left)/e.prop("offsetWidth"))*o):Math.round((1-(t.pageY-this.offset(e).top)/e.prop("offsetHeight"))*o)}},{key:"eventApiDispatch",value:function(e,t){this.eventApi&&"function"==typeof this.eventApi[e]&&(t||(t=[]),t.unshift(this.internalNgModel),t.unshift(this.api),this.eventApi[e].apply(this,t))}},{key:"find",value:function(e){var t,o=this.wrapper?this.wrapper[0]:this.$element[0],i=[];if(!e)return i;if("string"==typeof e){if(1!==(t=o.nodeType)&&9!==t)return[];i=o.querySelectorAll(e)}else o.contains(e)&&i.push(e);return angular.element(i)}},{key:"offset",value:function(e){var t,o,i,n,r=e[0];if(r)return r.getClientRects().length?(i=r.getBoundingClientRect()).width||i.height?(n=r.ownerDocument,o=this.getWindowElements(n),t=n.documentElement,this.chrome&&this.android_version<6&&screen.width<=768?{top:i.top-t.clientTop,left:i.left-t.clientLeft}:{top:i.top+o.pageYOffset-t.clientTop,left:i.left+o.pageXOffset-t.clientLeft}):i:{top:0,left:0}}},{key:"getWindowElements",value:function(e){return null!==e&&e===e.window?e:9===e.nodeType&&e.defaultView}},{key:"anyMouseEvents",value:function(){return this.colorMouse||this.hueMouse||this.saturationMouse||this.lightnessMouse||this.opacityMouse}},{key:"getMaxFromType",value:function(e){return"hue"===e?360:100}}]),t}();return r.$inject=["$scope","$element","$document","$timeout","ColorPickerOptions"],t.$inject=["$templateCache"],angular.module("color.picker",[]).service("ColorPickerOptions",function e(){return i(this,e),{id:void 0,name:void 0,required:!1,disabled:!1,placeholder:"",inputClass:"",restrictToFormat:!1,preserveInputFormat:!1,allowEmpty:!1,format:"hsl",case:"upper",hue:!0,saturation:!1,lightness:!1,alpha:!0,dynamicHue:!0,dynamicSaturation:!0,dynamicLightness:!0,dynamicAlpha:!0,round:!1,pos:"bottom left",inline:!1,horizontal:!1,swatch:!0,swatchOnly:!1,swatchPos:"left",swatchBootstrap:!0,show:{swatch:!0,focus:!0},hide:{blur:!0,escape:!0,click:!0},close:{show:!1,label:"Close",class:""},clear:{show:!1,label:"Clear",class:""},reset:{show:!1,label:"Reset",class:""}}}).directive("colorPicker",function(){return{restrict:"E",require:["^ngModel"],scope:{ngModel:"=",options:"=?",api:"=?",eventApi:"=?"},bindToController:!0,templateUrl:"template/color-picker/directive.html",controller:r,controllerAs:"AngularColorPickerController",link:function(e,t,o,i){e.control=i,e.init()}}}).run(t)},e.exports=i(o(2))},function(e,t,o){var i;!function(n){var r=/^\s+/,a=/\s+$/,s=0,l=n.round,c=n.min,d=n.max,u=n.random;function p(e,t){if(t=t||{},(e=e||"")instanceof p)return e;if(!(this instanceof p))return new p(e,t);var o=function(e){var t={r:0,g:0,b:0},o=1,i=null,s=null,l=null,u=!1,p=!1;"string"==typeof e&&(e=function(e){e=e.replace(r,"").replace(a,"").toLowerCase();var t,o=!1;if(M[e])e=M[e],o=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};if(t=H.rgb.exec(e))return{r:t[1],g:t[2],b:t[3]};if(t=H.rgba.exec(e))return{r:t[1],g:t[2],b:t[3],a:t[4]};if(t=H.hsl.exec(e))return{h:t[1],s:t[2],l:t[3]};if(t=H.hsla.exec(e))return{h:t[1],s:t[2],l:t[3],a:t[4]};if(t=H.hsv.exec(e))return{h:t[1],s:t[2],v:t[3]};if(t=H.hsva.exec(e))return{h:t[1],s:t[2],v:t[3],a:t[4]};if(t=H.hex8.exec(e))return{r:I(t[1]),g:I(t[2]),b:I(t[3]),a:P(t[4]),format:o?"name":"hex8"};if(t=H.hex6.exec(e))return{r:I(t[1]),g:I(t[2]),b:I(t[3]),format:o?"name":"hex"};if(t=H.hex4.exec(e))return{r:I(t[1]+""+t[1]),g:I(t[2]+""+t[2]),b:I(t[3]+""+t[3]),a:P(t[4]+""+t[4]),format:o?"name":"hex8"};if(t=H.hex3.exec(e))return{r:I(t[1]+""+t[1]),g:I(t[2]+""+t[2]),b:I(t[3]+""+t[3]),format:o?"name":"hex"};return!1}(e));"object"==typeof e&&(F(e.r)&&F(e.g)&&F(e.b)?(f=e.r,h=e.g,g=e.b,t={r:255*q(f,255),g:255*q(h,255),b:255*q(g,255)},u=!0,p="%"===String(e.r).substr(-1)?"prgb":"rgb"):F(e.h)&&F(e.s)&&F(e.v)?(i=N(e.s),s=N(e.v),t=function(e,t,o){e=6*q(e,360),t=q(t,100),o=q(o,100);var i=n.floor(e),r=e-i,a=o*(1-t),s=o*(1-r*t),l=o*(1-(1-r)*t),c=i%6;return{r:255*[o,s,a,a,l,o][c],g:255*[l,o,o,s,a,a][c],b:255*[a,a,l,o,o,s][c]}}(e.h,i,s),u=!0,p="hsv"):F(e.h)&&F(e.s)&&F(e.l)&&(i=N(e.s),l=N(e.l),t=function(e,t,o){var i,n,r;function a(e,t,o){return o<0&&(o+=1),o>1&&(o-=1),o<1/6?e+6*(t-e)*o:o<.5?t:o<2/3?e+(t-e)*(2/3-o)*6:e}if(e=q(e,360),t=q(t,100),o=q(o,100),0===t)i=n=r=o;else{var s=o<.5?o*(1+t):o+t-o*t,l=2*o-s;i=a(l,s,e+1/3),n=a(l,s,e),r=a(l,s,e-1/3)}return{r:255*i,g:255*n,b:255*r}}(e.h,i,l),u=!0,p="hsl"),e.hasOwnProperty("a")&&(o=e.a));var f,h,g;return o=L(o),{ok:u,format:e.format||p,r:c(255,d(t.r,0)),g:c(255,d(t.g,0)),b:c(255,d(t.b,0)),a:o}}(e);this._originalInput=e,this._r=o.r,this._g=o.g,this._b=o.b,this._a=o.a,this._roundA=l(100*this._a)/100,this._format=t.format||o.format,this._gradientType=t.gradientType,this._r<1&&(this._r=l(this._r)),this._g<1&&(this._g=l(this._g)),this._b<1&&(this._b=l(this._b)),this._ok=o.ok,this._tc_id=s++}function f(e,t,o){e=q(e,255),t=q(t,255),o=q(o,255);var i,n,r=d(e,t,o),a=c(e,t,o),s=(r+a)/2;if(r==a)i=n=0;else{var l=r-a;switch(n=s>.5?l/(2-r-a):l/(r+a),r){case e:i=(t-o)/l+(t<o?6:0);break;case t:i=(o-e)/l+2;break;case o:i=(e-t)/l+4}i/=6}return{h:i,s:n,l:s}}function h(e,t,o){e=q(e,255),t=q(t,255),o=q(o,255);var i,n,r=d(e,t,o),a=c(e,t,o),s=r,l=r-a;if(n=0===r?0:l/r,r==a)i=0;else{switch(r){case e:i=(t-o)/l+(t<o?6:0);break;case t:i=(o-e)/l+2;break;case o:i=(e-t)/l+4}i/=6}return{h:i,s:n,v:s}}function g(e,t,o,i){var n=[z(l(e).toString(16)),z(l(t).toString(16)),z(l(o).toString(16))];return i&&n[0].charAt(0)==n[0].charAt(1)&&n[1].charAt(0)==n[1].charAt(1)&&n[2].charAt(0)==n[2].charAt(1)?n[0].charAt(0)+n[1].charAt(0)+n[2].charAt(0):n.join("")}function m(e,t,o,i){return[z(O(i)),z(l(e).toString(16)),z(l(t).toString(16)),z(l(o).toString(16))].join("")}function v(e,t){t=0===t?0:t||10;var o=p(e).toHsl();return o.s-=t/100,o.s=D(o.s),p(o)}function b(e,t){t=0===t?0:t||10;var o=p(e).toHsl();return o.s+=t/100,o.s=D(o.s),p(o)}function y(e){return p(e).desaturate(100)}function _(e,t){t=0===t?0:t||10;var o=p(e).toHsl();return o.l+=t/100,o.l=D(o.l),p(o)}function w(e,t){t=0===t?0:t||10;var o=p(e).toRgb();return o.r=d(0,c(255,o.r-l(-t/100*255))),o.g=d(0,c(255,o.g-l(-t/100*255))),o.b=d(0,c(255,o.b-l(-t/100*255))),p(o)}function x(e,t){t=0===t?0:t||10;var o=p(e).toHsl();return o.l-=t/100,o.l=D(o.l),p(o)}function j(e,t){var o=p(e).toHsl(),i=(o.h+t)%360;return o.h=i<0?360+i:i,p(o)}function k(e){var t=p(e).toHsl();return t.h=(t.h+180)%360,p(t)}function C(e){var t=p(e).toHsl(),o=t.h;return[p(e),p({h:(o+120)%360,s:t.s,l:t.l}),p({h:(o+240)%360,s:t.s,l:t.l})]}function $(e){var t=p(e).toHsl(),o=t.h;return[p(e),p({h:(o+90)%360,s:t.s,l:t.l}),p({h:(o+180)%360,s:t.s,l:t.l}),p({h:(o+270)%360,s:t.s,l:t.l})]}function A(e){var t=p(e).toHsl(),o=t.h;return[p(e),p({h:(o+72)%360,s:t.s,l:t.l}),p({h:(o+216)%360,s:t.s,l:t.l})]}function S(e,t,o){t=t||6,o=o||30;var i=p(e).toHsl(),n=360/o,r=[p(e)];for(i.h=(i.h-(n*t>>1)+720)%360;--t;)i.h=(i.h+n)%360,r.push(p(i));return r}function E(e,t){t=t||6;for(var o=p(e).toHsv(),i=o.h,n=o.s,r=o.v,a=[],s=1/t;t--;)a.push(p({h:i,s:n,v:r})),r=(r+s)%1;return a}p.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,o,i=this.toRgb();return e=i.r/255,t=i.g/255,o=i.b/255,.2126*(e<=.03928?e/12.92:n.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:n.pow((t+.055)/1.055,2.4))+.0722*(o<=.03928?o/12.92:n.pow((o+.055)/1.055,2.4))},setAlpha:function(e){return this._a=L(e),this._roundA=l(100*this._a)/100,this},toHsv:function(){var e=h(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=h(this._r,this._g,this._b),t=l(360*e.h),o=l(100*e.s),i=l(100*e.v);return 1==this._a?"hsv("+t+", "+o+"%, "+i+"%)":"hsva("+t+", "+o+"%, "+i+"%, "+this._roundA+")"},toHsl:function(){var e=f(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=f(this._r,this._g,this._b),t=l(360*e.h),o=l(100*e.s),i=l(100*e.l);return 1==this._a?"hsl("+t+", "+o+"%, "+i+"%)":"hsla("+t+", "+o+"%, "+i+"%, "+this._roundA+")"},toHex:function(e){return g(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,o,i,n){var r=[z(l(e).toString(16)),z(l(t).toString(16)),z(l(o).toString(16)),z(O(i))];if(n&&r[0].charAt(0)==r[0].charAt(1)&&r[1].charAt(0)==r[1].charAt(1)&&r[2].charAt(0)==r[2].charAt(1)&&r[3].charAt(0)==r[3].charAt(1))return r[0].charAt(0)+r[1].charAt(0)+r[2].charAt(0)+r[3].charAt(0);return r.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:l(this._r),g:l(this._g),b:l(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+l(this._r)+", "+l(this._g)+", "+l(this._b)+")":"rgba("+l(this._r)+", "+l(this._g)+", "+l(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:l(100*q(this._r,255))+"%",g:l(100*q(this._g,255))+"%",b:l(100*q(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+l(100*q(this._r,255))+"%, "+l(100*q(this._g,255))+"%, "+l(100*q(this._b,255))+"%)":"rgba("+l(100*q(this._r,255))+"%, "+l(100*q(this._g,255))+"%, "+l(100*q(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(T[g(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+m(this._r,this._g,this._b,this._a),o=t,i=this._gradientType?"GradientType = 1, ":"";if(e){var n=p(e);o="#"+m(n._r,n._g,n._b,n._a)}return"progid:DXImageTransform.Microsoft.gradient("+i+"startColorstr="+t+",endColorstr="+o+")"},toString:function(e){var t=!!e;e=e||this._format;var o=!1,i=this._a<1&&this._a>=0;return t||!i||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(o=this.toRgbString()),"prgb"===e&&(o=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(o=this.toHexString()),"hex3"===e&&(o=this.toHexString(!0)),"hex4"===e&&(o=this.toHex8String(!0)),"hex8"===e&&(o=this.toHex8String()),"name"===e&&(o=this.toName()),"hsl"===e&&(o=this.toHslString()),"hsv"===e&&(o=this.toHsvString()),o||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return p(this.toString())},_applyModification:function(e,t){var o=e.apply(null,[this].concat([].slice.call(t)));return this._r=o._r,this._g=o._g,this._b=o._b,this.setAlpha(o._a),this},lighten:function(){return this._applyModification(_,arguments)},brighten:function(){return this._applyModification(w,arguments)},darken:function(){return this._applyModification(x,arguments)},desaturate:function(){return this._applyModification(v,arguments)},saturate:function(){return this._applyModification(b,arguments)},greyscale:function(){return this._applyModification(y,arguments)},spin:function(){return this._applyModification(j,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(S,arguments)},complement:function(){return this._applyCombination(k,arguments)},monochromatic:function(){return this._applyCombination(E,arguments)},splitcomplement:function(){return this._applyCombination(A,arguments)},triad:function(){return this._applyCombination(C,arguments)},tetrad:function(){return this._applyCombination($,arguments)}},p.fromRatio=function(e,t){if("object"==typeof e){var o={};for(var i in e)e.hasOwnProperty(i)&&(o[i]="a"===i?e[i]:N(e[i]));e=o}return p(e,t)},p.equals=function(e,t){return!(!e||!t)&&p(e).toRgbString()==p(t).toRgbString()},p.random=function(){return p.fromRatio({r:u(),g:u(),b:u()})},p.mix=function(e,t,o){o=0===o?0:o||50;var i=p(e).toRgb(),n=p(t).toRgb(),r=o/100;return p({r:(n.r-i.r)*r+i.r,g:(n.g-i.g)*r+i.g,b:(n.b-i.b)*r+i.b,a:(n.a-i.a)*r+i.a})},p.readability=function(e,t){var o=p(e),i=p(t);return(n.max(o.getLuminance(),i.getLuminance())+.05)/(n.min(o.getLuminance(),i.getLuminance())+.05)},p.isReadable=function(e,t,o){var i,n,r=p.readability(e,t);switch(n=!1,(i=function(e){var t,o;t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),o=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA");"small"!==o&&"large"!==o&&(o="small");return{level:t,size:o}}(o)).level+i.size){case"AAsmall":case"AAAlarge":n=r>=4.5;break;case"AAlarge":n=r>=3;break;case"AAAsmall":n=r>=7}return n},p.mostReadable=function(e,t,o){var i,n,r,a,s=null,l=0;n=(o=o||{}).includeFallbackColors,r=o.level,a=o.size;for(var c=0;c<t.length;c++)(i=p.readability(e,t[c]))>l&&(l=i,s=p(t[c]));return p.isReadable(e,s,{level:r,size:a})||!n?s:(o.includeFallbackColors=!1,p.mostReadable(e,["#fff","#000"],o))};var M=p.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},T=p.hexNames=function(e){var t={};for(var o in e)e.hasOwnProperty(o)&&(t[e[o]]=o);return t}(M);function L(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function q(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var o=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=c(t,d(0,parseFloat(e))),o&&(e=parseInt(e*t,10)/100),n.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function D(e){return c(1,d(0,e))}function I(e){return parseInt(e,16)}function z(e){return 1==e.length?"0"+e:""+e}function N(e){return e<=1&&(e=100*e+"%"),e}function O(e){return n.round(255*parseFloat(e)).toString(16)}function P(e){return I(e)/255}var V,R,B,H=(R="[\\s|\\(]+("+(V="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+V+")[,|\\s]+("+V+")\\s*\\)?",B="[\\s|\\(]+("+V+")[,|\\s]+("+V+")[,|\\s]+("+V+")[,|\\s]+("+V+")\\s*\\)?",{CSS_UNIT:new RegExp(V),rgb:new RegExp("rgb"+R),rgba:new RegExp("rgba"+B),hsl:new RegExp("hsl"+R),hsla:new RegExp("hsla"+B),hsv:new RegExp("hsv"+R),hsva:new RegExp("hsva"+B),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function F(e){return!!H.CSS_UNIT.exec(e)}void 0!==e&&e.exports?e.exports=p:void 0===(i=function(){return p}.call(t,o,t,e))||(e.exports=i)}(Math)},function(e,t){void 0!==e&&void 0!==t&&e.exports===t&&(e.exports="checklist-model"),angular.module("checklist-model",[]).directive("checklistModel",["$parse","$compile",function(e,t){function o(e,t,o){if(angular.isArray(e))for(var i=e.length;i--;)if(o(e[i],t))return!0;return!1}function i(e,t,i){return o(e=angular.isArray(e)?e:[],t,i)||e.push(t),e}function n(e,t,o){if(angular.isArray(e))for(var i=e.length;i--;)if(o(e[i],t)){e.splice(i,1);break}return e}function r(r,a,s){var l=s.checklistModel;s.$set("checklistModel",null),t(a)(r),s.$set("checklistModel",l);var c=e(l),d=e(s.checklistChange),u=e(s.checklistBeforeChange),p=e(s.ngModel),f=function(e,t){return isNaN(e)||isNaN(t)?angular.equals(e,t):String(e)===String(t)};if(s.hasOwnProperty("checklistComparator"))if("."==s.checklistComparator[0]){var h=s.checklistComparator.substring(1);f=function(e,t){return e[h]===t[h]}}else f=e(s.checklistComparator)(r.$parent);var g=r.$watch(s.ngModel,function(e,t){e!==t&&(u&&!1===u(r)?p.assign(r,o(c(r.$parent),b(),f)):(y(b(),e),d&&d(r)))}),m=r.$watch(b,function(e,t){if(e!=t&&angular.isDefined(t)&&!0===r[s.ngModel]){var o=c(r.$parent);c.assign(r.$parent,n(o,t,f)),c.assign(r.$parent,i(o,e,f))}},!0),v=r.$on("$destroy",function(){g(),m(),v()});function b(){return s.checklistValue?e(s.checklistValue)(r.$parent):s.value}function y(e,t){var o=c(r.$parent);angular.isFunction(c.assign)&&(!0===t?c.assign(r.$parent,i(o,e,f)):c.assign(r.$parent,n(o,e,f)))}function _(e,t){u&&!1===u(r)?y(b(),p(r)):p.assign(r,o(e,b(),f))}angular.isFunction(r.$parent.$watchCollection)?r.$parent.$watchCollection(l,_):r.$parent.$watch(l,_,!0)}return{restrict:"A",priority:1e3,terminal:!0,scope:!0,compile:function(e,t){if(!t.checklistValue&&!t.value)throw"You should provide `value` or `checklist-value`.";return t.ngModel||t.$set("ngModel","checked"),r}}}])},function(e,t){!function(e,t){"use strict";var o=t.module("angular-sortable-view",[]);function i(e){if(!("clientX"in e||"clientY"in e)){var t=e.touches||e.originalEvent.touches;t&&t.length&&(e.clientX=t[0].clientX,e.clientY=t[0].clientY),e.preventDefault()}}o.directive("svRoot",[function(){function e(e){return i[e]}var o,i=Object.create(null);return{restrict:"A",controller:["$scope","$attrs","$interpolate","$parse",function(n,r,s,l){var c=s(r.svRoot)(n)||n.$id;i[c]||(i[c]=[]);var d,u,p,f,h,g=!1,m=l(r.svOnSort);r.svOnStart=r.$$element[0].attributes["sv-on-start"],r.svOnStart=r.svOnStart&&r.svOnStart.value,r.svOnStop=r.$$element[0].attributes["sv-on-stop"],r.svOnStop=r.svOnStop&&r.svOnStop.value;var v=l(r.svOnStart),b=l(r.svOnStop);if(this.sortingInProgress=function(){return o},r.svGrid){if(null===(g="true"===r.svGrid||"false"!==r.svGrid&&null))throw"Invalid value of sv-grid attribute"}else n.$watchCollection(function(){return e(c)},function(e){g=!1;var t=e.filter(function(e){return!e.container}).map(function(e){return{part:e.getPart().id,y:e.element[0].getBoundingClientRect().top}}),o=Object.create(null);t.forEach(function(e){o[e.part]?o[e.part].push(e.y):o[e.part]=[e.y]}),Object.keys(o).forEach(function(e){o[e].sort(),o[e].forEach(function(t,i){i<o[e].length-1&&t>0&&t===o[e][i+1]&&(g=!0)})})});this.$moveUpdate=function(i,r,s,l,m,b,y){var _=s[0].getBoundingClientRect();"element"===i.tolerance&&(r={x:~~(_.left+_.width/2),y:~~(_.top+_.height/2)}),o=!0,d=[],u||(m?(u=m.clone()).removeClass("ng-hide"):((u=l.clone()).addClass("sv-visibility-hidden"),u.addClass("sv-placeholder"),u.css({height:_.height+"px",width:_.width+"px"})),l.after(u),l.addClass("ng-hide"),f=l,i,v(n,{$helper:{element:p=s},$part:b.model(b.scope),$index:y,$item:b.model(b.scope)[y]}),n.$root&&n.$root.$$phase||n.$apply()),p[0].reposition({x:r.x+document.body.scrollLeft-r.offset.x*_.width,y:r.y+document.body.scrollTop-r.offset.y*_.height}),e(c).forEach(function(e,t){if(null==i.containment||a(e.element,i.containment)||a(e.element,i.containment+" *")){var o=e.element[0].getBoundingClientRect(),n={x:~~(o.left+o.width/2),y:~~(o.top+o.height/2)};e.container||!e.element[0].scrollHeight&&!e.element[0].scrollWidth||d.push({element:e.element,q:(n.x-r.x)*(n.x-r.x)+(n.y-r.y)*(n.y-r.y),view:e.getPart(),targetIndex:e.getIndex(),after:function(e,t,o){return o?e.x-t.x<0:e.y-t.y<0}(n,r,g)}),e.container&&!e.element[0].querySelector("[sv-element]:not(.sv-placeholder):not(.sv-source)")&&d.push({element:e.element,q:(n.x-r.x)*(n.x-r.x)+(n.y-r.y)*(n.y-r.y),view:e.getPart(),targetIndex:0,container:!0})}});var w=u[0].getBoundingClientRect(),x=~~(w.left+w.width/2),j=~~(w.top+w.height/2);d.push({q:(x-r.x)*(x-r.x)+(j-r.y)*(j-r.y),element:u,placeholder:!0}),d.sort(function(e,t){return e.q-t.q}),d.forEach(function(e,o){var i,n,r;0!==o||e.placeholder||e.container?0===o&&e.container?(h=e,e.element.append(u)):e.element.removeClass("sv-candidate"):(h=e,e.element.addClass("sv-candidate"),e.after?e.element.after(u):(i=e.element,n=u,(r=function(e){if((e=e[0]).previousElementSibling)return t.element(e.previousElementSibling);for(var o=e.previousSibling;null!=o&&1!=o.nodeType;)o=o.previousSibling;return t.element(o)}(i)).length>0?r.after(n):i.parent().prepend(n)))})},this.$drop=function(e,t,i){if(u)if(i.revert){var r=u[0].getBoundingClientRect(),a=p[0].getBoundingClientRect(),s=Math.sqrt(Math.pow(a.top-r.top,2)+Math.pow(a.left-r.left,2)),l=+i.revert*s/200;l=Math.min(l,+i.revert),["-webkit-","-moz-","-ms-","-o-",""].forEach(function(e){void 0!==p[0].style[e+"transition"]&&(p[0].style[e+"transition"]="all "+l+"ms ease")}),setTimeout(c,l),p.css({top:r.top+document.body.scrollTop+"px",left:r.left+document.body.scrollLeft+"px"})}else c();function c(){if(o=!1,u.remove(),p.remove(),f.removeClass("ng-hide"),d=void 0,u=void 0,i=void 0,p=void 0,f=void 0,b(n,{$part:e.model(e.scope),$index:t,$item:e.model(e.scope)[t]}),h){h.element.removeClass("sv-candidate");var r=e.model(e.scope).splice(t,1),a=h.targetIndex;h.view===e&&h.targetIndex>t&&a--,h.after&&a++,h.view.model(h.view.scope).splice(a,0,r[0]),h.view===e&&t===a||m(n,{$partTo:h.view.model(h.view.scope),$partFrom:e.model(e.scope),$item:r[0],$indexTo:a,$indexFrom:t})}h=void 0,n.$root&&n.$root.$$phase||n.$apply()}},this.addToSortableElements=function(t){e(c).push(t)},this.removeFromSortableElements=function(t){var o=e(c),n=o.indexOf(t);n>-1&&(o.splice(n,1),0===o.length&&delete i[c])}}]}}]),o.directive("svPart",["$parse",function(e){return{restrict:"A",require:"^svRoot",controller:["$scope",function(e){e.$ctrl=this,this.getPart=function(){return e.part},this.$drop=function(t,o){e.$sortableRoot.$drop(e.part,t,o)}}],scope:!0,link:function(t,o,i,n){if(!i.svPart)throw new Error("no model provided");var r=e(i.svPart);if(!r.assign)throw new Error("model not assignable");t.part={id:t.$id,element:o,model:r,scope:t},t.$sortableRoot=n;var a={element:o,getPart:t.$ctrl.getPart,container:!0};n.addToSortableElements(a),t.$on("$destroy",function(){n.removeFromSortableElements(a)})}}}]),o.directive("svElement",["$parse",function(e){return{restrict:"A",require:["^svPart","^svRoot"],controller:["$scope",function(e){e.$ctrl=this}],link:function(o,n,r,a){var l={element:n,getPart:a[0].getPart,getIndex:function(){return o.$index}};a[1].addToSortableElements(l),o.$on("$destroy",function(){a[1].removeFromSortableElements(l)});var c,d,u=n;u.on("mousedown touchstart",h),o.$watch("$ctrl.handle",function(e){e&&(u.off("mousedown touchstart",h),(u=e).on("mousedown touchstart",h))}),o.$watch("$ctrl.helper",function(e){e&&(c=e)}),o.$watch("$ctrl.placeholder",function(e){e&&(d=e)});t.element(document.body);var p,f=t.element(document.documentElement);function h(l){if(i(l),!a[1].sortingInProgress()&&(0==l.button||"mousedown"!==l.type)){p=!1;var u=e(r.svElement)(o);if((u=t.extend({},{tolerance:"pointer",revert:200,containment:"html"},u)).containment)var h=s.call(n,u.containment)[0].getBoundingClientRect();var g,m=n,v=n[0].getBoundingClientRect();c||(c=a[0].helper),d||(d=a[0].placeholder),c?((g=c.clone()).removeClass("ng-hide"),g.css({left:v.left+document.body.scrollLeft+"px",top:v.top+document.body.scrollTop+"px"}),m.addClass("sv-visibility-hidden")):(g=m.clone()).addClass("sv-helper").css({left:v.left+document.body.scrollLeft+"px",top:v.top+document.body.scrollTop+"px",width:v.width+"px"}),g[0].reposition=function(e){var t=e.x,o=e.y,i=g[0].getBoundingClientRect(),n=document.body;h&&(o<h.top+n.scrollTop&&(o=h.top+n.scrollTop),o+i.height>h.top+n.scrollTop+h.height&&(o=h.top+n.scrollTop+h.height-i.height),t<h.left+n.scrollLeft&&(t=h.left+n.scrollLeft),t+i.width>h.left+n.scrollLeft+h.width&&(t=h.left+n.scrollLeft+h.width-i.width)),this.style.left=t-n.scrollLeft+"px",this.style.top=o-n.scrollTop+"px"};var b={x:(l.clientX-v.left)/v.width,y:(l.clientY-v.top)/v.height};f.addClass("sv-sorting-in-progress"),f.on("mousemove touchmove",y).on("mouseup touchend touchcancel",function e(t){f.off("mousemove touchmove",y),f.off("mouseup touchend",e),f.removeClass("sv-sorting-in-progress"),p&&a[0].$drop(o.$index,u),n.removeClass("sv-visibility-hidden")})}function y(e){i(e),p||(n.parent().prepend(g),p=!0),a[1].$moveUpdate(u,{x:e.clientX,y:e.clientY,offset:b},g,n,d,a[0].getPart(),o.$index)}}}}}]),o.directive("svHandle",function(){return{require:"?^svElement",link:function(e,t,o,i){i&&(i.handle=t.add(i.handle))}}}),o.directive("svHelper",function(){return{require:["?^svPart","?^svElement"],link:function(e,t,o,i){t.addClass("sv-helper").addClass("ng-hide"),i[1]?i[1].helper=t:i[0]&&(i[0].helper=t)}}}),o.directive("svPlaceholder",function(){return{require:["?^svPart","?^svElement"],link:function(e,t,o,i){t.addClass("sv-placeholder").addClass("ng-hide"),i[1]?i[1].placeholder=t:i[0]&&(i[0].placeholder=t)}}}),t.element(document.head).append(["<style>.sv-helper{position: fixed !important;z-index: 99999;margin: 0 !important;}.sv-candidate{}.sv-placeholder{}.sv-sorting-in-progress{-webkit-user-select: none;-moz-user-select: none;-ms-user-select: none;user-select: none;}.sv-visibility-hidden{visibility: hidden !important;opacity: 0 !important;}</style>"].join(""));var n=document.documentElement,r=n.matches?"matches":n.matchesSelector?"matchesSelector":n.webkitMatches?"webkitMatches":n.webkitMatchesSelector?"webkitMatchesSelector":n.msMatches?"msMatches":n.msMatchesSelector?"msMatchesSelector":n.mozMatches?"mozMatches":n.mozMatchesSelector?"mozMatchesSelector":null;if(null==r)throw"This browser doesn't support the HTMLElement.matches method";function a(e,o){if(e instanceof t.element&&(e=e[0]),null!==r)return e[r](o)}var s=t.element.prototype.closest||function(e){for(var o=this[0].parentNode;o!==document.documentElement&&!o[r](e);)o=o.parentNode;return o[r](e)?t.element(o):t.element()};"function"!=typeof t.element.prototype.add&&(t.element.prototype.add=function(e){var o,i=t.element();for(e=t.element(e),o=0;o<this.length;o++)i.push(this[o]);for(o=0;o<e.length;o++)i.push(e[o]);return i})}(window,window.angular)},function(e,t,o){o(6),e.exports="gettext"},function(e,t){angular.module("gettext",[]),angular.module("gettext").constant("gettext",function(e){return e}),angular.module("gettext").factory("gettextCatalog",["gettextPlurals","gettextFallbackLanguage","$http","$cacheFactory","$interpolate","$rootScope",function(e,t,o,i,n,r){var a,s='<span id="test" title="test" class="tested">test</span>',l=angular.element("<span>"+s+"</span>").html()!==s,c=function(e){return a.debug&&a.currentLanguage!==a.baseLanguage?a.debugPrefix+e:e},d=function(e){return a.showTranslatedMarkers?a.translatedMarkerPrefix+e+a.translatedMarkerSuffix:e};function u(){r.$broadcast("gettextLanguageChanged")}return a={debug:!1,debugPrefix:"[MISSING]: ",showTranslatedMarkers:!1,translatedMarkerPrefix:"[",translatedMarkerSuffix:"]",strings:{},baseLanguage:"en",currentLanguage:"en",cache:i("strings"),setCurrentLanguage:function(e){this.currentLanguage=e,u()},getCurrentLanguage:function(){return this.currentLanguage},setStrings:function(t,o){this.strings[t]||(this.strings[t]={});var i=e(t,1);for(var n in o){var r=o[n];if(l&&(n=angular.element("<span>"+n+"</span>").html()),angular.isString(r)||angular.isArray(r)){var a={};a.$$noContext=r,r=a}for(var s in this.strings[t][n]||(this.strings[t][n]={}),r){var c=r[s];angular.isArray(c)?this.strings[t][n][s]=c:(this.strings[t][n][s]=[],this.strings[t][n][s][i]=c)}}u()},getStringFormFor:function(t,o,i,n){return t?(((this.strings[t]||{})[o]||{})[n||"$$noContext"]||[])[e(t,i)]:null},getString:function(e,o,i){var r=t(this.currentLanguage);return e=this.getStringFormFor(this.currentLanguage,e,1,i)||this.getStringFormFor(r,e,1,i)||c(e),e=o?n(e)(o):e,d(e)},getPlural:function(e,o,i,r,a){var s=t(this.currentLanguage);return o=this.getStringFormFor(this.currentLanguage,o,e,a)||this.getStringFormFor(s,o,e,a)||c(1===e?o:i),r&&(r.$count=e,o=n(o)(r)),d(o)},loadRemote:function(e){return o({method:"GET",url:e,cache:a.cache}).then(function(e){var t=e.data;for(var o in t)a.setStrings(o,t[o]);return e})}}}]),angular.module("gettext").directive("translate",["gettextCatalog","$parse","$animate","$compile","$window","gettextUtil",function(e,t,o,i,n,r){var a=parseInt((/msie (\d+)/i.exec(n.navigator.userAgent)||[])[1],10),s="translateParams";function l(e,t,o){var i=Object.keys(t).filter(function(e){return r.startsWith(e,s)&&e!==s});if(!i.length)return null;var n=e.$new(),a=[];return i.forEach(function(i){var l=e.$watch(t[i],function(e){var t=function(e){return r.lcFirst(e.replace(s,""))}(i);n[t]=e,o(n)});a.push(l)}),e.$on("$destroy",function(){a.forEach(function(e){e()}),n.$destroy()}),n}return{restrict:"AE",terminal:!0,compile:function(n,s){r.assert(!s.translatePlural||s.translateN,"translate-n","translate-plural"),r.assert(!s.translateN||s.translatePlural,"translate-plural","translate-n");var c=r.trim(n.html()),d=s.translatePlural,u=s.translateContext;return a<=8&&"\x3c!--IE fix--\x3e"===c.slice(-13)&&(c=c.slice(0,-13)),{post:function(n,a,s){var p=t(s.translateN),f=null,h=!0;function g(t){var s;t=t||null,d?((n=f||(f=n.$new())).$count=p(n),s=e.getPlural(n.$count,c,d,null,u)):s=e.getString(c,null,u);var l=a.contents();if(l||s)if(s!==r.trim(l.html())){var g=angular.element("<span>"+s+"</span>");i(g.contents())(t||n);var m=g.contents();o.enter(m,a),o.leave(l)}else h&&i(l)(n)}var m=l(n,s,g);g(m),h=!1,s.translateN&&n.$watch(s.translateN,function(){g(m)}),n.$on("gettextLanguageChanged",function(){g(m)})}}}}}]),angular.module("gettext").factory("gettextFallbackLanguage",function(){var e={},t=/([^_]+)_[^_]+$/;return function(o){if(e[o])return e[o];var i=t.exec(o);return i?(e[o]=i[1],i[1]):null}}),angular.module("gettext").filter("translate",["gettextCatalog",function(e){function t(t,o){return e.getString(t,null,o)}return t.$stateful=!0,t}]),angular.module("gettext").factory("gettextPlurals",function(){var e={pt_BR:"pt_BR","pt-BR":"pt_BR"};return function(t,o){switch(function(t){e[t]||(e[t]=t.split(/\-|_/).shift());return e[t]}(t)){case"ay":case"bo":case"cgg":case"dz":case"fa":case"id":case"ja":case"jbo":case"ka":case"kk":case"km":case"ko":case"ky":case"lo":case"ms":case"my":case"sah":case"su":case"th":case"tt":case"ug":case"vi":case"wo":case"zh":return 0;case"is":return o%10!=1||o%100==11?1:0;case"jv":return 0!=o?1:0;case"mk":return 1==o||o%10==1?0:1;case"ach":case"ak":case"am":case"arn":case"br":case"fil":case"fr":case"gun":case"ln":case"mfe":case"mg":case"mi":case"oc":case"pt_BR":case"tg":case"ti":case"tr":case"uz":case"wa":case"zh":return o>1?1:0;case"lv":return o%10==1&&o%100!=11?0:0!=o?1:2;case"lt":return o%10==1&&o%100!=11?0:o%10>=2&&(o%100<10||o%100>=20)?1:2;case"be":case"bs":case"hr":case"ru":case"sr":case"uk":return o%10==1&&o%100!=11?0:o%10>=2&&o%10<=4&&(o%100<10||o%100>=20)?1:2;case"mnk":return 0==o?0:1==o?1:2;case"ro":return 1==o?0:0==o||o%100>0&&o%100<20?1:2;case"pl":return 1==o?0:o%10>=2&&o%10<=4&&(o%100<10||o%100>=20)?1:2;case"cs":case"sk":return 1==o?0:o>=2&&o<=4?1:2;case"sl":return o%100==1?1:o%100==2?2:o%100==3||o%100==4?3:0;case"mt":return 1==o?0:0==o||o%100>1&&o%100<11?1:o%100>10&&o%100<20?2:3;case"gd":return 1==o||11==o?0:2==o||12==o?1:o>2&&o<20?2:3;case"cy":return 1==o?0:2==o?1:8!=o&&11!=o?2:3;case"kw":return 1==o?0:2==o?1:3==o?2:3;case"ga":return 1==o?0:2==o?1:o<7?2:o<11?3:4;case"ar":return 0==o?0:1==o?1:2==o?2:o%100>=3&&o%100<=10?3:o%100>=11?4:5;default:return 1!=o?1:0}}}),angular.module("gettext").factory("gettextUtil",function(){return{trim:String.prototype.trim?function(e){return"string"==typeof e?e.trim():e}:function(e){return"string"==typeof e?e.replace(/^\s*/,"").replace(/\s*$/,""):e},assert:function(e,t,o){if(!e)throw new Error("You should add a "+t+" attribute whenever you add a "+o+" attribute.")},startsWith:function(e,t){return 0===e.indexOf(t)},lcFirst:function(e){return e.charAt(0).toLowerCase()+e.substr(1)}}})},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return{template:r.default,replace:!0,link:function(e){},controller:["$scope",function(e){e.openTab=function(t){angular.forEach(e.tabs,function(e){e.active=!1}),e.tabs[t].active=!0}}]}};var i,n=o(8),r=(i=n)&&i.__esModule?i:{default:i}},function(e,t){e.exports='<div class="ea-editor ea-editor-{{adaptiveClass}}" ng-class="expanded ? \'ea-editor-expanded\' : \'\'"> <div class=ea-editor-overlay ng-click="expanded = !expanded"></div> <div class=ea-editor-responsive-button ng-click="expanded = !expanded"> <svg viewBox="0 0 18 18" class=ea-editor-responsive-button-label-icon width=18 height=18 ng-show="adaptiveClass !== \'small\'"> <path d="M14.6,12c0.2-0.4,0.4-0.8,0.5-1.2c0.1-0.3,0.3-0.4,0.6-0.5l2.3-0.3l0,0V7.9l-2.3-0.3c-0.3,0-0.5-0.2-0.6-0.5\n C15,6.7,14.8,6.4,14.6,6c-0.1-0.2-0.1-0.5,0.1-0.7l1.4-1.9l-1.5-1.5l-1.9,1.4c-0.2,0.2-0.5,0.2-0.7,0.1c-0.4-0.2-0.8-0.4-1.2-0.5\n c-0.3-0.1-0.4-0.3-0.5-0.6L10.1,0H7.9L7.6,2.3c0,0.3-0.2,0.5-0.5,0.6C6.8,3,6.4,3.2,6,3.4C5.8,3.5,5.5,3.5,5.3,3.3L3.4,1.9L1.9,3.4\n l1.4,1.9C3.5,5.5,3.5,5.7,3.4,6C3.2,6.4,3,6.7,2.9,7.2C2.8,7.4,2.6,7.6,2.3,7.6L0,7.9v2.2l2.3,0.3c0.3,0,0.5,0.2,0.6,0.5\n C3,11.2,3.2,11.6,3.4,12c0.1,0.2,0.1,0.5-0.1,0.7l-1.4,1.9l1.5,1.5l1.9-1.4c0.2-0.2,0.5-0.2,0.7-0.1c0.4,0.2,0.8,0.4,1.2,0.5\n c0.3,0.1,0.4,0.3,0.5,0.6L7.9,18h2.2l0.3-2.3c0-0.3,0.2-0.5,0.5-0.6c0.4-0.1,0.8-0.3,1.2-0.5c0.2-0.1,0.5-0.1,0.7,0.1l1.9,1.4\n l1.5-1.5l-1.4-1.9C14.5,12.5,14.5,12.2,14.6,12z M9,11.9c-1.6,0-2.8-1.3-2.8-2.8S7.4,6.1,9,6.1s2.8,1.3,2.8,2.9\n C11.9,10.6,10.6,11.9,9,11.9z"></path> </svg> <span class=ea-editor-responsive-button-label ng-show="!expanded && adaptiveClass === \'small\'"> <svg viewBox="0 0 18 18" class=ea-editor-responsive-button-label-icon width=18 height=18> <path d="M14.6,12c0.2-0.4,0.4-0.8,0.5-1.2c0.1-0.3,0.3-0.4,0.6-0.5l2.3-0.3l0,0V7.9l-2.3-0.3c-0.3,0-0.5-0.2-0.6-0.5\n C15,6.7,14.8,6.4,14.6,6c-0.1-0.2-0.1-0.5,0.1-0.7l1.4-1.9l-1.5-1.5l-1.9,1.4c-0.2,0.2-0.5,0.2-0.7,0.1c-0.4-0.2-0.8-0.4-1.2-0.5\n c-0.3-0.1-0.4-0.3-0.5-0.6L10.1,0H7.9L7.6,2.3c0,0.3-0.2,0.5-0.5,0.6C6.8,3,6.4,3.2,6,3.4C5.8,3.5,5.5,3.5,5.3,3.3L3.4,1.9L1.9,3.4\n l1.4,1.9C3.5,5.5,3.5,5.7,3.4,6C3.2,6.4,3,6.7,2.9,7.2C2.8,7.4,2.6,7.6,2.3,7.6L0,7.9v2.2l2.3,0.3c0.3,0,0.5,0.2,0.6,0.5\n C3,11.2,3.2,11.6,3.4,12c0.1,0.2,0.1,0.5-0.1,0.7l-1.4,1.9l1.5,1.5l1.9-1.4c0.2-0.2,0.5-0.2,0.7-0.1c0.4,0.2,0.8,0.4,1.2,0.5\n c0.3,0.1,0.4,0.3,0.5,0.6L7.9,18h2.2l0.3-2.3c0-0.3,0.2-0.5,0.5-0.6c0.4-0.1,0.8-0.3,1.2-0.5c0.2-0.1,0.5-0.1,0.7,0.1l1.9,1.4\n l1.5-1.5l-1.4-1.9C14.5,12.5,14.5,12.2,14.6,12z M9,11.9c-1.6,0-2.8-1.3-2.8-2.8S7.4,6.1,9,6.1s2.8,1.3,2.8,2.9\n C11.9,10.6,10.6,11.9,9,11.9z"></path> </svg> <span class=ea-editor-responsive-button-label-text translate> Widget Settings </span> <svg viewBox="0 0 8 12" class=ea-editor-responsive-button-arrow> <path d="M5.71,4.286L1.727,0.302c-0.39-0.392-1.023-0.392-1.414,0c-0.39,0.39-0.39,1.023,0,1.414L3.59,4.992\n\t L0.289,8.284c-0.39,0.39-0.39,1.025,0,1.415c0.39,0.39,1.023,0.39,1.414,0l4.008-4C6.101,5.309,6.101,4.675,5.71,4.286z"></path> </svg> </span> <span class=ea-editor-responsive-button-label ng-show="expanded && adaptiveClass === \'small\'"> <svg viewBox="0 0 12 17" class=ea-editor-responsive-button-label-icon width=18 height=12> <path d="M4.3,8.7l6,5.9c0.4,0.4,1.1,0.4,1.5,0c0.4-0.4,0.4-1.1,0-1.5L6.5,8l5.2-5.2c0.4-0.4,0.4-1.1,0-1.5\n c-0.4-0.4-1.1-0.4-1.5,0l-6,6C3.9,7.7,3.9,8.3,4.3,8.7z"></path> </svg> <span class=ea-editor-responsive-button-label-text translate> Back to preview </span> </span> </div> <div class=ea-editor-form> <div class=ea-editor-tabs> <div class=ea-editor-tabs-nav> <div class=ea-editor-tabs-nav-item ng-class="{ \'ea-editor-tabs-nav-item-active\': tab.active }" ng-click=openTab(key) ng-show=tab.properties.length ng-repeat="(key, tab) in tabs"> {{tab.name}} </div> </div> <div class=ea-editor-tabs-content> <div class=ea-editor-tabs-content-item ng-class="{ \'ea-editor-tabs-content-item-active\': tab.active }" ng-repeat="tab in tabs"> <div class=ea-editor-property ng-repeat="property in tab.properties" ng-class="property.visible === false ? \'ea-editor-property-hide\' : \'\'"> <div ng-show="property.visible !== false"> <div control=property ng-model=widget.data ng-if="property.type === \'subgroup\'"></div> <div control=property ng-model=widget.data[property.id] ng-if="property.type !== \'subgroup\'"></div> </div> </div> </div> </div> </div> <div class=ea-editor-hint ng-class="{ \'ea-editor-hint-visible\': editorHintVisible }">{{editorHint}}</div> <elfsight-apps-templates ng-if=templates></elfsight-apps-templates> </div> <div class=ea-editor-preview-container> <div class=ea-editor-preview-overlay></div> <div class=ea-editor-preview-loader ng-class="showLoader ? \'ea-editor-preview-loader-show\' : \'\'"></div> </div> </div> '},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=["$compile","$rootScope","$sce","$l10n",function(e,t,o,i){return{scope:{control:"=",ngModel:"="},replace:!0,controller:["$scope",function(e){}],link:function(t,n){t.control=i.translateControl(t.control),t.setDefaultValueIfEmpty=function(){t.control.allowEmpty||""!==t.ngModel&&null!==t.ngModel&&angular.isDefined(t.ngModel)||(t.ngModel=void 0===t.control.defaultValue?null:angular.copy(t.control.defaultValue))},angular.isDefined(t.ngModel)||(t.ngModel=void 0===t.control.defaultValue?null:angular.copy(t.control.defaultValue)),t.control.caption&&(t.control.caption=o.trustAsHtml(t.control.caption));var r="<elfsight-apps-control-#type#></elfsight-apps-control-#type#>",a=void 0;a="custom"===t.control.type&&t.control.custom.type?angular.element(r.replace("#type#","custom-"+t.control.custom.type)):angular.element(r.replace("#type#",t.control.type)),n.replaceWith(e(a)(t))}}}]},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=["$rootScope",function(e){return{template:r.default,replace:!0,controller:["$scope","$rootScope","$sce",function(e,t,o){e.showBtn=e.control.text&&e.control.text.button,e.toTrustedHTML=function(e){return o.trustAsHtml(o.valueOf(e))}}],link:function(e,t){var o=document.createElement("div"),i=!1;e.$watch("ngModel",function(t){if(i)i=!1;else{var n=!1;o.innerHTML=t,angular.forEach(o.querySelectorAll("script"),function(e){e.parentNode.removeChild(e),n=!0}),angular.forEach(o.querySelectorAll("iframe"),function(e){e.parentNode.removeChild(e),n=!0}),angular.forEach(o.querySelectorAll("a"),function(e){e.target="_blank",n=!0}),n&&(e.ngModel=o.innerHTML,i=!0)}})}}}];var i,n=o(11),r=(i=n)&&i.__esModule?i:{default:i}},function(e,t){e.exports="<label class=ea-editor-property-inner> <div class=ea-editor-property-label editor-hint=control.description>{{control.name}}</div> <div class=ea-editor-property-caption ng-if=control.caption ng-bind-html=toTrustedHTML(control.caption)></div> <div class=\"ea-editor-property-control-text ea-editor-property-control\"> <div ng-if=showBtn class=ea-editor-property-control-text-button translate>Apply</div> <input ng-model=ngModel ng-model-options=\"{ updateOn: showBtn ? 'change blur' : 'default', debounce: 300 }\" type=text ng-blur=setDefaultValueIfEmpty()> </div> </label>"},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=["$timeout",function(e){return{template:i.default,replace:!0,controller:["$scope","$element",function(e,t){var o="pasteStorage,DragAndDrop,xpath,stat,sticky,search,tableKeyboardNavigation,table,hotkeys,symbols,redoundo,placeholder,paste,orderedlist,mobile,link,justify,inlinePopup,imageProperties,imageProcessor,indent,addNewLine,autofocus,backspace,bold,cleanHTML,color,enter,errorMessages,font,formatBlock,fullsize,iframe";if(e.control.textarea&&e.control.textarea.enableRichEdit){var i=new r.default(t.find("textarea")[0],{spellcheck:!1,toolbarButtonSize:"medium",askBeforePasteHTML:!1,defaultActionOnPaste:"insert_only_text",useNativeTooltip:!0,disablePlugins:o,buttons:"bold,underline,italic,ul,ol,align,link"+(e.control.textarea&&e.control.textarea.enableRichEditHtml?",source":""),toolbarSticky:!1,enter:"BR"});i.events.on("afterInit",function(){i.value=e.ngModel||""}),i.events.on("change",function(){e.ngModel=i.value,e.$apply()})}else if(e.control.textarea&&(e.control.textarea.CSSMode||e.control.textarea.JSONMode)){var a=void 0;e.control.textarea.JSONMode&&(a="json"),e.control.textarea.CSSMode&&(a="css");var s=new r.default(t.find("textarea")[0],{sourceEditorNativeOptions:{mode:"ace/mode/"+a},toolbar:!1,disablePlugins:o,defaultMode:r.default.MODE_SOURCE});s.events.on("afterInit",function(){s.value=e.ngModel||""}),s.events.on("change",function(){e.ngModel=s.value,e.$apply()})}else setTimeout(function(){(0,n.default)(t.find("textarea"))},100)}],link:function(e,t){var o=document.createElement("div"),i=!1;e.$watch("ngModel",function(t){if(i)i=!1;else{var n=!1;o.innerHTML=t,o.querySelectorAll("script").forEach(function(e){e.parentNode.removeChild(e),n=!0}),o.querySelectorAll("iframe").forEach(function(e){e.parentNode.removeChild(e),n=!0}),o.querySelectorAll("a").forEach(function(e){e.target="_blank",n=!0}),n&&(e.ngModel=o.innerHTML,i=!0)}})}}}];var i=a(o(13)),n=a(o(14)),r=a(o(15));function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t){e.exports='<div class=ea-editor-property-inner> <div class=ea-editor-property-label editor-hint=control.description>{{control.name}}</div> <div class=ea-editor-property-caption ng-if=control.caption ng-bind-html=control.caption></div> <div class="ea-editor-property-control-textarea ea-editor-property-control"> <textarea ng-model=ngModel ng-model-options="{ debounce: 300 }" ng-blur=setDefaultValueIfEmpty()></textarea> </div> </div>'},function(e,t,o){var i,n,r,a;a=function(e,t){"use strict";var o,i,n="function"==typeof Map?new Map:(o=[],i=[],{has:function(e){return o.indexOf(e)>-1},get:function(e){return i[o.indexOf(e)]},set:function(e,t){-1===o.indexOf(e)&&(o.push(e),i.push(t))},delete:function(e){var t=o.indexOf(e);t>-1&&(o.splice(t,1),i.splice(t,1))}}),r=function(e){return new Event(e,{bubbles:!0})};try{new Event("test")}catch(e){r=function(e){var t=document.createEvent("Event");return t.initEvent(e,!0,!1),t}}function a(e){if(e&&e.nodeName&&"TEXTAREA"===e.nodeName&&!n.has(e)){var t,o=null,i=e.clientWidth,a=null,s=function(){e.clientWidth!==i&&u()},l=function(t){window.removeEventListener("resize",s,!1),e.removeEventListener("input",u,!1),e.removeEventListener("keyup",u,!1),e.removeEventListener("autosize:destroy",l,!1),e.removeEventListener("autosize:update",u,!1),Object.keys(t).forEach(function(o){e.style[o]=t[o]}),n.delete(e)}.bind(e,{height:e.style.height,resize:e.style.resize,overflowY:e.style.overflowY,overflowX:e.style.overflowX,wordWrap:e.style.wordWrap});e.addEventListener("autosize:destroy",l,!1),"onpropertychange"in e&&"oninput"in e&&e.addEventListener("keyup",u,!1),window.addEventListener("resize",s,!1),e.addEventListener("input",u,!1),e.addEventListener("autosize:update",u,!1),e.style.overflowX="hidden",e.style.wordWrap="break-word",n.set(e,{destroy:l,update:u}),"vertical"===(t=window.getComputedStyle(e,null)).resize?e.style.resize="none":"both"===t.resize&&(e.style.resize="horizontal"),o="content-box"===t.boxSizing?-(parseFloat(t.paddingTop)+parseFloat(t.paddingBottom)):parseFloat(t.borderTopWidth)+parseFloat(t.borderBottomWidth),isNaN(o)&&(o=0),u()}function c(t){var o=e.style.width;e.style.width="0px",e.offsetWidth,e.style.width=o,e.style.overflowY=t}function d(){var t=e.style.height,n=function(e){for(var t=[];e&&e.parentNode&&e.parentNode instanceof Element;)e.parentNode.scrollTop&&t.push({node:e.parentNode,scrollTop:e.parentNode.scrollTop}),e=e.parentNode;return t}(e),r=document.documentElement&&document.documentElement.scrollTop;e.style.height="";var a=e.scrollHeight+o;0!==e.scrollHeight?(e.style.height=a+"px",i=e.clientWidth,n.forEach(function(e){e.node.scrollTop=e.scrollTop}),r&&(document.documentElement.scrollTop=r)):e.style.height=t}function u(){d();var t=Math.round(parseFloat(e.style.height)),o=window.getComputedStyle(e,null),i="content-box"===o.boxSizing?Math.round(parseFloat(o.height)):e.offsetHeight;if(i!==t?"hidden"===o.overflowY&&(c("scroll"),d(),i="content-box"===o.boxSizing?Math.round(parseFloat(window.getComputedStyle(e,null).height)):e.offsetHeight):"hidden"!==o.overflowY&&(c("hidden"),d(),i="content-box"===o.boxSizing?Math.round(parseFloat(window.getComputedStyle(e,null).height)):e.offsetHeight),a!==i){a=i;var n=r("autosize:resized");try{e.dispatchEvent(n)}catch(e){}}}}function s(e){var t=n.get(e);t&&t.destroy()}function l(e){var t=n.get(e);t&&t.update()}var c=null;"undefined"==typeof window||"function"!=typeof window.getComputedStyle?((c=function(e){return e}).destroy=function(e){return e},c.update=function(e){return e}):((c=function(e,t){return e&&Array.prototype.forEach.call(e.length?e:[e],function(e){return a(e)}),e}).destroy=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],s),e},c.update=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],l),e}),t.exports=c},n=[t,e],void 0===(r="function"==typeof(i=a)?i.apply(t,n):i)||(e.exports=r)},function(e,t,o){(function(t){var o;"undefined"!=typeof self&&self,o=function(){return function(e){function t(i){if(o[i])return o[i].exports;var n=o[i]={i:i,l:!1,exports:{}};return e[i].call(n.exports,n,n.exports,t),n.l=!0,n.exports}var o={};return t.m=e,t.c=o,t.d=function(e,o,i){t.o(e,o)||Object.defineProperty(e,o,{configurable:!1,enumerable:!0,get:i})},t.n=function(e){var o=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(o,"a",o),o},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/build/",t(t.s=26)}([function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o(2),n=o(3),r={},a=r.toString,s=r.hasOwnProperty;t.isIE=function(){return-1!=navigator.userAgent.indexOf("MSIE")||/rv:11.0/i.test(navigator.userAgent)};var l=1;t.$$=function(e,o){var i;if(!/:scope/.test(e)||!t.isIE()||"undefined"!=typeof HTMLDocument&&o instanceof HTMLDocument)i=o.querySelectorAll(e);else{var n=o.id,r=n||"_selector_id_"+(""+Math.random()).slice(2)+l++;e=e.replace(/:scope/g,"#"+r),!n&&o.setAttribute("id",r),i=o.parentNode.querySelectorAll(e),n||o.removeAttribute("id")}return[].slice.call(i)},t.isWindow=function(e){return null!==e&&e===e.window},t.type=function(e){return null===e?"null":"object"==typeof e||"function"==typeof e?r[a.call(e)]||"object":typeof e},t.each=function(e,t){var o,i,n;if(Array.isArray(e)){for(o=e.length,n=0;o>n;n+=1)if(!1===t.call(e[n],n,e[n]))return!1}else for(i=Object.keys(e),n=0;i.length>n;n+=1)if(!1===t.call(e[i[n]],i[n],e[i[n]]))return!1;return e},t.each(["Boolean","Number","String","Function","Array","Date","RegExp","Object","Error","Symbol","HTMLDocument","Window","HTMLElement","HTMLBodyElement","Text","DocumentFragment","DOMStringList"],function(e,t){r["[object "+t+"]"]=t.toLowerCase()}),t.inArray=function(e,t){return-1!==t.indexOf(e)},t.isPlainObject=function(e){return!("object"!=typeof e||e.nodeType||t.isWindow(e)||e.constructor&&!s.call(e.constructor.prototype,"isPrototypeOf"))},t.extend=function(){for(var e=[],o=0;arguments.length>o;o++)e[o]=arguments[o];var i,n,r,a,s,l,u,p=e[0]||{},f=1,h=e.length,g=!1;for("boolean"==typeof p&&(g=p,p=e[f]||{},f+=1),"object"!=typeof p&&"function"===t.type(p)&&(p={}),f===h&&(p=this,f+=1);h>f;f+=1)if(null!==(i=e[f])&&void 0!==i)for(u=Object.keys(i),l=0;u.length>l;l+=1)r=p[n=u[l]],p!==(a=i[n])&&(g&&a&&(t.isPlainObject(a)&&!(a instanceof d)||Array.isArray(a)&&!(a instanceof c))?(Array.isArray(a)?(!1,s=r&&Array.isArray(r)?r:[]):s=r&&t.isPlainObject(r)?r:{},p[n]=t.extend(g,s,a)):void 0!==a&&(p[n]=a));return p},t.trim=function(e){return e.replace(i.SPACE_REG_EXP_START,"").replace(i.SPACE_REG_EXP_END,"")},t.colorToHex=function(e){if("rgba(0, 0, 0, 0)"===e||""===e)return!1;if(!e)return"#000000";if("#"===e.substr(0,1))return e;var t,o,i,n=/([\s\n\t\r]*?)rgb\((\d+), (\d+), (\d+)\)/.exec(e)||/([\s\n\t\r]*?)rgba\((\d+), (\d+), (\d+), ([\d.]+)\)/.exec(e);if(!n)return"#000000";for(o=parseInt(n[2],10),i=parseInt(n[3],10),t=(parseInt(n[4],10)|i<<8|o<<16).toString(16).toUpperCase();6>t.length;)t="0"+t;return n[1]+"#"+t},t.normalizeColor=function(e){var o,i=["#"],n=t.colorToHex(e);if(!n)return!1;if(3===(n=(n=t.trim(n.toUpperCase())).substr(1)).length){for(o=0;3>o;o+=1)i.push(n[o]),i.push(n[o]);return i.join("")}return n.length>6&&(n=n.substr(0,6)),"#"+n},t.normalizeSize=function(e){return/^[0-9]+$/.test(""+e)?e+"px":""+e},t.getContentWidth=function(e,t){var o=function(e){return parseInt(e,10)},i=t.getComputedStyle(e);return e.offsetWidth-o(i.getPropertyValue("padding-left")||"0")-o(i.getPropertyValue("padding-right")||"0")},t.ctrlKey=function(e){if(-1!==navigator.userAgent.indexOf("Mac OS X")){if(e.metaKey&&!e.altKey)return!0}else if(e.ctrlKey&&!e.altKey)return!0;return!1};t.appendScript=function(e,t,o,i){void 0===o&&(o="");var n=i.createElement("script");n.className=o,n.type="text/javascript",n.charset="utf-8",void 0!==t&&n.addEventListener("load",t,!1),n.src=function(e){return"file:"===window.location.protocol&&/^\/\//.test(e)&&(e="https:"+e),e}(e),i.body.appendChild(n)},t.dom=function(e,t){if(e instanceof t.defaultView.HTMLElement)return e;var o=t.createElement("div");o.innerHTML=e;var i=o.firstChild===o.lastChild&&o.firstChild?o.firstChild:o;return i.parentNode&&i.parentNode.removeChild(i),i},t.hexToRgb=function(e){e=e.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,function(e,t,o,i){return t+t+o+o+i+i});var t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return t?{r:parseInt(t[1],16),g:parseInt(t[2],16),b:parseInt(t[3],16)}:null},t.clear=function(e,o){return void 0===o&&(o=!1),e=t.trim(e).replace(i.INVISIBLE_SPACE_REG_EXP,"").replace(/[\s]*class=""/g,""),o&&(e=e.replace(/<p[^>]*>[\s\n\r\t]*( |<br>|<br\/>)?[\s\n\r\t]*<\/p>[\n\r]*/g,"")),e},t.isURL=function(e){return RegExp("^(https?:\\/\\/)((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.?)+[a-z]{2,}|((\\d{1,3}\\.){3}\\d{1,3}))(\\:\\d+)?(\\/[-a-z\\d%_.~+]*)*(\\?[;&a-z\\d%_.~+=-]*)?(\\#[-a-z\\d_]*)?$","i").test(e)},t.pathNormalize=function(e){return e.replace(/([^:])[\\\/]+/g,"$1/")},t.urlNormalize=function(e){return e.replace(/([^:])[\\\/]+/g,"$1/")},t.isHTML=function(e){return/<([A-Za-z][A-Za-z0-9]*)\b[^>]*>(.*?)<\/\1>/m.test(e)},t.isHTMLFromWord=function(e){return-1!==e.search(/<meta.*?Microsoft Excel\s[\d].*?>/)||-1!==e.search(/<meta.*?Microsoft Word\s[\d].*?>/)||-1!==e.search(/style="[^"]*mso-/)&&-1!==e.search(/<font/)},t.humanSizeToBytes=function(e){if(/^[0-9.]+$/.test(""+e))return parseFloat(e);var t=e.substr(-2,2).toUpperCase(),o=["KB","MB","GB","TB"],i=parseFloat(e.substr(0,e.length-2));return-1!==o.indexOf(t)?i*Math.pow(1024,o.indexOf(t)+1):parseInt(e,10)},t.parseQuery=function(e){var t,o,i={},n=e.substr(1).split("&");for(t=0;n.length>t;t+=1)o=n[t].split("="),i[decodeURIComponent(o[0])]=decodeURIComponent(o[1]||"");return i},t.convertMediaURLToVideoEmbed=function(e,o,i){if(void 0===o&&(o=400),void 0===i&&(i=345),!t.isURL(e))return e;var n=document.createElement("a"),r=/(?:http?s?:\/\/)?(?:www\.)?(?:vimeo\.com)\/?(.+)/g;switch(n.href=e,o||(o=400),i||(i=345),n.hostname){case"www.vimeo.com":case"vimeo.com":return r.test(e)?e.replace(r,'<iframe width="'+o+'" height="'+i+'" src="//player.vimeo.com/video/$1" frameborder="0" allowfullscreen></iframe>'):e;case"youtube.com":case"www.youtube.com":case"youtu.be":case"www.youtu.be":var a=n.search?t.parseQuery(n.search):{v:n.pathname.substr(1)};return a.v?'<iframe width="'+o+'" height="'+i+'" src="//www.youtube.com/embed/'+a.v+'" frameborder="0" allowfullscreen></iframe>':e}return e},t.browser=function(e){var t=navigator.userAgent.toLowerCase(),o=/(firefox)[\s\/]([\w.]+)/.exec(t)||/(chrome)[\s\/]([\w.]+)/.exec(t)||/(webkit)[\s\/]([\w.]+)/.exec(t)||/(opera)(?:.*version)[\s\/]([\w.]+)/.exec(t)||/(msie)[\s]([\w.]+)/.exec(t)||/(trident)\/([\w.]+)/.exec(t)||0>t.indexOf("compatible")||[];return"version"===e?o[2]:"webkit"===e?"chrome"===o[1]||"webkit"===o[1]:"ff"===e?"firefox"===o[1]:"msie"===e?"trident"===o[1]||"msie"===o[1]:o[1]===e},t.offset=function(e,o,i,n){void 0===n&&(n=!1);var r,a,s=e.getBoundingClientRect(),l=i.body,c=i.documentElement,d=i.defaultView||i.parentWindow,u=d.pageYOffset||c.scrollTop||l.scrollTop,p=d.pageXOffset||c.scrollLeft||l.scrollLeft,f=c.clientTop||l.clientTop||0,h=c.clientLeft||l.clientLeft||0;if(!n&&o&&o.options&&o.options.iframe&&o.iframe){var g=t.offset(o.iframe,o,o.ownerDocument,!0),m=g.top,v=g.left;r=s.top+m,a=s.left+v}else r=s.top+u-f,a=s.left+p-h;return{top:Math.round(r),left:Math.round(a),width:s.width,height:s.height}},t.camelCase=function(e){return e.replace(/([-_])(.)/g,function(e,t,o){return o.toUpperCase()})},t.fromCamelCase=function(e){return e.replace(/([A-Z]+)/g,function(e,t){return"-"+t.toLowerCase()})},t.htmlspecialchars=function(e){var t=document.createElement("div");return t.innerText=e,t.innerHTML},t.debounce=function(e,t,o,i){3===arguments.length&&"boolean"!=typeof o&&(i=o,o=!1);var n=0;return function(){var r=arguments;i=i||this,(o&&!n||!t)&&e.apply(i,r),t&&(clearTimeout(n),n=window.setTimeout(function(){o||e.apply(i,r),n=0},t))}},t.throttle=function(e,t,o){var i,n,r,a=null;return function(){i=arguments,n=!0,o=o||this,t?a||(r=function(){n?(e.apply(o,i),n=!1,a=setTimeout(r,t)):a=null})():e.apply(o,i)}},t.normilizeCSSValue=function(e,t){switch(e){case"font-weight":return"bold"===t?700:t}return t},t.css=function(e,o,i,n){void 0===n&&(n=!1);var r=/^left|top|bottom|right|width|min|max|height|margin|padding|font-size/i;if(t.isPlainObject(o)||void 0!==i){var a=function(e,o,i){null!=i&&r.test(o)&&/^[\-+]?[0-9.]+$/.test(""+i)&&(i=parseInt(""+i,10)+"px"),void 0!==i&&t.css(e,o,void 0,!0)!==t.normilizeCSSValue(o,i)&&(e.style[o]=i)};if(t.isPlainObject(o)){var s=Object.keys(o),l=void 0;for(l=0;s.length>l;l+=1)a(e,t.camelCase(s[l]),o[s[l]])}else a(e,t.camelCase(o),i);return""}var c=t.fromCamelCase(o),d=e.ownerDocument,u=!!d&&(d.defaultView||d.parentWindow),p=e.style[o],f=void 0!==p&&""!==p?p:u&&!n?u.getComputedStyle(e).getPropertyValue(c):"";return r.test(o)&&/^[\-+]?[0-9.]+px$/.test(""+f)&&(f=parseInt(f,10)),t.normilizeCSSValue(o,f)},t.asArray=function(e){return Array.isArray(e)?e:[e]},t.splitArray=function(e){return"string"==typeof e?e.split(/[,\s]+/):e},t.sprintf=function(){for(var e=[],t=0;arguments.length>t;t++)e[t]=arguments[t];var o=e,i=0,n=o[i++],r=function(e,t,o,i){var n=t>e.length?Array(1+t-e.length>>>0).join(o):"";return i?e+n:n+e},a=function(e,t,o,i,n){var a=i-e.length;return a>0&&(e=o||!n?r(e,i," ",o):e.slice(0,t.length)+r("",a,"0",!0)+e.slice(t.length)),e},s=function(e,t,o,i,n,s,l){var c=e>>>0,d=(o=o&&c&&{2:"0b",8:"0",16:"0x"}[t]||"")+r(c.toString(t),s||0,"0",!1);return a(d,o,i,n,l)},l=function(e,t,o,i,n){return null!=i&&(e=e.slice(0,i)),a(e,"",t,o,n)};return n.replace(/%%|%(\d+\$)?([-+#0 ]*)(\*\d+\$|\*|\d+)?(\.(\*\d+\$|\*|\d+))?([scboxXuidfegEG])/g,function(e,t,n,c,d,u,p){if("%%"==e)return"%";for(var f=!1,h="",g=!1,m=!1,v=0;n&&n.length>v;v++)switch(n.charAt(v)){case" ":h=" ";break;case"+":h="+";break;case"-":f=!0;break;case"0":g=!0;break;case"#":m=!0}if(0>(c=c?"*"===c?+o[i++]:"*"===(""+c)[0]?+o[(""+c).slice(1,-1)]:+c:0)&&(c=-c,f=!0),!isFinite(c))throw Error("sprintf: (minimum-)width must be finite");u=u?"*"===u?+o[i++]:"*"===u[0]?+o[u.slice(1,-1)]:+u:"fFeE".indexOf(p)>-1?6:"d"==p?0:void 0;var b=t?o[t.slice(0,-1)]:o[i++];switch(p){case"s":return l(b+"",f,c,u,g);case"c":return l(String.fromCharCode(+b),f,c,u,g);case"b":return s(b,2,m,f,c,u,g);case"o":return s(b,8,m,f,c,u,g);case"x":return s(b,16,m,f,c,u,g);case"X":return s(b,16,m,f,c,u,g).toUpperCase();case"u":return s(b,10,m,f,c,u,g);case"i":case"d":return b=(_=0>(y=parseInt(""+b,10))?"-":h)+r(Math.abs(y)+"",u,"0",!1),a(b,_,f,c,g);case"e":case"E":case"f":case"F":case"g":case"G":var y,_=0>(y=+b)?"-":h,w=["toExponential","toFixed","toPrecision"]["efg".indexOf(p.toLowerCase())],x=["toString","toUpperCase"]["eEfFgG".indexOf(p)%2];return b=_+Math.abs(y)[w](u),a(b,_,f,c,g)[x]();default:return e}})},t.val=function(e,t,o){var i=e.querySelector(t);return i?(o&&(i.value=o),i.value):""},t.defaultLanguage=function(e){return"auto"===e||void 0===e?document.documentElement.lang||navigator.language&&navigator.language.substr(0,2)||!!navigator.browserLanguage&&navigator.browserLanguage.substr(0,2)||"en":e},t.normalizeNode=function(e){if(e){if(e.nodeType===Node.TEXT_NODE&&null!==e.nodeValue&&e.parentNode)for(;e.nextSibling&&e.nextSibling.nodeType===Node.TEXT_NODE;)null!==e.nextSibling.nodeValue&&(e.nodeValue+=e.nextSibling.nodeValue),e.nodeValue=e.nodeValue.replace(i.INVISIBLE_SPACE_REG_EXP,""),e.parentNode.removeChild(e.nextSibling);else t.normalizeNode(e.firstChild);t.normalizeNode(e.nextSibling)}},t.cleanFromWord=function(e){-1!==e.indexOf("<html ")&&(e=(e=e.substring(e.indexOf("<html "),e.length)).substring(0,e.lastIndexOf("</html>")+7));var t="";try{var o=document.createElement("div");o.innerHTML=e;var i=[];o.firstChild&&n.Dom.all(o,function(e){switch(e.nodeType){case Node.ELEMENT_NODE:"FONT"===e.nodeName?n.Dom.unwrap(e):[].slice.call(e.attributes).forEach(function(t){-1===["src","href","rel","content"].indexOf(t.name.toLowerCase())&&e.removeAttribute(t.name)});break;case Node.TEXT_NODE:break;default:i.push(e)}}),i.forEach(function(e){return e.parentNode&&e.parentNode.removeChild(e)}),t=o.innerHTML}catch(e){}return t&&(e=t),e.replace(/<(\/)?(html|colgroup|col|o:p)[^>]*>/g,"").replace(/<!--[^>]*>/g,"")},t.applyStyles=function(e){if(-1===e.indexOf("<html "))return e;e=(e=e.substring(e.indexOf("<html "),e.length)).substring(0,e.lastIndexOf("</html>")+7);var o=document.createElement("iframe");o.style.display="none",document.body.appendChild(o);var i="",n=[];try{var r=o.contentDocument||(o.contentWindow?o.contentWindow.document:null);if(r){r.open(),r.write(e),r.close(),r.styleSheets.length&&(n=r.styleSheets[r.styleSheets.length-1].cssRules);for(var a=0;n.length>a;a+=1)!function(e){if(""===n[e].selectorText)return"continue";t.$$(n[e].selectorText,r.body).forEach(function(t){t.style.cssText+=n[e].style.cssText.replace(/mso-[a-z\-]+:[\s]*[^;]+;/g,"").replace(/border[a-z\-]*:[\s]*[^;]+;/g,"")})}(a);i=r.firstChild?r.body.innerHTML:""}}catch(e){}finally{o.parentNode&&o.parentNode.removeChild(o)}return i&&(e=i),e.replace(/<(\/)?(html|colgroup|col|o:p)[^>]*>/g,"").replace(/<!--[^>]*>/g,"")},t.inView=function(e,t,o){var i=e.getBoundingClientRect(),n=i.top,r=i.height,a=e;do{if(a&&a.parentNode){if((i=(a=a.parentNode).getBoundingClientRect()).bottom>=n==0)return!1;if(i.top>=n+r)return!1}}while(a&&a!=t&&a.parentNode);return o.documentElement.clientHeight>=n},t.scrollIntoView=function(e,o,i){t.inView(e,o,i)||(o.clientHeight!==o.scrollHeight&&(o.scrollTop=e.offsetTop),t.inView(e,o,i)||e.scrollIntoView())},t.getXPathByElement=function(e,o){if(!e||1!=e.nodeType)return"";if(!e.parentNode||o===e)return"";if(e.id)return"//*[@id='"+e.id+"']";var i=[].filter.call(e.parentNode.childNodes,function(t){return t.nodeName===e.nodeName});return t.getXPathByElement(e.parentNode,o)+"/"+e.nodeName.toLowerCase()+(i.length>1?"["+([].indexOf.call(i,e)+1)+"]":"")},t.dataBind=function(e,t,o){var i=e.JoditDataBindkey;if(i||(i={},Object.defineProperty(e,"JoditDataBindkey",{enumerable:!1,configurable:!0,value:i})),void 0===o)return i[t];i[t]=o},t.isLicense=function(e){return"string"==typeof e&&32===e.length&&/^[a-z0-9]+$/.test(e)},t.normalizeLicense=function(e,t){void 0===t&&(t=8);for(var o=[];e.length;)o.push(e.substr(0,t)),e=e.substr(t);return o[1]=o[1].replace(/./g,"*"),o[2]=o[2].replace(/./g,"*"),o.join("-")};var c=function(){function e(e){var o=this;this.length=0,t.extend(!0,this,e),this.length=e.length;var i=Array.prototype;["map","forEach","reduce","push","pop","shift","unshift","slice","splice"].forEach(function(e){o[e]=i[e]})}return e.prototype.toString=function(){for(var e=[],t=0;this.length>t;t+=1)e[t]=this[t];return""+e},e}();t.JoditArray=c;var d=function(){return function(e){t.extend(!0,this,e)}}();t.JoditObject=d,t.getRange=function(){var e=window.getSelection().getRangeAt(0);return[e.startContainer,e.startOffset,e.endContainer,e.endOffset]},t.innerWidth=function(e,t){var o=t.getComputedStyle(e);return e.clientWidth-(parseFloat(o.paddingLeft||"0")+parseFloat(o.paddingRight||"0"))}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o(2),n=o(0),r=o(5),a=o(12),s=a.Widget.TabsWidget,l=a.Widget.FileSelectorWidget,c=o(3),d=o(6),u=function(){return function(){this.license="",this.preset="custom",this.presets={inline:{inline:!0,toolbar:!1,toolbarInline:!0,popup:{selection:["bold","underline","italic","ul","ol","outdent","indent","\n","fontsize","brush","paragraph","link","align","cut","dots"]},showXPathInStatusbar:!1,showCharsCounter:!1,showWordsCounter:!1,showPlaceholder:!1}},this.ownerDocument="undefined"!=typeof document?document:null,this.ownerWindow="undefined"!=typeof window?window:null,this.zIndex=0,this.readonly=!1,this.activeButtonsInReadOnly=["source","fullsize","print","about","dots","selectall"],this.toolbarButtonSize="middle",this.inline=!1,this.theme="default",this.saveModeInStorage=!1,this.saveHeightInStorage=!1,this.spellcheck=!0,this.editorCssClass=!1,this.triggerChangeEvent=!0,this.width="auto",this.minWidth="200px",this.maxWidth="100%",this.height="auto",this.minHeight=200,this.direction="",this.language="auto",this.debugLanguage=!1,this.i18n="en",this.tabIndex=-1,this.toolbar=!0,this.showTooltip=!0,this.showTooltipDelay=500,this.useNativeTooltip=!1,this.enter=i.PARAGRAPH,this.defaultMode=i.MODE_WYSIWYG,this.useSplitMode=!1,this.colors={greyscale:["#000000","#434343","#666666","#999999","#B7B7B7","#CCCCCC","#D9D9D9","#EFEFEF","#F3F3F3","#FFFFFF"],palette:["#980000","#FF0000","#FF9900","#FFFF00","#00F0F0","#00FFFF","#4A86E8","#0000FF","#9900FF","#FF00FF"],full:["#E6B8AF","#F4CCCC","#FCE5CD","#FFF2CC","#D9EAD3","#D0E0E3","#C9DAF8","#CFE2F3","#D9D2E9","#EAD1DC","#DD7E6B","#EA9999","#F9CB9C","#FFE599","#B6D7A8","#A2C4C9","#A4C2F4","#9FC5E8","#B4A7D6","#D5A6BD","#CC4125","#E06666","#F6B26B","#FFD966","#93C47D","#76A5AF","#6D9EEB","#6FA8DC","#8E7CC3","#C27BA0","#A61C00","#CC0000","#E69138","#F1C232","#6AA84F","#45818E","#3C78D8","#3D85C6","#674EA7","#A64D79","#85200C","#990000","#B45F06","#BF9000","#38761D","#134F5C","#1155CC","#0B5394","#351C75","#733554","#5B0F00","#660000","#783F04","#7F6000","#274E13","#0C343D","#1C4587","#073763","#20124D","#4C1130"]},this.colorPickerDefaultTab="background",this.imageDefaultWidth=300,this.removeButtons=[],this.disablePlugins=[],this.extraButtons=[],this.sizeLG=900,this.sizeMD=700,this.sizeSM=400,this.buttons=["source","|","bold","strikethrough","underline","italic","|","superscript","subscript","|","ul","ol","|","outdent","indent","|","font","fontsize","brush","paragraph","|","image","file","video","table","link","|","align","undo","redo","\n","cut","hr","eraser","copyformat","|","symbol","fullsize","selectall","print","about"],this.buttonsMD=["source","|","bold","italic","|","ul","ol","|","font","fontsize","brush","paragraph","|","image","table","link","|","align","|","undo","redo","|","hr","eraser","copyformat","fullsize","dots"],this.buttonsSM=["source","|","bold","italic","|","ul","ol","|","fontsize","brush","paragraph","|","image","table","link","|","align","|","undo","redo","|","eraser","copyformat","fullsize","dots"],this.buttonsXS=["bold","image","|","brush","paragraph","|","align","|","undo","redo","|","eraser","dots"],this.events={},this.textIcons=!1}}();t.Config=u,t.OptionsDefault=function(e){var t=this,o=this;if(o.plainOptions=e,void 0!==e&&"object"==typeof e){var i=function(e,a){if("preset"===a&&void 0!==r.Jodit.defaultOptions.presets[e.preset]){var s=r.Jodit.defaultOptions.presets[e.preset];Object.keys(s).forEach(i.bind(t,s))}o[a]="object"!=typeof r.Jodit.defaultOptions[a]||Array.isArray(r.Jodit.defaultOptions[a])?e[a]:n.extend(!0,{},r.Jodit.defaultOptions[a],e[a])};Object.keys(e).forEach(i.bind(this,e))}},u.prototype.controls={print:{exec:function(e){var t=window.open("","PRINT");t&&(e.options.iframe?(e.events.fire("generateDocumentStructure.iframe",t.document,e),t.document.body.innerHTML=e.getEditorValue()):(t.document.write("<!doctype html><html><head><title></title></head><body>"+e.getEditorValue()+"</body></html>"),t.document.close()),t.focus(),t.print(),t.close())},mode:i.MODE_SOURCE+i.MODE_WYSIWYG},about:{exec:function(e){var t=e.getInstance("Dialog");t.setTitle(e.i18n("About Jodit")),t.setContent('<div class="jodit_about"> <div>'+e.i18n("Jodit Editor")+" v."+e.getVersion()+" </div><div>"+e.i18n("License: %s",n.isLicense(e.options.license)?n.normalizeLicense(e.options.license):e.i18n("GNU General Public License, version 2 or later"))+'</div><div><a href="https://xdsoft.net/jodit/" target="_blank">http://xdsoft.net/jodit/</a></div><div><a href="https://xdsoft.net/jodit/doc/" target="_blank">'+e.i18n("Jodit User's Guide")+"</a> "+e.i18n("contains detailed help for using")+"</div><div>"+e.i18n("Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.")+"</div></div>"),t.open()},tooltip:"About Jodit",mode:i.MODE_SOURCE+i.MODE_WYSIWYG},hr:{command:"insertHorizontalRule",tags:["hr"],tooltip:"Insert Horizontal Line"},image:{popup:function(e,t,o,i){var r=null;return t&&t.nodeType!==Node.TEXT_NODE&&("IMG"===t.tagName||n.$$("img",t).length)&&(r="IMG"===t.tagName?t:n.$$("img",t)[0]),l(e,{filebrowser:function(t){if(t.files&&t.files.length){var o=void 0;for(o=0;t.files.length>o;o+=1)e.selection.insertImage(t.baseurl+t.files[o])}i()},upload:function(t){var o;if(t.files&&t.files.length)for(o=0;t.files.length>o;o+=1)e.selection.insertImage(t.baseurl+t.files[o]);i()},url:function(t,o){var a=r||n.dom('<img src=""/>',e.editorDocument);a.setAttribute("src",t),a.setAttribute("alt",o),r||e.selection.insertImage(a),i()}},r,i)},tags:["img"],tooltip:"Insert Image"},file:{popup:function(e,t,o,i){var r=function(t,o){void 0===o&&(o=""),e.selection.insertNode(n.dom('<a href="'+t+'" title="'+o+'">'+(o||t)+"</a>",e.editorDocument))},a=null;return t&&("A"===t.nodeName||c.Dom.closest(t,"A",e.editor))&&(a="A"===t.nodeName?t:c.Dom.closest(t,"A",e.editor)),l(e,{filebrowser:function(e){if(e.files&&e.files.length){var t=void 0;for(t=0;e.files.length>t;t+=1)r(e.baseurl+e.files[t])}i()},upload:function(e){var t;if(e.files&&e.files.length)for(t=0;e.files.length>t;t+=1)r(e.baseurl+e.files[t]);i()},url:function(e,t){a?(a.setAttribute("href",e),a.setAttribute("title",t)):r(e,t),i()}},a,i,!1)},tags:["a"],tooltip:"Insert file"},video:{popup:function(e,t,o,i){var r=n.dom('<form class="jodit_form">\n <input required name="code" placeholder="http://" type="url"/>\n <button type="submit">'+e.i18n("Insert")+"</button>\n </form>",e.ownerDocument),a=n.dom('<form class="jodit_form">\n <textarea required name="code" placeholder="'+e.i18n("Embed code")+'"></textarea>\n <button type="submit">'+e.i18n("Insert")+"</button>\n </form>",e.ownerDocument),l={},c=e.selection.save(),u=function(t){e.selection.restore(c),e.selection.insertHTML(t),i()};return e.options.textIcons?(l[e.i18n("Link")]=r,l[e.i18n("Code")]=a):(l[d.ToolbarIcon.getIcon("link")+" "+e.i18n("Link")]=r,l[d.ToolbarIcon.getIcon("source")+" "+e.i18n("Code")]=a),a.addEventListener("submit",function(e){return e.preventDefault(),n.trim(n.val(a,"textarea[name=code]"))?(u(n.val(a,"textarea[name=code]")),!1):(a.querySelector("textarea[name=code]").focus(),a.querySelector("textarea[name=code]").classList.add("jodit_error"),!1)}),r.addEventListener("submit",function(e){return e.preventDefault(),n.isURL(n.val(r,"input[name=code]"))?(u(n.convertMediaURLToVideoEmbed(n.val(r,"input[name=code]"))),!1):(r.querySelector("input[name=code]").focus(),r.querySelector("input[name=code]").classList.add("jodit_error"),!1)}),s(e,l)},tags:["iframe"],tooltip:"Insert youtube/vimeo video"}}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.INVISIBLE_SPACE="\ufeff",t.INVISIBLE_SPACE_REG_EXP=/[\uFEFF]/g,t.INVISIBLE_SPACE_REG_EXP_END=/[\uFEFF]+$/g,t.INVISIBLE_SPACE_REG_EXP_START=/^[\uFEFF]+/g,t.SPACE_REG_EXP=/[\s\n\t\r\uFEFF\u200b]+/g,t.SPACE_REG_EXP_START=/^[\s\n\t\r\uFEFF\u200b]+/g,t.SPACE_REG_EXP_END=/[\s\n\t\r\uFEFF\u200b]+$/g,t.IS_BLOCK=/^(PRE|DIV|P|LI|H[1-6]|BLOCKQUOTE|TD|TH|TABLE|BODY|HTML|FIGCAPTION|FIGURE)$/i,t.IS_INLINE=/^(STRONG|SPAN|I|EM|B|SUP|SUB)$/,t.KEY_BACKSPACE=8,t.KEY_TAB=9,t.KEY_ENTER=13,t.KEY_ESC=27,t.KEY_LEFT=37,t.KEY_UP=38,t.KEY_RIGHT=39,t.KEY_DOWN=40,t.KEY_DELETE=46,t.KEY_F=70,t.KEY_R=82,t.KEY_H=72,t.KEY_Y=89,t.KEY_V=86,t.KEY_Z=90,t.KEY_F3=114,t.NEARBY=5,t.ACCURACY=10,t.BR="br",t.PARAGRAPH="P",t.MODE_WYSIWYG=1,t.MODE_SOURCE=2,t.MODE_SPLIT=3,t.URL_LIST="undefined"==typeof navigator||-1==navigator.userAgent.indexOf("MSIE")&&!/rv:11.0/i.test(navigator.userAgent)?"text/uri-list":"url",t.TEXT_PLAIN="undefined"==typeof navigator||-1==navigator.userAgent.indexOf("MSIE")&&!/rv:11.0/i.test(navigator.userAgent)?"text/plain":"text",t.TEXT_HTML="undefined"==typeof navigator||-1==navigator.userAgent.indexOf("MSIE")&&!/rv:11.0/i.test(navigator.userAgent)?"text/html":"text",t.MARKER_CLASS="jodit_selection_marker",t.EMULATE_DBLCLICK_TIMEOUT=300,t.JODIT_SELECTED_CELL_MARKER="data-jodit-selected-cell",t.INSERT_AS_HTML="insert_as_html",t.INSERT_CLEAR_HTML="insert_clear_html",t.INSERT_AS_TEXT="insert_as_text",t.INSERT_ONLY_TEXT="insert_only_text"},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o(2),n=o(0);t.Dom=function(){function e(){}return e.detach=function(e){for(;e.firstChild;)e.removeChild(e.firstChild)},e.unwrap=function(e){var t=e.parentNode,o=e;if(t){for(;o.firstChild;)t.insertBefore(o.firstChild,o);t.removeChild(o)}},e.each=function(t,o){var i=t.firstChild;if(i)for(;i;){if(!1===o.call(i,i)||!1===e.each(i,o))return!1;i=e.next(i,function(e){return!!e},t)}return!0},e.create=function(e,t,o){var i;return"text"===(e=e.toLowerCase())?i=o.createTextNode("string"==typeof t?t:""):(i=o.createElement(e),void 0!==t&&(i.innerHTML=t)),i},e.replace=function(e,t,o,i,r){void 0===o&&(o=!1),void 0===i&&(i=!1);var a="string"==typeof t?r.createElement(t):t;if(!i)for(;e.firstChild;)a.appendChild(e.firstChild);return o&&n.each(e.attributes,function(e,t){a.setAttribute(t.name,t.nodeValue)}),e.parentNode&&e.parentNode.replaceChild(a,e),a},e.isCell=function(t,o){return e.isNode(t,o)&&/^(td|th)$/i.test(t.nodeName)},e.isImage=function(t,o){return e.isNode(t,o)&&/^(img|svg|picture|canvas)$/i.test(t.nodeName)},e.isBlock=function(e){return!!e&&"string"==typeof e.nodeName&&i.IS_BLOCK.test(e.nodeName)},e.isInlineBlock=function(e){return!!e&&e.nodeType===Node.ELEMENT_NODE&&-1!==["inline","inline-block"].indexOf(""+n.css(e,"display"))},e.canSplitBlock=function(e,t){return e&&e instanceof t.HTMLElement&&this.isBlock(e)&&!/^(TD|TH|CAPTION|FORM)$/.test(e.nodeName)&&void 0!==e.style&&!/^(fixed|absolute)/i.test(e.style.position)},e.prev=function(t,o,i,n){return void 0===n&&(n=!0),e.find(t,o,i,!1,"previousSibling",!!n&&"lastChild")},e.next=function(t,o,i,n){return void 0===n&&(n=!0),e.find(t,o,i,void 0,void 0,n?"firstChild":"")},e.find=function(t,o,i,n,r,a){if(void 0===n&&(n=!1),void 0===r&&(r="nextSibling"),void 0===a&&(a="firstChild"),n&&o(t))return t;var s,l=t;do{if(o(s=l[r]))return s||!1;if(a&&s&&s[a]){var c=e.find(s[a],o,s,!0,r,a);if(c)return c}s||(s=l.parentNode),l=s}while(l&&l!==i);return!1},e.findWithCurrent=function(t,o,i,n,r){void 0===n&&(n="nextSibling"),void 0===r&&(r="firstChild");var a=t;do{if(o(a))return a||!1;if(r&&a&&a[r]){var s=e.findWithCurrent(a[r],o,a,n,r);if(s)return s}for(;a&&!a[n]&&a!==i;)a=a.parentNode;a&&a[n]&&a!==i&&(a=a[n])}while(a&&a!==i);return!1},e.isEmptyTextNode=function(e){return e&&e.nodeType===Node.TEXT_NODE&&(!e.nodeValue||0===e.nodeValue.replace(i.INVISIBLE_SPACE_REG_EXP,"").length)},e.isEmpty=function(t,o){return void 0===o&&(o=/^(img|svg|canvas|input|textarea|form)$/),!t||(t.nodeType===Node.TEXT_NODE?null===t.nodeValue||0===n.trim(t.nodeValue).length:!t.nodeName.toLowerCase().match(o)&&e.each(t,function(e){if(e&&e.nodeType===Node.TEXT_NODE&&null!==e.nodeValue&&0!==n.trim(e.nodeValue).length||e&&e.nodeType===Node.ELEMENT_NODE&&e.nodeName.toLowerCase().match(o))return!1}))},e.isNode=function(e,t){return"object"==typeof t?e instanceof t.Node:"object"==typeof e&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName},e.up=function(e,t,o){var i=e;if(!e)return!1;do{if(t(i))return i;if(i===o||!i.parentNode)break;i=i.parentNode}while(i&&i!==o);return!1},e.closest=function(t,o,i){var n;return n="function"==typeof o?o:o instanceof RegExp?function(e){return o.test(e.nodeName)}:function(e){return RegExp("^("+o+")$","i").test(e.nodeName)},e.up(t,n,i)},e.after=function(e,t){var o=e.parentNode;o&&(o.lastChild===e?o.appendChild(t):o.insertBefore(t,e.nextSibling))},e.moveContent=function(e,t,o){void 0===o&&(o=!1);var n=e.ownerDocument.createDocumentFragment();[].slice.call(e.childNodes).forEach(function(e){e.nodeType===Node.TEXT_NODE&&e.nodeValue===i.INVISIBLE_SPACE||n.appendChild(e)}),o&&t.firstChild?t.insertBefore(n,t.firstChild):t.appendChild(n)},e.all=function(t,o,i){void 0===i&&(i=!1);var n=t.childNodes?Array.prototype.slice.call(t.childNodes):[];if(o(t))return t;i&&(n=n.reverse()),n.forEach(function(t){e.all(t,o,i)})},e.wrapInline=function(t,o,i){var n,r=t,a=t,s=i.selection.save(),l=!1;do{l=!1,(n=r.previousSibling)&&!e.isBlock(n)&&(l=!0,r=n)}while(l);do{l=!1,(n=a.nextSibling)&&!e.isBlock(n)&&(l=!0,a=n)}while(l);var c="string"==typeof o?i.editorDocument.createElement(o):o;r.parentNode&&r.parentNode.insertBefore(c,r);for(var d=r;d&&(d=r.nextSibling,c.appendChild(r),r!==a&&d);)r=d;return i.selection.restore(s),c},e.wrap=function(e,t,o){var i=o.selection.save(),n="string"==typeof t?o.editorDocument.createElement(t):t;return e.parentNode?(e.parentNode.insertBefore(n,e),n.appendChild(e),o.selection.restore(i),n):null},e.findInline=function(t,o,i){var n=t,r=null;do{if(!n)break;if((r=o?n.previousSibling:n.nextSibling)||!n.parentNode||n.parentNode===i||!e.isInlineBlock(n.parentNode))break;n=n.parentNode}while(!r);for(;r&&e.isInlineBlock(r)&&(o?r.lastChild:r.firstChild);)r=o?r.lastChild:r.firstChild;return r},e.contains=function(e,t){for(;t.parentNode;){if(t.parentNode===e)return!0;t=t.parentNode}return!1},e.isOrContains=function(t,o,i){return void 0===i&&(i=!1),o&&t&&(t===o&&!i||e.contains(t,o))},e}()},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o(5);t.Component=function(){function e(e){var t=this;this.__whoLocked="",this.isLocked=function(){return""!==t.__whoLocked},this.isLockedNotBy=function(e){return t.isLocked()&&t.__whoLocked!==e},this.__modulesInstances={},this.isDestructed=!1,e&&(this.jodit=e,e instanceof i.Jodit&&this.jodit.components&&this.jodit.components.push(this))}return e.prototype.destruct=function(){},e.prototype.getInstance=function(e,t){if(void 0===i.Jodit.modules[e])throw Error("Need real module name");return void 0===this.__modulesInstances[e]&&(this.__modulesInstances[e]=new i.Jodit.modules[e](this,t)),this.__modulesInstances[e]},e}()},function(e,t,o){"use strict";var i=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])};return function(t,o){function i(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(i.prototype=o.prototype,new i)}}(),n=this&&this.__awaiter||function(e,t,o,i){return new(o||(o=Promise))(function(n,r){function a(e){try{l(i.next(e))}catch(e){r(e)}}function s(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){e.done?n(e.value):new o(function(t){t(e.value)}).then(a,s)}l((i=i.apply(e,t||[])).next())})},r=this&&this.__generator||function(e,t){function o(e){return function(t){return i([e,t])}}function i(o){if(n)throw new TypeError("Generator is already executing.");for(;l;)try{if(n=1,r&&(a=2&o[0]?r.return:o[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,o[1])).done)return a;switch(r=0,a&&(o=[2&o[0],a.value]),o[0]){case 0:case 1:a=o;break;case 4:return l.label++,{value:o[1],done:!1};case 5:l.label++,r=o[1],o=[0];continue;case 7:o=l.ops.pop(),l.trys.pop();continue;default:if(!(a=(a=l.trys).length>0&&a[a.length-1])&&(6===o[0]||2===o[0])){l=0;continue}if(3===o[0]&&(!a||o[1]>a[0]&&a[3]>o[1])){l.label=o[1];break}if(6===o[0]&&a[1]>l.label){l.label=a[1],a=o;break}if(a&&a[2]>l.label){l.label=a[2],l.ops.push(o);break}a[2]&&l.ops.pop(),l.trys.pop();continue}o=t.call(e,l)}catch(e){o=[6,e],r=0}finally{n=a=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}var n,r,a,s,l={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return s={next:o(0),throw:o(1),return:o(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s};Object.defineProperty(t,"__esModule",{value:!0});var a=o(17),s=o(11),l=o(3),c=o(13),d=o(2),u=o(0),p=o(0),f=o(1),h=o(33),g=o(21),m=o(22),v=o(8),b=o(19);t.Jodit=function(e){function t(t,o){var i=e.call(this)||this;if(i.version="3.2.9",i.components=[],i.storage=new g.Storage(new g.localStorageProvider),i.iframe=null,i.__plugins={},i.__defaultStyleDisplayKey="data-jodit-default-style-display",i.__defaultClassesKey="data-jodit-default-classes",i.commands={},i.__selectionLocked=null,i.isLockedNotBy=function(e){return i.isLocked()&&i.__whoLocked!==e},i.mode=d.MODE_WYSIWYG,i.getVersion=function(){return i.version},i.buffer={},i.options=new f.OptionsDefault(o),i.editorDocument=i.options.ownerDocument,i.editorWindow=i.options.ownerWindow,i.ownerDocument=i.options.ownerDocument,i.ownerWindow=i.options.ownerWindow,i.events=new c.EventsNative(i.ownerDocument),"string"==typeof t)try{i.element=i.ownerDocument.querySelector(t)}catch(e){throw Error('String "'+t+'" should be valid HTML selector')}else i.element=t;if(!i.element||"object"!=typeof i.element||i.element.nodeType!==Node.ELEMENT_NODE||!i.element.cloneNode)throw Error('Element "'+t+'" should be string or HTMLElement instance');i.options.events&&Object.keys(i.options.events).forEach(function(e){i.events.on(e,i.options.events[e])}),i.selection=new a.Select(i),i.uploader=new s.Uploader(i),i.observer=new m.Observer(i),i.container=u.dom('<div contenteditable="false" class="jodit_container" />',i.ownerDocument);var l=null;return i.options.inline&&(-1===["TEXTAREA","INPUT"].indexOf(i.element.nodeName)&&(i.container=i.element,i.element.setAttribute(i.__defaultClassesKey,""+i.element.className),l=i.container.innerHTML,i.container.innerHTML=""),i.container.classList.add("jodit_inline"),i.container.classList.add("jodit_container")),i.container.classList.add("jodit_"+(i.options.theme||"default")+"_theme"),i.options.zIndex&&(i.container.style.zIndex=""+parseInt(""+i.options.zIndex,10)),i.workplace=u.dom('<div contenteditable="false" class="jodit_workplace" />',i.ownerDocument),i.progress_bar=u.dom('<div class="jodit_progress_bar"><div></div></div>',i.ownerDocument),i.toolbar=new v.ToolbarCollection(i),i.options.toolbar&&i.toolbar.build(u.splitArray(i.options.buttons).concat(i.options.extraButtons),i.container),i.container.classList.add("jodit_toolbar_size-"+(-1!==["middle","large","small"].indexOf(i.options.toolbarButtonSize.toLowerCase())?i.options.toolbarButtonSize.toLowerCase():"middle")),i.options.textIcons&&i.container.classList.add("jodit_text_icons"),i.events.on(i.ownerWindow,"resize",function(){i.events&&i.events.fire("resize")}),i.container.appendChild(i.workplace),i.statusbar=new h.StatusBar(i,i.container),i.workplace.appendChild(i.progress_bar),i.element.parentNode&&i.element!==i.container&&i.element.parentNode.insertBefore(i.container,i.element),i.helper=p,i.id=i.element.getAttribute("id")||""+(new Date).getTime(),i.__initPlugines(),i.__initEditor(l).then(function(){return n(i,void 0,void 0,function(){return r(this,function(e){switch(e.label){case 0:return[4,this.events.fire("afterInit",this)];case 1:return e.sent(),this.events.fire("afterConstructor",this),[2]}})})}),i}return i(t,e),t.prototype.__initEditor=function(e){return n(this,void 0,void 0,function(){var o,i;return r(this,function(n){switch(n.label){case 0:return[4,this.__createEditor()];case 1:n.sent(),this.element!==this.container?this.setElementValue():null!==e&&this.setEditorValue(e),t.instances[this.id]=this,o=this.options.defaultMode,this.options.saveModeInStorage&&null!==(i=this.storage.get("jodit_default_mode"))&&(o=parseInt(i,10)),this.setMode(o),this.options.readonly&&this.setReadOnly(!0);try{this.editorDocument.execCommand("defaultParagraphSeparator",!1,this.options.enter.toLowerCase())}catch(e){}try{this.editorDocument.execCommand("enableObjectResizing",!1,!1)}catch(e){}try{this.editorDocument.execCommand("enableInlineTableEditing",!1,!1)}catch(e){}return[2]}})})},t.prototype.__initPlugines=function(){var e=this,o=Array.isArray(this.options.disablePlugins)?this.options.disablePlugins.map(function(e){return e.toLowerCase()}):this.options.disablePlugins.toLowerCase().split(/[\s,]+/);Object.keys(t.plugins).forEach(function(i){-1===o.indexOf(i.toLowerCase())&&(e.__plugins[i]=new t.plugins[i](e))})},t.prototype.__createEditor=function(){return n(this,void 0,void 0,function(){var e=this;return r(this,function(t){switch(t.label){case 0:return[4,this.events.fire("createEditor",this)];case 1:return!1!==t.sent()&&(this.editor=u.dom('<div class="jodit_wysiwyg" contenteditable aria-disabled="false" tabindex="'+this.options.tabIndex+'"></div>',this.ownerDocument),this.workplace.appendChild(this.editor)),this.options.editorCssClass&&this.editor.classList.add(this.options.editorCssClass),this.events.on("synchro",function(){e.setEditorValue()}).on(this.editor,"selectionchange selectionstart keydown keyup keypress mousedown mouseup mousepress click copy cut dragstart drop dragover paste resize touchstart touchend focus blur",function(t){if(!e.options.readonly&&e.events&&e.events.fire){if(!1===e.events.fire(t.type,t))return!1;e.setEditorValue()}}),this.options.spellcheck&&this.editor.setAttribute("spellcheck","true"),this.options.direction&&(this.editor.style.direction="rtl"===this.options.direction.toLowerCase()?"rtl":"ltr"),this.element!==this.container&&(this.element.style.display&&this.element.setAttribute(this.__defaultStyleDisplayKey,this.element.style.display),this.element.style.display="none"),this.options.triggerChangeEvent&&this.events.on("change",u.debounce(function(){e.events&&e.events.fire(e.element,"change")},this.defaultTimeout)),[2]}})})},t.prototype.destruct=function(){var e=this;if(!this.isDestructed&&(this.isDestructed=!0,!1!==this.events.fire("beforeDestruct")&&this.editor)){var o=this.getEditorValue();this.element!==this.container?this.element.hasAttribute(this.__defaultStyleDisplayKey)?(this.element.style.display=this.element.getAttribute(this.__defaultStyleDisplayKey),this.element.removeAttribute(this.__defaultStyleDisplayKey)):this.element.style.display="":this.element.hasAttribute(this.__defaultClassesKey)&&(this.element.className=this.element.getAttribute(this.__defaultClassesKey)||"",this.element.removeAttribute(this.__defaultClassesKey)),this.element.hasAttribute("style")&&!this.element.getAttribute("style")&&this.element.removeAttribute("style"),Object.keys(this.__plugins).forEach(function(t){void 0!==e.__plugins&&void 0!==e.__plugins[t]&&void 0!==e.__plugins[t].destruct&&"function"==typeof e.__plugins[t].destruct&&e.__plugins[t].destruct(),delete e.__plugins[t]}),this.components.forEach(function(e){void 0!==e.destruct&&"function"==typeof e.destruct&&e.destruct()}),delete this.selection,this.events.off(this.ownerWindow),this.events.off(this.ownerDocument),this.events.off(this.ownerDocument.body),this.events.off(this.element),this.events.off(this.editor),this.events.destruct(),delete this.events,this.workplace.parentNode&&this.workplace.parentNode.removeChild(this.workplace),this.editor.parentNode&&this.editor.parentNode.removeChild(this.editor),this.iframe&&this.iframe.parentNode&&this.iframe.parentNode.removeChild(this.iframe),this.container.parentNode&&this.container!==this.element&&this.container.parentNode.removeChild(this.container),delete this.editor,delete this.workplace,this.container===this.element&&(this.element.innerHTML=o),delete t.instances[this.id],delete this.container}},t.prototype.getElementValue=function(){return void 0!==this.element.value?this.element.value:this.element.innerHTML},t.prototype.getNativeEditorValue=function(){return this.editor?this.editor.innerHTML:this.getElementValue()},t.prototype.getEditorValue=function(e){var t;if(void 0===e&&(e=!0),void 0!==(t=this.events.fire("beforeGetValueFromEditor")))return t;t=this.getNativeEditorValue().replace(d.INVISIBLE_SPACE_REG_EXP,""),e&&(t=t.replace(/<span[^>]+id="jodit_selection_marker_[^>]+><\/span>/g,"")),"<br>"===t&&(t="");var o={value:t};return this.events.fire("afterGetValueFromEditor",o),o.value},t.prototype.getEditorText=function(){if(this.editor)return this.editor.innerText;var e=this.ownerDocument.createElement("div");return e.innerHTML=this.getElementValue(),e.innerText},t.prototype.setElementValue=function(e){if("string"!=typeof e&&void 0!==e)throw Error("value must be string");void 0!==e?this.element!==this.container&&(void 0!==this.element.value?this.element.value=e:this.element.innerHTML=e):e=this.getElementValue(),e!==this.getEditorValue()&&this.setEditorValue(e)},t.prototype.setEditorValue=function(e){var t=this.events.fire("beforeSetValueToEditor",e);if(!1!==t){if("string"==typeof t&&(e=t),!this.editor)return void(void 0!==e&&this.setElementValue(e));if("string"!=typeof e&&void 0!==e)throw Error("value must be string");void 0!==e&&this.editor.innerHTML!==e&&(this.editor.innerHTML=e);var o=this.getElementValue(),i=this.getEditorValue();o!==i&&(this.setElementValue(i),this.events.fire("change",i,o))}},Object.defineProperty(t.prototype,"value",{get:function(){return this.getEditorValue()},set:function(e){this.setEditorValue(e)},enumerable:!0,configurable:!0}),t.prototype.execCustomCommands=function(e,t,o){var i=this;if(void 0===t&&(t=!1),void 0===o&&(o=null),e=e.toLowerCase(),void 0!==this.commands[e]){var n=void 0;return this.commands[e].forEach(function(r){var a=("function"==typeof r?r:r.exec).call(i,e,t,o);void 0!==a&&(n=a)}),n}},t.prototype.registerCommand=function(e,t){var o=this,i=e.toLowerCase();if(void 0===this.commands[i]&&(this.commands[i]=[]),this.commands[i].push(t),"function"!=typeof t){var n=this.options.commandToHotkeys[i]||this.options.commandToHotkeys[e]||t.hotkeys;n&&this.events.off(u.asArray(n).map(function(e){return e+".hotkey"}).join(" ")).on(u.asArray(n).map(function(e){return e+".hotkey"}).join(" "),function(){return o.execCommand(i)})}},t.prototype.execCommand=function(e,t,o){if(void 0===t&&(t=!1),void 0===o&&(o=null),!this.options.readonly||"selectall"===e){var i;if(e=e.toLowerCase(),!1!==(i=this.events.fire("beforeCommand",e,t,o))&&(i=this.execCustomCommands(e,t,o)),!1!==i)switch(this.selection.focus(),e){case"selectall":this.selection.select(this.editor,!0);break;default:try{i=this.editorDocument.execCommand(e,t,o)}catch(e){}}return this.events.fire("afterCommand",e,t,o),this.setEditorValue(),i}},t.prototype.lock=function(e){void 0===e&&(e="any"),this.isLocked()||(this.__whoLocked=e,this.__selectionLocked=this.selection.save(),this.editor.classList.add("jodit_disabled"))},t.prototype.unlock=function(){this.isLocked()&&(this.__whoLocked="",this.editor.classList.remove("jodit_disabled"),this.__selectionLocked&&this.selection.restore(this.__selectionLocked))},t.prototype.getMode=function(){return this.mode},t.prototype.isEditorMode=function(){return this.getRealMode()===d.MODE_WYSIWYG},t.prototype.getRealMode=function(){return this.getMode()!==d.MODE_SPLIT?this.getMode():l.Dom.isOrContains(this.editor,this.ownerDocument.activeElement)||l.Dom.isOrContains(this.toolbar.container,this.ownerDocument.activeElement)?d.MODE_WYSIWYG:d.MODE_SOURCE},t.prototype.setMode=function(e){var t=this,o=this.getMode(),i={mode:parseInt(""+e,10)},n=["jodit_wysiwyg_mode","jodit_source_mode","jodit_split_mode"];!1!==this.events.fire("beforeSetMode",i)&&(this.mode=u.inArray(i.mode,[d.MODE_SOURCE,d.MODE_WYSIWYG,d.MODE_SPLIT])?i.mode:d.MODE_WYSIWYG,this.options.saveModeInStorage&&this.storage.set("jodit_default_mode",this.mode),n.forEach(function(e){t.container.classList.remove(e)}),this.container.classList.add(n[this.mode-1]),o!==this.getMode()&&this.events.fire("afterSetMode"))},t.prototype.toggleMode=function(){var e=this.getMode();u.inArray(e+1,[d.MODE_SOURCE,d.MODE_WYSIWYG,this.options.useSplitMode?d.MODE_SPLIT:9])?e+=1:e=d.MODE_WYSIWYG,this.setMode(e)},t.prototype.i18n=function(e){for(var o=this,i=[],n=1;arguments.length>n;n++)i[n-1]=arguments[n];var r,a=void 0!==this.options&&this.options.debugLanguage,s=function(e){return i.length?u.sprintf.apply(o,[e].concat(i)):e},l="auto"===t.defaultOptions.language?u.defaultLanguage(t.defaultOptions.language):t.defaultOptions.language,c=u.defaultLanguage(this.options?this.options.language:l);return r=void 0!==this.options&&void 0!==t.lang[c]?t.lang[c]:void 0!==t.lang[l]?t.lang[l]:t.lang.en,void 0!==this.options&&void 0!==this.options.i18n[c]&&this.options.i18n[c][e]?s(this.options.i18n[c][e]):"string"==typeof r[e]&&r[e]?s(r[e]):a?"{"+e+"}":s("string"==typeof t.lang.en[e]&&t.lang.en[e]?t.lang.en[e]:e)},t.prototype.setReadOnly=function(e){this.options.readonly=e,e?this.editor&&this.editor.removeAttribute("contenteditable"):this.editor&&this.editor.setAttribute("contenteditable","true"),this.events&&this.events.fire("readonly",e)},t.prototype.getReadOnly=function(){return this.options.readonly},Object.defineProperty(t.prototype,"defaultTimeout",{get:function(){return this.options&&this.options.observer?this.options.observer.timeout:t.defaultOptions.observer.timeout},enumerable:!0,configurable:!0}),t.Array=function(e){return new u.JoditArray(e)},t.Object=function(e){return new u.JoditObject(e)},t.plugins={},t.modules={},t.instances={},t.lang={},t}(b.View)},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ToolbarIcon=function(){function e(){}return e.exists=function(t){return void 0!==e.icons[t]},e.getIcon=function(t,o){return void 0===o&&(o="<span></span>"),void 0!==e.icons[t]?e.icons[t]:o},e.icons={},e}()},function(e,t,o){"use strict";var i=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])};return function(t,o){function i(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(i.prototype=o.prototype,new i)}}(),n=this&&this.__assign||Object.assign||function(e){for(var t,o=1,i=arguments.length;i>o;o++)for(var n in t=arguments[o])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e};Object.defineProperty(t,"__esModule",{value:!0});var r=o(5),a=o(1),s=o(0),l=o(2),c=o(13),d=o(6),u=o(19);a.Config.prototype.dialog={resizable:!0,draggable:!0,buttons:["dialog.close"],removeButtons:[]},a.Config.prototype.controls.dialog={close:{icon:"cancel",exec:function(e){e.close()}},fullsize:{icon:"fullsize",getLabel:a.Config.prototype.controls.fullsize.getLabel,exec:function(e){e.toggleFullSize()}}};var p=function(e){function t(t,o){void 0===o&&(o=a.Config.prototype.dialog);var i=e.call(this,t,o)||this;i.lockSelect=function(){i.container.classList.add("jodit_dialog_box-moved")},i.unlockSelect=function(){i.container.classList.remove("jodit_dialog_box-moved")},i.destinition=document.body,i.document=document,i.window=window,i.destroyAfterClose=!1,i.moved=!1,i.iSetMaximization=!1,i.resizeble=!1,i.draggable=!1,i.startX=0,i.startY=0,i.startPoint={x:0,y:0,w:0,h:0},i.__isDestructed=!1,i.close=function(e){i.__isDestructed||(e&&(e.stopImmediatePropagation(),e.preventDefault()),i.jodit&&i.jodit.events&&i.jodit.events.fire("beforeClose",i),i.container.classList&&i.container.classList.remove("active"),i.iSetMaximization&&i.maximization(!1),i.destroyAfterClose&&i.destruct(),i.jodit&&i.jodit.events&&i.jodit.events.fire(i,"afterClose"))},t&&t instanceof r.Jodit&&(i.window=t.ownerWindow,i.document=t.ownerDocument,t.events.on("beforeDestruct",function(){i.destruct()})),i.events=t&&t.events?t.events:new c.EventsNative;var l=i;l.options=n({},t&&t.options?t.options.dialog:a.Config.prototype.dialog,l.options),l.container=s.dom('<div style="z-index:'+l.options.zIndex+'" class="jodit jodit_dialog_box"><div class="jodit_dialog_overlay"></div><div class="jodit_dialog"><div class="jodit_dialog_header non-selected"><div class="jodit_dialog_header-title"></div><div class="jodit_dialog_header-toolbar"></div></div><div class="jodit_dialog_content"></div><div class="jodit_dialog_footer"></div>'+(l.options.resizable?'<div class="jodit_dialog_resizer"></div>':"")+"</div></div>",i.document),t&&t.id&&l.container.setAttribute("data-editor_id",t.id),Object.defineProperty(l.container,"__jodit_dialog",{value:l}),l.dialog=l.container.querySelector(".jodit_dialog"),l.resizer=l.container.querySelector(".jodit_dialog_resizer"),l.jodit&&l.jodit.options&&l.jodit.options.textIcons&&l.container.classList.add("jodit_text_icons"),l.dialogbox_header=l.container.querySelector(".jodit_dialog_header>.jodit_dialog_header-title"),l.dialogbox_content=l.container.querySelector(".jodit_dialog_content"),l.dialogbox_footer=l.container.querySelector(".jodit_dialog_footer"),l.dialogbox_toolbar=l.container.querySelector(".jodit_dialog_header>.jodit_dialog_header-toolbar"),l.destinition.appendChild(l.container),l.container.addEventListener("close_dialog",l.close),l.toolbar.build(l.options.buttons,l.dialogbox_toolbar),l.events.on(i.window,"mousemove",l.onMouseMove.bind(l)).on(i.window,"mouseup",l.onMouseUp.bind(l)).on(i.window,"keydown",l.onKeyDown.bind(l)).on(i.window,"resize",l.onResize.bind(l));var d=l.container.querySelector(".jodit_dialog_header");return d&&d.addEventListener("mousedown",l.onHeaderMouseDown.bind(l)),l.options.resizable&&l.resizer.addEventListener("mousedown",l.onResizerMouseDown.bind(l)),r.Jodit.plugins.fullsize(l),i}return i(t,e),t.prototype.setSize=function(e,t){e&&s.css(this.dialog,"width",e),t&&s.css(this.dialog,"height",t)},t.prototype.setPosition=function(e,t){var o=this.window.innerWidth,i=this.window.innerHeight,n=o/2-this.dialog.offsetWidth/2,r=i/2-this.dialog.offsetHeight/2;void 0!==e&&void 0!==t&&(this.offsetX=e,this.offsetY=t,this.moved=Math.abs(e-n)>100||Math.abs(t-r)>100),this.dialog.style.left=(e||n)+"px",this.dialog.style.top=(t||r)+"px"},t.prototype.setElements=function(e,t){var o=this,i=[];s.asArray(t).forEach(function(t){var n=s.dom(t,o.document);i.push(n),n.parentNode!==e&&e.appendChild(n)}),[].slice.call(e.childNodes).forEach(function(t){-1===i.indexOf(t)&&e.removeChild(t)})},t.prototype.setTitle=function(e){this.setElements(this.dialogbox_header,e)},t.prototype.setContent=function(e){this.setElements(this.dialogbox_content,e)},t.prototype.setFooter=function(e){this.setElements(this.dialogbox_footer,e),this.dialog.classList.toggle("with_footer",!!e)},t.prototype.getZIndex=function(){return parseInt(this.container.style.zIndex||"0",10)},t.prototype.getMaxZIndexDialog=function(){var e,t,o=0,i=this;return s.$$(".jodit_dialog_box",this.destinition).forEach(function(n){e=n.__jodit_dialog,t=parseInt(s.css(n,"zIndex"),10),e.isOpened()&&!isNaN(t)&&t>o&&(i=e,o=t)}),i},t.prototype.setMaxZIndex=function(){var e=0,t=0;s.$$(".jodit_dialog_box",this.destinition).forEach(function(o){t=parseInt(s.css(o,"zIndex"),10),e=Math.max(isNaN(t)?0:t,e)}),this.container.style.zIndex=""+(e+1)},t.prototype.maximization=function(e){return"boolean"!=typeof e&&(e=!this.container.classList.contains("jodit_dialog_box-fullsize")),this.container.classList.toggle("jodit_dialog_box-fullsize",e),[this.destinition,this.destinition.parentNode].forEach(function(t){t&&t.classList&&t.classList.toggle("jodit_fullsize_box",e)}),this.iSetMaximization=e,e},t.prototype.open=function(e,t,o,i){this.jodit&&this.jodit.events&&!1===this.jodit.events.fire(this,"beforeOpen")||(this.destroyAfterClose=!0===o,void 0!==t&&this.setTitle(t),e&&this.setContent(e),this.container.classList.add("active"),i&&this.container.classList.add("jodit_modal"),this.setPosition(this.offsetX,this.offsetY),this.setMaxZIndex(),this.options.fullsize&&this.maximization(!0),this.jodit&&this.jodit.events&&this.jodit.events.fire("afterOpen",this))},t.prototype.isOpened=function(){return!this.__isDestructed&&this.container.classList.contains("active")},t.prototype.onMouseUp=function(){(this.draggable||this.resizeble)&&(this.draggable=!1,this.resizeble=!1,this.unlockSelect(),this.jodit&&this.jodit.events&&this.jodit.events.fire(this,"endResize endMove"))},t.prototype.onHeaderMouseDown=function(e){var t=e.target;!this.options.draggable||t&&t.nodeName.match(/^(INPUT|SELECT)$/)||(this.draggable=!0,this.startX=e.clientX,this.startY=e.clientY,this.startPoint.x=s.css(this.dialog,"left"),this.startPoint.y=s.css(this.dialog,"top"),this.setMaxZIndex(),e.preventDefault(),this.lockSelect(),this.jodit&&this.jodit.events&&this.jodit.events.fire(this,"startMove"))},t.prototype.onMouseMove=function(e){this.draggable&&this.options.draggable&&(this.setPosition(this.startPoint.x+e.clientX-this.startX,this.startPoint.y+e.clientY-this.startY),this.jodit&&this.jodit.events&&this.jodit.events.fire(this,"move",e.clientX-this.startX,e.clientY-this.startY),e.stopImmediatePropagation(),e.preventDefault()),this.resizeble&&this.options.resizable&&(this.setSize(this.startPoint.w+e.clientX-this.startX,this.startPoint.h+e.clientY-this.startY),this.jodit&&this.jodit.events&&this.jodit.events.fire(this,"resizeDialog",e.clientX-this.startX,e.clientY-this.startY),e.stopImmediatePropagation(),e.preventDefault())},t.prototype.onKeyDown=function(e){if(this.isOpened()&&e.which===l.KEY_ESC){var t=this.getMaxZIndexDialog();t?t.close():this.close(),e.stopImmediatePropagation()}},t.prototype.onResize=function(){!this.options.resizable||this.moved||!this.isOpened()||this.offsetX||this.offsetY||this.setPosition()},t.prototype.destruct=function(){this.__isDestructed||(this.container&&this.container.parentNode&&this.container.parentNode.removeChild(this.container),delete this.container,this.jodit&&this.jodit.events||this.events.destruct(),this.__isDestructed=!0)},t.prototype.onResizerMouseDown=function(e){this.resizeble=!0,this.startX=e.clientX,this.startY=e.clientY,this.startPoint.w=this.dialog.offsetWidth,this.startPoint.h=this.dialog.offsetHeight,this.lockSelect(),this.jodit.events&&this.jodit.events.fire(this,"startResize")},t}(u.View);t.Dialog=p,t.Alert=function(e,t,o,i){void 0===i&&(i="jodit_alert"),"function"==typeof t&&(o=t,t=void 0);var n=new p,a=s.dom('<div class="'+i+'"></div>',n.document),l=s.dom('<a href="javascript:void(0)" style="float:right;" class="jodit_button">'+d.ToolbarIcon.getIcon("cancel")+"<span>"+r.Jodit.prototype.i18n("Ok")+"</span></a>",n.document);return a.appendChild(s.dom(e,n.document)),l.addEventListener("click",function(){o&&"function"==typeof o&&!1===o(n)||n.close()}),n.setFooter([l]),n.open(a,t||" ",!0,!0),l.focus(),n},r.Jodit.Alert=t.Alert,t.Promt=function(e,t,o,i){var n=new p,a=s.dom('<a href="javascript:void(0)" style="float:right;" class="jodit_button">'+d.ToolbarIcon.getIcon("cancel")+"<span>"+r.Jodit.prototype.i18n("Cancel")+"</span></a>",n.document),l=s.dom('<a href="javascript:void(0)" style="float:left;" class="jodit_button">'+d.ToolbarIcon.getIcon("check")+"<span>"+r.Jodit.prototype.i18n("Ok")+"</span></a>",n.document),c=s.dom('<form class="jodit_promt"></form>',n.document),u=s.dom("<input autofocus/>",n.document),f=s.dom("<label></label>",n.document);"function"==typeof t&&(o=t,t=void 0),i&&u.setAttribute("placeholder",i),f.appendChild(s.dom(e,n.document)),c.appendChild(f),c.appendChild(u),a.addEventListener("click",n.close,!1);var h=function(){o&&"function"==typeof o&&!1===o(u.value)||n.close()};return l.addEventListener("click",h),c.addEventListener("submit",function(){return h(),!1}),n.setFooter([l,a]),n.open(c,t||" ",!0,!0),u.focus(),n},r.Jodit.Promt=t.Promt,t.Confirm=function(e,t,o){var i=new p,n=s.dom('<form class="jodit_promt"></form>',i.document),a=s.dom("<label></label>",i.document);"function"==typeof t&&(o=t,t=void 0),a.appendChild(s.dom(e,i.document)),n.appendChild(a);var l=s.dom('<a href="javascript:void(0)" style="float:right;" class="jodit_button">'+d.ToolbarIcon.getIcon("cancel")+"<span>"+r.Jodit.prototype.i18n("Cancel")+"</span></a>",i.document);l.addEventListener("click",function(){o&&o(!1),i.close()});var c=function(){o&&o(!0),i.close()},u=s.dom('<a href="javascript:void(0)" style="float:left;" class="jodit_button">'+d.ToolbarIcon.getIcon("check")+"<span>"+r.Jodit.prototype.i18n("Yes")+"</span></a>",i.document);return u.addEventListener("click",c),n.addEventListener("submit",function(){return c(),!1}),i.setFooter([u,l]),i.open(n,t||" ",!0,!0),u.focus(),i},r.Jodit.Confirm=t.Confirm},function(e,t,o){"use strict";var i=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])};return function(t,o){function i(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(i.prototype=o.prototype,new i)}}(),n=this&&this.__assign||Object.assign||function(e){for(var t,o=1,i=arguments.length;i>o;o++)for(var n in t=arguments[o])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e};Object.defineProperty(t,"__esModule",{value:!0});var r=o(0),a=o(9),s=o(14),l=o(36),c=o(37),d=o(5);t.ToolbarCollection=function(e){function t(t){var o=e.call(this,t,"ul","jodit_toolbar")||this;return o.__buttons=[],o.__getControlType=function(e){var t,i=o.jodit.options.controls||d.Jodit.defaultOptions.controls;if("string"!=typeof e)void 0!==i[(t=n({name:"empty"},e)).name]&&(t=n({},i[t.name],t));else{var r=e.split(/\./),a=i;r.length>1&&void 0!==i[r[0]]&&(a=i[r[0]],e=r[1]),t=void 0!==a[e]?n({name:e},a[e]):{name:e,command:e,tooltip:e}}return t},o.immedateCheckActiveButtons=function(){o.jodit.isLocked()||(o.__buttons.filter(function(e){return e instanceof s.ToolbarButton}).forEach(function(e){e.disable=e.isDisable(),e.disable||(e.active=e.isActive()),"function"==typeof e.control.getLabel&&e.control.getLabel(o.jodit,e.control,e)}),o.jodit.events&&o.jodit.events.fire("updateToolbar"))},o.checkActiveButtons=r.debounce(o.immedateCheckActiveButtons,o.jodit.defaultTimeout),o.closeAll=function(){o.jodit&&o.jodit.events&&o.jodit.events.fire("closeAllPopups")},o.listenEvents="changeStack mousedown mouseup keydown change afterInit readonly afterResize selectionchange changeSelection focus afterSetMode touchstart",o.initEvents=function(){o.jodit.events.on(o.jodit.ownerWindow,"mousedown touchend",o.closeAll).on(o.listenEvents,o.checkActiveButtons).on("afterSetMode focus",o.immedateCheckActiveButtons)},o.initEvents(),o}return i(t,e),t.prototype.getButtonsList=function(){return this.__buttons.map(function(e){return e instanceof s.ToolbarButton?e.control.name:""}).filter(function(e){return""!==e})},t.prototype.appendChild=function(e){this.__buttons.push(e),e.parentToolbar=this,this.container.appendChild(e.container)},t.prototype.removeChild=function(e){var t=this.__buttons.indexOf(e);-1!==t&&(this.__buttons.splice(t,1),e.container.parentNode===this.container&&this.container.removeChild(e.container)),e.parentToolbar=null},t.prototype.build=function(e,t,o){var i=this,n=!1;this.clear(),("string"==typeof e?e.split(/[,\s]+/):e).map(this.__getControlType).forEach(function(e){var t=null;if(-1===i.jodit.options.removeButtons.indexOf(e.name)){switch(e.name){case"\n":t=new l.ToolbarBreak(i.jodit);break;case"|":n||(n=!0,t=new c.ToolbarSeparator(i.jodit));break;default:n=!1,t=new s.ToolbarButton(i.jodit,e,o)}t&&i.appendChild(t)}}),this.container.parentNode!==t&&t.appendChild(this.container),this.immedateCheckActiveButtons()},t.prototype.clear=function(){var e=this;this.__buttons.slice().forEach(function(t){e.removeChild(t),t.destruct()}),this.__buttons.length=0},t.prototype.destruct=function(){this.jodit.events.off(this.jodit.ownerWindow,"mousedown touchstart",this.closeAll).off(this.listenEvents,this.checkActiveButtons).off("afterSetMode focus",this.immedateCheckActiveButtons),this.clear(),e.prototype.destruct.call(this)},t}(a.ToolbarElement)},function(e,t,o){"use strict";var i=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])};return function(t,o){function i(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(i.prototype=o.prototype,new i)}}();Object.defineProperty(t,"__esModule",{value:!0});var n=o(4),r=o(0),a=o(6);t.ToolbarElement=function(e){function t(t,o,i){void 0===o&&(o="li"),void 0===i&&(i="jodit_toolbar_btn");var n=e.call(this,t)||this;return n.parentToolbar=null,n.container=n.jodit.ownerDocument.createElement(o),n.container.classList.add(i),n}return i(t,e),t.prototype.createIcon=function(e,t){var o=t?t.icon||t.name:e;if(!this.jodit.options.textIcons){var i=this.jodit.events.fire("getIcon",o,t,e),n=void 0;return t&&t.iconURL&&void 0===i?(n=r.dom("<i></i>",this.jodit.ownerDocument)).style.backgroundImage="url("+t.iconURL+")":(void 0===i&&(i=a.ToolbarIcon.getIcon(a.ToolbarIcon.exists(o)?o:"empty")),n=r.dom(i,this.jodit.ownerDocument)),n.classList.add("jodit_icon","jodit_icon_"+e),n}return r.dom('<span class="jodit_icon">'+this.jodit.i18n(t?t.name:e)+"</span>",this.jodit.ownerDocument)},t}(n.Component)},function(e,t,o){"use strict";var i=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])};return function(t,o){function i(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(i.prototype=o.prototype,new i)}}();Object.defineProperty(t,"__esModule",{value:!0});var n=o(4);t.Plugin=function(e){function t(t){var o=e.call(this,t)||this;return t.events.on("afterInit",o.afterInit.bind(o,t)).on("beforeDestruct",o.beforeDestruct.bind(o,t)),o}return i(t,e),t.prototype.beforeDestruct=function(e){},t}(n.Component)},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o(5),n=o(18),r=o(1),a=o(0),s=o(2),l=o(17);r.Config.prototype.enableDragAndDropFileToEditor=!0,r.Config.prototype.uploader={url:"",insertImageAsBase64URI:!1,imagesExtensions:["jpg","png","jpeg","gif"],headers:null,data:null,format:"json",prepareData:function(e){return e},isSuccess:function(e){return e.success},getMessage:function(e){return void 0!==e.data.messages&&Array.isArray(e.data.messages)?e.data.messages.join(" "):""},process:function(e){return e.data},error:function(e){this.jodit.events.fire("errorMessage",e.message,"error",4e3)},defaultHandlerSuccess:function(e){var t=this;e.files&&e.files.length&&e.files.forEach(function(o,i){var n=e.isImages&&e.isImages[i]?["img","src"]:["a","href"],r=n[0],a=n[1],s=t.jodit.editorDocument.createElement(r);s.setAttribute(a,e.baseurl+o),"a"===r&&(s.innerText=e.baseurl+o),"img"===r?t.selection.insertImage(s):t.selection.insertNode(s)})},defaultHandlerError:function(e){this.jodit.events.fire("errorMessage",e.message)},contentType:function(e){return(void 0===this.jodit.ownerWindow.FormData||"string"==typeof e)&&"application/x-www-form-urlencoded; charset=UTF-8"}},t.Uploader=function(){function e(e,t){var o=this;this.path="",this.source="default",this.jodit=e,this.selection=e instanceof i.Jodit?e.selection:new l.Select(e),this.options=a.extend(!0,{},r.Config.prototype.uploader,e instanceof i.Jodit?e.options.uploader:null,t),e instanceof i.Jodit&&e.options.enableDragAndDropFileToEditor&&e.options.uploader&&(e.options.uploader.url||e.options.uploader.insertImageAsBase64URI)&&e.events.on("afterInit",function(){o.bind(e.editor)})}return e.prototype.buildData=function(e){if(this.options.buildData&&"function"==typeof this.options.buildData)return this.options.buildData.call(this,e);if(void 0!==this.jodit.ownerWindow.FormData){if(e instanceof FormData)return e;if("string"==typeof e)return e;var t=new FormData;return Object.keys(e).forEach(function(o){t.append(o,e[o])}),t}return e},e.prototype.send=function(e,t){var o=this,i=this.buildData(e),r=function(e){return new n.Ajax(o.jodit||o,{xhr:function(){var e=new XMLHttpRequest;return void 0!==o.jodit.ownerWindow.FormData&&e.upload?e.upload.addEventListener("progress",function(e){if(e.lengthComputable){var t=e.loaded/e.total;t*=100,o.jodit.progress_bar.style.display="block",o.jodit.progress_bar.style.width=t+"%",100===t&&(o.jodit.progress_bar.style.display="none")}},!1):o.jodit.progress_bar.style.display="none",e},method:"POST",data:e,url:o.options.url,headers:o.options.headers,queryBuild:o.options.queryBuild,contentType:o.options.contentType.call(o,e),dataType:o.options.format||"json"}).send().then(t).catch(function(e){o.options.error.call(o,e)})};return i instanceof Promise?i.then(r).catch(function(e){o.options.error.call(o,e)}):r(i)},e.prototype.sendFiles=function(e,t,o,i){var n=this;if(!e)return Promise.reject(Error("Need files"));var r=this,s=[].slice.call(e);if(!s.length)return Promise.reject(Error("Need files"));var l=[];if(this.options.insertImageAsBase64URI){var c,d=void 0,u=this;for(d=0;s.length>d;d+=1)!function(){if((c=s[d])&&c.type){var e=c.type.match(/\/([a-z0-9]+)/i),o=e[1]?e[1].toLowerCase():"";if(-1!==u.options.imagesExtensions.indexOf(o)){var i=new FileReader;l.push(new Promise(function(e,o){i.onerror=o,i.onloadend=function(){var o={baseurl:"",files:[i.result],isImages:[!0]};"function"==typeof(t||r.options.defaultHandlerSuccess)&&(t||r.options.defaultHandlerSuccess).call(r,o),e(o)},i.readAsDataURL(c)})),s[d]=null}}}()}if((s=s.filter(function(e){return e})).length){var p=new FormData;p.append("path",r.path),p.append("source",r.source);var f=void 0;for(d=0;s.length>d;d+=1)if((f=s[d])&&f.type){var h=f.type.match(/\/([a-z0-9]+)/i),g=h[1]?h[1].toLowerCase():"";p.append("files["+d+"]",s[d],s[d].name||(""+Math.random()).replace(".","")+"."+g)}i&&i(p),r.options.data&&a.isPlainObject(r.options.data)&&Object.keys(r.options.data).forEach(function(e){p.append(e,r.options.data[e])}),r.options.prepareData.call(this,p),l.push(r.send(p,function(e){n.options.isSuccess.call(r,e)?"function"==typeof(t||r.options.defaultHandlerSuccess)&&(t||r.options.defaultHandlerSuccess).call(r,r.options.process.call(r,e)):(o||r.options.defaultHandlerError).call(r,Error(r.options.getMessage.call(r,e)))}).then(function(){n.jodit.events&&n.jodit.events.fire("filesWereUploaded")}))}return Promise.all(l)},e.prototype.setPath=function(e){this.path=e},e.prototype.setSource=function(e){this.source=e},e.dataURItoBlob=function(e){var t,o=atob(e.split(",")[1]),i=e.split(",")[0].split(":")[1].split(";")[0],n=new ArrayBuffer(o.length),r=new Uint8Array(n);for(t=0;o.length>t;t+=1)r[t]=o.charCodeAt(t);return new Blob([r],{type:i})},e.prototype.bind=function(t,o,n){var r=this,l=this,c=function(t){var c,d,u,p=function(e){d&&(e.append("extension",u),e.append("mimetype",d.type))};if(t.clipboardData&&t.clipboardData.files&&t.clipboardData.files.length)return r.sendFiles(t.clipboardData.files,o,n),!1;if(a.browser("ff")||a.isIE()){if(t.clipboardData&&!t.clipboardData.types.length&&t.clipboardData.types[0]!==s.TEXT_PLAIN){var f=a.dom('<div tabindex="-1" style="left: -9999px; top: 0; width: 0; height: 100%; line-height: 140%; overflow: hidden; position: fixed; z-index: 2147483647; word-break: break-all;" contenteditable="true"></div>',r.jodit.ownerDocument);r.jodit.ownerDocument.body.appendChild(f);var h=r.jodit&&r.jodit instanceof i.Jodit?r.jodit.selection.save():null,g=function(){return h&&r.jodit&&r.jodit instanceof i.Jodit&&r.jodit.selection.restore(h)};f.focus(),setTimeout(function(){var t=f.firstChild;if(f.parentNode&&f.parentNode.removeChild(f),t&&t.hasAttribute("src")){var i=t.getAttribute("src")||"";g(),l.sendFiles([e.dataURItoBlob(i)],o,n)}},200)}}else if(t.clipboardData&&t.clipboardData.items&&t.clipboardData.items.length)for(c=0;t.clipboardData.items.length>c;c+=1)if("file"===t.clipboardData.items[c].kind&&"image/png"===t.clipboardData.items[c].type){if(d=t.clipboardData.items[c].getAsFile()){var m=d.type.match(/\/([a-z0-9]+)/i);u=m[1]?m[1].toLowerCase():"",r.sendFiles([d],o,n,p)}t.preventDefault();break}};this.jodit&&this.jodit.editor!==t?l.jodit.events.on(t,"paste",c):l.jodit.events.on("beforePaste",c);var d=function(e){return e.dataTransfer&&e.dataTransfer.files&&0!==e.dataTransfer.files.length};l.jodit.events.on(t,"dragend dragover dragenter dragleave drop",function(e){e.preventDefault()}).on(t,"dragover",function(e){d(e)&&(t.classList.contains("jodit_draghover")||t.classList.add("jodit_draghover"),e.preventDefault())}).on(t,"dragend",function(e){d(e)&&(t.classList.contains("jodit_draghover")&&t.classList.remove("jodit_draghover"),e.preventDefault())}).on(t,"drop",function(e){t.classList.remove("jodit_draghover"),d(e)&&(e.preventDefault(),e.stopImmediatePropagation(),r.sendFiles(e.dataTransfer.files,o,n))});var u=t.querySelector("input[type=file]");u&&l.jodit.events.on(u,"change",function(){l.sendFiles(this.files,o,n).then(function(){u.value="",/safari/i.test(navigator.userAgent)||(u.type="",u.type="file")})})},e.prototype.uploadRemoteImage=function(e,t,o){var i=this,n=this;n.send({action:"fileUploadRemote",url:e},function(e){if(n.options.isSuccess.call(n,e))"function"==typeof t?t.call(n,i.options.process.call(i,e)):i.options.defaultHandlerSuccess.call(n,i.options.process.call(i,e));else if("function"==typeof(o||n.options.defaultHandlerError))return void(o||i.options.defaultHandlerError).call(n,Error(n.options.getMessage.call(i,e)))})},e}()},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o(5),n=o(0),r=o(3),a=o(11);!function(e){e.ColorPickerWidget=function(e,t,o){var a=n.normalizeColor(o),s=n.dom('<div class="jodit_colorpicker"></div>',e.ownerDocument),l=e.options.textIcons?"":i.Jodit.modules.ToolbarIcon.getIcon("eye"),c=e.options.textIcons?"<span>"+e.i18n("eraser")+"</span>":i.Jodit.modules.ToolbarIcon.getIcon("eraser"),d=function(e){var t=[];return n.isPlainObject(e)?Object.keys(e).forEach(function(o){t.push('<div class="jodit_colorpicker_group jodit_colorpicker_group-'+o+'">'),t.push(d(e[o])),t.push("</div>")}):Array.isArray(e)&&e.forEach(function(e){t.push("<a "+(a===e?' class="active" ':"")+' title="'+e+'" style="background-color:'+e+'" data-color="'+e+'" href="javascript:void(0)">'+(a===e?l:"")+"</a>")}),t.join("")};return s.appendChild(n.dom("<div>"+d(e.options.colors)+"</div>",e.ownerDocument)),s.appendChild(n.dom("<a "+(e.options.textIcons?'class="jodit_text_icon"':"")+' data-color="" href="javascript:void(0)">'+c+"</a>",e.ownerDocument)),e.events.on(s,"mousedown touchend",function(o){o.stopPropagation();var a=o.target;if("SVG"!==a.tagName.toUpperCase()&&"PATH"!==a.tagName.toUpperCase()||!a.parentNode||(a=r.Dom.closest(a.parentNode,"A",e.editor)),"A"===a.tagName.toUpperCase()){var l=s.querySelector("a.active");l&&(l.classList.remove("active"),l.innerHTML="");var c=a.getAttribute("data-color")||"";if(c){a.innerHTML=i.Jodit.modules.ToolbarIcon.getIcon("eye"),a.classList.add("active");var d=n.hexToRgb(c);d&&(a.firstChild.style.fill="rgb("+(255-d.r)+","+(255-d.g)+","+(255-d.b)+")")}t&&"function"==typeof t&&t(c),o.preventDefault()}}),s},e.TabsWidget=function(e,t,o){var i=n.dom('<div class="jodit_tabs"></div>',e.ownerDocument),r=n.dom('<div class="jodit_tabs_wrapper"></div>',e.ownerDocument),a=n.dom('<div class="jodit_tabs_buttons"></div>',e.ownerDocument),s={},l="",c=0;return i.appendChild(a),i.appendChild(r),n.each(t,function(t,i){var d=n.dom('<div class="jodit_tab"></div>',e.ownerDocument),u=n.dom('<a href="javascript:void(0);"></a>',e.ownerDocument);l||(l=t),u.innerHTML=e.i18n(t),a.appendChild(u),d.appendChild("function"!=typeof i?n.dom(i,e.ownerDocument):n.dom('<div class="jodit_tab_empty"></div>',e.ownerDocument)),r.appendChild(d),e.events.on(u,"mousedown touchend",function(s){return n.$$("a",a).forEach(function(e){e.classList.remove("active")}),n.$$(".jodit_tab",r).forEach(function(e){e.classList.remove("active")}),u.classList.add("active"),d.classList.add("active"),"function"==typeof i&&i.call(e),s.stopPropagation(),o&&(o.__activeTab=t),!1}),s[t]={button:u,tab:d},c+=1}),c?(n.$$("a",a).forEach(function(e){e.style.width=(100/c).toFixed(10)+"%"}),o&&o.__activeTab&&s[o.__activeTab]?(s[o.__activeTab].button.classList.add("active"),s[o.__activeTab].tab.classList.add("active")):(s[l].button.classList.add("active"),s[l].tab.classList.add("active")),i):i},e.FileSelectorWidget=function(t,o,r,s,l){void 0===l&&(l=!0);var c,d={};if(o.upload&&t.options.uploader&&(t.options.uploader.url||t.options.uploader.insertImageAsBase64URI)){var u=n.dom('<div class="jodit_draganddrop_file_box"><strong>'+t.i18n(l?"Drop image":"Drop file")+"</strong><span><br> "+t.i18n("or click")+'</span><input type="file" accept="'+(l?"image/*":"*")+'image/*" tabindex="-1" dir="auto" multiple=""/></div>',t.ownerDocument);new a.Uploader(t).bind(u,function(e){"function"==typeof o.upload&&o.upload.call(t,{baseurl:e.baseurl,files:e.files})},function(e){t.events.fire("errorMessage",e.message)}),d[(t.options.textIcons?"":i.Jodit.modules.ToolbarIcon.getIcon("upload"))+t.i18n("Upload")]=u}o.filebrowser&&(t.options.filebrowser.ajax.url||t.options.filebrowser.items.url)&&(d[(t.options.textIcons?"":i.Jodit.modules.ToolbarIcon.getIcon("folder"))+t.i18n("Browse")]=function(){s&&s(),o.filebrowser&&t.getInstance("FileBrowser").open(o.filebrowser,l)});if(o.url){var p=n.dom('<form onsubmit="return false;" class="jodit_form"><input type="text" required name="url" placeholder="http://"/><input type="text" name="text" placeholder="'+t.i18n("Alternative text")+'"/><div style="text-align: right"><button>'+t.i18n("Insert")+"</button></div></form>",t.ownerDocument),f=p.querySelector("button"),h=p.querySelector("input[name=url]");c=null,r&&r.nodeType!==Node.TEXT_NODE&&("IMG"===r.tagName||n.$$("img",r).length)&&(c="IMG"===r.tagName?r:n.$$("img",r)[0],n.val(p,"input[name=url]",c.getAttribute("src")),n.val(p,"input[name=text]",c.getAttribute("alt")),f.innerText=t.i18n("Update")),r&&r.nodeType!==Node.TEXT_NODE&&"A"===r.nodeName&&(n.val(p,"input[name=url]",r.getAttribute("href")||""),n.val(p,"input[name=text]",r.getAttribute("title")||""),f.innerText=t.i18n("Update")),p.addEventListener("submit",function(e){return e.preventDefault(),e.stopPropagation(),n.val(p,"input[name=url]")?("function"==typeof o.url&&o.url.call(t,n.val(p,"input[name=url]"),n.val(p,"input[name=text]")),!1):(h.focus(),h.classList.add("jodit_error"),!1)},!1),d[(t.options.textIcons?"":i.Jodit.modules.ToolbarIcon.getIcon("link"))+" URL"]=p}return e.TabsWidget(t,d)}}(t.Widget||(t.Widget={}))},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(){this.__store={}}return e.prototype.get=function(e,t){if(void 0!==this.__store[t])return this.__store[t][e]},e.prototype.indexOf=function(e,t,o){var i=this.get(e,t);if(i)for(var n=0;i.length>n;n+=1)if(i[n].originalCallback===o)return n;return!1},e.prototype.namespaces=function(){return Object.keys(this.__store)},e.prototype.events=function(e){return this.__store[e]?Object.keys(this.__store[e]):[]},e.prototype.set=function(e,t,o,i){void 0===i&&(i=!1),void 0===this.__store[t]&&(this.__store[t]={}),void 0===this.__store[t][e]&&(this.__store[t][e]=[]),i?this.__store[t][e].unshift(o):this.__store[t][e].push(o)},e}();t.EventsNative=function(){function e(e){var t=this;this.__defaultNameSpace="JoditEventDefaultNamespace",this.__key="__JoditEventsNativeNamespaces",this.current=[],this.doc=document,this.prepareEvent=function(e){e.cancelBubble||(e.type.match(/^touch/)&&e.changedTouches&&e.changedTouches.length&&["clientX","clientY","pageX","pageY"].forEach(function(t){Object.defineProperty(e,t,{value:e.changedTouches[0][t],configurable:!0,enumerable:!0})}),e.originalEvent||(e.originalEvent=e),"paste"===e.type&&void 0===e.clipboardData&&t.doc.defaultView.clipboardData&&Object.defineProperty(e,"clipboardData",{get:function(){return t.doc.defaultView.clipboardData},configurable:!0,enumerable:!0}))},this.__stopped=[],e&&(this.doc=e),this.__key+=(new Date).getTime()}return e.prototype.eachEvent=function(e,t){var o=this;e.split(/[\s,]+/).forEach(function(e){var i=e.split(".");t.call(o,i[0],i[1]||o.__defaultNameSpace)})},e.prototype.getStore=function(e){if(void 0===e[this.__key]){var t=new i;Object.defineProperty(e,this.__key,{enumerable:!1,configurable:!0,value:t})}return e[this.__key]},e.prototype.clearStore=function(e){void 0!==e[this.__key]&&delete e[this.__key]},e.prototype.on=function(e,t,o,i,n){var r=this;void 0===n&&(n=!1);var a="string"==typeof e?this:e,s="string"==typeof t?t:e,l=o;void 0===l&&"function"==typeof t&&(l=t);var c=this.getStore(a);if("string"!=typeof s||""===s)throw Error("Need events names");if("function"!=typeof l)throw Error("Need event handler");if(Array.isArray(a))return a.forEach(function(e){r.on(e,s,l,i)}),this;var d="function"==typeof a.addEventListener,u=this,p=function(){return l&&l.apply(this,arguments)};return d&&(p=function(e){if(u.prepareEvent(e),l&&!1===l.call(this,e))return e.preventDefault(),e.stopImmediatePropagation(),!1},i&&(p=function(e){u.prepareEvent(e);for(var t=e.target;t&&t!==this;){if(t.matches(i))return Object.defineProperty(e,"target",{value:t,configurable:!0,enumerable:!0}),l&&!1===l.call(t,e)?(e.preventDefault(),!1):void 0;t=t.parentNode}})),this.eachEvent(s,function(e,t){if(""===e)throw Error("Need event name");!1===c.indexOf(e,t,l)&&(c.set(e,t,{event:e,originalCallback:l,syntheticCallback:p},n),d&&a.addEventListener(e,p,!1))}),this},e.prototype.off=function(e,t,o){var i=this,n="string"==typeof e?this:e,r="string"==typeof t?t:e,a=this.getStore(n),s=o;if("string"!=typeof r||!r)return a.namespaces().forEach(function(e){i.off(n,"."+e)}),this.clearStore(n),this;void 0===s&&"function"==typeof t&&(s=t);var l="function"==typeof n.removeEventListener,c=function(e){l&&n.removeEventListener(e.event,e.syntheticCallback,!1)},d=function(e,t){if(""!==e){var o=a.get(e,t);if(o&&o.length)if("function"!=typeof s)o.forEach(c),o.length=0;else{var i=a.indexOf(e,t,s);!1!==i&&(c(o[i]),o.splice(i,1))}}else a.events(t).forEach(function(e){""!==e&&d(e,t)})};return this.eachEvent(r,function(e,t){t===i.__defaultNameSpace?a.namespaces().forEach(function(t){d(e,t)}):d(e,t)}),this},e.prototype.triggerNativeEvent=function(e,t){var o=this.doc.createEvent("HTMLEvents");"string"==typeof t?o.initEvent(t,!0,!0):(o.initEvent(t.type,t.bubbles,t.cancelable),["screenX","screenY","clientX","clientY","target","srcElement","currentTarget","timeStamp","which","keyCode"].forEach(function(e){Object.defineProperty(o,e,{value:t[e],enumerable:!0})}),Object.defineProperty(o,"originalEvent",{value:t,enumerable:!0})),e.dispatchEvent(o)},e.prototype.stopPropagation=function(e,t){var o=this,i="string"==typeof e?this:e,n="string"==typeof e?e:t;if("string"!=typeof n)throw Error("Need event names");var r=this.getStore(i);this.eachEvent(n,function(e,t){var i=r.get(e,t);i&&o.__stopped.push(i)})},e.prototype.removeStop=function(e){if(e){var t=this.__stopped.indexOf(e);-1!==t&&this.__stopped.splice(t,1)}},e.prototype.isStopped=function(e){return void 0!==e&&-1!==this.__stopped.indexOf(e)},e.prototype.fire=function(e,t){for(var o=this,i=[],n=2;arguments.length>n;n++)i[n-2]=arguments[n];var r,a=void 0,s="string"==typeof e?this:e,l="string"==typeof e?e:t,c="string"==typeof e?[t].concat(i):i,d="function"==typeof s.dispatchEvent;if(!d&&"string"!=typeof l)throw Error("Need events names");var u=this.getStore(s);return"string"!=typeof l&&d?this.triggerNativeEvent(s,t):this.eachEvent(l,function(e,t){if(d)o.triggerNativeEvent(s,e);else{var i=u.get(e,t);if(i)try{i.every(function(t){return!o.isStopped(i)&&(o.current.push(e),r=t.syntheticCallback.apply(s,c),o.current.pop(),void 0!==r&&(a=r),!0)})}finally{o.removeStop(i)}t!==o.__defaultNameSpace||d||u.namespaces().filter(function(e){return e!==t}).forEach(function(t){var i=o.fire.apply(o,[s,e+"."+t].concat(c));void 0!==i&&(a=i)})}}),a},e.prototype.destruct=function(){this.off(this)},e}()},function(e,t,o){"use strict";var i=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])};return function(t,o){function i(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(i.prototype=o.prototype,new i)}}();Object.defineProperty(t,"__esModule",{value:!0});var n=o(2),r=o(0),a=o(3),s=o(9),l=o(34),c=o(35),d=o(15);t.ToolbarButton=function(e){function t(t,o,i){var n=e.call(this,t)||this;n.__disabled=!1,n.__actived=!1,n.checkActiveStatus=function(e,t){var o=0,i=0;return Object.keys(e).forEach(function(a){var s=e[a];"function"==typeof s?s(n.jodit,""+r.css(t,a))&&(o+=1):-1!==s.indexOf(""+r.css(t,a))&&(o+=1),i+=1}),i===o},n.onMouseDown=function(e){if(e.stopImmediatePropagation(),e.preventDefault(),n.disable)return!1;var t=n.control;if(t.list){var o=new c.ToolbarList(n.jodit,n.container,n.target);o.parentToolbar=n.parentToolbar,o.open(t),n.jodit.events.fire("closeAllPopups",o.container)}else if(void 0!==t.exec&&"function"==typeof t.exec)t.exec(n.jodit,n.target||!!n.jodit.selection&&n.jodit.selection.current(),t,e,n.container),n.jodit.events.fire("synchro"),n.parentToolbar&&n.parentToolbar.immedateCheckActiveButtons(),n.jodit.events.fire("closeAllPopups afterExec");else if(void 0!==t.popup&&"function"==typeof t.popup){var i=new d.ToolbarPopup(n.jodit,n.container,n.target);i.parentToolbar=n.parentToolbar,!1!==n.jodit.events.fire(r.camelCase("before-"+t.name+"-OpenPopup"),n.target||!!n.jodit.selection&&n.jodit.selection.current(),t,i)&&i.open(t.popup(n.jodit,n.target||!!n.jodit.selection&&n.jodit.selection.current(),t,i.close,n)),n.jodit.events.fire(r.camelCase("after-"+t.name+"-OpenPopup")+" closeAllPopups",i.container)}else(t.command||t.name)&&(n.jodit.execCommand(t.command||t.name,t.args&&t.args[0]||!1,t.args&&t.args[1]||null),n.jodit.events.fire("closeAllPopups"))},n.control=o,n.target=i,n.anchor=n.jodit.ownerDocument.createElement("a"),n.container.appendChild(n.anchor),t.options.showTooltip&&o.tooltip&&(t.options.useNativeTooltip?n.anchor.setAttribute("title",n.jodit.i18n(o.tooltip)+(o.hotkeys?"<br>"+r.asArray(o.hotkeys).join(" "):"")):n.tooltip=new l.Tooltip(n)),n.textBox=n.jodit.ownerDocument.createElement("span"),n.anchor.appendChild(n.textBox);var s=o.name.replace(/[^a-zA-Z0-9]/g,"_");if(o.getContent&&"function"==typeof o.getContent)a.Dom.detach(n.container),n.container.appendChild(r.dom(o.getContent(n.jodit,o,n),n.jodit.ownerDocument));else{if(o.list&&n.anchor){var u=n.jodit.ownerDocument.createElement("span");u.classList.add("jodit_with_dropdownlist-trigger"),n.container.classList.add("jodit_with_dropdownlist"),n.anchor.appendChild(u)}n.textBox.appendChild(n.createIcon(s,o))}return n.container.classList.add("jodit_toolbar_btn-"+s),o.isInput?n.container.classList.add("jodit_toolbar-input"):n.jodit.events.on(n.container,"mousedown touchend",n.onMouseDown),n}return i(t,e),Object.defineProperty(t.prototype,"disable",{get:function(){return this.__disabled},set:function(e){this.__disabled=e,this.container.classList.toggle("jodit_disabled",e),e?this.container.hasAttribute("disabled")||this.container.setAttribute("disabled","disabled"):this.container.hasAttribute("disabled")&&this.container.removeAttribute("disabled")},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"active",{get:function(){return this.__actived},set:function(e){this.__actived=e,this.container.classList.toggle("jodit_active",e)},enumerable:!0,configurable:!0}),t.prototype.isDisable=function(){var e=void 0===this.control||void 0===this.control.mode?n.MODE_WYSIWYG:this.control.mode,t=e===n.MODE_SPLIT||e===this.jodit.getRealMode();return"function"==typeof this.control.isDisable&&(t=t&&!this.control.isDisable(this.jodit,this.control,this)),this.jodit.options.readonly&&-1===this.jodit.options.activeButtonsInReadOnly.indexOf(this.control.name)&&(t=!1),!t},t.prototype.isActive=function(){var e=this;if("function"==typeof this.control.isActive)return this.control.isActive(this.jodit,this.control,this);var t,o,i,n=!!this.jodit.selection&&this.jodit.selection.current();return!!n&&(!(!(this.control.tags||this.control.options&&this.control.options.tags)||(t=this.control.tags||this.control.options&&this.control.options.tags,o=n,!a.Dom.up(o,function(e){if(e&&-1!==t.indexOf(e.nodeName.toLowerCase()))return!0},this.jodit.editor)))||!(!(this.control.css||this.control.options&&this.control.options.css)||(i=this.control.css||this.control.options&&this.control.options.css,o=n,!a.Dom.up(o,function(t){if(t&&t.nodeType!==Node.TEXT_NODE)return e.checkActiveStatus(i,t)},this.jodit.editor))))},t.prototype.destruct=function(){this.jodit.events.off(this.container)},t}(s.ToolbarElement)},function(e,t,o){"use strict";var i=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])};return function(t,o){function i(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(i.prototype=o.prototype,new i)}}();Object.defineProperty(t,"__esModule",{value:!0});var n=o(0),r=o(3),a=o(9);t.ToolbarPopup=function(e){function t(o,i,a,s){void 0===s&&(s="jodit_toolbar_popup");var l=e.call(this,o,"div",s)||this;return l.target=i,l.current=a,l.className=s,l.isOpened=!1,l.getContainer=function(){return l.container},l.calcPosition=n.throttle(function(){if(l.isOpened){var e=l.getContainer(),t=n.offset(l.jodit.container,l.jodit,l.jodit.ownerDocument,!0),o=n.offset(e,l.jodit,l.jodit.ownerDocument,!0),i=n.css(e,"marginLeft")||0;o.left-=i;var r=i,a="auto";if(r=t.left>o.left?t.left-o.left:t.left+t.width>o.left+o.width?0:-(o.left+o.width-(t.left+t.width)),t.width>o.width||(r=t.left-o.left,a=t.width),r!==i)try{e.style.setProperty("margin-left",r+"px","important")}catch(t){e.style.marginLeft=r+"px"}var s=e.querySelector(".jodit_popup_triangle");s&&(s.style.marginLeft=-r+"px"),n.css(e,"width",a)}},l.jodit.defaultTimeout),l.close=function(e){l.isOpened&&(e&&r.Dom.isOrContains(l.container,e instanceof t?e.target:e)||(l.isOpened=!1,l.jodit.events.off("closeAllPopups",l.close),l.doClose(),l.container.parentNode&&l.container.parentNode.removeChild(l.container),l.jodit.selection&&l.jodit.selection.removeMarkers()))},l.container.setAttribute("data-editor_id",o.id),l.jodit.events.on(l.container,"mousedown touchstart touchend",function(e){e.stopPropagation()}).on([l.jodit.ownerWindow,l.jodit.events],"resize",l.calcPosition),l}return i(t,e),t.prototype.destruct=function(){this.jodit.events.off([this.jodit.ownerWindow,this.jodit.events],"resize",this.calcPosition),e.prototype.destruct.call(this)},t.prototype.doOpen=function(e){e&&(r.Dom.detach(this.container),this.container.innerHTML='<span class="jodit_popup_triangle"></span>',this.container.appendChild(n.dom(e,this.jodit.ownerDocument)),this.container.style.display="block",this.container.style.marginLeft=null)},t.prototype.open=function(e,t,o){void 0===o&&(o=!1),this.jodit.events.fire("beforeOpenPopup closeAllPopups",this,e),o||this.jodit.events.on("closeAllPopups",this.close),this.container.classList.add(this.className+"-open"),this.doOpen(e),this.target.appendChild(this.container),void 0!==t&&this.container.classList.toggle("jodit_right",t),!o&&this.parentToolbar&&this.jodit.events.fire(this.parentToolbar,"afterOpenPopup",this.container),this.isOpened=!0,this.calcPosition()},t.prototype.doClose=function(){},t}(a.ToolbarElement)},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Component=o(4).Component,t.Ajax=o(18).Ajax,t.ContextMenu=o(20).ContextMenu,t.Cookie=o(69).Cookie;var i=o(7);t.Dialog=i.Dialog,t.Alert=i.Alert,t.Confirm=i.Confirm,t.Promt=i.Promt,t.Dom=o(3).Dom,t.EventsNative=o(13).EventsNative,t.FileBrowser=o(70).FileBrowser,t.Helpers=o(0),t.ImageEditor=o(72).ImageEditor,t.Observer=o(22).Observer,t.Select=o(17).Select,t.Snapshot=o(23).Snapshot,t.Table=o(25).Table,t.ToolbarIcon=o(6).ToolbarIcon,t.ToolbarCollection=o(8).ToolbarCollection,t.ToolbarButton=o(14).ToolbarButton,t.Stack=o(24).Stack,t.Uploader=o(11).Uploader},function(e,t,o){"use strict";var i=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])};return function(t,o){function i(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(i.prototype=o.prototype,new i)}}();Object.defineProperty(t,"__esModule",{value:!0});var n=o(2),r=o(4),a=o(0),s=o(3),l=o(2),c=o(2);t.Select=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.isMarker=function(e){return s.Dom.isNode(e,t.jodit.editorWindow)&&e.nodeType===Node.ELEMENT_NODE&&"SPAN"===e.nodeName&&e.hasAttribute("data-"+n.MARKER_CLASS)},t.marker=function(e,o){void 0===e&&(e=!1);var i=null;o&&(i=o.cloneRange()).collapse(e);var r=t.jodit.editorDocument.createElement("span");return r.id=n.MARKER_CLASS+"_"+ +new Date+"_"+(""+Math.random()).slice(2),r.style.lineHeight="0",r.style.display="none",r.setAttribute("data-"+n.MARKER_CLASS,e?"start":"end"),r.appendChild(t.jodit.editorDocument.createTextNode(n.INVISIBLE_SPACE)),i&&s.Dom.isOrContains(t.jodit.editor,e?i.startContainer:i.endContainer)&&i.insertNode(r),r},t.focus=function(){var e=t.jodit;if(!t.isFocused()){if(e.options.iframe&&a.isIE())for(var o=0;1e5>o&&"complete"!==e.editorDocument.readyState;)o++;e.iframe&&e.iframe.focus(),e.editorWindow.focus(),e.editor.focus();var i=e.editorWindow.getSelection(),n=e.editorDocument.createRange();return i.rangeCount&&t.current()||(n.setStart(e.editor,0),n.collapse(!0),i.removeAllRanges(),i.addRange(n)),!0}return!1},t.eachSelection=function(e){var o=t.jodit.editorWindow.getSelection();if(o.rangeCount){var i=o.getRangeAt(0),n=[],r=i.startContainer===t.jodit.editor?t.jodit.editor.childNodes[i.startOffset]:i.startContainer,a=i.endContainer===t.jodit.editor?t.jodit.editor.childNodes[i.endOffset-1]:i.endContainer;s.Dom.find(r,function(e){return!e||e===t.jodit.editor||s.Dom.isEmptyTextNode(e)||t.isMarker(e)||n.push(e),e===a},t.jodit.editor,!0,"nextSibling",!1);var l=function(o){if(o.nodeName.match(/^(UL|OL)$/))return[].slice.call(o.childNodes).forEach(l);if("LI"===o.nodeName)if(o.firstChild)o=o.firstChild;else{var i=t.jodit.editorDocument.createTextNode(c.INVISIBLE_SPACE);o.appendChild(i),o=i}e(o)};0===n.length&&s.Dom.isEmptyTextNode(r)&&n.push(r),n.forEach(l)}},t.applyCSS=function(e,o,i){void 0===o&&(o="span");var r,l=function(e){return null!==e&&!s.Dom.isEmptyTextNode(e)&&!t.isMarker(e)},c=function(e){return(RegExp("^"+e.nodeName+"$","i").test(o)||!(!i||!function(e){return"FONT"!==e.nodeName&&e.nodeType===Node.ELEMENT_NODE&&(a.isPlainObject(i)&&!1!==a.each(i,function(t,o){var i=a.css(e,t,void 0,!0);return null!==i&&""!==i&&-1!==o.indexOf((""+i).toLowerCase())})||"function"==typeof i&&i(t.jodit,e))}(e)))&&l(e)},d=function(t){c(t)&&("SPAN"===t.nodeName&&e&&Object.keys(e).forEach(function(o){0===r||a.css(t,o)==a.normilizeCSSValue(o,e[o])?(a.css(t,o,""),void 0===r&&(r=0)):(a.css(t,o,e[o]),void 0===r&&(r=1))}),s.Dom.isBlock(t)||t.getAttribute("style")&&"SPAN"===t.nodeName||(s.Dom.unwrap(t),void 0===r&&(r=0)))};if(t.isCollapsed()){var u=!1;if(t.current()&&s.Dom.closest(t.current(),o,t.jodit.editor)){u=!0;var p=s.Dom.closest(t.current(),o,t.jodit.editor);p&&t.setCursorAfter(p)}if("SPAN"===o.toUpperCase()||!u){var f=t.jodit.editorDocument.createElement(o);f.appendChild(t.jodit.editorDocument.createTextNode(n.INVISIBLE_SPACE)),t.insertNode(f,!1,!1),"SPAN"===o.toUpperCase()&&e&&a.css(f,e),t.setCursorIn(f)}}else{var h=t.save();a.normalizeNode(t.jodit.editor.firstChild),a.$$("*[style*=font-size]",t.jodit.editor).forEach(function(e){e.style&&e.style.fontSize&&e.setAttribute("data-font-size",""+e.style.fontSize)}),t.jodit.editorDocument.execCommand("fontsize",!1,7),a.$$("*[data-font-size]",t.jodit.editor).forEach(function(e){e.style&&e.getAttribute("data-font-size")&&(e.style.fontSize=e.getAttribute("data-font-size"),e.removeAttribute("data-font-size"))}),a.$$('font[size="7"]',t.jodit.editor).forEach(function(i){if(s.Dom.next(i,l,i.parentNode)||s.Dom.prev(i,l,i.parentNode)||!c(i.parentNode)||i.parentNode===t.jodit.editor||s.Dom.isBlock(i.parentNode)&&!n.IS_BLOCK.test(o))if(i.firstChild&&!s.Dom.next(i.firstChild,l,i)&&!s.Dom.prev(i.firstChild,l,i)&&c(i.firstChild))d(i.firstChild);else if(s.Dom.closest(i,c,t.jodit.editor)){var u=t.jodit.editorDocument.createRange(),p=s.Dom.closest(i,c,t.jodit.editor);u.setStartBefore(p),u.setEndBefore(i);var f=u.extractContents();f.textContent&&a.trim(f.textContent).length||!f.firstChild||s.Dom.unwrap(f.firstChild),p.parentNode&&p.parentNode.insertBefore(f,p),u.setStartAfter(i),u.setEndAfter(p);var h=u.extractContents();h.textContent&&a.trim(h.textContent).length||!h.firstChild||s.Dom.unwrap(h.firstChild),s.Dom.after(p,h),d(p)}else{var g=[],m=void 0;i.firstChild&&s.Dom.find(i.firstChild,function(e){return e&&c(e)?(void 0===m&&(m=!0),g.push(e)):void 0===m&&(m=!1),!1},i,!0),g.forEach(s.Dom.unwrap),m||(void 0===r&&(r=1),1===r&&a.css(s.Dom.replace(i,o,!1,!1,t.jodit.editorDocument),e&&"SPAN"===o.toUpperCase()?e:{}))}else d(i.parentNode);i.parentNode&&s.Dom.unwrap(i)}),t.restore(h)}},t}return i(t,e),t.prototype.remove=function(){var e=this.jodit.editorWindow.getSelection();if(this.current())for(var t=0;e.rangeCount>t;t+=1)e.getRangeAt(t).deleteContents(),e.getRangeAt(t).collapse(!0)},t.prototype.insertCursorAtPoint=function(e,t){var o,i=this.jodit.editorDocument;this.removeMarkers();try{var n=null;if(i.caretPositionFromPoint?(o=i.caretPositionFromPoint(e,t),(n=i.createRange()).setStart(o.offsetNode,o.offset)):i.caretRangeFromPoint&&(o=i.caretRangeFromPoint(e,t),(n=i.createRange()).setStart(o.startContainer,o.startOffset)),n&&void 0!==this.jodit.editorWindow.getSelection){n.collapse(!0);var r=this.jodit.editorWindow.getSelection();r.removeAllRanges(),r.addRange(n)}else if(void 0!==i.body.createTextRange){var a=i.body.createTextRange();a.moveToPoint(e,t);var s=a.duplicate();s.moveToPoint(e,t),a.setEndPoint("EndToEnd",s),a.select()}return!0}catch(e){}return!1},t.prototype.removeMarkers=function(){a.$$("span[data-"+n.MARKER_CLASS+"]",this.jodit.editor).forEach(function(e){e.parentNode&&e.parentNode.removeChild(e)})},t.prototype.restore=function(e){var t=this;if(void 0===e&&(e=[]),Array.isArray(e)){var o=this.jodit.editorWindow.getSelection();o.removeAllRanges(),e.forEach(function(e){var i=t.jodit.editorDocument.createRange(),n=t.jodit.editor.querySelector("#"+e.endId),r=t.jodit.editor.querySelector("#"+e.startId);if(r){if(e.collapsed||!n){var a=r.previousSibling;a&&a.nodeType===Node.TEXT_NODE?i.setStart(a,a.nodeValue?a.nodeValue.length:0):i.setStartBefore(r),r.parentNode&&r.parentNode.removeChild(r),i.collapse(!0)}else i.setStartAfter(r),r.parentNode&&r.parentNode.removeChild(r),i.setEndBefore(n),n.parentNode&&n.parentNode.removeChild(n);o.addRange(i)}})}},t.prototype.save=function(){var e=this.jodit.editorWindow.getSelection();if(!e.rangeCount)return[];var t,o,i,n=[],r=e.rangeCount,a=[];for(t=0;r>t;t+=1)a[t]=e.getRangeAt(t),a[t].collapsed?(o=this.marker(!0,a[t]),n[t]={startId:o.id,collapsed:!0,startMarker:o.outerHTML}):(o=this.marker(!0,a[t]),i=this.marker(!1,a[t]),n[t]={startId:o.id,endId:i.id,collapsed:!1,startMarker:o.outerHTML,endMarker:i.outerHTML});for(e.removeAllRanges(),t=r-1;t>=0;--t){var s=this.jodit.editorDocument.getElementById(n[t].startId);if(s)if(n[t].collapsed)a[t].setStartAfter(s),a[t].collapse(!0);else if(a[t].setStartBefore(s),n[t].endId){var l=this.jodit.editorDocument.getElementById(n[t].endId);l&&a[t].setEndAfter(l)}try{e.addRange(a[t].cloneRange())}catch(e){}}return n},t.prototype.isCollapsed=function(){var e,t=this.jodit.editorWindow.getSelection();for(e=0;t.rangeCount>e;e+=1)if(!t.getRangeAt(e).collapsed)return!1;return!0},t.prototype.isFocused=function(){return this.jodit.editorDocument.hasFocus&&this.jodit.editorDocument.hasFocus()&&this.jodit.editor===this.jodit.editorDocument.activeElement},t.prototype.current=function(e){if(void 0===e&&(e=!0),this.jodit.getRealMode()===n.MODE_WYSIWYG&&void 0!==this.jodit.editorWindow.getSelection){var t=this.jodit.editorWindow.getSelection();if(t&&t.rangeCount>0){var o=t.getRangeAt(0),i=o.startContainer,r=!1,a=function(e){return r?e.lastChild:e.firstChild};if(i.nodeType!==Node.TEXT_NODE&&((i=o.startContainer.childNodes[o.startOffset])||(i=o.startContainer.childNodes[o.startOffset-1],r=!0),i&&t.isCollapsed&&i.nodeType!==Node.TEXT_NODE))if(!r&&i.previousSibling&&i.previousSibling.nodeType===Node.TEXT_NODE)i=i.previousSibling;else if(e)for(var l=a(i);l;){if(l&&l.nodeType===Node.TEXT_NODE){i=l;break}l=a(l)}if(i&&s.Dom.isOrContains(this.jodit.editor,i))return i}}return!1},t.prototype.insertNode=function(e,t,o){if(void 0===t&&(t=!0),void 0===o&&(o=!0),!(e instanceof this.jodit.editorWindow.Node))throw Error("Parameter node most be instance of Node");if(this.focus(),!this.jodit.editorWindow.getSelection)throw Error("Jodit does'n support this browser");var i=this.jodit.editorWindow.getSelection();if(this.isCollapsed()||this.jodit.execCommand("Delete"),i.rangeCount){var n=i.getRangeAt(0);s.Dom.isOrContains(this.jodit.editor,n.commonAncestorContainer)?(n.deleteContents(),n.insertNode(e)):this.jodit.editor.appendChild(e)}else this.jodit.editor.appendChild(e);t&&this.setCursorAfter(e),o&&this.jodit.events&&this.jodit.events.fire("synchro"),this.jodit.events&&this.jodit.events.fire("afterInsertNode",e)},t.prototype.insertHTML=function(e){if(""!==e){var t,o,i=this.jodit.editorDocument.createElement("div"),n=this.jodit.editorDocument.createDocumentFragment();if(!this.isFocused()&&this.jodit.isEditorMode()&&this.focus(),e instanceof this.jodit.editorWindow.Node?s.Dom.isNode(e,this.jodit.editorWindow)&&i.appendChild(e):i.innerHTML=""+e,this.jodit.isEditorMode()||!1!==this.jodit.events.fire("insertHTML",i.innerHTML)){for(t=i.lastChild;i.firstChild;)t=i.firstChild,n.appendChild(i.firstChild);for(this.insertNode(n,!1),t?this.setCursorAfter(t):this.setCursorIn(n),o=this.jodit.editor.lastChild;o&&o.nodeType===Node.TEXT_NODE&&o.previousSibling&&o.nodeValue&&/^\s*$/.test(o.nodeValue);)o=o.previousSibling;t&&(o&&t===o&&t.nodeType===Node.ELEMENT_NODE&&this.jodit.editor.appendChild(this.jodit.editorDocument.createElement("br")),this.setCursorAfter(t))}}},t.prototype.insertImage=function(e,t){void 0===t&&(t={});var o="string"==typeof e?a.dom('<img src=""/>',this.jodit.editorDocument):a.dom(e,this.jodit.editorDocument);"string"==typeof e&&o.setAttribute("src",e);var i=""+this.jodit.options.imageDefaultWidth;i&&"auto"!==i&&0>(i+"").indexOf("px")&&0>(i+"").indexOf("%")&&(i+="px"),t.width=i,t&&"object"==typeof t&&a.each(t,function(e,t){o.style[t]=e});var n=function(){(o.offsetHeight>o.naturalHeight||o.offsetWidth>o.naturalWidth)&&(o.style.width="",o.style.height=""),o.removeEventListener("load",n)};o.addEventListener("load",n),o.complete&&n(),this.insertNode(o),this.jodit.events.fire("afterInsertImage",o)},t.prototype.setCursorAfter=function(e){var t=this;if(!(e instanceof this.jodit.editorWindow.Node))throw Error("Parameter node most be instance of Node");if(!s.Dom.up(e,function(e){return e===t.jodit.editor||e&&e.parentNode===t.jodit.editor},this.jodit.editor))throw Error("Node element must be in editor");var o=this.jodit.editorDocument.createRange(),i=!1;return e.nodeType!==Node.TEXT_NODE?(i=this.jodit.editorDocument.createTextNode(n.INVISIBLE_SPACE),o.setStartAfter(e),o.insertNode(i),o.selectNode(i)):o.setEnd(e,null!==e.nodeValue?e.nodeValue.length:0),o.collapse(!1),this.selectRange(o),i},t.prototype.cursorInTheEdge=function(e,t){var o=this.jodit.editorWindow.getSelection(),i=o.rangeCount?o.getRangeAt(0):null;if(!i)return null;var n=e?i.startContainer:i.endContainer,r=function(o){return e?s.Dom.prev(o,function(e){return!!e},t):s.Dom.next(o,function(e){return!!e},t)},a=function(e){for(;e;)if((e=r(e))&&!s.Dom.isEmptyTextNode(e)&&"BR"!==e.nodeName)return!1};if(n.nodeType===Node.TEXT_NODE){var c=n.nodeValue||"";if(e&&i.startOffset>c.length-c.replace(l.INVISIBLE_SPACE_REG_EXP_START,"").length)return!1;if(!e&&i.startOffset<c.replace(l.INVISIBLE_SPACE_REG_EXP_END,"").length)return!1;if(!1===a(n))return!1}var d=this.current(!1);return d&&s.Dom.isOrContains(t,d,!0)?!(!e&&i.startContainer.childNodes[i.startOffset]&&d&&!s.Dom.isEmptyTextNode(d))&&!1!==a(d):null},t.prototype.setCursorBefore=function(e){var t=this;if(!(e instanceof this.jodit.editorWindow.Node))throw Error("Parameter node most be instance of Node");if(!s.Dom.up(e,function(e){return e===t.jodit.editor||e&&e.parentNode===t.jodit.editor},this.jodit.editor))throw Error("Node element must be in editor");var o=this.jodit.editorDocument.createRange(),i=!1;return e.nodeType!==Node.TEXT_NODE?(i=this.jodit.editorDocument.createTextNode(n.INVISIBLE_SPACE),o.setStartBefore(e),o.collapse(!0),o.insertNode(i),o.selectNode(i)):o.setStart(e,null!==e.nodeValue?e.nodeValue.length:0),o.collapse(!0),this.selectRange(o),i},t.prototype.setCursorIn=function(e,t){var o=this;if(void 0===t&&(t=!1),!(e instanceof this.jodit.editorWindow.Node))throw Error("Parameter node most be instance of Node");if(!s.Dom.up(e,function(e){return e===o.jodit.editor||e&&e.parentNode===o.jodit.editor},this.jodit.editor))throw Error("Node element must be in editor");var i=this.jodit.editorDocument.createRange(),r=e,a=e;do{if(r.nodeType===Node.TEXT_NODE)break;a=r,r=t?r.firstChild:r.lastChild}while(r);if(!r){var l=this.jodit.editorDocument.createTextNode(n.INVISIBLE_SPACE);/^(img|br|input)$/i.test(a.nodeName)?r=a:(a.appendChild(l),a=l)}return i.selectNodeContents(r||a),i.collapse(t),this.selectRange(i),a},t.prototype.selectRange=function(e){var t=this.jodit.editorWindow.getSelection();t.removeAllRanges(),t.addRange(e),this.jodit.events.fire("changeSelection")},t.prototype.select=function(e,t){var o=this;if(void 0===t&&(t=!1),!(e instanceof this.jodit.editorWindow.Node))throw Error("Parameter node most be instance of Node");if(!s.Dom.up(e,function(e){return e===o.jodit.editor||e&&e.parentNode===o.jodit.editor},this.jodit.editor))throw Error("Node element must be in editor");var i=this.jodit.editorDocument.createRange();i[t?"selectNodeContents":"selectNode"](e),this.selectRange(i)},t.prototype.getHTML=function(){var e=this.jodit.editorWindow.getSelection();if(e.rangeCount>0){var t=e.getRangeAt(0).cloneContents(),o=this.jodit.editorDocument.createElement("div");return o.appendChild(t),o.innerHTML}return""},t}(r.Component)},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o(1),n=o(0);i.Config.prototype.defaultAjaxOptions={dataType:"json",method:"GET",url:"",data:null,contentType:"application/x-www-form-urlencoded; charset=UTF-8",headers:{"X-REQUESTED-WITH":"XMLHttpRequest"},withCredentials:!0,xhr:function(){return new("undefined"==typeof XDomainRequest?XMLHttpRequest:XDomainRequest)}},t.Ajax=function(){function e(e,t){var o=this;this.success_response_codes=[200,201,202],this.jodit=e,this.options=n.extend(!0,{},i.Config.prototype.defaultAjaxOptions,t),this.options.xhr&&(this.xhr=this.options.xhr()),e&&e.events&&e.events.on("beforeDestruct",function(){o.abort()})}return e.prototype.__buildParams=function(e,t){if(this.options.queryBuild&&"function"==typeof this.options.queryBuild)return this.options.queryBuild.call(this,e,t);if("string"==typeof e||this.jodit.ownerWindow.FormData&&e instanceof this.jodit.ownerWindow.FormData)return e;var o,i,n,r=[];for(o in e)e.hasOwnProperty(o)&&(i=t?t+"["+o+"]":o,n=e[o],r.push("object"==typeof n?this.__buildParams(n,i):encodeURIComponent(i)+"="+encodeURIComponent(n)));return r.join("&")},e.prototype.abort=function(){return this.xhr.abort(),this},e.prototype.send=function(){var e=this;return new Promise(function(t,o){var i=function(t){switch(e.options.dataType){case"json":try{t=JSON.parse(t)}catch(t){return void o.call(e.xhr,t)}}return t};if(e.xhr.onabort=function(){o(Error(e.xhr.statusText))},e.xhr.onerror=function(){o(Error(e.xhr.statusText))},e.xhr.ontimeout=function(){o(Error(e.xhr.statusText))},e.xhr.onload=function(){e.response=e.xhr.responseText,e.status=e.xhr.status,t.call(e.xhr,i(e.response))},e.xhr.onreadystatechange=function(){if(e.xhr.readyState===XMLHttpRequest.DONE){var n=e.xhr.responseText;e.response=n,e.status=e.xhr.status,e.success_response_codes.indexOf(e.xhr.status)>-1?t.call(e.xhr,i(n)):o.call(e.xhr,Error(e.xhr.statusText||e.jodit.i18n("Connection error!")))}},e.xhr.withCredentials=e.options.withCredentials||!1,!e.options.url)throw Error("Need URL for AJAX request");e.xhr.open(e.options.method||"get",e.options.url,!0),e.options.contentType&&e.xhr.setRequestHeader&&e.xhr.setRequestHeader("Content-type",e.options.contentType),e.options.headers&&e.xhr.setRequestHeader&&n.each(e.options.headers,function(t,o){e.xhr.setRequestHeader(t,o)}),setTimeout(function(){e.xhr.send(e.options.data?e.__buildParams(e.options.data):void 0)},0)})},e}()},function(e,t,o){"use strict";var i=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])};return function(t,o){function i(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(i.prototype=o.prototype,new i)}}(),n=this&&this.__assign||Object.assign||function(e){for(var t,o=1,i=arguments.length;i>o;o++)for(var n in t=arguments[o])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e};Object.defineProperty(t,"__esModule",{value:!0});var r=o(4),a=o(13),s=o(8),l=o(5),c=o(2);t.View=function(e){function t(t,o){void 0===o&&(o={});var i=e.call(this,t)||this;i.options={removeButtons:[],zIndex:100002,fullsize:!1,showTooltip:!0,useNativeTooltip:!1,buttons:[],globalFullsize:!0},i.editorDocument=document,i.editorWindow=window,i.__isFullSize=!1,i.isFullSize=function(){return i.__isFullSize};var r=i,l=t?t.ownerDocument:document;return r.ownerDocument=l,r.ownerWindow=t?t.ownerWindow:window,r.progress_bar=t?t.progress_bar:document.createElement("div"),r.editor=t?t.editor:document.createElement("div"),r.events=t?t.events:new a.EventsNative(l),r.buffer=t?t.buffer:{},r.toolbar=new s.ToolbarCollection(r),r.options=n({},r.options,o),i}return i(t,e),t.prototype.getRealMode=function(){return c.MODE_WYSIWYG},t.prototype.i18n=function(e){return this.jodit?this.jodit.i18n(e):l.Jodit.prototype.i18n(e)},t.prototype.toggleFullSize=function(e){void 0===e&&(e=!this.__isFullSize),e!==this.__isFullSize&&(this.__isFullSize=e,this.events&&this.events.fire("toggleFullSize",e))},t.prototype.destruct=function(){this.toolbar.destruct(),e.prototype.destruct.call(this)},t}(r.Component)},function(e,t,o){"use strict";var i=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])};return function(t,o){function i(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(i.prototype=o.prototype,new i)}}();Object.defineProperty(t,"__esModule",{value:!0});var n=o(4),r=o(0),a=o(6);t.ContextMenu=function(e){function t(t){var o=e.call(this,t)||this;return o.hide=function(){o.context.classList.remove("jodit_context_menu-show"),o.jodit.ownerWindow.removeEventListener("mouseup",o.hide)},o.context=r.dom('<div data-editor_id="'+o.jodit.id+'" class="jodit_context_menu"></div>',t.ownerDocument),t.ownerDocument.body.appendChild(o.context),o}return i(t,e),t.prototype.destruct=function(){this.context&&this.context.parentNode&&this.context.parentNode.removeChild(this.context)},t.prototype.show=function(e,t,o,i){var n=this,s=this;Array.isArray(o)&&(i&&(this.context.style.zIndex=""+i),this.context.innerHTML="",o.forEach(function(e){if(e){var t=r.dom('<a href="javascript:void(0)">'+(e.icon?a.ToolbarIcon.getIcon(e.icon):"")+"<span></span></a>",n.jodit.ownerDocument),o=t.querySelector("span");t.addEventListener("click",function(t){return e.exec&&e.exec.call(s,t),s.hide(),!1}),o.innerText=s.jodit.i18n(e.title||""),s.context.appendChild(t)}}),r.css(s.context,{left:e,top:t}),this.jodit.ownerWindow.addEventListener("mouseup",s.hide),this.context.classList.add("jodit_context_menu-show"))},t}(n.Component)},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o(0);t.localStorageProvider=function(){function e(){}return e.prototype.set=function(e,t){localStorage.setItem(e,""+t)},e.prototype.get=function(e){return localStorage.getItem(e)},e}(),t.Storage=function(){function e(e){this.provider=e,this.prefix="Jodit_"}return e.prototype.set=function(e,t){this.provider.set(i.camelCase(this.prefix+e),t)},e.prototype.get=function(e){return this.provider.get(i.camelCase(this.prefix+e))},e}()},function(e,t,o){"use strict";var i=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])};return function(t,o){function i(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(i.prototype=o.prototype,new i)}}();Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),r=o(4),a=o(23),s=o(24),l=o(0);n.Config.prototype.observer={timeout:100};var c=function(){function e(e,t,o){this.observer=o,this.oldValue=e,this.newValue=t}return e.prototype.undo=function(){this.observer.snapshot.restore(this.oldValue)},e.prototype.redo=function(){this.observer.snapshot.restore(this.newValue)},e}();t.Command=c,t.Observer=function(e){function t(t){var o=e.call(this,t)||this;o.onChangeStack=function(){o.__newValue=o.snapshot.make(),a.Snapshot.equal(o.__newValue,o.__startValue)||(o.stack.push(new c(o.__startValue,o.__newValue,o)),o.__startValue=o.__newValue,o.changeStack())},o.stack=new s.Stack,o.snapshot=new a.Snapshot(t);var i=l.debounce(o.onChangeStack,t.defaultTimeout);return t.events.on("afterInit",function(){o.__startValue=o.snapshot.make(),t.events.on("changeSelection selectionstart selectionchange mousedown mouseup keydown keyup",function(){o.__startValue.html===o.jodit.getNativeEditorValue()&&(o.__startValue=o.snapshot.make())}).on("change",function(){o.snapshot.isBlocked||i()})}),o}return i(t,e),t.prototype.redo=function(){this.stack.redo()&&(this.__startValue=this.snapshot.make(),this.changeStack())},t.prototype.undo=function(){this.stack.undo()&&(this.__startValue=this.snapshot.make(),this.changeStack())},t.prototype.clear=function(){this.__startValue=this.snapshot.make(),this.stack.clear(),this.changeStack()},t.prototype.changeStack=function(){this.jodit&&this.jodit.events&&this.jodit.events.fire("changeStack")},t}(r.Component)},function(e,t,o){"use strict";var i=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])};return function(t,o){function i(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(i.prototype=o.prototype,new i)}}();Object.defineProperty(t,"__esModule",{value:!0});var n=o(4),r=o(3);t.Snapshot=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.isBlocked=!1,t}return i(t,e),t.countNodesBeforeInParent=function(e){if(!e.parentNode)return 0;var t,o=e.parentNode.childNodes,i=0,n=null;for(t=0;o.length>t;t+=1){if(!n||o[t].nodeType===Node.TEXT_NODE&&""===o[t].textContent||n.nodeType===Node.TEXT_NODE&&o[t].nodeType===Node.TEXT_NODE||(i+=1),o[t]===e)return i;n=o[t]}return 0},t.prototype.calcHierarchyLadder=function(e){var o=[];if(!e||!e.parentNode||!r.Dom.isOrContains(this.jodit.editor,e))return[];for(;e&&e!==this.jodit.editor;)e&&o.push(t.countNodesBeforeInParent(e)),e=e.parentNode;return o.reverse()},t.strokeOffset=function(e,t){for(;e&&e.nodeType===Node.TEXT_NODE;)(e=e.previousSibling)&&e.nodeType===Node.TEXT_NODE&&null!==e.textContent&&(t+=e.textContent.length);return t},t.prototype.make=function(){var e={html:"",range:{startContainer:[],startOffset:0,endContainer:[],endOffset:0}};e.html=this.jodit.getNativeEditorValue();var o=this.jodit.editorWindow.getSelection();if(o&&o.rangeCount){var i=o.getRangeAt(0),n=this.calcHierarchyLadder(i.startContainer),r=t.strokeOffset(i.startContainer,i.startOffset),a=this.calcHierarchyLadder(i.endContainer),s=t.strokeOffset(i.endContainer,i.endOffset);n.length||i.startContainer===this.jodit.editor||(r=0),a.length||i.endContainer===this.jodit.editor||(s=0),e.range={startContainer:n,startOffset:r,endContainer:a,endOffset:s}}return e},t.prototype.getElementByLadder=function(e){var t,o=this.jodit.editor;for(t=0;o&&e.length>t;t+=1)o=o.childNodes[e[t]];return o},t.equal=function(e,t){return e.html===t.html&&JSON.stringify(e.range)===JSON.stringify(t.range)},t.prototype.restore=function(e){this.isBlocked=!0,this.jodit.setEditorValue(e.html);try{if(e.range){var t=this.jodit.editorDocument.createRange();t.setStart(this.getElementByLadder(e.range.startContainer),e.range.startOffset),t.setEnd(this.getElementByLadder(e.range.endContainer),e.range.endOffset),this.jodit.selection.selectRange(t)}}catch(e){}this.isBlocked=!1},t}(n.Component)},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Stack=function(){function e(){this.commands=[],this.stackPosition=-1}return e.prototype.clearRedo=function(){this.commands.length=this.stackPosition+1},e.prototype.clear=function(){this.commands.length=0,this.stackPosition=-1},e.prototype.push=function(e){this.clearRedo(),this.commands.push(e),this.stackPosition+=1},e.prototype.undo=function(){return!!this.canUndo()&&(this.commands[this.stackPosition]&&this.commands[this.stackPosition].undo(),this.stackPosition-=1,!0)},e.prototype.redo=function(){return!!this.canRedo()&&(this.stackPosition+=1,this.commands[this.stackPosition]&&this.commands[this.stackPosition].redo(),!0)},e.prototype.canUndo=function(){return this.stackPosition>=0},e.prototype.canRedo=function(){return this.commands.length-1>this.stackPosition},e}()},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3);t.Table=function(){function e(){}return e.addSelected=function(e){e.setAttribute(n.JODIT_SELECTED_CELL_MARKER,"1")},e.restoreSelection=function(e){e.removeAttribute(n.JODIT_SELECTED_CELL_MARKER)},e.getAllSelectedCells=function(e){return e?i.$$("td["+n.JODIT_SELECTED_CELL_MARKER+"],th["+n.JODIT_SELECTED_CELL_MARKER+"]",e):[]},e.getRowsCount=function(e){return e.rows.length},e.getColumnsCount=function(t){return e.formalMatrix(t).reduce(function(e,t){return Math.max(e,t.length)},0)},e.formalMatrix=function(e,t){for(var o=[[]],i=Array.prototype.slice.call(e.rows),n=0,r=void 0;i.length>n;n+=1){var a=Array.prototype.slice.call(i[n].cells);for(r=0;a.length>r;r+=1)if(!1===function(e,i){void 0===o[i]&&(o[i]=[]);for(var n,r,a=e.colSpan,s=e.rowSpan,l=0;o[i][l];)l+=1;for(r=0;s>r;r+=1)for(n=0;a>n;n+=1){if(void 0===o[i+r]&&(o[i+r]=[]),t&&!1===t(e,i+r,l+n,a,s))return!1;o[i+r][l+n]=e}}(a[r],n))return o}return o},e.formalCoordinate=function(t,o,i){void 0===i&&(i=!1);var n=0,r=0,a=1,s=1;return e.formalMatrix(t,function(e,t,l,c,d){if(o===e)return n=t,r=l,a=c||1,s=d||1,i&&(r+=(c||1)-1,n+=(d||1)-1),!1}),[n,r,a,s]},e.appendRow=function(t,o,n){void 0===o&&(o=!1),void 0===n&&(n=!0);var r,a=e.getColumnsCount(t),s=t.ownerDocument.createElement("tr");for(r=0;a>r;r+=1)s.appendChild(t.ownerDocument.createElement("td"));n&&o&&o.nextSibling?o.parentNode&&o.parentNode.insertBefore(s,o.nextSibling):!n&&o?o.parentNode&&o.parentNode.insertBefore(s,o):(i.$$(":scope>tbody",t)[0]||t).appendChild(s)},e.removeRow=function(t,o){var n,a=e.formalMatrix(t),s=t.rows[o];i.each(a[o],function(e,i){if(n=!1,0>o-1||a[o-1][e]!==i)if(a[o+1]&&a[o+1][e]===i){if(i.parentNode===s&&i.parentNode.nextSibling){n=!0;for(var l=e+1;a[o+1][l]===i;)l+=1;var c=r.Dom.next(i.parentNode,function(e){return e&&e.nodeType===Node.ELEMENT_NODE&&"TR"===e.nodeName},t);a[o+1][l]?c.insertBefore(i,a[o+1][l]):c.appendChild(i)}}else i.parentNode&&i.parentNode.removeChild(i);else n=!0;if(n&&(i.parentNode===s||i!==a[o][e-1])){var d=i.rowSpan;d-1>1?i.setAttribute("rowspan",""+(d-1)):i.removeAttribute("rowspan")}}),s&&s.parentNode&&s.parentNode.removeChild(s)},e.appendColumn=function(t,o,i){void 0===i&&(i=!0);var n,r=e.formalMatrix(t);for(void 0===o&&(o=e.getColumnsCount(t)-1),n=0;r.length>n;n+=1){var a=t.ownerDocument.createElement("td"),s=r[n][o],l=!1;i?(r[n]&&s&&o+1>=r[n].length||s!==r[n][o+1])&&(s.nextSibling?s.parentNode&&s.parentNode.insertBefore(a,s.nextSibling):s.parentNode&&s.parentNode.appendChild(a),l=!0):(0>o-1||r[n][o]!==r[n][o-1]&&r[n][o].parentNode)&&(s.parentNode&&s.parentNode.insertBefore(a,r[n][o]),l=!0),l||r[n][o].setAttribute("colspan",""+(parseInt(r[n][o].getAttribute("colspan")||"1",10)+1))}},e.removeColumn=function(t,o){var n,r=e.formalMatrix(t);i.each(r,function(e,t){var i=t[o];if(n=!1,0>o-1||r[e][o-1]!==i?t.length>o+1&&r[e][o+1]===i?n=!0:i.parentNode&&i.parentNode.removeChild(i):n=!0,n&&(0>e-1||i!==r[e-1][o])){var a=i.colSpan;a-1>1?i.setAttribute("colspan",""+(a-1)):i.removeAttribute("colspan")}})},e.getSelectedBound=function(t,o){var i,n,r,a=[[1/0,1/0],[0,0]],s=e.formalMatrix(t);for(i=0;s.length>i;i+=1)for(n=0;s[i].length>n;n+=1)-1!==o.indexOf(s[i][n])&&(a[0][0]=Math.min(i,a[0][0]),a[0][1]=Math.min(n,a[0][1]),a[1][0]=Math.max(i,a[1][0]),a[1][1]=Math.max(n,a[1][1]));for(i=a[0][0];a[1][0]>=i;i+=1)for(r=1,n=a[0][1];a[1][1]>=n;n+=1){for(;s[i][n-r]&&s[i][n]===s[i][n-r];)a[0][1]=Math.min(n-r,a[0][1]),a[1][1]=Math.max(n-r,a[1][1]),r+=1;for(r=1;s[i][n+r]&&s[i][n]===s[i][n+r];)a[0][1]=Math.min(n+r,a[0][1]),a[1][1]=Math.max(n+r,a[1][1]),r+=1;for(r=1;s[i-r]&&s[i][n]===s[i-r][n];)a[0][0]=Math.min(i-r,a[0][0]),a[1][0]=Math.max(i-r,a[1][0]),r+=1;for(r=1;s[i+r]&&s[i][n]===s[i+r][n];)a[0][0]=Math.min(i+r,a[0][0]),a[1][0]=Math.max(i+r,a[1][0]),r+=1}return a},e.normalizeTable=function(t){var o,i,n,r,a=[],s=e.formalMatrix(t);for(i=0;s[0].length>i;i+=1){for(n=1e6,r=!1,o=0;s.length>o;o+=1)if(void 0!==s[o][i]){if(2>s[o][i].colSpan){r=!0;break}n=Math.min(n,s[o][i].colSpan)}if(!r)for(o=0;s.length>o;o+=1)void 0!==s[o][i]&&e.__mark(s[o][i],"colspan",s[o][i].colSpan-n+1,a)}for(o=0;s.length>o;o+=1){for(n=1e6,r=!1,i=0;s[o].length>i;i+=1)if(void 0!==s[o][i]){if(2>s[o][i].rowSpan){r=!0;break}n=Math.min(n,s[o][i].rowSpan)}if(!r)for(i=0;s[o].length>i;i+=1)void 0!==s[o][i]&&e.__mark(s[o][i],"rowspan",s[o][i].rowSpan-n+1,a)}for(o=0;s.length>o;o+=1)for(i=0;s[o].length>i;i+=1)void 0!==s[o][i]&&(s[o][i].hasAttribute("rowspan")&&1===s[o][i].rowSpan&&s[o][i].removeAttribute("rowspan"),s[o][i].hasAttribute("colspan")&&1===s[o][i].colSpan&&s[o][i].removeAttribute("colspan"),s[o][i].hasAttribute("class")&&!s[o][i].getAttribute("class")&&s[o][i].removeAttribute("class"));e.__unmark(a)},e.mergeSelected=function(t){var o,r=e.getSelectedBound(t,e.getAllSelectedCells(t)),a=0,s=null,l=0,c=[],d=0,u=0,p=[];r&&(r[0][0]-r[1][0]||r[0][1]-r[1][1])&&(e.formalMatrix(t,function(t,n,f,h,g){if(!(r[0][0]>n||n>r[1][0]||r[0][1]>f||f>r[1][1])){if((o=t).__i_am_already_was)return;o.__i_am_already_was=!0,n===r[0][0]&&o.style.width&&(a+=o.offsetWidth),""!==i.trim(t.innerHTML.replace(/<br(\/)?>/g,""))&&c.push(t.innerHTML),h>1&&(d+=h-1),g>1&&(u+=g-1),s?e.__mark(o,"remove",1,p):(s=t,l=f)}}),d=r[1][1]-r[0][1]+1,u=r[1][0]-r[0][0]+1,s&&(d>1&&e.__mark(s,"colspan",d,p),u>1&&e.__mark(s,"rowspan",u,p),a&&(e.__mark(s,"width",(a/t.offsetWidth*100).toFixed(n.ACCURACY)+"%",p),l&&e.setColumnWidthByDelta(t,l,0,!0,p)),s.innerHTML=c.join("<br/>"),delete s.__i_am_already_was,e.__unmark(p),e.normalizeTable(t),i.each([].slice.call(t.rows),function(e,t){t.cells.length||t.parentNode.removeChild(t)})))},e.splitHorizontal=function(t){var o,i,n,a,s,l=[];e.getAllSelectedCells(t).forEach(function(c){(i=t.ownerDocument.createElement("td")).appendChild(t.ownerDocument.createElement("br")),n=t.ownerDocument.createElement("tr"),o=e.formalCoordinate(t,c),2>c.rowSpan?(e.formalMatrix(t,function(t,i,n){o[0]===i&&o[1]!==n&&t!==c&&e.__mark(t,"rowspan",t.rowSpan+1,l)}),r.Dom.after(r.Dom.closest(c,"tr",t),n),n.appendChild(i)):(e.__mark(c,"rowspan",c.rowSpan-1,l),e.formalMatrix(t,function(e,i,n){i>o[0]&&o[0]+c.rowSpan>i&&o[1]>n&&e.parentNode.rowIndex===i&&(s=e),i>o[0]&&e===c&&(a=t.rows[i])}),s?r.Dom.after(s,i):a.insertBefore(i,a.firstChild)),c.colSpan>1&&e.__mark(i,"colspan",c.colSpan,l),e.__unmark(l),e.restoreSelection(c)}),this.normalizeTable(t)},e.splitVertical=function(t){var o,i,a,s=[];e.getAllSelectedCells(t).forEach(function(l){o=e.formalCoordinate(t,l),2>l.colSpan?e.formalMatrix(t,function(t,i,n){o[1]===n&&o[0]!==i&&t!==l&&e.__mark(t,"colspan",t.colSpan+1,s)}):e.__mark(l,"colspan",l.colSpan-1,s),(i=t.ownerDocument.createElement("td")).appendChild(t.ownerDocument.createElement("br")),l.rowSpan>1&&e.__mark(i,"rowspan",l.rowSpan,s);var c=l.offsetWidth;r.Dom.after(l,i),a=c/t.offsetWidth/2,e.__mark(l,"width",(100*a).toFixed(n.ACCURACY)+"%",s),e.__mark(i,"width",(100*a).toFixed(n.ACCURACY)+"%",s),e.__unmark(s),e.restoreSelection(l)}),e.normalizeTable(t)},e.__mark=function(e,t,o,i){i.push(e),e.__marked_value||(e.__marked_value={}),e.__marked_value[t]=void 0===o?1:o},e.__unmark=function(e){e.forEach(function(e){e.__marked_value&&(i.each(e.__marked_value,function(t,o){switch(t){case"remove":e.parentNode&&e.parentNode.removeChild(e);break;case"rowspan":o>1?e.setAttribute("rowspan",o):e.removeAttribute("rowspan");break;case"colspan":o>1?e.setAttribute("colspan",o):e.removeAttribute("colspan");break;case"width":e.style.width=o}delete e.__marked_value[t]}),delete e.__marked_value)})},e.setColumnWidthByDelta=function(t,o,i,r,a){var s,l,c=e.formalMatrix(t);for(s=0;c.length>s;s+=1)l=(c[s][o].offsetWidth+i)/t.offsetWidth*100,e.__mark(c[s][o],"width",l.toFixed(n.ACCURACY)+"%",a);r||e.__unmark(a)},e}()},function(e,t,o){"use strict";this&&this.__assign||Object,o(27),"undefined"!=typeof window&&o(28);var i=o(5),n=o(2),r=o(38),a=o(16),s=o(80),l=o(87),c=o(1),d=o(6);Object.keys(n).forEach(function(e){i.Jodit[e]=n[e]});var u=function(e){return"__esModule"!==e};Object.keys(l).filter(u).forEach(function(e){d.ToolbarIcon.icons[e.replace("_","-")]=l[e]}),Object.keys(a).filter(u).forEach(function(e){i.Jodit.modules[e]=a[e]}),Object.keys(r).filter(u).forEach(function(e){i.Jodit.plugins[e]=r[e]}),Object.keys(s).filter(u).forEach(function(e){i.Jodit.lang[e]=s[e]}),i.Jodit.defaultOptions=new c.Config,c.OptionsDefault.prototype=i.Jodit.defaultOptions,e.exports=i.Jodit},function(e,t){},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(29),o(30),function(e){e.matches||(e.matches=void 0!==e.matchesSelector?e.matchesSelector:function(e){var t=this.ownerDocument.querySelectorAll(e),o=this;return Array.prototype.some.call(t,function(e){return e===o})})}(Element.prototype)},function(e,t){"document"in window.self&&("classList"in document.createElement("_")&&(!document.createElementNS||"classList"in document.createElementNS("http://www.w3.org/2000/svg","g"))||function(e){"use strict";if("Element"in e){var t=e.Element.prototype,o=Object,i=String.prototype.trim||function(){return this.replace(/^\s+|\s+$/g,"")},n=Array.prototype.indexOf||function(e){for(var t=0,o=this.length;o>t;t++)if(t in this&&this[t]===e)return t;return-1},r=function(e,t){this.name=e,this.code=DOMException[e],this.message=t},a=function(e,t){if(""===t)throw new r("SYNTAX_ERR","An invalid or illegal string was specified");if(/\s/.test(t))throw new r("INVALID_CHARACTER_ERR","String contains an invalid character");return n.call(e,t)},s=function(e){for(var t=i.call(e.getAttribute("class")||""),o=t?t.split(/\s+/):[],n=0,r=o.length;r>n;n++)this.push(o[n]);this._updateClassName=function(){e.setAttribute("class",""+this)}},l=s.prototype=[],c=function(){return new s(this)};if(r.prototype=Error.prototype,l.item=function(e){return this[e]||null},l.contains=function(e){return-1!==a(this,e+="")},l.add=function(){var e,t=arguments,o=0,i=t.length,n=!1;do{e=t[o]+"",-1===a(this,e)&&(this.push(e),n=!0)}while(++o<i);n&&this._updateClassName()},l.remove=function(){var e,t,o=arguments,i=0,n=o.length,r=!1;do{for(e=o[i]+"",t=a(this,e);-1!==t;)this.splice(t,1),r=!0,t=a(this,e)}while(++i<n);r&&this._updateClassName()},l.toggle=function(e,t){e+="";var o=this.contains(e),i=o?!0!==t&&"remove":!1!==t&&"add";return i&&this[i](e),!0===t||!1===t?t:!o},l.toString=function(){return this.join(" ")},o.defineProperty){var d={get:c,enumerable:!0,configurable:!0};try{o.defineProperty(t,"classList",d)}catch(e){void 0!==e.number&&-2146823252!==e.number||(d.enumerable=!1,o.defineProperty(t,"classList",d))}}else o.prototype.__defineGetter__&&t.__defineGetter__("classList",c)}}(window.self),function(){"use strict";var e=document.createElement("_");if(e.classList.add("c1","c2"),!e.classList.contains("c2")){var t=function(e){var t=DOMTokenList.prototype[e];DOMTokenList.prototype[e]=function(e){var o,i=arguments.length;for(o=0;i>o;o++)e=arguments[o],t.call(this,e)}};t("add"),t("remove")}if(e.classList.toggle("c3",!1),e.classList.contains("c3")){var o=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(e,t){return 1 in arguments&&!this.contains(e)==!t?t:o.call(this,e)}}e=null}())},function(e,t,o){"use strict";e.exports=o(31).polyfill()},function(e,o,i){(function(o){!function(o,i){e.exports=function(){"use strict";function e(e){return"function"==typeof e}function i(){var e=setTimeout;return function(){return e(n,1)}}function n(){for(var e=0;y>e;e+=2)(0,S[e])(S[e+1]),S[e]=void 0,S[e+1]=void 0;y=0}function r(e,t){var o=this,i=new this.constructor(s);void 0===i[M]&&v(i);var n=o._state;if(n){var r=arguments[n-1];x(function(){return m(n,i,r,o._result)})}else h(o,i,e,t);return i}function a(e){if(e&&"object"==typeof e&&e.constructor===this)return e;var t=new this(s);return d(t,e),t}function s(){}function l(e){try{return e.then}catch(e){return D.error=e,D}}function c(t,o,i){o.constructor===t.constructor&&i===r&&o.constructor.resolve===a?function(e,t){t._state===L?p(e,t._result):t._state===q?f(e,t._result):h(t,void 0,function(t){return d(e,t)},function(t){return f(e,t)})}(t,o):i===D?(f(t,D.error),D.error=null):void 0===i?p(t,o):e(i)?function(e,t,o){x(function(e){var i=!1,n=function(e,t,o,i){try{e.call(t,o,i)}catch(e){return e}}(o,t,function(o){i||(i=!0,t!==o?d(e,o):p(e,o))},function(t){i||(i=!0,f(e,t))},e._label);!i&&n&&(i=!0,f(e,n))},e)}(t,o,i):p(t,o)}function d(e,t){e===t?f(e,new TypeError("You cannot resolve a promise with itself")):function(e){var t=typeof e;return null!==e&&("object"===t||"function"===t)}(t)?c(e,t,l(t)):p(e,t)}function u(e){e._onerror&&e._onerror(e._result),g(e)}function p(e,t){e._state===T&&(e._result=t,e._state=L,0!==e._subscribers.length&&x(g,e))}function f(e,t){e._state===T&&(e._state=q,e._result=t,x(u,e))}function h(e,t,o,i){var n=e._subscribers,r=n.length;e._onerror=null,n[r]=t,n[r+L]=o,n[r+q]=i,0===r&&e._state&&x(g,e)}function g(e){var t=e._subscribers,o=e._state;if(0!==t.length){for(var i=void 0,n=void 0,r=e._result,a=0;t.length>a;a+=3)i=t[a],n=t[a+o],i?m(o,i,n,r):n(r);e._subscribers.length=0}}function m(t,o,i,n){var r=e(i),a=void 0,s=void 0,l=void 0,c=void 0;if(r){if((a=function(e,t){try{return e(t)}catch(e){return D.error=e,D}}(i,n))===D?(c=!0,s=a.error,a.error=null):l=!0,o===a)return void f(o,new TypeError("A promises callback cannot return that same promise."))}else a=n,l=!0;o._state!==T||(r&&l?d(o,a):c?f(o,s):t===L?p(o,a):t===q&&f(o,a))}function v(e){e[M]=I++,e._state=void 0,e._result=void 0,e._subscribers=[]}var b=Array.isArray?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)},y=0,_=void 0,w=void 0,x=function(e,t){S[y]=e,S[y+1]=t,2===(y+=2)&&(w?w(n):E())},j="undefined"!=typeof window?window:void 0,k=j||{},C=k.MutationObserver||k.WebKitMutationObserver,$="undefined"==typeof self&&void 0!==t&&"[object process]"==={}.toString.call(t),A="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel,S=Array(1e3),E=void 0;E=$?function(){return t.nextTick(n)}:C?function(){var e=0,t=new C(n),o=document.createTextNode("");return t.observe(o,{characterData:!0}),function(){o.data=e=++e%2}}():A?function(){var e=new MessageChannel;return e.port1.onmessage=n,function(){return e.port2.postMessage(0)}}():void 0===j?function(){try{var e=Function("return this")().require("vertx");return void 0!==(_=e.runOnLoop||e.runOnContext)?function(){_(n)}:i()}catch(e){return i()}}():i();var M=Math.random().toString(36).substring(2),T=void 0,L=1,q=2,D={error:null},I=0,z=function(){function e(e,t){this._instanceConstructor=e,this.promise=new e(s),this.promise[M]||v(this.promise),b(t)?(this.length=t.length,this._remaining=t.length,this._result=Array(this.length),0===this.length?p(this.promise,this._result):(this.length=this.length||0,this._enumerate(t),0===this._remaining&&p(this.promise,this._result))):f(this.promise,Error("Array Methods must be provided an Array"))}return e.prototype._enumerate=function(e){for(var t=0;this._state===T&&e.length>t;t++)this._eachEntry(e[t],t)},e.prototype._eachEntry=function(e,t){var o=this._instanceConstructor,i=o.resolve;if(i===a){var n=l(e);if(n===r&&e._state!==T)this._settledAt(e._state,t,e._result);else if("function"!=typeof n)this._remaining--,this._result[t]=e;else if(o===N){var d=new o(s);c(d,e,n),this._willSettleAt(d,t)}else this._willSettleAt(new o(function(t){return t(e)}),t)}else this._willSettleAt(i(e),t)},e.prototype._settledAt=function(e,t,o){var i=this.promise;i._state===T&&(this._remaining--,e===q?f(i,o):this._result[t]=o),0===this._remaining&&p(i,this._result)},e.prototype._willSettleAt=function(e,t){var o=this;h(e,void 0,function(e){return o._settledAt(L,t,e)},function(e){return o._settledAt(q,t,e)})},e}(),N=function(){function e(t){this[M]=I++,this._result=this._state=void 0,this._subscribers=[],s!==t&&("function"!=typeof t&&function(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}(),this instanceof e?function(e,t){try{t(function(t){d(e,t)},function(t){f(e,t)})}catch(t){f(e,t)}}(this,t):function(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}())}return e.prototype.catch=function(e){return this.then(null,e)},e.prototype.finally=function(e){var t=this.constructor;return this.then(function(o){return t.resolve(e()).then(function(){return o})},function(o){return t.resolve(e()).then(function(){throw o})})},e}();return N.prototype.then=r,N.all=function(e){return new z(this,e).promise},N.race=function(e){var t=this;return new t(b(e)?function(o,i){for(var n=e.length,r=0;n>r;r++)t.resolve(e[r]).then(o,i)}:function(e,t){return t(new TypeError("You must pass an array to race."))})},N.resolve=a,N.reject=function(e){var t=new this(s);return f(t,e),t},N._setScheduler=function(e){w=e},N._setAsap=function(e){x=e},N._asap=x,N.polyfill=function(){var e=void 0;if(void 0!==o)e=o;else if("undefined"!=typeof self)e=self;else try{e=Function("return this")()}catch(e){throw Error("polyfill failed because global object is unavailable in this environment")}var t=e.Promise;if(t){var i=null;try{i=Object.prototype.toString.call(t.resolve())}catch(e){}if("[object Promise]"===i&&!t.cast)return}e.Promise=N},N.Promise=N,N}()}()}).call(o,i(32))},function(e,t){var o;o=function(){return this}();try{o=o||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(o=window)}e.exports=o},function(e,t,o){"use strict";var i=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])};return function(t,o){function i(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(i.prototype=o.prototype,new i)}}();Object.defineProperty(t,"__esModule",{value:!0});var n=o(4);t.StatusBar=function(e){function t(t,o){var i=e.call(this,t)||this;return i.target=o,i.container=t.ownerDocument.createElement("div"),i.container.classList.add("jodit_statusbar"),o.appendChild(i.container),i.hide(),i}return i(t,e),t.prototype.hide=function(){this.container&&(this.container.style.display="none")},t.prototype.show=function(){this.container&&(this.container.style.display="block")},t.prototype.append=function(e,t){void 0===t&&(t=!1);var o=this.jodit.ownerDocument.createElement("div");o.classList.add("jodit_statusbar_item"),t&&o.classList.add("jodit_statusbar_item-right"),o.appendChild(e),this.container.appendChild(o),this.show(),this.jodit.events.fire("resize")},t.prototype.destruct=function(){e.prototype.destruct.call(this),this.container.parentNode&&this.container.parentNode.removeChild(this.container)},t}(n.Component)},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o(0);t.Tooltip=function(){return function(e){var t=this;this.button=e,this.timeout=0,this.show=function(){var e=function(){t.button.container.appendChild(t.container),t.container.style.marginLeft=-(t.container.offsetWidth-t.button.container.offsetWidth)/2+"px"},o=t.button.jodit.options.showTooltipDelay;t.button.jodit.events.fire("hideTooltip"),o?t.timeout=window.setTimeout(e,o):e()},this.hide=function(){window.clearTimeout(t.timeout),t.container.parentNode&&t.container.parentNode.removeChild(t.container)},e.control.tooltip&&(this.container=e.jodit.ownerDocument.createElement("div"),this.container.classList.add("jodit_tooltip"),this.container.innerHTML=e.jodit.i18n(e.control.tooltip)+(e.control.hotkeys?"<br>"+i.asArray(e.control.hotkeys).join(" "):""),e.jodit.events.on(e.anchor,"mouseenter",this.show).on(e.anchor,"mouseleave",this.hide).on("change updateToolbar scroll hidePopup closeAllPopups hideTooltip",this.hide))}}()},function(e,t,o){"use strict";var i=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])};return function(t,o){function i(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(i.prototype=o.prototype,new i)}}(),n=this&&this.__assign||Object.assign||function(e){for(var t,o=1,i=arguments.length;i>o;o++)for(var n in t=arguments[o])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e};Object.defineProperty(t,"__esModule",{value:!0});var r=o(0),a=o(15),s=o(8),l=o(14);t.ToolbarList=function(e){function t(t,o,i,n){void 0===n&&(n="jodit_toolbar_list");var r=e.call(this,t,o,i,n)||this;return r.target=o,r.current=i,r.className=n,r.defaultControl={template:function(e,t,o){return r.jodit.i18n(o)}},r.getContainer=function(){return r.toolbar.container},r}return i(t,e),t.prototype.doClose=function(){this.toolbar&&this.toolbar.destruct()},t.prototype.doOpen=function(e){var t=this;this.toolbar=new s.ToolbarCollection(this.jodit);var o="string"==typeof e.list?e.list.split(/[\s,]/):e.list;r.each(o,function(o,i){var r;if(void 0!==t.jodit.options.controls[i])r=new l.ToolbarButton(t.jodit,n({name:""+i},t.jodit.options.controls[i]),t.current);else if(void 0!==t.jodit.options.controls[o]&&"object"==typeof i)r=new l.ToolbarButton(t.jodit,n({name:""+o},t.jodit.options.controls[o],i),t.current);else{r=new l.ToolbarButton(t.jodit,{name:""+o,exec:e.exec,command:e.command,isActive:e.isActiveChild,isDisable:e.isDisableChild,mode:e.mode,args:[e.args&&e.args[0]||o,e.args&&e.args[1]||i]},t.current);var a=e.template||t.defaultControl.template;r.textBox.innerHTML=a(t.jodit,o,i)}t.toolbar.appendChild(r)}),this.container.appendChild(this.toolbar.container),this.container.style.marginLeft=null,this.toolbar.checkActiveButtons()},t}(a.ToolbarPopup)},function(e,t,o){"use strict";var i=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])};return function(t,o){function i(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(i.prototype=o.prototype,new i)}}();Object.defineProperty(t,"__esModule",{value:!0});var n=o(9);t.ToolbarBreak=function(e){function t(t){var o=e.call(this,t)||this;return o.container.classList.add("jodit_toolbar_btn-break"),o}return i(t,e),t}(n.ToolbarElement)},function(e,t,o){"use strict";var i=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])};return function(t,o){function i(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(i.prototype=o.prototype,new i)}}();Object.defineProperty(t,"__esModule",{value:!0});var n=o(9);t.ToolbarSeparator=function(e){function t(t){var o=e.call(this,t)||this;return o.container.classList.add("jodit_toolbar_btn-separator"),o}return i(t,e),t}(n.ToolbarElement)},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addNewLine=o(39).addNewLine,t.autofocus=o(40).autofocus,t.backspace=o(41).backspace,t.bold=o(42).bold,t.cleanHTML=o(43).cleanHTML,t.color=o(44).color,o(45),t.enter=o(46).enter,t.errorMessages=o(47).errorMessages,t.font=o(48).font,t.formatBlock=o(49).formatBlock,t.fullsize=o(50).fullsize,t.iframe=o(51).iframe,t.indent=o(52).indent,t.imageProcessor=o(53).imageProcessor,t.imageProperties=o(54).imageProperties,t.inlinePopup=o(55).inlinePopup,t.justify=o(56).justify,t.link=o(57).link,t.mobile=o(58).mobile,t.orderedlist=o(59).orderedlist,t.paste=o(60).paste,t.placeholder=o(61).placeholder,t.redoundo=o(62).redoundo,t.resizer=o(63).resizer,t.size=o(64).size,t.source=o(65).source,t.symbols=o(66).symbols,t.hotkeys=o(67).hotkeys,t.table=o(68).TableProcessor,t.tableKeyboardNavigation=o(73).tableKeyboardNavigation,t.search=o(74).search,t.sticky=o(75).sticky,t.stat=o(76).stat,t.xpath=o(77).xpath,t.DragAndDrop=o(78).DragAndDrop,t.pasteStorage=o(79).pasteStorage},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o(1),n=o(0),r=o(3),a=o(6);i.Config.prototype.addNewLine=!0,i.Config.prototype.addNewLineOnDBLClick=!0,i.Config.prototype.addNewLineTagsTriggers=["table","iframe","img","hr","jodit"],t.addNewLine=function(e){if(e.options.addNewLine){var t,o,i=n.dom('<div role="button" tabIndex="-1" title="'+e.i18n("Break")+'" class="jodit-add-new-line"><span>'+a.ToolbarIcon.getIcon("enter")+"</span></div>",e.ownerDocument),s=RegExp("^("+e.options.addNewLineTagsTriggers.join("|")+")$","i"),l=!1,c=!1,d=!1,u=function(){e.options.readonly||e.isLocked()||e.container.classList.contains("jodit_popup_active")||(clearTimeout(t),i.classList.toggle("jodit-add-new-line_after",!c),i.style.display="block",i.style.width=e.editor.clientWidth+"px",l=!1)},p=function(){clearTimeout(t),d=!1,i.style.display="none",l=!0},f=function(e){return null!==e&&r.Dom.isBlock(e)&&!/^(img|table|iframe|hr)$/i.test(e.nodeName)},h=function(){l||d||(clearTimeout(t),t=window.setTimeout(p,500))};e.events.on("beforeDestruct",function(){i.parentNode&&i.parentNode.removeChild(i)}).on("afterInit",function(){e.container.appendChild(i),e.events.on(i,"mousemove",function(e){e.stopPropagation()}).on(i,"mousedown touchstart",function(t){var i=e.editorDocument.createElement(e.options.enter);c&&o&&o.parentNode?o.parentNode.insertBefore(i,o):e.editor.appendChild(i),e.selection.setCursorIn(i),e.setEditorValue(),p(),t.preventDefault()})}).on("afterInit",function(){e.events.on(e.editor,"scroll",function(){p()}).on(e.container,"mouseleave",h).on(i,"mouseenter",function(){clearTimeout(t),d=!0}).on(i,"mouseleave",function(){d=!1}).on(e.editor,"dblclick",function(t){if(e.options.addNewLineOnDBLClick&&t.target===e.editor&&e.selection.isCollapsed()){var o=n.offset(e.editor,e,e.editorDocument),i=t.pageY-e.editorWindow.pageYOffset,r=e.editorDocument.createElement(e.options.enter);Math.abs(i-o.top)<Math.abs(i-(o.height+o.top))&&e.editor.firstChild?e.editor.insertBefore(r,e.editor.firstChild):e.editor.appendChild(r),e.selection.setCursorIn(r),e.setEditorValue(),p(),t.preventDefault()}}).on(e.editor,"mousemove",n.debounce(function(t){var a=e.editorDocument.elementFromPoint(t.pageX-e.editorWindow.pageXOffset,t.pageY-e.editorWindow.pageYOffset);if((!a||!r.Dom.isOrContains(i,a))&&a&&r.Dom.isOrContains(e.editor,a)){if(!(a&&a.nodeName.match(s)&&r.Dom.isOrContains(e.editor,a)||(a=r.Dom.closest(a,s,e.editor))))return void h();if(a.nodeName.match(s)){var l=r.Dom.up(a,r.Dom.isBlock,e.editor);l&&l!==e.editor&&(a=l)}var d=n.offset(e.editor,e,e.editorDocument),p=n.offset(a,e,e.editorDocument),g=!1;10>Math.abs(t.pageY-p.top)&&(20>(g=p.top)-d.top||(g-=15),c=!0),10>Math.abs(t.pageY-(p.top+p.height))&&(g=p.top+p.height,25>d.top+d.height-g||(g+=15),c=!1),!1!==g&&(c&&!r.Dom.prev(a,f,e.editor)||!c&&!r.Dom.next(a,f,e.editor))?(i.style.top=g+"px",o=a,u()):(o=!1,h())}},e.defaultTimeout))})}}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o(1),n=o(3);i.Config.prototype.autofocus=!1,t.autofocus=function(e){var t;e.events.on("afterInit",function(){e.options.autofocus&&(e.defaultTimeout?t=window.setTimeout(e.selection.focus,300):e.selection.focus())}).on("mousedown",function(t){e.isEditorMode()&&t.target&&n.Dom.isBlock(t.target)&&!t.target.childNodes.length&&(e.editor===t.target?e.selection.focus():e.selection.setCursorIn(t.target))}).on("beforeDestruct",function(){clearTimeout(t)})}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o(2),n=o(0),r=o(3);t.backspace=function(e){var t=function(t){var o,a=t;n.normalizeNode(t);do{var s=a.innerHTML.replace(i.INVISIBLE_SPACE_REG_EXP,"");if(s.length&&"<br>"!==s||r.Dom.isCell(a,e.editorWindow)||!a.parentNode||t===e.editor)break;o=a.parentNode,a.parentNode.removeChild(a),a=o}while(a&&a!==e.editor)},o=function(t,n,a){if(t.node&&t.node.nodeType===Node.TEXT_NODE&&"string"==typeof t.node.nodeValue){for(var s=n?t.node.nodeValue.length:0,l=s,c=t.node.nodeValue,d=n?-1:1;s>=0&&c.length>=s&&c[s+(n?-1:0)]===i.INVISIBLE_SPACE;)s+=d;s!==l&&(n?c=c.substr(0,s)+c.substr(l):(c=c.substr(0,l)+c.substr(s),s=l),t.node.nodeValue=c),a.setStart(t.node,s),a.collapse(!0),e.selection.selectRange(a);var u=r.Dom.findInline(t.node,n,e.editor);if(c.length){var p=!1;if(n?s&&(p=!0):c.length>s&&(p=!0),p)return!0}else a.setStartBefore(t.node),a.collapse(!0),e.selection.selectRange(a),t.node&&t.node.parentNode&&t.node.parentNode.removeChild(t.node),t.node=u;if(u&&(r.Dom.isInlineBlock(u)&&(u=n?u.lastChild:u.firstChild),u&&u.nodeType===Node.TEXT_NODE))return t.node=u,o(t,n,a)}},a=/^(IMG|BR|IFRAME|SCRIPT|INPUT|TEXTAREA|HR)$/,s=function(e){if(e&&a.test(e.nodeName))return e.parentNode&&e.parentNode.removeChild(e),!1},l=function(t,i,n){if(t.node){var r=t.node;if(void 0!==o(t,i,n))return!0;if(t.node||(t.node=r.parentNode),t.node===e.editor)return!1;var a=t.node;if(!1===s(a))return!1;for(a&&(a=i?a.previousSibling:a.nextSibling);a&&a.nodeType===Node.TEXT_NODE&&a.nodeValue&&a.nodeValue.match(/^[\n\r]+$/);)a=i?a.previousSibling:a.nextSibling;return s(a)}},c=function(e){return null===e.nodeName.match(/^(TD|TH|TR|TABLE|LI)$/)&&(!(!r.Dom.isEmpty(e)&&null===e.nodeName.match(a))||!(e.nodeType===Node.TEXT_NODE&&!r.Dom.isEmptyTextNode(e))&&(!e.childNodes.length||[].slice.call(e.childNodes).every(c)))};e.events.on("afterCommand",function(t){if("delete"===t){var o=e.selection.current();if(o&&o.firstChild&&"BR"===o.firstChild.nodeName&&o.removeChild(o.firstChild),!(n.trim(e.editor.innerText)||e.editor.querySelector("img")||o&&r.Dom.closest(o,"table",e.editor))){e.editor.innerHTML="";var i=e.selection.setCursorIn(e.editor);i.parentNode&&i.parentNode.removeChild(i)}}}).on("keydown",function(o){if(o.which===i.KEY_BACKSPACE||o.which===i.KEY_DELETE){var a=o.which===i.KEY_BACKSPACE;if(e.selection.isFocused()||e.selection.focus(),!e.selection.isCollapsed())return e.execCommand("Delete"),!1;var s=e.editorWindow.getSelection(),d=!!s.rangeCount&&s.getRangeAt(0);if(!d)return!1;var u=e.ownerDocument.createTextNode(i.INVISIBLE_SPACE),p=e.editorDocument.createElement("span");try{if(d.insertNode(u),!r.Dom.isOrContains(e.editor,u))return!1;var f=r.Dom.up(u,r.Dom.isBlock,e.editor),h=r.Dom.findInline(u,a,e.editor),g={node:h},m=void 0;if(h?m=l(g,a,d):u.parentNode&&(m=l({node:a?u.parentNode.previousSibling:u.parentNode.nextSibling},a,d)),void 0!==m)return!!m&&void 0;if(f&&f.nodeName.match(/^(TD)$/))return!1;var v=a?r.Dom.prev(g.node||u,r.Dom.isBlock,e.editor):r.Dom.next(g.node||u,r.Dom.isBlock,e.editor);if(!v&&f&&f.parentNode){v=e.editorDocument.createElement(e.options.enter);for(var b=f;b&&b.parentNode&&b.parentNode!==e.editor;)b=b.parentNode;b.parentNode&&b.parentNode.insertBefore(v,b)}else if(v&&c(v))return v.parentNode&&v.parentNode.removeChild(v),!1;if(v){var y=e.selection.setCursorIn(v,!a);e.selection.insertNode(p,!1,!1),y.nodeType===Node.TEXT_NODE&&y.nodeValue===i.INVISIBLE_SPACE&&y.parentNode&&y.parentNode.removeChild(y)}if(f){if(t(f),v&&f.parentNode&&(f.nodeName===v.nodeName&&f.parentNode&&v.parentNode&&f.parentNode!==e.editor&&v.parentNode!==e.editor&&f.parentNode!==v.parentNode&&f.parentNode.nodeName===v.parentNode.nodeName&&(f=f.parentNode,v=v.parentNode),r.Dom.moveContent(f,v,!a),n.normalizeNode(v)),v&&"LI"===v.nodeName){var _=r.Dom.closest(v,"Ul|OL",e.editor);if(_){var w=_.nextSibling;w&&w.nodeName===_.nodeName&&_!==w&&(r.Dom.moveContent(w,_,!a),w.parentNode&&w.parentNode.removeChild(w))}}return t(f),!1}}finally{u.parentNode&&u.nodeValue===i.INVISIBLE_SPACE&&u.parentNode.removeChild(u),p&&r.Dom.isOrContains(e.editor,p,!0)&&(y=e.selection.setCursorBefore(p),p.parentNode&&p.parentNode.removeChild(p),y&&y.parentNode&&(r.Dom.findInline(y,!0,y.parentNode)||r.Dom.findInline(y,!0,y.parentNode))&&y.parentNode.removeChild(y)),e.setEditorValue()}return!1}})}},function(e,t,o){"use strict";var i=this&&this.__assign||Object.assign||function(e){for(var t,o=1,i=arguments.length;i>o;o++)for(var n in t=arguments[o])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e};Object.defineProperty(t,"__esModule",{value:!0});var n=o(5),r=o(1);r.Config.prototype.controls.bold={tagRegExp:/^(strong|b)$/i,tags:["strong","b"],css:{"font-weight":["bold","700"]},tooltip:"Bold"},r.Config.prototype.controls.italic={tagRegExp:/^(em|i)$/i,tags:["em","i"],css:{"font-style":"italic"},tooltip:"Italic"},r.Config.prototype.controls.underline={tagRegExp:/^(u)$/i,tags:["u"],css:{"text-decoration":"underline"},tooltip:"Underline"},r.Config.prototype.controls.strikethrough={tagRegExp:/^(s)$/i,tags:["s"],css:{"text-decoration":"line-through"},tooltip:"Strike through"},t.bold=function(e){var t=function(t){var o=n.Jodit.defaultOptions.controls[t],r=i({},o.css),a={};return Object.keys(r).forEach(function(e){a[e]=Array.isArray(r[e])?r[e][0]:r[e]}),e.selection.applyCSS(a,o.tags?o.tags[0]:void 0,o.css),e.setEditorValue(),!1};e.registerCommand("bold",{exec:t,hotkeys:"ctrl+b"}),e.registerCommand("italic",{exec:t,hotkeys:"ctrl+i"}),e.registerCommand("underline",{exec:t,hotkeys:"ctrl+u"}),e.registerCommand("strikethrough",{exec:t})}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o(1),n=o(2),r=o(0),a=o(3),s=o(2);i.Config.prototype.cleanHTML={timeout:300,removeEmptyElements:!0,fillEmptyParagraph:!0,replaceNBSP:!0,cleanOnPaste:!0,replaceOldTags:{i:"em",b:"strong"},allowTags:!1,denyTags:!1},i.Config.prototype.controls.eraser={command:"removeFormat",tooltip:"Clear Formatting"},t.cleanHTML=function(e){e.options.cleanHTML.cleanOnPaste&&e.events.on("processPaste",function(e,t){return r.cleanFromWord(t)});var t,o=/([^\[]*)\[([^\]]+)]/,i=/[\s]*,[\s]*/,l=/^(.*)[\s]*=[\s]*(.*)$/,c=function(e){var t={};return"string"==typeof e?(e.split(i).map(function(e){e=r.trim(e);var n=o.exec(e),a={};if(n){var s=n[2].split(i);n[1]&&(s.forEach(function(e){e=r.trim(e);var t=l.exec(e);t?a[t[1]]=t[2]:a[e]=!0}),t[n[1].toUpperCase()]=a)}else t[e.toUpperCase()]=!0}),t):!!e&&(Object.keys(e).forEach(function(o){t[o.toUpperCase()]=e[o]}),t)},d=c(e.options.cleanHTML.allowTags),u=c(e.options.cleanHTML.denyTags),p=function(e,t){void 0===t&&(t=!1);for(var o=t?e.nextSibling:e.previousSibling;o;){if(o.nodeType===Node.ELEMENT_NODE||!a.Dom.isEmptyTextNode(o))return!0;o=t?o.nextSibling:o.previousSibling}return!1},f=function(o){return!(o.nodeType===Node.TEXT_NODE||!(d&&!d[o.nodeName]||u&&u[o.nodeName]))||!(!t||"BR"!==o.nodeName||!p(o)||p(o,!0)||a.Dom.up(o,a.Dom.isBlock,e.editor)===a.Dom.up(t,a.Dom.isBlock,e.editor))||e.options.cleanHTML.removeEmptyElements&&!1!==t&&o.nodeType===Node.ELEMENT_NODE&&null!==o.nodeName.match(s.IS_INLINE)&&!e.selection.isMarker(o)&&0===r.trim(o.innerHTML).length&&!a.Dom.isOrContains(o,t)};e.events.on("change afterSetMode afterInit mousedown keydown",r.debounce(function(){if(!e.isDestructed&&e.isEditorMode()){t=e.selection.current();var o=null,i=[],n=!1,r=0,s=e.options.cleanHTML.replaceOldTags;if(s&&t){var l=Object.keys(s).join("|");if(e.selection.isCollapsed()){var c=a.Dom.closest(t,l,e.editor);if(c){var u=e.selection.save(),p=s[c.nodeName.toLowerCase()]||s[c.nodeName];a.Dom.replace(c,p,!0,!1,e.editorDocument),e.selection.restore(u)}}}var h=function(t){if(t){if(f(t))return i.push(t),h(t.nextSibling);if(e.options.cleanHTML.fillEmptyParagraph&&a.Dom.isBlock(t)&&a.Dom.isEmpty(t,/^(img|svg|canvas|input|textarea|form|br)$/)){var o=e.editorDocument.createElement("br");t.appendChild(o)}if(d&&!0!==d[t.nodeName]&&t.attributes&&t.attributes.length){var s=[];for(r=0;t.attributes.length>r;r+=1)(!d[t.nodeName][t.attributes[r].name]||!0!==d[t.nodeName][t.attributes[r].name]&&d[t.nodeName][t.attributes[r].name]!==t.attributes[r].value)&&s.push(t.attributes[r].name);s.length&&(n=!0),s.forEach(function(e){t.removeAttribute(e)})}h(t.firstChild),h(t.nextSibling)}};e.editor.firstChild&&(o=e.editor.firstChild),h(o),i.forEach(function(e){return e.parentNode&&e.parentNode.removeChild(e)}),(i.length||n)&&e.events&&e.events.fire("syncho")}},e.options.cleanHTML.timeout)).on("keyup",function(){if(!e.options.readonly){var t=e.selection.current();if(t){var o=a.Dom.up(t,a.Dom.isBlock,e.editor);o&&a.Dom.all(o,function(o){o.nodeType===Node.TEXT_NODE&&null!==o.nodeValue&&n.INVISIBLE_SPACE_REG_EXP.test(o.nodeValue)&&0!==o.nodeValue.replace(n.INVISIBLE_SPACE_REG_EXP,"").length&&(o.nodeValue=o.nodeValue.replace(n.INVISIBLE_SPACE_REG_EXP,""),o===t&&e.selection.isCollapsed()&&e.selection.setCursorAfter(o))})}}}).on("afterCommand",function(t){var o,i,s=e.selection;switch(t.toLowerCase()){case"inserthorizontalrule":(o=e.editor.querySelector("hr[id=null]"))&&((i=a.Dom.next(o,a.Dom.isBlock,e.editor,!1))||(i=e.editorDocument.createElement(e.options.enter))&&a.Dom.after(o,i),s.setCursorIn(i));break;case"removeformat":i=s.current();var l=function(t){switch(t.nodeType){case Node.ELEMENT_NODE:a.Dom.each(t,l),"FONT"===t.nodeName?a.Dom.unwrap(t):([].slice.call(t.attributes).forEach(function(e){-1===["src","href","rel","content"].indexOf(e.name.toLowerCase())&&t.removeAttribute(e.name)}),r.normalizeNode(t));break;case Node.TEXT_NODE:e.options.cleanHTML.replaceNBSP&&t.nodeType===Node.TEXT_NODE&&null!==t.nodeValue&&t.nodeValue.match(n.SPACE_REG_EXP)&&(t.nodeValue=t.nodeValue.replace(n.SPACE_REG_EXP," "));break;default:t.parentNode&&t.parentNode.removeChild(t)}};if(s.isCollapsed())for(;i&&i.nodeType!==Node.ELEMENT_NODE&&i!==e.editor;)l(i),i&&(i=i.parentNode);else e.selection.eachSelection(function(e){l(e)})}})}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o(0),n=o(1),r=o(12),a=r.Widget.TabsWidget,s=r.Widget.ColorPickerWidget,l=o(3);n.Config.prototype.controls.brush={isActive:function(e,t,o){var n=e.selection.current(),r=o.container.querySelector("svg");if(n){var a=l.Dom.closest(n,function(t){return l.Dom.isBlock(t)||l.Dom.isNode(t,e.editorWindow)&&t.nodeType===Node.ELEMENT_NODE},e.editor)||e.editor,s=""+i.css(a,"color"),c=""+i.css(a,"background-color");if(s!==""+i.css(e.editor,"color"))return r&&(r.style.fill=s),!0;if(c!==""+i.css(e.editor,"background-color"))return r&&(r.style.fill=c),!0}return r&&r.style.fill&&(r.style.fill=null),!1},popup:function(e,t,o,n){var r,c="",d="",u=null;t&&t!==e.editor&&l.Dom.isNode(t,e.editorWindow)&&t.nodeType===Node.ELEMENT_NODE&&(c=""+i.css(t,"color"),d=""+i.css(t,"background-color"),u=t);var p=s(e,function(t){u?u.style.backgroundColor=t:e.execCommand("background",!1,t),n()},d),f=s(e,function(t){u?u.style.color=t:e.execCommand("forecolor",!1,t),n()},c);return r="background"===e.options.colorPickerDefaultTab?{Background:p,Text:f}:{Text:f,Background:p},a(e,r,u)},tooltip:"Fill color or set the text color"},t.color=function(e){var t=function(t,o,n){var r=i.normalizeColor(n);switch(t){case"background":e.selection.applyCSS({backgroundColor:r||""});break;case"forecolor":e.selection.applyCSS({color:r||""})}return e.setEditorValue(),!1};e.registerCommand("forecolor",t),e.registerCommand("background",t)}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o(1),n=o(3),r=o(0),a=["fontWeight","fontStyle","fontSize","color","margin","padding","borderWidth","borderStyle","borderColor","borderRadius","backgroundColor","textDecorationLine","fontFamily"],s=function(e,t,o,i){var n=r.css(o,t);return n==i[t]&&(n=o.parentNode&&o!==e.editor&&o.parentNode!==e.editor?s(e,t,o.parentNode,i):void 0),n},l=function(e,t,o){var i={};return t&&a.forEach(function(n){i[n]=s(e,n,t,o),n.match(/border(Style|Color)/)&&!i.borderWidth&&(i[n]=void 0)}),i};i.Config.prototype.controls.copyformat={exec:function(e,t){if(t)if(e.buffer.copyformat)e.buffer.copyformat=!1,e.events.off(e.editor,"mouseup.copyformat");else{var o={},i=n.Dom.up(t,function(e){return e&&e.nodeType!==Node.TEXT_NODE},e.editor)||e.editor,s=e.editorDocument.createElement("span");e.editor.appendChild(s),a.forEach(function(e){o[e]=r.css(s,e)}),s!==e.editor&&s.parentNode&&s.parentNode.removeChild(s);var c=l(e,i,o);e.events.on(e.editor,"mouseup.copyformat",function(){e.buffer.copyformat=!1;var t=e.selection.current();t&&("IMG"===t.nodeName?r.css(t,c):e.selection.applyCSS(c)),e.events.off(e.editor,"mouseup.copyformat")}),e.buffer.copyformat=!0}},isActive:function(e){return!!e.buffer.copyformat},tooltip:"Paint format"}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o(0),n=o(2),r=o(3);t.insertParagraph=function(e,t,o,n){o||(o=e.options.enter.toLowerCase());var r=e.editorDocument.createElement(o),a=e.editorDocument.createElement("br");r.appendChild(a),n&&n.cssText&&r.setAttribute("style",n.cssText),e.selection.insertNode(r,!1,!1),e.selection.setCursorBefore(a);var s=e.editorDocument.createRange();return s.setStartBefore(a),s.collapse(!0),e.selection.selectRange(s),t&&t.parentNode&&t.parentNode.removeChild(t),i.scrollIntoView(r,e.editor,e.editorDocument),e.events&&e.events.fire("synchro"),r},t.enter=function(e){e.events.on("keydown",function(o){if(o.which===n.KEY_ENTER){var a=e.events.fire("beforeEnter",o);if(void 0!==a)return a;e.selection.isCollapsed()||e.execCommand("Delete"),e.selection.focus();var s=e.selection.current(!1),l=e.editorWindow.getSelection(),c=l.rangeCount?l.getRangeAt(0):e.editorDocument.createRange();s&&s!==e.editor||(e.selection.current(),s=e.editorDocument.createTextNode(n.INVISIBLE_SPACE),l.rangeCount?c.insertNode(s):e.editor.appendChild(s),c.selectNode(s),c.collapse(!1),l.removeAllRanges(),l.addRange(c));var d=!!s&&r.Dom.up(s,r.Dom.isBlock,e.editor);if(e.options.enter.toLowerCase()===n.BR.toLowerCase()||o.shiftKey||r.Dom.closest(s,"PRE|BLOCKQUOTE",e.editor)){var u=e.editorDocument.createElement("br");return e.selection.insertNode(u,!0),i.scrollIntoView(u,e.editor,e.editorDocument),!1}if(!d&&s&&!r.Dom.prev(s,function(t){return r.Dom.isBlock(t)||!!t&&r.Dom.isImage(t,e.ownerWindow)},e.editor)){var p=s;if(r.Dom.up(p,function(t){t&&t.hasChildNodes()&&t!==e.editor&&(p=t)},e.editor),d=r.Dom.wrapInline(p,e.options.enter,e),r.Dom.isEmpty(d)){var f=e.editorDocument.createElement("br");d.appendChild(f),e.selection.setCursorBefore(f)}c=l.rangeCount?l.getRangeAt(0):e.editorDocument.createRange()}var h=!1,g=!1,m=!1;if(d){if(!r.Dom.canSplitBlock(d,e.editorWindow))return u=e.editorDocument.createElement("br"),e.selection.insertNode(u,!1),e.selection.setCursorAfter(u),!1;if((h="LI"===d.nodeName)&&r.Dom.isEmpty(d)){var v=!1,b=r.Dom.closest(d,"ol|ul",e.editor);if(r.Dom.prev(d,function(e){return e&&"LI"===e.nodeName},b))if(r.Dom.next(d,function(e){return e&&"LI"===e.nodeName},b)){(_=e.editorDocument.createRange()).setStartBefore(b),_.setEndAfter(d);var y=_.extractContents();b.parentNode&&b.parentNode.insertBefore(y,b),v=e.selection.setCursorBefore(b)}else v=e.selection.setCursorAfter(b);else v=e.selection.setCursorBefore(b);return d.parentNode&&d.parentNode.removeChild(d),t.insertParagraph(e,v),!i.$$("li",b).length&&b.parentNode&&b.parentNode.removeChild(b),!1}if(e.selection.cursorInTheEdge(!0,d))return g=e.selection.setCursorBefore(d),t.insertParagraph(e,g,h?"li":e.options.enter,d.style),e.selection.setCursorIn(d,!0),!1;var _;if(!1===e.selection.cursorInTheEdge(!1,d))(_=e.editorDocument.createRange()).setStartBefore(d),_.setEnd(c.startContainer,c.startOffset),y=_.extractContents(),d.parentNode&&d.parentNode.insertBefore(y,d),e.selection.setCursorIn(d,!0);else g=e.selection.setCursorAfter(d)}else m=!0;return(m||g)&&t.insertParagraph(e,g,h?"li":e.options.enter,d?d.style:void 0),!1}})}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o(1),n=o(0);i.Config.prototype.showMessageErrors=!0,i.Config.prototype.showMessageErrorTime=3e3,i.Config.prototype.showMessageErrorOffsetPx=3,t.errorMessages=function(e){if(e.options.showMessageErrors){var t,o=n.dom('<div class="jodit_error_box_for_messages"></div>',e.ownerDocument),i=function(){t=5,[].slice.call(o.childNodes).forEach(function(i){n.css(o,"bottom",t+"px"),t+=i.offsetWidth+e.options.showMessageErrorOffsetPx})};e.workplace.appendChild(o),e.events.on("errorMessage",function(t,r,a){var s=n.dom('<div class="active '+(r||"")+'">'+t+"</div>",e.ownerDocument);o.appendChild(s),i(),setTimeout(function(){s.classList.remove("active"),setTimeout(function(){o.removeChild(s),i()},300)},a||e.options.showMessageErrorTime)})}}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o(0),n=o(1),r=o(3);n.Config.prototype.controls.fontsize={command:"fontSize",list:["8","9","10","11","12","14","16","18","24","30","36","48","60","72","96"],template:function(e,t,o){return o},tooltip:"Font size",isActiveChild:function(e,t){var o=e.selection.current();if(o){var n=r.Dom.closest(o,function(t){return r.Dom.isBlock(t)||r.Dom.isNode(t,e.editorWindow)&&t.nodeType===Node.ELEMENT_NODE},e.editor)||e.editor,a=i.css(n,"font-size");return!(!a||!t.args||""+t.args[1]!=""+a)}return!1},isActive:function(e){var t=e.selection.current();if(t){var o=r.Dom.closest(t,function(t){return r.Dom.isBlock(t)||r.Dom.isNode(t,e.editorWindow)&&t.nodeType===Node.ELEMENT_NODE},e.editor)||e.editor;return""+i.css(o,"font-size")!=""+i.css(e.editor,"font-size")}return!1}},n.Config.prototype.controls.font={command:"fontname",exec:function(e,t,o){e.execCommand(o.command,!1,o.args?o.args[0]:void 0)},list:{"Helvetica,sans-serif":"Helvetica","Arial,Helvetica,sans-serif":"Arial","Georgia,serif":"Georgia","Impact,Charcoal,sans-serif":"Impact","Tahoma,Geneva,sans-serif":"Tahoma","'Times New Roman',Times,serif":"Times New Roman","Verdana,Geneva,sans-serif":"Verdana"},template:function(e,t,o){return'<span style="font-family: '+t+'">'+o+"</span>"},isActiveChild:function(e,t){var o=e.selection.current(),n=function(e){return e.toLowerCase().replace(/['"]+/g,"").replace(/[^a-z0-9]+/g,",")};if(o){var a=r.Dom.closest(o,function(t){return r.Dom.isBlock(t)||r.Dom.isNode(t,e.editorWindow)&&t.nodeType===Node.ELEMENT_NODE},e.editor)||e.editor,s=""+i.css(a,"font-family");return!(!s||!t.args||n(""+t.args[0])!==n(s))}return!1},isActive:function(e){var t=e.selection.current();if(t){var o=r.Dom.closest(t,function(t){return r.Dom.isBlock(t)||r.Dom.isNode(t,e.editorWindow)&&t.nodeType===Node.ELEMENT_NODE},e.editor)||e.editor;return""+i.css(o,"font-family")!=""+i.css(e.editor,"font-family")}return!1},tooltip:"Font family"},t.font=function(e){var t=function(t,o,n){switch(t){case"fontsize":e.selection.applyCSS({fontSize:i.normalizeSize(n)});break;case"fontname":e.selection.applyCSS({fontFamily:n})}return e.setEditorValue(),!1};e.registerCommand("fontsize",t),e.registerCommand("fontname",t)}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o(3),n=o(2);o(1).Config.prototype.controls.paragraph={command:"formatBlock",getLabel:function(e,t,o){var n=e.selection.current();if(n&&e.options.textIcons){var r=(i.Dom.closest(n,i.Dom.isBlock,e.editor)||e.editor).nodeName.toLowerCase();t.data&&t.data.currentValue!==r&&t.list&&t.list[r]&&(o.textBox.innerHTML="<span>"+t.list[r]+"</span>",o.textBox.firstChild.classList.add("jodit_icon"),t.data.currentValue=r)}return!1},exec:function(e,t,o){e.execCommand(o.command,!1,o.args?o.args[0]:void 0)},data:{currentValue:"left"},list:{p:"Normal",h1:"Heading 1",h2:"Heading 2",h3:"Heading 3",h4:"Heading 4",blockquote:"Quote"},isActiveChild:function(e,t){var o=e.selection.current();if(o){var n=i.Dom.closest(o,i.Dom.isBlock,e.editor);return n&&n!==e.editor&&void 0!==t.args&&n.nodeName.toLowerCase()===t.args[0]}return!1},isActive:function(e,t){var o=e.selection.current();if(o){var n=i.Dom.closest(o,i.Dom.isBlock,e.editor);return n&&n!==e.editor&&void 0!==t.list&&"p"!==n.nodeName.toLowerCase()&&void 0!==t.list[n.nodeName.toLowerCase()]}return!1},template:function(e,t,o){return"<"+t+' class="jodit_list_element"><span>'+e.i18n(o)+"</span></"+t+"></li>"},tooltip:"Insert format block"},t.formatBlock=function(e){e.registerCommand("formatblock",function(t,o,r){e.selection.focus();var a=!1;if(e.selection.eachSelection(function(t){var o=e.selection.save(),n=!!t&&i.Dom.up(t,i.Dom.isBlock,e.editor);if(n&&"LI"!==n.nodeName||!t||(n=i.Dom.wrapInline(t,e.options.enter,e)),!n)return e.selection.restore(o),!1;n.tagName.match(/TD|TH|TBODY|TABLE|THEAD/i)?e.selection.isCollapsed()?i.Dom.wrapInline(t,r,e):e.selection.applyCSS({},r):r===e.options.enter.toLowerCase()&&n.parentNode&&"LI"===n.parentNode.nodeName?i.Dom.unwrap(n):i.Dom.replace(n,r,!0,!1,e.editorDocument),a=!0,e.selection.restore(o)}),!a){var s=e.editorDocument.createElement(r);s.innerHTML=n.INVISIBLE_SPACE,e.selection.insertNode(s,!1),e.selection.setCursorIn(s)}return e.setEditorValue(),!1})}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o(1),n=o(0),r=o(2),a=o(6);i.Config.prototype.fullsize=!1,i.Config.prototype.globalFullsize=!0,i.Config.prototype.controls.fullsize={exec:function(e){e.toggleFullSize()},isActive:function(e){return e.isFullSize()},getLabel:function(e,t,o){var i=e.isFullSize()?"shrink":"fullsize";o.textBox.innerHTML=e.options.textIcons?"<span>"+e.i18n(i)+"</span>":a.ToolbarIcon.getIcon(i),o.textBox.firstChild.classList.add("jodit_icon")},tooltip:"Open editor in fullsize",mode:r.MODE_SOURCE+r.MODE_WYSIWYG},t.fullsize=function(e){var t=!1,o=0,i=0,r=!1,a=function(){e.events&&(t?(o=n.css(e.container,"height"),i=n.css(e.container,"width"),n.css(e.container,{height:e.ownerWindow.innerHeight,width:e.ownerWindow.innerWidth}),r=!0):r&&n.css(e.container,{height:o||"auto",width:i||"auto"}))},s=function(o){if(e.container){if(void 0===o&&(o=!e.container.classList.contains("jodit_fullsize")),e.options.fullsize=!!o,t=o,e.container.classList.toggle("jodit_fullsize",o),e.toolbar&&n.css(e.toolbar.container,"width","auto"),e.options.globalFullsize){for(var i=e.container.parentNode;i&&!(i instanceof Document);)i.classList.toggle("jodit_fullsize_box",o),i=i.parentNode;a()}e.events.fire("afterResize")}};e.options.globalFullsize&&e.events.on(e.ownerWindow,"resize",a),e.events.on("afterInit afterOpen",function(){e.toggleFullSize(e.options.fullsize)}).on("toggleFullSize",s).on("beforeDestruct beforeClose",function(){s(!1)})}},function(e,t,o){"use strict";var i=this&&this.__awaiter||function(e,t,o,i){return new(o||(o=Promise))(function(n,r){function a(e){try{l(i.next(e))}catch(e){r(e)}}function s(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){e.done?n(e.value):new o(function(t){t(e.value)}).then(a,s)}l((i=i.apply(e,t||[])).next())})},n=this&&this.__generator||function(e,t){function o(e){return function(t){return i([e,t])}}function i(o){if(n)throw new TypeError("Generator is already executing.");for(;l;)try{if(n=1,r&&(a=2&o[0]?r.return:o[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,o[1])).done)return a;switch(r=0,a&&(o=[2&o[0],a.value]),o[0]){case 0:case 1:a=o;break;case 4:return l.label++,{value:o[1],done:!1};case 5:l.label++,r=o[1],o=[0];continue;case 7:o=l.ops.pop(),l.trys.pop();continue;default:if(!(a=(a=l.trys).length>0&&a[a.length-1])&&(6===o[0]||2===o[0])){l=0;continue}if(3===o[0]&&(!a||o[1]>a[0]&&a[3]>o[1])){l.label=o[1];break}if(6===o[0]&&a[1]>l.label){l.label=a[1],a=o;break}if(a&&a[2]>l.label){l.label=a[2],l.ops.push(o);break}a[2]&&l.ops.pop(),l.trys.pop();continue}o=t.call(e,l)}catch(e){o=[6,e],r=0}finally{n=a=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}var n,r,a,s,l={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return s={next:o(0),throw:o(1),return:o(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s};Object.defineProperty(t,"__esModule",{value:!0});var r=o(1),a=o(0);r.Config.prototype.iframe=!1,r.Config.prototype.iframeBaseUrl="",r.Config.prototype.iframeDefaultSrc="about:blank",r.Config.prototype.iframeStyle='html{margin: 0px;min-height: 100%;}body{box-sizing: border-box;font-size: 13px; line-height: 1.6;padding:10px;background:transparent;color:#000;position:relative;z-index: 2;user-select:auto;margin:0px;overflow:auto;}table{width:100%;border: none;border-collapse:collapse;empty-cells: show;max-width: 100%;}th,td{padding: 2px 5px;border:1px solid #ccc;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}td[data-jodit-selected-cell],th[data-jodit-selected-cell]{border: 1px double #1e88e5}p{margin-top:0;}.jodit_editor .jodit_iframe_wrapper{display: block;clear: both;user-select: none;position: relative;}.jodit_editor .jodit_iframe_wrapper:after {position:absolute;content:"";z-index:1;top:0;left:0;right: 0;bottom: 0;cursor: pointer;display: block;background: rgba(0, 0, 0, 0);} .jodit_disabled{user-select: none;-o-user-select: none;-moz-user-select: none;-khtml-user-select: none;-webkit-user-select: none;-ms-user-select: none}',r.Config.prototype.iframeCSSLinks=[],t.iframe=function(e){var t=this;e.events.on("afterSetMode",function(){e.isEditorMode()&&e.selection.focus()}).on("generateDocumentStructure.iframe",function(e,t){var o=e||t.iframe.contentWindow.document;if(o.open(),o.write('<!DOCTYPE html>\n <html dir="'+t.options.direction+'" class="jodit" lang="'+a.defaultLanguage(t.options.language)+'">\n <head>\n '+(t.options.iframeBaseUrl?'<base href="'+t.options.iframeBaseUrl+'"/>':"")+'\n </head>\n <body class="jodit_wysiwyg" style="outline:none" contenteditable="true"></body>\n </html>'),o.close(),t.options.iframeCSSLinks&&t.options.iframeCSSLinks.forEach(function(e){var t=a.dom('<link rel="stylesheet" href="'+e+'">',o);o.head.appendChild(t)}),t.options.iframeStyle){var i=o.createElement("style");i.innerHTML=t.options.iframeStyle,o.head.appendChild(i)}}).on("createEditor",function(){return i(t,void 0,void 0,function(){var t,o;return n(this,function(i){switch(i.label){case 0:return e.options.iframe?(delete e.editor,e.iframe=e.ownerDocument.createElement("iframe"),e.iframe.style.display="block",e.iframe.src="about:blank",e.iframe.className="jodit_wysiwyg_iframe",e.iframe.setAttribute("allowtransparency","true"),e.iframe.setAttribute("tabindex","0"),e.iframe.setAttribute("frameborder","0"),e.workplace.appendChild(e.iframe),[4,e.events.fire("generateDocumentStructure.iframe",null,e)]):[2];case 1:return i.sent(),t=e.iframe.contentWindow.document,e.editorDocument=t,e.editorWindow=e.iframe.contentWindow,e.editor=t.body,"auto"===e.options.height&&(t.documentElement.style.overflowY="hidden",o=a.throttle(function(){e.editor&&e.iframe&&"auto"===e.options.height&&a.css(e.iframe,"height",e.editor.offsetHeight)},e.defaultTimeout/2),e.events.on("change afterInit afterSetMode resize",o).on([e.iframe,e.editorWindow,t.documentElement],"load",o).on(t,"readystatechange DOMContentLoaded",o)),function(e){e.matches||(e.matches=Element.prototype.matches)}(e.editorWindow.Element.prototype),e.events.on(e.editorDocument.documentElement,"mousedown touchend",function(){e.selection.isFocused()||(e.selection.focus(),e.selection.setCursorIn(e.editor))}).on(e.editorWindow,"mousedown touchstart keydown keyup touchend click mouseup mousemove scroll",function(t){e.events&&e.events.fire&&e.events.fire(e.ownerWindow,t)}),[2,!1]}})})})}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o(1),n=o(3);i.Config.prototype.controls.indent={tooltip:"Increase Indent"},i.Config.prototype.controls.outdent={isDisable:function(e){var t=e.selection.current();if(t){var o=n.Dom.closest(t,n.Dom.isBlock,e.editor);if(o&&o.style&&o.style.marginLeft)return 0>=parseInt(o.style.marginLeft,10)}return!0},tooltip:"Decrease Indent"},i.Config.prototype.indentMargin=10,t.indent=function(e){var t=function(t){return e.selection.eachSelection(function(o){var i=e.selection.save(),r=!!o&&n.Dom.up(o,n.Dom.isBlock,e.editor);if(!r&&o&&(r=n.Dom.wrapInline(o,e.options.enter,e)),!r)return e.selection.restore(i),!1;if(r&&r.style){var a=r.style.marginLeft?parseInt(r.style.marginLeft,10):0;a+=e.options.indentMargin*("outdent"===t?-1:1),r.style.marginLeft=a>0?a+"px":"",r.getAttribute("style")||r.removeAttribute("style")}e.selection.restore(i)}),e.setEditorValue(),!1};e.registerCommand("indent",{exec:t,hotkeys:"ctrl+]"}),e.registerCommand("outdent",{exec:t,hotkeys:"ctrl+["})}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o(0),n="__jodit_imageprocessor_binded";t.imageProcessor=function(e){e.events.on("change afterInit",i.debounce(function(){e.editor&&i.$$("img",e.editor).forEach(function(t){t[n]||(t[n]=!0,t.complete||t.addEventListener("load",function o(){e.events&&e.events.fire&&e.events.fire("resize"),t.removeEventListener("load",o)}),e.events.on(t,"mousedown touchstart",function(){e.selection.select(t)}))})},e.defaultTimeout))}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o(5),n=o(1),r=o(0),a=o(7),s=o(3),l=o(12),c=l.Widget.TabsWidget,d=l.Widget.FileSelectorWidget,u=o(15),p=o(6);n.Config.prototype.image={openOnDblClick:!0,editSrc:!0,useImageEditor:!0,editTitle:!0,editAlt:!0,editLink:!0,editSize:!0,editBorderRadius:!0,editMargins:!0,editClass:!0,editStyle:!0,editId:!0,editAlign:!0,showPreview:!0,selectImageAfterClose:!0},t.imageProperties=function(e){var t=function(t){var o=this;if(!e.options.readonly){t&&t.stopImmediatePropagation();var n,l=this,f=new a.Dialog(e),h=r.dom('<a href="javascript:void(0)" style="float:right;" class="jodit_button">'+p.ToolbarIcon.getIcon("cancel")+"<span>"+e.i18n("Cancel")+"</span></a>",e.ownerDocument),g=r.dom('<a href="javascript:void(0)" style="float:left;" class="jodit_button">'+p.ToolbarIcon.getIcon("check")+"<span>"+e.i18n("Ok")+"</span></a>",e.ownerDocument),m={remove:r.dom('<a href="javascript:void(0)" class="jodit_button">'+p.ToolbarIcon.getIcon("bin")+" "+e.i18n("Delete")+"</a>",e.ownerDocument)},v=r.dom('<form class="jodit_properties"><div class="jodit_grid"><div class="jodit_col-lg-2-5"><div class="jodit_properties_view_box"><div style="'+(e.options.image.showPreview?"":"display:none")+'" class="jodit_properties_image_view"><img class="imageViewSrc" src="" alt=""/></div><div style="'+(e.options.image.editSize?"":"display:none")+'" class="jodit_form_group jodit_properties_image_sizes"><input type="number" class="imageWidth"/><a class="jodit_lock_helper jodit_lock_size" href="javascript:void(0)">'+p.ToolbarIcon.getIcon("lock")+'</a><input type="number" class="imageHeight"/></div></div></div><div class="jodit_col-lg-3-5 tabsbox"></div></div></form>',e.ownerDocument),b=r.dom('<div style="'+(e.options.image.editMargins?"":"display:none")+'" class="jodit_form_group"><label>'+e.i18n("Margins")+'</label><div class="jodit_grid"><input class="jodit_col-lg-1-5 margins marginTop" data-id="marginTop" type="text" placeholder="'+e.i18n("top")+'"/><a style="text-align: center;" class="jodit_lock_helper jodit_lock_margin jodit_col-lg-1-5" href="javascript:void(0)">'+p.ToolbarIcon.getIcon("lock")+'</a><input disabled="true" class="jodit_col-lg-1-5 margins marginRight" data-id="marginRight" type="text" placeholder="'+e.i18n("right")+'"/><input disabled="true" class="jodit_col-lg-1-5 margins marginBottom" data-id="marginBottom" type="text" placeholder="'+e.i18n("bottom")+'"/><input disabled="true" class="jodit_col-lg-1-5 margins marginLeft" data-id="marginLeft" type="text" placeholder="'+e.i18n("left")+'"/></div></div><div style="'+(e.options.image.editStyle?"":"display:none")+'" class="jodit_form_group"><label>'+e.i18n("Styles")+'</label><input type="text" class="style"/></div><div style="'+(e.options.image.editClass?"":"display:none")+'" class="jodit_form_group"><label for="classes">'+e.i18n("Classes")+'</label><input type="text" class="classes"/></div><div style="'+(e.options.image.editId?"":"display:none")+'" class="jodit_form_group"><label for="id">Id</label><input type="text" class="id"/></div><div style="'+(e.options.image.editBorderRadius?"":"display:none")+'" class="jodit_form_group"><label for="border_radius">Border radius</label><input type="number" class="border_radius"/></div><div style="'+(e.options.image.editAlign?"":"display:none")+'" class="jodit_form_group"><label for="align">'+e.i18n("Align")+'</label><select class="select align"><option value="">'+e.i18n("--Not Set--")+'</option><option value="left">'+e.i18n("Left")+'</option><option value="center">'+e.i18n("Center")+'</option><option value="right">'+e.i18n("Right")+"</option></optgroup></select></div>",e.ownerDocument),y=r.dom('<div style="'+(e.options.image.editSrc?"":"display:none")+'" class="jodit_form_group"><label>'+e.i18n("Src")+'</label><div class="jodit_input_group"><input type="text" class="imageSrc"/>'+(e.options.filebrowser.ajax.url||e.options.uploader.url?'<div class="jodit_input_group-buttons">'+(e.options.filebrowser.ajax.url||e.options.uploader.url?'<a class="jodit_button jodit_rechange" href="javascript:void(0)">'+p.ToolbarIcon.getIcon("image")+"</a>":"")+(e.options.image.useImageEditor&&void 0!==i.Jodit.modules.ImageEditor&&e.options.filebrowser.ajax.url?'<a class="jodit_button jodit_use_image_editor" href="javascript:void(0)">'+p.ToolbarIcon.getIcon("crop")+"</a>":"")+"</div>":"")+'</div></div><div style="'+(e.options.image.editTitle?"":"display:none")+'" class="jodit_form_group"><label for="imageTitle">'+e.i18n("Title")+'</label><input type="text" class="imageTitle"/></div><div style="'+(e.options.image.editAlt?"":"display:none")+'" class="jodit_form_group"><label for="imageAlt">'+e.i18n("Alternative")+'</label><input type="text" class="imageAlt"/></div><div style="'+(e.options.image.editLink?"":"display:none")+'" class="jodit_form_group"><label for="imageLink">'+e.i18n("Link")+'</label><input type="text" class="imageLink"/></div><div style="'+(e.options.image.editLink?"":"display:none")+'" class="jodit_form_group"><input type="checkbox" class="imageLinkOpenInNewTab"/> '+e.i18n("Open link in new tab")+"</div>",e.ownerDocument),_=l.naturalWidth/l.naturalHeight||1,w=v.querySelector(".imageWidth"),x=v.querySelector(".imageHeight"),j=function(){r.val(v,".imageSrc",l.getAttribute("src")||"");var e=v.querySelector(".imageViewSrc");e&&e.setAttribute("src",l.getAttribute("src")||"")},k=function(){j(),function(){l.hasAttribute("title")&&r.val(v,".imageTitle",l.getAttribute("title")||""),l.hasAttribute("alt")&&r.val(v,".imageAlt",l.getAttribute("alt")||"");var t=s.Dom.closest(l,"a",e.editor);t&&(r.val(v,".imageLink",t.getAttribute("href")||""),v.querySelector(".imageLinkOpenInNewTab").checked="_blank"===t.getAttribute("target"))}(),w.value=""+l.offsetWidth,x.value=""+l.offsetHeight,function(){if(e.options.image.editMargins){var t=!1;r.$$(".margins",v).forEach(function(e){var o=e.getAttribute("data-id")||"",i=l.style[o];i&&(/^[0-9]+(px)?$/.test(i)&&(i=parseInt(i,10)),e.value=""+i||"",t||"marginTop"===o||e.value===r.val(v,".marginTop")||(t=!0))}),$=!t;var o=v.querySelector(".jodit_lock_margin");o&&(o.innerHTML=p.ToolbarIcon.getIcon($?"lock":"unlock")),r.$$(".margins:not(.marginTop)",v).forEach(function(e){return $?e.setAttribute("disabled","true"):e.removeAttribute("disabled")})}}(),r.val(v,".classes",(l.getAttribute("class")||"").replace(/jodit_focused_image[\s]*/,"")),r.val(v,".id",l.getAttribute("id")||""),r.val(v,".border_radius",""+(parseInt(l.style.borderRadius||"0",10)||"0")),l.style.cssFloat&&-1!==["left","right"].indexOf(l.style.cssFloat.toLowerCase())?r.val(v,".align",r.css(l,"float")):"block"===r.css(l,"display")&&"auto"===l.style.marginLeft&&"auto"===l.style.marginRight&&r.val(v,".align","center"),r.val(v,".style",l.getAttribute("style")||"")},C=!0,$=!0,A={},S=v.querySelector(".tabsbox");A[e.i18n("Image")]=y,A[e.i18n("Advanced")]=b,S&&S.appendChild(c(e,A)),k(),e.events.on(f,"afterClose",function(){f.destruct(),l.parentNode&&e.options.image.selectImageAfterClose&&e.selection.select(l)}),m.remove.addEventListener("click",function(){l.parentNode&&l.parentNode.removeChild(l),f.close()}),e.options.image.useImageEditor&&r.$$(".jodit_use_image_editor",y).forEach(function(t){e.events.on(t,"mousedown touchstart",function(){var t=l.getAttribute("src")||"",o=e.ownerDocument.createElement("a"),i=function(){o.host===location.host||a.Confirm(e.i18n("You can only edit your own images. Download this image on the host?"),function(t){t&&e.uploader&&e.uploader.uploadRemoteImage(""+o.href,function(t){a.Alert(e.i18n("The image has been successfully uploaded to the host!"),function(){"string"==typeof t.newfilename&&(l.setAttribute("src",t.baseurl+t.newfilename),j())})},function(t){a.Alert(e.i18n("There was an error loading %s",t.message))})})};o.href=t,e.getInstance("FileBrowser").getPathByUrl(""+o.href,function(i,n,r){e.getInstance("FileBrowser").openImageEditor(o.href,n,i,r,function(){var e=(new Date).getTime();l.setAttribute("src",t+(-1!==t.indexOf("?")?"":"?")+"&_tmp="+e),j()},function(e){a.Alert(e.message)})},function(e){a.Alert(e.message,i)})})}),r.$$(".jodit_rechange",y).forEach(function(t){t.addEventListener("mousedown",function(o){t.classList.toggle("active");var i=new u.ToolbarPopup(e,t);i.open(d(e,{upload:function(e){e.files&&e.files.length&&l.setAttribute("src",e.baseurl+e.files[0]),k(),i.close()},filebrowser:function(e){e&&e.files&&Array.isArray(e.files)&&e.files.length&&(l.setAttribute("src",e.files[0]),i.close(),k())}},l,i.close),!0),o.stopPropagation()})});var E=v.querySelector(".jodit_lock_helper.jodit_lock_size"),M=v.querySelector(".jodit_lock_helper.jodit_lock_margin");E&&E.addEventListener("click",function(){C=!C,this.innerHTML=p.ToolbarIcon.getIcon(C?"lock":"unlock"),e.events.fire(w,"change")}),M&&M.addEventListener("click",function(){$=!$,this.innerHTML=p.ToolbarIcon.getIcon($?"lock":"unlock"),$?r.$$(".margins",v).forEach(function(e){e.matches(".marginTop")||e.setAttribute("disabled","true")}):r.$$(".margins",v).forEach(function(e){e.matches(".marginTop")||e.removeAttribute("disabled")})});var T=function(e){var t=parseInt(w.value,10),o=parseInt(x.value,10);e.target===w?x.value=""+Math.round(t/_):w.value=""+Math.round(o*_)};return e.events.on([w,x],"change keydown mousedown paste",function(t){C&&(e.defaultTimeout?(clearTimeout(n),n=window.setTimeout(T.bind(o,t),e.defaultTimeout)):T(t))}),f.setTitle([e.i18n("Image properties"),m.remove]),f.setContent(v),h.addEventListener("click",function(){f.close()}),g.addEventListener("click",function(){if(e.options.image.editStyle&&(r.val(v,".style")?l.setAttribute("style",r.val(v,".style")):l.removeAttribute("style")),!r.val(v,".imageSrc"))return l.parentNode&&l.parentNode.removeChild(l),void f.close();l.setAttribute("src",r.val(v,".imageSrc")),l.style.borderRadius="0"!==r.val(v,".border_radius")&&/^[0-9]+$/.test(r.val(v,".border_radius"))?r.val(v,".border_radius")+"px":"",r.val(v,".imageTitle")?l.setAttribute("title",r.val(v,".imageTitle")):l.removeAttribute("title"),r.val(v,".imageAlt")?l.setAttribute("alt",r.val(v,".imageAlt")):l.removeAttribute("alt");var t=s.Dom.closest(l,"a",e.editor);r.val(v,".imageLink")?(t||(t=s.Dom.wrap(l,"a",e)),t.setAttribute("href",r.val(v,".imageLink")),v.querySelector(".imageLinkOpenInNewTab").checked?t.setAttribute("target","_blank"):t.removeAttribute("target")):t&&t.parentNode&&t.parentNode.replaceChild(l,t);var o=function(e){return e=r.trim(e),/^[0-9]+$/.test(e)?e+"px":e};w.value===""+l.offsetWidth&&x.value===""+l.offsetHeight||r.css(l,{width:r.trim(w.value)?o(w.value):null,height:r.trim(x.value)?o(x.value):null}),e.options.image.editMargins&&($?r.css(l,"margin",o(r.val(v,".marginTop"))):r.$$(".margins",v).forEach(function(e){var t=e.getAttribute("data-id")||"";r.css(l,t,o(e.value))})),e.options.image.editClass&&(r.val(v,".classes")?l.setAttribute("class",r.val(v,".classes")):l.removeAttribute("class")),e.options.image.editId&&(r.val(v,".id")?l.setAttribute("id",r.val(v,".id")):l.removeAttribute("id"));var i=function(){"block"===r.css(l,"display")&&r.css(l,"display",""),"auto"===l.style.marginLeft&&"auto"===l.style.marginRight&&(l.style.marginLeft="",l.style.marginRight="")};e.options.image.editAlign&&(r.val(v,".align")?-1!==["right","left"].indexOf(r.val(v,".align").toLowerCase())?(r.css(l,"float",r.val(v,".align")),i()):(r.css(l,"float",""),r.css(l,{display:"block","margin-left":"auto","margin-right":"auto"})):(r.css(l,"float")&&-1!==["right","left"].indexOf((""+r.css(l,"float")).toLowerCase())&&r.css(l,"float",""),i())),l.getAttribute("style")||l.removeAttribute("style"),e.setEditorValue(),f.close()}),f.setFooter([g,h]),f.setSize(500),f.open(),t&&t.preventDefault(),!1}};e.events.on("afterInit",function(){e.options.image.openOnDblClick?e.events.on(e.editor,"dblclick",t,"img"):e.events.on(e.editor,"dblclick",function(t){t.stopImmediatePropagation(),e.selection.select(this)},"img")}).on("openImageProperties",function(e){t.call(e)})}},function(e,t,o){"use strict";var i=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])};return function(t,o){function i(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(i.prototype=o.prototype,new i)}}();Object.defineProperty(t,"__esModule",{value:!0});var n=o(10),r=o(0),a=o(25),s=o(1),l=o(12),c=l.Widget.ColorPickerWidget,d=l.Widget.TabsWidget,u=o(3),p=o(8),f=o(15);s.Config.prototype.toolbarInline=!0,s.Config.prototype.toolbarInlineDisableFor=[],s.Config.prototype.popup={a:[{name:"eye",tooltip:"Open link",exec:function(e,t){var o=t.getAttribute("href");t&&o&&e.ownerWindow.open(o)}},{name:"link",tooltip:"Edit link",icon:"pencil"},"unlink","brush","file"],img:[{name:"bin",tooltip:"Delete",exec:function(e,t){t.parentNode&&(t.parentNode.removeChild(t),e.events.fire("hidePopup"))}},{name:"pencil",exec:function(e,t){"img"===t.tagName.toLowerCase()&&e.events.fire("openImageProperties",t)},tooltip:"Edit"},{name:"valign",list:["Top","Middle","Bottom"],tooltip:"Vertical align",exec:function(e,t,o){if("img"===t.tagName.toLowerCase()){var i=o.args&&"string"==typeof o.args[1]?o.args[1].toLowerCase():"";r.css(t,"vertical-align",i),e.events.fire("recalcPositionPopup")}}},{name:"left",list:["Left","Right","Center","Normal"],exec:function(e,t,o){if("img"===t.tagName.toLowerCase()){var i=function(){"block"===r.css(t,"display")&&r.css(t,"display",""),"auto"===t.style.marginLeft&&"auto"===t.style.marginRight&&(t.style.marginLeft="",t.style.marginRight="")},n=o.args&&"string"==typeof o.args[1]?o.args[1].toLowerCase():"";"normal"!==n?-1!==["right","left"].indexOf(n)?(r.css(t,"float",n),i()):(r.css(t,"float",""),r.css(t,{display:"block","margin-left":"auto","margin-right":"auto"})):(r.css(t,"float")&&-1!==["right","left"].indexOf(r.css(t,"float").toLowerCase())&&r.css(t,"float",""),i()),e.events.fire("recalcPositionPopup")}},tooltip:"Horizontal align"}],table:[{name:"brush",popup:function(e,t){var o,i,n,s,l,u,p=a.Table.getAllSelectedCells(t);return!!p.length&&(s=r.css(p[0],"color"),u=r.css(p[0],"background-color"),l=r.css(p[0],"border-color"),o=c(e,function(t){p.forEach(function(e){r.css(e,"background-color",t)}),e.setEditorValue()},u),i=c(e,function(t){p.forEach(function(e){r.css(e,"color",t)}),e.setEditorValue()},s),n=c(e,function(t){p.forEach(function(e){r.css(e,"border-color",t)}),e.setEditorValue()},l),d(e,{Background:o,Text:i,Border:n}))},tooltip:"Background"},{name:"valign",list:["Top","Middle","Bottom"],exec:function(e,t,o){var i=o.args&&"string"==typeof o.args[1]?o.args[1].toLowerCase():"";a.Table.getAllSelectedCells(t).forEach(function(e){r.css(e,"vertical-align",i)})},tooltip:"Vertical align"},{name:"splitv",list:{tablesplitv:"Split vertical",tablesplitg:"Split horizontal"},tooltip:"Split"},{name:"align",icon:"left"},"\n",{name:"merge",command:"tablemerge",tooltip:"Merge"},{name:"addcolumn",list:{tableaddcolumnbefore:"Insert column before",tableaddcolumnafter:"Insert column after"},exec:function(e,t,o){e.execCommand(o.args&&"string"==typeof o.args[0]?o.args[0].toLowerCase():"",!1,t)},tooltip:"Add column"},{name:"addrow",list:{tableaddrowbefore:"Insert row above",tableaddrowafter:"Insert row below"},exec:function(e,t,o){e.execCommand(o.args&&"string"==typeof o.args[0]?o.args[0].toLowerCase():"",!1,t)},tooltip:"Add row"},{name:"bin",list:{tablebin:"Delete table",tablebinrow:"Delete row",tablebincolumn:"Delete column",tableempty:"Empty cell"},exec:function(e,t,o){e.execCommand(o.args&&"string"==typeof o.args[0]?o.args[0].toLowerCase():"",!1,t)},tooltip:"Delete"}]},t.inlinePopup=function(e){function t(t){var o=e.call(this,t)||this;return o.isShown=!1,o.calcWindSizes=function(){var e=o.jodit.ownerWindow,t=o.jodit.ownerDocument.documentElement,i=o.jodit.ownerDocument.body,n=e.pageYOffset||t.scrollTop||i.scrollTop,r=t.clientTop||i.clientTop||0,a=e.pageXOffset||t.scrollLeft||i.scrollLeft,s=t.clientLeft||i.clientLeft||0;return{left:s,top:r,width:t.clientWidth+a-s,height:t.clientHeight+n-r}},o._hiddenClass="jodit_toolbar_popup-inline-target-hidden",o.calcPosition=function(e,t){o.popup.target.classList.remove(o._hiddenClass);var i=e.left+e.width/2,n=r.offset(o.jodit.workplace,o.jodit,o.jodit.ownerDocument,!0),a=e.top+e.height+10;o.target.style.left=i+"px",o.target.style.top=a+"px",o.jodit.isFullSize()&&(o.target.style.zIndex=""+r.css(o.jodit.container,"zIndex"));var s=o.container.offsetWidth/2,l=-s;o.popup.container.classList.remove("jodit_toolbar_popup-inline-top"),a+o.container.offsetHeight>t.height&&(a=e.top-o.container.offsetHeight-10,o.target.style.top=a+"px",o.popup.container.classList.add("jodit_toolbar_popup-inline-top")),0>i-s&&(l=-(e.width/2+e.left)),i+s>t.width&&(l=-(o.container.offsetWidth-(t.width-i))),o.container.style.marginLeft=l+"px",(n.top-a>50||a-(n.top+n.height)>50)&&o.popup.target.classList.add(o._hiddenClass)},o.reCalcPosition=function(){o.__getRect&&o.calcPosition(o.__getRect(),o.calcWindSizes())},o.showPopup=function(e,t,i){if(!o.jodit.options.toolbarInline||!o.jodit.options.popup[t.toLowerCase()])return!1;if(o.isExcludedTarget(t))return!0;o.isShown=!0,o.isTargetAction=!0;var n=o.calcWindSizes();return o.target.parentNode||o.jodit.ownerDocument.body.appendChild(o.target),o.toolbar.build(o.jodit.options.popup[t.toLowerCase()],o.container,i),o.popup.open(o.container,!1,!0),o.__getRect=e,o.calcPosition(e(),n),!0},o.hidePopup=function(e){e&&(e instanceof o.jodit.editorWindow.Node||e instanceof f.ToolbarPopup)&&u.Dom.isOrContains(o.target,e instanceof f.ToolbarPopup?e.target:e)||(o.isTargetAction=!1,o.isShown=!1,o.popup.close(),o.target.parentNode&&o.target.parentNode.removeChild(o.target))},o.isSelectionStarted=!1,o.onSelectionEnd=r.debounce(function(){o.jodit.isEditorMode()&&(o.isSelectionStarted&&(o.isTargetAction||o.onChangeSelection()),o.isSelectionStarted=!1,o.isTargetAction=!1)},o.jodit.defaultTimeout),o.isTargetAction=!1,o.isSelectionPopup=!1,o.onSelectionStart=function(e){if(o.jodit.isEditorMode()&&(o.isTargetAction=!1,o.isSelectionPopup=!1,!o.isSelectionStarted)){var t=Object.keys(o.jodit.options.popup).join("|"),i="IMG"===e.target.nodeName?e.target:u.Dom.closest(e.target,t,o.jodit.editor);i&&o.showPopup(function(){return r.offset(i,o.jodit,o.jodit.editorDocument)},i.nodeName,i)||(o.isSelectionStarted=!0)}},o.onChangeSelection=function(){if(o.jodit.options.toolbarInline&&o.jodit.isEditorMode()&&!o.hideIfCollapsed()&&void 0!==o.jodit.options.popup.selection){var e=o.jodit.editorWindow.getSelection();if(e.rangeCount){o.isSelectionPopup=!0;var t=e.getRangeAt(0);o.showPopup(function(){return r.offset(t,o.jodit,o.jodit.editorDocument)},"selection")}}},o.checkIsTargetEvent=function(){o.isTargetAction?o.isTargetAction=!1:o.hidePopup()},o.toolbar=new p.ToolbarCollection(t),o.target=t.ownerDocument.createElement("div"),o.container=t.ownerDocument.createElement("div"),o.target.classList.add("jodit_toolbar_popup-inline-target"),o.popup=new f.ToolbarPopup(t,o.target,void 0,"jodit_toolbar_popup-inline"),o}return i(t,e),t.prototype.isExcludedTarget=function(e){return-1!==r.splitArray(this.jodit.options.toolbarInlineDisableFor).map(function(e){return e.toLowerCase()}).indexOf(e.toLowerCase())},t.prototype.hideIfCollapsed=function(){return!!this.jodit.selection.isCollapsed()&&(this.hidePopup(),!0)},t.prototype.afterInit=function(e){var t=this;e.events.on(this.target,"mousedown keydown touchstart",function(e){e.stopPropagation()}).on("beforeOpenPopup hidePopup",this.hidePopup).on("recalcPositionPopup",this.reCalcPosition).on("getDiffButtons.mobile",function(o){if(t.toolbar===o)return r.splitArray(e.options.buttons).filter(function(e){return"|"!==e&&"\n"!==e}).filter(function(e){return 0>t.toolbar.getButtonsList().indexOf(e)})}).on("selectionchange",this.onChangeSelection).on("afterCommand afterExec",function(){t.isShown&&t.isSelectionPopup&&t.onChangeSelection()}).on("showPopup",function(e,o){var i=("string"==typeof e?e:e.nodeName).toLowerCase();t.isSelectionPopup=!1,t.showPopup(o,i,"string"==typeof e?void 0:e)}).on("mousedown keydown touchstart",this.onSelectionStart).on([e.ownerWindow,e.editor],"scroll resize",this.reCalcPosition).on([e.ownerWindow],"mouseup keyup touchend",this.onSelectionEnd).on([e.ownerWindow],"mousedown keydown touchstart",this.checkIsTargetEvent)},t.prototype.beforeDestruct=function(t){this.popup.destruct(),this.toolbar.destruct(),this.target.parentNode&&this.target.parentNode.removeChild(this.target),t.events.off([t.ownerWindow],"scroll resize",this.reCalcPosition).off([t.ownerWindow],"mouseup keyup touchend",this.onSelectionEnd).off([t.ownerWindow],"mousedown keydown touchstart",this.checkIsTargetEvent),e.prototype.destruct.call(this)},t}(n.Plugin)},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o(0),n=o(3),r=o(1),a=o(6);r.Config.prototype.controls.align={name:"left",tooltip:"Align",getLabel:function(e,t,o){var r=e.selection.current();if(r){var s=n.Dom.closest(r,n.Dom.isBlock,e.editor)||e.editor,l=""+i.css(s,"text-align");t.defaultValue&&-1!==t.defaultValue.indexOf(l)&&(l="left"),t.data&&t.data.currentValue!==l&&t.list&&-1!==t.list.indexOf(l)&&(o.textBox.innerHTML=e.options.textIcons?"<span>"+l+"</span>":a.ToolbarIcon.getIcon(l,""),o.textBox.firstChild.classList.add("jodit_icon"),t.data.currentValue=l)}return!1},isActive:function(e,t){var o=e.selection.current();if(o&&t.defaultValue){var r=n.Dom.closest(o,n.Dom.isBlock,e.editor)||e.editor;return-1===t.defaultValue.indexOf(""+i.css(r,"text-align"))}return!1},defaultValue:["left","start","inherit"],data:{currentValue:"left"},list:["center","left","right","justify"]},r.Config.prototype.controls.center={command:"justifyCenter",tags:["center"],css:{"text-align":"center"},tooltip:"Align Center"},r.Config.prototype.controls.justify={command:"justifyFull",css:{"text-align":"justify"},tooltip:"Align Justify"},r.Config.prototype.controls.left={command:"justifyLeft",css:{"text-align":"left"},tooltip:"Align Left"},r.Config.prototype.controls.right={command:"justifyRight",css:{"text-align":"right"},tooltip:"Align Right"},t.justify=function(e){var t=function(t){var o=function(o){if(o instanceof e.editorWindow.HTMLElement)switch(t.toLowerCase()){case"justifyfull":o.style.textAlign="justify";break;case"justifyright":o.style.textAlign="right";break;case"justifyleft":o.style.textAlign="left";break;case"justifycenter":o.style.textAlign="center"}};return e.selection.focus(),e.selection.eachSelection(function(t){if(!t&&e.editor.querySelector(".jodit_selected_cell"))return i.$$(".jodit_selected_cell",e.editor).forEach(o),!1;if(t instanceof e.editorWindow.Node){var r=!!t&&n.Dom.up(t,n.Dom.isBlock,e.editor);!r&&t&&(r=n.Dom.wrapInline(t,e.options.enter,e)),o(r)}}),!1};e.registerCommand("justifyfull",t),e.registerCommand("justifyright",t),e.registerCommand("justifyleft",t),e.registerCommand("justifycenter",t)}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o(1),n=o(0),r=o(3);i.Config.prototype.link={followOnDblClick:!0,processVideoLink:!0,processPastedLink:!0,openLinkDialogAfterPost:!0,removeLinkAfterFormat:!0,noFollowCheckbox:!0,openInNewTabCheckbox:!0},i.Config.prototype.controls.unlink={exec:function(e,t){var o=r.Dom.closest(t,"A",e.editor);o&&r.Dom.unwrap(o),e.events.fire("hidePopup")}},i.Config.prototype.controls.link={isActive:function(e){var t=e.selection.current();return t&&!1!==r.Dom.closest(t,"a",e.editor)},popup:function(e,t,o,i){var a=e.editorWindow.getSelection(),s=n.dom('<form class="jodit_form"><input required type="text" name="url" placeholder="http://" type="text"/><input name="text" placeholder="'+e.i18n("Text")+'" type="text"/>'+(e.options.link.openInNewTabCheckbox?'<label><input name="target" type="checkbox"/> '+e.i18n("Open in new tab")+"</label>":"")+(e.options.link.noFollowCheckbox?'<label><input name="nofollow" type="checkbox"/> '+e.i18n("No follow")+"</label>":"")+'<div style="text-align: right"><button class="jodit_unlink_button" type="button">'+e.i18n("Unlink")+'</button> <button class="jodit_link_insert_button" type="submit"></button></div><form/>',e.ownerDocument);t=!(!t||!r.Dom.closest(t,"A",e.editor))&&r.Dom.closest(t,"A",e.editor);var l=s.querySelector(".jodit_link_insert_button"),c=s.querySelector(".jodit_unlink_button");t?(n.val(s,"input[name=url]",t.getAttribute("href")||""),n.val(s,"input[name=text]",t.innerText),e.options.link.openInNewTabCheckbox&&(s.querySelector("input[name=target]").checked="_blank"===t.getAttribute("target")),e.options.link.noFollowCheckbox&&(s.querySelector("input[name=nofollow]").checked="nofollow"===t.getAttribute("rel")),l&&(l.innerHTML=e.i18n("Update"))):(c&&(c.style.display="none"),n.val(s,"input[name=text]",""+a),l&&(l.innerHTML=e.i18n("Insert")));var d=e.selection.save();return c&&c.addEventListener("mousedown",function(o){t&&r.Dom.unwrap(t),e.selection.restore(d),i(),o.preventDefault()}),s.addEventListener("submit",function(o){o.preventDefault(),e.selection.restore(d);var r=t||e.editorDocument.createElement("a");return n.val(s,"input[name=url]")?(r.setAttribute("href",n.val(s,"input[name=url]")),r.innerText=n.val(s,"input[name=text]"),e.options.link.openInNewTabCheckbox&&(s.querySelector("input[name=target]").checked?r.setAttribute("target","_blank"):r.removeAttribute("target")),e.options.link.noFollowCheckbox&&(s.querySelector("input[name=nofollow]").checked?r.setAttribute("rel","nofollow"):r.removeAttribute("rel")),t||e.selection.insertNode(r),i(),!1):(s.querySelector("input[name=url]").focus(),s.querySelector("input[name=url]").classList.add("jodit_error"),!1)}),s},tags:["a"],tooltip:"Insert link"},t.link=function(e){e.options.link.followOnDblClick&&e.events.on("afterInit",function(){e.events.on(e.editor,"dblclick",function(e){var t=this.getAttribute("href");t&&(location.href=t,e.preventDefault())},"a")}),e.options.link.processPastedLink&&e.events.on("processPaste",function(t,o){if(n.isURL(o)){var i=n.convertMediaURLToVideoEmbed(o);if(i!==o)return n.dom(i,e.editorDocument);var r=e.editorDocument.createElement("a");return r.setAttribute("href",o),r.innerText=o,e.options.link.openLinkDialogAfterPost&&setTimeout(function(){},100),r}}),e.options.link.removeLinkAfterFormat&&e.events.on("afterCommand",function(t){var o,i,n=e.selection;"removeFormat"===t&&((i=n.current())&&"A"!==i.nodeName&&(i=r.Dom.closest(i,"A",e.editor)),i&&"A"===i.nodeName&&(i.innerHTML===i.innerText?o=e.editorDocument.createTextNode(i.innerHTML):(o=e.editorDocument.createElement("span")).innerHTML=i.innerHTML,i.parentNode&&(i.parentNode.replaceChild(o,i),e.selection.setCursorIn(o,!0))))})}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o(1),n=o(2),r=o(0),a=o(8);i.Config.prototype.mobileTapTimeout=300,i.Config.prototype.toolbarAdaptive=!0,i.Config.prototype.controls.dots={mode:n.MODE_SOURCE+n.MODE_WYSIWYG,popup:function(e,t,o,i,n){var s=o.data;return void 0===s&&((s={container:e.ownerDocument.createElement("div"),toolbar:new a.ToolbarCollection(e),rebuild:function(){var t=e.events.fire("getDiffButtons.mobile",n.parentToolbar);t&&s&&s.toolbar.build(r.splitArray(t),s.container)}}).container.style.width="100px",o.data=s),s.rebuild(),s.container}},t.mobile=function(e){var t,o=0,i=r.splitArray(e.options.buttons);e.events.on("touchend",function(i){i.changedTouches.length&&(t=(new Date).getTime())-o>e.options.mobileTapTimeout&&(o=t,e.selection.insertCursorAtPoint(i.changedTouches[0].clientX,i.changedTouches[0].clientY))}).on("getDiffButtons.mobile",function(t){if(t===e.toolbar)return r.splitArray(e.options.buttons).filter(function(e){return 0>i.indexOf(e)})}),e.options.toolbarAdaptive&&e.events.on("resize afterInit",function(){if(e.options.toolbar){var t,o=e.container.offsetWidth;""+(t=r.splitArray(e.options.sizeLG>o?e.options.sizeMD>o?e.options.sizeSM>o?e.options.buttonsXS:e.options.buttonsSM:e.options.buttonsMD:e.options.buttons))!=""+i&&(i=t,e.toolbar.build(i.concat(e.options.extraButtons),e.container))}})}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o(3),n=o(1);n.Config.prototype.controls.ul={command:"insertUnorderedList",controlName:"ul",tags:["ul"],tooltip:"Insert Unordered List"},n.Config.prototype.controls.ol={command:"insertOrderedList",controlName:"ol",tags:["ol"],tooltip:"Insert Ordered List"},t.orderedlist=function(e){e.events.on("afterCommand",function(t){if(/insert(un)?orderedlist/i.test(t)){var o=i.Dom.up(e.selection.current(),function(e){return e&&/^UL|OL$/i.test(e.nodeName)},e.editor);if(o&&o.parentNode&&"P"===o.parentNode.nodeName){var n=e.selection.save();i.Dom.unwrap(o.parentNode),[].slice.call(o.childNodes).forEach(function(e){e.lastChild&&e.lastChild.nodeType===Node.ELEMENT_NODE&&"BR"===e.lastChild.nodeName&&e.removeChild(e.lastChild)}),e.selection.restore(n)}e.setEditorValue()}})}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o(7),n=o(0),r=o(1),a=o(2);r.Config.prototype.askBeforePasteHTML=!0,r.Config.prototype.askBeforePasteFromWord=!0,r.Config.prototype.defaultActionOnPaste=a.INSERT_AS_HTML,r.Config.prototype.controls.cut={command:"cut",isDisable:function(e){var t=e.editorWindow.getSelection();return!t||t.isCollapsed},tooltip:"Cut selection"},t.paste=function(e){var t="",o=function(e){var t=document.createElement("div");return t.innerHTML=e,t.innerText},r=function(t,o,r,a,s){if(void 0===a&&(a="Clean"),void 0===s&&(s="Insert only Text"),!e.events||!1!==e.events.fire("beforeOpenPasteDialog",t,o,r,a,s)){var l=i.Confirm('<div style="word-break: normal; white-space: normal">'+t+"</div>",o,r);l.container.setAttribute("data-editor_id",e.id);var c=n.dom('<a href="javascript:void(0)" style="float:left;" class="jodit_button"><span>'+e.i18n("Keep")+"</span></a>",l.document),d=n.dom('<a href="javascript:void(0)" style="float:left;" class="jodit_button"><span>'+e.i18n(a)+"</span></a>",l.document),u=n.dom('<a href="javascript:void(0)" style="float:left;" class="jodit_button"><span>'+e.i18n(s)+"</span></a>",l.document),p=n.dom('<a href="javascript:void(0)" style="float:right;" class="jodit_button"><span>'+e.i18n("Cancel")+"</span></a>",l.document);return e.events.on(c,"click",function(){l.close(),r&&r(!0)}),e.events.on(d,"click",function(){l.close(),r&&r(!1)}),e.events.on(u,"click",function(){l.close(),r&&r(0)}),e.events.on(p,"click",function(){l.close()}),l.setFooter([c,d,s?u:"",p]),e.events&&e.events.fire("afterOpenPasteDialog",l,t,o,r,a,s),l}},s=function(t,i){switch(i){case a.INSERT_CLEAR_HTML:t=n.cleanFromWord(t);break;case a.INSERT_ONLY_TEXT:t=o(t);break;case a.INSERT_AS_TEXT:t=n.htmlspecialchars(t)}e.selection.insertHTML(t)},l=function(o,i){if(n.isHTML(o)&&t!==c(o))return e.events.stopPropagation("beforePaste"),o=c(o),r(e.i18n("Your code is similar to HTML. Keep as HTML?"),e.i18n("Paste as HTML"),function(t){var n=a.INSERT_AS_HTML;!1===t&&(n=a.INSERT_AS_TEXT),0===t&&(n=a.INSERT_ONLY_TEXT),"drop"===i.type&&e.selection.insertCursorAtPoint(i.clientX,i.clientY),s(o,n),e.setEditorValue()},"Insert as Text"),!1},c=function(e){var t=e.search(/<!--StartFragment-->/i);-1!==t&&(e=e.substr(t+20));var o=e.search(/<!--EndFragment-->/i);return-1!==o&&(e=e.substr(0,o)),e},d=function(e){return e.clipboardData?e.clipboardData:e.dataTransfer};e.events.on("copy cut",function(i){var n=e.selection.getHTML(),r=d(i)||d(e.editorWindow)||d(i.originalEvent);r.setData(a.TEXT_PLAIN,o(n)),r.setData(a.TEXT_HTML,n),t=n,"cut"===i.type&&(e.selection.remove(),e.selection.focus()),i.preventDefault(),e.events.fire("afterCopy",n)}).on("paste",function(o){if(!1===e.events.fire("beforePaste",o))return o.preventDefault(),!1;if(o&&d(o)){var i=void 0,r=d(o).types,l="",u="";if(Array.isArray(r)||"domstringlist"===n.type(r))for(i=0;r.length>i;i+=1)l+=r[i]+";";else l=r;/text\/html/i.test(l)?u=d(o).getData("text/html"):/text\/rtf/i.test(l)&&n.browser("safari")?u=d(o).getData("text/rtf"):/text\/plain/i.test(l)&&!n.browser("mozilla")?u=d(o).getData(a.TEXT_PLAIN):/text/i.test(l)&&n.isIE&&(u=d(o).getData(a.TEXT_PLAIN)),(u instanceof e.editorWindow.Node||""!==n.trim(u))&&(u=c(u),t!==u&&(u=e.events.fire("processPaste",o,u)),("string"==typeof u||u instanceof e.editorWindow.Node)&&("drop"===o.type&&e.selection.insertCursorAtPoint(o.clientX,o.clientY),s(u,e.options.defaultActionOnPaste)),o.preventDefault(),o.stopPropagation())}return!1!==e.events.fire("afterPaste",o)&&void 0}),e.options.askBeforePasteHTML&&e.events.on("beforePaste",function(e){if(e&&d(e).getData(a.TEXT_PLAIN)){var t=d(e).getData(a.TEXT_PLAIN);return l(t,e)}}),e.options.askBeforePasteFromWord&&e.events.on("beforePaste",function(i){if(i&&d(i).getData&&d(i).getData(a.TEXT_HTML)){var s=function(a){if(n.isHTML(a)&&t!==c(a))return n.isHTMLFromWord(a)?r(e.i18n("The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?"),e.i18n("Word Paste Detected"),function(t){!0===t&&(a=n.applyStyles(a),e.options.beautifyHTML&&e.ownerWindow.html_beautify&&(a=e.ownerWindow.html_beautify(a))),!1===t&&(a=n.cleanFromWord(a)),0===t&&(a=o(n.cleanFromWord(a))),e.selection.insertHTML(a),e.setEditorValue()}):l(a,i),!1};if(d(i).types&&-1!==[].slice.call(d(i).types).indexOf("text/html")){var u=d(i).getData(a.TEXT_HTML);return s(u)}if("drop"!==i.type){var p=n.dom('<div tabindex="-1" style="left: -9999px; top: 0; width: 0; height: 100%; line-height: 140%; overflow: hidden; position: fixed; z-index: 2147483647; word-break: break-all;" contenteditable="true"></div>',e.ownerDocument);e.container.appendChild(p);var f=e.selection.save();p.focus();var h=0,g=function(){p.parentNode&&p.parentNode.removeChild(p),e.selection.restore(f)},m=function(){if(h+=1,p.childNodes&&p.childNodes.length>0){var t=p.innerHTML;g(),!1!==s(t)&&e.selection.insertHTML(t)}else 5>h?setTimeout(function(){m()},20):g()};m()}}})}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o(1),n=o(2),r=o(0);i.Config.prototype.showPlaceholder=!0,i.Config.prototype.useInputsPlaceholder=!0,i.Config.prototype.placeholder="Type something",t.placeholder=function(e){if(e.options.showPlaceholder){this.destruct=function(){i.parentNode&&i.parentNode.removeChild(i)};var t=function(){i.parentNode&&(i.style.display="none")},o=r.debounce(function(){if(null!==i.parentNode&&e.editor){if(e.getRealMode()!==n.MODE_WYSIWYG)return t();var o=e.getEditorValue();o&&!/^<(p|div|h[1-6])><\/\1>$/.test(o)?t():function(){if(i.parentNode&&!e.options.readonly){var t=0,o=0,n=e.editorWindow.getComputedStyle(e.editor);if(e.editor.firstChild&&e.editor.firstChild.nodeType===Node.ELEMENT_NODE){var a=e.editorWindow.getComputedStyle(e.editor.firstChild);t=parseInt(a.getPropertyValue("margin-top"),10),o=parseInt(a.getPropertyValue("margin-left"),10),i.style.fontSize=parseInt(a.getPropertyValue("font-size"),10)+"px",i.style.lineHeight=a.getPropertyValue("line-height")}else i.style.fontSize=parseInt(n.getPropertyValue("font-size"),10)+"px",i.style.lineHeight=n.getPropertyValue("line-height");r.css(i,{display:"block",marginTop:Math.max(parseInt(n.getPropertyValue("margin-top"),10),t),marginLeft:Math.max(parseInt(n.getPropertyValue("margin-left"),10),o)})}}()}},e.defaultTimeout/10),i=r.dom('<span style="display: none;" class="jodit_placeholder">'+e.i18n(e.options.placeholder)+"</span>",e.ownerDocument);"rtl"===e.options.direction&&(i.style.right="0px",i.style.direction="rtl"),e.options.useInputsPlaceholder&&e.element.hasAttribute("placeholder")&&(i.innerHTML=e.element.getAttribute("placeholder")||""),e.events.on("readonly",function(e){e?t():o()}).on("afterInit",function(){e.workplace.appendChild(i),o(),e.events.fire("placeholder",i.innerHTML),e.events.on("change keyup mouseup keydown mousedown afterSetMode",o).on(window,"load",o)})}}},function(e,t,o){"use strict";var i=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])};return function(t,o){function i(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(i.prototype=o.prototype,new i)}}();Object.defineProperty(t,"__esModule",{value:!0});var n=o(2),r=o(1),a=o(4);r.Config.prototype.controls.redo={mode:n.MODE_SPLIT,isDisable:function(e){return!e.observer.stack.canRedo()},tooltip:"Redo"},r.Config.prototype.controls.undo={mode:n.MODE_SPLIT,isDisable:function(e){return!e.observer.stack.canUndo()},tooltip:"Undo"},t.redoundo=function(e){function t(t){var o=e.call(this,t)||this,i=function(e){return t.getRealMode()===n.MODE_WYSIWYG&&o.jodit.observer[e](),!1};return t.registerCommand("redo",{exec:i,hotkeys:"ctrl+y,ctrl+shift+z"}),t.registerCommand("undo",{exec:i,hotkeys:"ctrl+z"}),o}return i(t,e),t}(a.Component)},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o(1),n=o(2),r=o(0);i.Config.prototype.useIframeResizer=!0,i.Config.prototype.useTableResizer=!0,i.Config.prototype.useImageResizer=!0,i.Config.prototype.resizer={showSize:!0,hideSizeTimeout:1e3,min_width:10,min_height:10},t.resizer=function(e){var t,o,i,a,s,l,c,d,u,p,f,h=!1,g=!1,m=!1,v=0,b=r.dom('<div data-editor_id="'+e.id+'" style="display:none" class="jodit_resizer"><i class="jodit_resizer-topleft"></i><i class="jodit_resizer-topright"></i><i class="jodit_resizer-bottomright"></i><i class="jodit_resizer-bottomleft"></i><span>100x100</span></div>',e.ownerDocument),y=b.getElementsByTagName("span")[0],_=function(){g=!1,m=!1,o=null,b.style.display="none"},w=function(){y.style.opacity="0"},x=function(){if(m&&o&&b){var t=r.offset(b.parentNode||e.ownerDocument.documentElement,e,e.ownerDocument,!0),i=r.offset(o,e,e.editorDocument),n=parseInt(b.style.left||"0",10),a=parseInt(b.style.top||"0",10),s=b.offsetWidth,l=b.offsetHeight,c=i.top-1-t.top,d=i.left-1-t.left;a===c&&n===d&&s===o.offsetWidth&&l===o.offsetHeight||(b.style.top=c+"px",b.style.left=d+"px",b.style.width=o.offsetWidth+"px",b.style.height=o.offsetHeight+"px",e.events&&(e.events.fire(o,"changesize"),isNaN(n)||e.events.fire("resize")))}},j=function(t){var i,n;if("IFRAME"===t.tagName)if(t.parentNode&&t.parentNode.getAttribute("data-jodit_iframe_wrapper"))t=t.parentNode;else{(i=r.dom('<jodit data-jodit-temp="1" contenteditable="false" draggable="true" data-jodit_iframe_wrapper="1"></jodit>',e.editorDocument)).style.display="inline-block"===t.style.display?"inline-block":"block",i.style.width=t.offsetWidth+"px",i.style.height=t.offsetHeight+"px",t.parentNode&&t.parentNode.insertBefore(i,t),i.appendChild(t);var a=t;e.events.on(i,"changesize",function(){a.setAttribute("width",i.offsetWidth+"px"),a.setAttribute("height",i.offsetHeight+"px")}),t=i}e.events.on(t,"dragstart",_).on(t,"mousedown",function(e){r.isIE()&&"IMG"===t.nodeName&&e.preventDefault()}).on(t,"mousedown touchstart",function(){h||(h=!0,o=t,e.options.readonly||(b.parentNode||e.workplace.appendChild(b),m=!0,b.style.display="block",e.isFullSize()&&(b.style.zIndex=""+r.css(e.container,"zIndex")),x()),"IMG"!==o.tagName||o.complete||o.addEventListener("load",function e(){x(),o&&o.removeEventListener("load",e)}),clearTimeout(n)),n=window.setTimeout(function(){h=!1},400)})};r.$$("i",b).forEach(function(n){e.events.on(n,"mousedown touchstart",function(r){if(!o||!o.parentNode)return _(),!1;t=n,r.preventDefault(),r.stopImmediatePropagation(),s=o.offsetWidth,l=o.offsetHeight,c=s/l,g=!0,i=r.clientX,a=r.clientY,e.events.fire("hidePopup"),e.lock("resizer")})}),e.events.on("readonly",function(e){e&&_()}).on("beforeDestruct",function(){b.parentNode&&b.parentNode.removeChild(b)}).on("afterInit",function(){e.events.on(e.editor,"keydown",function(t){m&&t.which===n.KEY_DELETE&&o&&"table"!==o.tagName.toLowerCase()&&("JODIT"!==o.tagName?e.selection.select(o):(o.parentNode&&o.parentNode.removeChild(o),_(),t.preventDefault()))}).on(e.ownerWindow,"mousemove touchmove",function(n){if(g){if(p=n.clientX-i,f=n.clientY-a,!o)return;var h=t.className;"IMG"===o.tagName?(p?(u=s+(h.match(/left/)?-1:1)*p,d=Math.round(u/c)):(d=l+(h.match(/top/)?-1:1)*f,u=Math.round(d*c)),u>r.innerWidth(e.editor,e.ownerWindow)&&(u=r.innerWidth(e.editor,e.ownerWindow),d=Math.round(u/c))):(u=s+(h.match(/left/)?-1:1)*p,d=l+(h.match(/top/)?-1:1)*f),u>e.options.resizer.min_width&&(o.style.width=b.parentNode.offsetWidth>u?u+"px":"100%"),d>e.options.resizer.min_height&&(o.style.height=d+"px"),x(),function(t,o){if(e.options.resizer.showSize){if(y.offsetWidth>t||y.offsetHeight>o)return void w();y.style.opacity="1",y.innerHTML=t+" x "+o,window.clearTimeout(v),v=window.setTimeout(w,e.options.resizer.hideSizeTimeout)}}(o.offsetWidth,o.offsetHeight),n.stopImmediatePropagation()}}).on(e.ownerWindow,"resize",function(){m&&x()}).on(e.ownerWindow,"mouseup keydown touchend",function(t){m&&!h&&(g?(e.unlock(),g=!1,e.setEditorValue(),t.stopImmediatePropagation()):_())}).on([e.ownerWindow,e.editor],"scroll",function(){m&&!g&&_()})}).on("afterGetValueFromEditor",function(e){e.value=e.value.replace(/<jodit[^>]+data-jodit_iframe_wrapper[^>]+>(.*?<iframe[^>]+>[\s\n\r]*<\/iframe>.*?)<\/jodit>/gi,"$1")}).on("change afterInit afterSetMode",r.debounce(function(){m&&(o&&o.parentNode?x():_()),e.isDestructed||r.$$("img, table, iframe",e.editor).forEach(function(t){e.getMode()!==n.MODE_SOURCE&&!t.__jodit_resizer_binded&&("IFRAME"===t.tagName&&e.options.useIframeResizer||"IMG"===t.tagName&&e.options.useImageResizer||"TABLE"===t.tagName&&e.options.useTableResizer)&&(t.__jodit_resizer_binded=!0,j(t))})},e.defaultTimeout))}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o(0),n=o(1);n.Config.prototype.allowResizeX=!1,n.Config.prototype.allowResizeY=!0,t.size=function(e){var t=function(t){i.css(e.container,"height",t),e.options.saveHeightInStorage&&e.storage.set("height",t)},o=function(t){return i.css(e.container,"width",t)},n=function(t){return i.css(e.workplace,"height",t)};if("auto"!==e.options.height&&(e.options.allowResizeX||e.options.allowResizeY)){var r=i.dom('<div class="jodit_editor_resize" ><a href="javascript:void(0)"></a></div>',e.ownerDocument),a={x:0,y:0,w:0,h:0},s=!1;e.events.on(r,"mousedown touchstart",function(t){s=!0,a.x=t.clientX,a.y=t.clientY,a.w=e.container.offsetWidth,a.h=e.container.offsetHeight,e.lock(),t.preventDefault()}).on(e.ownerWindow,"mousemove touchmove",i.throttle(function(i){s&&(t(e.options.allowResizeY?a.h+i.clientY-a.y:a.h),o(e.options.allowResizeX?a.w+i.clientX-a.x:a.w),d(),e.events.fire("resize"))},e.defaultTimeout/10)).on(e.ownerWindow,"mouseup touchsend",function(){s&&(s=!1,e.unlock())}).on("afterInit",function(){e.container.appendChild(r)}).on("toggleFullSize",function(e){r.style.display=e?"none":"block"})}var l=function(){return(e.options.toolbar?e.toolbar.container.offsetHeight:0)+(e.statusbar?e.statusbar.container.offsetHeight:0)},c=function(){if(e.container&&e.container.parentNode){var t=i.css(e.container,"minHeight")-l();[e.workplace,e.iframe,e.editor].map(function(o){var n=o===e.editor?t-2:t;o&&i.css(o,"minHeight",n),e.events.fire("setMinHeight",n)})}},d=function(){e.options.inline||(c(),e.container&&("auto"!==e.options.height||e.isFullSize())&&n(e.container.offsetHeight-l()))},u=i.debounce(d,e.defaultTimeout);e.events.on("toggleFullSize",function(t){t||"auto"!==e.options.height||(n("auto"),c())}).on("afterInit",function(){e.options.inline||(i.css(e.editor,{minHeight:"100%"}),i.css(e.container,{minHeight:e.options.minHeight,minWidth:e.options.minWidth,maxWidth:e.options.maxWidth}));var n=e.options.height;if(e.options.saveHeightInStorage&&"auto"!==n){var r=e.storage.get("height");r&&(n=r)}e.options.inline||(t(n),o(e.options.width)),d()},void 0,void 0,!0).on(window,"load",u).on("afterInit resize updateToolbar scroll afterResize",u)}},function(e,t,o){"use strict";var i=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])};return function(t,o){function i(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(i.prototype=o.prototype,new i)}}();Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),r=o(2),a=o(0),s=o(4),l=o(2);n.Config.prototype.beautifyHTML=!0,n.Config.prototype.useAceEditor=!0,n.Config.prototype.sourceEditorNativeOptions={showGutter:!0,theme:"ace/theme/idle_fingers",mode:"ace/mode/html",wrap:!0,highlightActiveLine:!0},n.Config.prototype.sourceEditorCDNUrlsJS=["https://cdnjs.cloudflare.com/ajax/libs/ace/1.3.3/ace.js"],n.Config.prototype.beautifyHTMLCDNUrlsJS=["https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.7.5/beautify.min.js","https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.7.5/beautify-html.min.js"],n.Config.prototype.controls.source={mode:r.MODE_SPLIT,exec:function(e){e.toggleMode()},isActive:function(e){return e.getRealMode()===r.MODE_SOURCE},tooltip:"Change mode"},t.source=function(e){function t(t){var o=e.call(this,t)||this;return o.className="jodit_ace_editor",o.loadNext=function(e,t,i,n){if(void 0===i&&(i="aceReady"),void 0===n&&(n=o.className),i&&void 0===t[e]&&o.jodit&&o.jodit.events)return o.jodit.events&&o.jodit.events.fire(i),void(o.jodit.events&&o.jodit.events.fire(o.jodit.ownerWindow,i));void 0!==t[e]&&a.appendScript(t[e],function(){o.loadNext(e+1,t,i,n)},n,o.jodit.ownerDocument)},o.insertHTML=function(e){if(o.mirror.selectionStart||0===o.mirror.selectionStart){var t=o.mirror.selectionStart,i=o.mirror.selectionEnd;o.mirror.value=o.mirror.value.substring(0,t)+e+o.mirror.value.substring(i,o.mirror.value.length)}else o.mirror.value+=o.mirror;o.toWYSIWYG()},o.__lock=!1,o.__oldMirrorValue="",o.fromWYSIWYG=function(e){if(void 0===e&&(e=!1),!o.__lock||!0===e){o.__lock=!0;var t=o.jodit.getEditorValue(!1);t!==o.getMirrorValue()&&o.setMirrorValue(t),o.__lock=!1}},o.toWYSIWYG=function(){if(!o.__lock){var e=o.getMirrorValue();e!==o.__oldMirrorValue&&(o.__lock=!0,o.jodit.setEditorValue(e),o.__lock=!1,o.__oldMirrorValue=e)}},o.autosize=a.debounce(function(){o.mirror.style.height="auto",o.mirror.style.height=o.mirror.scrollHeight+"px"},o.jodit.defaultTimeout),o.getNormalPosition=function(e,t){for(var o=e;o>0;){if("<"===t[--o]&&void 0!==t[o+1]&&t[o+1].match(/[\w\/]+/i))return o;if(">"===t[o])return e}return e},o.tempMarkerStart="{start-jodit-selection}",o.tempMarkerStartReg=/{start-jodit-selection}/g,o.tempMarkerEnd="{end-jodit-selection}",o.tempMarkerEndReg=/{end-jodit-selection}/g,o.__clear=function(e){return e.replace(r.INVISIBLE_SPACE_REG_EXP,"")},o.selInfo=[],o.selectAll=function(){o.mirror.select()},o.onSelectAll=function(e){if("selectall"===e.toLowerCase()&&o.jodit.getRealMode()===l.MODE_SOURCE)return o.selectAll(),!1},o.getSelectionStart=function(){return o.mirror.selectionStart},o.getSelectionEnd=function(){return o.mirror.selectionEnd},o.setMirrorSelectionRange=function(e,t){o.mirror.setSelectionRange(e,t)},o.saveSelection=function(){if(o.jodit.getRealMode()===r.MODE_WYSIWYG)o.selInfo=o.jodit.selection.save()||[],o.jodit.setEditorValue(),o.fromWYSIWYG(!0);else{o.selInfo.length=0;var e=o.getMirrorValue();if(o.getSelectionStart()===o.getSelectionEnd()){var t=o.jodit.selection.marker(!0);o.selInfo[0]={startId:t.id,collapsed:!0,startMarker:t.outerHTML};var i=o.getNormalPosition(o.getSelectionStart(),o.getMirrorValue());o.setMirrorValue(e.substr(0,i)+o.__clear(o.selInfo[0].startMarker)+e.substr(i))}else{var n=o.jodit.selection.marker(!0),a=o.jodit.selection.marker(!1);o.selInfo[0]={startId:n.id,endId:a.id,collapsed:!1,startMarker:o.__clear(n.outerHTML),endMarker:o.__clear(a.outerHTML)};i=o.getNormalPosition(o.getSelectionStart(),e);var s=o.getNormalPosition(o.getSelectionEnd(),e);o.setMirrorValue(e.substr(0,i)+o.selInfo[0].startMarker+e.substr(i,s-i)+o.selInfo[0].endMarker+e.substr(s))}o.toWYSIWYG()}},o.restoreSelection=function(){if(o.selInfo.length){if(o.jodit.getRealMode()===r.MODE_WYSIWYG)return o.__lock=!0,o.jodit.selection.restore(o.selInfo),void(o.__lock=!1);var e=o.getMirrorValue(),t=0,i=0;try{o.selInfo[0].startMarker&&(e=e.replace(/<span[^>]+data-jodit_selection_marker="start"[^>]*>[<>]*?<\/span>/gim,o.tempMarkerStart)),o.selInfo[0].endMarker&&(e=e.replace(/<span[^>]+data-jodit_selection_marker="end"[^>]*>[<>]*?<\/span>/gim,o.tempMarkerEnd)),o.jodit.ownerWindow.html_beautify&&o.jodit.options.beautifyHTML&&(e=o.jodit.ownerWindow.html_beautify(e)),i=t=e.indexOf(o.tempMarkerStart),e=e.replace(o.tempMarkerStartReg,""),o.selInfo[0].collapsed&&-1!==t||(i=e.indexOf(o.tempMarkerEnd),-1===t&&(t=i)),e=e.replace(o.tempMarkerEndReg,"")}finally{e=e.replace(o.tempMarkerEndReg,"").replace(o.tempMarkerStartReg,"")}o.setMirrorValue(e),o.setMirrorSelectionRange(t,i),o.toWYSIWYG(),o.setFocusToMirror()}},o.mirrorContainer=a.dom('<div class="jodit_source"/>',o.jodit.ownerDocument),o.mirror=a.dom('<textarea class="jodit_source_mirror"/>',o.jodit.ownerDocument),t.events.on(o.mirror,"mousedown keydown touchstart input",a.debounce(o.toWYSIWYG,t.defaultTimeout)).on(o.mirror,"change keydown mousedown touchstart input",o.autosize).on("afterSetMode",o.autosize).on(o.mirror,"mousedown focus",function(e){t.events.fire(e.type,e)}),t.events.on("setMinHeight",function(e){o.mirror&&a.css(o.mirror,"minHeight",e)}).on("insertHTML",function(e){if(!t.options.readonly&&!o.jodit.isEditorMode())return o.insertHTML(e),!1}).on("aceInited",function(){t.options.readonly&&o.aceEditor&&o.aceEditor.setReadOnly(!0)},void 0,void 0,!0).on("readonly",function(e){e?o.mirror.setAttribute("readonly","true"):o.mirror.removeAttribute("readonly"),o.aceEditor&&o.aceEditor.setReadOnly(e)}).on("placeholder",function(e){o.mirror.setAttribute("placeholder",e)}).on("afterInit aceInited",function(){t.events.on("beforeSetMode",o.saveSelection).on("afterSetMode",o.restoreSelection)}).on("afterInit",function(){o.mirrorContainer.appendChild(o.mirror),t.workplace.appendChild(o.mirrorContainer),o.autosize(),t.options.beautifyHTML&&void 0===t.ownerWindow.html_beautify&&!a.$$("script.beutyfy_html_jodit_helper",t.ownerDocument.body).length&&o.loadNext(0,t.options.beautifyHTMLCDNUrlsJS,!1,"beutyfy_html_jodit_helper"),t.options.useAceEditor&&o.replaceMirrorToACE()}).on("beforeCommand",o.onSelectAll).on("change afterInit",o.fromWYSIWYG),o}return i(t,e),t.prototype.getMirrorValue=function(){return this.mirror.value},t.prototype.setMirrorValue=function(e){this.mirror.value=e},t.prototype.setFocusToMirror=function(){this.mirror.focus()},t.prototype.replaceMirrorToACE=function(){var e,t,o=this,i=this.jodit,n=function(){t&&i.getRealMode()===r.MODE_SOURCE&&(i.events.fire("canRedo",t.hasRedo()),i.events.fire("canUndo",t.hasUndo()))},s=function(t){return e.session.getLine(t).length},l=function(){for(var t=e.session.getLength(),o=[],i=0,n=0;t>n;n++)i+=s(n),n>0&&(i+=1),o[n]=i;return o},c=function(e){var t=l();if(t[0]>=e)return{row:0,column:e};for(var o=1,i=1;t.length>i;i++)e>t[i]&&(o=i+1);return{row:o,column:e-t[o-1]-1}},d=function(t,o){var i=c(t),n=c(o);e.getSelection().setSelectionRange({start:i,end:n})},u=function(e,t){return l()[e]-s(e)+t},p=function(){if(void 0===e&&void 0!==o.jodit.ownerWindow.ace){var s=a.dom('<div class="jodit_source_mirror-fake"/>',o.jodit.ownerDocument);o.mirrorContainer.insertBefore(s,o.mirrorContainer.firstChild),o.aceEditor=e=o.jodit.ownerWindow.ace.edit(s),e.setTheme(i.options.sourceEditorNativeOptions.theme),e.renderer.setShowGutter(i.options.sourceEditorNativeOptions.showGutter),e.getSession().setMode(i.options.sourceEditorNativeOptions.mode),e.setHighlightActiveLine(i.options.sourceEditorNativeOptions.highlightActiveLine),e.getSession().setUseWrapMode(!0),e.setOption("indentedSoftWrap",!1),e.setOption("wrap",i.options.sourceEditorNativeOptions.wrap),e.getSession().setUseWorker(!1),e.$blockScrolling=1/0,e.setOptions({maxLines:1/0}),e.on("change",o.toWYSIWYG),e.on("focus",function(e){i.events.fire("focus",e)}),e.on("mousedown",function(e){i.events.fire("mousedown",e)}),o.mirror.style.display="none",t=e.getSession().getUndoManager(),o.setMirrorValue=function(t){e.setValue(i.options.beautifyHTML&&i.ownerWindow.html_beautify?i.ownerWindow.html_beautify(t):t),e.clearSelection(),n()},o.jodit.getRealMode()!==r.MODE_WYSIWYG&&o.setMirrorValue(o.getMirrorValue()),o.getMirrorValue=function(){return e.getValue()},o.setFocusToMirror=function(){e.focus()},o.getSelectionStart=function(){var t=e.selection.getRange();return u(t.start.row,t.start.column)},o.getSelectionEnd=function(){var t=e.selection.getRange();return u(t.end.row,t.end.column)},o.selectAll=function(){e.selection.selectAll()},o.insertHTML=function(t){var o=e.selection.getCursor(),i=e.session.insert(o,t);e.selection.setRange({start:o,end:i},!1)},o.setMirrorSelectionRange=function(e,t){d(e,t)},i.events.on("afterResize",function(){e.resize()}).fire("aceInited",i)}};i.events.on(this.jodit.ownerWindow,"aceReady",p).on("aceReady",p).on("afterSetMode",function(){i.getRealMode()!==r.MODE_SOURCE&&i.getMode()!==r.MODE_SPLIT||(o.fromWYSIWYG(),p())}).on("beforeCommand",function(o){if(i.getRealMode()!==r.MODE_WYSIWYG&&("redo"===o||"undo"===o)&&t)return t["has"+o.substr(0,1).toUpperCase()+o.substr(1)]&&e[o](),n(),!1}),p(),void 0!==this.jodit.ownerWindow.ace||a.$$("script."+this.className,this.jodit.ownerDocument.body).length||this.loadNext(0,i.options.sourceEditorCDNUrlsJS,"aceReady",this.className)},t}(s.Component)},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o(1),n=o(7),r=o(0),a=o(2);i.Config.prototype.usePopupForSpecialCharacters=!1,i.Config.prototype.specialCharacters=["!",""","#","$","%","&","'","(",")","*","+","-",".","/","0","1","2","3","4","5","6","7","8","9",":",";","<","=",">","?","@","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","[","]","^","_","`","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","{","|","}","~","€","‘","’","“","”","–","—","¡","¢","£","¤","¥","¦","§","¨","©","ª","«","»","¬","®","¯","°","²","³","´","µ","¶","·","¸","¹","º","¼","½","¾","¿","À","Á","Â","Ã","Ä","Å","Æ","Ç","È","É","Ê","Ë","Ì","Í","Î","Ï","Ð","Ñ","Ò","Ó","Ô","Õ","Ö","×","Ø","Ù","Ú","Û","Ü","Ý","Þ","ß","à","á","â","ã","ä","å","æ","ç","è","é","ê","ë","ì","í","î","ï","ð","ñ","ò","ó","ô","õ","ö","÷","ø","ù","ú","û","ü","ý","þ","ÿ","Œ","œ","Ŵ","Ŷ","ŵ","ŷ","‚","‛","„","…","™","►","•","→","⇒","⇔","♦","≈"],i.Config.prototype.controls.symbol={icon:"omega",hotkeys:"ctrl+shift+i",tooltip:"Insert Special Character",popup:function(e,t,o,i){var r=e.events.fire("generateSpecialCharactersTable.symbols");if(r){if(e.options.usePopupForSpecialCharacters){var a=e.ownerDocument.createElement("div");return a.classList.add("jodit_symbols"),a.appendChild(r),e.events.on(r,"close_dialog",i),a}var s=n.Alert(r,e.i18n("Select Special Character"),void 0,"jodit_symbols"),l=r.querySelector("a");l&&l.focus(),e.events.on("beforeDestruct",function(){s&&s.close()})}}},t.symbols=function(){return function(e){var t=this;this.countInRow=17,e.events.on("generateSpecialCharactersTable.symbols",function(){for(var o=r.dom('<div class="jodit_symbols-container"><div class="jodit_symbols-container_table"><table><tbody></tbody></table></div><div class="jodit_symbols-container_preview"><div class="jodit_symbols-preview"></div></div></div>',e.ownerDocument),i=o.querySelector(".jodit_symbols-preview"),n=o.querySelector("table").tBodies[0],s=[],l=0;e.options.specialCharacters.length>l;){for(var c=e.ownerDocument.createElement("tr"),d=0;t.countInRow>d&&e.options.specialCharacters.length>l;d+=1,l+=1){var u=e.ownerDocument.createElement("td"),p=r.dom('<a data-index="'+l+'" data-index-j="'+d+'" href="javascript:void(0)" role="option" tabindex="-1">'+e.options.specialCharacters[l]+"</a>",e.ownerDocument);s.push(p),u.appendChild(p),c.appendChild(u)}n.appendChild(c)}var f=t;return e.events.on(s,"focus",function(){i.innerHTML=this.innerHTML}).on(s,"mousedown",function(t){this&&"A"===this.nodeName&&(e.selection.focus(),e.selection.insertHTML(this.innerHTML),e.events.fire(this,"close_dialog"),t&&t.preventDefault(),t&&t.stopImmediatePropagation())}).on(s,"mouseenter",function(){this&&"A"===this.nodeName&&this.focus()}).on(s,"keydown",function(t){var o=t.target;if(o&&"A"===o.nodeName){var i=parseInt(o.getAttribute("data-index")||"0",0),n=parseInt(o.getAttribute("data-index-j")||"0",0),r=void 0;switch(t.which){case a.KEY_UP:case a.KEY_DOWN:r=t.which===a.KEY_UP?i-f.countInRow:i+f.countInRow,void 0===s[r]&&(r=t.which===a.KEY_UP?Math.floor(s.length/f.countInRow)*f.countInRow+n:n)>s.length-1&&(r-=f.countInRow),s[r]&&s[r].focus();break;case a.KEY_RIGHT:case a.KEY_LEFT:r=t.which===a.KEY_LEFT?i-1:i+1,void 0===s[r]&&(r=t.which===a.KEY_LEFT?s.length-1:0),s[r]&&s[r].focus();break;case a.KEY_ENTER:e.events.fire(o,"mousedown"),t.stopImmediatePropagation(),t.preventDefault()}}}),o})}}()},function(e,t,o){"use strict";var i=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])};return function(t,o){function i(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(i.prototype=o.prototype,new i)}}();Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),r=o(4),a=o(0);n.Config.prototype.commandToHotkeys={removeFormat:"ctrl+shift+m",insertOrderedList:"ctrl+shift+7",insertUnorderedList:"ctrl+shift+8",selectall:"ctrl+a"},t.hotkeys=function(e){function t(t){var o=e.call(this,t)||this;return o.specialKeys={8:"backspace",9:"tab",10:"return",13:"return",16:"shift",17:"ctrl",18:"alt",19:"pause",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"insert",46:"del",59:";",61:"=",96:"0",97:"1",98:"2",99:"3",100:"4",101:"5",102:"6",103:"7",104:"8",105:"9",106:"*",107:"+",109:"-",110:".",111:"/",112:"f1",113:"f2",114:"f3",115:"f4",116:"f5",117:"f6",118:"f7",119:"f8",120:"f9",121:"f10",122:"f11",123:"f12",144:"numlock",145:"scroll",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},o.shiftNums={"`":"~",1:"!",2:"@",3:"#",4:"$",5:"%",6:"^",7:"&",8:"*",9:"(",0:")","-":"_","=":"+",";":": ","'":'"',",":"<",".":">","/":"?","\\":"|"},o.possible={},o.onKeyPress=function(e){var t="keypress"!==e.type&&o.specialKeys[e.which],i=String.fromCharCode(e.which).toLowerCase(),n="";e.metaKey&&!e.ctrlKey&&(n+="ctrl+"),["alt","ctrl","shift"].forEach(function(o){e[o+"Key"]&&t!==o&&(n+=o+"+")}),e.metaKey&&n.indexOf("alt+ctrl+shift+")>-1&&(n=n.replace("alt+ctrl+shift+","hyper+")),t?o.possible[n+t]=!0:(o.possible[n+i]=!0,o.shiftNums[i]&&(o.possible[n+o.shiftNums[i]]=!0),"shift+"===n&&(o.possible[o.shiftNums[i]]=!0))},Object.keys(t.options.commandToHotkeys).forEach(function(e){var o=t.options.commandToHotkeys[e];o&&t.events.off(a.asArray(o).map(function(e){return e+".hotkey"}).join(" ")).on(a.asArray(o).map(function(e){return e+".hotkey"}).join(" "),function(){return t.execCommand(e)})}),t.events.on("afterInit",function(){var e=function(e){var t=!0;if(Object.keys(o.possible).forEach(function(i){!1===o.jodit.events.fire(i,e.type)&&(t=!1)}),!t)return!1},i=!1,n=o;t.events.on("keydown",function(o){if(n.possible={},n.onKeyPress(o),!1===e(o))return i=!0,t.events.stopPropagation("keydown"),!1},void 0,void 0,!0).on("keyup",function(){if(i)return i=!1,t.events.stopPropagation("keyup"),!1},void 0,void 0,!0)}),o}return i(t,e),t}(r.Component)},function(e,t,o){"use strict";var i=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])};return function(t,o){function i(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(i.prototype=o.prototype,new i)}}();Object.defineProperty(t,"__esModule",{value:!0});var n=o(2),r=o(0),a=o(1),s=o(16);a.Config.prototype.useTableProcessor=!0,a.Config.prototype.useExtraClassesOptions=!0,a.Config.prototype.controls.table={data:{cols:10,rows:10,classList:{"table table-bordered":"Bootstrap Bordered","table table-striped":"Bootstrap Striped","table table-dark":"Bootstrap Dark"}},popup:function(e,t,o,i,n){var a,l,c,d,u=1,p=1,f=o.data&&o.data.rows?o.data.rows:10,h=o.data&&o.data.cols?o.data.cols:10,g=r.dom('<form class="jodit_form jodit_form_inserter"><label><span>1</span> × <span>1</span></label><div class="jodit_form-table-creator-box"><div class="jodit_form-container"></div><div class="jodit_form-options">'+function(){if(!e.options.useExtraClassesOptions)return"";var t=[];if(o.data){var i=o.data.classList;Object.keys(i).forEach(function(e){t.push('<label><input value="'+e+'" type="checkbox"/>'+i[e]+"</label>")})}return t.join("")}()+"</div></div></form>",e.ownerDocument),m=g.querySelectorAll("span")[0],v=g.querySelectorAll("span")[1],b=g.querySelector(".jodit_form-container"),y=g.querySelector(".jodit_form-table-creator-box"),_=g.querySelector(".jodit_form-options"),w=[];return b.addEventListener("mousemove",function(e,t){var o=e.target;if(o&&"DIV"===o.tagName){for(c=void 0===t||isNaN(t)?parseInt(o.getAttribute("data-index")||"0",10):t||0,u=Math.ceil((c+1)/h),p=c%h+1,a=0;w.length>a;a+=1)w[a].className=a%h+1>p||u<Math.ceil((a+1)/h)?"":"hovered";v.innerText=""+p,m.innerText=""+u}}),e.events.on(b,"touchstart mousedown",function(t){var o=t.target,n=e.editorDocument;if(t.preventDefault(),t.stopImmediatePropagation(),"DIV"===o.tagName){c=parseInt(o.getAttribute("data-index")||"0",10),u=Math.ceil((c+1)/h),p=c%h+1;var d=n.createElement("table");d.style.width="100%";var f,g,m,v=null;for(a=1;u>=a;a+=1){for(f=n.createElement("tr"),l=1;p>=l;l+=1)g=n.createElement("td"),v||(v=g),m=n.createElement("br"),g.appendChild(m),f.appendChild(n.createTextNode("\n")),f.appendChild(n.createTextNode("\t")),f.appendChild(g);d.appendChild(n.createTextNode("\n")),d.appendChild(f)}var b=e.selection.current();if(b&&e.selection.isCollapsed()){var y=s.Dom.closest(b,s.Dom.isBlock,e.editor);y&&y!==e.editor&&!y.nodeName.match(/^TD|TH|TBODY|TABLE|THEADER|TFOOTER$/)&&e.selection.setCursorAfter(y)}r.$$("input[type=checkbox]:checked",_).forEach(function(e){e.value.split(/[\s]+/).forEach(function(e){d.classList.add(e)})}),e.selection.insertNode(n.createTextNode("\n")),e.selection.insertNode(d,!1),v&&(e.selection.setCursorIn(v),r.scrollIntoView(v,e.editor,e.editorDocument)),i()}}).off(n.parentToolbar,"afterOpenPopup.tableGenerator").on(n.parentToolbar,"afterOpenPopup.tableGenerator",function(){(function(t){var o=t*h;if(w.length>o){for(a=o;w.length>a;a+=1)b.removeChild(w[a]),delete w[a];w.length=o}for(a=0;o>a;a+=1)w[a]||((d=e.ownerDocument.createElement("div")).setAttribute("data-index",""+a),w.push(d));w.forEach(function(e){b.appendChild(e)});var i=(w[0].offsetWidth||18)*h;b.style.width=i+"px",y.style.width=i+_.offsetWidth+1+"px"})(f),w[0]&&(w[0].className="hovered")},"",!0),g},tooltip:"Insert table"},t.TableProcessor=function(e){function t(o){var i=e.call(this,o)||this;return i.__key="table_processor_observer",i.__selectMode=!1,i.__resizerDelta=0,i.__drag=!1,i.__addResizer=function(){if(!i.__resizerHandler&&!(i.__resizerHandler=i.jodit.container.querySelector(".jodit_table_resizer"))){i.__resizerHandler=r.dom('<div class="jodit_table_resizer"></div>',i.jodit.ownerDocument);var e=0;i.jodit.events.on(i.__resizerHandler,"mousedown touchstart",function(t){i.__drag=!0,e=t.clientX,i.jodit.lock(i.__key),i.__resizerHandler.classList.add("jodit_table_resizer-moved");var o,r=i.__workTable.getBoundingClientRect();if(i.__minX=0,i.__maxX=1e6,null!==i.__wholeTable)r=i.__workTable.parentNode.getBoundingClientRect(),i.__minX=r.left,i.__maxX=r.left+r.width;else{var a=s.Table.formalCoordinate(i.__workTable,i.__workCell,!0);s.Table.formalMatrix(i.__workTable,function(e,t,r){a[1]===r&&(o=e.getBoundingClientRect(),i.__minX=Math.max(o.left+n.NEARBY/2,i.__minX)),a[1]+1===r&&(o=e.getBoundingClientRect(),i.__maxX=Math.min(o.left+o.width-n.NEARBY/2,i.__maxX))})}return!1}).on(i.jodit.ownerWindow,"mousemove touchmoove",function(t){if(i.__drag){var o=t.clientX;i.__minX>o&&(o=i.__minX),o>i.__maxX&&(o=i.__maxX),i.__resizerDelta=o-e,i.__resizerHandler.style.left=o+"px",i.jodit.editorWindow.getSelection().removeAllRanges(),t.preventDefault&&t.preventDefault()}}),i.jodit.container.appendChild(i.__resizerHandler)}},i.onExecCommand=function(e){if(/table(splitv|splitg|merge|empty|bin|binrow|bincolumn|addcolumn|addrow)/.test(e)){e=e.replace("table","");var t=s.Table.getAllSelectedCells(i.jodit.editor);if(t.length){var o=t.shift();if(!o)return;var n=s.Dom.closest(o,"table",i.jodit.editor);switch(e){case"splitv":s.Table.splitVertical(n);break;case"splitg":s.Table.splitHorizontal(n);break;case"merge":s.Table.mergeSelected(n);break;case"empty":s.Table.getAllSelectedCells(i.jodit.editor).forEach(function(e){return e.innerHTML=""});break;case"bin":n.parentNode&&n.parentNode.removeChild(n);break;case"binrow":s.Table.removeRow(n,o.parentNode.rowIndex);break;case"bincolumn":s.Table.removeColumn(n,o.cellIndex);break;case"addcolumnafter":case"addcolumnbefore":s.Table.appendColumn(n,o.cellIndex,"addcolumnafter"===e);break;case"addrowafter":case"addrowbefore":s.Table.appendRow(n,o.parentNode,"addrowafter"===e)}}return!1}},o.options.useTableProcessor?(o.events.on(i.jodit.ownerWindow,"mouseup touchend",function(){if((i.__selectMode||i.__drag)&&(i.__selectMode=!1,i.jodit.unlock()),i.__resizerHandler&&i.__drag){if(i.__drag=!1,i.__resizerHandler.classList.remove("jodit_table_resizer-moved"),null===i.__wholeTable){var e=[];s.Table.setColumnWidthByDelta(i.__workTable,s.Table.formalCoordinate(i.__workTable,i.__workCell,!0)[1],i.__resizerDelta,!0,e);var n=s.Dom.next(i.__workCell,t.isCell,i.__workCell.parentNode);s.Table.setColumnWidthByDelta(i.__workTable,s.Table.formalCoordinate(i.__workTable,n)[1],-i.__resizerDelta,!1,e)}else{var a=i.__workTable.offsetWidth,l=r.getContentWidth(i.__workTable.parentNode,i.jodit.editorWindow);if(i.__wholeTable){var c=parseInt(i.jodit.editorWindow.getComputedStyle(i.__workTable).marginLeft||"0",10);i.__workTable.style.width=(a-i.__resizerDelta)/l*100+"%",i.__workTable.style.marginLeft=(c+i.__resizerDelta)/l*100+"%"}else i.__workTable.style.width=(a+i.__resizerDelta)/l*100+"%"}o.setEditorValue(),o.selection.focus()}}).on(i.jodit.ownerWindow,"scroll",function(){if(i.__drag){var e=s.Dom.up(i.__workCell,function(e){return e&&"TABLE"===e.nodeName},o.editor);if(e){var t=e.getBoundingClientRect();i.__resizerHandler.style.top=t.top+"px"}}}).on(i.jodit.ownerWindow,"mousedown touchend",function(e){var t=s.Dom.closest(e.originalEvent.target,"TD|TH",i.jodit.editor),o=null;t instanceof i.jodit.editorWindow.HTMLTableCellElement&&(o=s.Dom.closest(t,"table",i.jodit.editor)),o?i.__deSelectAll(o,t instanceof i.jodit.editorWindow.HTMLTableCellElement&&t):i.__deSelectAll()}).on("afterGetValueFromEditor",function(e){e.value=e.value.replace(RegExp("([s]*)"+n.JODIT_SELECTED_CELL_MARKER+'="1"',"g"),"")}).on("change afterCommand afterSetMode",function(){r.$$("table",o.editor).forEach(function(e){e[i.__key]||i.observe(e)})}).on("beforeSetMode",function(){s.Table.getAllSelectedCells(o.editor).forEach(function(e){s.Table.restoreSelection(e),s.Table.normalizeTable(s.Dom.closest(e,"table",o.editor))})}).on("keydown",function(e){e.which===n.KEY_TAB&&r.$$("table",o.editor).forEach(function(e){i.__deSelectAll(e)})}).on("beforeCommand",i.onExecCommand.bind(i)),i):i}return i(t,e),t.prototype.__deSelectAll=function(e,t){var o=s.Table.getAllSelectedCells(e||this.jodit.editor);o.length&&o.forEach(function(e){t&&t===e||s.Table.restoreSelection(e)})},t.isCell=function(e){return!!e&&/^TD|TH$/i.test(e.nodeName)},t.prototype.__setWorkCell=function(e,t){void 0===t&&(t=null),this.__wholeTable=t,this.__workCell=e,this.__workTable=s.Dom.up(e,function(e){return e&&"TABLE"===e.nodeName},this.jodit.editor)},t.prototype.__calcResizerPosition=function(e,o,i,a){void 0===i&&(i=0),void 0===a&&(a=0);var l=r.offset(o,this.jodit,this.jodit.editorDocument);if(i>n.NEARBY&&l.width-i>n.NEARBY)this.__resizerHandler.style.display="none";else{var c=r.offset(e,this.jodit,this.jodit.editorDocument);if(this.__resizerHandler.style.left=(i>n.NEARBY?l.left+l.width:l.left)+a+"px",this.__resizerHandler.style.height=c.height+"px",this.__resizerHandler.style.top=c.top+"px",this.__resizerHandler.style.display="block",i>n.NEARBY)this.__setWorkCell(o,!!s.Dom.next(o,t.isCell,o.parentNode)&&null);else{var d=s.Dom.prev(o,t.isCell,o.parentNode);d?this.__setWorkCell(d):this.__setWorkCell(o,!0)}}},t.prototype.observe=function(e){var o,i=this;e[this.__key]=!0,this.jodit.events.on(e,"mousedown touchstart",function(n){if(!i.jodit.options.readonly){var r=s.Dom.up(n.target,t.isCell,e);r&&r instanceof i.jodit.editorWindow.HTMLElement&&(r.firstChild||r.appendChild(i.jodit.editorDocument.createElement("br")),o=r,s.Table.addSelected(r),i.__selectMode=!0)}}).on(e,"mouseleave",function(e){i.__resizerHandler&&i.__resizerHandler!==e.relatedTarget&&(i.__resizerHandler.style.display="none")}).on(e,"mousemove touchmove",function(n){if(!i.jodit.options.readonly&&!i.__drag&&!i.jodit.isLockedNotBy(i.__key)){var a=s.Dom.up(n.target,t.isCell,e);if(a)if(i.__selectMode){a!==o&&(i.jodit.lock(i.__key),i.jodit.editorWindow.getSelection().removeAllRanges(),n.preventDefault&&n.preventDefault()),i.__deSelectAll(e);for(var l=s.Table.getSelectedBound(e,[a,o]),c=s.Table.formalMatrix(e),d=l[0][0];l[1][0]>=d;d+=1)for(var u=l[0][1];l[1][1]>=u;u+=1)s.Table.addSelected(c[d][u]);var p=c[l[1][0]][l[1][1]],f=c[l[0][0]][l[0][1]];i.jodit.events.fire("showPopup",e,function(){var e=r.offset(f,i.jodit,i.jodit.editorDocument),t=r.offset(p,i.jodit,i.jodit.editorDocument);return{left:e.left,top:e.top,width:t.left-e.left+t.width,height:t.top-e.top+t.height}}),n.stopPropagation()}else i.__calcResizerPosition(e,a,n.offsetX)}}),this.__addResizer()},t}(s.Component)},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Cookie=function(){function e(){}return e.prototype.set=function(e,t,o){var i,n;o?((n=new Date).setTime(n.getTime()+24*o*60*60*1e3),i="; expires="+n.toUTCString()):i="",document.cookie=e+"="+t+i+"; path=/"},e.prototype.get=function(e){var t,o,i=e+"=",n=document.cookie.split(";");for(t=0;n.length>t;t+=1){for(o=n[t];" "===o.charAt(0);)o=o.substring(1,o.length);if(0===o.indexOf(i))return o.substring(i.length,o.length)}return null},e.prototype.remove=function(e){this.set(e,"",-1)},e}()},function(e,t,o){"use strict";var i=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])};return function(t,o){function i(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(i.prototype=o.prototype,new i)}}(),n=this&&this.__assign||Object.assign||function(e){for(var t,o=1,i=arguments.length;i>o;o++)for(var n in t=arguments[o])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e};Object.defineProperty(t,"__esModule",{value:!0});var r=o(2),a=o(21),s=o(6),l=o(0),c=o(20),d=o(1),u=o(7),p=o(5),f=o(11),h=o(18),g=o(19),m=o(71);d.Config.prototype.filebrowser={filter:function(e,t){return t=t.toLowerCase(),"string"==typeof e?-1!==e.toLowerCase().indexOf(t):"string"==typeof e.name?-1!==e.name.toLowerCase().indexOf(t):"string"!=typeof e.file||-1!==e.file.toLowerCase().indexOf(t)},sortBy:"changed",sort:function(e,t,o){var i,n=function(e,t){return t>e?-1:e>t?1:0};if("string"==typeof e)return n(e.toLowerCase(),t.toLowerCase());if(void 0===e[o]||"name"===o)return"string"==typeof e.name?n(e.name.toLowerCase(),t.name.toLowerCase()):"string"==typeof e.file?n(e.file.toLowerCase(),t.file.toLowerCase()):0;switch(o){case"changed":return i=new Date(e.changed),new Date(t.changed).getTime()-i.getTime();case"size":return l.humanSizeToBytes(e.size)-l.humanSizeToBytes(t.size)}return 0},editImage:!0,preview:!0,showPreviewNavigation:!0,showSelectButtonInPreview:!0,contextMenu:!0,howLongShowMsg:3e3,createNewFolder:!0,deleteFolder:!0,moveFolder:!0,moveFile:!0,showFoldersPanel:!0,width:763,height:400,buttons:["filebrowser.upload","filebrowser.remove","filebrowser.update","filebrowser.select","filebrowser.edit","|","filebrowser.tiles","filebrowser.list","|","filebrowser.filter","|","filebrowser.sort"],removeButtons:[],fullsize:!1,showTooltip:!0,view:null,isSuccess:function(e){return e.success},getMessage:function(e){return void 0!==e.data.messages&&Array.isArray(e.data.messages)?e.data.messages.join(" "):""},showFileName:!0,showFileSize:!0,showFileChangeTime:!0,getThumbTemplate:function(e,t,o){var i,n="",r="",a=""+(new Date).getTime();void 0!==e.file&&(n=e.file,r=e.file),e.thumb&&(r=e.thumb),i='<div class="'+m.ITEM_CLASS+'-info">\n '+(this.options.showFileName?'<span class="'+m.ITEM_CLASS+'-info-filename">'+n+"</span>":"")+"\n "+(this.options.showFileSize&&e.size?'<span class="'+m.ITEM_CLASS+'-info-filesize">'+e.size+"</span>":"")+"\n "+(this.options.showFileChangeTime&&e.changed?'<span class="'+m.ITEM_CLASS+'-info-filechanged">'+e.changed+"</span>":"")+"\n </div>";var s=l.urlNormalize(t.baseurl+t.path+n);return'<a data-is-file="'+(e.isImage?0:1)+'" draggable="true" class="'+m.ITEM_CLASS+'" href="'+s+'" data-source="'+o+'" data-path="'+l.pathNormalize(t.path?t.path+"/":"/")+'" data-name="'+n+'" title="'+n+'" data-url="'+s+'">\n <img data-is-file="'+(e.isImage?0:1)+'" data-src="'+s+'" src="'+l.urlNormalize(t.baseurl+t.path+r)+"?_tmst="+a+'" alt="'+n+'"/>\n '+(this.options.showFileName||this.options.showFileSize&&e.size||this.options.showFileChangeTime&&e.changed?i:"")+"\n </a>"},ajax:{url:"",async:!0,data:{},cache:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",method:"POST",processData:!0,dataType:"json",headers:{},prepareData:function(e){return e},process:function(e){return e}},create:{data:{action:"folderCreate"}},getLocalFileByUrl:{data:{action:"getLocalFileByUrl"}},resize:{data:{action:"imageResize"}},crop:{data:{action:"imageCrop"}},move:{data:{action:"fileMove"}},fileRemove:{data:{action:"fileRemove"}},folderRemove:{data:{action:"folderRemove"}},items:{data:{action:"files"}},folder:{data:{action:"folders"}},permissions:{data:{action:"permissions"}},uploader:null},d.Config.prototype.controls.filebrowser={upload:{icon:"plus",isInput:!0,exec:function(){},isDisable:function(e){return!e.canI("FileUpload")},getContent:function(e,t){var o=l.dom('<span class="jodit_upload_button">'+s.ToolbarIcon.getIcon("plus")+'<input type="file" accept="'+(e.buffer.fileBrowserOnlyImages?"image/*":"*")+'" tabindex="-1" dir="auto" multiple=""/></span>',e.ownerDocument),i=o.querySelector("input");return e.events.on("updateToolbar",function(){t&&t.isDisable&&(t.isDisable(e,t)?i.setAttribute("disabled","disabled"):i.removeAttribute("disabled"))}).fire("bindUploader.filebrowser",o),o}},remove:{icon:"bin",isDisable:function(e){return 0===e.getActiveElements().length||!e.canI("FileRemove")},exec:function(e){e.events.fire("fileRemove.filebrowser")}},update:{exec:function(e){e.events.fire("update.filebrowser")}},select:{icon:"check",isDisable:function(e){return 0===e.getActiveElements().length},exec:function(e){e.events.fire("select.filebrowser")}},edit:{icon:"pencil",isDisable:function(e){var t=e.getActiveElements();return 1!==t.length||"1"===t[0].getAttribute("data-is-file")||!(e.canI("ImageCrop")||e.canI("ImageResize"))},exec:function(e){e.events.fire("edit.filebrowser")}},tiles:{icon:"th",isActive:function(e){return"tiles"===e.buffer.fileBrowserView},exec:function(e){e.events.fire("view.filebrowser","tiles")}},list:{icon:"th-list",isActive:function(e){return"list"===e.buffer.fileBrowserView},exec:function(e){e.events.fire("view.filebrowser","list")}},filter:{isInput:!0,getContent:function(e){var t=l.dom('<input class="jodit_input" placeholder="'+e.i18n("Filter")+'"/>',e.ownerDocument);return e.events.on(t,"keydown mousedown",l.debounce(function(){e.events.fire("filter.filebrowser",t.value)},e.defaultTimeout)),t}},sort:{isInput:!0,getContent:function(e){var t=l.dom('<select class="jodit_input"><option value="changed">'+e.i18n("Sort by changed")+'</option><option value="name">'+e.i18n("Sort by name")+'</option><option value="size">'+e.i18n("Sort by size")+"</option></select>",e.ownerDocument);return e.events.on("sort.filebrowser",function(e){t.value!==e&&(t.value=e)}).on(t,"change",function(){e.events.fire("sort.filebrowser",t.value)}),t}}},t.FileBrowser=function(e){function t(t,o){void 0===o&&(o={});var i=e.call(this,t,o)||this;i.currentPath="",i.currentSource=m.DEFAULT_SOURCE_NAME,i.currentBaseUrl="",i.storage=new a.Storage(new a.localStorageProvider),i.__currentPermissions=null,i.view="tiles",i.sortBy="changed",i.dragger=!1,i.filterWord="",i.getPathByUrl=function(e,t,o){var n=i;i.options.getLocalFileByUrl.data.url=e,i.send("getLocalFileByUrl",function(e){n.options.isSuccess(e)?t(e.data.path,e.data.name,e.data.source):o(Error(i.options.getMessage(e)))},function(e){o(e)})},i.loadItems=function(e,t){var o=i;return o.options.items.data.path=e,o.options.items.data.source=t,o.files.classList.add("active"),o.files.appendChild(o.loader.cloneNode(!0)),o.send("items",function(e){var t=o.options.items.process;if(t||(t=i.options.ajax.process),t){var n=t.call(o,e);o.generateItemsBox(n.data.sources),o.someSelectedWasChanged()}},function(e){u.Alert(e.message),o.errorHandler(e)})},i.create=function(e,t,o){return i.options.create.data.source=o,i.options.create.data.path=t,i.options.create.data.name=e,i.send("create",function(e){i.options.isSuccess(e)?(i.currentPath=t,i.currentSource=o,i.loadTree(t,o)):i.status(i.options.getMessage(e))},function(e){i.status(e.message)})},i.move=function(e,t,o){return i.options.move.data.from=e,i.options.move.data.path=t,i.options.move.data.source=o,i.send("move",function(e){i.options.isSuccess(e)?i.loadTree(t,o):i.status(i.options.getMessage(e))},function(e){i.status(e.message)})},i.close=function(){i.dialog.close()},i.onlyImages=!1,i.open=function(e,t){return void 0===t&&(t=!1),i.onlyImages=t,i.buffer.fileBrowserOnlyImages=t,new Promise(function(t){if(!i.options.items.url)throw Error("Need set options.filebrowser.ajax.url");var o=0;i.events.off(i.files,"dblclick").on(i.files,"dblclick",i.onSelect(e),"a").on(i.files,"touchstart",function(){var t=(new Date).getTime();r.EMULATE_DBLCLICK_TIMEOUT>t-o&&i.onSelect(e)(),o=t},"a").off("select.filebrowser").on("select.filebrowser",i.onSelect(e));var n=i.ownerDocument.createElement("div");i.toolbar.build(i.options.buttons,n),i.dialog.dialogbox_header.classList.add("jodit_filebrowser_title_box"),i.dialog.open(i.browser,n),i.events.fire("sort.filebrowser",i.sortBy),i.loadTree(i.currentPath,i.currentSource).then(t)})},i.errorHandler=function(e){i.status(e instanceof Error?i.i18n(e.message):i.options.getMessage(e))},i.uploadHandler=function(){i.loadItems(i.currentPath,i.currentSource)},i.openImageEditor=function(e,t,o,n,r,a){return i.getInstance("ImageEditor").open(e,function(e,s,l,c){void 0===i.options[s.action]&&(i.options[s.action]={}),void 0===i.options[s.action].data&&(i.options[s.action].data={action:s.action}),i.options[s.action].data.newname=e||t,i.options[s.action].data.box=s.box,i.options[s.action].data.path=o,i.options[s.action].data.name=t,i.options[s.action].data.source=n,i.send(s.action,function(e){i.options.isSuccess(e)?(i.loadTree(i.currentPath,i.currentSource),l(),r&&r()):(c(Error(i.options.getMessage(e))),a&&a(Error(i.options.getMessage(e))))},function(e){c(e),a&&a(e)})})};var h=i,g=t?t.ownerDocument:document,v=t?t.editorDocument:g;t&&(i.id=t.id),h.options=new d.OptionsDefault(l.extend(!0,{},h.options,p.Jodit.defaultOptions.filebrowser,o,h.jodit?h.jodit.options.filebrowser:void 0)),h.dialog=new u.Dialog(t||h,{fullsize:h.options.fullsize,buttons:["dialog.fullsize","dialog.close"]}),h.loader=l.dom('<div class="jodit_filebrowser_loader"><i class="jodit_icon-loader"></i></div>',g),h.browser=l.dom('<div class="jodit_filebrowser non-selected">'+(h.options.showFoldersPanel?'<div class="jodit_filebrowser_tree"></div>':"")+'<div class="jodit_filebrowser_files"></div><div class="jodit_filebrowser_status"></div></div>',g),h.status_line=h.browser.querySelector(".jodit_filebrowser_status"),h.tree=h.browser.querySelector(".jodit_filebrowser_tree"),h.files=h.browser.querySelector(".jodit_filebrowser_files"),h.events.on("view.filebrowser",function(e){e!==h.view&&(h.view=e,h.buffer.fileBrowserView=e,h.files.classList.remove("jodit_filebrowser_files_view-tiles"),h.files.classList.remove("jodit_filebrowser_files_view-list"),h.files.classList.add("jodit_filebrowser_files_view-"+h.view),h.storage.set("jodit_filebrowser_view",h.view))}).on("sort.filebrowser",function(e){e!==h.sortBy&&(h.sortBy=e,i.storage.set("jodit_filebrowser_sortby",h.sortBy),h.loadItems(h.currentPath,h.currentSource))}).on("filter.filebrowser",function(e){e!==h.filterWord&&(h.filterWord=e,h.loadItems(h.currentPath,h.currentSource))}).on("fileRemove.filebrowser",function(){i.getActiveElements().length&&u.Confirm(h.i18n("Are you sure?"),"",function(e){if(e){var t=[];h.getActiveElements().forEach(function(e){t.push(h.fileRemove(h.currentPath,e.getAttribute("data-name")||"",e.getAttribute("data-source")||""))}),Promise.all(t).then(function(){h.someSelectedWasChanged(),h.loadTree(h.currentPath,h.currentSource)})}})}).on("edit.filebrowser",function(){var e=i.getActiveElements();1===e.length&&h.openImageEditor(e[0].getAttribute("href")||"",e[0].getAttribute("data-name")||"",e[0].getAttribute("data-path")||"",e[0].getAttribute("data-source")||"")}).on("update.filebrowser",function(){h.loadTree(i.currentPath,i.currentSource)}).on(h.tree,"click",function(e){var t=this.parentNode,o=t.getAttribute("data-path")||"";return u.Confirm(h.i18n("Are you sure?"),"",function(e){e&&h.folderRemove(o,t.getAttribute("data-name")||"",t.getAttribute("data-source")||"").then(function(){h.loadTree(h.currentPath,h.currentSource)})}),e.stopImmediatePropagation(),!1},"a>i.remove").on(h.tree,"click",function(){var e=this;this.classList.contains("addfolder")?u.Promt(h.i18n("Enter Directory name"),h.i18n("Create directory"),function(t){h.create(t,e.getAttribute("data-path")||"",e.getAttribute("data-source")||"")},h.i18n("type name")):(h.currentPath=this.getAttribute("data-path")||"",h.currentSource=this.getAttribute("data-source")||"",h.loadTree(h.currentPath,h.currentSource))},"a").on(i.tree,"dragstart",function(){h.dragger=this},"a").on(i.tree,"drop",function(){if(h.options.moveFolder&&h.dragger){var e=h.dragger.getAttribute("data-path")||"";if(!h.options.moveFolder&&h.dragger.classList.contains("jodit_filebrowser_tree_item"))return!1;if(h.dragger.classList.contains(m.ITEM_CLASS)&&(e+=h.dragger.getAttribute("data-name"),!h.options.moveFile))return!1;h.move(e,this.getAttribute("data-path")||"",this.getAttribute("data-source")||"")}},"a");var b=new c.ContextMenu(i.jodit||i);if(h.events.on(h.files,"contextmenu",function(e){var t=this;if(h.options.contextMenu){var o=this;return b.show(e.pageX,e.pageY,[!("1"===o.getAttribute("data-is-file")||!h.options.editImage||!h.canI("ImageResize")&&!h.canI("ImageCrop"))&&{icon:"pencil",title:"Edit",exec:function(){h.openImageEditor(o.getAttribute("href")||"",o.getAttribute("data-name")||"",o.getAttribute("data-path")||"",o.getAttribute("data-source")||"")}},!!h.canI("FileRemove")&&{icon:"bin",title:"Delete",exec:function(){h.fileRemove(h.currentPath,o.getAttribute("data-name")||"",o.getAttribute("data-source")||""),h.someSelectedWasChanged(),h.loadTree(h.currentPath,h.currentSource)}},!!h.options.preview&&{icon:"eye",title:"Preview",exec:function(){var e=o.getAttribute("href")||"",i=new u.Dialog(h),n=l.dom('<div class="jodit_filebrowser_preview"><i class="jodit_icon-loader"></i></div>',g),r=g.createElement("img"),a=function(){var c=function(){if(t.removeEventListener("load",c),n.innerHTML="",h.options.showPreviewNavigation){var d=l.dom('<a href="javascript:void(0)" class="jodit_filebrowser_preview_navigation jodit_filebrowser_preview_navigation-next">'+s.ToolbarIcon.getIcon("angle-right")+"</a>",g),u=l.dom('<a href="javascript:void(0)" class="jodit_filebrowser_preview_navigation jodit_filebrowser_preview_navigation-prev">'+s.ToolbarIcon.getIcon("angle-left")+"</a>",g);o.previousSibling&&o.previousSibling.classList&&o.previousSibling.classList.contains(m.ITEM_CLASS)&&n.appendChild(u),o.nextSibling&&o.nextSibling.classList&&o.nextSibling.classList.contains(m.ITEM_CLASS)&&n.appendChild(d),h.events.on([d,u],"click",function(){o=this.classList.contains("jodit_filebrowser_preview_navigation-next")?o.nextSibling:o.previousSibling,n.innerHTML='<i class="jodit_icon-loader"></i>',e=o.getAttribute("href")||"",r.setAttribute("src",e),a()})}n.appendChild(r),i.setPosition()};r.addEventListener("load",c),r.complete&&c()};a(),r.setAttribute("src",e),i.setContent(n),i.open()}},{icon:"upload",title:"Download",exec:function(){var e=o.getAttribute("href");e&&h.ownerWindow.open(e)}}],h.dialog.getZIndex()+1),e.stopPropagation(),e.preventDefault(),!1}},"a").on(h.files,"click",function(e){l.ctrlKey(e)||(i.getActiveElements().forEach(function(e){e.classList.remove("active")}),h.someSelectedWasChanged())}).on(h.files,"click",function(e){return l.ctrlKey(e)||h.getActiveElements().forEach(function(e){e.classList.remove("active")}),this.classList.toggle("active"),h.someSelectedWasChanged(),e.stopPropagation(),!1},"a").on(h.dialog.container,"drop",function(e){return e.preventDefault()}),i.dialog.setSize(i.options.width,i.options.height),i.options.getLocalFileByUrl=l.extend(!0,{},i.options.ajax,i.options.getLocalFileByUrl),i.options.crop=l.extend(!0,{},i.options.ajax,i.options.crop),i.options.resize=l.extend(!0,{},i.options.ajax,i.options.resize),i.options.create=l.extend(!0,{},i.options.ajax,i.options.create),i.options.move=l.extend(!0,{},i.options.ajax,i.options.move),i.options.fileRemove=l.extend(!0,{},i.options.ajax,i.options.fileRemove),i.options.folderRemove=l.extend(!0,{},i.options.ajax,i.options.folderRemove),i.options.folder=l.extend(!0,{},i.options.ajax,i.options.folder),i.options.items=l.extend(!0,{},i.options.ajax,i.options.items),i.options.permissions=l.extend(!0,{},i.options.ajax,i.options.permissions),i.view=i.storage.get("jodit_filebrowser_view")&&null===i.options.view?"list"===i.storage.get("jodit_filebrowser_view")?"list":"tiles":"list"===i.options.view?"list":"tiles",i.files.classList.add("jodit_filebrowser_files_view-"+i.view),h.buffer.fileBrowserView=i.view,i.sortBy=-1!==["changed","name","size"].indexOf(i.options.sortBy)?i.options.sortBy:"changed",i.storage.get("jodit_filebrowser_sortby")&&(i.sortBy=-1!==["changed","name","size"].indexOf(i.storage.get("jodit_filebrowser_sortby")||"")?i.storage.get("jodit_filebrowser_sortby")||"":"changed"),i.currentBaseUrl=l.$$("base",v).length?l.$$("base",v)[0].getAttribute("href")||"":location.protocol+"//"+location.host,void 0!==p.Jodit.modules.Uploader){var y=l.extend(!0,{},p.Jodit.defaultOptions.uploader,h.options.uploader,i.jodit&&i.jodit.options&&null!==i.jodit.options.uploader?n({},i.jodit.options.uploader):{});i.uploader=new f.Uploader(i.jodit||i,y),i.uploader.setPath(i.currentPath),i.uploader.setSource(i.currentSource),i.uploader.bind(i.browser,i.uploadHandler,i.errorHandler),i.events.on("bindUploader.filebrowser",function(e){i.uploader.bind(e,i.uploadHandler,i.errorHandler)})}return i}return i(t,e),t.prototype.canI=function(e){return null!==this.__currentPermissions&&(void 0===this.__currentPermissions["allow"+e]||this.__currentPermissions["allow"+e])},t.prototype.isOpened=function(){return this.dialog.isOpened()&&"none"!==this.browser.style.display},t.prototype.status=function(e,t){var o=this;clearTimeout(this.statustimer),this.status_line.classList.remove("success"),this.status_line.classList.add("active"),this.status_line.innerHTML=e,t&&this.status_line.classList.add("success"),this.statustimer=window.setTimeout(function(){o.status_line.classList.remove("active")},this.options.howLongShowMsg)},t.prototype.generateFolderTree=function(e){var t=this,o=[];l.each(e,function(e,i){e&&e!==m.DEFAULT_SOURCE_NAME&&o.push('<div class="jodit_filebrowser_source_title">'+e+"</div>"),i.folders.forEach(function(n){var r='<a draggable="draggable" class="jodit_filebrowser_tree_item" href="javascript:void(0)" data-path="'+l.pathNormalize(i.path+n)+'/" data-source="'+e+'"><span>'+n+"</span>";t.options.deleteFolder&&".."!==n&&"."!==n&&(r+='<i class="remove" data-path="'+l.pathNormalize(i.path+n+"/")+'">×</i>'),r+="</a>",o.push(r)}),t.options.createNewFolder&&t.canI("FolderCreate")&&o.push('<a class="jodit_button addfolder" href="javascript:void(0)" data-path="'+l.pathNormalize(i.path+name)+'/" data-source="'+e+'">'+s.ToolbarIcon.getIcon("plus")+" "+t.i18n("Add folder")+"</a>")}),this.tree.innerHTML=o.join("")},t.prototype.generateItemsBox=function(e){var t=this,o=[];l.each(e,function(e,i){e&&e!==m.DEFAULT_SOURCE_NAME&&o.push('<div class="jodit_filebrowser_source_title">'+e+(i.path?" - "+i.path:"")+"</div>"),i.files&&i.files.length?("function"==typeof t.options.sort&&i.files.sort(function(e,o){return t.options.sort(e,o,t.sortBy,t.jodit)}),i.files.forEach(function(n){(void 0===t.options.filter||t.options.filter(n,t.filterWord))&&(t.onlyImages&&void 0!==n.isImage&&!n.isImage||o.push(t.options.getThumbTemplate.call(t,n,i,e)))})):o.push("<div>"+t.i18n("There are no files")+"</div>")}),this.files.innerHTML=o.join("")},t.prototype.getActiveElements=function(){return l.$$(":scope>a.active",this.files)},t.prototype.someSelectedWasChanged=function(){this.events.fire("changeSelection")},t.prototype.send=function(e,t,o){var i=l.extend(!0,{},this.options.ajax,void 0!==this.options[e]?this.options[e]:this.options.ajax);return i.prepareData&&(i.data=i.prepareData.call(this,i.data)),new h.Ajax(this.jodit||this,i).send().then(t).catch(o)},t.prototype.loadPermissions=function(e,t){var o=this,i=this;return i.options.permissions.data.path=e,i.options.permissions.data.source=t,i.options.permissions.url?i.send("permissions",function(e){var t=i.options.permissions.process;if(t||(t=o.options.ajax.process),t){var n=t.call(i,e);n.data.permissions&&(o.__currentPermissions=n.data.permissions)}},function(e){u.Alert(e.message),i.errorHandler(e)}):Promise.resolve()},t.prototype.loadTree=function(e,t){var o=this;return this.loadPermissions(e,t).then(function(){var i=o;i.options.folder.data.path=e,i.options.folder.data.source=t,i.uploader&&(i.uploader.setPath(e),i.uploader.setSource(t));var n=[];return i.options.showFoldersPanel&&(i.options.folder.url?(i.tree.classList.add("active"),i.tree.innerHTML="",i.tree.appendChild(i.loader.cloneNode(!0)),n.push(o.send("folder",function(e){var t=i.options.folder.process;if(t||(t=o.options.ajax.process),t){var n=t.call(i,e);i.generateFolderTree(n.data.sources)}},function(){i.errorHandler(Error(i.jodit.i18n("Error on load folders")))}))):i.tree.classList.remove("active")),n.push(o.loadItems(e,t)),Promise.all(n)})},t.prototype.fileRemove=function(e,t,o){var i=this;return this.options.fileRemove.data.path=e,this.options.fileRemove.data.name=t,this.options.fileRemove.data.source=o,this.send("fileRemove",function(e){i.options.remove.process&&(e=i.options.remove.process.call(i,e)),i.options.isSuccess(e)?(i.someSelectedWasChanged(),i.status(i.options.getMessage(e),!0)):i.status(i.options.getMessage(e))},function(e){i.status(e.message)})},t.prototype.folderRemove=function(e,t,o){var i=this;return this.options.folderRemove.data.path=e,this.options.folderRemove.data.name=t,this.options.folderRemove.data.source=o,this.send("folderRemove",function(e){i.options.remove.process&&(e=i.options.remove.process.call(i,e)),i.options.isSuccess(e)?(i.someSelectedWasChanged(),i.status(i.options.getMessage(e),!0)):i.status(i.options.getMessage(e))},function(e){i.status(e.message)})},t.prototype.onSelect=function(e){var t=this;return function(){var o=t.getActiveElements();if(o.length){var i=[];o.forEach(function(e){var t=e.getAttribute("data-url");t&&i.push(t)}),t.close(),"function"==typeof e&&e({baseurl:"",files:i})}return!1}},Object.defineProperty(t.prototype,"defaultTimeout",{get:function(){return this.jodit?this.jodit.defaultTimeout:p.Jodit.defaultOptions.observer.timeout},enumerable:!0,configurable:!0}),t}(g.View)},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_SOURCE_NAME="default",t.ITEM_CLASS="jodit_filebrowser_files_item"},function(e,t,o){"use strict";var i=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])};return function(t,o){function i(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(i.prototype=o.prototype,new i)}}();Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),r=o(0),a=o(7),s=o(5),l=o(6),c=o(4);n.Config.prototype.imageeditor={closeAfterSave:!1,width:"85%",height:"85%",crop:!0,resize:!0,resizeUseRatio:!0,resizeMinWidth:20,resizeMinHeight:20,cropUseRatio:!0,cropDefaultWidth:"70%",cropDefaultHeight:"70%"},t.ImageEditor=function(e){function t(t){var o=e.call(this,t)||this;return o.resizeUseRatio=!0,o.cropUseRatio=!0,o.clicked=!1,o.activeTab="resize",o.hide=function(){o.dialog.close()},o.calcValueByPercent=function(e,t){var o,i=""+t,n=parseFloat(""+e);return(o=/^[\-+]?[0-9]+(px)?$/.exec(i))?parseInt(i,10):(o=/^([\-+]?[0-9.]+)%$/.exec(i))?Math.round(n*(parseFloat(o[1])/100)):n||0},o.calcCropBox=function(){var e=.8*o.crop_box.parentNode.offsetWidth,t=.8*o.crop_box.parentNode.offsetHeight,i=e,n=t;e>o.naturalWidth&&t>o.naturalHeight?(i=o.naturalWidth,n=o.naturalHeight):o.ratio>e/t?(i=e,n=o.naturalHeight*(e/o.naturalWidth)):(i=o.naturalWidth*(t/o.naturalHeight),n=t),r.css(o.crop_box,{width:i,height:n})},o.showCrop=function(){o.cropImage&&(o.calcCropBox(),o.new_w=o.calcValueByPercent(o.cropImage.offsetWidth||o.image.offsetWidth,o.options.cropDefaultWidth),o.new_h=o.cropUseRatio?o.new_w/o.ratio:o.calcValueByPercent(o.cropImage.offsetHeight||o.image.offsetHeight,o.options.cropDefaultHeight),r.css(o.cropHandler,{backgroundImage:"url("+o.cropImage.getAttribute("src")+")",width:o.new_w,height:o.new_h,left:(o.cropImage.offsetWidth||o.image.offsetWidth)/2-o.new_w/2,top:(o.cropImage.offsetHeight||o.image.offsetHeight)/2-o.new_h/2}),o.jodit.events.fire(o.cropHandler,"updatesize"))},o.cropBox={x:0,y:0,w:0,h:0},o.updateCropBox=function(){if(o.cropImage){var e=o.cropImage.offsetWidth/o.naturalWidth,t=o.cropImage.offsetHeight/o.naturalHeight;o.cropBox.x=r.css(o.cropHandler,"left")/e,o.cropBox.y=r.css(o.cropHandler,"top")/t,o.cropBox.w=o.cropHandler.offsetWidth/e,o.cropBox.h=o.cropHandler.offsetHeight/t,o.sizes.innerText=o.cropBox.w.toFixed(0)+"x"+o.cropBox.h.toFixed(0)}},o.resizeBox={w:0,h:0},o.updateResizeBox=function(){o.resizeBox.w=o.image.offsetWidth||o.naturalWidth,o.resizeBox.h=o.image.offsetHeight||o.naturalHeight},o.open=function(e,t){return new Promise(function(i){var n=(new Date).getTime();o.image=o.jodit.ownerDocument.createElement("img"),r.$$("img,.jodit_icon-loader",o.resize_box).forEach(function(e){e.parentNode&&e.parentNode.removeChild(e)}),r.$$("img,.jodit_icon-loader",o.crop_box).forEach(function(e){e.parentNode&&e.parentNode.removeChild(e)}),r.css(o.cropHandler,"background","transparent"),o.onSave=t,o.resize_box.appendChild(r.dom('<i class="jodit_icon-loader"></i>',o.jodit.ownerDocument)),o.crop_box.appendChild(r.dom('<i class="jodit_icon-loader"></i>',o.jodit.ownerDocument)),/\?/.test(e)?e+="&_tst="+n:e+="?_tst="+n,o.image.setAttribute("src",e),o.dialog.open();var a=function(){o.image.removeEventListener("load",a),o.naturalWidth=o.image.naturalWidth,o.naturalHeight=o.image.naturalHeight,o.widthInput.value=""+o.naturalWidth,o.heightInput.value=""+o.naturalHeight,o.ratio=o.naturalWidth/o.naturalHeight,o.resize_box.appendChild(o.image),o.cropImage=o.image.cloneNode(),o.crop_box.appendChild(o.cropImage),r.$$(".jodit_icon-loader",o.editor).forEach(function(e){e.parentNode&&e.parentNode.removeChild(e)}),"crop"===o.activeTab&&o.showCrop(),o.jodit.events.fire(o.resizeHandler,"updatesize"),o.jodit.events.fire(o.cropHandler,"updatesize"),o.dialog.setPosition(),o.jodit.events.fire("afterImageEditor"),i(o.dialog)};o.image.addEventListener("load",a),o.image.complete&&a()})},o.setHandlers=function(){var e=o;e.jodit.events.on([e.editor.querySelector(".jodit_bottomright"),e.cropHandler],"mousedown",function(t){e.target=t.target||t.srcElement,t.preventDefault(),t.stopImmediatePropagation(),e.clicked=!0,e.start_x=t.clientX,e.start_y=t.clientY,"crop"===e.activeTab?(e.top_x=r.css(e.cropHandler,"left"),e.top_y=r.css(e.cropHandler,"top"),e.width=e.cropHandler.offsetWidth,e.height=e.cropHandler.offsetHeight):(e.width=e.image.offsetWidth,e.height=e.image.offsetHeight)}).off(o.jodit.ownerWindow,".jodit_image_editor"+e.jodit.id).on(o.jodit.ownerWindow,"mousemove.jodit_image_editor"+e.jodit.id,r.throttle(function(t){e.clicked&&(e.diff_x=t.clientX-e.start_x,e.diff_y=t.clientY-e.start_y,"resize"===e.activeTab&&e.resizeUseRatio||"crop"===e.activeTab&&e.cropUseRatio?e.diff_x?(e.new_w=e.width+e.diff_x,e.new_h=Math.round(e.new_w/e.ratio)):(e.new_h=e.height+e.diff_y,e.new_w=Math.round(e.new_h*e.ratio)):(e.new_w=e.width+e.diff_x,e.new_h=e.height+e.diff_y),"resize"===e.activeTab?(e.new_w>e.options.resizeMinWidth&&(r.css(e.image,"width",e.new_w+"px"),e.widthInput.value=""+e.new_w),e.new_h>e.options.resizeMinHeight&&(r.css(e.image,"height",e.new_h+"px"),e.heightInput.value=""+e.new_h),o.jodit.events.fire(e.resizeHandler,"updatesize")):(e.target!==e.cropHandler?(e.top_x+e.new_w>e.cropImage.offsetWidth&&(e.new_w=e.cropImage.offsetWidth-e.top_x),e.top_y+e.new_h>e.cropImage.offsetHeight&&(e.new_h=e.cropImage.offsetHeight-e.top_y),r.css(e.cropHandler,{width:e.new_w,height:e.new_h})):(e.top_x+e.diff_x+e.cropHandler.offsetWidth>e.cropImage.offsetWidth&&(e.diff_x=e.cropImage.offsetWidth-e.top_x-e.cropHandler.offsetWidth),r.css(e.cropHandler,"left",e.top_x+e.diff_x),e.top_y+e.diff_y+e.cropHandler.offsetHeight>e.cropImage.offsetHeight&&(e.diff_y=e.cropImage.offsetHeight-e.top_y-e.cropHandler.offsetHeight),r.css(e.cropHandler,"top",e.top_y+e.diff_y)),o.jodit.events.fire(e.cropHandler,"updatesize")),t.stopImmediatePropagation())},5)).on(o.jodit.ownerWindow,"resize.jodit_image_editor"+e.jodit.id,function(){o.jodit.events.fire(e.resizeHandler,"updatesize"),e.showCrop(),o.jodit.events.fire(e.cropHandler,"updatesize")}).on(o.jodit.ownerWindow,"mouseup.jodit_image_editor"+e.jodit.id+" keydown.jodit_image_editor"+e.jodit.id,function(t){e.clicked&&(e.clicked=!1,t.stopImmediatePropagation())}),r.$$(".jodit_btn_group",e.editor).forEach(function(t){var o=t.querySelector("input");e.jodit.events.on(t,"click change",function(){r.$$("button",t).forEach(function(e){return e.classList.remove("active")}),this.classList.add("active"),o.checked=!!this.getAttribute("data-yes"),e.jodit.events.fire(o,"change")},"button")}),e.jodit.events.on(o.editor,"click",function(){r.$$(".jodit_image_editor_slider,.jodit_image_editor_area",e.editor).forEach(function(e){return e.classList.remove("active")});var t=this.parentNode;t.classList.add("active"),e.activeTab=t.getAttribute("data-area")||"";var o=e.editor.querySelector(".jodit_image_editor_area.jodit_image_editor_area_"+e.activeTab);o&&o.classList.add("active"),"crop"===e.activeTab&&e.showCrop()},".jodit_image_editor_slider-title").on(e.widthInput,"change mousedown keydown",r.debounce(function(){var t,i=parseInt(e.widthInput.value,10);i>e.jodit.options.resizer.min_width&&(r.css(e.image,"width",i+"px"),e.resizeUseRatio&&(t=Math.round(i/e.ratio))>e.jodit.options.resizer.min_height&&(r.css(e.image,"height",t+"px"),e.heightInput.value=""+t)),o.jodit.events.fire(e.resizeHandler,"updatesize")},200)).on(e.heightInput,"change mousedown keydown",r.debounce(function(){var t,i=parseInt(e.heightInput.value,10);i>e.jodit.options.resizer.min_height&&(r.css(e.image,"height",i+"px"),e.resizeUseRatio&&(t=Math.round(i*e.ratio))>e.jodit.options.resizer.min_width&&(r.css(e.image,"width",t+"px"),e.widthInput.value=""+t)),o.jodit.events.fire(e.resizeHandler,"updatesize")},200));var t=e.editor.querySelector(".jodit_image_editor_keep_spect_ratio");t&&t.addEventListener("change",function(){e.resizeUseRatio=t.checked});var i=e.editor.querySelector(".jodit_image_editor_keep_spect_ratio_crop");i&&i.addEventListener("change",function(){e.cropUseRatio=i.checked}),e.jodit.events.on(e.resizeHandler,"updatesize",function(){r.css(e.resizeHandler,{top:0,left:0,width:(e.image.offsetWidth||e.naturalWidth)+"px",height:(e.image.offsetHeight||e.naturalHeight)+"px"}),o.updateResizeBox()}).on(e.cropHandler,"updatesize",function(){if(e.cropImage){var t=r.css(e.cropHandler,"left"),o=r.css(e.cropHandler,"top"),i=e.cropHandler.offsetWidth,n=e.cropHandler.offsetHeight;0>t&&(t=0),0>o&&(o=0),t+i>e.cropImage.offsetWidth&&(i=e.cropImage.offsetWidth-t,e.cropUseRatio&&(n=i/e.ratio)),o+n>e.cropImage.offsetHeight&&(n=e.cropImage.offsetHeight-o,e.cropUseRatio&&(i=n*e.ratio)),r.css(e.cropHandler,{width:i,height:n,left:t,top:o,backgroundPosition:-t-1+"px "+(-o-1)+"px",backgroundSize:e.cropImage.offsetWidth+"px "+e.cropImage.offsetHeight+"px"}),e.updateCropBox()}}),e.buttons.forEach(function(t){t.addEventListener("mousedown",function(e){e.stopImmediatePropagation()}),t.addEventListener("click",function(){var o={action:e.activeTab,box:"resize"===e.activeTab?e.resizeBox:e.cropBox};switch(t.getAttribute("data-action")){case"saveas":a.Promt(e.jodit.i18n("Enter new name"),e.jodit.i18n("Save in new file"),function(t){if(!r.trim(t))return a.Alert(e.jodit.i18n("The name should not be empty")),!1;e.onSave(t,o,e.hide,function(e){a.Alert(e)})});break;case"save":e.onSave(void 0,o,e.hide,function(e){a.Alert(e)});break;case"reset":"resize"===e.activeTab?(r.css(e.image,{width:null,height:null}),e.widthInput.value=""+e.naturalWidth,e.heightInput.value=""+e.naturalHeight,e.jodit.events.fire(e.resizeHandler,"updatesize")):e.showCrop()}})})},o.options=t&&t.options?t.options.imageeditor:s.Jodit.defaultOptions.imageeditor,o.resizeUseRatio=o.options.resizeUseRatio,o.cropUseRatio=o.options.cropUseRatio,o.buttons=[r.dom('<button data-action="reset" type="button" class="jodit_btn">'+l.ToolbarIcon.getIcon("update")+" "+t.i18n("Reset")+"</button>",t.ownerDocument),r.dom('<button data-action="save" type="button" class="jodit_btn jodit_btn_success">'+l.ToolbarIcon.getIcon("save")+" "+t.i18n("Save")+"</button>",t.ownerDocument),r.dom('<button data-action="saveas" type="button" class="jodit_btn jodit_btn_success">'+l.ToolbarIcon.getIcon("save")+" "+t.i18n("Save as ...")+"</button>",t.ownerDocument)],o.activeTab=o.options.resize?"resize":"crop",o.editor=r.dom('<form class="jodit_image_editor jodit_properties"><div class="jodit_grid"><div class="jodit_col-lg-3-4">'+(o.options.resize?'<div class="jodit_image_editor_area jodit_image_editor_area_resize active"> <div class="jodit_image_editor_box"></div> <div class="jodit_image_editor_resizer"> <i class="jodit_bottomright"></i> </div> </div>':"")+(o.options.crop?'<div class="jodit_image_editor_area jodit_image_editor_area_crop'+(o.options.resize?"":" active")+'"> <div class="jodit_image_editor_box"> <div class="jodit_image_editor_croper"> <i class="jodit_bottomright"></i> <i class="jodit_sizes"></i> </div> </div> </div>':"")+'</div><div class="jodit_col-lg-1-4">'+(o.options.resize?'<div data-area="resize" class="jodit_image_editor_slider active"> <div class="jodit_image_editor_slider-title">'+l.ToolbarIcon.getIcon("resize")+t.i18n("Resize")+'</div> <div class="jodit_image_editor_slider-content"> <div class="jodit_form_group"> <label for="jodit_image_editor_width">'+t.i18n("Width")+'</label> <input type="number" class="jodit_image_editor_width"/> </div> <div class="jodit_form_group"> <label for="jodit_image_editor_height">'+t.i18n("Height")+'</label> <input type="number" class="jodit_image_editor_height"/> </div> <div class="jodit_form_group"> <label>'+t.i18n("Keep Aspect Ratio")+'</label> <div class="jodit_btn_group jodit_btn_radio_group"> <input '+(o.resizeUseRatio?"checked":"")+' type="checkbox" class="jodit_image_editor_keep_spect_ratio"/> <button type="button" data-yes="1" class="jodit_col6 jodit_btn jodit_btn_success '+(o.resizeUseRatio?"active":"")+'">'+t.i18n("Yes")+'</button> <button type="button" class="jodit_col6 jodit_btn'+(o.resizeUseRatio?"":"active")+'">'+t.i18n("No")+"</button> </div> </div> </div> </div>":"")+(o.options.crop?'<div data-area="crop" class="jodit_image_editor_slider'+(o.options.resize?"":" active")+'"> <div class="jodit_image_editor_slider-title">'+l.ToolbarIcon.getIcon("crop")+t.i18n("Crop")+'</div> <div class="jodit_image_editor_slider-content"> <div class="jodit_form_group"> <label>'+t.i18n("Keep Aspect Ratio")+'</label> <div class="jodit_btn_group jodit_btn_radio_group"> <input '+(o.cropUseRatio?"checked":"")+' type="checkbox" class="jodit_image_editor_keep_spect_ratio_crop"/> <button type="button" data-yes="1" class="jodit_col6 jodit_btn jodit_btn_success '+(o.cropUseRatio?"active":"")+'">'+t.i18n("Yes")+'</button> <button type="button" class="jodit_col6 jodit_btn '+(o.cropUseRatio?"":"active")+'">'+t.i18n("No")+"</button> </div> </div> </div> </div>":"")+"</div></div></form>",t.ownerDocument),o.widthInput=o.editor.querySelector(".jodit_image_editor_width"),o.heightInput=o.editor.querySelector(".jodit_image_editor_height"),o.resize_box=o.editor.querySelector(".jodit_image_editor_area.jodit_image_editor_area_resize .jodit_image_editor_box"),o.crop_box=o.editor.querySelector(".jodit_image_editor_area.jodit_image_editor_area_crop .jodit_image_editor_box"),o.sizes=o.editor.querySelector(".jodit_image_editor_area.jodit_image_editor_area_crop .jodit_sizes"),o.resizeHandler=o.editor.querySelector(".jodit_image_editor_resizer"),o.cropHandler=o.editor.querySelector(".jodit_image_editor_croper"),o.dialog=new a.Dialog(t),o.dialog.setContent(o.editor),o.dialog.setSize(o.options.width,o.options.height),o.dialog.setTitle(o.buttons),o.setHandlers(),o}return i(t,e),t}(c.Component)},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o(2),n=o(16);t.tableKeyboardNavigation=function(e){e.events.on("keydown",function(t){var o,r;if((t.which===i.KEY_TAB||t.which===i.KEY_LEFT||t.which===i.KEY_RIGHT||t.which===i.KEY_UP||t.which===i.KEY_DOWN)&&(o=e.selection.current(),r=n.Dom.up(o,function(e){return e&&e.nodeName&&/^td|th$/i.test(e.nodeName)},e.editor))){var a=e.editorWindow.getSelection(),s=a.rangeCount?a.getRangeAt(0):e.editorDocument.createRange();if(t.which===i.KEY_TAB||o===r||(t.which!==i.KEY_LEFT&&t.which!==i.KEY_UP||!(n.Dom.prev(o,function(e){return t.which===i.KEY_UP?e&&"BR"===e.nodeName:!!e},r)||t.which!==i.KEY_UP&&o.nodeType===Node.TEXT_NODE&&0!==s.startOffset))&&(t.which!==i.KEY_RIGHT&&t.which!==i.KEY_DOWN||!(n.Dom.next(o,function(e){return t.which===i.KEY_DOWN?e&&"BR"===e.nodeName:!!e},r)||t.which!==i.KEY_DOWN&&o.nodeType===Node.TEXT_NODE&&o.nodeValue&&s.startOffset!==o.nodeValue.length))){var l=n.Dom.up(r,function(e){return e&&/^table$/i.test(e.nodeName)},e.editor),c=null;switch(t.which){case i.KEY_TAB:case i.KEY_LEFT:var d=t.which===i.KEY_LEFT||t.shiftKey?"prev":"next";(c=n.Dom[d](r,function(e){return e&&/^td|th$/i.test(e.tagName)},l))||(n.Table.appendRow(l,"next"!==d&&l.querySelector("tr"),"next"===d),c=n.Dom[d](r,function(t){return t&&n.Dom.isCell(t,e.editorWindow)},l));break;case i.KEY_UP:case i.KEY_DOWN:var u=0,p=0,f=n.Table.formalMatrix(l,function(e,t,o){e===r&&(u=t,p=o)});t.which===i.KEY_UP?void 0!==f[u-1]&&(c=f[u-1][p]):void 0!==f[u+1]&&(c=f[u+1][p])}if(c){if(c.firstChild)t.which===i.KEY_TAB?e.selection.select(c,!0):e.selection.setCursorIn(c,t.which===i.KEY_RIGHT||t.which===i.KEY_DOWN);else{var h=e.editorDocument.createElement("br");c.appendChild(h),e.selection.setCursorBefore(h)}return!1}}}})}},function(e,t,o){"use strict";var i=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])};return function(t,o){function i(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(i.prototype=o.prototype,new i)}}();Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),r=o(0),a=o(16),s=o(2),l=o(2);n.Config.prototype.useSearch=!0,t.search=function(e){function t(o){var i=e.call(this,o)||this;if(i.template='<div class="jodit_search"><div class="jodit_search_box"><div class="jodit_search_inputs"><input tabindex="0" class="jodit_search-query" placeholder="'+i.jodit.i18n("Search for")+'" type="text"/><input tabindex="0" class="jodit_search-replace" placeholder="'+i.jodit.i18n("Replace with")+'" type="text"/></div><div class="jodit_search_counts"><span>0/0</span></div><div class="jodit_search_buttons"><button tabindex="0" type="button" class="jodit_search_buttons-next">'+a.ToolbarIcon.getIcon("angle-down")+'</button><button tabindex="0" type="button" class="jodit_search_buttons-prev">'+a.ToolbarIcon.getIcon("angle-up")+'</button><button tabindex="0" type="button" class="jodit_search_buttons-cancel">'+a.ToolbarIcon.getIcon("cancel")+'</button><button tabindex="0" type="button" class="jodit_search_buttons-replace">'+i.jodit.i18n("Replace")+"</button></div></div></div>",i.eachMap=function(e,t,o){a.Dom.findWithCurrent(e,function(e){return!!e&&t(e)},i.jodit.editor,o?"nextSibling":"previousSibling",o?"firstChild":"lastChild")},i.updateCounters=function(){if(i.isOpened){i.counterBox.style.display=i.queryInput.value.length?"inline-block":"none";var e=i.jodit.editorWindow.getSelection(),t=e.rangeCount?e.getRangeAt(0):i.jodit.editorDocument.createRange(),o=i.calcCounts(i.queryInput.value,t);i.counterBox.innerText=o.join("/")}},i.calcCounts=function(e,t){void 0===t&&(t=!1);for(var o=0,n=0,r=[],a=!1,s=i.jodit.editor.firstChild;s&&e.length;)if(a=i.find(s,e,!0,0,a||i.jodit.editorDocument.createRange())){if(i.boundAlreadyWas(a,r))break;r.push(a),s=a.startContainer,n+=1,t&&i.boundAlreadyWas(t,[a])&&(o=n)}else s=null;return[o,n]},i.findAndReplace=function(e,t){var o=i.jodit.editorWindow.getSelection(),n=o.rangeCount?o.getRangeAt(0):i.jodit.editorDocument.createRange(),r=i.find(e,t,!0,0,n);if(r&&r.startContainer&&r.endContainer){var a=i.jodit.editorDocument.createRange();try{if(r&&r.startContainer&&r.endContainer){a.setStart(r.startContainer,r.startOffset),a.setEnd(r.endContainer,r.endOffset),a.deleteContents();var s=i.jodit.editorDocument.createTextNode(i.replaceInput.value);a.insertNode(s),i.jodit.selection.select(s),i.tryScrollToElement(s)}}catch(e){}return!0}return!1},i.findAndSelect=function(e,t,o){var n=i.jodit.editorWindow.getSelection(),r=n.rangeCount?n.getRangeAt(0):i.jodit.editorDocument.createRange(),a=i.find(e,t,o,0,r);if(a&&a.startContainer&&a.endContainer){var s=i.jodit.editorDocument.createRange();try{s.setStart(a.startContainer,a.startOffset),s.setEnd(a.endContainer,a.endOffset),i.jodit.selection.selectRange(s)}catch(e){}return i.tryScrollToElement(a.startContainer),i.current=a.startContainer,i.updateCounters(),!0}return!1},i.find=function(e,o,n,s,l){if(e&&o.length){var c="",d={startContainer:null,startOffset:null,endContainer:null,endOffset:null};if(i.eachMap(e,function(e){if(e.nodeType===Node.TEXT_NODE&&null!==e.nodeValue&&e.nodeValue.length){var i=e.nodeValue;n||e!==l.startContainer?n&&e===l.endContainer&&(i=s?i.substr(0,l.startOffset):i.substr(l.endOffset)):i=s?i.substr(l.endOffset):i.substr(0,l.startOffset);var u=n?c+i:i+c,p=t.findSomePartOfString(o,u,n);if(!1!==p){var f=t.findSomePartOfString(o,i,n);!0===f?f=r.trim(o):!1===f&&!0===(f=t.findSomePartOfString(i,o,n))&&(f=r.trim(i));var h=t.getSomePartOfStringIndex(o,i,n)||0;if((n&&!s||!n&&s)&&e.nodeValue.length-i.length>0&&(h+=e.nodeValue.length-i.length),null===d.startContainer&&(d.startContainer=e,d.startOffset=h),!0===p)return d.endContainer=e,d.endOffset=h,d.endOffset+=f.length,!0;c=u}else c="",d={startContainer:null,startOffset:null,endContainer:null,endOffset:null}}else a.Dom.isBlock(e)&&""!==c&&(c=n?c+" ":" "+c);return!1},n),d.startContainer&&d.endContainer)return d;if(!s)return i.current=n?i.jodit.editor.firstChild:i.jodit.editor.lastChild,i.find(i.current,o,n,s+1,l)}return!1},i.isOpened=!1,i.open=function(e){void 0===e&&(e=!1),i.isOpened||(i.searchBox.classList.add("jodit_search-active"),i.isOpened=!0),i.jodit.events.fire("hidePopup"),i.searchBox.classList.toggle("jodit_search-and-replace",e),i.current=i.jodit.selection.current(),i.selInfo=i.jodit.selection.save();var t=""+i.jodit.ownerWindow.getSelection();t&&(i.queryInput.value=t),i.updateCounters(),t?i.queryInput.select():i.queryInput.focus()},i.selInfo=null,i.current=!1,i.close=function(){i.isOpened&&(i.selInfo&&(i.jodit.selection.restore(i.selInfo),i.selInfo=null),i.searchBox.classList.remove("jodit_search-active"),i.isOpened=!1)},o.options.useSearch){var n=i;n.searchBox=r.dom(n.template,o.ownerDocument),n.queryInput=n.searchBox.querySelector("input.jodit_search-query"),n.replaceInput=n.searchBox.querySelector("input.jodit_search-replace"),n.closeButton=n.searchBox.querySelector(".jodit_search_buttons-cancel"),n.nextButton=n.searchBox.querySelector(".jodit_search_buttons-next"),n.prevButton=n.searchBox.querySelector(".jodit_search_buttons-prev"),n.replaceButton=n.searchBox.querySelector(".jodit_search_buttons-replace"),n.counterBox=n.searchBox.querySelector(".jodit_search_counts span"),o.events.on(n.closeButton,"click",i.close).on(n.queryInput,"mousedown",function(){o.selection.isFocused()&&(o.selection.removeMarkers(),n.selInfo=o.selection.save())}).on(n.replaceButton,"click",function(e){n.findAndReplace(o.selection.current()||o.editor.firstChild,n.queryInput.value),i.updateCounters(),e.preventDefault(),e.stopImmediatePropagation()}).on([n.nextButton,n.prevButton],"click",function(e){o.events.fire(n.nextButton===this?"searchNext":"searchPrevious"),e.preventDefault(),e.stopImmediatePropagation()}).on(i.queryInput,"keydown",r.debounce(function(e){switch(e.which){case s.KEY_ENTER:e.preventDefault(),e.stopImmediatePropagation(),o.events.fire("searchNext")&&i.close();break;default:i.updateCounters()}},i.jodit.defaultTimeout)).on(i.jodit.container,"keydown",function(e){if(o.getRealMode()===l.MODE_WYSIWYG)switch(e.which){case s.KEY_ESC:i.close();break;case s.KEY_F3:n.queryInput.value&&(o.events.fire(e.shiftKey?"searchPrevious":"searchNext"),e.preventDefault())}}).on("beforeSetMode",function(){i.close()}).on("afterInit",function(){o.workplace.appendChild(i.searchBox)}).on("keydown mousedown",function(){i.selInfo&&(o.selection.removeMarkers(),i.selInfo=null),i.isOpened&&(i.current=i.jodit.selection.current(),i.updateCounters())}).on("searchNext searchPrevious",function(){return n.findAndSelect(o.selection.current()||o.editor.firstChild,n.queryInput.value,"searchNext"===o.events.current[o.events.current.length-1])}).on("search",function(e,t){void 0===t&&(t=!0),o.execCommand("search",e,t)}),o.registerCommand("search",{exec:function(e,t,i){return void 0===i&&(i=!0),n.findAndSelect(o.selection.current()||o.editor.firstChild,t,i),!1}}),o.registerCommand("openSearchDialog",{exec:function(){return n.open(),!1},hotkeys:"ctrl+f"}),o.registerCommand("openReplaceDialog",{exec:function(){return o.options.readonly||n.open(!0),!1},hotkeys:"ctrl+h"})}return i}return i(t,e),t.getSomePartOfStringIndex=function(e,t,o){return void 0===o&&(o=!0),this.findSomePartOfString(e,t,o,!0)},t.findSomePartOfString=function(e,t,o,i){void 0===o&&(o=!0),void 0===i&&(i=!1),e=r.trim(e.toLowerCase().replace(s.SPACE_REG_EXP," ")),t=t.toLowerCase();for(var n=o?0:t.length-1,a=o?0:e.length-1,l=null,c=o?1:-1,d=[],u=0;void 0!==t[n];n+=c){var p=e[a]===t[n];if(p||null!==l&&s.SPACE_REG_EXP.test(t[n])?(null!==l&&o||(l=n),d.push(t[n]),p&&(u+=1,a+=c)):(l=null,d.length=0,u=0,a=o?0:e.length-1),u===e.length)return!i||l}return i?null!==l&&l:!!d.length&&(o?d.join(""):d.reverse().join(""))},t.prototype.boundAlreadyWas=function(e,t){return t.some(function(t){return t.startContainer===e.startContainer&&t.endContainer===e.endContainer&&t.startOffset===e.startOffset&&t.endOffset===e.endOffset},!1)},t.prototype.tryScrollToElement=function(e){var t=a.Dom.closest(e,function(e){return e&&e.nodeType===Node.ELEMENT_NODE},this.jodit.editor);t||(t=a.Dom.prev(e,function(e){return e&&e.nodeType===Node.ELEMENT_NODE},this.jodit.editor)),t&&t!==this.jodit.editor&&t.scrollIntoView()},t}(a.Component)},function(e,t,o){"use strict";var i=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])};return function(t,o){function i(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(i.prototype=o.prototype,new i)}}();Object.defineProperty(t,"__esModule",{value:!0});var n=o(0),r=o(4),a=o(1),s=o(2);a.Config.prototype.toolbarSticky=!0,a.Config.prototype.toolbarDisableStickyForMobile=!0,a.Config.prototype.toolbarStickyOffset=0,t.sticky=function(e){function t(t){var o=e.call(this,t)||this;return o.isToolbarSticked=!1,o.createDummy=function(e){o.dummyBox||(o.dummyBox=o.jodit.ownerDocument.createElement("div"),o.dummyBox.classList.add("jodit_sticky-dummy_toolbar"),o.jodit.container.insertBefore(o.dummyBox,e))},o.addSticky=function(e){o.isToolbarSticked||(o.createDummy(e),o.jodit.container.classList.add("jodit_sticky"),o.isToolbarSticked=!0),n.css(e,{top:o.jodit.options.toolbarStickyOffset,width:o.jodit.container.offsetWidth}),n.css(o.dummyBox,{height:e.offsetHeight})},o.removeSticky=function(e){o.isToolbarSticked&&(n.css(e,{width:"",top:""}),o.jodit.container.classList.remove("jodit_sticky"),o.isToolbarSticked=!1)},t.events.on("afterInit",function(){t.events.on(t.ownerWindow,"scroll wheel mousewheel resize",function(){var e=t.ownerWindow.pageYOffset||t.ownerDocument.documentElement.scrollTop,i=n.offset(t.container,t,t.ownerDocument,!0),r=t.getMode()===s.MODE_WYSIWYG&&e+t.options.toolbarStickyOffset>i.top&&i.top+i.height>e+t.options.toolbarStickyOffset&&!(t.options.toolbarDisableStickyForMobile&&o.isMobile());t.options.toolbarSticky&&t.options.toolbar&&(r?o.addSticky(t.toolbar.container):o.removeSticky(t.toolbar.container)),t.events.fire("toggleSticky",r)})}),o}return i(t,e),t.prototype.isMobile=function(){return this.jodit&&this.jodit.options&&this.jodit.container&&this.jodit.options.sizeSM>=this.jodit.container.offsetWidth},t}(r.Component)},function(e,t,o){"use strict";var i=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])};return function(t,o){function i(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(i.prototype=o.prototype,new i)}}();Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),r=o(10),a=o(0),s=o(2);n.Config.prototype.showCharsCounter=!0,n.Config.prototype.showWordsCounter=!0,t.stat=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.calc=a.throttle(function(){var e=t.jodit.getEditorText();t.jodit.options.showCharsCounter&&(t.charCounter.innerText=t.jodit.i18n("Chars: %d",e.replace(s.SPACE_REG_EXP,"").length)),t.jodit.options.showWordsCounter&&(t.wordCounter.innerText=t.jodit.i18n("Words: %d",e.replace(s.INVISIBLE_SPACE_REG_EXP,"").split(s.SPACE_REG_EXP).filter(function(e){return e.length}).length))},t.jodit.defaultTimeout),t}return i(t,e),t.prototype.afterInit=function(){this.jodit.options.showCharsCounter&&(this.charCounter=this.jodit.ownerDocument.createElement("span"),this.jodit.statusbar.append(this.charCounter,!0)),this.jodit.options.showWordsCounter&&(this.wordCounter=this.jodit.ownerDocument.createElement("span"),this.jodit.statusbar.append(this.wordCounter,!0)),this.jodit.events.on("change",this.calc),this.calc()},t}(r.Plugin)},function(e,t,o){"use strict";var i=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])};return function(t,o){function i(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(i.prototype=o.prototype,new i)}}(),n=this&&this.__assign||Object.assign||function(e){for(var t,o=1,i=arguments.length;i>o;o++)for(var n in t=arguments[o])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e};Object.defineProperty(t,"__esModule",{value:!0});var r=o(1),a=o(10),s=o(0),l=o(3),c=o(2),d=o(20),u=o(14);r.Config.prototype.controls.selectall={icon:"select-all",command:"selectall",tooltip:"Select all"},r.Config.prototype.showXPathInStatusbar=!0,t.xpath=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.onContext=function(e,o){return t.menu||(t.menu=new d.ContextMenu(t.jodit)),t.menu.show(o.clientX,o.clientY,[{icon:"bin",title:e===t.jodit.editor?"Clear":"Remove",exec:function(){e!==t.jodit.editor?e.parentNode&&e.parentNode.removeChild(e):t.jodit.value="",t.jodit.setEditorValue()}},{icon:"select-all",title:"Select",exec:function(){t.jodit.selection.select(e)}}]),!1},t.onSelectPath=function(e,o){t.jodit.selection.focus();var i=o.target.getAttribute("data-path")||"/";if("/"===i)return t.jodit.execCommand("selectall"),!1;try{var n=t.jodit.editorDocument.evaluate(i,t.jodit.editor,null,XPathResult.ANY_TYPE,null).iterateNext();if(n)return t.jodit.selection.select(n),!1}catch(e){}return t.jodit.selection.select(e),!1},t.tpl=function(e,o,i,n){var r=s.dom('<li><a role="button" data-path="'+o+'" href="javascript:void(0)" title="'+n+'" tabindex="-1">'+i+"</a></li>",t.jodit.ownerDocument),a=r.firstChild;return t.jodit.events.on(a,"click",t.onSelectPath.bind(t,e)).on(a,"contextmenu",t.onContext.bind(t,e)),r},t.appendSelectAll=function(){var e=new u.ToolbarButton(t.jodit,n({name:"selectall"},t.jodit.options.controls.selectall,{tooltip:""}));t.container.insertBefore(e.container,t.container.firstChild)},t.calcPathImd=function(){var e=t.jodit.selection.current();t.container.innerHTML=c.INVISIBLE_SPACE,e&&l.Dom.up(e,function(e){if(t.jodit.editor!==e&&e.nodeType!==Node.TEXT_NODE){var o=e.nodeName.toLowerCase(),i=s.getXPathByElement(e,t.jodit.editor).replace(/^\//,""),n=t.tpl(e,i,o,t.jodit.i18n("Select %s",o));t.container.insertBefore(n,t.container.firstChild)}1},t.jodit.editor),t.appendSelectAll()},t.calcPath=s.debounce(t.calcPathImd,2*t.jodit.defaultTimeout),t}return i(t,e),t.prototype.afterInit=function(){var e=this;this.jodit.options.showXPathInStatusbar&&(this.container=this.jodit.ownerDocument.createElement("ul"),this.container.classList.add("jodit_xpath"),this.jodit.statusbar.append(this.container),this.jodit.events.on("mouseup change keydown changeSelection",this.calcPath).on("afterSetMode afterInit",function(){e.jodit.getRealMode()===c.MODE_WYSIWYG?e.calcPath():(e.container.innerHTML=c.INVISIBLE_SPACE,e.appendSelectAll())}),this.calcPath())},t}(a.Plugin)},function(e,t,o){"use strict";var i=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])};return function(t,o){function i(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(i.prototype=o.prototype,new i)}}();Object.defineProperty(t,"__esModule",{value:!0});var n=o(10),r=o(0),a=o(2),s=o(3);t.DragAndDrop=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.isFragmentFromEditor=!1,t.isCopyMode=!1,t.startDragPoint={x:0,y:0},t.draggable=null,t.onDragEnd=function(){t.draggable&&(t.draggable.parentNode&&t.draggable.parentNode.removeChild(t.draggable),t.draggable=null),t.isCopyMode=!1},t.onDrag=r.throttle(function(e){t.draggable&&(t.draggable.parentNode||t.jodit.ownerDocument.body.appendChild(t.draggable),t.jodit.events.fire("hidePopup"),r.css(t.draggable,{left:e.clientX+20,top:e.clientY+20}))},10),t.bufferRange=null,t.onDragStart=function(e){var o=e.target;if(t.onDragEnd(),t.isFragmentFromEditor=s.Dom.isOrContains(t.jodit.editor,o,!0),t.isCopyMode=!t.isFragmentFromEditor||r.ctrlKey(e),t.isFragmentFromEditor){var i=t.jodit.editorWindow.getSelection(),n=i.rangeCount?i.getRangeAt(0):null;n&&(t.bufferRange=n.cloneRange())}else t.bufferRange=null;t.startDragPoint.x=e.clientX,t.startDragPoint.y=e.clientY,o.nodeType===Node.ELEMENT_NODE&&o.matches(".jodit_filebrowser_files_item")&&(o=o.querySelector("img")),"IMG"===o.nodeName&&(t.draggable=o.cloneNode(!0),r.dataBind(t.draggable,"target",o),r.css(t.draggable,{"z-index":1e14,position:"fixed",display:"inlin-block",left:t.startDragPoint.x,top:t.startDragPoint.y,width:o.offsetWidth,height:o.offsetHeight}))},t.getDataTransfer=function(e){return e.dataTransfer},t.getText=function(e){var o=t.getDataTransfer(e);return o.getData(a.TEXT_HTML)||o.getData(a.TEXT_PLAIN)},t.onDrop=function(e){if(!e.dataTransfer.files||!e.dataTransfer.files.length){if(!t.isFragmentFromEditor&&!t.draggable)return t.jodit.events.fire("paste",e),e.preventDefault(),e.stopPropagation(),!1;var o=t.jodit.editorWindow.getSelection(),i=t.bufferRange||(o.rangeCount?o.getRangeAt(0):null),n=null;if(!t.draggable&&i)n=t.isCopyMode?i.cloneContents():i.extractContents();else if(t.draggable)if(t.isCopyMode){var a="1"===t.draggable.getAttribute("data-is-file")?["a","href"]:["img","src"],s=a[0],l=a[1];(n=t.jodit.editorDocument.createElement(s)).setAttribute(l,t.draggable.getAttribute("data-src")||t.draggable.getAttribute("src")||""),"a"===s&&(n.innerText=n.getAttribute(l)||"")}else n=r.dataBind(t.draggable,"target");else t.getText(e)&&(n=r.dom(t.getText(e),t.jodit.editorDocument));o.removeAllRanges(),t.jodit.selection.insertCursorAtPoint(e.clientX,e.clientY),n&&(t.jodit.selection.insertNode(n,!1,!1),i&&n.firstChild&&n.lastChild&&(i.setStartBefore(n.firstChild),i.setEndAfter(n.lastChild),t.jodit.selection.selectRange(i),t.jodit.events.fire("synchro")),"IMG"===n.nodeName&&t.jodit.events&&t.jodit.events.fire("afterInsertImage",n)),e.preventDefault(),e.stopPropagation()}t.isFragmentFromEditor=!1},t}return i(t,e),t.prototype.afterInit=function(){this.jodit.events.on(window,"dragover",this.onDrag).on([window,this.jodit.editorDocument,this.jodit.editor],"dragstart",this.onDragStart).on("drop",this.onDrop).on(window,"dragend drop mouseup",this.onDragEnd)},t.prototype.beforeDestruct=function(){this.onDragEnd()},t}(n.Plugin)},function(e,t,o){"use strict";var i=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])};return function(t,o){function i(){this.constructor=t}e(t,o),t.prototype=null===o?Object.create(o):(i.prototype=o.prototype,new i)}}();Object.defineProperty(t,"__esModule",{value:!0});var n=o(10),r=o(7),a=o(2),s=o(0);t.pasteStorage=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.currentIndex=0,t.paste=function(){if(t.jodit.selection.focus(),t.jodit.selection.insertHTML(t.list[t.currentIndex]),0!==t.currentIndex){var e=t.list[0];t.list[0]=t.list[t.currentIndex],t.list[t.currentIndex]=e}t.dialog.close(),t.jodit.setEditorValue()},t.onKeyDown=function(e){var o=t.currentIndex;if(-1!==[a.KEY_UP,a.KEY_DOWN,a.KEY_ENTER].indexOf(e.which)){if(e.which===a.KEY_UP&&(0===o?o=t.list.length-1:o-=1),e.which===a.KEY_DOWN&&(o===t.list.length-1?o=0:o+=1),e.which===a.KEY_ENTER)return void t.paste();o!==t.currentIndex&&t.selectIndex(o),e.stopImmediatePropagation(),e.preventDefault()}},t.selectIndex=function(e){[].slice.call(t.listBox.childNodes).forEach(function(o,i){o.classList.remove("jodit_active"),e===i&&(o.classList.add("jodit_active"),t.previewBox.innerHTML=t.list[e],o.focus())}),t.currentIndex=e},t.showDialog=function(){2>t.list.length||(t.dialog||t.createDialog(),t.listBox.innerHTML="",t.previewBox.innerHTML="",t.list.forEach(function(e,o){var i=t.jodit.ownerDocument.createElement("a");i.innerText=o+1+". "+e.replace(a.SPACE_REG_EXP,""),i.addEventListener("keydown",t.onKeyDown),i.setAttribute("href","javascript:void(0)"),i.setAttribute("data-index",""+o),i.setAttribute("tab-index","-1"),t.listBox.appendChild(i)}),t.dialog.open(),setTimeout(function(){t.selectIndex(0)},100))},t.list=[],t}return i(t,e),t.prototype.createDialog=function(){var e=this;this.dialog=new r.Dialog(this.jodit);var t=s.dom('<a href="javascript:void(0)" style="float:right;" class="jodit_button"><span>'+this.jodit.i18n("Paste")+"</span></a>",this.jodit.ownerDocument);t.addEventListener("click",this.paste);var o=s.dom('<a href="javascript:void(0)" style="float:right; margin-right: 10px;" class="jodit_button"><span>'+this.jodit.i18n("Cancel")+"</span></a>",this.jodit.ownerDocument);o.addEventListener("click",this.dialog.close),this.container=this.jodit.ownerDocument.createElement("div"),this.container.classList.add("jodit_paste_storage"),this.listBox=this.jodit.ownerDocument.createElement("div"),this.previewBox=this.jodit.ownerDocument.createElement("div"),this.container.appendChild(this.listBox),this.container.appendChild(this.previewBox),this.dialog.setTitle(this.jodit.i18n("Choose Content to Paste")),this.dialog.setContent(this.container),this.dialog.setFooter([t,o]),this.jodit.events.on(this.listBox,"click dblclick",function(t){var o=t.target;return o&&"A"===o.nodeName&&o.hasAttribute("data-index")&&e.selectIndex(parseInt(o.getAttribute("data-index")||"0",10)),"dblclick"===t.type&&e.paste(),!1},"a")},t.prototype.afterInit=function(){var e=this;this.jodit.events.on("afterCopy",function(t){-1!==e.list.indexOf(t)&&e.list.splice(e.list.indexOf(t),1),e.list.unshift(t),e.list.length>5&&(e.list.length=5)}),this.jodit.registerCommand("showPasteStorage",{exec:this.showDialog,hotkeys:"ctrl+shift+v"})},t}(n.Plugin)},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.de=o(81).default,t.en=o(82).default,t.fr=o(83).default,t.ru=o(84).default,t.ar=o(85).default,t.zh_cn=o(86).default},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={"Type something":"Bitte geben Sie einen Text ein",Advanced:"Fortgeschritten","About Jodit":"Über Jodit","Jodit Editor":"Jodit Editor","Free Non-commercial Version":"Freie Nicht-kommerzielle Version","GNU General Public License, version 2 or later":"GNU General Public License, Version 2 oder höher","Jodit User's Guide":"Das Jodit Benutzerhandbuch","contains detailed help for using":"beinhaltet ausführliche Informationen wie Sie den Editor verwenden können.","For information about the license, please go to our website:":"Für Lizenz-Informationen, besuchen Sie bitte unsere Webseite:","Buy full version":"Vollversion kaufen","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright © XDSoft.net - Chupurnov Valeriy. Alle Rechte vorbehalten.",Anchor:"Anker","Open in new tab":"In neuer Registerkarte öffnen","Open editor in fullsize":"Editor in voller Größe öffnen","Clear Formatting":"Formatierung löschen","Fill color or set the text color":"Füllfarbe oder Textfarbe ändern",Redo:"Wiederholen",Undo:"Rückgängig machen",Bold:"Fett",Italic:"Kursiv","Insert Unordered List":"Ungeordnete Liste einfügen","Insert Ordered List":"Sortierte Liste einfügen","Align Center":"Mittig ausrichten","Align Justify":"Blocksatz","Align Left":"Links ausrichten","Align Right":"Rechts ausrichten","Insert Horizontal Line":"Horizontale Linie einfügen","Insert Image":"Bild einfügen","Insert file":"Datei einfügen","Insert youtube/vimeo video":"Youtube/vimeo Video einfügen","Insert link":"Link einfügen","Font size":"Schriftgröße","Font family":"Schriftfamilie","Insert format block":"Formatblock einfügen",Normal:"Normal","Heading 1":"Überschrift 1","Heading 2":"Überschrift 2","Heading 3":"Überschrift 3","Heading 4":"Überschrift 4",Quote:"Zitat",Code:"Code",Insert:"Einfügen","Insert table":"Tabelle einfügen","Decrease Indent":"Einzug verkleinern","Increase Indent":"Einzug vergrößern","Select Special Character":"Sonderzeichen auswählen","Insert Special Character":"Sonderzeichen einfügen","Paint format":"Format kopieren","Change mode":"Änderungsmodus",Margins:"Ränder",top:"Oben",right:"Rechts",bottom:"Unten",left:"Links",Styles:"CSS Stiel",Classes:"CSS Klassen",Align:"Ausrichten",Right:"Rechts",Center:"Zentriert",Left:"Links","--Not Set--":"Keine",Src:"Pfad",Title:"Titel",Alternative:"Alternativer Text",Link:"Link","Open link in new tab":"Link in neuem Tab öffnen",Image:"Bild",file:"Datei",Advansed:"Erweitert","Image properties":"Bildeigenschaften",Cancel:"Abbrechen",Ok:"OK","Your code is similar to HTML. Keep as HTML?":"Es scheint als dass Sie HTML-Text einfügen möchten","Paste as HTML":"Als HTML einfügen?",Keep:"Original speichern",Clean:"Säubern","Insert as Text":"Als Text einfügen","Word Paste Detected":"InWord formatierter Text erkannt","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"Der Inhalt, den Sie einfügen, stammt aus einem Microsoft Word / Excel-Dokument. Möchten Sie das Format erhalten oder löschen?","Insert only Text":"Als Text einfügen","File Browser":"Dateibrowser","Error on load list":"Fehler beim Laden der Liste","Error on load folders":"Fehler beim Laden der Ordner","Are you sure?":"Sind Sie sicher?","Enter Directory name":"Geben Sie den Verzeichnisnamen ein","Create directory":"Verzeichnis erstellen","type name":"Typname","Drop image":"Bild hier hinziehen","Drop file":"Datei löschen","or click":"oder hier klicken","Alternative text":"Alternativtext",Browse:"Auswählen",Upload:"Hochladen",Background:"Hintergrund",Text:"Text",Top:"Oben",Middle:"Mittig",Bottom:"Unten","Insert column before":"Spalte einfügen vor","Insert column after":"Spalte einfügen nach","Insert row above":"Zeile einfügen oberhalb","Insert row below":"Zeile unterhalb einfügen","Delete table":"Tabelle löschen","Delete row":"Zeile löschen","Delete column":"Spalte löschen","Empty cell":"Leere Zelle",Delete:"Löschen","Strike through":"Durchschlagen",Underline:"Unterstreichen",Break:"Pause","Search for":"Suche nach","Replace with":"Ersetzen durch",Replace:"Ersetzen",Edit:"Bearbeiten","Vertical align":"Vertikale Ausrichtung","Horizontal align":"Horizontale Ausrichtung",Filter:"filter","Sort by changed":"Sortieren nach geändert","Sort by name":"Nach Name sortieren","Sort by size":"Nach Größe sortiert","Add folder":"Ordner hinzufügen","Split vertical":"Split vertikal","Split horizontal":"Split horizontally",Merge:"Verschmelzen","Add column":"Spalte hinzufügen","Add row":"Zeile hinzufügen",Border:"Rand","Embed code":"Code einbetten",Update:"Aktualisieren",superscript:"hochgestellt",subscript:"Index","Cut selection":"Auswahl ausschneid",Paste:"Einfügen","Choose Content to Paste":"Wählen Sie Inhalt zum Einfügen","Chars: %d":"Zeichen: %d","Words: %d":"Wörter: %d",All:"Wählen Sie Alle aus","Select %s":"Markieren: %s","Select all":"Wählen Sie Alle aus",source:"HTML",bold:"Fett gedruckt",italic:"kursiv",brush:"Bürste",link:"Verknüpfung",undo:"rückgängig machen",redo:"wiederholen",table:"Tabelle",image:"Bild",eraser:"Radiergummi",paragraph:"Absatz",fontsize:"Schriftgröße",video:"Video",font:"Schriftart",about:"Über",print:"drucken",symbol:"Symbol",underline:"unterstreichen",strikethrough:"durchgestrichen",indent:"Einzug",outdent:"Aussenseiter",fullsize:"Vollgröße",shrink:"schrumpfen",copyformat:"Format kopierenт",hr:"die Linie",ul:"Liste von",ol:"Nummerierte Liste",cut:"Schnitt",selectall:"Wählen Sie Alle aus","Open link":"Link öffnen","Edit link":"Link bearbeiten","No follow":"Nofollow-Attribut",Unlink:"Link entfernen"," URL":"URL",Reset:"Wiederherstellen",Save:"Speichern","Save as ...":"Speichern als",Resize:"Ändern Sie die Größe",Crop:"Größe anpassen",Width:"Breite",Height:"Höhe","Keep Aspect Ratio":"Halten Sie Proportionen",Yes:"Ja",No:"Nein",Remove:"Entfernen",Select:"Markieren","You can only edit your own images. Download this image on the host?":"Sie können nur Ihre eigenen Bilder bearbeiten. Laden Sie dieses Bild auf dem Host herunter?","The image has been successfully uploaded to the host!":"Das Bild wurde erfolgreich auf den Server hochgeladen!null"}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={"Type something":"Start writing..."}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={"Type something":"Ecrivez ici","About Jodit":"A propos de Jodit","Jodit Editor":"Editeur Jodit","Free Non-commercial Version":"Version gratuite, non commerciale","GNU General Public License, version 2 or later":"GNU General Public License, version 2 ou ultérieure","Jodit User's Guide":"Guide de l'utilisateur","contains detailed help for using":"Aide détaillée à l'utilisation","For information about the license, please go to our website:":"Consulter la licence sur notre site web:","Buy full version":"Acheter la version complète","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright © XDSoft.net - Chupurnov Valeriy. Tous droits réservés.",Anchor:"Ancre","Open in new tab":"Ouvrir dans un nouvel onglet","Open editor in fullsize":"Ouvrir l'éditeur en pleine page","Clear Formatting":"Supprimer le formattage","Fill color or set the text color":"Modifier la couleur du fond ou du texte",Redo:"Refaire",Undo:"Défaire",Bold:"Gras",Italic:"Italique","Insert Unordered List":"Liste non ordonnée","Insert Ordered List":"Liste ordonnée","Align Center":"Centrer","Align Justify":"Justifier","Align Left":"Aligner à gauche ","Align Right":"Aligner à droite","Insert Horizontal Line":"Insérer une ligne horizontale","Insert Image":"Insérer une image","Insert file":"Insérer un fichier","Insert youtube/vimeo video":"Insérer une vidéo","Insert link":"Insérer un lien","Font size":"Taille des caractères","Font family":"Famille des caractères","Insert format block":"Bloc formatté",Normal:"Normal","Heading 1":"Titre 1","Heading 2":"Titre 2","Heading 3":"Titre 3","Heading 4":"Titre 4",Quote:"Citation",Code:"Code",Insert:"Insérer","Insert table":"Insérer un tableau","Decrease Indent":"Diminuer le retrait","Increase Indent":"Retrait plus","Select Special Character":"Sélectionnez un caractère spécial","Insert Special Character":"Insérer un caractère spécial","Paint format":"Cloner le format","Change mode":"Mode wysiwyg <-> code html",Margins:"Marges",top:"haut",right:"droite",bottom:"Bas",left:"gauche",Styles:"Styles",Classes:"Classes",Align:"Alignement",Right:"Droite",Center:"Centre",Left:"Gauche","--Not Set--":"--Non disponible--",Src:"Source",Title:"Titre",Alternative:"Alternative",Filter:"Filtre",Link:"Lien","Open link in new tab":"Ouvrir le lien dans un nouvel onglet",Image:"Image",file:"fichier",Advanced:"Avancé","Image properties":"Propriétés de l'image",Cancel:"Effacer",Ok:"OK","Your code is similar to HTML. Keep as HTML?":"Votre texte que vous essayez de coller est similaire au HTML. Collez-le en HTML?","Paste as HTML":"Coller en HTML?",Keep:"Sauvegarder l'original",Clean:"Nettoyer","Insert as Text":"Coller en tant que texte","Word Paste Detected":"C'est peut-être un fragment de Word ou Excel","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"Le contenu que vous insérez provient d'un document Microsoft Word / Excel. Voulez-vous enregistrer le format ou l'effacer?","Insert only Text":"Coller le texte seulement","File Browser":"Explorateur de fichiers","Error on load list":"Erreur de liste de chargement","Error on load folders":"Erreur de dossier de chargement","Are you sure?":"Etes-vous sûrs ?","Enter Directory name":"Entrer le non de dossier","Create directory":"Créer un dossier","type name":"type de fichier","Drop image":"Coller une image","Drop file":"Déposer un fichier","or click":"ou cliquer","Alternative text":"Texte de remplacemement",Browse:"Chercher",Upload:"Charger",Background:"Arrière-plan",Text:"Texte",Top:"Haut",Middle:"Milieu",Bottom:"Bas","Insert column before":"Insérer une colonne avant","Insert column after":"Insérer une colonne après","Insert row above":"Insérer une ligne en dessus","Insert row below":"Insérer une ligne en dessous","Delete table":"Supprimer le tableau","Delete row":"Supprimer la ligne","Delete column":"Supprimer la colonne","Empty cell":"Vider la cellule","Chars: %d":"Symboles: %d","Words: %d":"Mots: %d","Strike through":"Frapper à travers",Underline:"Souligner",superscript:"exposant",subscript:"indice","Cut selection":"Couper la sélection","Select all":"Tout sélectionner",Break:"Pause","Search for":"Rechercher","Replace with":"Remplacer par",Replace:"Remplacer",Paste:"Coller","Choose Content to Paste":"Choisissez le contenu à coller",source:"la source",bold:"graisseux",italic:"italique",brush:"verser",link:"lien",undo:"abolir",redo:"prêt",table:"graphique",image:"Image",eraser:"la gommen",paragraph:"clause",fontsize:"taille de police",video:"Video",font:"police",about:"à propos de l'éditeur",print:"impression",symbol:"caractère",underline:"souligné",strikethrough:"barré",indent:"indentation",outdent:"indifférent",fullsize:"taille réelle",shrink:"taille conventionnelle",copyformat:"Format de copie",hr:"la ligne",ul:"Liste des",ol:"Liste numérotée",cut:"Couper",selectall:"Sélectionner tout","Open link":"Ouvrir le lien","Edit link":"Modifier le lien","No follow":"Attribut Nofollow",Unlink:"Supprimer le lien"," URL":"URL",Reset:"Restaurer",Save:"Sauvegarder","Save as ...":"Enregistrer sous",Resize:"Changer la taille",Crop:"Taille de garniture",Width:"Largeur",Height:"Hauteur","Keep Aspect Ratio":"Garder les proportions",Yes:"Oui",No:"Non",Remove:"Supprimer",Select:"Mettre en évidence","Select %s":"Mettre en évidence: %s",Update:"Mettre à jour","Vertical align":"Alignement vertical",Merge:"aller","Add column":"Ajouter une colonne","Add row":"Ajouter une rangée",Delete:"Effacer","Horizontal align":"Alignement horizontal","Sort by changed":"Trier par modifié","Sort by name":"Trier par nom","Sort by size":"Classer par taille","Add folder":"Ajouter le dossier","You can only edit your own images. Download this image on the host?":"Vous ne pouvez éditer que vos propres images. Téléchargez cette image sur l'hôte?","The image has been successfully uploaded to the host!":"L'image a été téléchargée avec succès sur le serveur!null"}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={"Type something":"Напишите что-либо","About Jodit":"О Jodit","Jodit Editor":"Редактор Jodit","Free Non-commercial Version":"Версия для не коммерческого использования","GNU General Public License, version 2 or later":"Стандартная общественная лицензия GNU (GPL), версия 2 или выше","Jodit User's Guide":"Jodit Руководство пользователя","contains detailed help for using":"содержит детальную информацию по использованию","For information about the license, please go to our website:":"Для получения сведений о лицензии , пожалуйста, перейдите на наш сайт:","Buy full version":"Купить полную версию","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Авторские права © XDSoft.net - Чупурнов Валерий. Все права защищены.",Anchor:"Анкор","Open in new tab":"Открывать ссылку в новой вкладке","Open editor in fullsize":"Открыть редактор в полном размере","Clear Formatting":"Очистить форматирование","Fill color or set the text color":"Цвет заливки или цвет текста",Redo:"Повтор",Undo:"Отмена",Bold:"Жирный",Italic:"Наклонный","Insert Unordered List":"Вставка маркированного списка","Insert Ordered List":"Вставить нумерованный список","Align Center":"Выровнять по центру","Align Justify":"Выровнять по ширине","Align Left":"Выровнять по левому краю","Align Right":"Выровнять по правому краю","Insert Horizontal Line":"Вставить горизонтальную линию","Insert Image":"Вставить изображение","Insert file":"Вставить файл","Insert youtube/vimeo video":"Вставьте видео","Insert link":"Вставить ссылку","Font size":"Размер шрифта","Font family":"Шрифт","Insert format block":"Вставить блочный элемент",Normal:"Нормальный текст","Heading 1":"Заголовок 1","Heading 2":"Заголовок 2","Heading 3":"Заголовок 3","Heading 4":"Заголовок 4",Quote:"Цитата",Code:"Код",Insert:"Вставить","Insert table":"Вставить таблицу","Decrease Indent":"Уменьшить отступ","Increase Indent":"Увеличить отступ","Select Special Character":"Выберите специальный символ","Insert Special Character":"Вставить специальный символ","Paint format":"Формат краски","Change mode":"Источник",Margins:"Отступы",top:"сверху",right:"справа",bottom:"снизу",left:"слева",Styles:"Стили",Classes:"Классы",Align:"Выравнивание",Right:"По правому краю",Center:"По центру",Left:"По левому краю","--Not Set--":"--не устанавливать--",Src:"src",Title:"Заголовок",Alternative:"Альтернативный текст (alt)",Link:"Ссылка","Open link in new tab":"Открывать ссылку в новом окне",Image:"Изображение",file:"Файл",Advanced:"Расширенные","Image properties":"Свойства изображения",Cancel:"Отмена",Ok:"Ок","Your code is similar to HTML. Keep as HTML?":"Ваш текст, который вы пытаетесь вставить похож на HTML. Вставить его как HTML?","Paste as HTML":"Вставить как HTML?",Keep:"Сохранить оригинал",Clean:"Почистить","Insert as Text":"Вставить как текст","Insert only Text":"Вставить только текст","Word Paste Detected":"Возможно это фрагмент Word или Excel","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"Контент который вы вставляете поступает из документа Microsoft Word / Excel. Вы хотите сохранить формат или очистить его?","File Browser":"Браузер файлов","Error on load list":"Ошибка при загрузке списка изображений","Error on load folders":"Ошибка при загрузке списка директорий","Are you sure?":"Вы уверены?","Enter Directory name":"Введите название директории","Create directory":"Создать директорию","type name":"введите название","Drop image":"Перетащите сюда изображение","Drop file":"Перетащите сюда файл","or click":"или нажмите","Alternative text":"Альтернативный текст",Browse:"Сервер",Upload:"Загрузка",Background:"Фон",Text:"Текст",Top:" К верху",Middle:"По середине",Bottom:"К низу","Insert column before":"Вставить столбец до","Insert column after":"Вставить столбец после","Insert row above":"Вставить ряд выше","Insert row below":"Вставить ряд ниже","Delete table":"Удалить таблицу","Delete row":"Удалять ряд","Delete column":"Удалить столбец","Empty cell":"Отчистить ячейку",source:"HTML",bold:"жирный",italic:"курсив",brush:"заливка",link:"ссылка",undo:"отменить",redo:"повторить",table:"таблица",image:"изображение",eraser:"очистить",paragraph:"параграф",fontsize:"размер шрифта",video:"видео",font:"шрифт",about:"о редакторе",print:"печать",symbol:"символ",underline:"подчеркнутый",strikethrough:"перечеркнутый",indent:"отступ",outdent:"выступ",fullsize:"во весь экран",shrink:"обычный размер",copyformat:"Копировать формат",hr:"линия",ul:"Список",ol:"Нумерованный список",cut:"Вырезать",selectall:"Выделить все","Embed code":"Код","Open link":"Открыть ссылку","Edit link":"Редактировать ссылку","No follow":"Атрибут nofollow",Unlink:"Убрать ссылку",Update:"Обновить"," URL":"URL",Edit:"Редактировать","Horizontal align":"Горизонтальное выравнивание",Filter:"Фильтр","Sort by changed":"По изменению","Sort by name":"По имени","Sort by size":"По размеру","Add folder":"Добавить папку",Reset:"Восстановить",Save:"Сохранить","Save as ...":"Сохранить как",Resize:"Изменить размер",Crop:"Обрезать размер",Width:"Ширина",Height:"Высота","Keep Aspect Ratio":"Сохранять пропорции",Yes:"Да",No:"Нет",Remove:"Удалить",Select:"Выделить","Chars: %d":"Символов: %d","Words: %d":"Слов: %d",All:"Выделить все","Select %s":"Выделить: %s","Select all":"Выделить все","Vertical align":"Вертикальное выравнивание",Split:"Разделить","Split vertical":"Разделить по вертикали","Split horizontal":"Разделить по горизонтали",Merge:"Объеденить в одну","Add column":"Добавить столбец","Add row":"Добавить строку",Delete:"Удалить",Border:"Рамка","License: %s":"Лицензия: %s","Strike through":"Перечеркнуть",Underline:"Подчеркивание",superscript:"верхний индекс",subscript:"индекс","Cut selection":"Вырезать",Break:"Разделитель","Search for":"Найти","Replace with":"Заменить на",Replace:"Заменить",Paste:"Вставить","Choose Content to Paste":"Выбрать контент для вставки","You can only edit your own images. Download this image on the host?":"Вы можете редактировать только свои собственные изображения. Загрузить это изображение на ваш сервер?","The image has been successfully uploaded to the host!":"Изображение успешно загружено на сервер!"}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={"Type something":"إبدأ في الكتابة...","About Jodit":"حول جوديت","Jodit Editor":"محرر جوديت","Free Non-commercial Version":"الإصدار الغير تجاري مجاني","GNU General Public License, version 2 or later":"رخصة جنو العمومية العامة ، الإصدار الثاني أو الأحدث","Jodit User's Guide":"دليل مستخدم جوديت","contains detailed help for using":"يحتوي على مساعدة مفصلة للاستخدام","For information about the license, please go to our website:":"للحصول على معلومات حول الترخيص، يرجى الذهاب لموقعنا:","Buy full version":"شراء النسخة الكاملة","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.":"حقوق الطبع والنشر © XDSoft.net - Chupurnov Valeriy. كل الحقوق محفوظة.",Anchor:"مِرْساة","Open in new tab":"فتح في نافذة جديدة","Open editor in fullsize":"فتح المحرر في الحجم الكامل","Clear Formatting":"مسح التنسيق","Fill color or set the text color":"ملء اللون أو تعيين لون النص",Redo:"إعادة",Undo:"تراجع",Bold:"عريض",Italic:"مائل","Insert Unordered List":"إدراج قائمة غير مرتبة","Insert Ordered List":"إدراج قائمة مرتبة","Align Center":"محاذاة للوسط","Align Justify":"محاذاة مثبتة","Align Left":"محاذاة لليسار","Align Right":"محاذاة لليمين","Insert Horizontal Line":"إدراج خط أفقي","Insert Image":"إدراج صورة","Insert file":"ادخال الملف","Insert youtube/vimeo video":"إدراج فيديو يوتيوب/فيميو ","Insert link":"إدراج رابط","Font size":"حجم الخط","Font family":"نوع الخط","Insert format block":"إدراج كتلة تنسيق",Normal:"عادي","Heading 1":"عنوان 1","Heading 2":"عنوان 2","Heading 3":"عنوان 3","Heading 4":"عنوان 4",Quote:"إقتباس",Code:"كود",Insert:"إدراج","Insert table":"إدراج جدول","Decrease Indent":"تقليل المسافة البادئة","Increase Indent":"زيادة المسافة البادئة","Select Special Character":"تحديد أحرف خاصة","Insert Special Character":"إدراج حرف خاص","Paint format":"تنسيق الرسم","Change mode":"تغيير الوضع",Margins:"هوامش",top:"أعلى",right:"يمين",bottom:"أسفل",left:"يسار",Styles:"الأنماط",Classes:"الطبقات",Align:"محاذاة",Right:"اليمين",Center:"الوسط",Left:"اليسار","--Not Set--":"--غير مضبوط--",Src:"Src",Title:"العنوان",Alternative:"العنوان البديل",Link:"الرابط","Open link in new tab":"افتح الرابط في نافذة جديدة",Image:"الصورة",file:"ملف",Advanced:"متقدم","Image properties":"خصائص الصورة",Cancel:"إلغاء",Ok:"حسنا","File Browser":"متصفح الملفات","Error on load list":"حدث خطأ في تحميل القائمة ","Error on load folders":"حدث خطأ في تحميل المجلدات","Are you sure?":"هل أنت واثق؟","Enter Directory name":"أدخل اسم المجلد","Create directory":"إنشاء مجلد","type name":"أكتب إسم","Drop image":"إسقاط صورة","Drop file":"إسقاط الملف","or click":"أو أنقر","Alternative text":"النص البديل",Upload:"رفع",Browse:"تصفح",Background:"الخلفية",Text:"نص",Top:"أعلى",Middle:"الوسط",Bottom:"الأسفل","Insert column before":"إدراج عمود قبل","Insert column after":"إدراج عمود بعد","Insert row above":"إدراج صف أعلى","Insert row below":"إدراج صف أسفل","Delete table":"حذف الجدول","Delete row":"حذف الصف","Delete column":"حذف العمود","Empty cell":"خلية فارغة","Chars: %d":"%d حرف","Words: %d":"%d كلام","Strike through":"اضرب من خلال",Underline:"أكد",superscript:"حرف فوقي",subscript:"مخطوطة","Cut selection":"قطع الاختيار","Select all":"اختر الكل",Break:"استراحة","Search for":"البحث عن","Replace with":"استبدل ب",Replace:"يحل محل",Paste:"معجون","Choose Content to Paste":"اختر محتوى للصق",source:"مصدر",bold:"بالخط العريض",italic:"مائل",brush:"شغل",link:"صلة",undo:"إلغاء",redo:"كرر",table:"طاولة",image:"صورة",eraser:"نظيف",paragraph:"فقرة",fontsize:"حجم الخط",video:"فيديو",font:"الخط",about:"حول المحرر",print:"طباعة",symbol:"رمز",underline:"أكد",strikethrough:"شطب",indent:"المسافة البادئة",outdent:"نتوء",fullsize:"ملء الشاشة",shrink:"الحجم التقليدي",copyformat:"نسخ التنسيق",hr:"الخط",ul:"قائمة",ol:"قائمة مرقمة",cut:"قطع",selectall:"اختر الكل","Embed code":"قانون","Open link":"فتح الرابط","Edit link":"تعديل الرابط","No follow":"سمة Nofollow",Unlink:"إزالة الرابط",Update:"تحديث"," URL":"URL",Edit:"تحرير","Horizontal align":"محاذاة أفقية",Filter:"فلتر","Sort by changed":"عن طريق التغيير","Sort by name":"بالاسم","Sort by size":"حسب الحجم","Add folder":"إضافة مجلد",Reset:"إعادة",Save:"احتفظ","Save as ...":"حفظ باسم",Resize:"تغيير الحجم",Crop:"حجم القطع",Width:"عرض",Height:"ارتفاع","Keep Aspect Ratio":"حافظ على النسب",Yes:"أن",No:"لا",Remove:"حذف",Select:"تميز","Select %s":"تميز %s","Vertical align":"محاذاة عمودية",Split:"انشق، مزق",Merge:"اذهب","Add column":"أضف العمود","Add row":"اضف سطر","License: %s":"رخصة %s",Delete:"حذف","Split vertical":"انقسام عمودي","Split horizontal":"تقسيم أفقي",Border:"الحدود","Your code is similar to HTML. Keep as HTML?":"يشبه الكود الخاص بك HTML. تبقي كما HTML؟","Paste as HTML":"الصق ك HTML",Keep:"احتفظ","Insert as Text":"إدراج كنص","Insert only Text":"إدراج النص فقط","You can only edit your own images. Download this image on the host?":"يمكنك فقط تحرير صورك الخاصة. تحميل هذه الصورة على المضيف؟","The image has been successfully uploaded to the host!":"تم تحميل الصورة بنجاح على الخادم!"}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={"Type something":"输入一些内容",Advanced:"高级","About Jodit":"关于Jodit","Jodit Editor":"Jodit Editor","Free Non-commercial Version":"Free Non-commercial Version","GNU General Public License, version 2 or later":"GNU General Public License, version 2 or later","Jodit User's Guide":"开发者指南","contains detailed help for using":"使用帮助","For information about the license, please go to our website:":"有关许可证的信息,请访问我们的网站:","Buy full version":"购买完整版本","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.",Anchor:"Anchor","Open in new tab":"在新窗口打开","Open editor in fullsize":"全屏编辑","Clear Formatting":"清除样式","Fill color or set the text color":"颜色",Redo:"重做",Undo:"撤销",Bold:"粗体",Italic:"斜体","Insert Unordered List":"符号列表","Insert Ordered List":"编号","Align Center":"居中","Align Justify":"对齐文本","Align Left":"左对齐","Align Right":"右对齐","Insert Horizontal Line":"分割线","Insert Image":"图片","Insert file":"文件","Insert youtube/vimeo video":"youtube/vimeo 视频","Insert link":"链接","Font size":"字号","Font family":"字体","Insert format block":"格式块",Normal:"文本","Heading 1":"标题1","Heading 2":"标题2","Heading 3":"标题3","Heading 4":"标题4",Quote:"引用",Code:"代码",Insert:"插入","Insert table":"表格","Decrease Indent":"减少缩进","Increase Indent":"增加缩进","Select Special Character":"选择特殊符号","Insert Special Character":"特殊符号","Paint format":"格式复制","Change mode":"改变模式",Margins:"外边距(Margins)",top:"top",right:"right",bottom:"bottom",left:"left",Styles:"样式",Classes:"Classes",Align:"对齐方式",Right:"居右",Center:"居中",Left:"居左","--Not Set--":"无",Src:"Src",Title:"Title",Alternative:"Alternative",Link:"Link","Open link in new tab":"在新窗口打开链接",Image:"图片",file:"file",Advansed:"高级","Image properties":"图片属性",Cancel:"取消",Ok:"确定","Your code is similar to HTML. Keep as HTML?":"你粘贴的文本是一段html代码,是否保留源格式","Paste as HTML":"html粘贴",Keep:"保留源格式",Clean:"匹配目标格式","Insert as Text":"把html代码视为普通文本","Word Paste Detected":"文本粘贴","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"正在粘贴 Word/Excel 的文本,是否保留源格式?","Insert only Text":"只保留文本","File Browser":"文件管理","Error on load list":"加载list错误","Error on load folders":"加载folders错误","Are you sure?":"你确定吗?","Enter Directory name":"输入路径","Create directory":"创建路径","type name":"type name","Drop image":"拖动图片到此","Drop file":"拖动文件到此","or click":"或点击","Alternative text":"Alternative text",Browse:"浏览",Upload:"上传",Background:"背景色",Text:"字体颜色",Top:"顶部",Middle:"中间",Bottom:"底部","Insert column before":"在之前插入列","Insert column after":"在之后插入列","Insert row above":"在之前插入行","Insert row below":"在之后插入行","Delete table":"删除表格","Delete row":"删除行","Delete column":"删除列","Empty cell":"清除内容","Chars: %d":"字符数: %d","Words: %d":"单词数: %d","Strike through":"删除线",Underline:"下划线",superscript:"上标",subscript:"下标","Cut selection":"剪切","Select all":"全选",Break:"Pause","Search for":"查找","Replace with":"替换为",Replace:"替换",Paste:"粘贴","Choose Content to Paste":"选择内容并粘贴",source:"源码",bold:"粗体",italic:"斜体",brush:"颜色",link:"链接",undo:"撤销",redo:"重做",table:"表格",image:"图片",eraser:"橡皮擦",paragraph:"段落",fontsize:"字号",video:"视频",font:"字体",about:"关于",print:"打印",symbol:"符号",underline:"下划线",strikethrough:"上出现",indent:"增加缩进",outdent:"减少缩进",fullsize:"全屏",shrink:"收缩",copyformat:"复制格式",hr:"分割线",ul:"无序列表",ol:"顺序列表",cut:"剪切",selectall:"全选","Open link":"打开链接","Edit link":"编辑链接","No follow":"No follow",Unlink:"Unlink"," URL":"URL",Reset:"重置",Save:"保存","Save as ...":"保存为",Resize:"调整大小",Crop:"Crop",Width:"宽",Height:"高","Keep Aspect Ratio":"保存长宽比",Yes:"是",No:"不",Remove:"移除",Select:"选择","Select %s":"选择: %s",Update:"更新","Vertical align":"垂直对齐",Merge:"合并","Add column":"添加列","Add row":"添加行",Delete:"删除","Horizontal align":"水平对齐",Filter:"筛选","Sort by changed":"修改时间排序","Sort by name":"名称排序","Sort by size":"大小排序","Add folder":"新建文件夹","You can only edit your own images. Download this image on the host?":"你只能编辑你自己的图片。Download this image on the host?","The image has been successfully uploaded to the host!":"图片上传成功"}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.about=o(88),t.addcolumn=o(89),t.addrow=o(90),t.angle_left=o(91),t.angle_down=o(92),t.angle_right=o(93),t.angle_up=o(94),t.arrows_alt=o(95),t.arrows_h=o(96),t.attachment=o(97),t.bin=o(98),t.dots=o(99),t.bold=o(100),t.brush=o(101),t.cancel=o(102),t.center=o(103),t.chain_broken=o(104),t.check_square=o(105),t.check=o(106),t.copyformat=o(107),t.crop=o(108),t.cut=o(109),t.dedent=o(110),t.enter=o(111),t.eraser=o(112),t.eye=o(113),t.file=o(114),t.folder=o(115),t.font=o(116),t.fontsize=o(117),t.fullsize=o(118),t.hr=o(119),t.image=o(120),t.info_circle=o(121),t.italic=o(122),t.justify=o(123),t.left=o(124),t.link=o(125),t.lock=o(126),t.menu=o(127),t.merge=o(128),t.ol=o(129),t.paragraph=o(130),t.pencil=o(131),t.plus=o(132),t.redo=o(133),t.resize=o(134),t.resizer=o(135),t.right=o(136),t.save=o(137),t.select_all=o(138),t.shrink=o(139),t.source=o(140),t.splitg=o(141),t.splitv=o(142),t.strikethrough=o(143),t.subscript=o(144),t.superscript=o(145),t.table=o(146),t.th_list=o(147),t.th=o(148),t.ul=o(149),t.underline=o(150),t.undo=o(151),t.unlink=o(152),t.unlock=o(153),t.update=o(154),t.upload=o(155),t.valign=o(156),t.video=o(157),t.outdent=o(158),t.indent=o(159),t.print=o(160),t.omega=o(161)},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M1088 1256v240q0 16-12 28t-28 12h-240q-16 0-28-12t-12-28v-240q0-16 12-28t28-12h240q16 0 28 12t12 28zm316-600q0 54-15.5 101t-35 76.5-55 59.5-57.5 43.5-61 35.5q-41 23-68.5 65t-27.5 67q0 17-12 32.5t-28 15.5h-240q-15 0-25.5-18.5t-10.5-37.5v-45q0-83 65-156.5t143-108.5q59-27 84-56t25-76q0-42-46.5-74t-107.5-32q-65 0-108 29-35 25-107 115-13 16-31 16-12 0-25-8l-164-125q-13-10-15.5-25t5.5-28q160-266 464-266 80 0 161 31t146 83 106 127.5 41 158.5z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 18.151 18.151"><g><g><path d="M6.237,16.546H3.649V1.604h5.916v5.728c0.474-0.122,0.968-0.194,1.479-0.194 c0.042,0,0.083,0.006,0.125,0.006V0H2.044v18.15h5.934C7.295,17.736,6.704,17.19,6.237,16.546z"></path><path d="M11.169,8.275c-2.723,0-4.938,2.215-4.938,4.938s2.215,4.938,4.938,4.938s4.938-2.215,4.938-4.938 S13.892,8.275,11.169,8.275z M11.169,16.81c-1.983,0-3.598-1.612-3.598-3.598c0-1.983,1.614-3.597,3.598-3.597 s3.597,1.613,3.597,3.597C14.766,15.198,13.153,16.81,11.169,16.81z"></path><polygon points="11.792,11.073 10.502,11.073 10.502,12.578 9.03,12.578 9.03,13.868 10.502,13.868 10.502,15.352 11.792,15.352 11.792,13.868 13.309,13.868 13.309,12.578 11.792,12.578 "></polygon></g></g></svg>'},function(e,t){e.exports='<svg viewBox="0 0 432 432"><g><g><polygon points="203.688,96 0,96 0,144 155.688,144 "></polygon><polygon points="155.719,288 0,288 0,336 203.719,336 "></polygon><rect x="252" y="96"></rect><rect></rect><rect x="252" y="288"></rect><rect y="384"></rect><path d="M97.844,230.125c-3.701-3.703-5.856-8.906-5.856-14.141s2.154-10.438,5.856-14.141l9.844-9.844H0v48h107.719 L97.844,230.125z"></path><polygon points="232,176 232,96 112,216 232,336 232,256 432,256 432,176 "></polygon></g></g></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M1203 544q0 13-10 23l-393 393 393 393q10 10 10 23t-10 23l-50 50q-10 10-23 10t-23-10l-466-466q-10-10-10-23t10-23l466-466q10-10 23-10t23 10l50 50q10 10 10 23z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M1395 736q0 13-10 23l-466 466q-10 10-23 10t-23-10l-466-466q-10-10-10-23t10-23l50-50q10-10 23-10t23 10l393 393 393-393q10-10 23-10t23 10l50 50q10 10 10 23z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M1171 960q0 13-10 23l-466 466q-10 10-23 10t-23-10l-50-50q-10-10-10-23t10-23l393-393-393-393q-10-10-10-23t10-23l50-50q10-10 23-10t23 10l466 466q10 10 10 23z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M1395 1184q0 13-10 23l-50 50q-10 10-23 10t-23-10l-393-393-393 393q-10 10-23 10t-23-10l-50-50q-10-10-10-23t10-23l466-466q10-10 23-10t23 10l466 466q10 10 10 23z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M1411 541l-355 355 355 355 144-144q29-31 70-14 39 17 39 59v448q0 26-19 45t-45 19h-448q-42 0-59-40-17-39 14-69l144-144-355-355-355 355 144 144q31 30 14 69-17 40-59 40h-448q-26 0-45-19t-19-45v-448q0-42 40-59 39-17 69 14l144 144 355-355-355-355-144 144q-19 19-45 19-12 0-24-5-40-17-40-59v-448q0-26 19-45t45-19h448q42 0 59 40 17 39-14 69l-144 144 355 355 355-355-144-144q-31-30-14-69 17-40 59-40h448q26 0 45 19t19 45v448q0 42-39 59-13 5-25 5-26 0-45-19z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M1792 896q0 26-19 45l-256 256q-19 19-45 19t-45-19-19-45v-128h-1024v128q0 26-19 45t-45 19-45-19l-256-256q-19-19-19-45t19-45l256-256q19-19 45-19t45 19 19 45v128h1024v-128q0-26 19-45t45-19 45 19l256 256q19 19 19 45z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M1596 1385q0 117-79 196t-196 79q-135 0-235-100l-777-776q-113-115-113-271 0-159 110-270t269-111q158 0 273 113l605 606q10 10 10 22 0 16-30.5 46.5t-46.5 30.5q-13 0-23-10l-606-607q-79-77-181-77-106 0-179 75t-73 181q0 105 76 181l776 777q63 63 145 63 64 0 106-42t42-106q0-82-63-145l-581-581q-26-24-60-24-29 0-48 19t-19 48q0 32 25 59l410 410q10 10 10 22 0 16-31 47t-47 31q-12 0-22-10l-410-410q-63-61-63-149 0-82 57-139t139-57q88 0 149 63l581 581q100 98 100 235z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M704 1376v-704q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23v704q0 14 9 23t23 9h64q14 0 23-9t9-23zm256 0v-704q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23v704q0 14 9 23t23 9h64q14 0 23-9t9-23zm256 0v-704q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23v704q0 14 9 23t23 9h64q14 0 23-9t9-23zm-544-992h448l-48-117q-7-9-17-11h-317q-10 2-17 11zm928 32v64q0 14-9 23t-23 9h-96v948q0 83-47 143.5t-113 60.5h-832q-66 0-113-58.5t-47-141.5v-952h-96q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h309l70-167q15-37 54-63t79-26h320q40 0 79 26t54 63l70 167h309q14 0 23 9t9 23z"></path></svg>'},function(e,t){e.exports='<svg enable-background="new 0 0 24 24" viewBox="0 0 24 24" xml:space="preserve"><circle cx="12" cy="12" r="2.2"></circle><circle cx="12" cy="5" r="2.2"></circle><circle cx="12" cy="19" r="2.2"></circle></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M747 1521q74 32 140 32 376 0 376-335 0-114-41-180-27-44-61.5-74t-67.5-46.5-80.5-25-84-10.5-94.5-2q-73 0-101 10 0 53-.5 159t-.5 158q0 8-1 67.5t-.5 96.5 4.5 83.5 12 66.5zm-14-746q42 7 109 7 82 0 143-13t110-44.5 74.5-89.5 25.5-142q0-70-29-122.5t-79-82-108-43.5-124-14q-50 0-130 13 0 50 4 151t4 152q0 27-.5 80t-.5 79q0 46 1 69zm-541 889l2-94q15-4 85-16t106-27q7-12 12.5-27t8.5-33.5 5.5-32.5 3-37.5.5-34v-65.5q0-982-22-1025-4-8-22-14.5t-44.5-11-49.5-7-48.5-4.5-30.5-3l-4-83q98-2 340-11.5t373-9.5q23 0 68.5.5t67.5.5q70 0 136.5 13t128.5 42 108 71 74 104.5 28 137.5q0 52-16.5 95.5t-39 72-64.5 57.5-73 45-84 40q154 35 256.5 134t102.5 248q0 100-35 179.5t-93.5 130.5-138 85.5-163.5 48.5-176 14q-44 0-132-3t-132-3q-106 0-307 11t-231 12z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M896 1152q0-36-20-69-1-1-15.5-22.5t-25.5-38-25-44-21-50.5q-4-16-21-16t-21 16q-7 23-21 50.5t-25 44-25.5 38-15.5 22.5q-20 33-20 69 0 53 37.5 90.5t90.5 37.5 90.5-37.5 37.5-90.5zm512-128q0 212-150 362t-362 150-362-150-150-362q0-145 81-275 6-9 62.5-90.5t101-151 99.5-178 83-201.5q9-30 34-47t51-17 51.5 17 33.5 47q28 93 83 201.5t99.5 178 101 151 62.5 90.5q81 127 81 275z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 16 16"><g transform="translate(0,-1036.3622)"><path d="m 2,1050.3622 12,-12" style="fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"></path><path d="m 2,1038.3622 12,12" style="fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"></path></g></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M1792 1344v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm-384-384v128q0 26-19 45t-45 19h-896q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h896q26 0 45 19t19 45zm256-384v128q0 26-19 45t-45 19h-1408q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1408q26 0 45 19t19 45zm-384-384v128q0 26-19 45t-45 19h-640q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h640q26 0 45 19t19 45z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M503 1271l-256 256q-10 9-23 9-12 0-23-9-9-10-9-23t9-23l256-256q10-9 23-9t23 9q9 10 9 23t-9 23zm169 41v320q0 14-9 23t-23 9-23-9-9-23v-320q0-14 9-23t23-9 23 9 9 23zm-224-224q0 14-9 23t-23 9h-320q-14 0-23-9t-9-23 9-23 23-9h320q14 0 23 9t9 23zm1264 128q0 120-85 203l-147 146q-83 83-203 83-121 0-204-85l-334-335q-21-21-42-56l239-18 273 274q27 27 68 27.5t68-26.5l147-146q28-28 28-67 0-40-28-68l-274-275 18-239q35 21 56 42l336 336q84 86 84 204zm-617-724l-239 18-273-274q-28-28-68-28-39 0-68 27l-147 146q-28 28-28 67 0 40 28 68l274 274-18 240q-35-21-56-42l-336-336q-84-86-84-204 0-120 85-203l147-146q83-83 203-83 121 0 204 85l334 335q21 21 42 56zm633 84q0 14-9 23t-23 9h-320q-14 0-23-9t-9-23 9-23 23-9h320q14 0 23 9t9 23zm-544-544v320q0 14-9 23t-23 9-23-9-9-23v-320q0-14 9-23t23-9 23 9 9 23zm407 151l-256 256q-11 9-23 9t-23-9q-9-10-9-23t9-23l256-256q10-9 23-9t23 9q9 10 9 23t-9 23z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M813 1299l614-614q19-19 19-45t-19-45l-102-102q-19-19-45-19t-45 19l-467 467-211-211q-19-19-45-19t-45 19l-102 102q-19 19-19 45t19 45l358 358q19 19 45 19t45-19zm851-883v960q0 119-84.5 203.5t-203.5 84.5h-960q-119 0-203.5-84.5t-84.5-203.5v-960q0-119 84.5-203.5t203.5-84.5h960q119 0 203.5 84.5t84.5 203.5z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M1472 930v318q0 119-84.5 203.5t-203.5 84.5h-832q-119 0-203.5-84.5t-84.5-203.5v-832q0-119 84.5-203.5t203.5-84.5h832q63 0 117 25 15 7 18 23 3 17-9 29l-49 49q-10 10-23 10-3 0-9-2-23-6-45-6h-832q-66 0-113 47t-47 113v832q0 66 47 113t113 47h832q66 0 113-47t47-113v-254q0-13 9-22l64-64q10-10 23-10 6 0 12 3 20 8 20 29zm231-489l-814 814q-24 24-57 24t-57-24l-430-430q-24-24-24-57t24-57l110-110q24-24 57-24t57 24l263 263 647-647q24-24 57-24t57 24l110 110q24 24 24 57t-24 57z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 16 16"><path d="M16 9v-6h-3v-1c0-0.55-0.45-1-1-1h-11c-0.55 0-1 0.45-1 1v3c0 0.55 0.45 1 1 1h11c0.55 0 1-0.45 1-1v-1h2v4h-9v2h-0.5c-0.276 0-0.5 0.224-0.5 0.5v5c0 0.276 0.224 0.5 0.5 0.5h2c0.276 0 0.5-0.224 0.5-0.5v-5c0-0.276-0.224-0.5-0.5-0.5h-0.5v-1h9zM12 3h-11v-1h11v1z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M621 1280h595v-595zm-45-45l595-595h-595v595zm1152 77v192q0 14-9 23t-23 9h-224v224q0 14-9 23t-23 9h-192q-14 0-23-9t-9-23v-224h-864q-14 0-23-9t-9-23v-864h-224q-14 0-23-9t-9-23v-192q0-14 9-23t23-9h224v-224q0-14 9-23t23-9h192q14 0 23 9t9 23v224h851l246-247q10-9 23-9t23 9q9 10 9 23t-9 23l-247 246v851h224q14 0 23 9t9 23z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M960 896q26 0 45 19t19 45-19 45-45 19-45-19-19-45 19-45 45-19zm300 64l507 398q28 20 25 56-5 35-35 51l-128 64q-13 7-29 7-17 0-31-8l-690-387-110 66q-8 4-12 5 14 49 10 97-7 77-56 147.5t-132 123.5q-132 84-277 84-136 0-222-78-90-84-79-207 7-76 56-147t131-124q132-84 278-84 83 0 151 31 9-13 22-22l122-73-122-73q-13-9-22-22-68 31-151 31-146 0-278-84-82-53-131-124t-56-147q-5-59 15.5-113t63.5-93q85-79 222-79 145 0 277 84 83 52 132 123t56 148q4 48-10 97 4 1 12 5l110 66 690-387q14-8 31-8 16 0 29 7l128 64q30 16 35 51 3 36-25 56zm-681-260q46-42 21-108t-106-117q-92-59-192-59-74 0-113 36-46 42-21 108t106 117q92 59 192 59 74 0 113-36zm-85 745q81-51 106-117t-21-108q-39-36-113-36-100 0-192 59-81 51-106 117t21 108q39 36 113 36 100 0 192-59zm178-613l96 58v-11q0-36 33-56l14-8-79-47-26 26q-3 3-10 11t-12 12q-2 2-4 3.5t-3 2.5zm224 224l96 32 736-576-128-64-768 431v113l-160 96 9 8q2 2 7 6 4 4 11 12t11 12l26 26zm704 416l128-64-520-408-177 138q-2 3-13 7z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M384 544v576q0 13-9.5 22.5t-22.5 9.5q-14 0-23-9l-288-288q-9-9-9-23t9-23l288-288q9-9 23-9 13 0 22.5 9.5t9.5 22.5zm1408 768v192q0 13-9.5 22.5t-22.5 9.5h-1728q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1728q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1088q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1088q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1088q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1088q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1728q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1728q13 0 22.5 9.5t9.5 22.5z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 128 128" xml:space="preserve"><g><polygon points="112.4560547,23.3203125 112.4560547,75.8154297 31.4853516,75.8154297 31.4853516,61.953125 16.0131836,72.6357422 0.5410156,83.3164063 16.0131836,93.9990234 31.4853516,104.6796875 31.4853516,90.8183594 112.4560547,90.8183594 112.4560547,90.8339844 127.4589844,90.8339844 127.4589844,23.3203125 "></polygon></g></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M832 1408l336-384h-768l-336 384h768zm1013-1077q15 34 9.5 71.5t-30.5 65.5l-896 1024q-38 44-96 44h-768q-38 0-69.5-20.5t-47.5-54.5q-15-34-9.5-71.5t30.5-65.5l896-1024q38-44 96-44h768q38 0 69.5 20.5t47.5 54.5z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M1664 960q-152-236-381-353 61 104 61 225 0 185-131.5 316.5t-316.5 131.5-316.5-131.5-131.5-316.5q0-121 61-225-229 117-381 353 133 205 333.5 326.5t434.5 121.5 434.5-121.5 333.5-326.5zm-720-384q0-20-14-34t-34-14q-125 0-214.5 89.5t-89.5 214.5q0 20 14 34t34 14 34-14 14-34q0-86 61-147t147-61q20 0 34-14t14-34zm848 384q0 34-20 69-140 230-376.5 368.5t-499.5 138.5-499.5-139-376.5-368q-20-35-20-69t20-69q140-229 376.5-368t499.5-139 499.5 139 376.5 368q20 35 20 69z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M1152 512v-472q22 14 36 28l408 408q14 14 28 36h-472zm-128 32q0 40 28 68t68 28h544v1056q0 40-28 68t-68 28h-1344q-40 0-68-28t-28-68v-1600q0-40 28-68t68-28h800v544z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M1728 608v704q0 92-66 158t-158 66h-1216q-92 0-158-66t-66-158v-960q0-92 66-158t158-66h320q92 0 158 66t66 158v32h672q92 0 158 66t66 158z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M789 559l-170 450q33 0 136.5 2t160.5 2q19 0 57-2-87-253-184-452zm-725 1105l2-79q23-7 56-12.5t57-10.5 49.5-14.5 44.5-29 31-50.5l237-616 280-724h128q8 14 11 21l205 480q33 78 106 257.5t114 274.5q15 34 58 144.5t72 168.5q20 45 35 57 19 15 88 29.5t84 20.5q6 38 6 57 0 4-.5 13t-.5 13q-63 0-190-8t-191-8q-76 0-215 7t-178 8q0-43 4-78l131-28q1 0 12.5-2.5t15.5-3.5 14.5-4.5 15-6.5 11-8 9-11 2.5-14q0-16-31-96.5t-72-177.5-42-100l-450-2q-26 58-76.5 195.5t-50.5 162.5q0 22 14 37.5t43.5 24.5 48.5 13.5 57 8.5 41 4q1 19 1 58 0 9-2 27-58 0-174.5-10t-174.5-10q-8 0-26.5 4t-21.5 4q-80 14-188 14z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M1744 1408q33 0 42 18.5t-11 44.5l-126 162q-20 26-49 26t-49-26l-126-162q-20-26-11-44.5t42-18.5h80v-1024h-80q-33 0-42-18.5t11-44.5l126-162q20-26 49-26t49 26l126 162q20 26 11 44.5t-42 18.5h-80v1024h80zm-1663-1279l54 27q12 5 211 5 44 0 132-2t132-2q36 0 107.5.5t107.5.5h293q6 0 21 .5t20.5 0 16-3 17.5-9 15-17.5l42-1q4 0 14 .5t14 .5q2 112 2 336 0 80-5 109-39 14-68 18-25-44-54-128-3-9-11-48t-14.5-73.5-7.5-35.5q-6-8-12-12.5t-15.5-6-13-2.5-18-.5-16.5.5q-17 0-66.5-.5t-74.5-.5-64 2-71 6q-9 81-8 136 0 94 2 388t2 455q0 16-2.5 71.5t0 91.5 12.5 69q40 21 124 42.5t120 37.5q5 40 5 50 0 14-3 29l-34 1q-76 2-218-8t-207-10q-50 0-151 9t-152 9q-3-51-3-52v-9q17-27 61.5-43t98.5-29 78-27q19-42 19-383 0-101-3-303t-3-303v-117q0-2 .5-15.5t.5-25-1-25.5-3-24-5-14q-11-12-162-12-33 0-93 12t-80 26q-19 13-34 72.5t-31.5 111-42.5 53.5q-42-26-56-44v-383z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 24 24"><path d="M22,20.6L3.4,2H8V0H0v8h2V3.4L20.6,22H16v2h8v-8h-2V20.6z M16,0v2h4.7l-6.3,6.3l1.4,1.4L22,3.5V8h2V0H16z M8.3,14.3L2,20.6V16H0v8h8v-2H3.5l6.3-6.3L8.3,14.3z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M1600 736v192q0 40-28 68t-68 28h-1216q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h1216q40 0 68 28t28 68z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M576 576q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm1024 384v448h-1408v-192l320-320 160 160 512-512zm96-704h-1600q-13 0-22.5 9.5t-9.5 22.5v1216q0 13 9.5 22.5t22.5 9.5h1600q13 0 22.5-9.5t9.5-22.5v-1216q0-13-9.5-22.5t-22.5-9.5zm160 32v1216q0 66-47 113t-113 47h-1600q-66 0-113-47t-47-113v-1216q0-66 47-113t113-47h1600q66 0 113 47t47 113z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M1152 1376v-160q0-14-9-23t-23-9h-96v-512q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v160q0 14 9 23t23 9h96v320h-96q-14 0-23 9t-9 23v160q0 14 9 23t23 9h448q14 0 23-9t9-23zm-128-896v-160q0-14-9-23t-23-9h-192q-14 0-23 9t-9 23v160q0 14 9 23t23 9h192q14 0 23-9t9-23zm640 416q0 209-103 385.5t-279.5 279.5-385.5 103-385.5-103-279.5-279.5-103-385.5 103-385.5 279.5-279.5 385.5-103 385.5 103 279.5 279.5 103 385.5z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M384 1662l17-85q6-2 81.5-21.5t111.5-37.5q28-35 41-101 1-7 62-289t114-543.5 52-296.5v-25q-24-13-54.5-18.5t-69.5-8-58-5.5l19-103q33 2 120 6.5t149.5 7 120.5 2.5q48 0 98.5-2.5t121-7 98.5-6.5q-5 39-19 89-30 10-101.5 28.5t-108.5 33.5q-8 19-14 42.5t-9 40-7.5 45.5-6.5 42q-27 148-87.5 419.5t-77.5 355.5q-2 9-13 58t-20 90-16 83.5-6 57.5l1 18q17 4 185 31-3 44-16 99-11 0-32.5 1.5t-32.5 1.5q-29 0-87-10t-86-10q-138-2-206-2-51 0-143 9t-121 11z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M1792 1344v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M1792 1344v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm-384-384v128q0 26-19 45t-45 19h-1280q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1280q26 0 45 19t19 45zm256-384v128q0 26-19 45t-45 19h-1536q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1536q26 0 45 19t19 45zm-384-384v128q0 26-19 45t-45 19h-1152q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1152q26 0 45 19t19 45z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M1520 1216q0-40-28-68l-208-208q-28-28-68-28-42 0-72 32 3 3 19 18.5t21.5 21.5 15 19 13 25.5 3.5 27.5q0 40-28 68t-68 28q-15 0-27.5-3.5t-25.5-13-19-15-21.5-21.5-18.5-19q-33 31-33 73 0 40 28 68l206 207q27 27 68 27 40 0 68-26l147-146q28-28 28-67zm-703-705q0-40-28-68l-206-207q-28-28-68-28-39 0-68 27l-147 146q-28 28-28 67 0 40 28 68l208 208q27 27 68 27 42 0 72-31-3-3-19-18.5t-21.5-21.5-15-19-13-25.5-3.5-27.5q0-40 28-68t68-28q15 0 27.5 3.5t25.5 13 19 15 21.5 21.5 18.5 19q33-31 33-73zm895 705q0 120-85 203l-147 146q-83 83-203 83-121 0-204-85l-206-207q-83-83-83-203 0-123 88-209l-88-88q-86 88-208 88-120 0-204-84l-208-208q-84-84-84-204t85-203l147-146q83-83 203-83 121 0 204 85l206 207q83 83 83 203 0 123-88 209l88 88q86-88 208-88 120 0 204 84l208 208q84 84 84 204z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M640 768h512v-192q0-106-75-181t-181-75-181 75-75 181v192zm832 96v576q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-576q0-40 28-68t68-28h32v-192q0-184 132-316t316-132 316 132 132 316v192h32q40 0 68 28t28 68z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M1664 1344v128q0 26-19 45t-45 19h-1408q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1408q26 0 45 19t19 45zm0-512v128q0 26-19 45t-45 19h-1408q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1408q26 0 45 19t19 45zm0-512v128q0 26-19 45t-45 19h-1408q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1408q26 0 45 19t19 45z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 312.000000 312.000000"><g transform="translate(0.000000,312.000000) scale(0.100000,-0.100000)" stroke="none"><path d="M50 3109 c0 -7 -11 -22 -25 -35 l-25 -23 0 -961 0 -961 32 -29 32 -30 501 -2 500 -3 3 -502 2 -502 31 -30 31 -31 958 0 958 0 23 25 c13 13 30 25 37 25 9 0 12 199 12 960 0 686 -3 960 -11 960 -6 0 -24 12 -40 28 l-29 27 -503 5 -502 5 -5 502 -5 503 -28 29 c-15 16 -27 34 -27 40 0 8 -274 11 -960 11 -710 0 -960 -3 -960 -11z m1738 -698 l2 -453 -40 -40 c-22 -22 -40 -43 -40 -47 0 -4 36 -42 79 -85 88 -87 82 -87 141 -23 l26 27 455 -2 454 -3 0 -775 0 -775 -775 0 -775 0 -3 450 -2 449 47 48 47 48 -82 80 c-44 44 -84 80 -87 80 -3 0 -25 -18 -48 -40 l-41 -40 -456 2 -455 3 -3 765 c-1 421 0 771 3 778 3 10 164 12 777 10 l773 -3 3 -454z"></path><path d="M607 2492 c-42 -42 -77 -82 -77 -87 0 -6 86 -96 190 -200 105 -104 190 -197 190 -205 0 -8 -41 -56 -92 -107 -65 -65 -87 -94 -77 -98 8 -3 138 -4 289 -3 l275 3 3 275 c1 151 0 281 -3 289 -4 10 -35 -14 -103 -82 -54 -53 -103 -97 -109 -97 -7 0 -99 88 -206 195 -107 107 -196 195 -198 195 -3 0 -39 -35 -82 -78z"></path><path d="M1470 1639 c-47 -49 -87 -91 -89 -94 -5 -6 149 -165 160 -165 9 0 189 179 189 188 0 12 -154 162 -165 161 -6 0 -48 -41 -95 -90z"></path><path d="M1797 1303 c-9 -8 -9 -568 0 -576 4 -4 50 36 103 88 54 52 101 95 106 95 5 0 95 -85 199 -190 104 -104 194 -190 200 -190 6 0 46 36 90 80 l79 79 -197 196 c-108 108 -197 199 -197 203 0 4 45 52 99 106 55 55 98 103 95 108 -6 10 -568 11 -577 1z"></path></g></svg>'},function(e,t){e.exports='<svg role="img" viewBox="0 0 1792 1792"><path d="M381 1620q0 80-54.5 126t-135.5 46q-106 0-172-66l57-88q49 45 106 45 29 0 50.5-14.5t21.5-42.5q0-64-105-56l-26-56q8-10 32.5-43.5t42.5-54 37-38.5v-1q-16 0-48.5 1t-48.5 1v53h-106v-152h333v88l-95 115q51 12 81 49t30 88zm2-627v159h-362q-6-36-6-54 0-51 23.5-93t56.5-68 66-47.5 56.5-43.5 23.5-45q0-25-14.5-38.5t-39.5-13.5q-46 0-81 58l-85-59q24-51 71.5-79.5t105.5-28.5q73 0 123 41.5t50 112.5q0 50-34 91.5t-75 64.5-75.5 50.5-35.5 52.5h127v-60h105zm1409 319v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-14 9-23t23-9h1216q13 0 22.5 9.5t9.5 22.5zm-1408-899v99h-335v-99h107q0-41 .5-122t.5-121v-12h-2q-8 17-50 54l-71-76 136-127h106v404h108zm1408 387v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-14 9-23t23-9h1216q13 0 22.5 9.5t9.5 22.5zm0-512v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M1534 189v73q0 29-18.5 61t-42.5 32q-50 0-54 1-26 6-32 31-3 11-3 64v1152q0 25-18 43t-43 18h-108q-25 0-43-18t-18-43v-1218h-143v1218q0 25-17.5 43t-43.5 18h-108q-26 0-43.5-18t-17.5-43v-496q-147-12-245-59-126-58-192-179-64-117-64-259 0-166 88-286 88-118 209-159 111-37 417-37h479q25 0 43 18t18 43z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M491 1536l91-91-235-235-91 91v107h128v128h107zm523-928q0-22-22-22-10 0-17 7l-542 542q-7 7-7 17 0 22 22 22 10 0 17-7l542-542q7-7 7-17zm-54-192l416 416-832 832h-416v-416zm683 96q0 53-37 90l-166 166-416-416 166-165q36-38 90-38 53 0 91 38l235 234q37 39 37 91z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M1600 736v192q0 40-28 68t-68 28h-416v416q0 40-28 68t-68 28h-192q-40 0-68-28t-28-68v-416h-416q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h416v-416q0-40 28-68t68-28h192q40 0 68 28t28 68v416h416q40 0 68 28t28 68z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M1664 256v448q0 26-19 45t-45 19h-448q-42 0-59-40-17-39 14-69l138-138q-148-137-349-137-104 0-198.5 40.5t-163.5 109.5-109.5 163.5-40.5 198.5 40.5 198.5 109.5 163.5 163.5 109.5 198.5 40.5q119 0 225-52t179-147q7-10 23-12 14 0 25 9l137 138q9 8 9.5 20.5t-7.5 22.5q-109 132-264 204.5t-327 72.5q-156 0-298-61t-245-164-164-245-61-298 61-298 164-245 245-164 298-61q147 0 284.5 55.5t244.5 156.5l130-129q29-31 70-14 39 17 39 59z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 24 24" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns"><title></title><desc></desc><defs></defs><g><g transform="translate(-251.000000, -443.000000)"><g transform="translate(215.000000, 119.000000)"></g><path d="M252,448 L256,448 L256,444 L252,444 L252,448 Z M257,448 L269,448 L269,446 L257,446 L257,448 Z M257,464 L269,464 L269,462 L257,462 L257,464 Z M270,444 L270,448 L274,448 L274,444 L270,444 Z M252,462 L252,466 L256,466 L256,462 L252,462 Z M270,462 L270,466 L274,466 L274,462 L270,462 Z M254,461 L256,461 L256,449 L254,449 L254,461 Z M270,461 L272,461 L272,449 L270,449 L270,461 Z"></path></g></g></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M844 472q0 60-19 113.5t-63 92.5-105 39q-76 0-138-57.5t-92-135.5-30-151q0-60 19-113.5t63-92.5 105-39q77 0 138.5 57.5t91.5 135 30 151.5zm-342 483q0 80-42 139t-119 59q-76 0-141.5-55.5t-100.5-133.5-35-152q0-80 42-139.5t119-59.5q76 0 141.5 55.5t100.5 134 35 152.5zm394-27q118 0 255 97.5t229 237 92 254.5q0 46-17 76.5t-48.5 45-64.5 20-76 5.5q-68 0-187.5-45t-182.5-45q-66 0-192.5 44.5t-200.5 44.5q-183 0-183-146 0-86 56-191.5t139.5-192.5 187.5-146 193-59zm239-211q-61 0-105-39t-63-92.5-19-113.5q0-74 30-151.5t91.5-135 138.5-57.5q61 0 105 39t63 92.5 19 113.5q0 73-30 151t-92 135.5-138 57.5zm432-104q77 0 119 59.5t42 139.5q0 74-35 152t-100.5 133.5-141.5 55.5q-77 0-119-59t-42-139q0-74 35-152.5t100.5-134 141.5-55.5z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M1792 1344v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1280q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1280q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1536q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1536q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1152q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1152q26 0 45 19t19 45z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M512 1536h768v-384h-768v384zm896 0h128v-896q0-14-10-38.5t-20-34.5l-281-281q-10-10-34-20t-39-10v416q0 40-28 68t-68 28h-576q-40 0-68-28t-28-68v-416h-128v1280h128v-416q0-40 28-68t68-28h832q40 0 68 28t28 68v416zm-384-928v-320q0-13-9.5-22.5t-22.5-9.5h-192q-13 0-22.5 9.5t-9.5 22.5v320q0 13 9.5 22.5t22.5 9.5h192q13 0 22.5-9.5t9.5-22.5zm640 32v928q0 40-28 68t-68 28h-1344q-40 0-68-28t-28-68v-1344q0-40 28-68t68-28h928q40 0 88 20t76 48l280 280q28 28 48 76t20 88z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 18 18"><g fill-rule="evenodd" stroke="none" stroke-width="1"><g transform="translate(-381.000000, -381.000000)"><g transform="translate(381.000000, 381.000000)"><path d="M0,2 L2,2 L2,0 C0.9,0 0,0.9 0,2 L0,2 Z M0,10 L2,10 L2,8 L0,8 L0,10 L0,10 Z M4,18 L6,18 L6,16 L4,16 L4,18 L4,18 Z M0,6 L2,6 L2,4 L0,4 L0,6 L0,6 Z M10,0 L8,0 L8,2 L10,2 L10,0 L10,0 Z M16,0 L16,2 L18,2 C18,0.9 17.1,0 16,0 L16,0 Z M2,18 L2,16 L0,16 C0,17.1 0.9,18 2,18 L2,18 Z M0,14 L2,14 L2,12 L0,12 L0,14 L0,14 Z M6,0 L4,0 L4,2 L6,2 L6,0 L6,0 Z M8,18 L10,18 L10,16 L8,16 L8,18 L8,18 Z M16,10 L18,10 L18,8 L16,8 L16,10 L16,10 Z M16,18 C17.1,18 18,17.1 18,16 L16,16 L16,18 L16,18 Z M16,6 L18,6 L18,4 L16,4 L16,6 L16,6 Z M16,14 L18,14 L18,12 L16,12 L16,14 L16,14 Z M12,18 L14,18 L14,16 L12,16 L12,18 L12,18 Z M12,2 L14,2 L14,0 L12,0 L12,2 L12,2 Z M4,14 L14,14 L14,4 L4,4 L4,14 L4,14 Z M6,6 L12,6 L12,12 L6,12 L6,6 L6,6 Z"></path></g></g></g></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M896 960v448q0 26-19 45t-45 19-45-19l-144-144-332 332q-10 10-23 10t-23-10l-114-114q-10-10-10-23t10-23l332-332-144-144q-19-19-19-45t19-45 45-19h448q26 0 45 19t19 45zm755-672q0 13-10 23l-332 332 144 144q19 19 19 45t-19 45-45 19h-448q-26 0-45-19t-19-45v-448q0-26 19-45t45-19 45 19l144 144 332-332q10-10 23-10t23 10l114 114q10 10 10 23z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M553 1399l-50 50q-10 10-23 10t-23-10l-466-466q-10-10-10-23t10-23l466-466q10-10 23-10t23 10l50 50q10 10 10 23t-10 23l-393 393 393 393q10 10 10 23t-10 23zm591-1067l-373 1291q-4 13-15.5 19.5t-23.5 2.5l-62-17q-13-4-19.5-15.5t-2.5-24.5l373-1291q4-13 15.5-19.5t23.5-2.5l62 17q13 4 19.5 15.5t2.5 24.5zm657 651l-466 466q-10 10-23 10t-23-10l-50-50q-10-10-10-23t10-23l393-393-393-393q-10-10-10-23t10-23l50-50q10-10 23-10t23 10l466 466q10 10 10 23t-10 23z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 48 48"><path d="M6 42h4v-4h-4v4zm4-28h-4v4h4v-4zm-4 20h4v-4h-4v4zm8 8h4v-4h-4v4zm-4-36h-4v4h4v-4zm8 0h-4v4h4v-4zm16 0h-4v4h4v-4zm-8 8h-4v4h4v-4zm0-8h-4v4h4v-4zm12 28h4v-4h-4v4zm-16 8h4v-4h-4v4zm-16-16h36v-4h-36v4zm32-20v4h4v-4h-4zm0 12h4v-4h-4v4zm-16 16h4v-4h-4v4zm8 8h4v-4h-4v4zm8 0h4v-4h-4v4z"></path><path d="M0 0h48v48h-48z" fill="none"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 48 48"><path d="M6 18h4v-4h-4v4zm0-8h4v-4h-4v4zm8 32h4v-4h-4v4zm0-16h4v-4h-4v4zm-8 0h4v-4h-4v4zm0 16h4v-4h-4v4zm0-8h4v-4h-4v4zm8-24h4v-4h-4v4zm24 24h4v-4h-4v4zm-16 8h4v-36h-4v36zm16 0h4v-4h-4v4zm0-16h4v-4h-4v4zm0-20v4h4v-4h-4zm0 12h4v-4h-4v4zm-8-8h4v-4h-4v4zm0 32h4v-4h-4v4zm0-16h4v-4h-4v4z"></path><path d="M0 0h48v48h-48z" fill="none"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M1760 896q14 0 23 9t9 23v64q0 14-9 23t-23 9h-1728q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h1728zm-1277-64q-28-35-51-80-48-97-48-188 0-181 134-309 133-127 393-127 50 0 167 19 66 12 177 48 10 38 21 118 14 123 14 183 0 18-5 45l-12 3-84-6-14-2q-50-149-103-205-88-91-210-91-114 0-182 59-67 58-67 146 0 73 66 140t279 129q69 20 173 66 58 28 95 52h-743zm507 256h411q7 39 7 92 0 111-41 212-23 55-71 104-37 35-109 81-80 48-153 66-80 21-203 21-114 0-195-23l-140-40q-57-16-72-28-8-8-8-22v-13q0-108-2-156-1-30 0-68l2-37v-44l102-2q15 34 30 71t22.5 56 12.5 27q35 57 80 94 43 36 105 57 59 22 132 22 64 0 139-27 77-26 122-86 47-61 47-129 0-84-81-157-34-29-137-71z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M1025 1369v167h-248l-159-252-24-42q-8-9-11-21h-3l-9 21q-10 20-25 44l-155 250h-258v-167h128l197-291-185-272h-137v-168h276l139 228q2 4 23 42 8 9 11 21h3q3-9 11-21l25-42 140-228h257v168h-125l-184 267 204 296h109zm639 217v206h-514l-4-27q-3-45-3-46 0-64 26-117t65-86.5 84-65 84-54.5 65-54 26-64q0-38-29.5-62.5t-70.5-24.5q-51 0-97 39-14 11-36 38l-105-92q26-37 63-66 80-65 188-65 110 0 178 59.5t68 158.5q0 66-34.5 118.5t-84 86-99.5 62.5-87 63-41 73h232v-80h126z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M1025 1369v167h-248l-159-252-24-42q-8-9-11-21h-3l-9 21q-10 20-25 44l-155 250h-258v-167h128l197-291-185-272h-137v-168h276l139 228q2 4 23 42 8 9 11 21h3q3-9 11-21l25-42 140-228h257v168h-125l-184 267 204 296h109zm637-679v206h-514l-3-27q-4-28-4-46 0-64 26-117t65-86.5 84-65 84-54.5 65-54 26-64q0-38-29.5-62.5t-70.5-24.5q-51 0-97 39-14 11-36 38l-105-92q26-37 63-66 83-65 188-65 110 0 178 59.5t68 158.5q0 56-24.5 103t-62 76.5-81.5 58.5-82 50.5-65.5 51.5-30.5 63h232v-80h126z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M576 1376v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm0-384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm512 384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm-512-768v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm512 384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm512 384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm-512-768v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm512 384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm0-384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm128-320v1088q0 66-47 113t-113 47h-1344q-66 0-113-47t-47-113v-1088q0-66 47-113t113-47h1344q66 0 113 47t47 113z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M512 1248v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm0-512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm1280 512v192q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h960q40 0 68 28t28 68zm-1280-1024v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm1280 512v192q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h960q40 0 68 28t28 68zm0-512v192q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h960q40 0 68 28t28 68z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M512 1248v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm0-512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm640 512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm-640-1024v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm640 512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm640 512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm-640-1024v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm640 512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm0-512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M384 1408q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm0-512q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm1408 416v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5zm-1408-928q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm1408 416v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5zm0-512v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M176 223q-37-2-45-4l-3-88q13-1 40-1 60 0 112 4 132 7 166 7 86 0 168-3 116-4 146-5 56 0 86-2l-1 14 2 64v9q-60 9-124 9-60 0-79 25-13 14-13 132 0 13 .5 32.5t.5 25.5l1 229 14 280q6 124 51 202 35 59 96 92 88 47 177 47 104 0 191-28 56-18 99-51 48-36 65-64 36-56 53-114 21-73 21-229 0-79-3.5-128t-11-122.5-13.5-159.5l-4-59q-5-67-24-88-34-35-77-34l-100 2-14-3 2-86h84l205 10q76 3 196-10l18 2q6 38 6 51 0 7-4 31-45 12-84 13-73 11-79 17-15 15-15 41 0 7 1.5 27t1.5 31q8 19 22 396 6 195-15 304-15 76-41 122-38 65-112 123-75 57-182 89-109 33-255 33-167 0-284-46-119-47-179-122-61-76-83-195-16-80-16-237v-333q0-188-17-213-25-36-147-39zm1488 1409v-64q0-14-9-23t-23-9h-1472q-14 0-23 9t-9 23v64q0 14 9 23t23 9h1472q14 0 23-9t9-23z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M1664 896q0 156-61 298t-164 245-245 164-298 61q-172 0-327-72.5t-264-204.5q-7-10-6.5-22.5t8.5-20.5l137-138q10-9 25-9 16 2 23 12 73 95 179 147t225 52q104 0 198.5-40.5t163.5-109.5 109.5-163.5 40.5-198.5-40.5-198.5-109.5-163.5-163.5-109.5-198.5-40.5q-98 0-188 35.5t-160 101.5l137 138q31 30 14 69-17 40-59 40h-448q-26 0-45-19t-19-45v-448q0-42 40-59 39-17 69 14l130 129q107-101 244.5-156.5t284.5-55.5q156 0 298 61t245 164 164 245 61 298z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M503 1271l-256 256q-10 9-23 9-12 0-23-9-9-10-9-23t9-23l256-256q10-9 23-9t23 9q9 10 9 23t-9 23zm169 41v320q0 14-9 23t-23 9-23-9-9-23v-320q0-14 9-23t23-9 23 9 9 23zm-224-224q0 14-9 23t-23 9h-320q-14 0-23-9t-9-23 9-23 23-9h320q14 0 23 9t9 23zm1264 128q0 120-85 203l-147 146q-83 83-203 83-121 0-204-85l-334-335q-21-21-42-56l239-18 273 274q27 27 68 27.5t68-26.5l147-146q28-28 28-67 0-40-28-68l-274-275 18-239q35 21 56 42l336 336q84 86 84 204zm-617-724l-239 18-273-274q-28-28-68-28-39 0-68 27l-147 146q-28 28-28 67 0 40 28 68l274 274-18 240q-35-21-56-42l-336-336q-84-86-84-204 0-120 85-203l147-146q83-83 203-83 121 0 204 85l334 335q21 21 42 56zm633 84q0 14-9 23t-23 9h-320q-14 0-23-9t-9-23 9-23 23-9h320q14 0 23 9t9 23zm-544-544v320q0 14-9 23t-23 9-23-9-9-23v-320q0-14 9-23t23-9 23 9 9 23zm407 151l-256 256q-11 9-23 9t-23-9q-9-10-9-23t9-23l256-256q10-9 23-9t23 9q9 10 9 23t-9 23z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M1728 576v256q0 26-19 45t-45 19h-64q-26 0-45-19t-19-45v-256q0-106-75-181t-181-75-181 75-75 181v192h96q40 0 68 28t28 68v576q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-576q0-40 28-68t68-28h672v-192q0-185 131.5-316.5t316.5-131.5 316.5 131.5 131.5 316.5z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M1639 1056q0 5-1 7-64 268-268 434.5t-478 166.5q-146 0-282.5-55t-243.5-157l-129 129q-19 19-45 19t-45-19-19-45v-448q0-26 19-45t45-19h448q26 0 45 19t19 45-19 45l-137 137q71 66 161 102t187 36q134 0 250-65t186-179q11-17 53-117 8-23 30-23h192q13 0 22.5 9.5t9.5 22.5zm25-800v448q0 26-19 45t-45 19h-448q-26 0-45-19t-19-45 19-45l138-138q-148-137-349-137-134 0-250 65t-186 179q-11 17-53 117-8 23-30 23h-199q-13 0-22.5-9.5t-9.5-22.5v-7q65-268 270-434.5t480-166.5q146 0 284 55.5t245 156.5l130-129q19-19 45-19t45 19 19 45z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M1344 1472q0-26-19-45t-45-19-45 19-19 45 19 45 45 19 45-19 19-45zm256 0q0-26-19-45t-45-19-45 19-19 45 19 45 45 19 45-19 19-45zm128-224v320q0 40-28 68t-68 28h-1472q-40 0-68-28t-28-68v-320q0-40 28-68t68-28h427q21 56 70.5 92t110.5 36h256q61 0 110.5-36t70.5-92h427q40 0 68 28t28 68zm-325-648q-17 40-59 40h-256v448q0 26-19 45t-45 19h-256q-26 0-45-19t-19-45v-448h-256q-42 0-59-40-17-39 14-69l448-448q18-19 45-19t45 19l448 448q31 30 14 69z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M1216 320q0 26-19 45t-45 19h-128v1024h128q26 0 45 19t19 45-19 45l-256 256q-19 19-45 19t-45-19l-256-256q-19-19-19-45t19-45 45-19h128v-1024h-128q-26 0-45-19t-19-45 19-45l256-256q19-19 45-19t45 19l256 256q19 19 19 45z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M1792 352v1088q0 42-39 59-13 5-25 5-27 0-45-19l-403-403v166q0 119-84.5 203.5t-203.5 84.5h-704q-119 0-203.5-84.5t-84.5-203.5v-704q0-119 84.5-203.5t203.5-84.5h704q119 0 203.5 84.5t84.5 203.5v165l403-402q18-19 45-19 12 0 25 5 39 17 39 59z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M384 544v576q0 13-9.5 22.5t-22.5 9.5q-14 0-23-9l-288-288q-9-9-9-23t9-23l288-288q9-9 23-9 13 0 22.5 9.5t9.5 22.5zm1408 768v192q0 13-9.5 22.5t-22.5 9.5h-1728q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1728q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1088q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1088q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1088q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1088q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1728q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1728q13 0 22.5 9.5t9.5 22.5z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M352 832q0 14-9 23l-288 288q-9 9-23 9-13 0-22.5-9.5t-9.5-22.5v-576q0-13 9.5-22.5t22.5-9.5q14 0 23 9l288 288q9 9 9 23zm1440 480v192q0 13-9.5 22.5t-22.5 9.5h-1728q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1728q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1088q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1088q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1088q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1088q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1728q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1728q13 0 22.5 9.5t9.5 22.5z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 1792 1792"><path d="M448 1536h896v-256h-896v256zm0-640h896v-384h-160q-40 0-68-28t-28-68v-160h-640v640zm1152 64q0-26-19-45t-45-19-45 19-19 45 19 45 45 19 45-19 19-45zm128 0v416q0 13-9.5 22.5t-22.5 9.5h-224v160q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-160h-224q-13 0-22.5-9.5t-9.5-22.5v-416q0-79 56.5-135.5t135.5-56.5h64v-544q0-40 28-68t68-28h672q40 0 88 20t76 48l152 152q28 28 48 76t20 88v256h64q79 0 135.5 56.5t56.5 135.5z"></path></svg>'},function(e,t){e.exports='<svg viewBox="0 0 270 270"><path d="m240.443652,220.45085l-47.410809,0l0,-10.342138c13.89973,-8.43655 25.752896,-19.844464 34.686646,-33.469923c11.445525,-17.455846 17.496072,-37.709239 17.496072,-58.570077c0,-59.589197 -49.208516,-108.068714 -109.693558,-108.068714s-109.69263,48.479517 -109.69263,108.069628c0,20.860839 6.050547,41.113316 17.497001,58.570077c8.93375,13.625459 20.787845,25.032458 34.686646,33.469008l0,10.342138l-47.412666,0c-10.256959,0 -18.571354,8.191376 -18.571354,18.296574c0,10.105198 8.314395,18.296574 18.571354,18.296574l65.98402,0c10.256959,0 18.571354,-8.191376 18.571354,-18.296574l0,-39.496814c0,-7.073455 -4.137698,-13.51202 -10.626529,-16.537358c-25.24497,-11.772016 -41.557118,-37.145704 -41.557118,-64.643625c0,-39.411735 32.545369,-71.476481 72.549922,-71.476481c40.004553,0 72.550851,32.064746 72.550851,71.476481c0,27.497006 -16.312149,52.87161 -41.557118,64.643625c-6.487902,3.026253 -10.6256,9.464818 -10.6256,16.537358l0,39.496814c0,10.105198 8.314395,18.296574 18.571354,18.296574l65.982163,0c10.256959,0 18.571354,-8.191376 18.571354,-18.296574c0,-10.105198 -8.314395,-18.296574 -18.571354,-18.296574z"></path></svg>'}])},e.exports=o()}).call(t,o(16))},function(e,t){var o,i,n=e.exports={};function r(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(o===setTimeout)return setTimeout(e,0);if((o===r||!o)&&setTimeout)return o=setTimeout,setTimeout(e,0);try{return o(e,0)}catch(t){try{return o.call(null,e,0)}catch(t){return o.call(this,e,0)}}}!function(){try{o="function"==typeof setTimeout?setTimeout:r}catch(e){o=r}try{i="function"==typeof clearTimeout?clearTimeout:a}catch(e){i=a}}();var l,c=[],d=!1,u=-1;function p(){d&&l&&(d=!1,l.length?c=l.concat(c):u=-1,c.length&&f())}function f(){if(!d){var e=s(p);d=!0;for(var t=c.length;t;){for(l=c,c=[];++u<t;)l&&l[u].run();u=-1,t=c.length}l=null,d=!1,function(e){if(i===clearTimeout)return clearTimeout(e);if((i===a||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(e);try{i(e)}catch(t){try{return i.call(null,e)}catch(t){return i.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function g(){}n.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var o=1;o<arguments.length;o++)t[o-1]=arguments[o];c.push(new h(e,t)),1!==c.length||d||s(f)},h.prototype.run=function(){this.fun.apply(null,this.array)},n.title="browser",n.browser=!0,n.env={},n.argv=[],n.version="",n.versions={},n.on=g,n.addListener=g,n.once=g,n.off=g,n.removeListener=g,n.removeAllListeners=g,n.emit=g,n.prependListener=g,n.prependOnceListener=g,n.listeners=function(e){return[]},n.binding=function(e){throw new Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(e){throw new Error("process.chdir is not supported")},n.umask=function(){return 0}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return{template:r.default,replace:!0,controller:["$scope",function(e){e.control.number||(e.control.number={}),e.control.number.min||(e.control.number.min=0)}]}};var i,n=o(18),r=(i=n)&&i.__esModule?i:{default:i}},function(e,t){e.exports='<label class=ea-editor-property-inner> <div class=ea-editor-property-label editor-hint=control.description>{{control.name}}</div> <div class=ea-editor-property-caption ng-if=control.caption ng-bind-html=control.caption></div> <div class="ea-editor-property-control-number ea-editor-property-control"> <input ng-model=ngModel ng-model-options="{ debounce: 300 }" type=number ng-blur=setDefaultValueIfEmpty() min={{control.number.min}} max={{control.number.max}}> </div> </label>'},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return{template:r.default,replace:!0,controller:["$scope","$sce",function(e,t){e.toTrustedHTML=function(e){return t.trustAsHtml(t.valueOf(e))}}]}};var i,n=o(20),r=(i=n)&&i.__esModule?i:{default:i}},function(e,t){e.exports='<label class=ea-editor-property-inner> <div class=ea-editor-property-label ng-if=control.name editor-hint=control.description>{{control.name}}</div> <div class="ea-editor-property-control-static-html ea-editor-property-control"> <div class=ea-editor-property-control-static-html-content ng-if="control.staticHtml && control.staticHtml.content" ng-bind-html=toTrustedHTML(control.staticHtml.content)> </div> </div> </label>'},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=["$rootScope",function(e){return{template:a.default,replace:!0,controller:["$scope","$rootScope","$element","$timeout",function(e,t,o,n){var r=function(e,t,o){var n=void 0;return e.some(function(e){if(t.some(function(t){return e[t]===("object"===(void 0===o?"undefined":i(o))?o[t]:o)}))return n=e}),n};e.show=!1,e.readonly=!e.control.select.enableInput,e.currentValue=r(e.control.select.options,["value"],e.ngModel),e.showOptions=function(){!1===e.show&&(e.show=!0,e.binded=!1,e.show&&!e.binded&&o.bind("keydown keypress",function(t){e.binded=!0,38===t.keyCode?(e.currentValue=r(e.control.select.options,["name"],t.target.value),e.currentId=e.control.select.options.indexOf(e.currentValue),n(function(){s()}),t.preventDefault()):40===t.keyCode?(e.currentValue=r(e.control.select.options,["name"],t.target.value),e.currentId=e.control.select.options.indexOf(e.currentValue),n(function(){a()}),t.preventDefault()):13===t.keyCode&&(o[0].querySelector(".ea-editor-property-control-select input").blur(),e.hideOptions(),t.preventDefault())}),angular.element(document).bind("click",function(t){o[0]===t.target||o[0].contains(t.target)?t.preventDefault():e.hideOptions()}))},o.bind("keyup",function(t){var o=String.fromCharCode(t.keyCode);(/[a-zA-Z0-9-_ ]/.test(o)||/[\b]/.test(o))&&n(function(){e.currentValue=t.target.value,e.setValue(e.currentValue),e.$apply()})});var a=function(){var t=e.currentValue,i=0;e.control.select.options.indexOf(e.currentValue)+1>=e.control.select.options.length?(t=e.control.select.options[0],i=0):(t=e.control.select.options[e.control.select.options.indexOf(e.currentValue)+1],i=32*(e.currentId-1)),e.setValue(t),o[0].querySelector(".ea-editor-property-control-select-options").scrollTop=i},s=function(){var t=e.currentValue,i=0;e.control.select.options.indexOf(e.currentValue)<=0?(t=e.control.select.options[e.control.select.options.length-1],i=32*e.control.select.options.length):(t=e.control.select.options[e.control.select.options.indexOf(e.currentValue)-1],i=32*(e.currentId-2)),e.setValue(t),o[0].querySelector(".ea-editor-property-control-select-options").scrollTop=i};e.hideOptions=function(){e.show=!1,e.binded=!1,e.unbind(),e.$apply()},e.unbind=function(){o.unbind("keydown keypress")},e.setValue=function(t,o){e.currentValue=r(e.control.select.options,["value","name"],t)||t,e.ngModel=t.value||0===t.value?t.value:t,o&&"click"===o.type&&n(function(){e.hideOptions()})},t.controls=t.controls||[],t.controls[e.control.id]={id:e.control.id,set:e.setValue},e.$watch("ngModel",function(t,o){e.currentValue=r(e.control.select.options,["value","name"],e.ngModel)||e.ngModel})}]}}];var n,r=o(22),a=(n=r)&&n.__esModule?n:{default:n}},function(e,t){e.exports='<label class=ea-editor-property-inner> <div class=ea-editor-property-label editor-hint=control.description>{{control.name}}</div> <div class=ea-editor-property-caption ng-if=control.caption ng-bind-html=control.caption></div> <div class="ea-editor-property-control-select ea-editor-property-control" ng-class="{\'ea-editor-property-control-select-readonly\': readonly}"> <input type=text ng-click=showOptions() ng-value="currentValue.name || currentValue || ngModel" ng-readonly=readonly> <div class=ea-editor-property-control-select-options ng-if=show> <div class=ea-editor-property-control-select-options-item ng-repeat="option in control.select.options" ng-click="setValue(option, $event)" ng-class="{\'ea-editor-property-control-select-options-item-selected\': option.name === currentValue.name || option.name === currentValue}"> {{option.name}} </div> </div> </div> </label>'},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=["$rootScope",function(e){return{template:r.default,replace:!0,controller:["$scope","$rootScope",function(e,t){}]}}];var i,n=o(24),r=(i=n)&&i.__esModule?i:{default:i}},function(e,t){e.exports='<div class=ea-editor-property-inner> <div class=ea-editor-property-label editor-hint=control.description>{{control.name}}</div> <div class=ea-editor-property-caption ng-if=control.caption ng-bind-html=control.caption></div> <div class="ea-editor-property-control-select-inline ea-editor-property-control"> <div class=ea-editor-property-control-select-inline-wrapper> <label class=ea-editor-property-control-select-inline-item ng-repeat="option in control.selectInline.options"> <input class=ea-editor-property-control-select-inline-item-radio ng-model=$parent.ngModel type=radio ng-value=option.value> <span class=ea-editor-property-control-select-inline-item-label>{{option.name}}</span> </label> </div> </div> </div>'},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=["$rootScope",function(e){return{template:r.default,replace:!0,controller:["$scope","$rootScope","$visual",function(e,t,o){t.currentSelectVisualScope=e,e.control.select.layout=e.control.select.layout||"one-col";var i=function(e,t,o){var i=void 0;return e.forEach(function(e){t.forEach(function(t){e[t]===o&&(i=e)})}),i};e.openSelectVisual=function(){o.show(e)},e.selected=i(e.control.select.options,["value"],e.ngModel),e.$watch("ngModel",function(t,o){e.selected=i(e.control.select.options,["value"],e.ngModel)})}]}}];var i,n=o(26),r=(i=n)&&i.__esModule?i:{default:i}},function(e,t){e.exports='<label class=ea-editor-property-inner> <div class=ea-editor-property-label editor-hint=control.description>{{control.name}}</div> <div class=ea-editor-property-caption ng-if=control.caption ng-bind-html=control.caption></div> <div class="ea-editor-select-visual-control ea-editor-property-control" ng-click=openSelectVisual()> <div class=ea-editor-select-visual-control-image-container> <img src={{selected.img}} alt="" class=ea-editor-select-visual-control-image> </div> <div class=ea-editor-select-visual-control-name> {{selected.name}} </div> <div class=ea-editor-select-visual-control-trigger> <div class=ea-editor-select-visual-control-trigger-arrow> <svg width=6px height=10px viewBox="0 0 6 10" fill=#c2c6ca focusable=false> <path d="M5.71,4.286L1.727,0.302c-0.39-0.392-1.023-0.392-1.414,0c-0.39,0.39-0.39,1.023,0,1.414L3.59,4.992\n\t L0.289,8.284c-0.39,0.39-0.39,1.025,0,1.415c0.39,0.39,1.023,0.39,1.414,0l4.008-4C6.101,5.309,6.101,4.675,5.71,4.286z"></path> </svg> </div> </div> </div> </label>'},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=["$rootScope",function(e){return{template:r.default,replace:!0,controller:["$scope","$rootScope",function(e,t){}],link:function(e,t){e.addTag=function(){e.newTag&&(angular.isArray(e.ngModel)||(e.ngModel=[]),-1===e.ngModel.indexOf(e.newTag)&&e.ngModel.push(e.newTag),e.newTag="")},e.removeTag=function(t){angular.isArray(e.ngModel)&&e.ngModel.splice(t,1)},t.bind("keydown",function(t){var o=t.which;9!==o&&13!==o||e.newTag&&t.preventDefault()}),t.bind("keyup",function(t){var o=t.which;Array.isArray(e.control.allowedKeys)||(e.control.allowedKeys=[]),9!==o&&13!==o&&-1===e.control.allowedKeys.indexOf(o)||(e.newTag&&t.preventDefault(),e.$apply("addTag()"))}),t.bind("change",function(t){e.$apply("addTag()")})}}}];var i,n=o(28),r=(i=n)&&i.__esModule?i:{default:i}},function(e,t){e.exports='<label class=ea-editor-property-inner> <div class=ea-editor-property-label editor-hint=control.description>{{control.name}}</div> <div class=ea-editor-property-caption ng-if=control.caption ng-bind-html=control.caption></div> <div class="ea-editor-property-control-tags ea-editor-property-control"> <input class=ea-editor-property-control-tags-input type=text ng-model=newTag placeholder={{control.tags.placeholder}}> <div class=ea-editor-property-control-tags-wrapper> <div class=ea-editor-property-control-tags-item ng-repeat="(key, value) in ngModel"> <div class=ea-editor-property-control-tags-item-label title={{value}}>{{value}}</div> <div class=ea-editor-property-control-tags-item-remove ng-click=removeTag(key)> <svg width=8px height=8px viewBox="0 0 8 8" fill=#fff focusable=false> <path fill=#fff d="M4.708,4l3.146-3.146c0.195-0.195,0.195-0.511,0-0.708c-0.196-0.195-0.513-0.195-0.708,0L4,3.292\n L0.854,0.146c-0.195-0.195-0.511-0.195-0.708,0c-0.195,0.196-0.195,0.513,0,0.708L3.292,4L0.146,7.146\n c-0.195,0.195-0.195,0.511,0,0.708c0.196,0.195,0.513,0.195,0.708,0L4,4.708l3.146,3.146c0.195,0.195,0.511,0.195,0.708,0\n c0.195-0.196,0.195-0.513,0-0.708L4.708,4z"></path> </svg> </div> </div> </div> </div> </label>'},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=["$rootScope",function(e){return{template:r.default,replace:!0,controller:["$scope","$rootScope",function(e,t){}]}}];var i,n=o(30),r=(i=n)&&i.__esModule?i:{default:i}},function(e,t){e.exports='<div class=ea-editor-property-inner> <label for=ea-editor-control-{{control.id}} class=ea-editor-property-label editor-hint=control.description>{{control.name}}</label> <div class="ea-editor-property-control-toggle ea-editor-property-control" ng-class="{ \'ea-editor-property-control-toggle-on\': ngModel }"> <label class=ea-editor-property-control-toggle-wrapper> <span class=ea-editor-property-control-toggle-before translate>On</span> <span class=ea-editor-property-control-toggle-inner> <input id=ea-editor-control-{{control.id}} type=checkbox ng-model=ngModel ng-checked=ngModel> </span> <span class=ea-editor-property-control-toggle-after translate>Off</span> </label> </div> </div>'},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=["$rootScope",function(e){return{template:r.default,replace:!0,controller:["$scope","$rootScope",function(e,t){}]}}];var i,n=o(32),r=(i=n)&&i.__esModule?i:{default:i}},function(e,t){e.exports='<div class=ea-editor-property-inner> <div class=ea-editor-property-label editor-hint=control.description>{{control.name}}</div> <div class=ea-editor-property-caption ng-if=control.caption ng-bind-html=control.caption></div> <div class="ea-editor-property-control-checklist ea-editor-property-control"> <label class=ea-editor-property-control-checklist-item ng-repeat="option in control.checklist.options"> <div class=ea-editor-property-control-checklist-checkbox-wrapper> <input type=checkbox checklist-value=option.value checklist-model=ngModel> <span class=ea-editor-property-control-checklist-checkbox></span> </div> <span class=ea-editor-property-control-checklist-item-label>{{option.name}}</span> </label> </div> </div>'},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=["$rootScope",function(e){return{template:r.default,replace:!0,controller:["$scope","$rootScope",function(e,t){e.options={clear:{show:!0,label:"Clear color"}},e.eventApi={onClear:function(e){!function(e){var t=e.getElement()[0];angular.element(t.querySelector(".color-picker-swatch")).removeAttr("style")}(e)}}}]}}];var i,n=o(34),r=(i=n)&&i.__esModule?i:{default:i}},function(e,t){e.exports='<label class=ea-editor-property-inner> <div class=ea-editor-property-label editor-hint=control.description>{{control.name}}</div> <div class=ea-editor-property-caption ng-if=control.caption ng-bind-html=control.caption></div> <div class="ea-editor-property-control-color ea-editor-property-control"> <color-picker ng-model=ngModel options=options event-api=eventApi></color-picker> </div> </label>'},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=["$timeout","$utils","$l10n",function(e,t,o){return{template:r.default,replace:!0,link:function(e,t){},controller:["$scope","$rootScope","$sub","$sce",function(i,n,r,a){i.itemsToRemove=[],i.controlGroupProperty=i.control.complex.controlGroupProperty,i.getItemName=function(e){var t=i.control.complex.nameProperty,n=void 0;return n=t?function(e,t){var o=!1,n="";return function i(r){o||r.forEach(function(r){o||("subgroup"===r.type?i(r.subgroup.properties):r.id===t&&(o=!0,n=e[t]||r.defaultValue))})}(i.control.complex.properties),n}(e,t):function(e){var t="";if(!angular.isObject(e))return t=e;for(var o=0;o<i.control.complex.properties.length;o++){var n=i.control.complex.properties[o];if(n.complexGroup){t=e.name;break}if("select"!==n.type){t=e[n.id];break}if(n.select&&n.select.options)for(var r=0;r<n.select.options.length;r++){var a=n.select.options[r];if(a.value===e[n.id]){t=a.name;break}}break}return t}(e),o.translate(n)},i.openSub=function(o){angular.isArray(i.ngModel)||(i.ngModel=[]);var a=n.$new();o&&o.complexGroup?i.control.complex.properties.forEach(function(e){e.complexGroup&&e.complexGroup===o.complexGroup&&(a.name=e.name,a.properties=e.properties)}):(a.name=i.control.name,a.properties=i.control.complex.properties),o||(o={},e(function(){t.recursivelyGetAllProps(a.properties,o,"subgroup"),i.ngModel.push(o)},300)),a.data=o,n.currentComplex=o,r.show(a,i.controlGroupProperty)},i.reorderClick=function(e){e.stopPropagation()},i.duplicateItem=function(e,t){i.ngModel.push(angular.copy(e)),t.stopPropagation()},i.removeItem=function(e,t){i.itemsToRemove.splice(i.itemsToRemove.indexOf(e),1),i.ngModel.splice(e,1),t.stopPropagation()},i.showRemoveConfirm=function(e,t){i.itemsToRemove.push(e),t.stopPropagation()},i.hideRemoveConfirm=function(e,t){i.itemsToRemove.splice(i.itemsToRemove.indexOf(e),1),t.stopPropagation()},i.toTrustedHTML=function(e){return a.trustAsHtml(a.valueOf(e))}}]}}];var i,n=o(36),r=(i=n)&&i.__esModule?i:{default:i}},function(e,t){e.exports='<div class=ea-editor-property-inner> <div class=ea-editor-property-label editor-hint=control.description>{{control.name}}</div> <div class=ea-editor-property-caption ng-if=control.caption ng-bind-html=control.caption></div> <div class="ea-editor-property-control-complex ea-editor-property-control" sv-root> <div class=ea-editor-property-control-complex-list sv-part=ngModel> <div sv-placeholder class=ea-editor-property-control-complex-item-placeholder></div> <div class=ea-editor-property-control-complex-item ng-repeat="(key, item) in ngModel" ng-click=openSub(item) sv-element ng-class="{ \'ea-editor-property-control-complex-item-removing\': itemsToRemove.indexOf(key) > -1 }"> <div class=ea-editor-property-control-complex-item-inner> <div class=ea-editor-property-control-complex-item-reorder ng-click=reorderClick($event) sv-handle title=Reorder> <svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 7 14" focusable=false> <path d=M1,4c0.6,0,1,0.4,1,1S1.6,6,1,6S0,5.6,0,5S0.4,4,1,4L1,4z /> <path d=M1,0c0.6,0,1,0.4,1,1S1.6,2,1,2S0,1.6,0,1S0.4,0,1,0L1,0z /> <path d=M1,8c0.6,0,1,0.4,1,1s-0.4,1-1,1S0,9.6,0,9S0.4,8,1,8L1,8z /> <path d=M1,12c0.6,0,1,0.4,1,1s-0.4,1-1,1s-1-0.4-1-1S0.4,12,1,12L1,12z /> <path d=M6,0c0.6,0,1,0.4,1,1S6.6,2,6,2S5,1.6,5,1S5.4,0,6,0L6,0z /> <path d=M6,4c0.6,0,1,0.4,1,1S6.6,6,6,6S5,5.6,5,5S5.4,4,6,4L6,4z /> <path d=M6,8c0.6,0,1,0.4,1,1s-0.4,1-1,1S5,9.6,5,9S5.4,8,6,8L6,8z /> <path d=M6,12c0.6,0,1,0.4,1,1s-0.4,1-1,1s-1-0.4-1-1S5.4,12,6,12L6,12z /> </svg> </div> <div class=ea-editor-property-control-complex-item-name title={{getItemName(item)}}> {{getItemName(item)}} </div> <div class=ea-editor-property-control-complex-item-duplicate ng-show="control.complex.duplicateAction !== false" title="{{\'Duplicate item\'|translate}}" ng-click="duplicateItem(item, $event)" ng-if="!control.complex.limit || (!!control.complex.limit && control.complex.limit > 0 && ngModel.length + 1 <= control.complex.limit)"> <svg viewBox="0 0 12 12" focusable=false> <g> <path d="M11.3,0H3.8C3.3,0,3,0.3,3,0.8V3H0.8C0.3,3,0,3.3,0,3.8v7.5C0,11.7,0.3,12,0.8,12h7.5C8.7,12,9,11.7,9,11.3V9h2.3\r\n C11.7,9,12,8.7,12,8.3V0.8C12,0.3,11.7,0,11.3,0z M7.9,10.9H1.1V4.1H3v4.1C3,8.7,3.3,9,3.8,9h4.1V10.9z M10.9,7.9H4.1V1.1h6.8\r\n V7.9z"/> </g> </svg> </div> <div class=ea-editor-property-control-complex-item-remove ng-show="control.complex.removeAction !== false" title="{{\'Remove item\'|translate}}" ng-click="showRemoveConfirm(key, $event)"> <svg viewBox="0 0 753.2 753.2" focusable=false> <g> <path d="M647.3,117.7H517.8V47.1c0-26-21.1-47.1-47.1-47.1H282.5c-26,0-47.1,21.1-47.1,47.1v70.6H105.9\r\n\t\t\t\t c-19.5,0-35.3,15.8-35.3,35.3s15.8,35.3,35.3,35.3h11.8v517.8c0,26,21.1,47.1,47.1,47.1h423.7c26,0,47.1-21.1,47.1-47.1V188.3\r\n\t\t\t\t h11.8c19.5,0,35.3-15.8,35.3-35.3C682.6,133.5,666.8,117.7,647.3,117.7z M306,70.6h141.2v47.1H306V70.6z M564.9,682.6H188.3\r\n\t\t\t\t V188.3h376.6V682.6z"/> </g> <path d="M290,617.4h23.5c13,0,23.7-10.6,23.7-23.7V276.9c0-13-10.6-23.7-23.7-23.7H290c-13,0-23.7,10.6-23.7,23.7v316.9\r\n\t C266.3,606.8,277,617.4,290,617.4z"/> <path d="M441,617.4h23.5c13,0,23.7-10.6,23.7-23.7V276.9c0-13-10.6-23.7-23.7-23.7H441c-13,0-23.7,10.6-23.7,23.7v316.9\r\n\t C417.3,606.8,428,617.4,441,617.4z"/> </svg> </div> </div> <div class=ea-editor-property-control-complex-item-remove-confirm> <div class=ea-editor-property-control-complex-item-remove-confirm-label translate>Are you sure you want to remove?</div> <div class=ea-editor-property-control-complex-item-remove-confirm-actions> <div class=ea-editor-property-control-complex-item-remove-confirm-actions-yes ng-click="removeItem(key, $event)" translate>Yes</div> <div class=ea-editor-property-control-complex-item-remove-confirm-actions-no ng-click="hideRemoveConfirm(key, $event)" translate>No</div> </div> </div> </div> </div> <div class="ea-editor-property-control-complex-add-new ea-editor-property-control-complex-item" ng-show="control.complex.addAction !== false" ng-class="{\r\n \'ea-editor-property-control-complex-add-new-transparent\': ngModel && ngModel.length,\r\n \'ea-editor-property-control-complex-add-new-disable\': !!control.complex.limit && control.complex.limit > 0 && ngModel.length >= control.complex.limit\r\n }" ng-click=openSub()> <div class=ea-editor-property-control-complex-item-inner> <svg viewBox="1 1 10 10" focusable=false> <path d="M9.987,4.999H7V2.013C7,1.454,6.552,1,6,1S5,1.454,5,2.013v2.986H2.013C1.453,4.999,1,5.449,1,6.001\r\n s0.453,1,1.012,1H5v2.987C5,10.548,5.448,11,6,11s1-0.453,1-1.012V7.001h2.987c0.559,0,1.012-0.448,1.012-1\r\n S10.547,4.999,9.987,4.999z"></path> </svg> <span class=ea-editor-property-control-complex-add-new-label translate>Add</span> </div> </div> <div class=ea-editor-property-control-complex-limit-exceed ng-show="control.complex.addAction !== false" ng-class="{ \'ea-editor-property-control-complex-add-new-transparent\': ngModel && ngModel.length }" ng-if="!!control.complex.limit && control.complex.limit > 0 && ngModel.length >= control.complex.limit"> <div class=ea-editor-property-control-complex-item-inner ng-bind-html=toTrustedHTML(control.complex.limitExceedHtml)></div> </div> </div> </div>'},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=["$timeout","$utils",function(e,t){return{template:r.default,replace:!0,link:function(e,t){},controller:["$scope","$element","$rootScope","$sub","$visual","$sce","$l10n",function(o,i,n,r,a,s,l){o.itemsToRemove=[],o.controlGroupProperty=o.control.complex.controlGroupProperty,o.icons={},o.names={},o.control.complex.properties.forEach(function(e){e.id===o.control.complex.controlGroupProperty&&e.select.options.forEach(function(e){o.icons[e.value]=e.img,o.names[e.value]=e.name})}),o.getItemName=function(e){var t=o.control.complex.nameProperty;return e.label?t?function(e,t){var i=!1,n="";return function o(r){i||r.forEach(function(r){i||("subgroup"===r.type?o(r.subgroup.properties):r.id===t&&(i=!0,n=e[t]||r.defaultValue))})}(o.control.complex.properties),n}(e,t):function(e){var t="";if(!angular.isObject(e))return t=e;for(var i=0;i<o.control.complex.properties.length;i++){var n=o.control.complex.properties[i];if(n.complexGroup){t=e.name;break}if("select"!==n.type){t=e[n.id];break}if(n.select&&n.select.options)for(var r=0;r<n.select.options.length;r++){var a=n.select.options[r];if(a.value===e[n.id]){t=a.name;break}}break}return t}(e):e.name?e.name:e.placeholder?e.placeholder:e.type},o.openSub=function(i){var s=!1;angular.isArray(o.ngModel)||(o.ngModel=[]);var l=n.$new();i&&i.complexGroup?o.control.complex.properties.forEach(function(e){e.complexGroup&&e.complexGroup===i.complexGroup&&(l.name=e.name,l.properties=e.properties)}):(l.name=o.control.name,l.properties=[],o.control.complex.properties.forEach(function(e){l.properties.push(e)})),i||(s=!0,i={},e(function(){t.recursivelyGetAllProps(l.properties,i,"subgroup"),o.ngModel.push(i)},300)),l.data=i,n.currentComplex=i,r.show(l,o.controlGroupProperty,function(){o.ngModel.forEach(function(e){"group"===e.type&&(e.label=e.name||e.type.replace(/^\w/,function(e){return e.toUpperCase()}))})},s?300:0),s&&e(function(){n.currentSelectVisualScope.control.name="Select element to add",a.show(n.currentSelectVisualScope,function(e){"divider"===e.ngModel&&r.hide(l),e.ngModel?l.name=e.ngModel.replace(/^\w/,function(e){return e.toUpperCase()}):(r.hide(l),o.ngModel.splice(o.ngModel.length-1,1)),o.ngModel.forEach(function(e){e.label||(e.label=o.names[e.type]||e.type.replace(/^\w/,function(e){return e.toUpperCase()}))})})},0)},o.reorderClick=function(e){e.stopPropagation()},o.duplicateItem=function(e,t){o.ngModel.push(angular.copy(e)),t.stopPropagation()},o.removeItem=function(e,t){o.itemsToRemove.splice(o.itemsToRemove.indexOf(e),1),o.ngModel.splice(e,1),t.stopPropagation()},o.showRemoveConfirm=function(e,t){o.itemsToRemove.push(e),t.stopPropagation()},o.hideRemoveConfirm=function(e,t){o.itemsToRemove.splice(o.itemsToRemove.indexOf(e),1),t.stopPropagation()},o.toTrustedHTML=function(e){return s.trustAsHtml(s.valueOf(e))}}]}}];var i,n=o(38),r=(i=n)&&i.__esModule?i:{default:i}},function(e,t){e.exports='<div class=ea-editor-property-inner> <div class=ea-editor-property-label editor-hint=control.description>{{control.name}}</div> <div class=ea-editor-property-caption ng-if=control.caption ng-bind-html=control.caption></div> <div class="ea-editor-property-control-complex ea-editor-property-control" sv-root> <div class=ea-editor-property-control-complex-list sv-part=ngModel> <div sv-placeholder class=ea-editor-property-control-complex-item-placeholder></div> <div class=ea-editor-property-control-complex-item ng-repeat="(key, item) in ngModel" ng-click=openSub(item) sv-element ng-class="{ \'ea-editor-property-control-complex-item-removing\': itemsToRemove.indexOf(key) > -1 }" title=Reorder> <div class=ea-editor-property-control-complex-item-inner> <div class=ea-editor-property-control-complex-item-reorder ng-click=reorderClick($event) sv-handle> <svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 7 14" focusable=false> <path d=M1,4c0.6,0,1,0.4,1,1S1.6,6,1,6S0,5.6,0,5S0.4,4,1,4L1,4z /> <path d=M1,0c0.6,0,1,0.4,1,1S1.6,2,1,2S0,1.6,0,1S0.4,0,1,0L1,0z /> <path d=M1,8c0.6,0,1,0.4,1,1s-0.4,1-1,1S0,9.6,0,9S0.4,8,1,8L1,8z /> <path d=M1,12c0.6,0,1,0.4,1,1s-0.4,1-1,1s-1-0.4-1-1S0.4,12,1,12L1,12z /> <path d=M6,0c0.6,0,1,0.4,1,1S6.6,2,6,2S5,1.6,5,1S5.4,0,6,0L6,0z /> <path d=M6,4c0.6,0,1,0.4,1,1S6.6,6,6,6S5,5.6,5,5S5.4,4,6,4L6,4z /> <path d=M6,8c0.6,0,1,0.4,1,1s-0.4,1-1,1S5,9.6,5,9S5.4,8,6,8L6,8z /> <path d=M6,12c0.6,0,1,0.4,1,1s-0.4,1-1,1s-1-0.4-1-1S5.4,12,6,12L6,12z /> </svg> </div> <div class=ea-editor-property-control-complex-item-icon title={{names[item.type]}}> <img ng-src={{icons[item.type]}} alt=""> </div> <div class=ea-editor-property-control-complex-item-name title={{getItemName(item)}}> {{getItemName(item)}} </div> <div class=ea-editor-property-control-complex-item-duplicate ng-show="control.complex.duplicateAction !== false" title="{{\'Duplicate item\'|translate}}" ng-click="duplicateItem(item, $event)" ng-if="!control.complex.limit || (!!control.complex.limit && control.complex.limit > 0 && ngModel.length + 1 <= control.complex.limit)"> <svg viewBox="0 0 12 12" focusable=false> <g> <path d="M11.3,0H3.8C3.3,0,3,0.3,3,0.8V3H0.8C0.3,3,0,3.3,0,3.8v7.5C0,11.7,0.3,12,0.8,12h7.5C8.7,12,9,11.7,9,11.3V9h2.3\r\n C11.7,9,12,8.7,12,8.3V0.8C12,0.3,11.7,0,11.3,0z M7.9,10.9H1.1V4.1H3v4.1C3,8.7,3.3,9,3.8,9h4.1V10.9z M10.9,7.9H4.1V1.1h6.8\r\n V7.9z"/> </g> </svg> </div> <div class=ea-editor-property-control-complex-item-remove ng-show="control.complex.removeAction !== false" title="{{\'Remove item\'|translate}}" ng-click="showRemoveConfirm(key, $event)"> <svg viewBox="0 0 753.2 753.2" focusable=false> <g> <path d="M647.3,117.7H517.8V47.1c0-26-21.1-47.1-47.1-47.1H282.5c-26,0-47.1,21.1-47.1,47.1v70.6H105.9\r\n\t\t\t\t c-19.5,0-35.3,15.8-35.3,35.3s15.8,35.3,35.3,35.3h11.8v517.8c0,26,21.1,47.1,47.1,47.1h423.7c26,0,47.1-21.1,47.1-47.1V188.3\r\n\t\t\t\t h11.8c19.5,0,35.3-15.8,35.3-35.3C682.6,133.5,666.8,117.7,647.3,117.7z M306,70.6h141.2v47.1H306V70.6z M564.9,682.6H188.3\r\n\t\t\t\t V188.3h376.6V682.6z"/> </g> <path d="M290,617.4h23.5c13,0,23.7-10.6,23.7-23.7V276.9c0-13-10.6-23.7-23.7-23.7H290c-13,0-23.7,10.6-23.7,23.7v316.9\r\n\t C266.3,606.8,277,617.4,290,617.4z"/> <path d="M441,617.4h23.5c13,0,23.7-10.6,23.7-23.7V276.9c0-13-10.6-23.7-23.7-23.7H441c-13,0-23.7,10.6-23.7,23.7v316.9\r\n\t C417.3,606.8,428,617.4,441,617.4z"/> </svg> </div> </div> <div class=ea-editor-property-control-complex-item-remove-confirm> <div class=ea-editor-property-control-complex-item-remove-confirm-label translate>Are you sure you want to remove?</div> <div class=ea-editor-property-control-complex-item-remove-confirm-actions> <div class=ea-editor-property-control-complex-item-remove-confirm-actions-yes ng-click="removeItem(key, $event)" translate>Yes</div> <div class=ea-editor-property-control-complex-item-remove-confirm-actions-no ng-click="hideRemoveConfirm(key, $event)" translate>No</div> </div> </div> </div> </div> <div class="ea-editor-property-control-complex-add-new ea-editor-property-control-complex-item" ng-show="control.complex.addAction !== false" ng-class="{\r\n \'ea-editor-property-control-complex-add-new-transparent\': ngModel && ngModel.length,\r\n \'ea-editor-property-control-complex-add-new-disable\': !!control.complex.limit && control.complex.limit > 0 && ngModel.length >= control.complex.limit\r\n }" ng-click=openSub()> <div class=ea-editor-property-control-complex-item-inner> <svg viewBox="1 1 10 10" focusable=false> <path d="M9.987,4.999H7V2.013C7,1.454,6.552,1,6,1S5,1.454,5,2.013v2.986H2.013C1.453,4.999,1,5.449,1,6.001\r\n s0.453,1,1.012,1H5v2.987C5,10.548,5.448,11,6,11s1-0.453,1-1.012V7.001h2.987c0.559,0,1.012-0.448,1.012-1\r\n S10.547,4.999,9.987,4.999z"></path> </svg> <span class=ea-editor-property-control-complex-add-new-label translate>Add</span> </div> </div> <div class=ea-editor-property-control-complex-limit-exceed ng-show="control.complex.addAction !== false" ng-class="{ \'ea-editor-property-control-complex-add-new-transparent\': ngModel && ngModel.length }" ng-if="!!control.complex.limit && control.complex.limit > 0 && ngModel.length >= control.complex.limit"> <div class=ea-editor-property-control-complex-item-inner ng-bind-html=toTrustedHTML(control.complex.limitExceedHtml)></div> </div> </div> </div>'},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=["$rootScope",function(e){return{template:r.default,replace:!0,controller:["$scope","$rootScope","$sub",function(e,t,o){e.openSub=function(){var i=t.$new();i.name=e.control.name,i.properties=e.control.subgroup.properties,i.data=e.ngModel,o.show(i)}}]}}];var i,n=o(40),r=(i=n)&&i.__esModule?i:{default:i}},function(e,t){e.exports='<label class=ea-editor-property-inner> <div class="ea-editor-property-control-subgroup ea-editor-property-control" ng-click=openSub()> <div class=ea-editor-property-control-subgroup-name> {{control.name}} </div> <div class=ea-editor-property-control-subgroup-icon> <svg width=12 height=12 viewBox="0 0 12 12"> <path id=Rounded_Rectangle_57_copy_6_копия_2 class=cls-1 d=M4.566,2.256L8.317,5.7a0.512,0.512,0,0,1,0,.785,0.681,0.681,0,0,1-.883,0L3.683,3.041a0.512,0.512,0,0,1,0-.785A0.681,0.681,0,0,1,4.566,2.256ZM3.683,9.146L7.433,5.7a0.68,0.68,0,0,1,.883,0,0.512,0.512,0,0,1,0,.785L4.566,9.931a0.681,0.681,0,0,1-.883,0A0.512,0.512,0,0,1,3.683,9.146Z /> </svg> </div> </div> </label>'},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=["$rootScope",function(e){return{template:r.default,replace:!0,controller:["$scope","$rootScope",function(e,t){}]}}];var i,n=o(42),r=(i=n)&&i.__esModule?i:{default:i}},function(e,t){e.exports='<div class=ea-editor-property-inner> <div class="ea-editor-property-control-divider ea-editor-property-control"></div> </div>'},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=["$rootScope",function(e){return{scope:"=",template:r.default,replace:!0,controller:["$scope","$rootScope","$http","$element",function(e,t,o,i){e.lastVal="",e.showBtn=e.control.custom&&e.control.custom.button||"send"===e.control.custom.action,e.$input=angular.element(i[0].querySelector(".ea-editor-property-control-text input")),e.$error=angular.element(i[0].querySelector(".ea-editor-property-control-text-error")),e.apiKey=t.appPreferences.apiKey?t.appPreferences.apiKey:"",!e.apiKey&&t.appPreferences.apiKeys&&t.appPreferences.apiKeys.length&&(e.apiKey=t.appPreferences.apiKeys[Math.floor(Math.random()*t.appPreferences.apiKeys.length)]),e.setCoordinates=function(o){t.coordinates=o.lat+", "+o.lng,t.controls.coordinates.set(t.coordinates),e.lastVal=e.ngModel},e.showError=function(t){var o="Geocode was not successful: "+t;"OVER_QUERY_LIMIT"===t?o="Query limit has been reached. Try to repeat the query later":"ZERO_RESULTS"===t?o="Location is not found. Set a more accurate address":"NO_API_KEY"===t&&(o="API key is required"),!(arguments.length>1&&void 0!==arguments[1])||arguments[1]||(e.error=!0,e.$error.html(o)),console.log(o)},e.processCoordinates=function(){if(e.ngModel=e.$input.val(),e.error=!1,e.apiKey){if(e.ngModel&&e.ngModel!==e.lastVal){var t,i={};if(/^(\-?\d+(\.\d+)?),\s*(\-?\d+(\.\d+)?)$/.test(e.ngModel)){var n=e.ngModel.split(/, ?/);i.lat=parseFloat(n[0],10),i.lng=parseFloat(n[1],10),e.setCoordinates(i)}else{var r=function(t){var o=t.data.results,n=t.data.status;if(n&&"OK"!==n)return e.showError(n,!1),!1;"OK"===n&&(i.lat=o[0].geometry.location.lat,i.lng=o[0].geometry.location.lng,e.setCoordinates(i))};t="https://maps.googleapis.com/maps/api/geocode/json?key="+e.apiKey+"&address="+e.ngModel,o.get(t).then(r)}}}else e.showError("NO_API_KEY",!1)},e.setValue=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";e.ngModel=t},t.controls=t.controls||[],t.controls[e.control.id]={id:e.control.id,set:e.setValue}}],link:function(e){"send"===e.control.custom.action&&e.$watch("ngModel",function(t,o){t!==o&&e.processCoordinates()})}}}];var i,n=o(44),r=(i=n)&&i.__esModule?i:{default:i}},function(e,t){e.exports="<label class=ea-editor-property-inner> <div class=ea-editor-property-label editor-hint=control.description>{{control.name}}</div> <div class=\"ea-editor-property-control-text ea-editor-property-control\"> <div ng-if=showBtn class=ea-editor-property-control-text-button translate>Apply</div> <input ng-model=ngModel ng-model-options=\"{updateOn: showBtn ? 'change blur' : 'default'}\"> <div ng-show=error class=ea-editor-property-control-text-error></div> </div> </label>"},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=["$rootScope",function(e){return{scope:"=",template:r.default,replace:!0,controller:["$scope","$rootScope","$q","$window","$timeout","$http",function(e,t,o,i,n,r){e.state="connect",e.load=!1,e.connect=function(){i.open("https://elfsight.com/service/generate-facebook-access-token/","_blank","location=yes,height=600,width=800,scrollbars=yes,status=yes"),e.load=!0},e.disconnect=function(){e.load=!0,r({method:"GET",url:"https://graph.facebook.com/v2.10/me/permissions?method=delete&access_token="+e.ngModel}).then(function(){e.ngModel="",e.state="connect",e.load=!1})},e.update=function(){e.connect()},e.processToken=function(){"connect"===e.state?e.connect():"disconnect"===e.state?e.disconnect():"update"===e.state&&e.update()},window.addEventListener("message",function(t){n(function(){e.load=!1,"https://elfsight.com"===t.origin&&t.data&&"getToken"===t.data.action&&(e.ngModel=t.data.token,e.state="disconnect")})},!1),e.ngModel&&r({method:"GET",url:"https://graph.facebook.com/me?access_token="+e.ngModel}).then(function(t){200===t.status?e.state="disconnect":(e.ngModel=null,e.state="update")}).catch(function(){e.ngModel=null,e.state="update"})}]}}];var i,n=o(46),r=(i=n)&&i.__esModule?i:{default:i}},function(e,t){e.exports='<div class="ea-editor-facebook-feed-token-control-wrapper ea-editor-property-inner ea-editor-facebook-feed-token-control-{{state}} ea-editor-property-control" ng-class="{\'ea-editor-facebook-feed-token-control-load\': load}"> <div class=ea-editor-facebook-feed-token-control-label-wrapper> <span class=ea-editor-property-label editor-hint=control.description>{{control.name}}</span> <span class=ea-editor-facebook-feed-token-control-status> <span ng-if="state === \'disconnect\'" translate>Connected</span> <span ng-if="state === \'update\'" translate>Disconnected</span> </span> </div> <div class=ea-editor-property-caption> <span ng-if="state === \'connect\'" translate>To display Facebook page, please, authorize in Facebook.</span> <span ng-if="state === \'disconnect\'" translate>You widget is successfully connected to Facebook. You can continue customization.</span> <span ng-if="state === \'update\'" translate>Connection error. Probably, your two-month authorization has expired. Please, try to reconnect.</span> </div> <div class=ea-editor-facebook-feed-token-control> <div class=ea-editor-facebook-feed-token-control-button-container> <button ng-click=processToken()> <span class=ea-editor-facebook-feed-token-control-button-icon ng-if="state === \'connect\'"> <svg viewBox="0 0 1024 1024" id=icon-facebook width=100% height=100%><path d="M234.747 554.565V346.624h152.512v-81.02C387.259 125.893 492.2.068 621.186.068h168.068v207.918H621.186c-18.412 0-39.85 22.329-39.85 55.801v82.826h207.918v207.929H581.336v469.39H387.247V554.564H234.746z"></path></svg> </span> <span class=ea-editor-facebook-feed-token-control-button-label> <span ng-if="state === \'connect\'" translate>Connect to Facebook</span> <span ng-if="state === \'disconnect\'" translate>Disconnect</span> <span ng-if="state === \'update\'" translate>Reconnect</span> </span> <span class=ea-editor-facebook-feed-token-control-loader></span></button> </div> </div> </div>'},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=["$rootScope",function(e){return{template:r.default,replace:!0,controller:["$scope","$rootScope","$window",function(e,t,o){e.openModal=function(){!function(t,i,n,r){var a=void 0!==o.screenLeft?o.screenLeft:screen.left,s=void 0!==o.screenTop?o.screenTop:screen.top,l=(o.innerWidth?o.innerWidth:document.documentElement.clientWidth?document.documentElement.clientWidth:screen.width)/2-n/2+a,c=(o.innerHeight?o.innerHeight:document.documentElement.clientHeight?document.documentElement.clientHeight:screen.height)/2-r/2+s,d=window.open(t,i,"scrollbars=yes, location=no, width="+n+", height="+r+", top="+c+", left="+l);window.focus&&d.focus(),e.windowVisible=!0}("http://"+e.control.link,"elfsight-apps-embedded-window",600,748);o.onmessage=function(t){t.data.token&&(e.ngModel=t.data.token,e.$apply())}}}]}}];var i,n=o(48),r=(i=n)&&i.__esModule?i:{default:i}},function(e,t){e.exports='<label class=ea-editor-property-inner> <div class=ea-editor-property-label editor-hint=control.description>{{control.name}}</div> <div class=ea-editor-property-caption ng-if=control.caption ng-bind-html=control.caption></div> <div class="ea-editor-property-control-text ea-editor-property-control"> <input ng-model=ngModel ng-model-options="{ debounce: 300 }" type=text ng-blur=setDefaultValueIfEmpty()> <button ng-click=openModal() translate>Open</button> </div> </label>'},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=["$rootScope",function(e){return{template:r.default,replace:!0,controller:["$scope","$rootScope","$window","$element","$http","$timeout",function(e,t,o,i,n,r){var a=t.elfsightFilesToken;e.loadInProgress=!1,e.uploaded=!1,"string"==typeof e.ngModel?e.file={name:e.ngModel.replace(/^.*[\\\/]/,""),url:e.ngModel}:e.file=e.ngModel,(!a&&e.file&&e.file.url||"string"!=typeof e.ngModel)&&e.file&&(e.ngModel=e.file.url),e.valChangeEvent=function(){var t=angular.element(i[0].querySelector(".ea-editor-property-control-file-input"))[0].files[0],o=t.name;if(e.loadInProgress=!0,e.uploaded=!1,t){var r=new FormData;r.append("access_token",a),r.append("file",t),n.post("https://files.elfsight.com/public/files/upload/",r,{cache:!1,headers:{"Content-Type":void 0}}).then(function(t){e.loadInProgress=!1,e.uploaded=!0,t.status&&(t.data.status?(e.file={name:o,url:t.data.data.file_url},e.ngModel=t.data.data.file_url,e.error=null):(e.file=e.ngModel,e.ngModel&&e.ngModel.url&&(e.file.name=e.ngModel.url.replace(/^.*[\\\/]/,""))))}).catch(function(t){e.loadInProgress=!1,e.uploaded=!1,413===t.status&&(e.error="File size limit exceeded")})}},e.deleteCurrentFile=function(){r(function(){e.file=null,e.ngModel=null,e.$apply()})},e.setValue=function(t){e.ngModel=t.target.value}}]}}];var i,n=o(50),r=(i=n)&&i.__esModule?i:{default:i}},function(e,t){e.exports='<label class=ea-editor-property-inner> <script src=https://www.dropbox.com/static/api/2/dropins.js id=dropboxjs data-app-key=twna88dpnr8c17c><\/script> <div class=ea-editor-property-label editor-hint=control.description>{{control.name}}</div> <div class=ea-editor-property-caption ng-if=control.caption ng-bind-html=control.caption></div> <div class="ea-editor-property-control-file ea-editor-property-control" ng-if=$root.elfsightFilesToken> <label for=file class=ea-editor-property-control-file-button ng-if="!file.name && !file.url"> <svg class=ea-editor-property-control-file-button-icon ng-if=!loadInProgress xmlns=http://www.w3.org/2000/svg xmlns:xlink=http://www.w3.org/1999/xlink width=14 height=14 viewBox="0 0 14 14"> <defs> <path id=combined-shape-copy-a d="M6.33528971,5.6109113 L4.80754974,7.13865128 C4.54734592,7.3988551 4.12547218,7.3988551 3.86526836,7.13865128 C3.60506454,6.87844746 3.60506454,6.45657371 3.86526836,6.1963699 L6.53044258,3.53119568 C6.7906464,3.27099186 7.21252014,3.27099186 7.47272396,3.53119568 L10.1378982,6.1963699 C10.398102,6.45657371 10.398102,6.87844746 10.1378982,7.13865128 C9.87769436,7.3988551 9.45582062,7.3988551 9.1956168,7.13865128 L7.66787682,5.6109113 L7.66787682,9.75912042 C7.66787682,10.0769352 7.36956704,10.334575 7.00158327,10.334575 C6.6335995,10.334575 6.33528971,10.0769352 6.33528971,9.75912042 L6.33528971,5.6109113 Z M7,14 C3.13400675,14 0,10.8659932 0,7 C0,3.13400675 3.13400675,0 7,0 C10.8659932,0 14,3.13400675 14,7 C14,10.8659932 10.8659932,14 7,14 Z M7,12.7272727 C10.1630854,12.7272727 12.7272727,10.1630854 12.7272727,7 C12.7272727,3.83691461 10.1630854,1.27272727 7,1.27272727 C3.83691461,1.27272727 1.27272727,3.83691461 1.27272727,7 C1.27272727,10.1630854 3.83691461,12.7272727 7,12.7272727 Z"></path> </defs> <g fill=none fill-rule=evenodd opacity=.7> <use fill=#FFF fill-rule=nonzero xlink:href=#combined-shape-copy-a /> </g> </svg> <span class=ea-editor-property-control-file-button-text ng-if=!loadInProgress translate>Upload</span> <span class=ea-editor-property-control-file-button-loader ng-if=loadInProgress></span> <input type=file name=file id=file class=ea-editor-property-control-file-input onchange=angular.element(this).scope().valChangeEvent() accept=image/*> </label> <div class=ea-editor-property-control-file-exists ng-if="file.name && file.url"> <div class=ea-editor-property-control-file-exists-name>{{file.name}}</div> <div class=ea-editor-property-control-file-exists-delete ng-click=deleteCurrentFile()> <svg width=10px height=10px viewBox="0 0 8 8" fill=#fff focusable=false> <path fill=#fff d="M4.708,4l3.146-3.146c0.195-0.195,0.195-0.511,0-0.708c-0.196-0.195-0.513-0.195-0.708,0L4,3.292\n L0.854,0.146c-0.195-0.195-0.511-0.195-0.708,0c-0.195,0.196-0.195,0.513,0,0.708L3.292,4L0.146,7.146\n c-0.195,0.195-0.195,0.511,0,0.708c0.196,0.195,0.513,0.195,0.708,0L4,4.708l3.146,3.146c0.195,0.195,0.511,0.195,0.708,0\n c0.195-0.196,0.195-0.513,0-0.708L4.708,4z"></path> </svg> </div> </div> <div class=ea-editor-property-control-file-error>{{error}}</div> </div> <div class="ea-editor-property-control-file ea-editor-property-control" ng-if=!$root.elfsightFilesToken> <input ng-model=ngModel type=text ng-keyup=setValue($event);> </div> </label> '},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=["$sub","$timeout",function(e,t){return{template:r.default,replace:!0,link:function(o,i,n){var r=[],a=null;t(function(){angular.forEach(i[0].getElementsByClassName("ea-editor-property-control"),function(e){r.push(e)}),r.forEach(function(e,t,o){(angular.element(e).hasClass("ea-editor-property-control-text")&&!a||angular.element(e).hasClass("ea-editor-property-control-textarea")&&!a||angular.element(e).hasClass("ea-editor-property-control-number")&&!a)&&(a=angular.element(e))}),a&&(a[0].getElementsByTagName("input")[0]?a[0].getElementsByTagName("input")[0].focus():a[0].getElementsByTagName("textarea")[0]&&a[0].getElementsByTagName("textarea")[0].focus())},100),o.$on("$destroy",function(){e.hide(i)}),o.hide=function(){e.hide(o,i)}},controller:["$scope",function(e){}]}}];var i,n=o(52),r=(i=n)&&i.__esModule?i:{default:i}},function(e,t){e.exports='<div class=ea-editor-sub ng-class="{ \'ea-editor-sub-active\': visible }"> <div class=ea-editor-sub-header ng-click=hide()> <div class=ea-editor-sub-back-button> <svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 12 12"> <path d="M11.3,5.2H2.5l4-4c0.3-0.3,0.3-0.8,0-1.1c-0.3-0.3-0.8-0.3-1.1,0L0.2,5.4C0.1,5.6,0,5.8,0,6\n c0,0.2,0.1,0.4,0.2,0.5l5.2,5.2c0.3,0.3,0.8,0.3,1.1,0c0.3-0.3,0.3-0.8,0-1.1l-4-4h8.7C11.7,6.7,12,6.4,12,6\n C12,5.6,11.7,5.2,11.3,5.2z"></path> </svg> </div> <div class=ea-editor-sub-title>{{name}}</div> </div> <div class=ea-editor-sub-content> <div class=ea-editor-property ng-repeat="property in properties" ng-if="!controlGroupProperty || (controlGroupProperty && property.groups.indexOf(data[controlGroupProperty]) !== -1)" ng-class="property.visible === false ? \'ea-editor-property-hide\' : \'\'"> <div> <div control=property ng-model=data[property.id] ng-if="property.type !== \'subgroup\'"></div> <div control=property ng-model=data ng-if="property.type == \'subgroup\'"></div> </div> </div> </div> </div>'},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=["$sce","$timeout","$l10n",function(e,t,o){return{template:r.default,scope:{ngModel:"="},replace:!0,controller:["$scope","$element","$rootScope",function(e,t,i){e.templates=o.translate(e.$parent.templates),e.editor=e.$parent,e.initialData=e.editor.widget.data||{},e.showTemplates=!1,e.setData=function(t){e.currentTemplate=e.templates[t]||null,e.enableTemplates=!!e.currentTemplate,e.editor.widget&&e.editor.widget.data&&e.currentTemplate&&(e.editor.widget.data=Object.assign({},e.initialData),angular.forEach(e.currentTemplate.settings,function(t,o){e.editor.widget&&e.editor.widget.data&&e.editor.widget.data.hasOwnProperty(o)&&(e.editor.widget.data[o]=t)}))},e.hideTemplates=function(){e.showTemplates=!1,e.enableTemplates=!1,e.editor.onTemplateSelect&&"function"==typeof e.editor.onTemplateSelect&&e.editor.onTemplateSelect()},e.setData(0)}]}}];var i,n=o(54),r=(i=n)&&i.__esModule?i:{default:i}},function(e,t){e.exports='<div class=ea-editor-templates ng-class="{\'ea-editor-templates-hide\': !showTemplates && !enableTemplates, \'ea-editor-templates-enable\': enableTemplates }"> <div class=ea-editor-templates-wrapper> <div class=ea-editor-templates-header translate>Select a template to start with</div> <div class=ea-editor-templates-item ng-repeat="template in templates" ng-click=setData($index) ng-class="{\'ea-editor-templates-item-active\': template.name === currentTemplate.name}"> <div class=ea-editor-templates-item-inner> <div class=ea-editor-templates-item-image-container> <img ng-src={{template.image}} alt={{template.name}} class=ea-editor-templates-item-image ng-if=template.image> </div> <span class=ea-editor-templates-item-title title={{template.name}}>{{template.name}}</span> <input name=template type=radio ng-value=template.name ng-model=$parent.ngModel class=ea-editor-templates-item-radio ng-show=!template.name> </div> </div> </div> <div class=ea-editor-templates-actions> <button class=ea-editor-templates-actions-customize ng-click=hideTemplates()> <span translate>Continue with this template</span> <svg viewBox="0 0 24 24" id=icon-arrow-link width=100% height=100%> <path d="M14.724 11l-2.862-2.862a.667.667 0 0 1 .943-.943l4 4c.26.26.26.683 0 .943l-4 4a.667.667 0 0 1-.943-.943l2.862-2.862H5.667a.667.667 0 1 1 0-1.333h9.057z"></path> </svg> </button> </div> </div>'},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=["$visual","$timeout",function(e,t){return{template:r.default,replace:!0,link:function(t,o){t.$on("$destroy",function(){e.hide(o)}),t.hide=function(){e.hide(t,o)},o.on("change",function(){var e,o,i,n;t.selected=(e=t.control.select.options,o=["value"],i=t.ngModel,n=void 0,e.forEach(function(e){o.forEach(function(t){e[t]===i&&(n=e)})}),n)})},controller:["$scope",function(e){}]}}];var i,n=o(56),r=(i=n)&&i.__esModule?i:{default:i}},function(e,t){e.exports='<div class=ea-editor-select-visual-group ng-class="{\'ea-editor-select-visual-group-active\': visible, \'ea-editor-select-visual-group-{{control.select.layout}}\': true }"> <div class=ea-editor-select-visual-group-header ng-click=hide()> <div class=ea-editor-select-visual-group-back-button> <svg width=16px height=16px viewBox="0 0 16 16" fill=#989fa4 focusable=false> <path d="M15.001,6.993H3.367l5.3-5.286c0.391-0.391,0.391-1.024,0-1.415\n c-0.39-0.39-1.024-0.39-1.414,0L0.292,7.236C0.079,7.45-0.006,7.735,0.014,8.014C0.007,8.278,0.1,8.544,0.302,8.745l6.942,6.961\n c0.391,0.391,1.024,0.391,1.415,0c0.39-0.39,0.39-1.024,0-1.414L3.374,8.994h11.628c0.551,0,0.999-0.447,0.999-1\n C16,7.44,15.552,6.993,15.001,6.993z"></path> </svg> </div> <div class=ea-editor-select-visual-group-title>{{control.name}}</div> </div> <div class=ea-editor-select-visual-group-content> <label class=ea-editor-select-visual-group-option ng-repeat="option in control.select.options" ng-class="{\'ea-editor-select-visual-group-option-selected\': option.value === ngModel, \'ea-editor-select-visual-group-option-divider\': option.title}"> <div class=ea-editor-select-visual-group-option-image-container ng-show=!option.title> <img ng-src={{option.img}} alt={{option.name}} class=ea-editor-select-visual-group-option-image ng-if=option.img> </div> <span class=ea-editor-select-visual-group-option-title>{{option.name || option.title}}</span> <input name=skin type=radio ng-value=option.value ng-model=$parent.ngModel class=ea-editor-select-visual-group-option-radio ng-show=!option.title> </label> </div> </div>'},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=["$rootScope","$l10n",function(e,t){return{link:function(t,o){o.bind("mouseenter",function(){t.control.description&&t.$apply(function(){e.editorHint=t.control.description,e.editorHintVisible=!0})}),o.bind("mouseleave",function(){e.editorHint===t.control.description&&t.$apply(function(){e.editorHintVisible=!1})})}}}]},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return{template:r.default,replace:!0,link:function(e,t){var o=t[0].getElementsByClassName("ea-editor-toolbar-item");angular.forEach(o,function(e){e.addEventListener("click",function(t){var i=angular.element(e).hasClass("toolbar-item-active");angular.element(o).removeClass("toolbar-item-active"),i||angular.element(e).addClass("toolbar-item-active")})})},controller:["$scope",function(e){}]}};var i,n=o(59),r=(i=n)&&i.__esModule?i:{default:i}},function(e,t){e.exports="<div class=ea-editor-toolbar> <elfsight-apps-editor-toolbar-resolution ng-model=toolbar.resolution></elfsight-apps-editor-toolbar-resolution> <elfsight-apps-editor-toolbar-background ng-model=toolbar.background></elfsight-apps-editor-toolbar-background> </div>"},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=["$sce","$timeout",function(e,t){return{template:i.default,scope:{ngModel:"="},replace:!0,controller:["$scope","$element","$rootScope",function(o,i,s){o.values=[{value:"100%",code:e.trustAsHtml(n.default.content)},{value:"768px",code:e.trustAsHtml(r.default.content)},{value:"375px",code:e.trustAsHtml(a.default.content)}],o.select=function(e){o.ngModel=e,t(function(){i.removeClass("toolbar-item-active")}),document.querySelector(".ea-editor-preview-container").style.maxWidth=e.value};var l=o.values[0];s.previewDefaultResolution&&o.values.forEach(function(e){e.value===s.previewDefaultResolution&&(l=e)}),o.select(l)}]}}];var i=s(o(61)),n=s(o(62)),r=s(o(63)),a=s(o(64));function s(e){return e&&e.__esModule?e:{default:e}}},function(e,t){e.exports='<div class=ea-editor-toolbar-item> <div class=ea-editor-toolbar-item-trigger> <div class=ea-editor-toolbar-item-icon> <svg width=16 height=16 viewBox="0 0 16 16" ng-bind-html=ngModel.code></svg> </div> </div> <div class=ea-editor-toolbar-item-values> <div class="ea-editor-toolbar-resolution-value ea-editor-toolbar-item-value" ng-repeat="value in values" ng-click=select(value) ng-class="{\'toolbar-item-value-active\': value === ngModel}"> <div class="ea-editor-toolbar-resolution-value-icon ea-editor-toolbar-item-value-icon"> <svg width=16 height=16 viewBox="0 0 16 16" ng-bind-html=value.code></svg> </div> </div> </div> </div>'},function(e,t){e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16"},content:'<path d="M16,10v1a2,2,0,0,1-2,2H10v1h1a1,1,0,1,1,0,2H5a1,1,0,0,1,0-2H6V13H2a2,2,0,0,1-2-2V10H0V2A2,2,0,0,1,2,0H14a2,2,0,0,1,2,2v8h0ZM14,4h0V3a1,1,0,0,0-1-1H3A1,1,0,0,0,2,3V4H2V8H2V9a1,1,0,0,0,1,1H13a1,1,0,0,0,1-1V8h0V4Z"/>'}},function(e,t){e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16"},content:'<path d="M15,2V14a2,2,0,0,1-2,2H3a2,2,0,0,1-2-2V2A2,2,0,0,1,3,0H13A2,2,0,0,1,15,2ZM4,2A1,1,0,0,0,3,3v9a1,1,0,0,0,1,1h8a1,1,0,0,0,1-1V3a1,1,0,0,0-1-1H4Z"/>'}},function(e,t){e.exports={attributes:{width:"16",height:"16",viewBox:"0 0 16 16"},content:'<path d="M13,2V14a2,2,0,0,1-2,2H5a2,2,0,0,1-2-2V2A2,2,0,0,1,5,0h6A2,2,0,0,1,13,2ZM6,2A1,1,0,0,0,5,3v9a1,1,0,0,0,1,1h4a1,1,0,0,0,1-1V3a1,1,0,0,0-1-1H6Z"/>'}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=["$sce","$timeout",function(e,t){return{template:r.default,scope:{ngModel:"="},replace:!0,controller:["$scope","$element","$rootScope",function(e,o,i){var n=angular.element(document.querySelector(".ea-editor-preview-overlay"));e.select=function(i){t(function(){o.removeClass("toolbar-item-active"),n.removeClass("ea-editor-preview-overlay-"+e.ngModel).addClass("ea-editor-preview-overlay-"+i),e.ngModel=i})},e.values=["white","black","white-chess","black-chess"],e.select(i.previewDefaultBgColor||"white-chess"),e.ngModel=e.values[3]}]}}];var i,n=o(66),r=(i=n)&&i.__esModule?i:{default:i}},function(e,t){e.exports='<div class=ea-editor-toolbar-item> <div class=ea-editor-toolbar-item-trigger> <div class=ea-editor-toolbar-item-icon> <svg width=16 height=16 viewBox="0 0 16 16"> <path d=M14.2,10.7c0,0-1.8,1.9-1.8,3.1c0,1,0.8,1.8,1.8,1.8s1.8-0.8,1.8-1.8C16,12.6,14.2,10.7,14.2,10.7z /> <path d="M4.1,0.4L2.8,1.7L5,3.8L0.4,8.4c-0.5,0.5-0.5,1.4,0,1.9l4.9,4.9c0.3,0.3,0.6,0.4,0.9,0.4c0.3,0,0.7-0.1,0.9-0.4l4.9-4.9\n c0.5-0.5,0.5-1.4,0-1.9L4.1,0.4z M2,9.3l4.3-4.3l4.3,4.3H2z"/> </svg> </div> </div> <div class=ea-editor-toolbar-item-values> <div class="ea-editor-toolbar-background-value ea-editor-toolbar-item-value" ng-repeat="value in values" ng-click=select(value) ng-class="{\'toolbar-item-value-active\': value === ngModel}"> <div class="ea-editor-toolbar-background-value-icon ea-editor-toolbar-item-value-icon"> <div class="ea-editor-toolbar-background-{{value}} ea-editor-toolbar-background-value-icon-color"></div> </div> </div> </div> </div>'},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=["$injector",function(e){return new r.default(e)}];var i,n=o(68),r=(i=n)&&i.__esModule?i:{default:i}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(){function e(e,t){for(var o=0;o<t.length;o++){var i=t[o];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,o,i){return o&&e(t.prototype,o),i&&e(t,i),t}}();var n=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);var o=this;this.$rootScope=t.get("$rootScope"),this.$compile=t.get("$compile"),this.$sce=t.get("$sce"),this.$timeout=t.get("$timeout"),this.$q=t.get("$q"),this.$l10n=t.get("$l10n"),this.$utils=t.get("$utils"),this.gettextCatalog=t.get("gettextCatalog"),this.$scope={},window.addEventListener("message",function e(){o.handlePostMessage(event,o),o.handlePostMessageFunc=e})}return i(e,[{key:"init",value:function(e){var t=this,o=this,i=e.parent||{},n=e.widget||{},r=e.settings||{},a=e.preferences||{},s=e.language||null,l=e.localization||{};this.$l10n.init(l,s),this.gettextCatalog.setCurrentLanguage(s),(e.enableCustomCSS||!1)&&a.enableCustomCSS&&r.properties.push({id:"customCSS",name:this.gettextCatalog.getString("Custom CSS"),tab:r.tabs[r.tabs.length-1].id,type:"textarea",textarea:{CSSMode:!0},defaultValue:"",description:this.gettextCatalog.getString("If you need to customize your widget, add your custom styles here. The styles will only be applied to this widget.")});var c="function"==typeof e.onChange?e.onChange:null;this.$rootScope.appPreferences=e.appPreferences||{},this.$rootScope.elfsightFilesToken=e.elfsightFilesToken||null,this.showFreeLink=this.showFreeLink?this.showFreeLink:e.showFreeLink,this.preferences=a||{};var d={};angular.forEach(r.tabs,function(e){e.name=t.$l10n.translate(e.name),d[e.id]=e,d[e.id].properties=[]}),angular.forEach(r.properties,function(e){e.tab in d&&d[e.tab].properties.push(e)});var u=o.$rootScope.$new();if(u.templates=e.templates||{},u.tabs=d,u.widget=n,u.showLoader=!0,u.onTemplateSelect="function"==typeof e.onTemplateSelect?e.onTemplateSelect:null,this.$rootScope.previewDefaultBgColor=a.previewDefaultBgColor||"white-chess",this.$rootScope.previewDefaultResolution=a.previewDefaultResolution||"100%",u.widget.data||(u.widget.data={}),this.$utils.recursivelyGetAllProps(r.properties,u.widget.data,"subgroup"),u.previewUrl=o.$sce.trustAsResourceUrl(e.previewUrl),e.observerUrl){var p=document.createElement("script");p.src=e.observerUrl,p.defer="defer",p.onload=function(){window.eapps&&eapps.observer&&angular.isFunction(eapps.observer)&&eapps.observer(u,r.properties,o.$rootScope)},i[0].appendChild(p)}if(this.editor=o.$compile("<elfsight-apps-editor></elfsight-apps-editor>")(u),i.append(this.editor),e.previewUrl){var f=this.editor[0].getElementsByClassName("ea-editor-preview-container");this.loadPreview(f,e.previewUrl,u).then(function(i){t.toolbar=o.$compile("<elfsight-apps-editor-toolbar></elfsight-apps-editor-toolbar>")(u),setTimeout(function(){t.toolbar[0]&&t.editor.append(t.toolbar)});var n=window.frames.preview,s=void 0,l=JSON.parse(angular.toJson(u.widget.data));t.showFreeLink=t.showFreeLink?t.showFreeLink:e.showFreeLink,o.currentData=l,l.deactivate=!1,l.showElfsightLogo=r.showElfsightLogo||t.showFreeLink,n.postMessage({action:"data:updated",data:l,appPreferences:t.$rootScope.appPreferences},"*"),u.showLoader=!1,t.$timeout(function(){u.$apply()}),u.$watch("widget.data",function(e,i){o.$timeout.cancel(s);var l=JSON.parse(angular.toJson(u.widget.data));c&&c(l),l.deactivate=!1,l.showElfsightLogo=r.showElfsightLogo||t.showFreeLink,s=o.$timeout(function(){n.postMessage({action:"data:updated",data:l,appPreferences:t.$rootScope.appPreferences},"*"),o.currentData=l},angular.isNumber(a.previewUpdateTimeout)?a.previewUpdateTimeout:600),s=o.$timeout(function(){n.postMessage({action:"settings.updated",data:l,appPreferences:t.$rootScope.appPreferences},"*"),o.currentData=l},angular.isNumber(a.previewUpdateTimeout)?a.previewUpdateTimeout:600)},!0)}),u.$watch("toolbar",function(e,t){var o=window.frames.preview||null;angular.forEach(e,function(e,i){t&&angular.equals(e,t[i])||o&&o.postMessage({action:"toolbar."+i+".changed",data:JSON.parse(angular.toJson(e))},"*")})},!0)}u.expanded=!1,this.fit(u),this.watch(u),this.$scope=u}},{key:"fit",value:function(e){this.editor[0].clientWidth>1024?e.adaptiveClass="large":this.editor[0].clientWidth<1024&&this.editor[0].clientWidth>480?e.adaptiveClass="medium":this.editor[0].clientWidth<480&&(e.adaptiveClass="small")}},{key:"watch",value:function(e){var t=this;e.$watch(function(){return t.editor[0].offsetWidth},function(){t.fit(e)}),window.addEventListener("resize",function(){e.$apply()})}},{key:"loadPreview",value:function(e,t){var o=document.createElement("iframe"),i=this.$q.defer();return o.id="ea-editor-preview",o.className="ea-editor-preview",o.name="preview",o.src=t,e[0].appendChild(o),o.addEventListener("load",function(){i.resolve(o)}),i.promise}},{key:"getData",value:function(){return void 0!==this.currentData?this.currentData:null}},{key:"handlePostMessage",value:function(e,t){var i=this,n=e.data;if("object"===(void 0===n?"undefined":o(n))){if(n.action&&~n.action.search("EappsPreview.toolbar")){var r=n.action.split("."),a=r[2];"set"===r[3]&&this.$scope&&this.$scope.toolbar&&(t.$scope.toolbar[a]=n.data)}n.action&&~n.action.search("EappsPreview.appPreferences.updated")&&this.$rootScope&&(t.$rootScope.appPreferences=n.data)}else{this.toolbar||(this.toolbar=t.$compile("<elfsight-apps-editor-toolbar></elfsight-apps-editor-toolbar>")(this.$scope),setTimeout(function(){i.toolbar[0]&&i.editor.append(i.toolbar)}));var s=window.frames.preview,l=void 0,c=JSON.parse(angular.toJson(this.$scope.widget.data));t.currentData=c,c.deactivate=!1,c.showElfsightLogo=this.showFreeLink,s.postMessage({action:"data:updated",data:c,appPreferences:this.$rootScope.appPreferences},"*"),this.$scope.showLoader=!1,this.$timeout(function(){i.$scope.$apply()}),this.$scope.$watch("widget.data",function(e,o){t.$timeout.cancel(l);var n=JSON.parse(angular.toJson(i.$scope.widget.data));n.deactivate=!1,n.showElfsightLogo=i.showFreeLink,l=t.$timeout(function(){s.postMessage({action:"data:updated",data:n,appPreferences:i.$rootScope.appPreferences},"*"),t.currentData=n},angular.isNumber(i.preferences.previewUpdateTimeout)?i.preferences.previewUpdateTimeout:600),l=t.$timeout(function(){s.postMessage({action:"settings.updated",data:n,appPreferences:i.$rootScope.appPreferences},"*"),t.currentData=n},angular.isNumber(i.preferences.previewUpdateTimeout)?i.preferences.previewUpdateTimeout:600)},!0)}}},{key:"destroy",value:function(){window.removeEventListener("message",this.handlePostMessageFunc)}}]),e}();t.default=n},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=["$injector",function(e){return new r.default(e)}];var i,n=o(70),r=(i=n)&&i.__esModule?i:{default:i}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var o=0;o<t.length;o++){var i=t[o];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,o,i){return o&&e(t.prototype,o),i&&e(t,i),t}}();var i=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);this.$timeout=t.get("$timeout"),this.$compile=t.get("$compile")}return o(e,[{key:"show",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},i=arguments[3];i=i||0;var n=document.getElementsByClassName("ea-editor-form")[0];e.closeCb=o,e.controlGroupProperty=t,angular.element(n).append(this.$compile("<elfsight-apps-sub></elfsight-apps-sub>")(e)),this.$timeout(function(){e.visible=!0},i)}},{key:"hide",value:function(e,t){!0===e.visible&&(e.visible=!1,this.$timeout(function(){e.$destroy(),e.closeCb(),t&&t.remove()},300))}}]),e}();t.default=i},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=["$injector",function(e){return new r.default(e)}];var i,n=o(72),r=(i=n)&&i.__esModule?i:{default:i}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var o=0;o<t.length;o++){var i=t[o];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,o,i){return o&&e(t.prototype,o),i&&e(t,i),t}}();var i=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);this.$timeout=t.get("$timeout"),this.$compile=t.get("$compile")}return o(e,[{key:"show",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){},o=document.getElementsByClassName("ea-editor-form")[0];e.closeCb=t,angular.element(o).append(this.$compile("<elfsight-apps-visual></elfsight-apps-visual>")(e)),this.$timeout(function(){e.visible=!0}),this.watch(e)}},{key:"hide",value:function(e,t){!0===e.visible&&(e.visible=!1,e.closeCb(e),this.$timeout(function(){t&&t.remove()},300))}},{key:"watch",value:function(e){var t=this;e.$watch("ngModel",function(){e.control.closeOnClick&&t.hide(e)})}}]),e}();t.default=i},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(){function e(e,t){for(var o=0;o<t.length;o++){var i=t[o];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,o,i){return o&&e(t.prototype,o),i&&e(t,i),t}}();t.default=function(){return new(function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.lang=null,this.localization=null}return i(e,[{key:"init",value:function(e,t){this.localization=e,this.lang=t}},{key:"translateControl",value:function(e){return e.name=this.translate(e.name),e.description=this.translate(e.description),e.defaultValue=this.translate(e.defaultValue),e.select&&(e.select.option=this.translateSelect(e.select)),e.selectInline&&(e.selectInline.option=this.translateSelect(e.selectInline)),e.checklist&&(e.checklist.option=this.translateSelect(e.checklist)),e}},{key:"translateSelect",value:function(e){var t=this;if(e&&e.options)return e.options.map(function(e){return e.name=t.translate(e.name),e})}},{key:"translate",value:function(e){var t=this;if(e&&this.lang&&this.localization){if("string"==typeof e)return this.localization[e]?this.localization[e]:e;if("object"===(void 0===e?"undefined":o(e))){if(Array.isArray(e))return e.map(function(e){return t.translate(e)});for(var i in e)e.hasOwnProperty(i)&&(e[i]=this.translate(e[i]));return e}}return e}}]),e}())}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var o=0;o<t.length;o++){var i=t[o];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,o,i){return o&&e(t.prototype,o),i&&e(t,i),t}}();t.default=["$injector",function(e){return new(function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.$l10n=t.get("$l10n")}return o(e,[{key:"recursivelyGetAllProps",value:function(e,t,o){var i=this;angular.forEach(e,function(e){e[o]?(angular.forEach(e[o].properties,function(e){t.hasOwnProperty(e.id)||(t[e.id]=i.$l10n.translate(e.defaultValue))}),i.recursivelyGetAllProps(e[o].properties,t,o)):t.hasOwnProperty(e.id)||(t[e.id]=i.$l10n.translate(e.defaultValue))})}}]),e}())(e)}]},function(e,t,o){var i=o(76);"string"==typeof i&&(i=[[e.id,i,""]]);o(90)(i,{});i.locals&&(e.exports=i.locals)},function(e,t,o){(e.exports=o(77)()).push([e.id,'/*!\n * angularjs-color-picker v3.4.8\n * https://github.com/ruhley/angular-color-picker/\n *\n * Copyright 2017 ruhley\n *\n * 2017-10-06 09:52:03\n *\n */.color-picker-wrapper{position:relative}.color-picker-wrapper .color-picker-input-wrapper{display:table;position:relative}.color-picker-wrapper .input-group{position:relative;border-collapse:separate}.color-picker-wrapper .input-group .color-picker-input,.color-picker-wrapper .input-group .input-group-addon{display:table-cell}.color-picker-wrapper .input-group .color-picker-input{position:relative;z-index:2;float:left;margin-bottom:0}.color-picker-wrapper .input-group .input-group-addon{padding:6px 12px;font-size:14px;font-weight:400;line-height:1;color:#555;text-align:center;background-color:#eee;border:1px solid #ccc}.color-picker-wrapper .input-group .input-group-addon:first-child{border-right-width:0}.color-picker-wrapper .input-group .input-group-addon:last-child{border-left-width:0}.color-picker-wrapper .input-group .color-picker-input-swatch{padding-left:12px}.color-picker-wrapper .color-picker-input-swatch{padding-left:36px}.color-picker-wrapper .color-picker-swatch{cursor:pointer;z-index:3}.color-picker-wrapper .color-picker-swatch:not(.input-group-addon){position:absolute;top:3px;width:28px;height:70%;box-sizing:border-box;border-radius:3px;vertical-align:middle;background-position:-80px 0;border:1px solid #ccc;padding:0;margin:0;display:inline-block}.color-picker-wrapper .color-picker-swatch:not(.input-group-addon).color-picker-swatch-left{left:3px}.color-picker-wrapper .color-picker-swatch:not(.input-group-addon).color-picker-swatch-right{right:3px}.color-picker-wrapper .color-picker-panel{position:absolute;background:#fff;border:1px solid #ccc;box-shadow:0 0 20px rgba(0,0,0,.5);z-index:99999;width:150px;table-layout:fixed;border:1px solid #fff;padding-right:1px;box-sizing:content-box}.color-picker-wrapper .color-picker-panel .color-picker-grid-wrapper{display:table;width:100%}.color-picker-wrapper .color-picker-panel .color-picker-grid-wrapper .color-picker-row{display:table-row}.color-picker-wrapper .color-picker-panel .color-picker-grid-wrapper .color-picker-row .color-picker-overlay{position:absolute;width:100%;height:150px;top:0;left:0;z-index:2}.color-picker-wrapper .color-picker-panel .color-picker-grid-wrapper .color-picker-row .color-picker-grid,.color-picker-wrapper .color-picker-panel .color-picker-grid-wrapper .color-picker-row .color-picker-hue,.color-picker-wrapper .color-picker-panel .color-picker-grid-wrapper .color-picker-row .color-picker-lightness,.color-picker-wrapper .color-picker-panel .color-picker-grid-wrapper .color-picker-row .color-picker-opacity,.color-picker-wrapper .color-picker-panel .color-picker-grid-wrapper .color-picker-row .color-picker-saturation{background-image:linear-gradient(45deg,grey 25%,transparent 0),linear-gradient(-45deg,grey 25%,transparent 0),linear-gradient(45deg,transparent 75%,grey 0),linear-gradient(-45deg,transparent 75%,grey 0);background-size:10px 10px;background-position:0 0,0 5px,5px -5px,-5px 0}.color-picker-wrapper .color-picker-panel .color-picker-grid-wrapper .color-picker-row .color-picker-hue,.color-picker-wrapper .color-picker-panel .color-picker-grid-wrapper .color-picker-row .color-picker-lightness,.color-picker-wrapper .color-picker-panel .color-picker-grid-wrapper .color-picker-row .color-picker-opacity,.color-picker-wrapper .color-picker-panel .color-picker-grid-wrapper .color-picker-row .color-picker-saturation{display:table-cell;position:relative;left:1px;width:20px;background-color:#fff;cursor:row-resize}.color-picker-wrapper .color-picker-panel .color-picker-grid-wrapper .color-picker-row .color-picker-slider{position:absolute;top:0;left:0;width:18px;height:2px;background:#fff;border:1px solid #000;box-sizing:content-box;margin-top:-1px;z-index:3}.color-picker-wrapper .color-picker-panel .color-picker-grid-wrapper .color-picker-row .color-picker-grid{display:table-cell;position:relative;width:150px;height:150px;cursor:crosshair}.color-picker-wrapper .color-picker-panel .color-picker-grid-wrapper .color-picker-row .color-picker-grid .color-picker-grid-inner{width:150px;height:150px;z-index:9}.color-picker-wrapper .color-picker-panel .color-picker-grid-wrapper .color-picker-row .color-picker-grid .color-picker-overlay{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAMAAAAL34HQAAAC9FBMVEUDAwMTExMFBQUGBgYMDAwICAgFBQUDAwMGBgYDAwMPDw8SEhIYGBgLCwsTExMfHx8GBgYcHBwGBgYmJiYcHBwfHx8XFxcJCQkODg4fHx8RERExMTEmJiYGBgYuLi4ZGRlDQ0MqKioICAgcHBxFRUUUFBQKCgooKCgzMzMnJycbGxsTExM8PDwvLy8xMTErKysLCwtNTU1CQkI5OTkUFBQlJSVmZmZeXl4mJiYfHx81NTVKSkoPDw9FRUVjY2NYWFhLS0srKys6OjpISEhQUFBsbGxEREQLCwsNDQ3a2to4ODhBQUE7OzsMDAwXFxchISFSUlJnZ2d4eHhlZWUzMzOampo+Pj4tLS1ISEhtbW1SUlJ0dHQQEBAwMDAhISFWVlZaWlpWVlZiYmJLS0snJyf09PQfHx+Xl5dHR0dPT08+Pj5qamrOzs5QUFBXV1dUVFR6enonJyddXV1xcXE2NjYWFhY8PDxKSkrNzc1/f3+hoaFfX1+KioqAgIB3d3esrKyYmJiKiookJCS7u7uhoaE6OjqLi4ssLCy8vLx6enpubm6Hh4eioqKFhYXp6enCwsKMjIzBwcGRkZHu7u44ODhycnLFxcVra2uioqLc3Nzl5eV4eHjl5eWSkpK+vr7h4eEzMzOSkpK7u7shISHW1taurq5aWlrPz89vb2/y8vJlZWWBgYHKyspeXl64uLh+fn4YGBg2NjbZ2dl6enrMzMy8vLyTk5POzs5xcXG/v79PT09paWmEhISbm5urq6u3t7djY2Pl5eXh4eFaWlqLi4u1tbW5ubl/f3/Q0NCCgoKTk5Ovr69KSkp1dXWpqanZ2dmvr6+ysrJMTEyenp719fWbm5tUVFSYmJjz8/ODg4PZ2dn19fWzs7NjY2Nra2uHh4enp6eIiIijo6PU1NSnp6eWlpbKysqpqal3d3ff39+KiorCwsLS0tLg4OC+vr7r6+uqqqry8vLj4+OWlpatra3r6+v39/fu7u75+fnv7+/5+fkBAQFzkre4AAAA+3RSTlP97ePc/P3u+Onz8/z79+Hz0+rL++D89bvl19jr8sL6wPndsq7m0anI0uPLyfry27Oh8O7oZ+n42tCl+x98o+jk+r7y2+Wxv5mGpr/O4JBcR6/AvI6b89iltO7Z5HF2kc7A8c7MiPKavHeIhuB2waL61H37n8m0qpfkyKqy9/j56OC/Ovbkki8sh66AsfbrZeXf0uvos9X21L6A93TB0MKyao5IvMSvfvX6jqIQj/Dm41Bd5u/Unay/xlpqYticw7Zv1kiWn9kenp2M+ZtOkG33ffZbg6LPQkjVaNSyyjRUVpF+0ipZdbP4RTjOqmKQbqDZfuhjOFPDxfhv3SDpqyEAABolSURBVHgBdNKxaipbGMVx38sn8EHs5jk8VtNMZRgYGNJIrGwOllqIVU4jJCSkihwiOIqDxmh1/2vW3pfBy11r7al/fNr5aaX/c+tT4rzevm/fr98x79/vIev3dcx4PQ45jo8h1+M1Jr2m6Tk9xyzOC7JdbGM+t59Nlp/L5fJp+RTSYt1+buz/TKhcUG2T20ahiq6zqjlb5t6ryFPTO1b/pt18rZbqdneptetYJJNqmElGRVcbRpWzUS2STZFllNqHZBOoV9a4mFmGWaZBii7LooqGpGl6PadG+QfUg7SIp2odC5VfZElkU6PKjFJkUi6YLv+inMP6gOnw3z9WJMUAU4xSpLr/Wznta8lkF6IsQ5VlUXXBdXECClXeqJyxYaiqIxsdR1empFeb6O7MDJNKvYMZpQnVhdWPrqyfCYUpC6i5THOb8vdcW+fFel0UB24lFK3GlYLJKjdJQ3bp7qwuZkFVLrZl09P29KkOPpcnqSIKVrfTRjlWzV2hlPySI5PqvVgX6wMwpTdWkR1FG1UjJ6VJmjBUMbPFjMGiUpW4iFyDJR08DbrLbvdJ7fSVh4d+9hBR9WvNZNKl9PIcFSlySISPSKDkquK9RtW14l4jrpVcIaVslwA673Z49NSyiVE61gmSXEZpXKtRNTVLKqPIhedTEf+EuVEFKki9ChXTpaiT6FY6VrKL15oxbkXLUi5uVXIux7C7axmV0YeszuqgqufAYAlkFSLq9IpeTy5gPlXblaj+BdXAQkRKVYHEZAKlLLsDGtORSbEKkoLKyTVI0eUccGFSKrVaaaOJUHZpRKq9BsuxKsAcuZS2q4PKMEyOTUa9zfO3nN3fqrCJrdyRO5mAMsmqvSqUXb7Wpnw5UX0GLzaZ1b6WU6vRJRkkq9RHtVAVqwxbYWIixSYJI3u62+/3vNk+ojChKlmgRdiHz6X84lr3KpGmDNQbyxksq9jveCuyMoo3oZxKxzIqqITCRJXNbLPZ2IWKIPoaDF4+Bh+sq1oVWH+MUqb1fDoF9abmVmEChuvxd1H8RkbNok0iajLkmyTDZLgfAguR6nm2YbMS2ItqFe9LMlTQPhC5kfWnbjqf1kJpupXy+IZIKL2G1Jj+9lZ/TQLFsRwuBWmoDxw98rx/foaFKiSqZKIfXzbRAPvVCajGNeUZBQmX82gZl3oEpQmlriybMLuGWlANhbIKEd1sWFAxTC8DnmTAmkhkllBKzZv+wxYdrDSPhlEc9w69ndCl36LuSjfDgNAhMNKNiAwNLkrNShiodIqBfkRKk4AtQuHb5Abmf877mBGZc5436x8nQwYUHJvsIn+AOika66xfeA5TcslEGGr7a7vVR1spA0p1ZAL1obmMUh2x5DJKHVCh4oUJlWAnqqnOJ7nUO1rcFdy1t3K2yAYVU0klV//+3vQ/m+Yn/bDLqsGltciwVpCEopkue1u8Lf5MNYmlxFJAnc9/cwWuO6uui2udAon84m22m5hLJFB9/940nF0KJlA7+m0tJbaaw8osCpUil0xkUJ1VXKQouLRWqLaoBAuW06sEklFN80HDJRW0UImVUPN/5n9RTHNUGaZMJonCtJDpqyql4AdKJJJQa7Po/6Pk6hsnUGRHce3Gu/FX1pwKxQ0opsqo8kinkk1PjzNIvMFVcJ+BpLbblhdb0WpzdGMsTjCzDh9UJgUWvRpfBQsXESqbv80zw4LkYHKFSi0lChYl62K9xmRWy1ItBVTxNnb1PecE6gAKEzWLP4gLklxizaVKMlwimaWKtEAUnT3OQKE6zc6z8gyuLEqh7LouUDGUTiZ1Q48EV8Dqvm4oLBXUYac6V+rYDRaRaB4mkybcdDHlRJqKpIOER7XpVl0r2qqViqlaTJXe0VuBojVJKkiYPlVfUIpcFwNq2GqiLiYcWyUUj6mQWVVqKg5XiUl/kCOtSipgQqFSnfqopaSqm2VTYxJMMexFLpMIayXUb2pGOasooMk0ZaY6pZpS3IKit+tYK5nMqiJhsqvmUkDVVAF0eNm9cOGyClaoEgnRkCnnhOmb6lawUH1zVapMqZ1QamR54JZCOaBQXaVGLjA5GW/CUoItZBq2mqnPs9k+sSJMpQRptB4ZFKYcU84dq+7odl1ddxSTe1gCo0ylc4y6FOphfMFSnGATbsLFUqF6Vq3i9vtS/aoybESBjdqVWq2AWZVXXdVJday77gaUnlyhej28/qeil5cBu5ApEiiz7lMDRfdhok/lE6oIotFIpNFKrFWbt6u8ojmvyzurGEqkG255I5TzukS1jLkuZaJSPYgV+WHUD3o/uU+qZ6v2zwmVxnqyioZKlUwmok+Vr4zKNZVgzk0nFSyaZKiWry+qXTq7HlgrkYQSKVB2aSqyn+6RfaIwQfJWvxulCLVacSTHJBUo3UCyKVQxllFLu4yKwHq4sIr+SxYdqya2RlEcz0P5HAZG0t3UmtvapVHJaTQDtxVCwDQWtxhic4rAiDCKWFhEON00YxOYykeY/39/bgnMWus79Y99Hkq+PYgymw0jmkqWqIprupyqmnorTkUCZRKl6fOpqFG2srrsAdXhcH0ARs8qrpWk/zAVkCZrILlEGX8gqum9KiMqb2VLdi+73S+6+/W0u5hWoJ6CtdJUAulwvZBkUL1yLVV5KpusPNXm9PP0k52WZxinUsWtbKLqYNUv39cvVBTHChV9emKT4lohcgcbsgXzYIvrV1X2KlUpShRvsDltTngYt0qUJWdT9/6+tojq9XcKKV0E1UTUBBRdyTIFdXg7GDyoAuXMVareH769Rwd2M2Cqimt5Oi6jU1wlwrr3VFQNClONx613a0AZXBNI6Sp5s28HujjQyPUiSJ7r6mwCxNKFCdhpcDKqluwYx5qyYjqjiB+vxbHMCyobpqxZsRVThYgiE8W9AnVNjaxQiTKDQVGB2lDDqU7HyNSWdD0Vq7uiIIFiJZIi+4QR7pUoWZRwrLfFOa/WyEKUGbxDEibKmjAt3bI5ThvLoVCRUGVStaPbHd3vKJvsVeW15jZVouzFdWGVW5VoSlWibKSZqnJdG7moPt1qu95iYph0TUrNfDJfhcpm/r6VrPCkKV2aqkF1qhKFChflVA0tKMse68e1j2oqqv1WlNGUqPk8VJ6qx5u9LdhipquNq/3a/vwTP94/yMDGqSBpqo7HiibKfEZ1R916JOpsghQje7cvKtqZdDqyrLCe5+rRRQ/XDFeboaLtYCXqvaC+2iCpqjQNRZWk6VnSqO4CGokiXMpmBJkOA0XnnXmJqF5P1KyHSdQMVDumrCXrw0IigapKS47DpkpUqJ4bTM+ghD26OkxEFItb9T1Wn3Yst5p3/oK5gBGOxWsbVW1Y55wPRZMEalgdmyElgJoGEotbmUduVbK14y0bYwLU7+9ReSsTsDTZCKgIJkgsXa0L62vJoKjMsBoOuZZths8NlcRGIzaKa1FlYzeGVFSalHX6iApMlTOq0pW09gUGimsVk41TMXIDClXVDIfFBYmRUWkmULpQbeP1+0yYKpuqu7vO3fyOoWKibKZVUOH65xUWopLKYaKeqkQZHN/F9Rk1Go/g4CJ9JqwkTelSZXs2Iut2xlC5dqvFULWuUkX03JTP8EaSEZSo388jRn77+WJVjb+oingqXqr+79gfnR93bM65vFZx/du7tbezaGvWcu0/TNGxiupqFMXxeahbOmVgSs1xKuNhuKS4xyLEKoQozBSWAQkEq/sCaXLBJoWdnY/iU9z/3nshWWvls/2x9RJYQYrOSUI57AyJPZ/PnyfBVePiXqlVJmdRMjBQprr/+sUg3UFFMP3Z/oNKMhvXeoVrScWU73B1tn+77zOk6DPCpWrqrjTl41h8YUq8wxAbuBTzSIUpXLst91L+2mLh8XuhyjKuFbcicSsGyHqmLuJa5hGsZj91nVJQmEChSqKohDKTo/Qn8rgLEp9gcvkTyf7L+BPDpHSoAHWfHS+mMyb/njRMdc33Y0t1LVclKSQz0QRU5H4fqI6lYDIVqC2ziPRyca43UzHFQA9cpurOwCKYbl4uBcuT2tJIggsVI8PALDK5qvjDU1FXRVDJlZks22aQSJZxLZkenw9M5FOob1wWRAwTT32rFZGkirrJqoSruNsQhYrNTXsfLgrIanv7DBTBZfU4SbmdbzZSPx0mFRXKTIpgzTAUQ1Hci8JI1B6H7ardLPvdfr/dZzwZLkTqm1BkhqKtTNZIHabSV0/1lFpZMqHRsWhjqKaQ685TFVVl98JEWZDCRAyGiikzllSH7nzo2q6F1ra3VirBylKqiUqV4ErSVaI0nIqayb5A3SkBJdUJFaOSZVY/F4P1CBRB5IV0OLeguFV7u41BKm8lq3nLeiphTaiIuWiyok3SMFRNYfUQXAqu0+7ErJCYIpUCKwLnceAB1TJQnGo0FaOYakSBMhcwgmg1JSvCnVahCtQgFyRf5EQhIct3+WmfezGpcxYcRkC17YESYOYaIdnKEVAEkk1xFTNa07CIm3Sq4h0PHyKq5Ce51MV+schsYqESjLQdaxVuhQgVJJtQcslEFUfJRJeMvtNqWYUMFSM7Bmx/ykO1YNaMioVI8TspcPg8pdXSe6deDZZMUWVpDRV7Z5Xt9A4qkkeVRb6wYbLnI/tYwJLJegR2NJR1purHclP2PSoPpst0WV3wzF2AvqSCROwHlFS4qjU0uegsnAqYs3At3gJ1tJqLtldI7VWqzbgpNxtEuIKEybtC9kKtvhqKCxNzEaAlM5SZ6BrU2pqzcOlWVPnIKCyp6NFUV0TH8erFxKUAjT2yyKXHdOFW3r/plzVcbPm1nAWVggnZGhMPqLU3//2ihQxUXEsiTPR6vKLio6DIuOl5+3BdLixQPI4imADZ5yb7JPJPKLZeAwsZJki/Wf4RXXhJ9sG1AmXfy2Sqq4H+54qOUVvXoigMZ0bqYlxE6uTgYLgPDJIcsI0FaoRalx6FHp5CmlSZ4Pv//fa9B+5aS9spP05+m+iMaQaVuT0hEc71BkgYD8UoIf2btv7N3YVZIgwSLj5cDtX7GVX8D8lLikJlDQ9lM5ien89/Z46R9I+qNFFNJlXLr6Xvf9H+zaqimuIzZ6fIvKMSZbzxWn+bjCgXmT/nmQ/Xk8mykasrJrZce1iSQsUHiR3vjJ9MqBjBJk1bsuK1zMP+PP6QhiQNYfKxZvKkeFgmUO6iarkuiw+19MygulthfsfAdWGKBkyTLSksUbLiDo/PzwckUPlYaZpv8+0537hFdWH/kzh9yHqWEcXMMVyso9OxO0+apvP5EC5b8iIp88M3POQMQ9x5mEtEobptaJwLFWU1LaanS0FFM93x3nWY6LGbpuNEAjYdztF3aw4HWOkyww+FpokAK7SN3fBpCpSL6LosGVHgzFpQqBwmM/GLK2SgJlGhsv71UlRwbIg0CWKmhhQuQYz6UnpsMfW0Xdo+etd1b+8r7SzhHDVZAwmYBZY0ZLBMQRkzOzzWgSI1KHOxGVWOSAoRW93arqpYt6aMTG5ykTSJMiZYX4Y7fA0sUw91jSlgGyssUUUlarws4zKyttXlhEGKiCK4SLpsUbFoJlh60lRctWWQCCYbEcQpERWq1rWZNep7GU22CtvWbSdKd362mGRJyqh6HdhrsowqB6jhI6fN6eJnR+uEJarASkIGCk8FCpXdhmw3hWra7Q7Ydnb3Isog+gLEQvRaFxVtRNlTo6i5nE5uPI2iTOs8acque0nVWlXAqqrqqu22ClGieCtgFE0pr2Ug/VYhsvV3HWncpgFGT41v5VSNLExGlKaPdt/uXWS1VVSTqnUrzRhMlni0GVmaLBGVKmHSABFIBk8DSRQk6yIfqD5a7n4EFdUEai9KE4ds2Zb9LSsoWYJcRhecbz7afDe6GPGx/qOD7nHTV7cojDOLWyJhZNAtCE4aUiUWrgK1i3ToPwCkyB4RdeZ4nsf7ZWPOx1prv25/sihOFKNwjtwJ1+nP15/TF3/r9PWUF2s02ZjZ3037wknWE+rXBsp82BJJiTLHb0BWFSh+lSjOPkiWzVO9vFdTSYUtii11iwLSxFCRNCWKdN+s+2bHe8OlyTMpirQTjCXIOoKr2lf7d64kYfWd9UN/aaIYKJ/LR2dFdaLY1NNR0/HkCsqLDrT1dw0vbftSWk0u9s4osoDZCCS6XxST72/UXdiH/SgqRAHrEHVHIgoVzeAZTgMi5tO2LcegcfnDMntHZwHFFoio+S29kF8u0nUXSgB59gjNnFjUDFFGREETRQJWtbfqVrWVm7vqaQVVT1toYhFIP5BEfVD+jyY+JE0kUZOot4r64ZGWtSxTlSGruJGXp566r0tFeYtE8ZvoBMtgyqQqZb3tITGfYXD/AbsxSXZkBUVqYYgmVv6tRxKUpCbbrbs1Eh4+XG+ZHs4fte2HLZ0CZ8P8hOl2y1M2srEax7EeIRlfWZFkXX8u1/KnrqxrLo2TxLNujlQaXa97XGtRmYFRXVbdZjNsWivGh4giIzMVLmYzybray5XHl7s0tmOUTSCGSBck2nORrd16A7Ob7SZQudsjo80Ul5uzAqXGeU3DHllHI8LO/q1Anem2wCCVgBoon5YBvFE2Z7mE0VVds3tWC02ZJvrvpEhP0TAKzObvSljU6CmmzfKWHSmilSVjvVqxcrKeVfMkKmVn6mMjW+t2M1KaMku71LXUxKtrtUTFqKtTlqzP6ydrvNL1Z/OK6tW9QvKKKdLHhIHyyEEXOwTsECTqc+N4REVXSyuppC7PIkwWCit9pT6QOMrO0VmwnHdut2V8DtvdYXcgG47XLzhVkJ6jyMf9PQs4zuQXzieNSCKKAuWZXdTfVFwHXIetvZMQRafRe/7nWVE8/2TRFGm6d04L0ht7eztP3b2F6pFD/q2IqMj/lzHCw4ppueJZaaNszpolTc95u/ccJqPrLy7IYNVRIAqi+QYRpBVBF73QNm8x4UFwNfj/HzWnypvp6Km61S4P0h81rM6IKrYqKj9qZQnt7KVEoXqNF63p7/RnQmmaVCesLAax1rkowUx+5vfMvWcnSYpGLOUtvKVbSbEaMAIjglhnrWlyz/vvdRDN63W8tBV+1MzM9CWhmRPvKBEpvG50UYLYFXsRtKYzFbsd9jqsxMjN7/DipDMQVOq9P2rrnFCSVLLH+ypVusKPYsl4fowXK/KYbuBz0ACxQE6DMswqh9f8mnWVFFmTWX2RshZgaGCpUV5j52Dke1z+0zZt2xFi00XoGDDiIvKJwHCRIvRNTym2JFTYMKpSZVRGvMypxz6qkJHOleETKjNU1FBalOXys8AjVk9OKeMEueQ1lyCcqKYjFFi0tpDSHrznXZwg9vSCRe9C7OWmJc2UfJNJ0Qo+UFPHPFpMXuTGA5crB8XqSWXipd9gE/0i6TBjeEKJeiAVqWFlmlyabDUGyk1r2pTKsO3bsB/7cfAQeEY5Kz05Ra1S1GZtWlqGVim9XzQFO4s1TXFHpdI8tmBXd3VgZPT0UBgIXcjvQPgQv9WrpS1C9Ew8uc2pz3cahZbq5fvWCh2wFDwVGqAkcJLU81flYOEAKeJHbpA1qeftoc2qQxvHYpwJqfhAa69WTDjdvcA2zkJ5qhJCjrBU4iTkSQzpezVCm77JHEOrW+Qhq8rdpzoRi0UrbVRGN/pPei7TXjSUhBPPPzbIHNdRKAqiDImjNxiDrC8+O3DYSe9/YV114KFL4xrqPrIjvqg7gba/2/bRcJAfn8/6WVfPH1kbBRRIZyLSweXcBV4piuZZ5CeNWEA1JCIDtK3b5quCJmnlqjS/KHZeCSQH/w9WbAYgTE6s0sFy19oMzAcaatfVUDcmu75SMldSflJSo2GCTJE8PJ6UDL871kbuUM43VadWJuqlpqSTbCQ60M4U96fx8AgylP7VUEoXYCZnWuHxVTQyyuYA546EwGGt6gQVxTNyyqjsvnENv8MTLHAmes6KQcp5yjmLi63wVYaidCQR5spkILmkUcvDZD+iGpthgmrsTNTs0J0IG2ltTDVL+1RKrmBvFxgvlc2U3AOKhgHLVLh08HyXkSTORaD11VGD31WWfPqkEZEEWHoLACXCBImqNKqxm6wtomCkcyfqleZeKAYzUV8VjtZkyExolHdCvVx0pYILMLCaZpnDL5p3MB8G9RTzs0xEicE07ysZUCxWoPIEiclQ9MCa7dkNysfJzDIveVl0TyiltQkmhpXvGgRFh3Hw7NKHuRpYB5AScFo0RpnbOIzb777JOGz0QyDByEgEGSqom6WJIrQ48nI+UIRSsOcL3cMZqJB6/Hg/GpDTFOmebboTJ0IBFoEiGeoJA5f9rxgy2I0bBmKoEtiSpayu/f//9KXUM2vZSrV1gQIlOZyRc8jDlo+WzaEwTJsAiS7w3iqY5XVYuerHL3cV7P1Rioa62jg9GnBIKx/qGdar+5SZBpWXSNpIULGAsja7ePDGIBAPKB9UHKligKeFogcWu/S7s9EmUnzyUFNe7EEGgys756816Mv7xDgv5Y+KwEVZZLy22EZf9P+jfHyy+PQZTURwuPIo+JuqvhW5dSW4dhgFc3CpiWfjsDY386nkm4X1BRCmkF+QFFz5XiqjJyo0lzs2a5mMMOgOBpugBiRWgASIt6qNhKZqaXhado1m4pbV3dREuQUUyh2mIAu/kCmggcyPqXJFMXPLOWpa8dAfMjT4CDQuVuxYC4O/i2+1LrbkhbJM2RKrdTSYFImr336azB0aD/9YbSKfzFxVk+UEYhKpXndIyFjuQXEAOpWCMR4pMc25ddWbU3cTZ9ZynTZSyo8F1qB1WX+ntC5pherY0Oj0VnkxNEdXvpwAzxTCag7iiznzTimJ1iDaaILC4WLRsO3ExRHWv1JSbraS+2bEnirvmHTfsUKP/FCJoVijUkrBvojHLicoiM07oJUMGuGeUxLPRDDJSidy6VvoQD5H7eSfaPcE8yRvK7uV0HyKs7/+n34CHR2uy7vpg7IAAAAASUVORK5CYII=);pointer-events:none}.color-picker-wrapper .color-picker-panel .color-picker-grid-wrapper .color-picker-row .color-picker-grid .color-picker-picker{position:absolute;top:70px;left:70px;width:12px;height:12px;border:1px solid #000;border-radius:10px;margin-top:-6px;margin-left:-6px;background:0 0;box-sizing:content-box;z-index:99}.color-picker-wrapper .color-picker-panel .color-picker-grid-wrapper .color-picker-row .color-picker-grid .color-picker-picker>div{position:absolute;top:0;left:0;width:8px;height:8px;border-radius:8px;border:2px solid #fff;box-sizing:content-box}.color-picker-wrapper .color-picker-panel .color-picker-actions .color-picker-action{width:calc(33.3333% - 6px);margin:3px}.color-picker-wrapper .color-picker-panel.color-picker-show-inline{position:relative}.color-picker-wrapper .color-picker-panel.color-picker-show-hue.color-picker-show-saturation.color-picker-show-lightness.color-picker-show-alpha{width:230px}.color-picker-wrapper .color-picker-panel.color-picker-show-hue.color-picker-show-lightness.color-picker-show-alpha,.color-picker-wrapper .color-picker-panel.color-picker-show-hue.color-picker-show-saturation.color-picker-show-alpha,.color-picker-wrapper .color-picker-panel.color-picker-show-hue.color-picker-show-saturation.color-picker-show-lightness{width:210px}.color-picker-wrapper .color-picker-panel.color-picker-show-hue.color-picker-show-alpha,.color-picker-wrapper .color-picker-panel.color-picker-show-hue.color-picker-show-lightness,.color-picker-wrapper .color-picker-panel.color-picker-show-hue.color-picker-show-saturation,.color-picker-wrapper .color-picker-panel.color-picker-show-saturation.color-picker-show-alpha,.color-picker-wrapper .color-picker-panel.color-picker-show-saturation.color-picker-show-lightness{width:190px}.color-picker-wrapper .color-picker-panel.color-picker-show-saturation.color-picker-show-lightness.color-picker-show-alpha{width:210px}.color-picker-wrapper .color-picker-panel.color-picker-show-lightness.color-picker-show-alpha{width:190px}.color-picker-wrapper .color-picker-panel.color-picker-show-alpha,.color-picker-wrapper .color-picker-panel.color-picker-show-hue,.color-picker-wrapper .color-picker-panel.color-picker-show-lightness,.color-picker-wrapper .color-picker-panel.color-picker-show-saturation{width:170px}.color-picker-wrapper .color-picker-panel.color-picker-panel-bottom{top:auto}.color-picker-wrapper .color-picker-panel.color-picker-panel-top{bottom:100%}.color-picker-wrapper .color-picker-panel.color-picker-panel-left{left:0}.color-picker-wrapper .color-picker-panel.color-picker-panel-right{right:0}.color-picker-wrapper .color-picker-panel.color-picker-panel-round .color-picker-grid-wrapper .color-picker-row .color-picker-grid .color-picker-overlay{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAMAAAAL34HQAAAC/VBMVEVHcEx/YZRsq11jnYp2lXKEZYmShGCagIB+f3yAfX5up19rZqKRT5xcopqkW2qAfHxdaqmYl1R6S6xVaLKrR4x+QLOMAspUU7utVFSmX1lWp6ixRl4yBP1CL92BAPJCTMz0AH97uEi9PUtet1ulQ5pYLNJTv15JU8M9AvZXAOnLLzywL6VXtHQ8RNWhl07ENkN8u0S3nD2sAM6QM7RoPcGvOptOurU8H+ktLO6DKMF3AORRuo5L1E0vP+aJ5ACiAMiatDpMzVZ5HMpH+ilqxUWAANmyqzVRorSIzyheB+BG/yhLxYBeOMd9/gBJfr3STCidILi0FrND5EjBJ56/hDnUALnUJjWQAOOYqkS6ArflAI1SAPxFz9HAAMlLxLfNGpS4ZEC8AMBnD9mA3RtvzDvJKW7QAaqeyh9cAPJoAPnRlide4DBHncXaHy/CtCSlANxCBe/sAJM9y/HBMnOWwS+zlUT1BxNx+ADEojCsuCvPIWVO8SzaFlrrAEeYAOyVANZD7D46cNTTrR1zAO2C8ADuBh1C+6rCWjhSx1RE3rgzXd8+td/gFirjVxjnDiPJUzBl0TtB56Y/9XpA5G8tW+/qAG3pAMDJezBGvMzSAMW7ANexb0a5Ono/pNU4h9ziCVJD2to3l+WFxzTWEIBIzZNJ20frbQ5BdMg/7WF+APzcAJbFwQ8xcOg9wOdE9vaY9gDScydE15lAkc612ADaRSFV5jHgAnRH0LdC4JFb6yTaix2Z1Q9y5RngtwIyh/ApSfr0AFw0nflF0nc4qu/fsxBB/I1p2DDEyQDiALAoJvnbaB+r0gJC4Oau5QD0ADlC2221whlD6+9D+sT1eQDoALTriQU5uvr0WQVA/m4sZ/pt7wuf4AD0AKUwgfk/2PlA64XRyQD1NAte/gRD58jjeRVB8LXsowBD8NXRANHrUBGV7gDnMxb1lgBB9jtA8pjjlhHtLhL1tQDpvADI1gBE+t3fNx0//kvgyQA/9luxAOdY9hdRIP33AM3H6gD21QDrnpHAAAAA/HRSTlMAOlc9MC47AyQaSEZQT0UOVk1fZ1xvqHZiVGBx+bvqm/dkg21opHuI7NKnh2KtXJZ3e9F9gXZ/y96KynWmy8u4gpea7oO5jXCjwfmJk/l9s5WhwpWLzLbab6/a+K/cj6l+xLC0lKC5r+TxrLmMxKvk3unkkJZp++qaoLHcw+b0x9Gpudvc7fOQi7u+vtLW36KgzeTD3+X0np3n8G+ArrvVwcyKu5mz5ZPV+8jG0ND6+bCtn+TDxtCivdDAvsPY4PP29KLfyPWs1dfyxM3U8/eyu+j09+bm9fb29Nba9vT20uT498/T3+Xh+Ojp3fXk4dPr9+j09c/29eb65VLGWq2zAAAbp0lEQVR4AbTSsariaBwF8C0uZLSReQSbLQf2BcKCU12w2VdIYSFMtYNFGgufxNbCIlhIcrtBiyBYJ01IGbDQgIFAwp7zHROvbKWj5/y/7zZX+PH/8sdjsSzzp9ftzh1nNrxkyS5njj/vdnvt/706Lcni/aU/jyYNSCiqmmTx/OsXq/33l6N4dfpBlA6HKfsZpl5SLavY75utvRamN3n7HqQpPDgs5tak7ESrdqO/3177mpbZU5Qqza4mlw4zdZnhBaHaIbyrqgr7Hf78ZajuJm1RDDgYXtkkmxBlXBjK0Fb279dXwIRap0pLapJxMkyTHatUHMAWgj0dVd6gWEzr0vxfpuSEbZ8L4+faX9+akHKizNgZTqYyMaZ15WyeE/bteR+/ped7f09RoMp0UqYlVJxIKoxCWJyhOxxvh/G8FpbrKa3nrKqzgQcgzCAtSwxQaKRSM2lQs5gqljDPy+DCUMUUVfWj84SF8f0G7whhg8GAKKhwGhQPaUqsmngsAljewIq8zn8+YWGdFU3oIJXJJFKVGYvYMzvG2EI1MgUuhq6iXnR+9wG1KoSbGtyoGhQOQJFt02WThQqlyoUBSgsrfj7+kNz0mCK9Hsu4ZeQKpNiqIRF1VYWSmSRekicJUQWmqH889JBSva20KK6KKpBcToSuozUmClCgApxPCdkYDUMPs0WvMrl+vT3m0gNKJdSBKHpciDjBGqrAxgCGtiZcuAXzWMCgAiopksKkPn17wIVf/Nl+VIblKmuXMESmQNcV5XNCtskWqu1nWC5X/dcDqt73K+pQHg5YlFRrJWAVuRyM7ftmkBC41oVupWKIkqt3z8KosqZGdSaKdeGiSlkFGFVxnMABzMcwlIUsURyuizEqDHOs619w3bWrKUgGZUwKUVOYVpgAE4w5YwcmFPHVNnJpX0IZ1yk5FafiiMp1167OeMGzUR0uu5pOjUohiKaxTIzf0pQ9G+4X4UIuJpELLLqOd7i4K6D0gIwL1dSlaXolMbgdtg1NzsgfOaP9SCq6wsUCNKI+WLOuExZ2p6v3z9mozvyqtCqoDEoZr8bKBqaNs8E4CkAYXD5qVHt/sSdsi2GSj+SDr0jYsf6PUfp3UeSM4zheJGC2SPrUga1SeP0WI4gMKZ/q/gAhoGBlwOnEylK0SC/MIWydRrA51JQKy8B0NstUJsNeIZZ5f3/snHFZuffn0frFV9VV+xZXrRZO9r/CRLCGEqqhoTxE3a2QfLENkwcMFZ/HPfcC9vdaryUwVUm4voHFRccniVudDMWheK+o0O3yaOsoLd7GMaT4d1vVXmQOI/sdV+4ihY3sZ7ytusf0GyxR0bBChb9CcFLaVVNF8icwp7nqyrXWc9GXlaGsD7ddovr1ZL2qxOUsmZBApVueNond9f9ElrjMYdr6ceUwy1x/iOuW6vtzpTKUFYbBTSwV0gMiKdZPzKtKZKB4PZ2oRvvHESiGye5VfCleipcjK34Q1w3W4pSL6vyPzV12qJCG1FSgJqi2hmrHk3Zs6+sSGzST7Xuo9iNcj+JyWCGu4kVdpbDeV+1A5afzWV1DLwQeQXKUbOK1mZnmrN/vywdaX2BJDxcpDJep1nYuVRXH4wuv876LP1Z+yoGdgeE6D8/DxTDgoq6oBHVtaiOS5u2+TWEJMAKVcC5ouBS2rmDFqtCO0q2/1x0mdlbUYohKClpqQXp4mBgLEs9JHIvvOSg+UiLTkHGu3giYumhVMnMdxUV37x5rlkt6Ky4FTGYopipcrmq0G21HyeZ8LHeZzFkWMP0hpXK1KgvLWEsA7/yEudxKroVJUcFDZChC1fiKarqqQvEi1mLOctioN5LWI1OVnAtY5ud6OtrPeK2q3eWWqXCJLCzsWMa6VLExa7abzeZcnruieWQuWzJQl1fBRFaWRQkrO2ageHe1Ny6knx01ZQtHWeklqtEQlZukuY0XNTHJosqVtBJgg+pe5lquS1TqyiRQ7E8Qb1Tf5do0F5W4aLYIszDzv5VlpxLTuDnmVF69WY/qqOoRCawV8aF+qyWsQW+Aq2Ou5VdYxr04Vwbr6eknGNes2SbfiGrKtRZTTELipWGXpjtXNchUoC5Jzfq8DozHyaxWnweMg8FCxRt1Xs+1LK2MXHV8hnH9f0fFBDVV1Ewmt7pUTQTVGNOlinmRzeJiLWswUFiHAeNaS1wKy3juIv71V6zDRlW45FYHcQlqls52otpVtxJU21X35vHeytw1aAlKBqwDzFzlsnwun02VPUmfKparfhTVZrpBpa7FQVG7sEMFSlUPpiJU97J6/Z699tFG0cfoQ8RzGDKpg4vERahKdT1/ypi6fr46178byk11OCwOB/kFSVSK+iykCmUm2S++/7iof5dG8zUM42Iy8Qeo2CVOFQ9MISHuNtOkWjicKVKkEZlCgrVg6XD+AQ2BiSKnyIDNFGHLwYAwYcvANkE46BaWizghDIKkiP3e1/0+8VXv7zvWH64nTPGXYpj0Vy49XL+GauraA/bHnnJpP/6QSqxQketlrAwqaqHSDQUDRS2p9PUVC1W4hHr3DCVTsWhZERhDJhXvpYvJpQHDRS3trxu95chl1lxvqnqQ6m+pREKlwfqtb1TEkujfoORhxaI+w6Ty836V6iMos1AxUHZFLY0rkgvXX4M5syLWkVmo5EqGCpdUfZ2wn6oUy6p3Mv0ik2HTpS7LtP/wbwuYVJbhOhcrYL+LFbVubnLkClbn6E/BHh7+FGtq6v2v51b9//f7UqWpqGUTC1CszGdYWgyUVHq42nvtvb1zPbkGkStcN79zxXOzvAWp9EA9/I1L61GrZ1fEqv5WlQpUqDDxSsXiLK9cjFcufyx/PNAzzDNrq/3fNjBcYsk1+DGwy7vxFp5irR2hItaDbwhKD1W3z0ARqwoqbYVodlYfJqlm/ZcXrgNUoPTsUq5pL2CDAarWj5ZQP8ml5Z9yPRzJpScVtaTCBStOqEerKrFeqfQZxVDxmGAHliUwVFu42oaBOlcsw2C1xPrpWq1prOyRBwrXqV5Pk6obtaqoxHpXfaaaLZVmS24VpNVZfVJFMooJdRAsw9pbbUYsZKAGLbvM8t6IBOv9tVUJDNSpUKolFCpGK1geptK/Suo0Na3qLeqPPv5A8w40BUOlz7n4ccnVxuVY5FKt1k8GqxGsplmghg+nuHpJLbn6uDpCdarVpFUFFCrdL1CLvNXFVVTJn/JqorJLvQzDFb1AwTo3atDSVAvV7c1tSyRt5QiWJpVrnfbI1Y1aHb1qh1awKvqs8gWZTXrMOE2uCIbLuXZR2ZUscTGuqEUtwRYca+3aruFwmNTyEXEJ5VgdVBoomQKFSqZYoPSlwdJeZ2e4XteqOdeFYqGy65ZceaG4Ia6hYHKdaj1exOp2OvzgvUqVVBVYmlG8WG41PsvC5V5n+txrV6zGVrvRbp+0z0+ACRUwq+y6vYC1MoQFClW4HMsqhokTVipWGcWWwpRbzOnj8a3mpocExTujl1CwtoSCdeJaA2At716o8c1Yrp8r+nHNX7Ph9ZChEqvZa3Zxdbr6ZXFEt6qkrbhgisos5jKAsvqHzrJwOZdqiQVMtRoNcp2fiFVDdXHRupCqJZVqsXn9uJaEUq6hckWsJq6uJ5NVsKSqSFV5qcoEKptdzAYMlVcoF8rlfOI62z3bNYtcjRNcqOxqPVLrXq6xXQWx6pNrL2rd4aJWE1W4hOJJBUqzagmUXjaTy2anHyzTloElrrxUZweqFS5UGrku5NJc6165xrBqYt1N4oij4fBOKsWaqr53I1YdV6qSySqxMjk9SjGpwhV3LNh1IJZgUsnV0KJWjUmlWo+PqiXW2Kx7/a81MitRJbAms+o7rDqq96g0brg2W5IrLpiR5NWe90prabuG2aVYNeXSHEsqXKqFa7wyszS51htdSzUa3lkVR0QlV73zDCXVmmP5gppSZUIz78/NQJlV8O8rjyt+XA3vhBll1qOmWPfUYsszmQmua7mkkuuueUes782uWVLV62IFTCh9UxawqWl+Puvvda9CgVxn+ahFLqka7RTGkiPCAvZpeeb9BJdVI6F8Q7s8u6p1saxaq4AqLeHKoEpRLGzhWpbqqVY+cr2u5VyPzCyjbm/XZ75+m2hSadSKXD4iLmqhwmWVY6lWhvmCoVqYwrJv7DJMrkJBudJaCWzzda17uca4DgV7nNmBNZqMolaodpoRS6qqjmjWh8qaVSVU6QXDtMBskytYObnSXG9BrTfWA7VR26jVti+2n9fSVOvT9sxILM2xEtfXZrhYnb0n11OtJU2stFWgPFi4gAmlM0YtsXYFW49aJ8jkota+XZ/FOlassVjjGVTUsutSKNX6imoHFSckFrWIhapkV4Y9tXo23xFV1PIV+c2/lYpayrW5KdbGBrXItf+4r1ifQ8Vmvn0T7GoyuhqNLqMWqp2dhBW5NFjA1vhpZZJaLFQrCytauMhlF78uzmgXseQSzGd0re3atnKpFbXGuG4Pb2FNzJJKrEuZpEprpSipPiS10iOCCpVNfImLI75RreWopbmWYMSilmJJRa19u+4/Hx+Pjw/Hh0ktuVBdoeKKyIgl1xc9WC9qLRlmVbiilWeWXZGLWuGySrWUC5hdgnFDxdIN5To8/CQXLMGutNHV5aVcrrWjK1LrS93zb+vDhzVyGRVHfCNUqpqzCpdryWSVXPlC1JJpN1BinbgWsfZRyTVWrLRWmkswuXbkmuYySxNLrcIVtZhZRs3NGRZX1KJWxHqbf6ute5uNzQ2uuL3hI+671jFLa0n1jVyXV6DIFa4vX0BxRKvIFTfMxBHnpzfEpVkVLNeasoC51m6C0v6hy45ZGsv3MI7noBkcPKMhKnLHYkACgnKZ4uK8hdvZCFMNY5UuNkkXYpFiGiPTBSxiYrBIYxqLlMGQdgjY2K1vZJv9Ps/5+/dkmH3O2a0/fH9HdtFDzbWIda5aVsVaWlCxW08oYmlWwRIs1lpZt6toFjOLYLlaLLpAwdKyWEvf/LlqMcdaquVZRS2jQq38DR0r98knq6tFAPGI+VrFNdcyioVYe47FT6JgIZZZ8YjLtaxaquVcYl1/r32vxVrxiFktJlZwebGWYrlW/tvady7fEBdDZReqK1S5b+sl1nIsFmOJVcvdUK4SLKmotVKMuQQzKqrebRQDKrDeVHbFWkax5Vq4nl6e6k/1X3Vc49vxbee208lqMVrVvtRwsXDEEizDioplVlTFWIYxwbajy6w/1mKB5VrEeslcsMawbmGBunmrBcuxYi1UK3z0Ca6Qi4m0FOtdspGASlVrO9zQ+70WMyrWCixcT3VqOdZYsTqwblDFWieZawvWxw/Khcoffd7lSeVaSVbLKsf687cVXeHbWvxYwPrlWPW6XGOmI37ruBau2nWNWXUCa+sjsFI4onOxV1dUGaUvi1gptbhhXtX43LBrGeVcF6HWz8I3WKxeVy6OiEojFqoHw1wLFHOtErnWlStZTVbtEkw0o6ziP9QJKrn4tshVMay33wMmV/Wwetg8bH792vraOm+dXw1+Xl3gUqwF/xt4K1bdrHFduTrjDrluUMkVcqkWqP9ntUqhlmDulV/Rs8modFuqPaMci1yoVAsUr2oNrq4GoPRtLch1XvjyEllW4dK+KdcDucIRayfZFV9zrWtJAsyKN1RgbSRsI8XFDdWq4iP2etkRq66Fi1qt1vkgq0UsclFrv7ASbzjmcSx241xy1R6yWie4lMu1fEZ6JcqVBYsPS2xisFC5lmOh6jWCixPycMNzsQa4xLJqsVH4AOq5/vx7LVRZLatwieVauJCt08tfPSv+tqQoVdYqRcUVaVURi0+rwT5X2WGzKRWxWlIpFlvItVHYrMMybD4fz8fjoXK5FiymWqBqjnWyBUyqeEaCofgTSqo0zVCwrKKWY1XjF9/UFz9ANfg5uPANtc1CYfzy/GxVvW4XsKFZ7NqwUa0GiwEjFzAWYIl7BVrC6xm2FKsSb8g4oWsxYimXXKq1cK2rQqFwrVix1tCqTl+sh5tQSy5f8TWXYeshWHDl/vFX5VjbKaqKVMd7xz3W0BGrjQx1SCqjtAvth1mfYX1Qref58xyXYLBQ9W/6dmkjXCGXVKwUWXlZ7JSkSUQ5FirFQhVqMcNayjXgjLAMW2j/gbUmlV1iDckFDBe52gGFamQVtRixlmBJHpbaxBNZ+VhWGdX0Wl6sFY64VuBXuvXg8obzoHKurJZcZkXYksswlvBYtZGup1HF587yqhysxataUgXX42JxsalfgHeM0mOVlqna5GqT62E0GjnXrlTBpUVXkKV2gcq3Uqze8XFPLt+w+u+1HqVatApifUQ1e57Ns3FERi4GS1MsXAeG7VoVZXmaQCFUbLXtVpU9VOwoxmra1bprtSatwcS1uq+w7E93m1bNZvNZrNUfGtV/aLfbqsWodWDWbgYrlXlKpVSqNDz6V15VNkoXpFaGOn2NddZs3jXvgmvQFap78SjV43tQvuIMl1TT+XAaWFq7ryu2R94BuQ5Q0QuYZQHmxyS/nk1BpVHrqNcwrHpaPauiakoFajJRrq5UdnFDs2qvtaZvLqZeDBYwf112MbvKeoDx2lVO48rbfsIBM9VR7wjV6WkDFaxm8+xOtVqZqtvNXNp+YK2B8mBNxbo3TLGAWeVcB2ZFWEZDpqccaOXsdSzPKqGscivH0hFdy6yoolYRkjfPUOQCNpzC6t+HIzLDdEPBdg+s0uNepcyV8v6NR49LlaOJcUAeq2AZhUmqyUSu7qTLHruONXj7E/pbLXY/5JHrMnONeD/xwLLLufKXZOiE0jBVQPHuhBMe6Tk6PTpl+rAYJzRsAkwurkgus/xzaNZ7mf6aTWdSDYPr0i7vU/uTXcy9rNrh3draMSs3QpkllUuZxSjFe6ZYLK8ahFqefw6D6wGVnqlrTe/vVevysn/Zvgwu9TqgVx62u2OYguW2A2one44r/4uq5Vh3Z1HFrAqwaogl1kpQBdcwuHhw/de1/mHTDnlUR8MojsvJzU2uuLtMsoIEQ1ZsUO1mqahBV5RMEMU0rHh9PwIWzbWbbMY1o5Gw6/oBMCTMJ1mz//M+fQIlnPO0Zswvp8jxvVC5a8T9REffeX2PReQoQAlnKEyKxlJAkfa9PbSHwxqQ/bQmsL7BcdfL3/9+ElygVLL72MVs5VJj5BItNRg1GSSOFyLd7zTB5VPRe1UdpBIK1uFHlE3+oYcXV2mur7AkOwLbSyXXX5jobEvNpJIUFnUXh4cAsheoxIpJedgq2FaMBWqNCpSxfKw+Rxvrcy+VXD6Xu3wtXAOZwzzAEismldhWy7dlXXN1YKsACtWascSSaoLqx70J4X+fyuUo1/5j7yoy281mmmvWuwqhuBSWHkjpiCPGSeJUBNcQpd5QPLiiqqGgJpNfoAxcR1C6PTBz5dDMtQXWuwqTAaOCcSNvYrVoKV35W/lWSvV2myq0oSVrqYhQMQdTPcx1Ya6L5sKFapff5nKXUMWvqlieaEqpx1CZo6TSVFUdFMay9CjGmkTYz0AeXB9SXZjrDpZLNhbMXbbYEAYKUpoNZJikMhcqUtV1FQRrB2s1uJqnY4n1FRRBRVDlxkKFy/eamorgSovUk4DK0ixJcGWJRGpJ9AF9qypYTNX1qoiKrm9iPbq2Ut1gchGDjW8uZAVngYamb8KLwMKUlVLpWZZLpVqGZagctWq7dt3RJrqiqn5QGevLQJVTg6HizCWVXG6iLrMktMy4HsVQhqppsKxAoeo62yqirrCe/WO6fvXmOl32p34vssOVo7LBJAM29S9JMmvmsjI+pUdbaaqKT8hJJVdUdV2zPkvVoLra7/2JaweJSjXfz/M5exFcYyabjWWiqLhiWjzAFsaSyFWATBVjU61Ct6JSrc9RdUV1vb4/VflnPJ04ZMCiTCquDzBVsEJdeDNVr3IxmOpVKNuKbpgKmI1Fzg0sVLCaL6Z4/hmlAjU/MRcqarBoUqWywMJj1SllhMn2ioiCeq0sYRO4ldLFYKKm8k/43LU7Wcxlsj/uB/tzNra9PIupOI5SSrpcaCi5XLWppNqsglTRde7OqEAp9ctzlcKf8v97uWMUt/EwCuDbDJNAILAMTuPxNmuQWm+CEsMiGFDhbofFiMGokCu5kk8gF76DwbqB9yTjPqUPoCsYqdj3vmd5/2YHnDHOvPdJaTLix2czU+n/H4uRC9W++M3v37sk1gl2xIvTecQ8mSqUKtWuxPqu7JR/zrxD9o6mLWowuYIWpkxBM5tkGpJQoWii6gklKpQKGadkaVdEsczNuVfuaqjYr6wlkCu4D1oX2p8e2ulPH6YPnamR3JAUhqFUIUjcVapdraVql9XcnX9B8RNRHLm0L8RgI6BaGVCtCwXMoREV8qIsTLktyxhJoHpeG2q1W62g+nJORddv2zbOvph7ljD1mA5GjVpUyCpclQIRCpVQK2RH1d9nVWTd/nnqmgumcGHsCU2wCK5OhArFYVLWkhD2DBZd6+8rwHbNrnm+Pa9iPsLVNZa3/eoRdmSNOGAh05GJlAjtRBFRrEgWmQZAjdOE24KJqpWFqh97sZr7CrrbbtdUW48qNJgHgU8YaxuzRCOIMLwBxAkPlQqzMFU6GJsqWTPcFT/DZvyDKrmgoos1lWA+KhijlUFmKoWqA2qBDhaDQaomljU/Q+zKttW0qte4GMEoQwDzLSP2mIiNRJNrEYG0ACrEokKYBsmAH2C7K6qY16no+iiX1/WQOcbia2EuLJJrGA1Jokgm3rAqDJLShVAl1gUqpd9VPMEOLgwj2HB06JAq3kzFYWAKTSWUWEJVaNM8UvXafGr3tT2F+S/DDq6hSFIx/1NV60qqL5cdgVJ7Ly3MlQ1ZJ4u2UqFSyVUm5bqkaoU2q7tLj2a5cb9gLczHACbVKWwhWawO2JxN8qTMaZKqomp8Q9Vlrl/kcheWoYAhS193RxazrkoosliqDFU1T3z85YcR1XNDsUzm0ZXh8jOIlpjhcokLEy+pQhmYYpAULqtkqrJimup3PvvinP6mcGAcyATz5WJjZSFYTlmCQrUuOVI9vb/CQVd11zLpTryJuSAyVLak65hYVSA6plS4Kw5Whcde4ViwvlgeXTNckim0uTLBclUq1mKox/ZYsCssLGjXhUIml0xy9di4t4x71riAqXgBlX7Qqq7hcmBwcWbebJbNMk6PFYtjrLyXF3EB1z4v9vl+X3KqfZXcXfW8RT6pnhuLyVTIUKpmuBCZAJKKFYoF6sNPOTmwDiaCWWZwIT3dem0KDFwFkhfFvtgTxqTXRjmw/hGlysQeYSApRJHElH9dH+XC3te+I3PS28w2vU2xAQttXdgWMvj1/c9CCXbLv5Sfp61Lsg27AQwuylqUTOEfN/rJNziGtR5lk8lGbV0gbYhSC5risNYxrG94aG394GdQIbg5KTBI/K1+d8v//abn6eqfuv48nS43J4k70bcaW2IuJf0L+L3oUNPhVQ0AAAAASUVORK5CYII=);border-radius:50%}.color-picker-wrapper .color-picker-panel.color-picker-panel-round .color-picker-grid-wrapper .color-picker-row .color-picker-grid .color-picker-grid-inner{background-color:#fff}.color-picker-wrapper .color-picker-hidden{display:none}.color-picker-wrapper.color-picker-disabled .color-picker-grid,.color-picker-wrapper.color-picker-disabled .color-picker-hue,.color-picker-wrapper.color-picker-disabled .color-picker-input,.color-picker-wrapper.color-picker-disabled .color-picker-opacity,.color-picker-wrapper.color-picker-disabled .color-picker-swatch{cursor:not-allowed!important}.color-picker-wrapper.color-picker-swatch-only .color-picker-input{padding-left:33px;padding-right:0;width:35px}.color-picker-wrapper.color-picker-swatch-only .input-group .input-group-addon{width:35px;height:100%;border-right:1px solid #ccc}.color-picker-wrapper.color-picker-swatch-only .input-group .input-group-addon:first-child{border-right-width:1px}.color-picker-wrapper.color-picker-swatch-only .input-group .input-group-addon:last-child{border-left-width:1px}.color-picker-wrapper.color-picker-swatch-only .input-group .color-picker-input{padding:0;width:1px;opacity:0;cursor:pointer}.color-picker-wrapper.color-picker-swatch-only .input-group .color-picker-input:focus{outline:0}.color-picker-wrapper.color-picker-closed .color-picker-panel{display:none}.color-picker-wrapper.color-picker-horizontal .color-picker-panel{width:150px!important}.color-picker-wrapper.color-picker-horizontal .color-picker-panel .color-picker-grid-wrapper .color-picker-row,.color-picker-wrapper.color-picker-horizontal .color-picker-panel .color-picker-grid-wrapper .color-picker-row .color-picker-grid{display:block}.color-picker-wrapper.color-picker-horizontal .color-picker-panel .color-picker-grid-wrapper .color-picker-row .color-picker-hue,.color-picker-wrapper.color-picker-horizontal .color-picker-panel .color-picker-grid-wrapper .color-picker-row .color-picker-lightness,.color-picker-wrapper.color-picker-horizontal .color-picker-panel .color-picker-grid-wrapper .color-picker-row .color-picker-opacity,.color-picker-wrapper.color-picker-horizontal .color-picker-panel .color-picker-grid-wrapper .color-picker-row .color-picker-saturation{cursor:col-resize;display:block;left:0;width:150px;height:20px}.color-picker-wrapper.color-picker-horizontal .color-picker-panel .color-picker-grid-wrapper .color-picker-row .color-picker-hue .color-picker-overlay,.color-picker-wrapper.color-picker-horizontal .color-picker-panel .color-picker-grid-wrapper .color-picker-row .color-picker-lightness .color-picker-overlay,.color-picker-wrapper.color-picker-horizontal .color-picker-panel .color-picker-grid-wrapper .color-picker-row .color-picker-opacity .color-picker-overlay,.color-picker-wrapper.color-picker-horizontal .color-picker-panel .color-picker-grid-wrapper .color-picker-row .color-picker-saturation .color-picker-overlay{height:20px}.color-picker-wrapper.color-picker-horizontal .color-picker-panel .color-picker-grid-wrapper .color-picker-row .color-picker-hue .color-picker-slider,.color-picker-wrapper.color-picker-horizontal .color-picker-panel .color-picker-grid-wrapper .color-picker-row .color-picker-lightness .color-picker-slider,.color-picker-wrapper.color-picker-horizontal .color-picker-panel .color-picker-grid-wrapper .color-picker-row .color-picker-opacity .color-picker-slider,.color-picker-wrapper.color-picker-horizontal .color-picker-panel .color-picker-grid-wrapper .color-picker-row .color-picker-saturation .color-picker-slider{width:2px;height:18px;margin-top:0}iframe{border:none}.ea-editor{position:relative;display:flex;flex-direction:row;height:100%;min-height:600px;color:#fff;font-family:Roboto,Arial,sans-serif;-webkit-font-smoothing:antialiased;overflow:hidden;line-height:1.555;background:#212121;padding-top:0;transition:all .3s ease}.ea-editor-small{padding-top:36px;box-sizing:border-box}.ea-editor-form{position:relative;width:336px;height:100%;flex-direction:column;flex:0 0 336px;background:#38393a;padding-top:12px;box-sizing:border-box;transition:all .3s;transform:translateX(-100%)}.ea-editor-large .ea-editor-form{transform:translateX(0);transition:none}.ea-editor-medium .ea-editor-form,.ea-editor-small .ea-editor-form{position:absolute;left:0;z-index:1;visibility:hidden;pointer-events:none;width:100%}.ea-editor-medium .ea-editor-form{width:336px}.ea-editor-expanded .ea-editor-form{display:flex;opacity:1;visibility:visible;pointer-events:all;left:0;transform:translateX(0)}.ea-editor-responsive-button{width:56px;height:56px;top:0;display:inline-flex;align-items:center;background:#38393a;z-index:2;position:absolute;cursor:pointer;transition:all .3s;opacity:0;vertical-align:middle;box-sizing:border-box}.ea-editor-responsive-button-label{display:flex;align-items:center;width:100%}.ea-editor-responsive-button-label-icon{fill:#fff}.ea-editor-responsive-button-label-text{margin-left:12px}.ea-editor-responsive-button-arrow{height:12px;width:8px;fill:#c2c6c9;margin-left:auto}.ea-editor-small .ea-editor-responsive-button{top:0;height:36px;opacity:1;width:100%;padding:0 16px;transition:none;border-bottom:1px solid #303131}.ea-editor-medium .ea-editor-responsive-button{opacity:1;padding:8px;justify-content:center}.ea-editor-large .ea-editor-responsive-button{transition:none;pointer-events:none}.ea-editor-medium.ea-editor-expanded .ea-editor-responsive-button{transform:translateX(335px)}.ea-editor-responsive-button-hint{width:80px;height:48px;left:68px;position:absolute;background:#38393a;border-radius:8px;font-size:13px;box-sizing:border-box;padding:4px 16px;display:flex;justify-content:center;animation:jump .5s linear alternate infinite}.ea-editor-responsive-button-hint:before{content:" ";width:8px;height:8px;background:#38393a;position:absolute;left:-4px;top:50%;transform:translateY(-50%) rotate(-45deg)}.ea-editor-small .ea-editor-responsive-button-hint{display:none}.ea-editor-overlay{position:absolute;width:100%;height:100%;top:0;left:0;opacity:0;background:#000;z-index:1;transition:all .3s ease;pointer-events:none}.ea-editor-medium.ea-editor-expanded .ea-editor-overlay{opacity:.5;pointer-events:all}.ea-editor-property{margin:0 0 24px}.ea-editor-property:last-child{margin-bottom:0}.ea-editor-property-label{display:inline-block;color:#b2b4b7;font-size:10px;font-weight:500;text-transform:uppercase;padding:4px 0;margin-bottom:8px}.ea-editor-property-caption{font-size:11px;line-height:16px;padding:3px 0 3px 12px;margin-bottom:12px;border-left:2px solid #474848;color:#abadaf}.ea-editor-property-caption a{color:#abadaf;text-decoration:underline}.ea-editor-property-caption a:hover{color:#abadaf}.ea-editor-property-hide{display:none}.ea-editor-hint{display:flex;position:absolute;right:24px;bottom:0;left:24px;padding:12px 16px;border-radius:2px;font-size:13px;line-height:18px;background:#fff;color:#17191a;opacity:0;visibility:hidden;transition:all .3s ease .4s;z-index:999999}.ea-editor-hint-visible{bottom:24px;opacity:1;visibility:visible}.ea-editor-widget-name{padding:12px 24px}.ea-editor-widget-name input{box-sizing:border-box;border:1px solid transparent;border-radius:5px;padding:6px 10px;width:100%;color:#17191a;font-size:19px;text-align:center;outline:none;transition:all .2s ease}.ea-editor-widget-name input:hover{border-color:#f4f4f4}.ea-editor-widget-name input:focus{border-color:#a8d5ff}.ea-editor-tabs{display:flex;flex-direction:column;height:100%}.ea-editor-tabs-nav{display:flex;flex-direction:row;padding:0 24px;min-height:44px;height:44px;justify-content:flex-start;border-bottom:1px solid #303131;background:#38393a}.ea-editor-tabs-nav-item{position:relative;padding:16px 0;margin-left:20px;font-size:12px;font-weight:600;text-transform:uppercase;text-align:center;cursor:pointer;transition:all .2s ease;outline:none;color:#fff}.ea-editor-tabs-nav-item:first-child{margin-left:0}.ea-editor-tabs-nav-item:after{content:"";position:absolute;display:block;bottom:-1px;right:50%;left:50%;height:2px;background:transparent;transition:all .1s ease}.ea-editor-tabs-nav-item-active{color:#ff6161}.ea-editor-tabs-nav-item-active:after{background:linear-gradient(90deg,#fa3274 0,#fd3462 25%,#ffa863);right:0;left:0}.ea-editor-tabs-content{display:flex;position:relative;flex-direction:column;flex-grow:1;overflow:hidden}.ea-editor-tabs-content:before{content:"";display:block;position:absolute;top:0;right:0;left:0;height:10px;background:linear-gradient(180deg,#f6f6f6 0,hsla(0,0%,96%,0))}.ea-editor-tabs-content-item{display:none;flex-grow:1;position:relative;background:#38393a;padding:24px;overflow:auto;overflow-x:hidden;overflow-y:auto}.ea-editor-tabs-content-item-active{display:block}.ea-editor-sub{display:flex;flex-direction:column;position:absolute;top:0;left:0;width:100%;bottom:0;transition:all .5s cubic-bezier(.2,1,.3,1);transform:translate(-100%);background:#fff;box-shadow:0 0 20px rgba(51,74,96,.16);z-index:5;margin-top:-56px;padding-top:56px}.ea-editor-sub-active{transform:translate(0)}.ea-editor-sub-header{position:relative;background:#38393a;height:56px;line-height:56px;padding:0 54px;cursor:pointer;outline:none;border-bottom:1px solid #303131}.ea-editor-sub-header:hover .ea-editor-sub-back-button{left:20px}.ea-editor-sub-back-button{display:block;position:absolute;top:50%;left:24px;transform:translateY(-50%);transition:all .15s ease}.ea-editor-sub-back-button svg{display:block;width:12px;height:12px;fill:#fff}.ea-editor-sub-title{color:#fff;font-size:18px;font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ea-editor-sub-content{flex-grow:1;position:relative;background:#38393a;padding:24px;overflow:auto;overflow-x:hidden;overflow-y:auto}.ea-editor-preview{position:relative;width:100%;height:100%;font-size:12px}.ea-editor-preview-container{box-sizing:border-box;position:relative;margin:0 auto;width:100%;max-width:100%;height:100%;transition:.2s}.ea-editor-preview-overlay{position:absolute;top:0;right:0;bottom:0;left:0;background:#fff;transition:.2s}.ea-editor-preview-loader{box-sizing:border-box;display:block;position:absolute;top:50%;left:50%;border-radius:50%;border-style:solid;border-top-color:transparent;animation:preview-loader 1s infinite linear;width:36px;height:36px;margin:-16px 0 0 -16px;border-width:2px;color:#b2b4b7;opacity:0;visibility:hidden}.ea-editor-preview-loader-show{opacity:1;visibility:visible}@-webkit-keyframes preview-loader{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes preview-loader{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.ea-editor-property-control-text{position:relative}.ea-editor-property-control-text input{box-sizing:border-box;color:#fff;font-size:13px;font-weight:400;background:#303131;border-radius:2px;border:none;width:100%;height:32px;outline:none;line-height:20px;padding:6px 16px;margin:0;transition:all .1s ease}.ea-editor-property-control-text input:focus{background-color:#2c2d2d}.ea-editor-property-control-text-button{display:inline-block;position:absolute;right:0;top:0;margin:2px;color:#111;font-size:13px;line-height:16px;padding:6px 16px;border-radius:2px;background:#fff;cursor:pointer;transform:scale(1);transition:transform .3s}.ea-editor-property-control-text-button:active{transform:scale(.95)}.ea-editor-property-control-text-button~input{padding-right:84px;text-overflow:ellipsis;overflow:hidden}.ea-editor-property-control-text-error{display:inline-block;color:#ff4f4f;font-size:10px;font-weight:500;padding:4px 0;margin-top:8px}.ea-editor-property-control-textarea textarea{box-sizing:border-box;color:#fff;font-family:Roboto,Arial,sans-serif;font-size:13px;font-weight:400;background:#303131;border-radius:2px;width:100%;outline:none;overflow:hidden!important;padding:10px 16px;min-height:74px;resize:none;border:none;transition:all .1s ease}.ea-editor-property-control-textarea textarea:focus{background-color:#2c2d2d}.ea-editor-property-control-textarea .jodit_container *{line-height:inherit;margin-bottom:inherit}.ea-editor-property-control-textarea .jodit_container .jodit_source{margin:0}.ea-editor-property-control-textarea .jodit_container:not(.jodit_inline){background:none;line-height:inherit;margin-bottom:inherit}.ea-editor-property-control-textarea .jodit_container:not(.jodit_inline) .jodit_form{margin:0;padding:20px;box-sizing:border-box}.ea-editor-property-control-textarea .jodit_container:not(.jodit_inline) .jodit_form input[type=text]{border-radius:2px;transition:all .1s ease;border-color:hsla(0,0%,60%,.4);margin-top:0;margin-bottom:12px}.ea-editor-property-control-textarea .jodit_container:not(.jodit_inline) .jodit_form input[type=checkbox]{transition:none;margin-right:4px;border:none;top:0}.ea-editor-property-control-textarea .jodit_container:not(.jodit_inline) .jodit_form input[type=checkbox]:after{background-image:url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiP…4zLTAuMi0wLjRDMTAuMSwzLjIsMTAsMy4xLDkuOSwzLjF6Ii8+DQoJPC9nPg0KPC9zdmc+DQo=");background-position:50%;background-repeat:no-repeat;background-size:12px;transition:none}.ea-editor-property-control-textarea .jodit_container:not(.jodit_inline) .jodit_form input[type=checkbox]:checked:after{background-image:url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCINCgkgdmlld0JveD0iMCAwIDEyIDEyIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCAxMiAxMjsiIHhtbDpzcGFjZT0icHJlc2VydmUiPg0KCTxnPg0KCQk8cGF0aCBzdHlsZT0iZmlsbDojZmZmZmZmOyIgZD0iTTkuOSwzLjFjLTAuMiwwLTAuMywwLTAuNCwwLjJMNS4zLDcuNUwzLjQsNS42QzMuMyw1LjUsMy4xLDUuNCwzLDUuNWMtMC4xLDAtMC4zLDAuMS0wLjQsMC4yQzIuNSw1LjcsMi40LDUuOSwyLjQsNg0KCQkJYzAsMC4yLDAsMC4zLDAuMiwwLjRsMi4zLDIuM0M1LDguOCw1LjEsOC45LDUuMyw4LjljMC4xLDAsMC4zLTAuMSwwLjQtMC4ybDQuNi00LjZjMC4xLTAuMSwwLjItMC4zLDAuMi0wLjQNCgkJCWMwLTAuMS0wLjEtMC4zLTAuMi0wLjRDMTAuMSwzLjIsMTAsMy4xLDkuOSwzLjF6Ii8+DQoJPC9nPg0KPC9zdmc+DQo=");background-color:#3f4141;border:none}.ea-editor-property-control-textarea .jodit_container:not(.jodit_inline) .jodit_form label{font-size:13px;font-weight:400;cursor:pointer;height:16px;display:flex;align-items:center;margin-top:12px}.ea-editor-property-control-textarea .jodit_container:not(.jodit_inline) .jodit_form button{box-sizing:border-box;color:#fff;background-color:#3f4141;border-radius:2px;border:none;outline:none;cursor:pointer;height:28px;font-size:13px;font-weight:400;line-height:16px;display:flex;align-items:center;padding:0 12px;position:relative;margin:0;margin-left:auto}.ea-editor-property-control-textarea .jodit_container:not(.jodit_inline) .jodit_workplace{border:none}.ea-editor-property-control-textarea .jodit_container:not(.jodit_inline) .jodit_workplace .jodit_wysiwyg{box-sizing:border-box;color:#fff;font-family:Roboto,Arial,sans-serif;font-size:13px;font-weight:400;background:#303131;border-radius:2px;width:100%;outline:none;overflow:hidden!important;padding:10px 16px;min-height:74px;resize:none;border:none;transition:all .1s ease}.ea-editor-property-control-textarea .jodit_container:not(.jodit_inline) .jodit_workplace .jodit_wysiwyg a{color:#1c91ff}.ea-editor-property-control-textarea .jodit_container:not(.jodit_inline) .jodit_toolbar{background:#404141;border:none;box-shadow:none}.ea-editor-property-control-textarea .jodit_container:not(.jodit_inline) .jodit_toolbar_popup{border-radius:4px}.ea-editor-property-control-textarea .jodit_container:not(.jodit_inline) .jodit_toolbar_btn{cursor:auto}.ea-editor-property-control-textarea .jodit_container:not(.jodit_inline) .jodit_toolbar_btn.jodit_active,.ea-editor-property-control-textarea .jodit_container:not(.jodit_inline) .jodit_toolbar_btn:not(.jodit_toolbar-input):hover,.ea-editor-property-control-textarea .jodit_container:not(.jodit_inline) .jodit_toolbar_btn>a:hover{background-color:#6b6b6b}.ea-editor-property-control-textarea .jodit_container:not(.jodit_inline) .jodit_toolbar_btn.jodit_active .jodit_icon,.ea-editor-property-control-textarea .jodit_container:not(.jodit_inline) .jodit_toolbar_btn:not(.jodit_toolbar-input):hover .jodit_icon,.ea-editor-property-control-textarea .jodit_container:not(.jodit_inline) .jodit_toolbar_btn>a:hover .jodit_icon{fill:#fff}.ea-editor-property-control-textarea .jodit_container:not(.jodit_inline) .jodit_toolbar_btn .jodit_icon{fill:#fff;backface-visibility:hidden}.ea-editor-property-control-textarea .jodit_container:not(.jodit_inline) .jodit_toolbar_btn a{cursor:pointer}.ea-editor-property-control-textarea .jodit_container:not(.jodit_inline) .jodit_toolbar .jodit_with_dropdownlist .jodit_with_dropdownlist-trigger{border-top-color:#fff}\n/*!\n * \n * jodit - Jodit is awesome and usefully wysiwyg editor with filebrowser\n * Author: Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/)\n * Version: v3.2.9\n * Url: https://xdsoft.net/jodit/\n * License(s): GPL-2.0-or-later\n * \n */.jodit,.jodit *,.jodit_container,.jodit_container *{box-sizing:border-box}.jodit .jodit_workplace,.jodit_container .jodit_workplace{position:relative;overflow:auto}.jodit .jodit_workplace .jodit_wysiwyg,.jodit .jodit_workplace .jodit_wysiwyg_iframe,.jodit_container .jodit_workplace .jodit_wysiwyg,.jodit_container .jodit_workplace .jodit_wysiwyg_iframe{height:100%;width:100%}.jodit_container:not(.jodit_inline){background:#fff;font-size:14px;font-family:Helvetica,sans-serif}.jodit_container:not(.jodit_inline) .jodit_workplace{border:1px solid #ccc}.jodit_disabled{-webkit-user-select:none!important;-moz-user-select:none!important;-ms-user-select:none!important;user-select:none!important}.jodit_hidden{display:none!important}.jodit_wysiwyg{outline:0}.jodit_wysiwyg::-moz-selection,.jodit_wysiwyg ::-moz-selection{background:#b5d6fd;color:#000}.jodit_wysiwyg::selection,.jodit_wysiwyg ::selection{background:#b5d6fd;color:#000}.jodit_container:not(.jodit_inline) .jodit_wysiwyg{margin:0;padding:10px;outline:0;overflow-x:auto;position:relative}.jodit_container:not(.jodit_inline) .jodit_wysiwyg img{position:relative;max-width:100%}.jodit_container:not(.jodit_inline) .jodit_wysiwyg p,.jodit_container:not(.jodit_inline) .jodit_wysiwyg pre{margin:0 0 10px}.jodit_container:not(.jodit_inline) .jodit_wysiwyg h1,.jodit_container:not(.jodit_inline) .jodit_wysiwyg h2,.jodit_container:not(.jodit_inline) .jodit_wysiwyg h3,.jodit_container:not(.jodit_inline) .jodit_wysiwyg h4,.jodit_container:not(.jodit_inline) .jodit_wysiwyg h5{margin-top:0}.jodit_container:not(.jodit_inline) .jodit_wysiwyg blockquote{border-left:2px solid #222;margin-left:0;padding-left:5px;color:#222}.jodit_clearfix:after,.jodit_clearfix:before{content:" ";display:table}.jodit_clearfix:after{clear:both}.jodit_dark_theme.jodit_container{background-color:#575757}.jodit_dark_theme .jodit_workplace{border-color:rgba(87,87,87,.8)}.jodit_dark_theme .jodit_statusbar{background-color:rgba(95,92,92,.8);border-color:rgba(87,87,87,.8)}.jodit_dark_theme .jodit_statusbar,.jodit_dark_theme .jodit_statusbar .jodit_statusbar_item span{color:#d1cccc}.jodit_dark_theme .jodit_toolbar_popup,.jodit_dark_theme .jodit_toolbar_popup-inline,.jodit_dark_theme .jodit_toolbar_popup-inline:before,.jodit_dark_theme .jodit_toolbar_popup:before{background:#575757}.jodit_dark_theme .jodit_toolbar{background:#5f5c5c;border-color:rgba(87,87,87,.8)}.jodit_dark_theme .jodit_toolbar li.jodit_toolbar_btn>a{color:#d1cccc}.jodit_dark_theme .jodit_toolbar li.jodit_toolbar_btn>a:hover{background-color:#575757}.jodit_dark_theme .jodit_toolbar li.jodit_toolbar_btn.jodit_toolbar_btn-break{border-top-color:#686767}.jodit_dark_theme .jodit_toolbar li.jodit_toolbar_btn.jodit_toolbar_btn-separator{border-right-color:#686767}.jodit_dark_theme .jodit_toolbar li.jodit_toolbar_btn.active,.jodit_dark_theme .jodit_toolbar li.jodit_toolbar_btn.jodit_active,.jodit_dark_theme .jodit_toolbar li.jodit_toolbar_btn:active,.jodit_dark_theme .jodit_toolbar li.jodit_toolbar_btn:hover{background-color:#575757}.jodit_dark_theme .jodit_toolbar li.jodit_toolbar_btn.jodit_with_dropdownlist .jodit_with_dropdownlist-trigger{border-top-color:silver}.jodit_dark_theme .jodit_icon{fill:silver}.jodit_dark_theme .jodit_wysiwyg,.jodit_dark_theme .jodit_wysiwyg_iframe{background-color:#575757;color:#d1cccc}.jodit_dark_theme .jodit_wysiwyg [data-jodit-selected-cell],.jodit_dark_theme .jodit_wysiwyg_iframe [data-jodit-selected-cell]{border-color:#152f5f}.jodit_dark_theme .jodit_dropdownlist{background:#5f5c5c}.jodit_dark_theme .jodit_tabs .jodit_tabs_buttons>a{background-color:#686767;color:#d1cccc}.jodit_dark_theme .jodit_tabs .jodit_tabs_buttons>a:hover{background-color:hsla(0,0%,41%,.8);color:#d1cccc;border-color:hsla(0,0%,41%,.9)}.jodit_dark_theme .jodit_tabs .jodit_tabs_buttons>a.active{background:rgba(81,81,81,.41);border-color:#686767}.jodit_dark_theme .jodit_tabs .jodit_tabs_buttons>a svg{fill:silver}.jodit_dark_theme .jodit_form input[type=text],.jodit_dark_theme .jodit_form input[type=url],.jodit_dark_theme .jodit_form textarea{background-color:rgba(81,81,81,.41);border-color:#686767;color:#d1cccc}.jodit_dark_theme .jodit_form button{background-color:hsla(0,0%,41%,.75);color:#d1cccc}.jodit_dark_theme .jodit_placeholder{color:hsla(0,5%,81%,.8)}.jodit_dark_theme .jodit_draganddrop_file_box,.jodit_dark_theme .jodit_uploadfile_button{color:#d1cccc}.jodit_dark_theme .jodit_draganddrop_file_box:hover,.jodit_dark_theme .jodit_uploadfile_button:hover{background-color:hsla(0,0%,41%,.75)}.jodit_dark_theme .jodit-add-new-line:before{border-top-color:#686767}.jodit_dark_theme .jodit-add-new-line span{background:hsla(0,0%,41%,.75);border-color:#686767}.jodit_dark_theme .jodit-add-new-line span svg{fill:#d1cccc}.jodit_dark_theme .jodit_resizer>i{background:hsla(0,0%,41%,.75);border-color:silver}.jodit_btn{border:1px solid;border-radius:0;background-color:#f5f5f5;background-image:linear-gradient(180deg,#fff,#e6e6e6);border-color:#ccc;text-shadow:0 1px 1px hsla(0,0%,100%,.75);color:#333;background-repeat:repeat-x;outline:0;display:inline-block;padding:6px 12px;margin-bottom:0;font-size:14px;font-weight:400;line-height:1.42857143;text-align:center;white-space:nowrap;vertical-align:middle;-ms-touch-action:manipulation;touch-action:manipulation;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.jodit_btn:hover{background-color:#e6e6e6;background-position:0 -15px;text-decoration:none}.jodit_btn.jodit_btn_success{text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#5bb75b;background-image:linear-gradient(180deg,#62c462,#51a351);border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);color:#fff}.jodit_btn.jodit_btn_success svg{fill:#fff}.jodit_btn.jodit_btn_success:hover{background-color:#51a351}.jodit_btn.jodit_btn_danger{text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#da4f49;background-image:linear-gradient(180deg,#ee5f5b,#bd362f);border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);color:#fff}.jodit_btn.jodit_btn_danger svg{fill:#fff}.jodit_btn.jodit_btn_danger:hover{background-color:#bd362f}.jodit_btn.jodit_btn_inverse{text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#363636;background-image:linear-gradient(180deg,#444,#222);border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);color:#fff}.jodit_btn.jodit_btn_inverse svg{fill:#fff}.jodit_btn.jodit_btn_inverse:hover{background-color:#222}.jodit_btn.active,.jodit_btn:active{background-image:none;box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05)}.jodit_btn_group{font-size:0;vertical-align:middle}.jodit_btn_group input{display:none}.jodit_btn_group button{float:left}.jodit_btn_group button+button{margin-left:-1px}.jodit_btn_group button:first-child,.jodit_btn_group input:first-child+button{border-right:0;border-top-right-radius:0;border-bottom-right-radius:0}.jodit_btn_group button:last-child,.jodit_btn_group input:last-child+button{border-left:0;border-top-left-radius:0;border-bottom-left-radius:0}.jodit_btn_group:after{content:"";clear:both;float:none;display:table}.jodit_context_menu{font-family:Helvetica,sans-serif;display:none;background:#fff;position:absolute;min-width:150px;box-shadow:0 0 5px 0 rgba(0,0,0,.24);z-index:16}.jodit_context_menu a{display:block;border-bottom:1px solid hsla(0,0%,80%,.24);text-decoration:none!important;color:#727272}.jodit_context_menu a svg{float:left;display:block;width:18px;height:28px;margin:0 4.5px;fill:#727272}.jodit_context_menu a span{margin-left:27px;display:block;padding:5px;border-left:1px solid hsla(0,0%,80%,.24);line-height:18px}.jodit_context_menu a:hover{background-color:#e3e3e3;color:#000}.jodit_context_menu a:hover .jodit_icon{fill:#000}.jodit_context_menu a:last-child{border:0}.jodit_context_menu-show{display:block}.jodit_dialog_box{box-sizing:border-box;display:none;width:0;height:0;border:0;position:absolute;will-change:left,top,width,height}.jodit_dialog_box.jodit_dialog_box-moved{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.jodit_dialog_box *{box-sizing:border-box}.jodit_dialog_box .jodit_elfinder,.jodit_dialog_box .jodit_elfinder *{box-sizing:initial}.jodit_dialog_box .jodit_dialog_overlay{position:fixed;top:0;left:0;width:100%;height:100%;z-index:14;text-align:center;white-space:nowrap;overflow:auto;display:none;background-color:rgba(0,0,0,.5)}.jodit_dialog_box.active,.jodit_dialog_box.jodit_modal .jodit_dialog_overlay{display:block}.jodit_dialog_box .jodit_dialog{z-index:15;display:inline-block;vertical-align:middle;white-space:normal;text-align:left;position:fixed;left:0;top:0;background-color:#fff;box-shadow:0 10px 20px rgba(0,0,0,.19),0 6px 6px rgba(0,0,0,.23);min-width:200px;min-height:100px}@media (max-width:480px){.jodit_dialog_box .jodit_dialog{max-width:100%;width:100%!important;height:100%!important;top:0!important;left:0!important}}.jodit_dialog_box .jodit_dialog .jodit_promt{max-width:300px;min-width:200px;padding:10px;word-break:break-all}.jodit_dialog_box .jodit_dialog .jodit_promt label{margin-bottom:5px;display:block}.jodit_dialog_box .jodit_dialog .jodit_promt input[type=text]{display:block;border:1px solid #ccc;background:#fff;width:100%;height:28px;line-height:16px;padding:3px 6px;outline:0}.jodit_dialog_box .jodit_dialog .jodit_alert{max-width:300px;min-width:200px;padding:10px;word-break:break-all}.jodit_dialog_box .jodit_dialog .jodit_button{padding:0;margin:0;border:0;display:inline-block;vertical-align:top;width:32px;height:48px;line-height:48px;text-align:center;cursor:pointer;text-decoration:none}.jodit_dialog_box .jodit_dialog .jodit_button:not(.disabled):hover{background-color:#ecebe9}.jodit_dialog_box .jodit_dialog .jodit_button.disabled{opacity:.7}.jodit_dialog_box .jodit_dialog .jodit_input{border:1px solid #ccc;padding:5px;background-color:#fff;outline:0;width:120px;margin-left:10px;font:13px Arial;height:28px;vertical-align:middle}.jodit_dialog_box .jodit_dialog select.jodit_input{width:75px}.jodit_dialog_box .jodit_dialog .jodit_button .jodit_icon,.jodit_dialog_box .jodit_dialog .jodit_button svg,.jodit_dialog_box .jodit_dialog .jodit_dialog_header .jodit_icon,.jodit_dialog_box .jodit_dialog .jodit_dialog_header svg{width:16px;height:16px;display:inline-block;vertical-align:middle}.jodit_dialog_box .jodit_dialog .jodit_dialog_header{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;text-align:left;color:#222;box-shadow:0 1px 3px rgba(0,0,0,.16),0 1px 2px rgba(0,0,0,.23);cursor:move;height:48px;overflow:hidden}.jodit_dialog_box .jodit_dialog .jodit_dialog_header .jodit_dialog_header-title,.jodit_dialog_box .jodit_dialog .jodit_dialog_header .jodit_dialog_header-toolbar{-ms-flex-negative:3;flex-shrink:3;font-size:18px;margin:0;font-weight:400;line-height:48px;vertical-align:top;padding:0 10px}@media (max-width:480px){.jodit_dialog_box .jodit_dialog .jodit_dialog_header .jodit_dialog_header-title,.jodit_dialog_box .jodit_dialog .jodit_dialog_header .jodit_dialog_header-toolbar{padding-left:0}}.jodit_dialog_box .jodit_dialog .jodit_dialog_header button{margin-right:10px}.jodit_dialog_box .jodit_dialog .jodit_dialog_header .jodit_dialog_header-button{color:#222;font-size:28px;transition:background-color .2s ease 0s;-ms-flex-preferred-size:48px;flex-basis:48px;height:48px;line-height:48px;text-decoration:none;text-align:center}.jodit_dialog_box .jodit_dialog .jodit_dialog_header .jodit_dialog_header-button:hover{background-color:#ecebe9}.jodit_dialog_box .jodit_dialog .jodit_dialog_header .jodit_toolbar{background:0 0;display:block;height:100%;border:0}.jodit_dialog_box .jodit_dialog .jodit_dialog_header .jodit_toolbar>li.jodit_toolbar_btn{vertical-align:middle}.jodit_dialog_box .jodit_dialog .jodit_dialog_header .jodit_toolbar>li.jodit_toolbar_btn input[type=number],.jodit_dialog_box .jodit_dialog .jodit_dialog_header .jodit_toolbar>li.jodit_toolbar_btn input[type=text],.jodit_dialog_box .jodit_dialog .jodit_dialog_header .jodit_toolbar>li.jodit_toolbar_btn input[type=url],.jodit_dialog_box .jodit_dialog .jodit_dialog_header .jodit_toolbar>li.jodit_toolbar_btn select{margin:0 5px;padding-left:10px;width:auto}.jodit_dialog_box .jodit_dialog .jodit_dialog_content{height:calc(100% - 48px);overflow:auto}.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group{margin-bottom:10px;padding:0 10px}.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group:first-child{margin-top:10px}.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group label{display:inline-block;max-width:100%;margin-bottom:5px;font-weight:700}.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group input.select,.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group input[type=number],.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group input[type=text],.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group input[type=url],.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group select.select,.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group select[type=number],.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group select[type=text],.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group select[type=url]{display:block;height:34px;padding:6px 4px;font-size:14px;line-height:1.42857143;color:#555;background-color:#fff;background-image:none;border:1px solid #ccc;border-radius:0;box-shadow:inset 0 1px 1px rgba(0,0,0,.075);transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group input.select:focus,.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group input[type=number]:focus,.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group input[type=text]:focus,.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group input[type=url]:focus,.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group select.select:focus,.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group select[type=number]:focus,.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group select[type=text]:focus,.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group select[type=url]:focus{border-color:#66afe9;outline:0;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)}.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group input.select[disabled],.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group input[type=number][disabled],.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group input[type=text][disabled],.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group input[type=url][disabled],.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group select.select[disabled],.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group select[type=number][disabled],.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group select[type=text][disabled],.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group select[type=url][disabled]{background-color:#f0f0f0;color:#ccc}.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group input.select:not([class*=col-]),.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group input[type=number]:not([class*=col-]),.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group input[type=text]:not([class*=col-]),.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group input[type=url]:not([class*=col-]),.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group select.select:not([class*=col-]),.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group select[type=number]:not([class*=col-]),.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group select[type=text]:not([class*=col-]),.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group select[type=url]:not([class*=col-]){width:100%}.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group .jodit_input_group{display:table;border-collapse:separate;width:100%}.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group .jodit_input_group>*{vertical-align:middle;display:table-cell;height:34px}.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group .jodit_input_group>input{float:left;margin:0!important}.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group .jodit_input_group>input:not([class*=col-]){width:100%}.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group .jodit_input_group-buttons{width:1%;font-size:0;white-space:nowrap;vertical-align:middle}.jodit_dialog_box .jodit_dialog .jodit_dialog_content .jodit_form_group .jodit_input_group-buttons>a{text-align:center;display:inline-block;border:1px solid #ccc;margin-left:-1px;position:relative;height:34px;line-height:34px}.jodit_dialog_box .jodit_dialog .jodit_dialog_footer{padding:0 10px;padding-top:10px;text-align:center;height:48px;display:none}.jodit_dialog_box .jodit_dialog .jodit_dialog_footer .jodit_button{width:auto;margin-bottom:10px;height:32px;line-height:100%;padding:0 15px;background-color:#ccc;border:1px solid #ccc;color:#000;font-size:0}.jodit_dialog_box .jodit_dialog .jodit_dialog_footer .jodit_button:before{content:"";display:inline-block;vertical-align:middle;height:100%}.jodit_dialog_box .jodit_dialog .jodit_dialog_footer .jodit_button svg{display:inline-block;width:24px;height:24px;vertical-align:middle}.jodit_dialog_box .jodit_dialog .jodit_dialog_footer .jodit_button span{display:inline-block;vertical-align:middle;font-size:14px;margin-left:5px}.jodit_dialog_box .jodit_dialog .jodit_dialog_footer .jodit_button:focus{border:1px solid #8bade4;outline:1px solid #82b2e8}.jodit_dialog_box .jodit_dialog .jodit_dialog_footer .jodit_button:nth-child(n+2){margin-left:10px}.jodit_dialog_box .jodit_dialog.with_footer .jodit_dialog_content{height:calc(100% - 96px)}.jodit_dialog_box .jodit_dialog.with_footer .jodit_dialog_footer{display:block}.jodit_dialog_box .jodit_dialog .jodit_dialog_resizer{position:absolute;bottom:0;right:0;cursor:se-resize;width:7px;height:7px;display:inline-block;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADFJREFUeNpilJGRYcACIoB4ORMuCSCOZMIlga4TRQJZJ4YETCdWCSBmZMIlATIOIMAAEyAPt4RnNx0AAAAASUVORK5CYII=)}.jodit_dialog_box .jodit_dialog .jodit_dialog_resizer:hover{border-color:rgba(0,0,0,.6)}@media (max-width:480px){.jodit_dialog_box .jodit_dialog .jodit_dialog_resizer{display:none}}.jodit_dialog_box.jodit_fullsize .jodit_dialog{top:0!important;bottom:0!important;left:0!important;right:0!important;width:100%!important;height:100%!important}.jodit_dialog_box.jodit_fullsize .jodit_dialog .jodit_dialog_resizer{display:none}@media (max-width:768px){.jodit_dialog_header .jodit_input,.jodit_dialog_header .jodit_toolbar_btn-filter,.jodit_dialog_header .jodit_toolbar_btn-separator,.jodit_dialog_header .jodit_toolbar_btn-sort,.jodit_dialog_header_fullsize,.jodit_dialog_header_title{display:none!important}}.jodit_toolbar_list>.jodit_toolbar{max-height:400px;overflow:auto;box-shadow:0 3px 6px rgba(0,0,0,.16),0 3px 6px rgba(0,0,0,.23);padding:0;margin:auto;text-align:left;position:absolute;box-sizing:border-box;transition:max-height .2s ease 0s;margin-top:0!important;list-style-type:none;font-size:16px;z-index:9;left:0;top:100%}.jodit_toolbar_list>.jodit_toolbar,.jodit_toolbar_list>.jodit_toolbar .jodit_toolbar{background:#f9f9f9}.jodit_toolbar_list>.jodit_toolbar blockquote,.jodit_toolbar_list>.jodit_toolbar h1,.jodit_toolbar_list>.jodit_toolbar h2,.jodit_toolbar_list>.jodit_toolbar h3,.jodit_toolbar_list>.jodit_toolbar h4,.jodit_toolbar_list>.jodit_toolbar h5,.jodit_toolbar_list>.jodit_toolbar p,.jodit_toolbar_list>.jodit_toolbar pre{font-family:Helvetica,sans-serif;margin:0;padding:0;font-weight:400}.jodit_toolbar_list>.jodit_toolbar h5{font-size:.8em;line-height:1.4}.jodit_toolbar_list>.jodit_toolbar h3{font-size:1.31em;line-height:1.4}.jodit_toolbar_list>.jodit_toolbar h4,.jodit_toolbar_list>.jodit_toolbar p{font-size:1em;line-height:1.5em}.jodit_toolbar_list>.jodit_toolbar h2{font-size:1.74em;line-height:1.4}.jodit_toolbar_list>.jodit_toolbar h1{font-size:2.17em;line-height:1.4}.jodit_toolbar_list>.jodit_toolbar blockquote,.jodit_toolbar_list>.jodit_toolbar pre{font-family:monospace}.jodit_toolbar_list>.jodit_toolbar li.jodit_toolbar_btn{display:block;cursor:pointer;white-space:nowrap;color:inherit;text-decoration:none;width:100%;height:auto;box-sizing:border-box;text-align:left}.jodit_toolbar_list>.jodit_toolbar li.jodit_toolbar_btn>a{background-image:none;padding:7px 24px;cursor:pointer;line-height:100%;width:auto;height:auto;display:block}.jodit_toolbar_list>.jodit_toolbar li.jodit_toolbar_btn>a>span{display:inline-block}.jodit_toolbar_list>.jodit_toolbar li.jodit_toolbar_btn>a:hover{background-color:#f3f0f0}.jodit_toolbar_list>.jodit_toolbar li.jodit_toolbar_btn>a:after{display:none}.jodit_filebrowser{font-family:Helvetica,sans-serif;font-size:0;height:100%}.jodit_filebrowser .jodit_filebrowser_loader{height:100%;width:100%;position:absolute;top:0;left:0}.jodit_filebrowser .jodit_filebrowser_loader i{position:absolute;top:50%;left:50%;margin-top:-64px;margin-left:-64px}.jodit_filebrowser .jodit_filebrowser_status{position:absolute;font-size:10px;padding:2px 3px;border-top:1px solid hsla(0,0%,50%,.4);left:31%;right:0;bottom:0;background-color:#4a4a4a;visibility:hidden;opacity:0;transition:opacity .3s linear;color:#b38888;word-break:break-all}.jodit_filebrowser .jodit_filebrowser_status.success{color:#c5c5c5}.jodit_filebrowser .jodit_filebrowser_status.active{visibility:visible;opacity:1}.jodit_filebrowser .jodit_filebrowser_files,.jodit_filebrowser .jodit_filebrowser_tree{display:none;vertical-align:top;height:100%;position:relative}.jodit_filebrowser .jodit_filebrowser_files.active,.jodit_filebrowser .jodit_filebrowser_tree.active{display:inline-block}.jodit_filebrowser .jodit_filebrowser_files::-webkit-scrollbar,.jodit_filebrowser .jodit_filebrowser_tree::-webkit-scrollbar{width:5px}.jodit_filebrowser .jodit_filebrowser_files::-webkit-scrollbar-track,.jodit_filebrowser .jodit_filebrowser_tree::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3)}.jodit_filebrowser .jodit_filebrowser_files::-webkit-scrollbar-thumb,.jodit_filebrowser .jodit_filebrowser_tree::-webkit-scrollbar-thumb{background-color:#a9a9a9;outline:1px solid #708090}.jodit_filebrowser .jodit_filebrowser_tree.active{width:31%;background-color:#3f3f3f;overflow-y:auto}@media (max-width:480px){.jodit_filebrowser .jodit_filebrowser_tree.active{display:none}}.jodit_filebrowser .jodit_filebrowser_tree.active::-webkit-scrollbar{width:5px}.jodit_filebrowser .jodit_filebrowser_tree.active::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3)}.jodit_filebrowser .jodit_filebrowser_tree.active::-webkit-scrollbar-thumb{background-color:hsla(0,0%,50%,.5);outline:1px solid #708090}.jodit_filebrowser .jodit_filebrowser_tree.active .jodit_filebrowser_source_title{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:block;padding:10px;color:#969696;border-bottom:1px solid #484848;line-height:17px;min-height:38px;position:relative;word-break:break-all;background:#5a5a5a;font-size:16px}.jodit_filebrowser .jodit_filebrowser_tree.active a{display:block;padding:10px 20px;text-decoration:none;color:#b1b1b1;font-weight:600;transition:background-color .2s ease 0s;border-bottom:1px solid #474747;line-height:17px;min-height:38px;position:relative;word-break:break-all;font-size:16px}.jodit_filebrowser .jodit_filebrowser_tree.active a i.remove{height:16px;width:16px;line-height:17px;font-size:16px;position:absolute;right:5px;top:11px;opacity:0;padding-left:3px;display:inline-block}.jodit_filebrowser .jodit_filebrowser_tree.active a i.remove:hover{background:#696969}.jodit_filebrowser .jodit_filebrowser_tree.active a:hover{color:#222;background-color:#ecebe9}.jodit_filebrowser .jodit_filebrowser_tree.active a:hover i.remove{opacity:.6}.jodit_filebrowser .jodit_filebrowser_tree.active a.jodit_button{cursor:pointer;background:#696969;text-align:center;width:auto;height:38px;color:#333}.jodit_filebrowser .jodit_filebrowser_tree.active a.jodit_button svg{vertical-align:top}.jodit_filebrowser .jodit_filebrowser_tree.active a.jodit_button:not(.disabled):hover{background-color:#ecebe9}.jodit_filebrowser .jodit_filebrowser_tree.active a.jodit_button.disabled,.jodit_filebrowser .jodit_filebrowser_tree.active a.jodit_button:hover i{opacity:.7}.jodit_filebrowser .jodit_filebrowser_files.active{width:100%;overflow-y:auto;padding:10px}.jodit_filebrowser .jodit_filebrowser_files.active .jodit_filebrowser_source_title{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;margin:-10px -10px 0;display:block;padding:10px;line-height:17px;min-height:38px;position:relative;word-break:break-all;background:#5a5a5a;font-size:16px;color:#969696}.jodit_filebrowser .jodit_filebrowser_files.active a+.jodit_filebrowser_source_title{margin-top:10px}.jodit_filebrowser .jodit_filebrowser_files.active a{vertical-align:top;display:inline-block;width:150px;height:150px;line-height:150px;text-align:center;border:1px solid #ccc;margin:5px 5px 10px;font-size:0;overflow:hidden;transition:border .1s linear,bottom .1s linear;box-sizing:content-box;position:relative}.jodit_filebrowser .jodit_filebrowser_files.active a img{max-width:100%;vertical-align:middle}.jodit_filebrowser .jodit_filebrowser_files.active a:hover{border-color:#433b5c}.jodit_filebrowser .jodit_filebrowser_files.active a.active{border-color:#1e88e5;background-color:#b5b5b5}.jodit_filebrowser .jodit_filebrowser_files.active a .jodit_filebrowser_files_item-info{position:absolute;right:0;left:0;bottom:0;white-space:normal;opacity:.85;overflow:visible;padding:.3em .6em;transition:opacity .4s ease;background-color:#e9e9e9;color:#333;text-shadow:#eee 0 1px 0;font-size:14px;line-height:16px;text-align:left}.jodit_filebrowser .jodit_filebrowser_files.active a .jodit_filebrowser_files_item-info>span{display:block;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;font-size:.75em}.jodit_filebrowser .jodit_filebrowser_files.active a .jodit_filebrowser_files_item-info>span.jodit_filebrowser_files_item-info-filename{font-weight:700;font-size:.9em}.jodit_filebrowser .jodit_filebrowser_files.active a.active .jodit_filebrowser_files_item-info{background-color:#b5b5b5;color:#fff;text-shadow:none}.jodit_filebrowser .jodit_filebrowser_files.active a:hover .jodit_filebrowser_files_item-info{bottom:-100px}.jodit_filebrowser .jodit_filebrowser_files.active.jodit_filebrowser_files_view-list{scroll-behavior:smooth}.jodit_filebrowser .jodit_filebrowser_files.active.jodit_filebrowser_files_view-list a{display:block;width:100%;height:26px;line-height:26px;margin:0;border-width:0 0 1px;text-align:left;white-space:nowrap}.jodit_filebrowser .jodit_filebrowser_files.active.jodit_filebrowser_files_view-list a img{min-width:16px;max-width:16px;vertical-align:middle;display:inline-block;margin-left:4px}.jodit_filebrowser .jodit_filebrowser_files.active.jodit_filebrowser_files_view-list a .jodit_filebrowser_files_item-info{padding:0;position:static;display:inline-block;width:calc(100% - 20px);margin-left:4px;background-color:transparent;height:100%;line-height:inherit;vertical-align:middle;font-size:0}.jodit_filebrowser .jodit_filebrowser_files.active.jodit_filebrowser_files_view-list a .jodit_filebrowser_files_item-info>span{display:inline-block;height:100%;font-size:12px}.jodit_filebrowser .jodit_filebrowser_files.active.jodit_filebrowser_files_view-list a .jodit_filebrowser_files_item-info>span.jodit_filebrowser_files_item-info-filename{width:50%}.jodit_filebrowser .jodit_filebrowser_files.active.jodit_filebrowser_files_view-list a .jodit_filebrowser_files_item-info>span.jodit_filebrowser_files_item-info-filechanged,.jodit_filebrowser .jodit_filebrowser_files.active.jodit_filebrowser_files_view-list a .jodit_filebrowser_files_item-info>span.jodit_filebrowser_files_item-info-filesize{width:25%}.jodit_filebrowser .jodit_filebrowser_files.active.jodit_filebrowser_files_view-list a:hover{background-color:#433b5c}.jodit_filebrowser .jodit_filebrowser_files.active.jodit_filebrowser_files_view-list a:hover .jodit_filebrowser_files_item-info{color:#fff;text-shadow:none}.jodit_filebrowser .jodit_filebrowser_files.active.jodit_filebrowser_files_view-list a:before{height:100%;content:"";vertical-align:middle;display:inline-block}.jodit_filebrowser .jodit_filebrowser_tree.active+.jodit_filebrowser_files.active{width:69%}@media (max-width:480px){.jodit_filebrowser .jodit_filebrowser_tree.active+.jodit_filebrowser_files.active{width:auto;display:block}}.jodit_filebrowser_preview{text-align:center;min-width:300px;max-width:900px;max-height:700px;position:relative}.jodit_filebrowser_preview .jodit_filebrowser_preview_navigation{position:absolute;top:0;height:100%;left:0}.jodit_filebrowser_preview .jodit_filebrowser_preview_navigation-next{left:auto;right:0}.jodit_filebrowser_preview .jodit_filebrowser_preview_navigation svg{width:45px;height:45px;position:relative;top:50%;margin-top:-22px;transition:fill .3s linear;fill:#9e9ba7}.jodit_filebrowser_preview .jodit_filebrowser_preview_navigation:hover svg{fill:#000}.jodit_filebrowser_preview img{max-width:100%;max-height:100%}.jodit_draghover{background-color:#ecebe9}.jodit_dialog_box .jodit_dialog .jodit_dialog_header .jodit_dialog_header-title .jodit_upload_button{position:relative;width:220px;border:0;padding:25px 0;margin:10px 0;overflow:hidden}.jodit_dialog_box .jodit_dialog .jodit_dialog_header .jodit_dialog_header-title .jodit_upload_button input{cursor:pointer;position:absolute;right:0;top:0;bottom:0;margin:0 -10px 0 0;padding:0;opacity:0;font-size:400px}.jodit_dialog_box .jodit_dialog .jodit_dialog_header .jodit_dialog_header-title.jodit_filebrowser_title_box{padding-left:10px}.jodit_grid{width:100%}.jodit_grid [class*=jodit_col-]{display:block;float:left}.jodit_grid .jodit_col-lg-5-5{width:100%}.jodit_grid .jodit_col-lg-4-5{width:80%}.jodit_grid .jodit_col-lg-3-5{width:60%}.jodit_grid .jodit_col-lg-2-5{width:40%}.jodit_grid .jodit_col-lg-1-5{width:20%}.jodit_grid .jodit_col-lg-4-4{width:100%}.jodit_grid .jodit_col-lg-3-4{width:75%}.jodit_grid .jodit_col-lg-2-4{width:50%}.jodit_grid .jodit_col-lg-1-4{width:25%}.jodit_grid:after,.jodit_grid:before{content:" ";display:table}.jodit_grid:after{clear:both}@keyframes a{to{transform:rotate(1turn)}}.jodit_icon-loader{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAABRsSURBVHja7F1/aJfVGn/33RgUg8FiNfK2WCykyS7GLoYyUbwYipZMumgLo+iPS9HlXhSHkRXdislESxMz0mapuaFo2myjkfnNlTQ2FJdTu8NvLVcrdbpcfGvxrfs823m/vXt3fjznvOedzr0PPJzzPe+7d+97Ps95nuc851fGAw884CD98ccfI1Jqmc3UpEyQz4FkMqRTgYshn8fymZ57SyGbzf5mENIOz9+ngE9Atg/SLkhPQHoWeEDn3SmpSZlJnvf7ypUrTpb7IyMjY+gGN6WWmaY84l2T3c+u58D1csjOgvwsyBdBvsDRo2zgMl/ZNM59vcAJ4Dj8nzikLa5QmBLv28YCfPd3li7gPHBMwKdcEwhCJgN6FoLOWJtUgiWovALG04FXsbI44xbgw8AplbaU/Q+ZQNgGf0gA/JWhC1aQyle1eN91rPRKKKuEsjzZvSph0m2RiutpIYRrfZC8B+l7kB6jgq0CnQIy9X39v2NYQW5FeUFQlQVN/aALyiYBPw/5M5B+Dvw02vMggqcDukEl57F3xHf9H747+4bA5oD6dzqaYEgAqIDbBl9RhvZ4H/B5yL+IDp3oXhmwNkm3lTLn80VIz+O3QFqm2/rHwgeI6QDOa006LZ3Q4lHNNwK3AVeYAD4WgmHQUivYNzWyb7xufICYaavXVbuKZ6MXfwRVJ+TnXW+Am/oMnNaO3/Y5pPitcyh/a6LqtXwAt+J01LVFEzAJ0jpIj7JunJYd1wHchnBQHUSC3Uan8WPgPVgHlBiBCcAkH4Da2i2DjwGZlcy5W0K17zLwVb9NgaY4iJpawJs+BCnWwUo3SKXT4oOAP8IHCFsIfMCguj8JaQ2kOaaA227d10ALuIR1gHVxErjctPtHBd8btSR3A4MIgSePAZxqVPeQlthq7ZRuZVABCVkLuGkJpGgKsY4ybfUEVO84qhsoAzSgrUfHZ1UQVe99B6o2oMYdwg7latAq5iROGoueQExW6UE0gCe/ANIh9SZ6jqkWsN3STZ0rHWEgpkNmEvILxqQbSAXaAPxqSBswQkbpbpo6fGPR0m3GBYjBIIwqNjCTEAr4wkBQUA0AjKNrdZCu0okAqgQhTKCDhFxV91BNgsDuYx3WQZptG3xtDUCJEDKvthGuLVEJlq4gUMyAylfQERadPrhKOHTmB3Ces4RFEXNsgW8UClbZcEhxqPQIpHOord2k1ZsAH4YvYNJXN3EgWX4Ocw4LbIEvDQSJfADJtULWxSuj+BBUP4DaC6D0DkyFg6JKTVo/5brvXqzbo2zSi3af3/9bGgrW1Ar5kH4MXEzVHEHVf5CuYZC4fti9AoI/gXX8Eda5Tp9f9I4xWWsnOoc5zNMv1okjmKp/vzay3epNJ4+YmALdoWBPWTHksc5zTU1AekqYt7LcWTruTYTZQdmQHoB0GuXv/de8L8e7xrsuA8kPNtx3AZIOxp3APc7wvD6kvi+//DLh3nvPPfegWs1jf4dBGGxpOA+hlOXzgw7VBjEBnDKcs4jzDOZDOmjqD2SJQFGBx9JaSOcQ7xVO2RIJhf86AfB+Z3huHs7Ra2pra+ugtubTp0+jMLgC0e6/ftddd6EgzMO5iGwSaq4NITCdLczy6GzXAj8KnDIxAaM0AKeViwCtgbRSNgGUJwQyDaACngO4w6S/CXgb8KEvvvgiFUaw59y5c64mWXvnnXdmsijdYxjpdP6cXh6oS0g1Bb48zpFEzValA3663pcuXaoleSzFltBIlWhRmWx+v6yMcQJ4PU7A/Oyzz/qca0R33HEHrjlAEJa73rns24JqA0keTUGTjglIJpNOxsMPP6wLfiGkx53hxRbcewwXc1BAx0u4gGMNcP2nn36acq4juv322ytZ5K7UlhBo5LER3AvcTXU60wKgYbsyWTCi3LTV6wLvKesGrvrkk0/qneucCgoKHoJkHbxvYRAhMMij/zMbVzZRTMAvv/wycj4AoRv4Mk7oII4HkLp+vC6drwxt/FrgKeMBfKTe3t69UMFTgPG9B3WcQdMeBsvjhJJqnYGqjMrKSmr/tZxNWAi87o9i+1l5O6SPNjc3dzrjlPLz83HyC/aWpqk0gWZUUHZtJvxuUZmAtAYgtHycr/a6qIXz2DQI5OH1UDRjPIOPdOHChU6o+JmQXW+68JYS4vUB/bozvN5RGAImdwPZA3AC51RKrMAfyBHFGCRBnz4oe7ypqemgc4PQxYsX0YytuOWWW3BRaa3DWd0U1A/w/Z4KvBx4jcoExAitE6dzPStr3RR/QKQ5fOUJ4PsaGxtvGPC9dOnSJfyu+7ALa9MJFPx+lkU05YNBBDVdg0uwKc4eAWCZ83cC8jM+/PDDLucGpr6+Pvy+GWz/ASs9AMFvd7ax1ATEFOBjmLdSBraN3gBwHHhmQ0NDrzMB6PLly73MUYubOs3EiB/GJebyTEB6QogCnGrV6KAFR7AVeP4HH3ww4EwgunLlCn7vfACi1UQDqMb5PWUvm5qAB3HESXNomKz2GaOHv/DAgQNJZwJSf38/fvdC3J5G1iPQnf3jK5sGvx80MQHP69hxHWZ/2wN8//vvv3/BmcD0008/XWCaoEcUJ6C0eoUWeFbXBOBCzTKKJ2/YExgEXrRv374eJyLn6tWrWA+LAJRBy+o/rQUQUx0TsFwzRKzLK/bu3dseQf8nDQwMYH2sCOL0ibx9Vr6cagIKmf0nxe8pguC7vn/Pnj2bIshH088//4z1st+m+veUI6ZFFBOwLGj/XqIh0O4/HkEtJgDmcZ4/EED9e69VKk0ACoDN1u/jqrq6uv4IZjElk0msnypbwPs0wTKVCUBnYbLuMC5REA7v3r37vQhikhBgPTWrTAEFeB9NZt3C0SbAr/6DdPM4jF7/PyNotUzBU26vgAo8x+7zri3jmgAgnOJdKYrVB9QEb+zcubMrgpVOv/76K9bXGzrACwTJfw1D+9k8EzAXOE8GviEPAK+JIDXSAlhvA7yWTWztvMfiXM65PBNQrgLfUBi2v/vuu70RnPo0ODjYC0BtN3D2VNfLR5gAz04eRn17yb0p4A0RlIEI6y+la/MV1xf4fYACSEtDiP031dbWRrY/AP32229dAGCTrs1XrHHEaesFXh+gXCfooyEM2yIIrdC2ADZ/1D1eM+CagHLJ5ExTxrl9hyLsrDiDWI99EjApgPvLRwhAmQh4HV/Axwe3bt06GMEXnFKpFK4tOBgQcH95WdoEAE01nc8Xi8VEArA3gs4q7VWpfsHaCpEg4GrnoeXhOEKUw3u4yZYqbGo4Lk2KR5hZpcOsXjO9GIm0AYFycTErmoDJVLWu0Tto3bJly0CEmT36/fffkzh/UKfVE3yLkix3Xx+v5FjYaaslgiwUZxDrdbrm38guF6EAFFKAF5kEwcFPrRFcoVCrIdAiKsSlYUWqFi/zBwTXOiKsQqGOIKe1cQRmSAPkmYIv0ADY9Yuif+GYgC5Wv9kB1L6X8lAA8k3BFwhB94YNG1IRXPYJutwpINwBpNjSI/O5AhDQGUxEUIVKCRMBEGiFIQG4yX+Daf+fPacvwihUM2Czfm/KcgMLtjZZhudEY//hks2VVJlZ7tJvi5SMMApVA9gMsOVkXYvDFiO6fggFACUqJ6qKcaMBbD5uAH2AlE0fIKJxRSnUAGizcykePtWzjOo1VA2gpa0V2CVRALBbURDwQV4qiGAKVQDyLZ571JfFum0lFqTJvScvgilUytPxAxSY9boawMbD3OtFEUahaoAinQap0gA4JSzhPswSFz733HOZEVT2KZlMYr0WesGV7KpOoQRqgG6DVi4rx5EqjFWfjSCz3vqLHd9IoGyYnoBjNwpAwhBoWXlpJAChCECpv66p5ycJBCSBcwI7daZ7E83FtAiuUGgaT/WLACaYhk4MBCVk0UDKWb2c3+URVqFogOm8OqccqMW5d+Dmm29OuGsDOyw7gmUvvfRSFBCySFevXsX6LBO1cIoG8NEQ5u7KoFbLi0Kz3fODI7JGeHbwTSJADcxCq1cAWnR39yYIQUWEmVX1X2G6SYTgnhavABwL0uoF91dUV1dnR9AFp/7+fjysq0IGvIEGODYkAOwa7t/XYXl3kDzgBRF8Vgg3eczT2SqGYP97vBoA83ELrd6/WPSJCDsr6v8Jw91BRdfS6za9ewQ1qVo9RQv47plXU1NTHEFoTpcvX8aTwueJgKdoAI4wpE8Y9e4SdtgdGLK4S1gm8L8jGAO1fqy/TNmiUE1hQIwPj9AADOQk7ugRdJ9ADj+2bt26aI6AAV26dAnr7THqnsFEYTgEnBRtFl0fwk6hOcCrIjiNaBXOAKIcuq3hG4w4fTXma+lNOEHEZFs4hcA8+eqrr0a+gAZdvHgRbf+TsrMDDMxBr2v/eT7A0L5+8HN7AKdPFhncHMGqZftfB84Wga0yBwKtsN1hk4B5PsCIrd0C2HwRz924cWNlBK2afvzxx0rX89c5Qo4gCNv85bwDI7r8XUKqynfL/KmHazZt2pQbQSymH374AffuqeEB7gWXCrzHFCCmXf5niE4NWxPkJFAJ41GmtRHMUtWP9TNJdYScgQZYo3NoFEYF21WmgAq8776KzZs3Px1BPZq+//57rJcKXhg3oClo90b/qCeHvqLjA2j6B+u2bNlSFkH+J3333XdlAMo6ntq3cJroK6K4gOzgyP2oBaj2nqIdPGXYKzjw5ptvToqgd5yenh5U+Qcgmy07UdxQA7QD7xfFClSnh68Oelag6H5n+Fj6j9566638iQz++fPn8wGMRq/dV4EviwVwrq0W9QpUJsAdINof5LRQxfNLgBu2bt06IaePffvttzjDp8EZ3r6dDL7sQEkfyAdVW82rjo9H/hdkB2y2ft89eEB149tvvz2hlqh/8803OazlTzMFX6ENcKLvU7LgEMUEuIc9vqLb+inBJE8ezyo+un379gkxaPT111/jdx4FEGbJwOd1A2VdQ9896Pj1qIJDMSJI6yHpNGnpGlHFqVgp77zzzg29tjCRSBQx8KfKWrmJBvDkO4HXU3oI7pQwFUDpc/8s9ABk14uB23bs2HFDTiU7d+7cAqj4NrbESxtojeAQYjWoOnyaqwF4AsFSnDm81lT1y2YZ+cpwLmHDzp07a3bt2nVDTCrt6urKBq5hDl8eBXCTHgGjtWxTaVK8IEYFjKWrvVPIdU8VE2kMgUCsBD6ye/fukvEM/ldffVUCFX4EsitVtl3UYjU0wDHg1dQIodQJFJShKXgE0j5dLaACn6MJkKcDH6+rq6uur68fV72EM2fO5Jw9e7YasseBp5u0cKoQsDxO9Vrqqn6R2hdGAjWEoBvSR03B9wPNA95HGDVcBXxqz549D40H8E+fPo3vecoZntGTreqzmwgBRyDw2Plu3TBxxmuvvcYFUQYwy+OQ5UoV6DITQzEJnGsdbLSyfvHixdfVptSnTp2qZMJaqtsVVtWbAiP0zap498ryt956q5OxYcMGyj/gpbhbxS5IlwSJBQQYYsZVzWtREBYtWnTN9ic+efIkOq1LmM9SZDKplioQgrJ6ZpZTVODd32kBIEoZL0UvvdFdCBoUfGo8gXM0/UHgHTireeHChaFrhePHj+N0dzxqdxnwg2xwS0vD6YIvwAOnd89nvhkZeJduu+02J2Pjxo0UKZO9GM7w+cjdFMIgCmiqAXj39bO5DPFYLNY8b948ayeXtLW1lbIT1mcxzjVZUGtqCjh44Bj/34H7ZXjJhCItAAHAd1Mc0fvcPYAqCPhBhIHDF5jP0MF2QkmwE02HTMjs2bPTpqOlpSXPVeHABSwoVcLsOebzTWZH2fADOClO7ZqB3yfDTWUSUACyiHZG9UJY0SiNH7PKIjsiqt6BooegIhTMOYxHUTweN3q26EAN/wkr3t+qvEaKczbvxzoXPcf7brL/a9oNFKXYPZzpnUpGlX6dbqHIDIRNlIWXsuibbjdQkGLdzoQ0YfJ/uJFAamsndllw19HZzDlxVGFmkcqilFnSEFotnnKNOlZPGQX0lWOdzoa01xR47nCwDtBEpwbHoedj94wy0KSKCOoIQhgaQrXZgkoYdMCXPAvrcr57WITuXEHlcLCu00cQGjza7BEcRjbRAFSNQAXXVAh0zuY1BV/Q2r3pekixnz+oGRomvVtMV9Vr3I/98RXAC73LzoM4grIWb1sIxgp8iSnAOlsIKdZhynB8QG8wiKIBDPyCQ5C9F0cRKY6gDFwZ2DaFIEzwCS3e3b/nXlzKras1dFr/KA2go/5FLVRwfzdzDtfodgupZoFqGohbqIYGPsH+Yx3NxF6V7D2omkXlmMZM1T8PDMXfoUl4BruKkHaaaANbtj2MnoEJ+L6/72RdvGe8Kt9kjqBOj4SsAUyvce7BCSV/Ba6C/EBYXcSg5oIKtqkj5ikbgLSKqfwWaheRWqZ6j1gIAFPuQW2AI3lTIN0b1CSonMSwYgCU6wqQ8NunsOHcQcozVKZIVwhiKjVuMEihY0YwevgPSDG0eUy3ezjWYOsEhRRAHWPf/A93Egc1MKTj+FGEIGZhIEgJiMzPYPlmHNxgjmLTtRSCsOw+o2YWzcNvbTYIBVsVgrQGsAW+6cCSJx9nUcS/QbrfVAjCDgQZ/P1+yOM33Q9pPMizqCaAKgSxsMCntk6B2sdVyYsh/QvwC7hriY4QhCkUGi0e3/kF/AYow29pJ8YArJkAihDEwgRfVyNw8rif7X+B74Y8qs03nOGNDq0IgQ3Afff0sXecAfm72bv3UFoxpdWbtH7V32cFcfgoLcyCEKQdJ9zVHNL/AM9ijOP808MYD/CP7UvuO8ZGP+OMB3nP4T1PNfYvey/KXAPKd2XpevA27iWYANk9g8yZamblOa5A4FQtZ/jEsjybWsBTaX1sQkbcA/iACAQd0E2EQgU8RUiyKC02qGnQjS6qwPP9LQJwiLFLuUwQcBuaIiYQuBjTPc8wk/32VtYJFq104xQnmLlJMPuNNr3fUEuQQtDUVm8DeNcc/F+AAQBKd8HaIWdjwQAAAABJRU5ErkJggg==) no-repeat 50%;background-size:100% 100%;width:128px;height:128px;will-change:transform;animation:a 2s ease-out 0s infinite}.jodit_icon,.jodit_icon-loader{display:inline-block;vertical-align:middle}.jodit_icon{font-style:normal;width:14px;font-size:8px;fill:#222;transform-origin:0 0!important;overflow:visible}.jodit_text_icon{font-size:14px}.jodit_toolbar_size-small .jodit_icon{min-width:12px;height:12px;line-height:12px}.jodit_toolbar_size-large .jodit_icon{min-width:16px;height:16px;line-height:16px}.jodit_image_editor{width:100%;height:100%;padding:10px;overflow:hidden}@media (max-width:768px){.jodit_image_editor{height:auto}}.jodit_image_editor>div,.jodit_image_editor>div>div{height:100%}@media (max-width:768px){.jodit_image_editor>div,.jodit_image_editor>div>div{height:auto;min-height:200px}}.jodit_image_editor *{box-sizing:border-box}.jodit_image_editor .jodit_image_editor_slider-title{text-shadow:#f3f3f3 0 1px 0;color:#333;border-bottom:1px solid hsla(0,0%,62%,.31);background-color:#f9f9f9;padding:.8em 1em;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-weight:700;line-height:1em}.jodit_image_editor .jodit_image_editor_slider-title svg{margin-right:10px;width:16px;display:inline-block;vertical-align:middle}.jodit_image_editor .jodit_image_editor_slider-content{display:none}.jodit_image_editor .jodit_image_editor_slider.active .jodit_image_editor_slider-title{background-color:#5d5d5d;color:#fff;text-shadow:#000 0 1px 0}.jodit_image_editor .jodit_image_editor_slider.active .jodit_image_editor_slider-title svg{fill:#fff}.jodit_image_editor .jodit_image_editor_slider.active .jodit_image_editor_slider-content{display:block}.jodit_image_editor_area{background-color:#eee;background-image:linear-gradient(45deg,#ccc 25%,transparent 0,transparent 75%,#ccc 0,#ccc),linear-gradient(45deg,#ccc 25%,transparent 0,transparent 75%,#ccc 0,#ccc);background-size:30px 30px;background-position:0 0,15px 15px;height:100%;overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;display:none}.jodit_image_editor_area.active{display:block}.jodit_image_editor_area .jodit_image_editor_box{overflow:hidden;position:relative;z-index:1;pointer-events:none;height:100%}.jodit_image_editor_area .jodit_image_editor_box img{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;max-width:100%;max-height:100%}.jodit_image_editor_area .jodit_image_editor_croper,.jodit_image_editor_area .jodit_image_editor_resizer{z-index:2;width:100px;height:100px;position:absolute;box-shadow:0 0 11px #000;border:1px solid #fff;background-repeat:no-repeat;top:10px;left:20px;pointer-events:none}.jodit_image_editor_area .jodit_image_editor_croper i.jodit_bottomright,.jodit_image_editor_area .jodit_image_editor_resizer i.jodit_bottomright{position:absolute;display:inline-block;border:1px solid #383838;z-index:4;background-color:#8c7878;cursor:se-resize;border-radius:10px;height:20px;width:20px;right:-10px;bottom:-10px;box-shadow:0 0 11px #000;pointer-events:all}.jodit_image_editor_area .jodit_image_editor_croper i.jodit_bottomright:active,.jodit_image_editor_area .jodit_image_editor_resizer i.jodit_bottomright:active{border:1px solid #ff0}.jodit_image_editor_area.jodit_image_editor_area_crop{height:100%;background:#eee;text-align:center;line-height:100%;position:relative}.jodit_image_editor_area.jodit_image_editor_area_crop:before{content:"";line-height:100%;vertical-align:middle;height:100%;display:inline-block}.jodit_image_editor_area.jodit_image_editor_area_crop .jodit_image_editor_box{height:100%;overflow:visible;display:inline-block;vertical-align:middle;pointer-events:all;font-size:0;text-align:left;line-height:100%}.jodit_image_editor_area.jodit_image_editor_area_crop .jodit_image_editor_box img{max-width:100%;max-height:100%}.jodit_image_editor_area.jodit_image_editor_area_crop .jodit_image_editor_box:before{content:"";line-height:100%;vertical-align:middle;height:100%;display:inline-block}.jodit_image_editor_area.jodit_image_editor_area_crop .jodit_image_editor_box:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;margin:auto;background:hsla(0,0%,100%,.3);z-index:1}.jodit_image_editor_area.jodit_image_editor_area_crop .jodit_image_editor_box .jodit_image_editor_croper{pointer-events:all;cursor:move}.jodit_image_editor_area.jodit_image_editor_area_crop .jodit_image_editor_box .jodit_image_editor_croper i.jodit_sizes{font-size:12px;white-space:pre;position:absolute;bottom:-30px;left:100%;text-align:center;color:#fff;text-shadow:none;background:rgba(0,0,0,.2);border-radius:.4em;padding:9px 6px;display:block}.jodit_properties svg{font-style:normal;display:inline-block;width:14px;height:14px;line-height:14px;font-size:8px;overflow:hidden;vertical-align:middle;fill:#222;transform-origin:0 0!important}.jodit_properties #tabsbox{padding:10px}.jodit_properties #tabsbox .jodit_form_group{padding:0}.jodit_properties .jodit_properties_view_box{padding:10px}.jodit_properties .jodit_properties_view_box .jodit_properties_image_view{height:150px;text-align:center;line-height:1;vertical-align:middle;padding:0;background-color:#f6f6f6;margin:0;vertical-align:baseline;font-size:100%;margin-bottom:10px}.jodit_properties .jodit_properties_view_box .jodit_properties_image_view:before{content:"";display:inline-block;vertical-align:middle;height:100%}.jodit_properties .jodit_properties_view_box .jodit_properties_image_view img{max-width:100%;max-height:100%;vertical-align:middle}.jodit_properties .jodit_properties_view_box .jodit_properties_image_sizes.jodit_form_group{padding:0!important;margin:0!important}.jodit_properties .jodit_properties_view_box .jodit_properties_image_sizes.jodit_form_group a{display:inline-block;cursor:pointer}.jodit_properties .jodit_properties_view_box .jodit_properties_image_sizes.jodit_form_group input[type=number]{display:inline-block!important;width:calc(50% - 8px)!important}.jodit_toolbar,.jodit_toolbar *{box-sizing:border-box}.jodit_toolbar{position:relative;left:0;top:0;margin:0!important;padding:0!important;list-style:none!important;font-size:0;background:#f9f9f9;box-shadow:0 4px 4px -2px rgba(0,0,0,.14);z-index:5;border:1px solid #ccc;border-bottom:0;min-height:16px!important}.jodit_toolbar+.jodit_toolbar_dummy{display:none}.jodit_toolbar.jodit_fly{position:absolute;left:0;right:0;z-index:11;background:#fff}.jodit_toolbar.jodit_sticky{position:fixed;position:-webkit-sticky;position:sticky;z-index:3;top:0;left:auto}.jodit_toolbar.jodit_sticky+.jodit_toolbar_dummy{display:block}.jodit_toolbar .jodit_toolbar_btn>a{color:#000;text-decoration:none;display:block;background:no-repeat 50%}.jodit_toolbar>li.jodit_toolbar_btn{display:inline-block;vertical-align:top;margin:0!important;padding:0;list-style:none!important;outline:0;position:relative;text-align:center;cursor:pointer;transition:background-color .2s linear,opacity .1s linear}.jodit_toolbar>li.jodit_toolbar_btn.jodit_disabled{background-color:transparent!important;opacity:.3;cursor:default}.jodit_toolbar>li.jodit_toolbar_btn.jodit_disabled a{cursor:default}.jodit_toolbar>li.jodit_toolbar_btn.jodit_toolbar_btn-separator{border-left:0;border-right:1px solid #e6e6e6;padding:0;margin:2px 3px 0!important;cursor:default}.jodit_toolbar>li.jodit_toolbar_btn.jodit_toolbar_btn-break{display:block!important;width:auto;border-top:1px solid #e6e6e6;height:0;margin:0 3px!important}.jodit_toolbar>li.jodit_toolbar_btn .jodit_toolbar_btn>a,.jodit_toolbar>li.jodit_toolbar_btn>a{width:100%;height:100%;display:inline-block;outline:0;text-decoration:none}.jodit_toolbar>li.jodit_toolbar_btn .jodit_toolbar_btn>a:after,.jodit_toolbar>li.jodit_toolbar_btn>a:after{content:"";display:inline-block;height:100%;vertical-align:middle}.jodit_toolbar>li.jodit_toolbar_btn .jodit_toolbar_btn>a:active+.jodit_tooltip,.jodit_toolbar>li.jodit_toolbar_btn>a:active+.jodit_tooltip{visibility:hidden!important}.jodit_toolbar>li.jodit_toolbar_btn.jodit_disabled .jodit_tooltip{display:none!important}.jodit_toolbar>li.jodit_toolbar_btn>a{line-height:100%}.jodit_toolbar>li.jodit_toolbar_btn.jodit_dropdown_open .jodit_tooltip,.jodit_toolbar>li.jodit_toolbar_btn .jodit_popap_open,.jodit_toolbar>li.jodit_toolbar_btn.jodit_popup_open .jodit_tooltip{visibility:hidden!important}.jodit_toolbar>li.jodit_toolbar_btn:not(.jodit_toolbar-input):hover{background-color:#dde4ef;outline:0}.jodit_toolbar>li.jodit_toolbar_btn.jodit_active,.jodit_toolbar>li.jodit_toolbar_btn:not(.jodit_toolbar-input):active{background-color:hsla(0,0%,87%,.4);outline:0}.jodit_toolbar>li.jodit_toolbar_btn.jodit-btn-hidden{display:none!important}.jodit_toolbar>li.jodit_toolbar_btn.jodit_with_dropdownlist .jodit_with_dropdownlist-trigger{width:0;height:0;border-right:3px solid transparent;border-left:3px solid transparent;border-top:3px solid #4c4c4c;display:inline-block;vertical-align:middle;margin-left:3px}.jodit_toolbar>li.jodit_toolbar_btn.jodit_toolbar-input input,.jodit_toolbar>li.jodit_toolbar_btn.jodit_toolbar-input select{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:100%;border-radius:0;outline:0;line-height:100%}.jodit_toolbar>li.jodit_toolbar_btn.jodit_toolbar-input select{padding-right:20px;background:url(data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0Ljk1IDEwIj48ZGVmcz48c3R5bGU+LmNscy0xe2ZpbGw6I2ZmZjt9LmNscy0ye2ZpbGw6IzQ0NDt9PC9zdHlsZT48L2RlZnM+PHRpdGxlPmFycm93czwvdGl0bGU+PHJlY3QgY2xhc3M9ImNscy0xIiB3aWR0aD0iNC45NSIgaGVpZ2h0PSIxMCIvPjxwb2x5Z29uIGNsYXNzPSJjbHMtMiIgcG9pbnRzPSIxLjQxIDQuNjcgMi40OCAzLjE4IDMuNTQgNC42NyAxLjQxIDQuNjciLz48cG9seWdvbiBjbGFzcz0iY2xzLTIiIHBvaW50cz0iMy41NCA1LjMzIDIuNDggNi44MiAxLjQxIDUuMzMgMy41NCA1LjMzIi8+PC9zdmc+) no-repeat 98% 50%!important}.jodit_toolbar>li{min-width:32px;height:32px;line-height:32px}.jodit_toolbar>li.jodit_toolbar_btn-separator{height:28px;width:0;min-width:0}.jodit_tooltip{position:fixed;background:#727171;color:#fff;font-size:12px;line-height:15px;padding:4px 5px;font-family:Arial,sans-serif;z-index:10;width:90px;transition:opacity .3s linear}@media (max-width:768px){.jodit_tooltip{display:none}}.jodit_toolbar_size-small .jodit_toolbar{min-height:12px!important}.jodit_toolbar_size-small .jodit_toolbar>li{min-width:24px;height:24px;line-height:24px}.jodit_toolbar_size-small .jodit_toolbar>li.jodit_toolbar_btn-separator{height:20px;width:0;min-width:0}.jodit_toolbar_size-large .jodit_toolbar{min-height:18px!important}.jodit_toolbar_size-large .jodit_toolbar>li{min-width:36px;height:36px;line-height:36px}.jodit_toolbar_size-large .jodit_toolbar>li.jodit_toolbar_btn-separator{height:32px;width:0;min-width:0}.jodit_toolbar_popup{position:absolute;z-index:8;top:100%;margin-top:10px;padding-top:0;left:0;font-size:14px;line-height:14px!important;background:#fff;box-shadow:0 2px 4px rgba(0,0,0,.2);border:1px solid rgba(0,0,0,.2)}.jodit_toolbar_popup .jodit_toolbar{box-shadow:none;border-width:0;background-color:transparent}.jodit_toolbar_popup .jodit_toolbar .jodit_toolbar{background-color:#f9f9f9;box-shadow:0 4px 4px -2px rgba(0,0,0,.14);border:1px solid #ccc}.jodit_toolbar_popup>*{margin:10px}.jodit_toolbar_popup .jodit_popup_triangle{padding:0;margin:0;width:8px;height:8px;position:absolute;top:-5px;left:9px;display:inline-block;transform:rotate(45deg);background:#fff;border:1px solid rgba(0,0,0,.2);border-width:1px 0 0 1px;z-index:6}.jodit_toolbar_popup.jodit_right{left:auto;right:0}.jodit_toolbar_popup.jodit_right:before{left:auto;right:14px}.jodit_toolbar .jodit_toolbar_btn>svg{max-width:50%;vertical-align:middle;font-smoothing:antialiased}.jodit_container>.jodit_toolbar>li:first-child{margin-left:2px!important}.jodit_draganddrop_file_box,.jodit_uploadfile_button{position:relative;width:220px;border:1px dashed #ccc;padding:25px 0;margin:10px 0;text-align:center;overflow:hidden}.jodit_draganddrop_file_box:hover,.jodit_uploadfile_button:hover{background-color:#ecebe9}.jodit_draganddrop_file_box input,.jodit_uploadfile_button input{cursor:pointer;position:absolute;top:0;bottom:0;right:0;margin:0;padding:0;opacity:0;font-size:400px}@media (max-width:768px){.jodit_draganddrop_file_box{width:auto;max-width:100%;min-width:120px}}.jodit_statusbar{border:1px solid #ccc;border-top:0;font-size:0;background-color:#f9f9f9;padding:0 5px}.jodit_statusbar .jodit_statusbar_item{font-size:11px;float:left;line-height:1.57142857em;margin:0 10px 0 0;padding:0;vertical-align:middle}.jodit_statusbar .jodit_statusbar_item.jodit_statusbar_item-right{float:right;margin:0 0 0 10px}.jodit_statusbar .jodit_statusbar_item li,.jodit_statusbar .jodit_statusbar_item ul{margin:0;padding:0;list-style:none;display:inline-block;vertical-align:top;position:relative}.jodit_statusbar .jodit_statusbar_item li li,.jodit_statusbar .jodit_statusbar_item ul li{margin-right:5px}.jodit_statusbar .jodit_statusbar_item a,.jodit_statusbar .jodit_statusbar_item span{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:inline-block;vertical-align:baseline;text-align:left;white-space:nowrap;padding:2px 3px;line-height:10px;outline:0;border:0;color:#222}.jodit_statusbar .jodit_statusbar_item a span,.jodit_statusbar .jodit_statusbar_item span span{padding:0}.jodit_statusbar .jodit_statusbar_item svg{width:11px;height:11px;display:inline-block;vertical-align:top}.jodit_statusbar .jodit_statusbar_item a{text-decoration:none;cursor:default;border-radius:3px}.jodit_statusbar .jodit_statusbar_item a:hover{background-color:hsla(0,0%,88%,.99);text-decoration:none;color:#222}.jodit_statusbar:after{content:" ";display:block;visibility:hidden;font-size:0;height:0;float:none;clear:both}.jodit_form{color:#000}.jodit_form input[type=text],.jodit_form input[type=url],.jodit_form textarea{-webkit-appearance:none;-moz-appearance:none;display:block;outline:0;border:1px solid #b5b5b5;height:28px;line-height:28px;padding:0 5px;min-width:220px;margin-top:10px}.jodit_form input[type=text].jodit_error,.jodit_form input[type=url].jodit_error,.jodit_form textarea.jodit_error{border-color:#f7d1d1;box-shadow:inset 0 0 3px 0 hsla(0,0%,74%,.3)}@media (max-width:768px){.jodit_form input[type=text],.jodit_form input[type=url],.jodit_form textarea{min-width:150px}}.jodit_form textarea{height:128px}.jodit_form button{height:36px;line-height:1;color:#000;padding:10px;cursor:pointer;text-decoration:none;border:none;background:#d6d6d6;font-size:16px;outline:0;transition:background .2s ease 0s;margin-top:10px;margin-bottom:10px}.jodit_form button:hover{background-color:#ecebe9;color:#000}.jodit_form button:active{background:#ecebe9;color:#000}.jodit_form input[type=checkbox]{display:inline-block;z-index:2;border:0 none;cursor:pointer;height:16px;margin:0;padding:0;width:16px;position:relative;outline:0;top:3px}.jodit_form input[type=checkbox]:after{content:"";background:#fff;border:1px solid hsla(0,0%,88%,.99);border-radius:2px;background-clip:padding-box;width:16px;height:16px;display:inline-block;position:relative;z-index:1;box-sizing:border-box;transition:background .2s ease 0s,border-color .2s ease 0s}.jodit_form input[type=checkbox]:checked:after{background:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=\'http://www.w3.org/2000/svg\' viewBox=\'0 0 32 32\'%3E%3Cpath d=\'M27 4L12 19l-7-7-5 5 12 12L32 9z\' fill=\'%23FFF\'/%3E%3C/svg%3E") no-repeat 50%;background-color:#b5b5b5;border-color:#b5b5b5}.jodit_form label{margin-top:10px;display:block;text-align:left}.jodit_form form:after{content:"";display:table;clear:both}.jodit_about{padding:20px}.jodit_about a{color:#459ce7;text-decoration:none}.jodit_about a:focus,.jodit_about a:hover{color:#23527c;text-decoration:underline;outline:0}.jodit_about div{margin-bottom:5px}.jodit_colorpicker{min-width:180px;text-align:left;margin:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.jodit_colorpicker .jodit_colorpicker_group{margin-bottom:5px;white-space:normal}.jodit_colorpicker a{width:18px;height:18px;line-height:16px;display:inline-block;text-decoration:none;vertical-align:middle;text-align:center}.jodit_colorpicker a.jodit_text_icon{width:auto;text-decoration:none;color:#000}.jodit_colorpicker a:before{content:"";display:inline-block;height:100%;vertical-align:middle;width:0}.jodit_colorpicker a svg{display:inline-block;vertical-align:middle;font-smoothing:antialiased;max-width:14px}.jodit_colorpicker a:hover{border-color:#000}.jodit_colorpicker a:active{background:#d6d6d6;color:#b5b5b5}@keyframes b{30%{opacity:.6}60%{opacity:0}to{opacity:.6}}.jodit_progress_bar{position:absolute;top:0;left:0;height:2px;z-index:17;border-radius:1px;display:none}.jodit_progress_bar div{position:relative;background:#b91f1f;height:2px;transition:width .5s ease-out,opacity .5s linear;will-change:width,opacity}.jodit_progress_bar div:after,.jodit_progress_bar div:before{animation:b 2s ease-out 0s infinite;content:"";display:inline-block;position:absolute;top:0;height:2px;box-shadow:1px 0 6px 1px #b91f1f;border-radius:100%;opacity:.6}.jodit_progress_bar div:before{width:180px;right:-80px;clip:rect(-6px,90px,14px,-6px)}.jodit_progress_bar div:after{width:20px;right:0;clip:rect(-6px,22px,14px,10px)}.jodit_tabs .jodit_tabs_buttons{line-height:18px;margin-bottom:5px;margin-top:4px}.jodit_tabs .jodit_tabs_buttons>a{display:inline-block;text-decoration:none;font-size:11px;font-weight:700;text-align:center;white-space:nowrap;height:29px;line-height:27px;position:relative;vertical-align:middle;transition:background .1s linear;text-overflow:ellipsis;overflow:hidden;box-shadow:none;background-color:#f5f5f5;color:#737373;border:1px solid rgba(0,0,0,.1);outline:0}@media (max-width:768px){.jodit_tabs .jodit_tabs_buttons>a{width:100%!important;border-radius:0!important}}.jodit_tabs .jodit_tabs_buttons>a+a{margin-left:-1px}.jodit_tabs .jodit_tabs_buttons>a i,.jodit_tabs .jodit_tabs_buttons>a svg{width:16px;height:16px;display:inline-block;vertical-align:sub;margin-right:5px;fill:#737373}.jodit_tabs .jodit_tabs_buttons>a:hover{border:1px solid #c6c6c6;color:#111;box-shadow:none;background-color:#f8f8f8;outline:0}.jodit_tabs .jodit_tabs_buttons>a:hover i,.jodit_tabs .jodit_tabs_buttons>a:hover svg{fill:#111}.jodit_tabs .jodit_tabs_buttons>a.active,.jodit_tabs .jodit_tabs_buttons>a:active{outline:0;background:#fff;border:1px solid #ccc;color:#333}.jodit_tabs .jodit_tabs_buttons>a.active i,.jodit_tabs .jodit_tabs_buttons>a.active svg,.jodit_tabs .jodit_tabs_buttons>a:active i,.jodit_tabs .jodit_tabs_buttons>a:active svg{fill:#333}.jodit_tabs .jodit_tabs_wrapper .jodit_tab{display:none}.jodit_tabs .jodit_tabs_wrapper .jodit_tab.active{display:block}.jodit_tabs .jodit_tabs_wrapper .jodit_tab .jodit_tab_empty{min-width:220px;min-height:100px}.jodit-add-new-line{z-index:1;position:absolute;height:20px;line-height:100%;vertical-align:middle;font-size:0;top:0;outline:0;margin-top:-10px;display:none}.jodit-add-new-line,.jodit-add-new-line *{box-sizing:border-box}.jodit-add-new-line:before{height:100%}.jodit-add-new-line:after,.jodit-add-new-line:before{display:inline-block;vertical-align:middle;content:""}.jodit-add-new-line:after{box-sizing:border-box;border-top:1px solid #ccc;height:1px;width:calc(100% - 30px)}.jodit-add-new-line span{right:0;position:absolute;display:inline-block;width:30px;height:20px;background:hsla(40,7%,92%,.3);vertical-align:top;border:1px solid #ccc;padding:0 5px;cursor:pointer}.jodit-add-new-line span:hover{background:#ecebe9}.jodit-add-new-line svg{width:16px;fill:#ccc;vertical-align:top}.jodit_source_mode .jodit-add-new-line{display:none!important}.jodit_error_box_for_messages{position:absolute;right:0;bottom:0;width:0;height:0;overflow:visible;z-index:3}.jodit_error_box_for_messages>*{position:absolute;right:5px;bottom:0;display:block;transition:opacity .1s linear,bottom .3s linear;opacity:0;background:rgba(255,0,0,.29);color:#e02b2b;padding:2px 7px;border:1px solid hsla(0,65%,67%,.44);font-size:14px;white-space:pre}.jodit_error_box_for_messages>.active{opacity:1}.jodit_error_box_for_messages>.info{background:rgba(204,229,247,.71);color:#776565;border:1px solid hsla(0,0%,60%,.44)}.jodit_error_box_for_messages>.success{background:rgba(77,236,112,.29);color:#5d5a5a;border:1px solid hsla(0,0%,58%,.44)}.jodit_fullsize_box{z-index:12!important;position:static!important;overflow:visible!important}body.jodit_fullsize_box,html.jodit_fullsize_box{height:0!important;width:0!important;overflow:initial!important}html.jodit_fullsize_box{position:fixed!important}.jodit_fullsize{position:absolute;top:0;left:0;right:0;bottom:0;z-index:12;max-width:none!important}.jodit_fullsize .toolbar{width:100%!important}.jodit_fullsize .jodit_area,.jodit_fullsize .jodit_editor{height:100%}.jodit_fullsize .jodit_workflow{height:calc(100% - 24px);overflow:auto}.jodit_fullsize.jodit_toolbar_size-small .jodit_workflow{height:calc(100% - 18px)}.jodit_fullsize.jodit_toolbar_size-large .jodit_workflow{height:calc(100% - 27px)}.jodit_placeholder{-webkit-user-select:none!important;-moz-user-select:none!important;-ms-user-select:none!important;user-select:none!important;top:0;left:0;display:block;position:absolute;padding:10px;color:rgba(0,0,0,.35);z-index:1;pointer-events:none}.jodit_toolbar_popup-inline-target{position:absolute;width:0;height:0}.jodit_toolbar_popup-inline-target.jodit_toolbar_popup-inline-target-hidden{display:none}.jodit_toolbar_popup-inline{display:inline-block!important;position:relative!important}.jodit_toolbar_popup-inline>div{color:hsla(0,0%,88%,.99);background:#fff;box-shadow:none;background-clip:padding-box;font-family:Helvetica,sans-serif;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:13!important;text-align:left;border:1px solid hsla(0,0%,88%,.99);display:inline-block;vertical-align:top}.jodit_toolbar_popup-inline .jodit_toolbar{z-index:7;border:0;white-space:normal}.jodit_toolbar_popup-inline>div>.jodit_toolbar{white-space:nowrap;box-shadow:none;vertical-align:top}.jodit_toolbar_popup-inline>.jodit_popup_triangle{padding:0;margin:0;width:8px;height:8px;position:absolute;top:-4px;margin-left:-4px;display:inline-block;transform:rotate(45deg);background:#fff;border:1px solid hsla(0,0%,88%,.99);border-width:1px 0 0 1px;z-index:6}.jodit_toolbar_popup-inline.jodit_toolbar_popup-inline-top>.jodit_popup_triangle{top:auto;bottom:-4px;border-width:0 1px 1px 0}.jodit_toolbar_popup-inline .buttons{box-shadow:0 1px 3px rgba(0,0,0,.12),0 1px 2px rgba(0,0,0,.24);padding:0 2px;white-space:nowrap;line-height:0;border-bottom:0}[data-jodit_iframe_wrapper]{display:block;clear:both;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative}[data-jodit_iframe_wrapper]:after{position:absolute;content:"";z-index:1;top:0;left:0;right:0;bottom:0;cursor:pointer;display:block;background:transparent}.jodit_resizer{width:100px;height:100px;position:absolute;border:1px solid rgba(3,14,82,.92);top:0;left:0;display:none;pointer-events:none;font-size:0}.jodit_resizer *{box-sizing:border-box}.jodit_resizer>span{opacity:0;transition:opacity .2s linear;left:50%;top:50%;height:24px;line-height:24px;font-size:12px;width:70px;margin-left:-35px;margin-top:-12px;text-align:center;overflow:visible;color:#fff;background-color:rgba(0,0,0,.35);max-width:100%}.jodit_resizer>i,.jodit_resizer>span{position:absolute;display:inline-block}.jodit_resizer>i{z-index:4;pointer-events:all;border:1px solid rgba(3,14,82,.92);background-color:hsla(0,0%,88%,.99);width:10px;height:10px}.jodit_resizer>i:hover{background-color:#f8f8f8}.jodit_resizer>i:first-child{left:-5px;top:-5px;cursor:nw-resize}.jodit_resizer>i:nth-child(2){right:-5px;top:-5px;cursor:ne-resize}.jodit_resizer>i:nth-child(3){right:-5px;bottom:-5px;cursor:se-resize}.jodit_resizer>i:nth-child(4){left:-5px;bottom:-5px;cursor:sw-resize}@media (max-width:768px){.jodit_resizer>i{width:20px;height:20px}.jodit_resizer>i:first-child{left:-10px;top:-10px;cursor:nw-resize}.jodit_resizer>i:nth-child(2){right:-10px;top:-10px;cursor:ne-resize}.jodit_resizer>i:nth-child(3){right:-10px;bottom:-10px;cursor:se-resize}.jodit_resizer>i:nth-child(4){left:-10px;bottom:-10px;cursor:sw-resize}}.jodit_container{min-height:100px}.jodit_container .jodit_workplace{display:-ms-flexbox;display:flex;height:auto;min-height:50px;overflow:hidden}.jodit_editor_resize{position:relative}.jodit_editor_resize a{position:absolute;bottom:0;right:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;width:0;height:0;overflow:hidden;border-width:7px 7px 0 0;border-color:transparent #ccc transparent transparent;border-style:dashed solid dashed dashed;cursor:se-resize}.jodit_source{display:none;position:relative;background-color:#f8f8f8;font-size:0;-ms-flex:1;flex:1;overflow:auto}.jodit_source,.jodit_source .jodit_source_mirror-fake{min-height:100%}.jodit_container.jodit_source_mode .jodit_wysiwyg,.jodit_container.jodit_source_mode .jodit_wysiwyg_iframe{display:none!important}.jodit_container.jodit_source_mode .jodit_source{display:block!important}.jodit_container.jodit_split_mode .jodit_source,.jodit_container.jodit_split_mode .jodit_wysiwyg,.jodit_container.jodit_split_mode .jodit_wysiwyg_iframe{display:block!important;width:50%;-ms-flex:1;flex:1}.jodit_source_mirror{border:0;width:100%;background:#3f3f3f;margin:0;height:100%;box-shadow:none;resize:none;box-sizing:border-box;color:#f0f0f0;outline:0;font-family:Menlo,Monaco,monospace,sans-serif;font-size:13px;line-height:1.3em;z-index:2;padding:10px;overflow:auto;white-space:pre-wrap;-moz-tab-size:2em;-o-tab-size:2em;tab-size:2em;min-height:100%}.jodit_source_mirror::-moz-selection{background:#bdbdbd}.jodit_source_mirror::selection{background:#bdbdbd}.jodit_table_resizer{cursor:col-resize;position:absolute;z-index:3;padding-left:5px;padding-right:5px;margin-left:-5px}.jodit_table_resizer:after{content:"";display:block;height:100%;width:0;border:1px solid transparent;border-width:0 1px 0 0}.jodit_table_resizer-moved{z-index:2}.jodit_table_resizer-moved:after{border-color:#1e88e5}.jodit_wysiwyg table{width:100%;border:none;border-collapse:collapse;table-layout:fixed;empty-cells:show;max-width:100%}.jodit_wysiwyg table tr{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.jodit_wysiwyg table tr td,.jodit_wysiwyg table tr th{border:1px solid #ddd;text-align:left;vertical-align:middle;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.jodit_wysiwyg table tr td[data-jodit-selected-cell],.jodit_wysiwyg table tr th[data-jodit-selected-cell]{border:1px double #1e88e5}.jodit_form_inserter .jodit_form-table-creator-box{font-size:0}.jodit_form_inserter .jodit_form-table-creator-box .jodit_form-container{display:inline-block;vertical-align:top;padding:0;margin:0;min-width:180px;font-size:0}.jodit_form_inserter .jodit_form-table-creator-box .jodit_form-container>div{width:18px;height:18px;box-sizing:border-box;display:inline-block;position:relative;vertical-align:top}.jodit_form_inserter .jodit_form-table-creator-box .jodit_form-container>div:after{content:"";position:absolute;top:0;left:0;display:inline-block;width:12px;height:12px;border:1px solid #ccc}.jodit_form_inserter .jodit_form-table-creator-box .jodit_form-container>div.hovered:after{background:#7a450f;border:1px solid #b5b5b5}.jodit_form_inserter .jodit_form-table-creator-box .jodit_form-options{font-size:14px;display:inline-block;vertical-align:top}.jodit_form_inserter .jodit_form-table-creator-box .jodit_form-options label{text-align:left;padding-top:0}.jodit_form_inserter .jodit_form-table-creator-box .jodit_form-options label input{margin-right:10px}.jodit_form_inserter label{text-align:center;font-size:14px;padding:8px;display:block;margin:0}.jodit_text_icons .jodit_icon{width:auto;font-size:14px}.jodit_text_icons .jodit_icon:first-letter{text-transform:uppercase}.jodit_text_icons .jodit_tabs .jodit_tabs_buttons>a{font-family:Helvetica,sans-serif;width:auto}.jodit_text_icons .jodit_tabs .jodit_tabs_buttons>a i,.jodit_text_icons .jodit_toolbar>li{width:auto}.jodit_text_icons .jodit_toolbar>li>a{text-decoration:none}.jodit_text_icons.jodit_dialog_box .jodit_dialog .jodit_button,.jodit_text_icons.jodit_dialog_box .jodit_dialog .jodit_dialog_header a,.jodit_text_icons .jodit_toolbar>li>a{padding:0 12px;font-family:Helvetica,sans-serif;width:auto;color:rgba(0,0,0,.75)}.jodit_text_icons.jodit_dialog_box .jodit_dialog .jodit_button .jodit_icon,.jodit_text_icons.jodit_dialog_box .jodit_dialog .jodit_dialog_header a .jodit_icon{width:auto}.jodit_widget,.jodit_widget *{box-sizing:border-box}.jodit_search{visibility:hidden;position:absolute;top:0;right:0;width:0;height:0}.jodit_search.jodit_search-active{visibility:visible}.jodit_search .jodit_search_box{width:320px;position:absolute;right:0;background-color:#f9f9f9;border:1px solid #ccc;border-width:0 0 1px 1px;padding:5px}.jodit_search .jodit_search_box input{margin:0;width:100%;height:100%;border:0;background-color:transparent;outline:0;padding:0 10px}.jodit_search .jodit_search_box input.jodit_search-replace{display:none}.jodit_search .jodit_search_box .jodit_search_buttons,.jodit_search .jodit_search_box .jodit_search_counts,.jodit_search .jodit_search_box .jodit_search_inputs{height:30px;display:inline-block;vertical-align:top}.jodit_search .jodit_search_box .jodit_search_inputs{width:60%;padding-right:5px}.jodit_search .jodit_search_box .jodit_search_counts{width:15%;line-height:100%;text-align:center;color:#ccc;border-left:1px solid #ccc}.jodit_search .jodit_search_box .jodit_search_counts:before{content:"";display:inline-block;vertical-align:middle;height:100%}.jodit_search .jodit_search_box .jodit_search_counts span{display:inline-block;vertical-align:middle}.jodit_search .jodit_search_box .jodit_search_buttons{padding-left:0;width:25%}.jodit_search .jodit_search_box .jodit_search_buttons button{outline:0;width:32%;padding:1px 5px;margin-right:1%;transition:transform .1s linear;height:100%;border:1px solid transparent;background-color:transparent}.jodit_search .jodit_search_box .jodit_search_buttons button.jodit_search_buttons-replace{width:100%;border:1px solid #ccc;margin-top:2px;display:none}.jodit_search .jodit_search_box .jodit_search_buttons button:hover{background-color:#ecebe9}.jodit_search .jodit_search_box .jodit_search_buttons button:focus{border:1px solid rgba(181,214,253,.5)}.jodit_search .jodit_search_box .jodit_search_buttons button:active{border:1px solid #b5d6fd;transform:scale(.95)}.jodit_search.jodit_search-and-replace .jodit_search_counts,.jodit_search.jodit_search-and-replace .jodit_search_inputs{height:60px}.jodit_search.jodit_search-and-replace .jodit_search_counts input,.jodit_search.jodit_search-and-replace .jodit_search_inputs input{height:50%;transition:background-color .1s linear}.jodit_search.jodit_search-and-replace .jodit_search_counts input:focus,.jodit_search.jodit_search-and-replace .jodit_search_inputs input:focus{box-shadow:inset 0 0 3px 0 hsla(0,0%,80%,.58)}.jodit_search.jodit_search-and-replace .jodit_search_buttons button.jodit_search_buttons-replace,.jodit_search.jodit_search-and-replace .jodit_search_inputs input.jodit_search-replace{display:block}@media (max-width:320px){.jodit_search,.jodit_search .jodit_search_box{width:100%}}.jodit_symbols{width:460px;padding:10px}.jodit_symbols .jodit_symbols-container_preview,.jodit_symbols .jodit_symbols-container_table{display:inline-block;vertical-align:top}.jodit_symbols .jodit_symbols-container_table{width:88%}.jodit_symbols .jodit_symbols-container_preview{width:12%}.jodit_symbols .jodit_symbols-container_preview .jodit_symbols-preview{font-size:34px;text-align:center;padding:20px 0;border:1px solid #ccc}.jodit_symbols table{border:0;border-spacing:0;table-layout:fixed}.jodit_symbols table td{padding:0}.jodit_symbols table td a{font-size:16px;text-decoration:none;color:#000;display:inline-block;box-sizing:border-box;width:21.6px;height:21.6px;border:1px solid transparent;text-align:center;line-height:21.6px;vertical-align:top}.jodit_symbols table td a:focus,.jodit_symbols table td a:hover{border:1px solid #1e88e5}.jodit_sticky-dummy_toolbar{display:none}.jodit_sticky>.jodit_toolbar{position:fixed;z-index:3;top:0;left:auto}.jodit_sticky .jodit_sticky-dummy_toolbar{display:block}.jodit_paste_storage{padding:10px;max-width:600px}@media (max-width:768px){.jodit_paste_storage{max-width:100%}}.jodit_paste_storage>div{max-width:100%;max-height:300px;border:1px solid #ccc}.jodit_paste_storage>div:first-child{margin-bottom:10px}.jodit_paste_storage>div:first-child a{outline:0;box-sizing:border-box;display:block;max-width:100%;white-space:pre;overflow:hidden;text-overflow:ellipsis;padding:5px;margin:0;border:1px solid transparent;text-decoration:none;color:#000}.jodit_paste_storage>div:first-child a.jodit_active{color:#fff;background-color:#575757}.jodit_paste_storage>div:first-child a:focus{outline:0}.jodit_paste_storage>div:last-child{padding:10px;overflow:auto}.jodit_paste_storage>div:last-child li,.jodit_paste_storage>div:last-child ul{margin:0}.ea-editor-property-control-number input{box-sizing:border-box;color:#fff;font-size:13px;font-weight:400;background:#303131;border-radius:2px;width:100%;height:32px;outline:none;line-height:20px;padding:6px 16px;margin:0;transition:all .1s ease;border:none}.ea-editor-property-control-number input:focus{background:#2c2d2d}.ea-editor-property-control-static-html img{max-width:100%}.ea-editor-property-control-select{position:relative}.ea-editor-property-control-select-readonly input{cursor:pointer}.ea-editor-property-control-select input{box-sizing:border-box;color:#fff;font-size:13px;font-weight:400;background:#303131;border-radius:3px;width:100%;height:32px;outline:none;line-height:20px;padding:6px 16px;margin:0;transition:all .1s ease;border:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.ea-editor-property-control-select input:focus{background:#2c2d2d}.ea-editor-property-control-select:after{display:block;content:"";width:7px;height:5px;position:absolute;right:11px;top:50%;transform:translateY(-50%);background-image:url('+o(78)+');background-position:50%;background-repeat:no-repeat;background-size:7px 5px;pointer-events:none}.ea-editor-property-control-select-options{position:absolute;background:#fff;width:100%;z-index:10;border:1px solid #2c2d2d;box-sizing:border-box;max-height:200px;overflow:auto}.ea-editor-property-control-select-options-item{padding:6px 16px;transition:all .1s ease;cursor:pointer;font-size:13px;font-weight:400;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:#fff;line-height:20px;min-height:20px;color:#111}.ea-editor-property-control-select-options-item-selected,.ea-editor-property-control-select-options-item:hover{background:#eee}.ea-editor-property-control-select-inline-wrapper{display:flex;flex-direction:row;box-sizing:border-box;background:#303131;border-radius:2px;width:100%;height:32px;outline:none;transition:all .1s ease}.ea-editor-property-control-select-inline-item{display:block;flex:1}.ea-editor-property-control-select-inline-item-label{position:relative;display:block;color:#fff;font-size:13px;font-weight:400;line-height:20px;padding:6px 12px;z-index:1;border-radius:2px;cursor:pointer;text-align:center;transition:all .1s ease}.ea-editor-property-control-select-inline-item-label:after{content:"";display:block;position:absolute;top:50%;right:-.5px;height:12px;width:1px;margin-top:-6px;background:#404141}.ea-editor-property-control-select-inline-item:last-child .ea-editor-property-control-select-inline-item-label:after{content:none}.ea-editor-property-control-select-inline-item-radio{position:absolute;visibility:hidden;opacity:0}.ea-editor-property-control-select-inline-item-radio:checked+.ea-editor-property-control-select-inline-item-label{background:#fff;color:#111}.ea-editor-property-control-select-inline-item-radio:checked+.ea-editor-property-control-select-inline-item-label:after{display:none}.ea-editor-select-visual-control{width:100%;height:136px;overflow:hidden;cursor:pointer;background-color:#303131;position:relative;border-radius:2px;display:flex;flex-direction:column;justify-content:center;align-items:center;transition:all .1s ease}.ea-editor-select-visual-control:hover .ea-editor-select-visual-control-trigger{background-color:#474848}.ea-editor-select-visual-control:hover .ea-editor-select-visual-control-trigger-arrow svg{fill:#e8e8e8}.ea-editor-select-visual-control-image{max-width:100%;max-height:100%}.ea-editor-select-visual-control-image-container{height:64px;margin-top:8px;margin-left:-29px;display:flex;align-items:center;justify-content:center}.ea-editor-select-visual-control-name{color:#fff;text-align:center;font-size:13px;font-weight:400;overflow:hidden;text-overflow:ellipsis;border-radius:2px;margin-top:20px;margin-left:-29px}.ea-editor-select-visual-control-trigger{position:absolute;height:100%;width:29px;right:0;top:0;background-color:#404141;display:flex;align-items:center;justify-content:center;transition:all .2s ease}.ea-editor-select-visual-control-trigger-arrow svg{fill:#66686a;display:block;transition:all .2s ease}.ea-editor-select-visual-group{display:flex;flex-direction:column;position:absolute;top:0;left:0;width:100%;bottom:0;transition:all .5s cubic-bezier(.2,1,.3,1);transform:translate(-100%);background:#38393a;box-shadow:0 0 20px rgba(51,74,96,.16);z-index:5;margin-top:-56px;padding-top:56px}.ea-editor-select-visual-group-active{transform:translate(0)}.ea-editor-select-visual-group-header{position:relative;background:#38393a;height:56px;line-height:56px;padding:0 54px;cursor:pointer;outline:none;border-bottom:1px solid #303131}.ea-editor-select-visual-group-back-button{display:block;position:absolute;top:50%;left:24px;transform:translateY(-50%)}.ea-editor-select-visual-group-back-button svg{display:block;width:12px;height:12px;fill:#fff}.ea-editor-select-visual-group-title{color:#fff;font-size:18px;font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ea-editor-select-visual-group-content{position:relative;background:#38393a;padding:32px 24px;overflow:auto;overflow-x:hidden;display:flex;flex-direction:row;flex-wrap:wrap}.editor-bottom-panel-show .ea-editor-select-visual-group-content{margin-bottom:135px}.ea-editor-select-visual-group-option{width:100%;height:136px;display:inline-flex;justify-content:center;align-items:center;flex-direction:column;overflow:hidden;cursor:pointer;background-color:#303131;position:relative;margin-bottom:12px;border-radius:2px;transition:box-shadow .2s ease,opacity .2s ease;box-shadow:inset 0 0 0 1px transparent;backface-visibility:hidden}.ea-editor-select-visual-group-two-cols .ea-editor-select-visual-group-option{width:123px;margin:0 6px 12px;height:123px}.ea-editor-select-visual-group-option:hover{background-color:#2c2d2d;box-shadow:inset 0 0 0 1px #fff}.ea-editor-select-visual-group-option-image{max-width:100%;max-height:100%}.ea-editor-select-visual-group-option-image-container{height:64px;margin-top:8px;display:flex;align-items:center;justify-content:center}.ea-editor-select-visual-group-option-selected{background-color:#2c2d2d;box-shadow:inset 0 0 0 1px #fff}.ea-editor-select-visual-group-option-title{color:#fff;margin-top:12px;font-size:13px;font-weight:400;overflow:hidden;text-overflow:ellipsis}.ea-editor-select-visual-group-option-radio{width:0;height:0;opacity:0;visibility:hidden}.ea-editor-select-visual-group-content .ea-editor-select-visual-group-option-divider:first-child{margin-top:0}.ea-editor-select-visual-group-content .ea-editor-select-visual-group-option-divider{width:100%;background-color:transparent;height:auto;flex-direction:row;justify-content:left;margin-top:24px;margin-bottom:12px;cursor:auto;pointer-events:none}.ea-editor-select-visual-group-content .ea-editor-select-visual-group-option-divider .ea-editor-select-visual-group-option-title{margin-top:0;color:#fff;font-size:12px;font-weight:500;line-height:12px;text-transform:uppercase;margin-bottom:0}.ea-editor-property-control-tags-input{box-sizing:border-box;color:#fff;font-size:13px;font-weight:400;background:#303131;border-radius:2px;width:100%;height:32px;outline:none;line-height:20px;padding:6px 16px;margin:0;transition:all .1s ease;border:none}.ea-editor-property-control-tags-input:focus{background-color:#2c2d2d}.ea-editor-property-control-tags-wrapper{display:flex;flex-direction:row;flex-wrap:wrap;box-sizing:border-box;width:100%}.ea-editor-property-control-tags-item{position:relative;box-sizing:border-box;color:#fff;font-size:13px;font-weight:400;border-radius:2px;border:1px solid hsla(0,0%,100%,.5);height:28px;line-height:28px;padding:0 28px 0 10px;margin:7px 7px 0 0;max-width:100%;overflow:hidden}.ea-editor-property-control-tags-item-label{line-height:26px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ea-editor-property-control-tags-item-remove{position:absolute;top:0;right:0;width:8px;height:8px;cursor:pointer;outline:none;opacity:.7;padding:9px 10px;transition:all .1s ease}.ea-editor-property-control-tags-item-remove svg{display:block}.ea-editor-property-control-toggle-wrapper{box-sizing:border-box;display:inline-block;position:relative;overflow:hidden;width:60px;height:24px;background:#303131;line-height:24px;border-radius:24px;cursor:pointer;transition:all .3s ease}.ea-editor-property-control-toggle-wrapper:hover .ea-editor-property-control-toggle-inner{background:#7a7b7c}.ea-editor-property-control-toggle-after,.ea-editor-property-control-toggle-before{display:block;position:absolute;top:0;height:24px;line-height:24px;color:#feffff;text-transform:uppercase;font-size:10px;font-weight:500;transition:all .3s ease}.ea-editor-property-control-toggle-before{left:-32px;color:#feffff}.ea-editor-property-control-toggle-after{right:9px;color:#7e8184}.ea-editor-property-control-toggle-inner{display:block;position:absolute;overflow:hidden;top:3px;left:3px;width:18px;height:18px;background:#646668;border-radius:50% 50%;transition:all .3s ease}.ea-editor-property-control-toggle-inner input{display:none!important}.ea-editor-property-control-toggle-on .ea-editor-property-control-toggle-wrapper,.ea-editor-property-control-toggle-on .ea-editor-property-control-toggle-wrapper:hover{background:#212121}.ea-editor-property-control-toggle-on .ea-editor-property-control-toggle-wrapper:hover .ea-editor-property-control-toggle-inner{background:#fff}.ea-editor-property-control-toggle-on .ea-editor-property-control-toggle-before{left:10px;opacity:1}.ea-editor-property-control-toggle-on .ea-editor-property-control-toggle-after{right:-40px;opacity:0}.ea-editor-property-control-toggle-on .ea-editor-property-control-toggle-inner{left:39px;background:#e5e7e8}.ea-editor-property-control-checklist-item{display:block;margin:0 0 6px}.ea-editor-property-control-checklist-item:last-child{margin-bottom:0}.ea-editor-property-control-checklist-item-label{color:#fff;font-size:13px;font-weight:400;margin-left:12px;padding-left:11px;cursor:pointer;transition:all .1s ease}.ea-editor-property-control-checklist-checkbox{display:block;cursor:pointer;position:relative}.ea-editor-property-control-checklist-checkbox:before{content:"";position:absolute;background-color:#2c2c2d;width:14px;height:14px;border-radius:2px;top:-12px;transition:background-color .1s ease}.ea-editor-property-control-checklist-checkbox-wrapper{display:inline-block}.ea-editor-property-control-checklist-checkbox-wrapper input{display:none!important}.ea-editor-property-control-checklist-checkbox-wrapper input:checked+.ea-editor-property-control-checklist-checkbox:before{background-image:url('+o(81)+');background-position:50%;background-repeat:no-repeat;background-size:12px}.ea-editor-property-control-color .color-picker-wrapper .input-group{display:inline-block;position:relative}.ea-editor-property-control-color .color-picker-wrapper .input-group:after{display:block;content:"";width:32px;height:32px;position:absolute;top:0;left:0;background:#2c2d2d;border-radius:2px 0 0 2px;z-index:1}.ea-editor-property-control-color .color-picker-wrapper .input-group .input-group-addon{box-sizing:border-box;border-radius:2px 0 0 2px;width:30px;height:30px;transition:all .1s ease;border:none;margin:1px;float:left;position:relative;z-index:2;background:#38393a}.ea-editor-property-control-color .color-picker-wrapper .input-group .color-picker-input-swatch{box-sizing:border-box;color:#fff;font-size:13px;font-weight:400;background:#303131;border-radius:0 2px 2px 0;width:170px;height:32px;outline:none;line-height:20px;padding:6px 16px;transition:all .1s ease;border:none;margin:0}.ea-editor-property-control-color .color-picker-wrapper .input-group .color-picker-input-swatch:focus{background-color:#2c2d2d}.ea-editor-property-control-color .color-picker-wrapper .color-picker-panel .color-picker-actions{padding:8px}.ea-editor-property-control-color .color-picker-wrapper .color-picker-panel .color-picker-actions .color-picker-action{margin:4px;width:auto;height:28px;font-size:11px;border-radius:4px;border:none;background-color:#444;color:#fff;cursor:pointer;padding:0 16px;font-weight:600}.ea-editor-property-control-subgroup{position:relative;display:flex;flex-direction:row;align-items:center;box-sizing:border-box;cursor:pointer;background:#404141;padding:0 16px;line-height:32px;height:32px;border-radius:2px;margin-bottom:-2px;outline:none;transition:all .1s ease}.ea-editor-property-control-subgroup:hover{background:#474848}.ea-editor-property-control-subgroup:hover .ea-editor-property-control-subgroup-icon svg{fill:#ebebeb}.ea-editor-property-control-subgroup-name{font-size:13px;font-weight:400;color:#fff}.ea-editor-property-control-subgroup-icon{position:absolute;width:12px;height:12px;top:50%;right:7px;transform:translateY(-50%)}.ea-editor-property-control-subgroup-icon svg{display:block;fill:#5f6163;transition:all .2s ease}.ea-editor-property-control-divider{border-bottom:1px solid hsla(0,0%,100%,.15);margin:32px 0}.ea-editor-property-control-complex-item{position:relative;margin:0 0 12px;outline:none}.ea-editor-property-control-complex-item:hover .ea-editor-property-control-complex-item-inner{background:#474848}.ea-editor-property-control-complex-item-inner{position:relative;display:flex;flex-direction:row;align-items:center;box-sizing:border-box;cursor:pointer;background:#404141;padding:0 12px;height:36px;border-radius:2px;outline:none;transition:all .3s ease}.ea-editor-property-control-complex-item-removing .ea-editor-property-control-complex-item-inner{transform:translateX(-100%);right:24px}.ea-editor-property-control-complex-item-reorder{display:block;width:7px;height:14px;padding:11px 16px 11px 7px;margin:0 0 0 -12px;cursor:move;outline:none}.ea-editor-property-control-complex-item-reorder svg{display:block;width:7px;height:14px;fill:rgba(88,89,91,.8);transition:all .2s ease}.ea-editor-property-control-complex-item-icon{display:block;height:14px;margin-right:16px}.ea-editor-property-control-complex-item-icon img{display:block;height:14px;width:14px;transition:all .2s ease}.ea-editor-property-control-complex-item-name{font-size:13px;font-weight:400;overflow:hidden;text-overflow:ellipsis;padding-right:10px;width:100%;white-space:nowrap;color:#fff;line-height:1}.ea-editor-property-control-complex-item-duplicate{display:block;width:12px;height:12px;padding:13px 7px;margin-left:auto;outline:none}.ea-editor-property-control-complex-item-duplicate:hover svg{fill:#dadadb}.ea-editor-property-control-complex-item-duplicate svg{display:block;width:12px;height:12px;fill:#646668;transition:all .2s ease}.ea-editor-property-control-complex-item-remove{display:block;width:12px;height:12px;padding:13px 7px;margin-right:-8px;outline:none}.ea-editor-property-control-complex-item-remove:hover svg{fill:#dadadb}.ea-editor-property-control-complex-item-remove svg{display:block;width:12px;height:12px;fill:#646668;transition:all .2s ease}.ea-editor-property-control-complex-item-remove-confirm{position:absolute;top:0;left:-24px;right:-24px;background:#303131;display:flex;flex-direction:row;align-items:center;line-height:40px;height:40px;transform:translateX(100%);transition:all .3s ease;width:100%;padding:0 24px;opacity:0;visibility:hidden}.ea-editor-property-control-complex-item-removing .ea-editor-property-control-complex-item-remove-confirm{transform:translateX(0);opacity:1;visibility:visible}.ea-editor-property-control-complex-item-remove-confirm-label{color:#fff;font-size:11px;font-weight:400}.ea-editor-property-control-complex-item-remove-confirm-actions{display:flex;flex-direction:row;margin-left:auto}.ea-editor-property-control-complex-item-remove-confirm-actions-no,.ea-editor-property-control-complex-item-remove-confirm-actions-yes{box-sizing:border-box;font-size:10px;font-weight:500;text-transform:uppercase;border-radius:3px;cursor:pointer;height:20px;line-height:20px;width:40px;text-align:center;transition:all .2s ease}.ea-editor-property-control-complex-item-remove-confirm-actions-yes{color:#7e8184}.ea-editor-property-control-complex-item-remove-confirm-actions-yes:hover{color:#fff}.ea-editor-property-control-complex-item-remove-confirm-actions-no{color:#fff;background:#404141;margin-left:6px}.ea-editor-property-control-complex-item-remove-confirm-actions-no:hover{background:#474848}.ea-editor-property-control-complex-item-placeholder{box-sizing:border-box;border-radius:3px;border:1px dashed #66686a;height:40px;width:288px;margin:0 0 12px}.ea-editor-property-control-complex-add-new{margin:0}.ea-editor-property-control-complex-add-new-disable{pointer-events:none}.ea-editor-property-control-complex-add-new-disable svg{fill:hsla(0,0%,100%,.3)!important}.ea-editor-property-control-complex-add-new .ea-editor-property-control-complex-item-inner{justify-content:center;align-items:center;text-transform:uppercase;font-size:10px;font-weight:500;outline:none;transition:background .2s ease,color .2s ease,border .2s ease}.ea-editor-property-control-complex-add-new-transparent{margin-top:-12px}.ea-editor-property-control-complex-add-new-transparent .ea-editor-property-control-complex-item-inner,.ea-editor-property-control-complex-add-new-transparent:hover .ea-editor-property-control-complex-item-inner{background:transparent}.ea-editor-property-control-complex-add-new svg{display:block;width:8px;height:8px;fill:hsla(0,0%,100%,.9);transition:all .2s ease;margin-right:6px}.ea-editor-property-control-complex-add-new-label{color:hsla(0,0%,100%,.9);display:block;transition:color .2s ease}.ea-editor-property-control-complex-add-new-disable .ea-editor-property-control-complex-add-new-label{color:hsla(0,0%,100%,.3)}.ea-editor-property-control-complex-limit-exceed .ea-editor-property-control-complex-item-inner{cursor:default}.ea-editor-property-control-file{position:relative;overflow:hidden}.ea-editor-property-control-file input{background:#303131;width:100%;height:32px;line-height:20px;padding:6px 16px;margin:0;transition:all .1s ease}.ea-editor-property-control-file-button,.ea-editor-property-control-file input{box-sizing:border-box;color:#fff;font-size:13px;font-weight:400;border-radius:2px;border:none;outline:none}.ea-editor-property-control-file-button{background-color:#3f4141;cursor:pointer;height:28px;width:92px;line-height:16px;display:flex;align-items:center;padding:0 12px;position:relative}.ea-editor-property-control-file-button:hover{background-color:#474848}.ea-editor-property-control-file-button-text{margin-left:8px}.ea-editor-property-control-file-button-loader{position:absolute;top:50%;left:50%;width:12px;height:12px;margin:-8px 0 0 -8px;outline:none;border:2px solid #fff;border-top:2px solid transparent;border-radius:50%;animation:button-loader .7s linear infinite}.ea-editor-property-control-file-input[type=file]{position:absolute;opacity:0;cursor:pointer;padding:0;width:0;height:0;z-index:-1}.ea-editor-property-control-file-exists{display:inline-flex;align-items:center;justify-content:space-between;border-radius:2px;border:1px solid hsla(0,0%,100%,.2);height:28px;padding:6px 12px;box-sizing:border-box;max-width:100%}.ea-editor-property-control-file-exists-name{font-size:13px;font-weight:400;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:100%}.ea-editor-property-control-file-exists-delete{cursor:pointer;margin-left:12px;opacity:.2}.ea-editor-property-control-file-error{font-size:11px;font-weight:400;margin-top:4px;opacity:.8;color:#ff4734}@-webkit-keyframes button-loader{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes button-loader{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.ea-editor-facebook-feed-token-control-wrapper .ea-editor-property-label{color:#fff;font-size:14px;font-weight:500;line-height:12px;text-transform:none;margin-bottom:0}.ea-editor-facebook-feed-token-control-wrapper .ea-editor-property-caption{opacity:.7;color:#fff;font-size:13px;font-weight:400;line-height:20px;padding:0;border-left:0}.ea-editor-facebook-feed-token-control-label-wrapper{display:flex;align-items:center;margin-bottom:8px}.ea-editor-facebook-feed-token-control-button-container{display:inline-flex;align-items:center}.ea-editor-facebook-feed-token-control-button-container button{display:inline-flex;justify-content:center;align-items:center;box-sizing:border-box;border-radius:2px;border:none;outline:none;cursor:pointer;height:28px;padding:6px 16px;position:relative;text-align:center;color:#111;font-size:13px;font-weight:400;line-height:16px;background-color:#fff}.ea-editor-facebook-feed-token-control-update .ea-editor-facebook-feed-token-control-button-container button{background-color:#fff}.ea-editor-facebook-feed-token-control-connect .ea-editor-facebook-feed-token-control-button-container button{background-color:#3c5a9b;color:#fff}.ea-editor-facebook-feed-token-control-disconnect .ea-editor-facebook-feed-token-control-button-container button{background-color:#474848;color:#fff}.ea-editor-facebook-feed-token-control-button-icon{width:12px;height:12px;margin-right:12px}.ea-editor-facebook-feed-token-control-button-icon svg{fill:#fff}.ea-editor-facebook-feed-token-control-status{margin-left:8px;text-transform:uppercase;font-size:9px}.ea-editor-facebook-feed-token-control-status,.ea-editor-facebook-feed-token-control-status span{display:inline-flex;align-items:center;position:relative}.ea-editor-facebook-feed-token-control-status span:before{content:"";display:inline-block;background:#000;width:4px;height:4px;border-radius:50%;margin:0 6px}.ea-editor-facebook-feed-token-control-connect .ea-editor-facebook-feed-token-control-status span,.ea-editor-facebook-feed-token-control-update .ea-editor-facebook-feed-token-control-status span{color:#ff4734}.ea-editor-facebook-feed-token-control-connect .ea-editor-facebook-feed-token-control-status span:before,.ea-editor-facebook-feed-token-control-update .ea-editor-facebook-feed-token-control-status span:before{background:#ff4734}.ea-editor-facebook-feed-token-control-disconnect .ea-editor-facebook-feed-token-control-status span{color:#4ad504}.ea-editor-facebook-feed-token-control-disconnect .ea-editor-facebook-feed-token-control-status span:before{background:#4ad504}.ea-editor-facebook-feed-token-control-loader{position:absolute;left:0;top:0;width:100%;height:100%;border-radius:2px;pointer-events:none}.ea-editor-facebook-feed-token-control-load .ea-editor-facebook-feed-token-control-loader{background:#717171}.ea-editor-facebook-feed-token-control-loader:after{content:"";box-sizing:border-box;display:block;position:absolute;top:50%;left:50%;border-radius:50%;border-style:solid;border-top-color:transparent;animation:preview-loader 1s infinite linear;width:12px;height:12px;margin:-6px 0 0 -6px;border-width:2px;color:#fff;opacity:0;visibility:hidden}.ea-editor-facebook-feed-token-control-load .ea-editor-facebook-feed-token-control-loader:after{opacity:1;visibility:visible}.ea-editor-facebook-feed-token-control-load button{pointer-events:none}.ea-editor-toolbar{position:absolute;top:80px;right:0}@media only screen and (max-width:480px){.ea-editor-toolbar{display:none}}.ea-editor-toolbar-item{position:relative}.ea-editor-toolbar-item:first-child .ea-editor-toolbar-item-trigger{padding-top:6px}.ea-editor-toolbar-item:last-child .ea-editor-toolbar-item-trigger{padding-bottom:6px}.ea-editor-toolbar-item-trigger{box-sizing:border-box;padding:3px 6px;background:#38393a;cursor:pointer}.ea-editor-toolbar-item-trigger:hover .ea-editor-toolbar-item-icon svg{fill:#fff}.ea-editor-toolbar-item-icon{display:flex;align-items:center;justify-content:center;width:26px;height:26px}.toolbar-item-active .ea-editor-toolbar-item-icon{background:#2c2c2d}.ea-editor-toolbar-item-icon svg{width:16px;height:16px;fill:#66686a;transition:.1s}.toolbar-item-active .ea-editor-toolbar-item-icon svg{fill:#fff}.ea-editor-toolbar-item-values{visibility:hidden;display:flex;align-items:center;justify-content:center;position:absolute;top:0;right:38px;padding:0 2px;border-radius:2px;transition:.2s;opacity:0;background:#38393a}.toolbar-item-active .ea-editor-toolbar-item-values{visibility:visible;opacity:1;right:42px}.ea-editor-toolbar-item-value{display:flex;align-items:center;justify-content:center;box-sizing:border-box;padding:4px 2px;cursor:pointer}.ea-editor-toolbar-item-value-icon{display:flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:2px}.ea-editor-toolbar-resolution-value:hover .ea-editor-toolbar-resolution-value-icon svg{fill:#fff}.toolbar-item-value-active .ea-editor-toolbar-resolution-value-icon{background:#2c2c2d}.ea-editor-toolbar-resolution-value-icon svg{width:16px;height:16px;fill:#66686a;transition:.1s}.toolbar-item-value-active .ea-editor-toolbar-resolution-value-icon svg{fill:#fff}.ea-editor-toolbar-background-value:hover.toolbar-item-value-active .ea-editor-toolbar-background-value-icon-color{box-shadow:0 0 0 2px #fc4264}.ea-editor-toolbar-background-value:hover .ea-editor-toolbar-background-value-icon-color{box-shadow:0 0 0 2px #fff}.ea-editor-toolbar-background-value-icon{display:flex;align-items:center;justify-content:center}.ea-editor-toolbar-background-value-icon-color{box-sizing:border-box;width:18px;height:18px;border-radius:2px;box-shadow:0 0 0 1px #474848}.toolbar-item-value-active .ea-editor-toolbar-background-value-icon-color{box-shadow:0 0 0 2px #fc4264}.ea-editor-toolbar-background-white{background:#fff}.ea-editor-toolbar-background-black{background:#252627}.ea-editor-toolbar-background-white-chess{background-size:10px;background-image:url('+o(84)+")}.ea-editor-toolbar-background-black-chess{background-size:10px;background-image:url("+o(87)+")}.ea-editor-preview-overlay-white{background:#fff}.ea-editor-preview-overlay-black{background:#252627}.ea-editor-preview-overlay-white-chess{background-image:url("+o(84)+")}.ea-editor-preview-overlay-black-chess{background-image:url("+o(87)+')}.ea-editor-templates{position:absolute;top:0;right:0;bottom:0;left:0;background:#38393a;transition:all .3s ease;transform:translateX(100%);z-index:2}.ea-editor-templates-enable{transition:0s;transform:translateX(0);opacity:1;visibility:visible}.ea-editor-templates-hide{transition:all .3s ease;transform:translateX(100%);opacity:0;pointer-events:0;visibility:hidden}.ea-editor-templates-wrapper{padding-bottom:88px;overflow:auto;height:100%;box-sizing:border-box}.ea-editor-templates-wrapper::-webkit-scrollbar-track{background-color:#f0f0f0;padding:0 2px}.ea-editor-templates-wrapper::-webkit-scrollbar{width:6px}.ea-editor-templates-wrapper::-webkit-scrollbar-thumb{background-color:#888}.ea-editor-templates-header{color:#fff;font-size:18px;font-weight:400;text-align:center;display:block;padding:28px 20px}.ea-editor-templates-item{margin-left:20px;width:138px;display:inline-flex;align-items:center;flex-direction:column;overflow:hidden;cursor:pointer;position:relative;margin-bottom:20px;border-radius:2px;backface-visibility:hidden}.ea-editor-templates-item-inner{height:100%;z-index:1;background-color:#252627;margin:2px;border-radius:2px;overflow:hidden;max-width:calc(100% - 4px)}.ea-editor-templates-item:after{background:linear-gradient(40deg,transparent 15%,transparent 50%,transparent 85%);content:"";top:-2px;bottom:-2px;left:-2px;right:-2px;display:block;position:absolute;opacity:0;transition:all .3s ease}.ea-editor-templates-item:hover:after{background:hsla(0,0%,100%,.1);opacity:1}.ea-editor-templates-item-image{width:134px;height:134px;display:block}.ea-editor-templates-item-image-container{width:134px;height:134px;display:flex;align-items:center;justify-content:center;flex-grow:0}.ea-editor-templates-item-active:after,.ea-editor-templates-item-active:hover:after{background:linear-gradient(180deg,#ffa450,#ff4177)}.ea-editor-templates-item-active:after{opacity:1}.ea-editor-templates-item-title{color:#fff;margin-top:auto;font-size:14px;font-weight:400;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block;flex-shrink:0;max-width:100%;padding:14px;box-sizing:border-box;text-align:center;line-height:1}.ea-editor-templates-item-radio{width:0;height:0;opacity:0;visibility:hidden}.ea-editor-templates-actions{position:absolute;display:flex;bottom:0;z-index:1;justify-content:center;align-items:center;padding:20px 0;width:100%;background-color:#404141}.ea-editor-templates-actions-customize{background:none;border-radius:4px;border:none;box-sizing:border-box;color:#fff;font-weight:600;cursor:pointer;display:inline-flex;justify-content:center;align-content:center;align-items:center;position:relative;outline:none;text-align:center;transition:all .4s ease;text-transform:none;background-color:#fa4772;font-size:15px;line-height:24px;padding:8px 40px;padding-right:16px;padding-left:32px;height:40px}.ea-editor-templates-actions-customize:hover{transform:translateY(-3px);box-shadow:0 8px 20px rgba(0,0,0,.1)}.ea-editor-templates-actions-customize svg{width:24px;height:24px;margin-left:8px;fill:#fff;display:block}@-webkit-keyframes jump{0%{transform:translateZ(0)}40%{transform:translate3d(10%,0,0)}to{transform:translate3d(30%,0,0)}}@keyframes jump{0%{transform:translateZ(0)}40%{transform:translate3d(10%,0,0)}to{transform:translate3d(30%,0,0)}}',""])},function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;t<this.length;t++){var o=this[t];o[2]?e.push("@media "+o[2]+"{"+o[1]+"}"):e.push(o[1])}return e.join("")},e.i=function(t,o){"string"==typeof t&&(t=[[null,t,""]]);for(var i={},n=0;n<this.length;n++){var r=this[n][0];"number"==typeof r&&(i[r]=!0)}for(n=0;n<t.length;n++){var a=t[n];"number"==typeof a[0]&&i[a[0]]||(o&&!a[2]?a[2]=o:o&&(a[2]="("+a[2]+") and ("+o+")"),e.push(a))}},e}},function(e,t,o){o(79),e.exports=o(80)},function(e,t,o){e.exports=o.p+"assets/img/select-arrow-down.svg"},function(e,t){e.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA3IDUiPgogICAgPHBhdGggaWQ9IlJvdW5kZWRfUmVjdGFuZ2xlXzIyX2NvcHlfMyIgc3R5bGU9Im9wYWNpdHk6MC44O2ZpbGw6IzY2Njg2QTsiIGQ9Ik0zLjksNC44CglDMy42LDUuMSwzLjIsNSwyLjksNC43TDAuMywxLjVDMCwxLjEtMC41LDAsMSwwTDYsMGMxLjUsMCwwLjksMS4xLDAuNiwxLjRMNC4xLDQuN0M0LDQuOCw0LDQuOCwzLjksNC44eiIvPgo8L3N2Zz4="},function(e,t,o){o(82),e.exports=o(83)},function(e,t,o){e.exports=o.p+"assets/img/check-mark-icon.svg"},function(e,t){e.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJDYXBhXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHZpZXdCb3g9IjAgMCAxMiAxMiIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMTIgMTI7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KCTxnPgoJCTxwYXRoIHN0eWxlPSJmaWxsOiNmZmZmZmY7IiBkPSJNOS45LDMuMWMtMC4yLDAtMC4zLDAtMC40LDAuMkw1LjMsNy41TDMuNCw1LjZDMy4zLDUuNSwzLjEsNS40LDMsNS41Yy0wLjEsMC0wLjMsMC4xLTAuNCwwLjJDMi41LDUuNywyLjQsNS45LDIuNCw2CgkJCWMwLDAuMiwwLDAuMywwLjIsMC40bDIuMywyLjNDNSw4LjgsNS4xLDguOSw1LjMsOC45YzAuMSwwLDAuMy0wLjEsMC40LTAuMmw0LjYtNC42YzAuMS0wLjEsMC4yLTAuMywwLjItMC40CgkJCWMwLTAuMS0wLjEtMC4zLTAuMi0wLjRDMTAuMSwzLjIsMTAsMy4xLDkuOSwzLjF6Ii8+Cgk8L2c+Cjwvc3ZnPgo="},function(e,t,o){o(85),e.exports=o(86)},function(e,t,o){e.exports=o.p+"assets/img/bg-preview.png"},function(e,t){e.exports="data:image/png;base64,/9j/4AAQSkZJRgABAgAAZABkAAD/7AARRHVja3kAAQAEAAAAUAAA/+4AJkFkb2JlAGTAAAAAAQMAFQQDBgoNAAABpgAAAccAAAIDAAACMP/bAIQAAgICAgICAgICAgMCAgIDBAMCAgMEBQQEBAQEBQYFBQUFBQUGBgcHCAcHBgkJCgoJCQwMDAwMDAwMDAwMDAwMDAEDAwMFBAUJBgYJDQsJCw0PDg4ODg8PDAwMDAwPDwwMDAwMDA8MDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwM/8IAEQgAFAAUAwERAAIRAQMRAf/EAH8AAAMBAQAAAAAAAAAAAAAAAAIDBAEIAQEAAAAAAAAAAAAAAAAAAAAAEAACAwEAAAAAAAAAAAAAAAAAATARMRARAQAAAAAAAAAAAAAAAAAAADASAQAAAAAAAAAAAAAAAAAAADATAAEEAwEAAAAAAAAAAAAAAAEAEDAx8BGxYf/aAAwDAQACEQMRAAAB7kHhgCzCgnBP/9oACAEBAAEFAhYUjC3x6f/aAAgBAgABBQKH/9oACAEDAAEFAof/2gAIAQICBj8CH//aAAgBAwIGPwIf/9oACAEBAQY/Ah//2gAIAQEDAT8hVTeSJJaFL2a5v//aAAgBAgMBPyGH/9oACAEDAwE/IYf/2gAMAwEAAhEDEQAAEBBJBB//2gAIAQEDAT8QXV1sRKOD6CgsQDcXG//aAAgBAgMBPxCH/9oACAEDAwE/EIf/2Q=="},function(e,t,o){o(88),e.exports=o(89)},function(e,t,o){e.exports=o.p+"assets/img/bg-preview-black.png"},function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAIAAAAC64paAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACxJREFUeNpiVFfXYMAN/v3/j0eWiYECMKp5ZGhmIZCGGBlHA2xUMyWaAQIMAJSTBpxFdlboAAAAAElFTkSuQmCC"},function(e,t,o){var i={},n=function(e){var t;return function(){return void 0===t&&(t=e.apply(this,arguments)),t}},r=n(function(){return/msie [6-9]\b/.test(self.navigator.userAgent.toLowerCase())}),a=n(function(){return document.head||document.getElementsByTagName("head")[0]}),s=null,l=0,c=[];function d(e,t){for(var o=0;o<e.length;o++){var n=e[o],r=i[n.id];if(r){r.refs++;for(var a=0;a<r.parts.length;a++)r.parts[a](n.parts[a]);for(;a<n.parts.length;a++)r.parts.push(g(n.parts[a],t))}else{var s=[];for(a=0;a<n.parts.length;a++)s.push(g(n.parts[a],t));i[n.id]={id:n.id,refs:1,parts:s}}}}function u(e){for(var t=[],o={},i=0;i<e.length;i++){var n=e[i],r=n[0],a={css:n[1],media:n[2],sourceMap:n[3]};o[r]?o[r].parts.push(a):t.push(o[r]={id:r,parts:[a]})}return t}function p(e,t){var o=a(),i=c[c.length-1];if("top"===e.insertAt)i?i.nextSibling?o.insertBefore(t,i.nextSibling):o.appendChild(t):o.insertBefore(t,o.firstChild),c.push(t);else{if("bottom"!==e.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");o.appendChild(t)}}function f(e){e.parentNode.removeChild(e);var t=c.indexOf(e);t>=0&&c.splice(t,1)}function h(e){var t=document.createElement("style");return t.type="text/css",p(e,t),t}function g(e,t){var o,i,n;if(t.singleton){var r=l++;o=s||(s=h(t)),i=b.bind(null,o,r,!1),n=b.bind(null,o,r,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(o=function(e){var t=document.createElement("link");return t.rel="stylesheet",p(e,t),t}(t),i=function(e,t){var o=t.css,i=t.sourceMap;i&&(o+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */");var n=new Blob([o],{type:"text/css"}),r=e.href;e.href=URL.createObjectURL(n),r&&URL.revokeObjectURL(r)}.bind(null,o),n=function(){f(o),o.href&&URL.revokeObjectURL(o.href)}):(o=h(t),i=function(e,t){var o=t.css,i=t.media;i&&e.setAttribute("media",i);if(e.styleSheet)e.styleSheet.cssText=o;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(o))}}.bind(null,o),n=function(){f(o)});return i(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;i(e=t)}else n()}}e.exports=function(e,t){void 0===(t=t||{}).singleton&&(t.singleton=r()),void 0===t.insertAt&&(t.insertAt="bottom");var o=u(e);return d(o,t),function(e){for(var n=[],r=0;r<o.length;r++){var a=o[r];(s=i[a.id]).refs--,n.push(s)}e&&d(u(e),t);for(r=0;r<n.length;r++){var s;if(0===(s=n[r]).refs){for(var l=0;l<s.parts.length;l++)s.parts[l]();delete i[s.id]}}}};var m,v=(m=[],function(e,t){return m[e]=t,m.filter(Boolean).join("\n")});function b(e,t,o,i){var n=o?"":i.css;if(e.styleSheet)e.styleSheet.cssText=v(t,n);else{var r=document.createTextNode(n),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(r,a[t]):e.appendChild(r)}}},function(e,t){"use strict";angular.module("elfsightAppsEditor").run(["gettextCatalog",function(e){e.setStrings("ru_RU",{Add:"Добавить",Apply:"Применить","Are you sure you want to remove?":"Вы уверены, что хотите удалить?","Back to preview":"Назад к предпросмотру","Clear color":"Очистить цвет","Connect to Facebook":"Подключиться к Facebook",Connected:"Подключено","Connection error. Probably, your two-month authorization has expired. Please, try to reconnect.":"Ошибка подключения. Вероятно, истек период Вашей двухмесячной авторизации. Пожалуйста, попробуйте подключиться снова.","Continue with this template":"Продолжить с этим шаблоном","Custom CSS":"Пользовательский CSS",Disconnect:"Отключить",Disconnected:"Отключено","Duplicate item":"Дублировать элемент","If you need to customize your widget, add your custom styles here. The styles will only be applied to this widget.":"Если вам нужно персонализировать виджет, сюда вы можете добавить собственные стили. Стили будут применены только к этому виджету.",No:"Нет",Off:"Выкл",On:"Вкл",Open:"Открыть",Reconnect:"Повторить подключение","Remove item":"Удалить элемент","Select a template to start with":"Чтобы начать, выберите шаблон","To display Facebook page, please, authorize in Facebook.":"Чтобы вывести страницу Facebook, пожалуйста, авторизуйтесь в Facebook.",Upload:"Загрузить","Widget Settings":"Настройки виджета",Yes:"Да","You widget is successfully connected to Facebook. You can continue customization.":"Виджет успешно подключен к Facebook. Вы можете продолжить настройку."})}])}]),function(e,t){"use strict";var o,i,n,r,a,s,l,c,d;function u(){this.pages=[]}u.prototype={constructor:u,add:function(t,o){if(!t||!o||!e.isFunction(o))return!1;this.pages[t]=o()||{}},get:function(e){return this.pages[e]||!1},show:function(t,a){var c,d=this,u=this.get(t);return!!u&&("init"in u&&e.isFunction(u.init)&&(c=u.init(a)),e.when(c).then(function(){s.hasClass("elfsight-admin-other-products-hidden-permanently")||s.toggleClass("elfsight-admin-other-products-hidden","widgets"!==t),o.removeClass("elfsight-admin-loading"),n.removeClass("active"),n.filter("[data-elfsight-admin-page="+t+"]").addClass("active"),l.length&&l.removeClass("elfsight-admin-page-active"),l=i.filter("[data-elfsight-admin-page-id="+t+"]"),r.css("min-height",l.outerHeight()),l.addClass("elfsight-admin-page-animation elfsight-admin-page-active"),setTimeout(function(){l.removeClass("elfsight-admin-page-animation"),"function"==typeof d.onPageChanged&&d.onPageChanged(t)},200)}),u)}};var p=new u;function f(){this.popups=[]}t.elfsightAdminPagesController=p,f.prototype={constructor:f,add:function(t,o){if(!t||!o||!e.isFunction(o))return!1;this.popups[t]=o()||{}},get:function(e){return this.popups[e]||!1},hide:function(e){(c=a.filter("[data-elfsight-admin-popup-id="+e+"]")).removeClass("elfsight-admin-popup-active")},show:function(t,o){var i,n=this.get(t);return!!n&&("init"in n&&e.isFunction(n.init)&&(i=n.init(o)),e.when(i).then(function(){c.length&&c.removeClass("elfsight-admin-popup-active"),(c=a.filter("[data-elfsight-admin-popup-id="+t+"]")).addClass("elfsight-admin-popup-animation elfsight-admin-popup-active"),setTimeout(function(){c.removeClass("elfsight-admin-popup-animation")},200)}),n)}};var h=new f;e(function(){e(".elfsight-admin"),o=e(".elfsight-admin-main"),i=e("[data-elfsight-admin-page-id]"),n=e("[data-elfsight-admin-page]"),r=e(".elfsight-admin-pages-container"),a=e("[data-elfsight-admin-popup-id]"),s=e(".elfsight-admin-other-products"),l=e(),c=e(),d=o.attr("data-elfsight-admin-slug"),p.add("welcome",e.noop),p.add("widgets",function(){var t=[],i="true"===o.attr("data-elfsight-admin-widgets-clogged"),n=e(".elfsight-admin-page-widgets"),r=e(".elfsight-admin-page-widgets-list",n),a=e(".elfsight-admin-template-widgets-list-item",n),s=e(".elfsight-admin-template-widgets-list-empty",n);r.on("click",".elfsight-admin-page-widgets-list-item-actions-remove",function(t){var o=e(this),i=o.attr("data-widget-id");o.closest(".elfsight-admin-page-widgets-list-item").addClass("elfsight-admin-page-widgets-list-item-removed"),f("remove",{id:i},"post",!0),t.preventDefault()}),r.on("click",".elfsight-admin-page-widgets-list-item-actions-restore a",function(t){var o=e(this),i=o.attr("data-widget-id");o.closest(".elfsight-admin-page-widgets-list-item").removeClass("elfsight-admin-page-widgets-list-item-removed"),f("restore",{id:i},"post",!0),t.preventDefault()}),r.tablesorter({cssAsc:"elfsight-admin-page-widgets-list-sort-asc",cssDesc:"elfsight-admin-page-widgets-list-sort-desc",cssHeader:"elfsight-admin-page-widgets-list-sort",headers:{0:{},1:{},2:{},3:{sorter:!1}}});var l=function(){var o=e("tbody",r).empty();e.isArray(t)&&t.length?(e.each(t,function(t,i){var n=e(a.html()),r="["+d.split("-").join("_")+' id="'+i.id+'"]';n.find(".elfsight-admin-page-widgets-list-item-name a").attr("href","#/edit-widget/"+i.id+"/").text(i.name);var s=new Date(1e3*(i.time_updated||i.time_created));n.find(".elfsight-admin-page-widgets-list-item-date").text(function(e){e instanceof Date||(e=new Date(Date.parse(e)));return["January","February","March","April","May","June","July","August","September","October","November","December"][e.getMonth()]+" "+e.getDate()+", "+e.getFullYear()}(s)),n.find(".elfsight-admin-page-widgets-list-item-shortcode-hidden").text(r);var l=n.find(".elfsight-admin-page-widgets-list-item-shortcode-input").val(r),c=n.find(".elfsight-admin-page-widgets-list-item-shortcode-copy-trigger").attr("data-clipboard-text",r),u=new ClipboardJS(c.get(0));u.on("success",function(){c.addClass("elfsight-admin-page-widgets-list-item-shortcode-copy-trigger-copied").find("span").text("Copied"),setTimeout(function(){c.removeClass("elfsight-admin-page-widgets-list-item-shortcode-copy-trigger-copied").find("span").text("Copy")},5e3)}),u.on("error",function(){var e=n.find(".elfsight-admin-page-widgets-list-item-shortcode-copy-error").show();l.select(),setTimeout(function(){e.hide()},5e3)}),n.find(".elfsight-admin-page-widgets-list-item-shortcode-value").text(r),n.find(".elfsight-admin-page-widgets-list-item-actions-edit").attr("href","#/edit-widget/"+i.id+"/"),n.find(".elfsight-admin-page-widgets-list-item-actions-duplicate").attr("href","#/edit-widget/"+i.id+"/duplicate/"),n.find(".elfsight-admin-page-widgets-list-item-actions-remove, .elfsight-admin-page-widgets-list-item-actions-restore a").attr("data-widget-id",i.id),n.appendTo(o)}),r.trigger("update")):e(s.html()).appendTo(o)};return{init:function(o,n){return f("list").then(function(o){if(o.status){if(t=o.data,!(i||e.isArray(t)&&t.length))return p.show("welcome"),e.Deferred().reject(o).promise();l()}})}}}),p.add("edit-widget",function(){var t,o,i,n=e(".elfsight-admin-page-edit-widget"),r=e(".elfsight-admin-page-edit-widget-form-submit",n),a=e(".elfsight-admin-page-edit-widget-form-apply",n),s=e(".elfsight-admin-page-edit-widget-name-input",n),l="elfsight-admin-page-edit-widget-form-editor",c=l+"-clone",d=e("."+c,n).parent(),u=e("."+c,n),h=JSON.parse(u.attr("data-elfsight-admin-editor-settings")),g=JSON.parse(u.attr("data-elfsight-admin-editor-preferences")),m=JSON.parse(u.attr("data-elfsight-admin-editor-preview-url")),v=u.attr("data-elfsight-admin-editor-observer-url")||null;v&&(v=JSON.parse(v));var b=function(i){var n=s.val(),r={};o.getData()?r=o.getData():t&&(r=t.options);var a=t?"update":"add",l={name:n||"Untitled",options:encodeURIComponent(JSON.stringify(r))};t&&(l.id=t.id),f(a,l,"post").done(function(o){o.status&&(o.id&&(t={id:o.id}),e.isFunction(i)&&i())})};return r.on("click",function(){e("html, body").animate({scrollTop:0}),b(function(){hasher.setHash("widgets/")})}),a.on("click",function(){b()}),{init:function(r,a){var b=function(){s.val(t?t.name:""),i&&i.remove(),(i=u.clone().removeClass(c).addClass(l)).appendTo(d),angular.module("elfsightEditor",["elfsightAppsEditor"]).controller("AppController",["$elfsightAppsEditor","$scope","$rootScope","$timeout",function(n,r,a,s){o=n;var l={parent:i,previewUrl:m,observerUrl:v||void 0,settings:e.extend(!0,{},h),preferences:g};t&&(l.widget={data:t.options}),n.init(l)}]),i.attr("ng-controller","AppController as app"),angular.bootstrap(i,["elfsightEditor"])};if(r&&r.id)return f("list",{id:r.id}).then(function(o){if(o.status){if(!o.data.length)return p.show("error",{message:"There is no widget with id "+r.id+"."}),e.Deferred().reject(o).promise();t=o.data[0],b(),n.toggleClass("elfsight-admin-page-edit-widget-new",!!r.duplicate),r.duplicate&&(t=null)}},function(){t=null});t=null,b(),n.addClass("elfsight-admin-page-edit-widget-new")}}}),p.add("support",e.noop),p.add("error",function(){var t=e(".elfsight-admin-page-error");return{init:function(o){o&&o.message&&e(".elfsight-admin-page-error-message",t).text(o.message)}}}),h.add("rating",function(){var t=e(".elfsight-admin-header-rating"),o=t.find("input[name=rating-header]"),i=e(".elfsight-admin-popup-rating"),n=i.find("form"),r=i.find("input[name=rating-popup]"),a=i.find(".elfsight-admin-popup-textarea"),s=i.find(".elfsight-admin-popup-text"),l=i.find(".elfsight-admin-popup-footer-button-ok"),c=i.find(".elfsight-admin-popup-footer-button-close"),p=localStorage.getItem("popupRatingShowed")?localStorage.getItem("popupRatingShowed"):Math.floor(Date.now()/1e3),f=parseInt(p)+86400<Math.floor(Date.now()/1e3),g=function(e){i.length&&!i.hasClass("elfsight-admin-popup-sent")&&((!e||e&&f)&&h.show("rating"),localStorage.setItem("popupRatingShowed",Math.floor(Date.now()/1e3)))};setTimeout(function(){g(!0)},3e4),o.on("change",function(){var t=parseInt(e(this).val());g(!1),setTimeout(function(){r.filter('[value="'+t+'"]').prop("checked",!0),m(t)},400),e(this).prop("checked",!1)});var m=function(e){l.removeClass("elfsight-admin-popup-footer-button-hide"),a.toggleClass("elfsight-admin-popup-textarea-hide",5===e),s.toggleClass("elfsight-admin-popup-text-hide",e<5)};return r.on("change",function(){m(parseInt(e(this).val()))}),l.on("click",function(o){o.preventDefault();var r=parseInt(n.find('input[name="rating-popup"]:checked').val()),s=n.find("textarea").val(),p={action:d.split("-").join("_")+"_rating_send",nonce:n.attr("data-nonce"),value:r,comment:s};5===r&&u(e(o.target).attr("href")),r<5&&""===s?a.toggleClass("elfsight-admin-popup-textarea-error",!0):(a.toggleClass("elfsight-admin-popup-textarea-error",!1),e.post(ajaxurl,p).then(function(){i.addClass("elfsight-admin-popup-sent"),c.text("OK"),l.addClass("elfsight-admin-popup-footer-button-hide"),t.slideUp(),localStorage.removeItem("popupRatingShowed")}))}),c.on("click",function(){h.hide("rating"),l.addClass("elfsight-admin-popup-footer-button-hide"),a.addClass("elfsight-admin-popup-textarea-hide"),s.addClass("elfsight-admin-popup-text-hide"),r.prop("checked",!1)}),{init:function(e,t){return!0}}});var u=function(e,o){var i=940,n=700,r=["width="+i,"height="+n,"menubar=no","toolbar=no","resizable=yes","scrollbars=yes","left="+(t.screen.availLeft+t.screen.availWidth/2-i/2),"top="+(t.screen.availTop+t.screen.availHeight/2-n/2)];t.open(e,o,r.join(","))},f=function(t,i,n,r){n="post"===n?"post":"get";var a=e.extend({},{action:d.split("-").join("_")+"_widgets_api",endpoint:t},i);return e.ajax({url:ajaxurl,data:a,dataType:"json",type:n,beforeSend:function(){r||o.addClass("elfsight-admin-loading")}}).always(function(){r||o.removeClass("elfsight-admin-loading")}).then(function(t){return t.status?t:(p.show("error",{message:"An error occurred during your request process. Please, try again."}),e.Deferred().reject(t).promise())},function(e){return p.show("error",{message:"An error occurred during your request process. Please, try again."}),e})};if(t.crossroads&&t.hasher){crossroads.addRoute("/add-widget/",function(){p.show("edit-widget")}),crossroads.addRoute("/edit-widget/{id}/",function(e){p.show("edit-widget",{id:e})}),crossroads.addRoute("/edit-widget/{id}/duplicate/",function(e){p.show("edit-widget",{id:e,duplicate:!0})}),crossroads.addRoute("/{page}/",function(e){e&&-1===e.indexOf("!")&&(p.show(e)||p.show("error",{message:"The requested page was not found."}))});var g=function(e,t){crossroads.parse(e)};hasher.initialized.add(g),hasher.changed.add(g),hasher.init(),hasher.getHash()||hasher.setHash("widgets/")}})}(jQuery,window);