From 37bf74b65f2c01e19519b7317779e7e7905ed7d9 Mon Sep 17 00:00:00 2001 From: Ambroise Maupate Date: Tue, 12 Sep 2023 11:53:50 +0200 Subject: [PATCH] style: Vanilla JS cleansing --- lib/Rozier/src/Resources/app/Lazyload.js | 7 -- .../src/Resources/app/api/DocumentApi.js | 2 - .../AttributeValuePosition.js | 2 - .../Resources/app/components/import/Import.js | 119 ------------------ .../app/components/node/NodeEditSource.js | 1 - .../app/components/panels/EntriesPanel.js | 26 ++-- .../app/components/tabs/MainTreeTabs.js | 8 +- .../app/containers/TagsEditorContainer.vue | 11 -- .../fonts/roadiz-sans/RoadizSans-Light.eot | Bin 23702 -> 0 bytes .../fonts/roadiz-sans/RoadizSans-Light.woff | Bin 26568 -> 0 bytes .../fonts/roadiz-sans/RoadizSans-Light.woff2 | Bin 21212 -> 0 bytes .../fonts/roadiz-sans/RoadizSans-Medium.eot | Bin 23720 -> 0 bytes .../fonts/roadiz-sans/RoadizSans-Medium.woff | Bin 26472 -> 0 bytes .../fonts/roadiz-sans/RoadizSans-Medium.woff2 | Bin 21164 -> 0 bytes .../app/fonts/roadiz-sans/RoadizSans-Mono.eot | Bin 22520 -> 0 bytes .../fonts/roadiz-sans/RoadizSans-Mono.woff | Bin 25156 -> 0 bytes .../fonts/roadiz-sans/RoadizSans-Mono.woff2 | Bin 20188 -> 0 bytes .../fonts/roadiz-sans/RoadizSans-Regular.eot | Bin 24157 -> 0 bytes .../fonts/roadiz-sans/RoadizSans-Regular.woff | Bin 26908 -> 0 bytes .../roadiz-sans/RoadizSans-Regular.woff2 | Bin 21544 -> 0 bytes .../fonts/roadiz-sans/roadiz-sans-LICENCE.md | 27 ---- lib/Rozier/src/Resources/app/less/common.less | 34 ----- lib/Rozier/src/Resources/app/less/vars.less | 3 - .../app/widgets/ChildrenNodesField.js | 7 +- .../src/Resources/app/widgets/NodeTree.js | 2 - .../src/Resources/app/widgets/SaveButtons.js | 1 - .../src/Resources/app/widgets/YamlEditor.js | 5 +- .../views/partials/css-inject.html.twig | 4 +- .../views/partials/js-inject.html.twig | 4 +- .../views/partials/simple-js-inject.html.twig | 2 +- .../css/app.02cad77caad05b1c36f6.css.map | 1 - ...c36f6.css => app.bd1efb846a65ba8724e5.css} | 4 +- .../css/app.bd1efb846a65ba8724e5.css.map | 1 + ...16.css => vendor.00b2be12b114cc414b2c.css} | 2 +- ...ap => vendor.00b2be12b114cc414b2c.css.map} | 2 +- ...ght.3cb2dde3ccc587cd4b9015acd888d682.woff2 | Bin 21212 -> 0 bytes ...ight.4b78aae656bca1227c451a681682a81d.woff | Bin 26568 -> 0 bytes ...ium.1f2274d646ff39afd4b05eb40736e6d2.woff2 | Bin 21164 -> 0 bytes ...dium.d099b2b90aec499cb3500c79ccd40962.woff | Bin 26472 -> 0 bytes ...ono.04f18efe0897251ef8b8fd05387da836.woff2 | Bin 20188 -> 0 bytes ...Mono.c4fe4f0d09dd98e8e016ebf66f6af85e.woff | Bin 25156 -> 0 bytes ...ular.4ad219c9931fb2a89e21a9a88f7c1ff7.woff | Bin 26908 -> 0 bytes ...lar.78075c1857b3a12055a7d6ef730e66d9.woff2 | Bin 21544 -> 0 bytes ...83eb32c.js => app.41061e77e5bc12f769d2.js} | 8 +- ...b32c.js => simple.41061e77e5bc12f769d2.js} | 0 ...b32c.js => vendor.41061e77e5bc12f769d2.js} | 6 +- 46 files changed, 31 insertions(+), 258 deletions(-) delete mode 100644 lib/Rozier/src/Resources/app/components/import/Import.js delete mode 100644 lib/Rozier/src/Resources/app/fonts/roadiz-sans/RoadizSans-Light.eot delete mode 100644 lib/Rozier/src/Resources/app/fonts/roadiz-sans/RoadizSans-Light.woff delete mode 100644 lib/Rozier/src/Resources/app/fonts/roadiz-sans/RoadizSans-Light.woff2 delete mode 100644 lib/Rozier/src/Resources/app/fonts/roadiz-sans/RoadizSans-Medium.eot delete mode 100644 lib/Rozier/src/Resources/app/fonts/roadiz-sans/RoadizSans-Medium.woff delete mode 100644 lib/Rozier/src/Resources/app/fonts/roadiz-sans/RoadizSans-Medium.woff2 delete mode 100644 lib/Rozier/src/Resources/app/fonts/roadiz-sans/RoadizSans-Mono.eot delete mode 100644 lib/Rozier/src/Resources/app/fonts/roadiz-sans/RoadizSans-Mono.woff delete mode 100644 lib/Rozier/src/Resources/app/fonts/roadiz-sans/RoadizSans-Mono.woff2 delete mode 100644 lib/Rozier/src/Resources/app/fonts/roadiz-sans/RoadizSans-Regular.eot delete mode 100644 lib/Rozier/src/Resources/app/fonts/roadiz-sans/RoadizSans-Regular.woff delete mode 100644 lib/Rozier/src/Resources/app/fonts/roadiz-sans/RoadizSans-Regular.woff2 delete mode 100644 lib/Rozier/src/Resources/app/fonts/roadiz-sans/roadiz-sans-LICENCE.md delete mode 100644 lib/Rozier/src/static/css/app.02cad77caad05b1c36f6.css.map rename lib/Rozier/src/static/css/{app.02cad77caad05b1c36f6.css => app.bd1efb846a65ba8724e5.css} (60%) create mode 100644 lib/Rozier/src/static/css/app.bd1efb846a65ba8724e5.css.map rename lib/Rozier/src/static/css/{vendor.c385c7e785cae6757716.css => vendor.00b2be12b114cc414b2c.css} (99%) rename lib/Rozier/src/static/css/{vendor.c385c7e785cae6757716.css.map => vendor.00b2be12b114cc414b2c.css.map} (99%) delete mode 100644 lib/Rozier/src/static/fonts/RoadizSans-Light.3cb2dde3ccc587cd4b9015acd888d682.woff2 delete mode 100644 lib/Rozier/src/static/fonts/RoadizSans-Light.4b78aae656bca1227c451a681682a81d.woff delete mode 100644 lib/Rozier/src/static/fonts/RoadizSans-Medium.1f2274d646ff39afd4b05eb40736e6d2.woff2 delete mode 100644 lib/Rozier/src/static/fonts/RoadizSans-Medium.d099b2b90aec499cb3500c79ccd40962.woff delete mode 100644 lib/Rozier/src/static/fonts/RoadizSans-Mono.04f18efe0897251ef8b8fd05387da836.woff2 delete mode 100644 lib/Rozier/src/static/fonts/RoadizSans-Mono.c4fe4f0d09dd98e8e016ebf66f6af85e.woff delete mode 100644 lib/Rozier/src/static/fonts/RoadizSans-Regular.4ad219c9931fb2a89e21a9a88f7c1ff7.woff delete mode 100644 lib/Rozier/src/static/fonts/RoadizSans-Regular.78075c1857b3a12055a7d6ef730e66d9.woff2 rename lib/Rozier/src/static/js/{app.133b900b82a8a83eb32c.js => app.41061e77e5bc12f769d2.js} (63%) rename lib/Rozier/src/static/js/{simple.133b900b82a8a83eb32c.js => simple.41061e77e5bc12f769d2.js} (100%) rename lib/Rozier/src/static/js/{vendor.133b900b82a8a83eb32c.js => vendor.41061e77e5bc12f769d2.js} (97%) diff --git a/lib/Rozier/src/Resources/app/Lazyload.js b/lib/Rozier/src/Resources/app/Lazyload.js index 0e1f3d36..7f3c8f6b 100644 --- a/lib/Rozier/src/Resources/app/Lazyload.js +++ b/lib/Rozier/src/Resources/app/Lazyload.js @@ -9,7 +9,6 @@ import AttributeValuePosition from './components/attribute-values/AttributeValue import NodeTypeFieldEdit from './components/node-type-fields/NodeTypeFieldEdit' import CustomFormFieldsPosition from './components/custom-form-fields/CustomFormFieldsPosition' import NodeTreeContextActions from './components/trees/NodeTreeContextActions' -import Import from './components/import/Import' import NodeEditSource from './components/node/NodeEditSource' import InputLengthWatcher from './widgets/InputLengthWatcher' import ChildrenNodesField from './widgets/ChildrenNodesField' @@ -364,13 +363,7 @@ export default class Lazyload { // Switch checkboxes this.initBootstrapSwitches() - window.Rozier.getMessages() - - if (typeof window.Rozier.importRoutes !== 'undefined' && window.Rozier.importRoutes !== null) { - window.Rozier.import = new Import(window.Rozier.importRoutes) - window.Rozier.importRoutes = null - } } generalUnbind(objects) { diff --git a/lib/Rozier/src/Resources/app/api/DocumentApi.js b/lib/Rozier/src/Resources/app/api/DocumentApi.js index 9729e172..e76828c9 100644 --- a/lib/Rozier/src/Resources/app/api/DocumentApi.js +++ b/lib/Rozier/src/Resources/app/api/DocumentApi.js @@ -29,7 +29,6 @@ export function getDocumentsByIds({ ids = [] }) { } }) .catch((error) => { - // TODO // Log request error or display a message throw new Error(error.response.data.humanMessage) }) @@ -77,7 +76,6 @@ export function getDocuments({ searchTerms, filters, filterExplorerSelection, mo } }) .catch((error) => { - // TODO // Log request error or display a message throw new Error(error) }) diff --git a/lib/Rozier/src/Resources/app/components/attribute-values/AttributeValuePosition.js b/lib/Rozier/src/Resources/app/components/attribute-values/AttributeValuePosition.js index d483350a..6a913bba 100644 --- a/lib/Rozier/src/Resources/app/components/attribute-values/AttributeValuePosition.js +++ b/lib/Rozier/src/Resources/app/components/attribute-values/AttributeValuePosition.js @@ -4,10 +4,8 @@ export default class AttributeValuePosition { constructor() { this.$list = $('.attribute-value-forms > .uk-sortable') this.currentRequest = null - // Bind methods this.onSortableChange = this.onSortableChange.bind(this) - this.init() } diff --git a/lib/Rozier/src/Resources/app/components/import/Import.js b/lib/Rozier/src/Resources/app/components/import/Import.js deleted file mode 100644 index 7a92eb93..00000000 --- a/lib/Rozier/src/Resources/app/components/import/Import.js +++ /dev/null @@ -1,119 +0,0 @@ -import $ from 'jquery' - -/** - * Import - */ -export default class Import { - /** - * Constructor - * @param {Array} routesArray - */ - constructor(routesArray) { - this.routes = routesArray - this.always(0, this.routes) - this.$nextStepButton = $('#next-step-button') - this.score = 0 - } - - always(index, routes) { - if (routes.length > index) { - if (typeof routes[index].update !== 'undefined') { - $.ajax({ - url: routes[index].update, - type: 'POST', - dataType: 'json', - complete: () => { - this.callSingleImport(index) - }, - }) - } else { - this.callSingleImport(index) - } - } else if (this.$nextStepButton.length) { - this.$nextStepButton.removeClass('uk-button-disabled') - } - } - - callSingleImport(index) { - const currentIndex = index - const routes = this.routes - let $row = $('#' + routes[currentIndex].id) - let $icon = $row.find('i') - $icon.removeClass('uk-icon-circle-o') - $icon.addClass('uk-icon-spin') - $icon.addClass('uk-icon-spinner') - - let postData = { - filename: routes[currentIndex].filename, - } - - $.ajax({ - url: routes[currentIndex].url, - type: 'POST', - dataType: 'json', - data: postData, - success: () => { - $icon.removeClass('uk-icon-spin') - $icon.removeClass('uk-icon-spinner') - $icon.addClass('uk-icon-check') - $row.addClass('uk-badge-success') - - // Call post-update route - if (routes[currentIndex].postUpdate) { - if ( - routes[currentIndex].postUpdate instanceof Array && - routes[currentIndex].postUpdate.length > 1 - ) { - // Call clear cache before updating schema - $.ajax({ - url: routes[currentIndex].postUpdate[0], - type: 'POST', - dataType: 'json', - complete: () => { - $.ajax({ - url: routes[currentIndex].postUpdate[1], - type: 'POST', - dataType: 'json', - complete: () => { - this.always(currentIndex + 1, routes) - }, - }) - }, - }) - } else { - $.ajax({ - url: routes[currentIndex].postUpdate, - type: 'POST', - dataType: 'json', - complete: () => { - this.always(currentIndex + 1, routes) - }, - }) - } - } else { - this.always(currentIndex + 1, routes) - } - }, - error: (data) => { - $icon.removeClass('uk-icon-spin') - $icon.removeClass('uk-icon-spinner') - $icon.addClass('uk-icon-warning') - $row.addClass('uk-badge-danger') - - if (data.responseJSON && data.responseJSON.error) { - $row.parent() - .parent() - .after( - '' + - data.responseJSON.error + - '' - ) - } - }, - complete: () => { - $icon.removeClass('uk-icon-spin') - $icon.removeClass('uk-icon-spinner') - }, - }) - } -} diff --git a/lib/Rozier/src/Resources/app/components/node/NodeEditSource.js b/lib/Rozier/src/Resources/app/components/node/NodeEditSource.js index a8de6277..9c54a941 100644 --- a/lib/Rozier/src/Resources/app/components/node/NodeEditSource.js +++ b/lib/Rozier/src/Resources/app/components/node/NodeEditSource.js @@ -13,7 +13,6 @@ export default class NodeEditSource { this.$dropdown = null this.$input = null - // Binded methods this.onInputKeyDown = this.onInputKeyDown.bind(this) this.onInputKeyUp = this.onInputKeyUp.bind(this) this.inputFocus = this.inputFocus.bind(this) diff --git a/lib/Rozier/src/Resources/app/components/panels/EntriesPanel.js b/lib/Rozier/src/Resources/app/components/panels/EntriesPanel.js index 85a5f710..306a0b4d 100644 --- a/lib/Rozier/src/Resources/app/components/panels/EntriesPanel.js +++ b/lib/Rozier/src/Resources/app/components/panels/EntriesPanel.js @@ -1,27 +1,19 @@ -import $ from 'jquery' - -/** - * Entries panel - */ export default class EntriesPanel { constructor() { - this.$adminMenuNav = $('#admin-menu-nav') + this.adminMenuNav = document.getElementById('admin-menu-nav') this.replaceSubNavs() } replaceSubNavs() { - this.$adminMenuNav.find('.uk-nav-sub').each((index, element) => { - let subMenu = $(element) - - subMenu.attr('style', 'display:block;') - - const top = subMenu.offset().top - const height = subMenu.height() - - subMenu.removeAttr('style') + /** @var {HTMLElement} element */ + this.adminMenuNav.querySelectorAll('.uk-nav-sub').forEach((element) => { + element.style.display = 'block' + const top = element.getBoundingClientRect().top + const height = element.getBoundingClientRect().height + element.style.display = null - if (top + height + 20 > $(window).height()) { - subMenu.parent().addClass('reversed-nav') + if (top + height + 20 > window.innerHeight) { + element.parentElement.classList.add('reversed-nav') } }) } diff --git a/lib/Rozier/src/Resources/app/components/tabs/MainTreeTabs.js b/lib/Rozier/src/Resources/app/components/tabs/MainTreeTabs.js index d5b7b209..6e1d0dff 100644 --- a/lib/Rozier/src/Resources/app/components/tabs/MainTreeTabs.js +++ b/lib/Rozier/src/Resources/app/components/tabs/MainTreeTabs.js @@ -1,15 +1,13 @@ -import $ from 'jquery' - const STORAGE_KEY = 'roadiz.currentMainTreeTab' export default class MainTreeTabs { constructor() { this.onTabChange = this.onTabChange.bind(this) - this.tabsMenu = $('#tree-menu') + const treeMenu = document.getElementById('tree-menu') const currentTabId = window.localStorage.getItem(STORAGE_KEY) - if (this.tabsMenu) { - window.UIkit.tab(this.tabsMenu, { + if (treeMenu) { + this.tabsMenu = window.UIkit.tab(treeMenu, { connect: '#tree-container', swiping: false, active: currentTabId ? Number.parseInt(currentTabId) : 0, diff --git a/lib/Rozier/src/Resources/app/containers/TagsEditorContainer.vue b/lib/Rozier/src/Resources/app/containers/TagsEditorContainer.vue index fac34d73..761be900 100644 --- a/lib/Rozier/src/Resources/app/containers/TagsEditorContainer.vue +++ b/lib/Rozier/src/Resources/app/containers/TagsEditorContainer.vue @@ -15,17 +15,6 @@ group-label="name" @tag="addTag" @input="tagsUpdateValue"> - - - - - - - - - - -
{{ value  }}
diff --git a/lib/Rozier/src/Resources/app/fonts/roadiz-sans/RoadizSans-Light.eot b/lib/Rozier/src/Resources/app/fonts/roadiz-sans/RoadizSans-Light.eot deleted file mode 100644 index 36f4223e38fed66dbdb7bcf82bfb3c9e9d390f6c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 23702 zcma%>Q*o_f1i zU3XWyJ^(PH2LM0-AORo%004;q1ONe`{}Kp5BE)|HAg>Jkf7}0AsQ;_=f@nDY5B^^X z2B-p@044x)fDOPGKmt(vPdftK{!{Y*5i5W-!2Lfb@_#Oi|1uAN{eN}W{|FvH^FQMH zpVQ{Q^N#=dSpbXx=Kq52zv}C@P8vkfbF8=me#K>').insertAfter(t);t.addClass("tag-editor-hidden-src").data("options",s).on("focus.tag-editor",function(){i.click()}),i.append('
  •  
  • ');var r,l,u='
  •  '+s.delimiter[0]+'
  • ';function c(){!s.placeholder||n.length||e(".deleted, .placeholder, input",i).length||i.append('
  • '+s.placeholder+"
  • ")}function d(r){var o=n.toString();n=e(".tag-editor-tag:not(.deleted)",i).map(function(t,n){var i=e.trim(e(this).hasClass("active")?e(this).find("input").val():e(n).text());if(i)return i}).get(),i.data("tags",n),t.val(n.join(s.delimiter[0])),r||o!=n.toString()&&s.onChange(t,i,n),c()}function h(r){for(var a,l=r.closest("li"),u=r.val().replace(/ +/," ").split(s.dregex),c=r.data("old_tag"),h=n.slice(0),f=!1,p=0;p
     '+s.delimiter[0]+'
    '+o(m)+'
    '),s.maxTags&&h.length>=s.maxTags)){f=!0;break}r.attr("maxlength",s.maxLength).removeData("old_tag").val(""),f?r.blur():r.focus(),d()}i.click(function(t,n){var r,o,l=99999;if(!window.getSelection||""==getSelection())return s.maxTags&&i.data("tags").length>=s.maxTags?(i.find("input").blur(),!1):(a=!0,e("input:focus",i).blur(),!!a&&(a=!0,e(".placeholder",i).remove(),n&&n.length?o="before":e(".tag-editor-tag",i).each(function(){var i=e(this),a=i.offset(),s=a.left,u=a.top;t.pageY>=u&&t.pageY<=u+i.height()&&(t.pageX1){var o=e(this).closest("li"),a=o.find(".tag-editor-tag");return!1!==s.beforeTagDelete(t,i,n,a.text())&&(a.addClass("deleted").animate({width:0},s.animateDelete,function(){o.remove(),c()}),d(),!1)}}),i.on("click",".tag-editor-tag",function(t){if(s.clickDelete&&(t.ctrlKey||t.which>1))return!1;if(!e(this).hasClass("active")){var n=e(this).text(),r=Math.abs((e(this).offset().left-t.pageX)/e(this).width()),a=parseInt(n.length*r),l=e(this).html('').addClass("active").find("input");if(l.data("old_tag",n).tagEditorInput().focus().caret(a),s.autocomplete){var u=e.extend({},s.autocomplete),c="select"in u?s.autocomplete.select:"";u.select=function(t,n){c&&c(t,n),setTimeout(function(){i.trigger("click",[e(".active",i).find("input").closest("li").next("li").find(".tag-editor-tag")])},20)},l.autocomplete(u)}}return!1}),i.on("blur","input",function(r){r.stopPropagation();var l,u=e(this),f=u.data("old_tag"),p=e.trim(u.val().replace(/ +/," ").replace(s.dregex,s.delimiter[0]));if(p){if(p.indexOf(s.delimiter[0])>=0)return void h(u);if(p!=f)if(s.forceLowercase&&(p=p.toLowerCase()),l=s.beforeTagSave(t,i,n,f,p),p=l||p,!1===l){if(f)return u.val(f).focus(),a=!1,void d();try{u.closest("li").remove()}catch(r){}f&&d()}else s.removeDuplicates&&e(".tag-editor-tag:not(.active)",i).each(function(){e(this).text()==p&&e(this).closest("li").remove()})}else{if(f&&!1===s.beforeTagDelete(t,i,n,f))return u.val(f).focus(),a=!1,void d();try{u.closest("li").remove()}catch(r){}f&&d()}u.parent().html(o(p)).removeClass("active"),p!=f&&d(),c()}),i.on("paste","input",function(t){e(this).removeAttr("maxlength"),r=e(this),setTimeout(function(){h(r)},30)}),i.on("keypress","input",function(t){s.delimiter.indexOf(String.fromCharCode(t.which))>=0&&(l=e(this),setTimeout(function(){h(l)},20))}),i.on("keydown","input",function(n){var r=e(this);if((37==n.which||!s.autocomplete&&38==n.which)&&!r.caret()||8==n.which&&!r.val())return(o=r.closest("li").prev("li").find(".tag-editor-tag")).length?o.click().find("input").caret(-1):!r.val()||s.maxTags&&i.data("tags").length>=s.maxTags||e(u).insertBefore(r.closest("li")).find(".tag-editor-tag").click(),!1;if((39==n.which||!s.autocomplete&&40==n.which)&&r.caret()==r.val().length)return(a=r.closest("li").next("li").find(".tag-editor-tag")).length?a.click().find("input").caret(0):r.val()&&i.click(),!1;if(9==n.which){if(n.shiftKey){var o;if((o=r.closest("li").prev("li").find(".tag-editor-tag")).length)o.click().find("input").caret(0);else{if(!r.val()||s.maxTags&&i.data("tags").length>=s.maxTags)return t.attr("disabled","disabled"),void setTimeout(function(){t.removeAttr("disabled")},30);e(u).insertBefore(r.closest("li")).find(".tag-editor-tag").click()}return!1}var a;if((a=r.closest("li").next("li").find(".tag-editor-tag")).length)a.click().find("input").caret(0);else{if(!r.val())return;i.click()}return!1}if(!(46!=n.which||e.trim(r.val())&&r.caret()!=r.val().length))return(a=r.closest("li").next("li").find(".tag-editor-tag")).length?a.click().find("input").caret(0):r.val()&&i.click(),!1;if(13==n.which)return i.trigger("click",[r.closest("li").next("li").find(".tag-editor-tag")]),s.maxTags&&i.data("tags").length>=s.maxTags&&i.find("input").blur(),!1;if(36!=n.which||r.caret()){if(35==n.which&&r.caret()==r.val().length)i.find(".tag-editor-tag").last().click();else if(27==n.which)return r.val(r.data("old_tag")?r.data("old_tag"):"").blur(),!1}else i.find(".tag-editor-tag").first().click()});for(var f=s.initialTags.length?s.initialTags:t.val().split(s.dregex),p=0;p=s.maxTags);p++){var m=e.trim(f[p].replace(/ +/," "));m&&(s.forceLowercase&&(m=m.toLowerCase()),n.push(m),i.append('
  •  '+s.delimiter[0]+'
    '+o(m)+'
  • '))}d(!0),s.sortable&&e.fn.sortable&&i.sortable({distance:5,cancel:".tag-editor-spacer, input",helper:"clone",update:function(){d()}})})},e.fn.tagEditor.defaults={initialTags:[],maxTags:0,maxLength:50,delimiter:",;",placeholder:"",forceLowercase:!0,removeDuplicates:!0,clickDelete:!1,animateDelete:175,sortable:!0,autocomplete:null,onChange:function(){},beforeTagSave:function(){},beforeTagDelete:function(){}}}(jQuery)},"2y8T":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDocumentsByIds=function(e){var t=e.ids,n=void 0===t?[]:t,r={_token:window.RozierRoot.ajaxToken,_action:"documentsByIds",ids:n};return(0,i.default)({method:"GET",url:window.RozierRoot.routes.documentsAjaxByArray,params:r}).then(function(e){return void 0!==e.data&&e.data.documents?{items:e.data.documents,trans:e.data.trans}:null}).catch(function(e){throw new Error(e.response.data.humanMessage)})},t.getDocuments=function(e){var t=e.searchTerms,n=e.filters,r=e.filterExplorerSelection,o=e.moreData,a={_token:window.RozierRoot.ajaxToken,_action:"toggleExplorer",search:t,page:1};r&&r.id&&(a.folderId=r.id);o&&(a.page=n?n.nextPage:1);return(0,i.default)({method:"GET",url:window.RozierRoot.routes.documentsAjaxExplorer,params:a}).then(function(e){return void 0!==e.data&&e.data.documents?{items:e.data.documents,filters:e.data.filters,trans:e.data.trans}:{}}).catch(function(e){throw new Error(e)})},t.setDocument=function(e){return i.default.post(window.location.href,e,{headers:{Accept:"application/json"}})};var i=function(e){return e&&e.__esModule?e:{default:e}}(n("dZBD"))},"3T/f":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={render:function(){var e=this,t=e.$createElement;return(e._self._c||t)("drawer-item",{attrs:{item:e.item,index:e.index,"drawer-name":e.drawerName,"is-item-explorer":e.isItemExplorer,name:e.item.name,"parent-name":e.item.countFields,"edit-item":e.item.customFormsEditPage,"add-item":e.addItem,"remove-item":e.removeItem}})},staticRenderFns:[]};t.default=i},"3Z0C":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a(n("dACh")),r=a(n("jx4H")),o=a(n("0iPh"));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(){function e(){(0,i.default)(this,e),this.$input=(0,o.default)(".rz-tag-autocomplete").eq(0),this.initialUrl=this.$input.attr("data-get-url"),this.placeholder=this.$input.attr("placeholder"),this.initialTags=[],this.init()}return(0,r.default)(e,[{key:"init",value:function(){var e=this;void 0!==this.initialUrl&&""!==this.initialUrl?o.default.getJSON(this.initialUrl,{_action:"getNodeTags",_token:window.Rozier.ajaxToken},function(t){e.initialTags=t,e.initAutocomplete()}):this.initAutocomplete()}},{key:"unbind",value:function(){}},{key:"split",value:function(e){return e.split(/,\s*/)}},{key:"extractLast",value:function(e){return this.split(e).pop()}},{key:"initAutocomplete",value:function(){var e=this;this.$input.tagEditor({autocomplete:{delay:.3,position:{collision:"flip"},source:function(t,n){o.default.getJSON(window.Rozier.routes.tagAjaxSearch,{_action:"tagAutocomplete",_token:window.Rozier.ajaxToken,search:e.extractLast(t.term)},n)}},placeholder:this.placeholder,initialTags:this.initialTags,animateDelete:0})}}]),e}();t.default=s},"3aBW":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a(n("dACh")),r=a(n("jx4H")),o=a(n("0iPh"));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(){function e(){(0,i.default)(this,e),this.$containers=(0,o.default)(".node-statuses, .node-actions"),this.$icon=(0,o.default)(".node-status header i"),this.$inputs=this.$containers.find('input[type="checkbox"], input[type="radio"]'),this.$item=this.$containers.find(".node-statuses-item"),this.locked=!1,this.itemClick=this.itemClick.bind(this),this.containerEnter=this.containerEnter.bind(this),this.containerLeave=this.containerLeave.bind(this),this.onChange=this.onChange.bind(this),this.init()}return(0,r.default)(e,[{key:"init",value:function(){this.$item.off("click",this.itemClick),this.$item.on("click",this.itemClick),this.$containers.on("mouseenter",this.containerEnter),this.$containers.on("mouseleave",this.containerLeave),this.$inputs.off("change",this.onChange),this.$inputs.on("change",this.onChange),this.$containers.find(".rz-boolean-checkbox").bootstrapSwitch({size:"small",onSwitchChange:this.onChange})}},{key:"containerEnter",value:function(e){e.stopPropagation();var t=(0,o.default)(e.currentTarget),n=t.find("ul, nav").eq(0),i=t.height(),r=n.height(),a=t.offset().top;window.innerHeight-1)&&"SELECT"===t.tagName}}}]),e}();t.default=s},"7hA0":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,r=f(n("Xos8")),o=f(n("mYpx")),a=f(n("aIIw")),s=f(n("kcQR")),l=f(n("T4f3")),u=f(n("lRwf")),c=f(n("lS9x")),d=n("xHmi"),h=f(n("uC1N"));function f(e){return e&&e.__esModule?e:{default:e}}var p={searchTerms:"",isOpen:!1,isLoading:!1,isLoadingMore:!1,items:[],trans:{moreItems:""},filters:{},entity:null,error:"",currentListingView:null,isFilterEnable:null,filterExplorerIcon:"uk-icon-cog",widgetView:null},m=(0,l.default)({},p),g={explorerOpen:function(e,t){var n=this,i=e.commit,r=e.dispatch,o=t.entity;return(0,s.default)(a.default.mark(function e(){return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r("filterExplorerClose"),i(d.EXPLORER_RESET),i(d.EXPLORER_OPEN,{entity:o}),e.next=5,r("explorerMakeSearch");case 5:i(d.EXPLORER_IS_LOADED);case 6:case"end":return e.stop()}},e,n)}))()},explorerClose:function(e){var t=e.commit,n=e.dispatch;n("filterExplorerClose"),n("filterExplorerReset"),t(d.EXPLORER_RESET),t(d.EXPLORER_CLOSE)},explorerToggle:function(e){var t=e.dispatch;e.state.isOpen?t("explorerClose"):t("explorerOpen")},explorerResetSearchTerms:function(e){var t=e.commit,n=e.state,i=e.dispatch;""===n.searchTerms?t(d.EXPLORER_UPDATE_SEARCH_TERMS,{searchTerms:""}):i("explorerUpdateSearch",{searchTerms:""})},explorerUpdateSearch:function(e,t){var n=e.commit,i=e.dispatch,r=t.searchTerms;n(d.EXPLORER_UPDATE_SEARCH_TERMS,{searchTerms:r}),i("explorerMakeSearch")},explorerMakeSearch:function(e){var t=e.commit,n=e.state,i=e.getters,r=n.entity,o=n.searchTerms,a=i.getDrawerFilters,s=n.filters,l=i.getFilterExplorerSelectedItem,u=n.isLoadingMore;return t(d.EXPLORER_REQUEST),c.default.getExplorerItems({entity:r,searchTerms:o,preFilters:a,filters:s,filterExplorerSelection:l,moreData:u}).then(function(e){t(d.EXPLORER_SUCCESS,{result:e})}).catch(function(e){console.error(e),t(d.EXPLORER_FAILED,{error:e})})},explorerLoadMore:function(e){var t=this,n=e.commit,i=e.dispatch;return(0,s.default)(a.default.mark(function e(){return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n(d.EXPLORER_LOAD_MORE),e.next=3,i("explorerMakeSearch");case 3:n(d.EXPLORER_LOAD_MORE_SUCCESS);case 4:case"end":return e.stop()}},e,t)}))()}},v=(i={},(0,r.default)(i,d.EXPLORER_REQUEST,function(e){e.isLoadingMore||(e.isLoading=!0)}),(0,r.default)(i,d.EXPLORER_UPDATE_SEARCH_TERMS,function(e,t){var n=t.searchTerms;e.searchTerms=n}),(0,r.default)(i,d.EXPLORER_SUCCESS,function(e,t){var n=t.result;e.isLoading=!1,e.isLoadingMore?e.items=[].concat((0,o.default)(e.items),(0,o.default)(n.items)):e.items=n.items,e.filters=n.filters}),(0,r.default)(i,d.EXPLORER_LOAD_MORE,function(e){e.isLoadingMore=!0}),(0,r.default)(i,d.EXPLORER_LOAD_MORE_SUCCESS,function(e){e.isLoadingMore=!1}),(0,r.default)(i,d.FILTER_EXPLORER_UPDATE,function(e){e.filters={}}),(0,r.default)(i,d.EXPLORER_RESET,function(e){for(var t in e)e.hasOwnProperty(t)&&u.default.set(e,t,p[t])}),(0,r.default)(i,d.EXPLORER_FAILED,function(e){e.isLoading=!1,e.isLoadingMore=!1,e.error="Request failed"}),(0,r.default)(i,d.EXPLORER_OPEN,function(e,t){var n=t.entity;e.isOpen=!0,e.isLoading=!0,e.entity=n,e.trans.moreItems="",e.widgetView=h.default.getWidgetView(n);var i=h.default.getState(n);for(var r in i)e.hasOwnProperty(r)&&u.default.set(e,r,i[r])}),(0,r.default)(i,d.EXPLORER_IS_LOADED,function(e){e.isLoading=!1}),(0,r.default)(i,d.EXPLORER_CLOSE,function(e){e.isOpen=!1,e.isLoading=!1}),(0,r.default)(i,d.KEYBOARD_EVENT_ESCAPE,function(){m.isOpen=!1}),i);t.default={state:m,getters:{getExplorerEntity:function(e){return e.entity},getExplorerSearchTerms:function(e){return e.searchTerms}},actions:g,mutations:v}},"8DOo":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getCustomFormsByIds=function(e){var t=e.ids,n=void 0===t?[]:t,r=(e.filters,{_token:window.RozierRoot.ajaxToken,ids:n});return(0,i.default)({method:"GET",url:window.RozierRoot.routes.customFormsAjaxByArray,params:r}).then(function(e){return void 0!==e.data&&e.data.forms?{items:e.data.forms}:null}).catch(function(e){throw new Error(e.response.data.humanMessage)})},t.getCustomForms=function(e){var t=e.searchTerms,n=e.filters,r=e.moreData,o={_token:window.RozierRoot.ajaxToken,_action:"toggleExplorer",search:t,page:1};r&&(o.page=n?n.nextPage:1);return(0,i.default)({method:"GET",url:window.RozierRoot.routes.customFormsAjaxExplorer,params:o}).then(function(e){return void 0!==e.data&&e.data.customForms?{items:e.data.customForms,filters:e.data.filters}:{}}).catch(function(e){throw new Error(e)})};var i=function(e){return e&&e.__esModule?e:{default:e}}(n("dZBD"))},"8Wgj":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("xHmi");t.default={props:["title","href","typeColor"],methods:{onItemClick:function(e){window.Rozier.lazyload.onClick(e),this.$store.commit(i.KEYBOARD_EVENT_ESCAPE)}}}},"9NTV":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("en6P"),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,function(){return i[e]})}(o);var a=n("TFax"),s=n.n(a),l=n("/4AN")(r.a,s.a,!1,null,null,null);t.default=l.exports},"9QM9":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=s(n("T4f3")),r=s(n("CXfR")),o=n("SJI6"),a=s(n("O7VT"));function s(e){return e&&e.__esModule?e:{default:e}}t.default={data:function(){return{searchTerms:null}},computed:(0,i.default)({},(0,o.mapState)({items:function(e){return e.nodesSourceSearch.items},isFocus:function(e){return e.nodesSourceSearch.isFocus},isOpen:function(e){return e.nodesSourceSearch.isOpen}})),methods:(0,i.default)({},(0,o.mapActions)(["nodesSourceSearchUpdate","nodeSourceSearchEnableFocus","nodeSourceSearchDisableFocus"]),{enableFocus:(0,r.default)(function(){this.nodeSourceSearchEnableFocus()},50),disableFocus:(0,r.default)(function(){this.nodeSourceSearchDisableFocus()},500)}),watch:{searchTerms:(0,r.default)(function(e,t){this.nodesSourceSearchUpdate(e,t)},200),isFocus:function(){this.isFocus||this.$refs.searchTermsInput.blur()}},components:{AjaxLink:a.default}}},"9ZFY":function(e,t,n){var i=n("4z8m");"string"==typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);n("X/Wc")("143eea21",i,!0,{})},"9ttF":function(e,t){},"9wWa":function(e,t,n){"use strict";n("RGvG"),n("xlJi"),n("9ttF"),n("buA2"),n("rXYC"),n("2pAm"),n("LReI"),n("Triu"),n("g2gx"),n("KWrs"),n("YstR");var i=s(n("k+5J"));n("rhri"),n("aPDB"),n("Dyy6"),n("Dlui"),n("xQgR"),n("k+i+");var r=s(n("tQq4"));n("Krj7"),n("qqFR"),n("ggoL"),n("av7Y"),n("HeB0"),n("hCSc"),n("0cyU"),n("Emo7"),n("xKia"),n("A8sX");var o=s(n("0iPh")),a=s(n("SwUv"));function s(e){return e&&e.__esModule?e:{default:e}}window.CodeMirror=r.default,window.UIkit=i.default,window.Rozier=new a.default,(0,o.default)(document).ready(function(){window.Rozier.onDocumentReady()})},AKpR:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={render:function(){var e=this,t=e.$createElement;return(e._self._c||t)("drawer-item",{attrs:{item:e.item,index:e.index,"drawer-name":e.drawerName,"is-item-explorer":e.isItemExplorer,"parent-name":e.item.parent?e.item.parent.title:"","sub-parent-name":e.item.subparent?e.item.subparent.title:"",name:e.item.title?e.item.title:e.item.nodeName,"edit-item":e.item.nodesEditPage,"add-item":e.addItem,"remove-item":e.removeItem}})},staticRenderFns:[]};t.default=i},AcRm:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o(n("T4f3")),r=o(n("0iPh"));function o(e){return e&&e.__esModule?e:{default:e}}t.default={props:{id:{type:String,required:!0},url:{type:String,required:!0},clickable:{type:Boolean,default:!0},acceptedFileTypes:{type:String},thumbnailHeight:{type:Number,default:80},thumbnailWidth:{type:Number,default:80},showRemoveLink:{type:Boolean,default:!0},maxFileSizeInMB:{type:Number,default:64},maxNumberOfFiles:{type:Number,default:5},autoProcessQueue:{type:Boolean,default:!0},useFontAwesome:{type:Boolean,default:!1},headers:{type:Object},language:{type:Object},useCustomDropzoneOptions:{type:Boolean,default:!1},dropzoneOptions:{type:Object}},methods:{setOption:function(e,t){this.dropzone.options[e]=t},removeAllFiles:function(){this.dropzone.removeAllFiles(!0)},processQueue:function(){this.dropzone.processQueue()},removeFile:function(e){this.dropzone.removeFile(e)}},computed:{doneIcon:function(){return this.useFontAwesome?'':' done'},errorIcon:function(){return this.useFontAwesome?'':' error'}},mounted:function(){if(!this.$isServer){var e=n("ujpI"),t=document.getElementById(this.id);if(e.autoDiscover=!1,this.useCustomDropzoneOptions)this.dropzone=new e(t,this.dropzoneOptions);else{this.dropzone=new e(t,{clickable:this.clickable,method:"post",thumbnailWidth:this.thumbnailWidth,thumbnailHeight:this.thumbnailHeight,maxFiles:this.maxNumberOfFiles,maxFilesize:this.maxFileSizeInMB,uploadMultiple:!1,acceptedFiles:this.acceptedFileTypes,timeout:0,autoProcessQueue:this.autoProcessQueue,paramName:"form[attachment]",headers:(0,i.default)({_token:window.Rozier.ajaxToken},this.headers),dictDefaultMessage:this.language.dictDefaultMessage,dictCancelUpload:this.language.dictCancelUpload,dictCancelUploadConfirmation:this.language.dictCancelUploadConfirmation,dictFallbackMessage:this.language.dictFallbackMessage,dictFallbackText:this.language.dictFallbackText,dictFileTooBig:this.language.dictFileTooBig,dictInvalidFileType:this.language.dictInvalidFileType,dictMaxFilesExceeded:this.language.dictMaxFilesExceeded,dictRemoveFile:this.language.dictRemoveFile,dictRemoveFileConfirmation:this.language.dictRemoveFileConfirmation,dictResponseError:this.language.dictResponseError,error:function(e,t){var n=void 0;n=t.error?t.error:"Error",e.previewElement.classList.add("dz-error");for(var i=e.previewElement.querySelectorAll("[data-dz-errormessage]"),r=[],o=0,a=i.length;o'+this.language.dictDefaultMessage+""),o.find(".dz-message").append('
    ')}var a=this;this.dropzone.on("thumbnail",function(e){a.$emit("vdropzone-thumbnail",e)}),this.dropzone.on("addedfile",function(e){a.$emit("vdropzone-file-added",e)}),this.dropzone.on("removedfile",function(e){a.$emit("vdropzone-removed-file",e)}),this.dropzone.on("success",function(e,t){if(a.$emit("vdropzone-success",e,t),e.previewElement){var n=(0,r.default)(e.previewElement);setTimeout(function(){n.fadeOut(500)},3e3)}}),this.dropzone.on("successmultiple",function(e,t){a.$emit("vdropzone-success-multiple",e,t)}),this.dropzone.on("error",function(e,t,n){a.$emit("vdropzone-error",e,t,n)}),this.dropzone.on("sending",function(e,t,n){a.$emit("vdropzone-sending",e,t,n),t.ontimeout=function(){console.error("Server Timeout")}}),this.dropzone.on("sendingmultiple",function(e,t,n){a.$emit("vdropzone-sending-multiple",e,t,n)}),this.dropzone.on("queuecomplete",function(e,t,n){a.$emit("vdropzone-queue-complete",e,t,n)})}},beforeDestroy:function(){this.dropzone.destroy()}}},Afu7:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){return e&&e.__esModule?e:{default:e}}(n("L3Vt"));t.getItemsByIds=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments[2];switch(e){case r.DOCUMENT_ENTITY:return o.getDocumentsByIds({ids:t,filters:n});case r.NODE_ENTITY:return a.getNodesByIds({ids:t,filters:n});case r.NODE_TYPE_ENTITY:return s.getNodeTypesByIds({ids:t,filters:n});case r.JOIN_ENTITY:return l.getJoinsByIds({ids:t,filters:n});case r.CUSTOM_FORM_ENTITY:return u.getCustomFormsByIds({ids:t,filters:n});case r.TAG_ENTITY:return c.getTagsByIds({ids:t,filters:n});case r.EXPLORER_PROVIDER_ENTITY:return d.getItemsByIds({ids:t,filters:n})}return i.default.reject(new Error("No type entity found"))};var r=n("EY70"),o=h(n("2y8T")),a=h(n("vfsJ")),s=h(n("O/s3")),l=h(n("m1Vf")),u=h(n("8DOo")),c=h(n("RfA7")),d=h(n("CpLN"));function h(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}},"B/NG":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){return e&&e.__esModule?e:{default:e}}(n("B2tc"));t.default={props:["item","trans","isItemExplorer","drawerName","index","removeItem","addItem"],components:{DrawerItem:i.default}}},B2tc:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("gk4s"),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,function(){return i[e]})}(o);var a=n("OPRf"),s=n.n(a),l=n("/4AN")(r.a,s.a,!1,null,null,null);t.default=l.exports},BIao:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("uHX/"),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,function(){return i[e]})}(o);var a=n("5OOr"),s=n.n(a),l=n("/4AN")(r.a,s.a,!1,null,null,null);t.default=l.exports},BLmM:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("eC0v"),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,function(){return i[e]})}(o);var a=n("FGN7"),s=n.n(a);var l=function(e){n("FsJq")},u=n("/4AN")(r.a,s.a,!1,l,"data-v-0f29ff50",null);t.default=u.exports},BYnw:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={props:{tagName:{required:!0,type:String},createTag:{required:!0,type:Function}},methods:{tagCreatorItemClick:function(){this.createTag({tagName:this.tagName})}}}},BxOs:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"fade"}},[e.isVisible&&e.document?n("div",{staticClass:"document-preview-widget"},[n("div",{staticClass:"document-preview-widget__wrapper",on:{click:function(t){t.preventDefault(),e.onClick(t)}}},[n("div",{staticClass:"document-preview-widget__information"},[n("div",{staticClass:"info"},[e._v("\n "+e._s(e.document.filename)+"\n ")]),e._v(" "),e.document.name!==e.document.filename?n("div",{staticClass:"info"},[e._v("\n "+e._s(e.document.name)+"\n ")]):e._e(),e._v(" "),e.document.embedPlatform?n("div",{staticClass:"info"},[e._v("\n "+e._s(e.document.embedPlatform)+"\n ")]):e._e(),e._v(" "),n("div",{staticClass:"close",on:{click:function(t){t.preventDefault(),e.closePreview(t)}}},[n("i",{staticClass:"uk-icon-times"})])]),e._v(" "),n("div",{staticClass:"document-preview-widget__container",class:e.containerClass},[n("div",{domProps:{innerHTML:e._s(e.document.preview_html)}})])])]):e._e()])},staticRenderFns:[]};t.default=i},"CS+6":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e.connected?e.healthChecked?e._e():n("warning-modal",{attrs:{title:e.translations.healthCheckedFailedTitle,closeable:!1,content:e.translations.healthCheckedFailedContent}}):n("warning-modal",{attrs:{title:e.translations.sessionExpireTitle,content:e.translations.sessionExpireContent,"link-label":e.translations.login,closeable:!0,"link-url":e.linkUrl}})],1)},staticRenderFns:[]};t.default=i},CpLN:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getItemsByIds=function(e){var t=e.ids,n=void 0===t?[]:t,r=e.filters,o={_token:window.RozierRoot.ajaxToken,ids:n,providerClass:r.providerClass};return(0,i.default)({method:"GET",url:window.RozierRoot.routes.providerAjaxByArray,params:o}).then(function(e){return void 0!==e.data&&e.data.items?{items:e.data.items}:null}).catch(function(e){throw new Error(e.response.data.humanMessage)})},t.getItems=function(e){var t=e.searchTerms,n=e.preFilters,o=e.filters,a=(e.filterExplorerSelection,e.moreData),s={_token:window.RozierRoot.ajaxToken,_action:"toggleExplorer",providerClass:n?n.providerClass:null,options:n?n.providerOptions:null,search:t,page:1};a&&(s.page=o?o.nextPage:1);return(0,i.default)({method:"GET",url:window.RozierRoot.routes.providerAjaxExplorer+"?"+r.default.stringify(s)}).then(function(e){return void 0!==e.data&&e.data.entities?{items:e.data.entities,filters:e.data.filters}:{}}).catch(function(e){throw new Error(e)})};var i=o(n("dZBD")),r=o(n("OFf3"));function o(e){return e&&e.__esModule?e:{default:e}}},DN71:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,r=u(n("Xos8")),o=u(n("EmLd")),a=n("xHmi"),s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n("Afu7")),l=u(n("uC1N"));function u(e){return e&&e.__esModule?e:{default:e}}var c={list:[],trans:null,selectedDrawer:null},d={drawersAddInstance:function(e,t){(0,e.commit)(a.DRAWERS_ADD_INSTANCE,{drawer:t})},drawersRemoveInstance:function(e,t){(0,e.commit)(a.DRAWERS_REMOVE_INSTANCE,{drawerToRemove:t})},drawersInitData:function(e,t){var n=e.commit,i=t.drawer,r=t.entity,o=t.ids,l=t.filters,u=t.maxLength,c=t.minLength;n(a.DRAWERS_INIT_DATA_REQUEST,{drawer:i,entity:r,ids:o,filters:l}),o&&0!==o.length&&r?s.getItemsByIds(r,o,l).then(function(e){n(a.DRAWERS_INIT_DATA_REQUEST_SUCCESS,{drawer:i,result:e,maxLength:u,minLength:c})}).catch(function(e){n(a.DRAWERS_INIT_DATA_REQUEST_FAILED,{drawer:i,error:e})}):n(a.DRAWERS_INIT_DATA_REQUEST_EMPTY,{drawer:i,maxLength:u,minLength:c})},drawersAddItem:function(e,t){var n=e.commit,i=e.state,r=t.drawer,o=t.item,s=t.newIndex,l=i.selectedDrawer;r&&(l=r),l.acceptMore&&n(a.DRAWERS_ADD_ITEM,{drawer:l,item:o,newIndex:s})},drawersMoveItem:function(e,t){e.commit,t.drawer,t.item},drawersRemoveItem:function(e,t){var n=e.commit,i=t.drawer,r=t.item;n(a.DRAWERS_REMOVE_ITEM,{drawer:i,item:r})},drawersExplorerButtonClick:function(e,t){var n=e.commit,i=e.dispatch;n(a.DRAWERS_EDIT_INSTANCE,{drawer:t}),c.selectedDrawer.isActive?i("explorerOpen",{entity:t.entity}):i("explorerClose")},drawersDropzoneButtonClick:function(e,t){e.state;var n=e.dispatch;t.isDropzoneEnable?n("drawersDisableDropzone",{drawer:t}):n("drawersEnableDropzone",{drawer:t})},drawersEnableDropzone:function(e,t){var n=e.commit,i=t.drawer;n(a.DRAWERS_ENABLE_DROPZONE,{drawer:i})},drawersDisableDropzone:function(e,t){var n=e.commit,i=t.drawer;n(a.DRAWERS_DISABLE_DROPZONE,{drawer:i})}},h=(i={},(0,r.default)(i,a.DRAWERS_ADD_INSTANCE,function(e,t){var n=t.drawer;e.list.push({entity:null,id:n._uid,isActive:!1,items:[],errorMessage:null,isLoading:!1,filters:{nodeTypes:null,nodeTypeField:null,providerClass:null},isDropzoneEnable:!1,minLength:0,maxLength:999999,acceptMore:!0})}),(0,r.default)(i,a.DRAWERS_REMOVE_INSTANCE,function(e,t){var n=t.drawerToRemove;e.list=(0,o.default)(e.list,function(e){return e._uid===n._uid})}),(0,r.default)(i,a.DRAWERS_EDIT_INSTANCE,function(e,t){var n=t.drawer;e.list.forEach(function(e){e!==n&&(e.isActive=!1)}),n.acceptMore=n.items.length=0&&n.items.splice(r,1),n.acceptMore=n.items.length0&&r>0){var s={_token:window.Rozier.ajaxToken,_action:"quickAddNode",nodeTypeId:i,parentNodeId:r,translationId:a};o.default.ajax({url:window.Rozier.routes.nodesQuickAddAjax,type:"post",dataType:"json",data:s}).done(function(){window.Rozier.refreshMainNodeTree(),window.Rozier.getMessages();var e=n.parents(".children-nodes-widget").find(".nodetree-widget").eq(0);t.refreshNodeTree(e)}).fail(function(e){e=JSON.parse(e.responseText),window.UIkit.notify({message:e.error_message,status:"danger",timeout:3e3,pos:"top-center"})}).always(function(){})}},200),!1}},{key:"refreshNodeTree",value:function(e){var t=this;if(e.length){var n=[],i=e.find(".root-tree").eq(0);if(!i)return;var r=parseInt(i.attr("data-parent-node-id")),s=i.attr("data-linked-types"),l=i.attr("data-translation-id");s&&(n=JSON.parse(s)),window.Rozier.lazyload.canvasLoader.show();var u={_token:window.Rozier.ajaxToken,_action:"requestNodeTree",parentNodeId:r,linkedTypes:n,translationId:l||null},c=window.Rozier.routes.nodesTreeAjax;o.default.ajax({url:c,type:"get",dataType:"json",cache:!1,data:u}).done(function(n){e.length&&void 0!==n.nodeTree&&e.fadeOut("slow",function(){var i=e.parents(".children-nodes-widget");e.replaceWith(n.nodeTree),e=i.find(".nodetree-widget"),window.Rozier.initNestables(),window.Rozier.bindMainTrees(),window.Rozier.lazyload.bindAjaxLink(),e.fadeIn(),t.init(),window.Rozier.lazyload.canvasLoader.hide(),window.Rozier.lazyload.nodeTreeContextActions&&window.Rozier.lazyload.nodeTreeContextActions.unbind(),window.Rozier.lazyload.nodeTreeContextActions=new a.default})}).fail(function(e){e=JSON.parse(e.responseText),window.UIkit.notify({message:e.error_message,status:"danger",timeout:3e3,pos:"top-center"})})}else console.error("No node-tree available.")}}]),e}();t.default=l},Fk2h:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=s(n("dACh")),r=s(n("jx4H")),o=s(n("dZBD")),a=n("xHmi");function s(e){return e&&e.__esModule?e:{default:e}}var l=function(){function e(t){(0,i.default)(this,e),this.store=t,this.intervalDuration=1e4,this.check()}return(0,r.default)(e,[{key:"check",value:function(){var e=this;this.interval&&window.clearInterval(this.interval),this.interval=window.setInterval(function(){(0,o.default)({method:"GET",url:window.RozierRoot.routes.ping,headers:{"X-Requested-With":"XMLHttpRequest"},maxRedirects:0}).then(function(t){if(t){if(new URL(t.request.responseURL).pathname!==window.RozierRoot.routes.ping)return void e.store.commit(a.LOGIN_CHECK_DISCONNECTED);200!==t.status&&202!==t.status||(e.store.commit(a.LOGIN_CHECK_CONNECTED),e.store.commit(a.HEALTH_CHECK_SUCCEEDED),e.check())}}).catch(function(t){401===t.response.status||403===t.response.status?e.store.commit(a.LOGIN_CHECK_DISCONNECTED):e.store.commit(a.HEALTH_CHECK_FAILED)})},this.intervalDuration)}}]),e}();t.default=l},FsJq:function(e,t,n){var i=n("XeN5");"string"==typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);n("X/Wc")("48fd2c6a",i,!0,{})},G7TI:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"slide-left"}},[e.isOpen?n("div",{staticClass:"widget-explorer",class:[{"filter-explorer-open":e.isFilterExplorerOpen,"explorer-open":e.isOpen},e.entityClass]},[n("div",{staticClass:"widget-explorer-wrapper"},[n("div",{staticClass:"widget-explorer-header"},[e.isFilterEnable?n("filter-explorer-button",{attrs:{entity:e.entity,icon:e.filterExplorerIcon,"filter-explorer-selected-items":e.filterExplorerSelectedItems,"is-filter-explorer-open":e.isFilterExplorerOpen,"on-click":e.filterExplorerToggle}}):e._e(),e._v(" "),n("div",{staticClass:"widget-explorer-search"},[n("form",{staticClass:"explorer-search uk-form",attrs:{action:"#",method:"POST"},on:{submit:function(e){e.preventDefault()}}},[n("div",{staticClass:"uk-form-icon"},[n("i",{staticClass:"uk-icon-search"}),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.searchTerms,expression:"searchTerms"}],attrs:{id:"search-input",type:"search",name:"searchTerms",autocomplete:"off",placeholder:e.searchPlaceHolder},domProps:{value:e.searchTerms},on:{keyup:function(t){if(!("button"in t)&&e._k(t.keyCode,"enter",13,t.key))return null;t.stopPropagation(),t.preventDefault(),e.manualUpdate(t)},input:function(t){t.target.composing||(e.searchTerms=t.target.value)}}})])])]),e._v(" "),n("div",{staticClass:"widget-explorer-close",on:{click:function(t){t.preventDefault(),e.explorerClose(t)}}},[n("i",{staticClass:"uk-icon-rz-close-explorer"})])],1),e._v(" "),e.isLoading?n("div",{staticClass:"spinner light"}):e._e(),e._v(" "),n("transition",{attrs:{name:"fade"}},[e.isLoading?e._e():n("ul",{staticClass:"uk-sortable"},[n("draggable",{attrs:{options:{group:{name:e.entity,put:!1}}},model:{value:e.items,callback:function(t){e.items=t},expression:"items"}},[n("transition-group",{staticClass:"sortable-inner"},e._l(e.items,function(t,i){return n(e.currentListingView,{key:t.id,tag:"component",attrs:{"is-item-explorer":!0,"add-item":e.addItem,index:i,item:t}})}))],1)],1)]),e._v(" "),e.filters?n("load-more-button",{attrs:{"next-page":e.filters.nextPage,"load-more-items":e.explorerLoadMore,"is-loading-more":e.isLoadingMore,"more-items-text":e.moreItems?e.translations[e.moreItems]:""}}):e._e(),e._v(" "),e.filters?n("explorer-items-infos",{attrs:{length:e.items.length,"item-count":e.filters.itemCount}}):e._e(),e._v(" "),n(e.widgetView,{tag:"component"})],1)]):e._e()])},staticRenderFns:[]};t.default=i},H8iA:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"[…]";if(e&&e.length&&e.length>t+i.length){var r=e.substr(0,Math.floor(t/2)+Math.floor(n/2)),o=e.substr(-1*Math.floor(t/2)+Math.floor(n/2));return r+i+o}return e}},IPB7:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("NSsB"),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,function(){return i[e]})}(o);var a=n("CS+6"),s=n.n(a),l=n("/4AN")(r.a,s.a,!1,null,null,null);t.default=l.exports},JTvu:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a(n("dACh")),r=a(n("jx4H")),o=a(n("0iPh"));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(){function e(){(0,i.default)(this,e),this.$list=(0,o.default)(".custom-form-fields > .uk-sortable"),this.onSortableChange=this.onSortableChange.bind(this),this.init()}return(0,r.default)(e,[{key:"init",value:function(){this.$list.length&&this.$list.children().length>1&&this.$list.on("change.uk.sortable",this.onSortableChange)}},{key:"unbind",value:function(){this.$list.length&&this.$list.children().length>1&&this.$list.off("change.uk.sortable",this.onSortableChange)}},{key:"onSortableChange",value:function(e,t,n){var i=(0,o.default)(n),r=parseInt(i.data("field-id")),a=i.prev(),s=0;0===a.length?(a=i.next(),s=parseInt(a.data("position"))-.5):s=parseInt(a.data("position"))+.5;var l={_token:window.Rozier.ajaxToken,_action:"updatePosition",customFormFieldId:r,newPosition:s};o.default.ajax({url:window.Rozier.routes.customFormsFieldAjaxEdit.replace("%customFormFieldId%",r),type:"POST",dataType:"json",data:l}).done(function(e){i.attr("data-position",s),window.UIkit.notify({message:e.responseText,status:e.status,timeout:3e3,pos:"top-center"})}).fail(function(e){e=JSON.parse(e.responseText),window.UIkit.notify({message:e.error_message,status:"danger",timeout:3e3,pos:"top-center"})})}}]),e}();t.default=s},JoZF:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("B/NG"),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,function(){return i[e]})}(o);var a=n("AKpR"),s=n.n(a),l=n("/4AN")(r.a,s.a,!1,null,null,null);t.default=l.exports},KFYC:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a(n("T4f3")),r=a(n("0iPh")),o=n("SJI6");function a(e){return e&&e.__esModule?e:{default:e}}t.default={computed:(0,i.default)({},(0,o.mapState)({isVisible:function(e){return e.documentPreview.isVisible},document:function(e){return e.documentPreview.document}}),{containerClass:function(){return{isPdf:this.document.isPdf,hasNoPreview:!this.document.isImage,isVideo:this.document.isVideo,isSvg:this.document.isSvg}}}),methods:(0,i.default)({},(0,o.mapActions)(["documentPreviewClose"]),{closePreview:function(){this.documentPreviewClose()},onClick:function(e){(0,r.default)(e.srcElement).hasClass("document-preview-widget__wrapper")&&this.closePreview()}})}},KU4q:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("9QM9"),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,function(){return i[e]})}(o);var a=n("/4AN")(r.a,null,!1,null,null,null);t.default=a.exports},"KV+T":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("TjfP"),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,function(){return i[e]})}(o);var a=n("otgr"),s=n.n(a),l=n("/4AN")(r.a,s.a,!1,null,null,null);t.default=l.exports},KWrs:function(e,t,n){"use strict";!function(e){function t(e){document.activeElement&&document.activeElement===e||e.focus()}jQuery.fn.caret=function(e){var n=this[0],i=n&&"true"===n.contentEditable;if(0!=arguments.length){if(n){if(-1==e&&(e=this[i?"text":"val"]().length),window.getSelection)i?(t(n),window.getSelection().collapse(n.firstChild,e)):n.setSelectionRange(e,e);else if(document.body.createTextRange){if(i)(s=document.body.createTextRange()).moveToElementText(n),s.moveStart("character",e),s.collapse(!0),s.select();else(s=n.createTextRange()).move("character",e),s.select()}i||t(n)}return this}if(n){if(window.getSelection){if(i){t(n);var r=window.getSelection();return r.rangeCount?((a=(o=r.getRangeAt(0)).cloneRange()).selectNodeContents(n),a.setEnd(o.endContainer,o.endOffset),a.toString().length):0}return n.selectionStart}if(document.selection){if(t(n),i){var o=document.selection.createRange();return(a=document.body.createTextRange()).moveToElementText(n),a.setEndPoint("EndToEnd",o),a.text.length}e=0;var a,s=n.createTextRange(),l=(a=document.selection.createRange().duplicate()).getBookmark();for(s.moveToBookmark(l);0!==s.moveStart("character",-1);)e++;return e}if(n.selectionStart)return n.selectionStart}}}()},KtXb:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"…";if(e&&e.length&&e.length>t){var r=e.substr(0,t+n);return r+i}return e}},KuuL:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){return e&&e.__esModule?e:{default:e}}(n("B2tc"));t.default={props:["item","trans","isItemExplorer","drawerName","index","removeItem","addItem"],components:{DrawerItem:i.default}}},LReI:function(e,t,n){"use strict";var i=function(e){return e&&e.__esModule?e:{default:e}}(n("GyB/"));!function(e){e.fn.collection=function(t){var n={container:"body",allow_up:!0,up:'',before_up:function(e,t){return!0},after_up:function(e,t){return!0},allow_down:!0,down:'',before_down:function(e,t){return!0},after_down:function(e,t){return!0},allow_add:!0,add:'[ + ]',before_add:function(e,t){return!0},after_add:function(e,t){return!0},allow_remove:!0,remove:'[ - ]',before_remove:function(e,t){return!0},after_remove:function(e,t){return!0},allow_duplicate:!1,duplicate:'[ # ]',before_duplicate:function(e,t){return!0},after_duplicate:function(e,t){return!0},before_init:function(e){},after_init:function(e){},min:0,max:100,add_at_the_end:!1,prefix:"collection",prototype_name:"__name__",name_prefix:null,elements_selector:"> div",elements_parent_selector:"%id%",children:null,init_with_n_elements:0,hide_useless_buttons:!0,drag_drop:!0,drag_drop_options:{placeholder:"ui-state-highlight"},drag_drop_start:function(e,t){return!0},drag_drop_update:function(e,t){return!0},custom_add_location:!1,fade_in:!0,fade_out:!0,position_field_selector:null,preserve_names:!1},r=function(t,n){if(!n.attr("id")){var i;do{i=t+"_"+(""+1e3*Math.random()*(new Date).getTime()).replace(".","").split("").sort(function(){return.5-Math.random()}).join("")}while(e("#"+i).length>0);n.attr("id",i)}return n.attr("id")},o=function(t){try{var n=e(t)}catch(e){return null}return 0===n.length?null:n.is('input[type="checkbox"]')?!0===n.prop("checked"):n.is('input[type="radio"]')&&void 0!==n.attr("name")?e('input[name="'+n.attr("name")+'"]:checked').val():void 0!==n.prop("value")?n.val():n.html()},a=function(t,n,i){try{var r=e(t)}catch(e){return}0!==r.length&&(r.is('input[type="checkbox"]')?n?r.attr("checked",!0):r.removeAttr("checked"):void 0!==r.prop("value")?i?r.attr("value",n):r.val(n):r.html(n))},s=function(e){return void 0===e||e},l=function(e){return(e+"").replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")},u=function(t,n,r,o){var a=function(t){var n=e(t);"object"===(void 0===t?"undefined":(0,i.default)(t))&&"attributes"in t&&e.each(t.attributes,function(t,i){"string"===e.type(i.value)&&n.attr(i.name.replace(r,o),i.value.replace(r,o))}),n.length>0&&e.each(n.data(),function(t,i){"string"===e.type(i)&&n.data(t.replace(r,o),i.replace(r,o))})},s=t.eq(n);a(s[0]),s.find("*").each(function(){a(this)})},c=function(t,n,i,r,o,a){var s=new RegExp(l(i.name_prefix+"["+o+"]"),"g"),c=i.name_prefix+"["+a+"]";i.children&&e.each(i.children,function(e,n){var i=t.find(n.selector).eq(r),o=i.data("collection-settings");o&&(o.name_prefix=o.name_prefix.replace(s,c),i.data("collection-settings",o))}),u(n,r,s,c),s=new RegExp(l(t.attr("id")+"_"+o),"g"),c=t.attr("id")+"_"+a,i.children&&e.each(i.children,function(e,n){var i=t.find(n.selector).eq(r),o=i.data("collection-settings");o&&(o.elements_parent_selector=o.elements_parent_selector.replace(s,c),o.elements_selector=o.elements_selector.replace(s,c),o.prefix=o.prefix.replace(s,c),i.data("collection-settings",o))}),u(n,r,s,c)},d=function(e,t,n,i){var r=e.data("collection-settings");return r.position_field_selector||r.preserve_names||(c(e,t,r,n,n,"__swap__"),c(e,t,r,i,i,n),c(e,t,r,n,"__swap__",i)),t.eq(n).insertBefore(t.eq(i)),i>n?t.eq(i).insertBefore(t.eq(n)):t.eq(i).insertAfter(t.eq(n)),e.find(r.elements_selector)},h=function(e,t,n,i,r){for(var o=i+1;o<=r;o++)t=d(e,t,o,o-1);return e.find(n.elements_selector)},f=function(e,t,n,i,r){for(var o=i-1;o>=r;o--)t=d(e,t,o,o+1);return e.find(n.elements_selector)},p=function(e,t,n,i){for(var r=i+1;r'),n.add&&a.append(e(n.add).addClass(n.prefix+"-action "+n.prefix+"-rescue-add").data("collection",t.attr("id")))),i){t.data("collection-offset",l.length);for(var u=e(n.container),c=t.find("."+n.prefix+"-add, ."+n.prefix+"-rescue-add, ."+n.prefix+"-duplicate").first(),d=0;l.length0?l.last():void 0,f=l.length-1;if(l=v(u,c,t,n,l,h,f,!1),d>n.init_with_n_elements){console.error("Infinite loop, element selector ("+n.elements_selector+") not found !");break}}t.data("collection-offset",l.length)}if(l.each(function(a){var s=e(this);i&&s.data("index",a);var u=s.find("."+n.prefix+"-actions").addBack().filter("."+n.prefix+"-actions");0===u.length&&(u=e('
    '),s.append(u));var c=0;"remove"===o&&n.fade_out&&(c=1);var d=[{enabled:n.allow_remove,selector:n.prefix+"-remove",html:n.remove,condition:l.length-c>n.min},{enabled:n.allow_up,selector:n.prefix+"-up",html:n.up,condition:l.length-c>1&&l.index(s)-c>0},{enabled:n.allow_down,selector:n.prefix+"-down",html:n.down,condition:l.length-c>1&&l.index(s)!==l.length-1},{enabled:n.allow_add&&!n.add_at_the_end&&!n.custom_add_location,selector:n.prefix+"-add",html:n.add,condition:l.length-cp||n.custom_add_location?m.css("display","none"):"remove"===o&&n.fade_out&&(m.css("display","none"),m.fadeIn("fast")),l.length-p>=n.max&&(m.addClass(n.prefix+"-action-disabled"),n.hide_useless_buttons&&t.find("."+n.prefix+"-add, ."+n.prefix+"-rescue-add, ."+n.prefix+"-duplicate").css("display","none"))}},g=function(t,n,i){i.children&&e.each(i.children,function(e,i){if(!i.selector)return console.log("jquery.collection.js: given collection "+t.attr("id")+" has children collections, but children's root selector is undefined."),!0;null!==n?n.find(i.selector).collection(i):t.find(i.selector).collection(i)})},v=function(t,n,i,r,u,c,d,h){if(u.length ."+r.prefix+"-tmp");e(x).find("[id]").first().attr("id");if(h){var S=u.eq(d);!function(t){e(t).find(":input").each(function(e,t){a(t,o(t),!0)})}(S);var A=e("
    ").append(S.clone()).html(),R=r.preserve_names||r.position_field_selector?S.data("index"):d,D=r.preserve_names?k(r,S):R,I=function(e,t,n,i,r,o,a){var s=new RegExp(l(t.name_prefix+"["+o+"]"),"g"),u=t.name_prefix+"["+a+"]";return n=n.replace(s,u),s=new RegExp(l(e.attr("id")+"_"+i),"g"),u=e.attr("id")+"_"+r,n=n.replace(s,u)}(i,r,A,R,v,D,C);x=e("
    ").html(I).contents().data("index",v),r.fade_in&&x.hide(),T.before(x).find(r.prefix+"-actions").remove()}else r.fade_in&&x.hide(),T.before(x);u=i.find(r.elements_selector);var O=x.find("."+r.prefix+"-add, ."+r.prefix+"-duplicate");O.length>0&&O.addClass(r.prefix+"-action").data("collection",i.attr("id")),r.add_at_the_end||d+1===v?m(i,r,!1):u=b(i,r,u,x,v,d+1),g(i,x,r),(h&&!s(r.after_duplicate(i,x))||!s(r.after_add(i,x)))&&(-1!==d&&(u=p(i,u,r,d+1)),x.remove())}if(void 0!==x&&r.fade_in)x.fadeIn("fast",function(){r.position_field_selector&&w(r,u)});else if(r.position_field_selector)return w(r,u);return u},_=function(t,n,i,r,o){if(i.length>n.min&&s(n.before_remove(t,r))){var a=function(){var a=r;n.preserve_names||(a=(i=p(t,i,n,o)).last());var l=a.clone({withDataAndEvents:!0}).show();(a.remove(),s(n.after_remove(t,l)))||(e(n.elements_parent_selector).find("> ."+n.prefix+"-tmp").before(l),i=t.find(n.elements_selector),i=function(e,t,n,i){for(var r=t.length-2;r>i;r--)t=d(e,t,r+1,r);return e.find(n.elements_selector)}(t,i,n,o-1));n.position_field_selector&&w(n,i)};n.fade_out?r.fadeOut("fast",function(){a()}):a()}return i},b=function(e,t,n,i,r,o){return 1===Math.abs(o-r)?(n=d(e,n,r,o),s(o-r>0?t.after_up(e,i):t.after_down(e,i))||(n=d(e,n,o,r))):r0?t.after_up(e,i):t.after_down(e,i))||(n=f(e,n,t,o,r))):(n=f(e,n,t,r,o),s(o-r>0?t.after_up(e,i):t.after_down(e,i))||(n=h(e,n,t,o,r))),m(e,t,!1),t.position_field_selector?w(t,n):n},w=function(t,n){return e(n).each(function(){var i=e(this);a(i.find(t.position_field_selector),n.index(i))}),n},k=function(e,t){return t.find(':input[name^="'+e.name_prefix+'["]').attr("name").slice(e.name_prefix.length+1).split("]",1)[0]},y=function(t,n){var i=0;return n.each(function(){var n=k(t,e(this));/^0|[1-9]\d*$/.test(n)&&n>=i&&(i=Number(n)+1)}),i},E=function(t,n){e.each(["-action","-action-disabled","-actions","-add","-down","-duplicate","-remove","-rescue-add","-tmp","-up"],function(){var i=this;n.each(function(){var n=e(this);n.hasClass(t.user_prefix+i)&&n.addClass(t.prefix+i),n.find("*").each(function(){var n=e(this);n.hasClass(t.user_prefix+i)&&n.addClass(t.prefix+i)})})})},C=e(this);return 0===C.length?(console.log("jquery.collection.js: given collection selector does not exist."),!1):(C.each(function(){var i=e.extend(!0,{},n,t);if(0===e(i.container).length)return console.log("jquery.collection.js: a container should exist to handle events (basically, a tag)."),!1;var l,u,c=e(this);if(void 0!==c.data("collection")){var h=e("#"+c.data("collection"));if(0===h.length)return console.log("jquery.collection.js: given collection id does not exist."),!0}else h=c;if(h=e(h),i.elements_parent_selector=i.elements_parent_selector.replace("%id%","#"+r("",h)),!i.elements_parent_selector&&(i.elements_parent_selector="#"+r("",h),0===e(i.elements_parent_selector).length))return console.log("jquery.collection.js: given elements parent selector does not return any object."),!0;if(i.user_prefix=i.prefix,i.prefix=h.attr("id")+"-"+i.user_prefix,E(i,h),i.allow_add||(i.allow_duplicate=!1,i.add_at_the_end=!1),i.init_with_n_elements>i.max&&(i.init_with_n_elements=i.max),i.min&&(!i.init_with_n_elements||i.init_with_n_elements0?i.before_up(h,o):i.before_down(h,o))&&(u=r.index(o),r=h.find(i.elements_selector),b(h,i,r,o,l,u))}},i.drag_drop_options)));h.data("collection-settings",i);var f=e(i.container);if(f.off("click","."+i.prefix+"-action").on("click","."+i.prefix+"-action",function(t){var n,i,r=e(this);if(void 0===(i=(n=e("#"+r.data("collection"))).data("collection-settings"))&&void 0===(i=(n=e("#"+r.data("collection")).find("."+r.data("collection")+"-collection")).data("collection-settings")))throw"Can't find collection: "+r.data("collection");var o=n.find(i.elements_selector),a=r.data("element")?e("#"+r.data("element")):void 0,l=a&&a.length?o.index(a):-1,u=null,c=r.is("."+i.prefix+"-duplicate");(r.is("."+i.prefix+"-add")||r.is("."+i.prefix+"-rescue-add")||c)&&i.allow_add&&(u="add",o=v(f,r,n,i,o,a,l,c)),r.is("."+i.prefix+"-remove")&&i.allow_remove&&(u="remove",o=_(n,i,o,a,l)),r.is("."+i.prefix+"-up")&&i.allow_up&&(u="up",o=function(e,t,n,i,r){return 0!==r&&s(t.before_up(e,i))&&(n=d(e,n,r,r-1),s(t.after_up(e,i))||(n=d(e,n,r-1,r))),t.position_field_selector?w(t,n):n}(n,i,o,a,l)),r.is("."+i.prefix+"-down")&&i.allow_down&&(u="down",o=function(e,t,n,i,r){return r!==n.length-1&&s(t.before_down(e,i))&&(n=d(e,n,r,r+1),s(t.after_down(e,n))||(n=d(e,n,r+1,r))),t.position_field_selector?w(t,n):n}(n,i,o,a,l)),m(n,i,!1,u),t.preventDefault()}),m(h,i,!0),g(h,null,i),i.position_field_selector){var p=[],k=h.find(i.elements_selector);k.each(function(t){var n=e(this);p.push({position:parseFloat(o(n.find(i.position_field_selector))),element:n})});p.sort(function(e,t){return e.positiont.position?1:0}),e.each(p,function(t,n){var r=[];e(k).each(function(t){r.push(e(this).attr("id"))});var o=n.element,s=e.inArray(o.attr("id"),r);t!==s&&(k=b(h,i,k,o,s,t),a(o.find(i.position_field_selector),k.index(o)))})}i.after_init(h)}),!0)}}(jQuery)},Mb7i:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.dataURItoBlob=function(e){for(var t=atob(e.split(",")[1]),n=[],i=0;i0?this.showActions():this.hideActions(),!1}},{key:"onBulkDelete",value:function(){return this.nodesIds.length>0&&(history.pushState({headerData:{nodes:this.nodesIds}},null,window.Rozier.routes.nodesBulkDeletePage),window.Rozier.lazyload.onPopState(null)),!1}},{key:"showActions",value:function(){this.$actionsMenu.slideDown()}},{key:"hideActions",value:function(){this.$actionsMenu.slideUp()}},{key:"nodesFolderButtonClick",value:function(){return this.nodesFolderOpen?(this.$nodesFolderCont.slideUp(),this.nodesFolderOpen=!1):(this.$nodesStatusCont.slideUp(),this.nodesStatusOpen=!1,this.$nodesFolderCont.slideDown(),this.nodesFolderOpen=!0),!1}},{key:"nodesStatusButtonClick",value:function(){return this.nodesStatusOpen?(this.$nodesStatusCont.slideUp(),this.nodesStatusOpen=!1):(this.$nodesFolderCont.slideUp(),this.nodesFolderOpen=!1,this.$nodesStatusCont.slideDown(),this.nodesStatusOpen=!0),!1}}]),e}();t.default=s},PKoN:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a(n("dACh")),r=a(n("jx4H")),o=a(n("0iPh"));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(){function e(){(0,i.default)(this,e),this.$maxLengthed=(0,o.default)("input[data-max-length]"),this.$minLengthed=(0,o.default)("input[data-min-length]"),this.onMaxKeyUp=this.onMaxKeyUp.bind(this),this.onMinKeyUp=this.onMinKeyUp.bind(this),this.init()}return(0,r.default)(e,[{key:"init",value:function(){this.$maxLengthed.length&&this.$maxLengthed.on("keyup",this.onMaxKeyUp),this.$minLengthed.length&&this.$minLengthed.on("keyup",this.onMinKeyUp)}},{key:"unbind",value:function(){this.$maxLengthed.length&&this.$maxLengthed.off("keyup",this.onMaxKeyUp),this.$minLengthed.length&&this.$minLengthed.off("keyup",this.onMinKeyUp)}},{key:"onMaxKeyUp",value:function(e){var t=(0,o.default)(e.currentTarget),n=Math.round(e.currentTarget.getAttribute("data-max-length"));e.currentTarget.value.length>n?t.addClass("uk-form-danger"):t.removeClass("uk-form-danger")}},{key:"onMinKeyUp",value:function(e){var t=(0,o.default)(e.currentTarget),n=Math.round(e.currentTarget.getAttribute("data-min-length"));e.currentTarget.value.length<=n?t.addClass("uk-form-danger"):t.removeClass("uk-form-danger")}}]),e}();t.default=s},PbGk:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a(n("dACh")),r=a(n("jx4H")),o=a(n("0iPh"));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(){function e(){(0,i.default)(this,e),this.$adminMenuNav=(0,o.default)("#admin-menu-nav"),this.replaceSubNavs()}return(0,r.default)(e,[{key:"replaceSubNavs",value:function(){this.$adminMenuNav.find(".uk-nav-sub").each(function(e,t){var n=(0,o.default)(t);n.attr("style","display:block;");var i=n.offset().top,r=n.height();n.removeAttr("style"),i+r+20>(0,o.default)(window).height()&&n.parent().addClass("reversed-nav")})}}]),e}();t.default=s},PxkC:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){return e&&e.__esModule?e:{default:e}}(n("B2tc"));t.default={props:["item","trans","isItemExplorer","drawerName","index","removeItem","addItem"],components:{DrawerItem:i.default}}},QKcT:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a(n("dACh")),r=a(n("jx4H")),o=a(n("0iPh"));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(){function e(){(0,i.default)(this,e),this.$button=(0,o.default)(".uk-button-settings-save"),this.currentRequest=null,this.buttonClick=this.buttonClick.bind(this),this.$button.length&&this.init()}return(0,r.default)(e,[{key:"init",value:function(){this.$button.on("click",this.buttonClick)}},{key:"unbind",value:function(){this.$button.off("click",this.buttonClick)}},{key:"buttonClick",value:function(e){this.currentRequest&&4!==this.currentRequest.readyState&&this.currentRequest.abort();var t=(0,o.default)(e.currentTarget).parent().parent().find(".uk-form").eq(0);if(t.find("input[type=file]").length)return t.submit(),!1;t.hasClass("uk-has-errors")&&(t.find(".uk-alert").remove(),t.removeClass("uk-has-errors")),window.Rozier.lazyload.canvasLoader.show();var n=new window.FormData(t[0]),i={url:window.location.href,type:"post",data:n,processData:!1,cache:!1,contentType:!1,headers:{Accept:"application/json"}};return this.currentRequest=o.default.ajax(i).fail(function(e){if(e.responseJSON&&e.responseJSON.errors&&e.responseJSON.errors.value)for(var n in e.responseJSON.errors.value)t.addClass("uk-has-errors"),t.append(''+e.responseJSON.errors.value[n]+"");else if(e.responseJSON&&e.responseJSON.errors)for(var i in e.responseJSON.errors){t.addClass("uk-has-errors"),t.append(''+e.responseJSON.errors[i]+"");break}}).always(function(){window.Rozier.lazyload.canvasLoader.hide(),window.Rozier.getMessages()}),!1}},{key:"resize",value:function(){}}]),e}();t.default=s},QKtd:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a(n("dACh")),r=a(n("jx4H")),o=a(n("0iPh"));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(){function e(){(0,i.default)(this,e),this.$documentsCheckboxes=(0,o.default)("input.document-checkbox"),this.$documentsIdBulkFolders=(0,o.default)("input.document-id-bulk-folder"),this.$actionsMenu=(0,o.default)(".documents-bulk-actions"),this.$documentsFolderButton=(0,o.default)(".uk-button-bulk-folder-documents"),this.$documentsFolderCont=(0,o.default)(".documents-bulk-folder-cont"),this.$documentsSelectAll=(0,o.default)(".uk-button-select-all"),this.$documentsDeselectAll=(0,o.default)(".uk-button-bulk-deselect"),this.$bulkDeleteButton=this.$actionsMenu.find(".uk-button-bulk-delete-documents"),this.$bulkDownloadButton=this.$actionsMenu.find(".uk-button-bulk-download-documents"),this.documentsFolderOpen=!1,this.documentsIds=null,this.onCheckboxChange=this.onCheckboxChange.bind(this),this.onBulkDelete=this.onBulkDelete.bind(this),this.documentsFolderButtonClick=this.documentsFolderButtonClick.bind(this),this.onBulkDownload=this.onBulkDownload.bind(this),this.onSelectAll=this.onSelectAll.bind(this),this.onDeselectAll=this.onDeselectAll.bind(this),this.$documentsCheckboxes.length&&this.init()}return(0,r.default)(e,[{key:"init",value:function(){this.$documentsCheckboxes.on("change",this.onCheckboxChange),this.$bulkDeleteButton.on("click",this.onBulkDelete),this.$documentsFolderButton.on("click",this.documentsFolderButtonClick),this.$bulkDownloadButton.on("click",this.onBulkDownload),this.$documentsSelectAll.on("click",this.onSelectAll),this.$documentsDeselectAll.on("click",this.onDeselectAll)}},{key:"unbind",value:function(){this.$documentsCheckboxes.length&&(this.$documentsCheckboxes.off("change",this.onCheckboxChange),this.$bulkDeleteButton.off("click",this.onBulkDelete),this.$documentsFolderButton.off("click",this.documentsFolderButtonClick),this.$bulkDownloadButton.off("click",this.onBulkDownload),this.$documentsSelectAll.off("click",this.onSelectAll),this.$documentsDeselectAll.off("click",this.onDeselectAll))}},{key:"onSelectAll",value:function(){return this.$documentsCheckboxes.prop("checked",!0),this.onCheckboxChange(null),!1}},{key:"onDeselectAll",value:function(){return this.$documentsCheckboxes.prop("checked",!1),this.onCheckboxChange(null),!1}},{key:"onCheckboxChange",value:function(){var e=this;this.documentsIds=[],(0,o.default)("input.document-checkbox:checked").each(function(t,n){e.documentsIds.push((0,o.default)(n).val())}),this.$documentsIdBulkFolders.length&&this.$documentsIdBulkFolders.val(this.documentsIds.join(",")),this.documentsIds.length>0?this.showActions():this.hideActions()}},{key:"onBulkDelete",value:function(){return this.documentsIds.length>0&&(history.pushState({headerData:{documents:this.documentsIds}},null,window.Rozier.routes.documentsBulkDeletePage),window.Rozier.lazyload.onPopState(null)),!1}},{key:"onBulkDownload",value:function(){return this.documentsIds.length>0&&(history.pushState({headerData:{documents:this.documentsIds}},null,window.Rozier.routes.documentsBulkDownloadPage),window.Rozier.lazyload.onPopState(null)),!1}},{key:"showActions",value:function(){this.$actionsMenu.stop(),this.$actionsMenu.slideDown()}},{key:"hideActions",value:function(){this.$actionsMenu.stop(),this.$actionsMenu.slideUp()}},{key:"documentsFolderButtonClick",value:function(){return this.documentsFolderOpen?(this.$documentsFolderCont.slideUp(),this.documentsFolderOpen=!1):(this.$documentsFolderCont.slideDown(),this.documentsFolderOpen=!0),!1}}]),e}();t.default=s},RGvG:function(e,t){},RIYy:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=c(n("dACh")),r=c(n("jx4H")),o=c(n("0iPh")),a=n("Tzw7"),s=n("EQNM"),l=c(n("ac1b")),u=c(n("119e"));function c(e){return e&&e.__esModule?e:{default:e}}var d=function(){function e(t,n){var r=this;(0,i.default)(this,e),this.markdownit=new l.default,this.markdownit.use(u.default),this.$textarea=t,this.textarea=this.$textarea[0],this.usePreview=!1,this.editor=window.CodeMirror.fromTextArea(this.textarea,{mode:"gfm",lineNumbers:!1,tabSize:4,styleActiveLine:!0,indentWithTabs:!1,lineWrapping:!0,viewportMargin:1/0,enterMode:"keep",direction:this.textarea.hasAttribute("dir")&&"rtl"===this.textarea.getAttribute("dir")?"rtl":"ltr",readOnly:this.textarea.hasAttribute("disabled")&&"disabled"===this.textarea.getAttribute("disabled")}),this.editor.addKeyMap({"Ctrl-B":function(e){e.replaceSelections(r.boldSelections())},"Ctrl-I":function(e){e.replaceSelections(r.italicSelections())},"Cmd-B":function(e){e.replaceSelections(r.boldSelections())},"Cmd-I":function(e){e.replaceSelections(r.italicSelections())}}),this.$cont=this.$textarea.parents(".uk-form-row").eq(0),this.$parentForm=this.$textarea.parents("form").eq(0),this.index=n,this.$buttonCode=null,this.$buttonPreview=null,this.$buttonFullscreen=null,this.$count=null,this.$countCurrent=null,this.limit=0,this.countMinLimit=0,this.countMaxLimit=0,this.$countMaxLimitText=null,this.countAlertActive=!1,this.fullscreenActive=!1,this.closePreview=this.closePreview.bind(this),this.textareaChange=this.textareaChange.bind(this),this.textareaFocus=this.textareaFocus.bind(this),this.textareaBlur=this.textareaBlur.bind(this),this.onDropFile=this.onDropFile.bind(this),this.buttonPreviewClick=this.buttonPreviewClick.bind(this),this.buttonClick=this.buttonClick.bind(this),this.forceEditorUpdate=this.forceEditorUpdate.bind(this),this.init()}return(0,r.default)(e,[{key:"init",value:function(){var e=this;this.editor.on("change",this.textareaChange),this.$cont.length&&this.$textarea.length&&(this.$editor=this.$cont.find(".CodeMirror").eq(0),this.$cont.addClass("markdown-editor"),!0===this.editor.getOption("readOnly")&&this.$cont.addClass("markdown-editor__disabled"),this.$buttons=this.$cont.find("[data-markdowneditor-button]"),this.$content=this.$cont.find(".markdown-editor-content"),this.$buttonCode=this.$cont.find(".markdown-editor-button-code"),this.$buttonPreview=this.$cont.find(".markdown-editor-button-preview"),this.$buttonFullscreen=this.$cont.find(".markdown-editor-button-fullscreen"),this.$count=this.$cont.find(".markdown-editor-count"),this.$countCurrent=this.$cont.find(".count-current"),this.$countMaxLimitText=this.$cont.find(".count-limit"),this.$cont.find(".markdown-editor-button-code").attr("data-index",this.index),this.$cont.find(".markdown-editor-button-preview").attr("data-index",this.index),this.$cont.find(".markdown-editor-button-fullscreen").attr("data-index",this.index),this.$cont.find(".markdown_textarea").attr("data-index",this.index),this.$editor.attr("data-index",this.index),this.$editor.before('
    '),this.$tabs=this.$cont.find(".markdown-editor-tabs").eq(0),this.$editor.after('
    '),this.$preview=this.$cont.find(".markdown-editor-preview").eq(0),this.$tabs.append(this.$editor),this.$tabs.append(this.$preview),this.editor.refresh(),this.textarea.hasAttribute("data-max-length")&&""!==this.textarea.getAttribute("data-max-length")&&(this.limit=!0,this.countMaxLimit=parseInt(this.textarea.getAttribute("data-max-length")),this.$countCurrent.length&&this.$countMaxLimitText.length&&this.$count.length&&(this.$countCurrent[0].innerHTML=(0,a.stripTags)(this.editor.getValue()).length,this.$countMaxLimitText[0].innerHTML=this.textarea.getAttribute("data-max-length"),this.$count[0].style.display="block")),this.textarea.hasAttribute("data-min-length")&&""!==this.textarea.getAttribute("data-min-length")&&(this.limit=!0,this.countMinLimit=parseInt(this.textarea.getAttribute("data-min-length"))),this.textarea.hasAttribute("data-max-length")&&this.textarea.hasAttribute("data-min-length")&&""===this.textarea.getAttribute("data-min-length")&&""===this.textarea.getAttribute("data-max-length")&&(this.limit=!1,this.countMaxLimit=null,this.countAlertActive=null),this.fullscreenActive=!1,this.limit&&((0,a.stripTags)(this.editor.getValue()).length>this.countMaxLimit?(this.countAlertActive=!0,(0,a.addClass)(this.$cont[0],"content-limit")):(0,a.stripTags)(this.editor.getValue()).length0){switch(t.attr("data-markdowneditor-button")){case"nbsp":this.editor.replaceSelections(this.nbspSelections(n));break;case"nb-hyphen":this.editor.replaceSelections(this.nbHyphenSelections(n));break;case"listUl":this.editor.replaceSelections(this.listUlSelections(n));break;case"link":this.editor.replaceSelections(this.linkSelections(n));break;case"image":this.editor.replaceSelections(this.imageSelections(n));break;case"bold":this.editor.replaceSelections(this.boldSelections(n));break;case"italic":this.editor.replaceSelections(this.italicSelections(n));break;case"blockquote":this.editor.replaceSelections(this.blockquoteSelections(n));break;case"h2":this.editor.replaceSelections(this.h2Selections(n));break;case"h3":this.editor.replaceSelections(this.h3Selections(n));break;case"h4":this.editor.replaceSelections(this.h4Selections(n));break;case"h5":this.editor.replaceSelections(this.h5Selections(n));break;case"h6":this.editor.replaceSelections(this.h6Selections(n));break;case"back":this.editor.replaceSelections(this.backSelections(n));break;case"hr":this.editor.replaceSelections(this.hrSelections(n))}this.editor.focus()}}},{key:"backSelections",value:function(e){for(var t in e)e[t]=" \n";return e}},{key:"hrSelections",value:function(e){for(var t in e)e[t]="\n\n---\n\n";return e}},{key:"nbspSelections",value:function(e){for(var t in e)e[t]=" ";return e}},{key:"nbHyphenSelections",value:function(e){for(var t in e)e[t]="‑";return e}},{key:"listUlSelections",value:function(e){for(var t in e)e[t]="\n\n* "+e[t]+"\n\n";return e}},{key:"linkSelections",value:function(e){for(var t in e)e[t]="["+e[t]+"](http://)";return e}},{key:"imageSelections",value:function(e){for(var t in e||(e=this.editor.getSelections()),e)e[t]="!["+e[t]+"](/files/)";return e}},{key:"boldSelections",value:function(e){for(var t in e||(e=this.editor.getSelections()),e)e[t]="**"+e[t]+"**";return e}},{key:"italicSelections",value:function(e){for(var t in e||(e=this.editor.getSelections()),e)e[t]="*"+e[t]+"*";return e}},{key:"h2Selections",value:function(e){for(var t in e)e[t]="\n## "+e[t]+"\n";return e}},{key:"h3Selections",value:function(e){for(var t in e)e[t]="\n### "+e[t]+"\n";return e}},{key:"h4Selections",value:function(e){for(var t in e)e[t]="\n#### "+e[t]+"\n";return e}},{key:"h5Selections",value:function(e){for(var t in e)e[t]="\n##### "+e[t]+"\n";return e}},{key:"h6Selections",value:function(e){for(var t in e)e[t]="\n###### "+e[t]+"\n";return e}},{key:"blockquoteSelections",value:function(e){for(var t in e)e[t]="\n> "+e[t]+"\n";return e}},{key:"textareaChange",value:function(){var e=this;this.editor.save(),this.usePreview&&(clearTimeout(this.refreshPreviewTimeout),this.refreshPreviewTimeout=window.setTimeout(function(){e.$preview.html(e.markdownit.render(e.editor.getValue()))},100)),this.limit&&window.setTimeout(function(){var t=e.editor.getValue(),n=(0,a.stripTags)(t).length;e.$countCurrent.html(n),n>e.countMaxLimit?e.countAlertActive||(e.$cont.addClass("content-limit"),e.countAlertActive=!0):n0&&void 0!==arguments[0]?arguments[0]:null;null===e&&(e={nodes:[],tags:[],folders:[]}),window.localStorage.setItem("collapsed.uk.nestable",(0,i.default)(e))}},{key:"initNestables",value:function(){this.collapsedNestableState.nodes.forEach(function(e){var t=(0,a.default)('.uk-nestable-item[data-node-id="'+a.default.escapeSelector(e)+'"]');t.length&&t[0].classList.add("uk-collapsed")}),this.collapsedNestableState.tags.forEach(function(e){var t=(0,a.default)('.uk-nestable-item[data-tag-id="'+a.default.escapeSelector(e)+'"]');t.length&&t[0].classList.add("uk-collapsed")}),this.collapsedNestableState.folders.forEach(function(e){var t=(0,a.default)('.uk-nestable-item[data-folder-id="'+a.default.escapeSelector(e)+'"]');t.length&&t[0].classList.add("uk-collapsed")}),(0,a.default)(".uk-nestable").each(function(e,t){var n=(0,a.default)(t),i={handleClass:"uk-nestable-handle"};n.hasClass("nodetree")?i.group="nodeTree":n.hasClass("tagtree")?i.group="tagTree":n.hasClass("foldertree")&&(i.group="folderTree"),window.UIkit.nestable(t,i)}),document.removeEventListener("collapse.uk.nestable",this.onNestableCollapse),document.addEventListener("collapse.uk.nestable",this.onNestableCollapse),document.removeEventListener("expand.uk.nestable",this.onNestableExpand),document.addEventListener("expand.uk.nestable",this.onNestableExpand)}},{key:"bindMainTrees",value:function(){var e=(0,a.default)(".nodetree-widget .root-tree");e.off("change.uk.nestable"),e.on("change.uk.nestable",this.onNestableNodeTreeChange);var t=(0,a.default)(".tagtree-widget .root-tree");t.off("change.uk.nestable"),t.on("change.uk.nestable",this.onNestableTagTreeChange);var n=(0,a.default)(".foldertree-widget .root-tree");n.off("change.uk.nestable"),n.on("change.uk.nestable",this.onNestableFolderTreeChange),this.$mainTreeElementName=this.$mainTrees.find(".tree-element-name"),this.$mainTreeElementName.length&&(this.$mainTreeElementName.off("contextmenu",this.maintreeElementNameRightClick),this.$mainTreeElementName.on("contextmenu",this.maintreeElementNameRightClick))}},{key:"maintreeElementNameRightClick",value:function(e){var t=(0,a.default)(e.currentTarget).parent().find(".tree-contextualmenu");return t.length&&(-1===t[0].className.indexOf("uk-open")?t.addClass("uk-open"):t.removeClass("uk-open")),!1}},{key:"bindMainNodeTreeLangs",value:function(){var e=this;(0,a.default)("body").on("click","#tree-container .nodetree-langs a",function(t){e.lazyload.canvasLoader.show();var n=(0,a.default)(t.currentTarget),i=parseInt(n.attr("data-translation-id"));return e.refreshMainNodeTree(i),!1})}},{key:"getMessages",value:function(){a.default.ajax({url:this.routes.ajaxSessionMessages,type:"GET",dataType:"json",cache:!1,data:{_action:"messages",_token:this.ajaxToken}}).done(function(e){if(void 0!==e.messages){if(void 0!==e.messages.confirm&&e.messages.confirm.length>0)for(var t=e.messages.confirm.length-1;t>=0;t--)window.UIkit.notify({message:e.messages.confirm[t],status:"success",timeout:2e3,pos:"top-center"});if(void 0!==e.messages.error&&e.messages.error.length>0)for(var n=e.messages.error.length-1;n>=0;n--)window.UIkit.notify({message:e.messages.error[n],status:"error",timeout:2e3,pos:"top-center"})}}).fail(function(){console.log("[Rozier.getMessages] error")})}},{key:"refreshAllNodeTrees",value:function(e){if(this.refreshMainNodeTree(e),this.lazyload.stackNodeTrees.treeAvailable()&&this.lazyload.stackNodeTrees.refreshNodeTree(),this.lazyload.childrenNodesFields.treeAvailable())for(var t=this.lazyload.childrenNodesFields.$nodeTrees.length-1;t>=0;t--){var n=this.lazyload.childrenNodesFields.$nodeTrees.eq(t);this.lazyload.childrenNodesFields.refreshNodeTree(n)}}},{key:"refreshMainNodeTree",value:function(e){var t=this,n=(0,a.default)("#tree-container").find(".nodetree-widget"),i=n.find(".root-tree").eq(0);if(i.length&&!e&&(e=i.attr("data-translation-id")),n.length){var r={_token:this.ajaxToken,_action:"requestMainNodeTree",translationId:e||null},o=this.routes.nodesTreeAjax;a.default.ajax({url:o,type:"get",cache:!1,dataType:"json",data:r}).done(function(e){n.length&&void 0!==e.nodeTree&&n.fadeOut("slow",function(){n.replaceWith(e.nodeTree),(n=(0,a.default)("#tree-container").find(".nodetree-widget")).fadeIn(),t.initNestables(),t.bindMainTrees(),t.resize(),t.lazyload.bindAjaxLink(),t.lazyload.nodeTreeContextActions&&t.lazyload.nodeTreeContextActions.unbind(),t.lazyload.nodeTreeContextActions=new h.default})}).fail(function(){console.log("[Rozier.refreshMainNodeTree] Retrying in 3 seconds"),setTimeout(function(){t.refreshMainNodeTree(e)},3e3)}).always(function(){t.lazyload.canvasLoader.hide()})}else console.debug("No main node-tree available.")}},{key:"refreshMainTagTree",value:function(){var e=this,t=(0,a.default)("#tree-container").find(".tagtree-widget");if(t.length){var n={_token:this.ajaxToken,_action:"requestMainTagTree"},i=this.routes.tagsTreeAjax;a.default.ajax({url:i,type:"get",cache:!1,dataType:"json",data:n}).done(function(n){t.length&&void 0!==n.tagTree&&t.fadeOut("slow",function(){t.replaceWith(n.tagTree),(t=(0,a.default)("#tree-container").find(".tagtree-widget")).fadeIn(),e.initNestables(),e.bindMainTrees(),e.resize(),e.lazyload.bindAjaxLink()})}).always(function(){e.lazyload.canvasLoader.hide()})}else console.debug("No main tag-tree available.")}},{key:"refreshMainFolderTree",value:function(){var e=this,t=(0,a.default)("#tree-container").find(".foldertree-widget");if(t.length){var n={_token:this.ajaxToken,_action:"requestMainFolderTree"},i=this.routes.foldersTreeAjax;a.default.ajax({url:i,type:"get",cache:!1,dataType:"json",data:n}).done(function(n){t.length&&void 0!==n.folderTree&&t.fadeOut("slow",function(){t.replaceWith(n.folderTree),(t=(0,a.default)("#tree-container").find(".foldertree-widget")).fadeIn(),e.initNestables(),e.bindMainTrees(),e.resize(),e.lazyload.bindAjaxLink()})}).always(function(){e.lazyload.canvasLoader.hide()})}else console.debug("No main folder-tree available.")}},{key:"toggleTreesPanel",value:function(){return(0,a.default)("#main-container-inner").toggleClass("trees-panel--minified"),(0,a.default)("#main-content").toggleClass("maximized"),(0,a.default)("#minify-tree-panel-button").find("i").toggleClass("uk-icon-rz-panel-tree-open"),(0,a.default)("#minify-tree-panel-area").toggleClass("tree-panel-hidden"),!1}},{key:"openTreesPanel",value:function(){return(0,a.default)("#main-container-inner").hasClass("trees-panel--minified")&&this.toggleTreesPanel(null),!1}},{key:"toggleUserPanel",value:function(){return(0,a.default)("#user-panel").toggleClass("minified"),!1}},{key:"onNestableCollapse",value:function(e){var t=e.detail;if(t[0]){switch(!0){case null!==t[0].getAttribute("data-node-id"):this.collapsedNestableState.nodes.push(t[0].getAttribute("data-node-id"));break;case null!==t[0].getAttribute("data-tag-id"):this.collapsedNestableState.tags.push(t[0].getAttribute("data-tag-id"));break;case null!==t[0].getAttribute("data-folder-id"):this.collapsedNestableState.folders.push(t[0].getAttribute("data-folder-id"))}this.saveCollapsedNestableState(this.collapsedNestableState)}}},{key:"onNestableExpand",value:function(e){var t=e.detail;if(t[0]){switch(!0){case null!==t[0].getAttribute("data-node-id"):this.collapsedNestableState.nodes.splice(this.collapsedNestableState.nodes.indexOf(t[0].getAttribute("data-node-id")),1);break;case null!==t[0].getAttribute("data-tag-id"):this.collapsedNestableState.tags.splice(this.collapsedNestableState.tags.indexOf(t[0].getAttribute("data-tag-id")),1);break;case null!==t[0].getAttribute("data-folder-id"):this.collapsedNestableState.folders.splice(this.collapsedNestableState.folders.indexOf(t[0].getAttribute("data-folder-id")),1)}this.saveCollapsedNestableState(this.collapsedNestableState)}}},{key:"onNestableNodeTreeChange",value:function(e,t,n,i){var r=(0,a.default)(n);if("removed"===i)return!1;var o=parseInt(r.attr("data-node-id")),s=null;if(r.parents(".nodetree-element").length?s=parseInt(r.parents(".nodetree-element").eq(0).attr("data-node-id")):r.parents(".stack-tree-widget").length?s=parseInt(r.parents(".stack-tree-widget").eq(0).attr("data-parent-node-id")):r.parents(".children-node-widget").length&&(s=parseInt(r.parents(".children-node-widget").eq(0).attr("data-parent-node-id"))),isNaN(s)&&(s=null),o===s)return console.error("You cannot move a node inside itself!"),window.location.reload(),!1;var l={_token:this.ajaxToken,_action:"updatePosition",nodeId:o,newParent:s};r.next().length&&void 0!==r.next().attr("data-node-id")?l.nextNodeId=parseInt(r.next().attr("data-node-id")):r.prev().length&&void 0!==r.prev().attr("data-node-id")&&(l.prevNodeId=parseInt(r.prev().attr("data-node-id"))),a.default.ajax({url:this.routes.nodeAjaxEdit.replace("%nodeId%",o),type:"POST",dataType:"json",data:l}).done(function(e){window.UIkit.notify({message:e.responseText,status:e.status,timeout:3e3,pos:"top-center"})}).fail(function(e){e=JSON.parse(e.responseText),window.UIkit.notify({message:e.error_message,status:"danger",timeout:3e3,pos:"top-center"})})}},{key:"onNestableTagTreeChange",value:function(e,t,n,i){var r=(0,a.default)(n);if("removed"===i)return!1;var o=parseInt(r.attr("data-tag-id")),s=null;if(r.parents(".tagtree-element").length?s=parseInt(r.parents(".tagtree-element").eq(0).attr("data-tag-id")):r.parents(".root-tree").length&&(s=parseInt(r.parents(".root-tree").eq(0).attr("data-parent-tag-id"))),isNaN(s)&&(s=null),o===s)return console.error("You cannot move a tag inside itself!"),alert("You cannot move a tag inside itself!"),window.location.reload(),!1;var l={_token:this.ajaxToken,_action:"updatePosition",tagId:o,newParent:s};r.next().length&&void 0!==r.next().attr("data-tag-id")?l.nextTagId=parseInt(r.next().attr("data-tag-id")):r.prev().length&&void 0!==r.prev().attr("data-tag-id")&&(l.prevTagId=parseInt(r.prev().attr("data-tag-id"))),a.default.ajax({url:this.routes.tagAjaxEdit.replace("%tagId%",o),type:"POST",dataType:"json",data:l}).done(function(e){window.UIkit.notify({message:e.responseText,status:e.status,timeout:3e3,pos:"top-center"})})}},{key:"onNestableFolderTreeChange",value:function(e,t,n,i){var r=(0,a.default)(n);if("removed"===i)return!1;var o=parseInt(r.attr("data-folder-id")),s=null;if(r.parents(".foldertree-element").length?s=parseInt(r.parents(".foldertree-element").eq(0).attr("data-folder-id")):r.parents(".root-tree").length&&(s=parseInt(r.parents(".root-tree").eq(0).attr("data-parent-folder-id"))),isNaN(s)&&(s=null),o===s)return console.error("You cannot move a folder inside itself!"),alert("You cannot move a folder inside itself!"),window.location.reload(),!1;var l={_token:this.ajaxToken,_action:"updatePosition",folderId:o,newParent:s};r.next().length&&void 0!==r.next().attr("data-folder-id")?l.nextFolderId=parseInt(r.next().attr("data-folder-id")):r.prev().length&&void 0!==r.prev().attr("data-folder-id")&&(l.prevFolderId=parseInt(r.prev().attr("data-folder-id"))),a.default.ajax({url:this.routes.folderAjaxEdit.replace("%folderId%",o),type:"POST",dataType:"json",data:l}).done(function(e){window.UIkit.notify({message:e.responseText,status:e.status,timeout:3e3,pos:"top-center"})})}},{key:"backTopBtnClick",value:function(){return d.TweenLite.to(this.$mainContentScrollable,.6,{scrollTo:{y:0},ease:d.Expo.easeOut}),!1}},{key:"resize",value:function(){var e=this;if(this.windowWidth=this.$window.width(),this.windowHeight=this.$window.height(),this.windowWidth>=768&&this.windowWidth<=1200&&this.$mainTrees.length&&this.resizeFirst&&(this.$mainTrees[0].style.display="none",this.$minifyTreePanelButton.trigger("click"),window.setTimeout(function(){e.$mainTrees[0].style.display="table-cell"},1e3)),this.windowWidth<=768&&this.resizeFirst&&(this.mobile=new f.default),this.$mainTreesContainer.length&&this.$mainContentScrollable.length&&(this.windowWidth>=768?(this.$mainContentScrollable.height(this.windowHeight),this.$mainTreesContainer[0].style.height=""):(this.$mainContentScrollable[0].style.height="",this.$mainTreesContainer.height(this.windowHeight))),this.$mainTrees.length){this.$nodeTreeHead=this.$mainTrees.find(".nodetree-head"),this.$treeScrollCont=this.$mainTrees.find(".tree-scroll-cont"),this.$treeScroll=this.$mainTrees.find(".tree-scroll"),this.nodesSourcesSearchHeight=this.$nodesSourcesSearch.actual("outerHeight"),this.nodeTreeHeadHeight=this.$nodeTreeHead.actual("outerHeight"),this.treeScrollHeight=this.windowHeight-(this.nodesSourcesSearchHeight+this.nodeTreeHeadHeight),null!==this.mobile&&(this.treeScrollHeight=this.windowHeight-(100+this.nodeTreeHeadHeight));for(var t=0;t1&&void 0!==arguments[1]?arguments[1]:null;this.drawersAddItem({drawer:this.drawer,item:e,newIndex:t})},showSuccess:function(e,t){this.addItem(t.document)},showError:function(e,t,n){console.error(e),console.error(t),console.error(n)}}),components:{RzButton:s.default,draggable:l.default,Dropzone:u.default}}},"TL+m":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=u(n("T4f3")),r=n("SJI6"),o=u(n("kRS3")),a=u(n("O7VT")),s=u(n("XEtd")),l=u(n("H8iA"));function u(e){return e&&e.__esModule?e:{default:e}}t.default={props:["item","isItemExplorer","drawerName","index","removeItem","addItem"],data:function(){return{document:this.item}},directives:{DynamicImg:s.default},filters:o.default,computed:{shortMimeType:function(){return(0,l.default)(this.document.shortMimeType,13)},filename:function(){return(0,l.default)(this.document.filename,12)}},methods:(0,i.default)({},(0,r.mapActions)(["documentPreviewInit","documentPreviewOpen","documentPreviewDestroy"]),{onAddItemButtonClick:function(){this.isItemExplorer&&this.addItem(this.item)},onRemoveItemButtonClick:function(){this.removeItem(this.item)},getReferer:function(){return"?referer="+window.location.pathname},onPreviewClick:function(){this.documentPreviewOpen()},onMouseover:function(){this.documentPreviewInit({document:this.item})},onMouseleave:function(){this.documentPreviewDestroy({document:this.item})}}),components:{AjaxLink:a.default}}},TjfP:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"filter-explorer-item",props:{item:{required:!0,type:Object},onItemClick:{required:!0,type:Function},currentItem:{required:!0},entity:{required:!0},icons:{required:!0,type:Object}},computed:{isCurrentItem:function(){return!(!this.currentItem||!this.currentItem.id)&&this.currentItem.id===this.item.id}}}},Tr2I:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a(n("dACh")),r=a(n("jx4H")),o=a(n("0iPh"));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(){function e(){(0,i.default)(this,e),this.$list=(0,o.default)(".attribute-value-forms > .uk-sortable"),this.currentRequest=null,this.onSortableChange=this.onSortableChange.bind(this),this.init()}return(0,r.default)(e,[{key:"init",value:function(){this.$list.length&&this.$list.children().length>1&&this.$list.on("change.uk.sortable",this.onSortableChange)}},{key:"unbind",value:function(){this.$list.length&&this.$list.children().length>1&&this.$list.off("change.uk.sortable",this.onSortableChange)}},{key:"onSortableChange",value:function(e,t,n){if(this.currentRequest&&4!==this.currentRequest.readyState&&this.currentRequest.abort(),!(e.target instanceof HTMLInputElement)){var i=(0,o.default)(n),r=parseInt(i.data("id")),a=i.prev(),s=0;0===a.length?(a=i.next(),s=parseInt(a.data("position"))-.5):s=parseInt(a.data("position"))+.5;var l={_token:window.Rozier.ajaxToken,_action:"updatePosition",attributeValueId:r,newPosition:s},u=window.Rozier.routes.attributeValueAjaxEdit;u&&r&&(this.currentRequest=o.default.ajax({url:u.replace("%attributeValueId%",r),type:"POST",dataType:"json",data:l}).done(function(e){i.attr("data-position",s),window.UIkit.notify({message:e.responseText,status:e.status,timeout:3e3,pos:"top-center"})}).fail(function(e){e=JSON.parse(e.responseText),window.UIkit.notify({message:e.error_message,status:"danger",timeout:3e3,pos:"top-center"})}))}}}]),e}();t.default=s},Triu:function(e,t,n){"use strict";(function(){var e=[].slice;!function(t,n){var i;i=function(){function e(e,n){null==n&&(n={}),this.$element=t(e),this.options=t.extend({},t.fn.bootstrapSwitch.defaults,{state:this.$element.is(":checked"),size:this.$element.data("size"),animate:this.$element.data("animate"),disabled:this.$element.is(":disabled"),readonly:this.$element.is("[readonly]"),indeterminate:this.$element.data("indeterminate"),inverse:this.$element.data("inverse"),radioAllOff:this.$element.data("radio-all-off"),onColor:this.$element.data("on-color"),offColor:this.$element.data("off-color"),onText:this.$element.data("on-text"),offText:this.$element.data("off-text"),labelText:this.$element.data("label-text"),handleWidth:this.$element.data("handle-width"),labelWidth:this.$element.data("label-width"),baseClass:this.$element.data("base-class"),wrapperClass:this.$element.data("wrapper-class")},n),this.$wrapper=t("
    ",{class:function(e){return function(){var t;return(t=[""+e.options.baseClass].concat(e._getClasses(e.options.wrapperClass))).push(e.options.state?e.options.baseClass+"-on":e.options.baseClass+"-off"),null!=e.options.size&&t.push(e.options.baseClass+"-"+e.options.size),e.options.disabled&&t.push(e.options.baseClass+"-disabled"),e.options.readonly&&t.push(e.options.baseClass+"-readonly"),e.options.indeterminate&&t.push(e.options.baseClass+"-indeterminate"),e.options.inverse&&t.push(e.options.baseClass+"-inverse"),e.$element.attr("id")&&t.push(e.options.baseClass+"-id-"+e.$element.attr("id")),t.join(" ")}}(this)()}),this.$container=t("
    ",{class:this.options.baseClass+"-container"}),this.$on=t("",{html:this.options.onText,class:this.options.baseClass+"-handle-on "+this.options.baseClass+"-"+this.options.onColor}),this.$off=t("",{html:this.options.offText,class:this.options.baseClass+"-handle-off "+this.options.baseClass+"-"+this.options.offColor}),this.$label=t("",{html:this.options.labelText,class:this.options.baseClass+"-label"}),this.$element.on("init.bootstrapSwitch",function(t){return function(){return t.options.onInit.apply(e,arguments)}}(this)),this.$element.on("switchChange.bootstrapSwitch",function(t){return function(){return t.options.onSwitchChange.apply(e,arguments)}}(this)),this.$container=this.$element.wrap(this.$container).parent(),this.$wrapper=this.$container.wrap(this.$wrapper).parent(),this.$element.before(this.options.inverse?this.$off:this.$on).before(this.$label).before(this.options.inverse?this.$on:this.$off),this.options.indeterminate&&this.$element.prop("indeterminate",!0),this._init(),this._elementHandlers(),this._handleHandlers(),this._labelHandlers(),this._formHandler(),this._externalLabelHandler(),this.$element.trigger("init.bootstrapSwitch")}return e.prototype._constructor=e,e.prototype.state=function(e,t){return void 0===e?this.options.state:this.options.disabled||this.options.readonly?this.$element:this.options.state&&!this.options.radioAllOff&&this.$element.is(":radio")?this.$element:(this.options.indeterminate&&this.indeterminate(!1),e=!!e,this.$element.prop("checked",e).trigger("change.bootstrapSwitch",t),this.$element)},e.prototype.toggleState=function(e){return this.options.disabled||this.options.readonly?this.$element:this.options.indeterminate?(this.indeterminate(!1),this.state(!0)):this.$element.prop("checked",!this.options.state).trigger("change.bootstrapSwitch",e)},e.prototype.size=function(e){return void 0===e?this.options.size:(null!=this.options.size&&this.$wrapper.removeClass(this.options.baseClass+"-"+this.options.size),e&&this.$wrapper.addClass(this.options.baseClass+"-"+e),this._width(),this._containerPosition(),this.options.size=e,this.$element)},e.prototype.animate=function(e){return void 0===e?this.options.animate:(e=!!e)===this.options.animate?this.$element:this.toggleAnimate()},e.prototype.toggleAnimate=function(){return this.options.animate=!this.options.animate,this.$wrapper.toggleClass(this.options.baseClass+"-animate"),this.$element},e.prototype.disabled=function(e){return void 0===e?this.options.disabled:(e=!!e)===this.options.disabled?this.$element:this.toggleDisabled()},e.prototype.toggleDisabled=function(){return this.options.disabled=!this.options.disabled,this.$element.prop("disabled",this.options.disabled),this.$wrapper.toggleClass(this.options.baseClass+"-disabled"),this.$element},e.prototype.readonly=function(e){return void 0===e?this.options.readonly:(e=!!e)===this.options.readonly?this.$element:this.toggleReadonly()},e.prototype.toggleReadonly=function(){return this.options.readonly=!this.options.readonly,this.$element.prop("readonly",this.options.readonly),this.$wrapper.toggleClass(this.options.baseClass+"-readonly"),this.$element},e.prototype.indeterminate=function(e){return void 0===e?this.options.indeterminate:(e=!!e)===this.options.indeterminate?this.$element:this.toggleIndeterminate()},e.prototype.toggleIndeterminate=function(){return this.options.indeterminate=!this.options.indeterminate,this.$element.prop("indeterminate",this.options.indeterminate),this.$wrapper.toggleClass(this.options.baseClass+"-indeterminate"),this._containerPosition(),this.$element},e.prototype.inverse=function(e){return void 0===e?this.options.inverse:(e=!!e)===this.options.inverse?this.$element:this.toggleInverse()},e.prototype.toggleInverse=function(){var e,t;return this.$wrapper.toggleClass(this.options.baseClass+"-inverse"),t=this.$on.clone(!0),e=this.$off.clone(!0),this.$on.replaceWith(e),this.$off.replaceWith(t),this.$on=e,this.$off=t,this.options.inverse=!this.options.inverse,this.$element},e.prototype.onColor=function(e){var t;return t=this.options.onColor,void 0===e?t:(null!=t&&this.$on.removeClass(this.options.baseClass+"-"+t),this.$on.addClass(this.options.baseClass+"-"+e),this.options.onColor=e,this.$element)},e.prototype.offColor=function(e){var t;return t=this.options.offColor,void 0===e?t:(null!=t&&this.$off.removeClass(this.options.baseClass+"-"+t),this.$off.addClass(this.options.baseClass+"-"+e),this.options.offColor=e,this.$element)},e.prototype.onText=function(e){return void 0===e?this.options.onText:(this.$on.html(e),this._width(),this._containerPosition(),this.options.onText=e,this.$element)},e.prototype.offText=function(e){return void 0===e?this.options.offText:(this.$off.html(e),this._width(),this._containerPosition(),this.options.offText=e,this.$element)},e.prototype.labelText=function(e){return void 0===e?this.options.labelText:(this.$label.html(e),this._width(),this.options.labelText=e,this.$element)},e.prototype.handleWidth=function(e){return void 0===e?this.options.handleWidth:(this.options.handleWidth=e,this._width(),this._containerPosition(),this.$element)},e.prototype.labelWidth=function(e){return void 0===e?this.options.labelWidth:(this.options.labelWidth=e,this._width(),this._containerPosition(),this.$element)},e.prototype.baseClass=function(e){return this.options.baseClass},e.prototype.wrapperClass=function(e){return void 0===e?this.options.wrapperClass:(e||(e=t.fn.bootstrapSwitch.defaults.wrapperClass),this.$wrapper.removeClass(this._getClasses(this.options.wrapperClass).join(" ")),this.$wrapper.addClass(this._getClasses(e).join(" ")),this.options.wrapperClass=e,this.$element)},e.prototype.radioAllOff=function(e){return void 0===e?this.options.radioAllOff:(e=!!e)===this.options.radioAllOff?this.$element:(this.options.radioAllOff=e,this.$element)},e.prototype.onInit=function(e){return void 0===e?this.options.onInit:(e||(e=t.fn.bootstrapSwitch.defaults.onInit),this.options.onInit=e,this.$element)},e.prototype.onSwitchChange=function(e){return void 0===e?this.options.onSwitchChange:(e||(e=t.fn.bootstrapSwitch.defaults.onSwitchChange),this.options.onSwitchChange=e,this.$element)},e.prototype.destroy=function(){var e;return(e=this.$element.closest("form")).length&&e.off("reset.bootstrapSwitch").removeData("bootstrap-switch"),this.$container.children().not(this.$element).remove(),this.$element.unwrap().unwrap().off(".bootstrapSwitch").removeData("bootstrap-switch"),this.$element},e.prototype._width=function(){var e,t;return(e=this.$on.add(this.$off)).add(this.$label).css("width",""),t="auto"===this.options.handleWidth?Math.max(this.$on.width(),this.$off.width()):this.options.handleWidth,e.width(t),this.$label.width(function(e){return function(n,i){return"auto"!==e.options.labelWidth?e.options.labelWidth:i0)))return e._dragEnd=n,e.$container.css("margin-left",e._dragEnd+"px")}}(this),"mouseup.bootstrapSwitch touchend.bootstrapSwitch":function(e){return function(t){var n;if(e._dragStart)return t.preventDefault(),e.options.animate&&e.$wrapper.addClass(e.options.baseClass+"-animate"),e._dragEnd?(n=e._dragEnd>-e._handleWidth/2,e._dragEnd=!1,e.state(e.options.inverse?!n:n)):e.state(!e.options.state),e._dragStart=!1}}(this),"mouseleave.bootstrapSwitch":function(e){return function(t){return e.$label.trigger("mouseup.bootstrapSwitch")}}(this)})},e.prototype._externalLabelHandler=function(){var e;return(e=this.$element.closest("label")).on("click",function(t){return function(n){if(n.preventDefault(),n.stopImmediatePropagation(),n.target===e[0])return t.toggleState()}}(this))},e.prototype._formHandler=function(){var e;if(!(e=this.$element.closest("form")).data("bootstrap-switch"))return e.on("reset.bootstrapSwitch",function(){return n.setTimeout(function(){return e.find("input").filter(function(){return t(this).data("bootstrap-switch")}).each(function(){return t(this).bootstrapSwitch("state",this.checked)})},1)}).data("bootstrap-switch",!0)},e.prototype._getClasses=function(e){var n,i,r,o;if(!t.isArray(e))return[this.options.baseClass+"-"+e];for(i=[],r=0,o=e.length;r/g)||[]).join("");return e.replace(/|<\?(?:php)?[\s\S]*?\?>/gi,"").replace(/<\/?([a-z][a-z0-9]*)\b[^>]*>/gi,function(e,n){return t.indexOf("<"+n.toLowerCase()+">")>-1?e:""})},t.addClass=function(e,t){e&&(e.classList?e.classList.add(t):e.className+=" "+t)},t.removeClass=function(e,t){if(e)if(e.classList)e.classList.remove(t);else{e.className=e.className.replace(new RegExp("(^|\\b)"+t.split(" ").join("|")+"(\\b|$)","gi"),"");var n=e.className.length-1;" "===e.className[n]&&(e.className=e.className.substring(0,n))}},t.PointerEventsPolyfill=function(){function e(t){if((0,i.default)(this,e),this.options={selector:"*",mouseEvents:["click","dblclick","mousedown","mouseup"],usePolyfillIf:function(){if("Microsoft Internet Explorer"===navigator.appName&&(null!==navigator.userAgent.match(/MSIE ([0-9]{1,}[.0-9]{0,})/)&&parseFloat(RegExp.$1)<11))return!0;return!1}},t){var n=this;o.default.each(t,function(e,t){n.options[e]=t})}this.options.usePolyfillIf()&&this.registerMouseEvents()}return(0,r.default)(e,[{key:"initialize",value:function(t){return e.singleton||(e.singleton=new e(t)),e.singleton}},{key:"registerMouseEvents",value:function(){var e=this;(0,o.default)(document).on(this.options.mouseEvents.join(" "),this.options.selector,function(t){if("none"===(0,o.default)(e).css("pointer-events")){var n=(0,o.default)(e).css("display");(0,o.default)(e).css("display","none");var i=document.elementFromPoint(t.clientX,t.clientY);return n?(0,o.default)(e).css("display",n):(0,o.default)(e).css("display",""),t.target=i,(0,o.default)(i).trigger(t),!1}return!0})}}]),e}()},UIBU:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=s(n("dACh")),r=s(n("jx4H")),o=s(n("0iPh")),a=s(n("ujpI"));function s(e){return e&&e.__esModule?e:{default:e}}var l=function(){function e(t){(0,i.default)(this,e),this.attached=!1,this.options={onSuccess:function(e){},onError:function(e){},onAdded:function(e){},url:window.Rozier.routes.documentsUploadPage,selector:"#upload-dropzone-document",paramName:"form[attachment]",uploadMultiple:!1,maxFilesize:64,timeout:0,autoDiscover:!1,headers:{_token:window.Rozier.ajaxToken},dictDefaultMessage:"Drop files here to upload or click to open your explorer",dictFallbackMessage:"Your browser does not support drag'n'drop file uploads.",dictFallbackText:"Please use the fallback form below to upload your files like in the olden days.",dictFileTooBig:"File is too big ({{filesize}}MiB). Max filesize: {{maxFilesize}}MiB.",dictInvalidFileType:"You can't upload files of this type.",dictResponseError:"Server responded with {{statusCode}} code.",dictCancelUpload:"Cancel upload",dictCancelUploadConfirmation:"Are you sure you want to cancel this upload?",dictRemoveFile:"Remove file",dictRemoveFileConfirmation:null,dictMaxFilesExceeded:"You can not upload any more files."},void 0!==t&&o.default.extend(this.options,t),(0,o.default)(this.options.selector).length&&!this.attached&&this.init()}return(0,r.default)(e,[{key:"init",value:function(){var e=this,t=(0,o.default)("#upload-dropzone-document");t.attr("data-folder-id")&&t.attr("data-folder-id")>0&&(this.options.headers.folderId=parseInt(t.attr("data-folder-id")),this.options.url=window.Rozier.routes.documentsUploadPage+"/"+parseInt(t.attr("data-folder-id"))),a.default.options.uploadDropzoneDocument={url:this.options.url,method:"post",headers:this.options.headers,paramName:this.options.paramName,uploadMultiple:this.options.uploadMultiple,timeout:this.options.timeout,maxFilesize:this.options.maxFilesize,dictDefaultMessage:this.options.dictDefaultMessage,dictFallbackMessage:this.options.dictFallbackMessage,dictFallbackText:this.options.dictFallbackText,dictFileTooBig:this.options.dictFileTooBig,dictInvalidFileType:this.options.dictInvalidFileType,dictResponseError:this.options.dictResponseError,dictCancelUpload:this.options.dictCancelUpload,dictCancelUploadConfirmation:this.options.dictCancelUploadConfirmation,dictRemoveFile:this.options.dictRemoveFile,dictRemoveFileConfirmation:this.options.dictRemoveFileConfirmation,dictMaxFilesExceeded:this.options.dictMaxFilesExceeded,init:function(){this.on("addedfile",function(t,n){e.options.onAdded(t)}),this.on("success",function(t,n){if(t.previewElement){var i=(0,o.default)(t.previewElement);window.setTimeout(function(){i.fadeOut(500,function(){i.remove()})},3e3)}e.options.onSuccess(n),window.Rozier.getMessages()}),this.on("canceled",function(t,n){e.options.onError(JSON.parse(n)),window.Rozier.getMessages()}),this.on("error",function(e,t,n){console.error(t)}),this.on("sending",function(t,n,i){n.ontimeout=function(){e.options.onError("Server Timeout"),console.error("Server Timeout")}})}},a.default.autoDiscover=this.options.autoDiscover;try{new a.default(this.options.selector,a.default.options.uploadDropzoneDocument);var n=(0,o.default)(this.options.selector);n.append('
    '+this.options.dictDefaultMessage+"
    "),n.find(".dz-message").append('\n
    \n
    \n
    \n
    \n
    \n
    \n \n
    '),this.attached=!0}catch(e){console.error(e)}}},{key:"unbind",value:function(){}}]),e}();t.default=l},VB4P:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"fade"}},[e.document?n("li",{staticClass:"image-document uk-sortable-list-item documents-widget-sortable-list-item",attrs:{title:e.document.filename,"data-uk-tooltip":"{animation:true, pos:'bottom'}"},on:{mouseleave:e.onMouseleave,mouseover:e.onMouseover}},[n("div",{staticClass:"preview-zoom",on:{click:function(t){t.preventDefault(),e.onPreviewClick(t)}}},[n("i",{staticClass:"uk-icon-search-plus"})]),e._v(" "),n("div",{on:{click:function(t){t.preventDefault(),e.onAddItemButtonClick(t)}}},[n("div",{staticClass:"uk-sortable-handle"}),e._v(" "),n("div",{staticClass:"document-border"}),e._v(" "),n("div",{staticClass:"document-overflow"},[e.document.isSvg?[n("div",{staticClass:"svg",domProps:{innerHTML:e._s(e.document.preview_html)}})]:!e.document.isImage||e.document.isWebp||e.document.isPrivate?e.document.isImage&&!e.document.isPrivate?[n("img",{directives:[{name:"dynamic-img",rawName:"v-dynamic-img",value:e.document.thumbnail_80,expression:"document.thumbnail_80"}],staticClass:"document-image",attrs:{width:"80",height:"80",src:"data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs="}})]:e.document.isPrivate?[n("div",{staticClass:"document-platform-icon"},[n("i",{staticClass:"uk-icon-lock"})])]:[e.document.hasThumbnail?n("img",{directives:[{name:"dynamic-img",rawName:"v-dynamic-img",value:e.document.thumbnail_80,expression:"document.thumbnail_80"}],staticClass:"document-image",attrs:{width:"80",height:"80",src:"data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs="}}):e._e(),e._v(" "),n("div",{staticClass:"document-platform-icon"},[n("i",{class:"uk-icon-file-"+e.document.icon+"-o"})])]:[n("picture",[n("source",{attrs:{srcset:e.document.thumbnail_80+".webp",type:"image/webp"}}),e._v(" "),n("img",{staticClass:"document-image",attrs:{width:"80",height:"80",loading:"lazy",src:e.document.thumbnail_80}})])],e._v(" "),e.drawerName?[n("input",{attrs:{type:"hidden",name:e.drawerName+"["+e.index+"]"},domProps:{value:e.document.id}})]:e._e(),e._v(" "),n("div",{staticClass:"document-links"},[n("ajax-link",{staticClass:"uk-button document-link uk-button-mini",attrs:{href:e.document.editUrl+e.getReferer()}},[n("i",{staticClass:"uk-icon-rz-pencil"})]),n("a",{staticClass:"uk-button uk-button-mini document-link uk-button-danger rz-no-ajax-link",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.onRemoveItemButtonClick()}}},[n("i",{staticClass:"uk-icon-rz-trash-o"})])],1),e._v(" "),e.document.isEmbed?[n("div",{staticClass:"document-mime-type"},[e._v(e._s(e.document.embedPlatform))]),e._v(" "),n("div",{staticClass:"document-platform-icon"},[n("i",{class:"uk-icon-rz-"+e.document.icon})])]:[n("div",{staticClass:"document-mime-type"},[e._v(e._s(e.shortMimeType))])],e._v(" "),n("a",{staticClass:"uk-button uk-button-mini link-button",attrs:{"data-document-widget-link-document":"",href:"#"}},[n("div",{staticClass:"link-button-inner"},[n("i",{staticClass:"uk-icon-rz-plus"})])])],2),e._v(" "),n("div",{staticClass:"document-name"},[e._v(e._s(e.filename))])])]):e._e()])},staticRenderFns:[]};t.default=i},WEen:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={render:function(){var e=this,t=e.$createElement;return(e._self._c||t)("drawer-item",{attrs:{item:e.item,index:e.index,"drawer-name":e.drawerName,"is-item-explorer":e.isItemExplorer,"parent-name":e.item.nodeName?e.item.nodeName:"",name:e.item.name?e.item.name:"","edit-item":e.item.nodesEditPage,"add-item":e.addItem,"remove-item":e.removeItem}})},staticRenderFns:[]};t.default=i},WGNA:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("7APs"),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,function(){return i[e]})}(o);var a=n("Zfec"),s=n.n(a),l=n("/4AN")(r.a,s.a,!1,null,null,null);t.default=l.exports},WdQ1:function(e,t,n){(e.exports=n("lcwS")(!1)).push([e.i,"\n.document-preview-widget {\n position: fixed;\n width: 100%;\n height: 100%;\n z-index: 99999;\n top: 0;\n left: 0;\n}\n.document-preview-widget__wrapper {\n position: absolute;\n width: 100%;\n height: 100%;\n background: rgba(0, 0, 0, 0.5);\n}\n.document-preview-widget__information {\n position: absolute;\n top: 10px;\n right: 10px;\n height: 31px;\n line-height: 30px;\n font-size: 12px;\n text-align: left;\n padding: 0 15px;\n border-radius: 16px;\n color: #7d7d7d;\n background: #000;\n box-shadow: 0 4px 15px rgba(0, 0, 0, 0.31);\n}\n.document-preview-widget__information .info,\n .document-preview-widget__information .close {\n display: inline-block;\n}\n.document-preview-widget__information .info:before,\n .document-preview-widget__information .close:before {\n display: inline-block;\n content: ' ';\n height: 20px;\n width: 1px;\n background: #000;\n margin: 0 10px;\n position: relative;\n border-left: 1px solid #2d2d2d;\n top: 5px;\n}\n.document-preview-widget__information .info:first-of-type:before,\n .document-preview-widget__information .close:first-of-type:before {\n display: none;\n}\n.document-preview-widget__information .close {\n font-size: 15px;\n cursor: pointer;\n}\n.document-preview-widget__information .close i {\n transition: all 0.3s ease-out;\n}\n.document-preview-widget__information .close:hover i {\n color: #b0b0b0;\n}\n.document-preview-widget__container {\n position: absolute;\n top: 50%;\n left: 50%;\n max-width: 80vw;\n max-height: 80vh;\n width: auto;\n height: auto;\n display: inline-block;\n -webkit-transform: translateX(-50%) translateY(-50%);\n transform: translateX(-50%) translateY(-50%);\n text-align: center;\n box-shadow: 0 0 320px rgba(0, 0, 0, 0.7);\n background: #dadada;\n}\n.document-preview-widget__container > div {\n height: 100%;\n}\n.document-preview-widget__container.hasNoPreview.isVideo {\n position: relative;\n width: auto;\n height: auto;\n}\n.document-preview-widget__container.hasNoPreview.isVideo .document-preview-widget__preview {\n position: relative;\n}\n.document-preview-widget__container.isSvg {\n position: relative;\n width: auto;\n height: auto;\n}\n.document-preview-widget__container.isSvg .document-preview-widget__preview {\n position: relative;\n width: 500px;\n height: 500px;\n pointer-events: none;\n}\n.document-preview-widget__container.isSvg object,\n .document-preview-widget__container.isPdf object {\n width: 100%;\n height: 100%;\n}\n.document-preview-widget__container.isPdf {\n width: 80vw;\n height: 80vh;\n background: #000;\n}\n.document-preview-widget object,\n .document-preview-widget iframe,\n .document-preview-widget video,\n .document-preview-widget img {\n width: auto;\n height: auto;\n max-width: 80vw;\n max-height: 80vh;\n}\n.document-preview-widget iframe {\n min-width: 640px;\n min-height: 360px;\n}\n.document-preview-widget__message {\n position: absolute;\n left: 50%;\n top: 50%;\n -webkit-transform: translateY(-50%) translateX(-50%);\n transform: translateY(-50%) translateX(-50%);\n background: #1a1a1a;\n padding-left: 20px;\n padding-right: 20px;\n height: 43px;\n border-radius: 25px;\n color: #b3b3b3;\n}\n",""])},XEtd:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){return e&&e.__esModule?e:{default:e}}(n("0iPh"));t.default={bind:function(e,t){var n=new Image;n.src=t.value,n.onload=function(){e.src=t.value,(0,i.default)(e).css("opacity",0).animate({opacity:1},1e3)}}}},XSsB:function(e,t,n){(e.exports=n("lcwS")(!1)).push([e.i,"\n.new-tag-container[data-v-528b9f0b],\n.infos[data-v-528b9f0b] {\n flex: 1;\n}\n.infos[data-v-528b9f0b] {\n font-size: 12px;\n}\n.new-tag-container[data-v-528b9f0b]:hover {\n cursor: pointer;\n}\n.new-tag-container:hover .button[data-v-528b9f0b] {\n background-color: #171717;\n color: #707070;\n}\n.new-tag-container:hover .new-tag[data-v-528b9f0b] {\n background-color: #3f3f3f;\n}\n.button[data-v-528b9f0b] {\n width: 40px;\n height: 40px;\n line-height: 40px;\n text-align: center;\n border: 0;\n border-radius: 0 3px 3px 0;\n background-color: #0a0a0a;\n color: #575757;\n transition: all 0.25s ease-out;\n float: right;\n}\n.button i[data-v-528b9f0b] {\n position: relative;\n top: 2px;\n}\n.new-tag[data-v-528b9f0b] {\n float: right;\n height: 40px;\n border-radius: 0;\n font-size: 12px;\n line-height: 40px;\n font-weight: 600;\n overflow: hidden;\n margin: 0;\n padding: 7px 0 6px 15px;\n background: #4c4c4c;\n width: 182px;\n box-sizing: border-box;\n border-left: 4px solid #000;\n transition: all 0.25s ease-out;\n}\n.new-tag .parent-name[data-v-528b9f0b] {\n height: 12px;\n font-size: 8px;\n text-transform: uppercase;\n display: block;\n line-height: 11px;\n color: rgba(0, 0, 0, 0.6);\n letter-spacing: .07em;\n font-weight: 700;\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n margin: 0;\n padding-right: 10px;\n}\n.new-tag .name[data-v-528b9f0b] {\n color: #888;\n line-height: 16px;\n display: block;\n padding-right: 10px;\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n}\n",""])},XTd8:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("KFYC"),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,function(){return i[e]})}(o);var a=n("BxOs"),s=n.n(a);var l=function(e){n("T9Rr")},u=n("/4AN")(r.a,s.a,!1,l,null,null);t.default=u.exports},Xatb:function(e,t,n){var i=n("XSsB");"string"==typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);n("X/Wc")("0d51a618",i,!0,{})},XeN5:function(e,t,n){(e.exports=n("lcwS")(!1)).push([e.i,"\n.blanchette-editor[data-v-0f29ff50] {\n margin-bottom: 25px;\n}\n.canvas[data-v-0f29ff50] {\n position: relative;\n width: 100%;\n height: 100%;\n}\n.spinner-container[data-v-0f29ff50] {\n position: absolute;\n z-index: 5;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n background: rgba(255, 255, 255, 0.5);\n}\n.editor[data-v-0f29ff50] {\n background: #eee;\n height: 100%;\n overflow: hidden;\n}\n.editor > img[data-v-0f29ff50] {\n display: block;\n max-width: 100%;\n max-height: 100%;\n margin: auto;\n vertical-align: middle;\n}\n",""])},Xmk5:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("a",{staticClass:"widget-explorer-logo rz-no-ajax-link",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.onClick(t)}}},[n("i",{class:e.icon}),e._v(" "),e.filterExplorerSelectedItems?n("span",{staticClass:"uk-badge uk-badge-notification"},[e._v("1")]):e._e()])},staticRenderFns:[]};t.default=i},Xu3G:function(e,t){e.exports=UIkit},YM2E:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("si9I"),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,function(){return i[e]})}(o);var a=n("Xmk5"),s=n.n(a),l=n("/4AN")(r.a,s.a,!1,null,null,null);t.default=l.exports},YstR:function(e,t,n){"use strict"; +/*! markdown-it-footnote 3.0.0 https://github.com//markdown-it/markdown-it-footnote @license MIT */!function(n){"object"===(0,s.default)(t)&&void 0!==e?e.exports=n():(r=[],void 0===(o="function"==typeof(i=n)?i.apply(t,r):i)||(e.exports=o))}(function(){return function e(t,n,i){function r(s,l){if(!n[s]){if(!t[s]){if(!l&&("function"==typeof a&&a))return a(s,!0);if(o)return o(s,!0);var u=new Error("Cannot find module '"+s+"'");throw u.code="MODULE_NOT_FOUND",u}var c=n[s]={exports:{}};t[s][0].call(c.exports,function(e){var n=t[s][1][e];return r(n||e)},c,c.exports,e,t,n,i)}return n[s].exports}for(var o="function"==typeof a&&a,s=0;s0&&(r+=":"+e[t].meta.subId);var o="";return"string"==typeof i.docId&&(o="-"+i.docId+"-"),o+r}function r(e,t){var n=Number(e[t].meta.id+1).toString();return e[t].meta.subId>0&&(n+=":"+e[t].meta.subId),"["+n+"]"}function o(e,t,n,i,r){var o=r.rules.footnote_anchor_name(e,t,n,i,r);return''+r.rules.footnote_caption(e,t,n,i,r)+""}function a(e,t,n){return(n.xhtmlOut?'
    \n':'
    \n')+'
    \n
      \n'}function s(){return"
    \n
    \n"}function l(e,t,n,i,r){return'
  • '}function u(){return"
  • \n"}function c(e,t,n,i,r){return' ↩︎'}t.exports=function(e){var t=e.helpers.parseLinkLabel,n=e.utils.isSpace;e.renderer.rules.footnote_ref=o,e.renderer.rules.footnote_block_open=a,e.renderer.rules.footnote_block_close=s,e.renderer.rules.footnote_open=l,e.renderer.rules.footnote_close=u,e.renderer.rules.footnote_anchor=c,e.renderer.rules.footnote_caption=r,e.renderer.rules.footnote_anchor_name=i,e.block.ruler.before("reference","footnote_def",function(e,t,i,r){var o,a,s,l,u,c,d,h,f,p,m,g=e.bMarks[t]+e.tShift[t],v=e.eMarks[t];if(g+4>v)return!1;if(91!==e.src.charCodeAt(g))return!1;if(94!==e.src.charCodeAt(g+1))return!1;for(u=g+2;u=v||58!==e.src.charCodeAt(++u))return!1;if(r)return!0;for(u++,e.env.footnotes||(e.env.footnotes={}),e.env.footnotes.refs||(e.env.footnotes.refs={}),c=e.src.slice(g+2,u-2),e.env.footnotes.refs[":"+c]=-1,(d=new e.Token("footnote_reference_open","",1)).meta={label:c},d.level=e.level++,e.tokens.push(d),o=e.bMarks[t],a=e.tShift[t],s=e.sCount[t],l=e.parentType,m=u,h=f=e.sCount[t]+u-(e.bMarks[t]+e.tShift[t]);u=s||94!==e.src.charCodeAt(l)||91!==e.src.charCodeAt(l+1)||(i=l+2,(r=t(e,l+1))<0||(n||(e.env.footnotes||(e.env.footnotes={}),e.env.footnotes.list||(e.env.footnotes.list=[]),o=e.env.footnotes.list.length,e.md.inline.parse(e.src.slice(i,r),e.md,e.env,a=[]),e.push("footnote_ref","",0).meta={id:o},e.env.footnotes.list[o]={tokens:a}),e.pos=r+1,e.posMax=s,0)))}),e.inline.ruler.after("footnote_inline","footnote_ref",function(e,t){var n,i,r,o,a=e.posMax,s=e.pos;if(s+3>a)return!1;if(!e.env.footnotes||!e.env.footnotes.refs)return!1;if(91!==e.src.charCodeAt(s))return!1;if(94!==e.src.charCodeAt(s+1))return!1;for(i=s+2;i=a||(i++,n=e.src.slice(s+2,i-1),void 0===e.env.footnotes.refs[":"+n]||(t||(e.env.footnotes.list||(e.env.footnotes.list=[]),e.env.footnotes.refs[":"+n]<0?(r=e.env.footnotes.list.length,e.env.footnotes.list[r]={label:n,count:0},e.env.footnotes.refs[":"+n]=r):r=e.env.footnotes.refs[":"+n],o=e.env.footnotes.list[r].count,e.env.footnotes.list[r].count++,e.push("footnote_ref","",0).meta={id:r,subId:o,label:n}),e.pos=i,e.posMax=a,0)))}),e.core.ruler.after("inline","footnote_tail",function(e){var t,n,i,r,o,a,s,l,u,c,d=!1,h={};if(e.env.footnotes&&(e.tokens=e.tokens.filter(function(e){return"footnote_reference_open"===e.type?(d=!0,u=[],c=e.meta.label,!1):"footnote_reference_close"===e.type?(d=!1,h[":"+c]=u,!1):(d&&u.push(e),!d)}),e.env.footnotes.list)){for(a=e.env.footnotes.list,s=new e.Token("footnote_block_open","",1),e.tokens.push(s),t=0,n=a.length;t0?a[t].count:1,i=0;i0?e.data[0]:null}).catch(function(e){throw new Error(e)})}}]),e}();t.default=new s},"2byC":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,r=s(n("Xos8")),o=s(n("lS9x")),a=n("xHmi");function s(e){return e&&e.__esModule?e:{default:e}}var l={nodeSourceSearchEnableFocus:function(e){(0,e.commit)(a.NODES_SEARCH_ENABLE_FOCUS)},nodeSourceSearchDisableFocus:function(e){(0,e.commit)(a.NODES_SEARCH_DISABLE_FOCUS)},nodesSourceSearchUpdate:function(e){var t=e.commit,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";!n||n.length<=1?t(a.NODES_SEARCH_RESET):(t(a.NODES_SEARCH_REQUEST,{searchTerms:n}),o.default.getNodesSourceFromSearch(n).then(function(e){t(a.NODES_SEARCH_SUCCESS,{items:e})}).catch(function(){t(a.NODES_SEARCH_FAILED)}))}},u=(i={},(0,r.default)(i,a.NODES_SEARCH_ENABLE_FOCUS,function(e){e.isFocus=!0}),(0,r.default)(i,a.NODES_SEARCH_DISABLE_FOCUS,function(e){e.isFocus=!1}),(0,r.default)(i,a.NODES_SEARCH_REQUEST,function(e,t){var n=t.searchTerms;e.searchTerms=n}),(0,r.default)(i,a.NODES_SEARCH_SUCCESS,function(e,t){var n=t.items;e.items=n}),(0,r.default)(i,a.NODES_SEARCH_FAILED,function(e){e.items=[]}),(0,r.default)(i,a.NODES_SEARCH_RESET,function(e){e.items=[]}),(0,r.default)(i,a.KEYBOARD_EVENT_ESCAPE,function(e){e.isFocus=!1}),i);t.default={state:{searchTerms:null,items:[],isFocus:!1,isOpen:!1},getters:{},actions:l,mutations:u}},"2pAm":function(e,t,n){"use strict";!function(e){e.fn.tagEditorInput=function(){var t=" ",n=e(this),i=parseInt(n.css("fontSize")),r=e("").css({position:"absolute",top:-9999,left:-9999,width:"auto",fontSize:n.css("fontSize"),fontFamily:n.css("fontFamily"),fontWeight:n.css("fontWeight"),letterSpacing:n.css("letterSpacing"),whiteSpace:"nowrap"});return r.insertAfter(n),n.bind("keyup keydown focus",function(){if(t!==(t=n.val())){r.text(t);var e=r.width()+i;20>e&&(e=20),e!=n.width()&&n.width(e)}})},e.fn.tagEditor=function(t,n,r){function o(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}var a,s=e.extend({},e.fn.tagEditor.defaults,t);if(s.dregex=new RegExp("["+s.delimiter.replace("-","-")+"]","g"),"string"==typeof t){var l=[];return this.each(function(){var i=e(this),o=i.data("options"),a=i.next(".tag-editor");if("getTags"==t)l.push({field:i[0],editor:a,tags:a.data("tags")});else if("addTag"==t){if(o.maxTags&&a.data("tags").length>=o.maxTags)return!1;e('
  •  '+o.delimiter[0]+'
  • ').appendTo(a).find(".tag-editor-tag").html('').addClass("active").find("input").val(n).blur(),r?e(".placeholder",a).remove():a.click()}else"removeTag"==t?(e(".tag-editor-tag",a).filter(function(){return e(this).text()==n}).closest("li").find(".tag-editor-delete").click(),r||a.click()):"destroy"==t&&i.removeClass("tag-editor-hidden-src").removeData("options").off("focus.tag-editor").next(".tag-editor").remove()}),"getTags"==t?l:this}return window.getSelection&&e(document).off("keydown.tag-editor").on("keydown.tag-editor",function(t){if(8==t.which||46==t.which||t.ctrlKey&&88==t.which){try{var n=getSelection(),r="BODY"==document.activeElement.tagName?e(n.getRangeAt(0).startContainer.parentNode).closest(".tag-editor"):0}catch(t){r=0}if(n.rangeCount>0&&r&&r.length){var o=[],a=n.toString().split(r.prev().data("options").dregex);for(i=0;i').insertAfter(t);t.addClass("tag-editor-hidden-src").data("options",s).on("focus.tag-editor",function(){i.click()}),i.append('
  •  
  • ');var r,l,u='
  •  '+s.delimiter[0]+'
  • ';function c(){!s.placeholder||n.length||e(".deleted, .placeholder, input",i).length||i.append('
  • '+s.placeholder+"
  • ")}function d(r){var o=n.toString();n=e(".tag-editor-tag:not(.deleted)",i).map(function(t,n){var i=e.trim(e(this).hasClass("active")?e(this).find("input").val():e(n).text());if(i)return i}).get(),i.data("tags",n),t.val(n.join(s.delimiter[0])),r||o!=n.toString()&&s.onChange(t,i,n),c()}function h(r){for(var a,l=r.closest("li"),u=r.val().replace(/ +/," ").split(s.dregex),c=r.data("old_tag"),h=n.slice(0),f=!1,p=0;p
     '+s.delimiter[0]+'
    '+o(m)+'
    '),s.maxTags&&h.length>=s.maxTags)){f=!0;break}r.attr("maxlength",s.maxLength).removeData("old_tag").val(""),f?r.blur():r.focus(),d()}i.click(function(t,n){var r,o,l=99999;if(!window.getSelection||""==getSelection())return s.maxTags&&i.data("tags").length>=s.maxTags?(i.find("input").blur(),!1):(a=!0,e("input:focus",i).blur(),!!a&&(a=!0,e(".placeholder",i).remove(),n&&n.length?o="before":e(".tag-editor-tag",i).each(function(){var i=e(this),a=i.offset(),s=a.left,u=a.top;t.pageY>=u&&t.pageY<=u+i.height()&&(t.pageX1){var o=e(this).closest("li"),a=o.find(".tag-editor-tag");return!1!==s.beforeTagDelete(t,i,n,a.text())&&(a.addClass("deleted").animate({width:0},s.animateDelete,function(){o.remove(),c()}),d(),!1)}}),i.on("click",".tag-editor-tag",function(t){if(s.clickDelete&&(t.ctrlKey||t.which>1))return!1;if(!e(this).hasClass("active")){var n=e(this).text(),r=Math.abs((e(this).offset().left-t.pageX)/e(this).width()),a=parseInt(n.length*r),l=e(this).html('').addClass("active").find("input");if(l.data("old_tag",n).tagEditorInput().focus().caret(a),s.autocomplete){var u=e.extend({},s.autocomplete),c="select"in u?s.autocomplete.select:"";u.select=function(t,n){c&&c(t,n),setTimeout(function(){i.trigger("click",[e(".active",i).find("input").closest("li").next("li").find(".tag-editor-tag")])},20)},l.autocomplete(u)}}return!1}),i.on("blur","input",function(r){r.stopPropagation();var l,u=e(this),f=u.data("old_tag"),p=e.trim(u.val().replace(/ +/," ").replace(s.dregex,s.delimiter[0]));if(p){if(p.indexOf(s.delimiter[0])>=0)return void h(u);if(p!=f)if(s.forceLowercase&&(p=p.toLowerCase()),l=s.beforeTagSave(t,i,n,f,p),p=l||p,!1===l){if(f)return u.val(f).focus(),a=!1,void d();try{u.closest("li").remove()}catch(r){}f&&d()}else s.removeDuplicates&&e(".tag-editor-tag:not(.active)",i).each(function(){e(this).text()==p&&e(this).closest("li").remove()})}else{if(f&&!1===s.beforeTagDelete(t,i,n,f))return u.val(f).focus(),a=!1,void d();try{u.closest("li").remove()}catch(r){}f&&d()}u.parent().html(o(p)).removeClass("active"),p!=f&&d(),c()}),i.on("paste","input",function(t){e(this).removeAttr("maxlength"),r=e(this),setTimeout(function(){h(r)},30)}),i.on("keypress","input",function(t){s.delimiter.indexOf(String.fromCharCode(t.which))>=0&&(l=e(this),setTimeout(function(){h(l)},20))}),i.on("keydown","input",function(n){var r=e(this);if((37==n.which||!s.autocomplete&&38==n.which)&&!r.caret()||8==n.which&&!r.val())return(o=r.closest("li").prev("li").find(".tag-editor-tag")).length?o.click().find("input").caret(-1):!r.val()||s.maxTags&&i.data("tags").length>=s.maxTags||e(u).insertBefore(r.closest("li")).find(".tag-editor-tag").click(),!1;if((39==n.which||!s.autocomplete&&40==n.which)&&r.caret()==r.val().length)return(a=r.closest("li").next("li").find(".tag-editor-tag")).length?a.click().find("input").caret(0):r.val()&&i.click(),!1;if(9==n.which){if(n.shiftKey){var o;if((o=r.closest("li").prev("li").find(".tag-editor-tag")).length)o.click().find("input").caret(0);else{if(!r.val()||s.maxTags&&i.data("tags").length>=s.maxTags)return t.attr("disabled","disabled"),void setTimeout(function(){t.removeAttr("disabled")},30);e(u).insertBefore(r.closest("li")).find(".tag-editor-tag").click()}return!1}var a;if((a=r.closest("li").next("li").find(".tag-editor-tag")).length)a.click().find("input").caret(0);else{if(!r.val())return;i.click()}return!1}if(!(46!=n.which||e.trim(r.val())&&r.caret()!=r.val().length))return(a=r.closest("li").next("li").find(".tag-editor-tag")).length?a.click().find("input").caret(0):r.val()&&i.click(),!1;if(13==n.which)return i.trigger("click",[r.closest("li").next("li").find(".tag-editor-tag")]),s.maxTags&&i.data("tags").length>=s.maxTags&&i.find("input").blur(),!1;if(36!=n.which||r.caret()){if(35==n.which&&r.caret()==r.val().length)i.find(".tag-editor-tag").last().click();else if(27==n.which)return r.val(r.data("old_tag")?r.data("old_tag"):"").blur(),!1}else i.find(".tag-editor-tag").first().click()});for(var f=s.initialTags.length?s.initialTags:t.val().split(s.dregex),p=0;p=s.maxTags);p++){var m=e.trim(f[p].replace(/ +/," "));m&&(s.forceLowercase&&(m=m.toLowerCase()),n.push(m),i.append('
  •  '+s.delimiter[0]+'
    '+o(m)+'
  • '))}d(!0),s.sortable&&e.fn.sortable&&i.sortable({distance:5,cancel:".tag-editor-spacer, input",helper:"clone",update:function(){d()}})})},e.fn.tagEditor.defaults={initialTags:[],maxTags:0,maxLength:50,delimiter:",;",placeholder:"",forceLowercase:!0,removeDuplicates:!0,clickDelete:!1,animateDelete:175,sortable:!0,autocomplete:null,onChange:function(){},beforeTagSave:function(){},beforeTagDelete:function(){}}}(jQuery)},"2y8T":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDocumentsByIds=function(e){var t=e.ids,n=void 0===t?[]:t,r={_token:window.RozierRoot.ajaxToken,_action:"documentsByIds",ids:n};return(0,i.default)({method:"GET",url:window.RozierRoot.routes.documentsAjaxByArray,params:r}).then(function(e){return void 0!==e.data&&e.data.documents?{items:e.data.documents,trans:e.data.trans}:null}).catch(function(e){throw new Error(e.response.data.humanMessage)})},t.getDocuments=function(e){var t=e.searchTerms,n=e.filters,r=e.filterExplorerSelection,o=e.moreData,a={_token:window.RozierRoot.ajaxToken,_action:"toggleExplorer",search:t,page:1};r&&r.id&&(a.folderId=r.id);o&&(a.page=n?n.nextPage:1);return(0,i.default)({method:"GET",url:window.RozierRoot.routes.documentsAjaxExplorer,params:a}).then(function(e){return void 0!==e.data&&e.data.documents?{items:e.data.documents,filters:e.data.filters,trans:e.data.trans}:{}}).catch(function(e){throw new Error(e)})},t.setDocument=function(e){return i.default.post(window.location.href,e,{headers:{Accept:"application/json"}})};var i=function(e){return e&&e.__esModule?e:{default:e}}(n("dZBD"))},"3T/f":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={render:function(){var e=this,t=e.$createElement;return(e._self._c||t)("drawer-item",{attrs:{item:e.item,index:e.index,"drawer-name":e.drawerName,"is-item-explorer":e.isItemExplorer,name:e.item.name,"parent-name":e.item.countFields,"edit-item":e.item.customFormsEditPage,"add-item":e.addItem,"remove-item":e.removeItem}})},staticRenderFns:[]};t.default=i},"3Z0C":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a(n("dACh")),r=a(n("jx4H")),o=a(n("0iPh"));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(){function e(){(0,i.default)(this,e),this.$input=(0,o.default)(".rz-tag-autocomplete").eq(0),this.initialUrl=this.$input.attr("data-get-url"),this.placeholder=this.$input.attr("placeholder"),this.initialTags=[],this.init()}return(0,r.default)(e,[{key:"init",value:function(){var e=this;void 0!==this.initialUrl&&""!==this.initialUrl?o.default.getJSON(this.initialUrl,{_action:"getNodeTags",_token:window.Rozier.ajaxToken},function(t){e.initialTags=t,e.initAutocomplete()}):this.initAutocomplete()}},{key:"unbind",value:function(){}},{key:"split",value:function(e){return e.split(/,\s*/)}},{key:"extractLast",value:function(e){return this.split(e).pop()}},{key:"initAutocomplete",value:function(){var e=this;this.$input.tagEditor({autocomplete:{delay:.3,position:{collision:"flip"},source:function(t,n){o.default.getJSON(window.Rozier.routes.tagAjaxSearch,{_action:"tagAutocomplete",_token:window.Rozier.ajaxToken,search:e.extractLast(t.term)},n)}},placeholder:this.placeholder,initialTags:this.initialTags,animateDelete:0})}}]),e}();t.default=s},"3aBW":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a(n("dACh")),r=a(n("jx4H")),o=a(n("0iPh"));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(){function e(){(0,i.default)(this,e),this.$containers=(0,o.default)(".node-statuses, .node-actions"),this.$icon=(0,o.default)(".node-status header i"),this.$inputs=this.$containers.find('input[type="checkbox"], input[type="radio"]'),this.$item=this.$containers.find(".node-statuses-item"),this.locked=!1,this.itemClick=this.itemClick.bind(this),this.containerEnter=this.containerEnter.bind(this),this.containerLeave=this.containerLeave.bind(this),this.onChange=this.onChange.bind(this),this.init()}return(0,r.default)(e,[{key:"init",value:function(){this.$item.off("click",this.itemClick),this.$item.on("click",this.itemClick),this.$containers.on("mouseenter",this.containerEnter),this.$containers.on("mouseleave",this.containerLeave),this.$inputs.off("change",this.onChange),this.$inputs.on("change",this.onChange),this.$containers.find(".rz-boolean-checkbox").bootstrapSwitch({size:"small",onSwitchChange:this.onChange})}},{key:"containerEnter",value:function(e){e.stopPropagation();var t=(0,o.default)(e.currentTarget),n=t.find("ul, nav").eq(0),i=t.height(),r=n.height(),a=t.offset().top;window.innerHeight-1)&&"SELECT"===t.tagName}}}]),e}();t.default=s},"7hA0":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,r=f(n("Xos8")),o=f(n("mYpx")),a=f(n("aIIw")),s=f(n("kcQR")),l=f(n("T4f3")),u=f(n("lRwf")),c=f(n("lS9x")),d=n("xHmi"),h=f(n("uC1N"));function f(e){return e&&e.__esModule?e:{default:e}}var p={searchTerms:"",isOpen:!1,isLoading:!1,isLoadingMore:!1,items:[],trans:{moreItems:""},filters:{},entity:null,error:"",currentListingView:null,isFilterEnable:null,filterExplorerIcon:"uk-icon-cog",widgetView:null},m=(0,l.default)({},p),g={explorerOpen:function(e,t){var n=this,i=e.commit,r=e.dispatch,o=t.entity;return(0,s.default)(a.default.mark(function e(){return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r("filterExplorerClose"),i(d.EXPLORER_RESET),i(d.EXPLORER_OPEN,{entity:o}),e.next=5,r("explorerMakeSearch");case 5:i(d.EXPLORER_IS_LOADED);case 6:case"end":return e.stop()}},e,n)}))()},explorerClose:function(e){var t=e.commit,n=e.dispatch;n("filterExplorerClose"),n("filterExplorerReset"),t(d.EXPLORER_RESET),t(d.EXPLORER_CLOSE)},explorerToggle:function(e){var t=e.dispatch;e.state.isOpen?t("explorerClose"):t("explorerOpen")},explorerResetSearchTerms:function(e){var t=e.commit,n=e.state,i=e.dispatch;""===n.searchTerms?t(d.EXPLORER_UPDATE_SEARCH_TERMS,{searchTerms:""}):i("explorerUpdateSearch",{searchTerms:""})},explorerUpdateSearch:function(e,t){var n=e.commit,i=e.dispatch,r=t.searchTerms;n(d.EXPLORER_UPDATE_SEARCH_TERMS,{searchTerms:r}),i("explorerMakeSearch")},explorerMakeSearch:function(e){var t=e.commit,n=e.state,i=e.getters,r=n.entity,o=n.searchTerms,a=i.getDrawerFilters,s=n.filters,l=i.getFilterExplorerSelectedItem,u=n.isLoadingMore;return t(d.EXPLORER_REQUEST),c.default.getExplorerItems({entity:r,searchTerms:o,preFilters:a,filters:s,filterExplorerSelection:l,moreData:u}).then(function(e){t(d.EXPLORER_SUCCESS,{result:e})}).catch(function(e){console.error(e),t(d.EXPLORER_FAILED,{error:e})})},explorerLoadMore:function(e){var t=this,n=e.commit,i=e.dispatch;return(0,s.default)(a.default.mark(function e(){return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n(d.EXPLORER_LOAD_MORE),e.next=3,i("explorerMakeSearch");case 3:n(d.EXPLORER_LOAD_MORE_SUCCESS);case 4:case"end":return e.stop()}},e,t)}))()}},v=(i={},(0,r.default)(i,d.EXPLORER_REQUEST,function(e){e.isLoadingMore||(e.isLoading=!0)}),(0,r.default)(i,d.EXPLORER_UPDATE_SEARCH_TERMS,function(e,t){var n=t.searchTerms;e.searchTerms=n}),(0,r.default)(i,d.EXPLORER_SUCCESS,function(e,t){var n=t.result;e.isLoading=!1,e.isLoadingMore?e.items=[].concat((0,o.default)(e.items),(0,o.default)(n.items)):e.items=n.items,e.filters=n.filters}),(0,r.default)(i,d.EXPLORER_LOAD_MORE,function(e){e.isLoadingMore=!0}),(0,r.default)(i,d.EXPLORER_LOAD_MORE_SUCCESS,function(e){e.isLoadingMore=!1}),(0,r.default)(i,d.FILTER_EXPLORER_UPDATE,function(e){e.filters={}}),(0,r.default)(i,d.EXPLORER_RESET,function(e){for(var t in e)e.hasOwnProperty(t)&&u.default.set(e,t,p[t])}),(0,r.default)(i,d.EXPLORER_FAILED,function(e){e.isLoading=!1,e.isLoadingMore=!1,e.error="Request failed"}),(0,r.default)(i,d.EXPLORER_OPEN,function(e,t){var n=t.entity;e.isOpen=!0,e.isLoading=!0,e.entity=n,e.trans.moreItems="",e.widgetView=h.default.getWidgetView(n);var i=h.default.getState(n);for(var r in i)e.hasOwnProperty(r)&&u.default.set(e,r,i[r])}),(0,r.default)(i,d.EXPLORER_IS_LOADED,function(e){e.isLoading=!1}),(0,r.default)(i,d.EXPLORER_CLOSE,function(e){e.isOpen=!1,e.isLoading=!1}),(0,r.default)(i,d.KEYBOARD_EVENT_ESCAPE,function(){m.isOpen=!1}),i);t.default={state:m,getters:{getExplorerEntity:function(e){return e.entity},getExplorerSearchTerms:function(e){return e.searchTerms}},actions:g,mutations:v}},"8DOo":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getCustomFormsByIds=function(e){var t=e.ids,n=void 0===t?[]:t,r=(e.filters,{_token:window.RozierRoot.ajaxToken,ids:n});return(0,i.default)({method:"GET",url:window.RozierRoot.routes.customFormsAjaxByArray,params:r}).then(function(e){return void 0!==e.data&&e.data.forms?{items:e.data.forms}:null}).catch(function(e){throw new Error(e.response.data.humanMessage)})},t.getCustomForms=function(e){var t=e.searchTerms,n=e.filters,r=e.moreData,o={_token:window.RozierRoot.ajaxToken,_action:"toggleExplorer",search:t,page:1};r&&(o.page=n?n.nextPage:1);return(0,i.default)({method:"GET",url:window.RozierRoot.routes.customFormsAjaxExplorer,params:o}).then(function(e){return void 0!==e.data&&e.data.customForms?{items:e.data.customForms,filters:e.data.filters}:{}}).catch(function(e){throw new Error(e)})};var i=function(e){return e&&e.__esModule?e:{default:e}}(n("dZBD"))},"8Wgj":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("xHmi");t.default={props:["title","href","typeColor"],methods:{onItemClick:function(e){window.Rozier.lazyload.onClick(e),this.$store.commit(i.KEYBOARD_EVENT_ESCAPE)}}}},"9NTV":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("en6P"),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,function(){return i[e]})}(o);var a=n("TFax"),s=n.n(a),l=n("/4AN")(r.a,s.a,!1,null,null,null);t.default=l.exports},"9QM9":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=s(n("T4f3")),r=s(n("CXfR")),o=n("SJI6"),a=s(n("O7VT"));function s(e){return e&&e.__esModule?e:{default:e}}t.default={data:function(){return{searchTerms:null}},computed:(0,i.default)({},(0,o.mapState)({items:function(e){return e.nodesSourceSearch.items},isFocus:function(e){return e.nodesSourceSearch.isFocus},isOpen:function(e){return e.nodesSourceSearch.isOpen}})),methods:(0,i.default)({},(0,o.mapActions)(["nodesSourceSearchUpdate","nodeSourceSearchEnableFocus","nodeSourceSearchDisableFocus"]),{enableFocus:(0,r.default)(function(){this.nodeSourceSearchEnableFocus()},50),disableFocus:(0,r.default)(function(){this.nodeSourceSearchDisableFocus()},500)}),watch:{searchTerms:(0,r.default)(function(e,t){this.nodesSourceSearchUpdate(e,t)},200),isFocus:function(){this.isFocus||this.$refs.searchTermsInput.blur()}},components:{AjaxLink:a.default}}},"9ZFY":function(e,t,n){var i=n("4z8m");"string"==typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);n("X/Wc")("143eea21",i,!0,{})},"9ttF":function(e,t){},"9wWa":function(e,t,n){"use strict";n("RGvG"),n("xlJi"),n("9ttF"),n("buA2"),n("rXYC"),n("2pAm"),n("LReI"),n("Triu"),n("g2gx"),n("KWrs"),n("YstR");var i=s(n("k+5J"));n("rhri"),n("aPDB"),n("Dyy6"),n("Dlui"),n("xQgR"),n("k+i+");var r=s(n("tQq4"));n("Krj7"),n("qqFR"),n("ggoL"),n("av7Y"),n("HeB0"),n("hCSc"),n("0cyU"),n("Emo7"),n("xKia"),n("A8sX");var o=s(n("0iPh")),a=s(n("SwUv"));function s(e){return e&&e.__esModule?e:{default:e}}window.CodeMirror=r.default,window.UIkit=i.default,window.Rozier=new a.default,(0,o.default)(document).ready(function(){window.Rozier.onDocumentReady()})},AKpR:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={render:function(){var e=this,t=e.$createElement;return(e._self._c||t)("drawer-item",{attrs:{item:e.item,index:e.index,"drawer-name":e.drawerName,"is-item-explorer":e.isItemExplorer,"parent-name":e.item.parent?e.item.parent.title:"","sub-parent-name":e.item.subparent?e.item.subparent.title:"",name:e.item.title?e.item.title:e.item.nodeName,"edit-item":e.item.nodesEditPage,"add-item":e.addItem,"remove-item":e.removeItem}})},staticRenderFns:[]};t.default=i},AcRm:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o(n("T4f3")),r=o(n("0iPh"));function o(e){return e&&e.__esModule?e:{default:e}}t.default={props:{id:{type:String,required:!0},url:{type:String,required:!0},clickable:{type:Boolean,default:!0},acceptedFileTypes:{type:String},thumbnailHeight:{type:Number,default:80},thumbnailWidth:{type:Number,default:80},showRemoveLink:{type:Boolean,default:!0},maxFileSizeInMB:{type:Number,default:64},maxNumberOfFiles:{type:Number,default:5},autoProcessQueue:{type:Boolean,default:!0},useFontAwesome:{type:Boolean,default:!1},headers:{type:Object},language:{type:Object},useCustomDropzoneOptions:{type:Boolean,default:!1},dropzoneOptions:{type:Object}},methods:{setOption:function(e,t){this.dropzone.options[e]=t},removeAllFiles:function(){this.dropzone.removeAllFiles(!0)},processQueue:function(){this.dropzone.processQueue()},removeFile:function(e){this.dropzone.removeFile(e)}},computed:{doneIcon:function(){return this.useFontAwesome?'':' done'},errorIcon:function(){return this.useFontAwesome?'':' error'}},mounted:function(){if(!this.$isServer){var e=n("ujpI"),t=document.getElementById(this.id);if(e.autoDiscover=!1,this.useCustomDropzoneOptions)this.dropzone=new e(t,this.dropzoneOptions);else{this.dropzone=new e(t,{clickable:this.clickable,method:"post",thumbnailWidth:this.thumbnailWidth,thumbnailHeight:this.thumbnailHeight,maxFiles:this.maxNumberOfFiles,maxFilesize:this.maxFileSizeInMB,uploadMultiple:!1,acceptedFiles:this.acceptedFileTypes,timeout:0,autoProcessQueue:this.autoProcessQueue,paramName:"form[attachment]",headers:(0,i.default)({_token:window.Rozier.ajaxToken},this.headers),dictDefaultMessage:this.language.dictDefaultMessage,dictCancelUpload:this.language.dictCancelUpload,dictCancelUploadConfirmation:this.language.dictCancelUploadConfirmation,dictFallbackMessage:this.language.dictFallbackMessage,dictFallbackText:this.language.dictFallbackText,dictFileTooBig:this.language.dictFileTooBig,dictInvalidFileType:this.language.dictInvalidFileType,dictMaxFilesExceeded:this.language.dictMaxFilesExceeded,dictRemoveFile:this.language.dictRemoveFile,dictRemoveFileConfirmation:this.language.dictRemoveFileConfirmation,dictResponseError:this.language.dictResponseError,error:function(e,t){var n=void 0;n=t.error?t.error:"Error",e.previewElement.classList.add("dz-error");for(var i=e.previewElement.querySelectorAll("[data-dz-errormessage]"),r=[],o=0,a=i.length;o'+this.language.dictDefaultMessage+"
    "),o.find(".dz-message").append('
    ')}var a=this;this.dropzone.on("thumbnail",function(e){a.$emit("vdropzone-thumbnail",e)}),this.dropzone.on("addedfile",function(e){a.$emit("vdropzone-file-added",e)}),this.dropzone.on("removedfile",function(e){a.$emit("vdropzone-removed-file",e)}),this.dropzone.on("success",function(e,t){if(a.$emit("vdropzone-success",e,t),e.previewElement){var n=(0,r.default)(e.previewElement);setTimeout(function(){n.fadeOut(500)},3e3)}}),this.dropzone.on("successmultiple",function(e,t){a.$emit("vdropzone-success-multiple",e,t)}),this.dropzone.on("error",function(e,t,n){a.$emit("vdropzone-error",e,t,n)}),this.dropzone.on("sending",function(e,t,n){a.$emit("vdropzone-sending",e,t,n),t.ontimeout=function(){console.error("Server Timeout")}}),this.dropzone.on("sendingmultiple",function(e,t,n){a.$emit("vdropzone-sending-multiple",e,t,n)}),this.dropzone.on("queuecomplete",function(e,t,n){a.$emit("vdropzone-queue-complete",e,t,n)})}},beforeDestroy:function(){this.dropzone.destroy()}}},Afu7:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){return e&&e.__esModule?e:{default:e}}(n("L3Vt"));t.getItemsByIds=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments[2];switch(e){case r.DOCUMENT_ENTITY:return o.getDocumentsByIds({ids:t,filters:n});case r.NODE_ENTITY:return a.getNodesByIds({ids:t,filters:n});case r.NODE_TYPE_ENTITY:return s.getNodeTypesByIds({ids:t,filters:n});case r.JOIN_ENTITY:return l.getJoinsByIds({ids:t,filters:n});case r.CUSTOM_FORM_ENTITY:return u.getCustomFormsByIds({ids:t,filters:n});case r.TAG_ENTITY:return c.getTagsByIds({ids:t,filters:n});case r.EXPLORER_PROVIDER_ENTITY:return d.getItemsByIds({ids:t,filters:n})}return i.default.reject(new Error("No type entity found"))};var r=n("EY70"),o=h(n("2y8T")),a=h(n("vfsJ")),s=h(n("O/s3")),l=h(n("m1Vf")),u=h(n("8DOo")),c=h(n("RfA7")),d=h(n("CpLN"));function h(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}},"B/NG":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){return e&&e.__esModule?e:{default:e}}(n("B2tc"));t.default={props:["item","trans","isItemExplorer","drawerName","index","removeItem","addItem"],components:{DrawerItem:i.default}}},B2tc:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("gk4s"),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,function(){return i[e]})}(o);var a=n("OPRf"),s=n.n(a),l=n("/4AN")(r.a,s.a,!1,null,null,null);t.default=l.exports},BIao:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("uHX/"),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,function(){return i[e]})}(o);var a=n("5OOr"),s=n.n(a),l=n("/4AN")(r.a,s.a,!1,null,null,null);t.default=l.exports},BLmM:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("eC0v"),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,function(){return i[e]})}(o);var a=n("FGN7"),s=n.n(a);var l=function(e){n("FsJq")},u=n("/4AN")(r.a,s.a,!1,l,"data-v-0f29ff50",null);t.default=u.exports},BYnw:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={props:{tagName:{required:!0,type:String},createTag:{required:!0,type:Function}},methods:{tagCreatorItemClick:function(){this.createTag({tagName:this.tagName})}}}},BxOs:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"fade"}},[e.isVisible&&e.document?n("div",{staticClass:"document-preview-widget"},[n("div",{staticClass:"document-preview-widget__wrapper",on:{click:function(t){t.preventDefault(),e.onClick(t)}}},[n("div",{staticClass:"document-preview-widget__information"},[n("div",{staticClass:"info"},[e._v("\n "+e._s(e.document.filename)+"\n ")]),e._v(" "),e.document.name!==e.document.filename?n("div",{staticClass:"info"},[e._v("\n "+e._s(e.document.name)+"\n ")]):e._e(),e._v(" "),e.document.embedPlatform?n("div",{staticClass:"info"},[e._v("\n "+e._s(e.document.embedPlatform)+"\n ")]):e._e(),e._v(" "),n("div",{staticClass:"close",on:{click:function(t){t.preventDefault(),e.closePreview(t)}}},[n("i",{staticClass:"uk-icon-times"})])]),e._v(" "),n("div",{staticClass:"document-preview-widget__container",class:e.containerClass},[n("div",{domProps:{innerHTML:e._s(e.document.preview_html)}})])])]):e._e()])},staticRenderFns:[]};t.default=i},"CS+6":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e.connected?e.healthChecked?e._e():n("warning-modal",{attrs:{title:e.translations.healthCheckedFailedTitle,closeable:!1,content:e.translations.healthCheckedFailedContent}}):n("warning-modal",{attrs:{title:e.translations.sessionExpireTitle,content:e.translations.sessionExpireContent,"link-label":e.translations.login,closeable:!0,"link-url":e.linkUrl}})],1)},staticRenderFns:[]};t.default=i},CpLN:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getItemsByIds=function(e){var t=e.ids,n=void 0===t?[]:t,r=e.filters,o={_token:window.RozierRoot.ajaxToken,ids:n,providerClass:r.providerClass};return(0,i.default)({method:"GET",url:window.RozierRoot.routes.providerAjaxByArray,params:o}).then(function(e){return void 0!==e.data&&e.data.items?{items:e.data.items}:null}).catch(function(e){throw new Error(e.response.data.humanMessage)})},t.getItems=function(e){var t=e.searchTerms,n=e.preFilters,o=e.filters,a=(e.filterExplorerSelection,e.moreData),s={_token:window.RozierRoot.ajaxToken,_action:"toggleExplorer",providerClass:n?n.providerClass:null,options:n?n.providerOptions:null,search:t,page:1};a&&(s.page=o?o.nextPage:1);return(0,i.default)({method:"GET",url:window.RozierRoot.routes.providerAjaxExplorer+"?"+r.default.stringify(s)}).then(function(e){return void 0!==e.data&&e.data.entities?{items:e.data.entities,filters:e.data.filters}:{}}).catch(function(e){throw new Error(e)})};var i=o(n("dZBD")),r=o(n("OFf3"));function o(e){return e&&e.__esModule?e:{default:e}}},DN71:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,r=u(n("Xos8")),o=u(n("EmLd")),a=n("xHmi"),s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n("Afu7")),l=u(n("uC1N"));function u(e){return e&&e.__esModule?e:{default:e}}var c={list:[],trans:null,selectedDrawer:null},d={drawersAddInstance:function(e,t){(0,e.commit)(a.DRAWERS_ADD_INSTANCE,{drawer:t})},drawersRemoveInstance:function(e,t){(0,e.commit)(a.DRAWERS_REMOVE_INSTANCE,{drawerToRemove:t})},drawersInitData:function(e,t){var n=e.commit,i=t.drawer,r=t.entity,o=t.ids,l=t.filters,u=t.maxLength,c=t.minLength;n(a.DRAWERS_INIT_DATA_REQUEST,{drawer:i,entity:r,ids:o,filters:l}),o&&0!==o.length&&r?s.getItemsByIds(r,o,l).then(function(e){n(a.DRAWERS_INIT_DATA_REQUEST_SUCCESS,{drawer:i,result:e,maxLength:u,minLength:c})}).catch(function(e){n(a.DRAWERS_INIT_DATA_REQUEST_FAILED,{drawer:i,error:e})}):n(a.DRAWERS_INIT_DATA_REQUEST_EMPTY,{drawer:i,maxLength:u,minLength:c})},drawersAddItem:function(e,t){var n=e.commit,i=e.state,r=t.drawer,o=t.item,s=t.newIndex,l=i.selectedDrawer;r&&(l=r),l.acceptMore&&n(a.DRAWERS_ADD_ITEM,{drawer:l,item:o,newIndex:s})},drawersMoveItem:function(e,t){e.commit,t.drawer,t.item},drawersRemoveItem:function(e,t){var n=e.commit,i=t.drawer,r=t.item;n(a.DRAWERS_REMOVE_ITEM,{drawer:i,item:r})},drawersExplorerButtonClick:function(e,t){var n=e.commit,i=e.dispatch;n(a.DRAWERS_EDIT_INSTANCE,{drawer:t}),c.selectedDrawer.isActive?i("explorerOpen",{entity:t.entity}):i("explorerClose")},drawersDropzoneButtonClick:function(e,t){e.state;var n=e.dispatch;t.isDropzoneEnable?n("drawersDisableDropzone",{drawer:t}):n("drawersEnableDropzone",{drawer:t})},drawersEnableDropzone:function(e,t){var n=e.commit,i=t.drawer;n(a.DRAWERS_ENABLE_DROPZONE,{drawer:i})},drawersDisableDropzone:function(e,t){var n=e.commit,i=t.drawer;n(a.DRAWERS_DISABLE_DROPZONE,{drawer:i})}},h=(i={},(0,r.default)(i,a.DRAWERS_ADD_INSTANCE,function(e,t){var n=t.drawer;e.list.push({entity:null,id:n._uid,isActive:!1,items:[],errorMessage:null,isLoading:!1,filters:{nodeTypes:null,nodeTypeField:null,providerClass:null},isDropzoneEnable:!1,minLength:0,maxLength:999999,acceptMore:!0})}),(0,r.default)(i,a.DRAWERS_REMOVE_INSTANCE,function(e,t){var n=t.drawerToRemove;e.list=(0,o.default)(e.list,function(e){return e._uid===n._uid})}),(0,r.default)(i,a.DRAWERS_EDIT_INSTANCE,function(e,t){var n=t.drawer;e.list.forEach(function(e){e!==n&&(e.isActive=!1)}),n.acceptMore=n.items.length=0&&n.items.splice(r,1),n.acceptMore=n.items.length0&&r>0){var s={_token:window.Rozier.ajaxToken,_action:"quickAddNode",nodeTypeId:i,parentNodeId:r,translationId:a};o.default.ajax({url:window.Rozier.routes.nodesQuickAddAjax,type:"post",dataType:"json",data:s}).done(function(){window.Rozier.refreshMainNodeTree(),window.Rozier.getMessages();var e=n.parents(".children-nodes-widget").find(".nodetree-widget").eq(0);t.refreshNodeTree(e)}).fail(function(e){e=JSON.parse(e.responseText),window.UIkit.notify({message:e.error_message,status:"danger",timeout:3e3,pos:"top-center"})}).always(function(){})}},200),!1}},{key:"refreshNodeTree",value:function(e){var t=this;if(e.length){var n=[],i=e.find(".root-tree").eq(0);if(!i)return;var r=parseInt(i.attr("data-parent-node-id")),s=i.attr("data-linked-types"),l=i.attr("data-translation-id");s&&(n=JSON.parse(s)),window.Rozier.lazyload.canvasLoader.show();var u={_token:window.Rozier.ajaxToken,_action:"requestNodeTree",parentNodeId:r,linkedTypes:n,translationId:l||null},c=window.Rozier.routes.nodesTreeAjax;o.default.ajax({url:c,type:"get",dataType:"json",cache:!1,data:u}).done(function(n){e.length&&void 0!==n.nodeTree&&e.fadeOut("slow",function(){var i=e.parents(".children-nodes-widget");e.replaceWith(n.nodeTree),e=i.find(".nodetree-widget"),window.Rozier.initNestables(),window.Rozier.bindMainTrees(),window.Rozier.lazyload.bindAjaxLink(),e.fadeIn(),t.init(),window.Rozier.lazyload.canvasLoader.hide(),window.Rozier.lazyload.nodeTreeContextActions&&window.Rozier.lazyload.nodeTreeContextActions.unbind(),window.Rozier.lazyload.nodeTreeContextActions=new a.default})}).fail(function(e){e=JSON.parse(e.responseText),window.UIkit.notify({message:e.error_message,status:"danger",timeout:3e3,pos:"top-center"})})}else console.error("No node-tree available.")}}]),e}();t.default=l},Fk2h:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=s(n("dACh")),r=s(n("jx4H")),o=s(n("dZBD")),a=n("xHmi");function s(e){return e&&e.__esModule?e:{default:e}}var l=function(){function e(t){(0,i.default)(this,e),this.store=t,this.intervalDuration=1e4,this.check()}return(0,r.default)(e,[{key:"check",value:function(){var e=this;this.interval&&window.clearInterval(this.interval),this.interval=window.setInterval(function(){(0,o.default)({method:"GET",url:window.RozierRoot.routes.ping,headers:{"X-Requested-With":"XMLHttpRequest"},maxRedirects:0}).then(function(t){if(t){if(new URL(t.request.responseURL).pathname!==window.RozierRoot.routes.ping)return void e.store.commit(a.LOGIN_CHECK_DISCONNECTED);200!==t.status&&202!==t.status||(e.store.commit(a.LOGIN_CHECK_CONNECTED),e.store.commit(a.HEALTH_CHECK_SUCCEEDED),e.check())}}).catch(function(t){401===t.response.status||403===t.response.status?e.store.commit(a.LOGIN_CHECK_DISCONNECTED):e.store.commit(a.HEALTH_CHECK_FAILED)})},this.intervalDuration)}}]),e}();t.default=l},FsJq:function(e,t,n){var i=n("XeN5");"string"==typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);n("X/Wc")("48fd2c6a",i,!0,{})},G7TI:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"slide-left"}},[e.isOpen?n("div",{staticClass:"widget-explorer",class:[{"filter-explorer-open":e.isFilterExplorerOpen,"explorer-open":e.isOpen},e.entityClass]},[n("div",{staticClass:"widget-explorer-wrapper"},[n("div",{staticClass:"widget-explorer-header"},[e.isFilterEnable?n("filter-explorer-button",{attrs:{entity:e.entity,icon:e.filterExplorerIcon,"filter-explorer-selected-items":e.filterExplorerSelectedItems,"is-filter-explorer-open":e.isFilterExplorerOpen,"on-click":e.filterExplorerToggle}}):e._e(),e._v(" "),n("div",{staticClass:"widget-explorer-search"},[n("form",{staticClass:"explorer-search uk-form",attrs:{action:"#",method:"POST"},on:{submit:function(e){e.preventDefault()}}},[n("div",{staticClass:"uk-form-icon"},[n("i",{staticClass:"uk-icon-search"}),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.searchTerms,expression:"searchTerms"}],attrs:{id:"search-input",type:"search",name:"searchTerms",autocomplete:"off",placeholder:e.searchPlaceHolder},domProps:{value:e.searchTerms},on:{keyup:function(t){if(!("button"in t)&&e._k(t.keyCode,"enter",13,t.key))return null;t.stopPropagation(),t.preventDefault(),e.manualUpdate(t)},input:function(t){t.target.composing||(e.searchTerms=t.target.value)}}})])])]),e._v(" "),n("div",{staticClass:"widget-explorer-close",on:{click:function(t){t.preventDefault(),e.explorerClose(t)}}},[n("i",{staticClass:"uk-icon-rz-close-explorer"})])],1),e._v(" "),e.isLoading?n("div",{staticClass:"spinner light"}):e._e(),e._v(" "),n("transition",{attrs:{name:"fade"}},[e.isLoading?e._e():n("ul",{staticClass:"uk-sortable"},[n("draggable",{attrs:{options:{group:{name:e.entity,put:!1}}},model:{value:e.items,callback:function(t){e.items=t},expression:"items"}},[n("transition-group",{staticClass:"sortable-inner"},e._l(e.items,function(t,i){return n(e.currentListingView,{key:t.id,tag:"component",attrs:{"is-item-explorer":!0,"add-item":e.addItem,index:i,item:t}})}))],1)],1)]),e._v(" "),e.filters?n("load-more-button",{attrs:{"next-page":e.filters.nextPage,"load-more-items":e.explorerLoadMore,"is-loading-more":e.isLoadingMore,"more-items-text":e.moreItems?e.translations[e.moreItems]:""}}):e._e(),e._v(" "),e.filters?n("explorer-items-infos",{attrs:{length:e.items.length,"item-count":e.filters.itemCount}}):e._e(),e._v(" "),n(e.widgetView,{tag:"component"})],1)]):e._e()])},staticRenderFns:[]};t.default=i},H8iA:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"[…]";if(e&&e.length&&e.length>t+i.length){var r=e.substr(0,Math.floor(t/2)+Math.floor(n/2)),o=e.substr(-1*Math.floor(t/2)+Math.floor(n/2));return r+i+o}return e}},IPB7:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("NSsB"),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,function(){return i[e]})}(o);var a=n("CS+6"),s=n.n(a),l=n("/4AN")(r.a,s.a,!1,null,null,null);t.default=l.exports},JTvu:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a(n("dACh")),r=a(n("jx4H")),o=a(n("0iPh"));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(){function e(){(0,i.default)(this,e),this.$list=(0,o.default)(".custom-form-fields > .uk-sortable"),this.onSortableChange=this.onSortableChange.bind(this),this.init()}return(0,r.default)(e,[{key:"init",value:function(){this.$list.length&&this.$list.children().length>1&&this.$list.on("change.uk.sortable",this.onSortableChange)}},{key:"unbind",value:function(){this.$list.length&&this.$list.children().length>1&&this.$list.off("change.uk.sortable",this.onSortableChange)}},{key:"onSortableChange",value:function(e,t,n){var i=(0,o.default)(n),r=parseInt(i.data("field-id")),a=i.prev(),s=0;0===a.length?(a=i.next(),s=parseInt(a.data("position"))-.5):s=parseInt(a.data("position"))+.5;var l={_token:window.Rozier.ajaxToken,_action:"updatePosition",customFormFieldId:r,newPosition:s};o.default.ajax({url:window.Rozier.routes.customFormsFieldAjaxEdit.replace("%customFormFieldId%",r),type:"POST",dataType:"json",data:l}).done(function(e){i.attr("data-position",s),window.UIkit.notify({message:e.responseText,status:e.status,timeout:3e3,pos:"top-center"})}).fail(function(e){e=JSON.parse(e.responseText),window.UIkit.notify({message:e.error_message,status:"danger",timeout:3e3,pos:"top-center"})})}}]),e}();t.default=s},JoZF:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("B/NG"),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,function(){return i[e]})}(o);var a=n("AKpR"),s=n.n(a),l=n("/4AN")(r.a,s.a,!1,null,null,null);t.default=l.exports},KFYC:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a(n("T4f3")),r=a(n("0iPh")),o=n("SJI6");function a(e){return e&&e.__esModule?e:{default:e}}t.default={computed:(0,i.default)({},(0,o.mapState)({isVisible:function(e){return e.documentPreview.isVisible},document:function(e){return e.documentPreview.document}}),{containerClass:function(){return{isPdf:this.document.isPdf,hasNoPreview:!this.document.isImage,isVideo:this.document.isVideo,isSvg:this.document.isSvg}}}),methods:(0,i.default)({},(0,o.mapActions)(["documentPreviewClose"]),{closePreview:function(){this.documentPreviewClose()},onClick:function(e){(0,r.default)(e.srcElement).hasClass("document-preview-widget__wrapper")&&this.closePreview()}})}},KU4q:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("9QM9"),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,function(){return i[e]})}(o);var a=n("/4AN")(r.a,null,!1,null,null,null);t.default=a.exports},"KV+T":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("TjfP"),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,function(){return i[e]})}(o);var a=n("otgr"),s=n.n(a),l=n("/4AN")(r.a,s.a,!1,null,null,null);t.default=l.exports},KWrs:function(e,t,n){"use strict";!function(e){function t(e){document.activeElement&&document.activeElement===e||e.focus()}jQuery.fn.caret=function(e){var n=this[0],i=n&&"true"===n.contentEditable;if(0!=arguments.length){if(n){if(-1==e&&(e=this[i?"text":"val"]().length),window.getSelection)i?(t(n),window.getSelection().collapse(n.firstChild,e)):n.setSelectionRange(e,e);else if(document.body.createTextRange){if(i)(s=document.body.createTextRange()).moveToElementText(n),s.moveStart("character",e),s.collapse(!0),s.select();else(s=n.createTextRange()).move("character",e),s.select()}i||t(n)}return this}if(n){if(window.getSelection){if(i){t(n);var r=window.getSelection();return r.rangeCount?((a=(o=r.getRangeAt(0)).cloneRange()).selectNodeContents(n),a.setEnd(o.endContainer,o.endOffset),a.toString().length):0}return n.selectionStart}if(document.selection){if(t(n),i){var o=document.selection.createRange();return(a=document.body.createTextRange()).moveToElementText(n),a.setEndPoint("EndToEnd",o),a.text.length}e=0;var a,s=n.createTextRange(),l=(a=document.selection.createRange().duplicate()).getBookmark();for(s.moveToBookmark(l);0!==s.moveStart("character",-1);)e++;return e}if(n.selectionStart)return n.selectionStart}}}()},KtXb:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"…";if(e&&e.length&&e.length>t){var r=e.substr(0,t+n);return r+i}return e}},KuuL:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){return e&&e.__esModule?e:{default:e}}(n("B2tc"));t.default={props:["item","trans","isItemExplorer","drawerName","index","removeItem","addItem"],components:{DrawerItem:i.default}}},LReI:function(e,t,n){"use strict";var i=function(e){return e&&e.__esModule?e:{default:e}}(n("GyB/"));!function(e){e.fn.collection=function(t){var n={container:"body",allow_up:!0,up:'',before_up:function(e,t){return!0},after_up:function(e,t){return!0},allow_down:!0,down:'',before_down:function(e,t){return!0},after_down:function(e,t){return!0},allow_add:!0,add:'[ + ]',before_add:function(e,t){return!0},after_add:function(e,t){return!0},allow_remove:!0,remove:'[ - ]',before_remove:function(e,t){return!0},after_remove:function(e,t){return!0},allow_duplicate:!1,duplicate:'[ # ]',before_duplicate:function(e,t){return!0},after_duplicate:function(e,t){return!0},before_init:function(e){},after_init:function(e){},min:0,max:100,add_at_the_end:!1,prefix:"collection",prototype_name:"__name__",name_prefix:null,elements_selector:"> div",elements_parent_selector:"%id%",children:null,init_with_n_elements:0,hide_useless_buttons:!0,drag_drop:!0,drag_drop_options:{placeholder:"ui-state-highlight"},drag_drop_start:function(e,t){return!0},drag_drop_update:function(e,t){return!0},custom_add_location:!1,fade_in:!0,fade_out:!0,position_field_selector:null,preserve_names:!1},r=function(t,n){if(!n.attr("id")){var i;do{i=t+"_"+(""+1e3*Math.random()*(new Date).getTime()).replace(".","").split("").sort(function(){return.5-Math.random()}).join("")}while(e("#"+i).length>0);n.attr("id",i)}return n.attr("id")},o=function(t){try{var n=e(t)}catch(e){return null}return 0===n.length?null:n.is('input[type="checkbox"]')?!0===n.prop("checked"):n.is('input[type="radio"]')&&void 0!==n.attr("name")?e('input[name="'+n.attr("name")+'"]:checked').val():void 0!==n.prop("value")?n.val():n.html()},a=function(t,n,i){try{var r=e(t)}catch(e){return}0!==r.length&&(r.is('input[type="checkbox"]')?n?r.attr("checked",!0):r.removeAttr("checked"):void 0!==r.prop("value")?i?r.attr("value",n):r.val(n):r.html(n))},s=function(e){return void 0===e||e},l=function(e){return(e+"").replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")},u=function(t,n,r,o){var a=function(t){var n=e(t);"object"===(void 0===t?"undefined":(0,i.default)(t))&&"attributes"in t&&e.each(t.attributes,function(t,i){"string"===e.type(i.value)&&n.attr(i.name.replace(r,o),i.value.replace(r,o))}),n.length>0&&e.each(n.data(),function(t,i){"string"===e.type(i)&&n.data(t.replace(r,o),i.replace(r,o))})},s=t.eq(n);a(s[0]),s.find("*").each(function(){a(this)})},c=function(t,n,i,r,o,a){var s=new RegExp(l(i.name_prefix+"["+o+"]"),"g"),c=i.name_prefix+"["+a+"]";i.children&&e.each(i.children,function(e,n){var i=t.find(n.selector).eq(r),o=i.data("collection-settings");o&&(o.name_prefix=o.name_prefix.replace(s,c),i.data("collection-settings",o))}),u(n,r,s,c),s=new RegExp(l(t.attr("id")+"_"+o),"g"),c=t.attr("id")+"_"+a,i.children&&e.each(i.children,function(e,n){var i=t.find(n.selector).eq(r),o=i.data("collection-settings");o&&(o.elements_parent_selector=o.elements_parent_selector.replace(s,c),o.elements_selector=o.elements_selector.replace(s,c),o.prefix=o.prefix.replace(s,c),i.data("collection-settings",o))}),u(n,r,s,c)},d=function(e,t,n,i){var r=e.data("collection-settings");return r.position_field_selector||r.preserve_names||(c(e,t,r,n,n,"__swap__"),c(e,t,r,i,i,n),c(e,t,r,n,"__swap__",i)),t.eq(n).insertBefore(t.eq(i)),i>n?t.eq(i).insertBefore(t.eq(n)):t.eq(i).insertAfter(t.eq(n)),e.find(r.elements_selector)},h=function(e,t,n,i,r){for(var o=i+1;o<=r;o++)t=d(e,t,o,o-1);return e.find(n.elements_selector)},f=function(e,t,n,i,r){for(var o=i-1;o>=r;o--)t=d(e,t,o,o+1);return e.find(n.elements_selector)},p=function(e,t,n,i){for(var r=i+1;r'),n.add&&a.append(e(n.add).addClass(n.prefix+"-action "+n.prefix+"-rescue-add").data("collection",t.attr("id")))),i){t.data("collection-offset",l.length);for(var u=e(n.container),c=t.find("."+n.prefix+"-add, ."+n.prefix+"-rescue-add, ."+n.prefix+"-duplicate").first(),d=0;l.length0?l.last():void 0,f=l.length-1;if(l=v(u,c,t,n,l,h,f,!1),d>n.init_with_n_elements){console.error("Infinite loop, element selector ("+n.elements_selector+") not found !");break}}t.data("collection-offset",l.length)}if(l.each(function(a){var s=e(this);i&&s.data("index",a);var u=s.find("."+n.prefix+"-actions").addBack().filter("."+n.prefix+"-actions");0===u.length&&(u=e('
    '),s.append(u));var c=0;"remove"===o&&n.fade_out&&(c=1);var d=[{enabled:n.allow_remove,selector:n.prefix+"-remove",html:n.remove,condition:l.length-c>n.min},{enabled:n.allow_up,selector:n.prefix+"-up",html:n.up,condition:l.length-c>1&&l.index(s)-c>0},{enabled:n.allow_down,selector:n.prefix+"-down",html:n.down,condition:l.length-c>1&&l.index(s)!==l.length-1},{enabled:n.allow_add&&!n.add_at_the_end&&!n.custom_add_location,selector:n.prefix+"-add",html:n.add,condition:l.length-cp||n.custom_add_location?m.css("display","none"):"remove"===o&&n.fade_out&&(m.css("display","none"),m.fadeIn("fast")),l.length-p>=n.max&&(m.addClass(n.prefix+"-action-disabled"),n.hide_useless_buttons&&t.find("."+n.prefix+"-add, ."+n.prefix+"-rescue-add, ."+n.prefix+"-duplicate").css("display","none"))}},g=function(t,n,i){i.children&&e.each(i.children,function(e,i){if(!i.selector)return console.log("jquery.collection.js: given collection "+t.attr("id")+" has children collections, but children's root selector is undefined."),!0;null!==n?n.find(i.selector).collection(i):t.find(i.selector).collection(i)})},v=function(t,n,i,r,u,c,d,h){if(u.length ."+r.prefix+"-tmp");e(x).find("[id]").first().attr("id");if(h){var S=u.eq(d);!function(t){e(t).find(":input").each(function(e,t){a(t,o(t),!0)})}(S);var A=e("
    ").append(S.clone()).html(),R=r.preserve_names||r.position_field_selector?S.data("index"):d,D=r.preserve_names?k(r,S):R,I=function(e,t,n,i,r,o,a){var s=new RegExp(l(t.name_prefix+"["+o+"]"),"g"),u=t.name_prefix+"["+a+"]";return n=n.replace(s,u),s=new RegExp(l(e.attr("id")+"_"+i),"g"),u=e.attr("id")+"_"+r,n=n.replace(s,u)}(i,r,A,R,v,D,C);x=e("
    ").html(I).contents().data("index",v),r.fade_in&&x.hide(),T.before(x).find(r.prefix+"-actions").remove()}else r.fade_in&&x.hide(),T.before(x);u=i.find(r.elements_selector);var O=x.find("."+r.prefix+"-add, ."+r.prefix+"-duplicate");O.length>0&&O.addClass(r.prefix+"-action").data("collection",i.attr("id")),r.add_at_the_end||d+1===v?m(i,r,!1):u=b(i,r,u,x,v,d+1),g(i,x,r),(h&&!s(r.after_duplicate(i,x))||!s(r.after_add(i,x)))&&(-1!==d&&(u=p(i,u,r,d+1)),x.remove())}if(void 0!==x&&r.fade_in)x.fadeIn("fast",function(){r.position_field_selector&&w(r,u)});else if(r.position_field_selector)return w(r,u);return u},_=function(t,n,i,r,o){if(i.length>n.min&&s(n.before_remove(t,r))){var a=function(){var a=r;n.preserve_names||(a=(i=p(t,i,n,o)).last());var l=a.clone({withDataAndEvents:!0}).show();(a.remove(),s(n.after_remove(t,l)))||(e(n.elements_parent_selector).find("> ."+n.prefix+"-tmp").before(l),i=t.find(n.elements_selector),i=function(e,t,n,i){for(var r=t.length-2;r>i;r--)t=d(e,t,r+1,r);return e.find(n.elements_selector)}(t,i,n,o-1));n.position_field_selector&&w(n,i)};n.fade_out?r.fadeOut("fast",function(){a()}):a()}return i},b=function(e,t,n,i,r,o){return 1===Math.abs(o-r)?(n=d(e,n,r,o),s(o-r>0?t.after_up(e,i):t.after_down(e,i))||(n=d(e,n,o,r))):r0?t.after_up(e,i):t.after_down(e,i))||(n=f(e,n,t,o,r))):(n=f(e,n,t,r,o),s(o-r>0?t.after_up(e,i):t.after_down(e,i))||(n=h(e,n,t,o,r))),m(e,t,!1),t.position_field_selector?w(t,n):n},w=function(t,n){return e(n).each(function(){var i=e(this);a(i.find(t.position_field_selector),n.index(i))}),n},k=function(e,t){return t.find(':input[name^="'+e.name_prefix+'["]').attr("name").slice(e.name_prefix.length+1).split("]",1)[0]},y=function(t,n){var i=0;return n.each(function(){var n=k(t,e(this));/^0|[1-9]\d*$/.test(n)&&n>=i&&(i=Number(n)+1)}),i},E=function(t,n){e.each(["-action","-action-disabled","-actions","-add","-down","-duplicate","-remove","-rescue-add","-tmp","-up"],function(){var i=this;n.each(function(){var n=e(this);n.hasClass(t.user_prefix+i)&&n.addClass(t.prefix+i),n.find("*").each(function(){var n=e(this);n.hasClass(t.user_prefix+i)&&n.addClass(t.prefix+i)})})})},C=e(this);return 0===C.length?(console.log("jquery.collection.js: given collection selector does not exist."),!1):(C.each(function(){var i=e.extend(!0,{},n,t);if(0===e(i.container).length)return console.log("jquery.collection.js: a container should exist to handle events (basically, a tag)."),!1;var l,u,c=e(this);if(void 0!==c.data("collection")){var h=e("#"+c.data("collection"));if(0===h.length)return console.log("jquery.collection.js: given collection id does not exist."),!0}else h=c;if(h=e(h),i.elements_parent_selector=i.elements_parent_selector.replace("%id%","#"+r("",h)),!i.elements_parent_selector&&(i.elements_parent_selector="#"+r("",h),0===e(i.elements_parent_selector).length))return console.log("jquery.collection.js: given elements parent selector does not return any object."),!0;if(i.user_prefix=i.prefix,i.prefix=h.attr("id")+"-"+i.user_prefix,E(i,h),i.allow_add||(i.allow_duplicate=!1,i.add_at_the_end=!1),i.init_with_n_elements>i.max&&(i.init_with_n_elements=i.max),i.min&&(!i.init_with_n_elements||i.init_with_n_elements0?i.before_up(h,o):i.before_down(h,o))&&(u=r.index(o),r=h.find(i.elements_selector),b(h,i,r,o,l,u))}},i.drag_drop_options)));h.data("collection-settings",i);var f=e(i.container);if(f.off("click","."+i.prefix+"-action").on("click","."+i.prefix+"-action",function(t){var n,i,r=e(this);if(void 0===(i=(n=e("#"+r.data("collection"))).data("collection-settings"))&&void 0===(i=(n=e("#"+r.data("collection")).find("."+r.data("collection")+"-collection")).data("collection-settings")))throw"Can't find collection: "+r.data("collection");var o=n.find(i.elements_selector),a=r.data("element")?e("#"+r.data("element")):void 0,l=a&&a.length?o.index(a):-1,u=null,c=r.is("."+i.prefix+"-duplicate");(r.is("."+i.prefix+"-add")||r.is("."+i.prefix+"-rescue-add")||c)&&i.allow_add&&(u="add",o=v(f,r,n,i,o,a,l,c)),r.is("."+i.prefix+"-remove")&&i.allow_remove&&(u="remove",o=_(n,i,o,a,l)),r.is("."+i.prefix+"-up")&&i.allow_up&&(u="up",o=function(e,t,n,i,r){return 0!==r&&s(t.before_up(e,i))&&(n=d(e,n,r,r-1),s(t.after_up(e,i))||(n=d(e,n,r-1,r))),t.position_field_selector?w(t,n):n}(n,i,o,a,l)),r.is("."+i.prefix+"-down")&&i.allow_down&&(u="down",o=function(e,t,n,i,r){return r!==n.length-1&&s(t.before_down(e,i))&&(n=d(e,n,r,r+1),s(t.after_down(e,n))||(n=d(e,n,r+1,r))),t.position_field_selector?w(t,n):n}(n,i,o,a,l)),m(n,i,!1,u),t.preventDefault()}),m(h,i,!0),g(h,null,i),i.position_field_selector){var p=[],k=h.find(i.elements_selector);k.each(function(t){var n=e(this);p.push({position:parseFloat(o(n.find(i.position_field_selector))),element:n})});p.sort(function(e,t){return e.positiont.position?1:0}),e.each(p,function(t,n){var r=[];e(k).each(function(t){r.push(e(this).attr("id"))});var o=n.element,s=e.inArray(o.attr("id"),r);t!==s&&(k=b(h,i,k,o,s,t),a(o.find(i.position_field_selector),k.index(o)))})}i.after_init(h)}),!0)}}(jQuery)},MT2W:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e._t("default"),e._v(" "),n("label",{staticClass:"typo__label"},[e._v("Tagging")]),e._v(" "),n("multiselect",{attrs:{"tag-placeholder":"Add this as new tag",placeholder:"Search or add a tag",label:"name","track-by":"id",options:e.options,multiple:!0,taggable:!0,"group-values":"children","group-label":"name"},on:{tag:e.addTag,input:e.tagsUpdateValue},model:{value:e.value,callback:function(t){e.value=t},expression:"value"}}),e._v(" "),n("pre",{staticClass:"language-json"},[n("code",[e._v(e._s(e.value))])])],2)},staticRenderFns:[]};t.default=i},Mb7i:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.dataURItoBlob=function(e){for(var t=atob(e.split(",")[1]),n=[],i=0;i0?this.showActions():this.hideActions(),!1}},{key:"onBulkDelete",value:function(){return this.nodesIds.length>0&&(history.pushState({headerData:{nodes:this.nodesIds}},null,window.Rozier.routes.nodesBulkDeletePage),window.Rozier.lazyload.onPopState(null)),!1}},{key:"showActions",value:function(){this.$actionsMenu.slideDown()}},{key:"hideActions",value:function(){this.$actionsMenu.slideUp()}},{key:"nodesFolderButtonClick",value:function(){return this.nodesFolderOpen?(this.$nodesFolderCont.slideUp(),this.nodesFolderOpen=!1):(this.$nodesStatusCont.slideUp(),this.nodesStatusOpen=!1,this.$nodesFolderCont.slideDown(),this.nodesFolderOpen=!0),!1}},{key:"nodesStatusButtonClick",value:function(){return this.nodesStatusOpen?(this.$nodesStatusCont.slideUp(),this.nodesStatusOpen=!1):(this.$nodesFolderCont.slideUp(),this.nodesFolderOpen=!1,this.$nodesStatusCont.slideDown(),this.nodesStatusOpen=!0),!1}}]),e}();t.default=s},PKoN:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a(n("dACh")),r=a(n("jx4H")),o=a(n("0iPh"));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(){function e(){(0,i.default)(this,e),this.$maxLengthed=(0,o.default)("input[data-max-length]"),this.$minLengthed=(0,o.default)("input[data-min-length]"),this.onMaxKeyUp=this.onMaxKeyUp.bind(this),this.onMinKeyUp=this.onMinKeyUp.bind(this),this.init()}return(0,r.default)(e,[{key:"init",value:function(){this.$maxLengthed.length&&this.$maxLengthed.on("keyup",this.onMaxKeyUp),this.$minLengthed.length&&this.$minLengthed.on("keyup",this.onMinKeyUp)}},{key:"unbind",value:function(){this.$maxLengthed.length&&this.$maxLengthed.off("keyup",this.onMaxKeyUp),this.$minLengthed.length&&this.$minLengthed.off("keyup",this.onMinKeyUp)}},{key:"onMaxKeyUp",value:function(e){var t=(0,o.default)(e.currentTarget),n=Math.round(e.currentTarget.getAttribute("data-max-length"));e.currentTarget.value.length>n?t.addClass("uk-form-danger"):t.removeClass("uk-form-danger")}},{key:"onMinKeyUp",value:function(e){var t=(0,o.default)(e.currentTarget),n=Math.round(e.currentTarget.getAttribute("data-min-length"));e.currentTarget.value.length<=n?t.addClass("uk-form-danger"):t.removeClass("uk-form-danger")}}]),e}();t.default=s},PbGk:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o(n("dACh")),r=o(n("jx4H"));function o(e){return e&&e.__esModule?e:{default:e}}var a=function(){function e(){(0,i.default)(this,e),this.adminMenuNav=document.getElementById("admin-menu-nav"),this.replaceSubNavs()}return(0,r.default)(e,[{key:"replaceSubNavs",value:function(){this.adminMenuNav.querySelectorAll(".uk-nav-sub").forEach(function(e){e.style.display="block";var t=e.getBoundingClientRect().top,n=e.getBoundingClientRect().height;e.style.display=null,t+n+20>window.innerHeight&&e.parentElement.classList.add("reversed-nav")})}}]),e}();t.default=a},PxkC:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){return e&&e.__esModule?e:{default:e}}(n("B2tc"));t.default={props:["item","trans","isItemExplorer","drawerName","index","removeItem","addItem"],components:{DrawerItem:i.default}}},QKcT:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a(n("dACh")),r=a(n("jx4H")),o=a(n("0iPh"));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(){function e(){(0,i.default)(this,e),this.$button=(0,o.default)(".uk-button-settings-save"),this.currentRequest=null,this.buttonClick=this.buttonClick.bind(this),this.$button.length&&this.init()}return(0,r.default)(e,[{key:"init",value:function(){this.$button.on("click",this.buttonClick)}},{key:"unbind",value:function(){this.$button.off("click",this.buttonClick)}},{key:"buttonClick",value:function(e){this.currentRequest&&4!==this.currentRequest.readyState&&this.currentRequest.abort();var t=(0,o.default)(e.currentTarget).parent().parent().find(".uk-form").eq(0);if(t.find("input[type=file]").length)return t.submit(),!1;t.hasClass("uk-has-errors")&&(t.find(".uk-alert").remove(),t.removeClass("uk-has-errors")),window.Rozier.lazyload.canvasLoader.show();var n=new window.FormData(t[0]),i={url:window.location.href,type:"post",data:n,processData:!1,cache:!1,contentType:!1,headers:{Accept:"application/json"}};return this.currentRequest=o.default.ajax(i).fail(function(e){if(e.responseJSON&&e.responseJSON.errors&&e.responseJSON.errors.value)for(var n in e.responseJSON.errors.value)t.addClass("uk-has-errors"),t.append(''+e.responseJSON.errors.value[n]+"");else if(e.responseJSON&&e.responseJSON.errors)for(var i in e.responseJSON.errors){t.addClass("uk-has-errors"),t.append(''+e.responseJSON.errors[i]+"");break}}).always(function(){window.Rozier.lazyload.canvasLoader.hide(),window.Rozier.getMessages()}),!1}},{key:"resize",value:function(){}}]),e}();t.default=s},QKtd:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a(n("dACh")),r=a(n("jx4H")),o=a(n("0iPh"));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(){function e(){(0,i.default)(this,e),this.$documentsCheckboxes=(0,o.default)("input.document-checkbox"),this.$documentsIdBulkFolders=(0,o.default)("input.document-id-bulk-folder"),this.$actionsMenu=(0,o.default)(".documents-bulk-actions"),this.$documentsFolderButton=(0,o.default)(".uk-button-bulk-folder-documents"),this.$documentsFolderCont=(0,o.default)(".documents-bulk-folder-cont"),this.$documentsSelectAll=(0,o.default)(".uk-button-select-all"),this.$documentsDeselectAll=(0,o.default)(".uk-button-bulk-deselect"),this.$bulkDeleteButton=this.$actionsMenu.find(".uk-button-bulk-delete-documents"),this.$bulkDownloadButton=this.$actionsMenu.find(".uk-button-bulk-download-documents"),this.documentsFolderOpen=!1,this.documentsIds=null,this.onCheckboxChange=this.onCheckboxChange.bind(this),this.onBulkDelete=this.onBulkDelete.bind(this),this.documentsFolderButtonClick=this.documentsFolderButtonClick.bind(this),this.onBulkDownload=this.onBulkDownload.bind(this),this.onSelectAll=this.onSelectAll.bind(this),this.onDeselectAll=this.onDeselectAll.bind(this),this.$documentsCheckboxes.length&&this.init()}return(0,r.default)(e,[{key:"init",value:function(){this.$documentsCheckboxes.on("change",this.onCheckboxChange),this.$bulkDeleteButton.on("click",this.onBulkDelete),this.$documentsFolderButton.on("click",this.documentsFolderButtonClick),this.$bulkDownloadButton.on("click",this.onBulkDownload),this.$documentsSelectAll.on("click",this.onSelectAll),this.$documentsDeselectAll.on("click",this.onDeselectAll)}},{key:"unbind",value:function(){this.$documentsCheckboxes.length&&(this.$documentsCheckboxes.off("change",this.onCheckboxChange),this.$bulkDeleteButton.off("click",this.onBulkDelete),this.$documentsFolderButton.off("click",this.documentsFolderButtonClick),this.$bulkDownloadButton.off("click",this.onBulkDownload),this.$documentsSelectAll.off("click",this.onSelectAll),this.$documentsDeselectAll.off("click",this.onDeselectAll))}},{key:"onSelectAll",value:function(){return this.$documentsCheckboxes.prop("checked",!0),this.onCheckboxChange(null),!1}},{key:"onDeselectAll",value:function(){return this.$documentsCheckboxes.prop("checked",!1),this.onCheckboxChange(null),!1}},{key:"onCheckboxChange",value:function(){var e=this;this.documentsIds=[],(0,o.default)("input.document-checkbox:checked").each(function(t,n){e.documentsIds.push((0,o.default)(n).val())}),this.$documentsIdBulkFolders.length&&this.$documentsIdBulkFolders.val(this.documentsIds.join(",")),this.documentsIds.length>0?this.showActions():this.hideActions()}},{key:"onBulkDelete",value:function(){return this.documentsIds.length>0&&(history.pushState({headerData:{documents:this.documentsIds}},null,window.Rozier.routes.documentsBulkDeletePage),window.Rozier.lazyload.onPopState(null)),!1}},{key:"onBulkDownload",value:function(){return this.documentsIds.length>0&&(history.pushState({headerData:{documents:this.documentsIds}},null,window.Rozier.routes.documentsBulkDownloadPage),window.Rozier.lazyload.onPopState(null)),!1}},{key:"showActions",value:function(){this.$actionsMenu.stop(),this.$actionsMenu.slideDown()}},{key:"hideActions",value:function(){this.$actionsMenu.stop(),this.$actionsMenu.slideUp()}},{key:"documentsFolderButtonClick",value:function(){return this.documentsFolderOpen?(this.$documentsFolderCont.slideUp(),this.documentsFolderOpen=!1):(this.$documentsFolderCont.slideDown(),this.documentsFolderOpen=!0),!1}}]),e}();t.default=s},RGvG:function(e,t){},RIYy:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=c(n("dACh")),r=c(n("jx4H")),o=c(n("0iPh")),a=n("Tzw7"),s=n("EQNM"),l=c(n("ac1b")),u=c(n("119e"));function c(e){return e&&e.__esModule?e:{default:e}}var d=function(){function e(t,n){var r=this;(0,i.default)(this,e),this.markdownit=new l.default,this.markdownit.use(u.default),this.$textarea=t,this.textarea=this.$textarea[0],this.usePreview=!1,this.editor=window.CodeMirror.fromTextArea(this.textarea,{mode:"gfm",lineNumbers:!1,tabSize:4,styleActiveLine:!0,indentWithTabs:!1,lineWrapping:!0,viewportMargin:1/0,enterMode:"keep",direction:this.textarea.hasAttribute("dir")&&"rtl"===this.textarea.getAttribute("dir")?"rtl":"ltr",readOnly:this.textarea.hasAttribute("disabled")&&"disabled"===this.textarea.getAttribute("disabled")}),this.editor.addKeyMap({"Ctrl-B":function(e){e.replaceSelections(r.boldSelections())},"Ctrl-I":function(e){e.replaceSelections(r.italicSelections())},"Cmd-B":function(e){e.replaceSelections(r.boldSelections())},"Cmd-I":function(e){e.replaceSelections(r.italicSelections())}}),this.$cont=this.$textarea.parents(".uk-form-row").eq(0),this.$parentForm=this.$textarea.parents("form").eq(0),this.index=n,this.$buttonCode=null,this.$buttonPreview=null,this.$buttonFullscreen=null,this.$count=null,this.$countCurrent=null,this.limit=0,this.countMinLimit=0,this.countMaxLimit=0,this.$countMaxLimitText=null,this.countAlertActive=!1,this.fullscreenActive=!1,this.closePreview=this.closePreview.bind(this),this.textareaChange=this.textareaChange.bind(this),this.textareaFocus=this.textareaFocus.bind(this),this.textareaBlur=this.textareaBlur.bind(this),this.onDropFile=this.onDropFile.bind(this),this.buttonPreviewClick=this.buttonPreviewClick.bind(this),this.buttonClick=this.buttonClick.bind(this),this.forceEditorUpdate=this.forceEditorUpdate.bind(this),this.init()}return(0,r.default)(e,[{key:"init",value:function(){var e=this;this.editor.on("change",this.textareaChange),this.$cont.length&&this.$textarea.length&&(this.$editor=this.$cont.find(".CodeMirror").eq(0),this.$cont.addClass("markdown-editor"),!0===this.editor.getOption("readOnly")&&this.$cont.addClass("markdown-editor__disabled"),this.$buttons=this.$cont.find("[data-markdowneditor-button]"),this.$content=this.$cont.find(".markdown-editor-content"),this.$buttonCode=this.$cont.find(".markdown-editor-button-code"),this.$buttonPreview=this.$cont.find(".markdown-editor-button-preview"),this.$buttonFullscreen=this.$cont.find(".markdown-editor-button-fullscreen"),this.$count=this.$cont.find(".markdown-editor-count"),this.$countCurrent=this.$cont.find(".count-current"),this.$countMaxLimitText=this.$cont.find(".count-limit"),this.$cont.find(".markdown-editor-button-code").attr("data-index",this.index),this.$cont.find(".markdown-editor-button-preview").attr("data-index",this.index),this.$cont.find(".markdown-editor-button-fullscreen").attr("data-index",this.index),this.$cont.find(".markdown_textarea").attr("data-index",this.index),this.$editor.attr("data-index",this.index),this.$editor.before('
    '),this.$tabs=this.$cont.find(".markdown-editor-tabs").eq(0),this.$editor.after('
    '),this.$preview=this.$cont.find(".markdown-editor-preview").eq(0),this.$tabs.append(this.$editor),this.$tabs.append(this.$preview),this.editor.refresh(),this.textarea.hasAttribute("data-max-length")&&""!==this.textarea.getAttribute("data-max-length")&&(this.limit=!0,this.countMaxLimit=parseInt(this.textarea.getAttribute("data-max-length")),this.$countCurrent.length&&this.$countMaxLimitText.length&&this.$count.length&&(this.$countCurrent[0].innerHTML=(0,a.stripTags)(this.editor.getValue()).length,this.$countMaxLimitText[0].innerHTML=this.textarea.getAttribute("data-max-length"),this.$count[0].style.display="block")),this.textarea.hasAttribute("data-min-length")&&""!==this.textarea.getAttribute("data-min-length")&&(this.limit=!0,this.countMinLimit=parseInt(this.textarea.getAttribute("data-min-length"))),this.textarea.hasAttribute("data-max-length")&&this.textarea.hasAttribute("data-min-length")&&""===this.textarea.getAttribute("data-min-length")&&""===this.textarea.getAttribute("data-max-length")&&(this.limit=!1,this.countMaxLimit=null,this.countAlertActive=null),this.fullscreenActive=!1,this.limit&&((0,a.stripTags)(this.editor.getValue()).length>this.countMaxLimit?(this.countAlertActive=!0,(0,a.addClass)(this.$cont[0],"content-limit")):(0,a.stripTags)(this.editor.getValue()).length0){switch(t.attr("data-markdowneditor-button")){case"nbsp":this.editor.replaceSelections(this.nbspSelections(n));break;case"nb-hyphen":this.editor.replaceSelections(this.nbHyphenSelections(n));break;case"listUl":this.editor.replaceSelections(this.listUlSelections(n));break;case"link":this.editor.replaceSelections(this.linkSelections(n));break;case"image":this.editor.replaceSelections(this.imageSelections(n));break;case"bold":this.editor.replaceSelections(this.boldSelections(n));break;case"italic":this.editor.replaceSelections(this.italicSelections(n));break;case"blockquote":this.editor.replaceSelections(this.blockquoteSelections(n));break;case"h2":this.editor.replaceSelections(this.h2Selections(n));break;case"h3":this.editor.replaceSelections(this.h3Selections(n));break;case"h4":this.editor.replaceSelections(this.h4Selections(n));break;case"h5":this.editor.replaceSelections(this.h5Selections(n));break;case"h6":this.editor.replaceSelections(this.h6Selections(n));break;case"back":this.editor.replaceSelections(this.backSelections(n));break;case"hr":this.editor.replaceSelections(this.hrSelections(n))}this.editor.focus()}}},{key:"backSelections",value:function(e){for(var t in e)e[t]=" \n";return e}},{key:"hrSelections",value:function(e){for(var t in e)e[t]="\n\n---\n\n";return e}},{key:"nbspSelections",value:function(e){for(var t in e)e[t]=" ";return e}},{key:"nbHyphenSelections",value:function(e){for(var t in e)e[t]="‑";return e}},{key:"listUlSelections",value:function(e){for(var t in e)e[t]="\n\n* "+e[t]+"\n\n";return e}},{key:"linkSelections",value:function(e){for(var t in e)e[t]="["+e[t]+"](http://)";return e}},{key:"imageSelections",value:function(e){for(var t in e||(e=this.editor.getSelections()),e)e[t]="!["+e[t]+"](/files/)";return e}},{key:"boldSelections",value:function(e){for(var t in e||(e=this.editor.getSelections()),e)e[t]="**"+e[t]+"**";return e}},{key:"italicSelections",value:function(e){for(var t in e||(e=this.editor.getSelections()),e)e[t]="*"+e[t]+"*";return e}},{key:"h2Selections",value:function(e){for(var t in e)e[t]="\n## "+e[t]+"\n";return e}},{key:"h3Selections",value:function(e){for(var t in e)e[t]="\n### "+e[t]+"\n";return e}},{key:"h4Selections",value:function(e){for(var t in e)e[t]="\n#### "+e[t]+"\n";return e}},{key:"h5Selections",value:function(e){for(var t in e)e[t]="\n##### "+e[t]+"\n";return e}},{key:"h6Selections",value:function(e){for(var t in e)e[t]="\n###### "+e[t]+"\n";return e}},{key:"blockquoteSelections",value:function(e){for(var t in e)e[t]="\n> "+e[t]+"\n";return e}},{key:"textareaChange",value:function(){var e=this;this.editor.save(),this.usePreview&&(clearTimeout(this.refreshPreviewTimeout),this.refreshPreviewTimeout=window.setTimeout(function(){e.$preview.html(e.markdownit.render(e.editor.getValue()))},100)),this.limit&&window.setTimeout(function(){var t=e.editor.getValue(),n=(0,a.stripTags)(t).length;e.$countCurrent.html(n),n>e.countMaxLimit?e.countAlertActive||(e.$cont.addClass("content-limit"),e.countAlertActive=!0):n0&&void 0!==arguments[0]?arguments[0]:null;null===e&&(e={nodes:[],tags:[],folders:[]}),window.localStorage.setItem("collapsed.uk.nestable",(0,i.default)(e))}},{key:"initNestables",value:function(){this.collapsedNestableState.nodes.forEach(function(e){var t=(0,a.default)('.uk-nestable-item[data-node-id="'+a.default.escapeSelector(e)+'"]');t.length&&t[0].classList.add("uk-collapsed")}),this.collapsedNestableState.tags.forEach(function(e){var t=(0,a.default)('.uk-nestable-item[data-tag-id="'+a.default.escapeSelector(e)+'"]');t.length&&t[0].classList.add("uk-collapsed")}),this.collapsedNestableState.folders.forEach(function(e){var t=(0,a.default)('.uk-nestable-item[data-folder-id="'+a.default.escapeSelector(e)+'"]');t.length&&t[0].classList.add("uk-collapsed")}),(0,a.default)(".uk-nestable").each(function(e,t){var n=(0,a.default)(t),i={handleClass:"uk-nestable-handle"};n.hasClass("nodetree")?i.group="nodeTree":n.hasClass("tagtree")?i.group="tagTree":n.hasClass("foldertree")&&(i.group="folderTree"),window.UIkit.nestable(t,i)}),document.removeEventListener("collapse.uk.nestable",this.onNestableCollapse),document.addEventListener("collapse.uk.nestable",this.onNestableCollapse),document.removeEventListener("expand.uk.nestable",this.onNestableExpand),document.addEventListener("expand.uk.nestable",this.onNestableExpand)}},{key:"bindMainTrees",value:function(){var e=(0,a.default)(".nodetree-widget .root-tree");e.off("change.uk.nestable"),e.on("change.uk.nestable",this.onNestableNodeTreeChange);var t=(0,a.default)(".tagtree-widget .root-tree");t.off("change.uk.nestable"),t.on("change.uk.nestable",this.onNestableTagTreeChange);var n=(0,a.default)(".foldertree-widget .root-tree");n.off("change.uk.nestable"),n.on("change.uk.nestable",this.onNestableFolderTreeChange),this.$mainTreeElementName=this.$mainTrees.find(".tree-element-name"),this.$mainTreeElementName.length&&(this.$mainTreeElementName.off("contextmenu",this.maintreeElementNameRightClick),this.$mainTreeElementName.on("contextmenu",this.maintreeElementNameRightClick))}},{key:"maintreeElementNameRightClick",value:function(e){var t=(0,a.default)(e.currentTarget).parent().find(".tree-contextualmenu");return t.length&&(-1===t[0].className.indexOf("uk-open")?t.addClass("uk-open"):t.removeClass("uk-open")),!1}},{key:"bindMainNodeTreeLangs",value:function(){var e=this;(0,a.default)("body").on("click","#tree-container .nodetree-langs a",function(t){e.lazyload.canvasLoader.show();var n=(0,a.default)(t.currentTarget),i=parseInt(n.attr("data-translation-id"));return e.refreshMainNodeTree(i),!1})}},{key:"getMessages",value:function(){a.default.ajax({url:this.routes.ajaxSessionMessages,type:"GET",dataType:"json",cache:!1,data:{_action:"messages",_token:this.ajaxToken}}).done(function(e){if(void 0!==e.messages){if(void 0!==e.messages.confirm&&e.messages.confirm.length>0)for(var t=e.messages.confirm.length-1;t>=0;t--)window.UIkit.notify({message:e.messages.confirm[t],status:"success",timeout:2e3,pos:"top-center"});if(void 0!==e.messages.error&&e.messages.error.length>0)for(var n=e.messages.error.length-1;n>=0;n--)window.UIkit.notify({message:e.messages.error[n],status:"error",timeout:2e3,pos:"top-center"})}}).fail(function(){console.log("[Rozier.getMessages] error")})}},{key:"refreshAllNodeTrees",value:function(e){if(this.refreshMainNodeTree(e),this.lazyload.stackNodeTrees.treeAvailable()&&this.lazyload.stackNodeTrees.refreshNodeTree(),this.lazyload.childrenNodesFields.treeAvailable())for(var t=this.lazyload.childrenNodesFields.$nodeTrees.length-1;t>=0;t--){var n=this.lazyload.childrenNodesFields.$nodeTrees.eq(t);this.lazyload.childrenNodesFields.refreshNodeTree(n)}}},{key:"refreshMainNodeTree",value:function(e){var t=this,n=(0,a.default)("#tree-container").find(".nodetree-widget"),i=n.find(".root-tree").eq(0);if(i.length&&!e&&(e=i.attr("data-translation-id")),n.length){var r={_token:this.ajaxToken,_action:"requestMainNodeTree",translationId:e||null},o=this.routes.nodesTreeAjax;a.default.ajax({url:o,type:"get",cache:!1,dataType:"json",data:r}).done(function(e){n.length&&void 0!==e.nodeTree&&n.fadeOut("slow",function(){n.replaceWith(e.nodeTree),(n=(0,a.default)("#tree-container").find(".nodetree-widget")).fadeIn(),t.initNestables(),t.bindMainTrees(),t.resize(),t.lazyload.bindAjaxLink(),t.lazyload.nodeTreeContextActions&&t.lazyload.nodeTreeContextActions.unbind(),t.lazyload.nodeTreeContextActions=new h.default})}).fail(function(){console.log("[Rozier.refreshMainNodeTree] Retrying in 3 seconds"),setTimeout(function(){t.refreshMainNodeTree(e)},3e3)}).always(function(){t.lazyload.canvasLoader.hide()})}else console.debug("No main node-tree available.")}},{key:"refreshMainTagTree",value:function(){var e=this,t=(0,a.default)("#tree-container").find(".tagtree-widget");if(t.length){var n={_token:this.ajaxToken,_action:"requestMainTagTree"},i=this.routes.tagsTreeAjax;a.default.ajax({url:i,type:"get",cache:!1,dataType:"json",data:n}).done(function(n){t.length&&void 0!==n.tagTree&&t.fadeOut("slow",function(){t.replaceWith(n.tagTree),(t=(0,a.default)("#tree-container").find(".tagtree-widget")).fadeIn(),e.initNestables(),e.bindMainTrees(),e.resize(),e.lazyload.bindAjaxLink()})}).always(function(){e.lazyload.canvasLoader.hide()})}else console.debug("No main tag-tree available.")}},{key:"refreshMainFolderTree",value:function(){var e=this,t=(0,a.default)("#tree-container").find(".foldertree-widget");if(t.length){var n={_token:this.ajaxToken,_action:"requestMainFolderTree"},i=this.routes.foldersTreeAjax;a.default.ajax({url:i,type:"get",cache:!1,dataType:"json",data:n}).done(function(n){t.length&&void 0!==n.folderTree&&t.fadeOut("slow",function(){t.replaceWith(n.folderTree),(t=(0,a.default)("#tree-container").find(".foldertree-widget")).fadeIn(),e.initNestables(),e.bindMainTrees(),e.resize(),e.lazyload.bindAjaxLink()})}).always(function(){e.lazyload.canvasLoader.hide()})}else console.debug("No main folder-tree available.")}},{key:"toggleTreesPanel",value:function(){return(0,a.default)("#main-container-inner").toggleClass("trees-panel--minified"),(0,a.default)("#main-content").toggleClass("maximized"),(0,a.default)("#minify-tree-panel-button").find("i").toggleClass("uk-icon-rz-panel-tree-open"),(0,a.default)("#minify-tree-panel-area").toggleClass("tree-panel-hidden"),!1}},{key:"openTreesPanel",value:function(){return(0,a.default)("#main-container-inner").hasClass("trees-panel--minified")&&this.toggleTreesPanel(null),!1}},{key:"toggleUserPanel",value:function(){return(0,a.default)("#user-panel").toggleClass("minified"),!1}},{key:"onNestableCollapse",value:function(e){var t=e.detail;if(t[0]){switch(!0){case null!==t[0].getAttribute("data-node-id"):this.collapsedNestableState.nodes.push(t[0].getAttribute("data-node-id"));break;case null!==t[0].getAttribute("data-tag-id"):this.collapsedNestableState.tags.push(t[0].getAttribute("data-tag-id"));break;case null!==t[0].getAttribute("data-folder-id"):this.collapsedNestableState.folders.push(t[0].getAttribute("data-folder-id"))}this.saveCollapsedNestableState(this.collapsedNestableState)}}},{key:"onNestableExpand",value:function(e){var t=e.detail;if(t[0]){switch(!0){case null!==t[0].getAttribute("data-node-id"):this.collapsedNestableState.nodes.splice(this.collapsedNestableState.nodes.indexOf(t[0].getAttribute("data-node-id")),1);break;case null!==t[0].getAttribute("data-tag-id"):this.collapsedNestableState.tags.splice(this.collapsedNestableState.tags.indexOf(t[0].getAttribute("data-tag-id")),1);break;case null!==t[0].getAttribute("data-folder-id"):this.collapsedNestableState.folders.splice(this.collapsedNestableState.folders.indexOf(t[0].getAttribute("data-folder-id")),1)}this.saveCollapsedNestableState(this.collapsedNestableState)}}},{key:"onNestableNodeTreeChange",value:function(e,t,n,i){var r=(0,a.default)(n);if("removed"===i)return!1;var o=parseInt(r.attr("data-node-id")),s=null;if(r.parents(".nodetree-element").length?s=parseInt(r.parents(".nodetree-element").eq(0).attr("data-node-id")):r.parents(".stack-tree-widget").length?s=parseInt(r.parents(".stack-tree-widget").eq(0).attr("data-parent-node-id")):r.parents(".children-node-widget").length&&(s=parseInt(r.parents(".children-node-widget").eq(0).attr("data-parent-node-id"))),isNaN(s)&&(s=null),o===s)return console.error("You cannot move a node inside itself!"),window.location.reload(),!1;var l={_token:this.ajaxToken,_action:"updatePosition",nodeId:o,newParent:s};r.next().length&&void 0!==r.next().attr("data-node-id")?l.nextNodeId=parseInt(r.next().attr("data-node-id")):r.prev().length&&void 0!==r.prev().attr("data-node-id")&&(l.prevNodeId=parseInt(r.prev().attr("data-node-id"))),a.default.ajax({url:this.routes.nodeAjaxEdit.replace("%nodeId%",o),type:"POST",dataType:"json",data:l}).done(function(e){window.UIkit.notify({message:e.responseText,status:e.status,timeout:3e3,pos:"top-center"})}).fail(function(e){e=JSON.parse(e.responseText),window.UIkit.notify({message:e.error_message,status:"danger",timeout:3e3,pos:"top-center"})})}},{key:"onNestableTagTreeChange",value:function(e,t,n,i){var r=(0,a.default)(n);if("removed"===i)return!1;var o=parseInt(r.attr("data-tag-id")),s=null;if(r.parents(".tagtree-element").length?s=parseInt(r.parents(".tagtree-element").eq(0).attr("data-tag-id")):r.parents(".root-tree").length&&(s=parseInt(r.parents(".root-tree").eq(0).attr("data-parent-tag-id"))),isNaN(s)&&(s=null),o===s)return console.error("You cannot move a tag inside itself!"),alert("You cannot move a tag inside itself!"),window.location.reload(),!1;var l={_token:this.ajaxToken,_action:"updatePosition",tagId:o,newParent:s};r.next().length&&void 0!==r.next().attr("data-tag-id")?l.nextTagId=parseInt(r.next().attr("data-tag-id")):r.prev().length&&void 0!==r.prev().attr("data-tag-id")&&(l.prevTagId=parseInt(r.prev().attr("data-tag-id"))),a.default.ajax({url:this.routes.tagAjaxEdit.replace("%tagId%",o),type:"POST",dataType:"json",data:l}).done(function(e){window.UIkit.notify({message:e.responseText,status:e.status,timeout:3e3,pos:"top-center"})})}},{key:"onNestableFolderTreeChange",value:function(e,t,n,i){var r=(0,a.default)(n);if("removed"===i)return!1;var o=parseInt(r.attr("data-folder-id")),s=null;if(r.parents(".foldertree-element").length?s=parseInt(r.parents(".foldertree-element").eq(0).attr("data-folder-id")):r.parents(".root-tree").length&&(s=parseInt(r.parents(".root-tree").eq(0).attr("data-parent-folder-id"))),isNaN(s)&&(s=null),o===s)return console.error("You cannot move a folder inside itself!"),alert("You cannot move a folder inside itself!"),window.location.reload(),!1;var l={_token:this.ajaxToken,_action:"updatePosition",folderId:o,newParent:s};r.next().length&&void 0!==r.next().attr("data-folder-id")?l.nextFolderId=parseInt(r.next().attr("data-folder-id")):r.prev().length&&void 0!==r.prev().attr("data-folder-id")&&(l.prevFolderId=parseInt(r.prev().attr("data-folder-id"))),a.default.ajax({url:this.routes.folderAjaxEdit.replace("%folderId%",o),type:"POST",dataType:"json",data:l}).done(function(e){window.UIkit.notify({message:e.responseText,status:e.status,timeout:3e3,pos:"top-center"})})}},{key:"backTopBtnClick",value:function(){return d.TweenLite.to(this.$mainContentScrollable,.6,{scrollTo:{y:0},ease:d.Expo.easeOut}),!1}},{key:"resize",value:function(){var e=this;if(this.windowWidth=this.$window.width(),this.windowHeight=this.$window.height(),this.windowWidth>=768&&this.windowWidth<=1200&&this.$mainTrees.length&&this.resizeFirst&&(this.$mainTrees[0].style.display="none",this.$minifyTreePanelButton.trigger("click"),window.setTimeout(function(){e.$mainTrees[0].style.display="table-cell"},1e3)),this.windowWidth<=768&&this.resizeFirst&&(this.mobile=new f.default),this.$mainTreesContainer.length&&this.$mainContentScrollable.length&&(this.windowWidth>=768?(this.$mainContentScrollable.height(this.windowHeight),this.$mainTreesContainer[0].style.height=""):(this.$mainContentScrollable[0].style.height="",this.$mainTreesContainer.height(this.windowHeight))),this.$mainTrees.length){this.$nodeTreeHead=this.$mainTrees.find(".nodetree-head"),this.$treeScrollCont=this.$mainTrees.find(".tree-scroll-cont"),this.$treeScroll=this.$mainTrees.find(".tree-scroll"),this.nodesSourcesSearchHeight=this.$nodesSourcesSearch.actual("outerHeight"),this.nodeTreeHeadHeight=this.$nodeTreeHead.actual("outerHeight"),this.treeScrollHeight=this.windowHeight-(this.nodesSourcesSearchHeight+this.nodeTreeHeadHeight),null!==this.mobile&&(this.treeScrollHeight=this.windowHeight-(100+this.nodeTreeHeadHeight));for(var t=0;t1&&void 0!==arguments[1]?arguments[1]:null;this.drawersAddItem({drawer:this.drawer,item:e,newIndex:t})},showSuccess:function(e,t){this.addItem(t.document)},showError:function(e,t,n){console.error(e),console.error(t),console.error(n)}}),components:{RzButton:s.default,draggable:l.default,Dropzone:u.default}}},"TL+m":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=u(n("T4f3")),r=n("SJI6"),o=u(n("kRS3")),a=u(n("O7VT")),s=u(n("XEtd")),l=u(n("H8iA"));function u(e){return e&&e.__esModule?e:{default:e}}t.default={props:["item","isItemExplorer","drawerName","index","removeItem","addItem"],data:function(){return{document:this.item}},directives:{DynamicImg:s.default},filters:o.default,computed:{shortMimeType:function(){return(0,l.default)(this.document.shortMimeType,13)},filename:function(){return(0,l.default)(this.document.filename,12)}},methods:(0,i.default)({},(0,r.mapActions)(["documentPreviewInit","documentPreviewOpen","documentPreviewDestroy"]),{onAddItemButtonClick:function(){this.isItemExplorer&&this.addItem(this.item)},onRemoveItemButtonClick:function(){this.removeItem(this.item)},getReferer:function(){return"?referer="+window.location.pathname},onPreviewClick:function(){this.documentPreviewOpen()},onMouseover:function(){this.documentPreviewInit({document:this.item})},onMouseleave:function(){this.documentPreviewDestroy({document:this.item})}}),components:{AjaxLink:a.default}}},TjfP:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"filter-explorer-item",props:{item:{required:!0,type:Object},onItemClick:{required:!0,type:Function},currentItem:{required:!0},entity:{required:!0},icons:{required:!0,type:Object}},computed:{isCurrentItem:function(){return!(!this.currentItem||!this.currentItem.id)&&this.currentItem.id===this.item.id}}}},Tr2I:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a(n("dACh")),r=a(n("jx4H")),o=a(n("0iPh"));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(){function e(){(0,i.default)(this,e),this.$list=(0,o.default)(".attribute-value-forms > .uk-sortable"),this.currentRequest=null,this.onSortableChange=this.onSortableChange.bind(this),this.init()}return(0,r.default)(e,[{key:"init",value:function(){this.$list.length&&this.$list.children().length>1&&this.$list.on("change.uk.sortable",this.onSortableChange)}},{key:"unbind",value:function(){this.$list.length&&this.$list.children().length>1&&this.$list.off("change.uk.sortable",this.onSortableChange)}},{key:"onSortableChange",value:function(e,t,n){if(this.currentRequest&&4!==this.currentRequest.readyState&&this.currentRequest.abort(),!(e.target instanceof HTMLInputElement)){var i=(0,o.default)(n),r=parseInt(i.data("id")),a=i.prev(),s=0;0===a.length?(a=i.next(),s=parseInt(a.data("position"))-.5):s=parseInt(a.data("position"))+.5;var l={_token:window.Rozier.ajaxToken,_action:"updatePosition",attributeValueId:r,newPosition:s},u=window.Rozier.routes.attributeValueAjaxEdit;u&&r&&(this.currentRequest=o.default.ajax({url:u.replace("%attributeValueId%",r),type:"POST",dataType:"json",data:l}).done(function(e){i.attr("data-position",s),window.UIkit.notify({message:e.responseText,status:e.status,timeout:3e3,pos:"top-center"})}).fail(function(e){e=JSON.parse(e.responseText),window.UIkit.notify({message:e.error_message,status:"danger",timeout:3e3,pos:"top-center"})}))}}}]),e}();t.default=s},Triu:function(e,t,n){"use strict";(function(){var e=[].slice;!function(t,n){var i;i=function(){function e(e,n){null==n&&(n={}),this.$element=t(e),this.options=t.extend({},t.fn.bootstrapSwitch.defaults,{state:this.$element.is(":checked"),size:this.$element.data("size"),animate:this.$element.data("animate"),disabled:this.$element.is(":disabled"),readonly:this.$element.is("[readonly]"),indeterminate:this.$element.data("indeterminate"),inverse:this.$element.data("inverse"),radioAllOff:this.$element.data("radio-all-off"),onColor:this.$element.data("on-color"),offColor:this.$element.data("off-color"),onText:this.$element.data("on-text"),offText:this.$element.data("off-text"),labelText:this.$element.data("label-text"),handleWidth:this.$element.data("handle-width"),labelWidth:this.$element.data("label-width"),baseClass:this.$element.data("base-class"),wrapperClass:this.$element.data("wrapper-class")},n),this.$wrapper=t("
    ",{class:function(e){return function(){var t;return(t=[""+e.options.baseClass].concat(e._getClasses(e.options.wrapperClass))).push(e.options.state?e.options.baseClass+"-on":e.options.baseClass+"-off"),null!=e.options.size&&t.push(e.options.baseClass+"-"+e.options.size),e.options.disabled&&t.push(e.options.baseClass+"-disabled"),e.options.readonly&&t.push(e.options.baseClass+"-readonly"),e.options.indeterminate&&t.push(e.options.baseClass+"-indeterminate"),e.options.inverse&&t.push(e.options.baseClass+"-inverse"),e.$element.attr("id")&&t.push(e.options.baseClass+"-id-"+e.$element.attr("id")),t.join(" ")}}(this)()}),this.$container=t("
    ",{class:this.options.baseClass+"-container"}),this.$on=t("",{html:this.options.onText,class:this.options.baseClass+"-handle-on "+this.options.baseClass+"-"+this.options.onColor}),this.$off=t("",{html:this.options.offText,class:this.options.baseClass+"-handle-off "+this.options.baseClass+"-"+this.options.offColor}),this.$label=t("",{html:this.options.labelText,class:this.options.baseClass+"-label"}),this.$element.on("init.bootstrapSwitch",function(t){return function(){return t.options.onInit.apply(e,arguments)}}(this)),this.$element.on("switchChange.bootstrapSwitch",function(t){return function(){return t.options.onSwitchChange.apply(e,arguments)}}(this)),this.$container=this.$element.wrap(this.$container).parent(),this.$wrapper=this.$container.wrap(this.$wrapper).parent(),this.$element.before(this.options.inverse?this.$off:this.$on).before(this.$label).before(this.options.inverse?this.$on:this.$off),this.options.indeterminate&&this.$element.prop("indeterminate",!0),this._init(),this._elementHandlers(),this._handleHandlers(),this._labelHandlers(),this._formHandler(),this._externalLabelHandler(),this.$element.trigger("init.bootstrapSwitch")}return e.prototype._constructor=e,e.prototype.state=function(e,t){return void 0===e?this.options.state:this.options.disabled||this.options.readonly?this.$element:this.options.state&&!this.options.radioAllOff&&this.$element.is(":radio")?this.$element:(this.options.indeterminate&&this.indeterminate(!1),e=!!e,this.$element.prop("checked",e).trigger("change.bootstrapSwitch",t),this.$element)},e.prototype.toggleState=function(e){return this.options.disabled||this.options.readonly?this.$element:this.options.indeterminate?(this.indeterminate(!1),this.state(!0)):this.$element.prop("checked",!this.options.state).trigger("change.bootstrapSwitch",e)},e.prototype.size=function(e){return void 0===e?this.options.size:(null!=this.options.size&&this.$wrapper.removeClass(this.options.baseClass+"-"+this.options.size),e&&this.$wrapper.addClass(this.options.baseClass+"-"+e),this._width(),this._containerPosition(),this.options.size=e,this.$element)},e.prototype.animate=function(e){return void 0===e?this.options.animate:(e=!!e)===this.options.animate?this.$element:this.toggleAnimate()},e.prototype.toggleAnimate=function(){return this.options.animate=!this.options.animate,this.$wrapper.toggleClass(this.options.baseClass+"-animate"),this.$element},e.prototype.disabled=function(e){return void 0===e?this.options.disabled:(e=!!e)===this.options.disabled?this.$element:this.toggleDisabled()},e.prototype.toggleDisabled=function(){return this.options.disabled=!this.options.disabled,this.$element.prop("disabled",this.options.disabled),this.$wrapper.toggleClass(this.options.baseClass+"-disabled"),this.$element},e.prototype.readonly=function(e){return void 0===e?this.options.readonly:(e=!!e)===this.options.readonly?this.$element:this.toggleReadonly()},e.prototype.toggleReadonly=function(){return this.options.readonly=!this.options.readonly,this.$element.prop("readonly",this.options.readonly),this.$wrapper.toggleClass(this.options.baseClass+"-readonly"),this.$element},e.prototype.indeterminate=function(e){return void 0===e?this.options.indeterminate:(e=!!e)===this.options.indeterminate?this.$element:this.toggleIndeterminate()},e.prototype.toggleIndeterminate=function(){return this.options.indeterminate=!this.options.indeterminate,this.$element.prop("indeterminate",this.options.indeterminate),this.$wrapper.toggleClass(this.options.baseClass+"-indeterminate"),this._containerPosition(),this.$element},e.prototype.inverse=function(e){return void 0===e?this.options.inverse:(e=!!e)===this.options.inverse?this.$element:this.toggleInverse()},e.prototype.toggleInverse=function(){var e,t;return this.$wrapper.toggleClass(this.options.baseClass+"-inverse"),t=this.$on.clone(!0),e=this.$off.clone(!0),this.$on.replaceWith(e),this.$off.replaceWith(t),this.$on=e,this.$off=t,this.options.inverse=!this.options.inverse,this.$element},e.prototype.onColor=function(e){var t;return t=this.options.onColor,void 0===e?t:(null!=t&&this.$on.removeClass(this.options.baseClass+"-"+t),this.$on.addClass(this.options.baseClass+"-"+e),this.options.onColor=e,this.$element)},e.prototype.offColor=function(e){var t;return t=this.options.offColor,void 0===e?t:(null!=t&&this.$off.removeClass(this.options.baseClass+"-"+t),this.$off.addClass(this.options.baseClass+"-"+e),this.options.offColor=e,this.$element)},e.prototype.onText=function(e){return void 0===e?this.options.onText:(this.$on.html(e),this._width(),this._containerPosition(),this.options.onText=e,this.$element)},e.prototype.offText=function(e){return void 0===e?this.options.offText:(this.$off.html(e),this._width(),this._containerPosition(),this.options.offText=e,this.$element)},e.prototype.labelText=function(e){return void 0===e?this.options.labelText:(this.$label.html(e),this._width(),this.options.labelText=e,this.$element)},e.prototype.handleWidth=function(e){return void 0===e?this.options.handleWidth:(this.options.handleWidth=e,this._width(),this._containerPosition(),this.$element)},e.prototype.labelWidth=function(e){return void 0===e?this.options.labelWidth:(this.options.labelWidth=e,this._width(),this._containerPosition(),this.$element)},e.prototype.baseClass=function(e){return this.options.baseClass},e.prototype.wrapperClass=function(e){return void 0===e?this.options.wrapperClass:(e||(e=t.fn.bootstrapSwitch.defaults.wrapperClass),this.$wrapper.removeClass(this._getClasses(this.options.wrapperClass).join(" ")),this.$wrapper.addClass(this._getClasses(e).join(" ")),this.options.wrapperClass=e,this.$element)},e.prototype.radioAllOff=function(e){return void 0===e?this.options.radioAllOff:(e=!!e)===this.options.radioAllOff?this.$element:(this.options.radioAllOff=e,this.$element)},e.prototype.onInit=function(e){return void 0===e?this.options.onInit:(e||(e=t.fn.bootstrapSwitch.defaults.onInit),this.options.onInit=e,this.$element)},e.prototype.onSwitchChange=function(e){return void 0===e?this.options.onSwitchChange:(e||(e=t.fn.bootstrapSwitch.defaults.onSwitchChange),this.options.onSwitchChange=e,this.$element)},e.prototype.destroy=function(){var e;return(e=this.$element.closest("form")).length&&e.off("reset.bootstrapSwitch").removeData("bootstrap-switch"),this.$container.children().not(this.$element).remove(),this.$element.unwrap().unwrap().off(".bootstrapSwitch").removeData("bootstrap-switch"),this.$element},e.prototype._width=function(){var e,t;return(e=this.$on.add(this.$off)).add(this.$label).css("width",""),t="auto"===this.options.handleWidth?Math.max(this.$on.width(),this.$off.width()):this.options.handleWidth,e.width(t),this.$label.width(function(e){return function(n,i){return"auto"!==e.options.labelWidth?e.options.labelWidth:i0)))return e._dragEnd=n,e.$container.css("margin-left",e._dragEnd+"px")}}(this),"mouseup.bootstrapSwitch touchend.bootstrapSwitch":function(e){return function(t){var n;if(e._dragStart)return t.preventDefault(),e.options.animate&&e.$wrapper.addClass(e.options.baseClass+"-animate"),e._dragEnd?(n=e._dragEnd>-e._handleWidth/2,e._dragEnd=!1,e.state(e.options.inverse?!n:n)):e.state(!e.options.state),e._dragStart=!1}}(this),"mouseleave.bootstrapSwitch":function(e){return function(t){return e.$label.trigger("mouseup.bootstrapSwitch")}}(this)})},e.prototype._externalLabelHandler=function(){var e;return(e=this.$element.closest("label")).on("click",function(t){return function(n){if(n.preventDefault(),n.stopImmediatePropagation(),n.target===e[0])return t.toggleState()}}(this))},e.prototype._formHandler=function(){var e;if(!(e=this.$element.closest("form")).data("bootstrap-switch"))return e.on("reset.bootstrapSwitch",function(){return n.setTimeout(function(){return e.find("input").filter(function(){return t(this).data("bootstrap-switch")}).each(function(){return t(this).bootstrapSwitch("state",this.checked)})},1)}).data("bootstrap-switch",!0)},e.prototype._getClasses=function(e){var n,i,r,o;if(!t.isArray(e))return[this.options.baseClass+"-"+e];for(i=[],r=0,o=e.length;r/g)||[]).join("");return e.replace(/|<\?(?:php)?[\s\S]*?\?>/gi,"").replace(/<\/?([a-z][a-z0-9]*)\b[^>]*>/gi,function(e,n){return t.indexOf("<"+n.toLowerCase()+">")>-1?e:""})},t.addClass=function(e,t){e&&(e.classList?e.classList.add(t):e.className+=" "+t)},t.removeClass=function(e,t){if(e)if(e.classList)e.classList.remove(t);else{e.className=e.className.replace(new RegExp("(^|\\b)"+t.split(" ").join("|")+"(\\b|$)","gi"),"");var n=e.className.length-1;" "===e.className[n]&&(e.className=e.className.substring(0,n))}},t.PointerEventsPolyfill=function(){function e(t){if((0,i.default)(this,e),this.options={selector:"*",mouseEvents:["click","dblclick","mousedown","mouseup"],usePolyfillIf:function(){if("Microsoft Internet Explorer"===navigator.appName&&(null!==navigator.userAgent.match(/MSIE ([0-9]{1,}[.0-9]{0,})/)&&parseFloat(RegExp.$1)<11))return!0;return!1}},t){var n=this;o.default.each(t,function(e,t){n.options[e]=t})}this.options.usePolyfillIf()&&this.registerMouseEvents()}return(0,r.default)(e,[{key:"initialize",value:function(t){return e.singleton||(e.singleton=new e(t)),e.singleton}},{key:"registerMouseEvents",value:function(){var e=this;(0,o.default)(document).on(this.options.mouseEvents.join(" "),this.options.selector,function(t){if("none"===(0,o.default)(e).css("pointer-events")){var n=(0,o.default)(e).css("display");(0,o.default)(e).css("display","none");var i=document.elementFromPoint(t.clientX,t.clientY);return n?(0,o.default)(e).css("display",n):(0,o.default)(e).css("display",""),t.target=i,(0,o.default)(i).trigger(t),!1}return!0})}}]),e}()},UIBU:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=s(n("dACh")),r=s(n("jx4H")),o=s(n("0iPh")),a=s(n("ujpI"));function s(e){return e&&e.__esModule?e:{default:e}}var l=function(){function e(t){(0,i.default)(this,e),this.attached=!1,this.options={onSuccess:function(e){},onError:function(e){},onAdded:function(e){},url:window.Rozier.routes.documentsUploadPage,selector:"#upload-dropzone-document",paramName:"form[attachment]",uploadMultiple:!1,maxFilesize:64,timeout:0,autoDiscover:!1,headers:{_token:window.Rozier.ajaxToken},dictDefaultMessage:"Drop files here to upload or click to open your explorer",dictFallbackMessage:"Your browser does not support drag'n'drop file uploads.",dictFallbackText:"Please use the fallback form below to upload your files like in the olden days.",dictFileTooBig:"File is too big ({{filesize}}MiB). Max filesize: {{maxFilesize}}MiB.",dictInvalidFileType:"You can't upload files of this type.",dictResponseError:"Server responded with {{statusCode}} code.",dictCancelUpload:"Cancel upload",dictCancelUploadConfirmation:"Are you sure you want to cancel this upload?",dictRemoveFile:"Remove file",dictRemoveFileConfirmation:null,dictMaxFilesExceeded:"You can not upload any more files."},void 0!==t&&o.default.extend(this.options,t),(0,o.default)(this.options.selector).length&&!this.attached&&this.init()}return(0,r.default)(e,[{key:"init",value:function(){var e=this,t=(0,o.default)("#upload-dropzone-document");t.attr("data-folder-id")&&t.attr("data-folder-id")>0&&(this.options.headers.folderId=parseInt(t.attr("data-folder-id")),this.options.url=window.Rozier.routes.documentsUploadPage+"/"+parseInt(t.attr("data-folder-id"))),a.default.options.uploadDropzoneDocument={url:this.options.url,method:"post",headers:this.options.headers,paramName:this.options.paramName,uploadMultiple:this.options.uploadMultiple,timeout:this.options.timeout,maxFilesize:this.options.maxFilesize,dictDefaultMessage:this.options.dictDefaultMessage,dictFallbackMessage:this.options.dictFallbackMessage,dictFallbackText:this.options.dictFallbackText,dictFileTooBig:this.options.dictFileTooBig,dictInvalidFileType:this.options.dictInvalidFileType,dictResponseError:this.options.dictResponseError,dictCancelUpload:this.options.dictCancelUpload,dictCancelUploadConfirmation:this.options.dictCancelUploadConfirmation,dictRemoveFile:this.options.dictRemoveFile,dictRemoveFileConfirmation:this.options.dictRemoveFileConfirmation,dictMaxFilesExceeded:this.options.dictMaxFilesExceeded,init:function(){this.on("addedfile",function(t,n){e.options.onAdded(t)}),this.on("success",function(t,n){if(t.previewElement){var i=(0,o.default)(t.previewElement);window.setTimeout(function(){i.fadeOut(500,function(){i.remove()})},3e3)}e.options.onSuccess(n),window.Rozier.getMessages()}),this.on("canceled",function(t,n){e.options.onError(JSON.parse(n)),window.Rozier.getMessages()}),this.on("error",function(e,t,n){console.error(t)}),this.on("sending",function(t,n,i){n.ontimeout=function(){e.options.onError("Server Timeout"),console.error("Server Timeout")}})}},a.default.autoDiscover=this.options.autoDiscover;try{new a.default(this.options.selector,a.default.options.uploadDropzoneDocument);var n=(0,o.default)(this.options.selector);n.append('
    '+this.options.dictDefaultMessage+"
    "),n.find(".dz-message").append('\n
    \n
    \n
    \n
    \n
    \n
    \n \n
    '),this.attached=!0}catch(e){console.error(e)}}},{key:"unbind",value:function(){}}]),e}();t.default=l},VB4P:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"fade"}},[e.document?n("li",{staticClass:"image-document uk-sortable-list-item documents-widget-sortable-list-item",attrs:{title:e.document.filename,"data-uk-tooltip":"{animation:true, pos:'bottom'}"},on:{mouseleave:e.onMouseleave,mouseover:e.onMouseover}},[n("div",{staticClass:"preview-zoom",on:{click:function(t){t.preventDefault(),e.onPreviewClick(t)}}},[n("i",{staticClass:"uk-icon-search-plus"})]),e._v(" "),n("div",{on:{click:function(t){t.preventDefault(),e.onAddItemButtonClick(t)}}},[n("div",{staticClass:"uk-sortable-handle"}),e._v(" "),n("div",{staticClass:"document-border"}),e._v(" "),n("div",{staticClass:"document-overflow"},[e.document.isSvg?[n("div",{staticClass:"svg",domProps:{innerHTML:e._s(e.document.preview_html)}})]:!e.document.isImage||e.document.isWebp||e.document.isPrivate?e.document.isImage&&!e.document.isPrivate?[n("img",{directives:[{name:"dynamic-img",rawName:"v-dynamic-img",value:e.document.thumbnail_80,expression:"document.thumbnail_80"}],staticClass:"document-image",attrs:{width:"80",height:"80",src:"data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs="}})]:e.document.isPrivate?[n("div",{staticClass:"document-platform-icon"},[n("i",{staticClass:"uk-icon-lock"})])]:[e.document.hasThumbnail?n("img",{directives:[{name:"dynamic-img",rawName:"v-dynamic-img",value:e.document.thumbnail_80,expression:"document.thumbnail_80"}],staticClass:"document-image",attrs:{width:"80",height:"80",src:"data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs="}}):e._e(),e._v(" "),n("div",{staticClass:"document-platform-icon"},[n("i",{class:"uk-icon-file-"+e.document.icon+"-o"})])]:[n("picture",[n("source",{attrs:{srcset:e.document.thumbnail_80+".webp",type:"image/webp"}}),e._v(" "),n("img",{staticClass:"document-image",attrs:{width:"80",height:"80",loading:"lazy",src:e.document.thumbnail_80}})])],e._v(" "),e.drawerName?[n("input",{attrs:{type:"hidden",name:e.drawerName+"["+e.index+"]"},domProps:{value:e.document.id}})]:e._e(),e._v(" "),n("div",{staticClass:"document-links"},[n("ajax-link",{staticClass:"uk-button document-link uk-button-mini",attrs:{href:e.document.editUrl+e.getReferer()}},[n("i",{staticClass:"uk-icon-rz-pencil"})]),n("a",{staticClass:"uk-button uk-button-mini document-link uk-button-danger rz-no-ajax-link",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.onRemoveItemButtonClick()}}},[n("i",{staticClass:"uk-icon-rz-trash-o"})])],1),e._v(" "),e.document.isEmbed?[n("div",{staticClass:"document-mime-type"},[e._v(e._s(e.document.embedPlatform))]),e._v(" "),n("div",{staticClass:"document-platform-icon"},[n("i",{class:"uk-icon-rz-"+e.document.icon})])]:[n("div",{staticClass:"document-mime-type"},[e._v(e._s(e.shortMimeType))])],e._v(" "),n("a",{staticClass:"uk-button uk-button-mini link-button",attrs:{"data-document-widget-link-document":"",href:"#"}},[n("div",{staticClass:"link-button-inner"},[n("i",{staticClass:"uk-icon-rz-plus"})])])],2),e._v(" "),n("div",{staticClass:"document-name"},[e._v(e._s(e.filename))])])]):e._e()])},staticRenderFns:[]};t.default=i},WEen:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={render:function(){var e=this,t=e.$createElement;return(e._self._c||t)("drawer-item",{attrs:{item:e.item,index:e.index,"drawer-name":e.drawerName,"is-item-explorer":e.isItemExplorer,"parent-name":e.item.nodeName?e.item.nodeName:"",name:e.item.name?e.item.name:"","edit-item":e.item.nodesEditPage,"add-item":e.addItem,"remove-item":e.removeItem}})},staticRenderFns:[]};t.default=i},WGNA:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("7APs"),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,function(){return i[e]})}(o);var a=n("Zfec"),s=n.n(a),l=n("/4AN")(r.a,s.a,!1,null,null,null);t.default=l.exports},WdQ1:function(e,t,n){(e.exports=n("lcwS")(!1)).push([e.i,"\n.document-preview-widget {\n position: fixed;\n width: 100%;\n height: 100%;\n z-index: 99999;\n top: 0;\n left: 0;\n}\n.document-preview-widget__wrapper {\n position: absolute;\n width: 100%;\n height: 100%;\n background: rgba(0, 0, 0, 0.5);\n}\n.document-preview-widget__information {\n position: absolute;\n top: 10px;\n right: 10px;\n height: 31px;\n line-height: 30px;\n font-size: 12px;\n text-align: left;\n padding: 0 15px;\n border-radius: 16px;\n color: #7d7d7d;\n background: #000;\n box-shadow: 0 4px 15px rgba(0, 0, 0, 0.31);\n}\n.document-preview-widget__information .info,\n .document-preview-widget__information .close {\n display: inline-block;\n}\n.document-preview-widget__information .info:before,\n .document-preview-widget__information .close:before {\n display: inline-block;\n content: ' ';\n height: 20px;\n width: 1px;\n background: #000;\n margin: 0 10px;\n position: relative;\n border-left: 1px solid #2d2d2d;\n top: 5px;\n}\n.document-preview-widget__information .info:first-of-type:before,\n .document-preview-widget__information .close:first-of-type:before {\n display: none;\n}\n.document-preview-widget__information .close {\n font-size: 15px;\n cursor: pointer;\n}\n.document-preview-widget__information .close i {\n transition: all 0.3s ease-out;\n}\n.document-preview-widget__information .close:hover i {\n color: #b0b0b0;\n}\n.document-preview-widget__container {\n position: absolute;\n top: 50%;\n left: 50%;\n max-width: 80vw;\n max-height: 80vh;\n width: auto;\n height: auto;\n display: inline-block;\n -webkit-transform: translateX(-50%) translateY(-50%);\n transform: translateX(-50%) translateY(-50%);\n text-align: center;\n box-shadow: 0 0 320px rgba(0, 0, 0, 0.7);\n background: #dadada;\n}\n.document-preview-widget__container > div {\n height: 100%;\n}\n.document-preview-widget__container.hasNoPreview.isVideo {\n position: relative;\n width: auto;\n height: auto;\n}\n.document-preview-widget__container.hasNoPreview.isVideo .document-preview-widget__preview {\n position: relative;\n}\n.document-preview-widget__container.isSvg {\n position: relative;\n width: auto;\n height: auto;\n}\n.document-preview-widget__container.isSvg .document-preview-widget__preview {\n position: relative;\n width: 500px;\n height: 500px;\n pointer-events: none;\n}\n.document-preview-widget__container.isSvg object,\n .document-preview-widget__container.isPdf object {\n width: 100%;\n height: 100%;\n}\n.document-preview-widget__container.isPdf {\n width: 80vw;\n height: 80vh;\n background: #000;\n}\n.document-preview-widget object,\n .document-preview-widget iframe,\n .document-preview-widget video,\n .document-preview-widget img {\n width: auto;\n height: auto;\n max-width: 80vw;\n max-height: 80vh;\n}\n.document-preview-widget iframe {\n min-width: 640px;\n min-height: 360px;\n}\n.document-preview-widget__message {\n position: absolute;\n left: 50%;\n top: 50%;\n -webkit-transform: translateY(-50%) translateX(-50%);\n transform: translateY(-50%) translateX(-50%);\n background: #1a1a1a;\n padding-left: 20px;\n padding-right: 20px;\n height: 43px;\n border-radius: 25px;\n color: #b3b3b3;\n}\n",""])},XEtd:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){return e&&e.__esModule?e:{default:e}}(n("0iPh"));t.default={bind:function(e,t){var n=new Image;n.src=t.value,n.onload=function(){e.src=t.value,(0,i.default)(e).css("opacity",0).animate({opacity:1},1e3)}}}},XSsB:function(e,t,n){(e.exports=n("lcwS")(!1)).push([e.i,"\n.new-tag-container[data-v-528b9f0b],\n.infos[data-v-528b9f0b] {\n flex: 1;\n}\n.infos[data-v-528b9f0b] {\n font-size: 12px;\n}\n.new-tag-container[data-v-528b9f0b]:hover {\n cursor: pointer;\n}\n.new-tag-container:hover .button[data-v-528b9f0b] {\n background-color: #171717;\n color: #707070;\n}\n.new-tag-container:hover .new-tag[data-v-528b9f0b] {\n background-color: #3f3f3f;\n}\n.button[data-v-528b9f0b] {\n width: 40px;\n height: 40px;\n line-height: 40px;\n text-align: center;\n border: 0;\n border-radius: 0 3px 3px 0;\n background-color: #0a0a0a;\n color: #575757;\n transition: all 0.25s ease-out;\n float: right;\n}\n.button i[data-v-528b9f0b] {\n position: relative;\n top: 2px;\n}\n.new-tag[data-v-528b9f0b] {\n float: right;\n height: 40px;\n border-radius: 0;\n font-size: 12px;\n line-height: 40px;\n font-weight: 600;\n overflow: hidden;\n margin: 0;\n padding: 7px 0 6px 15px;\n background: #4c4c4c;\n width: 182px;\n box-sizing: border-box;\n border-left: 4px solid #000;\n transition: all 0.25s ease-out;\n}\n.new-tag .parent-name[data-v-528b9f0b] {\n height: 12px;\n font-size: 8px;\n text-transform: uppercase;\n display: block;\n line-height: 11px;\n color: rgba(0, 0, 0, 0.6);\n letter-spacing: .07em;\n font-weight: 700;\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n margin: 0;\n padding-right: 10px;\n}\n.new-tag .name[data-v-528b9f0b] {\n color: #888;\n line-height: 16px;\n display: block;\n padding-right: 10px;\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n}\n",""])},XTd8:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("KFYC"),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,function(){return i[e]})}(o);var a=n("BxOs"),s=n.n(a);var l=function(e){n("T9Rr")},u=n("/4AN")(r.a,s.a,!1,l,null,null);t.default=u.exports},Xatb:function(e,t,n){var i=n("XSsB");"string"==typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);n("X/Wc")("0d51a618",i,!0,{})},XeN5:function(e,t,n){(e.exports=n("lcwS")(!1)).push([e.i,"\n.blanchette-editor[data-v-0f29ff50] {\n margin-bottom: 25px;\n}\n.canvas[data-v-0f29ff50] {\n position: relative;\n width: 100%;\n height: 100%;\n}\n.spinner-container[data-v-0f29ff50] {\n position: absolute;\n z-index: 5;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n background: rgba(255, 255, 255, 0.5);\n}\n.editor[data-v-0f29ff50] {\n background: #eee;\n height: 100%;\n overflow: hidden;\n}\n.editor > img[data-v-0f29ff50] {\n display: block;\n max-width: 100%;\n max-height: 100%;\n margin: auto;\n vertical-align: middle;\n}\n",""])},Xmk5:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("a",{staticClass:"widget-explorer-logo rz-no-ajax-link",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.onClick(t)}}},[n("i",{class:e.icon}),e._v(" "),e.filterExplorerSelectedItems?n("span",{staticClass:"uk-badge uk-badge-notification"},[e._v("1")]):e._e()])},staticRenderFns:[]};t.default=i},Xu3G:function(e,t){e.exports=UIkit},YM2E:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("si9I"),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,function(){return i[e]})}(o);var a=n("Xmk5"),s=n.n(a),l=n("/4AN")(r.a,s.a,!1,null,null,null);t.default=l.exports},YstR:function(e,t,n){"use strict"; /* * jQuery MiniColors: A tiny color picker built on jQuery * @@ -10,13 +10,13 @@ webpackJsonp([1],{"+KFX":function(e,t,n){"use strict";Object.defineProperty(t,"_ * * @license: http://opensource.org/licenses/MIT * - */jQuery&&function(e){function t(e){var t=e.parent();e.removeData("minicolors-initialized").removeData("minicolors-settings").removeProp("size").removeClass("minicolors-input"),t.before(e).remove()}function n(e){var t=e.parent(),n=t.find(".minicolors-panel"),r=e.data("minicolors-settings");!e.data("minicolors-initialized")||e.prop("disabled")||t.hasClass("minicolors-inline")||t.hasClass("minicolors-focus")||(i(),t.addClass("minicolors-focus"),n.stop(!0,!0).fadeIn(r.showSpeed,function(){r.show&&r.show.call(e.get(0))}))}function i(){e(".minicolors-focus").each(function(){var t=e(this),n=t.find(".minicolors-input"),i=t.find(".minicolors-panel"),r=n.data("minicolors-settings");i.fadeOut(r.hideSpeed,function(){r.hide&&r.hide.call(n.get(0)),t.removeClass("minicolors-focus")})})}function r(e,t,n){var i,r,a,s,l=e.parents(".minicolors").find(".minicolors-input"),u=l.data("minicolors-settings"),c=e.find("[class$=-picker]"),d=e.offset().left,h=e.offset().top,f=Math.round(t.pageX-d),p=Math.round(t.pageY-h),m=n?u.animationSpeed:0;t.originalEvent.changedTouches&&(f=t.originalEvent.changedTouches[0].pageX-d,p=t.originalEvent.changedTouches[0].pageY-h),f<0&&(f=0),p<0&&(p=0),f>e.width()&&(f=e.width()),p>e.height()&&(p=e.height()),e.parent().is(".minicolors-slider-wheel")&&c.parent().is(".minicolors-grid")&&(i=75-f,r=75-p,a=Math.sqrt(i*i+r*r),(s=Math.atan2(r,i))<0&&(s+=2*Math.PI),a>75&&(a=75,f=75-75*Math.cos(s),p=75-75*Math.sin(s)),f=Math.round(f),p=Math.round(p)),e.is(".minicolors-grid")?c.stop(!0).animate({top:p+"px",left:f+"px"},m,u.animationEasing,function(){o(l,e)}):c.stop(!0).animate({top:p+"px"},m,u.animationEasing,function(){o(l,e)})}function o(e,t){function n(e,t){var n,i;return e.length&&t?(n=e.offset().left,i=e.offset().top,{x:n-t.offset().left+e.outerWidth()/2,y:i-t.offset().top+e.outerHeight()/2}):null}var i,r,o,a,u,h,f,p=e.val(),m=e.attr("data-opacity"),g=e.parent(),v=e.data("minicolors-settings"),_=g.find(".minicolors-swatch"),b=g.find(".minicolors-grid"),w=g.find(".minicolors-slider"),k=g.find(".minicolors-opacity-slider"),y=b.find("[class$=-picker]"),E=w.find("[class$=-picker]"),C=k.find("[class$=-picker]"),x=n(y,b),T=n(E,w),S=n(C,k);if(t.is(".minicolors-grid, .minicolors-slider")){switch(v.control){case"wheel":a=b.width()/2-x.x,u=b.height()/2-x.y,h=Math.sqrt(a*a+u*u),(f=Math.atan2(u,a))<0&&(f+=2*Math.PI),h>75&&(h=75,x.x=69-75*Math.cos(f),x.y=69-75*Math.sin(f)),r=c(h/.75,0,100),p=d({h:i=c(180*f/Math.PI,0,360),s:r,b:o=c(100-Math.floor(T.y*(100/w.height())),0,100)}),w.css("backgroundColor",d({h:i,s:r,b:100}));break;case"saturation":p=d({h:i=c(parseInt(x.x*(360/b.width()),10),0,360),s:r=c(100-Math.floor(T.y*(100/w.height())),0,100),b:o=c(100-Math.floor(x.y*(100/b.height())),0,100)}),w.css("backgroundColor",d({h:i,s:100,b:o})),g.find(".minicolors-grid-inner").css("opacity",r/100);break;case"brightness":p=d({h:i=c(parseInt(x.x*(360/b.width()),10),0,360),s:r=c(100-Math.floor(x.y*(100/b.height())),0,100),b:o=c(100-Math.floor(T.y*(100/w.height())),0,100)}),w.css("backgroundColor",d({h:i,s:r,b:100})),g.find(".minicolors-grid-inner").css("opacity",1-o/100);break;default:p=d({h:i=c(360-parseInt(T.y*(360/w.height()),10),0,360),s:r=c(Math.floor(x.x*(100/b.width())),0,100),b:o=c(100-Math.floor(x.y*(100/b.height())),0,100)}),b.css("backgroundColor",d({h:i,s:100,b:100}))}e.val(l(p,v.letterCase))}t.is(".minicolors-opacity-slider")&&(m=v.opacity?parseFloat(1-S.y/k.height()).toFixed(2):1,v.opacity&&e.attr("data-opacity",m)),_.find("SPAN").css({backgroundColor:p,opacity:m}),s(e,p,m)}function a(e,t){var n,i,r,o,a,f,p,m=e.parent(),g=e.data("minicolors-settings"),v=m.find(".minicolors-swatch"),_=m.find(".minicolors-grid"),b=m.find(".minicolors-slider"),w=m.find(".minicolors-opacity-slider"),k=_.find("[class$=-picker]"),y=b.find("[class$=-picker]"),E=w.find("[class$=-picker]");switch((n=l(u(e.val(),!0),g.letterCase))||(n=l(u(g.defaultValue,!0),g.letterCase)),i=function(e){var t=function(e){var t={h:0,s:0,b:0},n=Math.min(e.r,e.g,e.b),i=Math.max(e.r,e.g,e.b),r=i-n;t.b=i,t.s=0!==i?255*r/i:0,0!==t.s?e.r===i?t.h=(e.g-e.b)/r:e.g===i?t.h=2+(e.b-e.r)/r:t.h=4+(e.r-e.g)/r:t.h=-1;t.h*=60,t.h<0&&(t.h+=360);return t.s*=100/255,t.b*=100/255,t}(h(e));0===t.s&&(t.h=360);return t}(n),t||e.val(n),g.opacity&&(r=""===e.attr("data-opacity")?1:c(parseFloat(e.attr("data-opacity")).toFixed(2),0,1),isNaN(r)&&(r=1),e.attr("data-opacity",r),v.find("SPAN").css("opacity",r),a=c(w.height()-w.height()*r,0,w.height()),E.css("top",a+"px")),v.find("SPAN").css("backgroundColor",n),g.control){case"wheel":f=c(Math.ceil(.75*i.s),0,_.height()/2),p=i.h*Math.PI/180,o=c(75-Math.cos(p)*f,0,_.width()),a=c(75-Math.sin(p)*f,0,_.height()),k.css({top:a+"px",left:o+"px"}),a=150-i.b/(100/_.height()),""===n&&(a=0),y.css("top",a+"px"),b.css("backgroundColor",d({h:i.h,s:i.s,b:100}));break;case"saturation":o=c(5*i.h/12,0,150),a=c(_.height()-Math.ceil(i.b/(100/_.height())),0,_.height()),k.css({top:a+"px",left:o+"px"}),a=c(b.height()-i.s*(b.height()/100),0,b.height()),y.css("top",a+"px"),b.css("backgroundColor",d({h:i.h,s:100,b:i.b})),m.find(".minicolors-grid-inner").css("opacity",i.s/100);break;case"brightness":o=c(5*i.h/12,0,150),a=c(_.height()-Math.ceil(i.s/(100/_.height())),0,_.height()),k.css({top:a+"px",left:o+"px"}),a=c(b.height()-i.b*(b.height()/100),0,b.height()),y.css("top",a+"px"),b.css("backgroundColor",d({h:i.h,s:i.s,b:100})),m.find(".minicolors-grid-inner").css("opacity",1-i.b/100);break;default:o=c(Math.ceil(i.s/(100/_.width())),0,_.width()),a=c(_.height()-Math.ceil(i.b/(100/_.height())),0,_.height()),k.css({top:a+"px",left:o+"px"}),a=c(b.height()-i.h/(360/b.height()),0,b.height()),y.css("top",a+"px"),_.css("backgroundColor",d({h:i.h,s:100,b:100}))}e.data("minicolors-initialized")&&s(e,n,r)}function s(e,t,n){var i=e.data("minicolors-settings"),r=e.data("minicolors-lastChange");r&&r.hex===t&&r.opacity===n||(e.data("minicolors-lastChange",{hex:t,opacity:n}),i.change&&(i.changeDelay?(clearTimeout(e.data("minicolors-changeTimeout")),e.data("minicolors-changeTimeout",setTimeout(function(){i.change.call(e.get(0),t,n)},i.changeDelay))):i.change.call(e.get(0),t,n)),e.trigger("change").trigger("input"))}function l(e,t){return"uppercase"===t?e.toUpperCase():e.toLowerCase()}function u(e,t){return 3!==(e=e.replace(/[^A-F0-9]/gi,"")).length&&6!==e.length?"":(3===e.length&&t&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]),"#"+e)}function c(e,t,n){return en&&(e=n),e}function d(t){return function(t){var n=[t.r.toString(16),t.g.toString(16),t.b.toString(16)];return e.each(n,function(e,t){1===t.length&&(n[e]="0"+t)}),"#"+n.join("")}(function(e){var t={},n=Math.round(e.h),i=Math.round(255*e.s/100),r=Math.round(255*e.b/100);if(0===i)t.r=t.g=t.b=r;else{var o=r,a=(255-i)*r/255,s=n%60*(o-a)/60;360===n&&(n=0),n<60?(t.r=o,t.b=a,t.g=a+s):n<120?(t.g=o,t.b=a,t.r=o-s):n<180?(t.g=o,t.r=a,t.b=a+s):n<240?(t.b=o,t.r=a,t.g=o-s):n<300?(t.b=o,t.g=a,t.r=a+s):n<360?(t.r=o,t.g=a,t.b=o-s):(t.r=0,t.g=0,t.b=0)}return{r:Math.round(t.r),g:Math.round(t.g),b:Math.round(t.b)}}(t))}function h(e){return{r:(e=parseInt(e.indexOf("#")>-1?e.substring(1):e,16))>>16,g:(65280&e)>>8,b:255&e}}e.minicolors={defaults:{animationSpeed:50,animationEasing:"swing",change:null,changeDelay:0,control:"hue",dataUris:!0,defaultValue:"",hide:null,hideSpeed:100,inline:!1,letterCase:"lowercase",opacity:!1,position:"bottom left",show:null,showSpeed:100,theme:"default"}},e.extend(e.fn,{minicolors:function(r,o){switch(r){case"destroy":return e(this).each(function(){t(e(this))}),e(this);case"hide":return i(),e(this);case"opacity":return void 0===o?e(this).attr("data-opacity"):(e(this).each(function(){a(e(this).attr("data-opacity",o))}),e(this));case"rgbObject":return function(t){var n=h(u(e(t).val(),!0)),i=e(t).attr("data-opacity");if(!n)return null;void 0!==i&&e.extend(n,{a:parseFloat(i)});return n}(e(this));case"rgbString":case"rgbaString":return function(t,n){var i=h(u(e(t).val(),!0)),r=e(t).attr("data-opacity");if(!i)return null;void 0===r&&(r=1);return n?"rgba("+i.r+", "+i.g+", "+i.b+", "+parseFloat(r)+")":"rgb("+i.r+", "+i.g+", "+i.b+")"}(e(this),"rgbaString"===r);case"settings":return void 0===o?e(this).data("minicolors-settings"):(e(this).each(function(){var n=e(this).data("minicolors-settings")||{};t(e(this)),e(this).minicolors(e.extend(!0,n,o))}),e(this));case"show":return n(e(this).eq(0)),e(this);case"value":return void 0===o?e(this).val():(e(this).each(function(){a(e(this).val(o))}),e(this));default:return"create"!==r&&(o=r),e(this).each(function(){!function(t,n){var i=e('
    '),r=e.minicolors.defaults;if(t.data("minicolors-initialized"))return;n=e.extend(!0,{},r,n),i.addClass("minicolors-theme-"+n.theme).toggleClass("minicolors-with-opacity",n.opacity).toggleClass("minicolors-no-data-uris",!0!==n.dataUris),void 0!==n.position&&e.each(n.position.split(" "),function(){i.addClass("minicolors-position-"+this)});t.addClass("minicolors-input").data("minicolors-initialized",!1).data("minicolors-settings",n).prop("size",7).wrap(i).after('
    '),n.inline||(t.after(''),t.next(".minicolors-swatch").on("click",function(e){e.preventDefault(),t.focus()}));t.parent().find(".minicolors-panel").on("selectstart",function(){return!1}).end(),n.inline&&t.parent().addClass("minicolors-inline");a(t,!1),t.data("minicolors-initialized",!0)}(e(this),o)}),e(this)}}}),e(document).on("mousedown.minicolors touchstart.minicolors",function(t){e(t.target).parents().add(t.target).hasClass("minicolors")||i()}).on("mousedown.minicolors touchstart.minicolors",".minicolors-grid, .minicolors-slider, .minicolors-opacity-slider",function(t){var n=e(this);t.preventDefault(),e(document).data("minicolors-target",n),r(n,t,!0)}).on("mousemove.minicolors touchmove.minicolors",function(t){var n=e(document).data("minicolors-target");n&&r(n,t)}).on("mouseup.minicolors touchend.minicolors",function(){e(this).removeData("minicolors-target")}).on("mousedown.minicolors touchstart.minicolors",".minicolors-swatch",function(t){var i=e(this).parent().find(".minicolors-input");t.preventDefault(),n(i)}).on("focus.minicolors",".minicolors-input",function(){var t=e(this);t.data("minicolors-initialized")&&n(t)}).on("blur.minicolors",".minicolors-input",function(){var t=e(this),n=t.data("minicolors-settings");t.data("minicolors-initialized")&&(t.val(u(t.val(),!0)),""===t.val()&&t.val(u(n.defaultValue,!0)),t.val(l(t.val(),n.letterCase)))}).on("keydown.minicolors",".minicolors-input",function(t){var n=e(this);if(n.data("minicolors-initialized"))switch(t.keyCode){case 9:i();break;case 13:case 27:i(),n.blur()}}).on("keyup.minicolors",".minicolors-input",function(){var t=e(this);t.data("minicolors-initialized")&&a(t,!0)}).on("paste.minicolors",".minicolors-input",function(){var t=e(this);t.data("minicolors-initialized")&&setTimeout(function(){a(t,!0)},1)})}(jQuery)},YtUu:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("PxkC"),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,function(){return i[e]})}(o);var a=n("3T/f"),s=n.n(a),l=n("/4AN")(r.a,s.a,!1,null,null,null);t.default=l.exports},ZJj3:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={props:{translations:{type:Object,required:!0},aspectRatio:{type:Function},cropping:{type:Boolean,required:!0},cropped:{type:Boolean,required:!0},overwrite:{type:Function,required:!0},undo:{type:Function,required:!0},setDragMode:{type:Function},zoomOut:{type:Function},zoomIn:{type:Function},rotateLeft:{type:Function},rotateRight:{type:Function},flipHorizontal:{type:Function},flipVertical:{type:Function},crop:{type:Function},move:{type:Function},clear:{type:Function}},data:function(){return{ratio:"free"}},mounted:function(){window.addEventListener("keydown",this.keydown,!1)},beforeDestroy:function(){window.removeEventListener("keydown",this.keydown,!1)},methods:{keydown:function(e){var t=e.keyCode;switch(t){case 90:this.undo&&(e.preventDefault(),this.undo())}if(!this.cropped)switch(t){case 13:this.crop&&this.crop();break;case 27:this.clear&&this.clear();break;case 37:this.move&&(e.preventDefault(),this.move(-1,0));break;case 38:this.move&&(e.preventDefault(),this.move(0,-1));break;case 39:this.move&&(e.preventDefault(),this.move(1,0));break;case 40:this.move&&(e.preventDefault(),this.move(0,1));break;case 67:this.setDragMode&&this.setDragMode("crop");break;case 77:this.setDragMode&&this.setDragMode("move");break;case 73:this.zoomIn&&this.zoomIn();break;case 79:this.zoomOut&&this.zoomOut();break;case 76:this.rotateLeft&&this.rotateLeft();break;case 82:this.rotateRight&&this.rotateRight();break;case 72:this.flipHorizontal&&this.flipHorizontal();break;case 86:this.flipVertical&&this.flipVertical()}}}}},Zfec:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={render:function(){var e=this,t=e.$createElement;return(e._self._c||t)("drawer-item",{attrs:{item:e.item,index:e.index,"drawer-name":e.drawerName,"is-item-explorer":e.isItemExplorer,"parent-name":e.item.classname,name:e.item.displayable,"add-item":e.addItem,"remove-item":e.removeItem}})},staticRenderFns:[]};t.default=i},ZysM:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_LOCATION=void 0;var i=h(n("zv2j")),r=h(n("aIIw")),o=h(n("kcQR")),a=h(n("HxWs")),s=h(n("dACh")),l=h(n("jx4H")),u=h(n("0iPh")),c=n("f3z0"),d=h(n("1afk"));function h(e){return e&&e.__esModule?e:{default:e}}var f=t.DEFAULT_LOCATION={lat:45.769785,lng:4.833967,zoom:14},p=function(){function e(){(0,s.default)(this,e),this.$fields=document.querySelectorAll(".rz-geotag-field:not(.is-enable)"),this.$fields.length&&this.init()}return(0,l.default)(e,[{key:"init",value:function(){this.bindFields()}},{key:"unbind",value:function(){}},{key:"bindFields",value:function(){for(var e=this.$fields.length,t=0;t','
      ','
    • ','
    • '+n+"
    • ","
    ",'
    ','
    ','','',"
    ","
    ","",'
    '].join(""),l=document.createElement("div");if(l.innerHTML=s,e.after(l),!document.getElementById(r))throw new Error("Map container does not exist");var c=document.getElementById(o);c&&c.setAttribute("placeholder",window.Rozier.messages.geotag.typeAnAddress);var d=document.getElementById(a);d&&(d.style.display="none");var h={center:this.createLatLng(i),zoom:i.zoom||i.alt,styles:window.Rozier.mapsStyle},p=this.createMap(r,h),m=null;if(""!==e.value)try{i=JSON.parse(e.value),m=this.createMarker(i,p),d.style.display="inline-block"}catch(t){return e.style.display=null,document.getElementById(r).style.display="none",!1}else m=this.createMarker(i,p);m.on("dragend",u.default.proxy(this.setMarkerEvent,this,m,e,d,p)),p.on("click",u.default.proxy(this.setMarkerEvent,this,m,e,d,p)),c.addEventListener("keypress",u.default.proxy(this.requestGeocode,this,m,e,d,p)),d.addEventListener("click",u.default.proxy(this.resetMarker,this,m,e,d,p)),window.Rozier.$window.on("resize",u.default.proxy(this.resetMap,this,p,m,h)),window.Rozier.$window.on("pageshowend",u.default.proxy(this.resetMap,this,p,m,h)),this.resetMap(p,m,h,null)}},{key:"resetMap",value:function(e,t,n){window.setTimeout(function(){e.invalidateSize(!0),null!==t?e.panTo(t.getLatLng()):e.panTo(n.center)},400)}},{key:"resetMarker",value:function(e,t,n,i,r){return e.removeFrom(i),t.value="",n.style.display="none",!1}},{key:"setMarkerEvent",value:function(e,t,n,i,r){if(void 0!==r.latlng)this.setMarker(e,t,n,i,r.latlng);else if(null!==e){var o=e.getLatLng();i.panTo(o),this.applyGeocode(t,n,o,i.getZoom(),void 0)}}},{key:"setMarker",value:function(e,t,n,i,r){e.setLatLng(r),e.addTo(i),i.panTo(r),this.applyGeocode(t,n,e.getLatLng(),i.getZoom(),e.name)}},{key:"latLngToFeature",value:function(e,t,n){return e.alt&&(t=e.alt,e.alt=void 0),{type:"Feature",properties:{name:n||"",zoom:t},geometry:{type:"Point",coordinates:c.GeoJSON.latLngToCoords(e)}}}},{key:"applyGeocode",value:function(e,t,n,i,r){e.value=(0,a.default)(this.latLngToFeature(n,i,r)),t.style.display="inline-block"}},{key:"createMarker",value:function(e,t){var n=null;n=e instanceof c.LatLng?e:this.createLatLng(e);var i=new c.Marker(n,{icon:this.createIcon(),draggable:!0}).addTo(t);return t.flyTo(n,n.alt),i.alt=n.alt,e.type&&"Feature"===e.type&&e.properties&&e.properties.name&&(i.name=e.properties.name),e.name&&(i.name=e.name),i}},{key:"requestGeocode",value:function(){var e=(0,o.default)(r.default.mark(function e(t,n,i,o,a){var s,l;return r.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(s=a.currentTarget.value,!a.which||13!==a.which){e.next=10;break}return a.preventDefault(),e.next=5,this.getLatLngForAddress(s);case 5:if(null!==(l=e.sent)){e.next=9;break}return console.error("Geocode was not successful."),e.abrupt("return");case 9:this.setMarker(t,n,i,o,l);case 10:case"end":return e.stop()}},e,this)}));return function(t,n,i,r,o){return e.apply(this,arguments)}}()},{key:"uniqid",value:function(){return(new Date).getTime()}},{key:"createMap",value:function(e,t){var n=new c.Map(document.getElementById(e)).setView(t.center,t.zoom),i=new c.TileLayer(window.Rozier.leafletMapTileUrl,{attribution:"© OpenStreetMap contributors",maxZoom:18});return n.addLayer(i),n}},{key:"createLatLng",value:function(e){if("number"==typeof e.lat&&"number"==typeof e.lng)return new c.LatLng(e.lat,e.lng,e.zoom||e.alt);if(e.type&&"Feature"===e.type){var t=e.properties&&e.properties.zoom?(0,i.default)(e.properties.zoom):7,n=new c.LatLng(e.geometry.coordinates[1],e.geometry.coordinates[0],t);return e.properties&&e.properties.name&&(n.name=e.properties.name),n}throw new Error("Cannot create LatLng object from data")}},{key:"createIcon",value:function(){return new c.Icon({iconUrl:window.Rozier.resourcesUrl+"assets/img/marker.png",iconRetinaUrl:window.Rozier.resourcesUrl+"assets/img/marker@2x.png",shadowUrl:window.Rozier.resourcesUrl+"assets/img/marker_shadow.png",shadowRetinaUrl:window.Rozier.resourcesUrl+"assets/img/marker_shadow@2x.png",iconSize:[22,30],shadowSize:[25,22],iconAnchor:[11,30],shadowAnchor:[2,22]})}},{key:"getLatLngForAddress",value:function(e){return d.default.geoCode(e).then(function(e){if(null!==e){var t=new c.LatLng(e.lat,e.lon);return t.name=e.display_name,t}return console.error("Geocode was not successful."),null}).catch(function(e){return console.error(e),null})}}]),e}();t.default=p},aI4R:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=s(n("dACh")),r=s(n("jx4H")),o=s(n("0iPh")),a=n("Tzw7");function s(e){return e&&e.__esModule?e:{default:e}}var l=function(){function e(){(0,i.default)(this,e),this.$content=(0,o.default)(".content-node-tree"),this.$elements=null,this.$dropdown=null,this.$content.length&&(this.$dropdown=this.$content.find(".uk-dropdown-small"),this.init())}return(0,r.default)(e,[{key:"init",value:function(){this.contentHeight=this.$content.actual("outerHeight"),this.contentHeight>=window.Rozier.windowHeight-400&&this.dropdownFlip()}},{key:"unbind",value:function(){}},{key:"dropdownFlip",value:function(){for(var e=this.$dropdown.length-1;e>=this.$dropdown.length-3;e--)(0,a.addClass)(this.$dropdown[e],"uk-dropdown-up")}}]),e}();t.default=l},ac1b:function(e,t,n){"use strict";(function(i){var r,o,a,s,l=c(n("8FtN")),u=c(n("GyB/"));function c(e){return e&&e.__esModule?e:{default:e}} + */jQuery&&function(e){function t(e){var t=e.parent();e.removeData("minicolors-initialized").removeData("minicolors-settings").removeProp("size").removeClass("minicolors-input"),t.before(e).remove()}function n(e){var t=e.parent(),n=t.find(".minicolors-panel"),r=e.data("minicolors-settings");!e.data("minicolors-initialized")||e.prop("disabled")||t.hasClass("minicolors-inline")||t.hasClass("minicolors-focus")||(i(),t.addClass("minicolors-focus"),n.stop(!0,!0).fadeIn(r.showSpeed,function(){r.show&&r.show.call(e.get(0))}))}function i(){e(".minicolors-focus").each(function(){var t=e(this),n=t.find(".minicolors-input"),i=t.find(".minicolors-panel"),r=n.data("minicolors-settings");i.fadeOut(r.hideSpeed,function(){r.hide&&r.hide.call(n.get(0)),t.removeClass("minicolors-focus")})})}function r(e,t,n){var i,r,a,s,l=e.parents(".minicolors").find(".minicolors-input"),u=l.data("minicolors-settings"),c=e.find("[class$=-picker]"),d=e.offset().left,h=e.offset().top,f=Math.round(t.pageX-d),p=Math.round(t.pageY-h),m=n?u.animationSpeed:0;t.originalEvent.changedTouches&&(f=t.originalEvent.changedTouches[0].pageX-d,p=t.originalEvent.changedTouches[0].pageY-h),f<0&&(f=0),p<0&&(p=0),f>e.width()&&(f=e.width()),p>e.height()&&(p=e.height()),e.parent().is(".minicolors-slider-wheel")&&c.parent().is(".minicolors-grid")&&(i=75-f,r=75-p,a=Math.sqrt(i*i+r*r),(s=Math.atan2(r,i))<0&&(s+=2*Math.PI),a>75&&(a=75,f=75-75*Math.cos(s),p=75-75*Math.sin(s)),f=Math.round(f),p=Math.round(p)),e.is(".minicolors-grid")?c.stop(!0).animate({top:p+"px",left:f+"px"},m,u.animationEasing,function(){o(l,e)}):c.stop(!0).animate({top:p+"px"},m,u.animationEasing,function(){o(l,e)})}function o(e,t){function n(e,t){var n,i;return e.length&&t?(n=e.offset().left,i=e.offset().top,{x:n-t.offset().left+e.outerWidth()/2,y:i-t.offset().top+e.outerHeight()/2}):null}var i,r,o,a,u,h,f,p=e.val(),m=e.attr("data-opacity"),g=e.parent(),v=e.data("minicolors-settings"),_=g.find(".minicolors-swatch"),b=g.find(".minicolors-grid"),w=g.find(".minicolors-slider"),k=g.find(".minicolors-opacity-slider"),y=b.find("[class$=-picker]"),E=w.find("[class$=-picker]"),C=k.find("[class$=-picker]"),x=n(y,b),T=n(E,w),S=n(C,k);if(t.is(".minicolors-grid, .minicolors-slider")){switch(v.control){case"wheel":a=b.width()/2-x.x,u=b.height()/2-x.y,h=Math.sqrt(a*a+u*u),(f=Math.atan2(u,a))<0&&(f+=2*Math.PI),h>75&&(h=75,x.x=69-75*Math.cos(f),x.y=69-75*Math.sin(f)),r=c(h/.75,0,100),p=d({h:i=c(180*f/Math.PI,0,360),s:r,b:o=c(100-Math.floor(T.y*(100/w.height())),0,100)}),w.css("backgroundColor",d({h:i,s:r,b:100}));break;case"saturation":p=d({h:i=c(parseInt(x.x*(360/b.width()),10),0,360),s:r=c(100-Math.floor(T.y*(100/w.height())),0,100),b:o=c(100-Math.floor(x.y*(100/b.height())),0,100)}),w.css("backgroundColor",d({h:i,s:100,b:o})),g.find(".minicolors-grid-inner").css("opacity",r/100);break;case"brightness":p=d({h:i=c(parseInt(x.x*(360/b.width()),10),0,360),s:r=c(100-Math.floor(x.y*(100/b.height())),0,100),b:o=c(100-Math.floor(T.y*(100/w.height())),0,100)}),w.css("backgroundColor",d({h:i,s:r,b:100})),g.find(".minicolors-grid-inner").css("opacity",1-o/100);break;default:p=d({h:i=c(360-parseInt(T.y*(360/w.height()),10),0,360),s:r=c(Math.floor(x.x*(100/b.width())),0,100),b:o=c(100-Math.floor(x.y*(100/b.height())),0,100)}),b.css("backgroundColor",d({h:i,s:100,b:100}))}e.val(l(p,v.letterCase))}t.is(".minicolors-opacity-slider")&&(m=v.opacity?parseFloat(1-S.y/k.height()).toFixed(2):1,v.opacity&&e.attr("data-opacity",m)),_.find("SPAN").css({backgroundColor:p,opacity:m}),s(e,p,m)}function a(e,t){var n,i,r,o,a,f,p,m=e.parent(),g=e.data("minicolors-settings"),v=m.find(".minicolors-swatch"),_=m.find(".minicolors-grid"),b=m.find(".minicolors-slider"),w=m.find(".minicolors-opacity-slider"),k=_.find("[class$=-picker]"),y=b.find("[class$=-picker]"),E=w.find("[class$=-picker]");switch((n=l(u(e.val(),!0),g.letterCase))||(n=l(u(g.defaultValue,!0),g.letterCase)),i=function(e){var t=function(e){var t={h:0,s:0,b:0},n=Math.min(e.r,e.g,e.b),i=Math.max(e.r,e.g,e.b),r=i-n;t.b=i,t.s=0!==i?255*r/i:0,0!==t.s?e.r===i?t.h=(e.g-e.b)/r:e.g===i?t.h=2+(e.b-e.r)/r:t.h=4+(e.r-e.g)/r:t.h=-1;t.h*=60,t.h<0&&(t.h+=360);return t.s*=100/255,t.b*=100/255,t}(h(e));0===t.s&&(t.h=360);return t}(n),t||e.val(n),g.opacity&&(r=""===e.attr("data-opacity")?1:c(parseFloat(e.attr("data-opacity")).toFixed(2),0,1),isNaN(r)&&(r=1),e.attr("data-opacity",r),v.find("SPAN").css("opacity",r),a=c(w.height()-w.height()*r,0,w.height()),E.css("top",a+"px")),v.find("SPAN").css("backgroundColor",n),g.control){case"wheel":f=c(Math.ceil(.75*i.s),0,_.height()/2),p=i.h*Math.PI/180,o=c(75-Math.cos(p)*f,0,_.width()),a=c(75-Math.sin(p)*f,0,_.height()),k.css({top:a+"px",left:o+"px"}),a=150-i.b/(100/_.height()),""===n&&(a=0),y.css("top",a+"px"),b.css("backgroundColor",d({h:i.h,s:i.s,b:100}));break;case"saturation":o=c(5*i.h/12,0,150),a=c(_.height()-Math.ceil(i.b/(100/_.height())),0,_.height()),k.css({top:a+"px",left:o+"px"}),a=c(b.height()-i.s*(b.height()/100),0,b.height()),y.css("top",a+"px"),b.css("backgroundColor",d({h:i.h,s:100,b:i.b})),m.find(".minicolors-grid-inner").css("opacity",i.s/100);break;case"brightness":o=c(5*i.h/12,0,150),a=c(_.height()-Math.ceil(i.s/(100/_.height())),0,_.height()),k.css({top:a+"px",left:o+"px"}),a=c(b.height()-i.b*(b.height()/100),0,b.height()),y.css("top",a+"px"),b.css("backgroundColor",d({h:i.h,s:i.s,b:100})),m.find(".minicolors-grid-inner").css("opacity",1-i.b/100);break;default:o=c(Math.ceil(i.s/(100/_.width())),0,_.width()),a=c(_.height()-Math.ceil(i.b/(100/_.height())),0,_.height()),k.css({top:a+"px",left:o+"px"}),a=c(b.height()-i.h/(360/b.height()),0,b.height()),y.css("top",a+"px"),_.css("backgroundColor",d({h:i.h,s:100,b:100}))}e.data("minicolors-initialized")&&s(e,n,r)}function s(e,t,n){var i=e.data("minicolors-settings"),r=e.data("minicolors-lastChange");r&&r.hex===t&&r.opacity===n||(e.data("minicolors-lastChange",{hex:t,opacity:n}),i.change&&(i.changeDelay?(clearTimeout(e.data("minicolors-changeTimeout")),e.data("minicolors-changeTimeout",setTimeout(function(){i.change.call(e.get(0),t,n)},i.changeDelay))):i.change.call(e.get(0),t,n)),e.trigger("change").trigger("input"))}function l(e,t){return"uppercase"===t?e.toUpperCase():e.toLowerCase()}function u(e,t){return 3!==(e=e.replace(/[^A-F0-9]/gi,"")).length&&6!==e.length?"":(3===e.length&&t&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]),"#"+e)}function c(e,t,n){return en&&(e=n),e}function d(t){return function(t){var n=[t.r.toString(16),t.g.toString(16),t.b.toString(16)];return e.each(n,function(e,t){1===t.length&&(n[e]="0"+t)}),"#"+n.join("")}(function(e){var t={},n=Math.round(e.h),i=Math.round(255*e.s/100),r=Math.round(255*e.b/100);if(0===i)t.r=t.g=t.b=r;else{var o=r,a=(255-i)*r/255,s=n%60*(o-a)/60;360===n&&(n=0),n<60?(t.r=o,t.b=a,t.g=a+s):n<120?(t.g=o,t.b=a,t.r=o-s):n<180?(t.g=o,t.r=a,t.b=a+s):n<240?(t.b=o,t.r=a,t.g=o-s):n<300?(t.b=o,t.g=a,t.r=a+s):n<360?(t.r=o,t.g=a,t.b=o-s):(t.r=0,t.g=0,t.b=0)}return{r:Math.round(t.r),g:Math.round(t.g),b:Math.round(t.b)}}(t))}function h(e){return{r:(e=parseInt(e.indexOf("#")>-1?e.substring(1):e,16))>>16,g:(65280&e)>>8,b:255&e}}e.minicolors={defaults:{animationSpeed:50,animationEasing:"swing",change:null,changeDelay:0,control:"hue",dataUris:!0,defaultValue:"",hide:null,hideSpeed:100,inline:!1,letterCase:"lowercase",opacity:!1,position:"bottom left",show:null,showSpeed:100,theme:"default"}},e.extend(e.fn,{minicolors:function(r,o){switch(r){case"destroy":return e(this).each(function(){t(e(this))}),e(this);case"hide":return i(),e(this);case"opacity":return void 0===o?e(this).attr("data-opacity"):(e(this).each(function(){a(e(this).attr("data-opacity",o))}),e(this));case"rgbObject":return function(t){var n=h(u(e(t).val(),!0)),i=e(t).attr("data-opacity");if(!n)return null;void 0!==i&&e.extend(n,{a:parseFloat(i)});return n}(e(this));case"rgbString":case"rgbaString":return function(t,n){var i=h(u(e(t).val(),!0)),r=e(t).attr("data-opacity");if(!i)return null;void 0===r&&(r=1);return n?"rgba("+i.r+", "+i.g+", "+i.b+", "+parseFloat(r)+")":"rgb("+i.r+", "+i.g+", "+i.b+")"}(e(this),"rgbaString"===r);case"settings":return void 0===o?e(this).data("minicolors-settings"):(e(this).each(function(){var n=e(this).data("minicolors-settings")||{};t(e(this)),e(this).minicolors(e.extend(!0,n,o))}),e(this));case"show":return n(e(this).eq(0)),e(this);case"value":return void 0===o?e(this).val():(e(this).each(function(){a(e(this).val(o))}),e(this));default:return"create"!==r&&(o=r),e(this).each(function(){!function(t,n){var i=e('
    '),r=e.minicolors.defaults;if(t.data("minicolors-initialized"))return;n=e.extend(!0,{},r,n),i.addClass("minicolors-theme-"+n.theme).toggleClass("minicolors-with-opacity",n.opacity).toggleClass("minicolors-no-data-uris",!0!==n.dataUris),void 0!==n.position&&e.each(n.position.split(" "),function(){i.addClass("minicolors-position-"+this)});t.addClass("minicolors-input").data("minicolors-initialized",!1).data("minicolors-settings",n).prop("size",7).wrap(i).after('
    '),n.inline||(t.after(''),t.next(".minicolors-swatch").on("click",function(e){e.preventDefault(),t.focus()}));t.parent().find(".minicolors-panel").on("selectstart",function(){return!1}).end(),n.inline&&t.parent().addClass("minicolors-inline");a(t,!1),t.data("minicolors-initialized",!0)}(e(this),o)}),e(this)}}}),e(document).on("mousedown.minicolors touchstart.minicolors",function(t){e(t.target).parents().add(t.target).hasClass("minicolors")||i()}).on("mousedown.minicolors touchstart.minicolors",".minicolors-grid, .minicolors-slider, .minicolors-opacity-slider",function(t){var n=e(this);t.preventDefault(),e(document).data("minicolors-target",n),r(n,t,!0)}).on("mousemove.minicolors touchmove.minicolors",function(t){var n=e(document).data("minicolors-target");n&&r(n,t)}).on("mouseup.minicolors touchend.minicolors",function(){e(this).removeData("minicolors-target")}).on("mousedown.minicolors touchstart.minicolors",".minicolors-swatch",function(t){var i=e(this).parent().find(".minicolors-input");t.preventDefault(),n(i)}).on("focus.minicolors",".minicolors-input",function(){var t=e(this);t.data("minicolors-initialized")&&n(t)}).on("blur.minicolors",".minicolors-input",function(){var t=e(this),n=t.data("minicolors-settings");t.data("minicolors-initialized")&&(t.val(u(t.val(),!0)),""===t.val()&&t.val(u(n.defaultValue,!0)),t.val(l(t.val(),n.letterCase)))}).on("keydown.minicolors",".minicolors-input",function(t){var n=e(this);if(n.data("minicolors-initialized"))switch(t.keyCode){case 9:i();break;case 13:case 27:i(),n.blur()}}).on("keyup.minicolors",".minicolors-input",function(){var t=e(this);t.data("minicolors-initialized")&&a(t,!0)}).on("paste.minicolors",".minicolors-input",function(){var t=e(this);t.data("minicolors-initialized")&&setTimeout(function(){a(t,!0)},1)})}(jQuery)},YtUu:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("PxkC"),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,function(){return i[e]})}(o);var a=n("3T/f"),s=n.n(a),l=n("/4AN")(r.a,s.a,!1,null,null,null);t.default=l.exports},ZJj3:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={props:{translations:{type:Object,required:!0},aspectRatio:{type:Function},cropping:{type:Boolean,required:!0},cropped:{type:Boolean,required:!0},overwrite:{type:Function,required:!0},undo:{type:Function,required:!0},setDragMode:{type:Function},zoomOut:{type:Function},zoomIn:{type:Function},rotateLeft:{type:Function},rotateRight:{type:Function},flipHorizontal:{type:Function},flipVertical:{type:Function},crop:{type:Function},move:{type:Function},clear:{type:Function}},data:function(){return{ratio:"free"}},mounted:function(){window.addEventListener("keydown",this.keydown,!1)},beforeDestroy:function(){window.removeEventListener("keydown",this.keydown,!1)},methods:{keydown:function(e){var t=e.keyCode;switch(t){case 90:this.undo&&(e.preventDefault(),this.undo())}if(!this.cropped)switch(t){case 13:this.crop&&this.crop();break;case 27:this.clear&&this.clear();break;case 37:this.move&&(e.preventDefault(),this.move(-1,0));break;case 38:this.move&&(e.preventDefault(),this.move(0,-1));break;case 39:this.move&&(e.preventDefault(),this.move(1,0));break;case 40:this.move&&(e.preventDefault(),this.move(0,1));break;case 67:this.setDragMode&&this.setDragMode("crop");break;case 77:this.setDragMode&&this.setDragMode("move");break;case 73:this.zoomIn&&this.zoomIn();break;case 79:this.zoomOut&&this.zoomOut();break;case 76:this.rotateLeft&&this.rotateLeft();break;case 82:this.rotateRight&&this.rotateRight();break;case 72:this.flipHorizontal&&this.flipHorizontal();break;case 86:this.flipVertical&&this.flipVertical()}}}}},Zfec:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={render:function(){var e=this,t=e.$createElement;return(e._self._c||t)("drawer-item",{attrs:{item:e.item,index:e.index,"drawer-name":e.drawerName,"is-item-explorer":e.isItemExplorer,"parent-name":e.item.classname,name:e.item.displayable,"add-item":e.addItem,"remove-item":e.removeItem}})},staticRenderFns:[]};t.default=i},ZysM:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_LOCATION=void 0;var i=h(n("zv2j")),r=h(n("aIIw")),o=h(n("kcQR")),a=h(n("HxWs")),s=h(n("dACh")),l=h(n("jx4H")),u=h(n("0iPh")),c=n("f3z0"),d=h(n("1afk"));function h(e){return e&&e.__esModule?e:{default:e}}var f=t.DEFAULT_LOCATION={lat:45.769785,lng:4.833967,zoom:14},p=function(){function e(){(0,s.default)(this,e),this.$fields=document.querySelectorAll(".rz-geotag-field:not(.is-enable)"),this.$fields.length&&this.init()}return(0,l.default)(e,[{key:"init",value:function(){this.bindFields()}},{key:"unbind",value:function(){}},{key:"bindFields",value:function(){for(var e=this.$fields.length,t=0;t','
      ','
    • ','
    • '+n+"
    • ","
    ",'
    ','
    ','','',"
    ","
    ","",'
    '].join(""),l=document.createElement("div");if(l.innerHTML=s,e.after(l),!document.getElementById(r))throw new Error("Map container does not exist");var c=document.getElementById(o);c&&c.setAttribute("placeholder",window.Rozier.messages.geotag.typeAnAddress);var d=document.getElementById(a);d&&(d.style.display="none");var h={center:this.createLatLng(i),zoom:i.zoom||i.alt,styles:window.Rozier.mapsStyle},p=this.createMap(r,h),m=null;if(""!==e.value)try{i=JSON.parse(e.value),m=this.createMarker(i,p),d.style.display="inline-block"}catch(t){return e.style.display=null,document.getElementById(r).style.display="none",!1}else m=this.createMarker(i,p);m.on("dragend",u.default.proxy(this.setMarkerEvent,this,m,e,d,p)),p.on("click",u.default.proxy(this.setMarkerEvent,this,m,e,d,p)),c.addEventListener("keypress",u.default.proxy(this.requestGeocode,this,m,e,d,p)),d.addEventListener("click",u.default.proxy(this.resetMarker,this,m,e,d,p)),window.Rozier.$window.on("resize",u.default.proxy(this.resetMap,this,p,m,h)),window.Rozier.$window.on("pageshowend",u.default.proxy(this.resetMap,this,p,m,h)),this.resetMap(p,m,h,null)}},{key:"resetMap",value:function(e,t,n){window.setTimeout(function(){e.invalidateSize(!0),null!==t?e.panTo(t.getLatLng()):e.panTo(n.center)},400)}},{key:"resetMarker",value:function(e,t,n,i,r){return e.removeFrom(i),t.value="",n.style.display="none",!1}},{key:"setMarkerEvent",value:function(e,t,n,i,r){if(void 0!==r.latlng)this.setMarker(e,t,n,i,r.latlng);else if(null!==e){var o=e.getLatLng();i.panTo(o),this.applyGeocode(t,n,o,i.getZoom(),void 0)}}},{key:"setMarker",value:function(e,t,n,i,r){e.setLatLng(r),e.addTo(i),i.panTo(r),this.applyGeocode(t,n,e.getLatLng(),i.getZoom(),e.name)}},{key:"latLngToFeature",value:function(e,t,n){return e.alt&&(t=e.alt,e.alt=void 0),{type:"Feature",properties:{name:n||"",zoom:t},geometry:{type:"Point",coordinates:c.GeoJSON.latLngToCoords(e)}}}},{key:"applyGeocode",value:function(e,t,n,i,r){e.value=(0,a.default)(this.latLngToFeature(n,i,r)),t.style.display="inline-block"}},{key:"createMarker",value:function(e,t){var n=null;n=e instanceof c.LatLng?e:this.createLatLng(e);var i=new c.Marker(n,{icon:this.createIcon(),draggable:!0}).addTo(t);return t.flyTo(n,n.alt),i.alt=n.alt,e.type&&"Feature"===e.type&&e.properties&&e.properties.name&&(i.name=e.properties.name),e.name&&(i.name=e.name),i}},{key:"requestGeocode",value:function(){var e=(0,o.default)(r.default.mark(function e(t,n,i,o,a){var s,l;return r.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(s=a.currentTarget.value,!a.which||13!==a.which){e.next=10;break}return a.preventDefault(),e.next=5,this.getLatLngForAddress(s);case 5:if(null!==(l=e.sent)){e.next=9;break}return console.error("Geocode was not successful."),e.abrupt("return");case 9:this.setMarker(t,n,i,o,l);case 10:case"end":return e.stop()}},e,this)}));return function(t,n,i,r,o){return e.apply(this,arguments)}}()},{key:"uniqid",value:function(){return(new Date).getTime()}},{key:"createMap",value:function(e,t){var n=new c.Map(document.getElementById(e)).setView(t.center,t.zoom),i=new c.TileLayer(window.Rozier.leafletMapTileUrl,{attribution:"© OpenStreetMap contributors",maxZoom:18});return n.addLayer(i),n}},{key:"createLatLng",value:function(e){if("number"==typeof e.lat&&"number"==typeof e.lng)return new c.LatLng(e.lat,e.lng,e.zoom||e.alt);if(e.type&&"Feature"===e.type){var t=e.properties&&e.properties.zoom?(0,i.default)(e.properties.zoom):7,n=new c.LatLng(e.geometry.coordinates[1],e.geometry.coordinates[0],t);return e.properties&&e.properties.name&&(n.name=e.properties.name),n}throw new Error("Cannot create LatLng object from data")}},{key:"createIcon",value:function(){return new c.Icon({iconUrl:window.Rozier.resourcesUrl+"assets/img/marker.png",iconRetinaUrl:window.Rozier.resourcesUrl+"assets/img/marker@2x.png",shadowUrl:window.Rozier.resourcesUrl+"assets/img/marker_shadow.png",shadowRetinaUrl:window.Rozier.resourcesUrl+"assets/img/marker_shadow@2x.png",iconSize:[22,30],shadowSize:[25,22],iconAnchor:[11,30],shadowAnchor:[2,22]})}},{key:"getLatLngForAddress",value:function(e){return d.default.geoCode(e).then(function(e){if(null!==e){var t=new c.LatLng(e.lat,e.lon);return t.name=e.display_name,t}return console.error("Geocode was not successful."),null}).catch(function(e){return console.error(e),null})}}]),e}();t.default=p},aI4R:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=s(n("dACh")),r=s(n("jx4H")),o=s(n("0iPh")),a=n("Tzw7");function s(e){return e&&e.__esModule?e:{default:e}}var l=function(){function e(){(0,i.default)(this,e),this.$content=(0,o.default)(".content-node-tree"),this.$dropdown=null,this.$content.length&&(this.$dropdown=this.$content.find(".uk-dropdown-small"),this.init())}return(0,r.default)(e,[{key:"init",value:function(){this.contentHeight=this.$content.actual("outerHeight"),this.contentHeight>=window.Rozier.windowHeight-400&&this.dropdownFlip()}},{key:"unbind",value:function(){}},{key:"dropdownFlip",value:function(){for(var e=this.$dropdown.length-1;e>=this.$dropdown.length-3;e--)(0,a.addClass)(this.$dropdown[e],"uk-dropdown-up")}}]),e}();t.default=l},ac1b:function(e,t,n){"use strict";(function(i){var r,o,a,s,l=c(n("8FtN")),u=c(n("GyB/"));function c(e){return e&&e.__esModule?e:{default:e}} /*! markdown-it 7.0.0 https://github.com//markdown-it/markdown-it @license MIT */ -/*! markdown-it 7.0.0 https://github.com//markdown-it/markdown-it @license MIT */!function(n){"object"===(0,u.default)(t)&&void 0!==e?e.exports=n():(o=[],void 0===(a="function"==typeof(r=n)?r.apply(t,o):r)||(e.exports=a))}(function(){return function e(t,n,i){function r(a,l){if(!n[a]){if(!t[a]){if(!l&&("function"==typeof s&&s))return s(a,!0);if(o)return o(a,!0);var u=new Error("Cannot find module '"+a+"'");throw u.code="MODULE_NOT_FOUND",u}var c=n[a]={exports:{}};t[a][0].call(c.exports,function(e){var n=t[a][1][e];return r(n||e)},c,c.exports,e,t,n,i)}return n[a].exports}for(var o="function"==typeof s&&s,a=0;a`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",r="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",o=new RegExp("^(?:"+i+"|"+r+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?].*?[?]>|]*>|)"),a=new RegExp("^(?:"+i+"|"+r+")");t.exports.HTML_TAG_RE=o,t.exports.HTML_OPEN_CLOSE_TAG_RE=a},{}],4:[function(e,t,n){var i=Object.prototype.hasOwnProperty;function r(e,t){return i.call(e,t)}function o(e){return!(e>=55296&&e<=57343)&&(!(e>=64976&&e<=65007)&&(65535!=(65535&e)&&65534!=(65535&e)&&(!(e>=0&&e<=8)&&(11!==e&&(!(e>=14&&e<=31)&&(!(e>=127&&e<=159)&&!(e>1114111)))))))}function a(e){if(e>65535){var t=55296+((e-=65536)>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}var s=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,c=new RegExp(s.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),d=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,h=e("./entities");var f=/[&<>"]/,p=/[&<>"]/g,m={"&":"&","<":"<",">":">",'"':"""};function g(e){return m[e]}var v=/[.?*+^$[\]\\(){}|-]/g;var _=e("uc.micro/categories/P/regex");n.lib={},n.lib.mdurl=e("mdurl"),n.lib.ucmicro=e("uc.micro"),n.assign=function(e){return Array.prototype.slice.call(arguments,1).forEach(function(t){if(t){if("object"!==(void 0===t?"undefined":(0,u.default)(t)))throw new TypeError(t+"must be object");(0,l.default)(t).forEach(function(n){e[n]=t[n]})}}),e},n.isString=function(e){return"[object String]"===function(e){return Object.prototype.toString.call(e)}(e)},n.has=r,n.unescapeMd=function(e){return e.indexOf("\\")<0?e:e.replace(s,"$1")},n.unescapeAll=function(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(c,function(e,t,n){return t||function(e,t){var n=0;return r(h,t)?h[t]:35===t.charCodeAt(0)&&d.test(t)&&o(n="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10))?a(n):e}(e,n)})},n.isValidEntityCode=o,n.fromCodePoint=a,n.escapeHtml=function(e){return f.test(e)?e.replace(p,g):e},n.arrayReplaceAt=function(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))},n.isSpace=function(e){switch(e){case 9:case 32:return!0}return!1},n.isWhiteSpace=function(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1},n.isMdAsciiPunct=function(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}},n.isPunctChar=function(e){return _.test(e)},n.escapeRE=function(e){return e.replace(v,"\\$&")},n.normalizeReference=function(e){return e.trim().replace(/\s+/g," ").toUpperCase()}},{"./entities":1,mdurl:59,"uc.micro":65,"uc.micro/categories/P/regex":63}],5:[function(e,t,n){n.parseLinkLabel=e("./parse_link_label"),n.parseLinkDestination=e("./parse_link_destination"),n.parseLinkTitle=e("./parse_link_title")},{"./parse_link_destination":6,"./parse_link_label":7,"./parse_link_title":8}],6:[function(e,t,n){var i=e("../common/utils").isSpace,r=e("../common/utils").unescapeAll;t.exports=function(e,t,n){var o,a,s=t,l={ok:!1,pos:0,lines:0,str:""};if(60===e.charCodeAt(t)){for(t++;t1)break;if(41===o&&--a<0)break;t++}return s===t?l:(l.str=r(e.slice(s,t)),l.lines=0,l.pos=t,l.ok=!0,l)}},{"../common/utils":4}],7:[function(e,t,n){t.exports=function(e,t,n){var i,r,o,a,s=-1,l=e.posMax,u=e.pos;for(e.pos=t+1,i=1;e.pos=n)return l;if(34!==(o=e.charCodeAt(t))&&39!==o&&40!==o)return l;for(t++,40===o&&(o=41);t=0))try{t.hostname=h.toASCII(t.hostname)}catch(e){}return d.encode(d.format(t))}function b(e){var t=d.parse(e,!0);if(t.hostname&&(!t.protocol||v.indexOf(t.protocol)>=0))try{t.hostname=h.toUnicode(t.hostname)}catch(e){}return d.decode(d.format(t))}function w(e,t){if(!(this instanceof w))return new w(e,t);t||i.isString(e)||(t=e||{},e="default"),this.inline=new u,this.block=new s,this.core=new a,this.renderer=new o,this.linkify=new c,this.validateLink=g,this.normalizeLink=_,this.normalizeLinkText=b,this.utils=i,this.helpers=r,this.options={},this.configure(e),t&&this.set(t)}w.prototype.set=function(e){return i.assign(this.options,e),this},w.prototype.configure=function(e){var t,n=this;if(i.isString(e)&&!(e=f[t=e]))throw new Error('Wrong `markdown-it` preset "'+t+'", check name');if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&n.set(e.options),e.components&&(0,l.default)(e.components).forEach(function(t){e.components[t].rules&&n[t].ruler.enableOnly(e.components[t].rules),e.components[t].rules2&&n[t].ruler2.enableOnly(e.components[t].rules2)}),this},w.prototype.enable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(t){n=n.concat(this[t].ruler.enable(e,!0))},this),n=n.concat(this.inline.ruler2.enable(e,!0));var i=e.filter(function(e){return n.indexOf(e)<0});if(i.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+i);return this},w.prototype.disable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(t){n=n.concat(this[t].ruler.disable(e,!0))},this),n=n.concat(this.inline.ruler2.disable(e,!0));var i=e.filter(function(e){return n.indexOf(e)<0});if(i.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+i);return this},w.prototype.use=function(e){var t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},w.prototype.parse=function(e,t){var n=new this.core.State(e,this,t);return this.core.process(n),n.tokens},w.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},w.prototype.parseInline=function(e,t){var n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens},w.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)},t.exports=w},{"./common/utils":4,"./helpers":5,"./parser_block":10,"./parser_core":11,"./parser_inline":12,"./presets/commonmark":13,"./presets/default":14,"./presets/zero":15,"./renderer":16,"linkify-it":54,mdurl:59,punycode:52}],10:[function(e,t,n){var i=e("./ruler"),r=[["table",e("./rules_block/table"),["paragraph","reference"]],["code",e("./rules_block/code")],["fence",e("./rules_block/fence"),["paragraph","reference","blockquote","list"]],["blockquote",e("./rules_block/blockquote"),["paragraph","reference","list"]],["hr",e("./rules_block/hr"),["paragraph","reference","blockquote","list"]],["list",e("./rules_block/list"),["paragraph","reference","blockquote"]],["reference",e("./rules_block/reference")],["heading",e("./rules_block/heading"),["paragraph","reference","blockquote"]],["lheading",e("./rules_block/lheading")],["html_block",e("./rules_block/html_block"),["paragraph","reference","blockquote"]],["paragraph",e("./rules_block/paragraph")]];function o(){this.ruler=new i;for(var e=0;e=n))&&!(e.sCount[a]=l){e.line=n;break}for(i=0;i=o)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},a.prototype.parse=function(e,t,n,i){var r,o,a,s=new this.State(e,t,n,i);for(this.tokenize(s),a=(o=this.ruler2.getRules("")).length,r=0;r"+o(e[t].content)+""},a.code_block=function(e,t,n,i,r){var a=e[t],s=r.renderAttrs(a);return""+o(e[t].content)+"\n"},a.fence=function(e,t,n,i,a){var s,l,u,c,d=e[t],h=d.info?r(d.info).trim():"",f="";return h&&(f=h.split(/\s+/g)[0]),0===(s=n.highlight&&n.highlight(d.content,f)||o(d.content)).indexOf(""+s+"\n"):"
    "+s+"
    \n"},a.image=function(e,t,n,i,r){var o=e[t];return o.attrs[o.attrIndex("alt")][1]=r.renderInlineAsText(o.children,n,i),r.renderToken(e,t,n)},a.hardbreak=function(e,t,n){return n.xhtmlOut?"
    \n":"
    \n"},a.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?"
    \n":"
    \n":"\n"},a.text=function(e,t){return o(e[t].content)},a.html_block=function(e,t){return e[t].content},a.html_inline=function(e,t){return e[t].content},s.prototype.renderAttrs=function(e){var t,n,i;if(!e.attrs)return"";for(i="",t=0,n=e.attrs.length;t\n":">")},s.prototype.renderInline=function(e,t,n){for(var i,r="",o=this.rules,a=0,s=e.length;a=y,l=[e.sCount[t]],e.sCount[t]=p-f,s=[e.tShift[t]],e.tShift[t]=k-e.bMarks[t],g=e.md.block.ruler.getRules("blockquote"),o=t+1;o=(y=e.eMarks[o]));o++)if(62!==e.src.charCodeAt(k++)){if(a)break;for(w=!1,_=0,b=g.length;_=y,l.push(e.sCount[o]),e.sCount[o]=p-f,s.push(e.tShift[o]),e.tShift[o]=k-e.bMarks[o]}for(d=e.parentType,e.parentType="blockquote",(v=e.push("blockquote_open","blockquote",1)).markup=">",v.map=h=[t,0],e.md.block.tokenize(e,t,o),(v=e.push("blockquote_close","blockquote",-1)).markup=">",e.parentType=d,h[1]=e.line,_=0;_=2&&"list"===e.parentType)break;i++}else{if(a=0,!(e.sCount[i]-e.blkIndent>=4))break;r=++i}return e.line=r,(o=e.push("code_block","code",0)).content=e.getLines(t,r,4+e.blkIndent,!0),o.map=[t,e.line],!0}},{}],20:[function(e,t,n){t.exports=function(e,t,n,i){var r,o,a,s,l,u,c,d=!1,h=e.bMarks[t]+e.tShift[t],f=e.eMarks[t];if(h+3>f)return!1;if(126!==(r=e.src.charCodeAt(h))&&96!==r)return!1;if(l=h,(o=(h=e.skipChars(h,r))-l)<3)return!1;if(c=e.src.slice(l,h),(a=e.src.slice(h,f)).indexOf("`")>=0)return!1;if(i)return!0;for(s=t;!(++s>=n)&&!((h=l=e.bMarks[s]+e.tShift[s])<(f=e.eMarks[s])&&e.sCount[s]=4||(h=e.skipChars(h,r))-l=c)return!1;for(a=1,o=e.src.charCodeAt(++u);35===o&&u6||uu&&i(e.src.charCodeAt(s-1))&&(c=s),e.line=t+1,(l=e.push("heading_open","h"+String(a),1)).markup="########".slice(0,a),l.map=[t,e.line],(l=e.push("inline","",0)).content=e.src.slice(u,c).trim(),l.map=[t,e.line],l.children=[],(l=e.push("heading_close","h"+String(a),-1)).markup="########".slice(0,a),!0))}},{"../common/utils":4}],22:[function(e,t,n){var i=e("../common/utils").isSpace;t.exports=function(e,t,n,r){var o,a,s,l,u=e.bMarks[t]+e.tShift[t],c=e.eMarks[t];if(42!==(o=e.src.charCodeAt(u++))&&45!==o&&95!==o)return!1;for(a=1;u|$))/i,/<\/(script|pre|style)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(r.source+"\\s*$"),/^$/,!1]];t.exports=function(e,t,n,i){var r,a,s,l,u=e.bMarks[t]+e.tShift[t],c=e.eMarks[t];if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(u))return!1;for(l=e.src.slice(u,c),r=0;r3)){if(e.sCount[h]>=e.blkIndent&&(l=e.bMarks[h]+e.tShift[h])<(u=e.eMarks[h])&&(45===(d=e.src.charCodeAt(l))||61===d)&&(l=e.skipChars(l,d),(l=e.skipSpaces(l))>=u)){c=61===d?1:2;break}if(!(e.sCount[h]<0)){for(r=!1,o=0,a=f.length;o=a)return-1;if((n=e.src.charCodeAt(o++))<48||n>57)return-1;for(;;){if(o>=a)return-1;if(!((n=e.src.charCodeAt(o++))>=48&&n<=57)){if(41===n||46===n)break;return-1}if(o-r>=10)return-1}return o=0)C=!0;else{if(!((v=r(e,t))>=0))return!1;C=!1}if(E=e.src.charCodeAt(v-1),a)return!0;for(T=e.tokens.length,C?(g=e.bMarks[t]+e.tShift[t],y=Number(e.src.substr(g,v-g-1)),I=e.push("ordered_list_open","ol",1),1!==y&&(I.attrs=[["start",y]])):I=e.push("bullet_list_open","ul",1),I.map=A=[t,0],I.markup=String.fromCharCode(E),s=t,S=!1,D=e.md.block.ruler.getRules("list");s=w?1:u-l)>4&&(k=1),c=l+k,(I=e.push("list_item_open","li",1)).markup=String.fromCharCode(E),I.map=R=[t,0],h=e.blkIndent,p=e.tight,d=e.tShift[t],f=e.sCount[t],m=e.parentType,e.blkIndent=c,e.tight=!0,e.parentType="list",e.tShift[t]=x-e.bMarks[t],e.sCount[t]=u,x>=w&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,t,n,!0),e.tight&&!S||($=!1),S=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=h,e.tShift[t]=d,e.sCount[t]=f,e.tight=p,e.parentType=m,(I=e.push("list_item_close","li",-1)).markup=String.fromCharCode(E),s=t=e.line,R[1]=s,x=e.bMarks[t],s>=n)break;if(e.isEmpty(s))break;if(e.sCount[s]3||e.sCount[s]<0)){for(i=!1,r=0,o=l.length;r3||e.sCount[T]<0)){for(w=!1,f=0,p=k.length;f0&&this.level++,this.tokens.push(r),r},o.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},o.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;et;)if(!r(this.src.charCodeAt(--e)))return e+1;return e},o.prototype.skipChars=function(e,t){for(var n=this.src.length;en;)if(t!==this.src.charCodeAt(--e))return e+1;return e},o.prototype.getLines=function(e,t,n,i){var o,a,s,l,u,c,d,h=e;if(e>=t)return"";for(c=new Array(t-e),o=0;hn)return!1;if(c=t+1,e.sCount[c]=e.eMarks[c])return!1;if(124!==(a=e.src.charCodeAt(l))&&45!==a&&58!==a)return!1;if(s=i(e,t+1),!/^[-:| ]+$/.test(s))return!1;for(d=s.split("|"),p=[],u=0;up.length)return!1;if(o)return!0;for((f=e.push("table_open","table",1)).map=g=[t,0],(f=e.push("thead_open","thead",1)).map=[t,t+1],(f=e.push("tr_open","tr",1)).map=[t,t+1],u=0;u\s]/i.test(e)}function o(e){return/^<\/a\s*>/i.test(e)}t.exports=function(e){var t,n,a,s,l,u,c,d,h,f,p,m,g,v,_,b,w,k=e.tokens;if(e.md.options.linkify)for(n=0,a=k.length;n=0;t--)if("link_close"!==(u=s[t]).type){if("html_inline"===u.type&&(r(u.content)&&g>0&&g--,o(u.content)&&g++),!(g>0)&&"text"===u.type&&e.md.linkify.test(u.content)){for(h=u.content,w=e.md.linkify.match(h),c=[],m=u.level,p=0,d=0;dp&&((l=new e.Token("text","",0)).content=h.slice(p,f),l.level=m,c.push(l)),(l=new e.Token("link_open","a",1)).attrs=[["href",_]],l.level=m++,l.markup="linkify",l.info="auto",c.push(l),(l=new e.Token("text","",0)).content=b,l.level=m,c.push(l),(l=new e.Token("link_close","a",-1)).level=--m,l.markup="linkify",l.info="auto",c.push(l),p=w[d].lastIndex);p=0;t--)"text"===(n=e[t]).type&&(n.content=n.content.replace(o,s))}function u(e){var t,n;for(t=e.length-1;t>=0;t--)"text"===(n=e[t]).type&&i.test(n.content)&&(n.content=n.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---([^-]|$)/gm,"$1—$2").replace(/(^|\s)--(\s|$)/gm,"$1–$2").replace(/(^|[^-\s])--([^-\s]|$)/gm,"$1–$2"))}t.exports=function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&(r.test(e.tokens[t].content)&&l(e.tokens[t].children),i.test(e.tokens[t].content)&&u(e.tokens[t].children))}},{}],35:[function(e,t,n){var i=e("../common/utils").isWhiteSpace,r=e("../common/utils").isPunctChar,o=e("../common/utils").isMdAsciiPunct,a=/['"]/,s=/['"]/g,l="’";function u(e,t,n){return e.substr(0,t)+n+e.substr(t+1)}function c(e,t){var n,a,c,d,h,f,p,m,g,v,_,b,w,k,y,E,C,x,T,S,A;for(T=[],n=0;n=0&&!(T[C].level<=p);C--);if(T.length=C+1,"text"===a.type){h=0,f=(c=a.content).length;e:for(;h=0)g=c.charCodeAt(d.index-1);else for(C=n-1;C>=0;C--)if("text"===e[C].type){g=e[C].content.charCodeAt(e[C].content.length-1);break}if(v=32,h=48&&g<=57&&(E=y=!1),y&&E&&(y=!1,E=b),y||E){if(E)for(C=T.length-1;C>=0&&(m=T[C],!(T[C].level=0;t--)"inline"===e.tokens[t].type&&a.test(e.tokens[t].content)&&c(e.tokens[t].children,e)}},{"../common/utils":4}],36:[function(e,t,n){var i=e("../token");function r(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}r.prototype.Token=i,t.exports=r},{"../token":51}],37:[function(e,t,n){var i=/^<([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[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])?)*)>/,r=/^<([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)>/;t.exports=function(e,t){var n,o,a,s,l,u,c=e.pos;return 60===e.src.charCodeAt(c)&&(!((n=e.src.slice(c)).indexOf(">")<0)&&(r.test(n)?(s=(o=n.match(r))[0].slice(1,-1),l=e.md.normalizeLink(s),!!e.md.validateLink(l)&&(t||((u=e.push("link_open","a",1)).attrs=[["href",l]],u.markup="autolink",u.info="auto",(u=e.push("text","",0)).content=e.md.normalizeLinkText(s),(u=e.push("link_close","a",-1)).markup="autolink",u.info="auto"),e.pos+=o[0].length,!0)):!!i.test(n)&&(s=(a=n.match(i))[0].slice(1,-1),l=e.md.normalizeLink("mailto:"+s),!!e.md.validateLink(l)&&(t||((u=e.push("link_open","a",1)).attrs=[["href",l]],u.markup="autolink",u.info="auto",(u=e.push("text","",0)).content=e.md.normalizeLinkText(s),(u=e.push("link_close","a",-1)).markup="autolink",u.info="auto"),e.pos+=a[0].length,!0))))}},{}],38:[function(e,t,n){t.exports=function(e,t){var n,i,r,o,a,s,l=e.pos;if(96!==e.src.charCodeAt(l))return!1;for(n=l,l++,i=e.posMax;l=0;){if((r=o[n]).open&&r.marker===i.marker&&r.end<0&&r.level===i.level){i.jump=t-n,i.open=!1,r.end=t,r.jump=0;break}n-=r.jump+1}}},{}],40:[function(e,t,n){t.exports.tokenize=function(e,t){var n,i,r=e.pos,o=e.src.charCodeAt(r);if(t)return!1;if(95!==o&&42!==o)return!1;for(i=e.scanDelims(e.pos,42===o),n=0;n?@[]^_`{|}~-".split("").forEach(function(e){r[e.charCodeAt(0)]=1}),t.exports=function(e,t){var n,o=e.pos,a=e.posMax;if(92!==e.src.charCodeAt(o))return!1;if(++o=o)&&(!(33!==(n=e.src.charCodeAt(a+1))&&63!==n&&47!==n&&!function(e){var t=32|e;return t>=97&&t<=122}(n))&&(!!(r=e.src.slice(a).match(i))&&(t||(e.push("html_inline","",0).content=e.src.slice(a,a+r[0].length)),e.pos+=r[0].length,!0))))}},{"../common/html_re":3}],44:[function(e,t,n){var i=e("../helpers/parse_link_label"),r=e("../helpers/parse_link_destination"),o=e("../helpers/parse_link_title"),a=e("../common/utils").normalizeReference,s=e("../common/utils").isSpace;t.exports=function(e,t){var n,l,u,c,d,h,f,p,m,g,v,_,b,w="",k=e.pos,y=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;if(h=e.pos+2,(d=i(e,e.pos+1,!1))<0)return!1;if((f=d+1)=y)return!1;for(b=f,(m=r(e.src,f,e.posMax)).ok&&(w=e.md.normalizeLink(m.str),e.md.validateLink(w)?f=m.pos:w=""),b=f;f=y||41!==e.src.charCodeAt(f))return e.pos=k,!1;f++}else{if(void 0===e.env.references)return!1;if(f=0?c=e.src.slice(b,f++):f=d+1):f=d+1,c||(c=e.src.slice(h,d)),!(p=e.env.references[a(c)]))return e.pos=k,!1;w=p.href,g=p.title}return t||(u=e.src.slice(h,d),e.md.inline.parse(u,e.md,e.env,_=[]),(v=e.push("image","img",0)).attrs=n=[["src",w],["alt",""]],v.children=_,v.content=u,g&&n.push(["title",g])),e.pos=f,e.posMax=y,!0}},{"../common/utils":4,"../helpers/parse_link_destination":6,"../helpers/parse_link_label":7,"../helpers/parse_link_title":8}],45:[function(e,t,n){var i=e("../helpers/parse_link_label"),r=e("../helpers/parse_link_destination"),o=e("../helpers/parse_link_title"),a=e("../common/utils").normalizeReference,s=e("../common/utils").isSpace;t.exports=function(e,t){var n,l,u,c,d,h,f,p,m,g="",v=e.pos,_=e.posMax,b=e.pos;if(91!==e.src.charCodeAt(e.pos))return!1;if(d=e.pos+1,(c=i(e,e.pos,!0))<0)return!1;if((h=c+1)<_&&40===e.src.charCodeAt(h)){for(h++;h<_&&(l=e.src.charCodeAt(h),s(l)||10===l);h++);if(h>=_)return!1;for(b=h,(f=r(e.src,h,e.posMax)).ok&&(g=e.md.normalizeLink(f.str),e.md.validateLink(g)?h=f.pos:g=""),b=h;h<_&&(l=e.src.charCodeAt(h),s(l)||10===l);h++);if(f=o(e.src,h,e.posMax),h<_&&b!==h&&f.ok)for(m=f.str,h=f.pos;h<_&&(l=e.src.charCodeAt(h),s(l)||10===l);h++);else m="";if(h>=_||41!==e.src.charCodeAt(h))return e.pos=v,!1;h++}else{if(void 0===e.env.references)return!1;if(h<_&&91===e.src.charCodeAt(h)?(b=h+1,(h=i(e,h))>=0?u=e.src.slice(b,h++):h=c+1):h=c+1,u||(u=e.src.slice(d,c)),!(p=e.env.references[a(u)]))return e.pos=v,!1;g=p.href,m=p.title}return t||(e.pos=d,e.posMax=c,e.push("link_open","a",1).attrs=n=[["href",g]],m&&n.push(["title",m]),e.md.inline.tokenize(e),e.push("link_close","a",-1)),e.pos=h,e.posMax=_,!0}},{"../common/utils":4,"../helpers/parse_link_destination":6,"../helpers/parse_link_label":7,"../helpers/parse_link_title":8}],46:[function(e,t,n){t.exports=function(e,t){var n,i,r=e.pos;if(10!==e.src.charCodeAt(r))return!1;for(n=e.pending.length-1,i=e.posMax,t||(n>=0&&32===e.pending.charCodeAt(n)?n>=1&&32===e.pending.charCodeAt(n-1)?(e.pending=e.pending.replace(/ +$/,""),e.push("hardbreak","br",0)):(e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0)):e.push("softbreak","br",0)),r++;r0&&this.level++,this.pendingLevel=this.level,this.tokens.push(r),r},s.prototype.scanDelims=function(e,t){var n,i,s,l,u,c,d,h,f,p=e,m=!0,g=!0,v=this.posMax,_=this.src.charCodeAt(e);for(n=e>0?this.src.charCodeAt(e-1):32;p=0&&(n=this.attrs[t][1]),n},i.prototype.attrJoin=function(e,t){var n=this.attrIndex(e);n<0?this.attrPush([e,t]):this.attrs[n][1]=this.attrs[n][1]+" "+t},t.exports=i},{}],52:[function(e,t,n){(function(e){!function(i){var r="object"==(void 0===n?"undefined":(0,u.default)(n))&&n&&!n.nodeType&&n,o="object"==(void 0===t?"undefined":(0,u.default)(t))&&t&&!t.nodeType&&t,a="object"==(void 0===e?"undefined":(0,u.default)(e))&&e;a.global!==a&&a.window!==a&&a.self!==a||(i=a);var s,l,c=2147483647,d=36,h=1,f=26,p=38,m=700,g=72,v=128,_="-",b=/^xn--/,w=/[^\x20-\x7E]/,k=/[\x2E\u3002\uFF0E\uFF61]/g,y={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},E=d-h,C=Math.floor,x=String.fromCharCode;function T(e){throw new RangeError(y[e])}function S(e,t){for(var n=e.length,i=[];n--;)i[n]=t(e[n]);return i}function A(e,t){var n=e.split("@"),i="";return n.length>1&&(i=n[0]+"@",e=n[1]),i+S((e=e.replace(k,".")).split("."),t).join(".")}function R(e){for(var t,n,i=[],r=0,o=e.length;r=55296&&t<=56319&&r65535&&(t+=x((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=x(e)}).join("")}function I(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:d}function O(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function M(e,t,n){var i=0;for(e=n?C(e/m):e>>1,e+=C(e/t);e>E*f>>1;i+=d)e=C(e/E);return C(i+(E+1)*e/(e+p))}function L(e){var t,n,i,r,o,a,s,l,u,p,m=[],b=e.length,w=0,k=v,y=g;for((n=e.lastIndexOf(_))<0&&(n=0),i=0;i=128&&T("not-basic"),m.push(e.charCodeAt(i));for(r=n>0?n+1:0;r=b&&T("invalid-input"),((l=I(e.charCodeAt(r++)))>=d||l>C((c-w)/a))&&T("overflow"),w+=l*a,!(l<(u=s<=y?h:s>=y+f?f:s-y));s+=d)a>C(c/(p=d-u))&&T("overflow"),a*=p;y=M(w-o,t=m.length+1,0==o),C(w/t)>c-k&&T("overflow"),k+=C(w/t),w%=t,m.splice(w++,0,k)}return D(m)}function $(e){var t,n,i,r,o,a,s,l,u,p,m,b,w,k,y,E=[];for(b=(e=R(e)).length,t=v,n=0,o=g,a=0;a=t&&mC((c-n)/(w=i+1))&&T("overflow"),n+=(s-t)*w,t=s,a=0;ac&&T("overflow"),m==t){for(l=n,u=d;!(l<(p=u<=o?h:u>=o+f?f:u-o));u+=d)y=l-p,k=d-p,E.push(x(O(p+y%k,0))),l=C(y/k);E.push(x(O(l,0))),o=M(n,w,i==r),n=0,++i}++n,++t}return E.join("")}if(s={version:"1.4.1",ucs2:{decode:R,encode:D},decode:L,encode:$,toASCII:function(e){return A(e,function(e){return w.test(e)?"xn--"+$(e):e})},toUnicode:function(e){return A(e,function(e){return b.test(e)?L(e.slice(4).toLowerCase()):e})}},r&&o)if(t.exports==r)o.exports=s;else for(l in s)s.hasOwnProperty(l)&&(r[l]=s[l]);else i.punycode=s}(this)}).call(this,void 0!==i?i:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],53:[function(e,t,n){t.exports={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"⁡",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",amp:"&",AMP:"&",andand:"⩕",And:"⩓",and:"∧",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angmsd:"∡",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",apacir:"⩯",ap:"≈",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxHd:"╤",boxhD:"╥",boxHD:"╦",boxhu:"┴",boxHu:"╧",boxhU:"╨",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsolb:"⧅",bsol:"\\",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",capand:"⩄",capbrcup:"⩉",capcap:"⩋",cap:"∩",Cap:"⋒",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cir:"○",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cup:"∪",Cup:"⋓",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",Darr:"↡",dArr:"⇓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",ddagger:"‡",ddarr:"⇊",DD:"ⅅ",dd:"ⅆ",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrowBar:"⤓",downarrow:"↓",DownArrow:"↓",Downarrow:"⇓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVectorBar:"⥖",DownLeftVector:"↽",DownRightTeeVector:"⥟",DownRightVectorBar:"⥗",DownRightVector:"⇁",DownTeeArrow:"↧",DownTee:"⊤",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",Ecirc:"Ê",ecirc:"ê",ecir:"≖",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",edot:"ė",eDot:"≑",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp13:" ",emsp14:" ",emsp:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",ge:"≥",gE:"≧",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",gescc:"⪩",ges:"⩾",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gla:"⪥",gl:"≷",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gt:">",GT:">",Gt:"≫",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",harrcir:"⥈",harr:"↔",hArr:"⇔",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",Im:"ℑ",imof:"⊷",imped:"Ƶ",Implies:"⇒",incare:"℅",in:"∈",infin:"∞",infintie:"⧝",inodot:"ı",intcal:"⊺",int:"∫",Int:"∬",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larrb:"⇤",larrbfs:"⤟",larr:"←",Larr:"↞",lArr:"⇐",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",latail:"⤙",lAtail:"⤛",lat:"⪫",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",LeftArrowBar:"⇤",leftarrow:"←",LeftArrow:"←",Leftarrow:"⇐",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVectorBar:"⥙",LeftDownVector:"⇃",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTeeArrow:"↤",LeftTee:"⊣",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangleBar:"⧏",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVectorBar:"⥘",LeftUpVector:"↿",LeftVectorBar:"⥒",LeftVector:"↼",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",lescc:"⪨",les:"⩽",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",llarr:"⇇",ll:"≪",Ll:"⋘",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoustache:"⎰",lmoust:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftrightarrow:"⟷",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longmapsto:"⟼",longrightarrow:"⟶",LongRightArrow:"⟶",Longrightarrow:"⟹",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",lt:"<",LT:"<",Lt:"≪",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",midast:"*",midcir:"⫰",mid:"∣",middot:"·",minusb:"⊟",minus:"−",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natural:"♮",naturals:"ℕ",natur:"♮",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",ne:"≠",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nlE:"≦̸",nle:"≰",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangleBar:"⧏̸",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangleBar:"⧐̸",NotRightTriangle:"⋫",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",nparallel:"∦",npar:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",nprec:"⊀",npreceq:"⪯̸",npre:"⪯̸",nrarrc:"⤳̸",nrarr:"↛",nrArr:"⇏",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",orarr:"↻",Or:"⩔",or:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",para:"¶",parallel:"∥",par:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plus:"+",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",prap:"⪷",Pr:"⪻",pr:"≺",prcue:"≼",precapprox:"⪷",prec:"≺",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",pre:"⪯",prE:"⪳",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportional:"∝",Proportion:"∷",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarr:"→",Rarr:"↠",rArr:"⇒",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",Re:"ℜ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrowBar:"⇥",rightarrow:"→",RightArrow:"→",Rightarrow:"⇒",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVectorBar:"⥕",RightDownVector:"⇂",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTeeArrow:"↦",RightTee:"⊢",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangleBar:"⧐",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVectorBar:"⥔",RightUpVector:"↾",RightVectorBar:"⥓",RightVector:"⇀",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoustache:"⎱",rmoust:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",scap:"⪸",Scaron:"Š",scaron:"š",Sc:"⪼",sc:"≻",sccue:"≽",sce:"⪰",scE:"⪴",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdotb:"⊡",sdot:"⋅",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",solbar:"⌿",solb:"⧄",sol:"/",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squ:"□",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succapprox:"⪸",succ:"≻",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",Sup:"⋑",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",therefore:"∴",Therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",ThinSpace:" ",thinsp:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",timesbar:"⨱",timesb:"⊠",times:"×",timesd:"⨰",tint:"∭",toea:"⤨",topbot:"⌶",topcir:"⫱",top:"⊤",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",uarr:"↑",Uarr:"↟",uArr:"⇑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrowBar:"⤒",uparrow:"↑",UpArrow:"↑",Uparrow:"⇑",UpArrowDownArrow:"⇅",updownarrow:"↕",UpDownArrow:"↕",Updownarrow:"⇕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTeeArrow:"↥",UpTee:"⊥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",Vcy:"В",vcy:"в",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",veebar:"⊻",vee:"∨",Vee:"⋁",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xharr:"⟷",xhArr:"⟺",Xi:"Ξ",xi:"ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",yuml:"ÿ",Yuml:"Ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",zfr:"𝔷",Zfr:"ℨ",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",Zscr:"𝒵",zscr:"𝓏",zwj:"‍",zwnj:"‌"}},{}],54:[function(e,t,n){function i(e){return Array.prototype.slice.call(arguments,1).forEach(function(t){t&&(0,l.default)(t).forEach(function(n){e[n]=t[n]})}),e}function r(e){return Object.prototype.toString.call(e)}function o(e){return"[object Function]"===r(e)}function a(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var s={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};var u={"http:":{validate:function(e,t,n){var i=e.slice(t);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(i)?i.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){var i=e.slice(t);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(i)?t>=3&&":"===e[t-3]?0:t>=3&&"/"===e[t-3]?0:i.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){var i=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(i)?i.match(n.re.mailto)[0].length:0}}},c="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",d="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function h(t){var n=t.re=e("./lib/re")(t.__opts__),i=t.__tlds__.slice();function s(e){return e.replace("%TLDS%",n.src_tlds)}t.onCompile(),t.__tlds_replaced__||i.push(c),i.push(n.src_xn),n.src_tlds=i.join("|"),n.email_fuzzy=RegExp(s(n.tpl_email_fuzzy),"i"),n.link_fuzzy=RegExp(s(n.tpl_link_fuzzy),"i"),n.link_no_ip_fuzzy=RegExp(s(n.tpl_link_no_ip_fuzzy),"i"),n.host_fuzzy_test=RegExp(s(n.tpl_host_fuzzy_test),"i");var u=[];function d(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}t.__compiled__={},(0,l.default)(t.__schemas__).forEach(function(e){var n=t.__schemas__[e];if(null!==n){var i={validate:null,link:null};if(t.__compiled__[e]=i,function(e){return"[object Object]"===r(e)}(n))return!function(e){return"[object RegExp]"===r(e)}(n.validate)?o(n.validate)?i.validate=n.validate:d(e,n):i.validate=function(e){return function(t,n){var i=t.slice(n);return e.test(i)?i.match(e)[0].length:0}}(n.validate),void(o(n.normalize)?i.normalize=n.normalize:n.normalize?d(e,n):i.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===r(e)}(n)?d(e,n):u.push(e)}}),u.forEach(function(e){t.__compiled__[t.__schemas__[e]]&&(t.__compiled__[e].validate=t.__compiled__[t.__schemas__[e]].validate,t.__compiled__[e].normalize=t.__compiled__[t.__schemas__[e]].normalize)}),t.__compiled__[""]={validate:null,normalize:function(e,t){t.normalize(e)}};var h=(0,l.default)(t.__compiled__).filter(function(e){return e.length>0&&t.__compiled__[e]}).map(a).join("|");t.re.schema_test=RegExp("(^|(?!_)(?:[><]|"+n.src_ZPCc+"))("+h+")","i"),t.re.schema_search=RegExp("(^|(?!_)(?:[><]|"+n.src_ZPCc+"))("+h+")","ig"),t.re.pretest=RegExp("("+t.re.schema_test.source+")|("+t.re.host_fuzzy_test.source+")|@","i"),function(e){e.__index__=-1,e.__text_cache__=""}(t)}function f(e,t){var n=new function(e,t){var n=e.__index__,i=e.__last_index__,r=e.__text_cache__.slice(n,i);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=i+t,this.raw=r,this.text=r,this.url=r}(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function p(e,t){if(!(this instanceof p))return new p(e,t);t||function(e){return(0,l.default)(e||{}).reduce(function(e,t){return e||s.hasOwnProperty(t)},!1)}(e)&&(t=e,e={}),this.__opts__=i({},s,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=i({},u,e),this.__compiled__={},this.__tlds__=d,this.__tlds_replaced__=!1,this.re={},h(this)}p.prototype.add=function(e,t){return this.__schemas__[e]=t,h(this),this},p.prototype.set=function(e){return this.__opts__=i(this.__opts__,e),this},p.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,n,i,r,o,a,s,l;if(this.re.schema_test.test(e))for((s=this.re.schema_search).lastIndex=0;null!==(t=s.exec(e));)if(r=this.testSchemaAt(e,t[2],s.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+r;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||l=0&&null!==(i=e.match(this.re.email_fuzzy))&&(o=i.index+i[1].length,a=i.index+i[0].length,(this.__index__<0||othis.__last_index__)&&(this.__schema__="mailto:",this.__index__=o,this.__last_index__=a)),this.__index__>=0},p.prototype.pretest=function(e){return this.re.pretest.test(e)},p.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},p.prototype.match=function(e){var t=0,n=[];this.__index__>=0&&this.__text_cache__===e&&(n.push(f(this,t)),t=this.__last_index__);for(var i=t?e.slice(t):e;this.test(i);)n.push(f(this,t)),i=i.slice(this.__last_index__),t+=this.__last_index__;return n.length?n:null},p.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter(function(e,t,n){return e!==n[t-1]}).reverse(),h(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,h(this),this)},p.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},p.prototype.onCompile=function(){},t.exports=p},{"./lib/re":55}],55:[function(e,t,n){t.exports=function(t){var n={};return n.src_Any=e("uc.micro/properties/Any/regex").source,n.src_Cc=e("uc.micro/categories/Cc/regex").source,n.src_Z=e("uc.micro/categories/Z/regex").source,n.src_P=e("uc.micro/categories/P/regex").source,n.src_ZPCc=[n.src_Z,n.src_P,n.src_Cc].join("|"),n.src_ZCc=[n.src_Z,n.src_Cc].join("|"),n.src_pseudo_letter="(?:(?!>|<|"+n.src_ZPCc+")"+n.src_Any+")",n.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",n.src_auth="(?:(?:(?!"+n.src_ZCc+"|[@/]).)+@)?",n.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",n.src_host_terminator="(?=$|>|<|"+n.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+n.src_ZPCc+"))",n.src_path="(?:[/?#](?:(?!"+n.src_ZCc+"|[()[\\]{}.,\"'?!\\-<>]).|\\[(?:(?!"+n.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+n.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+n.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+n.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+n.src_ZCc+"|[']).)+\\'|\\'(?="+n.src_pseudo_letter+"|[-]).|\\.{2,3}[a-zA-Z0-9%/]|\\.(?!"+n.src_ZCc+"|[.]).|"+(t&&t["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+"\\,(?!"+n.src_ZCc+").|\\!(?!"+n.src_ZCc+"|[!]).|\\?(?!"+n.src_ZCc+"|[?]).)+|\\/)?",n.src_email_name='[\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]+',n.src_xn="xn--[a-z0-9\\-]{1,59}",n.src_domain_root="(?:"+n.src_xn+"|"+n.src_pseudo_letter+"{1,63})",n.src_domain="(?:"+n.src_xn+"|(?:"+n.src_pseudo_letter+")|(?:"+n.src_pseudo_letter+"(?:-(?!-)|"+n.src_pseudo_letter+"){0,61}"+n.src_pseudo_letter+"))",n.src_host="(?:(?:(?:(?:"+n.src_domain+")\\.)*"+n.src_domain_root+"))",n.tpl_host_fuzzy="(?:"+n.src_ip4+"|(?:(?:(?:"+n.src_domain+")\\.)+(?:%TLDS%)))",n.tpl_host_no_ip_fuzzy="(?:(?:(?:"+n.src_domain+")\\.)+(?:%TLDS%))",n.src_host_strict=n.src_host+n.src_host_terminator,n.tpl_host_fuzzy_strict=n.tpl_host_fuzzy+n.src_host_terminator,n.src_host_port_strict=n.src_host+n.src_port+n.src_host_terminator,n.tpl_host_port_fuzzy_strict=n.tpl_host_fuzzy+n.src_port+n.src_host_terminator,n.tpl_host_port_no_ip_fuzzy_strict=n.tpl_host_no_ip_fuzzy+n.src_port+n.src_host_terminator,n.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+n.src_ZPCc+"|>|$))",n.tpl_email_fuzzy="(^|<|>|\\(|"+n.src_ZCc+")("+n.src_email_name+"@"+n.tpl_host_fuzzy_strict+")",n.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|]|"+n.src_ZPCc+"))((?![$+<=>^`|])"+n.tpl_host_port_fuzzy_strict+n.src_path+")",n.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|]|"+n.src_ZPCc+"))((?![$+<=>^`|])"+n.tpl_host_port_no_ip_fuzzy_strict+n.src_path+")",n}},{"uc.micro/categories/Cc/regex":61,"uc.micro/categories/P/regex":63,"uc.micro/categories/Z/regex":64,"uc.micro/properties/Any/regex":66}],56:[function(e,t,n){var i={};function r(e,t){var n;return"string"!=typeof t&&(t=r.defaultChars),n=function(e){var t,n,r=i[e];if(r)return r;for(r=i[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),r.push(n);for(t=0;t=55296&&l<=57343?"���":String.fromCharCode(l),t+=6):240==(248&r)&&t+91114111?u+="����":(l-=65536,u+=String.fromCharCode(55296+(l>>10),56320+(1023&l))),t+=9):u+="�";return u})}r.defaultChars=";/?:@&=+$,#",r.componentChars="",t.exports=r},{}],57:[function(e,t,n){var i={};function r(e,t,n){var o,a,s,l,u,c="";for("string"!=typeof t&&(n=t,t=r.defaultChars),void 0===n&&(n=!0),u=function(e){var t,n,r=i[e];if(r)return r;for(r=i[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),/^[0-9a-z]$/i.test(n)?r.push(n):r.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2));for(t=0;t=55296&&s<=57343){if(s>=55296&&s<=56319&&o+1=56320&&l<=57343){c+=encodeURIComponent(e[o]+e[o+1]),o++;continue}c+="%EF%BF%BD"}else c+=encodeURIComponent(e[o]);return c}r.defaultChars=";/?:@&=+$,-_.!~*'()#",r.componentChars="-_.!~*'()",t.exports=r},{}],58:[function(e,t,n){t.exports=function(e){var t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||""}},{}],59:[function(e,t,n){t.exports.encode=e("./encode"),t.exports.decode=e("./decode"),t.exports.format=e("./format"),t.exports.parse=e("./parse")},{"./decode":56,"./encode":57,"./format":58,"./parse":60}],60:[function(e,t,n){function i(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var r=/^([a-z0-9.+-]+:)/i,o=/:[0-9]*$/,a=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,s=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),l=["'"].concat(s),u=["%","/","?",";","#"].concat(l),c=["/","?","#"],d=/^[+a-z0-9A-Z_-]{0,63}$/,h=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,f={javascript:!0,"javascript:":!0},p={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};i.prototype.parse=function(e,t){var n,i,o,s,l,m=e;if(m=m.trim(),!t&&1===e.split("#").length){var g=a.exec(m);if(g)return this.pathname=g[1],g[2]&&(this.search=g[2]),this}var v=r.exec(m);if(v&&(o=(v=v[0]).toLowerCase(),this.protocol=v,m=m.substr(v.length)),(t||v||m.match(/^\/\/[^@\/]+@[^@\/]+/))&&(!(l="//"===m.substr(0,2))||v&&f[v]||(m=m.substr(2),this.slashes=!0)),!f[v]&&(l||v&&!p[v])){var _,b,w=-1;for(n=0;n127?x+="x":x+=C[T];if(!x.match(d)){var A=E.slice(0,n),R=E.slice(n+1),D=C.match(h);D&&(A.push(D[1]),R.unshift(D[2])),R.length&&(m=R.join(".")+m),this.hostname=A.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),y&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var I=m.indexOf("#");-1!==I&&(this.hash=m.substr(I),m=m.slice(0,I));var O=m.indexOf("?");return-1!==O&&(this.search=m.substr(O),m=m.slice(0,O)),m&&(this.pathname=m),p[o]&&this.hostname&&!this.pathname&&(this.pathname=""),this},i.prototype.parseHost=function(e){var t=o.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},t.exports=function(e,t){if(e&&e instanceof i)return e;var n=new i;return n.parse(e,t),n}},{}],61:[function(e,t,n){t.exports=/[\0-\x1F\x7F-\x9F]/},{}],62:[function(e,t,n){t.exports=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804\uDCBD|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/},{}],63:[function(e,t,n){t.exports=/[!-#%-\*,-/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E42\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/},{}],64:[function(e,t,n){t.exports=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/},{}],65:[function(e,t,n){t.exports.Any=e("./properties/Any/regex"),t.exports.Cc=e("./categories/Cc/regex"),t.exports.Cf=e("./categories/Cf/regex"),t.exports.P=e("./categories/P/regex"),t.exports.Z=e("./categories/Z/regex")},{"./categories/Cc/regex":61,"./categories/Cf/regex":62,"./categories/P/regex":63,"./categories/Z/regex":64,"./properties/Any/regex":66}],66:[function(e,t,n){t.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/},{}],67:[function(e,t,n){t.exports=e("./lib/")},{"./lib/":9}]},{},[67])(67)})}).call(t,n("h6ac"))},bB58:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=s(n("dACh")),r=s(n("jx4H")),o=s(n("0iPh")),a=n("Tzw7");function s(e){return e&&e.__esModule?e:{default:e}}var l=function(){function e(){(0,i.default)(this,e),this.$content=(0,o.default)(".content-node-edit-source").eq(0),this.$form=(0,o.default)("#edit-node-source-form"),this.$formRow=null,this.$dropdown=null,this.$input=null,this.onInputKeyDown=this.onInputKeyDown.bind(this),this.onInputKeyUp=this.onInputKeyUp.bind(this),this.inputFocus=this.inputFocus.bind(this),this.inputFocusOut=this.inputFocusOut.bind(this),this.onFormSubmit=this.onFormSubmit.bind(this),this.wrapInTabs=this.wrapInTabs.bind(this),this.$content.length&&(this.$formRow=this.$content.find(".uk-form-row"),window.setTimeout(this.wrapInTabs,300),this.init(),this.initEvents())}return(0,r.default)(e,[{key:"wrapInTabs",value:function(){var e={default:{name:"default",id:"default",fields:[]}},t=this.$content.find(".uk-form-row[data-field-group-canonical]"),n=t.length,i=1;if(n>0){for(var r=0;r1){this.$form.append('
        ');var l=this.$form.find(".uk-switcher"),u=this.$form.find("#node-source-form-switcher-nav");for(var c in e){var d=e[c],h="group-"+d.id.replace(/[\s_]/g,"-").replace(/[^\w-]+/g,"");l.append('
      • '),"default"===d.id?u.append('
      • '):u.append('
      • '+d.name+"
      • ");for(var f=l.find("#"+h),p=0;p=0;e--){var t=this.$devNames[e],n=(0,o.default)(t);if(""!==t.getAttribute("data-dev-name")){var i=n.parents(".uk-form-row").find("label"),r=n.find(".uk-navbar-brand.label");i.length?i.append(''+t.getAttribute("data-dev-name")+""):r.length&&r.append(''+t.getAttribute("data-dev-name")+"")}}for(var a=this.$formRow.length-1;a>=0;a--)if(this.$formRow[a].className.indexOf("children-nodes-widget")>=0){this.childrenNodeWidgetFlip(a);break}}},{key:"initEvents",value:function(){window.Rozier.$window.on("keydown",this.onInputKeyDown),window.Rozier.$window.on("keyup",this.onInputKeyUp),this.$input.on("focus",this.inputFocus),this.$input.on("focusout",this.inputFocusOut),this.$form.on("submit",this.onFormSubmit)}},{key:"unbind",value:function(){this.$content.length&&(window.Rozier.$window.off("keydown",this.onInputKeyDown),window.Rozier.$window.off("keyup",this.onInputKeyUp),this.$input.off("focus",this.inputFocus),this.$input.off("focusout",this.inputFocusOut),this.$form.off("submit",this.onFormSubmit))}},{key:"onFormSubmit",value:function(){var e=this;return window.Rozier.lazyload.canvasLoader.show(),this.currentTimeout&&clearTimeout(this.currentTimeout),this.currentTimeout=setTimeout(function(){var t=new CustomEvent("pagechange");window.dispatchEvent(t);var n=new FormData(e.$form.get(0));o.default.ajax({url:window.location.href,type:"post",data:n,processData:!1,cache:!1,contentType:!1}).done(function(t){if(e.cleanErrors(),t.public_url){var n=(0,o.default)("a.public-url-link");n.length&&n.attr("href",t.public_url)}if(t.preview_url){var i=(0,o.default)("a.preview-url-link");i.length&&i.attr("href",t.preview_url)}}).fail(function(t){t.responseJSON&&(e.displayErrors(t.responseJSON.errors),window.UIkit.notify({message:t.responseJSON.message,status:"danger",timeout:2e3,pos:"top-center"}))}).always(function(){window.Rozier.lazyload.canvasLoader.hide(),window.Rozier.getMessages(),window.Rozier.refreshAllNodeTrees()})},300),!1}},{key:"cleanErrors",value:function(){var e=(0,o.default)(".form-errored");e.each(function(t){e.eq(t).removeClass("form-errored"),e.eq(t).find(".error-message").remove()})}},{key:"displayErrors",value:function(e,t){for(var n in t&&!1!==t||this.cleanErrors(),e){var i=null,r=null;if("object"===(0,a.toType)(e[n]))this.displayErrors(e[n],!0);else{i=n.replace("_","-"),r=e[n]instanceof Array?e[n][0]:e[n];var s=(0,o.default)(".form-col-"+i);s.length&&(s.addClass("form-errored"),s.append('

        '+r+"

        "))}}}},{key:"onInputKeyDown",value:function(e){18===e.keyCode&&window.Rozier.$body.toggleClass("dev-name-visible")}},{key:"onInputKeyUp",value:function(e){18===e.keyCode&&window.Rozier.$body.toggleClass("dev-name-visible")}},{key:"childrenNodeWidgetFlip",value:function(e){e>=this.$formRow.length-2&&(this.$dropdown=(0,o.default)(this.$formRow[e]).find(".uk-dropdown-small"),this.$dropdown.addClass("uk-dropdown-up"))}},{key:"inputFocus",value:function(e){(0,o.default)(e.currentTarget).parent().addClass("form-col-focus")}},{key:"inputFocusOut",value:function(e){(0,o.default)(e.currentTarget).parent().removeClass("form-col-focus")}},{key:"resize",value:function(){}}]),e}();t.default=l},bKSI:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getFolders=function(){var e={_token:window.RozierRoot.ajaxToken,_action:"foldersExplorer"};return(0,i.default)({method:"GET",url:window.RozierRoot.routes.foldersAjaxExplorer,params:e}).then(function(e){return void 0!==e.data&&e.data.folders?{items:e.data.folders}:{}}).catch(function(e){throw new Error(e)})};var i=function(e){return e&&e.__esModule?e:{default:e}}(n("dZBD"))},bXQK:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("ERN0"),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,function(){return i[e]})}(o);var a=n("ygC5"),s=n.n(a),l=n("/4AN")(r.a,s.a,!1,null,null,null);t.default=l.exports},bnjF:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getNodesSourceFromSearch=function(e){var t={_token:window.RozierRoot.ajaxToken,_action:"searchNodesSources",searchTerms:e};return(0,i.default)({method:"GET",url:window.RozierRoot.routes.searchNodesSourcesAjax,params:t}).then(function(e){return void 0!==e.data.data&&e.data.data.length>0?e.data.data:[]}).catch(function(e){throw new Error(e)})};var i=function(e){return e&&e.__esModule?e:{default:e}}(n("dZBD"))},bpQj:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("NC+4"),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,function(){return i[e]})}(o);var a=n("jfiS"),s=n.n(a);var l=function(e){n("T29m")},u=n("/4AN")(r.a,s.a,!1,l,null,null);t.default=u.exports},buA2:function(e,t,n){"use strict";!function(e){var t,n=function(e,t){void 0===t&&(t={}),this.init(e,t)},i=n.prototype,r=["canvas","vml"],o=["oval","spiral","square","rect","roundRect"],a=/^\#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$/,s=-1!==navigator.appVersion.indexOf("MSIE")&&8===parseFloat(navigator.appVersion.split("MSIE")[1]),l=!!document.createElement("canvas").getContext,u=!0,c=function(e,t,n){var i,r=document.createElement(e);for(i in n)r[i]=n[i];return void 0!==t&&t.appendChild(r),r},d=function(e,t){for(var n in t)e.style[n]=t[n];return e},h=function(e,t){for(var n in t)e.setAttribute(n,t[n]);return e},f=function(e,t,n,i){e.save(),e.translate(t,n),e.rotate(i),e.translate(-t,-n),e.beginPath()};i.init=function(e,i){"boolean"==typeof i.safeVML&&(u=i.safeVML);try{void 0!==document.getElementById(e)?this.mum=document.getElementById(e):this.mum=document.body}catch(e){this.mum=document.body}if(i.id=void 0!==i.id?i.id:"canvasLoader",this.cont=c("div",this.mum,{id:i.id}),l)t=r[0],this.can=c("canvas",this.cont),this.con=this.can.getContext("2d"),this.cCan=d(c("canvas",this.cont),{display:"none"}),this.cCon=this.cCan.getContext("2d");else{if(t=r[1],void 0===n.vmlSheet){document.getElementsByTagName("head")[0].appendChild(c("style")),n.vmlSheet=document.styleSheets[document.styleSheets.length-1];var o,a=["group","oval","roundrect","fill"];for(o in a)n.vmlSheet.addRule(a[o],"behavior:url(#default#VML); position:absolute;")}this.vml=c("group",this.cont)}this.setColor(this.color),this.draw(),d(this.cont,{display:"none"})},i.cont={},i.can={},i.con={},i.cCan={},i.cCon={},i.timer={},i.activeId=0,i.diameter=40,i.setDiameter=function(e){this.diameter=Math.round(Math.abs(e)),this.redraw()},i.getDiameter=function(){return this.diameter},i.cRGB={},i.color="#000000",i.setColor=function(e){this.color=a.test(e)?e:"#000000",this.cRGB=this.getRGB(this.color),this.redraw()},i.getColor=function(){return this.color},i.shape=o[0],i.setShape=function(e){var t;for(t in o)if(e===o[t]){this.shape=e,this.redraw();break}},i.getShape=function(){return this.shape},i.density=40,i.setDensity=function(e){this.density=u&&t===r[1]?Math.round(Math.abs(e))<=40?Math.round(Math.abs(e)):40:Math.round(Math.abs(e)),this.density>360&&(this.density=360),this.activeId=0,this.redraw()},i.getDensity=function(){return this.density},i.range=1.3,i.setRange=function(e){this.range=Math.abs(e),this.redraw()},i.getRange=function(){return this.range},i.speed=2,i.setSpeed=function(e){this.speed=Math.round(Math.abs(e))},i.getSpeed=function(){return this.speed},i.fps=24,i.setFPS=function(e){this.fps=Math.round(Math.abs(e)),this.reset()},i.getFPS=function(){return this.fps},i.getRGB=function(e){return e="#"===e.charAt(0)?e.substring(1,7):e,{r:parseInt(e.substring(0,2),16),g:parseInt(e.substring(2,4),16),b:parseInt(e.substring(4,6),16)}},i.draw=function(){var e,n,i,a,l,u,p,m,g,v,_,b,w=0,k=this.density,y=Math.round(k*this.range),E=1e3,C=0,x=this.cCon,T=this.diameter,S=.47;if(t===r[0])for(x.clearRect(0,0,E,E),h(this.can,{width:T,height:T}),h(this.cCan,{width:T,height:T});w=1;)e.removeChild(e.firstChild)}},i.redraw=function(){this.clean(),this.draw()},i.reset=function(){"number"==typeof this.timer&&(this.hide(),this.show())},i.tick=function(e){var n=this.con,i=this.diameter;e||(this.activeId+=360/this.density*this.speed),t===r[0]?(n.clearRect(0,0,i,i),f(n,.5*i,.5*i,this.activeId/180*Math.PI),n.drawImage(this.cCan,0,0,i,i),n.restore()):(this.activeId>=360&&(this.activeId-=360),d(this.vml,{rotation:this.activeId}))},i.show=function(){if("number"!=typeof this.timer){var e=this;this.timer=self.setInterval(function(){e.tick()},Math.round(1e3/this.fps)),d(this.cont,{display:"block"})}},i.hide=function(){"number"==typeof this.timer&&(clearInterval(this.timer),delete this.timer,d(this.cont,{display:"none"}))},i.kill=function(){var e,n=this.cont;for(e in"number"==typeof this.timer&&this.hide(),t===r[0]?(n.removeChild(this.can),n.removeChild(this.cCan)):n.removeChild(this.vml),this)delete this[e]},e.CanvasLoader=n}(window)},c8JY:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"toolbar",staticClass:"toolbar"},[e.cropped?e._e():[e.setDragMode?n("button",{staticClass:"toolbar__button uk-button",attrs:{"data-uk-tooltip":"",title:e.translations.move},on:{click:function(t){e.setDragMode("move")}}},[n("i",{staticClass:"uk-icon-arrows"})]):e._e(),e._v(" "),e.setDragMode?n("button",{staticClass:"toolbar__button uk-button",attrs:{"data-uk-tooltip":"",title:e.translations.crop},on:{click:function(t){e.setDragMode("crop")}}},[n("i",{staticClass:"uk-icon-crop"})]):e._e(),e._v(" "),e.zoomIn?n("button",{staticClass:"toolbar_button uk-button",attrs:{"data-uk-tooltip":"",title:e.translations.zoomIn},on:{click:e.zoomIn}},[n("i",{staticClass:"uk-icon-search-plus"})]):e._e(),e._v(" "),e.zoomOut?n("button",{staticClass:"toolbar_button uk-button",attrs:{"data-uk-tooltip":"",title:e.translations.zoomOut},on:{click:e.zoomOut}},[n("i",{staticClass:"uk-icon-search-minus"})]):e._e(),e._v(" "),e.rotateLeft?n("button",{staticClass:"toolbar_button uk-button",attrs:{"data-uk-tooltip":"",title:e.translations.rotateLeft},on:{click:e.rotateLeft}},[n("i",{staticClass:"uk-icon-rotate-left"})]):e._e(),e._v(" "),e.rotateRight?n("button",{staticClass:"toolbar_button uk-button",attrs:{"data-uk-tooltip":"",title:e.translations.rotateRight},on:{click:e.rotateRight}},[n("i",{staticClass:"uk-icon-rotate-right"})]):e._e(),e._v(" "),e.flipHorizontal?n("button",{staticClass:"toolbar_button uk-button",attrs:{"data-uk-tooltip":"",title:e.translations.flipHorizontal},on:{click:e.flipHorizontal}},[n("i",{staticClass:"uk-icon-arrows-h"})]):e._e(),e._v(" "),e.flipVertical?n("button",{staticClass:"toolbar_button uk-button",attrs:{"data-uk-tooltip":"",title:e.translations.flipVertical},on:{click:e.flipVertical}},[n("i",{staticClass:"uk-icon-arrows-v"})]):e._e(),e._v(" "),n("div",{staticClass:"toolbar__select_wraper",attrs:{"data-uk-tooltip":"",title:e.translations.aspectRatio}},[n("select",{directives:[{name:"model",rawName:"v-model",value:e.ratio,expression:"ratio"}],staticClass:"toolbar__select uk-button",on:{change:[function(t){var n=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.ratio=t.target.multiple?n:n[0]},e.aspectRatio]}},[n("optgroup",{attrs:{label:e.translations.other}},[n("option",{attrs:{value:"free"}},[e._v(e._s(e.translations.free))]),e._v(" "),n("option",{attrs:{value:"1:1"}},[e._v("1:1")]),e._v(" "),n("option",{attrs:{value:"4:3"}},[e._v("4:3")])]),e._v(" "),n("optgroup",{attrs:{label:e.translations.landscape}},[n("option",{attrs:{value:"16:9"}},[e._v("16:9")]),e._v(" "),n("option",{attrs:{value:"21:9"}},[e._v("21:9")])]),e._v(" "),n("optgroup",{attrs:{label:e.translations.portrait}},[n("option",{attrs:{value:"9:16"}},[e._v("9:16")]),e._v(" "),n("option",{attrs:{value:"9:21"}},[e._v("9:21")])])]),e._v(" "),n("i",{staticClass:"uk-icon-arrow-down"})]),e._v(" "),e.cropping&&!e.cropped?n("button",{staticClass:"toolbar_button uk-button uk-button-primary",attrs:{"data-uk-tooltip":"",title:e.translations.applyChange},on:{click:e.crop}},[n("i",{staticClass:"uk-icon-check"})]):e._e()],e._v(" "),e.cropped?n("button",{staticClass:"toolbar_button uk-button uk-button-secondary",attrs:{"data-uk-tooltip":"",title:e.translations.undo},on:{click:e.undo}},[n("i",{staticClass:"uk-icon-undo"})]):e._e(),e._v(" "),e.cropped?n("button",{staticClass:"toolbar_button uk-button uk-button-primary",attrs:{"data-uk-tooltip":"",title:e.translations.saveAndOverwrite},on:{click:e.overwrite}},[n("i",{staticClass:"uk-icon-floppy-o"}),e._v(" "+e._s(e.translations.saveAndOverwrite)+"\n ")]):e._e()],2)},staticRenderFns:[]};t.default=i},cDWz:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("TL+m"),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,function(){return i[e]})}(o);var a=n("VB4P"),s=n.n(a),l=n("/4AN")(r.a,s.a,!1,null,null,null);t.default=l.exports},ciPl:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("BYnw"),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,function(){return i[e]})}(o);var a=n("qqmG"),s=n.n(a);var l=function(e){n("Xatb")},u=n("/4AN")(r.a,s.a,!1,l,"data-v-528b9f0b",null);t.default=u.exports},ds7r:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("modal",{attrs:{name:"warning-modal",transition:"pop-out",width:e.modalWidth,height:350},on:{"before-close":e.beforeClose}},[n("div",{staticClass:"box"},[n("div",{staticClass:"box-part",attrs:{id:"bp-left"}},[n("div",{staticClass:"modal",attrs:{id:"partition-register"}},[n("div",{staticClass:"modal-title"},[e._v(e._s(e.title))]),e._v(" "),n("div",{staticClass:"modal-content"},[n("p",[e._v(e._s(e.content))]),e._v(" "),n("div",{staticClass:"btns"},[e.linkUrl&&e.linkLabel?n("a",{staticClass:"btn large-btn",attrs:{href:e.linkUrl}},[e._v(e._s(e.linkLabel))]):e._e(),e._v(" "),e.closeable?n("button",{staticClass:"large-btn",on:{click:e.close}},[e._v("Close")]):e._e()])])])]),e._v(" "),e.imageUrl?n("div",{staticClass:"box-part",attrs:{id:"bp-right"}},[n("img",{directives:[{name:"dynamic-img",rawName:"v-dynamic-img",value:e.imageUrl,expression:"imageUrl"}],attrs:{src:"data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs="}})]):e._e()])])},staticRenderFns:[]};t.default=i},dy4P:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("mC1X"),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,function(){return i[e]})}(o);var a=n("nFnR"),s=n.n(a),l=n("/4AN")(r.a,s.a,!1,null,null,null);t.default=l.exports},e1f4:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getImage=function(){return(0,i.default)({method:"GET",url:window.RozierRoot.routes.splashRequest,headers:{"X-Requested-With":"XMLHttpRequest"},params:{_:Math.random()}}).then(function(e){return e.data.url}).catch(function(){throw new Error("Image not found")})};var i=function(e){return e&&e.__esModule?e:{default:e}}(n("dZBD"))},e9E8:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={props:{isLoadingMore:{required:!0,type:Boolean},nextPage:{type:Number},loadMoreItems:{required:!0,type:Function},moreItemsText:{required:!0,type:String}}}},eC0v:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=s(n("T4f3"));n("gzqx");var r=s(n("iUPs")),o=n("SJI6"),a=s(n("mebu"));function s(e){return e&&e.__esModule?e:{default:e}}t.default={props:{srcUrl:{required:!0,type:String},filename:{required:!0,type:String}},data:function(){return{editable:!1,cropper:!1,cropping:!0,data:null,canvasData:null,cropBoxData:null,image:null,type:"",name:"",url:this.srcUrl,cropped:!1,aspectRatio:null}},mounted:function(){this.blanchetteEditorInit({url:this.url,editor:this.$refs.blanchetteEditor})},computed:(0,i.default)({},(0,o.mapState)({originalUrl:function(e){return e.blanchetteEditor.originalUrl},isLoading:function(e){return e.blanchetteEditor.isLoading},translations:function(e){return e.translations}})),methods:(0,i.default)({},(0,o.mapActions)(["blanchetteEditorInit","blanchetteEditorLoaded","blanchetteEditorSave"]),{overwrite:function(){var e=this;this.blanchetteEditorSave({url:this.url,filename:this.filename}).then(function(){return e.restore()})},load:function(){var e=this;window.setTimeout(function(){e.image||(e.image=e.$refs.image,e.start(),e.blanchetteEditorLoaded())},1e3)},setAspectRatio:function(e){switch(e.target.value){case"1:1":this.aspectRatio=1;break;case"4:3":this.aspectRatio=4/3;break;case"16:9":this.aspectRatio=16/9;break;case"21:9":this.aspectRatio=21/9;break;case"9:16":this.aspectRatio=9/16;break;case"9:21":this.aspectRatio=9/21;break;default:this.aspectRatio=null}this.cropper.setAspectRatio(this.aspectRatio)},rotateRight:function(){this.cropper.rotate(90)},rotateLeft:function(){this.cropper.rotate(-90)},setDragMode:function(e){e&&this.cropper&&this.cropper.setDragMode(e)},zoomIn:function(){this.cropper.zoom(.1)},zoomOut:function(){this.cropper.zoom(-.1)},flipHorizontal:function(){this.cropper.scaleX(-this.cropper.getData().scaleX||-1)},flipVertical:function(){this.cropper.scaleY(-this.cropper.getData().scaleY||-1)},move:function(e,t){this.cropper.move(e,t)},start:function(){this.cropper||(this.cropper=new r.default(this.image,{autoCrop:!1,dragMode:"move",background:!1,aspectRatio:this.aspectRatio,viewMode:1,zoomOnWheel:!1,ready:function(){this.data&&(this.cropper.crop().setData(this.data).setCanvasData(this.canvasData).setCropBoxData(this.cropBoxData),this.data=null,this.canvasData=null,this.cropBoxData=null)},crop:function(e){e.detail.width>0&&e.detail.height>0&&!this.cropping&&(this.cropping=!0)}}))},stop:function(){this.cropper&&(this.cropper.destroy(),this.cropper=null)},crop:function(){var e=this.cropper,t=this.type;this.cropping&&(this.originalUrl=this.url,this.data=e.getData(),this.canvasData=e.getCanvasData(),this.cropBoxData=e.getCropBoxData(),this.url=e.getCroppedCanvas("image/png"===t?null:{fillColor:"#fff"}).toDataURL(t),this.cropped=!0,this.stop())},clear:function(){this.cropping&&this.cropper.clear()},restore:function(){this.cropper||(this.image=null,this.url=this.originalUrl,this.originalUrl="",this.cropped=!1)}}),components:{BlanchetteToolbar:a.default}}},eQwT:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("THhJ"),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,function(){return i[e]})}(o);var a=n("/4AN")(r.a,null,!1,null,null,null);t.default=a.exports},en6P:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){return e&&e.__esModule?e:{default:e}}(n("T4f3")),r=n("SJI6");t.default={computed:(0,i.default)({},(0,r.mapState)({isExplorerOpen:function(e){return e.explorer.isOpen}}))}},fHvF:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,r=function(e){return e&&e.__esModule?e:{default:e}}(n("Xos8")),o=n("xHmi"),a=l(n("2y8T")),s=l(n("Mb7i"));function l(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}var u={blanchetteEditorInit:function(e,t){var n=e.commit,i=e.dispatch,r=t.url,a=t.editor;i("blanchetteEditorIsLoading"),n(o.BLANCHETTE_EDITOR_INIT,{url:r,editor:a})},blanchetteEditorIsLoading:function(e){(0,e.commit)(o.BLANCHETTE_EDITOR_IS_LOADING)},blanchetteEditorLoaded:function(e){(0,e.commit)(o.BLANCHETTE_EDITOR_LOADED)},blanchetteEditorSave:function(e,t){var n=e.commit,i=e.state,r=t.url,l=t.filename,u=s.dataURItoBlob(r),c=i.editor.getElementsByTagName("form")[0],d=new FormData(c);return d.append("form[editDocument]",u,l),n(o.BLANCHETTE_EDITOR_IS_LOADING),a.setDocument(d).then(function(e){if(n(o.BLANCHETTE_EDITOR_LOADED),!e.data||!e.data.path)throw new Error("No path found");window.UIkit.notify({message:e.data.message,status:"success",timeout:2e3,pos:"top-center"}),n(o.BLANCHETTE_EDITOR_SAVE_SUCCESS,{path:e.data.path})}).catch(function(e){console.error(e),n(o.BLANCHETTE_EDITOR_ERROR,{error:e}),n(o.BLANCHETTE_EDITOR_LOADED)})}},c=(i={},(0,r.default)(i,o.BLANCHETTE_EDITOR_INIT,function(e,t){var n=t.url,i=t.editor;e.originalUrl=n,e.editor=i}),(0,r.default)(i,o.BLANCHETTE_EDITOR_IS_LOADING,function(e){e.isLoading=!0}),(0,r.default)(i,o.BLANCHETTE_EDITOR_ERROR,function(e,t){var n=t.error;e.error=n.message}),(0,r.default)(i,o.BLANCHETTE_EDITOR_LOADED,function(e){e.isLoading=!1}),(0,r.default)(i,o.BLANCHETTE_EDITOR_SAVE_SUCCESS,function(e,t){var n=t.path;e.originalUrl=n}),i);t.default={state:{isLoading:!0,originalUrl:"",editor:null},actions:u,mutations:c}},fa0H:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("MjFt"),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,function(){return i[e]})}(o);var a=n("qE/d"),s=n.n(a),l=n("/4AN")(r.a,s.a,!1,null,null,null);t.default=l.exports},g2gx:function(e,t,n){"use strict";var i,r;!function(o,a,s){for(var l,u,c={8:"backspace",9:"tab",13:"enter",16:"shift",17:"ctrl",18:"alt",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"ins",46:"del",91:"meta",93:"meta",224:"meta"},d={106:"*",107:"+",109:"-",110:".",111:"/",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},h={"~":"`","!":"1","@":"2","#":"3",$:"4","%":"5","^":"6","&":"7","*":"8","(":"9",")":"0",_:"-","+":"=",":":";",'"':"'","<":",",">":".","?":"/","|":"\\"},f={option:"alt",command:"meta",return:"enter",escape:"esc",mod:/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"meta":"ctrl"},p={},m={},g={},v=!1,_=!1,b=!1,w=1;w<20;++w)c[111+w]="f"+w;for(w=0;w<=9;++w)c[w+96]=w;function k(e,t,n){e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent("on"+t,n)}function y(e){if("keypress"==e.type){var t=String.fromCharCode(e.which);return e.shiftKey||(t=t.toLowerCase()),t}return c[e.which]?c[e.which]:d[e.which]?d[e.which]:String.fromCharCode(e.which).toLowerCase()}function E(e,t){return e.sort().join(",")===t.sort().join(",")}function C(e){e=e||{};var t,n=!1;for(t in g)e[t]?n=!0:g[t]=0;n||(b=!1)}function x(e,t,n,i,r,o){var a,s,l=[],u=n.type;if(!p[e])return[];for("keyup"==u&&A(e)&&(t=[e]),a=0;a95&&e<112||c.hasOwnProperty(e)&&(l[c[e]]=e);return l}()[e]?"keydown":"keypress"),"keypress"==n&&t.length&&(n="keydown"),n}function D(e,t,n,i){function r(t){return function(){b=t,++g[e],clearTimeout(u),u=setTimeout(C,1e3)}}function o(t){T(n,t,e),"keyup"!==i&&(v=y(t)),setTimeout(C,10)}g[e]=0;for(var a=0;a1?D(e,a,t,n):(o=I(e,n),p[o.key]=p[o.key]||[],x(o.key,o.modifiers,{type:o.action},i,e,r),p[o.key][i?"unshift":"push"]({callback:t,modifiers:o.modifiers,action:o.action,seq:i,level:r,combo:e}))}k(a,"keypress",S),k(a,"keydown",S),k(a,"keyup",S);var M={bind:function(e,t,n){return function(e,t,n){for(var i=0;i-1)&&("INPUT"==t.tagName||"SELECT"==t.tagName||"TEXTAREA"==t.tagName||t.isContentEditable)},handleKey:function(e,t,n){var i,r=x(e,t,n),o={},a=0,s=!1;for(i=0;ie?void 0!==t[e].update?o.default.ajax({url:t[e].update,type:"POST",dataType:"json",complete:function(){n.callSingleImport(e)}}):this.callSingleImport(e):this.$nextStepButton.length&&this.$nextStepButton.removeClass("uk-button-disabled")}},{key:"callSingleImport",value:function(e){var t=this,n=e,i=this.routes,r=(0,o.default)("#"+i[n].id),a=r.find("i");a.removeClass("uk-icon-circle-o"),a.addClass("uk-icon-spin"),a.addClass("uk-icon-spinner");var s={filename:i[n].filename};o.default.ajax({url:i[n].url,type:"POST",dataType:"json",data:s,success:function(){a.removeClass("uk-icon-spin"),a.removeClass("uk-icon-spinner"),a.addClass("uk-icon-check"),r.addClass("uk-badge-success"),i[n].postUpdate?i[n].postUpdate instanceof Array&&i[n].postUpdate.length>1?o.default.ajax({url:i[n].postUpdate[0],type:"POST",dataType:"json",complete:function(){o.default.ajax({url:i[n].postUpdate[1],type:"POST",dataType:"json",complete:function(){t.always(n+1,i)}})}}):o.default.ajax({url:i[n].postUpdate,type:"POST",dataType:"json",complete:function(){t.always(n+1,i)}}):t.always(n+1,i)},error:function(e){a.removeClass("uk-icon-spin"),a.removeClass("uk-icon-spinner"),a.addClass("uk-icon-warning"),r.addClass("uk-badge-danger"),e.responseJSON&&e.responseJSON.error&&r.parent().parent().after(''+e.responseJSON.error+"")},complete:function(){a.removeClass("uk-icon-spin"),a.removeClass("uk-icon-spinner")}})}}]),e}();t.default=s},ibAD:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=s(n("dACh")),r=s(n("jx4H")),o=s(n("0iPh")),a=n("EQNM");function s(e){return e&&e.__esModule?e:{default:e}}var l=function(){function e(){(0,i.default)(this,e),this.$btn=(0,o.default)(".node-type-field-edit-button"),this.currentRequest=null,this.$btn.length&&(this.$formFieldRow=(0,o.default)(".node-type-field-row"),this.$formFieldCol=(0,o.default)(".node-type-field-col"),this.indexOpen=null,this.openFormDelay=0,this.$formCont=null,this.$form=null,this.$formIcon=null,this.$formContHeight=null,this.init())}return(0,r.default)(e,[{key:"init",value:function(){}},{key:"unbind",value:function(){}},{key:"btnClick",value:function(e){var t=this;return e.preventDefault(),null!==this.indexOpen?(this.closeForm(),this.openFormDelay=400):this.openFormDelay=0,this.indexOpen!==parseInt(e.currentTarget.getAttribute("data-index"))&&(this.currentRequest&&4!==this.currentRequest.readyState&&this.currentRequest.abort(),window.Rozier.lazyload.canvasLoader.show(),this.openTimeout&&clearTimeout(this.openTimeout),this.openTimeout=setTimeout(function(){var n=new CustomEvent("pagechange");window.dispatchEvent(n),t.indexOpen=parseInt(e.currentTarget.getAttribute("data-index")),t.currentRequest=o.default.ajax({url:e.currentTarget.href,type:"get",cache:!1,dataType:"html"}).done(function(n){t.applyContent(e.currentTarget,n,e.currentTarget.href)}).fail(function(){window.UIkit.notify({message:window.Rozier.messages.forbiddenPage,status:"danger",timeout:3e3,pos:"top-center"})}).always(function(){window.Rozier.lazyload.canvasLoader.hide()})},this.openFormDelay)),!1}},{key:"applyContent",value:function(e,t,n){var i=this,r=['','','
        ',t,"
        ","",""].join("");(0,o.default)(e).parent().parent().after(r),this.$formFieldCol.removeClass("node-type-field-col"),(0,o.default)(".rz-boolean-checkbox").bootstrapSwitch({size:"small"}),window.Rozier.lazyload.initMarkdownEditors(),window.setTimeout(function(){i.$formCont=(0,o.default)(".node-type-field-edit-form-cont"),i.formContHeight=i.$formCont.actual("height"),i.$formRow=(0,o.default)(".node-type-field-edit-form-row"),i.$form=(0,o.default)("#edit-node-type-field-form"),i.$formIcon=(0,o.default)(i.$formFieldRow[i.indexOpen]).find(".node-type-field-col-1 i"),i.$form.attr("action",n),i.$formIcon[0].className="uk-icon-chevron-down",i.$formCont[0].style.height="0px",i.$formCont[0].style.display="block",a.TweenLite.to(i.$form,.6,{height:i.formContHeight,ease:a.Expo.easeOut}),a.TweenLite.to(i.$formCont,.6,{height:i.formContHeight,ease:a.Expo.easeOut})},200)}},{key:"closeForm",value:function(){var e=this;this.$formIcon[0].className="uk-icon-chevron-right",a.TweenLite.to(this.$formCont,.4,{height:0,ease:a.Expo.easeOut,onComplete:function(){e.$formRow.remove(),e.indexOpen=null,e.$formFieldCol.addClass("node-type-field-col")}})}},{key:"resize",value:function(){}}]),e}();t.default=l},inhQ:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"fade"}},[e.nextPage&&e.nextPage>1?n("div",{staticClass:"widget-explorer-nextpage",on:{click:function(t){t.preventDefault(),e.loadMoreItems(t)}}},[e.isLoadingMore?[n("transition",{attrs:{name:"fade"}},[n("div",{staticClass:"spinner light"})])]:[n("i",{staticClass:"uk-icon-plus"}),e._v(" "),n("span",{staticClass:"label"},[e._v(e._s(e.moreItemsText))])]],2):e._e()])},staticRenderFns:[]};t.default=i},jfiS:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e._t("default"),e._v(" "),n("label",{staticClass:"typo__label"},[e._v("Tagging")]),e._v(" "),n("multiselect",{attrs:{"tag-placeholder":"Add this as new tag",placeholder:"Search or add a tag",label:"name","track-by":"id",options:e.options,multiple:!0,taggable:!0,"group-values":"children","group-label":"name"},on:{tag:e.addTag,input:e.tagsUpdateValue},model:{value:e.value,callback:function(t){e.value=t},expression:"value"}}),e._v(" "),n("pre",{staticClass:"language-json"},[n("code",[e._v(e._s(e.value))])])],2)},staticRenderFns:[]};t.default=i},jx8E:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"fade"}},[!e.isTagExisting&&e.searchTerms?n("div",{staticClass:"tag-creator"},[n("div",{staticClass:"infos"},[e._v(e._s(e.translations.createTag))]),e._v(" "),n("tag-creator-item",{attrs:{"create-tag":e.tagsCreate,"tag-name":e.searchTerms}})],1):e._e()])},staticRenderFns:[]};t.default=i},kMqv:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getTags=function(){var e={_token:window.RozierRoot.ajaxToken,_action:"tagsExplorer"};return(0,i.default)({method:"GET",url:window.RozierRoot.routes.tagsAjaxExplorer,params:e}).then(function(e){return void 0!==e.data&&e.data.tags?{items:e.data.tags}:{}}).catch(function(e){throw new Error(e)})},t.getParentTags=function(){var e={_token:window.RozierRoot.ajaxToken,_action:"tagsExplorer",onlyParents:!0};return(0,i.default)({method:"GET",url:window.RozierRoot.routes.tagsAjaxExplorer,params:e}).then(function(e){return void 0!==e.data&&e.data.tags?{items:e.data.tags}:{}}).catch(function(e){throw new Error(e)})};var i=function(e){return e&&e.__esModule?e:{default:e}}(n("dZBD"))},kR5N:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=s(n("dACh")),r=s(n("jx4H")),o=s(n("0iPh")),a=n("Tzw7");function s(e){return e&&e.__esModule?e:{default:e}}var l=function(){function e(){(0,i.default)(this,e),this.$content=(0,o.default)(".content-tag-edit").eq(0),this.$form=(0,o.default)("#edit-tag-form"),this.$formRow=null,this.$dropdown=null,this.onFormSubmit=this.onFormSubmit.bind(this),this.$content.length&&(this.$formRow=this.$content.find(".uk-form-row"),this.initEvents())}return(0,r.default)(e,[{key:"initEvents",value:function(){this.$form.on("submit",this.onFormSubmit)}},{key:"unbind",value:function(){this.$content.length&&this.$form.off("submit",this.onFormSubmit)}},{key:"onFormSubmit",value:function(){var e=this;return window.Rozier.lazyload.canvasLoader.show(),this.currentTimeout&&clearTimeout(this.currentTimeout),this.currentTimeout=setTimeout(function(){var t=new CustomEvent("pagechange");window.dispatchEvent(t);var n=new FormData(e.$form.get(0));o.default.ajax({url:window.location.href,type:"post",data:n,processData:!1,cache:!1,contentType:!1}).done(function(t){e.cleanErrors()}).fail(function(t){t.responseJSON&&(e.displayErrors(t.responseJSON.errors),window.UIkit.notify({message:t.responseJSON.message,status:"danger",timeout:2e3,pos:"top-center"}))}).always(function(){window.Rozier.lazyload.canvasLoader.hide(),window.Rozier.refreshMainTagTree(),window.Rozier.getMessages()})},300),!1}},{key:"cleanErrors",value:function(){var e=(0,o.default)(".form-errored");e.each(function(t){e.eq(t).removeClass("form-errored"),e.eq(t).find(".error-message").remove()})}},{key:"displayErrors",value:function(e,t){for(var n in t&&!1!==t||this.cleanErrors(),e){var i=null,r=null;if("object"===(0,a.toType)(e[n]))this.displayErrors(e[n],!0);else{i=n.replace("_","-"),r=e[n]instanceof Array?e[n][0]:e[n];var s=(0,o.default)(".form-col-"+i);s.length&&(s.addClass("form-errored"),s.append('

        '+r+"

        "))}}}},{key:"resize",value:function(){}}]),e}();t.default=l},kRS3:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o(n("H8iA")),r=o(n("KtXb"));function o(e){return e&&e.__esModule?e:{default:e}}t.default={centralTruncate:i.default,truncate:r.default}},krmO:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,r=function(e){return e&&e.__esModule?e:{default:e}}(n("Xos8")),o=n("xHmi");var a={documentPreviewInit:function(e,t){var n=e.commit,i=t.document;n(o.DOCUMENT_PREVIEW_INIT,{document:i})},documentPreviewDestroy:function(e){(0,e.commit)(o.DOCUMENT_PREVIEW_DESTROY)},documentPreviewClose:function(e){(0,e.commit)(o.DOCUMENT_PREVIEW_CLOSE)},documentPreviewOpen:function(e){(0,e.commit)(o.DOCUMENT_PREVIEW_OPEN)}},s=(i={},(0,r.default)(i,o.DOCUMENT_PREVIEW_INIT,function(e,t){var n=t.document;e.document=n}),(0,r.default)(i,o.DOCUMENT_PREVIEW_DESTROY,function(e){e.isVisible||(e.document=null)}),(0,r.default)(i,o.KEYBOARD_EVENT_SPACE,function(e){null===e.document||e.isVisible?e.isVisible&&(e.isVisible=!1,e.document=null):e.isVisible=!0}),(0,r.default)(i,o.KEYBOARD_EVENT_ESCAPE,function(e){e.isVisible=!1,e.document=null}),(0,r.default)(i,o.DOCUMENT_PREVIEW_OPEN,function(e){e.isVisible=!0}),(0,r.default)(i,o.DOCUMENT_PREVIEW_CLOSE,function(e){e.isVisible=!1,e.document=null}),i);t.default={state:{document:null,isVisible:!1,isLoading:!1},getters:{documentPreviewGetDocument:function(e){return e.document}},actions:a,mutations:s}},"l/s5":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={render:function(){var e=this,t=e.$createElement;return(e._self._c||t)("drawer-item",{attrs:{item:e.item,index:e.index,"drawer-name":e.drawerName,"is-item-explorer":e.isItemExplorer,"parent-name":e.item.parent?e.item.parent:"",name:e.item.name?e.item.name:"","edit-item":e.item.editUrl,"add-item":e.addItem,"remove-item":e.removeItem}})},staticRenderFns:[]};t.default=i},lRwf:function(e,t){e.exports=Vue},lS9x:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){return e&&e.__esModule?e:{default:e}}(n("T4f3")),r=d(n("bnjF")),o=d(n("umdK")),a=d(n("DqSB")),s=d(n("Afu7")),l=d(n("RfA7")),u=d(n("e1f4")),c=d(n("CpLN"));function d(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}var h=(0,i.default)({},r,o,a,s,l,u,c);t.default=h},lTHl:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("rJVn"),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,function(){return i[e]})}(o);var a=n("jx8E"),s=n.n(a);var l=function(e){n("9ZFY")},u=n("/4AN")(r.a,s.a,!1,l,"data-v-2897d1a1",null);t.default=u.exports},m1Vf:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getJoinsByIds=function(e){var t=e.ids,n=void 0===t?[]:t,r=e.filters,o={_token:window.RozierRoot.ajaxToken,ids:n,nodeTypeFieldId:r.nodeTypeField};return(0,i.default)({method:"GET",url:window.RozierRoot.routes.joinsAjaxByArray,params:o}).then(function(e){return void 0!==e.data&&e.data.items?{items:e.data.items}:null}).catch(function(e){throw new Error(e.response.data.humanMessage)})},t.getJoins=function(e){var t=e.searchTerms,n=e.preFilters,r=e.filters,o=(e.filterExplorerSelection,e.moreData),a={_token:window.RozierRoot.ajaxToken,_action:"toggleExplorer",nodeTypeFieldId:n?n.nodeTypeField:null,search:t,page:1};o&&(a.page=r?r.nextPage:1);return(0,i.default)({method:"GET",url:window.RozierRoot.routes.joinsAjaxExplorer,params:a}).then(function(e){return void 0!==e.data&&e.data.entities?{items:e.data.entities,filters:e.data.filters}:{}}).catch(function(e){throw new Error(e)})};var i=function(e){return e&&e.__esModule?e:{default:e}}(n("dZBD"))},mC1X:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=s(n("T4f3")),r=n("SJI6"),o=s(n("eQwT")),a=s(n("4NIs"));function s(e){return e&&e.__esModule?e:{default:e}}t.default={props:{entity:{required:!0,type:String},name:{required:!0,type:String},id:{required:!0,type:String},cols:{type:Number},rows:{type:Number},initialValue:{required:!0,type:String}},mixins:[o.default],data:function(){return{currentView:"",value:""}},mounted:function(){this.ids=this.initialValue.split(",")},computed:(0,i.default)({},(0,r.mapState)({translations:function(e){return e.translations}}),{updateList:function(){var e=this.items.map(function(e){return e.nodeName});this.value=e.join(", ")}}),components:{RzTextarea:a.default}}},mebu:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("ZJj3"),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,function(){return i[e]})}(o);var a=n("c8JY"),s=n.n(a);var l=function(e){n("O9HX")},u=n("/4AN")(r.a,s.a,!1,l,"data-v-2ad1fec2",null);t.default=u.exports},nFnR:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.drawer?n("div",{ref:"drawer",staticClass:"uk-form-row drawer-widget entity-",class:[{"uk-active":e.isActive,"uk-alert-danger":e.drawer.errorMessage},"entity-"+e.entity],attrs:{"data-accept-entity":e.entity,"data-accept-limit":"0","data-entity-types":"[]"}},[n("nav",{staticClass:"drawer-widget-nav uk-navbar"},[e._m(0,!1,!1),e._v(" "),n("div",{staticClass:"uk-navbar-content uk-navbar-flip"},[n("div",{staticClass:"drawer-widget-quick-creation uk-button-group"},[n("rz-button",{attrs:{"is-active":e.drawer.isActive,callback:e.onExplorerButtonClick}},[n("i",{staticClass:"uk-icon-rz-explore"}),e._v("\n "+e._s(e.translations.explorer)+"\n ")])],1)])]),e._v(" "),e.drawer.errorMessage?[n("p",{staticClass:"uk-text-danger"},[e._v("\n "+e._s(e.drawer.errorMessage)+"\n ")])]:e._e(),e._v(" "),n("div",{staticClass:"drawer-widget-sortable-container"},[e.drawer.isLoading?n("transition",{attrs:{name:"fade"}},[n("div",{staticClass:"spinner"})]):e._e(),e._v(" "),n("ul",{staticClass:"drawer-widget-sortable",attrs:{"data-input-name":""}},[n("draggable",{attrs:{options:{group:""}},model:{value:e.items,callback:function(t){e.items=t},expression:"items"}},[n("transition-group",e._l(e.items,function(t,i){return n(e.drawer.currentListingView,{key:t.id,tag:"component",attrs:{"drawer-name":e.drawerName,"is-item-explorer":!1,"add-item":e.addItem,"remove-item":e.removeItem,index:i,item:t}})}))],1)],1),e._v(" "),n("div",{staticClass:"hidden"},[n("rz-textarea",{attrs:{"initial-value":e.value,name:e.name,id:e.id,cols:e.cols,rows:e.rows}}),e._v("\n "+e._s(e.updateList)+"\n ")],1)],1)],2):e._e()},staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("ul",{staticClass:"uk-navbar-nav"},[t("li",{staticClass:"uk-navbar-brand"},[t("i",{})])])}]};t.default=i},nY3t:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,r=u(n("Xos8")),o=u(n("T4f3")),a=u(n("lS9x")),s=n("xHmi"),l=n("EY70");function u(e){return e&&e.__esModule?e:{default:e}}var c=(0,o.default)({},{isOpen:!1,isLoading:!1,items:[],entity:null,icons:{normal:"uk-icon-circle-o",active:"uk-icon-circle"},selectedItem:null}),d={filterExplorerOpen:function(e){var t=e.commit,n=e.dispatch,i=e.getters.getExplorerEntity;t(s.FILTER_EXPLORER_OPEN,{entity:i}),n("explorerResetSearchTerms"),n("filterExplorerMakeSearch")},filterExplorerUpdate:function(e,t){var n=e.commit,i=e.dispatch,r=t.item;n(s.FILTER_EXPLORER_UPDATE,{item:r}),i("explorerMakeSearch")},filterExplorerClose:function(e){(0,e.commit)(s.FILTER_EXPLORER_CLOSE)},filterExplorerReset:function(e){(0,e.commit)(s.FILTER_EXPLORER_RESET)},filterExplorerToggle:function(e){var t=e.dispatch;e.state.isOpen?t("filterExplorerClose"):t("filterExplorerOpen")},filterExplorerMakeSearch:function(e){var t=e.commit,n=e.state;t(s.FILTER_EXPLORER_REQUEST);var i=n.entity;return a.default.getFilters({entity:i}).then(function(e){e?t(s.FILTER_EXPLORER_SUCCESS,{result:e}):t(s.FILTER_EXPLORER_FAILED)}).catch(function(e){t(s.FILTER_EXPLORER_FAILED,{error:e})})}},h=(i={},(0,r.default)(i,s.FILTER_EXPLORER_UPDATE,function(e,t){var n=t.item;e.selectedItem=n}),(0,r.default)(i,s.FILTER_EXPLORER_REQUEST,function(e){e.isLoading=!0}),(0,r.default)(i,s.FILTER_EXPLORER_SUCCESS,function(e,t){var n=t.result;e.items=n.items,e.isLoading=!1}),(0,r.default)(i,s.FILTER_EXPLORER_OPEN,function(e,t){var n=t.entity;switch(e.isOpen=!0,e.entity=n,n){case l.DOCUMENT_ENTITY:e.icons.normal="uk-icon-folder",e.icons.active="uk-icon-folder-open";break;case l.NODE_ENTITY:case l.TAG_ENTITY:e.icons.normal="uk-icon-tag",e.icons.active="uk-icon-tag"}}),(0,r.default)(i,s.FILTER_EXPLORER_CLOSE,function(e){e.isOpen=!1}),(0,r.default)(i,s.FILTER_EXPLORER_RESET,function(e){e.selectedItem=null,e.items=[]}),(0,r.default)(i,s.FILTER_EXPLORER_FAILED,function(e,t){t.error;e.isLoading=!1,e.error="Request failed"}),(0,r.default)(i,s.KEYBOARD_EVENT_ESCAPE,function(e){e.isLoading=!1,e.isOpen=!1,e.selectedItem=null}),i);t.default={state:c,getters:{getFilterExplorerSelectedItem:function(e){return e.selectedItem}},actions:d,mutations:h}},oUTm:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={render:function(){var e=this.$createElement;return(this._self._c||e)("textarea",{attrs:{name:this.name,id:this.id,cols:this.cols,rows:this.rows}},[this._v(this._s(this.initialValue))])},staticRenderFns:[]};t.default=i},otgr:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"fade-in"}},[e.item?n("li",{staticClass:"item"},[n("a",{staticClass:"filter-item-link",class:[e.isCurrentItem?"active":""],attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.onItemClick(e.item)}}},[n("i",{staticClass:"icon",class:e.isCurrentItem?e.icons.active:e.icons.normal}),e._v(" "),n("span",{staticClass:"text"},[e._v(e._s(e.item.name))])]),e._v(" "),n("ul",{staticClass:"sub-filters"},e._l(e.item.children,function(t,i){return n("filter-explorer-item",{key:t.id,attrs:{icons:e.icons,"current-item":e.currentItem,entity:e.entity,"on-item-click":e.onItemClick,item:t}})}))]):e._e()])},staticRenderFns:[]};t.default=i},"p+9q":function(e,t,n){(e.exports=n("lcwS")(!1)).push([e.i,"\n.toolbar[data-v-2ad1fec2] {\n margin: 20px 0;\n}\n.toolbar .toolbar__select_wraper[data-v-2ad1fec2] {\n position: relative;\n display: inline-block;\n}\n.toolbar .toolbar__select_wraper .toolbar__select[data-v-2ad1fec2] {\n padding-right: 30px;\n}\n.toolbar .toolbar__select_wraper i[data-v-2ad1fec2] {\n position: absolute;\n right: 7px;\n top: 11px;\n pointer-events: none;\n}\n",""])},pQmN:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("AcRm"),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,function(){return i[e]})}(o);var a=n("Mukt"),s=n.n(a),l=n("/4AN")(r.a,s.a,!1,null,null,null);t.default=l.exports},pmdL:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=N(n("X9RM")),r=N(n("dACh")),o=N(n("jx4H")),a=N(n("0iPh")),s=n("EQNM"),l=N(n("QKtd")),u=N(n("P4+A")),c=N(n("tjLZ")),d=N(n("UIBU")),h=N(n("sOvm")),f=N(n("Tr2I")),p=N(n("ibAD")),m=N(n("JTvu")),g=N(n("T2ht")),v=N(n("h5eJ")),_=N(n("bB58")),b=N(n("PKoN")),w=N(n("FVwp")),k=N(n("0vVo")),y=N(n("7Smz")),E=N(n("3Z0C")),C=N(n("wi4E")),x=N(n("QKcT")),T=N(n("aI4R")),S=N(n("3aBW")),A=N(n("+VLV")),R=N(n("RIYy")),D=N(n("NAyJ")),I=N(n("Ow2O")),O=N(n("ZysM")),M=N(n("x4pS")),L=N(n("kR5N")),$=N(n("t4hZ"));function N(e){return e&&e.__esModule?e:{default:e}}var P=function(){function e(){(0,r.default)(this,e),this.$linksSelector=null,this.$canvasLoaderContainer=null,this.documentsList=null,this.mainColor=null,this.currentRequest=null,this.nodeTreeContextActions=null,this.documentsBulk=null,this.tagsBulk=null,this.inputLengthWatcher=null,this.documentUploader=null,this.childrenNodesFields=null,this.geotagField=null,this.multiGeotagField=null,this.saveButtons=null,this.tagAutocomplete=null,this.folderAutocomplete=null,this.nodeTypeFieldsPosition=null,this.attributeValuesPosition=null,this.customFormFieldsPosition=null,this.settingsSaveButtons=null,this.nodeTypeFieldEdit=null,this.nodeEditSource=null,this.tagEdit=null,this.markdownEditors=[],this.jsonEditors=[],this.cssEditors=[],this.yamlEditors=[],this.$window=(0,a.default)(window),this.onPopState=this.onPopState.bind(this),this.onClick=this.onClick.bind(this),this.parseLinks(),window.removeEventListener("popstate",this.onPopState),window.addEventListener("popstate",this.onPopState),this.$canvasLoaderContainer=(0,a.default)("#canvasloader-container"),this.mainColor=window.Rozier.mainColor?window.Rozier.mainColor:"#00deab",this.initLoader(),window.history.pushState({},document.title,window.location.href)}return(0,o.default)(e,[{key:"initLoader",value:function(){this.canvasLoader=new window.CanvasLoader("canvasloader-container"),this.canvasLoader.setColor(this.mainColor),this.canvasLoader.setShape("square"),this.canvasLoader.setDensity(90),this.canvasLoader.setRange(.8),this.canvasLoader.setSpeed(4),this.canvasLoader.setFPS(30)}},{key:"parseLinks",value:function(){this.$linksSelector=(0,a.default)("a:not('[target=_blank]')").not(".rz-no-ajax-link").not("[download]").not('[href="#"]')}},{key:"onClick",value:function(e){var t=this,n=(0,a.default)(e.currentTarget),i=n.attr("href");if(void 0!==i&&!n.hasClass("rz-no-ajax-link")&&""!==i&&"#"!==i&&(i.indexOf(window.Rozier.baseUrl)>=0||"/"===i.charAt(0)||"?"===i.charAt(0)))return e.preventDefault(),this.clickTimeout&&clearTimeout(this.clickTimeout),this.clickTimeout=window.setTimeout(function(){window.history.pushState({},null,n.attr("href")),t.onPopState(null)},0),!1}},{key:"onPopState",value:function(e){var t=null;null!==e&&e.originalEvent&&(t=e.originalEvent.state),void 0!==t&&null!==t||(t=window.history.state),null!==t&&(this.canvasLoader.show(),this.loadContent(t,window.location))}},{key:"loadContent",value:function(e,t){var n=this;this.currentTimeout&&clearTimeout(this.currentTimeout),this.currentTimeout=window.setTimeout(function(){var i=new CustomEvent("pagechange");window.dispatchEvent(i),n.currentRequest=a.default.ajax({url:t.href,type:"get",dataType:"html",cache:!1,data:e.headerData,beforeSend:function(e){e.setRequestHeader("X-Partial",!0)}}).done(function(e){n.applyContent(e),n.canvasLoader.hide();var t=new CustomEvent("pageload",{detail:e});window.dispatchEvent(t)}).fail(function(e){if(void 0!==e.responseText)try{var i=JSON.parse(e.responseText);window.UIkit.notify({message:i.message,status:"danger",timeout:3e3,pos:"top-center"})}catch(e){window.location.href=t.href}else window.UIkit.notify({message:window.Rozier.messages.forbiddenPage,status:"danger",timeout:3e3,pos:"top-center"});n.canvasLoader.hide()})},100)}},{key:"refreshCodemirrorEditor",value:function(){var e=!0,t=!1,n=void 0;try{for(var r,o=(0,i.default)(this.markdownEditors);!(e=(r=o.next()).done);e=!0){r.value.forceEditorUpdate()}}catch(e){t=!0,n=e}finally{try{!e&&o.return&&o.return()}finally{if(t)throw n}}var a=!0,s=!1,l=void 0;try{for(var u,c=(0,i.default)(this.yamlEditors);!(a=(u=c.next()).done);a=!0){u.value.forceEditorUpdate()}}catch(e){s=!0,l=e}finally{try{!a&&c.return&&c.return()}finally{if(s)throw l}}var d=!0,h=!1,f=void 0;try{for(var p,m=(0,i.default)(this.cssEditors);!(d=(p=m.next()).done);d=!0){p.value.forceEditorUpdate()}}catch(e){h=!0,f=e}finally{try{!d&&m.return&&m.return()}finally{if(h)throw f}}var g=!0,v=!1,_=void 0;try{for(var b,w=(0,i.default)(this.jsonEditors);!(g=(b=w.next()).done);g=!0){b.value.forceEditorUpdate()}}catch(e){v=!0,_=e}finally{try{!g&&w.return&&w.return()}finally{if(v)throw _}}}},{key:"applyContent",value:function(e){var t=this,n=(0,a.default)("#main-content-scrollable"),i=n.find(".content-global"),r=(0,a.default)(e),o=r.find("[data-ajax-root]");o.length&&(r=(0,a.default)(o.html())),r.addClass("new-content-global"),n.find('meta[name="title"]').remove(),n.append(r);var s=n.find('meta[name="title"]');s.length&&(document.title=s[0].getAttribute("content")),r=n.find(".new-content-global"),i.fadeOut(100,function(){i.remove(),t.generalBind(),r.fadeIn(200,function(){r.removeClass("new-content-global");var e=new CustomEvent("pageshowend");window.dispatchEvent(e)})})}},{key:"bindAjaxLink",value:function(){this.parseLinks(),this.$linksSelector.off("click",this.onClick),this.$linksSelector.on("click",this.onClick)}},{key:"generalBind",value:function(){this.generalUnbind([this.documentsBulk,this.mainTreeTabs,this.nodesBulk,this.tagsBulk,this.inputLengthWatcher,this.documentUploader,this.childrenNodesFields,this.geotagField,this.multiGeotagField,this.stackNodeTrees,this.nodeTreeContextActions,this.tagAutocomplete,this.folderAutocomplete,this.nodeTypeFieldsPosition,this.attributeValuesPosition,this.customFormFieldsPosition,this.settingsSaveButtons,this.nodeTypeFieldEdit,this.nodeEditSource,this.tagEdit,this.nodeTree]),this.bindAjaxLink(),this.markdownEditors=[],this.jsonEditors=[],this.cssEditors=[],this.yamlEditors=[],this.documentsBulk=new l.default,this.mainTreeTabs=new $.default,this.nodesBulk=new u.default,this.tagsBulk=new c.default,this.inputLengthWatcher=new b.default,this.documentUploader=new d.default(window.Rozier.messages.dropzone),this.childrenNodesFields=new w.default,this.geotagField=new O.default,this.multiGeotagField=new M.default,this.stackNodeTrees=new k.default,this.saveButtons&&this.saveButtons.unbind(),this.saveButtons=new y.default,this.tagAutocomplete=new E.default,this.folderAutocomplete=new C.default,this.nodeTypeFieldsPosition=new h.default,this.attributeValuesPosition=new f.default,this.customFormFieldsPosition=new m.default,this.nodeTreeContextActions=new g.default,this.settingsSaveButtons=new x.default,this.nodeTypeFieldEdit=new p.default,this.nodeEditSource=new _.default,this.tagEdit=new L.default,this.nodeTree=new T.default,this.initMarkdownEditors(),this.initJsonEditors(),this.initCssEditors(),this.initYamlEditors(),this.initFilterBars(),this.initColorPickers(),this.initCollectionsForms(),(0,a.default)(".actions-menu").length&&s.TweenLite.to(".actions-menu",.5,{right:0,delay:.4,ease:s.Expo.easeOut}),window.Rozier.initNestables(),window.Rozier.bindMainTrees(),window.Rozier.nodeStatuses=new S.default,this.initBootstrapSwitches(),window.Rozier.getMessages(),void 0!==window.Rozier.importRoutes&&null!==window.Rozier.importRoutes&&(window.Rozier.import=new v.default(window.Rozier.importRoutes),window.Rozier.importRoutes=null)}},{key:"generalUnbind",value:function(e){var t=!0,n=!1,r=void 0;try{for(var o,a=(0,i.default)(e);!(t=(o=a.next()).done);t=!0){var s=o.value;s&&s.unbind()}}catch(e){n=!0,r=e}finally{try{!t&&a.return&&a.return()}finally{if(n)throw r}}}},{key:"initCollectionsForms",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=this,n=null;(n=null!==e?e.find(".rz-collection-form-type"):(0,a.default)(".rz-collection-form-type")).length&&n.collection({up:'',down:'',add:'',remove:'',after_add:function(e,n){return t.initMarkdownEditors(n),t.initJsonEditors(n),t.initCssEditors(n),t.initYamlEditors(n),t.initBootstrapSwitches(n),t.initColorPickers(n),t.initCollectionsForms(n),n.find("[data-vuejs]").each(function(e,t){window.Rozier.vueApp.mainContentComponents.push(window.Rozier.vueApp.buildComponent(t))}),!0}})}},{key:"initColorPickers",value:function(e){var t=(0,a.default)(".colorpicker-input");e&&e.length&&(t=e.find(".colorpicker-input")),t.length&&t.minicolors()}},{key:"initBootstrapSwitches",value:function(e){var t=(0,a.default)(".rz-boolean-checkbox");e&&e.length&&(t=e.find(".rz-boolean-checkbox")),t.bootstrapSwitch({size:"small"})}},{key:"initMarkdownEditors",value:function(e){var t=[],n=(t=e&&e.length?e.find("textarea[data-rz-markdowneditor]"):(0,a.default)("textarea[data-rz-markdowneditor]")).length;if(n)for(var i=0;i`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",r="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",o=new RegExp("^(?:"+i+"|"+r+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?].*?[?]>|]*>|)"),a=new RegExp("^(?:"+i+"|"+r+")");t.exports.HTML_TAG_RE=o,t.exports.HTML_OPEN_CLOSE_TAG_RE=a},{}],4:[function(e,t,n){var i=Object.prototype.hasOwnProperty;function r(e,t){return i.call(e,t)}function o(e){return!(e>=55296&&e<=57343)&&(!(e>=64976&&e<=65007)&&(65535!=(65535&e)&&65534!=(65535&e)&&(!(e>=0&&e<=8)&&(11!==e&&(!(e>=14&&e<=31)&&(!(e>=127&&e<=159)&&!(e>1114111)))))))}function a(e){if(e>65535){var t=55296+((e-=65536)>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}var s=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,c=new RegExp(s.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),d=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,h=e("./entities");var f=/[&<>"]/,p=/[&<>"]/g,m={"&":"&","<":"<",">":">",'"':"""};function g(e){return m[e]}var v=/[.?*+^$[\]\\(){}|-]/g;var _=e("uc.micro/categories/P/regex");n.lib={},n.lib.mdurl=e("mdurl"),n.lib.ucmicro=e("uc.micro"),n.assign=function(e){return Array.prototype.slice.call(arguments,1).forEach(function(t){if(t){if("object"!==(void 0===t?"undefined":(0,u.default)(t)))throw new TypeError(t+"must be object");(0,l.default)(t).forEach(function(n){e[n]=t[n]})}}),e},n.isString=function(e){return"[object String]"===function(e){return Object.prototype.toString.call(e)}(e)},n.has=r,n.unescapeMd=function(e){return e.indexOf("\\")<0?e:e.replace(s,"$1")},n.unescapeAll=function(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(c,function(e,t,n){return t||function(e,t){var n=0;return r(h,t)?h[t]:35===t.charCodeAt(0)&&d.test(t)&&o(n="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10))?a(n):e}(e,n)})},n.isValidEntityCode=o,n.fromCodePoint=a,n.escapeHtml=function(e){return f.test(e)?e.replace(p,g):e},n.arrayReplaceAt=function(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))},n.isSpace=function(e){switch(e){case 9:case 32:return!0}return!1},n.isWhiteSpace=function(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1},n.isMdAsciiPunct=function(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}},n.isPunctChar=function(e){return _.test(e)},n.escapeRE=function(e){return e.replace(v,"\\$&")},n.normalizeReference=function(e){return e.trim().replace(/\s+/g," ").toUpperCase()}},{"./entities":1,mdurl:59,"uc.micro":65,"uc.micro/categories/P/regex":63}],5:[function(e,t,n){n.parseLinkLabel=e("./parse_link_label"),n.parseLinkDestination=e("./parse_link_destination"),n.parseLinkTitle=e("./parse_link_title")},{"./parse_link_destination":6,"./parse_link_label":7,"./parse_link_title":8}],6:[function(e,t,n){var i=e("../common/utils").isSpace,r=e("../common/utils").unescapeAll;t.exports=function(e,t,n){var o,a,s=t,l={ok:!1,pos:0,lines:0,str:""};if(60===e.charCodeAt(t)){for(t++;t1)break;if(41===o&&--a<0)break;t++}return s===t?l:(l.str=r(e.slice(s,t)),l.lines=0,l.pos=t,l.ok=!0,l)}},{"../common/utils":4}],7:[function(e,t,n){t.exports=function(e,t,n){var i,r,o,a,s=-1,l=e.posMax,u=e.pos;for(e.pos=t+1,i=1;e.pos=n)return l;if(34!==(o=e.charCodeAt(t))&&39!==o&&40!==o)return l;for(t++,40===o&&(o=41);t=0))try{t.hostname=h.toASCII(t.hostname)}catch(e){}return d.encode(d.format(t))}function b(e){var t=d.parse(e,!0);if(t.hostname&&(!t.protocol||v.indexOf(t.protocol)>=0))try{t.hostname=h.toUnicode(t.hostname)}catch(e){}return d.decode(d.format(t))}function w(e,t){if(!(this instanceof w))return new w(e,t);t||i.isString(e)||(t=e||{},e="default"),this.inline=new u,this.block=new s,this.core=new a,this.renderer=new o,this.linkify=new c,this.validateLink=g,this.normalizeLink=_,this.normalizeLinkText=b,this.utils=i,this.helpers=r,this.options={},this.configure(e),t&&this.set(t)}w.prototype.set=function(e){return i.assign(this.options,e),this},w.prototype.configure=function(e){var t,n=this;if(i.isString(e)&&!(e=f[t=e]))throw new Error('Wrong `markdown-it` preset "'+t+'", check name');if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&n.set(e.options),e.components&&(0,l.default)(e.components).forEach(function(t){e.components[t].rules&&n[t].ruler.enableOnly(e.components[t].rules),e.components[t].rules2&&n[t].ruler2.enableOnly(e.components[t].rules2)}),this},w.prototype.enable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(t){n=n.concat(this[t].ruler.enable(e,!0))},this),n=n.concat(this.inline.ruler2.enable(e,!0));var i=e.filter(function(e){return n.indexOf(e)<0});if(i.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+i);return this},w.prototype.disable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(t){n=n.concat(this[t].ruler.disable(e,!0))},this),n=n.concat(this.inline.ruler2.disable(e,!0));var i=e.filter(function(e){return n.indexOf(e)<0});if(i.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+i);return this},w.prototype.use=function(e){var t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},w.prototype.parse=function(e,t){var n=new this.core.State(e,this,t);return this.core.process(n),n.tokens},w.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},w.prototype.parseInline=function(e,t){var n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens},w.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)},t.exports=w},{"./common/utils":4,"./helpers":5,"./parser_block":10,"./parser_core":11,"./parser_inline":12,"./presets/commonmark":13,"./presets/default":14,"./presets/zero":15,"./renderer":16,"linkify-it":54,mdurl:59,punycode:52}],10:[function(e,t,n){var i=e("./ruler"),r=[["table",e("./rules_block/table"),["paragraph","reference"]],["code",e("./rules_block/code")],["fence",e("./rules_block/fence"),["paragraph","reference","blockquote","list"]],["blockquote",e("./rules_block/blockquote"),["paragraph","reference","list"]],["hr",e("./rules_block/hr"),["paragraph","reference","blockquote","list"]],["list",e("./rules_block/list"),["paragraph","reference","blockquote"]],["reference",e("./rules_block/reference")],["heading",e("./rules_block/heading"),["paragraph","reference","blockquote"]],["lheading",e("./rules_block/lheading")],["html_block",e("./rules_block/html_block"),["paragraph","reference","blockquote"]],["paragraph",e("./rules_block/paragraph")]];function o(){this.ruler=new i;for(var e=0;e=n))&&!(e.sCount[a]=l){e.line=n;break}for(i=0;i=o)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},a.prototype.parse=function(e,t,n,i){var r,o,a,s=new this.State(e,t,n,i);for(this.tokenize(s),a=(o=this.ruler2.getRules("")).length,r=0;r"+o(e[t].content)+""},a.code_block=function(e,t,n,i,r){var a=e[t],s=r.renderAttrs(a);return""+o(e[t].content)+"\n"},a.fence=function(e,t,n,i,a){var s,l,u,c,d=e[t],h=d.info?r(d.info).trim():"",f="";return h&&(f=h.split(/\s+/g)[0]),0===(s=n.highlight&&n.highlight(d.content,f)||o(d.content)).indexOf(""+s+"\n"):"
        "+s+"
        \n"},a.image=function(e,t,n,i,r){var o=e[t];return o.attrs[o.attrIndex("alt")][1]=r.renderInlineAsText(o.children,n,i),r.renderToken(e,t,n)},a.hardbreak=function(e,t,n){return n.xhtmlOut?"
        \n":"
        \n"},a.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?"
        \n":"
        \n":"\n"},a.text=function(e,t){return o(e[t].content)},a.html_block=function(e,t){return e[t].content},a.html_inline=function(e,t){return e[t].content},s.prototype.renderAttrs=function(e){var t,n,i;if(!e.attrs)return"";for(i="",t=0,n=e.attrs.length;t\n":">")},s.prototype.renderInline=function(e,t,n){for(var i,r="",o=this.rules,a=0,s=e.length;a=y,l=[e.sCount[t]],e.sCount[t]=p-f,s=[e.tShift[t]],e.tShift[t]=k-e.bMarks[t],g=e.md.block.ruler.getRules("blockquote"),o=t+1;o=(y=e.eMarks[o]));o++)if(62!==e.src.charCodeAt(k++)){if(a)break;for(w=!1,_=0,b=g.length;_=y,l.push(e.sCount[o]),e.sCount[o]=p-f,s.push(e.tShift[o]),e.tShift[o]=k-e.bMarks[o]}for(d=e.parentType,e.parentType="blockquote",(v=e.push("blockquote_open","blockquote",1)).markup=">",v.map=h=[t,0],e.md.block.tokenize(e,t,o),(v=e.push("blockquote_close","blockquote",-1)).markup=">",e.parentType=d,h[1]=e.line,_=0;_=2&&"list"===e.parentType)break;i++}else{if(a=0,!(e.sCount[i]-e.blkIndent>=4))break;r=++i}return e.line=r,(o=e.push("code_block","code",0)).content=e.getLines(t,r,4+e.blkIndent,!0),o.map=[t,e.line],!0}},{}],20:[function(e,t,n){t.exports=function(e,t,n,i){var r,o,a,s,l,u,c,d=!1,h=e.bMarks[t]+e.tShift[t],f=e.eMarks[t];if(h+3>f)return!1;if(126!==(r=e.src.charCodeAt(h))&&96!==r)return!1;if(l=h,(o=(h=e.skipChars(h,r))-l)<3)return!1;if(c=e.src.slice(l,h),(a=e.src.slice(h,f)).indexOf("`")>=0)return!1;if(i)return!0;for(s=t;!(++s>=n)&&!((h=l=e.bMarks[s]+e.tShift[s])<(f=e.eMarks[s])&&e.sCount[s]=4||(h=e.skipChars(h,r))-l=c)return!1;for(a=1,o=e.src.charCodeAt(++u);35===o&&u6||uu&&i(e.src.charCodeAt(s-1))&&(c=s),e.line=t+1,(l=e.push("heading_open","h"+String(a),1)).markup="########".slice(0,a),l.map=[t,e.line],(l=e.push("inline","",0)).content=e.src.slice(u,c).trim(),l.map=[t,e.line],l.children=[],(l=e.push("heading_close","h"+String(a),-1)).markup="########".slice(0,a),!0))}},{"../common/utils":4}],22:[function(e,t,n){var i=e("../common/utils").isSpace;t.exports=function(e,t,n,r){var o,a,s,l,u=e.bMarks[t]+e.tShift[t],c=e.eMarks[t];if(42!==(o=e.src.charCodeAt(u++))&&45!==o&&95!==o)return!1;for(a=1;u|$))/i,/<\/(script|pre|style)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(r.source+"\\s*$"),/^$/,!1]];t.exports=function(e,t,n,i){var r,a,s,l,u=e.bMarks[t]+e.tShift[t],c=e.eMarks[t];if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(u))return!1;for(l=e.src.slice(u,c),r=0;r3)){if(e.sCount[h]>=e.blkIndent&&(l=e.bMarks[h]+e.tShift[h])<(u=e.eMarks[h])&&(45===(d=e.src.charCodeAt(l))||61===d)&&(l=e.skipChars(l,d),(l=e.skipSpaces(l))>=u)){c=61===d?1:2;break}if(!(e.sCount[h]<0)){for(r=!1,o=0,a=f.length;o=a)return-1;if((n=e.src.charCodeAt(o++))<48||n>57)return-1;for(;;){if(o>=a)return-1;if(!((n=e.src.charCodeAt(o++))>=48&&n<=57)){if(41===n||46===n)break;return-1}if(o-r>=10)return-1}return o=0)C=!0;else{if(!((v=r(e,t))>=0))return!1;C=!1}if(E=e.src.charCodeAt(v-1),a)return!0;for(T=e.tokens.length,C?(g=e.bMarks[t]+e.tShift[t],y=Number(e.src.substr(g,v-g-1)),I=e.push("ordered_list_open","ol",1),1!==y&&(I.attrs=[["start",y]])):I=e.push("bullet_list_open","ul",1),I.map=A=[t,0],I.markup=String.fromCharCode(E),s=t,S=!1,D=e.md.block.ruler.getRules("list");s=w?1:u-l)>4&&(k=1),c=l+k,(I=e.push("list_item_open","li",1)).markup=String.fromCharCode(E),I.map=R=[t,0],h=e.blkIndent,p=e.tight,d=e.tShift[t],f=e.sCount[t],m=e.parentType,e.blkIndent=c,e.tight=!0,e.parentType="list",e.tShift[t]=x-e.bMarks[t],e.sCount[t]=u,x>=w&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,t,n,!0),e.tight&&!S||($=!1),S=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=h,e.tShift[t]=d,e.sCount[t]=f,e.tight=p,e.parentType=m,(I=e.push("list_item_close","li",-1)).markup=String.fromCharCode(E),s=t=e.line,R[1]=s,x=e.bMarks[t],s>=n)break;if(e.isEmpty(s))break;if(e.sCount[s]3||e.sCount[s]<0)){for(i=!1,r=0,o=l.length;r3||e.sCount[T]<0)){for(w=!1,f=0,p=k.length;f0&&this.level++,this.tokens.push(r),r},o.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},o.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;et;)if(!r(this.src.charCodeAt(--e)))return e+1;return e},o.prototype.skipChars=function(e,t){for(var n=this.src.length;en;)if(t!==this.src.charCodeAt(--e))return e+1;return e},o.prototype.getLines=function(e,t,n,i){var o,a,s,l,u,c,d,h=e;if(e>=t)return"";for(c=new Array(t-e),o=0;hn)return!1;if(c=t+1,e.sCount[c]=e.eMarks[c])return!1;if(124!==(a=e.src.charCodeAt(l))&&45!==a&&58!==a)return!1;if(s=i(e,t+1),!/^[-:| ]+$/.test(s))return!1;for(d=s.split("|"),p=[],u=0;up.length)return!1;if(o)return!0;for((f=e.push("table_open","table",1)).map=g=[t,0],(f=e.push("thead_open","thead",1)).map=[t,t+1],(f=e.push("tr_open","tr",1)).map=[t,t+1],u=0;u\s]/i.test(e)}function o(e){return/^<\/a\s*>/i.test(e)}t.exports=function(e){var t,n,a,s,l,u,c,d,h,f,p,m,g,v,_,b,w,k=e.tokens;if(e.md.options.linkify)for(n=0,a=k.length;n=0;t--)if("link_close"!==(u=s[t]).type){if("html_inline"===u.type&&(r(u.content)&&g>0&&g--,o(u.content)&&g++),!(g>0)&&"text"===u.type&&e.md.linkify.test(u.content)){for(h=u.content,w=e.md.linkify.match(h),c=[],m=u.level,p=0,d=0;dp&&((l=new e.Token("text","",0)).content=h.slice(p,f),l.level=m,c.push(l)),(l=new e.Token("link_open","a",1)).attrs=[["href",_]],l.level=m++,l.markup="linkify",l.info="auto",c.push(l),(l=new e.Token("text","",0)).content=b,l.level=m,c.push(l),(l=new e.Token("link_close","a",-1)).level=--m,l.markup="linkify",l.info="auto",c.push(l),p=w[d].lastIndex);p=0;t--)"text"===(n=e[t]).type&&(n.content=n.content.replace(o,s))}function u(e){var t,n;for(t=e.length-1;t>=0;t--)"text"===(n=e[t]).type&&i.test(n.content)&&(n.content=n.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---([^-]|$)/gm,"$1—$2").replace(/(^|\s)--(\s|$)/gm,"$1–$2").replace(/(^|[^-\s])--([^-\s]|$)/gm,"$1–$2"))}t.exports=function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&(r.test(e.tokens[t].content)&&l(e.tokens[t].children),i.test(e.tokens[t].content)&&u(e.tokens[t].children))}},{}],35:[function(e,t,n){var i=e("../common/utils").isWhiteSpace,r=e("../common/utils").isPunctChar,o=e("../common/utils").isMdAsciiPunct,a=/['"]/,s=/['"]/g,l="’";function u(e,t,n){return e.substr(0,t)+n+e.substr(t+1)}function c(e,t){var n,a,c,d,h,f,p,m,g,v,_,b,w,k,y,E,C,x,T,S,A;for(T=[],n=0;n=0&&!(T[C].level<=p);C--);if(T.length=C+1,"text"===a.type){h=0,f=(c=a.content).length;e:for(;h=0)g=c.charCodeAt(d.index-1);else for(C=n-1;C>=0;C--)if("text"===e[C].type){g=e[C].content.charCodeAt(e[C].content.length-1);break}if(v=32,h=48&&g<=57&&(E=y=!1),y&&E&&(y=!1,E=b),y||E){if(E)for(C=T.length-1;C>=0&&(m=T[C],!(T[C].level=0;t--)"inline"===e.tokens[t].type&&a.test(e.tokens[t].content)&&c(e.tokens[t].children,e)}},{"../common/utils":4}],36:[function(e,t,n){var i=e("../token");function r(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}r.prototype.Token=i,t.exports=r},{"../token":51}],37:[function(e,t,n){var i=/^<([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[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])?)*)>/,r=/^<([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)>/;t.exports=function(e,t){var n,o,a,s,l,u,c=e.pos;return 60===e.src.charCodeAt(c)&&(!((n=e.src.slice(c)).indexOf(">")<0)&&(r.test(n)?(s=(o=n.match(r))[0].slice(1,-1),l=e.md.normalizeLink(s),!!e.md.validateLink(l)&&(t||((u=e.push("link_open","a",1)).attrs=[["href",l]],u.markup="autolink",u.info="auto",(u=e.push("text","",0)).content=e.md.normalizeLinkText(s),(u=e.push("link_close","a",-1)).markup="autolink",u.info="auto"),e.pos+=o[0].length,!0)):!!i.test(n)&&(s=(a=n.match(i))[0].slice(1,-1),l=e.md.normalizeLink("mailto:"+s),!!e.md.validateLink(l)&&(t||((u=e.push("link_open","a",1)).attrs=[["href",l]],u.markup="autolink",u.info="auto",(u=e.push("text","",0)).content=e.md.normalizeLinkText(s),(u=e.push("link_close","a",-1)).markup="autolink",u.info="auto"),e.pos+=a[0].length,!0))))}},{}],38:[function(e,t,n){t.exports=function(e,t){var n,i,r,o,a,s,l=e.pos;if(96!==e.src.charCodeAt(l))return!1;for(n=l,l++,i=e.posMax;l=0;){if((r=o[n]).open&&r.marker===i.marker&&r.end<0&&r.level===i.level){i.jump=t-n,i.open=!1,r.end=t,r.jump=0;break}n-=r.jump+1}}},{}],40:[function(e,t,n){t.exports.tokenize=function(e,t){var n,i,r=e.pos,o=e.src.charCodeAt(r);if(t)return!1;if(95!==o&&42!==o)return!1;for(i=e.scanDelims(e.pos,42===o),n=0;n?@[]^_`{|}~-".split("").forEach(function(e){r[e.charCodeAt(0)]=1}),t.exports=function(e,t){var n,o=e.pos,a=e.posMax;if(92!==e.src.charCodeAt(o))return!1;if(++o=o)&&(!(33!==(n=e.src.charCodeAt(a+1))&&63!==n&&47!==n&&!function(e){var t=32|e;return t>=97&&t<=122}(n))&&(!!(r=e.src.slice(a).match(i))&&(t||(e.push("html_inline","",0).content=e.src.slice(a,a+r[0].length)),e.pos+=r[0].length,!0))))}},{"../common/html_re":3}],44:[function(e,t,n){var i=e("../helpers/parse_link_label"),r=e("../helpers/parse_link_destination"),o=e("../helpers/parse_link_title"),a=e("../common/utils").normalizeReference,s=e("../common/utils").isSpace;t.exports=function(e,t){var n,l,u,c,d,h,f,p,m,g,v,_,b,w="",k=e.pos,y=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;if(h=e.pos+2,(d=i(e,e.pos+1,!1))<0)return!1;if((f=d+1)=y)return!1;for(b=f,(m=r(e.src,f,e.posMax)).ok&&(w=e.md.normalizeLink(m.str),e.md.validateLink(w)?f=m.pos:w=""),b=f;f=y||41!==e.src.charCodeAt(f))return e.pos=k,!1;f++}else{if(void 0===e.env.references)return!1;if(f=0?c=e.src.slice(b,f++):f=d+1):f=d+1,c||(c=e.src.slice(h,d)),!(p=e.env.references[a(c)]))return e.pos=k,!1;w=p.href,g=p.title}return t||(u=e.src.slice(h,d),e.md.inline.parse(u,e.md,e.env,_=[]),(v=e.push("image","img",0)).attrs=n=[["src",w],["alt",""]],v.children=_,v.content=u,g&&n.push(["title",g])),e.pos=f,e.posMax=y,!0}},{"../common/utils":4,"../helpers/parse_link_destination":6,"../helpers/parse_link_label":7,"../helpers/parse_link_title":8}],45:[function(e,t,n){var i=e("../helpers/parse_link_label"),r=e("../helpers/parse_link_destination"),o=e("../helpers/parse_link_title"),a=e("../common/utils").normalizeReference,s=e("../common/utils").isSpace;t.exports=function(e,t){var n,l,u,c,d,h,f,p,m,g="",v=e.pos,_=e.posMax,b=e.pos;if(91!==e.src.charCodeAt(e.pos))return!1;if(d=e.pos+1,(c=i(e,e.pos,!0))<0)return!1;if((h=c+1)<_&&40===e.src.charCodeAt(h)){for(h++;h<_&&(l=e.src.charCodeAt(h),s(l)||10===l);h++);if(h>=_)return!1;for(b=h,(f=r(e.src,h,e.posMax)).ok&&(g=e.md.normalizeLink(f.str),e.md.validateLink(g)?h=f.pos:g=""),b=h;h<_&&(l=e.src.charCodeAt(h),s(l)||10===l);h++);if(f=o(e.src,h,e.posMax),h<_&&b!==h&&f.ok)for(m=f.str,h=f.pos;h<_&&(l=e.src.charCodeAt(h),s(l)||10===l);h++);else m="";if(h>=_||41!==e.src.charCodeAt(h))return e.pos=v,!1;h++}else{if(void 0===e.env.references)return!1;if(h<_&&91===e.src.charCodeAt(h)?(b=h+1,(h=i(e,h))>=0?u=e.src.slice(b,h++):h=c+1):h=c+1,u||(u=e.src.slice(d,c)),!(p=e.env.references[a(u)]))return e.pos=v,!1;g=p.href,m=p.title}return t||(e.pos=d,e.posMax=c,e.push("link_open","a",1).attrs=n=[["href",g]],m&&n.push(["title",m]),e.md.inline.tokenize(e),e.push("link_close","a",-1)),e.pos=h,e.posMax=_,!0}},{"../common/utils":4,"../helpers/parse_link_destination":6,"../helpers/parse_link_label":7,"../helpers/parse_link_title":8}],46:[function(e,t,n){t.exports=function(e,t){var n,i,r=e.pos;if(10!==e.src.charCodeAt(r))return!1;for(n=e.pending.length-1,i=e.posMax,t||(n>=0&&32===e.pending.charCodeAt(n)?n>=1&&32===e.pending.charCodeAt(n-1)?(e.pending=e.pending.replace(/ +$/,""),e.push("hardbreak","br",0)):(e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0)):e.push("softbreak","br",0)),r++;r0&&this.level++,this.pendingLevel=this.level,this.tokens.push(r),r},s.prototype.scanDelims=function(e,t){var n,i,s,l,u,c,d,h,f,p=e,m=!0,g=!0,v=this.posMax,_=this.src.charCodeAt(e);for(n=e>0?this.src.charCodeAt(e-1):32;p=0&&(n=this.attrs[t][1]),n},i.prototype.attrJoin=function(e,t){var n=this.attrIndex(e);n<0?this.attrPush([e,t]):this.attrs[n][1]=this.attrs[n][1]+" "+t},t.exports=i},{}],52:[function(e,t,n){(function(e){!function(i){var r="object"==(void 0===n?"undefined":(0,u.default)(n))&&n&&!n.nodeType&&n,o="object"==(void 0===t?"undefined":(0,u.default)(t))&&t&&!t.nodeType&&t,a="object"==(void 0===e?"undefined":(0,u.default)(e))&&e;a.global!==a&&a.window!==a&&a.self!==a||(i=a);var s,l,c=2147483647,d=36,h=1,f=26,p=38,m=700,g=72,v=128,_="-",b=/^xn--/,w=/[^\x20-\x7E]/,k=/[\x2E\u3002\uFF0E\uFF61]/g,y={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},E=d-h,C=Math.floor,x=String.fromCharCode;function T(e){throw new RangeError(y[e])}function S(e,t){for(var n=e.length,i=[];n--;)i[n]=t(e[n]);return i}function A(e,t){var n=e.split("@"),i="";return n.length>1&&(i=n[0]+"@",e=n[1]),i+S((e=e.replace(k,".")).split("."),t).join(".")}function R(e){for(var t,n,i=[],r=0,o=e.length;r=55296&&t<=56319&&r65535&&(t+=x((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=x(e)}).join("")}function I(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:d}function O(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function M(e,t,n){var i=0;for(e=n?C(e/m):e>>1,e+=C(e/t);e>E*f>>1;i+=d)e=C(e/E);return C(i+(E+1)*e/(e+p))}function L(e){var t,n,i,r,o,a,s,l,u,p,m=[],b=e.length,w=0,k=v,y=g;for((n=e.lastIndexOf(_))<0&&(n=0),i=0;i=128&&T("not-basic"),m.push(e.charCodeAt(i));for(r=n>0?n+1:0;r=b&&T("invalid-input"),((l=I(e.charCodeAt(r++)))>=d||l>C((c-w)/a))&&T("overflow"),w+=l*a,!(l<(u=s<=y?h:s>=y+f?f:s-y));s+=d)a>C(c/(p=d-u))&&T("overflow"),a*=p;y=M(w-o,t=m.length+1,0==o),C(w/t)>c-k&&T("overflow"),k+=C(w/t),w%=t,m.splice(w++,0,k)}return D(m)}function $(e){var t,n,i,r,o,a,s,l,u,p,m,b,w,k,y,E=[];for(b=(e=R(e)).length,t=v,n=0,o=g,a=0;a=t&&mC((c-n)/(w=i+1))&&T("overflow"),n+=(s-t)*w,t=s,a=0;ac&&T("overflow"),m==t){for(l=n,u=d;!(l<(p=u<=o?h:u>=o+f?f:u-o));u+=d)y=l-p,k=d-p,E.push(x(O(p+y%k,0))),l=C(y/k);E.push(x(O(l,0))),o=M(n,w,i==r),n=0,++i}++n,++t}return E.join("")}if(s={version:"1.4.1",ucs2:{decode:R,encode:D},decode:L,encode:$,toASCII:function(e){return A(e,function(e){return w.test(e)?"xn--"+$(e):e})},toUnicode:function(e){return A(e,function(e){return b.test(e)?L(e.slice(4).toLowerCase()):e})}},r&&o)if(t.exports==r)o.exports=s;else for(l in s)s.hasOwnProperty(l)&&(r[l]=s[l]);else i.punycode=s}(this)}).call(this,void 0!==i?i:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],53:[function(e,t,n){t.exports={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"⁡",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",amp:"&",AMP:"&",andand:"⩕",And:"⩓",and:"∧",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angmsd:"∡",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",apacir:"⩯",ap:"≈",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxHd:"╤",boxhD:"╥",boxHD:"╦",boxhu:"┴",boxHu:"╧",boxhU:"╨",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsolb:"⧅",bsol:"\\",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",capand:"⩄",capbrcup:"⩉",capcap:"⩋",cap:"∩",Cap:"⋒",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cir:"○",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cup:"∪",Cup:"⋓",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",Darr:"↡",dArr:"⇓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",ddagger:"‡",ddarr:"⇊",DD:"ⅅ",dd:"ⅆ",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrowBar:"⤓",downarrow:"↓",DownArrow:"↓",Downarrow:"⇓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVectorBar:"⥖",DownLeftVector:"↽",DownRightTeeVector:"⥟",DownRightVectorBar:"⥗",DownRightVector:"⇁",DownTeeArrow:"↧",DownTee:"⊤",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",Ecirc:"Ê",ecirc:"ê",ecir:"≖",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",edot:"ė",eDot:"≑",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp13:" ",emsp14:" ",emsp:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",ge:"≥",gE:"≧",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",gescc:"⪩",ges:"⩾",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gla:"⪥",gl:"≷",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gt:">",GT:">",Gt:"≫",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",harrcir:"⥈",harr:"↔",hArr:"⇔",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",Im:"ℑ",imof:"⊷",imped:"Ƶ",Implies:"⇒",incare:"℅",in:"∈",infin:"∞",infintie:"⧝",inodot:"ı",intcal:"⊺",int:"∫",Int:"∬",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larrb:"⇤",larrbfs:"⤟",larr:"←",Larr:"↞",lArr:"⇐",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",latail:"⤙",lAtail:"⤛",lat:"⪫",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",LeftArrowBar:"⇤",leftarrow:"←",LeftArrow:"←",Leftarrow:"⇐",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVectorBar:"⥙",LeftDownVector:"⇃",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTeeArrow:"↤",LeftTee:"⊣",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangleBar:"⧏",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVectorBar:"⥘",LeftUpVector:"↿",LeftVectorBar:"⥒",LeftVector:"↼",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",lescc:"⪨",les:"⩽",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",llarr:"⇇",ll:"≪",Ll:"⋘",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoustache:"⎰",lmoust:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftrightarrow:"⟷",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longmapsto:"⟼",longrightarrow:"⟶",LongRightArrow:"⟶",Longrightarrow:"⟹",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",lt:"<",LT:"<",Lt:"≪",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",midast:"*",midcir:"⫰",mid:"∣",middot:"·",minusb:"⊟",minus:"−",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natural:"♮",naturals:"ℕ",natur:"♮",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",ne:"≠",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nlE:"≦̸",nle:"≰",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangleBar:"⧏̸",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangleBar:"⧐̸",NotRightTriangle:"⋫",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",nparallel:"∦",npar:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",nprec:"⊀",npreceq:"⪯̸",npre:"⪯̸",nrarrc:"⤳̸",nrarr:"↛",nrArr:"⇏",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",orarr:"↻",Or:"⩔",or:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",para:"¶",parallel:"∥",par:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plus:"+",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",prap:"⪷",Pr:"⪻",pr:"≺",prcue:"≼",precapprox:"⪷",prec:"≺",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",pre:"⪯",prE:"⪳",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportional:"∝",Proportion:"∷",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarr:"→",Rarr:"↠",rArr:"⇒",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",Re:"ℜ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrowBar:"⇥",rightarrow:"→",RightArrow:"→",Rightarrow:"⇒",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVectorBar:"⥕",RightDownVector:"⇂",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTeeArrow:"↦",RightTee:"⊢",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangleBar:"⧐",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVectorBar:"⥔",RightUpVector:"↾",RightVectorBar:"⥓",RightVector:"⇀",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoustache:"⎱",rmoust:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",scap:"⪸",Scaron:"Š",scaron:"š",Sc:"⪼",sc:"≻",sccue:"≽",sce:"⪰",scE:"⪴",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdotb:"⊡",sdot:"⋅",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",solbar:"⌿",solb:"⧄",sol:"/",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squ:"□",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succapprox:"⪸",succ:"≻",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",Sup:"⋑",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",therefore:"∴",Therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",ThinSpace:" ",thinsp:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",timesbar:"⨱",timesb:"⊠",times:"×",timesd:"⨰",tint:"∭",toea:"⤨",topbot:"⌶",topcir:"⫱",top:"⊤",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",uarr:"↑",Uarr:"↟",uArr:"⇑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrowBar:"⤒",uparrow:"↑",UpArrow:"↑",Uparrow:"⇑",UpArrowDownArrow:"⇅",updownarrow:"↕",UpDownArrow:"↕",Updownarrow:"⇕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTeeArrow:"↥",UpTee:"⊥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",Vcy:"В",vcy:"в",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",veebar:"⊻",vee:"∨",Vee:"⋁",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xharr:"⟷",xhArr:"⟺",Xi:"Ξ",xi:"ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",yuml:"ÿ",Yuml:"Ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",zfr:"𝔷",Zfr:"ℨ",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",Zscr:"𝒵",zscr:"𝓏",zwj:"‍",zwnj:"‌"}},{}],54:[function(e,t,n){function i(e){return Array.prototype.slice.call(arguments,1).forEach(function(t){t&&(0,l.default)(t).forEach(function(n){e[n]=t[n]})}),e}function r(e){return Object.prototype.toString.call(e)}function o(e){return"[object Function]"===r(e)}function a(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var s={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};var u={"http:":{validate:function(e,t,n){var i=e.slice(t);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(i)?i.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){var i=e.slice(t);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(i)?t>=3&&":"===e[t-3]?0:t>=3&&"/"===e[t-3]?0:i.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){var i=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(i)?i.match(n.re.mailto)[0].length:0}}},c="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",d="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function h(t){var n=t.re=e("./lib/re")(t.__opts__),i=t.__tlds__.slice();function s(e){return e.replace("%TLDS%",n.src_tlds)}t.onCompile(),t.__tlds_replaced__||i.push(c),i.push(n.src_xn),n.src_tlds=i.join("|"),n.email_fuzzy=RegExp(s(n.tpl_email_fuzzy),"i"),n.link_fuzzy=RegExp(s(n.tpl_link_fuzzy),"i"),n.link_no_ip_fuzzy=RegExp(s(n.tpl_link_no_ip_fuzzy),"i"),n.host_fuzzy_test=RegExp(s(n.tpl_host_fuzzy_test),"i");var u=[];function d(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}t.__compiled__={},(0,l.default)(t.__schemas__).forEach(function(e){var n=t.__schemas__[e];if(null!==n){var i={validate:null,link:null};if(t.__compiled__[e]=i,function(e){return"[object Object]"===r(e)}(n))return!function(e){return"[object RegExp]"===r(e)}(n.validate)?o(n.validate)?i.validate=n.validate:d(e,n):i.validate=function(e){return function(t,n){var i=t.slice(n);return e.test(i)?i.match(e)[0].length:0}}(n.validate),void(o(n.normalize)?i.normalize=n.normalize:n.normalize?d(e,n):i.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===r(e)}(n)?d(e,n):u.push(e)}}),u.forEach(function(e){t.__compiled__[t.__schemas__[e]]&&(t.__compiled__[e].validate=t.__compiled__[t.__schemas__[e]].validate,t.__compiled__[e].normalize=t.__compiled__[t.__schemas__[e]].normalize)}),t.__compiled__[""]={validate:null,normalize:function(e,t){t.normalize(e)}};var h=(0,l.default)(t.__compiled__).filter(function(e){return e.length>0&&t.__compiled__[e]}).map(a).join("|");t.re.schema_test=RegExp("(^|(?!_)(?:[><]|"+n.src_ZPCc+"))("+h+")","i"),t.re.schema_search=RegExp("(^|(?!_)(?:[><]|"+n.src_ZPCc+"))("+h+")","ig"),t.re.pretest=RegExp("("+t.re.schema_test.source+")|("+t.re.host_fuzzy_test.source+")|@","i"),function(e){e.__index__=-1,e.__text_cache__=""}(t)}function f(e,t){var n=new function(e,t){var n=e.__index__,i=e.__last_index__,r=e.__text_cache__.slice(n,i);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=i+t,this.raw=r,this.text=r,this.url=r}(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function p(e,t){if(!(this instanceof p))return new p(e,t);t||function(e){return(0,l.default)(e||{}).reduce(function(e,t){return e||s.hasOwnProperty(t)},!1)}(e)&&(t=e,e={}),this.__opts__=i({},s,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=i({},u,e),this.__compiled__={},this.__tlds__=d,this.__tlds_replaced__=!1,this.re={},h(this)}p.prototype.add=function(e,t){return this.__schemas__[e]=t,h(this),this},p.prototype.set=function(e){return this.__opts__=i(this.__opts__,e),this},p.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,n,i,r,o,a,s,l;if(this.re.schema_test.test(e))for((s=this.re.schema_search).lastIndex=0;null!==(t=s.exec(e));)if(r=this.testSchemaAt(e,t[2],s.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+r;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||l=0&&null!==(i=e.match(this.re.email_fuzzy))&&(o=i.index+i[1].length,a=i.index+i[0].length,(this.__index__<0||othis.__last_index__)&&(this.__schema__="mailto:",this.__index__=o,this.__last_index__=a)),this.__index__>=0},p.prototype.pretest=function(e){return this.re.pretest.test(e)},p.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},p.prototype.match=function(e){var t=0,n=[];this.__index__>=0&&this.__text_cache__===e&&(n.push(f(this,t)),t=this.__last_index__);for(var i=t?e.slice(t):e;this.test(i);)n.push(f(this,t)),i=i.slice(this.__last_index__),t+=this.__last_index__;return n.length?n:null},p.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter(function(e,t,n){return e!==n[t-1]}).reverse(),h(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,h(this),this)},p.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},p.prototype.onCompile=function(){},t.exports=p},{"./lib/re":55}],55:[function(e,t,n){t.exports=function(t){var n={};return n.src_Any=e("uc.micro/properties/Any/regex").source,n.src_Cc=e("uc.micro/categories/Cc/regex").source,n.src_Z=e("uc.micro/categories/Z/regex").source,n.src_P=e("uc.micro/categories/P/regex").source,n.src_ZPCc=[n.src_Z,n.src_P,n.src_Cc].join("|"),n.src_ZCc=[n.src_Z,n.src_Cc].join("|"),n.src_pseudo_letter="(?:(?!>|<|"+n.src_ZPCc+")"+n.src_Any+")",n.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",n.src_auth="(?:(?:(?!"+n.src_ZCc+"|[@/]).)+@)?",n.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",n.src_host_terminator="(?=$|>|<|"+n.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+n.src_ZPCc+"))",n.src_path="(?:[/?#](?:(?!"+n.src_ZCc+"|[()[\\]{}.,\"'?!\\-<>]).|\\[(?:(?!"+n.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+n.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+n.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+n.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+n.src_ZCc+"|[']).)+\\'|\\'(?="+n.src_pseudo_letter+"|[-]).|\\.{2,3}[a-zA-Z0-9%/]|\\.(?!"+n.src_ZCc+"|[.]).|"+(t&&t["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+"\\,(?!"+n.src_ZCc+").|\\!(?!"+n.src_ZCc+"|[!]).|\\?(?!"+n.src_ZCc+"|[?]).)+|\\/)?",n.src_email_name='[\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]+',n.src_xn="xn--[a-z0-9\\-]{1,59}",n.src_domain_root="(?:"+n.src_xn+"|"+n.src_pseudo_letter+"{1,63})",n.src_domain="(?:"+n.src_xn+"|(?:"+n.src_pseudo_letter+")|(?:"+n.src_pseudo_letter+"(?:-(?!-)|"+n.src_pseudo_letter+"){0,61}"+n.src_pseudo_letter+"))",n.src_host="(?:(?:(?:(?:"+n.src_domain+")\\.)*"+n.src_domain_root+"))",n.tpl_host_fuzzy="(?:"+n.src_ip4+"|(?:(?:(?:"+n.src_domain+")\\.)+(?:%TLDS%)))",n.tpl_host_no_ip_fuzzy="(?:(?:(?:"+n.src_domain+")\\.)+(?:%TLDS%))",n.src_host_strict=n.src_host+n.src_host_terminator,n.tpl_host_fuzzy_strict=n.tpl_host_fuzzy+n.src_host_terminator,n.src_host_port_strict=n.src_host+n.src_port+n.src_host_terminator,n.tpl_host_port_fuzzy_strict=n.tpl_host_fuzzy+n.src_port+n.src_host_terminator,n.tpl_host_port_no_ip_fuzzy_strict=n.tpl_host_no_ip_fuzzy+n.src_port+n.src_host_terminator,n.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+n.src_ZPCc+"|>|$))",n.tpl_email_fuzzy="(^|<|>|\\(|"+n.src_ZCc+")("+n.src_email_name+"@"+n.tpl_host_fuzzy_strict+")",n.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|]|"+n.src_ZPCc+"))((?![$+<=>^`|])"+n.tpl_host_port_fuzzy_strict+n.src_path+")",n.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|]|"+n.src_ZPCc+"))((?![$+<=>^`|])"+n.tpl_host_port_no_ip_fuzzy_strict+n.src_path+")",n}},{"uc.micro/categories/Cc/regex":61,"uc.micro/categories/P/regex":63,"uc.micro/categories/Z/regex":64,"uc.micro/properties/Any/regex":66}],56:[function(e,t,n){var i={};function r(e,t){var n;return"string"!=typeof t&&(t=r.defaultChars),n=function(e){var t,n,r=i[e];if(r)return r;for(r=i[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),r.push(n);for(t=0;t=55296&&l<=57343?"���":String.fromCharCode(l),t+=6):240==(248&r)&&t+91114111?u+="����":(l-=65536,u+=String.fromCharCode(55296+(l>>10),56320+(1023&l))),t+=9):u+="�";return u})}r.defaultChars=";/?:@&=+$,#",r.componentChars="",t.exports=r},{}],57:[function(e,t,n){var i={};function r(e,t,n){var o,a,s,l,u,c="";for("string"!=typeof t&&(n=t,t=r.defaultChars),void 0===n&&(n=!0),u=function(e){var t,n,r=i[e];if(r)return r;for(r=i[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),/^[0-9a-z]$/i.test(n)?r.push(n):r.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2));for(t=0;t=55296&&s<=57343){if(s>=55296&&s<=56319&&o+1=56320&&l<=57343){c+=encodeURIComponent(e[o]+e[o+1]),o++;continue}c+="%EF%BF%BD"}else c+=encodeURIComponent(e[o]);return c}r.defaultChars=";/?:@&=+$,-_.!~*'()#",r.componentChars="-_.!~*'()",t.exports=r},{}],58:[function(e,t,n){t.exports=function(e){var t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||""}},{}],59:[function(e,t,n){t.exports.encode=e("./encode"),t.exports.decode=e("./decode"),t.exports.format=e("./format"),t.exports.parse=e("./parse")},{"./decode":56,"./encode":57,"./format":58,"./parse":60}],60:[function(e,t,n){function i(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var r=/^([a-z0-9.+-]+:)/i,o=/:[0-9]*$/,a=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,s=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),l=["'"].concat(s),u=["%","/","?",";","#"].concat(l),c=["/","?","#"],d=/^[+a-z0-9A-Z_-]{0,63}$/,h=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,f={javascript:!0,"javascript:":!0},p={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};i.prototype.parse=function(e,t){var n,i,o,s,l,m=e;if(m=m.trim(),!t&&1===e.split("#").length){var g=a.exec(m);if(g)return this.pathname=g[1],g[2]&&(this.search=g[2]),this}var v=r.exec(m);if(v&&(o=(v=v[0]).toLowerCase(),this.protocol=v,m=m.substr(v.length)),(t||v||m.match(/^\/\/[^@\/]+@[^@\/]+/))&&(!(l="//"===m.substr(0,2))||v&&f[v]||(m=m.substr(2),this.slashes=!0)),!f[v]&&(l||v&&!p[v])){var _,b,w=-1;for(n=0;n127?x+="x":x+=C[T];if(!x.match(d)){var A=E.slice(0,n),R=E.slice(n+1),D=C.match(h);D&&(A.push(D[1]),R.unshift(D[2])),R.length&&(m=R.join(".")+m),this.hostname=A.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),y&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var I=m.indexOf("#");-1!==I&&(this.hash=m.substr(I),m=m.slice(0,I));var O=m.indexOf("?");return-1!==O&&(this.search=m.substr(O),m=m.slice(0,O)),m&&(this.pathname=m),p[o]&&this.hostname&&!this.pathname&&(this.pathname=""),this},i.prototype.parseHost=function(e){var t=o.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},t.exports=function(e,t){if(e&&e instanceof i)return e;var n=new i;return n.parse(e,t),n}},{}],61:[function(e,t,n){t.exports=/[\0-\x1F\x7F-\x9F]/},{}],62:[function(e,t,n){t.exports=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804\uDCBD|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/},{}],63:[function(e,t,n){t.exports=/[!-#%-\*,-/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E42\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/},{}],64:[function(e,t,n){t.exports=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/},{}],65:[function(e,t,n){t.exports.Any=e("./properties/Any/regex"),t.exports.Cc=e("./categories/Cc/regex"),t.exports.Cf=e("./categories/Cf/regex"),t.exports.P=e("./categories/P/regex"),t.exports.Z=e("./categories/Z/regex")},{"./categories/Cc/regex":61,"./categories/Cf/regex":62,"./categories/P/regex":63,"./categories/Z/regex":64,"./properties/Any/regex":66}],66:[function(e,t,n){t.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/},{}],67:[function(e,t,n){t.exports=e("./lib/")},{"./lib/":9}]},{},[67])(67)})}).call(t,n("h6ac"))},bB58:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=s(n("dACh")),r=s(n("jx4H")),o=s(n("0iPh")),a=n("Tzw7");function s(e){return e&&e.__esModule?e:{default:e}}var l=function(){function e(){(0,i.default)(this,e),this.$content=(0,o.default)(".content-node-edit-source").eq(0),this.$form=(0,o.default)("#edit-node-source-form"),this.$formRow=null,this.$dropdown=null,this.$input=null,this.onInputKeyDown=this.onInputKeyDown.bind(this),this.onInputKeyUp=this.onInputKeyUp.bind(this),this.inputFocus=this.inputFocus.bind(this),this.inputFocusOut=this.inputFocusOut.bind(this),this.onFormSubmit=this.onFormSubmit.bind(this),this.wrapInTabs=this.wrapInTabs.bind(this),this.$content.length&&(this.$formRow=this.$content.find(".uk-form-row"),window.setTimeout(this.wrapInTabs,300),this.init(),this.initEvents())}return(0,r.default)(e,[{key:"wrapInTabs",value:function(){var e={default:{name:"default",id:"default",fields:[]}},t=this.$content.find(".uk-form-row[data-field-group-canonical]"),n=t.length,i=1;if(n>0){for(var r=0;r1){this.$form.append('
            ');var l=this.$form.find(".uk-switcher"),u=this.$form.find("#node-source-form-switcher-nav");for(var c in e){var d=e[c],h="group-"+d.id.replace(/[\s_]/g,"-").replace(/[^\w-]+/g,"");l.append('
          • '),"default"===d.id?u.append('
          • '):u.append('
          • '+d.name+"
          • ");for(var f=l.find("#"+h),p=0;p=0;e--){var t=this.$devNames[e],n=(0,o.default)(t);if(""!==t.getAttribute("data-dev-name")){var i=n.parents(".uk-form-row").find("label"),r=n.find(".uk-navbar-brand.label");i.length?i.append(''+t.getAttribute("data-dev-name")+""):r.length&&r.append(''+t.getAttribute("data-dev-name")+"")}}for(var a=this.$formRow.length-1;a>=0;a--)if(this.$formRow[a].className.indexOf("children-nodes-widget")>=0){this.childrenNodeWidgetFlip(a);break}}},{key:"initEvents",value:function(){window.Rozier.$window.on("keydown",this.onInputKeyDown),window.Rozier.$window.on("keyup",this.onInputKeyUp),this.$input.on("focus",this.inputFocus),this.$input.on("focusout",this.inputFocusOut),this.$form.on("submit",this.onFormSubmit)}},{key:"unbind",value:function(){this.$content.length&&(window.Rozier.$window.off("keydown",this.onInputKeyDown),window.Rozier.$window.off("keyup",this.onInputKeyUp),this.$input.off("focus",this.inputFocus),this.$input.off("focusout",this.inputFocusOut),this.$form.off("submit",this.onFormSubmit))}},{key:"onFormSubmit",value:function(){var e=this;return window.Rozier.lazyload.canvasLoader.show(),this.currentTimeout&&clearTimeout(this.currentTimeout),this.currentTimeout=setTimeout(function(){var t=new CustomEvent("pagechange");window.dispatchEvent(t);var n=new FormData(e.$form.get(0));o.default.ajax({url:window.location.href,type:"post",data:n,processData:!1,cache:!1,contentType:!1}).done(function(t){if(e.cleanErrors(),t.public_url){var n=(0,o.default)("a.public-url-link");n.length&&n.attr("href",t.public_url)}if(t.preview_url){var i=(0,o.default)("a.preview-url-link");i.length&&i.attr("href",t.preview_url)}}).fail(function(t){t.responseJSON&&(e.displayErrors(t.responseJSON.errors),window.UIkit.notify({message:t.responseJSON.message,status:"danger",timeout:2e3,pos:"top-center"}))}).always(function(){window.Rozier.lazyload.canvasLoader.hide(),window.Rozier.getMessages(),window.Rozier.refreshAllNodeTrees()})},300),!1}},{key:"cleanErrors",value:function(){var e=(0,o.default)(".form-errored");e.each(function(t){e.eq(t).removeClass("form-errored"),e.eq(t).find(".error-message").remove()})}},{key:"displayErrors",value:function(e,t){for(var n in t&&!1!==t||this.cleanErrors(),e){var i=null,r=null;if("object"===(0,a.toType)(e[n]))this.displayErrors(e[n],!0);else{i=n.replace("_","-"),r=e[n]instanceof Array?e[n][0]:e[n];var s=(0,o.default)(".form-col-"+i);s.length&&(s.addClass("form-errored"),s.append('

            '+r+"

            "))}}}},{key:"onInputKeyDown",value:function(e){18===e.keyCode&&window.Rozier.$body.toggleClass("dev-name-visible")}},{key:"onInputKeyUp",value:function(e){18===e.keyCode&&window.Rozier.$body.toggleClass("dev-name-visible")}},{key:"childrenNodeWidgetFlip",value:function(e){e>=this.$formRow.length-2&&(this.$dropdown=(0,o.default)(this.$formRow[e]).find(".uk-dropdown-small"),this.$dropdown.addClass("uk-dropdown-up"))}},{key:"inputFocus",value:function(e){(0,o.default)(e.currentTarget).parent().addClass("form-col-focus")}},{key:"inputFocusOut",value:function(e){(0,o.default)(e.currentTarget).parent().removeClass("form-col-focus")}},{key:"resize",value:function(){}}]),e}();t.default=l},bKSI:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getFolders=function(){var e={_token:window.RozierRoot.ajaxToken,_action:"foldersExplorer"};return(0,i.default)({method:"GET",url:window.RozierRoot.routes.foldersAjaxExplorer,params:e}).then(function(e){return void 0!==e.data&&e.data.folders?{items:e.data.folders}:{}}).catch(function(e){throw new Error(e)})};var i=function(e){return e&&e.__esModule?e:{default:e}}(n("dZBD"))},bXQK:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("ERN0"),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,function(){return i[e]})}(o);var a=n("ygC5"),s=n.n(a),l=n("/4AN")(r.a,s.a,!1,null,null,null);t.default=l.exports},bnjF:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getNodesSourceFromSearch=function(e){var t={_token:window.RozierRoot.ajaxToken,_action:"searchNodesSources",searchTerms:e};return(0,i.default)({method:"GET",url:window.RozierRoot.routes.searchNodesSourcesAjax,params:t}).then(function(e){return void 0!==e.data.data&&e.data.data.length>0?e.data.data:[]}).catch(function(e){throw new Error(e)})};var i=function(e){return e&&e.__esModule?e:{default:e}}(n("dZBD"))},bpQj:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("NC+4"),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,function(){return i[e]})}(o);var a=n("MT2W"),s=n.n(a);var l=function(e){n("qAEN")},u=n("/4AN")(r.a,s.a,!1,l,null,null);t.default=u.exports},buA2:function(e,t,n){"use strict";!function(e){var t,n=function(e,t){void 0===t&&(t={}),this.init(e,t)},i=n.prototype,r=["canvas","vml"],o=["oval","spiral","square","rect","roundRect"],a=/^\#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$/,s=-1!==navigator.appVersion.indexOf("MSIE")&&8===parseFloat(navigator.appVersion.split("MSIE")[1]),l=!!document.createElement("canvas").getContext,u=!0,c=function(e,t,n){var i,r=document.createElement(e);for(i in n)r[i]=n[i];return void 0!==t&&t.appendChild(r),r},d=function(e,t){for(var n in t)e.style[n]=t[n];return e},h=function(e,t){for(var n in t)e.setAttribute(n,t[n]);return e},f=function(e,t,n,i){e.save(),e.translate(t,n),e.rotate(i),e.translate(-t,-n),e.beginPath()};i.init=function(e,i){"boolean"==typeof i.safeVML&&(u=i.safeVML);try{void 0!==document.getElementById(e)?this.mum=document.getElementById(e):this.mum=document.body}catch(e){this.mum=document.body}if(i.id=void 0!==i.id?i.id:"canvasLoader",this.cont=c("div",this.mum,{id:i.id}),l)t=r[0],this.can=c("canvas",this.cont),this.con=this.can.getContext("2d"),this.cCan=d(c("canvas",this.cont),{display:"none"}),this.cCon=this.cCan.getContext("2d");else{if(t=r[1],void 0===n.vmlSheet){document.getElementsByTagName("head")[0].appendChild(c("style")),n.vmlSheet=document.styleSheets[document.styleSheets.length-1];var o,a=["group","oval","roundrect","fill"];for(o in a)n.vmlSheet.addRule(a[o],"behavior:url(#default#VML); position:absolute;")}this.vml=c("group",this.cont)}this.setColor(this.color),this.draw(),d(this.cont,{display:"none"})},i.cont={},i.can={},i.con={},i.cCan={},i.cCon={},i.timer={},i.activeId=0,i.diameter=40,i.setDiameter=function(e){this.diameter=Math.round(Math.abs(e)),this.redraw()},i.getDiameter=function(){return this.diameter},i.cRGB={},i.color="#000000",i.setColor=function(e){this.color=a.test(e)?e:"#000000",this.cRGB=this.getRGB(this.color),this.redraw()},i.getColor=function(){return this.color},i.shape=o[0],i.setShape=function(e){var t;for(t in o)if(e===o[t]){this.shape=e,this.redraw();break}},i.getShape=function(){return this.shape},i.density=40,i.setDensity=function(e){this.density=u&&t===r[1]?Math.round(Math.abs(e))<=40?Math.round(Math.abs(e)):40:Math.round(Math.abs(e)),this.density>360&&(this.density=360),this.activeId=0,this.redraw()},i.getDensity=function(){return this.density},i.range=1.3,i.setRange=function(e){this.range=Math.abs(e),this.redraw()},i.getRange=function(){return this.range},i.speed=2,i.setSpeed=function(e){this.speed=Math.round(Math.abs(e))},i.getSpeed=function(){return this.speed},i.fps=24,i.setFPS=function(e){this.fps=Math.round(Math.abs(e)),this.reset()},i.getFPS=function(){return this.fps},i.getRGB=function(e){return e="#"===e.charAt(0)?e.substring(1,7):e,{r:parseInt(e.substring(0,2),16),g:parseInt(e.substring(2,4),16),b:parseInt(e.substring(4,6),16)}},i.draw=function(){var e,n,i,a,l,u,p,m,g,v,_,b,w=0,k=this.density,y=Math.round(k*this.range),E=1e3,C=0,x=this.cCon,T=this.diameter,S=.47;if(t===r[0])for(x.clearRect(0,0,E,E),h(this.can,{width:T,height:T}),h(this.cCan,{width:T,height:T});w=1;)e.removeChild(e.firstChild)}},i.redraw=function(){this.clean(),this.draw()},i.reset=function(){"number"==typeof this.timer&&(this.hide(),this.show())},i.tick=function(e){var n=this.con,i=this.diameter;e||(this.activeId+=360/this.density*this.speed),t===r[0]?(n.clearRect(0,0,i,i),f(n,.5*i,.5*i,this.activeId/180*Math.PI),n.drawImage(this.cCan,0,0,i,i),n.restore()):(this.activeId>=360&&(this.activeId-=360),d(this.vml,{rotation:this.activeId}))},i.show=function(){if("number"!=typeof this.timer){var e=this;this.timer=self.setInterval(function(){e.tick()},Math.round(1e3/this.fps)),d(this.cont,{display:"block"})}},i.hide=function(){"number"==typeof this.timer&&(clearInterval(this.timer),delete this.timer,d(this.cont,{display:"none"}))},i.kill=function(){var e,n=this.cont;for(e in"number"==typeof this.timer&&this.hide(),t===r[0]?(n.removeChild(this.can),n.removeChild(this.cCan)):n.removeChild(this.vml),this)delete this[e]},e.CanvasLoader=n}(window)},c8JY:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"toolbar",staticClass:"toolbar"},[e.cropped?e._e():[e.setDragMode?n("button",{staticClass:"toolbar__button uk-button",attrs:{"data-uk-tooltip":"",title:e.translations.move},on:{click:function(t){e.setDragMode("move")}}},[n("i",{staticClass:"uk-icon-arrows"})]):e._e(),e._v(" "),e.setDragMode?n("button",{staticClass:"toolbar__button uk-button",attrs:{"data-uk-tooltip":"",title:e.translations.crop},on:{click:function(t){e.setDragMode("crop")}}},[n("i",{staticClass:"uk-icon-crop"})]):e._e(),e._v(" "),e.zoomIn?n("button",{staticClass:"toolbar_button uk-button",attrs:{"data-uk-tooltip":"",title:e.translations.zoomIn},on:{click:e.zoomIn}},[n("i",{staticClass:"uk-icon-search-plus"})]):e._e(),e._v(" "),e.zoomOut?n("button",{staticClass:"toolbar_button uk-button",attrs:{"data-uk-tooltip":"",title:e.translations.zoomOut},on:{click:e.zoomOut}},[n("i",{staticClass:"uk-icon-search-minus"})]):e._e(),e._v(" "),e.rotateLeft?n("button",{staticClass:"toolbar_button uk-button",attrs:{"data-uk-tooltip":"",title:e.translations.rotateLeft},on:{click:e.rotateLeft}},[n("i",{staticClass:"uk-icon-rotate-left"})]):e._e(),e._v(" "),e.rotateRight?n("button",{staticClass:"toolbar_button uk-button",attrs:{"data-uk-tooltip":"",title:e.translations.rotateRight},on:{click:e.rotateRight}},[n("i",{staticClass:"uk-icon-rotate-right"})]):e._e(),e._v(" "),e.flipHorizontal?n("button",{staticClass:"toolbar_button uk-button",attrs:{"data-uk-tooltip":"",title:e.translations.flipHorizontal},on:{click:e.flipHorizontal}},[n("i",{staticClass:"uk-icon-arrows-h"})]):e._e(),e._v(" "),e.flipVertical?n("button",{staticClass:"toolbar_button uk-button",attrs:{"data-uk-tooltip":"",title:e.translations.flipVertical},on:{click:e.flipVertical}},[n("i",{staticClass:"uk-icon-arrows-v"})]):e._e(),e._v(" "),n("div",{staticClass:"toolbar__select_wraper",attrs:{"data-uk-tooltip":"",title:e.translations.aspectRatio}},[n("select",{directives:[{name:"model",rawName:"v-model",value:e.ratio,expression:"ratio"}],staticClass:"toolbar__select uk-button",on:{change:[function(t){var n=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.ratio=t.target.multiple?n:n[0]},e.aspectRatio]}},[n("optgroup",{attrs:{label:e.translations.other}},[n("option",{attrs:{value:"free"}},[e._v(e._s(e.translations.free))]),e._v(" "),n("option",{attrs:{value:"1:1"}},[e._v("1:1")]),e._v(" "),n("option",{attrs:{value:"4:3"}},[e._v("4:3")])]),e._v(" "),n("optgroup",{attrs:{label:e.translations.landscape}},[n("option",{attrs:{value:"16:9"}},[e._v("16:9")]),e._v(" "),n("option",{attrs:{value:"21:9"}},[e._v("21:9")])]),e._v(" "),n("optgroup",{attrs:{label:e.translations.portrait}},[n("option",{attrs:{value:"9:16"}},[e._v("9:16")]),e._v(" "),n("option",{attrs:{value:"9:21"}},[e._v("9:21")])])]),e._v(" "),n("i",{staticClass:"uk-icon-arrow-down"})]),e._v(" "),e.cropping&&!e.cropped?n("button",{staticClass:"toolbar_button uk-button uk-button-primary",attrs:{"data-uk-tooltip":"",title:e.translations.applyChange},on:{click:e.crop}},[n("i",{staticClass:"uk-icon-check"})]):e._e()],e._v(" "),e.cropped?n("button",{staticClass:"toolbar_button uk-button uk-button-secondary",attrs:{"data-uk-tooltip":"",title:e.translations.undo},on:{click:e.undo}},[n("i",{staticClass:"uk-icon-undo"})]):e._e(),e._v(" "),e.cropped?n("button",{staticClass:"toolbar_button uk-button uk-button-primary",attrs:{"data-uk-tooltip":"",title:e.translations.saveAndOverwrite},on:{click:e.overwrite}},[n("i",{staticClass:"uk-icon-floppy-o"}),e._v(" "+e._s(e.translations.saveAndOverwrite)+"\n ")]):e._e()],2)},staticRenderFns:[]};t.default=i},cDWz:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("TL+m"),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,function(){return i[e]})}(o);var a=n("VB4P"),s=n.n(a),l=n("/4AN")(r.a,s.a,!1,null,null,null);t.default=l.exports},ciPl:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("BYnw"),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,function(){return i[e]})}(o);var a=n("qqmG"),s=n.n(a);var l=function(e){n("Xatb")},u=n("/4AN")(r.a,s.a,!1,l,"data-v-528b9f0b",null);t.default=u.exports},ds7r:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("modal",{attrs:{name:"warning-modal",transition:"pop-out",width:e.modalWidth,height:350},on:{"before-close":e.beforeClose}},[n("div",{staticClass:"box"},[n("div",{staticClass:"box-part",attrs:{id:"bp-left"}},[n("div",{staticClass:"modal",attrs:{id:"partition-register"}},[n("div",{staticClass:"modal-title"},[e._v(e._s(e.title))]),e._v(" "),n("div",{staticClass:"modal-content"},[n("p",[e._v(e._s(e.content))]),e._v(" "),n("div",{staticClass:"btns"},[e.linkUrl&&e.linkLabel?n("a",{staticClass:"btn large-btn",attrs:{href:e.linkUrl}},[e._v(e._s(e.linkLabel))]):e._e(),e._v(" "),e.closeable?n("button",{staticClass:"large-btn",on:{click:e.close}},[e._v("Close")]):e._e()])])])]),e._v(" "),e.imageUrl?n("div",{staticClass:"box-part",attrs:{id:"bp-right"}},[n("img",{directives:[{name:"dynamic-img",rawName:"v-dynamic-img",value:e.imageUrl,expression:"imageUrl"}],attrs:{src:"data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs="}})]):e._e()])])},staticRenderFns:[]};t.default=i},dy4P:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("mC1X"),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,function(){return i[e]})}(o);var a=n("nFnR"),s=n.n(a),l=n("/4AN")(r.a,s.a,!1,null,null,null);t.default=l.exports},e1f4:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getImage=function(){return(0,i.default)({method:"GET",url:window.RozierRoot.routes.splashRequest,headers:{"X-Requested-With":"XMLHttpRequest"},params:{_:Math.random()}}).then(function(e){return e.data.url}).catch(function(){throw new Error("Image not found")})};var i=function(e){return e&&e.__esModule?e:{default:e}}(n("dZBD"))},e9E8:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={props:{isLoadingMore:{required:!0,type:Boolean},nextPage:{type:Number},loadMoreItems:{required:!0,type:Function},moreItemsText:{required:!0,type:String}}}},eC0v:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=s(n("T4f3"));n("gzqx");var r=s(n("iUPs")),o=n("SJI6"),a=s(n("mebu"));function s(e){return e&&e.__esModule?e:{default:e}}t.default={props:{srcUrl:{required:!0,type:String},filename:{required:!0,type:String}},data:function(){return{editable:!1,cropper:!1,cropping:!0,data:null,canvasData:null,cropBoxData:null,image:null,type:"",name:"",url:this.srcUrl,cropped:!1,aspectRatio:null}},mounted:function(){this.blanchetteEditorInit({url:this.url,editor:this.$refs.blanchetteEditor})},computed:(0,i.default)({},(0,o.mapState)({originalUrl:function(e){return e.blanchetteEditor.originalUrl},isLoading:function(e){return e.blanchetteEditor.isLoading},translations:function(e){return e.translations}})),methods:(0,i.default)({},(0,o.mapActions)(["blanchetteEditorInit","blanchetteEditorLoaded","blanchetteEditorSave"]),{overwrite:function(){var e=this;this.blanchetteEditorSave({url:this.url,filename:this.filename}).then(function(){return e.restore()})},load:function(){var e=this;window.setTimeout(function(){e.image||(e.image=e.$refs.image,e.start(),e.blanchetteEditorLoaded())},1e3)},setAspectRatio:function(e){switch(e.target.value){case"1:1":this.aspectRatio=1;break;case"4:3":this.aspectRatio=4/3;break;case"16:9":this.aspectRatio=16/9;break;case"21:9":this.aspectRatio=21/9;break;case"9:16":this.aspectRatio=9/16;break;case"9:21":this.aspectRatio=9/21;break;default:this.aspectRatio=null}this.cropper.setAspectRatio(this.aspectRatio)},rotateRight:function(){this.cropper.rotate(90)},rotateLeft:function(){this.cropper.rotate(-90)},setDragMode:function(e){e&&this.cropper&&this.cropper.setDragMode(e)},zoomIn:function(){this.cropper.zoom(.1)},zoomOut:function(){this.cropper.zoom(-.1)},flipHorizontal:function(){this.cropper.scaleX(-this.cropper.getData().scaleX||-1)},flipVertical:function(){this.cropper.scaleY(-this.cropper.getData().scaleY||-1)},move:function(e,t){this.cropper.move(e,t)},start:function(){this.cropper||(this.cropper=new r.default(this.image,{autoCrop:!1,dragMode:"move",background:!1,aspectRatio:this.aspectRatio,viewMode:1,zoomOnWheel:!1,ready:function(){this.data&&(this.cropper.crop().setData(this.data).setCanvasData(this.canvasData).setCropBoxData(this.cropBoxData),this.data=null,this.canvasData=null,this.cropBoxData=null)},crop:function(e){e.detail.width>0&&e.detail.height>0&&!this.cropping&&(this.cropping=!0)}}))},stop:function(){this.cropper&&(this.cropper.destroy(),this.cropper=null)},crop:function(){var e=this.cropper,t=this.type;this.cropping&&(this.originalUrl=this.url,this.data=e.getData(),this.canvasData=e.getCanvasData(),this.cropBoxData=e.getCropBoxData(),this.url=e.getCroppedCanvas("image/png"===t?null:{fillColor:"#fff"}).toDataURL(t),this.cropped=!0,this.stop())},clear:function(){this.cropping&&this.cropper.clear()},restore:function(){this.cropper||(this.image=null,this.url=this.originalUrl,this.originalUrl="",this.cropped=!1)}}),components:{BlanchetteToolbar:a.default}}},eQwT:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("THhJ"),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,function(){return i[e]})}(o);var a=n("/4AN")(r.a,null,!1,null,null,null);t.default=a.exports},en6P:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){return e&&e.__esModule?e:{default:e}}(n("T4f3")),r=n("SJI6");t.default={computed:(0,i.default)({},(0,r.mapState)({isExplorerOpen:function(e){return e.explorer.isOpen}}))}},fHvF:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,r=function(e){return e&&e.__esModule?e:{default:e}}(n("Xos8")),o=n("xHmi"),a=l(n("2y8T")),s=l(n("Mb7i"));function l(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}var u={blanchetteEditorInit:function(e,t){var n=e.commit,i=e.dispatch,r=t.url,a=t.editor;i("blanchetteEditorIsLoading"),n(o.BLANCHETTE_EDITOR_INIT,{url:r,editor:a})},blanchetteEditorIsLoading:function(e){(0,e.commit)(o.BLANCHETTE_EDITOR_IS_LOADING)},blanchetteEditorLoaded:function(e){(0,e.commit)(o.BLANCHETTE_EDITOR_LOADED)},blanchetteEditorSave:function(e,t){var n=e.commit,i=e.state,r=t.url,l=t.filename,u=s.dataURItoBlob(r),c=i.editor.getElementsByTagName("form")[0],d=new FormData(c);return d.append("form[editDocument]",u,l),n(o.BLANCHETTE_EDITOR_IS_LOADING),a.setDocument(d).then(function(e){if(n(o.BLANCHETTE_EDITOR_LOADED),!e.data||!e.data.path)throw new Error("No path found");window.UIkit.notify({message:e.data.message,status:"success",timeout:2e3,pos:"top-center"}),n(o.BLANCHETTE_EDITOR_SAVE_SUCCESS,{path:e.data.path})}).catch(function(e){console.error(e),n(o.BLANCHETTE_EDITOR_ERROR,{error:e}),n(o.BLANCHETTE_EDITOR_LOADED)})}},c=(i={},(0,r.default)(i,o.BLANCHETTE_EDITOR_INIT,function(e,t){var n=t.url,i=t.editor;e.originalUrl=n,e.editor=i}),(0,r.default)(i,o.BLANCHETTE_EDITOR_IS_LOADING,function(e){e.isLoading=!0}),(0,r.default)(i,o.BLANCHETTE_EDITOR_ERROR,function(e,t){var n=t.error;e.error=n.message}),(0,r.default)(i,o.BLANCHETTE_EDITOR_LOADED,function(e){e.isLoading=!1}),(0,r.default)(i,o.BLANCHETTE_EDITOR_SAVE_SUCCESS,function(e,t){var n=t.path;e.originalUrl=n}),i);t.default={state:{isLoading:!0,originalUrl:"",editor:null},actions:u,mutations:c}},fa0H:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("MjFt"),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,function(){return i[e]})}(o);var a=n("qE/d"),s=n.n(a),l=n("/4AN")(r.a,s.a,!1,null,null,null);t.default=l.exports},g2gx:function(e,t,n){"use strict";var i,r;!function(o,a,s){for(var l,u,c={8:"backspace",9:"tab",13:"enter",16:"shift",17:"ctrl",18:"alt",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"ins",46:"del",91:"meta",93:"meta",224:"meta"},d={106:"*",107:"+",109:"-",110:".",111:"/",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},h={"~":"`","!":"1","@":"2","#":"3",$:"4","%":"5","^":"6","&":"7","*":"8","(":"9",")":"0",_:"-","+":"=",":":";",'"':"'","<":",",">":".","?":"/","|":"\\"},f={option:"alt",command:"meta",return:"enter",escape:"esc",mod:/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"meta":"ctrl"},p={},m={},g={},v=!1,_=!1,b=!1,w=1;w<20;++w)c[111+w]="f"+w;for(w=0;w<=9;++w)c[w+96]=w;function k(e,t,n){e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent("on"+t,n)}function y(e){if("keypress"==e.type){var t=String.fromCharCode(e.which);return e.shiftKey||(t=t.toLowerCase()),t}return c[e.which]?c[e.which]:d[e.which]?d[e.which]:String.fromCharCode(e.which).toLowerCase()}function E(e,t){return e.sort().join(",")===t.sort().join(",")}function C(e){e=e||{};var t,n=!1;for(t in g)e[t]?n=!0:g[t]=0;n||(b=!1)}function x(e,t,n,i,r,o){var a,s,l=[],u=n.type;if(!p[e])return[];for("keyup"==u&&A(e)&&(t=[e]),a=0;a95&&e<112||c.hasOwnProperty(e)&&(l[c[e]]=e);return l}()[e]?"keydown":"keypress"),"keypress"==n&&t.length&&(n="keydown"),n}function D(e,t,n,i){function r(t){return function(){b=t,++g[e],clearTimeout(u),u=setTimeout(C,1e3)}}function o(t){T(n,t,e),"keyup"!==i&&(v=y(t)),setTimeout(C,10)}g[e]=0;for(var a=0;a1?D(e,a,t,n):(o=I(e,n),p[o.key]=p[o.key]||[],x(o.key,o.modifiers,{type:o.action},i,e,r),p[o.key][i?"unshift":"push"]({callback:t,modifiers:o.modifiers,action:o.action,seq:i,level:r,combo:e}))}k(a,"keypress",S),k(a,"keydown",S),k(a,"keyup",S);var M={bind:function(e,t,n){return function(e,t,n){for(var i=0;i-1)&&("INPUT"==t.tagName||"SELECT"==t.tagName||"TEXTAREA"==t.tagName||t.isContentEditable)},handleKey:function(e,t,n){var i,r=x(e,t,n),o={},a=0,s=!1;for(i=0;i','','
            ',t,"
            ","",""].join("");(0,o.default)(e).parent().parent().after(r),this.$formFieldCol.removeClass("node-type-field-col"),(0,o.default)(".rz-boolean-checkbox").bootstrapSwitch({size:"small"}),window.Rozier.lazyload.initMarkdownEditors(),window.setTimeout(function(){i.$formCont=(0,o.default)(".node-type-field-edit-form-cont"),i.formContHeight=i.$formCont.actual("height"),i.$formRow=(0,o.default)(".node-type-field-edit-form-row"),i.$form=(0,o.default)("#edit-node-type-field-form"),i.$formIcon=(0,o.default)(i.$formFieldRow[i.indexOpen]).find(".node-type-field-col-1 i"),i.$form.attr("action",n),i.$formIcon[0].className="uk-icon-chevron-down",i.$formCont[0].style.height="0px",i.$formCont[0].style.display="block",a.TweenLite.to(i.$form,.6,{height:i.formContHeight,ease:a.Expo.easeOut}),a.TweenLite.to(i.$formCont,.6,{height:i.formContHeight,ease:a.Expo.easeOut})},200)}},{key:"closeForm",value:function(){var e=this;this.$formIcon[0].className="uk-icon-chevron-right",a.TweenLite.to(this.$formCont,.4,{height:0,ease:a.Expo.easeOut,onComplete:function(){e.$formRow.remove(),e.indexOpen=null,e.$formFieldCol.addClass("node-type-field-col")}})}},{key:"resize",value:function(){}}]),e}();t.default=l},inhQ:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"fade"}},[e.nextPage&&e.nextPage>1?n("div",{staticClass:"widget-explorer-nextpage",on:{click:function(t){t.preventDefault(),e.loadMoreItems(t)}}},[e.isLoadingMore?[n("transition",{attrs:{name:"fade"}},[n("div",{staticClass:"spinner light"})])]:[n("i",{staticClass:"uk-icon-plus"}),e._v(" "),n("span",{staticClass:"label"},[e._v(e._s(e.moreItemsText))])]],2):e._e()])},staticRenderFns:[]};t.default=i},jx8E:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"fade"}},[!e.isTagExisting&&e.searchTerms?n("div",{staticClass:"tag-creator"},[n("div",{staticClass:"infos"},[e._v(e._s(e.translations.createTag))]),e._v(" "),n("tag-creator-item",{attrs:{"create-tag":e.tagsCreate,"tag-name":e.searchTerms}})],1):e._e()])},staticRenderFns:[]};t.default=i},kMqv:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getTags=function(){var e={_token:window.RozierRoot.ajaxToken,_action:"tagsExplorer"};return(0,i.default)({method:"GET",url:window.RozierRoot.routes.tagsAjaxExplorer,params:e}).then(function(e){return void 0!==e.data&&e.data.tags?{items:e.data.tags}:{}}).catch(function(e){throw new Error(e)})},t.getParentTags=function(){var e={_token:window.RozierRoot.ajaxToken,_action:"tagsExplorer",onlyParents:!0};return(0,i.default)({method:"GET",url:window.RozierRoot.routes.tagsAjaxExplorer,params:e}).then(function(e){return void 0!==e.data&&e.data.tags?{items:e.data.tags}:{}}).catch(function(e){throw new Error(e)})};var i=function(e){return e&&e.__esModule?e:{default:e}}(n("dZBD"))},kR5N:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=s(n("dACh")),r=s(n("jx4H")),o=s(n("0iPh")),a=n("Tzw7");function s(e){return e&&e.__esModule?e:{default:e}}var l=function(){function e(){(0,i.default)(this,e),this.$content=(0,o.default)(".content-tag-edit").eq(0),this.$form=(0,o.default)("#edit-tag-form"),this.$formRow=null,this.$dropdown=null,this.onFormSubmit=this.onFormSubmit.bind(this),this.$content.length&&(this.$formRow=this.$content.find(".uk-form-row"),this.initEvents())}return(0,r.default)(e,[{key:"initEvents",value:function(){this.$form.on("submit",this.onFormSubmit)}},{key:"unbind",value:function(){this.$content.length&&this.$form.off("submit",this.onFormSubmit)}},{key:"onFormSubmit",value:function(){var e=this;return window.Rozier.lazyload.canvasLoader.show(),this.currentTimeout&&clearTimeout(this.currentTimeout),this.currentTimeout=setTimeout(function(){var t=new CustomEvent("pagechange");window.dispatchEvent(t);var n=new FormData(e.$form.get(0));o.default.ajax({url:window.location.href,type:"post",data:n,processData:!1,cache:!1,contentType:!1}).done(function(t){e.cleanErrors()}).fail(function(t){t.responseJSON&&(e.displayErrors(t.responseJSON.errors),window.UIkit.notify({message:t.responseJSON.message,status:"danger",timeout:2e3,pos:"top-center"}))}).always(function(){window.Rozier.lazyload.canvasLoader.hide(),window.Rozier.refreshMainTagTree(),window.Rozier.getMessages()})},300),!1}},{key:"cleanErrors",value:function(){var e=(0,o.default)(".form-errored");e.each(function(t){e.eq(t).removeClass("form-errored"),e.eq(t).find(".error-message").remove()})}},{key:"displayErrors",value:function(e,t){for(var n in t&&!1!==t||this.cleanErrors(),e){var i=null,r=null;if("object"===(0,a.toType)(e[n]))this.displayErrors(e[n],!0);else{i=n.replace("_","-"),r=e[n]instanceof Array?e[n][0]:e[n];var s=(0,o.default)(".form-col-"+i);s.length&&(s.addClass("form-errored"),s.append('

            '+r+"

            "))}}}},{key:"resize",value:function(){}}]),e}();t.default=l},kRS3:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o(n("H8iA")),r=o(n("KtXb"));function o(e){return e&&e.__esModule?e:{default:e}}t.default={centralTruncate:i.default,truncate:r.default}},krmO:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,r=function(e){return e&&e.__esModule?e:{default:e}}(n("Xos8")),o=n("xHmi");var a={documentPreviewInit:function(e,t){var n=e.commit,i=t.document;n(o.DOCUMENT_PREVIEW_INIT,{document:i})},documentPreviewDestroy:function(e){(0,e.commit)(o.DOCUMENT_PREVIEW_DESTROY)},documentPreviewClose:function(e){(0,e.commit)(o.DOCUMENT_PREVIEW_CLOSE)},documentPreviewOpen:function(e){(0,e.commit)(o.DOCUMENT_PREVIEW_OPEN)}},s=(i={},(0,r.default)(i,o.DOCUMENT_PREVIEW_INIT,function(e,t){var n=t.document;e.document=n}),(0,r.default)(i,o.DOCUMENT_PREVIEW_DESTROY,function(e){e.isVisible||(e.document=null)}),(0,r.default)(i,o.KEYBOARD_EVENT_SPACE,function(e){null===e.document||e.isVisible?e.isVisible&&(e.isVisible=!1,e.document=null):e.isVisible=!0}),(0,r.default)(i,o.KEYBOARD_EVENT_ESCAPE,function(e){e.isVisible=!1,e.document=null}),(0,r.default)(i,o.DOCUMENT_PREVIEW_OPEN,function(e){e.isVisible=!0}),(0,r.default)(i,o.DOCUMENT_PREVIEW_CLOSE,function(e){e.isVisible=!1,e.document=null}),i);t.default={state:{document:null,isVisible:!1,isLoading:!1},getters:{documentPreviewGetDocument:function(e){return e.document}},actions:a,mutations:s}},"l/s5":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={render:function(){var e=this,t=e.$createElement;return(e._self._c||t)("drawer-item",{attrs:{item:e.item,index:e.index,"drawer-name":e.drawerName,"is-item-explorer":e.isItemExplorer,"parent-name":e.item.parent?e.item.parent:"",name:e.item.name?e.item.name:"","edit-item":e.item.editUrl,"add-item":e.addItem,"remove-item":e.removeItem}})},staticRenderFns:[]};t.default=i},lRwf:function(e,t){e.exports=Vue},lS9x:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){return e&&e.__esModule?e:{default:e}}(n("T4f3")),r=d(n("bnjF")),o=d(n("umdK")),a=d(n("DqSB")),s=d(n("Afu7")),l=d(n("RfA7")),u=d(n("e1f4")),c=d(n("CpLN"));function d(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}var h=(0,i.default)({},r,o,a,s,l,u,c);t.default=h},lTHl:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("rJVn"),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,function(){return i[e]})}(o);var a=n("jx8E"),s=n.n(a);var l=function(e){n("9ZFY")},u=n("/4AN")(r.a,s.a,!1,l,"data-v-2897d1a1",null);t.default=u.exports},m1Vf:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getJoinsByIds=function(e){var t=e.ids,n=void 0===t?[]:t,r=e.filters,o={_token:window.RozierRoot.ajaxToken,ids:n,nodeTypeFieldId:r.nodeTypeField};return(0,i.default)({method:"GET",url:window.RozierRoot.routes.joinsAjaxByArray,params:o}).then(function(e){return void 0!==e.data&&e.data.items?{items:e.data.items}:null}).catch(function(e){throw new Error(e.response.data.humanMessage)})},t.getJoins=function(e){var t=e.searchTerms,n=e.preFilters,r=e.filters,o=(e.filterExplorerSelection,e.moreData),a={_token:window.RozierRoot.ajaxToken,_action:"toggleExplorer",nodeTypeFieldId:n?n.nodeTypeField:null,search:t,page:1};o&&(a.page=r?r.nextPage:1);return(0,i.default)({method:"GET",url:window.RozierRoot.routes.joinsAjaxExplorer,params:a}).then(function(e){return void 0!==e.data&&e.data.entities?{items:e.data.entities,filters:e.data.filters}:{}}).catch(function(e){throw new Error(e)})};var i=function(e){return e&&e.__esModule?e:{default:e}}(n("dZBD"))},mC1X:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=s(n("T4f3")),r=n("SJI6"),o=s(n("eQwT")),a=s(n("4NIs"));function s(e){return e&&e.__esModule?e:{default:e}}t.default={props:{entity:{required:!0,type:String},name:{required:!0,type:String},id:{required:!0,type:String},cols:{type:Number},rows:{type:Number},initialValue:{required:!0,type:String}},mixins:[o.default],data:function(){return{currentView:"",value:""}},mounted:function(){this.ids=this.initialValue.split(",")},computed:(0,i.default)({},(0,r.mapState)({translations:function(e){return e.translations}}),{updateList:function(){var e=this.items.map(function(e){return e.nodeName});this.value=e.join(", ")}}),components:{RzTextarea:a.default}}},mebu:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("ZJj3"),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,function(){return i[e]})}(o);var a=n("c8JY"),s=n.n(a);var l=function(e){n("O9HX")},u=n("/4AN")(r.a,s.a,!1,l,"data-v-2ad1fec2",null);t.default=u.exports},nFnR:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.drawer?n("div",{ref:"drawer",staticClass:"uk-form-row drawer-widget entity-",class:[{"uk-active":e.isActive,"uk-alert-danger":e.drawer.errorMessage},"entity-"+e.entity],attrs:{"data-accept-entity":e.entity,"data-accept-limit":"0","data-entity-types":"[]"}},[n("nav",{staticClass:"drawer-widget-nav uk-navbar"},[e._m(0,!1,!1),e._v(" "),n("div",{staticClass:"uk-navbar-content uk-navbar-flip"},[n("div",{staticClass:"drawer-widget-quick-creation uk-button-group"},[n("rz-button",{attrs:{"is-active":e.drawer.isActive,callback:e.onExplorerButtonClick}},[n("i",{staticClass:"uk-icon-rz-explore"}),e._v("\n "+e._s(e.translations.explorer)+"\n ")])],1)])]),e._v(" "),e.drawer.errorMessage?[n("p",{staticClass:"uk-text-danger"},[e._v("\n "+e._s(e.drawer.errorMessage)+"\n ")])]:e._e(),e._v(" "),n("div",{staticClass:"drawer-widget-sortable-container"},[e.drawer.isLoading?n("transition",{attrs:{name:"fade"}},[n("div",{staticClass:"spinner"})]):e._e(),e._v(" "),n("ul",{staticClass:"drawer-widget-sortable",attrs:{"data-input-name":""}},[n("draggable",{attrs:{options:{group:""}},model:{value:e.items,callback:function(t){e.items=t},expression:"items"}},[n("transition-group",e._l(e.items,function(t,i){return n(e.drawer.currentListingView,{key:t.id,tag:"component",attrs:{"drawer-name":e.drawerName,"is-item-explorer":!1,"add-item":e.addItem,"remove-item":e.removeItem,index:i,item:t}})}))],1)],1),e._v(" "),n("div",{staticClass:"hidden"},[n("rz-textarea",{attrs:{"initial-value":e.value,name:e.name,id:e.id,cols:e.cols,rows:e.rows}}),e._v("\n "+e._s(e.updateList)+"\n ")],1)],1)],2):e._e()},staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("ul",{staticClass:"uk-navbar-nav"},[t("li",{staticClass:"uk-navbar-brand"},[t("i",{})])])}]};t.default=i},nY3t:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,r=u(n("Xos8")),o=u(n("T4f3")),a=u(n("lS9x")),s=n("xHmi"),l=n("EY70");function u(e){return e&&e.__esModule?e:{default:e}}var c=(0,o.default)({},{isOpen:!1,isLoading:!1,items:[],entity:null,icons:{normal:"uk-icon-circle-o",active:"uk-icon-circle"},selectedItem:null}),d={filterExplorerOpen:function(e){var t=e.commit,n=e.dispatch,i=e.getters.getExplorerEntity;t(s.FILTER_EXPLORER_OPEN,{entity:i}),n("explorerResetSearchTerms"),n("filterExplorerMakeSearch")},filterExplorerUpdate:function(e,t){var n=e.commit,i=e.dispatch,r=t.item;n(s.FILTER_EXPLORER_UPDATE,{item:r}),i("explorerMakeSearch")},filterExplorerClose:function(e){(0,e.commit)(s.FILTER_EXPLORER_CLOSE)},filterExplorerReset:function(e){(0,e.commit)(s.FILTER_EXPLORER_RESET)},filterExplorerToggle:function(e){var t=e.dispatch;e.state.isOpen?t("filterExplorerClose"):t("filterExplorerOpen")},filterExplorerMakeSearch:function(e){var t=e.commit,n=e.state;t(s.FILTER_EXPLORER_REQUEST);var i=n.entity;return a.default.getFilters({entity:i}).then(function(e){e?t(s.FILTER_EXPLORER_SUCCESS,{result:e}):t(s.FILTER_EXPLORER_FAILED)}).catch(function(e){t(s.FILTER_EXPLORER_FAILED,{error:e})})}},h=(i={},(0,r.default)(i,s.FILTER_EXPLORER_UPDATE,function(e,t){var n=t.item;e.selectedItem=n}),(0,r.default)(i,s.FILTER_EXPLORER_REQUEST,function(e){e.isLoading=!0}),(0,r.default)(i,s.FILTER_EXPLORER_SUCCESS,function(e,t){var n=t.result;e.items=n.items,e.isLoading=!1}),(0,r.default)(i,s.FILTER_EXPLORER_OPEN,function(e,t){var n=t.entity;switch(e.isOpen=!0,e.entity=n,n){case l.DOCUMENT_ENTITY:e.icons.normal="uk-icon-folder",e.icons.active="uk-icon-folder-open";break;case l.NODE_ENTITY:case l.TAG_ENTITY:e.icons.normal="uk-icon-tag",e.icons.active="uk-icon-tag"}}),(0,r.default)(i,s.FILTER_EXPLORER_CLOSE,function(e){e.isOpen=!1}),(0,r.default)(i,s.FILTER_EXPLORER_RESET,function(e){e.selectedItem=null,e.items=[]}),(0,r.default)(i,s.FILTER_EXPLORER_FAILED,function(e,t){t.error;e.isLoading=!1,e.error="Request failed"}),(0,r.default)(i,s.KEYBOARD_EVENT_ESCAPE,function(e){e.isLoading=!1,e.isOpen=!1,e.selectedItem=null}),i);t.default={state:c,getters:{getFilterExplorerSelectedItem:function(e){return e.selectedItem}},actions:d,mutations:h}},oUTm:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={render:function(){var e=this.$createElement;return(this._self._c||e)("textarea",{attrs:{name:this.name,id:this.id,cols:this.cols,rows:this.rows}},[this._v(this._s(this.initialValue))])},staticRenderFns:[]};t.default=i},otgr:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"fade-in"}},[e.item?n("li",{staticClass:"item"},[n("a",{staticClass:"filter-item-link",class:[e.isCurrentItem?"active":""],attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.onItemClick(e.item)}}},[n("i",{staticClass:"icon",class:e.isCurrentItem?e.icons.active:e.icons.normal}),e._v(" "),n("span",{staticClass:"text"},[e._v(e._s(e.item.name))])]),e._v(" "),n("ul",{staticClass:"sub-filters"},e._l(e.item.children,function(t,i){return n("filter-explorer-item",{key:t.id,attrs:{icons:e.icons,"current-item":e.currentItem,entity:e.entity,"on-item-click":e.onItemClick,item:t}})}))]):e._e()])},staticRenderFns:[]};t.default=i},"p+9q":function(e,t,n){(e.exports=n("lcwS")(!1)).push([e.i,"\n.toolbar[data-v-2ad1fec2] {\n margin: 20px 0;\n}\n.toolbar .toolbar__select_wraper[data-v-2ad1fec2] {\n position: relative;\n display: inline-block;\n}\n.toolbar .toolbar__select_wraper .toolbar__select[data-v-2ad1fec2] {\n padding-right: 30px;\n}\n.toolbar .toolbar__select_wraper i[data-v-2ad1fec2] {\n position: absolute;\n right: 7px;\n top: 11px;\n pointer-events: none;\n}\n",""])},pQmN:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("AcRm"),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,function(){return i[e]})}(o);var a=n("Mukt"),s=n.n(a),l=n("/4AN")(r.a,s.a,!1,null,null,null);t.default=l.exports},pmdL:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=$(n("X9RM")),r=$(n("dACh")),o=$(n("jx4H")),a=$(n("0iPh")),s=n("EQNM"),l=$(n("QKtd")),u=$(n("P4+A")),c=$(n("tjLZ")),d=$(n("UIBU")),h=$(n("sOvm")),f=$(n("Tr2I")),p=$(n("ibAD")),m=$(n("JTvu")),g=$(n("T2ht")),v=$(n("bB58")),_=$(n("PKoN")),b=$(n("FVwp")),w=$(n("0vVo")),k=$(n("7Smz")),y=$(n("3Z0C")),E=$(n("wi4E")),C=$(n("QKcT")),x=$(n("aI4R")),T=$(n("3aBW")),S=$(n("+VLV")),A=$(n("RIYy")),R=$(n("NAyJ")),D=$(n("Ow2O")),I=$(n("ZysM")),O=$(n("x4pS")),M=$(n("kR5N")),L=$(n("t4hZ"));function $(e){return e&&e.__esModule?e:{default:e}}var N=function(){function e(){(0,r.default)(this,e),this.$linksSelector=null,this.$canvasLoaderContainer=null,this.documentsList=null,this.mainColor=null,this.currentRequest=null,this.nodeTreeContextActions=null,this.documentsBulk=null,this.tagsBulk=null,this.inputLengthWatcher=null,this.documentUploader=null,this.childrenNodesFields=null,this.geotagField=null,this.multiGeotagField=null,this.saveButtons=null,this.tagAutocomplete=null,this.folderAutocomplete=null,this.nodeTypeFieldsPosition=null,this.attributeValuesPosition=null,this.customFormFieldsPosition=null,this.settingsSaveButtons=null,this.nodeTypeFieldEdit=null,this.nodeEditSource=null,this.tagEdit=null,this.markdownEditors=[],this.jsonEditors=[],this.cssEditors=[],this.yamlEditors=[],this.$window=(0,a.default)(window),this.onPopState=this.onPopState.bind(this),this.onClick=this.onClick.bind(this),this.parseLinks(),window.removeEventListener("popstate",this.onPopState),window.addEventListener("popstate",this.onPopState),this.$canvasLoaderContainer=(0,a.default)("#canvasloader-container"),this.mainColor=window.Rozier.mainColor?window.Rozier.mainColor:"#00deab",this.initLoader(),window.history.pushState({},document.title,window.location.href)}return(0,o.default)(e,[{key:"initLoader",value:function(){this.canvasLoader=new window.CanvasLoader("canvasloader-container"),this.canvasLoader.setColor(this.mainColor),this.canvasLoader.setShape("square"),this.canvasLoader.setDensity(90),this.canvasLoader.setRange(.8),this.canvasLoader.setSpeed(4),this.canvasLoader.setFPS(30)}},{key:"parseLinks",value:function(){this.$linksSelector=(0,a.default)("a:not('[target=_blank]')").not(".rz-no-ajax-link").not("[download]").not('[href="#"]')}},{key:"onClick",value:function(e){var t=this,n=(0,a.default)(e.currentTarget),i=n.attr("href");if(void 0!==i&&!n.hasClass("rz-no-ajax-link")&&""!==i&&"#"!==i&&(i.indexOf(window.Rozier.baseUrl)>=0||"/"===i.charAt(0)||"?"===i.charAt(0)))return e.preventDefault(),this.clickTimeout&&clearTimeout(this.clickTimeout),this.clickTimeout=window.setTimeout(function(){window.history.pushState({},null,n.attr("href")),t.onPopState(null)},0),!1}},{key:"onPopState",value:function(e){var t=null;null!==e&&e.originalEvent&&(t=e.originalEvent.state),void 0!==t&&null!==t||(t=window.history.state),null!==t&&(this.canvasLoader.show(),this.loadContent(t,window.location))}},{key:"loadContent",value:function(e,t){var n=this;this.currentTimeout&&clearTimeout(this.currentTimeout),this.currentTimeout=window.setTimeout(function(){var i=new CustomEvent("pagechange");window.dispatchEvent(i),n.currentRequest=a.default.ajax({url:t.href,type:"get",dataType:"html",cache:!1,data:e.headerData,beforeSend:function(e){e.setRequestHeader("X-Partial",!0)}}).done(function(e){n.applyContent(e),n.canvasLoader.hide();var t=new CustomEvent("pageload",{detail:e});window.dispatchEvent(t)}).fail(function(e){if(void 0!==e.responseText)try{var i=JSON.parse(e.responseText);window.UIkit.notify({message:i.message,status:"danger",timeout:3e3,pos:"top-center"})}catch(e){window.location.href=t.href}else window.UIkit.notify({message:window.Rozier.messages.forbiddenPage,status:"danger",timeout:3e3,pos:"top-center"});n.canvasLoader.hide()})},100)}},{key:"refreshCodemirrorEditor",value:function(){var e=!0,t=!1,n=void 0;try{for(var r,o=(0,i.default)(this.markdownEditors);!(e=(r=o.next()).done);e=!0){r.value.forceEditorUpdate()}}catch(e){t=!0,n=e}finally{try{!e&&o.return&&o.return()}finally{if(t)throw n}}var a=!0,s=!1,l=void 0;try{for(var u,c=(0,i.default)(this.yamlEditors);!(a=(u=c.next()).done);a=!0){u.value.forceEditorUpdate()}}catch(e){s=!0,l=e}finally{try{!a&&c.return&&c.return()}finally{if(s)throw l}}var d=!0,h=!1,f=void 0;try{for(var p,m=(0,i.default)(this.cssEditors);!(d=(p=m.next()).done);d=!0){p.value.forceEditorUpdate()}}catch(e){h=!0,f=e}finally{try{!d&&m.return&&m.return()}finally{if(h)throw f}}var g=!0,v=!1,_=void 0;try{for(var b,w=(0,i.default)(this.jsonEditors);!(g=(b=w.next()).done);g=!0){b.value.forceEditorUpdate()}}catch(e){v=!0,_=e}finally{try{!g&&w.return&&w.return()}finally{if(v)throw _}}}},{key:"applyContent",value:function(e){var t=this,n=(0,a.default)("#main-content-scrollable"),i=n.find(".content-global"),r=(0,a.default)(e),o=r.find("[data-ajax-root]");o.length&&(r=(0,a.default)(o.html())),r.addClass("new-content-global"),n.find('meta[name="title"]').remove(),n.append(r);var s=n.find('meta[name="title"]');s.length&&(document.title=s[0].getAttribute("content")),r=n.find(".new-content-global"),i.fadeOut(100,function(){i.remove(),t.generalBind(),r.fadeIn(200,function(){r.removeClass("new-content-global");var e=new CustomEvent("pageshowend");window.dispatchEvent(e)})})}},{key:"bindAjaxLink",value:function(){this.parseLinks(),this.$linksSelector.off("click",this.onClick),this.$linksSelector.on("click",this.onClick)}},{key:"generalBind",value:function(){this.generalUnbind([this.documentsBulk,this.mainTreeTabs,this.nodesBulk,this.tagsBulk,this.inputLengthWatcher,this.documentUploader,this.childrenNodesFields,this.geotagField,this.multiGeotagField,this.stackNodeTrees,this.nodeTreeContextActions,this.tagAutocomplete,this.folderAutocomplete,this.nodeTypeFieldsPosition,this.attributeValuesPosition,this.customFormFieldsPosition,this.settingsSaveButtons,this.nodeTypeFieldEdit,this.nodeEditSource,this.tagEdit,this.nodeTree]),this.bindAjaxLink(),this.markdownEditors=[],this.jsonEditors=[],this.cssEditors=[],this.yamlEditors=[],this.documentsBulk=new l.default,this.mainTreeTabs=new L.default,this.nodesBulk=new u.default,this.tagsBulk=new c.default,this.inputLengthWatcher=new _.default,this.documentUploader=new d.default(window.Rozier.messages.dropzone),this.childrenNodesFields=new b.default,this.geotagField=new I.default,this.multiGeotagField=new O.default,this.stackNodeTrees=new w.default,this.saveButtons&&this.saveButtons.unbind(),this.saveButtons=new k.default,this.tagAutocomplete=new y.default,this.folderAutocomplete=new E.default,this.nodeTypeFieldsPosition=new h.default,this.attributeValuesPosition=new f.default,this.customFormFieldsPosition=new m.default,this.nodeTreeContextActions=new g.default,this.settingsSaveButtons=new C.default,this.nodeTypeFieldEdit=new p.default,this.nodeEditSource=new v.default,this.tagEdit=new M.default,this.nodeTree=new x.default,this.initMarkdownEditors(),this.initJsonEditors(),this.initCssEditors(),this.initYamlEditors(),this.initFilterBars(),this.initColorPickers(),this.initCollectionsForms(),(0,a.default)(".actions-menu").length&&s.TweenLite.to(".actions-menu",.5,{right:0,delay:.4,ease:s.Expo.easeOut}),window.Rozier.initNestables(),window.Rozier.bindMainTrees(),window.Rozier.nodeStatuses=new T.default,this.initBootstrapSwitches(),window.Rozier.getMessages()}},{key:"generalUnbind",value:function(e){var t=!0,n=!1,r=void 0;try{for(var o,a=(0,i.default)(e);!(t=(o=a.next()).done);t=!0){var s=o.value;s&&s.unbind()}}catch(e){n=!0,r=e}finally{try{!t&&a.return&&a.return()}finally{if(n)throw r}}}},{key:"initCollectionsForms",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=this,n=null;(n=null!==e?e.find(".rz-collection-form-type"):(0,a.default)(".rz-collection-form-type")).length&&n.collection({up:'',down:'',add:'',remove:'',after_add:function(e,n){return t.initMarkdownEditors(n),t.initJsonEditors(n),t.initCssEditors(n),t.initYamlEditors(n),t.initBootstrapSwitches(n),t.initColorPickers(n),t.initCollectionsForms(n),n.find("[data-vuejs]").each(function(e,t){window.Rozier.vueApp.mainContentComponents.push(window.Rozier.vueApp.buildComponent(t))}),!0}})}},{key:"initColorPickers",value:function(e){var t=(0,a.default)(".colorpicker-input");e&&e.length&&(t=e.find(".colorpicker-input")),t.length&&t.minicolors()}},{key:"initBootstrapSwitches",value:function(e){var t=(0,a.default)(".rz-boolean-checkbox");e&&e.length&&(t=e.find(".rz-boolean-checkbox")),t.bootstrapSwitch({size:"small"})}},{key:"initMarkdownEditors",value:function(e){var t=[],n=(t=e&&e.length?e.find("textarea[data-rz-markdowneditor]"):(0,a.default)("textarea[data-rz-markdowneditor]")).length;if(n)for(var i=0;i= 1.2.3 - */!function(a){r=[n("0iPh")],void 0===(o="function"==typeof(i=a)?i.apply(t,r):i)||(e.exports=o)}(function(e){e.fn.addBack=e.fn.addBack||e.fn.andSelf,e.fn.extend({actual:function(t,n){if(!this[t])throw'$.actual => The jQuery method "'+t+'" you called does not exist';var i,r,o=e.extend({absolute:!1,clone:!1,includeMargin:!1,display:"block"},n),a=this.eq(0);if(!0===o.clone)i=function(){a=a.clone().attr("style","position: absolute !important; top: -1000 !important; ").appendTo("body")},r=function(){a.remove()};else{var s,l=[],u="";i=function(){s=a.parents().addBack().filter(":hidden"),u+="visibility: hidden !important; display: "+o.display+" !important; ",!0===o.absolute&&(u+="position: absolute !important; "),s.each(function(){var t=e(this),n=t.attr("style");l.push(n),t.attr("style",n?n+";"+u:u)})},r=function(){s.each(function(t){var n=e(this),i=l[t];void 0===i?n.removeAttr("style"):n.attr("style",i)})}}i();var c=/(outer)/.test(t)?a[t](o.includeMargin):a[t]();return r(),c}})})},"s/f/":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("swoF"),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,function(){return i[e]})}(o);var a=n("tE9B"),s=n.n(a),l=n("/4AN")(r.a,s.a,!1,null,null,null);t.default=l.exports},sOvm:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a(n("dACh")),r=a(n("jx4H")),o=a(n("0iPh"));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(){function e(){(0,i.default)(this,e),this.$list=(0,o.default)(".node-type-fields > .uk-sortable"),this.currentRequest=null,this.onSortableChange=this.onSortableChange.bind(this),this.init()}return(0,r.default)(e,[{key:"init",value:function(){this.$list.length&&this.$list.children().length>1&&this.$list.on("change.uk.sortable",this.onSortableChange)}},{key:"unbind",value:function(){this.$list.length&&this.$list.children().length>1&&this.$list.off("change.uk.sortable",this.onSortableChange)}},{key:"onSortableChange",value:function(e,t,n){this.currentRequest&&4!==this.currentRequest.readyState&&this.currentRequest.abort();var i=(0,o.default)(n),r=parseInt(i.data("field-id")),a=i.prev(),s=0;0===a.length?(a=i.next(),s=parseInt(a.data("position"))-.5):s=parseInt(a.data("position"))+.5;var l={_token:window.Rozier.ajaxToken,_action:"updatePosition",nodeTypeFieldId:r,newPosition:s};this.currentRequest=o.default.ajax({url:window.Rozier.routes.nodeTypesFieldAjaxEdit.replace("%nodeTypeFieldId%",r),type:"POST",dataType:"json",data:l}).done(function(e){i.attr("data-position",s),window.UIkit.notify({message:e.responseText,status:e.status,timeout:3e3,pos:"top-center"})}).fail(function(e){e=JSON.parse(e.responseText),window.UIkit.notify({message:e.error_message,status:"danger",timeout:3e3,pos:"top-center"})})}}]),e}();t.default=s},si9I:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={props:{onClick:{required:!0,type:Function},filterExplorerSelectedItems:{required:!1,type:Object},isFilterExplorerOpen:{required:!0,type:Boolean},entity:{required:!0},icon:{required:!0,type:String}}}},stwt:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=l(n("dACh")),r=l(n("jx4H")),o=l(n("0iPh")),a=n("EQNM"),s=n("Tzw7");function l(e){return e&&e.__esModule?e:{default:e}}var u=function(){function e(){(0,i.default)(this,e),this.$menu=(0,o.default)("#menu-mobile"),this.$adminMenu=(0,o.default)("#admin-menu"),this.$adminMenuLink=this.$adminMenu.find("a"),this.$adminMenuNavParent=this.$adminMenu.find(".uk-parent"),this.$searchButton=(0,o.default)("#search-button"),this.$searchPanel=(0,o.default)("#nodes-sources-search"),this.$treeButton=(0,o.default)("#tree-button"),this.$treeWrapper=(0,o.default)("#tree-wrapper"),this.$treeWrapperLink=this.$treeWrapper.find("a"),this.$userPicture=(0,o.default)("#user-picture"),this.$userActions=(0,o.default)(".user-actions"),this.$userActionsLink=this.$userActions.find("a"),this.$mainContentOverlay=(0,o.default)("#main-content-overlay"),this.menuOpen=!1,this.searchOpen=!1,this.treeOpen=!1,this.adminOpen=!1,this.menuClick=this.menuClick.bind(this),this.adminMenuLinkClick=this.adminMenuLinkClick.bind(this),this.adminMenuNavParentClick=this.adminMenuNavParentClick.bind(this),this.searchButtonClick=this.searchButtonClick.bind(this),this.treeButtonClick=this.treeButtonClick.bind(this),this.treeWrapperLinkClick=this.treeWrapperLinkClick.bind(this),this.userPictureClick=this.userPictureClick.bind(this),this.userActionsLinkClick=this.userActionsLinkClick.bind(this),this.mainContentOverlayClick=this.mainContentOverlayClick.bind(this),this.init()}return(0,r.default)(e,[{key:"init",value:function(){this.$userPicture.length&&(0,s.addClass)(this.$userPicture[0],"rz-no-ajax-link"),this.$menu.on("click",this.menuClick),this.$adminMenuLink.on("click",this.adminMenuLinkClick),this.$adminMenuNavParent.on("click",this.adminMenuNavParentClick),this.$searchButton.on("click",this.searchButtonClick),this.$treeButton.on("click",this.treeButtonClick),this.$treeWrapperLink.on("click",this.treeWrapperLinkClick),this.$userPicture.on("click",this.userPictureClick),this.$userActionsLink.on("click",this.userActionsLinkClick),this.$mainContentOverlay.on("click",this.mainContentOverlayClick),window.addEventListener("pageload",this.mainContentOverlayClick)}},{key:"menuClick",value:function(e){this.menuOpen?this.closeMenu():this.openMenu()}},{key:"adminMenuNavParentClick",value:function(e){var t=(0,o.default)(e.currentTarget),n=(0,o.default)(e.currentTarget).find(".uk-nav-sub");if(t.hasClass("nav-open"))a.TweenLite.to(n,.6,{height:0,ease:a.Expo.easeOut,onComplete:function(){n[0].style.display="none"}}),t.removeClass("nav-open");else{var i=41*n.find(".uk-nav-sub-item").length-3;n[0].style.display="block",a.TweenLite.to(n,.6,{height:i,ease:a.Expo.easeOut,onComplete:function(){}}),t.addClass("nav-open")}}},{key:"adminMenuLinkClick",value:function(e){this.menuOpen&&this.closeMenu()}},{key:"openMenu",value:function(){this.closeSearch(),this.closeTree(),this.closeUser(),a.TweenLite.to(this.$adminMenu,.6,{x:0,ease:a.Expo.easeOut}),this.$mainContentOverlay.length&&(this.$mainContentOverlay[0].style.display="block",a.TweenLite.to(this.$mainContentOverlay,.6,{opacity:.5,ease:a.Expo.easeOut})),this.menuOpen=!0}},{key:"closeMenu",value:function(){var e=this,t=.8*-window.Rozier.windowWidth;a.TweenLite.to(this.$adminMenu,.6,{x:t,ease:a.Expo.easeOut}),a.TweenLite.to(this.$mainContentOverlay,.6,{opacity:0,ease:a.Expo.easeOut,onComplete:function(){e.$mainContentOverlay.length&&(e.$mainContentOverlay[0].style.display="none")}}),this.menuOpen=!1}},{key:"searchButtonClick",value:function(e){this.searchOpen?this.closeSearch():this.openSearch()}},{key:"openSearch",value:function(){this.closeMenu(),this.closeTree(),this.closeUser(),a.TweenLite.to(this.$searchPanel,.6,{x:0,ease:a.Expo.easeOut}),this.$mainContentOverlay.length&&(this.$mainContentOverlay[0].style.display="block",a.TweenLite.to(this.$mainContentOverlay,.6,{opacity:.5,ease:a.Expo.easeOut})),this.$searchButton.addClass("active"),this.searchOpen=!0}},{key:"closeSearch",value:function(){var e=this,t=.8*-window.Rozier.windowWidth;a.TweenLite.to(this.$searchPanel,.6,{x:t,ease:a.Expo.easeOut}),a.TweenLite.to(this.$mainContentOverlay,.6,{opacity:0,ease:a.Expo.easeOut,onComplete:function(){e.$mainContentOverlay[0].style.display="none"}}),this.$searchButton.removeClass("active"),this.searchOpen=!1}},{key:"treeButtonClick",value:function(e){this.treeOpen?this.closeTree():this.openTree()}},{key:"treeWrapperLinkClick",value:function(e){-1===e.currentTarget.className.indexOf("tab-link")&&this.treeOpen&&this.closeTree()}},{key:"openTree",value:function(){this.closeMenu(),this.closeSearch(),this.closeUser(),a.TweenLite.to(this.$treeWrapper,.6,{x:0,ease:a.Expo.easeOut}),this.$mainContentOverlay[0].style.display="block",a.TweenLite.to(this.$mainContentOverlay,.6,{opacity:.5,ease:a.Expo.easeOut}),this.$treeButton.addClass("active"),this.treeOpen=!0}},{key:"closeTree",value:function(){var e=this,t=.8*-window.Rozier.windowWidth;a.TweenLite.to(this.$treeWrapper,.6,{x:t,ease:a.Expo.easeOut}),a.TweenLite.to(this.$mainContentOverlay,.6,{opacity:0,ease:a.Expo.easeOut,onComplete:function(){e.$mainContentOverlay[0].style.display="none"}}),(0,s.removeClass)(this.$treeButton[0],"active"),this.treeOpen=!1}},{key:"userPictureClick",value:function(e){return this.userOpen?this.closeUser():this.openUser(),!1}},{key:"userActionsLinkClick",value:function(e){this.userOpen&&this.closeUser()}},{key:"openUser",value:function(){this.closeMenu(),this.closeSearch(),this.closeTree(),a.TweenLite.to(this.$userActions,.6,{x:0,ease:a.Expo.easeOut}),this.$mainContentOverlay.length&&(this.$mainContentOverlay[0].style.display="block",a.TweenLite.to(this.$mainContentOverlay,.6,{opacity:.5,ease:a.Expo.easeOut})),this.$userPicture.addClass("active"),this.userOpen=!0}},{key:"closeUser",value:function(){var e=this,t=.8*window.Rozier.windowWidth;a.TweenLite.to(this.$userActions,.6,{x:t,ease:a.Expo.easeOut}),a.TweenLite.to(this.$mainContentOverlay,.6,{opacity:0,ease:a.Expo.easeOut,onComplete:function(){e.$mainContentOverlay[0].style.display="none"}}),this.$userPicture.removeClass("active"),this.userOpen=!1}},{key:"mainContentOverlayClick",value:function(e){this.closeMenu(),this.closeTree(),this.closeUser(),this.closeSearch()}},{key:"resize",value:function(){}}]),e}();t.default=u},swoF:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={props:{length:{required:!0,type:Number},itemCount:{required:!0,type:Number,default:0}}}},t4hZ:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=s(n("zv2j")),r=s(n("dACh")),o=s(n("jx4H")),a=s(n("0iPh"));function s(e){return e&&e.__esModule?e:{default:e}}var l="roadiz.currentMainTreeTab",u=function(){function e(){(0,r.default)(this,e),this.onTabChange=this.onTabChange.bind(this),this.tabsMenu=(0,a.default)("#tree-menu");var t=window.localStorage.getItem(l);this.tabsMenu&&(window.UIkit.tab(this.tabsMenu,{connect:"#tree-container",swiping:!1,active:t?(0,i.default)(t):0}),this.tabsMenu.on("change.uk.tab",this.onTabChange))}return(0,o.default)(e,[{key:"unbind",value:function(){this.tabsMenu.off("change.uk.tab",this.onTabChange)}},{key:"onTabChange",value:function(e,t,n){var i=(t=t[0]).getAttribute("data-index");i&&window.localStorage.setItem(l,i)}}]),e}();t.default=u},tE9B:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"fade"}},[e.length&&e.itemCount?n("div",{staticClass:"widget-explorer-infos"},[e._v("\n "+e._s(e.length)+" / "+e._s(e.itemCount)+"\n ")]):e._e()])},staticRenderFns:[]};t.default=i},tjLZ:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a(n("dACh")),r=a(n("jx4H")),o=a(n("0iPh"));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(){function e(){(0,i.default)(this,e),this.$tagsCheckboxes=(0,o.default)("input.tag-checkbox"),this.$tagsIdBulkTags=(0,o.default)("input.tags-id-bulk-tags"),this.$tagsIdBulkStatus=(0,o.default)("input.tags-id-bulk-status"),this.$actionsMenu=(0,o.default)(".tags-bulk-actions"),this.$tagsFolderButton=(0,o.default)(".uk-button-bulk-folder-tags"),this.$tagsFolderCont=(0,o.default)(".tags-bulk-folder-cont"),this.$tagsStatusButton=(0,o.default)(".uk-button-bulk-status-tags"),this.$tagsStatusCont=(0,o.default)(".tags-bulk-status-cont"),this.$tagsSelectAll=(0,o.default)(".uk-button-select-all"),this.$tagsDeselectAll=(0,o.default)(".uk-button-bulk-deselect"),this.tagsFolderOpen=!1,this.tagsStatusOpen=!1,this.tagsIds=null,this.onCheckboxChange=this.onCheckboxChange.bind(this),this.tagsFolderButtonClick=this.tagsFolderButtonClick.bind(this),this.tagsStatusButtonClick=this.tagsStatusButtonClick.bind(this),this.onSelectAll=this.onSelectAll.bind(this),this.onDeselectAll=this.onDeselectAll.bind(this),this.$tagsCheckboxes.length&&this.init()}return(0,r.default)(e,[{key:"init",value:function(){this.$tagsCheckboxes.on("change",this.onCheckboxChange),this.$tagsStatusButton.on("click",this.tagsStatusButtonClick),this.$tagsFolderButton.on("click",this.tagsFolderButtonClick),this.$tagsSelectAll.on("click",this.onSelectAll),this.$tagsDeselectAll.on("click",this.onDeselectAll)}},{key:"unbind",value:function(){this.$tagsCheckboxes.length&&(this.$tagsCheckboxes.off("change",this.onCheckboxChange),this.$tagsStatusButton.off("click",this.tagsStatusButtonClick),this.$tagsFolderButton.off("click",this.tagsFolderButtonClick),this.$tagsSelectAll.off("click",this.onSelectAll),this.$tagsDeselectAll.off("click",this.onDeselectAll))}},{key:"onSelectAll",value:function(){return this.$tagsCheckboxes.prop("checked",!0),this.onCheckboxChange(null),!1}},{key:"onDeselectAll",value:function(){return this.$tagsCheckboxes.prop("checked",!1),this.onCheckboxChange(null),!1}},{key:"onCheckboxChange",value:function(){var e=this;return this.tagsIds=[],(0,o.default)("input.tag-checkbox:checked").each(function(t,n){e.tagsIds.push((0,o.default)(n).val())}),this.$tagsIdBulkTags.length&&this.$tagsIdBulkTags.val(this.tagsIds.join(",")),this.$tagsIdBulkStatus.length&&this.$tagsIdBulkStatus.val(this.tagsIds.join(",")),this.tagsIds.length>0?this.showActions():this.hideActions(),!1}},{key:"onBulkDelete",value:function(){return this.tagsIds.length>0&&(history.pushState({headerData:{tags:this.tagsIds}},null,window.Rozier.routes.tagsBulkDeletePage),window.Rozier.lazyload.onPopState(null)),!1}},{key:"showActions",value:function(){this.$actionsMenu.slideDown()}},{key:"hideActions",value:function(){this.$actionsMenu.slideUp()}},{key:"tagsFolderButtonClick",value:function(){return this.tagsFolderOpen?(this.$tagsFolderCont.slideUp(),this.tagsFolderOpen=!1):(this.$tagsStatusCont.slideUp(),this.tagsStatusOpen=!1,this.$tagsFolderCont.slideDown(),this.tagsFolderOpen=!0),!1}},{key:"tagsStatusButtonClick",value:function(){return this.tagsStatusOpen?(this.$tagsStatusCont.slideUp(),this.tagsStatusOpen=!1):(this.$tagsFolderCont.slideUp(),this.tagsFolderOpen=!1,this.$tagsStatusCont.slideDown(),this.tagsStatusOpen=!0),!1}}]),e}();t.default=s},uC1N:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=f(n("dACh")),r=f(n("jx4H")),o=n("EY70"),a=f(n("cDWz")),s=f(n("JoZF")),l=f(n("WGNA")),u=f(n("YtUu")),c=f(n("gXIW")),d=f(n("ug2n")),h=f(n("lTHl"));function f(e){return e&&e.__esModule?e:{default:e}}var p=function(){function e(){(0,i.default)(this,e)}return(0,r.default)(e,null,[{key:"getState",value:function(e){var t={trans:{moreItems:""},isFilterEnable:!1};switch(e){case o.DOCUMENT_ENTITY:t.currentListingView=a.default,t.filterExplorerIcon="uk-icon-rz-folder-tree-mini",t.trans.moreItems="moreDocuments",t.isFilterEnable=!0;break;case o.NODE_ENTITY:t.currentListingView=s.default,t.filterExplorerIcon="uk-icon-tags",t.trans.moreItems="moreNodes",t.isFilterEnable=!0;break;case o.EXPLORER_PROVIDER_ENTITY:case o.JOIN_ENTITY:t.currentListingView=l.default,t.trans.moreItems="moreEntities";break;case o.CUSTOM_FORM_ENTITY:t.currentListingView=u.default;break;case o.NODE_TYPE_ENTITY:t.currentListingView=c.default,t.trans.moreItems="moreNodeTypes";break;case o.TAG_ENTITY:t.currentListingView=d.default,t.trans.moreItems="moreTags",t.isFilterEnable=!0,t.filterExplorerIcon="uk-icon-tags"}return t}},{key:"getListingView",value:function(e){switch(e){case o.DOCUMENT_ENTITY:return a.default;case o.NODE_ENTITY:return s.default;case o.EXPLORER_PROVIDER_ENTITY:case o.JOIN_ENTITY:return l.default;case o.CUSTOM_FORM_ENTITY:return u.default;case o.NODE_TYPE_ENTITY:return c.default;case o.TAG_ENTITY:return d.default}}},{key:"getWidgetView",value:function(e){switch(e){case o.TAG_ENTITY:return h.default;default:return null}}}]),e}();t.default=p},"uHX/":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o(n("GyB/")),r=o(n("tQq4"));function o(e){return e&&e.__esModule?e:{default:e}}n("DcmQ"),n("hCSc"),t.default={props:{name:{type:String,required:!0},initialValue:{type:String,default:""},options:{type:Object,default:function(){return{mode:"yaml",lineNumbers:!0,theme:"mbo",tabSize:4,indentUnit:4,indentWithTabs:!1,lineWrapping:!0,dragDrop:!1,readOnly:!1}}}},ready:function(){this.build()},mounted:function(){this.build()},watch:{value:function(e,t){if(e!==this.editor.getValue()){var n=this.editor.getScrollInfo();this.editor.setValue(e),this.editor.scrollTo(n.left,n.top)}},options:function(e,t){if("object"===(void 0===e?"undefined":(0,i.default)(e)))for(var n in e)e.hasOwnProperty(n)&&this.editor.setOption(n,e[n])}},beforeDestroy:function(){this.editor&&this.editor.doc.cm.getWrapperElement().remove()},methods:{build:function(){var e=this;this.editor=r.default.fromTextArea(this.$el,this.options),this.editor.on("change",function(t){e.value=t.getValue(),e.$emit&&(e.$emit("change",t.getValue()),e.$emit("input",t.getValue()))}),this.$el.hasAttribute("disabled")&&this.editor.setOption("readOnly",!0),this.editor.setValue(this.initialValue),this.editor.refresh()}}}},ug2n:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("rWnD"),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,function(){return i[e]})}(o);var a=n("l/s5"),s=n.n(a),l=n("/4AN")(r.a,s.a,!1,null,null,null);t.default=l.exports},umdK:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){return e&&e.__esModule?e:{default:e}}(n("L3Vt"));t.getExplorerItems=function(e){var t=e.entity,n=e.searchTerms,h=e.preFilters,f=e.filters,p=e.filterExplorerSelection,m=e.moreData,g=void 0!==m&&m;switch(t){case r.DOCUMENT_ENTITY:return o.getDocuments({searchTerms:n,preFilters:h,filters:f,filterExplorerSelection:p,moreData:g});case r.NODE_ENTITY:return a.getNodes({searchTerms:n,preFilters:h,filters:f,filterExplorerSelection:p,moreData:g});case r.NODE_TYPE_ENTITY:return s.getNodeTypes({searchTerms:n,preFilters:h,filters:f,filterExplorerSelection:p,moreData:g});case r.JOIN_ENTITY:return l.getJoins({searchTerms:n,preFilters:h,filters:f,filterExplorerSelection:p,moreData:g});case r.CUSTOM_FORM_ENTITY:return u.getCustomForms({searchTerms:n,preFilters:h,filters:f,filterExplorerSelection:p,moreData:g});case r.TAG_ENTITY:return c.getTags({searchTerms:n,preFilters:h,filters:f,filterExplorerSelection:p,moreData:g});case r.EXPLORER_PROVIDER_ENTITY:return d.getItems({searchTerms:n,preFilters:h,filters:f,filterExplorerSelection:p,moreData:g})}return i.default.reject(new Error("No type entity found"))};var r=n("EY70"),o=h(n("2y8T")),a=h(n("vfsJ")),s=h(n("O/s3")),l=h(n("m1Vf")),u=h(n("8DOo")),c=h(n("RfA7")),d=h(n("CpLN"));function h(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}},vEJa:function(e,t,n){var i=n("DWDv");"string"==typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);n("X/Wc")("0fc9798b",i,!0,{})},vfsJ:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getNodesByIds=function(e){var t=e.ids,n=void 0===t?[]:t,r={_token:window.RozierRoot.ajaxToken,_action:"nodesByIds",ids:n};return(0,i.default)({method:"GET",url:window.RozierRoot.routes.nodesAjaxByArray,params:r}).then(function(e){return void 0!==e.data&&e.data.items?{items:e.data.items}:null}).catch(function(e){throw new Error(e.response.data.humanMessage)})},t.getNodes=function(e){var t=e.searchTerms,n=e.preFilters,r=e.filters,o=e.filterExplorerSelection,a=e.moreData,s={_token:window.RozierRoot.ajaxToken,_action:"toggleExplorer",search:t,page:1};o&&o.id&&(s.tagId=o.id);n&&n.nodeTypes&&(s.nodeTypes=JSON.parse(n.nodeTypes));a&&(s.page=r?r.nextPage:1);return(0,i.default)({method:"GET",url:window.RozierRoot.routes.nodesAjaxExplorer,params:s}).then(function(e){return void 0!==e.data&&e.data.nodes?{items:e.data.nodes,filters:e.data.filters}:{}}).catch(function(e){throw new Error(e)})};var i=function(e){return e&&e.__esModule?e:{default:e}}(n("dZBD"))},wGGZ:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=d(n("GyB/")),r=d(n("T4f3")),o=d(n("0iPh")),a=d(n("lRwf")),s=n("SJI6"),l=d(n("4NIs")),u=d(n("BIao")),c=d(n("dy4P"));function d(e){return e&&e.__esModule?e:{default:e}}t.default={data:function(){return{selected:"",currentView:null,entity:"",mode:""}},mounted:function(){var e=this;for(var t in this.$formColIndexed=(0,o.default)(this.$el.getElementsByClassName("form-col-indexed")[0]),this.$formColUniversal=(0,o.default)(this.$el.getElementsByClassName("form-col-universal")[0]),this.$formColMinLength=(0,o.default)(this.$el.getElementsByClassName("form-col-minLength")[0]),this.$formColMaxLength=(0,o.default)(this.$el.getElementsByClassName("form-col-maxLength")[0]),this.$formColDefaultValues=(0,o.default)(this.$el.getElementsByClassName("form-col-defaultValues")[0]),this.$formSelectOption=(0,o.default)(this.$el).find("#nodetypefield_type option"),this.$formSelectOption.each(function(t,n){var i=(0,o.default)(n);i.attr("selected")&&(e.selected=i.val())}),this.$formElements={indexed:this.$formColIndexed,universal:this.$formColUniversal,minLength:this.$formColMinLength,maxLength:this.$formColMaxLength,defaultValues:this.$formColDefaultValues},this.$formElements)this.$formElements.hasOwnProperty(t)&&this.$formElements[t].addClass("hidden");this.defaultConfig={indexed:!0,universal:!0,minLength:!0,maxLength:!0,defaultValues:!0},this.currentView=l.default,this.config={1:{minLength:!0,maxLength:!0,defaultValues:{view:u.default,mode:"yaml"}},13:{defaultValues:{view:c.default,entity:"node-type"}},16:{defaultValues:{view:c.default,entity:"node-type"}},27:{defaultValues:{view:u.default,mode:"yaml"}},28:{defaultValues:{view:u.default,mode:"yaml"}},29:{defaultValues:{view:u.default,mode:"yaml"}},30:{defaultValues:{view:u.default,mode:"yaml"}},31:{defaultValues:{view:u.default,mode:"yaml"}},4:{defaultValues:{view:u.default,mode:"yaml"}}}},watch:{selected:function(e){var t=this;this.escape(),this.currentView=null,this.entity=null,a.default.nextTick(function(){window.setTimeout(function(){t.setConfig(e)},100)})}},methods:(0,r.default)({},(0,s.mapActions)(["escape","explorerClose","filterExplorerClose"]),{setConfig:function(e){var t=this.defaultConfig;for(var n in this.config[e]&&(t=(0,r.default)({},t,this.config[e])),this.$formElements)this.$formElements.hasOwnProperty(n)&&t.hasOwnProperty(n)&&(!0===t[n]?(this.$formElements[n].removeClass("hidden"),this.currentView=l.default):"object"===(0,i.default)(t[n])?(this.$formElements[n].removeClass("hidden"),this.entity=t[n].entity,this.mode=t[n].mode,this.currentView=t[n].view):(this.$formElements[n].addClass("hidden"),this.currentView=l.default))}})}},wi4E:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a(n("dACh")),r=a(n("jx4H")),o=a(n("0iPh"));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(){function e(){(0,i.default)(this,e);var t=this;(0,o.default)(".rz-folder-autocomplete").bind("keydown",function(e){e.keyCode===o.default.ui.keyCode.TAB&&(0,o.default)(this).autocomplete("instance").menu.active&&e.preventDefault()}).autocomplete({source:function(e,n){o.default.getJSON(window.Rozier.routes.foldersAjaxSearch,{_action:"folderAutocomplete",_token:window.Rozier.ajaxToken,search:t.extractLast(e.term)},n)},search:function(){if(t.extractLast(this.value).length<2)return!1},focus:function(){return!1},select:function(e,n){var i=t.split(this.value);return i.pop(),i.push(n.item.value),i.push(""),this.value=i.join(", "),!1}})}return(0,r.default)(e,[{key:"unbind",value:function(){}},{key:"split",value:function(e){return e.split(/,\s*/)}},{key:"extractLast",value:function(e){return this.split(e).pop()}}]),e}();t.default=s},x4pS:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=g(n("aIIw")),r=g(n("kcQR")),o=g(n("HxWs")),a=g(n("X9RM")),s=g(n("BX4+")),l=g(n("dACh")),u=g(n("jx4H")),c=g(n("VOrx")),d=g(n("ZKjc")),h=g(n("0iPh")),f=n("ZysM"),p=g(f),m=n("f3z0");function g(e){return e&&e.__esModule?e:{default:e}}var v=function(e){function t(){(0,l.default)(this,t);var e=(0,c.default)(this,(t.__proto__||(0,s.default)(t)).call(this));return e.$fields=document.querySelectorAll(".rz-multi-geotag-field:not(.is-enable)"),e.$fields.length&&e.init(),e}return(0,d.default)(t,e),(0,u.default)(t,[{key:"resetMarker",value:function(e,t,n,i,r){t.value="";var o=!0,s=!1,l=void 0;try{for(var u,c=(0,a.default)(e);!(o=(u=c.next()).done);o=!0){var d=u.value;null!==d&&d.removeFrom(i)}}catch(e){s=!0,l=e}finally{try{!o&&c.return&&c.return()}finally{if(s)throw l}}return e=[],n.style.display="none",this.syncSelector(r,e,i,t),!1}},{key:"bindSingleField",value:function(e){var t=e.parentElement.querySelector(".uk-form-label"),n=t.innerHTML||"Geotag";t.style.display="none";var i=null;i=window.Rozier.defaultMapLocation?window.Rozier.defaultMapLocation:f.DEFAULT_LOCATION;var r="geotag-canvas-"+this.uniqid(),o=r+"-address",s=r+"-reset",l={center:this.createLatLng(i),zoom:i.zoom||i.alt,scrollwheel:!1,styles:window.Rozier.mapsStyle};e.style.display="none",e.setAttribute("data-geotag-canvas",r);var u=['",'
            ','
              ',"
            ",'
            ',"
            "].join(""),c=document.createElement("div");c.innerHTML=u,e.after(c);var d=document.getElementById(o);d.setAttribute("placeholder",window.Rozier.messages.geotag.typeAnAddress);var p=document.getElementById(s);p.style.display="none";var m=this.createMap(r,l),g=[],v=e.parentElement.querySelector(".multi-geotag-list-markers");if(""!==e.value)try{var _=JSON.parse(e.value);if(!_.features)throw new Error("Data is not a valid GeoJSON featureCollection");var b=!0,w=!1,k=void 0;try{for(var y,E=(0,a.default)(_.features);!(b=(y=E.next()).done);b=!0){var C=y.value,x=this.createMarker(C,m);x.on("dragend",h.default.proxy(this.setMarkerEvent,this,x,g,e,p,m,v)),g.push(x)}}catch(e){w=!0,k=e}finally{try{!b&&E.return&&E.return()}finally{if(w)throw k}}p.style.display="inline-block"}catch(t){return e.style.display="block",(0,h.default)(document.getElementById(r)).style.display="none",!1}m.on("click",h.default.proxy(this.setMarkerEvent,this,null,g,e,p,m,v)),d.addEventListener("keypress",h.default.proxy(this.requestGeocode,this,g,e,p,m,v)),p.addEventListener("click",h.default.proxy(this.resetMarker,this,g,e,p,m,v)),window.Rozier.$window.on("resize",h.default.proxy(this.resetMap,this,m,g,l)),window.Rozier.$window.on("pageshowend",h.default.proxy(this.resetMap,this,m,g,l)),this.resetMap(m,g,l,null),this.syncSelector(v,g,m,e)}},{key:"syncSelector",value:function(e,t,n,i){e.innerHTML="";var r=[],o=0,s=t.filter(function(e){return null!==e&&null!==e.getLatLng()}),l=!0,u=!1,c=void 0;try{for(var d,f=(0,a.default)(s);!(l=(d=f.next()).done);l=!0){var p=d.value;["
          • ",'',p.name?p.name:"#"+o,"",'','','',"","
          • "].forEach(function(e){return r.push(e)}),o++}}catch(e){u=!0,c=e}finally{try{!l&&f.return&&f.return()}finally{if(u)throw c}}e.innerHTML=r.join("");var m=0,g=!0,v=!1,_=void 0;try{for(var b,w=(0,a.default)(s);!(g=(b=w.next()).done);g=!0){var k=b.value,y=e.querySelector('.rz-multi-geotag-center[data-geocode-id="'+m+'"]'),E=e.querySelector('.rz-multi-geotag-remove[data-geocode-id="'+m+'"]');y&&E&&(y.addEventListener("click",h.default.proxy(this.centerMap,this,n,k)),E.addEventListener("click",h.default.proxy(this.removeMarker,this,n,t,k,e,i))),m++}}catch(e){v=!0,_=e}finally{try{!g&&w.return&&w.return()}finally{if(v)throw _}}}},{key:"removeMarker",value:function(e,t,n,i,r,o){o&&o.preventDefault();var a=t.indexOf(n);return n.removeFrom(e),t.splice(a,1),this.syncSelector(i,t,e,r),this.writeMarkers(t,r),!1}},{key:"resetMap",value:function(e,t,n,i){i&&i.preventDefault(),e.invalidateSize(!0),void 0!==t&&t.length>0?e.fitBounds(this.getMediumLatLng(t)):e.panTo(n.center)}},{key:"centerMap",value:function(e,t,n){if(n&&n.preventDefault(),e&&t){var i=t.getLatLng();e.flyTo(i,i.alt)}}},{key:"getMediumLatLng",value:function(e){var t=new m.LatLngBounds,n=!0,i=!1,r=void 0;try{for(var o,s=(0,a.default)(e);!(n=(o=s.next()).done);n=!0){var l=o.value;t.extend(l.getLatLng())}}catch(e){i=!0,r=e}finally{try{!n&&s.return&&s.return()}finally{if(i)throw r}}return t}},{key:"setMarkerEvent",value:function(e,t,n,i,r,o,a){if(a.latlng)this.setMarker(e,t,n,i,r,a.latlng);else if(null!==e){var s=e.getLatLng();s.alt=r.getZoom(),e.setLatLng(s),r.flyTo(s,s.alt),this.writeMarkers(t,n)}this.syncSelector(o,t,r,n)}},{key:"setMarker",value:function(e,t,n,i,r,o,a){return r&&(o.alt||(o.alt=r.getZoom()),null===e?e=this.createMarker(o,r):(e.setLatLng(o),e.addTo(r)),e.name=a,r.flyTo(o,o.alt),t.push(e),this.writeMarkers(t,n),i.style.display="inline-block"),e}},{key:"writeMarkers",value:function(e,t){var n={type:"FeatureCollection",features:[]},i=!0,r=!1,s=void 0;try{for(var l,u=(0,a.default)(e);!(i=(l=u.next()).done);i=!0){var c=l.value;if(c){var d=c.getLatLng();n.features.push(this.latLngToFeature(d,d.alt,c.name))}}}catch(e){r=!0,s=e}finally{try{!i&&u.return&&u.return()}finally{if(r)throw s}}t.value=(0,o.default)(n)}},{key:"requestGeocode",value:function(){var e=(0,r.default)(i.default.mark(function e(t,n,r,o,a,s){var l,u;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(l=s.currentTarget.value,!s.which||13!==s.which){e.next=12;break}return s.preventDefault(),e.next=5,this.getLatLngForAddress(l);case 5:if(null!==(u=e.sent)){e.next=9;break}return console.error("Geocode was not successful."),e.abrupt("return");case 9:u.alt=o.getZoom(),this.setMarker(null,t,n,r,o,u,u.name||""),this.syncSelector(a,t,o,n);case 12:case"end":return e.stop()}},e,this)}));return function(t,n,i,r,o,a){return e.apply(this,arguments)}}()}]),t}(p.default);t.default=v},xHmi:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.NODES_SEARCH_REQUEST="NODES_SEARCH_REQUEST",t.NODES_SEARCH_SUCCESS="NODES_SEARCH_SUCCESS",t.NODES_SEARCH_RESET="NODES_SEARCH_RESET",t.NODES_SEARCH_FAILED="NODES_SEARCH_FAILED",t.NODES_SEARCH_ENABLE_FOCUS="NODES_SEARCH_ENABLE_FOCUS",t.NODES_SEARCH_DISABLE_FOCUS="NODES_SEARCH_DISABLE_FOCUS",t.EXPLORER_REQUEST="EXPLORER_REQUEST",t.EXPLORER_SUCCESS="EXPLORER_SUCCESS",t.EXPLORER_RESET="EXPLORER_RESET",t.EXPLORER_FAILED="EXPLORER_FAILED",t.EXPLORER_OPEN="EXPLORER_OPEN",t.EXPLORER_CLOSE="EXPLORER_CLOSE",t.EXPLORER_LOAD_MORE="EXPLORER_LOAD_MORE",t.EXPLORER_LOAD_MORE_SUCCESS="EXPLORER_LOAD_MORE_SUCCESS",t.EXPLORER_IS_LOADED="EXPLORER_IS_LOADED",t.EXPLORER_UPDATE_SEARCH_TERMS="EXPLORER_UPDATE_SEARCH_TERMS",t.EXPLORER_UPDATE_FILTERS="EXPLORER_UPDATE_FILTERS",t.FILTER_EXPLORER_OPEN="FILTER_EXPLORER_OPEN",t.FILTER_EXPLORER_CLOSE="FILTER_EXPLORER_CLOSE",t.FILTER_EXPLORER_REQUEST="FILTER_EXPLORER_REQUEST",t.FILTER_EXPLORER_SUCCESS="FILTER_EXPLORER_SUCCESS",t.FILTER_EXPLORER_FAILED="FILTER_EXPLORER_FAILED",t.FILTER_EXPLORER_UPDATE="FILTER_EXPLORER_UPDATE",t.FILTER_EXPLORER_RESET="FILTER_EXPLORER_RESET",t.KEYBOARD_EVENT_ESCAPE="KEYBOARD_EVENT_ESCAPE",t.KEYBOARD_EVENT_SPACE="KEYBOARD_EVENT_SPACE",t.LOGIN_CHECK_DISCONNECTED="LOGIN_CHECK_DISCONNECTED",t.LOGIN_CHECK_CONNECTED="LOGIN_CHECK_CONNECTED",t.HEALTH_CHECK_FAILED="HEALTH_CHECK_FAILED",t.HEALTH_CHECK_SUCCEEDED="HEALTH_CHECK_SUCCEEDED",t.DRAWERS_ADD_INSTANCE="DRAWERS_ADD_INSTANCE",t.DRAWERS_REMOVE_INSTANCE="DRAWERS_REMOVE_INSTANCE",t.DRAWERS_ADD_ITEM="DRAWERS_ADD_DOCUMENT",t.DRAWERS_REMOVE_ITEM="DRAWERS_REMOVE_DOCUMENT",t.DRAWERS_EDIT_INSTANCE="DRAWERS_EDIT_INSTANCE",t.DRAWERS_UPDATE_LIST="DRAWERS_UPDATE_LIST",t.DRAWERS_ENABLE_DROPZONE="DRAWERS_ENABLE_DROPZONE",t.DRAWERS_DISABLE_DROPZONE="DRAWERS_DISABLE_DROPZONE",t.DRAWERS_INIT_DATA_REQUEST="DRAWERS_INIT_DATA_REQUEST",t.DRAWERS_INIT_DATA_REQUEST_SUCCESS="DRAWERS_INIT_DATA_REQUEST_SUCCESS",t.DRAWERS_INIT_DATA_REQUEST_FAILED="DRAWERS_INIT_DATA_REQUEST_FAILED",t.DRAWERS_INIT_DATA_REQUEST_EMPTY="DRAWERS_INIT_DATA_REQUEST_EMPTY",t.TAGS_UPDATE_VALUE="TAGS_UPDATE_VALUE",t.TAGS_REQUEST="TAGS_REQUEST",t.TAGS_REQUEST_SUCCESS="TAGS_REQUEST_SUCCESS",t.TAGS_REQUEST_ERROR="TAGS_REQUEST_ERROR",t.TAG_CREATE_NEW_REQUEST="TAG_CREATE_NEW_REQUEST",t.TAG_CREATE_NEW_REQUEST_SUCCESS="TAG_CREATE_NEW_REQUEST_SUCCESS",t.TAG_CREATE_NEW_REQUEST_ERROR="TAG_CREATE_NEW_REQUEST_ERROR",t.TAG_CREATOR_READY="TAG_CREATOR_READY",t.DOCUMENT_PREVIEW_INIT="DOCUMENT_PREVIEW_INIT",t.DOCUMENT_PREVIEW_DESTROY="DOCUMENT_PREVIEW_DESTROY",t.DOCUMENT_PREVIEW_OPEN="DOCUMENT_PREVIEW_OPEN",t.DOCUMENT_PREVIEW_CLOSE="DOCUMENT_PREVIEW_CLOSE",t.BLANCHETTE_EDITOR_INIT="BLANCHETTE_EDITOR_INIT",t.BLANCHETTE_EDITOR_IS_LOADING="BLANCHETTE_EDITOR_IS_LOADING",t.BLANCHETTE_EDITOR_LOADED="BLANCHETTE_EDITOR_LOADED",t.BLANCHETTE_EDITOR_ERROR="BLANCHETTE_EDITOR_ERROR",t.BLANCHETTE_EDITOR_SAVE_SUCCESS="BLANCHETTE_EDITOR_SAVE_SUCCESS"},xlJi:function(e,t){},ygC5:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"slide-left-no-opacity"}},[e.isOpen?n("div",{staticClass:"filter-widget-explorer"},[n("ul",{staticClass:"filters-items"},[n("li",{staticClass:"filters-infos"},[n("div",{staticClass:"infos-content"},[n("transition",{attrs:{name:"fade"}},[e.itemCount||0===e.itemCount?n("div",[n("span",{staticClass:"number"},[e._v(e._s(e.itemCount))]),e._v("\n "+e._s(e.itemCount>1?e.translations.items:e.translations.item)+"\n ")]):e._e()])],1)]),e._v(" "),n("li",{staticClass:"item"},[n("a",{staticClass:"filter-item-link",class:[e.selectedItem?"":"active"],attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.onResetClick(t)}}},[n("i",{staticClass:"uk-icon-rz-unordered-list"}),e._v(" "+e._s(e.translations.see_all)+"\n ")])]),e._v(" "),e._l(e.items,function(t,i){return n("filter-explorer-item",{key:i,attrs:{"current-item":e.selectedItem,icons:e.icons,entity:e.entity,"on-item-click":e.onItemClick,item:t}})})],2)]):e._e()])},staticRenderFns:[]};t.default=i},ywca:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("4YKS"),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,function(){return i[e]})}(o);var a=n("G7TI"),s=n.n(a),l=n("/4AN")(r.a,s.a,!1,null,null,null);t.default=l.exports}},["9wWa"]); \ No newline at end of file + */!function(a){r=[n("0iPh")],void 0===(o="function"==typeof(i=a)?i.apply(t,r):i)||(e.exports=o)}(function(e){e.fn.addBack=e.fn.addBack||e.fn.andSelf,e.fn.extend({actual:function(t,n){if(!this[t])throw'$.actual => The jQuery method "'+t+'" you called does not exist';var i,r,o=e.extend({absolute:!1,clone:!1,includeMargin:!1,display:"block"},n),a=this.eq(0);if(!0===o.clone)i=function(){a=a.clone().attr("style","position: absolute !important; top: -1000 !important; ").appendTo("body")},r=function(){a.remove()};else{var s,l=[],u="";i=function(){s=a.parents().addBack().filter(":hidden"),u+="visibility: hidden !important; display: "+o.display+" !important; ",!0===o.absolute&&(u+="position: absolute !important; "),s.each(function(){var t=e(this),n=t.attr("style");l.push(n),t.attr("style",n?n+";"+u:u)})},r=function(){s.each(function(t){var n=e(this),i=l[t];void 0===i?n.removeAttr("style"):n.attr("style",i)})}}i();var c=/(outer)/.test(t)?a[t](o.includeMargin):a[t]();return r(),c}})})},"s/f/":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("swoF"),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,function(){return i[e]})}(o);var a=n("tE9B"),s=n.n(a),l=n("/4AN")(r.a,s.a,!1,null,null,null);t.default=l.exports},sOvm:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a(n("dACh")),r=a(n("jx4H")),o=a(n("0iPh"));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(){function e(){(0,i.default)(this,e),this.$list=(0,o.default)(".node-type-fields > .uk-sortable"),this.currentRequest=null,this.onSortableChange=this.onSortableChange.bind(this),this.init()}return(0,r.default)(e,[{key:"init",value:function(){this.$list.length&&this.$list.children().length>1&&this.$list.on("change.uk.sortable",this.onSortableChange)}},{key:"unbind",value:function(){this.$list.length&&this.$list.children().length>1&&this.$list.off("change.uk.sortable",this.onSortableChange)}},{key:"onSortableChange",value:function(e,t,n){this.currentRequest&&4!==this.currentRequest.readyState&&this.currentRequest.abort();var i=(0,o.default)(n),r=parseInt(i.data("field-id")),a=i.prev(),s=0;0===a.length?(a=i.next(),s=parseInt(a.data("position"))-.5):s=parseInt(a.data("position"))+.5;var l={_token:window.Rozier.ajaxToken,_action:"updatePosition",nodeTypeFieldId:r,newPosition:s};this.currentRequest=o.default.ajax({url:window.Rozier.routes.nodeTypesFieldAjaxEdit.replace("%nodeTypeFieldId%",r),type:"POST",dataType:"json",data:l}).done(function(e){i.attr("data-position",s),window.UIkit.notify({message:e.responseText,status:e.status,timeout:3e3,pos:"top-center"})}).fail(function(e){e=JSON.parse(e.responseText),window.UIkit.notify({message:e.error_message,status:"danger",timeout:3e3,pos:"top-center"})})}}]),e}();t.default=s},si9I:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={props:{onClick:{required:!0,type:Function},filterExplorerSelectedItems:{required:!1,type:Object},isFilterExplorerOpen:{required:!0,type:Boolean},entity:{required:!0},icon:{required:!0,type:String}}}},stwt:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=l(n("dACh")),r=l(n("jx4H")),o=l(n("0iPh")),a=n("EQNM"),s=n("Tzw7");function l(e){return e&&e.__esModule?e:{default:e}}var u=function(){function e(){(0,i.default)(this,e),this.$menu=(0,o.default)("#menu-mobile"),this.$adminMenu=(0,o.default)("#admin-menu"),this.$adminMenuLink=this.$adminMenu.find("a"),this.$adminMenuNavParent=this.$adminMenu.find(".uk-parent"),this.$searchButton=(0,o.default)("#search-button"),this.$searchPanel=(0,o.default)("#nodes-sources-search"),this.$treeButton=(0,o.default)("#tree-button"),this.$treeWrapper=(0,o.default)("#tree-wrapper"),this.$treeWrapperLink=this.$treeWrapper.find("a"),this.$userPicture=(0,o.default)("#user-picture"),this.$userActions=(0,o.default)(".user-actions"),this.$userActionsLink=this.$userActions.find("a"),this.$mainContentOverlay=(0,o.default)("#main-content-overlay"),this.menuOpen=!1,this.searchOpen=!1,this.treeOpen=!1,this.adminOpen=!1,this.menuClick=this.menuClick.bind(this),this.adminMenuLinkClick=this.adminMenuLinkClick.bind(this),this.adminMenuNavParentClick=this.adminMenuNavParentClick.bind(this),this.searchButtonClick=this.searchButtonClick.bind(this),this.treeButtonClick=this.treeButtonClick.bind(this),this.treeWrapperLinkClick=this.treeWrapperLinkClick.bind(this),this.userPictureClick=this.userPictureClick.bind(this),this.userActionsLinkClick=this.userActionsLinkClick.bind(this),this.mainContentOverlayClick=this.mainContentOverlayClick.bind(this),this.init()}return(0,r.default)(e,[{key:"init",value:function(){this.$userPicture.length&&(0,s.addClass)(this.$userPicture[0],"rz-no-ajax-link"),this.$menu.on("click",this.menuClick),this.$adminMenuLink.on("click",this.adminMenuLinkClick),this.$adminMenuNavParent.on("click",this.adminMenuNavParentClick),this.$searchButton.on("click",this.searchButtonClick),this.$treeButton.on("click",this.treeButtonClick),this.$treeWrapperLink.on("click",this.treeWrapperLinkClick),this.$userPicture.on("click",this.userPictureClick),this.$userActionsLink.on("click",this.userActionsLinkClick),this.$mainContentOverlay.on("click",this.mainContentOverlayClick),window.addEventListener("pageload",this.mainContentOverlayClick)}},{key:"menuClick",value:function(e){this.menuOpen?this.closeMenu():this.openMenu()}},{key:"adminMenuNavParentClick",value:function(e){var t=(0,o.default)(e.currentTarget),n=(0,o.default)(e.currentTarget).find(".uk-nav-sub");if(t.hasClass("nav-open"))a.TweenLite.to(n,.6,{height:0,ease:a.Expo.easeOut,onComplete:function(){n[0].style.display="none"}}),t.removeClass("nav-open");else{var i=41*n.find(".uk-nav-sub-item").length-3;n[0].style.display="block",a.TweenLite.to(n,.6,{height:i,ease:a.Expo.easeOut,onComplete:function(){}}),t.addClass("nav-open")}}},{key:"adminMenuLinkClick",value:function(e){this.menuOpen&&this.closeMenu()}},{key:"openMenu",value:function(){this.closeSearch(),this.closeTree(),this.closeUser(),a.TweenLite.to(this.$adminMenu,.6,{x:0,ease:a.Expo.easeOut}),this.$mainContentOverlay.length&&(this.$mainContentOverlay[0].style.display="block",a.TweenLite.to(this.$mainContentOverlay,.6,{opacity:.5,ease:a.Expo.easeOut})),this.menuOpen=!0}},{key:"closeMenu",value:function(){var e=this,t=.8*-window.Rozier.windowWidth;a.TweenLite.to(this.$adminMenu,.6,{x:t,ease:a.Expo.easeOut}),a.TweenLite.to(this.$mainContentOverlay,.6,{opacity:0,ease:a.Expo.easeOut,onComplete:function(){e.$mainContentOverlay.length&&(e.$mainContentOverlay[0].style.display="none")}}),this.menuOpen=!1}},{key:"searchButtonClick",value:function(e){this.searchOpen?this.closeSearch():this.openSearch()}},{key:"openSearch",value:function(){this.closeMenu(),this.closeTree(),this.closeUser(),a.TweenLite.to(this.$searchPanel,.6,{x:0,ease:a.Expo.easeOut}),this.$mainContentOverlay.length&&(this.$mainContentOverlay[0].style.display="block",a.TweenLite.to(this.$mainContentOverlay,.6,{opacity:.5,ease:a.Expo.easeOut})),this.$searchButton.addClass("active"),this.searchOpen=!0}},{key:"closeSearch",value:function(){var e=this,t=.8*-window.Rozier.windowWidth;a.TweenLite.to(this.$searchPanel,.6,{x:t,ease:a.Expo.easeOut}),a.TweenLite.to(this.$mainContentOverlay,.6,{opacity:0,ease:a.Expo.easeOut,onComplete:function(){e.$mainContentOverlay[0].style.display="none"}}),this.$searchButton.removeClass("active"),this.searchOpen=!1}},{key:"treeButtonClick",value:function(e){this.treeOpen?this.closeTree():this.openTree()}},{key:"treeWrapperLinkClick",value:function(e){-1===e.currentTarget.className.indexOf("tab-link")&&this.treeOpen&&this.closeTree()}},{key:"openTree",value:function(){this.closeMenu(),this.closeSearch(),this.closeUser(),a.TweenLite.to(this.$treeWrapper,.6,{x:0,ease:a.Expo.easeOut}),this.$mainContentOverlay[0].style.display="block",a.TweenLite.to(this.$mainContentOverlay,.6,{opacity:.5,ease:a.Expo.easeOut}),this.$treeButton.addClass("active"),this.treeOpen=!0}},{key:"closeTree",value:function(){var e=this,t=.8*-window.Rozier.windowWidth;a.TweenLite.to(this.$treeWrapper,.6,{x:t,ease:a.Expo.easeOut}),a.TweenLite.to(this.$mainContentOverlay,.6,{opacity:0,ease:a.Expo.easeOut,onComplete:function(){e.$mainContentOverlay[0].style.display="none"}}),(0,s.removeClass)(this.$treeButton[0],"active"),this.treeOpen=!1}},{key:"userPictureClick",value:function(e){return this.userOpen?this.closeUser():this.openUser(),!1}},{key:"userActionsLinkClick",value:function(e){this.userOpen&&this.closeUser()}},{key:"openUser",value:function(){this.closeMenu(),this.closeSearch(),this.closeTree(),a.TweenLite.to(this.$userActions,.6,{x:0,ease:a.Expo.easeOut}),this.$mainContentOverlay.length&&(this.$mainContentOverlay[0].style.display="block",a.TweenLite.to(this.$mainContentOverlay,.6,{opacity:.5,ease:a.Expo.easeOut})),this.$userPicture.addClass("active"),this.userOpen=!0}},{key:"closeUser",value:function(){var e=this,t=.8*window.Rozier.windowWidth;a.TweenLite.to(this.$userActions,.6,{x:t,ease:a.Expo.easeOut}),a.TweenLite.to(this.$mainContentOverlay,.6,{opacity:0,ease:a.Expo.easeOut,onComplete:function(){e.$mainContentOverlay[0].style.display="none"}}),this.$userPicture.removeClass("active"),this.userOpen=!1}},{key:"mainContentOverlayClick",value:function(e){this.closeMenu(),this.closeTree(),this.closeUser(),this.closeSearch()}},{key:"resize",value:function(){}}]),e}();t.default=u},swoF:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={props:{length:{required:!0,type:Number},itemCount:{required:!0,type:Number,default:0}}}},t4hZ:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a(n("zv2j")),r=a(n("dACh")),o=a(n("jx4H"));function a(e){return e&&e.__esModule?e:{default:e}}var s="roadiz.currentMainTreeTab",l=function(){function e(){(0,r.default)(this,e),this.onTabChange=this.onTabChange.bind(this);var t=document.getElementById("tree-menu"),n=window.localStorage.getItem(s);t&&(this.tabsMenu=window.UIkit.tab(t,{connect:"#tree-container",swiping:!1,active:n?(0,i.default)(n):0}),this.tabsMenu.on("change.uk.tab",this.onTabChange))}return(0,o.default)(e,[{key:"unbind",value:function(){this.tabsMenu.off("change.uk.tab",this.onTabChange)}},{key:"onTabChange",value:function(e,t,n){var i=(t=t[0]).getAttribute("data-index");i&&window.localStorage.setItem(s,i)}}]),e}();t.default=l},tE9B:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"fade"}},[e.length&&e.itemCount?n("div",{staticClass:"widget-explorer-infos"},[e._v("\n "+e._s(e.length)+" / "+e._s(e.itemCount)+"\n ")]):e._e()])},staticRenderFns:[]};t.default=i},tjLZ:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a(n("dACh")),r=a(n("jx4H")),o=a(n("0iPh"));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(){function e(){(0,i.default)(this,e),this.$tagsCheckboxes=(0,o.default)("input.tag-checkbox"),this.$tagsIdBulkTags=(0,o.default)("input.tags-id-bulk-tags"),this.$tagsIdBulkStatus=(0,o.default)("input.tags-id-bulk-status"),this.$actionsMenu=(0,o.default)(".tags-bulk-actions"),this.$tagsFolderButton=(0,o.default)(".uk-button-bulk-folder-tags"),this.$tagsFolderCont=(0,o.default)(".tags-bulk-folder-cont"),this.$tagsStatusButton=(0,o.default)(".uk-button-bulk-status-tags"),this.$tagsStatusCont=(0,o.default)(".tags-bulk-status-cont"),this.$tagsSelectAll=(0,o.default)(".uk-button-select-all"),this.$tagsDeselectAll=(0,o.default)(".uk-button-bulk-deselect"),this.tagsFolderOpen=!1,this.tagsStatusOpen=!1,this.tagsIds=null,this.onCheckboxChange=this.onCheckboxChange.bind(this),this.tagsFolderButtonClick=this.tagsFolderButtonClick.bind(this),this.tagsStatusButtonClick=this.tagsStatusButtonClick.bind(this),this.onSelectAll=this.onSelectAll.bind(this),this.onDeselectAll=this.onDeselectAll.bind(this),this.$tagsCheckboxes.length&&this.init()}return(0,r.default)(e,[{key:"init",value:function(){this.$tagsCheckboxes.on("change",this.onCheckboxChange),this.$tagsStatusButton.on("click",this.tagsStatusButtonClick),this.$tagsFolderButton.on("click",this.tagsFolderButtonClick),this.$tagsSelectAll.on("click",this.onSelectAll),this.$tagsDeselectAll.on("click",this.onDeselectAll)}},{key:"unbind",value:function(){this.$tagsCheckboxes.length&&(this.$tagsCheckboxes.off("change",this.onCheckboxChange),this.$tagsStatusButton.off("click",this.tagsStatusButtonClick),this.$tagsFolderButton.off("click",this.tagsFolderButtonClick),this.$tagsSelectAll.off("click",this.onSelectAll),this.$tagsDeselectAll.off("click",this.onDeselectAll))}},{key:"onSelectAll",value:function(){return this.$tagsCheckboxes.prop("checked",!0),this.onCheckboxChange(null),!1}},{key:"onDeselectAll",value:function(){return this.$tagsCheckboxes.prop("checked",!1),this.onCheckboxChange(null),!1}},{key:"onCheckboxChange",value:function(){var e=this;return this.tagsIds=[],(0,o.default)("input.tag-checkbox:checked").each(function(t,n){e.tagsIds.push((0,o.default)(n).val())}),this.$tagsIdBulkTags.length&&this.$tagsIdBulkTags.val(this.tagsIds.join(",")),this.$tagsIdBulkStatus.length&&this.$tagsIdBulkStatus.val(this.tagsIds.join(",")),this.tagsIds.length>0?this.showActions():this.hideActions(),!1}},{key:"onBulkDelete",value:function(){return this.tagsIds.length>0&&(history.pushState({headerData:{tags:this.tagsIds}},null,window.Rozier.routes.tagsBulkDeletePage),window.Rozier.lazyload.onPopState(null)),!1}},{key:"showActions",value:function(){this.$actionsMenu.slideDown()}},{key:"hideActions",value:function(){this.$actionsMenu.slideUp()}},{key:"tagsFolderButtonClick",value:function(){return this.tagsFolderOpen?(this.$tagsFolderCont.slideUp(),this.tagsFolderOpen=!1):(this.$tagsStatusCont.slideUp(),this.tagsStatusOpen=!1,this.$tagsFolderCont.slideDown(),this.tagsFolderOpen=!0),!1}},{key:"tagsStatusButtonClick",value:function(){return this.tagsStatusOpen?(this.$tagsStatusCont.slideUp(),this.tagsStatusOpen=!1):(this.$tagsFolderCont.slideUp(),this.tagsFolderOpen=!1,this.$tagsStatusCont.slideDown(),this.tagsStatusOpen=!0),!1}}]),e}();t.default=s},uC1N:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=f(n("dACh")),r=f(n("jx4H")),o=n("EY70"),a=f(n("cDWz")),s=f(n("JoZF")),l=f(n("WGNA")),u=f(n("YtUu")),c=f(n("gXIW")),d=f(n("ug2n")),h=f(n("lTHl"));function f(e){return e&&e.__esModule?e:{default:e}}var p=function(){function e(){(0,i.default)(this,e)}return(0,r.default)(e,null,[{key:"getState",value:function(e){var t={trans:{moreItems:""},isFilterEnable:!1};switch(e){case o.DOCUMENT_ENTITY:t.currentListingView=a.default,t.filterExplorerIcon="uk-icon-rz-folder-tree-mini",t.trans.moreItems="moreDocuments",t.isFilterEnable=!0;break;case o.NODE_ENTITY:t.currentListingView=s.default,t.filterExplorerIcon="uk-icon-tags",t.trans.moreItems="moreNodes",t.isFilterEnable=!0;break;case o.EXPLORER_PROVIDER_ENTITY:case o.JOIN_ENTITY:t.currentListingView=l.default,t.trans.moreItems="moreEntities";break;case o.CUSTOM_FORM_ENTITY:t.currentListingView=u.default;break;case o.NODE_TYPE_ENTITY:t.currentListingView=c.default,t.trans.moreItems="moreNodeTypes";break;case o.TAG_ENTITY:t.currentListingView=d.default,t.trans.moreItems="moreTags",t.isFilterEnable=!0,t.filterExplorerIcon="uk-icon-tags"}return t}},{key:"getListingView",value:function(e){switch(e){case o.DOCUMENT_ENTITY:return a.default;case o.NODE_ENTITY:return s.default;case o.EXPLORER_PROVIDER_ENTITY:case o.JOIN_ENTITY:return l.default;case o.CUSTOM_FORM_ENTITY:return u.default;case o.NODE_TYPE_ENTITY:return c.default;case o.TAG_ENTITY:return d.default}}},{key:"getWidgetView",value:function(e){switch(e){case o.TAG_ENTITY:return h.default;default:return null}}}]),e}();t.default=p},"uHX/":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o(n("GyB/")),r=o(n("tQq4"));function o(e){return e&&e.__esModule?e:{default:e}}n("DcmQ"),n("hCSc"),t.default={props:{name:{type:String,required:!0},initialValue:{type:String,default:""},options:{type:Object,default:function(){return{mode:"yaml",lineNumbers:!0,theme:"mbo",tabSize:4,indentUnit:4,indentWithTabs:!1,lineWrapping:!0,dragDrop:!1,readOnly:!1}}}},ready:function(){this.build()},mounted:function(){this.build()},watch:{value:function(e,t){if(e!==this.editor.getValue()){var n=this.editor.getScrollInfo();this.editor.setValue(e),this.editor.scrollTo(n.left,n.top)}},options:function(e,t){if("object"===(void 0===e?"undefined":(0,i.default)(e)))for(var n in e)e.hasOwnProperty(n)&&this.editor.setOption(n,e[n])}},beforeDestroy:function(){this.editor&&this.editor.doc.cm.getWrapperElement().remove()},methods:{build:function(){var e=this;this.editor=r.default.fromTextArea(this.$el,this.options),this.editor.on("change",function(t){e.value=t.getValue(),e.$emit&&(e.$emit("change",t.getValue()),e.$emit("input",t.getValue()))}),this.$el.hasAttribute("disabled")&&this.editor.setOption("readOnly",!0),this.editor.setValue(this.initialValue),this.editor.refresh()}}}},ug2n:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("rWnD"),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,function(){return i[e]})}(o);var a=n("l/s5"),s=n.n(a),l=n("/4AN")(r.a,s.a,!1,null,null,null);t.default=l.exports},umdK:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){return e&&e.__esModule?e:{default:e}}(n("L3Vt"));t.getExplorerItems=function(e){var t=e.entity,n=e.searchTerms,h=e.preFilters,f=e.filters,p=e.filterExplorerSelection,m=e.moreData,g=void 0!==m&&m;switch(t){case r.DOCUMENT_ENTITY:return o.getDocuments({searchTerms:n,preFilters:h,filters:f,filterExplorerSelection:p,moreData:g});case r.NODE_ENTITY:return a.getNodes({searchTerms:n,preFilters:h,filters:f,filterExplorerSelection:p,moreData:g});case r.NODE_TYPE_ENTITY:return s.getNodeTypes({searchTerms:n,preFilters:h,filters:f,filterExplorerSelection:p,moreData:g});case r.JOIN_ENTITY:return l.getJoins({searchTerms:n,preFilters:h,filters:f,filterExplorerSelection:p,moreData:g});case r.CUSTOM_FORM_ENTITY:return u.getCustomForms({searchTerms:n,preFilters:h,filters:f,filterExplorerSelection:p,moreData:g});case r.TAG_ENTITY:return c.getTags({searchTerms:n,preFilters:h,filters:f,filterExplorerSelection:p,moreData:g});case r.EXPLORER_PROVIDER_ENTITY:return d.getItems({searchTerms:n,preFilters:h,filters:f,filterExplorerSelection:p,moreData:g})}return i.default.reject(new Error("No type entity found"))};var r=n("EY70"),o=h(n("2y8T")),a=h(n("vfsJ")),s=h(n("O/s3")),l=h(n("m1Vf")),u=h(n("8DOo")),c=h(n("RfA7")),d=h(n("CpLN"));function h(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}},vEJa:function(e,t,n){var i=n("DWDv");"string"==typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);n("X/Wc")("0fc9798b",i,!0,{})},vfsJ:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getNodesByIds=function(e){var t=e.ids,n=void 0===t?[]:t,r={_token:window.RozierRoot.ajaxToken,_action:"nodesByIds",ids:n};return(0,i.default)({method:"GET",url:window.RozierRoot.routes.nodesAjaxByArray,params:r}).then(function(e){return void 0!==e.data&&e.data.items?{items:e.data.items}:null}).catch(function(e){throw new Error(e.response.data.humanMessage)})},t.getNodes=function(e){var t=e.searchTerms,n=e.preFilters,r=e.filters,o=e.filterExplorerSelection,a=e.moreData,s={_token:window.RozierRoot.ajaxToken,_action:"toggleExplorer",search:t,page:1};o&&o.id&&(s.tagId=o.id);n&&n.nodeTypes&&(s.nodeTypes=JSON.parse(n.nodeTypes));a&&(s.page=r?r.nextPage:1);return(0,i.default)({method:"GET",url:window.RozierRoot.routes.nodesAjaxExplorer,params:s}).then(function(e){return void 0!==e.data&&e.data.nodes?{items:e.data.nodes,filters:e.data.filters}:{}}).catch(function(e){throw new Error(e)})};var i=function(e){return e&&e.__esModule?e:{default:e}}(n("dZBD"))},wGGZ:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=d(n("GyB/")),r=d(n("T4f3")),o=d(n("0iPh")),a=d(n("lRwf")),s=n("SJI6"),l=d(n("4NIs")),u=d(n("BIao")),c=d(n("dy4P"));function d(e){return e&&e.__esModule?e:{default:e}}t.default={data:function(){return{selected:"",currentView:null,entity:"",mode:""}},mounted:function(){var e=this;for(var t in this.$formColIndexed=(0,o.default)(this.$el.getElementsByClassName("form-col-indexed")[0]),this.$formColUniversal=(0,o.default)(this.$el.getElementsByClassName("form-col-universal")[0]),this.$formColMinLength=(0,o.default)(this.$el.getElementsByClassName("form-col-minLength")[0]),this.$formColMaxLength=(0,o.default)(this.$el.getElementsByClassName("form-col-maxLength")[0]),this.$formColDefaultValues=(0,o.default)(this.$el.getElementsByClassName("form-col-defaultValues")[0]),this.$formSelectOption=(0,o.default)(this.$el).find("#nodetypefield_type option"),this.$formSelectOption.each(function(t,n){var i=(0,o.default)(n);i.attr("selected")&&(e.selected=i.val())}),this.$formElements={indexed:this.$formColIndexed,universal:this.$formColUniversal,minLength:this.$formColMinLength,maxLength:this.$formColMaxLength,defaultValues:this.$formColDefaultValues},this.$formElements)this.$formElements.hasOwnProperty(t)&&this.$formElements[t].addClass("hidden");this.defaultConfig={indexed:!0,universal:!0,minLength:!0,maxLength:!0,defaultValues:!0},this.currentView=l.default,this.config={1:{minLength:!0,maxLength:!0,defaultValues:{view:u.default,mode:"yaml"}},13:{defaultValues:{view:c.default,entity:"node-type"}},16:{defaultValues:{view:c.default,entity:"node-type"}},27:{defaultValues:{view:u.default,mode:"yaml"}},28:{defaultValues:{view:u.default,mode:"yaml"}},29:{defaultValues:{view:u.default,mode:"yaml"}},30:{defaultValues:{view:u.default,mode:"yaml"}},31:{defaultValues:{view:u.default,mode:"yaml"}},4:{defaultValues:{view:u.default,mode:"yaml"}}}},watch:{selected:function(e){var t=this;this.escape(),this.currentView=null,this.entity=null,a.default.nextTick(function(){window.setTimeout(function(){t.setConfig(e)},100)})}},methods:(0,r.default)({},(0,s.mapActions)(["escape","explorerClose","filterExplorerClose"]),{setConfig:function(e){var t=this.defaultConfig;for(var n in this.config[e]&&(t=(0,r.default)({},t,this.config[e])),this.$formElements)this.$formElements.hasOwnProperty(n)&&t.hasOwnProperty(n)&&(!0===t[n]?(this.$formElements[n].removeClass("hidden"),this.currentView=l.default):"object"===(0,i.default)(t[n])?(this.$formElements[n].removeClass("hidden"),this.entity=t[n].entity,this.mode=t[n].mode,this.currentView=t[n].view):(this.$formElements[n].addClass("hidden"),this.currentView=l.default))}})}},wi4E:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a(n("dACh")),r=a(n("jx4H")),o=a(n("0iPh"));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(){function e(){(0,i.default)(this,e);var t=this;(0,o.default)(".rz-folder-autocomplete").bind("keydown",function(e){e.keyCode===o.default.ui.keyCode.TAB&&(0,o.default)(this).autocomplete("instance").menu.active&&e.preventDefault()}).autocomplete({source:function(e,n){o.default.getJSON(window.Rozier.routes.foldersAjaxSearch,{_action:"folderAutocomplete",_token:window.Rozier.ajaxToken,search:t.extractLast(e.term)},n)},search:function(){if(t.extractLast(this.value).length<2)return!1},focus:function(){return!1},select:function(e,n){var i=t.split(this.value);return i.pop(),i.push(n.item.value),i.push(""),this.value=i.join(", "),!1}})}return(0,r.default)(e,[{key:"unbind",value:function(){}},{key:"split",value:function(e){return e.split(/,\s*/)}},{key:"extractLast",value:function(e){return this.split(e).pop()}}]),e}();t.default=s},x4pS:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=g(n("aIIw")),r=g(n("kcQR")),o=g(n("HxWs")),a=g(n("X9RM")),s=g(n("BX4+")),l=g(n("dACh")),u=g(n("jx4H")),c=g(n("VOrx")),d=g(n("ZKjc")),h=g(n("0iPh")),f=n("ZysM"),p=g(f),m=n("f3z0");function g(e){return e&&e.__esModule?e:{default:e}}var v=function(e){function t(){(0,l.default)(this,t);var e=(0,c.default)(this,(t.__proto__||(0,s.default)(t)).call(this));return e.$fields=document.querySelectorAll(".rz-multi-geotag-field:not(.is-enable)"),e.$fields.length&&e.init(),e}return(0,d.default)(t,e),(0,u.default)(t,[{key:"resetMarker",value:function(e,t,n,i,r){t.value="";var o=!0,s=!1,l=void 0;try{for(var u,c=(0,a.default)(e);!(o=(u=c.next()).done);o=!0){var d=u.value;null!==d&&d.removeFrom(i)}}catch(e){s=!0,l=e}finally{try{!o&&c.return&&c.return()}finally{if(s)throw l}}return e=[],n.style.display="none",this.syncSelector(r,e,i,t),!1}},{key:"bindSingleField",value:function(e){var t=e.parentElement.querySelector(".uk-form-label"),n=t.innerHTML||"Geotag";t.style.display="none";var i=null;i=window.Rozier.defaultMapLocation?window.Rozier.defaultMapLocation:f.DEFAULT_LOCATION;var r="geotag-canvas-"+this.uniqid(),o=r+"-address",s=r+"-reset",l={center:this.createLatLng(i),zoom:i.zoom||i.alt,scrollwheel:!1,styles:window.Rozier.mapsStyle};e.style.display="none",e.setAttribute("data-geotag-canvas",r);var u=['",'
            ','
              ',"
            ",'
            ',"
            "].join(""),c=document.createElement("div");c.innerHTML=u,e.after(c);var d=document.getElementById(o);d.setAttribute("placeholder",window.Rozier.messages.geotag.typeAnAddress);var p=document.getElementById(s);p.style.display="none";var m=this.createMap(r,l),g=[],v=e.parentElement.querySelector(".multi-geotag-list-markers");if(""!==e.value)try{var _=JSON.parse(e.value);if(!_.features)throw new Error("Data is not a valid GeoJSON featureCollection");var b=!0,w=!1,k=void 0;try{for(var y,E=(0,a.default)(_.features);!(b=(y=E.next()).done);b=!0){var C=y.value,x=this.createMarker(C,m);x.on("dragend",h.default.proxy(this.setMarkerEvent,this,x,g,e,p,m,v)),g.push(x)}}catch(e){w=!0,k=e}finally{try{!b&&E.return&&E.return()}finally{if(w)throw k}}p.style.display="inline-block"}catch(t){return e.style.display="block",(0,h.default)(document.getElementById(r)).style.display="none",!1}m.on("click",h.default.proxy(this.setMarkerEvent,this,null,g,e,p,m,v)),d.addEventListener("keypress",h.default.proxy(this.requestGeocode,this,g,e,p,m,v)),p.addEventListener("click",h.default.proxy(this.resetMarker,this,g,e,p,m,v)),window.Rozier.$window.on("resize",h.default.proxy(this.resetMap,this,m,g,l)),window.Rozier.$window.on("pageshowend",h.default.proxy(this.resetMap,this,m,g,l)),this.resetMap(m,g,l,null),this.syncSelector(v,g,m,e)}},{key:"syncSelector",value:function(e,t,n,i){e.innerHTML="";var r=[],o=0,s=t.filter(function(e){return null!==e&&null!==e.getLatLng()}),l=!0,u=!1,c=void 0;try{for(var d,f=(0,a.default)(s);!(l=(d=f.next()).done);l=!0){var p=d.value;["
          • ",'',p.name?p.name:"#"+o,"",'','','',"","
          • "].forEach(function(e){return r.push(e)}),o++}}catch(e){u=!0,c=e}finally{try{!l&&f.return&&f.return()}finally{if(u)throw c}}e.innerHTML=r.join("");var m=0,g=!0,v=!1,_=void 0;try{for(var b,w=(0,a.default)(s);!(g=(b=w.next()).done);g=!0){var k=b.value,y=e.querySelector('.rz-multi-geotag-center[data-geocode-id="'+m+'"]'),E=e.querySelector('.rz-multi-geotag-remove[data-geocode-id="'+m+'"]');y&&E&&(y.addEventListener("click",h.default.proxy(this.centerMap,this,n,k)),E.addEventListener("click",h.default.proxy(this.removeMarker,this,n,t,k,e,i))),m++}}catch(e){v=!0,_=e}finally{try{!g&&w.return&&w.return()}finally{if(v)throw _}}}},{key:"removeMarker",value:function(e,t,n,i,r,o){o&&o.preventDefault();var a=t.indexOf(n);return n.removeFrom(e),t.splice(a,1),this.syncSelector(i,t,e,r),this.writeMarkers(t,r),!1}},{key:"resetMap",value:function(e,t,n,i){i&&i.preventDefault(),e.invalidateSize(!0),void 0!==t&&t.length>0?e.fitBounds(this.getMediumLatLng(t)):e.panTo(n.center)}},{key:"centerMap",value:function(e,t,n){if(n&&n.preventDefault(),e&&t){var i=t.getLatLng();e.flyTo(i,i.alt)}}},{key:"getMediumLatLng",value:function(e){var t=new m.LatLngBounds,n=!0,i=!1,r=void 0;try{for(var o,s=(0,a.default)(e);!(n=(o=s.next()).done);n=!0){var l=o.value;t.extend(l.getLatLng())}}catch(e){i=!0,r=e}finally{try{!n&&s.return&&s.return()}finally{if(i)throw r}}return t}},{key:"setMarkerEvent",value:function(e,t,n,i,r,o,a){if(a.latlng)this.setMarker(e,t,n,i,r,a.latlng);else if(null!==e){var s=e.getLatLng();s.alt=r.getZoom(),e.setLatLng(s),r.flyTo(s,s.alt),this.writeMarkers(t,n)}this.syncSelector(o,t,r,n)}},{key:"setMarker",value:function(e,t,n,i,r,o,a){return r&&(o.alt||(o.alt=r.getZoom()),null===e?e=this.createMarker(o,r):(e.setLatLng(o),e.addTo(r)),e.name=a,r.flyTo(o,o.alt),t.push(e),this.writeMarkers(t,n),i.style.display="inline-block"),e}},{key:"writeMarkers",value:function(e,t){var n={type:"FeatureCollection",features:[]},i=!0,r=!1,s=void 0;try{for(var l,u=(0,a.default)(e);!(i=(l=u.next()).done);i=!0){var c=l.value;if(c){var d=c.getLatLng();n.features.push(this.latLngToFeature(d,d.alt,c.name))}}}catch(e){r=!0,s=e}finally{try{!i&&u.return&&u.return()}finally{if(r)throw s}}t.value=(0,o.default)(n)}},{key:"requestGeocode",value:function(){var e=(0,r.default)(i.default.mark(function e(t,n,r,o,a,s){var l,u;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(l=s.currentTarget.value,!s.which||13!==s.which){e.next=12;break}return s.preventDefault(),e.next=5,this.getLatLngForAddress(l);case 5:if(null!==(u=e.sent)){e.next=9;break}return console.error("Geocode was not successful."),e.abrupt("return");case 9:u.alt=o.getZoom(),this.setMarker(null,t,n,r,o,u,u.name||""),this.syncSelector(a,t,o,n);case 12:case"end":return e.stop()}},e,this)}));return function(t,n,i,r,o,a){return e.apply(this,arguments)}}()}]),t}(p.default);t.default=v},xHmi:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.NODES_SEARCH_REQUEST="NODES_SEARCH_REQUEST",t.NODES_SEARCH_SUCCESS="NODES_SEARCH_SUCCESS",t.NODES_SEARCH_RESET="NODES_SEARCH_RESET",t.NODES_SEARCH_FAILED="NODES_SEARCH_FAILED",t.NODES_SEARCH_ENABLE_FOCUS="NODES_SEARCH_ENABLE_FOCUS",t.NODES_SEARCH_DISABLE_FOCUS="NODES_SEARCH_DISABLE_FOCUS",t.EXPLORER_REQUEST="EXPLORER_REQUEST",t.EXPLORER_SUCCESS="EXPLORER_SUCCESS",t.EXPLORER_RESET="EXPLORER_RESET",t.EXPLORER_FAILED="EXPLORER_FAILED",t.EXPLORER_OPEN="EXPLORER_OPEN",t.EXPLORER_CLOSE="EXPLORER_CLOSE",t.EXPLORER_LOAD_MORE="EXPLORER_LOAD_MORE",t.EXPLORER_LOAD_MORE_SUCCESS="EXPLORER_LOAD_MORE_SUCCESS",t.EXPLORER_IS_LOADED="EXPLORER_IS_LOADED",t.EXPLORER_UPDATE_SEARCH_TERMS="EXPLORER_UPDATE_SEARCH_TERMS",t.EXPLORER_UPDATE_FILTERS="EXPLORER_UPDATE_FILTERS",t.FILTER_EXPLORER_OPEN="FILTER_EXPLORER_OPEN",t.FILTER_EXPLORER_CLOSE="FILTER_EXPLORER_CLOSE",t.FILTER_EXPLORER_REQUEST="FILTER_EXPLORER_REQUEST",t.FILTER_EXPLORER_SUCCESS="FILTER_EXPLORER_SUCCESS",t.FILTER_EXPLORER_FAILED="FILTER_EXPLORER_FAILED",t.FILTER_EXPLORER_UPDATE="FILTER_EXPLORER_UPDATE",t.FILTER_EXPLORER_RESET="FILTER_EXPLORER_RESET",t.KEYBOARD_EVENT_ESCAPE="KEYBOARD_EVENT_ESCAPE",t.KEYBOARD_EVENT_SPACE="KEYBOARD_EVENT_SPACE",t.LOGIN_CHECK_DISCONNECTED="LOGIN_CHECK_DISCONNECTED",t.LOGIN_CHECK_CONNECTED="LOGIN_CHECK_CONNECTED",t.HEALTH_CHECK_FAILED="HEALTH_CHECK_FAILED",t.HEALTH_CHECK_SUCCEEDED="HEALTH_CHECK_SUCCEEDED",t.DRAWERS_ADD_INSTANCE="DRAWERS_ADD_INSTANCE",t.DRAWERS_REMOVE_INSTANCE="DRAWERS_REMOVE_INSTANCE",t.DRAWERS_ADD_ITEM="DRAWERS_ADD_DOCUMENT",t.DRAWERS_REMOVE_ITEM="DRAWERS_REMOVE_DOCUMENT",t.DRAWERS_EDIT_INSTANCE="DRAWERS_EDIT_INSTANCE",t.DRAWERS_UPDATE_LIST="DRAWERS_UPDATE_LIST",t.DRAWERS_ENABLE_DROPZONE="DRAWERS_ENABLE_DROPZONE",t.DRAWERS_DISABLE_DROPZONE="DRAWERS_DISABLE_DROPZONE",t.DRAWERS_INIT_DATA_REQUEST="DRAWERS_INIT_DATA_REQUEST",t.DRAWERS_INIT_DATA_REQUEST_SUCCESS="DRAWERS_INIT_DATA_REQUEST_SUCCESS",t.DRAWERS_INIT_DATA_REQUEST_FAILED="DRAWERS_INIT_DATA_REQUEST_FAILED",t.DRAWERS_INIT_DATA_REQUEST_EMPTY="DRAWERS_INIT_DATA_REQUEST_EMPTY",t.TAGS_UPDATE_VALUE="TAGS_UPDATE_VALUE",t.TAGS_REQUEST="TAGS_REQUEST",t.TAGS_REQUEST_SUCCESS="TAGS_REQUEST_SUCCESS",t.TAGS_REQUEST_ERROR="TAGS_REQUEST_ERROR",t.TAG_CREATE_NEW_REQUEST="TAG_CREATE_NEW_REQUEST",t.TAG_CREATE_NEW_REQUEST_SUCCESS="TAG_CREATE_NEW_REQUEST_SUCCESS",t.TAG_CREATE_NEW_REQUEST_ERROR="TAG_CREATE_NEW_REQUEST_ERROR",t.TAG_CREATOR_READY="TAG_CREATOR_READY",t.DOCUMENT_PREVIEW_INIT="DOCUMENT_PREVIEW_INIT",t.DOCUMENT_PREVIEW_DESTROY="DOCUMENT_PREVIEW_DESTROY",t.DOCUMENT_PREVIEW_OPEN="DOCUMENT_PREVIEW_OPEN",t.DOCUMENT_PREVIEW_CLOSE="DOCUMENT_PREVIEW_CLOSE",t.BLANCHETTE_EDITOR_INIT="BLANCHETTE_EDITOR_INIT",t.BLANCHETTE_EDITOR_IS_LOADING="BLANCHETTE_EDITOR_IS_LOADING",t.BLANCHETTE_EDITOR_LOADED="BLANCHETTE_EDITOR_LOADED",t.BLANCHETTE_EDITOR_ERROR="BLANCHETTE_EDITOR_ERROR",t.BLANCHETTE_EDITOR_SAVE_SUCCESS="BLANCHETTE_EDITOR_SAVE_SUCCESS"},xlJi:function(e,t){},ygC5:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"slide-left-no-opacity"}},[e.isOpen?n("div",{staticClass:"filter-widget-explorer"},[n("ul",{staticClass:"filters-items"},[n("li",{staticClass:"filters-infos"},[n("div",{staticClass:"infos-content"},[n("transition",{attrs:{name:"fade"}},[e.itemCount||0===e.itemCount?n("div",[n("span",{staticClass:"number"},[e._v(e._s(e.itemCount))]),e._v("\n "+e._s(e.itemCount>1?e.translations.items:e.translations.item)+"\n ")]):e._e()])],1)]),e._v(" "),n("li",{staticClass:"item"},[n("a",{staticClass:"filter-item-link",class:[e.selectedItem?"":"active"],attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.onResetClick(t)}}},[n("i",{staticClass:"uk-icon-rz-unordered-list"}),e._v(" "+e._s(e.translations.see_all)+"\n ")])]),e._v(" "),e._l(e.items,function(t,i){return n("filter-explorer-item",{key:i,attrs:{"current-item":e.selectedItem,icons:e.icons,entity:e.entity,"on-item-click":e.onItemClick,item:t}})})],2)]):e._e()])},staticRenderFns:[]};t.default=i},ywca:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("4YKS"),r=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,function(){return i[e]})}(o);var a=n("G7TI"),s=n.n(a),l=n("/4AN")(r.a,s.a,!1,null,null,null);t.default=l.exports}},["9wWa"]); \ No newline at end of file diff --git a/lib/Rozier/src/static/js/simple.133b900b82a8a83eb32c.js b/lib/Rozier/src/static/js/simple.41061e77e5bc12f769d2.js similarity index 100% rename from lib/Rozier/src/static/js/simple.133b900b82a8a83eb32c.js rename to lib/Rozier/src/static/js/simple.41061e77e5bc12f769d2.js diff --git a/lib/Rozier/src/static/js/vendor.133b900b82a8a83eb32c.js b/lib/Rozier/src/static/js/vendor.41061e77e5bc12f769d2.js similarity index 97% rename from lib/Rozier/src/static/js/vendor.133b900b82a8a83eb32c.js rename to lib/Rozier/src/static/js/vendor.41061e77e5bc12f769d2.js index 396a5179..0fd5e4b7 100644 --- a/lib/Rozier/src/static/js/vendor.133b900b82a8a83eb32c.js +++ b/lib/Rozier/src/static/js/vendor.41061e77e5bc12f769d2.js @@ -174,7 +174,7 @@ function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterat * * @author: Jack Doyle, jack@greensock.com */ -!function(i,r){"use strict";var o={},s=i.document,a=i.GreenSockGlobals=i.GreenSockGlobals||i;if(a.TweenLite)return a.TweenLite;var l,u,c,h,d,f=function(t){var e,i=t.split("."),n=a;for(e=0;e-1;)(h=y[r[g]]||new _(r[g],[])).gsClass?(u[g]=h.gsClass,v--):c&&h.sc.push(this);if(0===v&&s){if(p=(d=("com.greensock."+i).split(".")).pop(),m=f(d.join("."))[p]=this.gsClass=s.apply(s,u),l)if(a[p]=o[p]=m,void 0!==t&&t.exports)if("TweenLite"===i)for(g in t.exports=o.TweenLite=m,o)m[g]=o[g];else o.TweenLite&&(o.TweenLite[p]=m);else void 0===(n=function(){return m}.apply(e,[]))||(t.exports=n);for(g=0;g-1;)for(o=l[u],r=n?w("easing."+o,null,!0):p.easing[o]||{},s=c.length;--s>-1;)a=c[s],T[o+"."+a]=T[a+o]=r[a]=t.getRatio?t:t[a]||new t};for((c=k.prototype)._calcEnd=!1,c.getRatio=function(t){if(this._func)return this._params[0]=t,this._func.apply(null,this._params);var e=this._type,i=this._power,n=1===e?1-t:2===e?t:t<.5?2*t:2*(1-t);return 1===i?n*=n:2===i?n*=n*n:3===i?n*=n*n*n:4===i&&(n*=n*n*n*n),1===e?1-n:2===e?n:t<.5?n/2:1-n/2},u=(l=["Linear","Quad","Cubic","Quart","Quint,Strong"]).length;--u>-1;)c=l[u]+",Power"+u,C(new k(null,null,1,u),c,"easeOut",!0),C(new k(null,null,2,u),c,"easeIn"+(0===u?",easeNone":"")),C(new k(null,null,3,u),c,"easeInOut");T.linear=p.easing.Linear.easeIn,T.swing=p.easing.Quad.easeInOut;var S=w("events.EventDispatcher",function(t){this._listeners={},this._eventTarget=t||this});(c=S.prototype).addEventListener=function(t,e,i,n,r){r=r||0;var o,s,a=this._listeners[t],l=0;for(this!==h||d||h.wake(),null==a&&(this._listeners[t]=a=[]),s=a.length;--s>-1;)(o=a[s]).c===e&&o.s===i?a.splice(s,1):0===l&&o.pr-1;)if(n[i].c===e)return void n.splice(i,1)},c.dispatchEvent=function(t){var e,i,n,r=this._listeners[t];if(r)for((e=r.length)>1&&(r=r.slice(0)),i=this._eventTarget;--e>-1;)(n=r[e])&&(n.up?n.c.call(n.s||i,{type:t,target:i}):n.c.call(n.s||i))};var M=i.requestAnimationFrame,P=i.cancelAnimationFrame,O=Date.now||function(){return(new Date).getTime()},E=O();for(u=(l=["ms","moz","webkit","o"]).length;--u>-1&&!M;)M=i[l[u]+"RequestAnimationFrame"],P=i[l[u]+"CancelAnimationFrame"]||i[l[u]+"CancelRequestAnimationFrame"];w("Ticker",function(t,e){var i,n,r,o,a,l=this,u=O(),c=!(!1===e||!M)&&"auto",f=500,p=33,m=function(t){var e,s,c=O()-E;c>f&&(u+=c-p),E+=c,l.time=(E-u)/1e3,e=l.time-a,(!i||e>0||!0===t)&&(l.frame++,a+=e+(e>=o?.004:o-e),s=!0),!0!==t&&(r=n(m)),s&&l.dispatchEvent("tick")};S.call(l),l.time=l.frame=0,l.tick=function(){m(!0)},l.lagSmoothing=function(t,e){if(!arguments.length)return f<1e10;f=t||1e10,p=Math.min(e,f,0)},l.sleep=function(){null!=r&&(c&&P?P(r):clearTimeout(r),n=g,r=null,l===h&&(d=!1))},l.wake=function(t){null!==r?l.sleep():t?u+=-E+(E=O()):l.frame>10&&(E=O()-f+5),n=0===i?g:c&&M?M:function(t){return setTimeout(t,1e3*(a-l.time)+1|0)},l===h&&(d=!0),m(2)},l.fps=function(t){if(!arguments.length)return i;o=1/((i=t)||60),a=this.time+o,l.wake()},l.useRAF=function(t){if(!arguments.length)return c;l.sleep(),c=t,l.fps(i)},l.fps(t),setTimeout(function(){"auto"===c&&l.frame<5&&"hidden"!==(s||{}).visibilityState&&l.useRAF(!1)},1500)}),(c=p.Ticker.prototype=new p.events.EventDispatcher).constructor=p.Ticker;var L=w("core.Animation",function(t,e){if(this.vars=e=e||{},this._duration=this._totalDuration=t||0,this._delay=Number(e.delay)||0,this._timeScale=1,this._active=!0===e.immediateRender,this.data=e.data,this._reversed=!0===e.reversed,V){d||h.wake();var i=this.vars.useFrames?G:V;i.add(this,i._time),this.vars.paused&&this.paused(!0)}});h=L.ticker=new p.Ticker,(c=L.prototype)._dirty=c._gc=c._initted=c._paused=!1,c._totalTime=c._time=0,c._rawPrevTime=-1,c._next=c._last=c._onUpdate=c._timeline=c.timeline=null,c._paused=!1;var D=function(){d&&O()-E>2e3&&("hidden"!==(s||{}).visibilityState||!h.lagSmoothing())&&h.wake();var t=setTimeout(D,2e3);t.unref&&t.unref()};D(),c.play=function(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},c.pause=function(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},c.resume=function(t,e){return null!=t&&this.seek(t,e),this.paused(!1)},c.seek=function(t,e){return this.totalTime(Number(t),!1!==e)},c.restart=function(t,e){return this.reversed(!1).paused(!1).totalTime(t?-this._delay:0,!1!==e,!0)},c.reverse=function(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},c.render=function(t,e,i){},c.invalidate=function(){return this._time=this._totalTime=0,this._initted=this._gc=!1,this._rawPrevTime=-1,!this._gc&&this.timeline||this._enabled(!0),this},c.isActive=function(){var t,e=this._timeline,i=this._startTime;return!e||!this._gc&&!this._paused&&e.isActive()&&(t=e.rawTime(!0))>=i&&t-1;)"{self}"===t[e]&&(i[e]=this);return i},c._callback=function(t){var e=this.vars,i=e[t],n=e[t+"Params"],r=e[t+"Scope"]||e.callbackScope||this;switch(n?n.length:0){case 0:i.call(r);break;case 1:i.call(r,n[0]);break;case 2:i.call(r,n[0],n[1]);break;default:i.apply(r,n)}},c.eventCallback=function(t,e,i,n){if("on"===(t||"").substr(0,2)){var r=this.vars;if(1===arguments.length)return r[t];null==e?delete r[t]:(r[t]=e,r[t+"Params"]=v(i)&&-1!==i.join("").indexOf("{self}")?this._swapSelfInParams(i):i,r[t+"Scope"]=n),"onUpdate"===t&&(this._onUpdate=e)}return this},c.delay=function(t){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+t-this._delay),this._delay=t,this):this._delay},c.duration=function(t){return arguments.length?(this._duration=this._totalDuration=t,this._uncache(!0),this._timeline.smoothChildTiming&&this._time>0&&this._timethis._duration?this._duration:t,e)):this._time},c.totalTime=function(t,e,i){if(d||h.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(t<0&&!i&&(t+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var n=this._totalDuration,r=this._timeline;if(t>n&&!i&&(t=n),this._startTime=(this._paused?this._pauseTime:r._time)-(this._reversed?n-t:t)/this._timeScale,r._dirty||this._uncache(!1),r._timeline)for(;r._timeline;)r._timeline._time!==(r._startTime+r._totalTime)/r._timeScale&&r.totalTime(r._totalTime,!0),r=r._timeline}this._gc&&this._enabled(!0,!1),this._totalTime===t&&0!==this._duration||(N.length&&Q(),this.render(t,e,!1),N.length&&Q())}return this},c.progress=c.totalProgress=function(t,e){var i=this.duration();return arguments.length?this.totalTime(i*t,e):i?this._time/i:this.ratio},c.startTime=function(t){return arguments.length?(t!==this._startTime&&(this._startTime=t,this.timeline&&this.timeline._sortChildren&&this.timeline.add(this,t-this._delay)),this):this._startTime},c.endTime=function(t){return this._startTime+(0!=t?this.totalDuration():this.duration())/this._timeScale},c.timeScale=function(t){if(!arguments.length)return this._timeScale;var e,i;for(t=t||1e-10,this._timeline&&this._timeline.smoothChildTiming&&(i=(e=this._pauseTime)||0===e?e:this._timeline.totalTime(),this._startTime=i-(i-this._startTime)*this._timeScale/t),this._timeScale=t,i=this.timeline;i&&i.timeline;)i._dirty=!0,i.totalDuration(),i=i.timeline;return this},c.reversed=function(t){return arguments.length?(t!=this._reversed&&(this._reversed=t,this.totalTime(this._timeline&&!this._timeline.smoothChildTiming?this.totalDuration()-this._totalTime:this._totalTime,!0)),this):this._reversed},c.paused=function(t){if(!arguments.length)return this._paused;var e,i,n=this._timeline;return t!=this._paused&&n&&(d||t||h.wake(),i=(e=n.rawTime())-this._pauseTime,!t&&n.smoothChildTiming&&(this._startTime+=i,this._uncache(!1)),this._pauseTime=t?e:null,this._paused=t,this._active=this.isActive(),!t&&0!==i&&this._initted&&this.duration()&&(e=n.smoothChildTiming?this._totalTime:(e-this._startTime)/this._timeScale,this.render(e,e===this._totalTime,!0))),this._gc&&!t&&this._enabled(!0,!1),this};var A=w("core.SimpleTimeline",function(t){L.call(this,0,t),this.autoRemoveChildren=this.smoothChildTiming=!0});(c=A.prototype=new L).constructor=A,c.kill()._gc=!1,c._first=c._last=c._recent=null,c._sortChildren=!1,c.add=c.insert=function(t,e,i,n){var r,o;if(t._startTime=Number(e||0)+t._delay,t._paused&&this!==t._timeline&&(t._pauseTime=this.rawTime()-(t._timeline.rawTime()-t._pauseTime)),t.timeline&&t.timeline._remove(t,!0),t.timeline=t._timeline=this,t._gc&&t._enabled(!0,!0),r=this._last,this._sortChildren)for(o=t._startTime;r&&r._startTime>o;)r=r._prev;return r?(t._next=r._next,r._next=t):(t._next=this._first,this._first=t),t._next?t._next._prev=t:this._last=t,t._prev=r,this._recent=t,this._timeline&&this._uncache(!0),this},c._remove=function(t,e){return t.timeline===this&&(e||t._enabled(!1,!0),t._prev?t._prev._next=t._next:this._first===t&&(this._first=t._next),t._next?t._next._prev=t._prev:this._last===t&&(this._last=t._prev),t._next=t._prev=t.timeline=null,t===this._recent&&(this._recent=this._last),this._timeline&&this._uncache(!0)),this},c.render=function(t,e,i){var n,r=this._first;for(this._totalTime=this._time=this._rawPrevTime=t;r;)n=r._next,(r._active||t>=r._startTime&&!r._paused&&!r._gc)&&(r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(t-r._startTime)*r._timeScale,e,i):r.render((t-r._startTime)*r._timeScale,e,i)),r=n},c.rawTime=function(){return d||h.wake(),this._totalTime};var z=w("TweenLite",function(t,e,n){if(L.call(this,e,n),this.render=z.prototype.render,null==t)throw"Cannot tween a null target.";this.target=t="string"!=typeof t?t:z.selector(t)||t;var r,o,s,a=t.jquery||t.length&&t!==i&&t[0]&&(t[0]===i||t[0].nodeType&&t[0].style&&!t.nodeType),l=this.vars.overwrite;if(this._overwrite=l=null==l?X[z.defaultOverwrite]:"number"==typeof l?l>>0:X[l],(a||t instanceof Array||t.push&&v(t))&&"number"!=typeof t[0])for(this._targets=s=m(t),this._propLookup=[],this._siblings=[],r=0;r1&&et(o,this,null,1,this._siblings[r])):"string"==typeof(o=s[r--]=z.selector(o))&&s.splice(r+1,1):s.splice(r--,1);else this._propLookup={},this._siblings=J(t,this,!1),1===l&&this._siblings.length>1&&et(t,this,null,1,this._siblings);(this.vars.immediateRender||0===e&&0===this._delay&&!1!==this.vars.immediateRender)&&(this._time=-1e-10,this.render(Math.min(0,-this._delay)))},!0),I=function(t){return t&&t.length&&t!==i&&t[0]&&(t[0]===i||t[0].nodeType&&t[0].style&&!t.nodeType)};(c=z.prototype=new L).constructor=z,c.kill()._gc=!1,c.ratio=0,c._firstPT=c._targets=c._overwrittenProps=c._startAt=null,c._notifyPluginsOfEnabled=c._lazy=!1,z.version="1.20.5",z.defaultEase=c._ease=new k(null,null,1,1),z.defaultOverwrite="auto",z.ticker=h,z.autoSleep=120,z.lagSmoothing=function(t,e){h.lagSmoothing(t,e)},z.selector=i.$||i.jQuery||function(t){var e=i.$||i.jQuery;return e?(z.selector=e,e(t)):(s||(s=i.document),s?s.querySelectorAll?s.querySelectorAll(t):s.getElementById("#"===t.charAt(0)?t.substr(1):t):t)};var N=[],F={},j=/(?:(-|-=|\+=)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,R=/[\+-]=-?[\.\d]/,B=function(t){for(var e,i=this._firstPT;i;)e=i.blob?1===t&&null!=this.end?this.end:t?this.join(""):this.start:i.c*t+i.s,i.m?e=i.m.call(this._tween,e,this._target||i.t,this._tween):e<1e-6&&e>-1e-6&&!i.blob&&(e=0),i.f?i.fp?i.t[i.p](i.fp,e):i.t[i.p](e):i.t[i.p]=e,i=i._next},W=function(t,e,i,n){var r,o,s,a,l,u,c,h=[],d=0,f="",p=0;for(h.start=t,h.end=e,t=h[0]=t+"",e=h[1]=e+"",i&&(i(h),t=h[0],e=h[1]),h.length=0,r=t.match(j)||[],o=e.match(j)||[],n&&(n._next=null,n.blob=1,h._firstPT=h._applyPT=n),l=o.length,a=0;a-1;)(t=N[e])&&!1!==t._lazy&&(t.render(t._lazy[0],t._lazy[1],!0),t._lazy=!1);N.length=0};V._startTime=h.time,G._startTime=h.frame,V._active=G._active=!0,setTimeout(Q,1),L._updateRoot=z.render=function(){var t,e,i;if(N.length&&Q(),V.render((h.time-V._startTime)*V._timeScale,!1,!1),G.render((h.frame-G._startTime)*G._timeScale,!1,!1),N.length&&Q(),h.frame>=K){for(i in K=h.frame+(parseInt(z.autoSleep,10)||120),Y){for(t=(e=Y[i].tweens).length;--t>-1;)e[t]._gc&&e.splice(t,1);0===e.length&&delete Y[i]}if((!(i=V._first)||i._paused)&&z.autoSleep&&!G._first&&1===h._listeners.tick.length){for(;i&&i._paused;)i=i._next;i||h.sleep()}}},h.addEventListener("tick",L._updateRoot);var J=function(t,e,i){var n,r,o=t._gsTweenID;if(Y[o||(t._gsTweenID=o="t"+q++)]||(Y[o]={target:t,tweens:[]}),e&&((n=Y[o].tweens)[r=n.length]=e,i))for(;--r>-1;)n[r]===e&&n.splice(r,1);return Y[o].tweens},tt=function(t,e,i,n){var r,o,s=t.vars.onOverwrite;return s&&(r=s(t,e,i,n)),(s=z.onOverwrite)&&(o=s(t,e,i,n)),!1!==r&&!1!==o},et=function(t,e,i,n,r){var o,s,a,l;if(1===n||n>=4){for(l=r.length,o=0;o-1;)(a=r[o])===e||a._gc||a._paused||(a._timeline!==e._timeline?(u=u||it(e,0,f),0===it(a,u,f)&&(h[d++]=a)):a._startTime<=c&&a._startTime+a.totalDuration()/a._timeScale>c&&((f||!a._initted)&&c-a._startTime<=2e-10||(h[d++]=a)));for(o=d;--o>-1;)if(a=h[o],2===n&&a._kill(i,t,e)&&(s=!0),2!==n||!a._firstPT&&a._initted){if(2!==n&&!tt(a,e))continue;a._enabled(!1,!1)&&(s=!0)}return s},it=function(t,e,i){for(var n=t._timeline,r=n._timeScale,o=t._startTime;n._timeline;){if(o+=n._startTime,r*=n._timeScale,n._paused)return-100;n=n._timeline}return(o/=r)>e?o-e:i&&o===e||!t._initted&&o-e<2e-10?1e-10:(o+=t.totalDuration()/t._timeScale/r)>e+1e-10?0:o-e-1e-10};c._init=function(){var t,e,i,n,r,o,s=this.vars,a=this._overwrittenProps,l=this._duration,u=!!s.immediateRender,c=s.ease;if(s.startAt){for(n in this._startAt&&(this._startAt.render(-1,!0),this._startAt.kill()),r={},s.startAt)r[n]=s.startAt[n];if(r.data="isStart",r.overwrite=!1,r.immediateRender=!0,r.lazy=u&&!1!==s.lazy,r.startAt=r.delay=null,r.onUpdate=s.onUpdate,r.onUpdateParams=s.onUpdateParams,r.onUpdateScope=s.onUpdateScope||s.callbackScope||this,this._startAt=z.to(this.target||{},0,r),u)if(this._time>0)this._startAt=null;else if(0!==l)return}else if(s.runBackwards&&0!==l)if(this._startAt)this._startAt.render(-1,!0),this._startAt.kill(),this._startAt=null;else{for(n in 0!==this._time&&(u=!1),i={},s)Z[n]&&"autoCSS"!==n||(i[n]=s[n]);if(i.overwrite=0,i.data="isFromStart",i.lazy=u&&!1!==s.lazy,i.immediateRender=u,this._startAt=z.to(this.target,0,i),u){if(0===this._time)return}else this._startAt._init(),this._startAt._enabled(!1),this.vars.immediateRender&&(this._startAt=null)}if(this._ease=c=c?c instanceof k?c:"function"==typeof c?new k(c,s.easeParams):T[c]||z.defaultEase:z.defaultEase,s.easeParams instanceof Array&&c.config&&(this._ease=c.config.apply(c,s.easeParams)),this._easeType=this._ease._type,this._easePower=this._ease._power,this._firstPT=null,this._targets)for(o=this._targets.length,t=0;t-1;)e[u._overwriteProps[a]]=this._firstPT;(u._priority||u._onInitAllProps)&&(l=!0),(u._onDisable||u._onEnable)&&(this._notifyPluginsOfEnabled=!0),c._next&&(c._next._prev=c)}else e[s]=H.call(this,t,s,"get",h,s,0,null,this.vars.stringFilter,o);return r&&this._kill(r,t)?this._initProps(t,e,n,r,o):this._overwrite>1&&this._firstPT&&n.length>1&&et(t,this,e,this._overwrite,n)?(this._kill(e,t),this._initProps(t,e,n,r,o)):(this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration)&&(F[t._gsTweenID]=!0),l)},c.render=function(t,e,i){var n,r,o,s,a=this._time,l=this._duration,u=this._rawPrevTime;if(t>=l-1e-7&&t>=0)this._totalTime=this._time=l,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1,this._reversed||(n=!0,r="onComplete",i=i||this._timeline.autoRemoveChildren),0===l&&(this._initted||!this.vars.lazy||i)&&(this._startTime===this._timeline._duration&&(t=0),(u<0||t<=0&&t>=-1e-7||1e-10===u&&"isPause"!==this.data)&&u!==t&&(i=!0,u>1e-10&&(r="onReverseComplete")),this._rawPrevTime=s=!e||t||u===t?t:1e-10);else if(t<1e-7)this._totalTime=this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==a||0===l&&u>0)&&(r="onReverseComplete",n=this._reversed),t<0&&(this._active=!1,0===l&&(this._initted||!this.vars.lazy||i)&&(u>=0&&(1e-10!==u||"isPause"!==this.data)&&(i=!0),this._rawPrevTime=s=!e||t||u===t?t:1e-10)),(!this._initted||this._startAt&&this._startAt.progress())&&(i=!0);else if(this._totalTime=this._time=t,this._easeType){var c=t/l,h=this._easeType,d=this._easePower;(1===h||3===h&&c>=.5)&&(c=1-c),3===h&&(c*=2),1===d?c*=c:2===d?c*=c*c:3===d?c*=c*c*c:4===d&&(c*=c*c*c*c),this.ratio=1===h?1-c:2===h?c:t/l<.5?c/2:1-c/2}else this.ratio=this._ease.getRatio(t/l);if(this._time!==a||i){if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!i&&this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration))return this._time=this._totalTime=a,this._rawPrevTime=u,N.push(this),void(this._lazy=[t,e]);this._time&&!n?this.ratio=this._ease.getRatio(this._time/l):n&&this._ease._calcEnd&&(this.ratio=this._ease.getRatio(0===this._time?0:1))}for(!1!==this._lazy&&(this._lazy=!1),this._active||!this._paused&&this._time!==a&&t>=0&&(this._active=!0),0===a&&(this._startAt&&(t>=0?this._startAt.render(t,!0,i):r||(r="_dummyGS")),this.vars.onStart&&(0===this._time&&0!==l||e||this._callback("onStart"))),o=this._firstPT;o;)o.f?o.t[o.p](o.c*this.ratio+o.s):o.t[o.p]=o.c*this.ratio+o.s,o=o._next;this._onUpdate&&(t<0&&this._startAt&&-1e-4!==t&&this._startAt.render(t,!0,i),e||(this._time!==a||n||i)&&this._callback("onUpdate")),r&&(this._gc&&!i||(t<0&&this._startAt&&!this._onUpdate&&-1e-4!==t&&this._startAt.render(t,!0,i),n&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[r]&&this._callback(r),0===l&&1e-10===this._rawPrevTime&&1e-10!==s&&(this._rawPrevTime=0)))}},c._kill=function(t,e,i){if("all"===t&&(t=null),null==t&&(null==e||e===this.target))return this._lazy=!1,this._enabled(!1,!1);e="string"!=typeof e?e||this._targets||this.target:z.selector(e)||e;var n,r,o,s,a,l,u,c,h,d=i&&this._time&&i._startTime===this._startTime&&this._timeline===i._timeline;if((v(e)||I(e))&&"number"!=typeof e[0])for(n=e.length;--n>-1;)this._kill(t,e[n],i)&&(l=!0);else{if(this._targets){for(n=this._targets.length;--n>-1;)if(e===this._targets[n]){a=this._propLookup[n]||{},this._overwrittenProps=this._overwrittenProps||[],r=this._overwrittenProps[n]=t?this._overwrittenProps[n]||{}:"all";break}}else{if(e!==this.target)return!1;a=this._propLookup,r=this._overwrittenProps=t?this._overwrittenProps||{}:"all"}if(a){if(u=t||a,c=t!==r&&"all"!==r&&t!==a&&("object"!=typeof t||!t._tempKill),i&&(z.onOverwrite||this.vars.onOverwrite)){for(o in u)a[o]&&(h||(h=[]),h.push(o));if((h||!t)&&!tt(this,i,e,h))return!1}for(o in u)(s=a[o])&&(d&&(s.f?s.t[s.p](s.s):s.t[s.p]=s.s,l=!0),s.pg&&s.t._kill(u)&&(l=!0),s.pg&&0!==s.t._overwriteProps.length||(s._prev?s._prev._next=s._next:s===this._firstPT&&(this._firstPT=s._next),s._next&&(s._next._prev=s._prev),s._next=s._prev=null),delete a[o]),c&&(r[o]=1);!this._firstPT&&this._initted&&this._enabled(!1,!1)}}return l},c.invalidate=function(){return this._notifyPluginsOfEnabled&&z._onPluginEvent("_onDisable",this),this._firstPT=this._overwrittenProps=this._startAt=this._onUpdate=null,this._notifyPluginsOfEnabled=this._active=this._lazy=!1,this._propLookup=this._targets?{}:[],L.prototype.invalidate.call(this),this.vars.immediateRender&&(this._time=-1e-10,this.render(Math.min(0,-this._delay))),this},c._enabled=function(t,e){if(d||h.wake(),t&&this._gc){var i,n=this._targets;if(n)for(i=n.length;--i>-1;)this._siblings[i]=J(n[i],this,!0);else this._siblings=J(this.target,this,!0)}return L.prototype._enabled.call(this,t,e),!(!this._notifyPluginsOfEnabled||!this._firstPT)&&z._onPluginEvent(t?"_onEnable":"_onDisable",this)},z.to=function(t,e,i){return new z(t,e,i)},z.from=function(t,e,i){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,new z(t,e,i)},z.fromTo=function(t,e,i,n){return n.startAt=i,n.immediateRender=0!=n.immediateRender&&0!=i.immediateRender,new z(t,e,n)},z.delayedCall=function(t,e,i,n,r){return new z(e,0,{delay:t,onComplete:e,onCompleteParams:i,callbackScope:n,onReverseComplete:e,onReverseCompleteParams:i,immediateRender:!1,lazy:!1,useFrames:r,overwrite:0})},z.set=function(t,e){return new z(t,0,e)},z.getTweensOf=function(t,e){if(null==t)return[];var i,n,r,o;if(t="string"!=typeof t?t:z.selector(t)||t,(v(t)||I(t))&&"number"!=typeof t[0]){for(i=t.length,n=[];--i>-1;)n=n.concat(z.getTweensOf(t[i],e));for(i=n.length;--i>-1;)for(o=n[i],r=i;--r>-1;)o===n[r]&&n.splice(i,1)}else if(t._gsTweenID)for(i=(n=J(t).concat()).length;--i>-1;)(n[i]._gc||e&&!n[i].isActive())&&n.splice(i,1);return n||[]},z.killTweensOf=z.killDelayedCallsTo=function(t,e,i){"object"==typeof e&&(i=e,e=!1);for(var n=z.getTweensOf(t,e),r=n.length;--r>-1;)n[r]._kill(i,t)};var nt=w("plugins.TweenPlugin",function(t,e){this._overwriteProps=(t||"").split(","),this._propName=this._overwriteProps[0],this._priority=e||0,this._super=nt.prototype},!0);if(c=nt.prototype,nt.version="1.19.0",nt.API=2,c._firstPT=null,c._addTween=H,c.setRatio=B,c._kill=function(t){var e,i=this._overwriteProps,n=this._firstPT;if(null!=t[this._propName])this._overwriteProps=[];else for(e=i.length;--e>-1;)null!=t[i[e]]&&i.splice(e,1);for(;n;)null!=t[n.n]&&(n._next&&(n._next._prev=n._prev),n._prev?(n._prev._next=n._next,n._prev=null):this._firstPT===n&&(this._firstPT=n._next)),n=n._next;return!1},c._mod=c._roundProps=function(t){for(var e,i=this._firstPT;i;)(e=t[this._propName]||null!=i.n&&t[i.n.split(this._propName+"_").join("")])&&"function"==typeof e&&(2===i.f?i.t._applyPT.m=e:i.m=e),i=i._next},z._onPluginEvent=function(t,e){var i,n,r,o,s,a=e._firstPT;if("_onInitAllProps"===t){for(;a;){for(s=a._next,n=r;n&&n.pr>a.pr;)n=n._next;(a._prev=n?n._prev:o)?a._prev._next=a:r=a,(a._next=n)?n._prev=a:o=a,a=s}a=e._firstPT=r}for(;a;)a.pg&&"function"==typeof a.t[t]&&a.t[t]()&&(i=!0),a=a._next;return i},nt.activate=function(t){for(var e=t.length;--e>-1;)t[e].API===nt.API&&($[(new t[e])._propName]=t[e]);return!0},b.plugin=function(t){if(!(t&&t.propName&&t.init&&t.API))throw"illegal plugin definition.";var e,i=t.propName,n=t.priority||0,r=t.overwriteProps,o={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_mod",mod:"_mod",initAll:"_onInitAllProps"},s=w("plugins."+i.charAt(0).toUpperCase()+i.substr(1)+"Plugin",function(){nt.call(this,i,n),this._overwriteProps=r||[]},!0===t.global),a=s.prototype=new nt(i);for(e in a.constructor=s,s.API=t.API,o)"function"==typeof t[e]&&(a[o[e]]=t[e]);return s.version=t.version,nt.activate([s]),s},l=i._gsQueue){for(u=0;u=0;--o){var s=this.tryEntries[o],a=s.completion;if("root"===s.tryLoc)return n("end");if(s.tryLoc<=this.prev){var l=r.call(s,"catchLoc"),u=r.call(s,"finallyLoc");if(l&&u){if(this.prev=0;--i){var n=this.tryEntries[i];if(n.tryLoc<=this.prev&&r.call(n,"finallyLoc")&&this.prev=0;--e){var i=this.tryEntries[e];if(i.finallyLoc===t)return this.complete(i.completion,i.afterLoc),O(i),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var i=this.tryEntries[e];if(i.tryLoc===t){var n=i.completion;if("throw"===n.type){var r=n.arg;O(i)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:L(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=i),m}}}function b(t,e,i,n){var r=e&&e.prototype instanceof x?e:x,o=Object.create(r.prototype),s=new E(n||[]);return o._invoke=function(t,e,i){var n=h;return function(r,o){if(n===f)throw new Error("Generator is already running");if(n===p){if("throw"===r)throw o;return D()}for(i.method=r,i.arg=o;;){var s=i.delegate;if(s){var a=M(s,i);if(a){if(a===m)continue;return a}}if("next"===i.method)i.sent=i._sent=i.arg;else if("throw"===i.method){if(n===h)throw n=p,i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);n=f;var l=w(t,e,i);if("normal"===l.type){if(n=i.done?p:d,l.arg===m)continue;return{value:l.arg,done:i.done}}"throw"===l.type&&(n=p,i.method="throw",i.arg=l.arg)}}}(t,i,s),o}function w(t,e,i){try{return{type:"normal",arg:t.call(e,i)}}catch(t){return{type:"throw",arg:t}}}function x(){}function k(){}function T(){}function C(t){["next","throw","return"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function S(t){var e;this._invoke=function(i,n){function o(){return new Promise(function(e,o){!function e(i,n,o,s){var a=w(t[i],t,n);if("throw"!==a.type){var l=a.arg,u=l.value;return u&&"object"==typeof u&&r.call(u,"__await")?Promise.resolve(u.__await).then(function(t){e("next",t,o,s)},function(t){e("throw",t,o,s)}):Promise.resolve(u).then(function(t){l.value=t,o(l)},s)}s(a.arg)}(i,n,e,o)})}return e=e?e.then(o,o):o()}}function M(t,e){var n=t.iterator[e.method];if(n===i){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=i,M(t,e),"throw"===e.method))return m;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return m}var r=w(n,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,m;var o=r.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=i),e.delegate=null,m):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,m)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function O(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function L(t){if(t){var e=t[s];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n=0,o=r&&n.regeneratorRuntime;if(n.regeneratorRuntime=void 0,t.exports=i("QVnC"),r)n.regeneratorRuntime=o;else try{delete n.regeneratorRuntime}catch(t){n.regeneratorRuntime=void 0}},R6c1:function(t,e,i){t.exports=!i("6MLN")&&!i("wLcK")(function(){return 7!=Object.defineProperty(i("9kxq")("div"),"a",{get:function(){return 7}}).a})},RQ0L:function(t,e,i){var n=i("bgO7"),r=1/0;t.exports=function(t){if("string"==typeof t||n(t))return t;var e=t+"";return"0"==e&&1/t==-r?"-0":e}},RZXU:function(t,e,i){!function(e,n){t.exports=n(i("H54I"))}("undefined"!=typeof self&&self,function(t){return function(t){var e={};function i(n){if(e[n])return e[n].exports;var r=e[n]={i:n,l:!1,exports:{}};return t[n].call(r.exports,r,r.exports,i),r.l=!0,r.exports}return i.m=t,i.c=e,i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)i.d(n,r,function(e){return t[e]}.bind(null,r));return n},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s="fb15")}({"01f9":function(t,e,i){"use strict";var n=i("2d00"),r=i("5ca1"),o=i("2aba"),s=i("32e9"),a=i("84f2"),l=i("41a0"),u=i("7f20"),c=i("38fd"),h=i("2b4c")("iterator"),d=!([].keys&&"next"in[].keys()),f=function(){return this};t.exports=function(t,e,i,p,m,g,v){l(i,e,p);var y,_,b,w=function(t){if(!d&&t in C)return C[t];switch(t){case"keys":case"values":return function(){return new i(this,t)}}return function(){return new i(this,t)}},x=e+" Iterator",k="values"==m,T=!1,C=t.prototype,S=C[h]||C["@@iterator"]||m&&C[m],M=S||w(m),P=m?k?w("entries"):M:void 0,O="Array"==e&&C.entries||S;if(O&&(b=c(O.call(new t)))!==Object.prototype&&b.next&&(u(b,x,!0),n||"function"==typeof b[h]||s(b,h,f)),k&&S&&"values"!==S.name&&(T=!0,M=function(){return S.call(this)}),n&&!v||!d&&!T&&C[h]||s(C,h,M),a[e]=M,a[x]=f,m)if(y={values:k?M:w("values"),keys:g?M:w("keys"),entries:P},v)for(_ in y)_ in C||o(C,_,y[_]);else r(r.P+r.F*(d||T),e,y);return y}},"02f4":function(t,e,i){var n=i("4588"),r=i("be13");t.exports=function(t){return function(e,i){var o,s,a=String(r(e)),l=n(i),u=a.length;return l<0||l>=u?t?"":void 0:(o=a.charCodeAt(l))<55296||o>56319||l+1===u||(s=a.charCodeAt(l+1))<56320||s>57343?t?a.charAt(l):o:t?a.slice(l,l+2):s-56320+(o-55296<<10)+65536}}},"0390":function(t,e,i){"use strict";var n=i("02f4")(!0);t.exports=function(t,e,i){return e+(i?n(t,e).length:1)}},"0bfb":function(t,e,i){"use strict";var n=i("cb7c");t.exports=function(){var t=n(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},"0d58":function(t,e,i){var n=i("ce10"),r=i("e11e");t.exports=Object.keys||function(t){return n(t,r)}},1495:function(t,e,i){var n=i("86cc"),r=i("cb7c"),o=i("0d58");t.exports=i("9e1e")?Object.defineProperties:function(t,e){r(t);for(var i,s=o(e),a=s.length,l=0;a>l;)n.f(t,i=s[l++],e[i]);return t}},"214f":function(t,e,i){"use strict";i("b0c5");var n=i("2aba"),r=i("32e9"),o=i("79e5"),s=i("be13"),a=i("2b4c"),l=i("520a"),u=a("species"),c=!o(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$")}),h=function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var i="ab".split(t);return 2===i.length&&"a"===i[0]&&"b"===i[1]}();t.exports=function(t,e,i){var d=a(t),f=!o(function(){var e={};return e[d]=function(){return 7},7!=""[t](e)}),p=f?!o(function(){var e=!1,i=/a/;return i.exec=function(){return e=!0,null},"split"===t&&(i.constructor={},i.constructor[u]=function(){return i}),i[d](""),!e}):void 0;if(!f||!p||"replace"===t&&!c||"split"===t&&!h){var m=/./[d],g=i(s,d,""[t],function(t,e,i,n,r){return e.exec===l?f&&!r?{done:!0,value:m.call(e,i,n)}:{done:!0,value:t.call(i,e,n)}:{done:!1}}),v=g[0],y=g[1];n(String.prototype,t,v),r(RegExp.prototype,d,2==e?function(t,e){return y.call(t,this,e)}:function(t){return y.call(t,this)})}}},"230e":function(t,e,i){var n=i("d3f4"),r=i("7726").document,o=n(r)&&n(r.createElement);t.exports=function(t){return o?r.createElement(t):{}}},"23c6":function(t,e,i){var n=i("2d95"),r=i("2b4c")("toStringTag"),o="Arguments"==n(function(){return arguments}());t.exports=function(t){var e,i,s;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(i=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),r))?i:o?n(e):"Object"==(s=n(e))&&"function"==typeof e.callee?"Arguments":s}},2621:function(t,e){e.f=Object.getOwnPropertySymbols},"2aba":function(t,e,i){var n=i("7726"),r=i("32e9"),o=i("69a8"),s=i("ca5a")("src"),a=i("fa5b"),l=(""+a).split("toString");i("8378").inspectSource=function(t){return a.call(t)},(t.exports=function(t,e,i,a){var u="function"==typeof i;u&&(o(i,"name")||r(i,"name",e)),t[e]!==i&&(u&&(o(i,s)||r(i,s,t[e]?""+t[e]:l.join(String(e)))),t===n?t[e]=i:a?t[e]?t[e]=i:r(t,e,i):(delete t[e],r(t,e,i)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[s]||a.call(this)})},"2aeb":function(t,e,i){var n=i("cb7c"),r=i("1495"),o=i("e11e"),s=i("613b")("IE_PROTO"),a=function(){},l=function(){var t,e=i("230e")("iframe"),n=o.length;for(e.style.display="none",i("fab2").appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("