diff --git a/frontend/src/__global/js/functions.js b/frontend/src/__global/js/functions.js index 21f0fc52a..f4e86d0b4 100644 --- a/frontend/src/__global/js/functions.js +++ b/frontend/src/__global/js/functions.js @@ -1,31 +1,4 @@ -window.removeTinymce = function () { - while (window.tinymce.editors.length > 0) { - window.tinymce.remove(window.tinymce.editors[0]) - } -} - -window.initTextRichEditor = function (elements, readonly = false) { - window.removeTinymce() - const configTinymce = { - selector: elements === null || elements === undefined ? 'textarea' : elements, - force_br_newlines: false, - force_p_newlines: false, - forced_root_block: '', - min_height: 200, - language: 'pt_BR', - plugins: ['lists table code'], - menubar: 'edit view format table tools', - toolbar: 'undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent' - } - if (readonly) { - configTinymce.readonly = 1 - configTinymce.menubar = false - configTinymce.toolbar = false - } - window.tinymce.init(configTinymce) -} - window.refreshDatePicker = function () { $.datepicker.setDefaults($.datepicker.regional['pt-BR']) $('.dateinput').datepicker() diff --git a/frontend/src/__global/js/tinymce/lang/pt_BR.js b/frontend/src/__global/js/tinymce/lang/pt_BR.js deleted file mode 100644 index 8a6b2eaca..000000000 --- a/frontend/src/__global/js/tinymce/lang/pt_BR.js +++ /dev/null @@ -1,262 +0,0 @@ -/* eslint-disable */ -tinymce.addI18n('pt_BR', { - 'Redo': 'Refazer', - 'Undo': 'Desfazer', - 'Cut': 'Recortar', - 'Copy': 'Copiar', - 'Paste': 'Colar', - 'Select all': 'Selecionar tudo', - 'New document': 'Novo documento', - 'Ok': 'Ok', - 'Cancel': 'Cancelar', - 'Visual aids': 'Ajuda visual', - 'Bold': 'Negrito', - 'Italic': 'It\u00e1lico', - 'Underline': 'Sublinhar', - 'Strikethrough': 'Riscar', - 'Superscript': 'Sobrescrito', - 'Subscript': 'Subscrever', - 'Clear formatting': 'Limpar formata\u00e7\u00e3o', - 'Align left': 'Alinhar \u00e0 esquerda', - 'Align center': 'Centralizar', - 'Align right': 'Alinhar \u00e0 direita', - 'Justify': 'Justificar', - 'Bullet list': 'Lista n\u00e3o ordenada', - 'Numbered list': 'Lista ordenada', - 'Decrease indent': 'Diminuir recuo', - 'Increase indent': 'Aumentar recuo', - 'Close': 'Fechar', - 'Formats': 'Formatos', - 'Your browser doesn\'t support direct access to the clipboard. Please use the Ctrl+X/C/V keyboard shortcuts instead.': 'Seu navegador n\u00e3o suporta acesso direto \u00e0 \u00e1rea de transfer\u00eancia. Por favor use os atalhos Ctrl+X - C - V do teclado', - 'Headers': 'Cabe\u00e7alhos', - 'Header 1': 'Cabe\u00e7alho 1', - 'Header 2': 'Cabe\u00e7alho 2', - 'Header 3': 'Cabe\u00e7alho 3', - 'Header 4': 'Cabe\u00e7alho 4', - 'Header 5': 'Cabe\u00e7alho 5', - 'Header 6': 'Cabe\u00e7alho 6', - 'Headings': 'Cabe\u00e7alhos', - 'Heading 1': 'Cabe\u00e7alho 1', - 'Heading 2': 'Cabe\u00e7alho 2', - 'Heading 3': 'Cabe\u00e7alho 3', - 'Heading 4': 'Cabe\u00e7alho 4', - 'Heading 5': 'Cabe\u00e7alho 5', - 'Heading 6': 'Cabe\u00e7alho 6', - 'Preformatted': 'Preformatado', - 'Div': 'Div', - 'Pre': 'Pre', - 'Code': 'C\u00f3digo', - 'Paragraph': 'Par\u00e1grafo', - 'Blockquote': 'Aspas', - 'Inline': 'Em linha', - 'Blocks': 'Blocos', - 'Paste is now in plain text mode. Contents will now be pasted as plain text until you toggle this option off.': 'O comando colar est\u00e1 agora em modo texto plano. O conte\u00fado ser\u00e1 colado como texto plano at\u00e9 voc\u00ea desligar esta op\u00e7\u00e3o.', - 'Font Family': 'Fonte', - 'Font Sizes': 'Tamanho', - 'Class': 'Classe', - 'Browse for an image': 'Procure uma imagem', - 'OR': 'OU', - 'Drop an image here': 'Arraste uma imagem aqui', - 'Upload': 'Carregar', - 'Block': 'Bloco', - 'Align': 'Alinhamento', - 'Default': 'Padr\u00e3o', - 'Circle': 'C\u00edrculo', - 'Disc': 'Disco', - 'Square': 'Quadrado', - 'Lower Alpha': 'a. b. c. ...', - 'Lower Greek': '\u03b1. \u03b2. \u03b3. ...', - 'Lower Roman': 'i. ii. iii. ...', - 'Upper Alpha': 'A. B. C. ...', - 'Upper Roman': 'I. II. III. ...', - 'Anchor': '\u00c2ncora', - 'Name': 'Nome', - 'Id': 'Id', - 'Id should start with a letter, followed only by letters, numbers, dashes, dots, colons or underscores.': 'Id deve come\u00e7ar com uma letra, seguido apenas por letras, n\u00fameros, tra\u00e7os, pontos, dois pontos ou sublinhados.', - 'You have unsaved changes are you sure you want to navigate away?': 'Voc\u00ea tem mudan\u00e7as n\u00e3o salvas. Voc\u00ea tem certeza que deseja sair?', - 'Restore last draft': 'Restaurar \u00faltimo rascunho', - 'Special character': 'Caracteres especiais', - 'Source code': 'C\u00f3digo fonte', - 'Insert/Edit code sample': 'Inserir/Editar c\u00f3digo de exemplo', - 'Language': 'Idioma', - 'Code sample': 'Exemplo de c\u00f3digo', - 'Color': 'Cor', - 'R': 'R', - 'G': 'G', - 'B': 'B', - 'Left to right': 'Da esquerda para a direita', - 'Right to left': 'Da direita para a esquerda', - 'Emoticons': 'Emoticons', - 'Document properties': 'Propriedades do documento', - 'Title': 'T\u00edtulo', - 'Keywords': 'Palavras-chave', - 'Description': 'Descri\u00e7\u00e3o', - 'Robots': 'Rob\u00f4s', - 'Author': 'Autor', - 'Encoding': 'Codifica\u00e7\u00e3o', - 'Fullscreen': 'Tela cheia', - 'Action': 'A\u00e7\u00e3o', - 'Shortcut': 'Atalho', - 'Help': 'Ajuda', - 'Address': 'Endere\u00e7o', - 'Focus to menubar': 'Foco no menu', - 'Focus to toolbar': 'Foco na barra de ferramentas', - 'Focus to element path': 'Foco no caminho do elemento', - 'Focus to contextual toolbar': 'Foco na barra de ferramentas contextual', - 'Insert link (if link plugin activated)': 'Inserir link (se o plugin de link estiver ativado)', - 'Save (if save plugin activated)': 'Salvar (se o plugin de salvar estiver ativado)', - 'Find (if searchreplace plugin activated)': 'Procurar (se o plugin de procurar e substituir estiver ativado)', - 'Plugins installed ({0}):': 'Plugins instalados ({0}):', - 'Premium plugins:': 'Plugins premium:', - 'Learn more...': 'Saiba mais...', - 'You are using {0}': 'Voc\u00ea est\u00e1 usando {0}', - 'Plugins': 'Plugins', - 'Handy Shortcuts': 'Atalhos \u00fateis', - 'Horizontal line': 'Linha horizontal', - 'Insert/edit image': 'Inserir/editar imagem', - 'Image description': 'Inserir descri\u00e7\u00e3o', - 'Source': 'Endere\u00e7o da imagem', - 'Dimensions': 'Dimens\u00f5es', - 'Constrain proportions': 'Manter propor\u00e7\u00f5es', - 'General': 'Geral', - 'Advanced': 'Avan\u00e7ado', - 'Style': 'Estilo', - 'Vertical space': 'Espa\u00e7amento vertical', - 'Horizontal space': 'Espa\u00e7amento horizontal', - 'Border': 'Borda', - 'Insert image': 'Inserir imagem', - 'Image': 'Imagem', - 'Image list': 'Lista de Imagens', - 'Rotate counterclockwise': 'Girar em sentido hor\u00e1rio', - 'Rotate clockwise': 'Girar em sentido anti-hor\u00e1rio', - 'Flip vertically': 'Virar verticalmente', - 'Flip horizontally': 'Virar horizontalmente', - 'Edit image': 'Editar imagem', - 'Image options': 'Op\u00e7\u00f5es de Imagem', - 'Zoom in': 'Aumentar zoom', - 'Zoom out': 'Diminuir zoom', - 'Crop': 'Cortar', - 'Resize': 'Redimensionar', - 'Orientation': 'Orienta\u00e7\u00e3o', - 'Brightness': 'Brilho', - 'Sharpen': 'Aumentar nitidez', - 'Contrast': 'Contraste', - 'Color levels': 'N\u00edveis de cor', - 'Gamma': 'Gama', - 'Invert': 'Inverter', - 'Apply': 'Aplicar', - 'Back': 'Voltar', - 'Insert date/time': 'Inserir data/hora', - 'Date/time': 'data/hora', - 'Insert link': 'Inserir link', - 'Insert/edit link': 'Inserir/editar link', - 'Text to display': 'Texto para mostrar', - 'Url': 'Url', - 'Target': 'Alvo', - 'None': 'Nenhum', - 'New window': 'Nova janela', - 'Remove link': 'Remover link', - 'Anchors': '\u00c2ncoras', - 'Link': 'Link', - 'Paste or type a link': 'Cole ou digite um Link', - 'The URL you entered seems to be an email address. Do you want to add the required mailto: prefix?': 'The URL you entered seems to be an email address. Do you want to add the required mailto: prefix?', - 'The URL you entered seems to be an external link. Do you want to add the required http:// prefix?': 'A URL que voc\u00ea informou parece ser um link externo. Deseja incluir o prefixo http://?', - 'Link list': 'Lista de Links', - 'Insert video': 'Inserir v\u00eddeo', - 'Insert/edit video': 'Inserir/editar v\u00eddeo', - 'Insert/edit media': 'Inserir/editar imagem', - 'Alternative source': 'Fonte alternativa', - 'Poster': 'Autor', - 'Paste your embed code below:': 'Insira o c\u00f3digo de incorpora\u00e7\u00e3o abaixo:', - 'Embed': 'Incorporar', - 'Media': 'imagem', - 'Nonbreaking space': 'Espa\u00e7o n\u00e3o separ\u00e1vel', - 'Page break': 'Quebra de p\u00e1gina', - 'Paste as text': 'Colar como texto', - 'Preview': 'Pr\u00e9-visualizar', - 'Print': 'Imprimir', - 'Save': 'Salvar', - 'Find': 'Localizar', - 'Replace with': 'Substituir por', - 'Replace': 'Substituir', - 'Replace all': 'Substituir tudo', - 'Prev': 'Anterior', - 'Next': 'Pr\u00f3ximo', - 'Find and replace': 'Localizar e substituir', - 'Could not find the specified string.': 'N\u00e3o foi poss\u00edvel encontrar o termo especificado', - 'Match case': 'Diferenciar mai\u00fasculas e min\u00fasculas', - 'Whole words': 'Palavras inteiras', - 'Spellcheck': 'Corretor ortogr\u00e1fico', - 'Ignore': 'Ignorar', - 'Ignore all': 'Ignorar tudo', - 'Finish': 'Finalizar', - 'Add to Dictionary': 'Adicionar ao Dicion\u00e1rio', - 'Insert table': 'Inserir tabela', - 'Table properties': 'Propriedades da tabela', - 'Delete table': 'Excluir tabela', - 'Cell': 'C\u00e9lula', - 'Row': 'Linha', - 'Column': 'Coluna', - 'Cell properties': 'Propriedades da c\u00e9lula', - 'Merge cells': 'Agrupar c\u00e9lulas', - 'Split cell': 'Dividir c\u00e9lula', - 'Insert row before': 'Inserir linha antes', - 'Insert row after': 'Inserir linha depois', - 'Delete row': 'Excluir linha', - 'Row properties': 'Propriedades da linha', - 'Cut row': 'Recortar linha', - 'Copy row': 'Copiar linha', - 'Paste row before': 'Colar linha antes', - 'Paste row after': 'Colar linha depois', - 'Insert column before': 'Inserir coluna antes', - 'Insert column after': 'Inserir coluna depois', - 'Delete column': 'Excluir coluna', - 'Cols': 'Colunas', - 'Rows': 'Linhas', - 'Width': 'Largura', - 'Height': 'Altura', - 'Cell spacing': 'Espa\u00e7amento da c\u00e9lula', - 'Cell padding': 'Espa\u00e7amento interno da c\u00e9lula', - 'Caption': 'Legenda', - 'Left': 'Esquerdo', - 'Center': 'Centro', - 'Right': 'Direita', - 'Cell type': 'Tipo de c\u00e9lula', - 'Scope': 'Escopo', - 'Alignment': 'Alinhamento', - 'H Align': 'Alinhamento H', - 'V Align': 'Alinhamento V', - 'Top': 'Superior', - 'Middle': 'Meio', - 'Bottom': 'Inferior', - 'Header cell': 'C\u00e9lula cabe\u00e7alho', - 'Row group': 'Agrupar linha', - 'Column group': 'Agrupar coluna', - 'Row type': 'Tipo de linha', - 'Header': 'Cabe\u00e7alho', - 'Body': 'Corpo', - 'Footer': 'Rodap\u00e9', - 'Border color': 'Cor da borda', - 'Insert template': 'Inserir modelo', - 'Templates': 'Modelos', - 'Template': 'Modelo', - 'Text color': 'Cor do texto', - 'Background color': 'Cor do fundo', - 'Custom...': 'Personalizado...', - 'Custom color': 'Cor personalizada', - 'No color': 'Nenhuma cor', - 'Table of Contents': '\u00edndice de Conte\u00fado', - 'Show blocks': 'Mostrar blocos', - 'Show invisible characters': 'Exibir caracteres invis\u00edveis', - 'Words: {0}': 'Palavras: {0}', - '{0} words': '{0} palavras', - 'File': 'Arquivo', - 'Edit': 'Editar', - 'Insert': 'Inserir', - 'View': 'Visualizar', - 'Format': 'Formatar', - 'Table': 'Tabela', - 'Tools': 'Ferramentas', - 'Powered by {0}': 'Distribu\u00eddo por {0}', - 'Rich Text Area. Press ALT-F9 for menu. Press ALT-F10 for toolbar. Press ALT-0 for help': '\u00c1rea de texto formatado. Pressione ALT-F9 para exibir o menu, ALT-F10 para exibir a barra de ferramentas ou ALT-0 para exibir a ajuda' -}) diff --git a/frontend/src/__global/main.js b/frontend/src/__global/main.js index ac9194498..a30083a01 100644 --- a/frontend/src/__global/main.js +++ b/frontend/src/__global/main.js @@ -14,20 +14,11 @@ import 'jquery-ui/ui/i18n/datepicker-pt-BR' import 'jquery-ui-themes/themes/cupertino/jquery-ui.min.css' -import tinymce from 'tinymce/tinymce' - -import './js/tinymce/lang/pt_BR.js' - -import 'tinymce/themes/silver' -import 'tinymce/icons/default' -import 'tinymce/plugins/table' -import 'tinymce/plugins/lists' -import 'tinymce/plugins/code' - import 'jquery-mask-plugin' import './scss/app.scss' +import './js/tinymce' import './js/image_cropping' import './js/functions' @@ -41,7 +32,6 @@ window.$ = $ window.jQuery = $ window.moment = moment -window.tinymce = tinymce window.autorModal() window.refreshMask() diff --git a/frontend/webpack-stats.json b/frontend/webpack-stats.json index d6421c79f..437d10da2 100644 --- a/frontend/webpack-stats.json +++ b/frontend/webpack-stats.json @@ -1 +1 @@ -{"status":"done","publicPath":"/static/sapl/frontend/","chunks":{"chunk-vendors":[{"name":"css/chunk-vendors.de0fe4be.css","publicPath":"/static/sapl/frontend/css/chunk-vendors.de0fe4be.css","path":"sapl/static/sapl/frontend/css/chunk-vendors.de0fe4be.css"},{"name":"js/chunk-vendors.fd2b3187.js","publicPath":"/static/sapl/frontend/js/chunk-vendors.fd2b3187.js","path":"sapl/static/sapl/frontend/js/chunk-vendors.fd2b3187.js"},{"name":"css/chunk-vendors.de0fe4be.css.map","publicPath":"/static/sapl/frontend/css/chunk-vendors.de0fe4be.css.map","path":"sapl/static/sapl/frontend/css/chunk-vendors.de0fe4be.css.map"},{"name":"js/chunk-vendors.fd2b3187.js.map","publicPath":"/static/sapl/frontend/js/chunk-vendors.fd2b3187.js.map","path":"sapl/static/sapl/frontend/js/chunk-vendors.fd2b3187.js.map"}],"compilacao":[{"name":"css/compilacao.00eb2b5d.css","publicPath":"/static/sapl/frontend/css/compilacao.00eb2b5d.css","path":"sapl/static/sapl/frontend/css/compilacao.00eb2b5d.css"},{"name":"js/compilacao.44a714dd.js","publicPath":"/static/sapl/frontend/js/compilacao.44a714dd.js","path":"sapl/static/sapl/frontend/js/compilacao.44a714dd.js"},{"name":"css/compilacao.00eb2b5d.css.map","publicPath":"/static/sapl/frontend/css/compilacao.00eb2b5d.css.map","path":"sapl/static/sapl/frontend/css/compilacao.00eb2b5d.css.map"},{"name":"js/compilacao.44a714dd.js.map","publicPath":"/static/sapl/frontend/js/compilacao.44a714dd.js.map","path":"sapl/static/sapl/frontend/js/compilacao.44a714dd.js.map"}],"global":[{"name":"css/global.80b7564c.css","publicPath":"/static/sapl/frontend/css/global.80b7564c.css","path":"sapl/static/sapl/frontend/css/global.80b7564c.css"},{"name":"js/global.94c2d381.js","publicPath":"/static/sapl/frontend/js/global.94c2d381.js","path":"sapl/static/sapl/frontend/js/global.94c2d381.js"},{"name":"css/global.80b7564c.css.map","publicPath":"/static/sapl/frontend/css/global.80b7564c.css.map","path":"sapl/static/sapl/frontend/css/global.80b7564c.css.map"},{"name":"js/global.94c2d381.js.map","publicPath":"/static/sapl/frontend/js/global.94c2d381.js.map","path":"sapl/static/sapl/frontend/js/global.94c2d381.js.map"}],"painel":[{"name":"css/painel.5d957a9b.css","publicPath":"/static/sapl/frontend/css/painel.5d957a9b.css","path":"sapl/static/sapl/frontend/css/painel.5d957a9b.css"},{"name":"js/painel.37936654.js","publicPath":"/static/sapl/frontend/js/painel.37936654.js","path":"sapl/static/sapl/frontend/js/painel.37936654.js"},{"name":"css/painel.5d957a9b.css.map","publicPath":"/static/sapl/frontend/css/painel.5d957a9b.css.map","path":"sapl/static/sapl/frontend/css/painel.5d957a9b.css.map"},{"name":"js/painel.37936654.js.map","publicPath":"/static/sapl/frontend/js/painel.37936654.js.map","path":"sapl/static/sapl/frontend/js/painel.37936654.js.map"}],"parlamentar":[{"name":"css/parlamentar.0e433876.css","publicPath":"/static/sapl/frontend/css/parlamentar.0e433876.css","path":"sapl/static/sapl/frontend/css/parlamentar.0e433876.css"},{"name":"js/parlamentar.84997ad7.js","publicPath":"/static/sapl/frontend/js/parlamentar.84997ad7.js","path":"sapl/static/sapl/frontend/js/parlamentar.84997ad7.js"},{"name":"css/parlamentar.0e433876.css.map","publicPath":"/static/sapl/frontend/css/parlamentar.0e433876.css.map","path":"sapl/static/sapl/frontend/css/parlamentar.0e433876.css.map"},{"name":"js/parlamentar.84997ad7.js.map","publicPath":"/static/sapl/frontend/js/parlamentar.84997ad7.js.map","path":"sapl/static/sapl/frontend/js/parlamentar.84997ad7.js.map"}]}} \ No newline at end of file +{"status":"done","publicPath":"/static/sapl/frontend/","chunks":{"chunk-vendors":[{"name":"css/chunk-vendors.e8d8c6de.css","publicPath":"/static/sapl/frontend/css/chunk-vendors.e8d8c6de.css","path":"sapl/static/sapl/frontend/css/chunk-vendors.e8d8c6de.css"},{"name":"js/chunk-vendors.87c63f86.js","publicPath":"/static/sapl/frontend/js/chunk-vendors.87c63f86.js","path":"sapl/static/sapl/frontend/js/chunk-vendors.87c63f86.js"},{"name":"css/chunk-vendors.e8d8c6de.css.map","publicPath":"/static/sapl/frontend/css/chunk-vendors.e8d8c6de.css.map","path":"sapl/static/sapl/frontend/css/chunk-vendors.e8d8c6de.css.map"},{"name":"js/chunk-vendors.87c63f86.js.map","publicPath":"/static/sapl/frontend/js/chunk-vendors.87c63f86.js.map","path":"sapl/static/sapl/frontend/js/chunk-vendors.87c63f86.js.map"}],"compilacao":[{"name":"css/compilacao.00eb2b5d.css","publicPath":"/static/sapl/frontend/css/compilacao.00eb2b5d.css","path":"sapl/static/sapl/frontend/css/compilacao.00eb2b5d.css"},{"name":"js/compilacao.44a714dd.js","publicPath":"/static/sapl/frontend/js/compilacao.44a714dd.js","path":"sapl/static/sapl/frontend/js/compilacao.44a714dd.js"},{"name":"css/compilacao.00eb2b5d.css.map","publicPath":"/static/sapl/frontend/css/compilacao.00eb2b5d.css.map","path":"sapl/static/sapl/frontend/css/compilacao.00eb2b5d.css.map"},{"name":"js/compilacao.44a714dd.js.map","publicPath":"/static/sapl/frontend/js/compilacao.44a714dd.js.map","path":"sapl/static/sapl/frontend/js/compilacao.44a714dd.js.map"}],"global":[{"name":"css/global.80b7564c.css","publicPath":"/static/sapl/frontend/css/global.80b7564c.css","path":"sapl/static/sapl/frontend/css/global.80b7564c.css"},{"name":"js/global.503e97c0.js","publicPath":"/static/sapl/frontend/js/global.503e97c0.js","path":"sapl/static/sapl/frontend/js/global.503e97c0.js"},{"name":"css/global.80b7564c.css.map","publicPath":"/static/sapl/frontend/css/global.80b7564c.css.map","path":"sapl/static/sapl/frontend/css/global.80b7564c.css.map"},{"name":"js/global.503e97c0.js.map","publicPath":"/static/sapl/frontend/js/global.503e97c0.js.map","path":"sapl/static/sapl/frontend/js/global.503e97c0.js.map"}],"painel":[{"name":"css/painel.5d957a9b.css","publicPath":"/static/sapl/frontend/css/painel.5d957a9b.css","path":"sapl/static/sapl/frontend/css/painel.5d957a9b.css"},{"name":"js/painel.37936654.js","publicPath":"/static/sapl/frontend/js/painel.37936654.js","path":"sapl/static/sapl/frontend/js/painel.37936654.js"},{"name":"css/painel.5d957a9b.css.map","publicPath":"/static/sapl/frontend/css/painel.5d957a9b.css.map","path":"sapl/static/sapl/frontend/css/painel.5d957a9b.css.map"},{"name":"js/painel.37936654.js.map","publicPath":"/static/sapl/frontend/js/painel.37936654.js.map","path":"sapl/static/sapl/frontend/js/painel.37936654.js.map"}],"parlamentar":[{"name":"css/parlamentar.0e433876.css","publicPath":"/static/sapl/frontend/css/parlamentar.0e433876.css","path":"sapl/static/sapl/frontend/css/parlamentar.0e433876.css"},{"name":"js/parlamentar.84997ad7.js","publicPath":"/static/sapl/frontend/js/parlamentar.84997ad7.js","path":"sapl/static/sapl/frontend/js/parlamentar.84997ad7.js"},{"name":"css/parlamentar.0e433876.css.map","publicPath":"/static/sapl/frontend/css/parlamentar.0e433876.css.map","path":"sapl/static/sapl/frontend/css/parlamentar.0e433876.css.map"},{"name":"js/parlamentar.84997ad7.js.map","publicPath":"/static/sapl/frontend/js/parlamentar.84997ad7.js.map","path":"sapl/static/sapl/frontend/js/parlamentar.84997ad7.js.map"}]}} \ No newline at end of file diff --git a/package.json b/package.json index e69293214..6c1cff61e 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,6 @@ "serialize-javascript": "^3.1.0", "terser": "^4.6.11", "tinymce": "^5.6.2", - "tinymce-light-skin": "^1.3.1", "vue": "^2.6.11", "webpack": "^4.43.0", "webpack-jquery-ui": "^2.0.1", @@ -51,6 +50,7 @@ "eslint-plugin-vue": "^6.2.2", "node-sass": "^4.13.1", "sass-loader": "^8.0.2", + "shelljs": "^0.8.4", "vue-template-compiler": "^2.6.11", "webpack-bundle-tracker": "^0.4.3" } diff --git a/sapl/static/sapl/frontend/css/chunk-vendors.de0fe4be.css b/sapl/static/sapl/frontend/css/chunk-vendors.de0fe4be.css deleted file mode 100644 index 628cfc3a4..000000000 --- a/sapl/static/sapl/frontend/css/chunk-vendors.de0fe4be.css +++ /dev/null @@ -1,126 +0,0 @@ -/*! - * Font Awesome Free 5.15.1 by @fontawesome - https://fontawesome.com - * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) - */.fa,.fab,.fad,.fal,.far,.fas{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-block;font-style:normal;font-variant:normal;text-rendering:auto;line-height:1}.fa-lg{font-size:1.33333em;line-height:.75em;vertical-align:-.0667em}.fa-xs{font-size:.75em}.fa-sm{font-size:.875em}.fa-1x{font-size:1em}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-6x{font-size:6em}.fa-7x{font-size:7em}.fa-8x{font-size:8em}.fa-9x{font-size:9em}.fa-10x{font-size:10em}.fa-fw{text-align:center;width:1.25em}.fa-ul{list-style-type:none;margin-left:2.5em;padding-left:0}.fa-ul>li{position:relative}.fa-li{left:-2em;position:absolute;text-align:center;width:2em;line-height:inherit}.fa-border{border:.08em solid #eee;border-radius:.1em;padding:.2em .25em .15em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left,.fab.fa-pull-left,.fal.fa-pull-left,.far.fa-pull-left,.fas.fa-pull-left{margin-right:.3em}.fa.fa-pull-right,.fab.fa-pull-right,.fal.fa-pull-right,.far.fa-pull-right,.fas.fa-pull-right{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s linear infinite;animation:fa-spin 2s linear infinite}.fa-pulse{-webkit-animation:fa-spin 1s steps(8) infinite;animation:fa-spin 1s steps(8) infinite}@-webkit-keyframes fa-spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes fa-spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.fa-rotate-90{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";transform:rotate(90deg)}.fa-rotate-180{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";transform:rotate(180deg)}.fa-rotate-270{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";transform:rotate(270deg)}.fa-flip-horizontal{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";transform:scaleX(-1)}.fa-flip-vertical{transform:scaleY(-1)}.fa-flip-both,.fa-flip-horizontal.fa-flip-vertical,.fa-flip-vertical{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)"}.fa-flip-both,.fa-flip-horizontal.fa-flip-vertical{transform:scale(-1)}:root .fa-flip-both,:root .fa-flip-horizontal,:root .fa-flip-vertical,:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270{filter:none}.fa-stack{display:inline-block;height:2em;line-height:2em;position:relative;vertical-align:middle;width:2.5em}.fa-stack-1x,.fa-stack-2x{left:0;position:absolute;text-align:center;width:100%}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-500px:before{content:"\f26e"}.fa-accessible-icon:before{content:"\f368"}.fa-accusoft:before{content:"\f369"}.fa-acquisitions-incorporated:before{content:"\f6af"}.fa-ad:before{content:"\f641"}.fa-address-book:before{content:"\f2b9"}.fa-address-card:before{content:"\f2bb"}.fa-adjust:before{content:"\f042"}.fa-adn:before{content:"\f170"}.fa-adversal:before{content:"\f36a"}.fa-affiliatetheme:before{content:"\f36b"}.fa-air-freshener:before{content:"\f5d0"}.fa-airbnb:before{content:"\f834"}.fa-algolia:before{content:"\f36c"}.fa-align-center:before{content:"\f037"}.fa-align-justify:before{content:"\f039"}.fa-align-left:before{content:"\f036"}.fa-align-right:before{content:"\f038"}.fa-alipay:before{content:"\f642"}.fa-allergies:before{content:"\f461"}.fa-amazon:before{content:"\f270"}.fa-amazon-pay:before{content:"\f42c"}.fa-ambulance:before{content:"\f0f9"}.fa-american-sign-language-interpreting:before{content:"\f2a3"}.fa-amilia:before{content:"\f36d"}.fa-anchor:before{content:"\f13d"}.fa-android:before{content:"\f17b"}.fa-angellist:before{content:"\f209"}.fa-angle-double-down:before{content:"\f103"}.fa-angle-double-left:before{content:"\f100"}.fa-angle-double-right:before{content:"\f101"}.fa-angle-double-up:before{content:"\f102"}.fa-angle-down:before{content:"\f107"}.fa-angle-left:before{content:"\f104"}.fa-angle-right:before{content:"\f105"}.fa-angle-up:before{content:"\f106"}.fa-angry:before{content:"\f556"}.fa-angrycreative:before{content:"\f36e"}.fa-angular:before{content:"\f420"}.fa-ankh:before{content:"\f644"}.fa-app-store:before{content:"\f36f"}.fa-app-store-ios:before{content:"\f370"}.fa-apper:before{content:"\f371"}.fa-apple:before{content:"\f179"}.fa-apple-alt:before{content:"\f5d1"}.fa-apple-pay:before{content:"\f415"}.fa-archive:before{content:"\f187"}.fa-archway:before{content:"\f557"}.fa-arrow-alt-circle-down:before{content:"\f358"}.fa-arrow-alt-circle-left:before{content:"\f359"}.fa-arrow-alt-circle-right:before{content:"\f35a"}.fa-arrow-alt-circle-up:before{content:"\f35b"}.fa-arrow-circle-down:before{content:"\f0ab"}.fa-arrow-circle-left:before{content:"\f0a8"}.fa-arrow-circle-right:before{content:"\f0a9"}.fa-arrow-circle-up:before{content:"\f0aa"}.fa-arrow-down:before{content:"\f063"}.fa-arrow-left:before{content:"\f060"}.fa-arrow-right:before{content:"\f061"}.fa-arrow-up:before{content:"\f062"}.fa-arrows-alt:before{content:"\f0b2"}.fa-arrows-alt-h:before{content:"\f337"}.fa-arrows-alt-v:before{content:"\f338"}.fa-artstation:before{content:"\f77a"}.fa-assistive-listening-systems:before{content:"\f2a2"}.fa-asterisk:before{content:"\f069"}.fa-asymmetrik:before{content:"\f372"}.fa-at:before{content:"\f1fa"}.fa-atlas:before{content:"\f558"}.fa-atlassian:before{content:"\f77b"}.fa-atom:before{content:"\f5d2"}.fa-audible:before{content:"\f373"}.fa-audio-description:before{content:"\f29e"}.fa-autoprefixer:before{content:"\f41c"}.fa-avianex:before{content:"\f374"}.fa-aviato:before{content:"\f421"}.fa-award:before{content:"\f559"}.fa-aws:before{content:"\f375"}.fa-baby:before{content:"\f77c"}.fa-baby-carriage:before{content:"\f77d"}.fa-backspace:before{content:"\f55a"}.fa-backward:before{content:"\f04a"}.fa-bacon:before{content:"\f7e5"}.fa-bacteria:before{content:"\e059"}.fa-bacterium:before{content:"\e05a"}.fa-bahai:before{content:"\f666"}.fa-balance-scale:before{content:"\f24e"}.fa-balance-scale-left:before{content:"\f515"}.fa-balance-scale-right:before{content:"\f516"}.fa-ban:before{content:"\f05e"}.fa-band-aid:before{content:"\f462"}.fa-bandcamp:before{content:"\f2d5"}.fa-barcode:before{content:"\f02a"}.fa-bars:before{content:"\f0c9"}.fa-baseball-ball:before{content:"\f433"}.fa-basketball-ball:before{content:"\f434"}.fa-bath:before{content:"\f2cd"}.fa-battery-empty:before{content:"\f244"}.fa-battery-full:before{content:"\f240"}.fa-battery-half:before{content:"\f242"}.fa-battery-quarter:before{content:"\f243"}.fa-battery-three-quarters:before{content:"\f241"}.fa-battle-net:before{content:"\f835"}.fa-bed:before{content:"\f236"}.fa-beer:before{content:"\f0fc"}.fa-behance:before{content:"\f1b4"}.fa-behance-square:before{content:"\f1b5"}.fa-bell:before{content:"\f0f3"}.fa-bell-slash:before{content:"\f1f6"}.fa-bezier-curve:before{content:"\f55b"}.fa-bible:before{content:"\f647"}.fa-bicycle:before{content:"\f206"}.fa-biking:before{content:"\f84a"}.fa-bimobject:before{content:"\f378"}.fa-binoculars:before{content:"\f1e5"}.fa-biohazard:before{content:"\f780"}.fa-birthday-cake:before{content:"\f1fd"}.fa-bitbucket:before{content:"\f171"}.fa-bitcoin:before{content:"\f379"}.fa-bity:before{content:"\f37a"}.fa-black-tie:before{content:"\f27e"}.fa-blackberry:before{content:"\f37b"}.fa-blender:before{content:"\f517"}.fa-blender-phone:before{content:"\f6b6"}.fa-blind:before{content:"\f29d"}.fa-blog:before{content:"\f781"}.fa-blogger:before{content:"\f37c"}.fa-blogger-b:before{content:"\f37d"}.fa-bluetooth:before{content:"\f293"}.fa-bluetooth-b:before{content:"\f294"}.fa-bold:before{content:"\f032"}.fa-bolt:before{content:"\f0e7"}.fa-bomb:before{content:"\f1e2"}.fa-bone:before{content:"\f5d7"}.fa-bong:before{content:"\f55c"}.fa-book:before{content:"\f02d"}.fa-book-dead:before{content:"\f6b7"}.fa-book-medical:before{content:"\f7e6"}.fa-book-open:before{content:"\f518"}.fa-book-reader:before{content:"\f5da"}.fa-bookmark:before{content:"\f02e"}.fa-bootstrap:before{content:"\f836"}.fa-border-all:before{content:"\f84c"}.fa-border-none:before{content:"\f850"}.fa-border-style:before{content:"\f853"}.fa-bowling-ball:before{content:"\f436"}.fa-box:before{content:"\f466"}.fa-box-open:before{content:"\f49e"}.fa-box-tissue:before{content:"\e05b"}.fa-boxes:before{content:"\f468"}.fa-braille:before{content:"\f2a1"}.fa-brain:before{content:"\f5dc"}.fa-bread-slice:before{content:"\f7ec"}.fa-briefcase:before{content:"\f0b1"}.fa-briefcase-medical:before{content:"\f469"}.fa-broadcast-tower:before{content:"\f519"}.fa-broom:before{content:"\f51a"}.fa-brush:before{content:"\f55d"}.fa-btc:before{content:"\f15a"}.fa-buffer:before{content:"\f837"}.fa-bug:before{content:"\f188"}.fa-building:before{content:"\f1ad"}.fa-bullhorn:before{content:"\f0a1"}.fa-bullseye:before{content:"\f140"}.fa-burn:before{content:"\f46a"}.fa-buromobelexperte:before{content:"\f37f"}.fa-bus:before{content:"\f207"}.fa-bus-alt:before{content:"\f55e"}.fa-business-time:before{content:"\f64a"}.fa-buy-n-large:before{content:"\f8a6"}.fa-buysellads:before{content:"\f20d"}.fa-calculator:before{content:"\f1ec"}.fa-calendar:before{content:"\f133"}.fa-calendar-alt:before{content:"\f073"}.fa-calendar-check:before{content:"\f274"}.fa-calendar-day:before{content:"\f783"}.fa-calendar-minus:before{content:"\f272"}.fa-calendar-plus:before{content:"\f271"}.fa-calendar-times:before{content:"\f273"}.fa-calendar-week:before{content:"\f784"}.fa-camera:before{content:"\f030"}.fa-camera-retro:before{content:"\f083"}.fa-campground:before{content:"\f6bb"}.fa-canadian-maple-leaf:before{content:"\f785"}.fa-candy-cane:before{content:"\f786"}.fa-cannabis:before{content:"\f55f"}.fa-capsules:before{content:"\f46b"}.fa-car:before{content:"\f1b9"}.fa-car-alt:before{content:"\f5de"}.fa-car-battery:before{content:"\f5df"}.fa-car-crash:before{content:"\f5e1"}.fa-car-side:before{content:"\f5e4"}.fa-caravan:before{content:"\f8ff"}.fa-caret-down:before{content:"\f0d7"}.fa-caret-left:before{content:"\f0d9"}.fa-caret-right:before{content:"\f0da"}.fa-caret-square-down:before{content:"\f150"}.fa-caret-square-left:before{content:"\f191"}.fa-caret-square-right:before{content:"\f152"}.fa-caret-square-up:before{content:"\f151"}.fa-caret-up:before{content:"\f0d8"}.fa-carrot:before{content:"\f787"}.fa-cart-arrow-down:before{content:"\f218"}.fa-cart-plus:before{content:"\f217"}.fa-cash-register:before{content:"\f788"}.fa-cat:before{content:"\f6be"}.fa-cc-amazon-pay:before{content:"\f42d"}.fa-cc-amex:before{content:"\f1f3"}.fa-cc-apple-pay:before{content:"\f416"}.fa-cc-diners-club:before{content:"\f24c"}.fa-cc-discover:before{content:"\f1f2"}.fa-cc-jcb:before{content:"\f24b"}.fa-cc-mastercard:before{content:"\f1f1"}.fa-cc-paypal:before{content:"\f1f4"}.fa-cc-stripe:before{content:"\f1f5"}.fa-cc-visa:before{content:"\f1f0"}.fa-centercode:before{content:"\f380"}.fa-centos:before{content:"\f789"}.fa-certificate:before{content:"\f0a3"}.fa-chair:before{content:"\f6c0"}.fa-chalkboard:before{content:"\f51b"}.fa-chalkboard-teacher:before{content:"\f51c"}.fa-charging-station:before{content:"\f5e7"}.fa-chart-area:before{content:"\f1fe"}.fa-chart-bar:before{content:"\f080"}.fa-chart-line:before{content:"\f201"}.fa-chart-pie:before{content:"\f200"}.fa-check:before{content:"\f00c"}.fa-check-circle:before{content:"\f058"}.fa-check-double:before{content:"\f560"}.fa-check-square:before{content:"\f14a"}.fa-cheese:before{content:"\f7ef"}.fa-chess:before{content:"\f439"}.fa-chess-bishop:before{content:"\f43a"}.fa-chess-board:before{content:"\f43c"}.fa-chess-king:before{content:"\f43f"}.fa-chess-knight:before{content:"\f441"}.fa-chess-pawn:before{content:"\f443"}.fa-chess-queen:before{content:"\f445"}.fa-chess-rook:before{content:"\f447"}.fa-chevron-circle-down:before{content:"\f13a"}.fa-chevron-circle-left:before{content:"\f137"}.fa-chevron-circle-right:before{content:"\f138"}.fa-chevron-circle-up:before{content:"\f139"}.fa-chevron-down:before{content:"\f078"}.fa-chevron-left:before{content:"\f053"}.fa-chevron-right:before{content:"\f054"}.fa-chevron-up:before{content:"\f077"}.fa-child:before{content:"\f1ae"}.fa-chrome:before{content:"\f268"}.fa-chromecast:before{content:"\f838"}.fa-church:before{content:"\f51d"}.fa-circle:before{content:"\f111"}.fa-circle-notch:before{content:"\f1ce"}.fa-city:before{content:"\f64f"}.fa-clinic-medical:before{content:"\f7f2"}.fa-clipboard:before{content:"\f328"}.fa-clipboard-check:before{content:"\f46c"}.fa-clipboard-list:before{content:"\f46d"}.fa-clock:before{content:"\f017"}.fa-clone:before{content:"\f24d"}.fa-closed-captioning:before{content:"\f20a"}.fa-cloud:before{content:"\f0c2"}.fa-cloud-download-alt:before{content:"\f381"}.fa-cloud-meatball:before{content:"\f73b"}.fa-cloud-moon:before{content:"\f6c3"}.fa-cloud-moon-rain:before{content:"\f73c"}.fa-cloud-rain:before{content:"\f73d"}.fa-cloud-showers-heavy:before{content:"\f740"}.fa-cloud-sun:before{content:"\f6c4"}.fa-cloud-sun-rain:before{content:"\f743"}.fa-cloud-upload-alt:before{content:"\f382"}.fa-cloudflare:before{content:"\e07d"}.fa-cloudscale:before{content:"\f383"}.fa-cloudsmith:before{content:"\f384"}.fa-cloudversify:before{content:"\f385"}.fa-cocktail:before{content:"\f561"}.fa-code:before{content:"\f121"}.fa-code-branch:before{content:"\f126"}.fa-codepen:before{content:"\f1cb"}.fa-codiepie:before{content:"\f284"}.fa-coffee:before{content:"\f0f4"}.fa-cog:before{content:"\f013"}.fa-cogs:before{content:"\f085"}.fa-coins:before{content:"\f51e"}.fa-columns:before{content:"\f0db"}.fa-comment:before{content:"\f075"}.fa-comment-alt:before{content:"\f27a"}.fa-comment-dollar:before{content:"\f651"}.fa-comment-dots:before{content:"\f4ad"}.fa-comment-medical:before{content:"\f7f5"}.fa-comment-slash:before{content:"\f4b3"}.fa-comments:before{content:"\f086"}.fa-comments-dollar:before{content:"\f653"}.fa-compact-disc:before{content:"\f51f"}.fa-compass:before{content:"\f14e"}.fa-compress:before{content:"\f066"}.fa-compress-alt:before{content:"\f422"}.fa-compress-arrows-alt:before{content:"\f78c"}.fa-concierge-bell:before{content:"\f562"}.fa-confluence:before{content:"\f78d"}.fa-connectdevelop:before{content:"\f20e"}.fa-contao:before{content:"\f26d"}.fa-cookie:before{content:"\f563"}.fa-cookie-bite:before{content:"\f564"}.fa-copy:before{content:"\f0c5"}.fa-copyright:before{content:"\f1f9"}.fa-cotton-bureau:before{content:"\f89e"}.fa-couch:before{content:"\f4b8"}.fa-cpanel:before{content:"\f388"}.fa-creative-commons:before{content:"\f25e"}.fa-creative-commons-by:before{content:"\f4e7"}.fa-creative-commons-nc:before{content:"\f4e8"}.fa-creative-commons-nc-eu:before{content:"\f4e9"}.fa-creative-commons-nc-jp:before{content:"\f4ea"}.fa-creative-commons-nd:before{content:"\f4eb"}.fa-creative-commons-pd:before{content:"\f4ec"}.fa-creative-commons-pd-alt:before{content:"\f4ed"}.fa-creative-commons-remix:before{content:"\f4ee"}.fa-creative-commons-sa:before{content:"\f4ef"}.fa-creative-commons-sampling:before{content:"\f4f0"}.fa-creative-commons-sampling-plus:before{content:"\f4f1"}.fa-creative-commons-share:before{content:"\f4f2"}.fa-creative-commons-zero:before{content:"\f4f3"}.fa-credit-card:before{content:"\f09d"}.fa-critical-role:before{content:"\f6c9"}.fa-crop:before{content:"\f125"}.fa-crop-alt:before{content:"\f565"}.fa-cross:before{content:"\f654"}.fa-crosshairs:before{content:"\f05b"}.fa-crow:before{content:"\f520"}.fa-crown:before{content:"\f521"}.fa-crutch:before{content:"\f7f7"}.fa-css3:before{content:"\f13c"}.fa-css3-alt:before{content:"\f38b"}.fa-cube:before{content:"\f1b2"}.fa-cubes:before{content:"\f1b3"}.fa-cut:before{content:"\f0c4"}.fa-cuttlefish:before{content:"\f38c"}.fa-d-and-d:before{content:"\f38d"}.fa-d-and-d-beyond:before{content:"\f6ca"}.fa-dailymotion:before{content:"\e052"}.fa-dashcube:before{content:"\f210"}.fa-database:before{content:"\f1c0"}.fa-deaf:before{content:"\f2a4"}.fa-deezer:before{content:"\e077"}.fa-delicious:before{content:"\f1a5"}.fa-democrat:before{content:"\f747"}.fa-deploydog:before{content:"\f38e"}.fa-deskpro:before{content:"\f38f"}.fa-desktop:before{content:"\f108"}.fa-dev:before{content:"\f6cc"}.fa-deviantart:before{content:"\f1bd"}.fa-dharmachakra:before{content:"\f655"}.fa-dhl:before{content:"\f790"}.fa-diagnoses:before{content:"\f470"}.fa-diaspora:before{content:"\f791"}.fa-dice:before{content:"\f522"}.fa-dice-d20:before{content:"\f6cf"}.fa-dice-d6:before{content:"\f6d1"}.fa-dice-five:before{content:"\f523"}.fa-dice-four:before{content:"\f524"}.fa-dice-one:before{content:"\f525"}.fa-dice-six:before{content:"\f526"}.fa-dice-three:before{content:"\f527"}.fa-dice-two:before{content:"\f528"}.fa-digg:before{content:"\f1a6"}.fa-digital-ocean:before{content:"\f391"}.fa-digital-tachograph:before{content:"\f566"}.fa-directions:before{content:"\f5eb"}.fa-discord:before{content:"\f392"}.fa-discourse:before{content:"\f393"}.fa-disease:before{content:"\f7fa"}.fa-divide:before{content:"\f529"}.fa-dizzy:before{content:"\f567"}.fa-dna:before{content:"\f471"}.fa-dochub:before{content:"\f394"}.fa-docker:before{content:"\f395"}.fa-dog:before{content:"\f6d3"}.fa-dollar-sign:before{content:"\f155"}.fa-dolly:before{content:"\f472"}.fa-dolly-flatbed:before{content:"\f474"}.fa-donate:before{content:"\f4b9"}.fa-door-closed:before{content:"\f52a"}.fa-door-open:before{content:"\f52b"}.fa-dot-circle:before{content:"\f192"}.fa-dove:before{content:"\f4ba"}.fa-download:before{content:"\f019"}.fa-draft2digital:before{content:"\f396"}.fa-drafting-compass:before{content:"\f568"}.fa-dragon:before{content:"\f6d5"}.fa-draw-polygon:before{content:"\f5ee"}.fa-dribbble:before{content:"\f17d"}.fa-dribbble-square:before{content:"\f397"}.fa-dropbox:before{content:"\f16b"}.fa-drum:before{content:"\f569"}.fa-drum-steelpan:before{content:"\f56a"}.fa-drumstick-bite:before{content:"\f6d7"}.fa-drupal:before{content:"\f1a9"}.fa-dumbbell:before{content:"\f44b"}.fa-dumpster:before{content:"\f793"}.fa-dumpster-fire:before{content:"\f794"}.fa-dungeon:before{content:"\f6d9"}.fa-dyalog:before{content:"\f399"}.fa-earlybirds:before{content:"\f39a"}.fa-ebay:before{content:"\f4f4"}.fa-edge:before{content:"\f282"}.fa-edge-legacy:before{content:"\e078"}.fa-edit:before{content:"\f044"}.fa-egg:before{content:"\f7fb"}.fa-eject:before{content:"\f052"}.fa-elementor:before{content:"\f430"}.fa-ellipsis-h:before{content:"\f141"}.fa-ellipsis-v:before{content:"\f142"}.fa-ello:before{content:"\f5f1"}.fa-ember:before{content:"\f423"}.fa-empire:before{content:"\f1d1"}.fa-envelope:before{content:"\f0e0"}.fa-envelope-open:before{content:"\f2b6"}.fa-envelope-open-text:before{content:"\f658"}.fa-envelope-square:before{content:"\f199"}.fa-envira:before{content:"\f299"}.fa-equals:before{content:"\f52c"}.fa-eraser:before{content:"\f12d"}.fa-erlang:before{content:"\f39d"}.fa-ethereum:before{content:"\f42e"}.fa-ethernet:before{content:"\f796"}.fa-etsy:before{content:"\f2d7"}.fa-euro-sign:before{content:"\f153"}.fa-evernote:before{content:"\f839"}.fa-exchange-alt:before{content:"\f362"}.fa-exclamation:before{content:"\f12a"}.fa-exclamation-circle:before{content:"\f06a"}.fa-exclamation-triangle:before{content:"\f071"}.fa-expand:before{content:"\f065"}.fa-expand-alt:before{content:"\f424"}.fa-expand-arrows-alt:before{content:"\f31e"}.fa-expeditedssl:before{content:"\f23e"}.fa-external-link-alt:before{content:"\f35d"}.fa-external-link-square-alt:before{content:"\f360"}.fa-eye:before{content:"\f06e"}.fa-eye-dropper:before{content:"\f1fb"}.fa-eye-slash:before{content:"\f070"}.fa-facebook:before{content:"\f09a"}.fa-facebook-f:before{content:"\f39e"}.fa-facebook-messenger:before{content:"\f39f"}.fa-facebook-square:before{content:"\f082"}.fa-fan:before{content:"\f863"}.fa-fantasy-flight-games:before{content:"\f6dc"}.fa-fast-backward:before{content:"\f049"}.fa-fast-forward:before{content:"\f050"}.fa-faucet:before{content:"\e005"}.fa-fax:before{content:"\f1ac"}.fa-feather:before{content:"\f52d"}.fa-feather-alt:before{content:"\f56b"}.fa-fedex:before{content:"\f797"}.fa-fedora:before{content:"\f798"}.fa-female:before{content:"\f182"}.fa-fighter-jet:before{content:"\f0fb"}.fa-figma:before{content:"\f799"}.fa-file:before{content:"\f15b"}.fa-file-alt:before{content:"\f15c"}.fa-file-archive:before{content:"\f1c6"}.fa-file-audio:before{content:"\f1c7"}.fa-file-code:before{content:"\f1c9"}.fa-file-contract:before{content:"\f56c"}.fa-file-csv:before{content:"\f6dd"}.fa-file-download:before{content:"\f56d"}.fa-file-excel:before{content:"\f1c3"}.fa-file-export:before{content:"\f56e"}.fa-file-image:before{content:"\f1c5"}.fa-file-import:before{content:"\f56f"}.fa-file-invoice:before{content:"\f570"}.fa-file-invoice-dollar:before{content:"\f571"}.fa-file-medical:before{content:"\f477"}.fa-file-medical-alt:before{content:"\f478"}.fa-file-pdf:before{content:"\f1c1"}.fa-file-powerpoint:before{content:"\f1c4"}.fa-file-prescription:before{content:"\f572"}.fa-file-signature:before{content:"\f573"}.fa-file-upload:before{content:"\f574"}.fa-file-video:before{content:"\f1c8"}.fa-file-word:before{content:"\f1c2"}.fa-fill:before{content:"\f575"}.fa-fill-drip:before{content:"\f576"}.fa-film:before{content:"\f008"}.fa-filter:before{content:"\f0b0"}.fa-fingerprint:before{content:"\f577"}.fa-fire:before{content:"\f06d"}.fa-fire-alt:before{content:"\f7e4"}.fa-fire-extinguisher:before{content:"\f134"}.fa-firefox:before{content:"\f269"}.fa-firefox-browser:before{content:"\e007"}.fa-first-aid:before{content:"\f479"}.fa-first-order:before{content:"\f2b0"}.fa-first-order-alt:before{content:"\f50a"}.fa-firstdraft:before{content:"\f3a1"}.fa-fish:before{content:"\f578"}.fa-fist-raised:before{content:"\f6de"}.fa-flag:before{content:"\f024"}.fa-flag-checkered:before{content:"\f11e"}.fa-flag-usa:before{content:"\f74d"}.fa-flask:before{content:"\f0c3"}.fa-flickr:before{content:"\f16e"}.fa-flipboard:before{content:"\f44d"}.fa-flushed:before{content:"\f579"}.fa-fly:before{content:"\f417"}.fa-folder:before{content:"\f07b"}.fa-folder-minus:before{content:"\f65d"}.fa-folder-open:before{content:"\f07c"}.fa-folder-plus:before{content:"\f65e"}.fa-font:before{content:"\f031"}.fa-font-awesome:before{content:"\f2b4"}.fa-font-awesome-alt:before{content:"\f35c"}.fa-font-awesome-flag:before{content:"\f425"}.fa-font-awesome-logo-full:before{content:"\f4e6"}.fa-fonticons:before{content:"\f280"}.fa-fonticons-fi:before{content:"\f3a2"}.fa-football-ball:before{content:"\f44e"}.fa-fort-awesome:before{content:"\f286"}.fa-fort-awesome-alt:before{content:"\f3a3"}.fa-forumbee:before{content:"\f211"}.fa-forward:before{content:"\f04e"}.fa-foursquare:before{content:"\f180"}.fa-free-code-camp:before{content:"\f2c5"}.fa-freebsd:before{content:"\f3a4"}.fa-frog:before{content:"\f52e"}.fa-frown:before{content:"\f119"}.fa-frown-open:before{content:"\f57a"}.fa-fulcrum:before{content:"\f50b"}.fa-funnel-dollar:before{content:"\f662"}.fa-futbol:before{content:"\f1e3"}.fa-galactic-republic:before{content:"\f50c"}.fa-galactic-senate:before{content:"\f50d"}.fa-gamepad:before{content:"\f11b"}.fa-gas-pump:before{content:"\f52f"}.fa-gavel:before{content:"\f0e3"}.fa-gem:before{content:"\f3a5"}.fa-genderless:before{content:"\f22d"}.fa-get-pocket:before{content:"\f265"}.fa-gg:before{content:"\f260"}.fa-gg-circle:before{content:"\f261"}.fa-ghost:before{content:"\f6e2"}.fa-gift:before{content:"\f06b"}.fa-gifts:before{content:"\f79c"}.fa-git:before{content:"\f1d3"}.fa-git-alt:before{content:"\f841"}.fa-git-square:before{content:"\f1d2"}.fa-github:before{content:"\f09b"}.fa-github-alt:before{content:"\f113"}.fa-github-square:before{content:"\f092"}.fa-gitkraken:before{content:"\f3a6"}.fa-gitlab:before{content:"\f296"}.fa-gitter:before{content:"\f426"}.fa-glass-cheers:before{content:"\f79f"}.fa-glass-martini:before{content:"\f000"}.fa-glass-martini-alt:before{content:"\f57b"}.fa-glass-whiskey:before{content:"\f7a0"}.fa-glasses:before{content:"\f530"}.fa-glide:before{content:"\f2a5"}.fa-glide-g:before{content:"\f2a6"}.fa-globe:before{content:"\f0ac"}.fa-globe-africa:before{content:"\f57c"}.fa-globe-americas:before{content:"\f57d"}.fa-globe-asia:before{content:"\f57e"}.fa-globe-europe:before{content:"\f7a2"}.fa-gofore:before{content:"\f3a7"}.fa-golf-ball:before{content:"\f450"}.fa-goodreads:before{content:"\f3a8"}.fa-goodreads-g:before{content:"\f3a9"}.fa-google:before{content:"\f1a0"}.fa-google-drive:before{content:"\f3aa"}.fa-google-pay:before{content:"\e079"}.fa-google-play:before{content:"\f3ab"}.fa-google-plus:before{content:"\f2b3"}.fa-google-plus-g:before{content:"\f0d5"}.fa-google-plus-square:before{content:"\f0d4"}.fa-google-wallet:before{content:"\f1ee"}.fa-gopuram:before{content:"\f664"}.fa-graduation-cap:before{content:"\f19d"}.fa-gratipay:before{content:"\f184"}.fa-grav:before{content:"\f2d6"}.fa-greater-than:before{content:"\f531"}.fa-greater-than-equal:before{content:"\f532"}.fa-grimace:before{content:"\f57f"}.fa-grin:before{content:"\f580"}.fa-grin-alt:before{content:"\f581"}.fa-grin-beam:before{content:"\f582"}.fa-grin-beam-sweat:before{content:"\f583"}.fa-grin-hearts:before{content:"\f584"}.fa-grin-squint:before{content:"\f585"}.fa-grin-squint-tears:before{content:"\f586"}.fa-grin-stars:before{content:"\f587"}.fa-grin-tears:before{content:"\f588"}.fa-grin-tongue:before{content:"\f589"}.fa-grin-tongue-squint:before{content:"\f58a"}.fa-grin-tongue-wink:before{content:"\f58b"}.fa-grin-wink:before{content:"\f58c"}.fa-grip-horizontal:before{content:"\f58d"}.fa-grip-lines:before{content:"\f7a4"}.fa-grip-lines-vertical:before{content:"\f7a5"}.fa-grip-vertical:before{content:"\f58e"}.fa-gripfire:before{content:"\f3ac"}.fa-grunt:before{content:"\f3ad"}.fa-guilded:before{content:"\e07e"}.fa-guitar:before{content:"\f7a6"}.fa-gulp:before{content:"\f3ae"}.fa-h-square:before{content:"\f0fd"}.fa-hacker-news:before{content:"\f1d4"}.fa-hacker-news-square:before{content:"\f3af"}.fa-hackerrank:before{content:"\f5f7"}.fa-hamburger:before{content:"\f805"}.fa-hammer:before{content:"\f6e3"}.fa-hamsa:before{content:"\f665"}.fa-hand-holding:before{content:"\f4bd"}.fa-hand-holding-heart:before{content:"\f4be"}.fa-hand-holding-medical:before{content:"\e05c"}.fa-hand-holding-usd:before{content:"\f4c0"}.fa-hand-holding-water:before{content:"\f4c1"}.fa-hand-lizard:before{content:"\f258"}.fa-hand-middle-finger:before{content:"\f806"}.fa-hand-paper:before{content:"\f256"}.fa-hand-peace:before{content:"\f25b"}.fa-hand-point-down:before{content:"\f0a7"}.fa-hand-point-left:before{content:"\f0a5"}.fa-hand-point-right:before{content:"\f0a4"}.fa-hand-point-up:before{content:"\f0a6"}.fa-hand-pointer:before{content:"\f25a"}.fa-hand-rock:before{content:"\f255"}.fa-hand-scissors:before{content:"\f257"}.fa-hand-sparkles:before{content:"\e05d"}.fa-hand-spock:before{content:"\f259"}.fa-hands:before{content:"\f4c2"}.fa-hands-helping:before{content:"\f4c4"}.fa-hands-wash:before{content:"\e05e"}.fa-handshake:before{content:"\f2b5"}.fa-handshake-alt-slash:before{content:"\e05f"}.fa-handshake-slash:before{content:"\e060"}.fa-hanukiah:before{content:"\f6e6"}.fa-hard-hat:before{content:"\f807"}.fa-hashtag:before{content:"\f292"}.fa-hat-cowboy:before{content:"\f8c0"}.fa-hat-cowboy-side:before{content:"\f8c1"}.fa-hat-wizard:before{content:"\f6e8"}.fa-hdd:before{content:"\f0a0"}.fa-head-side-cough:before{content:"\e061"}.fa-head-side-cough-slash:before{content:"\e062"}.fa-head-side-mask:before{content:"\e063"}.fa-head-side-virus:before{content:"\e064"}.fa-heading:before{content:"\f1dc"}.fa-headphones:before{content:"\f025"}.fa-headphones-alt:before{content:"\f58f"}.fa-headset:before{content:"\f590"}.fa-heart:before{content:"\f004"}.fa-heart-broken:before{content:"\f7a9"}.fa-heartbeat:before{content:"\f21e"}.fa-helicopter:before{content:"\f533"}.fa-highlighter:before{content:"\f591"}.fa-hiking:before{content:"\f6ec"}.fa-hippo:before{content:"\f6ed"}.fa-hips:before{content:"\f452"}.fa-hire-a-helper:before{content:"\f3b0"}.fa-history:before{content:"\f1da"}.fa-hive:before{content:"\e07f"}.fa-hockey-puck:before{content:"\f453"}.fa-holly-berry:before{content:"\f7aa"}.fa-home:before{content:"\f015"}.fa-hooli:before{content:"\f427"}.fa-hornbill:before{content:"\f592"}.fa-horse:before{content:"\f6f0"}.fa-horse-head:before{content:"\f7ab"}.fa-hospital:before{content:"\f0f8"}.fa-hospital-alt:before{content:"\f47d"}.fa-hospital-symbol:before{content:"\f47e"}.fa-hospital-user:before{content:"\f80d"}.fa-hot-tub:before{content:"\f593"}.fa-hotdog:before{content:"\f80f"}.fa-hotel:before{content:"\f594"}.fa-hotjar:before{content:"\f3b1"}.fa-hourglass:before{content:"\f254"}.fa-hourglass-end:before{content:"\f253"}.fa-hourglass-half:before{content:"\f252"}.fa-hourglass-start:before{content:"\f251"}.fa-house-damage:before{content:"\f6f1"}.fa-house-user:before{content:"\e065"}.fa-houzz:before{content:"\f27c"}.fa-hryvnia:before{content:"\f6f2"}.fa-html5:before{content:"\f13b"}.fa-hubspot:before{content:"\f3b2"}.fa-i-cursor:before{content:"\f246"}.fa-ice-cream:before{content:"\f810"}.fa-icicles:before{content:"\f7ad"}.fa-icons:before{content:"\f86d"}.fa-id-badge:before{content:"\f2c1"}.fa-id-card:before{content:"\f2c2"}.fa-id-card-alt:before{content:"\f47f"}.fa-ideal:before{content:"\e013"}.fa-igloo:before{content:"\f7ae"}.fa-image:before{content:"\f03e"}.fa-images:before{content:"\f302"}.fa-imdb:before{content:"\f2d8"}.fa-inbox:before{content:"\f01c"}.fa-indent:before{content:"\f03c"}.fa-industry:before{content:"\f275"}.fa-infinity:before{content:"\f534"}.fa-info:before{content:"\f129"}.fa-info-circle:before{content:"\f05a"}.fa-innosoft:before{content:"\e080"}.fa-instagram:before{content:"\f16d"}.fa-instagram-square:before{content:"\e055"}.fa-instalod:before{content:"\e081"}.fa-intercom:before{content:"\f7af"}.fa-internet-explorer:before{content:"\f26b"}.fa-invision:before{content:"\f7b0"}.fa-ioxhost:before{content:"\f208"}.fa-italic:before{content:"\f033"}.fa-itch-io:before{content:"\f83a"}.fa-itunes:before{content:"\f3b4"}.fa-itunes-note:before{content:"\f3b5"}.fa-java:before{content:"\f4e4"}.fa-jedi:before{content:"\f669"}.fa-jedi-order:before{content:"\f50e"}.fa-jenkins:before{content:"\f3b6"}.fa-jira:before{content:"\f7b1"}.fa-joget:before{content:"\f3b7"}.fa-joint:before{content:"\f595"}.fa-joomla:before{content:"\f1aa"}.fa-journal-whills:before{content:"\f66a"}.fa-js:before{content:"\f3b8"}.fa-js-square:before{content:"\f3b9"}.fa-jsfiddle:before{content:"\f1cc"}.fa-kaaba:before{content:"\f66b"}.fa-kaggle:before{content:"\f5fa"}.fa-key:before{content:"\f084"}.fa-keybase:before{content:"\f4f5"}.fa-keyboard:before{content:"\f11c"}.fa-keycdn:before{content:"\f3ba"}.fa-khanda:before{content:"\f66d"}.fa-kickstarter:before{content:"\f3bb"}.fa-kickstarter-k:before{content:"\f3bc"}.fa-kiss:before{content:"\f596"}.fa-kiss-beam:before{content:"\f597"}.fa-kiss-wink-heart:before{content:"\f598"}.fa-kiwi-bird:before{content:"\f535"}.fa-korvue:before{content:"\f42f"}.fa-landmark:before{content:"\f66f"}.fa-language:before{content:"\f1ab"}.fa-laptop:before{content:"\f109"}.fa-laptop-code:before{content:"\f5fc"}.fa-laptop-house:before{content:"\e066"}.fa-laptop-medical:before{content:"\f812"}.fa-laravel:before{content:"\f3bd"}.fa-lastfm:before{content:"\f202"}.fa-lastfm-square:before{content:"\f203"}.fa-laugh:before{content:"\f599"}.fa-laugh-beam:before{content:"\f59a"}.fa-laugh-squint:before{content:"\f59b"}.fa-laugh-wink:before{content:"\f59c"}.fa-layer-group:before{content:"\f5fd"}.fa-leaf:before{content:"\f06c"}.fa-leanpub:before{content:"\f212"}.fa-lemon:before{content:"\f094"}.fa-less:before{content:"\f41d"}.fa-less-than:before{content:"\f536"}.fa-less-than-equal:before{content:"\f537"}.fa-level-down-alt:before{content:"\f3be"}.fa-level-up-alt:before{content:"\f3bf"}.fa-life-ring:before{content:"\f1cd"}.fa-lightbulb:before{content:"\f0eb"}.fa-line:before{content:"\f3c0"}.fa-link:before{content:"\f0c1"}.fa-linkedin:before{content:"\f08c"}.fa-linkedin-in:before{content:"\f0e1"}.fa-linode:before{content:"\f2b8"}.fa-linux:before{content:"\f17c"}.fa-lira-sign:before{content:"\f195"}.fa-list:before{content:"\f03a"}.fa-list-alt:before{content:"\f022"}.fa-list-ol:before{content:"\f0cb"}.fa-list-ul:before{content:"\f0ca"}.fa-location-arrow:before{content:"\f124"}.fa-lock:before{content:"\f023"}.fa-lock-open:before{content:"\f3c1"}.fa-long-arrow-alt-down:before{content:"\f309"}.fa-long-arrow-alt-left:before{content:"\f30a"}.fa-long-arrow-alt-right:before{content:"\f30b"}.fa-long-arrow-alt-up:before{content:"\f30c"}.fa-low-vision:before{content:"\f2a8"}.fa-luggage-cart:before{content:"\f59d"}.fa-lungs:before{content:"\f604"}.fa-lungs-virus:before{content:"\e067"}.fa-lyft:before{content:"\f3c3"}.fa-magento:before{content:"\f3c4"}.fa-magic:before{content:"\f0d0"}.fa-magnet:before{content:"\f076"}.fa-mail-bulk:before{content:"\f674"}.fa-mailchimp:before{content:"\f59e"}.fa-male:before{content:"\f183"}.fa-mandalorian:before{content:"\f50f"}.fa-map:before{content:"\f279"}.fa-map-marked:before{content:"\f59f"}.fa-map-marked-alt:before{content:"\f5a0"}.fa-map-marker:before{content:"\f041"}.fa-map-marker-alt:before{content:"\f3c5"}.fa-map-pin:before{content:"\f276"}.fa-map-signs:before{content:"\f277"}.fa-markdown:before{content:"\f60f"}.fa-marker:before{content:"\f5a1"}.fa-mars:before{content:"\f222"}.fa-mars-double:before{content:"\f227"}.fa-mars-stroke:before{content:"\f229"}.fa-mars-stroke-h:before{content:"\f22b"}.fa-mars-stroke-v:before{content:"\f22a"}.fa-mask:before{content:"\f6fa"}.fa-mastodon:before{content:"\f4f6"}.fa-maxcdn:before{content:"\f136"}.fa-mdb:before{content:"\f8ca"}.fa-medal:before{content:"\f5a2"}.fa-medapps:before{content:"\f3c6"}.fa-medium:before{content:"\f23a"}.fa-medium-m:before{content:"\f3c7"}.fa-medkit:before{content:"\f0fa"}.fa-medrt:before{content:"\f3c8"}.fa-meetup:before{content:"\f2e0"}.fa-megaport:before{content:"\f5a3"}.fa-meh:before{content:"\f11a"}.fa-meh-blank:before{content:"\f5a4"}.fa-meh-rolling-eyes:before{content:"\f5a5"}.fa-memory:before{content:"\f538"}.fa-mendeley:before{content:"\f7b3"}.fa-menorah:before{content:"\f676"}.fa-mercury:before{content:"\f223"}.fa-meteor:before{content:"\f753"}.fa-microblog:before{content:"\e01a"}.fa-microchip:before{content:"\f2db"}.fa-microphone:before{content:"\f130"}.fa-microphone-alt:before{content:"\f3c9"}.fa-microphone-alt-slash:before{content:"\f539"}.fa-microphone-slash:before{content:"\f131"}.fa-microscope:before{content:"\f610"}.fa-microsoft:before{content:"\f3ca"}.fa-minus:before{content:"\f068"}.fa-minus-circle:before{content:"\f056"}.fa-minus-square:before{content:"\f146"}.fa-mitten:before{content:"\f7b5"}.fa-mix:before{content:"\f3cb"}.fa-mixcloud:before{content:"\f289"}.fa-mixer:before{content:"\e056"}.fa-mizuni:before{content:"\f3cc"}.fa-mobile:before{content:"\f10b"}.fa-mobile-alt:before{content:"\f3cd"}.fa-modx:before{content:"\f285"}.fa-monero:before{content:"\f3d0"}.fa-money-bill:before{content:"\f0d6"}.fa-money-bill-alt:before{content:"\f3d1"}.fa-money-bill-wave:before{content:"\f53a"}.fa-money-bill-wave-alt:before{content:"\f53b"}.fa-money-check:before{content:"\f53c"}.fa-money-check-alt:before{content:"\f53d"}.fa-monument:before{content:"\f5a6"}.fa-moon:before{content:"\f186"}.fa-mortar-pestle:before{content:"\f5a7"}.fa-mosque:before{content:"\f678"}.fa-motorcycle:before{content:"\f21c"}.fa-mountain:before{content:"\f6fc"}.fa-mouse:before{content:"\f8cc"}.fa-mouse-pointer:before{content:"\f245"}.fa-mug-hot:before{content:"\f7b6"}.fa-music:before{content:"\f001"}.fa-napster:before{content:"\f3d2"}.fa-neos:before{content:"\f612"}.fa-network-wired:before{content:"\f6ff"}.fa-neuter:before{content:"\f22c"}.fa-newspaper:before{content:"\f1ea"}.fa-nimblr:before{content:"\f5a8"}.fa-node:before{content:"\f419"}.fa-node-js:before{content:"\f3d3"}.fa-not-equal:before{content:"\f53e"}.fa-notes-medical:before{content:"\f481"}.fa-npm:before{content:"\f3d4"}.fa-ns8:before{content:"\f3d5"}.fa-nutritionix:before{content:"\f3d6"}.fa-object-group:before{content:"\f247"}.fa-object-ungroup:before{content:"\f248"}.fa-octopus-deploy:before{content:"\e082"}.fa-odnoklassniki:before{content:"\f263"}.fa-odnoklassniki-square:before{content:"\f264"}.fa-oil-can:before{content:"\f613"}.fa-old-republic:before{content:"\f510"}.fa-om:before{content:"\f679"}.fa-opencart:before{content:"\f23d"}.fa-openid:before{content:"\f19b"}.fa-opera:before{content:"\f26a"}.fa-optin-monster:before{content:"\f23c"}.fa-orcid:before{content:"\f8d2"}.fa-osi:before{content:"\f41a"}.fa-otter:before{content:"\f700"}.fa-outdent:before{content:"\f03b"}.fa-page4:before{content:"\f3d7"}.fa-pagelines:before{content:"\f18c"}.fa-pager:before{content:"\f815"}.fa-paint-brush:before{content:"\f1fc"}.fa-paint-roller:before{content:"\f5aa"}.fa-palette:before{content:"\f53f"}.fa-palfed:before{content:"\f3d8"}.fa-pallet:before{content:"\f482"}.fa-paper-plane:before{content:"\f1d8"}.fa-paperclip:before{content:"\f0c6"}.fa-parachute-box:before{content:"\f4cd"}.fa-paragraph:before{content:"\f1dd"}.fa-parking:before{content:"\f540"}.fa-passport:before{content:"\f5ab"}.fa-pastafarianism:before{content:"\f67b"}.fa-paste:before{content:"\f0ea"}.fa-patreon:before{content:"\f3d9"}.fa-pause:before{content:"\f04c"}.fa-pause-circle:before{content:"\f28b"}.fa-paw:before{content:"\f1b0"}.fa-paypal:before{content:"\f1ed"}.fa-peace:before{content:"\f67c"}.fa-pen:before{content:"\f304"}.fa-pen-alt:before{content:"\f305"}.fa-pen-fancy:before{content:"\f5ac"}.fa-pen-nib:before{content:"\f5ad"}.fa-pen-square:before{content:"\f14b"}.fa-pencil-alt:before{content:"\f303"}.fa-pencil-ruler:before{content:"\f5ae"}.fa-penny-arcade:before{content:"\f704"}.fa-people-arrows:before{content:"\e068"}.fa-people-carry:before{content:"\f4ce"}.fa-pepper-hot:before{content:"\f816"}.fa-perbyte:before{content:"\e083"}.fa-percent:before{content:"\f295"}.fa-percentage:before{content:"\f541"}.fa-periscope:before{content:"\f3da"}.fa-person-booth:before{content:"\f756"}.fa-phabricator:before{content:"\f3db"}.fa-phoenix-framework:before{content:"\f3dc"}.fa-phoenix-squadron:before{content:"\f511"}.fa-phone:before{content:"\f095"}.fa-phone-alt:before{content:"\f879"}.fa-phone-slash:before{content:"\f3dd"}.fa-phone-square:before{content:"\f098"}.fa-phone-square-alt:before{content:"\f87b"}.fa-phone-volume:before{content:"\f2a0"}.fa-photo-video:before{content:"\f87c"}.fa-php:before{content:"\f457"}.fa-pied-piper:before{content:"\f2ae"}.fa-pied-piper-alt:before{content:"\f1a8"}.fa-pied-piper-hat:before{content:"\f4e5"}.fa-pied-piper-pp:before{content:"\f1a7"}.fa-pied-piper-square:before{content:"\e01e"}.fa-piggy-bank:before{content:"\f4d3"}.fa-pills:before{content:"\f484"}.fa-pinterest:before{content:"\f0d2"}.fa-pinterest-p:before{content:"\f231"}.fa-pinterest-square:before{content:"\f0d3"}.fa-pizza-slice:before{content:"\f818"}.fa-place-of-worship:before{content:"\f67f"}.fa-plane:before{content:"\f072"}.fa-plane-arrival:before{content:"\f5af"}.fa-plane-departure:before{content:"\f5b0"}.fa-plane-slash:before{content:"\e069"}.fa-play:before{content:"\f04b"}.fa-play-circle:before{content:"\f144"}.fa-playstation:before{content:"\f3df"}.fa-plug:before{content:"\f1e6"}.fa-plus:before{content:"\f067"}.fa-plus-circle:before{content:"\f055"}.fa-plus-square:before{content:"\f0fe"}.fa-podcast:before{content:"\f2ce"}.fa-poll:before{content:"\f681"}.fa-poll-h:before{content:"\f682"}.fa-poo:before{content:"\f2fe"}.fa-poo-storm:before{content:"\f75a"}.fa-poop:before{content:"\f619"}.fa-portrait:before{content:"\f3e0"}.fa-pound-sign:before{content:"\f154"}.fa-power-off:before{content:"\f011"}.fa-pray:before{content:"\f683"}.fa-praying-hands:before{content:"\f684"}.fa-prescription:before{content:"\f5b1"}.fa-prescription-bottle:before{content:"\f485"}.fa-prescription-bottle-alt:before{content:"\f486"}.fa-print:before{content:"\f02f"}.fa-procedures:before{content:"\f487"}.fa-product-hunt:before{content:"\f288"}.fa-project-diagram:before{content:"\f542"}.fa-pump-medical:before{content:"\e06a"}.fa-pump-soap:before{content:"\e06b"}.fa-pushed:before{content:"\f3e1"}.fa-puzzle-piece:before{content:"\f12e"}.fa-python:before{content:"\f3e2"}.fa-qq:before{content:"\f1d6"}.fa-qrcode:before{content:"\f029"}.fa-question:before{content:"\f128"}.fa-question-circle:before{content:"\f059"}.fa-quidditch:before{content:"\f458"}.fa-quinscape:before{content:"\f459"}.fa-quora:before{content:"\f2c4"}.fa-quote-left:before{content:"\f10d"}.fa-quote-right:before{content:"\f10e"}.fa-quran:before{content:"\f687"}.fa-r-project:before{content:"\f4f7"}.fa-radiation:before{content:"\f7b9"}.fa-radiation-alt:before{content:"\f7ba"}.fa-rainbow:before{content:"\f75b"}.fa-random:before{content:"\f074"}.fa-raspberry-pi:before{content:"\f7bb"}.fa-ravelry:before{content:"\f2d9"}.fa-react:before{content:"\f41b"}.fa-reacteurope:before{content:"\f75d"}.fa-readme:before{content:"\f4d5"}.fa-rebel:before{content:"\f1d0"}.fa-receipt:before{content:"\f543"}.fa-record-vinyl:before{content:"\f8d9"}.fa-recycle:before{content:"\f1b8"}.fa-red-river:before{content:"\f3e3"}.fa-reddit:before{content:"\f1a1"}.fa-reddit-alien:before{content:"\f281"}.fa-reddit-square:before{content:"\f1a2"}.fa-redhat:before{content:"\f7bc"}.fa-redo:before{content:"\f01e"}.fa-redo-alt:before{content:"\f2f9"}.fa-registered:before{content:"\f25d"}.fa-remove-format:before{content:"\f87d"}.fa-renren:before{content:"\f18b"}.fa-reply:before{content:"\f3e5"}.fa-reply-all:before{content:"\f122"}.fa-replyd:before{content:"\f3e6"}.fa-republican:before{content:"\f75e"}.fa-researchgate:before{content:"\f4f8"}.fa-resolving:before{content:"\f3e7"}.fa-restroom:before{content:"\f7bd"}.fa-retweet:before{content:"\f079"}.fa-rev:before{content:"\f5b2"}.fa-ribbon:before{content:"\f4d6"}.fa-ring:before{content:"\f70b"}.fa-road:before{content:"\f018"}.fa-robot:before{content:"\f544"}.fa-rocket:before{content:"\f135"}.fa-rocketchat:before{content:"\f3e8"}.fa-rockrms:before{content:"\f3e9"}.fa-route:before{content:"\f4d7"}.fa-rss:before{content:"\f09e"}.fa-rss-square:before{content:"\f143"}.fa-ruble-sign:before{content:"\f158"}.fa-ruler:before{content:"\f545"}.fa-ruler-combined:before{content:"\f546"}.fa-ruler-horizontal:before{content:"\f547"}.fa-ruler-vertical:before{content:"\f548"}.fa-running:before{content:"\f70c"}.fa-rupee-sign:before{content:"\f156"}.fa-rust:before{content:"\e07a"}.fa-sad-cry:before{content:"\f5b3"}.fa-sad-tear:before{content:"\f5b4"}.fa-safari:before{content:"\f267"}.fa-salesforce:before{content:"\f83b"}.fa-sass:before{content:"\f41e"}.fa-satellite:before{content:"\f7bf"}.fa-satellite-dish:before{content:"\f7c0"}.fa-save:before{content:"\f0c7"}.fa-schlix:before{content:"\f3ea"}.fa-school:before{content:"\f549"}.fa-screwdriver:before{content:"\f54a"}.fa-scribd:before{content:"\f28a"}.fa-scroll:before{content:"\f70e"}.fa-sd-card:before{content:"\f7c2"}.fa-search:before{content:"\f002"}.fa-search-dollar:before{content:"\f688"}.fa-search-location:before{content:"\f689"}.fa-search-minus:before{content:"\f010"}.fa-search-plus:before{content:"\f00e"}.fa-searchengin:before{content:"\f3eb"}.fa-seedling:before{content:"\f4d8"}.fa-sellcast:before{content:"\f2da"}.fa-sellsy:before{content:"\f213"}.fa-server:before{content:"\f233"}.fa-servicestack:before{content:"\f3ec"}.fa-shapes:before{content:"\f61f"}.fa-share:before{content:"\f064"}.fa-share-alt:before{content:"\f1e0"}.fa-share-alt-square:before{content:"\f1e1"}.fa-share-square:before{content:"\f14d"}.fa-shekel-sign:before{content:"\f20b"}.fa-shield-alt:before{content:"\f3ed"}.fa-shield-virus:before{content:"\e06c"}.fa-ship:before{content:"\f21a"}.fa-shipping-fast:before{content:"\f48b"}.fa-shirtsinbulk:before{content:"\f214"}.fa-shoe-prints:before{content:"\f54b"}.fa-shopify:before{content:"\e057"}.fa-shopping-bag:before{content:"\f290"}.fa-shopping-basket:before{content:"\f291"}.fa-shopping-cart:before{content:"\f07a"}.fa-shopware:before{content:"\f5b5"}.fa-shower:before{content:"\f2cc"}.fa-shuttle-van:before{content:"\f5b6"}.fa-sign:before{content:"\f4d9"}.fa-sign-in-alt:before{content:"\f2f6"}.fa-sign-language:before{content:"\f2a7"}.fa-sign-out-alt:before{content:"\f2f5"}.fa-signal:before{content:"\f012"}.fa-signature:before{content:"\f5b7"}.fa-sim-card:before{content:"\f7c4"}.fa-simplybuilt:before{content:"\f215"}.fa-sink:before{content:"\e06d"}.fa-sistrix:before{content:"\f3ee"}.fa-sitemap:before{content:"\f0e8"}.fa-sith:before{content:"\f512"}.fa-skating:before{content:"\f7c5"}.fa-sketch:before{content:"\f7c6"}.fa-skiing:before{content:"\f7c9"}.fa-skiing-nordic:before{content:"\f7ca"}.fa-skull:before{content:"\f54c"}.fa-skull-crossbones:before{content:"\f714"}.fa-skyatlas:before{content:"\f216"}.fa-skype:before{content:"\f17e"}.fa-slack:before{content:"\f198"}.fa-slack-hash:before{content:"\f3ef"}.fa-slash:before{content:"\f715"}.fa-sleigh:before{content:"\f7cc"}.fa-sliders-h:before{content:"\f1de"}.fa-slideshare:before{content:"\f1e7"}.fa-smile:before{content:"\f118"}.fa-smile-beam:before{content:"\f5b8"}.fa-smile-wink:before{content:"\f4da"}.fa-smog:before{content:"\f75f"}.fa-smoking:before{content:"\f48d"}.fa-smoking-ban:before{content:"\f54d"}.fa-sms:before{content:"\f7cd"}.fa-snapchat:before{content:"\f2ab"}.fa-snapchat-ghost:before{content:"\f2ac"}.fa-snapchat-square:before{content:"\f2ad"}.fa-snowboarding:before{content:"\f7ce"}.fa-snowflake:before{content:"\f2dc"}.fa-snowman:before{content:"\f7d0"}.fa-snowplow:before{content:"\f7d2"}.fa-soap:before{content:"\e06e"}.fa-socks:before{content:"\f696"}.fa-solar-panel:before{content:"\f5ba"}.fa-sort:before{content:"\f0dc"}.fa-sort-alpha-down:before{content:"\f15d"}.fa-sort-alpha-down-alt:before{content:"\f881"}.fa-sort-alpha-up:before{content:"\f15e"}.fa-sort-alpha-up-alt:before{content:"\f882"}.fa-sort-amount-down:before{content:"\f160"}.fa-sort-amount-down-alt:before{content:"\f884"}.fa-sort-amount-up:before{content:"\f161"}.fa-sort-amount-up-alt:before{content:"\f885"}.fa-sort-down:before{content:"\f0dd"}.fa-sort-numeric-down:before{content:"\f162"}.fa-sort-numeric-down-alt:before{content:"\f886"}.fa-sort-numeric-up:before{content:"\f163"}.fa-sort-numeric-up-alt:before{content:"\f887"}.fa-sort-up:before{content:"\f0de"}.fa-soundcloud:before{content:"\f1be"}.fa-sourcetree:before{content:"\f7d3"}.fa-spa:before{content:"\f5bb"}.fa-space-shuttle:before{content:"\f197"}.fa-speakap:before{content:"\f3f3"}.fa-speaker-deck:before{content:"\f83c"}.fa-spell-check:before{content:"\f891"}.fa-spider:before{content:"\f717"}.fa-spinner:before{content:"\f110"}.fa-splotch:before{content:"\f5bc"}.fa-spotify:before{content:"\f1bc"}.fa-spray-can:before{content:"\f5bd"}.fa-square:before{content:"\f0c8"}.fa-square-full:before{content:"\f45c"}.fa-square-root-alt:before{content:"\f698"}.fa-squarespace:before{content:"\f5be"}.fa-stack-exchange:before{content:"\f18d"}.fa-stack-overflow:before{content:"\f16c"}.fa-stackpath:before{content:"\f842"}.fa-stamp:before{content:"\f5bf"}.fa-star:before{content:"\f005"}.fa-star-and-crescent:before{content:"\f699"}.fa-star-half:before{content:"\f089"}.fa-star-half-alt:before{content:"\f5c0"}.fa-star-of-david:before{content:"\f69a"}.fa-star-of-life:before{content:"\f621"}.fa-staylinked:before{content:"\f3f5"}.fa-steam:before{content:"\f1b6"}.fa-steam-square:before{content:"\f1b7"}.fa-steam-symbol:before{content:"\f3f6"}.fa-step-backward:before{content:"\f048"}.fa-step-forward:before{content:"\f051"}.fa-stethoscope:before{content:"\f0f1"}.fa-sticker-mule:before{content:"\f3f7"}.fa-sticky-note:before{content:"\f249"}.fa-stop:before{content:"\f04d"}.fa-stop-circle:before{content:"\f28d"}.fa-stopwatch:before{content:"\f2f2"}.fa-stopwatch-20:before{content:"\e06f"}.fa-store:before{content:"\f54e"}.fa-store-alt:before{content:"\f54f"}.fa-store-alt-slash:before{content:"\e070"}.fa-store-slash:before{content:"\e071"}.fa-strava:before{content:"\f428"}.fa-stream:before{content:"\f550"}.fa-street-view:before{content:"\f21d"}.fa-strikethrough:before{content:"\f0cc"}.fa-stripe:before{content:"\f429"}.fa-stripe-s:before{content:"\f42a"}.fa-stroopwafel:before{content:"\f551"}.fa-studiovinari:before{content:"\f3f8"}.fa-stumbleupon:before{content:"\f1a4"}.fa-stumbleupon-circle:before{content:"\f1a3"}.fa-subscript:before{content:"\f12c"}.fa-subway:before{content:"\f239"}.fa-suitcase:before{content:"\f0f2"}.fa-suitcase-rolling:before{content:"\f5c1"}.fa-sun:before{content:"\f185"}.fa-superpowers:before{content:"\f2dd"}.fa-superscript:before{content:"\f12b"}.fa-supple:before{content:"\f3f9"}.fa-surprise:before{content:"\f5c2"}.fa-suse:before{content:"\f7d6"}.fa-swatchbook:before{content:"\f5c3"}.fa-swift:before{content:"\f8e1"}.fa-swimmer:before{content:"\f5c4"}.fa-swimming-pool:before{content:"\f5c5"}.fa-symfony:before{content:"\f83d"}.fa-synagogue:before{content:"\f69b"}.fa-sync:before{content:"\f021"}.fa-sync-alt:before{content:"\f2f1"}.fa-syringe:before{content:"\f48e"}.fa-table:before{content:"\f0ce"}.fa-table-tennis:before{content:"\f45d"}.fa-tablet:before{content:"\f10a"}.fa-tablet-alt:before{content:"\f3fa"}.fa-tablets:before{content:"\f490"}.fa-tachometer-alt:before{content:"\f3fd"}.fa-tag:before{content:"\f02b"}.fa-tags:before{content:"\f02c"}.fa-tape:before{content:"\f4db"}.fa-tasks:before{content:"\f0ae"}.fa-taxi:before{content:"\f1ba"}.fa-teamspeak:before{content:"\f4f9"}.fa-teeth:before{content:"\f62e"}.fa-teeth-open:before{content:"\f62f"}.fa-telegram:before{content:"\f2c6"}.fa-telegram-plane:before{content:"\f3fe"}.fa-temperature-high:before{content:"\f769"}.fa-temperature-low:before{content:"\f76b"}.fa-tencent-weibo:before{content:"\f1d5"}.fa-tenge:before{content:"\f7d7"}.fa-terminal:before{content:"\f120"}.fa-text-height:before{content:"\f034"}.fa-text-width:before{content:"\f035"}.fa-th:before{content:"\f00a"}.fa-th-large:before{content:"\f009"}.fa-th-list:before{content:"\f00b"}.fa-the-red-yeti:before{content:"\f69d"}.fa-theater-masks:before{content:"\f630"}.fa-themeco:before{content:"\f5c6"}.fa-themeisle:before{content:"\f2b2"}.fa-thermometer:before{content:"\f491"}.fa-thermometer-empty:before{content:"\f2cb"}.fa-thermometer-full:before{content:"\f2c7"}.fa-thermometer-half:before{content:"\f2c9"}.fa-thermometer-quarter:before{content:"\f2ca"}.fa-thermometer-three-quarters:before{content:"\f2c8"}.fa-think-peaks:before{content:"\f731"}.fa-thumbs-down:before{content:"\f165"}.fa-thumbs-up:before{content:"\f164"}.fa-thumbtack:before{content:"\f08d"}.fa-ticket-alt:before{content:"\f3ff"}.fa-tiktok:before{content:"\e07b"}.fa-times:before{content:"\f00d"}.fa-times-circle:before{content:"\f057"}.fa-tint:before{content:"\f043"}.fa-tint-slash:before{content:"\f5c7"}.fa-tired:before{content:"\f5c8"}.fa-toggle-off:before{content:"\f204"}.fa-toggle-on:before{content:"\f205"}.fa-toilet:before{content:"\f7d8"}.fa-toilet-paper:before{content:"\f71e"}.fa-toilet-paper-slash:before{content:"\e072"}.fa-toolbox:before{content:"\f552"}.fa-tools:before{content:"\f7d9"}.fa-tooth:before{content:"\f5c9"}.fa-torah:before{content:"\f6a0"}.fa-torii-gate:before{content:"\f6a1"}.fa-tractor:before{content:"\f722"}.fa-trade-federation:before{content:"\f513"}.fa-trademark:before{content:"\f25c"}.fa-traffic-light:before{content:"\f637"}.fa-trailer:before{content:"\e041"}.fa-train:before{content:"\f238"}.fa-tram:before{content:"\f7da"}.fa-transgender:before{content:"\f224"}.fa-transgender-alt:before{content:"\f225"}.fa-trash:before{content:"\f1f8"}.fa-trash-alt:before{content:"\f2ed"}.fa-trash-restore:before{content:"\f829"}.fa-trash-restore-alt:before{content:"\f82a"}.fa-tree:before{content:"\f1bb"}.fa-trello:before{content:"\f181"}.fa-tripadvisor:before{content:"\f262"}.fa-trophy:before{content:"\f091"}.fa-truck:before{content:"\f0d1"}.fa-truck-loading:before{content:"\f4de"}.fa-truck-monster:before{content:"\f63b"}.fa-truck-moving:before{content:"\f4df"}.fa-truck-pickup:before{content:"\f63c"}.fa-tshirt:before{content:"\f553"}.fa-tty:before{content:"\f1e4"}.fa-tumblr:before{content:"\f173"}.fa-tumblr-square:before{content:"\f174"}.fa-tv:before{content:"\f26c"}.fa-twitch:before{content:"\f1e8"}.fa-twitter:before{content:"\f099"}.fa-twitter-square:before{content:"\f081"}.fa-typo3:before{content:"\f42b"}.fa-uber:before{content:"\f402"}.fa-ubuntu:before{content:"\f7df"}.fa-uikit:before{content:"\f403"}.fa-umbraco:before{content:"\f8e8"}.fa-umbrella:before{content:"\f0e9"}.fa-umbrella-beach:before{content:"\f5ca"}.fa-uncharted:before{content:"\e084"}.fa-underline:before{content:"\f0cd"}.fa-undo:before{content:"\f0e2"}.fa-undo-alt:before{content:"\f2ea"}.fa-uniregistry:before{content:"\f404"}.fa-unity:before{content:"\e049"}.fa-universal-access:before{content:"\f29a"}.fa-university:before{content:"\f19c"}.fa-unlink:before{content:"\f127"}.fa-unlock:before{content:"\f09c"}.fa-unlock-alt:before{content:"\f13e"}.fa-unsplash:before{content:"\e07c"}.fa-untappd:before{content:"\f405"}.fa-upload:before{content:"\f093"}.fa-ups:before{content:"\f7e0"}.fa-usb:before{content:"\f287"}.fa-user:before{content:"\f007"}.fa-user-alt:before{content:"\f406"}.fa-user-alt-slash:before{content:"\f4fa"}.fa-user-astronaut:before{content:"\f4fb"}.fa-user-check:before{content:"\f4fc"}.fa-user-circle:before{content:"\f2bd"}.fa-user-clock:before{content:"\f4fd"}.fa-user-cog:before{content:"\f4fe"}.fa-user-edit:before{content:"\f4ff"}.fa-user-friends:before{content:"\f500"}.fa-user-graduate:before{content:"\f501"}.fa-user-injured:before{content:"\f728"}.fa-user-lock:before{content:"\f502"}.fa-user-md:before{content:"\f0f0"}.fa-user-minus:before{content:"\f503"}.fa-user-ninja:before{content:"\f504"}.fa-user-nurse:before{content:"\f82f"}.fa-user-plus:before{content:"\f234"}.fa-user-secret:before{content:"\f21b"}.fa-user-shield:before{content:"\f505"}.fa-user-slash:before{content:"\f506"}.fa-user-tag:before{content:"\f507"}.fa-user-tie:before{content:"\f508"}.fa-user-times:before{content:"\f235"}.fa-users:before{content:"\f0c0"}.fa-users-cog:before{content:"\f509"}.fa-users-slash:before{content:"\e073"}.fa-usps:before{content:"\f7e1"}.fa-ussunnah:before{content:"\f407"}.fa-utensil-spoon:before{content:"\f2e5"}.fa-utensils:before{content:"\f2e7"}.fa-vaadin:before{content:"\f408"}.fa-vector-square:before{content:"\f5cb"}.fa-venus:before{content:"\f221"}.fa-venus-double:before{content:"\f226"}.fa-venus-mars:before{content:"\f228"}.fa-vest:before{content:"\e085"}.fa-vest-patches:before{content:"\e086"}.fa-viacoin:before{content:"\f237"}.fa-viadeo:before{content:"\f2a9"}.fa-viadeo-square:before{content:"\f2aa"}.fa-vial:before{content:"\f492"}.fa-vials:before{content:"\f493"}.fa-viber:before{content:"\f409"}.fa-video:before{content:"\f03d"}.fa-video-slash:before{content:"\f4e2"}.fa-vihara:before{content:"\f6a7"}.fa-vimeo:before{content:"\f40a"}.fa-vimeo-square:before{content:"\f194"}.fa-vimeo-v:before{content:"\f27d"}.fa-vine:before{content:"\f1ca"}.fa-virus:before{content:"\e074"}.fa-virus-slash:before{content:"\e075"}.fa-viruses:before{content:"\e076"}.fa-vk:before{content:"\f189"}.fa-vnv:before{content:"\f40b"}.fa-voicemail:before{content:"\f897"}.fa-volleyball-ball:before{content:"\f45f"}.fa-volume-down:before{content:"\f027"}.fa-volume-mute:before{content:"\f6a9"}.fa-volume-off:before{content:"\f026"}.fa-volume-up:before{content:"\f028"}.fa-vote-yea:before{content:"\f772"}.fa-vr-cardboard:before{content:"\f729"}.fa-vuejs:before{content:"\f41f"}.fa-walking:before{content:"\f554"}.fa-wallet:before{content:"\f555"}.fa-warehouse:before{content:"\f494"}.fa-watchman-monitoring:before{content:"\e087"}.fa-water:before{content:"\f773"}.fa-wave-square:before{content:"\f83e"}.fa-waze:before{content:"\f83f"}.fa-weebly:before{content:"\f5cc"}.fa-weibo:before{content:"\f18a"}.fa-weight:before{content:"\f496"}.fa-weight-hanging:before{content:"\f5cd"}.fa-weixin:before{content:"\f1d7"}.fa-whatsapp:before{content:"\f232"}.fa-whatsapp-square:before{content:"\f40c"}.fa-wheelchair:before{content:"\f193"}.fa-whmcs:before{content:"\f40d"}.fa-wifi:before{content:"\f1eb"}.fa-wikipedia-w:before{content:"\f266"}.fa-wind:before{content:"\f72e"}.fa-window-close:before{content:"\f410"}.fa-window-maximize:before{content:"\f2d0"}.fa-window-minimize:before{content:"\f2d1"}.fa-window-restore:before{content:"\f2d2"}.fa-windows:before{content:"\f17a"}.fa-wine-bottle:before{content:"\f72f"}.fa-wine-glass:before{content:"\f4e3"}.fa-wine-glass-alt:before{content:"\f5ce"}.fa-wix:before{content:"\f5cf"}.fa-wizards-of-the-coast:before{content:"\f730"}.fa-wodu:before{content:"\e088"}.fa-wolf-pack-battalion:before{content:"\f514"}.fa-won-sign:before{content:"\f159"}.fa-wordpress:before{content:"\f19a"}.fa-wordpress-simple:before{content:"\f411"}.fa-wpbeginner:before{content:"\f297"}.fa-wpexplorer:before{content:"\f2de"}.fa-wpforms:before{content:"\f298"}.fa-wpressr:before{content:"\f3e4"}.fa-wrench:before{content:"\f0ad"}.fa-x-ray:before{content:"\f497"}.fa-xbox:before{content:"\f412"}.fa-xing:before{content:"\f168"}.fa-xing-square:before{content:"\f169"}.fa-y-combinator:before{content:"\f23b"}.fa-yahoo:before{content:"\f19e"}.fa-yammer:before{content:"\f840"}.fa-yandex:before{content:"\f413"}.fa-yandex-international:before{content:"\f414"}.fa-yarn:before{content:"\f7e3"}.fa-yelp:before{content:"\f1e9"}.fa-yen-sign:before{content:"\f157"}.fa-yin-yang:before{content:"\f6ad"}.fa-yoast:before{content:"\f2b1"}.fa-youtube:before{content:"\f167"}.fa-youtube-square:before{content:"\f431"}.fa-zhihu:before{content:"\f63f"}.sr-only{border:0;clip:rect(0,0,0,0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.sr-only-focusable:active,.sr-only-focusable:focus{clip:auto;height:auto;margin:0;overflow:visible;position:static;width:auto}@font-face{font-family:Font Awesome\ 5 Brands;font-style:normal;font-weight:400;font-display:block;src:url(../fonts/fa-brands-400.e2ca6541.eot);src:url(../fonts/fa-brands-400.e2ca6541.eot?#iefix) format("embedded-opentype"),url(../fonts/fa-brands-400.f075c50f.woff2) format("woff2"),url(../fonts/fa-brands-400.ad527cc5.woff) format("woff"),url(../fonts/fa-brands-400.8300bd7f.ttf) format("truetype"),url(../img/fa-brands-400.2f122423.svg#fontawesome) format("svg")}.fab{font-family:Font Awesome\ 5 Brands}@font-face{font-family:Font Awesome\ 5 Free;font-style:normal;font-weight:400;font-display:block;src:url(../fonts/fa-regular-400.b01516c1.eot);src:url(../fonts/fa-regular-400.b01516c1.eot?#iefix) format("embedded-opentype"),url(../fonts/fa-regular-400.4a74738e.woff2) format("woff2"),url(../fonts/fa-regular-400.3c6879c4.woff) format("woff"),url(../fonts/fa-regular-400.49f00693.ttf) format("truetype"),url(../img/fa-regular-400.3602b7e8.svg#fontawesome) format("svg")}.fab,.far{font-weight:400}@font-face{font-family:Font Awesome\ 5 Free;font-style:normal;font-weight:900;font-display:block;src:url(../fonts/fa-solid-900.8ac31674.eot);src:url(../fonts/fa-solid-900.8ac31674.eot?#iefix) format("embedded-opentype"),url(../fonts/fa-solid-900.8e1ed89b.woff2) format("woff2"),url(../fonts/fa-solid-900.4451e1d8.woff) format("woff"),url(../fonts/fa-solid-900.205f07b3.ttf) format("truetype"),url(../img/fa-solid-900.664de393.svg#fontawesome) format("svg")}.fa,.far,.fas{font-family:Font Awesome\ 5 Free}.fa,.fas{font-weight:900} - -/*! - * jQuery UI CSS Framework 1.12.1 - * http://jqueryui.com - * - * Copyright jQuery Foundation and other contributors - * Released under the MIT license. - * http://jquery.org/license - * - * http://api.jqueryui.com/category/theming/ - */ - -/*! - * jQuery UI Draggable 1.12.1 - * http://jqueryui.com - * - * Copyright jQuery Foundation and other contributors - * Released under the MIT license. - * http://jquery.org/license - */ - -/*! - * jQuery UI Resizable 1.12.1 - * http://jqueryui.com - * - * Copyright jQuery Foundation and other contributors - * Released under the MIT license. - * http://jquery.org/license - */ - -/*! - * jQuery UI Button 1.12.1 - * http://jqueryui.com - * - * Copyright jQuery Foundation and other contributors - * Released under the MIT license. - * http://jquery.org/license - * - * http://api.jqueryui.com/button/#theming - */ - -/*! - * jQuery UI Checkboxradio 1.12.1 - * http://jqueryui.com - * - * Copyright jQuery Foundation and other contributors - * Released under the MIT license. - * http://jquery.org/license - * - * http://api.jqueryui.com/checkboxradio/#theming - */ - -/*! - * jQuery UI Controlgroup 1.12.1 - * http://jqueryui.com - * - * Copyright jQuery Foundation and other contributors - * Released under the MIT license. - * http://jquery.org/license - * - * http://api.jqueryui.com/controlgroup/#theming - */ - - -/*! - * jQuery UI Dialog 1.12.1 - * http://jqueryui.com - * - * Copyright jQuery Foundation and other contributors - * Released under the MIT license. - * http://jquery.org/license - * - * http://api.jqueryui.com/dialog/#theming - */ - -/*! - * jQuery UI Sortable 1.12.1 - * http://jqueryui.com - * - * Copyright jQuery Foundation and other contributors - * Released under the MIT license. - * http://jquery.org/license - */ - -/*! - * jQuery UI Datepicker 1.12.1 - * http://jqueryui.com - * - * Copyright jQuery Foundation and other contributors - * Released under the MIT license. - * http://jquery.org/license - * - * http://api.jqueryui.com/datepicker/#theming - */ - -/*! - * jQuery UI Autocomplete 1.12.1 - * http://jqueryui.com - * - * Copyright jQuery Foundation and other contributors - * Released under the MIT license. - * http://jquery.org/license - * - * http://api.jqueryui.com/autocomplete/#theming - */ - -/*! - * jQuery UI Menu 1.12.1 - * http://jqueryui.com - * - * Copyright jQuery Foundation and other contributors - * Released under the MIT license. - * http://jquery.org/license - * - * http://api.jqueryui.com/menu/#theming - */ - -/*! jQuery UI - v1.12.0 - 2016-07-08 -* http://jqueryui.com -* Includes: core.css, accordion.css, autocomplete.css, menu.css, button.css, controlgroup.css, checkboxradio.css, datepicker.css, dialog.css, draggable.css, resizable.css, progressbar.css, selectable.css, selectmenu.css, slider.css, sortable.css, spinner.css, tabs.css, tooltip.css, theme.css -* To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Lucida%20Grande%2CLucida%20Sans%2CArial%2Csans-serif&fwDefault=bold&fsDefault=1.1em&cornerRadius=6px&bgColorHeader=deedf7&bgTextureHeader=highlight_soft&bgImgOpacityHeader=100&borderColorHeader=aed0ea&fcHeader=222222&iconColorHeader=72a7cf&bgColorContent=f2f5f7&bgTextureContent=highlight_hard&bgImgOpacityContent=100&borderColorContent=dddddd&fcContent=362b36&iconColorContent=72a7cf&bgColorDefault=d7ebf9&bgTextureDefault=glass&bgImgOpacityDefault=80&borderColorDefault=aed0ea&fcDefault=2779aa&iconColorDefault=3d80b3&bgColorHover=e4f1fb&bgTextureHover=glass&bgImgOpacityHover=100&borderColorHover=74b2e2&fcHover=0070a3&iconColorHover=2694e8&bgColorActive=3baae3&bgTextureActive=glass&bgImgOpacityActive=50&borderColorActive=2694e8&fcActive=ffffff&iconColorActive=ffffff&bgColorHighlight=ffef8f&bgTextureHighlight=highlight_soft&bgImgOpacityHighlight=25&borderColorHighlight=f9dd34&fcHighlight=363636&iconColorHighlight=2e83ff&bgColorError=cd0a0a&bgTextureError=flat&bgImgOpacityError=15&borderColorError=cd0a0a&fcError=ffffff&iconColorError=ffffff&bgColorOverlay=eeeeee&bgTextureOverlay=diagonals_thick&bgImgOpacityOverlay=90&opacityOverlay=80&bgColorShadow=000000&bgTextureShadow=highlight_hard&bgImgOpacityShadow=70&opacityShadow=30&thicknessShadow=7px&offsetTopShadow=-7px&offsetLeftShadow=-7px&cornerRadiusShadow=8px -* Copyright jQuery Foundation and other contributors; Licensed MIT */.ui-helper-hidden{display:none}.ui-helper-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.ui-helper-reset{margin:0;padding:0;border:0;outline:0;line-height:1.3;text-decoration:none;font-size:100%;list-style:none}.ui-helper-clearfix:after,.ui-helper-clearfix:before{content:"";display:table;border-collapse:collapse}.ui-helper-clearfix:after{clear:both}.ui-helper-zfix{width:100%;height:100%;top:0;left:0;position:absolute;opacity:0;filter:Alpha(Opacity=0)}.ui-front{z-index:100}.ui-state-disabled{cursor:default!important;pointer-events:none}.ui-icon{display:inline-block;vertical-align:middle;margin-top:-.25em;position:relative;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat}.ui-widget-icon-block{left:50%;margin-left:-8px;display:block}.ui-widget-overlay{position:fixed;top:0;left:0;width:100%;height:100%}.ui-accordion .ui-accordion-header{display:block;cursor:pointer;position:relative;margin:2px 0 0 0;padding:.5em .5em .5em .7em;font-size:100%}.ui-accordion .ui-accordion-content{padding:1em 2.2em;border-top:0;overflow:auto}.ui-autocomplete{position:absolute;top:0;left:0;cursor:default}.ui-menu{list-style:none;padding:0;margin:0;display:block;outline:0}.ui-menu .ui-menu{position:absolute}.ui-menu .ui-menu-item{margin:0;cursor:pointer;list-style-image:url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7")}.ui-menu .ui-menu-item-wrapper{position:relative;padding:3px 1em 3px .4em}.ui-menu .ui-menu-divider{margin:5px 0;height:0;font-size:0;line-height:0;border-width:1px 0 0 0}.ui-menu .ui-state-active,.ui-menu .ui-state-focus{margin:-1px}.ui-menu-icons{position:relative}.ui-menu-icons .ui-menu-item-wrapper{padding-left:2em}.ui-menu .ui-icon{position:absolute;top:0;bottom:0;left:.2em;margin:auto 0}.ui-menu .ui-menu-icon{left:auto;right:0}.ui-button{padding:.4em 1em;display:inline-block;position:relative;line-height:normal;margin-right:.1em;cursor:pointer;vertical-align:middle;text-align:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;overflow:visible}.ui-button,.ui-button:active,.ui-button:hover,.ui-button:link,.ui-button:visited{text-decoration:none}.ui-button-icon-only{width:2em;box-sizing:border-box;text-indent:-9999px;white-space:nowrap}input.ui-button.ui-button-icon-only{text-indent:0}.ui-button-icon-only .ui-icon{position:absolute;top:50%;left:50%;margin-top:-8px;margin-left:-8px}.ui-button.ui-icon-notext .ui-icon{padding:0;width:2.1em;height:2.1em;text-indent:-9999px;white-space:nowrap}input.ui-button.ui-icon-notext .ui-icon{width:auto;height:auto;text-indent:0;white-space:normal;padding:.4em 1em}button.ui-button::-moz-focus-inner,input.ui-button::-moz-focus-inner{border:0;padding:0}.ui-controlgroup{vertical-align:middle;display:inline-block}.ui-controlgroup>.ui-controlgroup-item{float:left;margin-left:0;margin-right:0}.ui-controlgroup>.ui-controlgroup-item.ui-visual-focus,.ui-controlgroup>.ui-controlgroup-item:focus{z-index:9999}.ui-controlgroup-vertical>.ui-controlgroup-item{display:block;float:none;width:100%;margin-top:0;margin-bottom:0;text-align:left}.ui-controlgroup-vertical .ui-controlgroup-item{box-sizing:border-box}.ui-controlgroup .ui-controlgroup-label{padding:.4em 1em}.ui-controlgroup .ui-controlgroup-label span{font-size:80%}.ui-controlgroup-horizontal .ui-controlgroup-label+.ui-controlgroup-item{border-left:none}.ui-controlgroup-vertical .ui-controlgroup-label+.ui-controlgroup-item{border-top:none}.ui-controlgroup-horizontal .ui-controlgroup-label.ui-widget-content{border-right:none}.ui-controlgroup-vertical .ui-controlgroup-label.ui-widget-content{border-bottom:none}.ui-controlgroup-vertical .ui-spinner-input{width:75%;width:calc(100% - 2.4em)}.ui-controlgroup-vertical .ui-spinner .ui-spinner-up{border-top-style:solid}.ui-checkboxradio-label .ui-icon-background{box-shadow:inset 1px 1px 1px #ccc;border-radius:.12em;border:none}.ui-checkboxradio-radio-label .ui-icon-background{width:16px;height:16px;border-radius:1em;overflow:visible;border:none}.ui-checkboxradio-radio-label.ui-checkboxradio-checked .ui-icon,.ui-checkboxradio-radio-label.ui-checkboxradio-checked:hover .ui-icon{background-image:none;width:8px;height:8px;border-width:4px;border-style:solid}.ui-checkboxradio-disabled{pointer-events:none}.ui-datepicker{width:17em;padding:.2em .2em 0;display:none}.ui-datepicker .ui-datepicker-header{position:relative;padding:.2em 0}.ui-datepicker .ui-datepicker-next,.ui-datepicker .ui-datepicker-prev{position:absolute;top:2px;width:1.8em;height:1.8em}.ui-datepicker .ui-datepicker-next-hover,.ui-datepicker .ui-datepicker-prev-hover{top:1px}.ui-datepicker .ui-datepicker-prev{left:2px}.ui-datepicker .ui-datepicker-next{right:2px}.ui-datepicker .ui-datepicker-prev-hover{left:1px}.ui-datepicker .ui-datepicker-next-hover{right:1px}.ui-datepicker .ui-datepicker-next span,.ui-datepicker .ui-datepicker-prev span{display:block;position:absolute;left:50%;margin-left:-8px;top:50%;margin-top:-8px}.ui-datepicker .ui-datepicker-title{margin:0 2.3em;line-height:1.8em;text-align:center}.ui-datepicker .ui-datepicker-title select{font-size:1em;margin:1px 0}.ui-datepicker select.ui-datepicker-month,.ui-datepicker select.ui-datepicker-year{width:45%}.ui-datepicker table{width:100%;font-size:.9em;border-collapse:collapse;margin:0 0 .4em}.ui-datepicker th{padding:.7em .3em;text-align:center;font-weight:700;border:0}.ui-datepicker td{border:0;padding:1px}.ui-datepicker td a,.ui-datepicker td span{display:block;padding:.2em;text-align:right;text-decoration:none}.ui-datepicker .ui-datepicker-buttonpane{background-image:none;margin:.7em 0 0 0;padding:0 .2em;border-left:0;border-right:0;border-bottom:0}.ui-datepicker .ui-datepicker-buttonpane button{float:right;margin:.5em .2em .4em;cursor:pointer;padding:.2em .6em .3em .6em;width:auto;overflow:visible}.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current{float:left}.ui-datepicker.ui-datepicker-multi{width:auto}.ui-datepicker-multi .ui-datepicker-group{float:left}.ui-datepicker-multi .ui-datepicker-group table{width:95%;margin:0 auto .4em}.ui-datepicker-multi-2 .ui-datepicker-group{width:50%}.ui-datepicker-multi-3 .ui-datepicker-group{width:33.3%}.ui-datepicker-multi-4 .ui-datepicker-group{width:25%}.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header{border-left-width:0}.ui-datepicker-multi .ui-datepicker-buttonpane{clear:left}.ui-datepicker-row-break{clear:both;width:100%;font-size:0}.ui-datepicker-rtl{direction:rtl}.ui-datepicker-rtl .ui-datepicker-prev{right:2px;left:auto}.ui-datepicker-rtl .ui-datepicker-next{left:2px;right:auto}.ui-datepicker-rtl .ui-datepicker-prev:hover{right:1px;left:auto}.ui-datepicker-rtl .ui-datepicker-next:hover{left:1px;right:auto}.ui-datepicker-rtl .ui-datepicker-buttonpane{clear:right}.ui-datepicker-rtl .ui-datepicker-buttonpane button{float:left}.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current,.ui-datepicker-rtl .ui-datepicker-group{float:right}.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header{border-right-width:0;border-left-width:1px}.ui-datepicker .ui-icon{display:block;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat;left:.5em;top:.3em}.ui-dialog{position:absolute;top:0;left:0;padding:.2em;outline:0}.ui-dialog .ui-dialog-titlebar{padding:.4em 1em;position:relative}.ui-dialog .ui-dialog-title{float:left;margin:.1em 0;white-space:nowrap;width:90%;overflow:hidden;text-overflow:ellipsis}.ui-dialog .ui-dialog-titlebar-close{position:absolute;right:.3em;top:50%;width:20px;margin:-10px 0 0 0;padding:1px;height:20px}.ui-dialog .ui-dialog-content{position:relative;border:0;padding:.5em 1em;background:none;overflow:auto}.ui-dialog .ui-dialog-buttonpane{text-align:left;border-width:1px 0 0 0;background-image:none;margin-top:.5em;padding:.3em 1em .5em .4em}.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset{float:right}.ui-dialog .ui-dialog-buttonpane button{margin:.5em .4em .5em 0;cursor:pointer}.ui-dialog .ui-resizable-n{height:2px;top:0}.ui-dialog .ui-resizable-e{width:2px;right:0}.ui-dialog .ui-resizable-s{height:2px;bottom:0}.ui-dialog .ui-resizable-w{width:2px;left:0}.ui-dialog .ui-resizable-ne,.ui-dialog .ui-resizable-nw,.ui-dialog .ui-resizable-se,.ui-dialog .ui-resizable-sw{width:7px;height:7px}.ui-dialog .ui-resizable-se{right:0;bottom:0}.ui-dialog .ui-resizable-sw{left:0;bottom:0}.ui-dialog .ui-resizable-ne{right:0;top:0}.ui-dialog .ui-resizable-nw{left:0;top:0}.ui-draggable .ui-dialog-titlebar{cursor:move}.ui-draggable-handle{touch-action:none}.ui-resizable{position:relative}.ui-resizable-handle{position:absolute;font-size:.1px;display:block;touch-action:none}.ui-resizable-autohide .ui-resizable-handle,.ui-resizable-disabled .ui-resizable-handle{display:none}.ui-resizable-n{cursor:n-resize;height:7px;width:100%;top:-5px;left:0}.ui-resizable-s{cursor:s-resize;height:7px;width:100%;bottom:-5px;left:0}.ui-resizable-e{cursor:e-resize;width:7px;right:-5px;top:0;height:100%}.ui-resizable-w{cursor:w-resize;width:7px;left:-5px;top:0;height:100%}.ui-resizable-se{cursor:se-resize;width:12px;height:12px;right:1px;bottom:1px}.ui-resizable-sw{cursor:sw-resize;width:9px;height:9px;left:-5px;bottom:-5px}.ui-resizable-nw{cursor:nw-resize;width:9px;height:9px;left:-5px;top:-5px}.ui-resizable-ne{cursor:ne-resize;width:9px;height:9px;right:-5px;top:-5px}.ui-progressbar{height:2em;text-align:left;overflow:hidden}.ui-progressbar .ui-progressbar-value{margin:-1px;height:100%}.ui-progressbar .ui-progressbar-overlay{background:url("data:image/gif;base64,R0lGODlhKAAoAIABAAAAAP///yH/C05FVFNDQVBFMi4wAwEAAAAh+QQJAQABACwAAAAAKAAoAAACkYwNqXrdC52DS06a7MFZI+4FHBCKoDeWKXqymPqGqxvJrXZbMx7Ttc+w9XgU2FB3lOyQRWET2IFGiU9m1frDVpxZZc6bfHwv4c1YXP6k1Vdy292Fb6UkuvFtXpvWSzA+HycXJHUXiGYIiMg2R6W459gnWGfHNdjIqDWVqemH2ekpObkpOlppWUqZiqr6edqqWQAAIfkECQEAAQAsAAAAACgAKAAAApSMgZnGfaqcg1E2uuzDmmHUBR8Qil95hiPKqWn3aqtLsS18y7G1SzNeowWBENtQd+T1JktP05nzPTdJZlR6vUxNWWjV+vUWhWNkWFwxl9VpZRedYcflIOLafaa28XdsH/ynlcc1uPVDZxQIR0K25+cICCmoqCe5mGhZOfeYSUh5yJcJyrkZWWpaR8doJ2o4NYq62lAAACH5BAkBAAEALAAAAAAoACgAAAKVDI4Yy22ZnINRNqosw0Bv7i1gyHUkFj7oSaWlu3ovC8GxNso5fluz3qLVhBVeT/Lz7ZTHyxL5dDalQWPVOsQWtRnuwXaFTj9jVVh8pma9JjZ4zYSj5ZOyma7uuolffh+IR5aW97cHuBUXKGKXlKjn+DiHWMcYJah4N0lYCMlJOXipGRr5qdgoSTrqWSq6WFl2ypoaUAAAIfkECQEAAQAsAAAAACgAKAAAApaEb6HLgd/iO7FNWtcFWe+ufODGjRfoiJ2akShbueb0wtI50zm02pbvwfWEMWBQ1zKGlLIhskiEPm9R6vRXxV4ZzWT2yHOGpWMyorblKlNp8HmHEb/lCXjcW7bmtXP8Xt229OVWR1fod2eWqNfHuMjXCPkIGNileOiImVmCOEmoSfn3yXlJWmoHGhqp6ilYuWYpmTqKUgAAIfkECQEAAQAsAAAAACgAKAAAApiEH6kb58biQ3FNWtMFWW3eNVcojuFGfqnZqSebuS06w5V80/X02pKe8zFwP6EFWOT1lDFk8rGERh1TTNOocQ61Hm4Xm2VexUHpzjymViHrFbiELsefVrn6XKfnt2Q9G/+Xdie499XHd2g4h7ioOGhXGJboGAnXSBnoBwKYyfioubZJ2Hn0RuRZaflZOil56Zp6iioKSXpUAAAh+QQJAQABACwAAAAAKAAoAAACkoQRqRvnxuI7kU1a1UU5bd5tnSeOZXhmn5lWK3qNTWvRdQxP8qvaC+/yaYQzXO7BMvaUEmJRd3TsiMAgswmNYrSgZdYrTX6tSHGZO73ezuAw2uxuQ+BbeZfMxsexY35+/Qe4J1inV0g4x3WHuMhIl2jXOKT2Q+VU5fgoSUI52VfZyfkJGkha6jmY+aaYdirq+lQAACH5BAkBAAEALAAAAAAoACgAAAKWBIKpYe0L3YNKToqswUlvznigd4wiR4KhZrKt9Upqip61i9E3vMvxRdHlbEFiEXfk9YARYxOZZD6VQ2pUunBmtRXo1Lf8hMVVcNl8JafV38aM2/Fu5V16Bn63r6xt97j09+MXSFi4BniGFae3hzbH9+hYBzkpuUh5aZmHuanZOZgIuvbGiNeomCnaxxap2upaCZsq+1kAACH5BAkBAAEALAAAAAAoACgAAAKXjI8By5zf4kOxTVrXNVlv1X0d8IGZGKLnNpYtm8Lr9cqVeuOSvfOW79D9aDHizNhDJidFZhNydEahOaDH6nomtJjp1tutKoNWkvA6JqfRVLHU/QUfau9l2x7G54d1fl995xcIGAdXqMfBNadoYrhH+Mg2KBlpVpbluCiXmMnZ2Sh4GBqJ+ckIOqqJ6LmKSllZmsoq6wpQAAAh+QQJAQABACwAAAAAKAAoAAAClYx/oLvoxuJDkU1a1YUZbJ59nSd2ZXhWqbRa2/gF8Gu2DY3iqs7yrq+xBYEkYvFSM8aSSObE+ZgRl1BHFZNr7pRCavZ5BW2142hY3AN/zWtsmf12p9XxxFl2lpLn1rseztfXZjdIWIf2s5dItwjYKBgo9yg5pHgzJXTEeGlZuenpyPmpGQoKOWkYmSpaSnqKileI2FAAACH5BAkBAAEALAAAAAAoACgAAAKVjB+gu+jG4kORTVrVhRlsnn2dJ3ZleFaptFrb+CXmO9OozeL5VfP99HvAWhpiUdcwkpBH3825AwYdU8xTqlLGhtCosArKMpvfa1mMRae9VvWZfeB2XfPkeLmm18lUcBj+p5dnN8jXZ3YIGEhYuOUn45aoCDkp16hl5IjYJvjWKcnoGQpqyPlpOhr3aElaqrq56Bq7VAAAOw==");height:100%;filter:alpha(opacity=25);opacity:.25}.ui-progressbar-indeterminate .ui-progressbar-value{background-image:none}.ui-selectable{touch-action:none}.ui-selectable-helper{position:absolute;z-index:100;border:1px dotted #000}.ui-selectmenu-menu{padding:0;margin:0;position:absolute;top:0;left:0;display:none}.ui-selectmenu-menu .ui-menu{overflow:auto;overflow-x:hidden;padding-bottom:1px}.ui-selectmenu-menu .ui-menu .ui-selectmenu-optgroup{font-size:1em;font-weight:700;line-height:1.5;padding:2px .4em;margin:.5em 0 0 0;height:auto;border:0}.ui-selectmenu-open{display:block}.ui-selectmenu-text{display:block;margin-right:20px;overflow:hidden;text-overflow:ellipsis}.ui-selectmenu-button.ui-button{text-align:left;white-space:nowrap;width:14em}.ui-selectmenu-icon.ui-icon{float:right;margin-top:0}.ui-slider{position:relative;text-align:left}.ui-slider .ui-slider-handle{position:absolute;z-index:2;width:1.2em;height:1.2em;cursor:default;touch-action:none}.ui-slider .ui-slider-range{position:absolute;z-index:1;font-size:.7em;display:block;border:0;background-position:0 0}.ui-slider.ui-state-disabled .ui-slider-handle,.ui-slider.ui-state-disabled .ui-slider-range{filter:inherit}.ui-slider-horizontal{height:.8em}.ui-slider-horizontal .ui-slider-handle{top:-.3em;margin-left:-.6em}.ui-slider-horizontal .ui-slider-range{top:0;height:100%}.ui-slider-horizontal .ui-slider-range-min{left:0}.ui-slider-horizontal .ui-slider-range-max{right:0}.ui-slider-vertical{width:.8em;height:100px}.ui-slider-vertical .ui-slider-handle{left:-.3em;margin-left:0;margin-bottom:-.6em}.ui-slider-vertical .ui-slider-range{left:0;width:100%}.ui-slider-vertical .ui-slider-range-min{bottom:0}.ui-slider-vertical .ui-slider-range-max{top:0}.ui-sortable-handle{touch-action:none}.ui-spinner{position:relative;display:inline-block;overflow:hidden;padding:0;vertical-align:middle}.ui-spinner-input{border:none;background:none;color:inherit;padding:.222em 0;margin:.2em 0;vertical-align:middle;margin-left:.4em;margin-right:2em}.ui-spinner-button{width:1.6em;height:50%;font-size:.5em;padding:0;margin:0;text-align:center;position:absolute;cursor:default;display:block;overflow:hidden;right:0}.ui-spinner a.ui-spinner-button{border-top-style:none;border-bottom-style:none;border-right-style:none}.ui-spinner-up{top:0}.ui-spinner-down{bottom:0}.ui-tabs{position:relative;padding:.2em}.ui-tabs .ui-tabs-nav{margin:0;padding:.2em .2em 0}.ui-tabs .ui-tabs-nav li{list-style:none;float:left;position:relative;top:0;margin:1px .2em 0 0;border-bottom-width:0;padding:0;white-space:nowrap}.ui-tabs .ui-tabs-nav .ui-tabs-anchor{float:left;padding:.5em 1em;text-decoration:none}.ui-tabs .ui-tabs-nav li.ui-tabs-active{margin-bottom:-1px;padding-bottom:1px}.ui-tabs .ui-tabs-nav li.ui-state-disabled .ui-tabs-anchor,.ui-tabs .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor,.ui-tabs .ui-tabs-nav li.ui-tabs-loading .ui-tabs-anchor{cursor:text}.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor{cursor:pointer}.ui-tabs .ui-tabs-panel{display:block;border-width:0;padding:1em 1.4em;background:none}.ui-tooltip{padding:8px;position:absolute;z-index:9999;max-width:300px}body .ui-tooltip{border-width:2px}.ui-widget{font-family:Lucida Grande,Lucida Sans,Arial,sans-serif;font-size:1.1em}.ui-widget .ui-widget{font-size:1em}.ui-widget button,.ui-widget input,.ui-widget select,.ui-widget textarea{font-family:Lucida Grande,Lucida Sans,Arial,sans-serif;font-size:1em}.ui-widget.ui-widget-content{border:1px solid #aed0ea}.ui-widget-content{border:1px solid #ddd;background:#f2f5f7 url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAABkEAIAAACY3hF0AAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0T///////8JWPfcAAAAB3RJTUUH4AcIFAkwQTDFlAAAAIpJREFUKM/tz6ENwkAUgOE/DYYJUA0KZkFUIetxqKJZgQUYguJBIQDVAQhhAESTtnf33r0mMAGakKA+/RHPZv01AYA/n2jxSMKeExXqLO9n6CI+rUYusbANkmptE8JKl/GIP8gjZviBzPWGy0OlBd0uZDqkG/u7lMlrzZaSdupTGdE0zoXw7eZP8Qbj00P2LE1L9gAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAxNi0wNy0wOFQyMDowOTo0OCswMjowMDFydjoAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMTYtMDctMDhUMjA6MDk6NDgrMDI6MDBAL86GAAAAAElFTkSuQmCC) 50% top repeat-x;color:#362b36}.ui-widget-content a{color:#362b36}.ui-widget-header{border:1px solid #aed0ea;background:#deedf7 url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAABkEAIAAACY3hF0AAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0T///////8JWPfcAAAAB3RJTUUH4AcIFAkwQTDFlAAAAMFJREFUKM/lkD1qwgAYQB8fuHQpgpBO7eDgUByFdO0RuiX0Dj1DzqD0BmZyd9RFTKd2Kc2UQEUL5qdtSJOYCJ+Dh1Do9JYHDx7ZrFrsXwQA/g0CEipRG5cPwdYxvqjFGJ/vVTnYG6R1MW1C0nZhNq6ooQ4e8fVfr+kTdfLnOmF7kbfqiWihT8z5KrJVfcsmzh52kei7PjIVNXDwjsqMz/XPTfUrmDriTfQKh6WodazfMeSV8D7tVpcEQZKU5akvnTkO8y9eZNHr5WMAAAAldEVYdGRhdGU6Y3JlYXRlADIwMTYtMDctMDhUMjA6MDk6NDgrMDI6MDAxcnY6AAAAJXRFWHRkYXRlOm1vZGlmeQAyMDE2LTA3LTA4VDIwOjA5OjQ4KzAyOjAwQC/OhgAAAABJRU5ErkJggg==) 50% 50% repeat-x;color:#222;font-weight:700}.ui-widget-header a{color:#222}.ui-button,.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default,html .ui-button.ui-state-disabled:active,html .ui-button.ui-state-disabled:hover{border:1px solid #aed0ea;background:#d7ebf9 url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAGQEAIAAACwqkHPAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0T///////8JWPfcAAAAB3RJTUUH4AcIFAkwQTDFlAAAAJhJREFUSMftzyEOggAYBeD33mZz02pwYxo1GDQT5BBsJr0RBzA4TkAyOzwBBTcx6BwGHEESSPAUTsOfvvzhHr38dy4AAAzDMIxvgzQtirrGyX9Om644QoCpuOQOM2RO2Wu2uMTltcmkkAld6cgrPDHmDZ4UMoGLfF4NWgePfXVuV9KGERbimAEmwgFrDEUHfXT+Im0YhvFDPkIzLk7A/EzKAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDE2LTA3LTA4VDIwOjA5OjQ4KzAyOjAwMXJ2OgAAACV0RVh0ZGF0ZTptb2RpZnkAMjAxNi0wNy0wOFQyMDowOTo0OCswMjowMEAvzoYAAAAASUVORK5CYII=) 50% 50% repeat-x;font-weight:700;color:#2779aa}.ui-button,.ui-state-default a,.ui-state-default a:link,.ui-state-default a:visited,a.ui-button,a:link.ui-button,a:visited.ui-button{color:#2779aa;text-decoration:none}.ui-button:focus,.ui-button:hover,.ui-state-focus,.ui-state-hover,.ui-widget-content .ui-state-focus,.ui-widget-content .ui-state-hover,.ui-widget-header .ui-state-focus,.ui-widget-header .ui-state-hover{border:1px solid #74b2e2;background:#e4f1fb url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAGQEAIAAACwqkHPAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0T///////8JWPfcAAAAB3RJTUUH4AcIFAkwQTDFlAAAAJxJREFUSMftz60KwmAYhuHnedEkiFGwujC2uGTRYjAurAp6Ip6BmCyLO4gVk8XgYTiTf3yD/cD2gcFjEA1vutoNN16Hamf3AgCAoiiK8m2QZcY0Da5h7rY9YYENxsIBt3CFHmL4wjVTBLjNi1n7wP1Ydq2D57Q826VwxRQBjNQTe0K+qC+2EnqM6X9ijjBhhKFghD46fzGtKIryQ95Jgy/jpWK+ggAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAxNi0wNy0wOFQyMDowOTo0OCswMjowMDFydjoAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMTYtMDctMDhUMjA6MDk6NDgrMDI6MDBAL86GAAAAAElFTkSuQmCC) 50% 50% repeat-x;font-weight:700;color:#0070a3}.ui-state-focus a,.ui-state-focus a:hover,.ui-state-focus a:link,.ui-state-focus a:visited,.ui-state-hover a,.ui-state-hover a:hover,.ui-state-hover a:link,.ui-state-hover a:visited,a.ui-button:focus,a.ui-button:hover{color:#0070a3;text-decoration:none}.ui-visual-focus{box-shadow:0 0 3px 1px #5e9ed6}.ui-button.ui-state-active:hover,.ui-button:active,.ui-state-active,.ui-widget-content .ui-state-active,.ui-widget-header .ui-state-active,a.ui-button:active{border:1px solid #2694e8;background:#3baae3 url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAGQEAIAAACwqkHPAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0T///////8JWPfcAAAAB3RJTUUH4AcIFAkwQTDFlAAAAI5JREFUSMdjSJq6e/fLJiYGBgYGBoZRapQapUapUYrm1M1l79//SmRi7GZczWjBxFLJ2MRQz8Ryh2kNYx8Tix3TdYbZTKwsTLqM2yHUDibWdOYIhqNMbOlM4YzH0ORYFjIxMaxkYrVjus44m6G4/7DE6/dMTIGMjIyhTIzJDNoMfIPD06PUKDVKjVIDRwEAMuIhVFSEkAcAAAAldEVYdGRhdGU6Y3JlYXRlADIwMTYtMDctMDhUMjA6MDk6NDgrMDI6MDAxcnY6AAAAJXRFWHRkYXRlOm1vZGlmeQAyMDE2LTA3LTA4VDIwOjA5OjQ4KzAyOjAwQC/OhgAAAABJRU5ErkJggg==) 50% 50% repeat-x;font-weight:700;color:#fff}.ui-icon-background,.ui-state-active .ui-icon-background{border:#2694e8;background-color:#fff}.ui-state-active a,.ui-state-active a:link,.ui-state-active a:visited{color:#fff;text-decoration:none}.ui-state-highlight,.ui-widget-content .ui-state-highlight,.ui-widget-header .ui-state-highlight{border:1px solid #f9dd34;background:#ffef8f url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAABkEAIAAACY3hF0AAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0T///////8JWPfcAAAAB3RJTUUH4AcIFAkwQTDFlAAAAHNJREFUKM/lkM0Jg2AQBYdXyJc+tI/EJnKyEFvwbkuBCHoQ9CDiMfA8rCGCBSSQ0zD72B8WeynquwDgj/CiEzC5FDBSfswDNwG9s0AuoAtrnQIXAS1JwPNdTALv2cM69+3DBq4HG+OIWOvZlYCV5vtf+mlsEsU1wS9R7TYAAAAldEVYdGRhdGU6Y3JlYXRlADIwMTYtMDctMDhUMjA6MDk6NDgrMDI6MDAxcnY6AAAAJXRFWHRkYXRlOm1vZGlmeQAyMDE2LTA3LTA4VDIwOjA5OjQ4KzAyOjAwQC/OhgAAAABJRU5ErkJggg==) 50% top repeat-x;color:#363636}.ui-state-checked{border:1px solid #f9dd34;background:#ffef8f}.ui-state-highlight a,.ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a{color:#363636}.ui-state-error,.ui-widget-content .ui-state-error,.ui-widget-header .ui-state-error{border:1px solid #cd0a0a;background:#cd0a0a;color:#fff}.ui-state-error-text,.ui-state-error a,.ui-widget-content .ui-state-error-text,.ui-widget-content .ui-state-error a,.ui-widget-header .ui-state-error-text,.ui-widget-header .ui-state-error a{color:#fff}.ui-priority-primary,.ui-widget-content .ui-priority-primary,.ui-widget-header .ui-priority-primary{font-weight:700}.ui-priority-secondary,.ui-widget-content .ui-priority-secondary,.ui-widget-header .ui-priority-secondary{opacity:.7;filter:Alpha(Opacity=70);font-weight:400}.ui-state-disabled,.ui-widget-content .ui-state-disabled,.ui-widget-header .ui-state-disabled{opacity:.35;filter:Alpha(Opacity=35);background-image:none}.ui-state-disabled .ui-icon{filter:Alpha(Opacity=35)}.ui-icon{width:16px;height:16px}.ui-icon,.ui-widget-content .ui-icon,.ui-widget-header .ui-icon{background-image:url(../img/ui-icons_72a7cf_256x240.55a4c5ce.png)}.ui-button .ui-icon{background-image:url(../img/ui-icons_3d80b3_256x240.24fcd129.png)}.ui-button:focus .ui-icon,.ui-button:hover .ui-icon,.ui-state-default .ui-icon,.ui-state-focus .ui-icon,.ui-state-hover .ui-icon{background-image:url(../img/ui-icons_2694e8_256x240.274157b3.png)}.ui-button:active .ui-icon,.ui-state-active .ui-icon{background-image:url(../img/ui-icons_ffffff_256x240.bb2a88be.png)}.ui-button .ui-state-highlight.ui-icon,.ui-state-highlight .ui-icon{background-image:url(../img/ui-icons_2e83ff_256x240.602e5d4d.png)}.ui-state-error-text .ui-icon,.ui-state-error .ui-icon{background-image:url(../img/ui-icons_ffffff_256x240.bb2a88be.png)}.ui-icon-blank{background-position:16px 16px}.ui-icon-caret-1-n{background-position:0 0}.ui-icon-caret-1-ne{background-position:-16px 0}.ui-icon-caret-1-e{background-position:-32px 0}.ui-icon-caret-1-se{background-position:-48px 0}.ui-icon-caret-1-s{background-position:-65px 0}.ui-icon-caret-1-sw{background-position:-80px 0}.ui-icon-caret-1-w{background-position:-96px 0}.ui-icon-caret-1-nw{background-position:-112px 0}.ui-icon-caret-2-n-s{background-position:-128px 0}.ui-icon-caret-2-e-w{background-position:-144px 0}.ui-icon-triangle-1-n{background-position:0 -16px}.ui-icon-triangle-1-ne{background-position:-16px -16px}.ui-icon-triangle-1-e{background-position:-32px -16px}.ui-icon-triangle-1-se{background-position:-48px -16px}.ui-icon-triangle-1-s{background-position:-65px -16px}.ui-icon-triangle-1-sw{background-position:-80px -16px}.ui-icon-triangle-1-w{background-position:-96px -16px}.ui-icon-triangle-1-nw{background-position:-112px -16px}.ui-icon-triangle-2-n-s{background-position:-128px -16px}.ui-icon-triangle-2-e-w{background-position:-144px -16px}.ui-icon-arrow-1-n{background-position:0 -32px}.ui-icon-arrow-1-ne{background-position:-16px -32px}.ui-icon-arrow-1-e{background-position:-32px -32px}.ui-icon-arrow-1-se{background-position:-48px -32px}.ui-icon-arrow-1-s{background-position:-65px -32px}.ui-icon-arrow-1-sw{background-position:-80px -32px}.ui-icon-arrow-1-w{background-position:-96px -32px}.ui-icon-arrow-1-nw{background-position:-112px -32px}.ui-icon-arrow-2-n-s{background-position:-128px -32px}.ui-icon-arrow-2-ne-sw{background-position:-144px -32px}.ui-icon-arrow-2-e-w{background-position:-160px -32px}.ui-icon-arrow-2-se-nw{background-position:-176px -32px}.ui-icon-arrowstop-1-n{background-position:-192px -32px}.ui-icon-arrowstop-1-e{background-position:-208px -32px}.ui-icon-arrowstop-1-s{background-position:-224px -32px}.ui-icon-arrowstop-1-w{background-position:-240px -32px}.ui-icon-arrowthick-1-n{background-position:1px -48px}.ui-icon-arrowthick-1-ne{background-position:-16px -48px}.ui-icon-arrowthick-1-e{background-position:-32px -48px}.ui-icon-arrowthick-1-se{background-position:-48px -48px}.ui-icon-arrowthick-1-s{background-position:-64px -48px}.ui-icon-arrowthick-1-sw{background-position:-80px -48px}.ui-icon-arrowthick-1-w{background-position:-96px -48px}.ui-icon-arrowthick-1-nw{background-position:-112px -48px}.ui-icon-arrowthick-2-n-s{background-position:-128px -48px}.ui-icon-arrowthick-2-ne-sw{background-position:-144px -48px}.ui-icon-arrowthick-2-e-w{background-position:-160px -48px}.ui-icon-arrowthick-2-se-nw{background-position:-176px -48px}.ui-icon-arrowthickstop-1-n{background-position:-192px -48px}.ui-icon-arrowthickstop-1-e{background-position:-208px -48px}.ui-icon-arrowthickstop-1-s{background-position:-224px -48px}.ui-icon-arrowthickstop-1-w{background-position:-240px -48px}.ui-icon-arrowreturnthick-1-w{background-position:0 -64px}.ui-icon-arrowreturnthick-1-n{background-position:-16px -64px}.ui-icon-arrowreturnthick-1-e{background-position:-32px -64px}.ui-icon-arrowreturnthick-1-s{background-position:-48px -64px}.ui-icon-arrowreturn-1-w{background-position:-64px -64px}.ui-icon-arrowreturn-1-n{background-position:-80px -64px}.ui-icon-arrowreturn-1-e{background-position:-96px -64px}.ui-icon-arrowreturn-1-s{background-position:-112px -64px}.ui-icon-arrowrefresh-1-w{background-position:-128px -64px}.ui-icon-arrowrefresh-1-n{background-position:-144px -64px}.ui-icon-arrowrefresh-1-e{background-position:-160px -64px}.ui-icon-arrowrefresh-1-s{background-position:-176px -64px}.ui-icon-arrow-4{background-position:0 -80px}.ui-icon-arrow-4-diag{background-position:-16px -80px}.ui-icon-extlink{background-position:-32px -80px}.ui-icon-newwin{background-position:-48px -80px}.ui-icon-refresh{background-position:-64px -80px}.ui-icon-shuffle{background-position:-80px -80px}.ui-icon-transfer-e-w{background-position:-96px -80px}.ui-icon-transferthick-e-w{background-position:-112px -80px}.ui-icon-folder-collapsed{background-position:0 -96px}.ui-icon-folder-open{background-position:-16px -96px}.ui-icon-document{background-position:-32px -96px}.ui-icon-document-b{background-position:-48px -96px}.ui-icon-note{background-position:-64px -96px}.ui-icon-mail-closed{background-position:-80px -96px}.ui-icon-mail-open{background-position:-96px -96px}.ui-icon-suitcase{background-position:-112px -96px}.ui-icon-comment{background-position:-128px -96px}.ui-icon-person{background-position:-144px -96px}.ui-icon-print{background-position:-160px -96px}.ui-icon-trash{background-position:-176px -96px}.ui-icon-locked{background-position:-192px -96px}.ui-icon-unlocked{background-position:-208px -96px}.ui-icon-bookmark{background-position:-224px -96px}.ui-icon-tag{background-position:-240px -96px}.ui-icon-home{background-position:0 -112px}.ui-icon-flag{background-position:-16px -112px}.ui-icon-calendar{background-position:-32px -112px}.ui-icon-cart{background-position:-48px -112px}.ui-icon-pencil{background-position:-64px -112px}.ui-icon-clock{background-position:-80px -112px}.ui-icon-disk{background-position:-96px -112px}.ui-icon-calculator{background-position:-112px -112px}.ui-icon-zoomin{background-position:-128px -112px}.ui-icon-zoomout{background-position:-144px -112px}.ui-icon-search{background-position:-160px -112px}.ui-icon-wrench{background-position:-176px -112px}.ui-icon-gear{background-position:-192px -112px}.ui-icon-heart{background-position:-208px -112px}.ui-icon-star{background-position:-224px -112px}.ui-icon-link{background-position:-240px -112px}.ui-icon-cancel{background-position:0 -128px}.ui-icon-plus{background-position:-16px -128px}.ui-icon-plusthick{background-position:-32px -128px}.ui-icon-minus{background-position:-48px -128px}.ui-icon-minusthick{background-position:-64px -128px}.ui-icon-close{background-position:-80px -128px}.ui-icon-closethick{background-position:-96px -128px}.ui-icon-key{background-position:-112px -128px}.ui-icon-lightbulb{background-position:-128px -128px}.ui-icon-scissors{background-position:-144px -128px}.ui-icon-clipboard{background-position:-160px -128px}.ui-icon-copy{background-position:-176px -128px}.ui-icon-contact{background-position:-192px -128px}.ui-icon-image{background-position:-208px -128px}.ui-icon-video{background-position:-224px -128px}.ui-icon-script{background-position:-240px -128px}.ui-icon-alert{background-position:0 -144px}.ui-icon-info{background-position:-16px -144px}.ui-icon-notice{background-position:-32px -144px}.ui-icon-help{background-position:-48px -144px}.ui-icon-check{background-position:-64px -144px}.ui-icon-bullet{background-position:-80px -144px}.ui-icon-radio-on{background-position:-96px -144px}.ui-icon-radio-off{background-position:-112px -144px}.ui-icon-pin-w{background-position:-128px -144px}.ui-icon-pin-s{background-position:-144px -144px}.ui-icon-play{background-position:0 -160px}.ui-icon-pause{background-position:-16px -160px}.ui-icon-seek-next{background-position:-32px -160px}.ui-icon-seek-prev{background-position:-48px -160px}.ui-icon-seek-end{background-position:-64px -160px}.ui-icon-seek-first,.ui-icon-seek-start{background-position:-80px -160px}.ui-icon-stop{background-position:-96px -160px}.ui-icon-eject{background-position:-112px -160px}.ui-icon-volume-off{background-position:-128px -160px}.ui-icon-volume-on{background-position:-144px -160px}.ui-icon-power{background-position:0 -176px}.ui-icon-signal-diag{background-position:-16px -176px}.ui-icon-signal{background-position:-32px -176px}.ui-icon-battery-0{background-position:-48px -176px}.ui-icon-battery-1{background-position:-64px -176px}.ui-icon-battery-2{background-position:-80px -176px}.ui-icon-battery-3{background-position:-96px -176px}.ui-icon-circle-plus{background-position:0 -192px}.ui-icon-circle-minus{background-position:-16px -192px}.ui-icon-circle-close{background-position:-32px -192px}.ui-icon-circle-triangle-e{background-position:-48px -192px}.ui-icon-circle-triangle-s{background-position:-64px -192px}.ui-icon-circle-triangle-w{background-position:-80px -192px}.ui-icon-circle-triangle-n{background-position:-96px -192px}.ui-icon-circle-arrow-e{background-position:-112px -192px}.ui-icon-circle-arrow-s{background-position:-128px -192px}.ui-icon-circle-arrow-w{background-position:-144px -192px}.ui-icon-circle-arrow-n{background-position:-160px -192px}.ui-icon-circle-zoomin{background-position:-176px -192px}.ui-icon-circle-zoomout{background-position:-192px -192px}.ui-icon-circle-check{background-position:-208px -192px}.ui-icon-circlesmall-plus{background-position:0 -208px}.ui-icon-circlesmall-minus{background-position:-16px -208px}.ui-icon-circlesmall-close{background-position:-32px -208px}.ui-icon-squaresmall-plus{background-position:-48px -208px}.ui-icon-squaresmall-minus{background-position:-64px -208px}.ui-icon-squaresmall-close{background-position:-80px -208px}.ui-icon-grip-dotted-vertical{background-position:0 -224px}.ui-icon-grip-dotted-horizontal{background-position:-16px -224px}.ui-icon-grip-solid-vertical{background-position:-32px -224px}.ui-icon-grip-solid-horizontal{background-position:-48px -224px}.ui-icon-gripsmall-diagonal-se{background-position:-64px -224px}.ui-icon-grip-diagonal-se{background-position:-80px -224px}.ui-corner-all,.ui-corner-left,.ui-corner-tl,.ui-corner-top{border-top-left-radius:6px}.ui-corner-all,.ui-corner-right,.ui-corner-top,.ui-corner-tr{border-top-right-radius:6px}.ui-corner-all,.ui-corner-bl,.ui-corner-bottom,.ui-corner-left{border-bottom-left-radius:6px}.ui-corner-all,.ui-corner-bottom,.ui-corner-br,.ui-corner-right{border-bottom-right-radius:6px}.ui-widget-overlay{background:#eee url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoEAAAAAD5BTvyAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAAmJLR0T//xSrMc0AAAAHdElNRQfgBwgUCTBBMMWUAAAAhElEQVRIx+3VMQrAIAyF4Wcmz+Y5e4Yey7E4dhGxIqWQf+iQN4ePgJKXrkM9rWhJPrXJ+5yx3AAproMcJxnLSalWkpseheFaMZZbNvRzD5DgJpDhBkhxHeQ4yVhOMpbbfGwfl09juc2G3lNhLLeAxCEzlotO8XPRKdEp0Snf5qJTftgpN3jsoxwYW8JUAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDE2LTA3LTA4VDIwOjA5OjQ4KzAyOjAwMXJ2OgAAACV0RVh0ZGF0ZTptb2RpZnkAMjAxNi0wNy0wOFQyMDowOTo0OCswMjowMEAvzoYAAAAASUVORK5CYII=) 50% 50% repeat;opacity:.8;filter:Alpha(Opacity=80)}.ui-widget-shadow{box-shadow:-7px -7px 7px #000} \ No newline at end of file diff --git a/sapl/static/sapl/frontend/css/chunk-vendors.de0fe4be.css.gz b/sapl/static/sapl/frontend/css/chunk-vendors.de0fe4be.css.gz deleted file mode 100644 index f0874661b..000000000 Binary files a/sapl/static/sapl/frontend/css/chunk-vendors.de0fe4be.css.gz and /dev/null differ diff --git a/sapl/static/sapl/frontend/js/chunk-vendors.fd2b3187.js b/sapl/static/sapl/frontend/js/chunk-vendors.fd2b3187.js deleted file mode 100644 index 12c371f0f..000000000 --- a/sapl/static/sapl/frontend/js/chunk-vendors.fd2b3187.js +++ /dev/null @@ -1,3 +0,0 @@ -/*! For license information please see chunk-vendors.fd2b3187.js.LICENSE.txt */ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-vendors"],{"030f":function(t,e,n){(function(t){(function(){"use strict";var e=function(){},n=function(t){return function(){return t()}},r=function(t,e){return function(){for(var n=[],r=0;r-1},V=function(t,e){for(var n=0,r=t.length;n=0;n--){var r=t[n];e(r,n)}},G=function(t,e){for(var n=[],r=[],o=0,i=t.length;o=0&&e0?de(n.errors):fe(n.values,e)},pe=function(t,e){return t.length>0?Ot.svalue(Gt(e,Kt.apply(void 0,t))):Ot.svalue(e)},me=function(t){return r(Ot.serror,et)(t)},ge=function(t,e){var n=Ot.partition(t);return n.errors.length>0?me(n.errors):pe(n.values,e)},ve=function(t){var e=Ot.partition(t);return e.errors.length>0?me(e.errors):Ot.svalue(e.values)},be={consolidateObj:ge,consolidateArr:ve},ye=function(t){return O(t)&&Dt(t).length>100?" removed due to size":JSON.stringify(t,null,2)},we=function(t){var e=t.length>10?t.slice(0,10).concat([{path:[],getErrorInfo:function(){return"... (only showing first ten failures)"}}]):t;return $(e,(function(t){return"Failed path: ("+t.path.join(" > ")+")\n"+t.getErrorInfo()}))},_e=function(t,e){return Ot.serror([{path:t,getErrorInfo:e}])},xe=function(t,e,n){return _e(t,(function(){return'Could not find valid *strict* value for "'+e+'" in '+ye(n)}))},Ce=function(t,e){return _e(t,(function(){return'Choice schema did not contain choice key: "'+e+'"'}))},ke=function(t,e,n){return _e(t,(function(){return'The chosen schema: "'+n+'" did not exist in branches: '+ye(e)}))},Se=function(t,e){return _e(t,(function(){return"There are unsupported fields: ["+e.join(", ")+"] specified"}))},Te=function(t,e){return _e(t,(function(){return e}))},Oe=Wt.generate([{field:["key","okey","presence","prop"]},{state:["okey","instantiator"]}]),De=function(t,e,n){return Ht(e,n).fold((function(){return xe(t,n,e)}),Ot.svalue)},Ee=function(t,e,n){var r=Ht(t,e).fold((function(){return n(t)}),a);return Ot.svalue(r)},Ae=function(t,e){return Ot.svalue(Ht(t,e))},Me=function(t,e,n){var r=Ht(t,e).map((function(e){return!0===e?n(t):e}));return Ot.svalue(r)},Ne=function(t,e,n,r){return n.fold((function(n,o,a,u){var s=function(e){var i=u.extract(t.concat([n]),r,e);return Ot.map(i,(function(t){return ae(o,r(t))}))},c=function(e){return e.fold((function(){var t=ae(o,r(_.none()));return Ot.svalue(t)}),(function(e){var i=u.extract(t.concat([n]),r,e);return Ot.map(i,(function(t){return ae(o,r(_.some(t)))}))}))};return function(){return a.fold((function(){return Ot.bind(De(t,e,n),s)}),(function(t){return Ot.bind(Ee(e,n,t),s)}),(function(){return Ot.bind(Ae(e,n),c)}),(function(t){return Ot.bind(Me(e,n,t),c)}),(function(t){var r=t(e),o=Ot.map(Ee(e,n,i({})),(function(t){return Gt(r,t)}));return Ot.bind(o,s)}))}()}),(function(t,n){var o=n(e);return Ot.svalue(ae(t,r(o)))}))},Re=function(t,e,n,r){var o=$(n,(function(n){return Ne(t,e,n,r)}));return be.consolidateObj(o,{})},ze=function(t){var e=function(e,n,r){return t().extract(e,n,r)},n=function(){return t().toString()};return{extract:e,toString:n}},Pe=function(t){var e=function(e,n,r){return Ot.bindError(t(r,n),(function(t){return Te(e,t)}))},n=function(){return"val"};return{extract:e,toString:n}},Ie=function(t){return Dt(Pt(t,(function(t){return void 0!==t&&null!==t})))},Le=function(t){var e=Be(t),n=X(t,(function(t,e){return e.fold((function(e){return Gt(t,ce(e,!0))}),i(t))}),{}),r=function(t,r,o){var i=E(o)?[]:Ie(o),a=K(i,(function(t){return!jt(n,t)}));return 0===a.length?e.extract(t,r,o):Se(t,a)};return{extract:r,toString:e.toString}},Be=function(t){var e=function(e,n,r){return Re(e,r,t,n)},n=function(){var e=$(t,(function(t){return t.fold((function(t,e,n,r){return t+" -> "+r.toString()}),(function(t,e){return"state("+t+")"}))}));return"obj{\n"+e.join("\n")+"}"};return{extract:e,toString:n}},He=function(t){var e=function(e,n,r){var o=$(r,(function(r,o){return t.extract(e.concat(["["+o+"]"]),n,r)}));return be.consolidateArr(o)},n=function(){return"array("+t.toString()+")"};return{extract:e,toString:n}},Fe=function(t){var e=function(e,n,r){for(var o=[],i=0,a=t;i1)throw new Error("HTML must have a single root node");return Zn(r.childNodes[0])},Jn=function(t,e){var n=e||document,r=n.createElement(t);return Zn(r)},Qn=function(t,e){var n=e||document,r=n.createTextNode(t);return Zn(r)},Zn=function(t){if(null===t||void 0===t)throw new Error("Node cannot be null or undefined");return{dom:t}},tr=function(t,e,n){return _.from(t.dom.elementFromPoint(e,n)).map(Zn)},er={fromHtml:Xn,fromTag:Jn,fromText:Qn,fromDom:Zn,fromPoint:tr},nr=function(t,e,n,r){var o=t.isiOS()&&!0===/ipad/i.test(n),a=t.isiOS()&&!o,u=t.isiOS()||t.isAndroid(),s=u||r("(pointer:coarse)"),c=o||!a&&u&&r("(min-device-width:768px)"),l=a||u&&!c,f=e.isSafari()&&t.isiOS()&&!1===/safari/i.test(n),d=!l&&!c&&!f;return{isiPad:i(o),isiPhone:i(a),isTablet:i(c),isPhone:i(l),isTouch:i(s),isAndroid:t.isAndroid,isiOS:t.isiOS,isWebView:i(f),isDesktop:i(d)}},rr=function(t,e){for(var n=0;n=e.length&&t.substr(n,n+e.length)===e},pr=function(t,e){return-1!==t.indexOf(e)},mr=function(t,e){return hr(t,e,t.length-e.length)},gr=function(t){return function(e){return e.replace(t,"")}},vr=gr(/^\s+|\s+$/g),br=/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,yr=function(t){return function(e){return pr(e,t)}},wr=[{name:"Edge",versionRegexes:[/.*?edge\/ ?([0-9]+)\.([0-9]+)$/],search:function(t){return pr(t,"edge/")&&pr(t,"chrome")&&pr(t,"safari")&&pr(t,"applewebkit")}},{name:"Chrome",versionRegexes:[/.*?chrome\/([0-9]+)\.([0-9]+).*/,br],search:function(t){return pr(t,"chrome")&&!pr(t,"chromeframe")}},{name:"IE",versionRegexes:[/.*?msie\ ?([0-9]+)\.([0-9]+).*/,/.*?rv:([0-9]+)\.([0-9]+).*/],search:function(t){return pr(t,"msie")||pr(t,"trident")}},{name:"Opera",versionRegexes:[br,/.*?opera\/([0-9]+)\.([0-9]+).*/],search:yr("opera")},{name:"Firefox",versionRegexes:[/.*?firefox\/\ ?([0-9]+)\.([0-9]+).*/],search:yr("firefox")},{name:"Safari",versionRegexes:[br,/.*?cpu os ([0-9]+)_([0-9]+).*/],search:function(t){return(pr(t,"safari")||pr(t,"mobile/"))&&pr(t,"applewebkit")}}],_r=[{name:"Windows",search:yr("win"),versionRegexes:[/.*?windows\ nt\ ?([0-9]+)\.([0-9]+).*/]},{name:"iOS",search:function(t){return pr(t,"iphone")||pr(t,"ipad")},versionRegexes:[/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,/.*cpu os ([0-9]+)_([0-9]+).*/,/.*cpu iphone os ([0-9]+)_([0-9]+).*/]},{name:"Android",search:yr("android"),versionRegexes:[/.*?android\ ?([0-9]+)\.([0-9]+).*/]},{name:"OSX",search:yr("mac os x"),versionRegexes:[/.*?mac\ os\ x\ ?([0-9]+)_([0-9]+).*/]},{name:"Linux",search:yr("linux"),versionRegexes:[]},{name:"Solaris",search:yr("sunos"),versionRegexes:[]},{name:"FreeBSD",search:yr("freebsd"),versionRegexes:[]},{name:"ChromeOS",search:yr("cros"),versionRegexes:[/.*?chrome\/([0-9]+)\.([0-9]+).*/]}],xr={browsers:i(wr),oses:i(_r)},Cr="Edge",kr="Chrome",Sr="IE",Tr="Opera",Or="Firefox",Dr="Safari",Er=function(){return Ar({current:void 0,version:sr.unknown()})},Ar=function(t){var e=t.current,n=t.version,r=function(t){return function(){return e===t}};return{current:e,version:n,isEdge:r(Cr),isChrome:r(kr),isIE:r(Sr),isOpera:r(Tr),isFirefox:r(Or),isSafari:r(Dr)}},Mr={unknown:Er,nu:Ar,edge:i(Cr),chrome:i(kr),ie:i(Sr),opera:i(Tr),firefox:i(Or),safari:i(Dr)},Nr="Windows",Rr="iOS",zr="Android",Pr="Linux",Ir="OSX",Lr="Solaris",Br="FreeBSD",Hr="ChromeOS",Fr=function(){return jr({current:void 0,version:sr.unknown()})},jr=function(t){var e=t.current,n=t.version,r=function(t){return function(){return e===t}};return{current:e,version:n,isWindows:r(Nr),isiOS:r(Rr),isAndroid:r(zr),isOSX:r(Ir),isLinux:r(Pr),isSolaris:r(Lr),isFreeBSD:r(Br),isChromeOS:r(Hr)}},Vr={unknown:Fr,nu:jr,windows:i(Nr),ios:i(Rr),android:i(zr),linux:i(Pr),osx:i(Ir),solaris:i(Lr),freebsd:i(Br),chromeos:i(Hr)},Wr=function(t,e){var n=xr.browsers(),r=xr.oses(),o=dr.detectBrowser(n,t).fold(Mr.unknown,Mr.nu),i=dr.detectOs(r,t).fold(Vr.unknown,Vr.nu),a=nr(i,o,t,e);return{browser:o,os:i,deviceType:a}},Ur={detect:Wr},$r=function(t){return window.matchMedia(t).matches},Yr=Xt((function(){return Ur.detect(navigator.userAgent,$r)})),qr=function(){return Yr()},Gr=function(t,e,n){return 0!==(t.compareDocumentPosition(e)&n)},Kr=function(t,e){return Gr(t,e,Node.DOCUMENT_POSITION_CONTAINED_BY)},Xr=9,Jr=11,Qr=1,Zr=3,to=function(t,e){var n=t.dom;if(n.nodeType!==Qr)return!1;var r=n;if(void 0!==r.matches)return r.matches(e);if(void 0!==r.msMatchesSelector)return r.msMatchesSelector(e);if(void 0!==r.webkitMatchesSelector)return r.webkitMatchesSelector(e);if(void 0!==r.mozMatchesSelector)return r.mozMatchesSelector(e);throw new Error("Browser lacks native selectors")},eo=function(t){return t.nodeType!==Qr&&t.nodeType!==Xr&&t.nodeType!==Jr||0===t.childElementCount},no=function(t,e){var n=void 0===e?document:e.dom;return eo(n)?[]:$(n.querySelectorAll(t),er.fromDom)},ro=function(t,e){var n=void 0===e?document:e.dom;return eo(n)?_.none():_.from(n.querySelector(t)).map(er.fromDom)},oo=function(t,e){return t.dom===e.dom},io=function(t,e){var n=t.dom,r=e.dom;return n!==r&&n.contains(r)},ao=function(t,e){return Kr(t.dom,e.dom)},uo=function(t,e){return qr().browser.isIE()?ao(t,e):io(t,e)},so=function(t){return R(t)?t:l},co=function(t,e,n){var r=t.dom,o=so(n);while(r.parentNode){r=r.parentNode;var i=er.fromDom(r),a=e(i);if(a.isSome())return a;if(o(i))break}return _.none()},lo=function(t,e,n){var r=e(t),o=so(n);return r.orThunk((function(){return o(t)?_.none():co(t,e,o)}))},fo=function(t,e){return oo(t.element,e.event.target)},ho=function(t){if(!jt(t,"can")&&!jt(t,"abort")&&!jt(t,"run"))throw new Error("EventHandler defined by: "+JSON.stringify(t,null,2)+" does not have can, abort, or run!");return on("Extracting event.handler",Le([Bn("can",f),Bn("abort",l),Bn("run",e)]),t)},po=function(t,e){return function(){for(var n=[],r=0;r0&&ra(t,e),aa(t)},sa=function(t,e){var n=e||document,r=n.createElement("div");return r.innerHTML=t,Ki(er.fromDom(r))},ca=function(t){return t.dom.innerHTML},la=function(t,e){var n=ji(t),r=n.dom,o=er.fromDom(r.createDocumentFragment()),i=sa(e,r);oa(o,i),ia(t),ea(t,o)},fa=function(t){var e=er.fromTag("div"),n=er.fromDom(t.dom.cloneNode(!0));return ea(e,n),ca(e)},da=function(t,e,n){if(!(T(n)||E(n)||z(n)))throw new Error("Attribute value was not simple");t.setAttribute(e,n+"")},ha=function(t,e,n){da(t.dom,e,n)},pa=function(t,e){var n=t.dom;At(e,(function(t,e){da(n,e,t)}))},ma=function(t,e){var n=t.dom.getAttribute(e);return null===n?void 0:n},ga=function(t,e){return _.from(ma(t,e))},va=function(t,e){var n=t.dom;return!(!n||!n.hasAttribute)&&n.hasAttribute(e)},ba=function(t,e){t.dom.removeAttribute(e)},ya=function(t,e){return er.fromDom(t.dom.cloneNode(e))},wa=function(t){return ya(t,!1)},_a=function(t){var e=wa(t);return fa(e)},xa=function(t){return _a(t)},Ca=function(t,e,n){return oo(e,t.element)&&!oo(e,n)},ka=gi([bi(Ho(),(function(t,e){var n=e.event,r=n.originator,o=n.target;return!Ca(t,r,o)}))]),Sa=Object.freeze({__proto__:null,events:ka}),Ta=0,Oa=function(t){var e=new Date,n=e.getTime(),r=Math.floor(1e9*Math.random());return Ta++,t+"_"+r+Ta+String(n)},Da=i("alloy-id-"),Ea=i("data-alloy-id"),Aa=Da(),Ma=Ea(),Na=function(t,e){var n=Oa(Aa+t);return Ra(e,n),n},Ra=function(t,e){Object.defineProperty(t.dom,Ma,{value:e,writable:!0})},za=function(t){var e=Li(t)?t.dom[Ma]:null;return _.from(e)},Pa=function(t){return Oa(t)},Ia=a,La=function(t){var e=function(e){return function(){throw new Error("The component must be in a context to send: "+e+(t?"\n"+xa(t().element)+" is not in context.":""))}};return{debugInfo:i("fake"),triggerEvent:e("triggerEvent"),triggerFocus:e("triggerFocus"),triggerEscape:e("triggerEscape"),build:e("build"),addToWorld:e("addToWorld"),removeFromWorld:e("removeFromWorld"),addToGui:e("addToGui"),removeFromGui:e("removeFromGui"),getByUid:e("getByUid"),getByDom:e("getByDom"),broadcast:e("broadcast"),broadcastOn:e("broadcastOn"),broadcastEvent:e("broadcastEvent"),isConnected:l}},Ba=La(),Ha=function(t,e,n){var r=n.toString(),o=r.indexOf(")")+1,i=r.indexOf("("),a=r.substring(i+1,o-1).split(/,\s*/);return t.toFunctionAnnotation=function(){return{name:e,parameters:Fa(a.slice(0,1).concat(a.slice(3)))}},t},Fa=function(t){return $(t,(function(t){return mr(t,"/*")?t.substring(0,t.length-"/*".length):t}))},ja=function(t,e){var n=t.toString(),r=n.indexOf(")")+1,o=n.indexOf("("),i=n.substring(o+1,r-1).split(/,\s*/);return t.toFunctionAnnotation=function(){return{name:e,parameters:Fa(i)}},t},Va=function(t,e){var n=e.toString(),r=n.indexOf(")")+1,o=n.indexOf("("),i=n.substring(o+1,r-1).split(/,\s*/);return t.toFunctionAnnotation=function(){return{name:"OVERRIDE",parameters:Fa(i.slice(1))}},t},Wa=Oa("alloy-premade"),Ua=function(t){return ce(Wa,t)},$a=function(t){return Ht(t,Wa)},Ya=function(t){return Va((function(e){for(var n=[],r=1;r1?K(e[n],(function(e){return V(t,(function(t){return t.name===e}))})).join(" > "):t[0].name;return ce(n,ru(o,i))}))}));return he(n,{})},mu="alloy.base.behaviour",gu=function(t){var e;return nn("custom.definition",Be([Ye("dom","dom",te(),Be([yn("tag"),Bn("styles",{}),Bn("classes",[]),Bn("attributes",{}),An("value"),An("innerHtml")])),yn("components"),yn("uid"),Bn("events",{}),Bn("apis",{}),Ye("eventOrder","eventOrder",Zt((e={},e[Wo()]=["disabling",mu,"toggling","typeaheadevents"],e[Ho()]=[mu,"focusing","keying"],e[Ko()]=[mu,"disabling","toggling","representing"],e[No()]=[mu,"representing","streaming","invalidating"],e[ei()]=[mu,"representing","item-events","tooltipping"],e[Co()]=["focusing",mu,"item-type-events"],e[yo()]=["focusing",mu,"item-type-events"],e[Oo()]=["item-type-events","tooltipping"],e[Vo()]=["receiving","reflecting","tooltipping"],e)),ln()),An("domModification")]),t)},vu=function(t){return h(h({},t.dom),{uid:t.uid,domChildren:$(t.components,(function(t){return t.element}))})},bu=function(t){return t.domModification.fold((function(){return Za({})}),Za)},yu=function(t){return t.events},wu=function(t,e){var n=ma(t,e);return void 0===n||""===n?[]:n.split(" ")},_u=function(t,e,n){var r=wu(t,e),o=r.concat([n]);return ha(t,e,o.join(" ")),!0},xu=function(t,e,n){var r=K(wu(t,e),(function(t){return t!==n}));return r.length>0?ha(t,e,r.join(" ")):ba(t,e),!1},Cu=function(t){return void 0!==t.dom.classList},ku=function(t){return wu(t,"class")},Su=function(t,e){return _u(t,"class",e)},Tu=function(t,e){return xu(t,"class",e)},Ou=function(t,e){Cu(t)?t.dom.classList.add(e):Su(t,e)},Du=function(t){var e=Cu(t)?t.dom.classList:ku(t);0===e.length&&ba(t,"class")},Eu=function(t,e){if(Cu(t)){var n=t.dom.classList;n.remove(e)}else Tu(t,e);Du(t)},Au=function(t,e){return Cu(t)&&t.dom.classList.contains(e)},Mu=function(t,e){Y(e,(function(e){Ou(t,e)}))},Nu=function(t,e){Y(e,(function(e){Eu(t,e)}))},Ru=function(t){return void 0!==t.style&&R(t.style.getPropertyValue)},zu=function(t){return Fi(t)},Pu=R(Element.prototype.attachShadow)&&R(Node.prototype.getRootNode),Iu=i(Pu),Lu=Pu?function(t){return er.fromDom(t.dom.getRootNode())}:Vi,Bu=function(t){return zu(t)?t:er.fromDom(Vi(t).dom.body)},Hu=function(t){return Fu(t).isSome()},Fu=function(t){var e=Lu(t);return zu(e)?_.some(e):_.none()},ju=function(t){return er.fromDom(t.dom.host)},Vu=function(t){if(Iu()&&N(t.target)){var e=er.fromDom(t.target);if(Li(e)&&Wu(e)&&t.composed&&t.composedPath){var n=t.composedPath();if(n)return ct(n)}}return _.from(t.target)},Wu=function(t){return N(t.dom.shadowRoot)},Uu=function(t){var e=Bi(t)?t.dom.parentNode:t.dom;if(void 0===e||null===e||null===e.ownerDocument)return!1;var n=e.ownerDocument;return Fu(er.fromDom(e)).fold((function(){return n.body.contains(e)}),o(Uu,ju))},$u=function(){return Yu(er.fromDom(document))},Yu=function(t){var e=t.dom.body;if(null===e||void 0===e)throw new Error("Body is not available yet");return er.fromDom(e)},qu=function(t,e,n){if(!T(n))throw new Error("CSS value must be a string: "+n);Ru(t)&&t.style.setProperty(e,n)},Gu=function(t,e){Ru(t)&&t.style.removeProperty(e)},Ku=function(t,e,n){var r=t.dom;qu(r,e,n)},Xu=function(t,e){var n=t.dom;At(e,(function(t,e){qu(n,e,t)}))},Ju=function(t,e){var n=t.dom;At(e,(function(t,e){t.fold((function(){Gu(n,e)}),(function(t){qu(n,e,t)}))}))},Qu=function(t,e){var n=t.dom,r=window.getComputedStyle(n),o=r.getPropertyValue(e);return""!==o||Uu(t)?o:Zu(n,e)},Zu=function(t,e){return Ru(t)?t.style.getPropertyValue(e):""},ts=function(t,e){var n=t.dom,r=Zu(n,e);return _.from(r).filter((function(t){return t.length>0}))},es=function(t){var e={},n=t.dom;if(Ru(n))for(var r=0;r0?eu(n,i,e,r):o;return tu(r,a)},ds=function(t,e,n){var r={"alloy.base.behaviour":yu(t)};return lu(n,t.eventOrder,e,r).getOrDie()},hs=function(t){var e=function(){return b},n=Kn(Ba),r=rn(gu(t)),o=ls(t),i=Xa(o),a=Ja(o),u=fs(r,i,a),s=us(u),c=ds(r,i,a),l=Kn(r.components),f=function(t){n.set(t)},d=function(){n.set(La(e))},h=function(){var t=Ki(s),e=nt(t,(function(t){return n.get().getByDom(t).fold((function(){return[]}),(function(t){return[t]}))}));l.set(e)},p=function(e){var n=a,r=R(n[e.name()])?n[e.name()]:function(){throw new Error("Could not find "+e.name()+" in "+JSON.stringify(t,null,2))};return r()},m=function(t){return R(a[t.name()])},g=function(){return r.apis},v=function(t){return a[t]().map((function(t){return t.state.readState()})).getOr("not enabled")},b={getSystem:n.get,config:p,hasConfigured:m,spec:t,readState:v,getApis:g,connect:f,disconnect:d,element:s,syncComponents:h,components:l.get,events:c};return b},ps=function(t){var e=Ht(t,"components").getOr([]);return $(e,ys)},ms=function(t){var e=Ia(t),n=e.events,r=p(e,["events"]),o=ps(r),i=h(h({},r),{events:h(h({},Sa),n),components:o});return gt.value(hs(i))},gs=function(t){var e=er.fromText(t);return vs({element:e})},vs=function(t){var n=on("external.component",Le([yn("element"),An("uid")]),t),r=Kn(La()),o=function(t){r.set(t)},a=function(){r.set(La((function(){return u})))};n.uid.each((function(t){Ra(n.element,t)}));var u={getSystem:r.get,config:_.none,hasConfigured:l,connect:o,disconnect:a,getApis:function(){return{}},element:n.element,spec:t,readState:i("No state"),syncComponents:e,components:i([]),events:{}};return Ua(u)},bs=Pa,ys=function(t){return $a(t).fold((function(){var e=t.hasOwnProperty("uid")?t:h({uid:bs("")},t);return ms(e).getOrDie()}),(function(t){return t}))},ws=Ua;function _s(t,e){var n=function(e,n){if(!z(n)&&!n.match(/^[0-9]+$/))throw new Error(t+".set accepts only positive integer values. Value was "+n);var r=e.dom;Ru(r)&&(r.style[t]=n+"px")},r=function(n){var r=e(n);if(r<=0||null===r){var o=Qu(n,t);return parseFloat(o)||0}return r},o=r,i=function(t,e){return J(e,(function(e,n){var r=Qu(t,n),o=void 0===r?0:parseInt(r,10);return isNaN(o)?e:e+o}),0)},a=function(t,e,n){var r=i(t,n),o=e>r?e-r:0;return o};return{set:n,get:r,getOuter:o,aggregate:i,max:a}}var xs=_s("height",(function(t){var e=t.dom;return Uu(t)?e.getBoundingClientRect().height:e.offsetHeight})),Cs=function(t){return xs.get(t)},ks=function(t){return xs.getOuter(t)},Ss=function(t,e){var n=["margin-top","border-top-width","padding-top","padding-bottom","border-bottom-width","margin-bottom"],r=xs.max(t,e,n);Ku(t,"max-height",r+"px")},Ts=function(t,e){var n=function(n,r){return Ts(t+n,e+r)};return{left:t,top:e,translate:n}},Os=Ts,Ds=function(t){var e=t.getBoundingClientRect();return Os(e.left,e.top)},Es=function(t,e){return void 0!==t?t:void 0!==e?e:0},As=function(t){var e=t.dom.ownerDocument,n=e.body,r=e.defaultView,o=e.documentElement;if(n===t.dom)return Os(n.offsetLeft,n.offsetTop);var i=Es(null===r||void 0===r?void 0:r.pageYOffset,o.scrollTop),a=Es(null===r||void 0===r?void 0:r.pageXOffset,o.scrollLeft),u=Es(o.clientTop,n.clientTop),s=Es(o.clientLeft,n.clientLeft);return Ms(t).translate(a-s,i-u)},Ms=function(t){var e=t.dom,n=e.ownerDocument,r=n.body;return r===e?Os(r.offsetLeft,r.offsetTop):Uu(t)?Ds(e):Os(0,0)},Ns=_s("width",(function(t){return t.dom.offsetWidth})),Rs=function(t,e){return Ns.set(t,e)},zs=function(t){return Ns.get(t)},Ps=function(t){return Ns.getOuter(t)},Is=function(t,e){var n=["margin-left","border-left-width","padding-left","padding-right","border-right-width","margin-right"],r=Ns.max(t,e,n);Ku(t,"max-width",r+"px")},Ls=function(t,e,n,r,o,i,a){return{target:t,x:e,y:n,stop:r,prevent:o,kill:i,raw:a}},Bs=function(t){var e=er.fromDom(Vu(t).getOr(t.target)),n=function(){return t.stopPropagation()},o=function(){return t.preventDefault()},i=r(o,n);return Ls(e,t.clientX,t.clientY,n,o,i,t)},Hs=function(t,e){return function(n){t(n)&&e(Bs(n))}},Fs=function(t,e,n,r,o){var i=Hs(n,r);return t.dom.addEventListener(e,i,o),{unbind:u(Ws,t,e,i,o)}},js=function(t,e,n,r){return Fs(t,e,n,r,!1)},Vs=function(t,e,n,r){return Fs(t,e,n,r,!0)},Ws=function(t,e,n,r){t.dom.removeEventListener(e,n,r)},Us=function(t){var e=void 0!==t?t.dom:document,n=e.body.scrollLeft||e.documentElement.scrollLeft,r=e.body.scrollTop||e.documentElement.scrollTop;return Os(n,r)},$s=function(t,e,n){var r=void 0!==n?n.dom:document,o=r.defaultView;o&&o.scrollTo(t,e)},Ys=function(t){var e=void 0===t?window:t;return _.from(e["visualViewport"])},qs=function(t,e,n,r){return{x:t,y:e,width:n,height:r,right:t+n,bottom:e+r}},Gs=function(t){var e=void 0===t?window:t,n=e.document,r=Us(er.fromDom(n));return Ys(e).fold((function(){var t=e.document.documentElement,n=t.clientWidth,o=t.clientHeight;return qs(r.left,r.top,n,o)}),(function(t){return qs(Math.max(t.pageLeft,r.left),Math.max(t.pageTop,r.top),t.width,t.height)}))},Ks=function(t,e){var n=t.view(e);return n.fold(i([]),(function(e){var n=t.owner(e),r=Ks(t,n);return[e].concat(r)}))},Xs=function(t,e){var n=e.owner(t),r=Ks(e,n);return _.some(r)},Js=function(t){var e,n=t.dom===document?_.none():_.from(null===(e=t.dom.defaultView)||void 0===e?void 0:e.frameElement);return n.map(er.fromDom)},Qs=function(t){return ji(t)},Zs=Object.freeze({__proto__:null,view:Js,owner:Qs}),tc=function(t){var e=er.fromDom(document),n=Us(e),r=Xs(t,Zs);return r.fold(u(As,t),(function(e){var r=Ms(t),o=X(e,(function(t,e){var n=Ms(e);return{left:t.left+n.left,top:t.top+n.top}}),{left:0,top:0});return Os(o.left+r.left+n.left,o.top+r.top+n.top)}))},ec=function(t,e,n){return{point:t,width:e,height:n}},nc=function(t,e,n,r){return{x:t,y:e,width:n,height:r}},rc=function(t,e,n,r){return{x:t,y:e,width:n,height:r,right:t+n,bottom:e+r}},oc=function(t){var e=As(t),n=Ps(t),r=ks(t);return rc(e.left,e.top,n,r)},ic=function(t){var e=tc(t),n=Ps(t),r=ks(t);return rc(e.left,e.top,n,r)},ac=function(){return Gs(window)};function uc(t,e,n,r,o){return t(n,r)?_.some(n):R(o)&&o(n)?_.none():e(n,r,o)}var sc,cc=function(t,e,n){var r=t.dom,o=R(n)?n:l;while(r.parentNode){r=r.parentNode;var i=er.fromDom(r);if(e(i))return _.some(i);if(o(i))break}return _.none()},lc=function(t,e,n){var r=function(t,e){return e(t)};return uc(r,cc,t,e,n)},fc=function(t,e){var n=function(t){for(var r=0;r-1}));return e.bind((function(t){var e=ma(t,"id"),n=Lu(t);return pc(n,'[aria-owns="'+e+'"]')}))},vc=function(){var t=Oa("aria-owns"),e=function(e){ha(e,"aria-owns",t)},n=function(t){ba(t,"aria-owns")};return{id:t,link:e,unlink:n}},bc=function(t,e){return gc(e).exists((function(e){return yc(t,e)}))},yc=function(t,e){return dc(e,(function(e){return oo(e,t.element)}),l)||bc(t,e)},wc="unknown";(function(t){t[t["STOP"]=0]="STOP",t[t["NORMAL"]=1]="NORMAL",t[t["LOGGING"]=2]="LOGGING"})(sc||(sc={}));var _c,xc=Kn({}),Cc=function(t,e){var n=[];(new Date).getTime();return{logEventCut:function(t,e,r){n.push({outcome:"cut",target:e,purpose:r})},logEventStopped:function(t,e,r){n.push({outcome:"stopped",target:e,purpose:r})},logNoParent:function(t,e,r){n.push({outcome:"no-parent",target:e,purpose:r})},logEventNoHandlers:function(t,e){n.push({outcome:"no-handlers-left",target:e})},logEventResponse:function(t,e,r){n.push({outcome:"response",purpose:r,target:e})},write:function(){(new Date).getTime();j(["mousemove","mouseover","mouseout",Ko()],t)}}},kc=function(t,e,n){var r=Ht(xc.get(),t).orThunk((function(){var e=Dt(xc.get());return dt(e,(function(e){return t.indexOf(e)>-1?_.some(xc.get()[e]):_.none()}))})).getOr(sc.NORMAL);switch(r){case sc.NORMAL:return n(Ec());case sc.LOGGING:var o=Cc(t,e),i=n(o);return o.write(),i;case sc.STOP:return!0}},Sc=["alloy/data/Fields","alloy/debugging/Debugging"],Tc=function(){var t=new Error;if(void 0!==t.stack){var e=t.stack.split("\n");return Z(e,(function(t){return t.indexOf("alloy")>0&&!V(Sc,(function(e){return t.indexOf(e)>-1}))})).getOr(wc)}return wc},Oc={logEventCut:e,logEventStopped:e,logNoParent:e,logEventNoHandlers:e,logEventResponse:e,write:e},Dc=function(t,e,n){return kc(t,e,n)},Ec=i(Oc),Ac=i([yn("menu"),yn("selectedMenu")]),Mc=i([yn("item"),yn("selectedItem")]),Nc=(i(Be(Mc().concat(Ac()))),i(Be(Mc()))),Rc=On("initSize",[yn("numColumns"),yn("numRows")]),zc=function(){return wn("markers",Nc())},Pc=function(){return On("markers",[yn("backgroundMenu")].concat(Ac()).concat(Mc()))},Ic=function(t){return On("markers",$(t,yn))},Lc=function(t,e,n){Tc();return Ye(e,e,n,Ze((function(t){return gt.value((function(){for(var e=[],n=0;n=r?_.some(e):_.none():e<=r?_.some(e):_.none()})).map((function(t){return t+o})).getOr(r)},o=r("left",t.x),i=r("top",t.y),u=r("right",t.right),s=r("bottom",t.bottom);return rc(o,i,u-o,s-i)},ul=function(t){return t.x},sl=function(t,e){return t.x+t.width/2-e.width/2},cl=function(t,e){return t.x+t.width-e.width},ll=function(t,e){return t.y-e.height},fl=function(t){return t.y+t.height},dl=function(t,e){return t.y+t.height/2-e.height/2},hl=function(t){return t.x+t.width},pl=function(t,e){return t.x-e.width},ml=function(t,e,n){return $c(ul(t),fl(t),n.southeast(),Xc(),il(t,{left:1,top:3}),"layout-se")},gl=function(t,e,n){return $c(cl(t,e),fl(t),n.southwest(),Jc(),il(t,{right:0,top:3}),"layout-sw")},vl=function(t,e,n){return $c(ul(t),ll(t,e),n.northeast(),Qc(),il(t,{left:1,bottom:2}),"layout-ne")},bl=function(t,e,n){return $c(cl(t,e),ll(t,e),n.northwest(),Zc(),il(t,{right:0,bottom:2}),"layout-nw")},yl=function(t,e,n){return $c(sl(t,e),ll(t,e),n.north(),el(),il(t,{bottom:2}),"layout-n")},wl=function(t,e,n){return $c(sl(t,e),fl(t),n.south(),tl(),il(t,{top:3}),"layout-s")},_l=function(t,e,n){return $c(hl(t),dl(t,e),n.east(),nl(),il(t,{left:0}),"layout-e")},xl=function(t,e,n){return $c(pl(t,e),dl(t,e),n.west(),rl(),il(t,{right:1}),"layout-w")},Cl=function(){return[ml,gl,vl,bl,wl,yl,_l,xl]},kl=function(){return[gl,ml,bl,vl,wl,yl,_l,xl]},Sl=function(){return[vl,bl,ml,gl,yl,wl]},Tl=function(){return[bl,vl,gl,ml,yl,wl]},Ol=function(){return[ml,gl,vl,bl,wl,yl]},Dl=function(){return[gl,ml,bl,vl,wl,yl]},El=function(t,e){return e.universal?t:K(t,(function(t){return j(e.channels,t)}))},Al=function(t){return gi([wi(Vo(),(function(e,n){var r=t.channels,o=Dt(r),i=n,a=El(o,i);Y(a,(function(t){var n=r[t],o=n.schema,a=on("channel["+t+"] data\nReceiver: "+xa(e.element),o,i.data);n.onReceive(e,a)}))}))])},Ml=Object.freeze({__proto__:null,events:Al}),Nl=[wn("channels",tn(gt.value,Le([Fc("onReceive"),Bn("schema",ln())])))],Rl=function(t,e,n){return Ri((function(r){n(r,t,e)}))},zl=function(t,e,n){return Ni((function(r,o){n(r,t,e)}))},Pl=function(t,e,n,r,o,i){var a=Le(t),u=In(e,[Ln("config",t)]);return Hl(a,u,e,n,r,o,i)},Il=function(t,e,n,r,o,i){var a=t,u=In(e,[Mn("config",t)]);return Hl(a,u,e,n,r,o,i)},Ll=function(t,e,n){var r=function(r){for(var o=[],a=1;ar?n:o=i,l=e>=a,f=c&&l,d=t+n<=i+u,h=e+r<=a+s,p=d&&h,m=Math.abs(Math.min(n,c?i+u-t:i-(t+n))),g=Math.abs(Math.min(r,l?a+s-e:a-(e+r))),v=Math.max(o.x,o.right-n),b=Math.max(o.y,o.bottom-r),y=vf(t,o.x,v),w=vf(e,o.y,b);return{originInBounds:f,sizeInBounds:p,limitX:y,limitY:w,deltaW:m,deltaH:g}},wf=function(t,e,n,r){var o=t.x,a=t.y,u=t.bubble.offset,s=u.left,c=u.top,l=al(r,t.boundsRestriction,u),f=l.y,d=l.bottom,h=l.x,p=l.right,m=o+s,g=a+c,v=yf(m,g,e,n,l),b=v.originInBounds,y=v.sizeInBounds,w=v.limitX,_=v.limitY,x=v.deltaW,C=v.deltaH,k=i(_+C-f),S=i(d-_),T=Gc(t.direction,S,S,k),O=i(w+x-h),D=i(p-w),E=Kc(t.direction,D,D,O),A={x:w,y:_,width:x,height:C,maxHeight:T,maxWidth:E,direction:t.direction,classes:{on:t.bubble.classesOn,off:t.bubble.classesOff},label:t.label,candidateYforTest:g};return b&&y?bf.fit(A):bf.nofit(A,x,C)},_f=function(t,e,n,r,o){var i=n.width,s=n.height,c=function(t,a,u,c){var l=t(e,n,r),f=wf(l,i,s,o);return f.fold(bf.fit,(function(t,e,n){var r=n>c||e>u;return r?bf.nofit(t,e,n):bf.nofit(a,u,c)}))},l=J(t,(function(t,e){var n=u(c,e);return t.fold(bf.fit,n)}),bf.nofit({x:e.x,y:e.y,width:n.width,height:n.height,maxHeight:n.height,maxWidth:n.width,direction:Xc(),classes:{on:[],off:[]},label:"none",candidateYforTest:e.y},-1,-1));return l.fold(a,a)},xf=function(t){return{width:Ps(t),height:ks(t)}},Cf=function(t,e,n,r){rs(e,"max-height"),rs(e,"max-width");var o=xf(e);return _f(r.preference,t,o,n,r.bounds)},kf=function(t,e){var n=e.classes;Nu(t,n.off),Mu(t,n.on)},Sf=function(t,e,n){var r=n.maxHeightFunction;r(t,e.maxHeight)},Tf=function(t,e,n){var r=n.maxWidthFunction;r(t,e.maxWidth)},Of=function(t,e,n){rf(t,uf(n.origin,e))},Df=function(t,e){Ss(t,Math.floor(e))},Ef=i((function(t,e){Df(t,e),Xu(t,{"overflow-x":"hidden","overflow-y":"auto"})})),Af=i((function(t,e){Df(t,e)})),Mf=function(t,e,n){return void 0===t[e]?n:t[e]},Nf=function(t,n,r,o,i,a){var u=Mf(a,"maxHeightFunction",Ef()),s=Mf(a,"maxWidthFunction",e),c=t.anchorBox,l=t.origin,f={bounds:cf(l,i),origin:l,preference:o,maxHeightFunction:u,maxWidthFunction:s};Rf(c,n,r,f)},Rf=function(t,e,n,r){var o=Cf(t,e,n,r);Of(e,o,r),kf(e,o),Sf(e,o,r),Tf(e,o,r)},zf=["valignCentre","alignLeft","alignRight","alignCentre","top","bottom","left","right"],Pf=function(t,e,n){var r=function(t){return Ht(n,t).getOr([])},o=function(t,e,n){var o=it(zf,n);return{offset:Os(t,e),classesOn:nt(n,r),classesOff:nt(o,r)}};return{southeast:function(){return o(-t,e,["top","alignLeft"])},southwest:function(){return o(t,e,["top","alignRight"])},south:function(){return o(-t/2,e,["top","alignCentre"])},northeast:function(){return o(-t,-e,["bottom","alignLeft"])},northwest:function(){return o(t,-e,["bottom","alignRight"])},north:function(){return o(-t/2,-e,["bottom","alignCentre"])},east:function(){return o(t,-e/2,["valignCentre","left"])},west:function(){return o(-t,-e/2,["valignCentre","right"])},innerNorthwest:function(){return o(-t,e,["top","alignRight"])},innerNortheast:function(){return o(t,e,["top","alignLeft"])},innerNorth:function(){return o(-t/2,e,["top","alignCentre"])},innerSouthwest:function(){return o(-t,-e,["bottom","alignRight"])},innerSoutheast:function(){return o(t,-e,["bottom","alignLeft"])},innerSouth:function(){return o(-t/2,-e,["bottom","alignCentre"])},innerWest:function(){return o(t,-e/2,["valignCentre","right"])},innerEast:function(){return o(-t,-e/2,["valignCentre","left"])}}},If=function(){return Pf(0,0,{})},Lf=function(t){return t},Bf=function(t,e){return function(n){return"rtl"===Hf(n)?e:t}},Hf=function(t){return"rtl"===Qu(t,"direction")?"rtl":"ltr"};(function(t){t["TopToBottom"]="toptobottom",t["BottomToTop"]="bottomtotop"})(_c||(_c={}));var Ff="data-alloy-vertical-dir",jf=function(t){return dc(t,(function(t){return Li(t)&&ma(t,"data-alloy-vertical-dir")===_c.BottomToTop}))},Vf=function(){return In("layouts",[yn("onLtr"),yn("onRtl"),An("onBottomLtr"),An("onBottomRtl")])},Wf=function(t,e,n,r,o,i,a){var u=a.map(jf).getOr(!1),s=e.layouts.map((function(e){return e.onLtr(t)})),c=e.layouts.map((function(e){return e.onRtl(t)})),l=u?e.layouts.bind((function(e){return e.onBottomLtr.map((function(e){return e(t)}))})).or(s).getOr(o):s.getOr(n),f=u?e.layouts.bind((function(e){return e.onBottomRtl.map((function(e){return e(t)}))})).or(c).getOr(i):c.getOr(r),d=Bf(l,f);return d(t)},Uf=function(t,e,n){var r=e.hotspot,o=sf(n,r.element),i=Wf(t.element,e,Ol(),Dl(),Sl(),Tl(),_.some(e.hotspot.element));return _.some(Lf({anchorBox:o,bubble:e.bubble.getOr(If()),overrides:e.overrides,layouts:i,placer:_.none()}))},$f=[yn("hotspot"),An("bubble"),Bn("overrides",{}),Vf(),Vc("placement",Uf)],Yf=function(t,e,n){var r=lf(n,e.x,e.y),o=rc(r.left,r.top,e.width,e.height),i=Wf(t.element,e,Cl(),kl(),Cl(),kl(),_.none());return _.some(Lf({anchorBox:o,bubble:e.bubble,overrides:e.overrides,layouts:i,placer:_.none()}))},qf=[yn("x"),yn("y"),Bn("height",0),Bn("width",0),Bn("bubble",If()),Bn("overrides",{}),Vf(),Vc("placement",Yf)],Gf="\ufeff",Kf=" ",Xf=function(t,e,n,r){return{start:t,soffset:e,finish:n,foffset:r}},Jf={create:Xf},Qf=Wt.generate([{before:["element"]},{on:["element","offset"]},{after:["element"]}]),Zf=function(t,e,n,r){return t.fold(e,n,r)},td=function(t){return t.fold(a,a,a)},ed=Qf.before,nd=Qf.on,rd=Qf.after,od={before:ed,on:nd,after:rd,cata:Zf,getStart:td},id=Wt.generate([{domRange:["rng"]},{relative:["startSitu","finishSitu"]},{exact:["start","soffset","finish","foffset"]}]),ad=function(t){return id.exact(t.start,t.soffset,t.finish,t.foffset)},ud=function(t){return t.match({domRange:function(t){return er.fromDom(t.startContainer)},relative:function(t,e){return od.getStart(t)},exact:function(t,e,n,r){return t}})},sd=id.domRange,cd=id.relative,ld=id.exact,fd=function(t){var e=ud(t);return Ui(e)},dd=Jf.create,hd={domRange:sd,relative:cd,exact:ld,exactFromRange:ad,getWin:fd,range:dd},pd=function(t,e){e.fold((function(e){t.setStartBefore(e.dom)}),(function(e,n){t.setStart(e.dom,n)}),(function(e){t.setStartAfter(e.dom)}))},md=function(t,e){e.fold((function(e){t.setEndBefore(e.dom)}),(function(e,n){t.setEnd(e.dom,n)}),(function(e){t.setEndAfter(e.dom)}))},gd=function(t,e,n){var r=t.document.createRange();return pd(r,e),md(r,n),r},vd=function(t,e,n,r,o){var i=t.document.createRange();return i.setStart(e.dom,n),i.setEnd(r.dom,o),i},bd=function(t){return{left:t.left,top:t.top,right:t.right,bottom:t.bottom,width:t.width,height:t.height}},yd=function(t){var e=t.getClientRects(),n=e.length>0?e[0]:t.getBoundingClientRect();return n.width>0||n.height>0?_.some(n).map(bd):_.none()},wd=Wt.generate([{ltr:["start","soffset","finish","foffset"]},{rtl:["start","soffset","finish","foffset"]}]),_d=function(t,e,n){return e(er.fromDom(n.startContainer),n.startOffset,er.fromDom(n.endContainer),n.endOffset)},xd=function(t,e){return e.match({domRange:function(t){return{ltr:i(t),rtl:_.none}},relative:function(e,n){return{ltr:Xt((function(){return gd(t,e,n)})),rtl:Xt((function(){return _.some(gd(t,n,e))}))}},exact:function(e,n,r,o){return{ltr:Xt((function(){return vd(t,e,n,r,o)})),rtl:Xt((function(){return _.some(vd(t,r,o,e,n))}))}}})},Cd=function(t,e){var n=e.ltr();if(n.collapsed){var r=e.rtl().filter((function(t){return!1===t.collapsed}));return r.map((function(t){return wd.rtl(er.fromDom(t.endContainer),t.endOffset,er.fromDom(t.startContainer),t.startOffset)})).getOrThunk((function(){return _d(t,wd.ltr,n)}))}return _d(t,wd.ltr,n)},kd=function(t,e){var n=xd(t,e);return Cd(t,n)},Sd=function(t,e){var n=kd(t,e);return n.match({ltr:function(e,n,r,o){var i=t.document.createRange();return i.setStart(e.dom,n),i.setEnd(r.dom,o),i},rtl:function(e,n,r,o){var i=t.document.createRange();return i.setStart(r.dom,o),i.setEnd(e.dom,n),i}})};wd.ltr,wd.rtl;function Td(t,e){var n=function(n){if(!t(n))throw new Error("Can only get "+e+" value of a "+e+" node");return r(n).getOr("")},r=function(e){return t(e)?_.from(e.dom.nodeValue):_.none()},o=function(n,r){if(!t(n))throw new Error("Can only set raw "+e+" value of a "+e+" node");n.dom.nodeValue=r};return{get:n,getOption:r,set:o}}var Od=Td(Bi,"text"),Dd=function(t){return Od.get(t)},Ed=function(t){return Od.getOption(t)},Ad=function(t){return"img"===zi(t)?1:Ed(t).fold((function(){return Ki(t).length}),(function(t){return t.length}))},Md=function(t){return Ed(t).filter((function(t){return 0!==t.trim().length||t.indexOf(Kf)>-1})).isSome()},Nd=["img","br"],Rd=function(t){var e=Md(t);return e||j(Nd,zi(t))},zd=function(t){return Pd(t,Rd)},Pd=function(t,e){var n=function(t){for(var r=Ki(t),o=r.length-1;o>=0;o--){var i=r[o];if(e(i))return _.some(i);var a=n(i);if(a.isSome())return a}return _.none()};return n(t)},Id=function(t,e){return no(e,t)},Ld=function(t,e,n,r){var o=ji(t),i=o.dom.createRange();return i.setStart(t.dom,e),i.setEnd(n.dom,r),i},Bd=function(t,e,n,r){var o=Ld(t,e,n,r),i=oo(t,n)&&e===r;return o.collapsed&&!i},Hd=function(t){return _.from(t.getSelection())},Fd=function(t){if(t.rangeCount>0){var e=t.getRangeAt(0),n=t.getRangeAt(t.rangeCount-1);return _.some(Jf.create(er.fromDom(e.startContainer),e.startOffset,er.fromDom(n.endContainer),n.endOffset))}return _.none()},jd=function(t){if(null===t.anchorNode||null===t.focusNode)return Fd(t);var e=er.fromDom(t.anchorNode),n=er.fromDom(t.focusNode);return Bd(e,t.anchorOffset,n,t.focusOffset)?_.some(Jf.create(e,t.anchorOffset,n,t.focusOffset)):Fd(t)},Vd=function(t){return Hd(t).filter((function(t){return t.rangeCount>0})).bind(jd)},Wd=function(t,e){var n=Sd(t,e);return yd(n)},Ud=function(t,e){return{element:t,offset:e}},$d=function(t,e){var n=Ki(t);if(0===n.length)return Ud(t,e);if(e"})),ln()),gm=Gn("schema",(function(){return[An("preprocess")]})),vm=Bn("defaults",i({})),bm=Bn("overrides",i({})),ym=Be([dm,hm,pm,mm,vm,bm]),wm=Be([dm,hm,pm,vm,bm]),_m=Be([dm,hm,pm,mm,vm,bm]),xm=Be([dm,gm,pm,yn("unit"),mm,vm,bm]),Cm=function(t){return t.fold(_.some,_.none,_.some,_.some)},km=function(t){var e=function(t){return t.name};return t.fold(e,e,e,e)},Sm=function(t){return t.fold(a,a,a,a)},Tm=function(t,e){return function(n){var r=on("Converting part type",e,n);return t(r)}},Om=Tm(fm.required,ym),Dm=Tm(fm.external,wm),Em=Tm(fm.optional,_m),Am=Tm(fm.group,xm),Mm=i("entirety"),Nm=Object.freeze({__proto__:null,required:Om,external:Dm,optional:Em,group:Am,asNamedPart:Cm,name:km,asCommon:Sm,original:Mm}),Rm=function(t,e,n,r){return Gt(e.defaults(t,n,r),n,{uid:t.partUids[e.name]},e.overrides(t,n,r))},zm=function(t,e,n){var r={},o={};return Y(n,(function(t){t.fold((function(t){r[t.pname]=sm(!0,(function(e,n,r){return t.factory.sketch(Rm(e,t,n,r))}))}),(function(t){var n=e.parts[t.name];o[t.name]=i(t.factory.sketch(Rm(e,t,n[Mm()]),n))}),(function(t){r[t.pname]=sm(!1,(function(e,n,r){return t.factory.sketch(Rm(e,t,n,r))}))}),(function(t){r[t.pname]=cm(!0,(function(e,n,r){var o=e[t.name];return $(o,(function(n){return t.factory.sketch(Gt(t.defaults(e,n,r),n,t.overrides(e,n)))}))}))}))})),{internals:i(r),externals:i(o)}},Pm=function(t,e){var n={};return Y(e,(function(e){Cm(e).each((function(e){var r=Im(t,e.pname);n[e.name]=function(n){var o=on("Part: "+e.name+" in "+t,Be(e.schema),n);return h(h({},r),{config:n,validated:o})}}))})),n},Im=function(t,e){return{uiType:lm(),owner:t,name:e}},Lm=function(t,e,n){return{uiType:lm(),owner:t,name:e,config:n,validated:{}}},Bm=function(t){return nt(t,(function(t){return t.fold(_.none,_.some,_.none,_.none).map((function(t){return On(t.name,t.schema.concat([Wc(Mm())]))})).toArray()}))},Hm=function(t){return $(t,km)},Fm=function(t,e,n){return zm(t,e,n)},jm=function(t,e,n){return um(_.some(t),e,e.components,n)},Vm=function(t,e,n){var r=e.partUids[n];return t.getSystem().getByUid(r).toOptional()},Wm=function(t,e,n){return Vm(t,e,n).getOrDie("Could not find part: "+n)},Um=function(t,e,n){var r={},o=e.partUids,a=t.getSystem();return Y(n,(function(t){r[t]=i(a.getByUid(o[t]))})),r},$m=function(t,e){var n=t.getSystem();return Mt(e.partUids,(function(t,e){return i(n.getByUid(t))}))},Ym=function(t){return Dt(t.partUids)},qm=function(t,e,n){var r={},o=e.partUids,a=t.getSystem();return Y(n,(function(t){r[t]=i(a.getByUid(o[t]).getOrDie())})),r},Gm=function(t,e){var n=Hm(e);return le($(n,(function(e){return{key:e,value:t+"-"+e}})))},Km=function(t){return Ye("partUids","partUids",re((function(e){return Gm(e.uid,t)})),ln())},Xm=Object.freeze({__proto__:null,generate:Pm,generateOne:Lm,schemas:Bm,names:Hm,substitutes:Fm,components:jm,defaultUids:Gm,defaultUidsSchema:Km,getAllParts:$m,getAllPartNames:Ym,getPart:Vm,getPartOrDie:Wm,getParts:Um,getPartsOrDie:qm}),Jm=function(t,e){var n=t.length>0?[On("parts",t)]:[];return n.concat([yn("uid"),Bn("dom",{}),Bn("components",[]),Wc("originalSpec"),Bn("debug.sketcher",{})]).concat(e)},Qm=function(t,e,n,r,o){var i=Jm(r,o);return on(t+" [SpecSchema]",Le(i.concat(e)),n)},Zm=function(t,e,n,r){var o=ng(r),i=Qm(t,e,o,[],[]);return n(i,o)},tg=function(t,e,n,r,o){var i=ng(o),a=Bm(n),u=Km(n),s=Qm(t,e,i,a,[u]),c=Fm(t,s,n),l=jm(t,s,c.internals());return r(s,l,i,c.externals())},eg=function(t){return Ft(t,"uid")},ng=function(t){return eg(t)?t:h(h({},t),{uid:Pa("uid")})};function rg(t){return void 0!==t.uid}var og,ig=Le([yn("name"),yn("factory"),yn("configFields"),Bn("apis",{}),Bn("extraApis",{})]),ag=Le([yn("name"),yn("factory"),yn("configFields"),yn("partFields"),Bn("apis",{}),Bn("extraApis",{})]),ug=function(t){var e=on("Sketcher for "+t.name,ig,t),n=function(t){return Zm(e.name,e.configFields,e.factory,t)},r=Mt(e.apis,Ya),o=Mt(e.extraApis,(function(t,e){return ja(t,e)}));return h(h({name:e.name,configFields:e.configFields,sketch:n},r),o)},sg=function(t){var e=on("Sketcher for "+t.name,ag,t),n=function(t){return tg(e.name,e.configFields,e.partFields,e.factory,t)},r=Pm(e.name,e.partFields),o=Mt(e.apis,Ya),i=Mt(e.extraApis,(function(t,e){return ja(t,e)}));return h(h({name:e.name,partFields:e.partFields,configFields:e.configFields,sketch:n,parts:r},o),i)},cg=function(t){for(var e=[],n=function(t){e.push(t)},r=0;r0?_.some(r[r.length-1]):_.none();return o.bind((function(e){return t.getSystem().getByDom(e).toOptional()}))},Rg=function(t,e,n,r){var o=Id(t.element,"."+e.itemClass),i=tt(o,(function(t){return Au(t,e.highlightClass)}));return i.bind((function(e){var n=gf(e,r,0,o.length-1);return t.getSystem().getByDom(o[n]).toOptional()}))},zg=function(t,e,n){return Rg(t,e,n,-1)},Pg=function(t,e,n){return Rg(t,e,n,1)},Ig=function(t,e,n){var r=Id(t.element,"."+e.itemClass);return cg($(r,(function(e){return t.getSystem().getByDom(e).toOptional()})))},Lg=Object.freeze({__proto__:null,dehighlightAll:_g,dehighlight:xg,highlight:Cg,highlightFirst:kg,highlightLast:Sg,highlightAt:Tg,highlightBy:Og,isHighlighted:Dg,getHighlighted:Eg,getFirst:Mg,getLast:Ng,getPrevious:zg,getNext:Pg,getCandidates:Ig}),Bg=[yn("highlightClass"),yn("itemClass"),Bc("onHighlight"),Bc("onDehighlight")],Hg=Vl({fields:Bg,name:"highlighting",apis:Lg}),Fg=[8],jg=[9],Vg=[13],Wg=[27],Ug=[32],$g=[37],Yg=[38],qg=[39],Gg=[40],Kg=function(t,e,n){var r=ot(t.slice(0,e)),o=ot(t.slice(e+1));return Z(r.concat(o),n)},Xg=function(t,e,n){var r=ot(t.slice(0,e));return Z(r,n)},Jg=function(t,e,n){var r=t.slice(0,e),o=t.slice(e+1);return Z(o.concat(r),n)},Qg=function(t,e,n){var r=t.slice(e+1);return Z(r,n)},Zg=function(t){return function(e){var n=e.raw;return j(t,n.which)}},tv=function(t){return function(e){return rt(t,(function(t){return t(e)}))}},ev=function(t){var e=t.raw;return!0===e.shiftKey},nv=function(t){var e=t.raw;return!0===e.ctrlKey},rv=s(ev),ov=function(t,e){return{matches:t,classification:e}},iv=function(t,e){var n=Z(t,(function(t){return t.matches(e)}));return n.map((function(t){return t.classification}))},av=function(t,e,n){var r=e.exists((function(t){return n.exists((function(e){return oo(e,t)}))}));r||fi(t,oi(),{prevFocus:e,newFocus:n})},uv=function(){var t=function(t){return tf(t.element)},e=function(e,n){var r=t(e);e.getSystem().triggerFocus(n,e.element);var o=t(e);av(e,r,o)};return{get:t,set:e}},sv=function(){var t=function(t){return Hg.getHighlighted(t).map((function(t){return t.element}))},n=function(n,r){var o=t(n);n.getSystem().getByDom(r).fold(e,(function(t){Hg.highlight(n,t)}));var i=t(n);av(n,o,i)};return{get:t,set:n}};(function(t){t["OnFocusMode"]="onFocus",t["OnEnterOrSpaceMode"]="onEnterOrSpace",t["OnApiMode"]="onApi"})(og||(og={}));var cv=function(t,e,n,r,o){var i=function(){return t.concat([Bn("focusManager",uv()),Hn("focusInside","onFocus",Ze((function(t){return j(["onFocus","onEnterOrSpace","onApi"],t)?gt.value(t):gt.error("Invalid value for focusInside")}))),Vc("handler",s),Vc("state",e),Vc("sendFocusIn",o)])},a=function(t,e,n,r,o){var i=n(t,e,r,o);return iv(i,e.event).bind((function(n){return n(t,e,r,o)}))},u=function(t,e){var i=t.focusInside!==og.OnFocusMode?_.none():o(t).map((function(n){return wi(Ho(),(function(r,o){n(r,t,e),o.stop()}))})),u=function(n,r){var i=Zg(Ug.concat(Vg))(r.event);t.focusInside===og.OnEnterOrSpaceMode&&i&&fo(n,r)&&o(t).each((function(o){o(n,t,e),r.stop()}))},s=[wi(Ao(),(function(r,o){a(r,o,n,t,e).fold((function(){u(r,o)}),(function(t){o.stop()}))})),wi(Mo(),(function(n,o){a(n,o,r,t,e).each((function(t){o.stop()}))}))];return gi(i.toArray().concat(s))},s={schema:i,processKey:a,toEvents:u};return s},lv=function(t){var e=[An("onEscape"),An("onEnter"),Bn("selector",'[data-alloy-tabstop="true"]:not(:disabled)'),Bn("firstTabstop",0),Bn("useTabstopAt",f),An("visibilitySelector")].concat([t]),n=function(t,e){var n=t.visibilitySelector.bind((function(t){return mc(e,t)})).getOr(e);return Cs(n)>0},r=function(t,e){var r=Id(t.element,e.selector),o=K(r,(function(t){return n(e,t)}));return _.from(o[e.firstTabstop])},o=function(t,e){return e.focusManager.get(t).bind((function(t){return mc(t,e.selector)}))},a=function(t,e){return n(t,e)&&t.useTabstopAt(e)},s=function(t,e,n){r(t,e).each((function(n){e.focusManager.set(t,n)}))},c=function(t,e,n,r,o){return o(e,n,(function(t){return a(r,t)})).fold((function(){return r.cyclic?_.some(!0):_.none()}),(function(e){return r.focusManager.set(t,e),_.some(!0)}))},l=function(t,e,n,r){var i=Id(t.element,n.selector);return o(t,n).bind((function(e){var o=tt(i,u(oo,e));return o.bind((function(e){return c(t,i,e,n,r)}))}))},d=function(t,e,n){var r=n.cyclic?Kg:Xg;return l(t,e,n,r)},h=function(t,e,n){var r=n.cyclic?Jg:Qg;return l(t,e,n,r)},p=function(t,e,n){return n.onEnter.bind((function(n){return n(t,e)}))},m=function(t,e,n){return n.onEscape.bind((function(n){return n(t,e)}))},g=i([ov(tv([ev,Zg(jg)]),d),ov(Zg(jg),h),ov(Zg(Wg),m),ov(tv([rv,Zg(Vg)]),p)]),v=i([]);return cv(e,qa.init,g,v,(function(){return _.some(s)}))},fv=lv(Gn("cyclic",l)),dv=lv(Gn("cyclic",f)),hv=function(t,e,n){return hi(t,n,Wo()),_.some(!0)},pv=function(t,e,n){var r=mg(n)&&Zg(Ug)(e.event);return r?_.none():hv(t,e,n)},mv=function(t,e){return _.some(!0)},gv=[Bn("execute",pv),Bn("useSpace",!1),Bn("useEnter",!0),Bn("useControlEnter",!1),Bn("useDown",!1)],vv=function(t,e,n){return n.execute(t,e,t.element)},bv=function(t,e,n,r){var o=n.useSpace&&!mg(t.element)?Ug:[],i=n.useEnter?Vg:[],a=n.useDown?Gg:[],u=o.concat(i).concat(a);return[ov(Zg(u),vv)].concat(n.useControlEnter?[ov(tv([nv,Zg(Vg)]),vv)]:[])},yv=function(t,e,n,r){return n.useSpace&&!mg(t.element)?[ov(Zg(Ug),mv)]:[]},wv=cv(gv,qa.init,bv,yv,(function(){return _.none()})),_v=function(){var t=Kn(_.none()),e=function(e,n){t.set(_.some({numRows:e,numColumns:n}))},n=function(){return t.get().map((function(t){return t.numRows}))},r=function(){return t.get().map((function(t){return t.numColumns}))};return Ga({readState:function(){return t.get().map((function(t){return{numRows:String(t.numRows),numColumns:String(t.numColumns)}})).getOr({numRows:"?",numColumns:"?"})},setGridSize:e,getNumRows:n,getNumColumns:r})},xv=function(t){return t.state(t)},Cv=Object.freeze({__proto__:null,flatgrid:_v,init:xv}),kv=function(t){return function(e,n,r,o){var i=t(e.element);return Dv(i,e,n,r,o)}},Sv=function(t,e){var n=Bf(t,e);return kv(n)},Tv=function(t,e){var n=Bf(e,t);return kv(n)},Ov=function(t){return function(e,n,r,o){return Dv(t,e,n,r,o)}},Dv=function(t,e,n,r,o){var i=r.focusManager.get(e).bind((function(n){return t(e.element,n,r,o)}));return i.map((function(t){return r.focusManager.set(e,t),!0}))},Ev=Ov,Av=Ov,Mv=Ov,Nv=function(t){return t.offsetWidth<=0&&t.offsetHeight<=0},Rv=function(t){return!Nv(t.dom)},zv=function(t,e){return tt(t,e).map((function(e){return{index:e,candidates:t}}))},Pv=function(t,e,n){var r=function(t){return oo(t,e)},o=Id(t,n),i=K(o,Rv);return zv(i,r)},Iv=function(t,e){return tt(t,(function(t){return oo(e,t)}))},Lv=function(t,e,n,r){var o=Math.floor(e/n),i=e%n;return r(o,i).bind((function(e){var r=e.row*n+e.column;return r>=0&&r1?_.some(t.slice(1)):_.none()}))},m=function(t){return Ht(n.get(),t)},g=function(t){return v(t).bind(Ow)},v=function(t){return Ht(e.get(),t)},b=function(e){return Ht(t.get(),e)},y=function(t){var e=o.get();return it(Dt(e),t)},w=function(){return r.get().bind(g)},x=function(){return e.get()};return{setMenuBuilt:u,setContents:s,expand:d,refresh:m,collapse:p,lookupMenu:v,lookupItem:b,otherMenus:y,getPrimary:w,getMenus:x,clear:i,isClear:a,getTriggeringPath:f}},Ow=function(t){return"prepared"===t.type?_.some(t.menu):_.none()},Dw={init:Tw,extractPreparedMenu:Ow},Ew=function(t,e){var n,r=Kn(_.none()),o=function(e,n,r){return Mt(r,(function(r,o){var i=function(){return xw.sketch(h(h({},r),{value:o,markers:t.markers,fakeFocus:t.fakeFocus,onHighlight:t.onHighlight,focusManager:t.fakeFocus?sv():uv()}))};return o===n?{type:"prepared",menu:e.getSystem().build(i())}:{type:"notbuilt",nbMenu:i}}))},i=Dw.init(),a=function(e){var n=o(e,t.data.primary,t.data.menus),r=c();return i.setContents(t.data.primary,n,t.data.expansions,r),i.getPrimary()},u=function(t){return Gp.getValue(t).value},s=function(t,e,n){return dt(e,(function(t){if(!t.getSystem().isConnected())return _.none();var e=Hg.getCandidates(t);return Z(e,(function(t){return u(t)===n}))}))},c=function(e){return Mt(t.data.menus,(function(t,e){return nt(t.items,(function(t){return"separator"===t.type?[]:[t.data.value]}))}))},l=function(t,e){Hg.highlight(t,e),Hg.getHighlighted(e).orThunk((function(){return Hg.getFirst(e)})).each((function(e){hi(t,e.element,Uo())}))},f=function(t,e){return cg($(e,(function(e){return t.lookupMenu(e).bind((function(t){return"prepared"===t.type?_.some(t.menu):_.none()}))})))},d=function(e,n,r){var o=f(n,n.otherMenus(r));Y(o,(function(n){Nu(n.element,[t.markers.backgroundMenu]),t.stayInDom||_y.remove(e,n)}))},p=function(e){return r.get().getOrThunk((function(){var n={},o=Id(e.element,"."+t.markers.item),i=K(o,(function(t){return"true"===ma(t,"aria-haspopup")}));return Y(i,(function(t){e.getSystem().getByDom(t).each((function(t){var e=u(t);n[e]=t}))})),r.set(_.some(n)),n}))},m=function(t,e){var n=p(t);At(n,(function(t,n){var r=j(e,n);ha(t.element,"aria-expanded",r)}))},g=function(e,n,r){return _.from(r[0]).bind((function(o){return n.lookupMenu(o).bind((function(o){if("notbuilt"===o.type)return _.none();var i=o.menu,a=f(n,r.slice(1));return Y(a,(function(e){Ou(e.element,t.markers.backgroundMenu)})),Uu(i.element)||_y.append(e,ws(i)),Nu(i.element,[t.markers.backgroundMenu]),l(e,i),d(e,n,r),_.some(i)}))}))};(function(t){t[t["HighlightSubmenu"]=0]="HighlightSubmenu",t[t["HighlightParent"]=1]="HighlightParent"})(n||(n={}));var v=function(t,e,n){if("notbuilt"===n.type){var r=t.getSystem().build(n.nbMenu());return i.setMenuBuilt(e,r),r}return n.menu},b=function(e,r,o){void 0===o&&(o=n.HighlightSubmenu);var a=u(r);return i.expand(a).bind((function(a){return m(e,a),_.from(a[0]).bind((function(u){return i.lookupMenu(u).bind((function(s){var c=v(e,u,s);return Uu(c.element)||_y.append(e,ws(c)),t.onOpenSubmenu(e,r,c,ot(a)),o===n.HighlightSubmenu?(Hg.highlightFirst(c),g(e,i,a)):(Hg.dehighlightAll(c),_.some(r))}))}))}))},y=function(e,n){var r=u(n);return i.collapse(r).bind((function(r){return m(e,r),g(e,i,r).map((function(r){return t.onCollapseMenu(e,n,r),r}))}))},w=function(t,e){var n=u(e);return i.refresh(n).bind((function(e){return m(t,e),g(t,i,e)}))},x=function(t,e){return mg(e.element)?_.none():b(t,e,n.HighlightSubmenu)},C=function(t,e){return mg(e.element)?_.none():y(t,e)},k=function(e,n){return y(e,n).orThunk((function(){return t.onEscape(e,n).map((function(){return e}))}))},S=function(e){return function(n,r){return mc(r.getSource(),"."+t.markers.item).bind((function(t){return n.getSystem().getByDom(t).toOptional().bind((function(t){return e(n,t).map((function(){return!0}))}))}))}},T=gi([wi(ww(),(function(t,e){var n=e.event.item;i.lookupItem(u(n)).each((function(){var n=e.event.menu;Hg.highlight(t,n);var r=u(e.event.item);i.refresh(r).each((function(e){return d(t,i,e)}))}))})),Ri((function(e,r){var o=r.event.target;e.getSystem().getByDom(o).each((function(r){var o=u(r);0===o.indexOf("collapse-item")&&y(e,r),b(e,r,n.HighlightSubmenu).fold((function(){t.onExecute(e,r)}),(function(){}))}))})),Ai((function(e,n){a(e).each((function(n){_y.append(e,ws(n)),t.onOpenMenu(e,n),t.highlightImmediately&&l(e,n)}))}))].concat(t.navigateOnHover?[wi(ow(),(function(e,r){var o=r.event.item;w(e,o),b(e,o,n.HighlightParent),t.onHover(e,o)}))]:[])),O=function(t){return Hg.getHighlighted(t).bind(Hg.getHighlighted)},D=function(t){O(t).each((function(e){y(t,e)}))},E=function(t){i.getPrimary().each((function(e){l(t,e)}))},A=function(t){return _.from(t.components()[0]).filter((function(t){return"menu"===ma(t.element,"role")}))},M=function(e){var n=i.getPrimary().bind((function(t){return O(e).bind((function(t){var n=u(t),r=Bt(i.getMenus()),o=cg($(r,Dw.extractPreparedMenu));return i.getTriggeringPath(n,(function(t){return s(e,o,t)}))})).map((function(e){return{primary:t,triggeringPath:e}}))}));n.fold((function(){A(e).each((function(n){t.onRepositionMenu(e,n,[])}))}),(function(n){var r=n.primary,o=n.triggeringPath;t.onRepositionMenu(e,r,o)}))},N={collapseMenu:D,highlightPrimary:E,repositionMenus:M};return{uid:t.uid,dom:t.dom,markers:t.markers,behaviours:Jp(t.tmenuBehaviours,[fy.config({mode:"special",onRight:S(x),onLeft:S(C),onEscape:S(k),focusIn:function(t,e){i.getPrimary().each((function(e){hi(t,e.element,Uo())}))}}),Hg.config({highlightClass:t.markers.selectedMenu,itemClass:t.markers.menu}),yg.config({find:function(t){return Hg.getHighlighted(t)}}),_y.config({})]),eventOrder:t.eventOrder,apis:N,events:T}},Aw=i("collapse-item"),Mw=function(t,e,n){return{primary:t,menus:e,expansions:n}},Nw=function(t,e){return{primary:t,menus:ce(t,e),expansions:{}}},Rw=function(t){return{value:Oa(Aw()),meta:{text:t}}},zw=ug({name:"TieredMenu",configFields:[jc("onExecute"),jc("onEscape"),Fc("onOpenMenu"),Fc("onOpenSubmenu"),Bc("onRepositionMenu"),Bc("onCollapseMenu"),Bn("highlightImmediately",!0),On("data",[yn("primary"),yn("menus"),yn("expansions")]),Bn("fakeFocus",!1),Bc("onHighlight"),Bc("onHover"),Pc(),yn("dom"),Bn("navigateOnHover",!0),Bn("stayInDom",!1),Kp("tmenuBehaviours",[fy,Hg,yg,_y]),Bn("eventOrder",{})],apis:{collapseMenu:function(t,e){t.collapseMenu(e)},highlightPrimary:function(t,e){t.highlightPrimary(e)},repositionMenus:function(t,e){t.repositionMenus(e)}},factory:Ew,extraApis:{tieredData:Mw,singleData:Nw,collapseItem:Rw}}),Pw=function(t,e,n,r,o){var i=function(){return t.lazySink(e)},a="horizontal"===r.type?{layouts:{onLtr:function(){return Ol()},onRtl:function(){return Dl()}}}:{},u=function(t){return 2===t.length},s=function(t){return u(t)?a:{}};return zw.sketch({dom:{tag:"div"},data:r.data,markers:r.menu.markers,highlightImmediately:r.menu.highlightImmediately,onEscape:function(){return dp.close(e),t.onEscape.map((function(t){return t(e)})),_.some(!0)},onExecute:function(){return _.some(!0)},onOpenMenu:function(t,e){Nh.positionWithinBounds(i().getOrDie(),n,e,o())},onOpenSubmenu:function(t,e,n,r){var o=i().getOrDie();Nh.position(o,h({anchor:"submenu",item:e},s(r)),n)},onRepositionMenu:function(t,e,r){var a=i().getOrDie();Nh.positionWithinBounds(a,n,e,o()),Y(r,(function(t){var e=s(t.triggeringPath);Nh.position(a,h({anchor:"submenu",item:t.triggeringItem},e),t.triggeredMenu)}))}})},Iw=function(t,e){var n=function(e,n){var r=t.getRelated(e);return r.exists((function(t){return yc(t,n)}))},r=function(t,e){dp.setContent(t,e)},o=function(t,e,n){i(t,e,n,_.none())},i=function(t,e,n,r){a(t,e,n,(function(){return r.map((function(t){return oc(t)}))}))},a=function(e,n,r,o){var i=t.lazySink(e).getOrDie();dp.openWhileCloaked(e,r,(function(){return Nh.positionWithinBounds(i,n,e,o())})),Gp.setValue(e,_.some({mode:"position",anchor:n,getBounds:o}))},u=function(t,e,n){s(t,e,n,(function(){return _.none()}))},s=function(e,n,r,o){var i=Pw(t,e,n,r,o);dp.open(e,i),Gp.setValue(e,_.some({mode:"menu",menu:i}))},c=function(t){dp.isOpen(t)&&(Gp.setValue(t,_.none()),dp.close(t))},l=function(t){return dp.getState(t)},f=function(e){dp.isOpen(e)&&Gp.getValue(e).each((function(n){switch(n.mode){case"menu":dp.getState(e).each((function(t){zw.repositionMenus(t)}));break;case"position":var r=t.lazySink(e).getOrDie();Nh.positionWithinBounds(r,n.anchor,e,n.getBounds());break}}))},d={setContent:r,showAt:o,showWithin:i,showWithinBounds:a,showMenuAt:u,showMenuWithinBounds:s,hide:c,getContent:l,reposition:f,isOpen:dp.isOpen};return{uid:t.uid,dom:t.dom,behaviours:Jp(t.inlineBehaviours,[dp.config({isPartOf:function(t,e,r){return yc(e,r)||n(t,r)},getAttachPoint:function(e){return t.lazySink(e).getOrDie()},onOpen:function(e){t.onShow(e)},onClose:function(e){t.onHide(e)}}),Gp.config({store:{mode:"memory",initialValue:_.none()}}),Yl.config({channels:h(h({},vp(h({isExtraPart:e.isExtraPart},t.fireDismissalEventInstead.map((function(t){return{fireEventInstead:{event:t.event}}})).getOr({})))),yp(h(h({},t.fireRepositionEventInstead.map((function(t){return{fireEventInstead:{event:t.event}}})).getOr({})),{doReposition:f})))})]),eventOrder:t.eventOrder,apis:d}},Lw=ug({name:"InlineView",configFields:[yn("lazySink"),Bc("onShow"),Bc("onHide"),zn("onEscape"),Kp("inlineBehaviours",[dp,Gp,Yl]),In("fireDismissalEventInstead",[Bn("event",ni())]),In("fireRepositionEventInstead",[Bn("event",ri())]),Bn("getRelated",_.none),Bn("isExtraPart",l),Bn("eventOrder",_.none)],factory:Iw,apis:{showAt:function(t,e,n,r){t.showAt(e,n,r)},showWithin:function(t,e,n,r,o){t.showWithin(e,n,r,o)},showWithinBounds:function(t,e,n,r,o){t.showWithinBounds(e,n,r,o)},showMenuAt:function(t,e,n,r){t.showMenuAt(e,n,r)},showMenuWithinBounds:function(t,e,n,r,o){t.showMenuWithinBounds(e,n,r,o)},hide:function(t,e){t.hide(e)},isOpen:function(t,e){return t.isOpen(e)},getContent:function(t,e){return t.getContent(e)},setContent:function(t,e,n){t.setContent(e,n)},reposition:function(t,e){t.reposition(e)}}}),Bw=function(t){return t.x},Hw=function(t,e){return t.x+t.width/2-e.width/2},Fw=function(t,e){return t.x+t.width-e.width},jw=function(t){return t.y},Vw=function(t,e){return t.y+t.height-e.height},Ww=function(t,e,n){return $c(Fw(t,e),Vw(t,e),n.innerSoutheast(),Zc(),il(t,{right:0,bottom:3}),"layout-inner-se")},Uw=function(t,e,n){return $c(Bw(t),Vw(t,e),n.innerSouthwest(),Qc(),il(t,{left:1,bottom:3}),"layout-inner-sw")},$w=function(t,e,n){return $c(Fw(t,e),jw(t),n.innerNortheast(),Jc(),il(t,{right:0,top:2}),"layout-inner-ne")},Yw=function(t,e,n){return $c(Bw(t),jw(t),n.innerNorthwest(),Xc(),il(t,{left:1,top:2}),"layout-inner-nw")},qw=function(t,e,n){return $c(Hw(t,e),jw(t),n.innerNorth(),tl(),il(t,{top:2}),"layout-inner-n")},Gw=function(t,e,n){return $c(Hw(t,e),Vw(t,e),n.innerSouth(),el(),il(t,{bottom:3}),"layout-inner-s")},Kw=tinymce.util.Tools.resolve("tinymce.util.Delay"),Xw=function(t){var e=Zy(t.action),n=t.dom.tag,r=function(e){return Ht(t.dom,"attributes").bind((function(t){return Ht(t,e)}))},o=function(){if("button"===n){var t=r("type").getOr("button"),e=r("role").map((function(t){return{role:t}})).getOr({});return h({type:t},e)}var o=r("role").getOr("button");return{role:o}};return{uid:t.uid,dom:t.dom,components:t.components,events:e,behaviours:Qp.augment(t.buttonBehaviours,[Ny.config({}),fy.config({mode:"execution",useSpace:!0,useEnter:!0})]),domModification:{attributes:o()},eventOrder:t.eventOrder}},Jw=ug({name:"Button",factory:Xw,configFields:[Bn("uid",void 0),yn("dom"),Bn("components",[]),Qp.field("buttonBehaviours",[Ny,fy]),An("action"),An("role"),Bn("eventOrder",{})]}),Qw=function(t){var e=rg(t)&&jt(t,"uid")?t.uid:Pa("memento"),n=function(t){return t.getSystem().getByUid(e).getOrDie()},r=function(t){return t.getSystem().getByUid(e).toOptional()},o=function(){return h(h({},t),{uid:e})};return{get:n,getOpt:r,asSpec:o}},Zw=function(t){return _.from(t()["temporary-placeholder"]).getOr("!not found!")},t_=function(t,e){return _.from(e()[t.toLowerCase()]).getOrThunk((function(){return Zw(e)}))},e_=function(t,e,n){return _.from(e()[t.toLowerCase()]).or(n).getOrThunk((function(){return Zw(e)}))},n_=function(t,e){return dt(t,(function(t){return _.from(e()[t.toLowerCase()])})).getOrThunk((function(){return Zw(e)}))},r_={success:"checkmark",error:"warning",err:"error",warning:"warning",warn:"warning",info:"info"},o_=function(t){var e=Qw({dom:{tag:"p",innerHtml:t.translationProvider(t.text)},behaviours:Fl([_y.config({})])}),n=function(t){return{dom:{tag:"div",classes:["tox-bar"],attributes:{style:"width: "+t+"%"}}}},r=function(t){return{dom:{tag:"div",classes:["tox-text"],innerHtml:t+"%"}}},o=Qw({dom:{tag:"div",classes:t.progress?["tox-progress-bar","tox-progress-indicator"]:["tox-progress-bar"]},components:[{dom:{tag:"div",classes:["tox-bar-container"]},components:[n(0)]},r(0)],behaviours:Fl([_y.config({})])}),i=function(t,e){t.getSystem().isConnected()&&o.getOpt(t).each((function(t){_y.set(t,[{dom:{tag:"div",classes:["tox-bar-container"]},components:[n(e)]},r(e)])}))},a=function(t,n){if(t.getSystem().isConnected()){var r=e.get(t);_y.set(r,[gs(n)])}},u={updateProgress:i,updateText:a},s=et([t.icon.toArray(),t.level.toArray(),t.level.bind((function(t){return _.from(r_[t])})).toArray()]),c=Qw(Jw.sketch({dom:{tag:"button",classes:["tox-notification__dismiss","tox-button","tox-button--naked","tox-button--icon"]},components:[{dom:{tag:"div",classes:["tox-icon"],innerHtml:t_("close",t.iconProvider),attributes:{"aria-label":t.translationProvider("Close")}}}],action:function(e){t.onAction(e)}})),l=[{dom:{tag:"div",classes:["tox-notification__icon"],innerHtml:n_(s,t.iconProvider)}},{dom:{tag:"div",classes:["tox-notification__body"]},components:[e.asSpec()],behaviours:Fl([_y.config({})])}];return{uid:t.uid,dom:{tag:"div",attributes:{role:"alert"},classes:t.level.map((function(t){return["tox-notification","tox-notification--in","tox-notification--"+t]})).getOr(["tox-notification","tox-notification--in"])},behaviours:Fl([Ny.config({}),Cy("notification-events",[wi(Do(),(function(t){c.getOpt(t).each(Ny.focus)}))])]),components:l.concat(t.progress?[o.asSpec()]:[]).concat(t.closeButton?[c.asSpec()]:[]),apis:u}},i_=ug({name:"Notification",factory:o_,configFields:[An("level"),yn("progress"),yn("icon"),yn("onAction"),yn("text"),yn("iconProvider"),yn("translationProvider"),Wn("closeButton",!0)],apis:{updateProgress:function(t,e,n){t.updateProgress(e,n)},updateText:function(t,e,n){t.updateText(e,n)}}});function a_(t,e,n){var r=e.backstage,o=function(t){switch(t){case"bc-bc":return Gw;case"tc-tc":return qw;case"tc-bc":return yl;case"bc-tc":default:return wl}},i=function(t){Y(t,(function(t){return t.moveTo(0,0)}))},a=function(t){t.length>0&&(ct(t).each((function(t){return t.moveRel(null,"banner")})),Y(t,(function(e,n){n>0&&e.moveRel(t[n-1].getEl(),"bc-tc")})))},u=function(t){i(t),a(t)},s=function(t,i){var a=!t.closeButton&&t.timeout&&(t.timeout>0||t.timeout<0),u=function(){i(),Lw.hide(c)},s=ys(i_.sketch({text:t.text,level:j(["success","error","warning","warn","info"],t.type)?t.type:void 0,progress:!0===t.progressBar,icon:_.from(t.icon),closeButton:!a,onAction:u,iconProvider:r.shared.providers.icons,translationProvider:r.shared.providers.translate})),c=ys(Lw.sketch(h({dom:{tag:"div",classes:["tox-notifications-container"]},lazySink:e.backstage.shared.getSink,fireDismissalEventInstead:{}},r.shared.header.isPositionedAtTop()?{}:{fireRepositionEventInstead:{}})));return n.add(c),t.timeout>0&&Kw.setTimeout((function(){u()}),t.timeout),{close:u,moveTo:function(t,e){Lw.showAt(c,{anchor:"makeshift",x:t,y:e},ws(s))},moveRel:function(t,n){if("banner"!==n){var r=o(n),i={anchor:"node",root:$u(),node:_.some(er.fromDom(t)),layouts:{onRtl:function(){return[r]},onLtr:function(){return[r]}}};Lw.showAt(c,i,ws(s))}else Lw.showAt(c,e.backstage.shared.anchors.banner(),ws(s))},text:function(t){i_.updateText(s,t)},settings:t,getEl:function(){return s.element.dom},progressBar:{value:function(t){i_.updateProgress(s,t)}}}},c=function(t){t.close()},l=function(t){return t.settings};return{open:s,close:c,reposition:u,getArgs:l}}var u_,s_=function(t,e){var n=null,r=function(){null!==n&&(clearTimeout(n),n=null)},o=function(){for(var r=[],o=0;o',t.getDoc());return ea(n,er.fromDom(e.extractContents())),e.insertNode(n.dom),$i(n).each((function(t){return t.dom.normalize()})),zd(n).map((function(e){t.selection.setCursorLocation(e.dom,Ad(e))})),n}))},m_=function(t){return mc(t,h_)},g_=function(t){return t.collapsed&&3===t.startContainer.nodeType},v_=function(t){return t.toString().replace(/\u00A0/g," ").replace(/\uFEFF/g,"")},b_=function(t){return""!==t&&-1!=="  \f\n\r\t\v".indexOf(t)},y_=function(t,e){return t.substring(e.length)},w_=function(t,e,n){var r;for(r=e-1;r>=0;r--){var o=t.charAt(r);if(b_(o))return _.none();if(o===n)break}return _.some(r)},__=function(t,e,n,r){if(void 0===r&&(r=0),!g_(e))return _.none();var o=function(t,e,r){return w_(r,e,n).getOr(e)},i=t.getParent(e.startContainer,t.isBlock)||t.getRoot();return d_(t,e.startContainer,e.startOffset,o,i).bind((function(t){var o=e.cloneRange();if(o.setStart(t.container,t.offset),o.setEnd(e.endContainer,e.endOffset),o.collapsed)return _.none();var i=v_(o),a=i.lastIndexOf(n);return 0!==a||y_(i,n).length0?E_(e[e.length-1]):T_(t,e.length)},A_=function(t,e){var n=t.childNodes;return n.length>0&&e0&&D_(t)&&n.length===e?E_(n[n.length-1]):T_(t,e)},M_=function(t,e){return d_(t,e.container,e.offset,(function(t,e){return 0===e?-1:e}),t.getRoot()).filter((function(t){var e=t.container.data.charAt(t.offset-1);return!b_(e)})).isSome()},N_=function(t){return function(e){var n=A_(e.startContainer,e.startOffset);return!M_(t,n)}},R_=function(t,e,n){return dt(n.triggerChars,(function(n){return x_(t,e,n)}))},z_=function(t,e){var n=e(),r=t.selection.getRng();return R_(t.dom,r,n).bind((function(n){return P_(t,e,n)}))},P_=function(t,e,n,r){void 0===r&&(r={});var o=e(),i=t.selection.getRng(),a=i.startContainer.nodeValue,u=K(o.lookupByChar(n.triggerChar),(function(e){return n.text.length>=e.minChars&&e.matches.getOrThunk((function(){return N_(t.dom)}))(n.range,a,n.text)}));if(0===u.length)return _.none();var s=S_.all($(u,(function(t){var e=t.fetch(n.text,t.maxResults,r);return e.then((function(e){return{matchText:n.text,items:e,columns:t.columns,onAction:t.onAction,highlightOn:t.highlightOn}}))})));return _.some({lookupData:s,context:n})},I_=Be([xn("type"),Rn("text")]),L_=function(t){return nn("separatormenuitem",I_,t)},B_=Be([Bn("type","autocompleteitem"),Bn("active",!1),Bn("disabled",!1),Bn("meta",{}),xn("value"),Rn("text"),Rn("icon")]),H_=Be([xn("type"),xn("ch"),Fn("minChars",1),Bn("columns",1),Fn("maxResults",10),zn("matches"),Sn("fetch"),Sn("onAction"),Yn("highlightOn",[],hn)]),F_=function(t){return nn("Autocompleter.Separator",I_,t)},j_=function(t){return nn("Autocompleter.Item",B_,t)},V_=function(t){return nn("Autocompleter",H_,t)},W_=[Wn("disabled",!1),Rn("tooltip"),Rn("icon"),Rn("text"),Un("onSetup",(function(){return e}))],U_=Be([xn("type"),Sn("onAction")].concat(W_)),$_=function(t){return nn("toolbarbutton",U_,t)},Y_=[Wn("active",!1)].concat(W_),q_=Be(Y_.concat([xn("type"),Sn("onAction")])),G_=function(t){return nn("ToggleButton",q_,t)},K_=[Un("predicate",(function(){return!1})),Vn("scope","node",["node","editor"]),Vn("position","selection",["node","selection","line"])],X_=W_.concat([Bn("type","contextformbutton"),Bn("primary",!1),Sn("onAction"),Gn("original",a)]),J_=Y_.concat([Bn("type","contextformbutton"),Bn("primary",!1),Sn("onAction"),Gn("original",a)]),Q_=W_.concat([Bn("type","contextformbutton")]),Z_=Y_.concat([Bn("type","contextformtogglebutton")]),tx=sn("type",{contextformbutton:X_,contextformtogglebutton:J_}),ex=Be([Bn("type","contextform"),Un("initValue",(function(){return""})),Rn("label"),En("commands",tx),Mn("launch",sn("type",{contextformbutton:Q_,contextformtogglebutton:Z_}))].concat(K_)),nx=function(t){return nn("ContextForm",ex,t)},rx=Be([Bn("type","contexttoolbar"),xn("items")].concat(K_)),ox=function(t){return nn("ContextToolbar",rx,t)},ix=function(t){var e={};return Y(t,(function(t){e[t]={}})),Dt(e)},ax=function(t){var e=t.ui.registry.getAll().popups,n=Mt(e,(function(t){return V_(t).fold((function(t){throw new Error(an(t))}),(function(t){return t}))})),r=ix(It(n,(function(t){return t.ch}))),o=Bt(n),i=function(t){return K(o,(function(e){return e.ch===t}))};return{dataset:n,triggerChars:r,lookupByChar:i}};(function(t){t[t["CLOSE_ON_EXECUTE"]=0]="CLOSE_ON_EXECUTE",t[t["BUBBLE_TO_SANDBOX"]=1]="BUBBLE_TO_SANDBOX"})(u_||(u_={}));var ux,sx=u_,cx="tox-menu-nav__js",lx="tox-collection__item",fx="tox-swatch",dx={normal:cx,color:fx},hx="tox-collection__item--enabled",px="tox-collection__group-heading",mx="tox-collection__item-icon",gx="tox-collection__item-label",vx="tox-collection__item-accessory",bx="tox-collection__item-caret",yx="tox-collection__item-checkmark",wx="tox-collection__item--active",_x="tox-collection__item-icon-rtl",xx="tox-collection__item-container",Cx="tox-collection__item-container--column",kx="tox-collection__item-container--row",Sx="tox-collection__item-container--align-right",Tx="tox-collection__item-container--align-left",Ox="tox-collection__item-container--valign-top",Dx="tox-collection__item-container--valign-middle",Ex="tox-collection__item-container--valign-bottom",Ax=function(t){return Ht(dx,t).getOr(cx)},Mx=function(t){return"color"===t?"tox-swatches":"tox-menu"},Nx=function(t){return{backgroundMenu:"tox-background-menu",selectedMenu:"tox-selected-menu",selectedItem:"tox-collection__item--active",hasIcons:"tox-menu--has-icons",menu:Mx(t),tieredMenu:"tox-tiered-menu"}},Rx=function(t){var e=Nx(t);return{backgroundMenu:e.backgroundMenu,selectedMenu:e.selectedMenu,menu:e.menu,selectedItem:e.selectedItem,item:Ax(t)}},zx=function(t,e,n){var r=Nx(n);return{tag:"div",classes:et([[r.menu,"tox-menu-"+e+"-column"],t?[r.hasIcons]:[]])}},Px=[xw.parts.items({})],Ix=function(t,e,n){var r=Nx(n),o={tag:"div",classes:et([[r.tieredMenu]])};return{dom:o,markers:Rx(n)}},Lx=function(t,e){return function(n){var r=U(n,e);return $(r,(function(e){return{dom:t,components:e}}))}},Bx=function(t){return{dom:{tag:"div",classes:["tox-menu","tox-swatches-menu"]},components:[{dom:{tag:"div",classes:["tox-swatches"]},components:[xw.parts.items({preprocess:"auto"!==t?Lx({tag:"div",classes:["tox-swatches__row"]},t):a})]}]}},Hx=function(t){return{dom:{tag:"div",classes:["tox-menu","tox-collection","tox-collection--toolbar","tox-collection--toolbar-lg"]},components:[xw.parts.items({preprocess:Lx({tag:"div",classes:["tox-collection__group"]},t)})]}},Fx=function(t,e){var n=[],r=[];return Y(t,(function(t,o){e(t,o)?(r.length>0&&n.push(r),r=[],Ft(t.dom,"innerHtml")&&r.push(t)):r.push(t)})),r.length>0&&n.push(r),$(n,(function(t){return{dom:{tag:"div",classes:["tox-collection__group"]},components:t}}))},jx=function(t,e,n){return{dom:{tag:"div",classes:["tox-menu","tox-collection"].concat(1===t?["tox-collection--list"]:["tox-collection--grid"])},components:[xw.parts.items({preprocess:function(n){return"auto"!==t&&t>1?Lx({tag:"div",classes:["tox-collection__group"]},t)(n):Fx(n,(function(t,n){return"separator"===e[n].type}))}})]}},Vx=function(t,e){return{dom:{tag:"div",classes:["tox-collection","tox-collection--horizontal"]},components:[xw.parts.items({preprocess:function(e){return Fx(e,(function(e,n){return"separator"===t[n].type}))}})]}},Wx=function(t){return V(t,(function(t){return"icon"in t&&void 0!==t.icon}))},Ux=function(t){return _.none()},$x=function(t,e,n,r,o){var i=Vx(n);return{value:t,dom:i.dom,components:i.components,items:n}},Yx=function(t,e,n,r,o){if("color"===o){var i=Bx(r);return{value:t,dom:i.dom,components:i.components,items:n}}if("normal"===o&&"auto"===r){i=jx(r,n);return{value:t,dom:i.dom,components:i.components,items:n}}if("normal"===o&&1===r){i=jx(1,n);return{value:t,dom:i.dom,components:i.components,items:n}}if("normal"===o){i=jx(r,n);return{value:t,dom:i.dom,components:i.components,items:n}}if("listpreview"===o&&"auto"!==r){i=Hx(r);return{value:t,dom:i.dom,components:i.components,items:n}}return{value:t,dom:zx(e,r,o),components:Px,items:n}},qx=[xn("type"),xn("src"),Rn("alt"),Yn("classes",[],hn)],Gx=Be(qx),Kx=[xn("type"),xn("text"),Rn("name"),Yn("classes",["tox-collection__item-label"],hn)],Xx=Be(Kx),Jx=Qe((function(){return un("type",{cardimage:Gx,cardtext:Xx,cardcontainer:Qx})})),Qx=Be([xn("type"),jn("direction","horizontal"),jn("align","left"),jn("valign","middle"),En("items",Jx)]),Zx=[Wn("disabled",!1),Rn("text"),Rn("shortcut"),Ye("value","value",ne((function(){return Oa("menuitem-value")})),ln()),Bn("meta",{})],tC=Be([xn("type"),Rn("label"),En("items",Jx),Un("onSetup",(function(){return e})),Un("onAction",e)].concat(Zx)),eC=function(t){return nn("cardmenuitem",tC,t)},nC=Be([xn("type"),Wn("active",!1),Rn("icon")].concat(Zx)),rC=function(t){return nn("choicemenuitem",nC,t)},oC=["inserttable","colorswatch"],iC=Be([xn("type"),Cn("fancytype",oC),Un("onAction",e)]),aC=function(t){return nn("fancymenuitem",iC,t)},uC=Be([xn("type"),Un("onSetup",(function(){return e})),Un("onAction",e),Rn("icon")].concat(Zx)),sC=function(t){return nn("menuitem",uC,t)},cC=Be([xn("type"),Sn("getSubmenuItems"),Un("onSetup",(function(){return e})),Rn("icon")].concat(Zx)),lC=function(t){return nn("nestedmenuitem",cC,t)},fC=Be([xn("type"),Rn("icon"),Wn("active",!1),Un("onSetup",(function(){return e})),Sn("onAction")].concat(Zx)),dC=function(t){return nn("togglemenuitem",fC,t)},hC=function(t,e,n){var r=Id(t.element,"."+n);if(r.length>0){var o=tt(r,(function(t){var n=t.dom.getBoundingClientRect().top,o=r[0].dom.getBoundingClientRect().top;return Math.abs(n-o)>e})).getOr(r.length);return _.some({numColumns:o,numRows:Math.ceil(r.length/o)})}return _.none()},pC=function(t,e){return Fl([Cy(t,e)])},mC=function(t){return pC(Oa("unnamed-events"),t)},gC={namedEvents:pC,unnamedEvents:mC},vC=[yn("lazySink"),yn("tooltipDom"),Bn("exclusive",!0),Bn("tooltipComponents",[]),Bn("delay",300),Vn("mode","normal",["normal","follow-highlight"]),Bn("anchor",(function(t){return{anchor:"hotspot",hotspot:t,layouts:{onLtr:i([wl,yl,ml,vl,gl,bl]),onRtl:i([wl,yl,ml,vl,gl,bl])}}})),Bc("onHide"),Bc("onShow")],bC=function(){var t=Kn(_.none()),e=Kn(_.none()),n=function(){return e.get()},r=function(t){e.set(_.some(t))},o=function(){e.set(_.none())},a=function(){t.get().each((function(t){clearTimeout(t)}))},u=function(e,n){a(),t.set(_.some(setTimeout((function(){e()}),n)))},s=function(){return e.get().isSome()},c=i("not-implemented");return Ga({getTooltip:n,isShowing:s,setTooltip:r,clearTooltip:o,clearTimer:a,resetTimer:u,readState:c})},yC=Object.freeze({__proto__:null,init:bC}),wC=Oa("tooltip.exclusive"),_C=Oa("tooltip.show"),xC=Oa("tooltip.hide"),CC=function(t,e,n){t.getSystem().broadcastOn([wC],{})},kC=function(t,e,n,r){n.getTooltip().each((function(t){t.getSystem().isConnected()&&_y.set(t,r)}))},SC=Object.freeze({__proto__:null,hideAllExclusive:CC,setComponents:kC}),TC=function(t,e){var n=function(n){e.getTooltip().each((function(r){jh(r),t.onHide(n,r),e.clearTooltip()})),e.clearTimer()},r=function(n){if(!e.isShowing()){CC(n);var r=t.lazySink(n).getOrDie(),o=n.getSystem().build({dom:t.tooltipDom,components:t.tooltipComponents,events:gi("normal"===t.mode?[wi(Oo(),(function(t){li(n,_C)})),wi(So(),(function(t){li(n,xC)}))]:[]),behaviours:Fl([_y.config({})])});e.setTooltip(o),Bh(r,o),t.onShow(n,o),Nh.position(r,t.anchor(n),o)}};return gi(et([[wi(_C,(function(n){e.resetTimer((function(){r(n)}),t.delay)})),wi(xC,(function(r){e.resetTimer((function(){n(r)}),t.delay)})),wi(Vo(),(function(t,e){var r=e;r.universal||j(r.channels,wC)&&n(t)})),Mi((function(t){n(t)}))],"normal"===t.mode?[wi(Do(),(function(t){li(t,_C)})),wi(Fo(),(function(t){li(t,xC)})),wi(Oo(),(function(t){li(t,_C)})),wi(So(),(function(t){li(t,xC)}))]:[wi(si(),(function(t,e){li(t,_C)})),wi(ci(),(function(t){li(t,xC)}))]]))},OC=Object.freeze({__proto__:null,events:TC}),DC=Vl({fields:vC,name:"tooltipping",active:OC,state:yC,apis:SC}),EC=tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"),AC=tinymce.util.Tools.resolve("tinymce.util.I18n"),MC=["input","button","textarea","select"],NC=function(t,e,n){var r=e.disabled()?FC:jC;r(t,e)},RC=function(t,e){return!0===e.useNative&&j(MC,zi(t.element))},zC=function(t){return va(t.element,"disabled")},PC=function(t){ha(t.element,"disabled","disabled")},IC=function(t){ba(t.element,"disabled")},LC=function(t){return"true"===ma(t.element,"aria-disabled")},BC=function(t){ha(t.element,"aria-disabled","true")},HC=function(t){ha(t.element,"aria-disabled","false")},FC=function(t,e,n){e.disableClass.each((function(e){Ou(t.element,e)}));var r=RC(t,e)?PC:BC;r(t),e.onDisabled(t)},jC=function(t,e,n){e.disableClass.each((function(e){Eu(t.element,e)}));var r=RC(t,e)?IC:HC;r(t),e.onEnabled(t)},VC=function(t,e){return RC(t,e)?zC(t):LC(t)},WC=function(t,e,n,r){var o=r?FC:jC;o(t,e)},UC=Object.freeze({__proto__:null,enable:jC,disable:FC,isDisabled:VC,onLoad:NC,set:WC}),$C=function(t,e){return Za({classes:e.disabled()?e.disableClass.toArray():[]})},YC=function(t,e){return gi([vi(Wo(),(function(e,n){return VC(e,t)})),zl(t,e,NC)])},qC=Object.freeze({__proto__:null,exhibit:$C,events:YC}),GC=[Un("disabled",l),Bn("useNative",!0),An("disableClass"),Bc("onDisabled"),Bc("onEnabled")],KC=Vl({fields:GC,name:"disabling",active:qC,apis:UC}),XC=tinymce.util.Tools.resolve("tinymce.EditorManager"),JC=function(t){var e=t.getParam("skin"),n=t.getParam("skin_url");if(!1!==e){var r=e||"oxide";n=n?t.documentBaseURI.toAbsolute(n):XC.baseURL+"/skins/ui/"+r}return n},QC=function(t){return t.getParam("readonly",!1,"boolean")},ZC=function(t){return!1===t.getParam("skin")},tk=function(t){return t.getParam("height",Math.max(t.getElement().offsetHeight,200))},ek=function(t){return t.getParam("width",EC.DOM.getStyle(t.getElement(),"width"))},nk=function(t){return _.from(t.getParam("min_width")).filter(z)},rk=function(t){return _.from(t.getParam("min_height")).filter(z)},ok=function(t){return _.from(t.getParam("max_width")).filter(z)},ik=function(t){return _.from(t.getParam("max_height")).filter(z)},ak=function(t){return _.from(t.getParam("style_formats")).filter(D)},uk=function(t){return t.getParam("style_formats_merge",!1,"boolean")},sk=function(t){return t.getParam("lineheight_formats","1 1.1 1.2 1.3 1.4 1.5 2","string").split(" ")},ck=function(t){return t.getParam("removed_menuitems","")},lk=function(t){return!1!==t.getParam("menubar",!0,"boolean")},fk=function(t){var e=t.getParam("toolbar",!0),n=!0===e,r=T(e),o=D(e)&&e.length>0;return!hk(t)&&(o||r||n)},dk=function(t){var e=W(9,(function(e){return t.getParam("toolbar"+(e+1),!1,"string")})),n=K(e,(function(t){return"string"===typeof t}));return n.length>0?_.some(n):_.none()},hk=function(t){return dk(t).fold((function(){var e=t.getParam("toolbar",[],"string[]");return e.length>0}),(function(){return!0}))};(function(t){t["default"]="wrap",t["floating"]="floating",t["sliding"]="sliding",t["scrolling"]="scrolling"})(ux||(ux={}));var pk,mk=function(t){return t.getParam("toolbar_mode","","string")};(function(t){t["auto"]="auto",t["top"]="top",t["bottom"]="bottom"})(pk||(pk={}));var gk,vk=function(t){return t.getParam("toolbar_groups",{},"object")},bk=function(t){return t.getParam("toolbar_location",pk.auto,"string")},yk=function(t){return bk(t)===pk.bottom},wk=function(t){return t.getParam("fixed_toolbar_container","","string")},_k=function(t){return t.getParam("toolbar_persist",!1,"boolean")},xk=function(t){var e=wk(t);return e.length>0&&t.inline?pc($u(),e):_.none()},Ck=function(t){return t.inline&&xk(t).isSome()},kk=function(t){var e=xk(t);return e.getOrThunk((function(){return Bu(Lu(er.fromDom(t.getElement())))}))},Sk=function(t){return t.inline&&!lk(t)&&!fk(t)&&!hk(t)},Tk=function(t){var e=t.getParam("toolbar_sticky",!1,"boolean");return(e||t.inline)&&!Ck(t)&&!Sk(t)},Ok=function(t){return t.getParam("draggable_modal",!1,"boolean")},Dk=function(t){var e=t.getParam("menu");return e?Mt(e,(function(t){return h(h({},t),{items:t.items})})):{}},Ek=function(t){return t.getParam("menubar")},Ak=function(t){return t.getParam("toolbar",!0)},Mk=function(t){return t.getParam("file_picker_callback")},Nk=function(t){return t.getParam("file_picker_types")},Rk=function(t){return t.getParam("file_browser_callback_types")},zk=function(t){return!1===t.getParam("typeahead_urls")},Pk=function(t){return t.getParam("anchor_top","#top")},Ik=function(t){return t.getParam("anchor_bottom","#bottom")},Lk=function(t){var e=t.getParam("file_picker_validator_handler",void 0,"function");return void 0===e?t.getParam("filepicker_validator_handler",void 0,"function"):e},Bk="silver.readonly",Hk=Be([kn("readonly")]),Fk=function(t,e){var n=t.outerContainer,r=n.element;e&&(t.mothership.broadcastOn([hp()],{target:r}),t.uiMothership.broadcastOn([hp()],{target:r})),t.mothership.broadcastOn([Bk],{readonly:e}),t.uiMothership.broadcastOn([Bk],{readonly:e})},jk=function(t,e){t.on("init",(function(){t.mode.isReadOnly()&&Fk(e,!0)})),t.on("SwitchMode",(function(){return Fk(e,t.mode.isReadOnly())})),QC(t)&&t.setMode("readonly")},Vk=function(){var t;return Yl.config({channels:(t={},t[Bk]={schema:Hk,onReceive:function(t,e){KC.set(t,e.readonly)}},t)})},Wk=function(t){return KC.config({disabled:t,disableClass:"tox-collection__item--state-disabled"})},Uk=function(t){return KC.config({disabled:t})},$k=function(t){return KC.config({disabled:t,disableClass:"tox-tbtn--disabled"})},Yk=function(t){return KC.config({disabled:t,disableClass:"tox-tbtn--disabled",useNative:!1})},qk={item:Wk,button:Uk,splitButton:$k,toolbarButton:Yk},Gk=function(t,e){var n=t.getApi(e);return function(t){t(n)}},Kk=function(t,e){return Ai((function(n){var r=Gk(t,n);r((function(n){var r=t.onSetup(n);null!==r&&void 0!==r&&e.set(r)}))}))},Xk=function(t,e){return Mi((function(n){return Gk(t,n)(e.get())}))},Jk=function(t,e){return Ri((function(n,r){Gk(t,n)(t.onAction),t.triggersSubmenu||e!==sx.CLOSE_ON_EXECUTE||(li(n,qo()),r.stop())}))},Qk=(gk={},gk[Wo()]=["disabling","alloy.base.behaviour","toggling","item-events"],gk),Zk=function(t){return nt(t,(function(t){return t.toArray()}))},tS=function(t,n,r,o){var i=Kn(e);return{type:"item",dom:n.dom,components:Zk(n.optComponents),data:t.data,eventOrder:Qk,hasSubmenu:t.triggersSubmenu,itemBehaviours:Fl([Cy("item-events",[Jk(t,r),Kk(t,i),Xk(t,i)]),qk.item((function(){return t.disabled||o.isDisabled()})),Vk(),_y.config({})].concat(t.itemBehaviours))}},eS=function(t){return{value:t.value,meta:h({text:t.text.getOr("")},t.meta)}},nS=tinymce.util.Tools.resolve("tinymce.Env"),rS=function(t){var e={alt:"⌥",ctrl:"⌃",shift:"⇧",meta:"⌘",access:"⌃⌥"},n={meta:"Ctrl",access:"Shift+Alt"},r=nS.mac?e:n,o=t.split("+"),i=$(o,(function(t){var e=t.toLowerCase().trim();return Ft(r,e)?r[e]:t}));return nS.mac?i.join(""):i.join("+")},oS=function(t){return{dom:{tag:"div",classes:[mx],innerHtml:t}}},iS=function(t){return{dom:{tag:"div",classes:[gx]},components:[gs(AC.translate(t))]}},aS=function(t,e){return{dom:{tag:"div",classes:e,innerHtml:t}}},uS=function(t,e){return{dom:{tag:"div",classes:[gx]},components:[{dom:{tag:t.tag,styles:t.styles},components:[gs(AC.translate(e))]}]}},sS=function(t){return{dom:{tag:"div",classes:[vx],innerHtml:rS(t)}}},cS=function(t){return{dom:{tag:"div",classes:[yx],innerHtml:t_("checkmark",t)}}},lS=function(t){return{dom:{tag:"div",classes:[bx],innerHtml:t_("chevron-right",t)}}},fS=function(t){return{dom:{tag:"div",classes:[bx],innerHtml:t_("chevron-down",t)}}},dS=function(t,e){var n="vertical"===t.direction?Cx:kx,r="left"===t.align?Tx:Sx,o=function(){switch(t.valign){case"top":return Ox;case"middle":return Dx;case"bottom":return Ex}};return{dom:{tag:"div",classes:[xx,n,r,o()]},components:e}},hS=function(t,e,n){return{dom:{tag:"img",classes:e,attributes:{src:t,alt:n.getOr("")}}}},pS=function(t,e,n,r){var o="custom",i="remove",a=function(){var a=fx,u=n.getOr(""),s=t.map((function(t){return{title:r.translate(t)}})).getOr({}),c={tag:"div",attributes:s,classes:[a]};return h(h({},c),e===o?{tag:"button",classes:m(c.classes,["tox-swatches__picker-btn"]),innerHtml:u}:e===i?{classes:m(c.classes,["tox-swatch--remove"]),innerHtml:u}:{attributes:h(h({},c.attributes),{"data-mce-color":e}),styles:{"background-color":e}})};return{dom:a(),optComponents:[]}},mS=function(t,e){var n=e.map((function(t){return{attributes:{title:AC.translate(t)}}})).getOr({});return h({tag:"div",classes:[cx,lx].concat(t?[_x]:[])},n)},gS=function(t,e,n,r,o){var i=n?e.or(_.some("")).map(oS):_.none(),a=t.checkMark,u=t.htmlContent.fold((function(){return t.textContent.map(r)}),(function(t){return _.some(aS(t,[gx]))})),s={dom:mS(o,t.ariaLabel),optComponents:[i,u,t.shortcutContent.map(sS),a,t.caret]};return s},vS=["list-num-default","list-num-lower-alpha","list-num-lower-greek","list-num-lower-roman","list-num-upper-alpha","list-num-upper-roman"],bS=["list-bull-circle","list-bull-default","list-bull-square"],yS=function(t,e,n,r){void 0===r&&(r=_.none());var o=function(t){return t.map((function(t){return AC.isRtl()&&j(vS,t)?t+"-rtl":t}))},i=AC.isRtl()&&t.iconContent.exists((function(t){return j(bS,t)})),a=o(t.iconContent).map((function(t){return e_(t,e.icons,r)})),s=_.from(t.meta).fold((function(){return iS}),(function(t){return Ft(t,"style")?u(uS,t.style):iS}));return"color"===t.presets?pS(t.ariaLabel,t.value,a,e):gS(t,a,n,s,i)},wS=function(t,e){return Ht(t,"tooltipWorker").map((function(t){return[DC.config({lazySink:e.getSink,tooltipDom:{tag:"div",classes:["tox-tooltip-worker-container"]},tooltipComponents:[],anchor:function(t){return{anchor:"submenu",item:t,overrides:{maxHeightFunction:Af}}},mode:"follow-highlight",onShow:function(e,n){t((function(t){DC.setComponents(e,[vs({element:er.fromDom(t)})])}))}})]})).getOr([])},_S=function(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")},xS=function(t){return EC.DOM.encode(t)},CS=function(t,e){var n=AC.translate(t),r=xS(n);if(e.length>0){var o=new RegExp(_S(e),"gi");return r.replace(o,(function(t){return''+t+""}))}return r},kS=function(t,e,n,r,o,i,a,u){void 0===u&&(u=!0);var s=yS({presets:r,textContent:_.none(),htmlContent:n?t.text.map((function(t){return CS(t,e)})):_.none(),ariaLabel:t.text,iconContent:t.icon,shortcutContent:_.none(),checkMark:_.none(),caret:_.none(),value:t.value},a.providers,u,t.icon);return tS({data:eS(t),disabled:t.disabled,getApi:function(){return{}},onAction:function(e){return o(t.value,t.meta)},onSetup:function(){return function(){}},triggersSubmenu:!1,itemBehaviours:wS(t.meta,a)},s,i,a.providers)},SS=function(t,e,n,r,o,i,a,u){void 0===u&&(u=!0);var s=function(t){return{setActive:function(e){Jy.set(t,e)},isActive:function(){return Jy.isOn(t)},isDisabled:function(){return KC.isDisabled(t)},setDisabled:function(e){return KC.set(t,e)}}},c=yS({presets:n,textContent:e?t.text:_.none(),htmlContent:_.none(),ariaLabel:t.text,iconContent:t.icon,shortcutContent:e?t.shortcut:_.none(),checkMark:e?_.some(cS(a.icons)):_.none(),caret:_.none(),value:t.value},a,u);return Gt(tS({data:eS(t),disabled:t.disabled,getApi:s,onAction:function(e){return r(t.value)},onSetup:function(t){return t.setActive(o),function(){}},triggersSubmenu:!1,itemBehaviours:[]},c,i,a),{toggling:{toggleClass:hx,toggleOnExecute:!1,selected:t.active}})},TS=Pm(lw(),fw()),OS=function(t){return{value:t}},DS=/^#?([a-f\d])([a-f\d])([a-f\d])$/i,ES=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i,AS=function(t){return DS.test(t)||ES.test(t)},MS=function(t){var e=t.value.replace(DS,(function(t,e,n,r){return e+e+n+n+r+r}));return{value:e}},NS=function(t){var e=MS(t),n=ES.exec(e.value);return null===n?["FFFFFF","FF","FF","FF"]:n},RS=function(t){var e=t.toString(16);return 1===e.length?"0"+e:e},zS=function(t){var e=RS(t.red)+RS(t.green)+RS(t.blue);return OS(e)},PS=Math.min,IS=Math.max,LS=Math.round,BS=/^rgb\((\d+),\s*(\d+),\s*(\d+)\)/,HS=/^rgba\((\d+),\s*(\d+),\s*(\d+),\s*(\d?(?:\.\d+)?)\)/,FS=function(t,e,n,r){return{red:t,green:e,blue:n,alpha:r}},jS=function(t){var e=parseInt(t,10);return e.toString()===t&&e>=0&&e<=255},VS=function(t){var e,n,r,o=(t.hue||0)%360,i=t.saturation/100,a=t.value/100;if(i=IS(0,PS(i,1)),a=IS(0,PS(a,1)),0===i)return e=n=r=LS(255*a),FS(e,n,r,1);var u=o/60,s=a*i,c=s*(1-Math.abs(u%2-1)),l=a-s;switch(Math.floor(u)){case 0:e=s,n=c,r=0;break;case 1:e=c,n=s,r=0;break;case 2:e=0,n=s,r=c;break;case 3:e=0,n=c,r=s;break;case 4:e=c,n=0,r=s;break;case 5:e=s,n=0,r=c;break;default:e=n=r=0}return e=LS(255*(e+l)),n=LS(255*(n+l)),r=LS(255*(r+l)),FS(e,n,r,1)},WS=function(t){var e=NS(t),n=parseInt(e[1],16),r=parseInt(e[2],16),o=parseInt(e[3],16);return FS(n,r,o,1)},US=function(t,e,n,r){var o=parseInt(t,10),i=parseInt(e,10),a=parseInt(n,10),u=parseFloat(r);return FS(o,i,a,u)},$S=function(t){if("transparent"===t)return _.some(FS(0,0,0,0));var e=BS.exec(t);if(null!==e)return _.some(US(e[1],e[2],e[3],"1"));var n=HS.exec(t);return null!==n?_.some(US(n[1],n[2],n[3],n[4])):_.none()},YS=function(t){return"rgba("+t.red+","+t.green+","+t.blue+","+t.alpha+")"},qS=FS(255,0,0,1),GS=function(t){return t.fire("SkinLoaded")},KS=function(t,e){return t.fire("SkinLoadError",e)},XS=function(t){return t.fire("ResizeEditor")},JS=function(t,e){return t.fire("ResizeContent",e)},QS=function(t,e){return t.fire("ScrollContent",e)},ZS=function(t,e){return t.fire("TextColorChange",e)},tT=tinymce.util.Tools.resolve("tinymce.util.LocalStorage"),eT="tinymce-custom-colors";function nT(t){void 0===t&&(t=10);var e=tT.getItem(eT),n=T(e)?JSON.parse(e):[],r=function(e){var n=t-e.length;return n<0?e.slice(0,t):e},o=r(n),i=function(e){F(o,e).each(a),o.unshift(e),o.length>t&&o.pop(),tT.setItem(eT,JSON.stringify(o))},a=function(t){o.splice(t,1)},u=function(){return o.slice(0)};return{add:i,state:u}}var rT="choiceitem",oT=[{type:rT,text:"Light Green",value:"#BFEDD2"},{type:rT,text:"Light Yellow",value:"#FBEEB8"},{type:rT,text:"Light Red",value:"#F8CAC6"},{type:rT,text:"Light Purple",value:"#ECCAFA"},{type:rT,text:"Light Blue",value:"#C2E0F4"},{type:rT,text:"Green",value:"#2DC26B"},{type:rT,text:"Yellow",value:"#F1C40F"},{type:rT,text:"Red",value:"#E03E2D"},{type:rT,text:"Purple",value:"#B96AD9"},{type:rT,text:"Blue",value:"#3598DB"},{type:rT,text:"Dark Turquoise",value:"#169179"},{type:rT,text:"Orange",value:"#E67E23"},{type:rT,text:"Dark Red",value:"#BA372A"},{type:rT,text:"Dark Purple",value:"#843FA1"},{type:rT,text:"Dark Blue",value:"#236FA1"},{type:rT,text:"Light Gray",value:"#ECF0F1"},{type:rT,text:"Medium Gray",value:"#CED4D9"},{type:rT,text:"Gray",value:"#95A5A6"},{type:rT,text:"Dark Gray",value:"#7E8C8D"},{type:rT,text:"Navy Blue",value:"#34495E"},{type:rT,text:"Black",value:"#000000"},{type:rT,text:"White",value:"#ffffff"}],iT=nT(10),aT=function(t){var e=[],n=document.createElement("canvas");n.height=1,n.width=1;for(var r=n.getContext("2d"),o=function(t,e){var n=255,r=e/255,o=Math.round(t*r+n*(1-r));return("0"+o.toString(16)).slice(-2).toUpperCase()},i=function(t){if(/^[0-9A-Fa-f]{6}$/.test(t))return"#"+t.toUpperCase();r.clearRect(0,0,n.width,n.height),r.fillStyle="#FFFFFF",r.fillStyle=t,r.fillRect(0,0,1,1);var e=r.getImageData(0,0,1,1).data,i=e[0],a=e[1],u=e[2],s=e[3];return"#"+o(i,s)+o(a,s)+o(u,s)},a=0;a0?d(n,r,e,o):r.text.length-n.matchLength>=10?s():u()}}))}))}))},m=c_((function(t){27!==t.which&&p()}),50),g={onKeypress:m,cancelIfNecessary:s,isMenuOpen:i,isActive:a,isProcessingAction:r.get,getView:function(){return Lw.getContent(o)}};!1===t.hasPlugin("rtc")&&k_.setup(g,t)},lO={register:cO},fO=f,dO=function(t,e,n){return js(t,e,fO,n)},hO=function(t,e,n){return Vs(t,e,fO,n)},pO=Bs,mO=function(t,e,n){return mc(t,e,n).isSome()};function gO(t,e){var n=null,r=function(){for(var r=[],o=0;ovO||r>vO},_O=function(t){var e=Kn(_.none()),n=Kn(!1),r=gO((function(e){t.triggerEvent(Yo(),e),n.set(!0)}),bO),o=function(t){return yO(t).each((function(o){r.cancel();var i={x:o.clientX,y:o.clientY,target:t.target};r.schedule(t),n.set(!1),e.set(_.some(i))})),_.none()},i=function(t){return r.cancel(),yO(t).each((function(t){e.get().each((function(n){wO(t,n)&&e.set(_.none())}))})),_.none()},a=function(o){r.cancel();var i=function(t){return oo(t.target,o.target)};return e.get().filter(i).map((function(e){return n.get()?(o.prevent(),!1):t.triggerEvent($o(),o)}))},u=le([{key:yo(),value:o},{key:wo(),value:i},{key:_o(),value:a}]),s=function(t,e){return Ht(u,e).bind((function(e){return e(t)}))};return{fireIfReady:s}},xO=function(t){var e=t.raw;return e.which===Fg[0]&&!j(["input","textarea"],zi(t.target))&&!mO(t.target,'[contenteditable="true"]')},CO=function(){return qr().browser.isFirefox()},kO=Le([Sn("triggerEvent"),Bn("stopBackspace",!0)]),SO=function(t,e){return CO()?hO(t,"focus",e):dO(t,"focusin",e)},TO=function(t,e){return CO()?hO(t,"blur",e):dO(t,"focusout",e)},OO=function(t,e){var n=on("Getting GUI events settings",kO,e),r=["touchstart","touchmove","touchend","touchcancel","gesturestart","mousedown","mouseup","mouseover","mousemove","mouseout","click"],o=_O(n),i=$(r.concat(["selectstart","input","contextmenu","change","transitionend","drag","dragstart","dragend","dragenter","dragleave","dragover","drop","keyup"]),(function(e){return dO(t,e,(function(t){o.fireIfReady(t,e).each((function(e){e&&t.kill()}));var r=n.triggerEvent(e,t);r&&t.kill()}))})),a=Kn(_.none()),u=dO(t,"paste",(function(t){o.fireIfReady(t,"paste").each((function(e){e&&t.kill()}));var e=n.triggerEvent("paste",t);e&&t.kill(),a.set(_.some(setTimeout((function(){n.triggerEvent(jo(),t)}),0)))})),s=dO(t,"keydown",(function(t){var e=n.triggerEvent("keydown",t);e?t.kill():!0===n.stopBackspace&&xO(t)&&t.prevent()})),c=SO(t,(function(t){var e=n.triggerEvent("focusin",t);e&&t.kill()})),l=Kn(_.none()),f=TO(t,(function(t){var e=n.triggerEvent("focusout",t);e&&t.kill(),l.set(_.some(setTimeout((function(){n.triggerEvent(Fo(),t)}),0)))})),d=function(){Y(i,(function(t){t.unbind()})),s.unbind(),c.unbind(),f.unbind(),u.unbind(),a.get().each(clearTimeout),l.get().each(clearTimeout)};return{unbind:d}},DO=function(t,e){var n=Ht(t,"target").getOr(e);return Kn(n)},EO=function(t,e){var n=Kn(!1),r=Kn(!1),o=function(){n.set(!0)},i=function(){r.set(!0)};return{stop:o,cut:i,isStopped:n.get,isCut:r.get,event:t,setSource:e.set,getSource:e.get}},AO=function(t){var n=Kn(!1),r=function(){n.set(!0)};return{stop:r,cut:e,isStopped:n.get,isCut:l,event:t,setSource:c("Cannot set source of a broadcasted event"),getSource:c("Cannot get source of a broadcasted event")}},MO=Wt.generate([{stopped:[]},{resume:["element"]},{complete:[]}]),NO=function(t,e,n,r,o,i){var a=t(e,r),u=EO(n,o);return a.fold((function(){return i.logEventNoHandlers(e,r),MO.complete()}),(function(t){var n=t.descHandler,r=au(n);return r(u),u.isStopped()?(i.logEventStopped(e,t.element,n.purpose),MO.stopped()):u.isCut()?(i.logEventCut(e,t.element,n.purpose),MO.complete()):$i(t.element).fold((function(){return i.logNoParent(e,t.element,n.purpose),MO.complete()}),(function(r){return i.logEventResponse(e,t.element,n.purpose),MO.resume(r)}))}))},RO=function(t,e,n,r,o,i){return NO(t,e,n,r,o,i).fold((function(){return!0}),(function(r){return RO(t,e,n,r,o,i)}),(function(){return!1}))},zO=function(t,e,n,r,o){var i=DO(n,r);return NO(t,e,n,r,i,o)},PO=function(t,e,n){var r=AO(e);return Y(t,(function(t){var e=t.descHandler,n=au(e);n(r)})),r.isStopped()},IO=function(t,e,n,r){return LO(t,e,n,n.target,r)},LO=function(t,e,n,r,o){var i=DO(n,r);return RO(t,e,n,r,i,o)},BO=function(t,e){return{element:t,descHandler:e}},HO=function(t,e){return{id:t,descHandler:e}};function FO(){var t={},e=function(e,n,r){At(r,(function(r,o){var i=void 0!==t[o]?t[o]:{};i[n]=iu(r,e),t[o]=i}))},n=function(t,e){return za(e).fold((function(){return _.none()}),(function(n){return t.bind((function(t){return Ht(t,n)})).map((function(t){return BO(e,t)}))}))},r=function(e){return Ht(t,e).map((function(t){return It(t,(function(t,e){return HO(e,t)}))})).getOr([])},o=function(e,r,o){var i=Ht(t,r);return lo(o,(function(t){return n(i,t)}),e)},i=function(e){At(t,(function(t,n){t.hasOwnProperty(e)&&delete t[e]}))};return{registerId:e,unregisterId:i,filterByType:r,find:o}}function jO(){var t=FO(),e={},n=function(t){var e=t.element;return za(e).fold((function(){return Na("uid-",t.element)}),(function(t){return t}))},r=function(t,n){var r=e[n];if(r!==t)throw new Error('The tagId "'+n+'" is already used by: '+xa(r.element)+"\nCannot use it for: "+xa(t.element)+"\nThe conflicting element is"+(Uu(r.element)?" ":" not ")+"already in the DOM");i(t)},o=function(o){var i=n(o);jt(e,i)&&r(o,i);var a=[o];t.registerId(a,i,o.events),e[i]=o},i=function(n){za(n.element).each((function(n){delete e[n],t.unregisterId(n)}))},a=function(e){return t.filterByType(e)},u=function(e,n,r){return t.find(e,n,r)},s=function(t){return Ht(e,t)};return{find:u,filter:a,register:o,unregister:i,getById:s}}var VO=function(t){var e=t.dom,n=e.attributes,r=p(e,["attributes"]);return{uid:t.uid,dom:h({tag:"div",attributes:h({role:"presentation"},n)},r),components:t.components,behaviours:Xp(t.containerBehaviours),events:t.events,domModification:t.domModification,eventOrder:t.eventOrder}},WO=ug({name:"Container",factory:VO,configFields:[Bn("components",[]),Kp("containerBehaviours",[]),Bn("events",{}),Bn("domModification",{}),Bn("eventOrder",{})]}),UO=function(t){var n=function(e){return $i(t.element).fold((function(){return!0}),(function(t){return oo(e,t)}))},r=jO(),o=function(t,e){return r.find(n,t,e)},a=OO(t.element,{triggerEvent:function(t,e){return Dc(t,e.target,(function(n){return IO(o,t,e,n)}))}}),u={debugInfo:i("real"),triggerEvent:function(t,e,n){Dc(t,e,(function(r){return LO(o,t,n,e,r)}))},triggerFocus:function(t,n){za(t).fold((function(){Xl(t)}),(function(r){Dc(Ho(),t,(function(r){return zO(o,Ho(),{originator:n,kill:e,prevent:e,target:t},t,r),!1}))}))},triggerEscape:function(t,e){u.triggerEvent("keydown",t.element,e.event)},getByUid:function(t){return b(t)},getByDom:function(t){return y(t)},build:ys,addToGui:function(t){l(t)},removeFromGui:function(t){d(t)},addToWorld:function(t){s(t)},removeFromWorld:function(t){c(t)},broadcast:function(t){m(t)},broadcastOn:function(t,e){g(t,e)},broadcastEvent:function(t,e){v(t,e)},isConnected:f},s=function(t){t.connect(u),Bi(t.element)||(r.register(t),Y(t.components(),s),u.triggerEvent(Ko(),t.element,{target:t.element}))},c=function(t){Bi(t.element)||(Y(t.components(),c),r.unregister(t)),t.disconnect()},l=function(e){Bh(t,e)},d=function(t){jh(t)},h=function(){a.unbind(),aa(t.element)},p=function(t){var e=r.filter(Vo());Y(e,(function(e){var n=e.descHandler,r=au(n);r(t)}))},m=function(t){p({universal:!0,data:t})},g=function(t,e){p({universal:!1,channels:t,data:e})},v=function(t,e){var n=r.filter(t);return PO(n,e)},b=function(t){return r.getById(t).fold((function(){return gt.error(new Error('Could not find component with uid: "'+t+'" in system.'))}),gt.value)},y=function(t){var e=za(t).getOr("not found");return b(e)};return s(t),{root:t,element:t.element,destroy:h,add:l,remove:d,getByUid:b,getByDom:y,addToWorld:s,removeFromWorld:c,broadcast:m,broadcastOn:g,broadcastEvent:v}},$O=function(t,e){return{dom:{tag:"div",classes:["tox-bar","tox-form__controls-h-stack"]},components:$(t.items,e.interpreter)}},YO=i([Bn("prefix","form-field"),Kp("fieldBehaviours",[yg,Gp])]),qO=i([Em({schema:[yn("dom")],name:"label"}),Em({factory:{sketch:function(t){return{uid:t.uid,dom:{tag:"span",styles:{display:"none"},attributes:{"aria-hidden":"true"},innerHtml:t.text}}}},schema:[yn("text")],name:"aria-descriptor"}),Om({factory:{sketch:function(t){var e=se(t,["factory"]);return t.factory.sketch(e)}},schema:[yn("factory")],name:"field"})]),GO=function(t,e,n,r){var o=Jp(t.fieldBehaviours,[yg.config({find:function(e){return Vm(e,t,"field")}}),Gp.config({store:{mode:"manual",getValue:function(t){return yg.getCurrent(t).bind(Gp.getValue)},setValue:function(t,e){yg.getCurrent(t).each((function(t){Gp.setValue(t,e)}))}}})]),i=gi([Ai((function(e,n){var r=Um(e,t,["label","field","aria-descriptor"]);r.field().each((function(e){var n=Oa(t.prefix);r.label().each((function(t){ha(t.element,"for",n),ha(e.element,"id",n)})),r["aria-descriptor"]().each((function(n){var r=Oa(t.prefix);ha(n.element,"id",r),ha(e.element,"aria-describedby",r)}))}))}))]),a={getField:function(e){return Vm(e,t,"field")},getLabel:function(e){return Vm(e,t,"label")}};return{uid:t.uid,dom:t.dom,components:e,behaviours:o,events:i,apis:a}},KO=sg({name:"FormField",configFields:YO(),partFields:qO(),factory:GO,apis:{getField:function(t,e){return t.getField(e)},getLabel:function(t,e){return t.getLabel(e)}}}),XO=function(t,e){return Za({attributes:le([{key:e.tabAttr,value:"true"}])})},JO=Object.freeze({__proto__:null,exhibit:XO}),QO=[Bn("tabAttr","data-alloy-tabstop")],ZO=Vl({fields:QO,name:"tabstopping",active:JO}),tD=tinymce.util.Tools.resolve("tinymce.html.Entities"),eD=function(t,e,n,r){var o=rD(t,e,n,r);return KO.sketch(o)},nD=function(t,e){return eD(t,e,[],[])},rD=function(t,e,n,r){return{dom:iD(n),components:t.toArray().concat([e]),fieldBehaviours:Fl(r)}},oD=function(){return iD([])},iD=function(t){return{tag:"div",classes:["tox-form__group"].concat(t)}},aD=function(t,e){return KO.parts.label({dom:{tag:"label",classes:["tox-label"],innerHtml:e.translate(t)}})},uD=Oa("form-component-change"),sD=Oa("form-close"),cD=Oa("form-cancel"),lD=Oa("form-action"),fD=Oa("form-submit"),dD=Oa("form-block"),hD=Oa("form-unblock"),pD=Oa("form-tabchange"),mD=Oa("form-resize"),gD=function(t,e){var n,r=t.label.map((function(t){return aD(t,e)})),o=function(t){return function(e,n){mc(n.event.target,"[data-collection-item-value]").each((function(r){t(e,n,r,ma(r,"data-collection-item-value"))}))}},i=function(n,r){var o=$(r,(function(n){var r=AC.translate(n.text),o=1===t.columns?'
'+r+"
":"",i='
'+n.icon+"
",a={_:" "," - ":" ","-":" "},u=r.replace(/\_| \- |\-/g,(function(t){return a[t]})),s=e.isDisabled()?" tox-collection__item--state-disabled":"";return'
'+i+o+"
"})),i="auto"!==t.columns&&t.columns>1?U(o,t.columns):[o],a=$(i,(function(t){return'
'+t.join("")+"
"}));la(n.element,a.join(""))},u=o((function(n,r,o,i){r.stop(),e.isDisabled()||fi(n,lD,{name:t.name,value:i})})),s=[wi(Oo(),o((function(t,e,n){Xl(n)}))),wi(zo(),u),wi($o(),u),wi(Do(),o((function(t,e,n){pc(t.element,"."+wx).each((function(t){Eu(t,wx)})),Ou(n,wx)}))),wi(Eo(),o((function(t){pc(t.element,"."+wx).each((function(t){Eu(t,wx)}))}))),Ri(o((function(e,n,r,o){fi(e,lD,{name:t.name,value:o})})))],c=function(t,e){return $(Id(t.element,".tox-collection__item"),e)},l=KO.parts.field({dom:{tag:"div",classes:["tox-collection"].concat(1!==t.columns?["tox-collection--grid"]:["tox-collection--list"])},components:[],factory:{sketch:a},behaviours:Fl([KC.config({disabled:e.isDisabled,onDisabled:function(t){c(t,(function(t){Ou(t,"tox-collection__item--state-disabled"),ha(t,"aria-disabled",!0)}))},onEnabled:function(t){c(t,(function(t){Eu(t,"tox-collection__item--state-disabled"),ba(t,"aria-disabled")}))}}),Vk(),_y.config({}),Gp.config({store:{mode:"memory",initialValue:[]},onSetValue:function(e,n){i(e,n),"auto"===t.columns&&hC(e,5,"tox-collection__item").each((function(t){var n=t.numRows,r=t.numColumns;fy.setGridSize(e,n,r)})),li(e,mD)}}),ZO.config({}),fy.config(MT(t.columns,"normal")),Cy("collection-events",s)]),eventOrder:(n={},n[Wo()]=["disabling","alloy.base.behaviour","collection-events"],n)}),f=["tox-form__group--collection"];return eD(r,l,f,[])},vD=i([An("data"),Bn("inputAttributes",{}),Bn("inputStyles",{}),Bn("tag","input"),Bn("inputClasses",[]),Bc("onSetValue"),Bn("styles",{}),Bn("eventOrder",{}),Kp("inputBehaviours",[Gp,Ny]),Bn("selectOnFocus",!0)]),bD=function(t){return Fl([Ny.config({onFocus:t.selectOnFocus?function(t){var e=t.element,n=is(e);e.dom.setSelectionRange(0,n.length)}:e})])},yD=function(t){return h(h({},bD(t)),Jp(t.inputBehaviours,[Gp.config({store:h(h({mode:"manual"},t.data.map((function(t){return{initialValue:t}})).getOr({})),{getValue:function(t){return is(t.element)},setValue:function(t,e){var n=is(t.element);n!==e&&as(t.element,e)}}),onSetValue:t.onSetValue})]))},wD=function(t){return{tag:t.tag,attributes:h({type:"text"},t.inputAttributes),styles:t.inputStyles,classes:t.inputClasses}},_D=function(t,e){return{uid:t.uid,dom:wD(t),components:[],behaviours:yD(t),eventOrder:t.eventOrder}},xD=ug({name:"Input",configFields:vD(),factory:_D}),CD={},kD={exports:CD};(function(e,n,r,o){(function(o){if("object"===typeof n&&"undefined"!==typeof r)r.exports=o();else if("function"===typeof e&&e.amd)e([],o);else{var i;i="undefined"!==typeof window?window:"undefined"!==typeof t?t:"undefined"!==typeof self?self:this,i.EphoxContactWrapper=o()}})((function(){return function(){function t(e,n,r){function i(u,s){if(!n[u]){if(!e[u]){var c="function"==typeof o&&o;if(!s&&c)return c(u,!0);if(a)return a(u,!0);var l=new Error("Cannot find module '"+u+"'");throw l.code="MODULE_NOT_FOUND",l}var f=n[u]={exports:{}};e[u][0].call(f.exports,(function(t){var n=e[u][1][t];return i(n||t)}),f,f.exports,t,e,n,r)}return n[u].exports}for(var a="function"==typeof o&&o,u=0;u1)for(var n=1;n=0&&(t._idleTimeoutId=setTimeout((function(){t._onTimeout&&t._onTimeout()}),e))},n.setImmediate="function"===typeof e?e:function(t){var e=s++,r=!(arguments.length<2)&&a.call(arguments,1);return u[e]=!0,o((function(){u[e]&&(r?t.apply(null,r):t.call(null),n.clearImmediate(e))})),e},n.clearImmediate="function"===typeof r?r:function(t){delete u[t]}}).call(this,t("timers").setImmediate,t("timers").clearImmediate)},{"process/browser.js":1,timers:3}],4:[function(t,e,n){var r=t("promise-polyfill"),o=function(){return"undefined"!==typeof window?window:Function("return this;")()}();e.exports={boltExport:o.Promise||r}},{"promise-polyfill":2}]},{},[4])(4)}))})(void 0,CD,kD,void 0);var SD,TD=kD.exports.boltExport,OD=function(t){var e=_.none(),n=[],r=function(t){return OD((function(e){o((function(n){e(t(n))}))}))},o=function(t){a()?s(t):n.push(t)},i=function(t){a()||(e=_.some(t),u(n),n=[])},a=function(){return e.isSome()},u=function(t){Y(t,s)},s=function(t){e.each((function(e){setTimeout((function(){t(e)}),0)}))};return t(i),{get:o,map:r,isReady:a}},DD=function(t){return OD((function(e){e(t)}))},ED={nu:OD,pure:DD},AD=function(t){setTimeout((function(){throw t}),0)},MD=function(t){var e=function(e){t().then(e,AD)},n=function(e){return MD((function(){return t().then(e)}))},r=function(e){return MD((function(){return t().then((function(t){return e(t).toPromise()}))}))},o=function(e){return MD((function(){return t().then((function(){return e.toPromise()}))}))},i=function(){return ED.nu(e)},a=function(){var e=null;return MD((function(){return null===e&&(e=t()),e}))},u=t;return{map:n,bind:r,anonBind:o,toLazy:i,toCached:a,toPromise:u,get:e}},ND=function(t){return MD((function(){return new TD(t)}))},RD=function(t){return MD((function(){return TD.resolve(t)}))},zD={nu:ND,pure:RD},PD=["input","textarea"],ID=function(t){var e=zi(t);return j(PD,e)},LD=function(t,e){var n=e.getRoot(t).getOr(t.element);Eu(n,e.invalidClass),e.notify.each((function(e){ID(t.element)&&ha(t.element,"aria-invalid",!1),e.getContainer(t).each((function(t){la(t,e.validHtml)})),e.onValid(t)}))},BD=function(t,e,n,r){var o=e.getRoot(t).getOr(t.element);Ou(o,e.invalidClass),e.notify.each((function(e){ID(t.element)&&ha(t.element,"aria-invalid",!0),e.getContainer(t).each((function(t){la(t,r)})),e.onInvalid(t,r)}))},HD=function(t,e,n){return e.validator.fold((function(){return zD.pure(gt.value(!0))}),(function(e){return e.validate(t)}))},FD=function(t,e,n){return e.notify.each((function(e){e.onValidate(t)})),HD(t,e).map((function(r){return t.getSystem().isConnected()?r.fold((function(r){return BD(t,e,n,r),gt.error(r)}),(function(n){return LD(t,e),gt.value(n)})):gt.error("No longer in system")}))},jD=function(t,e){var n=e.getRoot(t).getOr(t.element);return Au(n,e.invalidClass)},VD=Object.freeze({__proto__:null,markValid:LD,markInvalid:BD,query:HD,run:FD,isInvalid:jD}),WD=function(t,n){return t.validator.map((function(r){return gi([wi(r.onEvent,(function(e){FD(e,t,n).get(a)}))].concat(r.validateOnLoad?[Ai((function(r){FD(r,t,n).get(e)}))]:[]))})).getOr({})},UD=Object.freeze({__proto__:null,events:WD}),$D=[yn("invalidClass"),Bn("getRoot",_.none),In("notify",[Bn("aria","alert"),Bn("getContainer",_.none),Bn("validHtml",""),Bc("onValid"),Bc("onInvalid"),Bc("onValidate")]),In("validator",[yn("validate"),Bn("onEvent","input"),Bn("validateOnLoad",!0)])],YD=Vl({fields:$D,name:"invalidating",active:UD,apis:VD,extra:{validation:function(t){return function(e){var n=Gp.getValue(e);return zD.pure(t(n))}}}}),qD=function(t,e,n,r){return n.getOrCreate(t,e,r)},GD=Object.freeze({__proto__:null,getCoupled:qD}),KD=[wn("others",tn(gt.value,ln()))],XD=function(){var t={},e=function(e,n,r){var o=Dt(n.others);if(o)return Ht(t,r).getOrThunk((function(){var o=Ht(n.others,r).getOrDie("No information found for coupled component: "+r),i=o(e),a=e.getSystem().build(i);return t[r]=a,a}));throw new Error("Cannot find coupled component: "+r+". Known coupled components: "+JSON.stringify(o,null,2))},n=i({});return Ga({readState:n,getOrCreate:e})},JD=Object.freeze({__proto__:null,init:XD}),QD=Vl({fields:KD,name:"coupling",apis:GD,state:JD}),ZD=i("sink"),tE=i(Em({name:ZD(),overrides:i({dom:{tag:"div"},behaviours:Fl([Nh.config({useFixed:f})]),events:gi([Oi(Ao()),Oi(Co()),Oi(zo())])})}));(function(t){t[t["HighlightFirst"]=0]="HighlightFirst",t[t["HighlightNone"]=1]="HighlightNone"})(SD||(SD={}));var eE=function(t,e){var n=t.getHotspot(e).getOr(e),r="hotspot",o=t.getAnchorOverrides();return t.layouts.fold((function(){return{anchor:r,hotspot:n,overrides:o}}),(function(t){return{anchor:r,hotspot:n,overrides:o,layouts:t}}))},nE=function(t,e,n){var r=t.fetch;return r(n).map(e)},rE=function(t,e,n,r,o,i,a){var u=nE(t,e,r),s=sE(r,t);return u.map((function(t){return t.bind((function(t){return _.from(zw.sketch(h(h({},i.menu()),{uid:Pa(""),data:t,highlightImmediately:a===SD.HighlightFirst,onOpenMenu:function(t,e){var r=s().getOrDie();Nh.position(r,n,e),dp.decloak(o)},onOpenSubmenu:function(t,e,n){var r=s().getOrDie();Nh.position(r,{anchor:"submenu",item:e},n),dp.decloak(o)},onRepositionMenu:function(t,e,r){var o=s().getOrDie();Nh.position(o,n,e),Y(r,(function(t){Nh.position(o,{anchor:"submenu",item:t.triggeringItem},t.triggeredMenu)}))},onEscape:function(){return Ny.focus(r),dp.close(o),_.some(!0)}})))}))}))},oE=function(t,e,n,r,o,i,a){var u=eE(t,n),s=rE(t,e,u,n,r,o,a);return s.map((function(t){return t.fold((function(){dp.isOpen(r)&&dp.close(r)}),(function(t){dp.cloak(r),dp.open(r,t),i(r)})),r}))},iE=function(t,e,n,r,o,i,a){return dp.close(r),zD.pure(r)},aE=function(t,e,n,r,o,i){var a=QD.getCoupled(n,"sandbox"),u=dp.isOpen(a),s=u?iE:oE;return s(t,e,n,a,r,o,i)},uE=function(t,e,n){var r=yg.getCurrent(e).getOr(e),o=zs(t.element);n?Ku(r.element,"min-width",o+"px"):Rs(r.element,o)},sE=function(t,e){return t.getSystem().getByUid(e.uid+"-"+ZD()).map((function(t){return function(){return gt.value(t)}})).getOrThunk((function(){return e.lazySink.fold((function(){return function(){return gt.error(new Error("No internal sink is specified, nor could an external sink be found"))}}),(function(e){return function(){return e(t)}}))}))},cE=function(t){dp.getState(t).each((function(t){zw.repositionMenus(t)}))},lE=function(t,e,n){var r=vc(),o=function(o,i){var a=eE(t,e);r.link(e.element),t.matchWidth&&uE(a.hotspot,i,t.useMinWidth),t.onOpen(a,o,i),void 0!==n&&void 0!==n.onOpen&&n.onOpen(o,i)},i=function(t,o){r.unlink(e.element),void 0!==n&&void 0!==n.onClose&&n.onClose(t,o)},a=sE(e,t);return{dom:{tag:"div",classes:t.sandboxClasses,attributes:{id:r.id,role:"listbox"}},behaviours:Qp.augment(t.sandboxBehaviours,[Gp.config({store:{mode:"memory",initialValue:e}}),dp.config({onOpen:o,onClose:i,isPartOf:function(t,n,r){return yc(n,r)||yc(e,r)},getAttachPoint:function(){return a().getOrDie()}}),yg.config({find:function(t){return dp.getState(t).bind((function(t){return yg.getCurrent(t)}))}}),Yl.config({channels:h(h({},vp({isExtraPart:l})),yp({doReposition:cE}))})])}},fE=function(t){var e=QD.getCoupled(t,"sandbox");cE(e)},dE=function(){return[Bn("sandboxClasses",[]),Qp.field("sandboxBehaviours",[yg,Yl,dp,Gp])]},hE=i([yn("dom"),yn("fetch"),Bc("onOpen"),Hc("onExecute"),Bn("getHotspot",_.some),Bn("getAnchorOverrides",i({})),Vf(),Kp("dropdownBehaviours",[Jy,QD,fy,Ny]),yn("toggleClass"),Bn("eventOrder",{}),An("lazySink"),Bn("matchWidth",!1),Bn("useMinWidth",!1),An("role")].concat(dE())),pE=i([Dm({schema:[Pc()],name:"menu",defaults:function(t){return{onExecute:t.onExecute}}}),tE()]),mE=function(t,n,r,o){var i,a=function(e){return Ht(t.dom,"attributes").bind((function(t){return Ht(t,e)}))},u=function(t){dp.getState(t).each((function(t){zw.highlightPrimary(t)}))},s=function(n){var r=u;aE(t,(function(t){return t}),n,o,r,SD.HighlightFirst).get(e)},c={expand:function(n){Jy.isOn(n)||aE(t,(function(t){return t}),n,o,e,SD.HighlightNone).get(e)},open:function(n){Jy.isOn(n)||aE(t,(function(t){return t}),n,o,e,SD.HighlightFirst).get(e)},isOpen:Jy.isOn,close:function(n){Jy.isOn(n)&&aE(t,(function(t){return t}),n,o,e,SD.HighlightFirst).get(e)},repositionMenus:function(t){Jy.isOn(t)&&fE(t)}},l=function(t,e){return di(t),_.some(!0)};return{uid:t.uid,dom:t.dom,components:n,behaviours:Jp(t.dropdownBehaviours,[Jy.config({toggleClass:t.toggleClass,aria:{mode:"expanded"}}),QD.config({others:{sandbox:function(e){return lE(t,e,{onOpen:function(){Jy.on(e)},onClose:function(){Jy.off(e)}})}}}),fy.config({mode:"special",onSpace:l,onEnter:l,onDown:function(t,e){if(gE.isOpen(t)){var n=QD.getCoupled(t,"sandbox");u(n)}else gE.open(t);return _.some(!0)},onEscape:function(t,e){return gE.isOpen(t)?(gE.close(t),_.some(!0)):_.none()}}),Ny.config({})]),events:Zy(_.some(s)),eventOrder:h(h({},t.eventOrder),(i={},i[Wo()]=["disabling","toggling","alloy.base.behaviour"],i)),apis:c,domModification:{attributes:h(h({"aria-haspopup":"true"},t.role.fold((function(){return{}}),(function(t){return{role:t}}))),"button"===t.dom.tag?{type:a("type").getOr("button")}:{})}}},gE=sg({name:"Dropdown",configFields:hE(),partFields:pE(),factory:mE,apis:{open:function(t,e){return t.open(e)},expand:function(t,e){return t.expand(e)},close:function(t,e){return t.close(e)},isOpen:function(t,e){return t.isOpen(e)},repositionMenus:function(t,e){return t.repositionMenus(e)}}}),vE=function(){return Za({styles:{"-webkit-user-select":"none","user-select":"none","-ms-user-select":"none","-moz-user-select":"-moz-none"},attributes:{unselectable:"on"}})},bE=function(){return gi([vi(Io(),f)])},yE=Object.freeze({__proto__:null,events:bE,exhibit:vE}),wE=Vl({fields:[],name:"unselecting",active:yE}),_E=function(t,e){return gE.sketch({dom:t.dom,components:t.components,toggleClass:"mce-active",dropdownBehaviours:Fl([qk.button(e.providers.isDisabled),Vk(),wE.config({}),ZO.config({})]),layouts:t.layouts,sandboxClasses:["tox-dialog__popups"],lazySink:e.getSink,fetch:function(n){return zD.nu((function(e){return t.fetch(e)})).map((function(r){return _.from(uO(Gt(DT(Oa("menu-value"),r,(function(e){t.onItemAction(n,e)}),t.columns,t.presets,sx.CLOSE_ON_EXECUTE,(function(){return!1}),e.providers),{movement:AT(t.columns,t.presets)})))}))},parts:{menu:Ix(!1,1,t.presets)}})},xE=Oa("color-input-change"),CE=Oa("color-swatch-change"),kE=Oa("color-picker-cancel"),SE=function(t,e,n){var r=KO.parts.field({factory:xD,inputClasses:["tox-textfield"],onSetValue:function(t){return YD.run(t).get((function(){}))},inputBehaviours:Fl([KC.config({disabled:e.providers.isDisabled}),Vk(),ZO.config({}),YD.config({invalidClass:"tox-textbox-field-invalid",getRoot:function(t){return $i(t.element)},notify:{onValid:function(t){var e=Gp.getValue(t);fi(t,xE,{color:e})}},validator:{validateOnLoad:!1,validate:function(t){var e=Gp.getValue(t);if(0===e.length)return zD.pure(gt.value(!0));var n=er.fromTag("span");Ku(n,"background-color",e);var r=ts(n,"background-color").fold((function(){return gt.error("blah")}),(function(t){return gt.value(e)}));return zD.pure(r)}}})]),selectOnFocus:!1}),o=t.label.map((function(t){return aD(t,e.providers)})),i=function(t,e){fi(t,CE,{value:e})},a=function(t,e){u.getOpt(t).each((function(t){"custom"===e?n.colorPicker((function(e){e.fold((function(){return li(t,kE)}),(function(e){i(t,e),dT(e)}))}),"#ffffff"):i(t,"remove"===e?"":e)}))},u=Qw(_E({dom:{tag:"span",attributes:{"aria-label":e.providers.translate("Color swatch")}},layouts:{onRtl:function(){return[gl,ml,wl]},onLtr:function(){return[ml,gl,wl]}},components:[],fetch:xT(n.getColors(),n.hasCustomColors()),columns:n.getColorCols(),presets:"color",onItemAction:a},e));return KO.sketch({dom:{tag:"div",classes:["tox-form__group"]},components:o.toArray().concat([{dom:{tag:"div",classes:["tox-color-input"]},components:[r,u.asSpec()]}]),fieldBehaviours:Fl([Cy("form-field-events",[wi(xE,(function(e,n){u.getOpt(e).each((function(t){Ku(t.element,"background-color",n.event.color)})),fi(e,uD,{name:t.name})})),wi(CE,(function(t,e){KO.getField(t).each((function(n){Gp.setValue(n,e.event.value),yg.getCurrent(t).each(Ny.focus)}))})),wi(kE,(function(t,e){KO.getField(t).each((function(e){yg.getCurrent(t).each(Ny.focus)}))}))])])})},TE=function(t,e,n){return{hue:t,saturation:e,value:n}},OE=function(t){var e=0,n=0,r=0,o=t.red/255,i=t.green/255,a=t.blue/255,u=Math.min(o,Math.min(i,a)),s=Math.max(o,Math.max(i,a));if(u===s)return r=u,TE(0,0,100*r);var c=o===u?i-a:a===u?o-i:a-o;return e=o===u?3:a===u?1:5,e=60*(e-c/(s-u)),n=(s-u)/s,r=s,TE(Math.round(e),Math.round(100*n),Math.round(100*r))},DE=function(t){var e=(100-t)/100*360,n=TE(e,100,100),r=VS(n);return zS(r)},EE=Oa("rgb-hex-update"),AE=Oa("slider-update"),ME=Oa("palette-update"),NE=Em({schema:[yn("dom")],name:"label"}),RE=function(t){return Em({name:t+"-edge",overrides:function(e){var n=e.model.manager.edgeActions[t];return n.fold((function(){return{}}),(function(t){return{events:gi([_i(yo(),(function(e,n,r){return t(e,r)}),[e]),_i(Co(),(function(e,n,r){return t(e,r)}),[e]),_i(ko(),(function(e,n,r){r.mouseIsDown.get()&&t(e,r)}),[e])])}}))}})},zE=RE("top-left"),PE=RE("top"),IE=RE("top-right"),LE=RE("right"),BE=RE("bottom-right"),HE=RE("bottom"),FE=RE("bottom-left"),jE=RE("left"),VE=Om({name:"thumb",defaults:i({dom:{styles:{position:"absolute"}}}),overrides:function(t){return{events:gi([Si(yo(),t,"spectrum"),Si(wo(),t,"spectrum"),Si(_o(),t,"spectrum"),Si(Co(),t,"spectrum"),Si(ko(),t,"spectrum"),Si(To(),t,"spectrum")])}}}),WE=Om({schema:[Gn("mouseIsDown",(function(){return Kn(!1)}))],name:"spectrum",overrides:function(t){var e=t.model,n=e.manager,r=function(e,r){return n.getValueFromEvent(r).map((function(r){return n.setValueFrom(e,t,r)}))};return{behaviours:Fl([fy.config({mode:"special",onLeft:function(e){return n.onLeft(e,t)},onRight:function(e){return n.onRight(e,t)},onUp:function(e){return n.onUp(e,t)},onDown:function(e){return n.onDown(e,t)}}),Ny.config({})]),events:gi([wi(yo(),r),wi(wo(),r),wi(Co(),r),wi(ko(),(function(e,n){t.mouseIsDown.get()&&r(e,n)}))])}}}),UE=[NE,jE,LE,PE,HE,zE,IE,FE,BE,VE,WE],$E="slider.change.value",YE=i($E),qE=function(t){return-1!==t.type.indexOf("touch")},GE=function(t){var e=t.event.raw;if(qE(e)){var n=e;return void 0!==n.touches&&1===n.touches.length?_.some(n.touches[0]).map((function(t){return Os(t.clientX,t.clientY)})):_.none()}var r=e;return void 0!==r.clientX?_.some(r).map((function(t){return Os(t.clientX,t.clientY)})):_.none()},KE="top",XE="right",JE="bottom",QE="left",ZE=function(t){return t.model.minX},tA=function(t){return t.model.minY},eA=function(t){return t.model.minX-1},nA=function(t){return t.model.minY-1},rA=function(t){return t.model.maxX},oA=function(t){return t.model.maxY},iA=function(t){return t.model.maxX+1},aA=function(t){return t.model.maxY+1},uA=function(t,e,n){return e(t)-n(t)},sA=function(t){return uA(t,rA,ZE)},cA=function(t){return uA(t,oA,tA)},lA=function(t){return sA(t)/2},fA=function(t){return cA(t)/2},dA=function(t){return t.stepSize},hA=function(t){return t.snapToGrid},pA=function(t){return t.snapStart},mA=function(t){return t.rounded},gA=function(t,e){return void 0!==t[e+"-edge"]},vA=function(t){return gA(t,QE)},bA=function(t){return gA(t,XE)},yA=function(t){return gA(t,KE)},wA=function(t){return gA(t,JE)},_A=function(t){return t.model.value.get()},xA=function(t){return{x:t}},CA=function(t){return{y:t}},kA=function(t,e){return{x:t,y:e}},SA=function(t,e){fi(t,YE(),{value:e})},TA=function(t,e){SA(t,kA(eA(e),nA(e)))},OA=function(t,e){SA(t,CA(nA(e)))},DA=function(t,e){SA(t,kA(lA(e),nA(e)))},EA=function(t,e){SA(t,kA(iA(e),nA(e)))},AA=function(t,e){SA(t,xA(iA(e)))},MA=function(t,e){SA(t,kA(iA(e),fA(e)))},NA=function(t,e){SA(t,kA(iA(e),aA(e)))},RA=function(t,e){SA(t,CA(aA(e)))},zA=function(t,e){SA(t,kA(lA(e),aA(e)))},PA=function(t,e){SA(t,kA(eA(e),aA(e)))},IA=function(t,e){SA(t,xA(eA(e)))},LA=function(t,e){SA(t,kA(eA(e),fA(e)))},BA=function(t,e,n,r){return tn?n:t===e?e-1:Math.max(e,t-r)},HA=function(t,e,n,r){return t>n?t:td)return m;var g=VA(o,f,d),v=FA(g/h*r+e,p,m);return a&&v>=e&&v<=n?jA(v,e,n,i,u):s?Math.round(v):v},UA=function(t){var e=t.min,n=t.max,r=t.range,o=t.value,i=t.hasMinEdge,a=t.hasMaxEdge,u=t.maxBound,s=t.maxOffset,c=t.centerMinEdge,l=t.centerMaxEdge;return on?a?u:l:(o-e)/r*s},$A="top",YA="right",qA="bottom",GA="left",KA="width",XA="height",JA=function(t){return t.element.dom.getBoundingClientRect()},QA=function(t,e){return t[e]},ZA=function(t){var e=JA(t);return QA(e,GA)},tM=function(t){var e=JA(t);return QA(e,YA)},eM=function(t){var e=JA(t);return QA(e,$A)},nM=function(t){var e=JA(t);return QA(e,qA)},rM=function(t){var e=JA(t);return QA(e,KA)},oM=function(t){var e=JA(t);return QA(e,XA)},iM=function(t,e,n){return(t+e)/2-n},aM=function(t,e){var n=JA(t),r=JA(e),o=QA(n,GA),i=QA(n,YA),a=QA(r,GA);return iM(o,i,a)},uM=function(t,e){var n=JA(t),r=JA(e),o=QA(n,$A),i=QA(n,qA),a=QA(r,$A);return iM(o,i,a)},sM=function(t,e){fi(t,YE(),{value:e})},cM=function(t){return{x:t}},lM=function(t,e,n){var r={min:ZE(e),max:rA(e),range:sA(e),value:n,step:dA(e),snap:hA(e),snapStart:pA(e),rounded:mA(e),hasMinEdge:vA(e),hasMaxEdge:bA(e),minBound:ZA(t),maxBound:tM(t),screenRange:rM(t)};return WA(r)},fM=function(t,e,n){var r=lM(t,e,n),o=cM(r);return sM(t,o),r},dM=function(t,e){var n=ZE(e);sM(t,cM(n))},hM=function(t,e){var n=rA(e);sM(t,cM(n))},pM=function(t,e,n){var r=t>0?HA:BA,o=r(_A(n).x,ZE(n),rA(n),dA(n));return sM(e,cM(o)),_.some(o)},mM=function(t){return function(e,n){return pM(t,e,n).map((function(){return!0}))}},gM=function(t){var e=GE(t);return e.map((function(t){return t.left}))},vM=function(t,e,n,r,o){var i=0,a=rM(t),u=r.bind((function(e){return _.some(aM(e,t))})).getOr(i),s=o.bind((function(e){return _.some(aM(e,t))})).getOr(a),c={min:ZE(e),max:rA(e),range:sA(e),value:n,hasMinEdge:vA(e),hasMaxEdge:bA(e),minBound:ZA(t),minOffset:i,maxBound:tM(t),maxOffset:a,centerMinEdge:u,centerMaxEdge:s};return UA(c)},bM=function(t,e,n,r,o,i){var a=vM(e,i,n,r,o);return ZA(e)-ZA(t)+a},yM=function(t,e,n,r){var o=_A(n),i=bM(t,r.getSpectrum(t),o.x,r.getLeftEdge(t),r.getRightEdge(t),n),a=zs(e.element)/2;Ku(e.element,"left",i-a+"px")},wM=mM(-1),_M=mM(1),xM=_.none,CM=_.none,kM={"top-left":_.none(),top:_.none(),"top-right":_.none(),right:_.some(AA),"bottom-right":_.none(),bottom:_.none(),"bottom-left":_.none(),left:_.some(IA)},SM=Object.freeze({__proto__:null,setValueFrom:fM,setToMin:dM,setToMax:hM,findValueOfOffset:lM,getValueFromEvent:gM,findPositionOfValue:bM,setPositionFromValue:yM,onLeft:wM,onRight:_M,onUp:xM,onDown:CM,edgeActions:kM}),TM=function(t,e){fi(t,YE(),{value:e})},OM=function(t){return{y:t}},DM=function(t,e,n){var r={min:tA(e),max:oA(e),range:cA(e),value:n,step:dA(e),snap:hA(e),snapStart:pA(e),rounded:mA(e),hasMinEdge:yA(e),hasMaxEdge:wA(e),minBound:eM(t),maxBound:nM(t),screenRange:oM(t)};return WA(r)},EM=function(t,e,n){var r=DM(t,e,n),o=OM(r);return TM(t,o),r},AM=function(t,e){var n=tA(e);TM(t,OM(n))},MM=function(t,e){var n=oA(e);TM(t,OM(n))},NM=function(t,e,n){var r=t>0?HA:BA,o=r(_A(n).y,tA(n),oA(n),dA(n));return TM(e,OM(o)),_.some(o)},RM=function(t){return function(e,n){return NM(t,e,n).map((function(){return!0}))}},zM=function(t){var e=GE(t);return e.map((function(t){return t.top}))},PM=function(t,e,n,r,o){var i=0,a=oM(t),u=r.bind((function(e){return _.some(uM(e,t))})).getOr(i),s=o.bind((function(e){return _.some(uM(e,t))})).getOr(a),c={min:tA(e),max:oA(e),range:cA(e),value:n,hasMinEdge:yA(e),hasMaxEdge:wA(e),minBound:eM(t),minOffset:i,maxBound:nM(t),maxOffset:a,centerMinEdge:u,centerMaxEdge:s};return UA(c)},IM=function(t,e,n,r,o,i){var a=PM(e,i,n,r,o);return eM(e)-eM(t)+a},LM=function(t,e,n,r){var o=_A(n),i=IM(t,r.getSpectrum(t),o.y,r.getTopEdge(t),r.getBottomEdge(t),n),a=Cs(e.element)/2;Ku(e.element,"top",i-a+"px")},BM=_.none,HM=_.none,FM=RM(-1),jM=RM(1),VM={"top-left":_.none(),top:_.some(OA),"top-right":_.none(),right:_.none(),"bottom-right":_.none(),bottom:_.some(RA),"bottom-left":_.none(),left:_.none()},WM=Object.freeze({__proto__:null,setValueFrom:EM,setToMin:AM,setToMax:MM,findValueOfOffset:DM,getValueFromEvent:zM,findPositionOfValue:IM,setPositionFromValue:LM,onLeft:BM,onRight:HM,onUp:FM,onDown:jM,edgeActions:VM}),UM=function(t,e){fi(t,YE(),{value:e})},$M=function(t,e){return{x:t,y:e}},YM=function(t,e,n){var r=lM(t,e,n.left),o=DM(t,e,n.top),i=$M(r,o);return UM(t,i),i},qM=function(t,e,n,r){var o=t>0?HA:BA,i=e?_A(r).x:o(_A(r).x,ZE(r),rA(r),dA(r)),a=e?o(_A(r).y,tA(r),oA(r),dA(r)):_A(r).y;return UM(n,$M(i,a)),_.some(i)},GM=function(t,e){return function(n,r){return qM(t,e,n,r).map((function(){return!0}))}},KM=function(t,e){var n=ZE(e),r=tA(e);UM(t,$M(n,r))},XM=function(t,e){var n=rA(e),r=oA(e);UM(t,$M(n,r))},JM=function(t){return GE(t)},QM=function(t,e,n,r){var o=_A(n),i=bM(t,r.getSpectrum(t),o.x,r.getLeftEdge(t),r.getRightEdge(t),n),a=IM(t,r.getSpectrum(t),o.y,r.getTopEdge(t),r.getBottomEdge(t),n),u=zs(e.element)/2,s=Cs(e.element)/2;Ku(e.element,"left",i-u+"px"),Ku(e.element,"top",a-s+"px")},ZM=GM(-1,!1),tN=GM(1,!1),eN=GM(-1,!0),nN=GM(1,!0),rN={"top-left":_.some(TA),top:_.some(DA),"top-right":_.some(EA),right:_.some(MA),"bottom-right":_.some(NA),bottom:_.some(zA),"bottom-left":_.some(PA),left:_.some(LA)},oN=Object.freeze({__proto__:null,setValueFrom:YM,setToMin:KM,setToMax:XM,getValueFromEvent:JM,setPositionFromValue:QM,onLeft:ZM,onRight:tN,onUp:eN,onDown:nN,edgeActions:rN}),iN=[Bn("stepSize",1),Bn("onChange",e),Bn("onChoose",e),Bn("onInit",e),Bn("onDragStart",e),Bn("onDragEnd",e),Bn("snapToGrid",!1),Bn("rounded",!0),An("snapStart"),wn("model",sn("mode",{x:[Bn("minX",0),Bn("maxX",100),Gn("value",(function(t){return Kn(t.mode.minX)})),yn("getInitialValue"),Vc("manager",SM)],y:[Bn("minY",0),Bn("maxY",100),Gn("value",(function(t){return Kn(t.mode.minY)})),yn("getInitialValue"),Vc("manager",WM)],xy:[Bn("minX",0),Bn("maxX",100),Bn("minY",0),Bn("maxY",100),Gn("value",(function(t){return Kn({x:t.mode.minX,y:t.mode.minY})})),yn("getInitialValue"),Vc("manager",oN)]})),Kp("sliderBehaviours",[fy,Gp]),Gn("mouseIsDown",(function(){return Kn(!1)}))],aN=function(t,e,n,r){var o,i=function(e){return Wm(e,t,"thumb")},a=function(e){return Wm(e,t,"spectrum")},u=function(e){return Vm(e,t,"left-edge")},s=function(e){return Vm(e,t,"right-edge")},c=function(e){return Vm(e,t,"top-edge")},l=function(e){return Vm(e,t,"bottom-edge")},d=t.model,h=d.manager,p=function(e,n){h.setPositionFromValue(e,n,t,{getLeftEdge:u,getRightEdge:s,getTopEdge:c,getBottomEdge:l,getSpectrum:a})},m=function(e,n){d.value.set(n);var r=i(e);return p(e,r),t.onChange(e,r,n),_.some(!0)},g=function(e){h.setToMin(e,t)},v=function(e){h.setToMax(e,t)},b=function(e){var n=function(){Vm(e,t,"thumb").each((function(n){var r=d.value.get();t.onChoose(e,n,r)}))},r=t.mouseIsDown.get();t.mouseIsDown.set(!1),r&&n()},y=function(e,n){n.stop(),t.mouseIsDown.set(!0),t.onDragStart(e,i(e))},w=function(e,n){n.stop(),t.onDragEnd(e,i(e)),b(e)};return{uid:t.uid,dom:t.dom,components:e,behaviours:Jp(t.sliderBehaviours,[fy.config({mode:"special",focusIn:function(e){return Vm(e,t,"spectrum").map(fy.focusIn).map(f)}}),Gp.config({store:{mode:"manual",getValue:function(t){return d.value.get()}}}),Yl.config({channels:(o={},o[mp()]={onReceive:b},o)})]),events:gi([wi(YE(),(function(t,e){m(t,e.event.value)})),Ai((function(e,n){var r=d.getInitialValue();d.value.set(r);var o=i(e);p(e,o);var u=a(e);t.onInit(e,o,u,d.value.get())})),wi(yo(),y),wi(_o(),w),wi(Co(),y),wi(To(),w)]),apis:{resetToMin:g,resetToMax:v,changeValue:m,refresh:p},domModification:{styles:{position:"relative"}}}},uN=sg({name:"Slider",configFields:iN,partFields:UE,factory:aN,apis:{resetToMin:function(t,e){t.resetToMin(e)},resetToMax:function(t,e){t.resetToMax(e)},refresh:function(t,e){t.refresh(e)}}}),sN=function(t,e){var n=uN.parts.spectrum({dom:{tag:"div",classes:[e("hue-slider-spectrum")],attributes:{role:"presentation"}}}),r=uN.parts.thumb({dom:{tag:"div",classes:[e("hue-slider-thumb")],attributes:{role:"presentation"}}});return uN.sketch({dom:{tag:"div",classes:[e("hue-slider")],attributes:{role:"presentation"}},rounded:!1,model:{mode:"y",getInitialValue:i({y:0})},components:[n,r],sliderBehaviours:Fl([Ny.config({})]),onChange:function(t,e,n){fi(t,AE,{value:n})}})},cN="form",lN=[Kp("formBehaviours",[Gp])],fN=function(t){return""},dN=function(t){var e=function(){var t=[],e=function(e,n){return t.push(e),Lm(cN,fN(e),n)};return{field:e,record:function(){return t}}}(),n=t(e),r=e.record(),o=$(r,(function(t){return Om({name:t,pname:fN(t)})}));return tg(cN,lN,o,pN,n)},hN=function(t,e){return t.fold((function(){return gt.error(e)}),gt.value)},pN=function(t,e){return{uid:t.uid,dom:t.dom,components:e,behaviours:Jp(t.formBehaviours,[Gp.config({store:{mode:"manual",getValue:function(e){var n=$m(e,t);return Mt(n,(function(t,e){return t().bind((function(t){var n=yg.getCurrent(t);return hN(n,new Error("Cannot find a current component to extract the value from for form part '"+e+"': "+xa(t.element)))})).map(Gp.getValue)}))},setValue:function(e,n){At(n,(function(n,r){Vm(e,t,r).each((function(t){yg.getCurrent(t).each((function(t){Gp.setValue(t,n)}))}))}))}}})]),apis:{getField:function(e,n){return Vm(e,t,n).bind(yg.getCurrent)}}}},mN={getField:Ya((function(t,e,n){return t.getField(e,n)})),sketch:dN},gN=Oa("valid-input"),vN=Oa("invalid-input"),bN=Oa("validating-input"),yN="colorcustom.rgb.",wN=function(t,n,r,o){var i=function(e,r){return YD.config({invalidClass:n("invalid"),notify:{onValidate:function(t){fi(t,bN,{type:e})},onValid:function(t){fi(t,gN,{type:e,value:Gp.getValue(t)})},onInvalid:function(t){fi(t,vN,{type:e,value:Gp.getValue(t)})}},validator:{validate:function(e){var n=Gp.getValue(e),o=r(n)?gt.value(!0):gt.error(t("aria.input.invalid"));return zD.pure(o)},validateOnLoad:!1}})},a=function(r,o,a,u,s){var c=t(yN+"range"),l=KO.parts.label({dom:{tag:"label",innerHtml:a,attributes:{"aria-label":u}}}),f=KO.parts.field({data:s,factory:xD,inputAttributes:h({type:"text"},"hex"===o?{"aria-live":"polite"}:{}),inputClasses:[n("textfield")],inputBehaviours:Fl([i(o,r),ZO.config({})]),onSetValue:function(t){if(YD.isInvalid(t)){var n=YD.run(t);n.get(e)}}}),d=[l,f],p="hex"!==o?[KO.parts["aria-descriptor"]({text:c})]:[],m=d.concat(p);return{dom:{tag:"div",attributes:{role:"presentation"}},components:m}},u=function(t,e){var n=zS(e);return mN.getField(t,"hex").each((function(e){Ny.isFocused(e)||Gp.setValue(t,{hex:n.value})})),n},s=function(t,e){var n=e.red,r=e.green,o=e.blue;Gp.setValue(t,{red:n,green:r,blue:o})},c=Qw({dom:{tag:"div",classes:[n("rgba-preview")],styles:{"background-color":"white"},attributes:{role:"presentation"}}}),l=function(t,e){c.getOpt(t).each((function(t){Ku(t.element,"background-color","#"+e.value)}))},f=function(){var e={red:Kn(_.some(255)),green:Kn(_.some(255)),blue:Kn(_.some(255)),hex:Kn(_.some("ffffff"))},i=function(t,e){var n=WS(e);s(t,n),p(n)},f=function(t){return e[t].get()},d=function(t,n){e[t].set(n)},h=function(){return f("red").bind((function(t){return f("green").bind((function(e){return f("blue").map((function(n){return FS(t,e,n,1)}))}))}))},p=function(t){var e=t.red,n=t.green,r=t.blue;d("red",_.some(e)),d("green",_.some(n)),d("blue",_.some(r))},m=function(t,e){var n=e.event;"hex"!==n.type?d(n.type,_.none()):o(t)},g=function(t,e){r(t);var n=OS(e);d("hex",_.some(e));var o=WS(n);s(t,o),p(o),fi(t,EE,{hex:n}),l(t,n)},v=function(t,e,n){var r=parseInt(n,10);d(e,_.some(r)),h().each((function(e){var n=u(t,e);l(t,n)}))},b=function(t){return"hex"===t.type},y=function(t,e){var n=e.event;b(n)?g(t,n.value):v(t,n.type,n.value)},w=function(e){return{label:t(yN+e+".label"),description:t(yN+e+".description")}},x=w("red"),C=w("green"),k=w("blue"),S=w("hex");return Gt(mN.sketch((function(e){return{dom:{tag:"form",classes:[n("rgb-form")],attributes:{"aria-label":t("aria.color.picker")}},components:[e.field("red",KO.sketch(a(jS,"red",x.label,x.description,255))),e.field("green",KO.sketch(a(jS,"green",C.label,C.description,255))),e.field("blue",KO.sketch(a(jS,"blue",k.label,k.description,255))),e.field("hex",KO.sketch(a(AS,"hex",S.label,S.description,"ffffff"))),c.asSpec()],formBehaviours:Fl([YD.config({invalidClass:n("form-invalid")}),Cy("rgb-form-events",[wi(gN,y),wi(vN,m),wi(bN,m)])])}})),{apis:{updateHex:function(t,e){Gp.setValue(t,{hex:e.value}),i(t,e),l(t,e)}}})},d=ug({factory:f,name:"RgbForm",configFields:[],apis:{updateHex:function(t,e,n){t.updateHex(e,n)}},extraApis:{}});return d},_N=function(t,e){var n=uN.parts.spectrum({dom:{tag:"canvas",attributes:{role:"presentation"},classes:[e("sv-palette-spectrum")]}}),r=uN.parts.thumb({dom:{tag:"div",attributes:{role:"presentation"},classes:[e("sv-palette-thumb")],innerHtml:"'}}),o=function(t,e){var n=t.width,r=t.height,o=t.getContext("2d");if(null!==o){o.fillStyle=e,o.fillRect(0,0,n,r);var i=o.createLinearGradient(0,0,n,0);i.addColorStop(0,"rgba(255,255,255,1)"),i.addColorStop(1,"rgba(255,255,255,0)"),o.fillStyle=i,o.fillRect(0,0,n,r);var a=o.createLinearGradient(0,0,0,r);a.addColorStop(0,"rgba(0,0,0,0)"),a.addColorStop(1,"rgba(0,0,0,1)"),o.fillStyle=a,o.fillRect(0,0,n,r)}},a=function(t,e){var n=t.components()[0].element.dom;o(n,YS(e))},u=function(t){var a=i({x:0,y:0}),u=function(t,e,n){fi(t,ME,{value:n})},s=function(t,e,n,r){o(n.element.dom,YS(qS))},c=Fl([yg.config({find:_.some}),Ny.config({})]);return uN.sketch({dom:{tag:"div",attributes:{role:"presentation"},classes:[e("sv-palette")]},model:{mode:"xy",getInitialValue:a},rounded:!1,components:[n,r],onChange:u,onInit:s,sliderBehaviours:c})},s=ug({factory:u,name:"SaturationBrightnessPalette",configFields:[],apis:{setRgba:function(t,e,n){a(e,n)}},extraApis:{}});return s},xN=function(t,n){var r=function(e){var r=wN(t,n,e.onValidHex,e.onInvalidHex),o=_N(t,n),i={paletteRgba:Kn(qS)},a=Qw(o.sketch({})),u=Qw(r.sketch({})),s=function(t,e){a.getOpt(t).each((function(t){var n=WS(e);i.paletteRgba.set(n),o.setRgba(t,n)}))},c=function(t,e){u.getOpt(t).each((function(t){r.updateHex(t,e)}))},l=function(t,e,n){Y(n,(function(n){n(t,e)}))},f=function(){var t=[c];return function(e,n){var r=n.event.value,o=i.paletteRgba.get(),a=OE(o),u=TE(a.hue,r.x,100-r.y),s=VS(u),c=zS(s);l(e,c,t)}},d=function(){var t=[s,c];return function(e,n){var r=n.event.value,o=DE(r.y);l(e,o,t)}};return{uid:e.uid,dom:e.dom,components:[a.asSpec(),sN(t,n),u.asSpec()],behaviours:Fl([Cy("colour-picker-events",[wi(ME,f()),wi(AE,d())]),yg.config({find:function(t){return u.getOpt(t)}}),fy.config({mode:"acyclic"})])}},o=ug({name:"ColourPicker",configFields:[yn("dom"),Bn("onValidHex",e),Bn("onInvalidHex",e)],factory:r});return o},CN=function(){return yg.config({find:_.some})},kN=function(t){return yg.config({find:t.getOpt})},SN=function(t){return yg.config({find:function(e){return Xi(e.element,t).bind((function(t){return e.getSystem().getByDom(t).toOptional()}))}})},TN={self:CN,memento:kN,childAt:SN},ON={"colorcustom.rgb.red.label":"R","colorcustom.rgb.red.description":"Red component","colorcustom.rgb.green.label":"G","colorcustom.rgb.green.description":"Green component","colorcustom.rgb.blue.label":"B","colorcustom.rgb.blue.description":"Blue component","colorcustom.rgb.hex.label":"#","colorcustom.rgb.hex.description":"Hex color code","colorcustom.rgb.range":"Range 0 to 255","colorcustom.sb.saturation":"Saturation","colorcustom.sb.brightness":"Brightness","colorcustom.sb.picker":"Saturation and Brightness Picker","colorcustom.sb.palette":"Saturation and Brightness Palette","colorcustom.sb.instructions":"Use arrow keys to select saturation and brightness, on x and y axes","colorcustom.hue.hue":"Hue","colorcustom.hue.slider":"Hue Slider","colorcustom.hue.palette":"Hue Palette","colorcustom.hue.instructions":"Use arrow keys to select a hue","aria.color.picker":"Color Picker","aria.input.invalid":"Invalid input"},DN=function(t){return ON[t]},EN=function(t){return DN(t)},AN=function(t){var e=function(t){return"tox-"+t},n=xN(EN,e),r=function(t){fi(t,lD,{name:"hex-valid",value:!0})},o=function(t){fi(t,lD,{name:"hex-valid",value:!1})},i=Qw(n.sketch({dom:{tag:"div",classes:[e("color-picker-container")],attributes:{role:"presentation"}},onValidHex:r,onInvalidHex:o}));return{dom:{tag:"div"},components:[i.asSpec()],behaviours:Fl([Gp.config({store:{mode:"manual",getValue:function(t){var e=i.get(t),n=yg.getCurrent(e),r=n.bind((function(t){var e=Gp.getValue(t);return e.hex}));return r.map((function(t){return"#"+t})).getOr("")},setValue:function(t,e){var n=/^#([a-fA-F0-9]{3}(?:[a-fA-F0-9]{3})?)/,r=n.exec(e),o=i.get(t),a=yg.getCurrent(o);a.fold((function(){}),(function(t){Gp.setValue(t,{hex:_.from(r[1]).getOr("")}),mN.getField(t,"hex").each((function(t){li(t,No())}))}))}}}),TN.self()])}},MN=tinymce.util.Tools.resolve("tinymce.Resource"),NN=function(t){return Object.prototype.hasOwnProperty.call(t,"init")},RN=function(t){var e=Kn(_.none()),n=Qw({dom:{tag:t.tag}}),r=Kn(_.none());return{dom:{tag:"div",classes:["tox-custom-editor"]},behaviours:Fl([Cy("custom-editor-events",[Ai((function(o){n.getOpt(o).each((function(n){(NN(t)?t.init(n.element.dom):MN.load(t.scriptId,t.scriptUrl).then((function(e){return e(n.element.dom,t.settings)}))).then((function(t){r.get().each((function(e){t.setValue(e)})),r.set(_.none()),e.set(_.some(t))}))}))}))]),Gp.config({store:{mode:"manual",getValue:function(){return e.get().fold((function(){return r.get().getOr("")}),(function(t){return t.getValue()}))},setValue:function(t,n){e.get().fold((function(){r.set(_.some(n))}),(function(t){return t.setValue(n)}))}}}),TN.self()]),components:[n.asSpec()]}},zN=tinymce.util.Tools.resolve("tinymce.util.Tools"),PN=Be([Bn("preprocess",a),Bn("postprocess",a)]),IN=function(t,e){var n=on("RepresentingConfigs.memento processors",PN,e);return Gp.config({store:{mode:"manual",getValue:function(e){var r=t.get(e),o=Gp.getValue(r);return n.postprocess(o)},setValue:function(e,r){var o=n.preprocess(r),i=t.get(e);Gp.setValue(i,o)}}})},LN=function(t,e,n){return Gp.config(Gt({store:{mode:"manual",getValue:e,setValue:n}},t.map((function(t){return{store:{initialValue:t}}})).getOr({})))},BN=function(t,e,n){return LN(t,(function(t){return e(t.element)}),(function(t,e){return n(t.element,e)}))},HN=function(t){return BN(t,is,as)},FN=function(t){return BN(t,ca,la)},jN=function(t){return Gp.config({store:{mode:"memory",initialValue:t}})},VN={memento:IN,withElement:BN,withComp:LN,domValue:HN,domHtml:FN,memory:jN},WN="jpeg,jpg,jpe,jfi,jif,jfif,png,gif,bmp,webp",UN=function(t,e){var n=zN.explode(e.getSetting("images_file_types",WN,"string")),r=function(t){return V(n,(function(e){return mr(t.name,"."+e)}))};return K(ft(t),r)},$N=function(t,e){var n=function(t,e){e.stop()},r=function(t){return function(e,n){Y(t,(function(t){t(e,n)}))}},o=function(t,e){if(!KC.isDisabled(t)){var n=e.event.raw;a(t,n.dataTransfer.files)}},i=function(t,e){var n=e.event.raw.target;a(t,n.files)},a=function(n,r){Gp.setValue(n,UN(r,e)),fi(n,uD,{name:t.name})},u=Qw({dom:{tag:"input",attributes:{type:"file",accept:"image/*"},styles:{display:"none"}},behaviours:Fl([Cy("input-file-events",[Oi(zo()),Oi($o())])])}),s=function(t){return{uid:t.uid,dom:{tag:"div",classes:["tox-dropzone-container"]},behaviours:Fl([VN.memory([]),TN.self(),KC.config({}),Jy.config({toggleClass:"dragenter",toggleOnExecute:!1}),Cy("dropzone-events",[wi("dragenter",r([n,Jy.toggle])),wi("dragleave",r([n,Jy.toggle])),wi("dragover",n),wi("drop",r([n,o])),wi(Ro(),i)])]),components:[{dom:{tag:"div",classes:["tox-dropzone"],styles:{}},components:[{dom:{tag:"p",innerHtml:e.translate("Drop an image here")}},Jw.sketch({dom:{tag:"button",innerHtml:e.translate("Browse for an image"),styles:{position:"relative"},classes:["tox-button","tox-button--secondary"]},components:[u.asSpec()],action:function(t){var e=u.get(t);e.element.dom.click()},buttonBehaviours:Fl([ZO.config({}),qk.button(e.isDisabled),Vk()])})]}]}},c=t.label.map((function(t){return aD(t,e)})),l=KO.parts.field({factory:{sketch:s}});return eD(c,l,["tox-form__group--stretched"],[])},YN=function(t,e){return{dom:{tag:"div",classes:["tox-form__grid","tox-form__grid--"+t.columns+"col"]},components:$(t.items,e.interpreter)}},qN=Oa("alloy-fake-before-tabstop"),GN=Oa("alloy-fake-after-tabstop"),KN=function(t){return{dom:{tag:"div",styles:{width:"1px",height:"1px",outline:"none"},attributes:{tabindex:"0"},classes:t},behaviours:Fl([Ny.config({ignore:!0}),ZO.config({})])}},XN=function(t){return{dom:{tag:"div",classes:["tox-navobj"]},components:[KN([qN]),t,KN([GN])],behaviours:Fl([TN.childAt(1)])}},JN=function(t,e){fi(t,Ao(),{raw:{which:9,shiftKey:e}})},QN=function(t,e){var n=e.element;Au(n,qN)?JN(t,!0):Au(n,GN)&&JN(t,!1)},ZN=function(t){return mO(t,["."+qN,"."+GN].join(","),l)},tR=!(qr().browser.isIE()||qr().browser.isEdge()),eR=function(t){var e=Kn("");return{getValue:function(t){return e.get()},setValue:function(n,r){if(t)ha(n.element,"srcdoc",r);else{ha(n.element,"src","javascript:''");var o=n.element.dom.contentWindow.document;o.open(),o.write(r),o.close()}e.set(r)}}},nR=function(t,e){var n=tR&&t.sandboxed,r=h(h({},t.label.map((function(t){return{title:t}})).getOr({})),n?{sandbox:"allow-scripts allow-same-origin"}:{}),o=eR(n),i=t.label.map((function(t){return aD(t,e)})),a=function(t){return XN({uid:t.uid,dom:{tag:"iframe",attributes:r},behaviours:Fl([ZO.config({}),Ny.config({}),VN.withComp(_.none(),o.getValue,o.setValue)])})},u=KO.parts.field({factory:{sketch:a}});return eD(i,u,["tox-form__group--stretched"],[])};function rR(t,e){return aR(document.createElement("canvas"),t,e)}function oR(t){var e=rR(t.width,t.height),n=iR(e);return n.drawImage(t,0,0),e}function iR(t){return t.getContext("2d")}function aR(t,e,n){return t.width=e,t.height=n,t}function uR(t){return t.naturalWidth||t.width}function sR(t){return t.naturalHeight||t.height}var cR=function(){var t=function(t){if("object"!==typeof this)throw new TypeError("Promises must be constructed via new");if("function"!==typeof t)throw new TypeError("not a function");this._state=null,this._value=null,this._deferreds=[],l(t,r(a,this),r(u,this))},e=window,n=t.immediateFn||"function"===typeof e.setImmediate&&e.setImmediate||function(t){setTimeout(t,1)};function r(t,e){return function(){return t.apply(e,arguments)}}var o=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)};function i(t){var e=this;null!==this._state?n((function(){var n=e._state?t.onFulfilled:t.onRejected;if(null!==n){var r;try{r=n(e._value)}catch(o){return void t.reject(o)}t.resolve(r)}else(e._state?t.resolve:t.reject)(e._value)})):this._deferreds.push(t)}function a(t){try{if(t===this)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"===typeof t||"function"===typeof t)){var e=t.then;if("function"===typeof e)return void l(r(e,t),r(a,this),r(u,this))}this._state=!0,this._value=t,s.call(this)}catch(n){u.call(this,n)}}function u(t){this._state=!1,this._value=t,s.call(this)}function s(){for(var t=0,e=this._deferreds;tn?r=n:rn?t=n:t2)&&(i=i<.5?.5:2,u=!0),(a<.5||a>2)&&(a=a<.5?.5:2,u=!0);var s=$R(t,i,a);return u?s.then((function(t){return UR(t,e,n)})):s}function $R(t,e,n){return new lR((function(r){var o=uR(t),i=sR(t),a=Math.floor(o*e),u=Math.floor(i*n),s=rR(a,u),c=iR(s);c.drawImage(t,0,0,o,i,0,0,a,u),r(s)}))}function YR(t,e){return t.toCanvas().then((function(n){return qR(n,t.getType(),e)}))}function qR(t,e,n){var r=rR(t.width,t.height),o=iR(r),i=0,a=0;return n=n<0?360+n:n,90!==n&&270!==n||aR(r,r.height,r.width),90!==n&&180!==n||(i=r.width),270!==n&&180!==n||(a=r.height),o.translate(i,a),o.rotate(n*Math.PI/180),o.drawImage(t,0,0),_R(r,e)}function GR(t,e){return t.toCanvas().then((function(n){return KR(n,t.getType(),e)}))}function KR(t,e,n){var r=rR(t.width,t.height),o=iR(r);return"v"===n?(o.scale(1,-1),o.drawImage(t,0,-r.height)):(o.scale(-1,1),o.drawImage(t,-r.width,0)),_R(r,e)}function XR(t,e,n,r,o){return t.toCanvas().then((function(i){return JR(i,t.getType(),e,n,r,o)}))}function JR(t,e,n,r,o,i){var a=rR(o,i),u=iR(a);return u.drawImage(t,-n,-r),_R(a,e)}function QR(t,e,n){return t.toCanvas().then((function(r){return UR(r,e,n).then((function(e){return _R(e,t.getType())}))}))}var ZR,tz=function(t){return BR(t)},ez=function(t){return VR(t)},nz=function(t,e){return WR(t,e)},rz=function(t,e,n,r){return jR(t,e,n,r)},oz=function(t,e){return HR(t,e)},iz=function(t,e){return FR(t,e)},az=function(t,e){return GR(t,e)},uz=function(t,e,n,r,o){return XR(t,e,n,r,o)},sz=function(t,e,n){return QR(t,e,n)},cz=function(t,e){return YR(t,e)},lz=function(t,e){return h({dom:{tag:"span",innerHtml:t,classes:["tox-icon","tox-tbtn__icon-wrap"]}},e)},fz=function(t,e){return lz(t_(t,e),{})},dz=function(t,e){return lz(t_(t,e),{behaviours:Fl([_y.config({})])})},hz=function(t,e,n){return{dom:{tag:"span",innerHtml:n.translate(t),classes:[e+"__select-label"]},behaviours:Fl([_y.config({})])}},pz=Oa("toolbar.button.execute"),mz=function(t){return Ri((function(e,n){Gk(t,e)((function(n){fi(e,pz,{buttonApi:n}),t.onAction(n)}))}))},gz=(ZR={},ZR[Wo()]=["disabling","alloy.base.behaviour","toggling","toolbar-button-events"],ZR),vz=Oa("update-menu-text"),bz=Oa("update-menu-icon"),yz=function(t,n,r){var o=Kn(e),i=t.text.map((function(t){return Qw(hz(t,n,r.providers))})),a=t.icon.map((function(t){return Qw(dz(t,r.providers.icons))})),s=function(t,e){var n=Gp.getValue(t);return Ny.focus(n),fi(n,"keydown",{raw:e.event.raw}),gE.close(n),_.some(!0)},c=t.role.fold((function(){return{}}),(function(t){return{role:t}})),l=t.tooltip.fold((function(){return{}}),(function(t){var e=r.providers.translate(t);return{title:e,"aria-label":e}})),f=Qw(gE.sketch(h(h(h({},t.uid?{uid:t.uid}:{}),c),{dom:{tag:"button",classes:[n,n+"--select"].concat($(t.classes,(function(t){return n+"--"+t}))),attributes:h({},l)},components:Zk([a.map((function(t){return t.asSpec()})),i.map((function(t){return t.asSpec()})),_.some({dom:{tag:"div",classes:[n+"__select-chevron"],innerHtml:t_("chevron-down",r.providers.icons)}})]),matchWidth:!0,useMinWidth:!0,dropdownBehaviours:Fl(m(t.dropdownBehaviours,[qk.button((function(){return t.disabled||r.providers.isDisabled()})),Vk(),wE.config({}),_y.config({}),Cy("dropdown-events",[Kk(t,o),Xk(t,o)]),Cy("menubutton-update-display-text",[wi(vz,(function(t,e){i.bind((function(e){return e.getOpt(t)})).each((function(t){_y.set(t,[gs(r.providers.translate(e.event.text))])}))})),wi(bz,(function(t,e){a.bind((function(e){return e.getOpt(t)})).each((function(t){_y.set(t,[dz(e.event.icon,r.providers.icons)])}))}))])])),eventOrder:Gt(gz,{mousedown:["focusing","alloy.base.behaviour","item-type-events","normal-dropdown-events"]}),sandboxBehaviours:Fl([fy.config({mode:"special",onLeft:s,onRight:s})]),lazySink:r.getSink,toggleClass:n+"--active",parts:{menu:Ix(!1,t.columns,t.presets)},fetch:function(e){return zD.nu(u(t.fetch,e))}})));return f.asSpec()},wz=function(t){return T(t)},_z=function(t){return"separator"===t.type},xz=function(t){return Ft(t,"getSubmenuItems")},Cz={type:"separator"},kz=function(t,e){var n=J(t,(function(t,n){return wz(n)?""===n?t:"|"===n?t.length>0&&!_z(t[t.length-1])?t.concat([Cz]):t:Ft(e,n.toLowerCase())?t.concat([e[n.toLowerCase()]]):t:t.concat([n])}),[]);return n.length>0&&_z(n[n.length-1])&&n.pop(),n},Sz=function(t,e){var n=t.getSubmenuItems(),r=Dz(n,e),o=Gt(r.menus,ce(t.value,r.items)),i=Gt(r.expansions,ce(t.value,t.value));return{item:t,menus:o,expansions:i}},Tz=function(t,e){return xz(t)?Sz(t,e):{item:t,menus:{},expansions:{}}},Oz=function(t){if(_z(t))return t;var e=Ht(t,"value").getOrThunk((function(){return Oa("generated-menu-item")}));return Gt({value:e},t)},Dz=function(t,e){var n=kz(T(t)?t.split(" "):t,e);return X(n,(function(t,n){var r=Oz(n),o=Tz(r,e);return{menus:Gt(t.menus,o.menus),items:[o.item].concat(t.items),expansions:Gt(t.expansions,o.expansions)}}),{menus:{},expansions:{},items:[]})},Ez=function(t,e,n,r){var o=Oa("primary-menu"),i=Dz(t,n.shared.providers.menuItems());if(0===i.items.length)return _.none();var a=aO(o,i.items,e,n,r),u=Mt(i.menus,(function(t,r){return aO(r,t,e,n,!1)})),s=Gt(u,ce(o,a));return _.from(zw.tieredData(o,s,i.expansions))},Az=function(t){return{isDisabled:function(){return KC.isDisabled(t)},setDisabled:function(e){return KC.set(t,e)},setActive:function(e){var n=t.element;e?(Ou(n,"tox-tbtn--enabled"),ha(n,"aria-pressed",!0)):(Eu(n,"tox-tbtn--enabled"),ba(n,"aria-pressed"))},isActive:function(){return Au(t.element,"tox-tbtn--enabled")}}},Mz=function(t,e,n,r){return yz({text:t.text,icon:t.icon,tooltip:t.tooltip,role:r,fetch:function(e,r){t.fetch((function(t){r(Ez(t,sx.CLOSE_ON_EXECUTE,n,!1))}))},onSetup:t.onSetup,getApi:Az,columns:1,presets:"normal",classes:[],dropdownBehaviours:[ZO.config({})]},e,n.shared)},Nz=function(t,e,n){var r=function(t){return function(r){var o=!r.isActive();r.setActive(o),t.storage.set(o),n.shared.getSink().each((function(n){e().getOpt(n).each((function(e){Xl(e.element),fi(e,lD,{name:t.name,value:t.storage.get()})}))}))}},o=function(t){return function(e){e.setActive(t.storage.get())}};return function(e){e($(t,(function(t){var e=t.text.fold((function(){return{}}),(function(t){return{text:t}}));return h(h({type:t.type,active:!1},e),{onAction:r(t),onSetup:o(t)})})))}},Rz=function(t,e,n,r,o,i){void 0===n&&(n=[]);var a=e.fold((function(){return{}}),(function(t){return{action:t}})),u=h({buttonBehaviours:Fl([qk.button((function(){return t.disabled||i.isDisabled()})),Vk(),ZO.config({}),Cy("button press",[yi("click"),yi("mousedown")])].concat(n)),eventOrder:{click:["button press","alloy.base.behaviour"],mousedown:["button press","alloy.base.behaviour"]}},a),s=Gt(u,{dom:r});return Gt(s,{components:o})},zz=function(t,e,n,r){void 0===r&&(r=[]);var o=t.tooltip.map((function(t){return{"aria-label":n.translate(t),title:n.translate(t)}})).getOr({}),i={tag:"button",classes:["tox-tbtn"],attributes:o},a=t.icon.map((function(t){return fz(t,n.icons)})),u=Zk([a]);return Rz(t,e,r,i,u,n)},Pz=function(t,e,n,r){void 0===r&&(r=[]);var o=zz(t,_.some(e),n,r);return Jw.sketch(o)},Iz=function(t,e,n,r,o){void 0===r&&(r=[]),void 0===o&&(o=[]);var i=n.translate(t.text),a=t.icon?t.icon.map((function(t){return fz(t,n.icons)})):_.none(),u=a.isSome()?Zk([a]):[],s=a.isSome()?{}:{innerHtml:i},c=m(t.primary||t.borderless?["tox-button"]:["tox-button","tox-button--secondary"],a.isSome()?["tox-button--icon"]:[],t.borderless?["tox-button--naked"]:[],o),l=h(h({tag:"button",classes:c},s),{attributes:{title:i}});return Rz(t,e,r,l,u,n)},Lz=function(t,e,n,r,o){void 0===r&&(r=[]),void 0===o&&(o=[]);var i=Iz(t,_.some(e),n,r,o);return Jw.sketch(i)},Bz=function(t,e){return function(n){"custom"===e?fi(n,lD,{name:t,value:{}}):"submit"===e?li(n,fD):"cancel"===e&&li(n,cD)}},Hz=function(t,e){return"menu"===e},Fz=function(t,e){return"custom"===e||"cancel"===e||"submit"===e},jz=function(t,n,r){if(Hz(t,n)){var o=function(){return u},i=t,a=h(h({},t),{onSetup:function(n){return n.setDisabled(t.disabled),e},fetch:Nz(i.items,o,r)}),u=Qw(Mz(a,"tox-tbtn",r,_.none()));return u.asSpec()}if(Fz(t,n)){var s=Bz(t.name,n),c=h(h({},t),{borderless:!1});return Lz(c,s,r.shared.providers,[])}},Vz=function(t,e){var n=Bz(t.name,"custom");return nD(_.none(),KO.parts.field(h({factory:Jw},Iz(t,_.some(n),e,[VN.memory(""),TN.self()]))))},Wz=i([Bn("field1Name","field1"),Bn("field2Name","field2"),Fc("onLockedChange"),Ic(["lockClass"]),Bn("locked",!1),Qp.field("coupledFieldBehaviours",[yg,Gp])]),Uz=function(t,e,n){return Vm(t,e,n).bind(yg.getCurrent)},$z=function(t,e){return Om({factory:KO,name:t,overrides:function(t){return{fieldBehaviours:Fl([Cy("coupled-input-behaviour",[wi(No(),(function(n){Uz(n,t,e).each((function(e){Vm(n,t,"lock").each((function(r){Jy.isOn(r)&&t.onLockedChange(n,e,r)}))}))}))])])}}})},Yz=i([$z("field1","field2"),$z("field2","field1"),Om({factory:Jw,schema:[yn("dom")],name:"lock",overrides:function(t){return{buttonBehaviours:Fl([Jy.config({selected:t.locked,toggleClass:t.markers.lockClass,aria:{mode:"pressed"}})])}}})]),qz=function(t,e,n,r){return{uid:t.uid,dom:t.dom,components:e,behaviours:Qp.augment(t.coupledFieldBehaviours,[yg.config({find:_.some}),Gp.config({store:{mode:"manual",getValue:function(e){var n,r=qm(e,t,["field1","field2"]);return n={},n[t.field1Name]=Gp.getValue(r.field1()),n[t.field2Name]=Gp.getValue(r.field2()),n},setValue:function(e,n){var r=qm(e,t,["field1","field2"]);jt(n,t.field1Name)&&Gp.setValue(r.field1(),n[t.field1Name]),jt(n,t.field2Name)&&Gp.setValue(r.field2(),n[t.field2Name])}}})]),apis:{getField1:function(e){return Vm(e,t,"field1")},getField2:function(e){return Vm(e,t,"field2")},getLock:function(e){return Vm(e,t,"lock")}}}},Gz=sg({name:"FormCoupledInputs",configFields:Wz(),partFields:Yz(),factory:qz,apis:{getField1:function(t,e){return t.getField1(e)},getField2:function(t,e){return t.getField2(e)},getLock:function(t,e){return t.getLock(e)}}}),Kz=function(t){var e={"":0,px:0,pt:1,mm:1,pc:2,ex:2,em:2,ch:2,rem:2,cm:3,in:4,"%":4},n=function(t){return t in e?e[t]:1},r=t.value.toFixed(n(t.unit));return-1!==r.indexOf(".")&&(r=r.replace(/\.?0*$/,"")),r+t.unit},Xz=function(t){var e=/^\s*(\d+(?:\.\d+)?)\s*(|cm|mm|in|px|pt|pc|em|ex|ch|rem|vw|vh|vmin|vmax|%)\s*$/,n=e.exec(t);if(null!==n){var r=parseFloat(n[1]),o=n[2];return gt.value({value:r,unit:o})}return gt.error(t)},Jz=function(t,e){var n={"":96,px:96,pt:72,cm:2.54,pc:12,mm:25.4,in:1},r=function(t){return Object.prototype.hasOwnProperty.call(n,t)};return t.unit===e?_.some(t.value):r(t.unit)&&r(e)?n[t.unit]===n[e]?_.some(t.value):_.some(t.value/n[t.unit]*n[e]):_.none()},Qz=function(t){return _.none()},Zz=function(t,e){return function(n){return Jz(n,e).map((function(n){return{value:n*t,unit:e}}))}},tP=function(t,e){var n=Xz(t).toOptional(),r=Xz(e).toOptional();return fg(n,r,(function(t,e){return Jz(t,e.unit).map((function(t){return e.value/t})).map((function(t){return Zz(t,e.unit)})).getOr(Qz)})).getOr(Qz)},eP=function(t,e){var n=Qz,r=Oa("ratio-event"),o=Gz.parts.lock({dom:{tag:"button",classes:["tox-lock","tox-button","tox-button--naked","tox-button--icon"],attributes:{title:e.translate(t.label.getOr("Constrain proportions"))}},components:[{dom:{tag:"span",classes:["tox-icon","tox-lock-icon__lock"],innerHtml:t_("lock",e.icons)}},{dom:{tag:"span",classes:["tox-icon","tox-lock-icon__unlock"],innerHtml:t_("unlock",e.icons)}}],buttonBehaviours:Fl([KC.config({disabled:function(){return t.disabled||e.isDisabled()}}),Vk(),ZO.config({})])}),i=function(t){return{dom:{tag:"div",classes:["tox-form__group"]},components:t}},a=function(n){return KO.parts.field({factory:xD,inputClasses:["tox-textfield"],inputBehaviours:Fl([KC.config({disabled:function(){return t.disabled||e.isDisabled()}}),Vk(),ZO.config({}),Cy("size-input-events",[wi(Do(),(function(t,e){fi(t,r,{isField1:n})})),wi(Ro(),(function(e,n){fi(e,uD,{name:t.name})}))])]),selectOnFocus:!1})},u=function(t){return{dom:{tag:"label",classes:["tox-label"],innerHtml:e.translate(t)}}},s=Gz.parts.field1(i([KO.parts.label(u("Width")),a(!0)])),c=Gz.parts.field2(i([KO.parts.label(u("Height")),a(!1)]));return Gz.sketch({dom:{tag:"div",classes:["tox-form__group"]},components:[{dom:{tag:"div",classes:["tox-form__controls-h-stack"]},components:[s,c,i([u(" "),o])]}],field1Name:"width",field2Name:"height",locked:!0,markers:{lockClass:"tox-locked"},onLockedChange:function(t,e,r){Xz(Gp.getValue(t)).each((function(t){n(t).each((function(t){Gp.setValue(e,Kz(t))}))}))},coupledFieldBehaviours:Fl([KC.config({disabled:function(){return t.disabled||e.isDisabled()},onDisabled:function(t){Gz.getField1(t).bind(KO.getField).each(KC.disable),Gz.getField2(t).bind(KO.getField).each(KC.disable),Gz.getLock(t).each(KC.disable)},onEnabled:function(t){Gz.getField1(t).bind(KO.getField).each(KC.enable),Gz.getField2(t).bind(KO.getField).each(KC.enable),Gz.getLock(t).each(KC.enable)}}),Vk(),Cy("size-input-events2",[wi(r,(function(t,e){var r=e.event.isField1,o=r?Gz.getField1(t):Gz.getField2(t),i=r?Gz.getField2(t):Gz.getField1(t),a=o.map(Gp.getValue).getOr(""),u=i.map(Gp.getValue).getOr("");n=tP(a,u)}))])])})},nP=i(Oa("undo")),rP=i(Oa("redo")),oP=i(Oa("zoom")),iP=i(Oa("back")),aP=i(Oa("apply")),uP=i(Oa("swap")),sP=i(Oa("transform")),cP=i(Oa("temp-transform")),lP=i(Oa("transform-apply")),fP={undo:nP,redo:rP,zoom:oP,back:iP,apply:aP,swap:uP,transform:sP,tempTransform:cP,transformApply:lP},dP=i("save-state"),hP=i("disable"),pP=i("enable"),mP={formActionEvent:lD,saveState:dP,disable:hP,enable:pP},gP=function(t,n){var r=function(t,e,r,o){return Qw(Lz({name:t,text:t,disabled:r,primary:o,icon:_.none(),borderless:!1},e,n))},o=function(t,e,r,o){return Qw(Pz({name:t,icon:_.some(t),tooltip:_.some(e),disabled:o,primary:!1,borderless:!1},r,n))},a=function(t,e){t.map((function(t){var n=t.get(e);n.hasConfigured(KC)&&KC.disable(n)}))},u=function(t,e){t.map((function(t){var n=t.get(e);n.hasConfigured(KC)&&KC.enable(n)}))},s={tag:"div",classes:["tox-image-tools__toolbar","tox-image-tools-edit-panel"]},c=e,l=function(t,e,n){fi(t,e,n)},f=function(t){return li(t,mP.disable())},d=function(t){return li(t,mP.enable())},h=function(t,e){f(t),l(t,fP.transform(),{transform:e}),d(t)},p=function(t,e){f(t),l(t,fP.tempTransform(),{transform:e}),d(t)},m=function(t){return function(){at.getOpt(t).each((function(t){_y.set(t,[ot])}))}},g=function(t,e){f(t),l(t,fP.transformApply(),{transform:e,swap:m(t)}),d(t)},v=function(){return r("Back",(function(t){return l(t,fP.back(),{swap:m(t)})}),!1,!1)},b=function(){return Qw({dom:{tag:"div",classes:["tox-spacer"]},behaviours:Fl([KC.config({})])})},y=function(){return r("Apply",(function(t){return l(t,fP.apply(),{swap:m(t)})}),!0,!0)},w=function(){return function(e){var n=t.getRect();return uz(e,n.x,n.y,n.w,n.h)}},x=[v(),b(),r("Apply",(function(e){var n=w();g(e,n),t.hideCrop()}),!1,!0)],C=WO.sketch({dom:s,components:x.map((function(t){return t.asSpec()})),containerBehaviours:Fl([Cy("image-tools-crop-buttons-events",[wi(mP.disable(),(function(t,e){a(x,t)})),wi(mP.enable(),(function(t,e){u(x,t)}))])])}),k=Qw(eP({name:"size",label:_.none(),constrain:!0,disabled:!1},n)),S=function(t,e){return function(n){return sz(n,t,e)}},T=[v(),b(),k,b(),r("Apply",(function(t){k.getOpt(t).each((function(e){var n=Gp.getValue(e),r=parseInt(n.width,10),o=parseInt(n.height,10),i=S(r,o);g(t,i)}))}),!1,!0)],O=WO.sketch({dom:s,components:T.map((function(t){return t.asSpec()})),containerBehaviours:Fl([Cy("image-tools-resize-buttons-events",[wi(mP.disable(),(function(t,e){a(T,t)})),wi(mP.enable(),(function(t,e){u(T,t)}))])])}),D=function(t,e){return function(n){return t(n,e)}},E=D(az,"h"),A=D(az,"v"),M=D(cz,-90),N=D(cz,90),R=function(t,e){p(t,e)},z=[v(),b(),o("flip-horizontally","Flip horizontally",(function(t){R(t,E)}),!1),o("flip-vertically","Flip vertically",(function(t){R(t,A)}),!1),o("rotate-left","Rotate counterclockwise",(function(t){R(t,M)}),!1),o("rotate-right","Rotate clockwise",(function(t){R(t,N)}),!1),b(),y()],P=WO.sketch({dom:s,components:z.map((function(t){return t.asSpec()})),containerBehaviours:Fl([Cy("image-tools-fliprotate-buttons-events",[wi(mP.disable(),(function(t,e){a(z,t)})),wi(mP.enable(),(function(t,e){u(z,t)}))])])}),I=function(t,e,r,o,a){var u=uN.parts.label({dom:{tag:"label",classes:["tox-label"],innerHtml:n.translate(t)}}),s=uN.parts.spectrum({dom:{tag:"div",classes:["tox-slider__rail"],attributes:{role:"presentation"}}}),c=uN.parts.thumb({dom:{tag:"div",classes:["tox-slider__handle"],attributes:{role:"presentation"}}});return Qw(uN.sketch({dom:{tag:"div",classes:["tox-slider"],attributes:{role:"presentation"}},model:{mode:"x",minX:r,maxX:a,getInitialValue:i({x:o})},components:[u,s,c],sliderBehaviours:Fl([Ny.config({})]),onChoose:e}))},L=function(t,e,n,r,o){var i=function(t,n,r){var o=D(e,r.x/100);h(t,o)};return I(t,i,n,r,o)},B=function(t,e,n,r,o){return[v(),L(t,e,n,r,o),y()]},H=function(t,e,n,r,o){var i=B(t,e,n,r,o);return WO.sketch({dom:s,components:i.map((function(t){return t.asSpec()})),containerBehaviours:Fl([Cy("image-tools-filter-panel-buttons-events",[wi(mP.disable(),(function(t,e){a(i,t)})),wi(mP.enable(),(function(t,e){u(i,t)}))])])})},F=[v(),b(),y()],j=WO.sketch({dom:s,components:F.map((function(t){return t.asSpec()}))}),V=H("Brightness",oz,-100,0,100),W=H("Contrast",iz,-100,0,100),U=H("Gamma",nz,-100,0,100),$=function(t,e,n){return function(r){return rz(r,t,e,n)}},Y=function(t){var e=function(t,e,n){var r=q.getOpt(t),o=K.getOpt(t),i=G.getOpt(t);r.each((function(e){o.each((function(n){i.each((function(r){var o=Gp.getValue(e).x/100,i=Gp.getValue(r).x/100,a=Gp.getValue(n).x/100,u=$(o,i,a);h(t,u)}))}))}))};return I(t,e,0,100,200)},q=Y("R"),G=Y("G"),K=Y("B"),X=[v(),q,G,K,y()],J=WO.sketch({dom:s,components:X.map((function(t){return t.asSpec()}))}),Q=function(t,e,n){return function(r){var o=function(){at.getOpt(r).each((function(e){_y.set(e,[t]),n(e)}))};l(r,fP.swap(),{transform:e,swap:o})}},Z=function(e){t.showCrop()},tt=function(e){k.getOpt(e).each((function(e){var n=t.getMeasurements(),r=n.width,o=n.height;Gp.setValue(e,{width:r,height:o})}))},et=_.some(ez),nt=_.some(tz),rt=[o("crop","Crop",Q(C,_.none(),Z),!1),o("resize","Resize",Q(O,_.none(),tt),!1),o("orientation","Orientation",Q(P,_.none(),c),!1),o("brightness","Brightness",Q(V,_.none(),c),!1),o("sharpen","Sharpen",Q(j,et,c),!1),o("contrast","Contrast",Q(W,_.none(),c),!1),o("color-levels","Color levels",Q(J,_.none(),c),!1),o("gamma","Gamma",Q(U,_.none(),c),!1),o("invert","Invert",Q(j,nt,c),!1)],ot=WO.sketch({dom:s,components:rt.map((function(t){return t.asSpec()}))}),it=WO.sketch({dom:{tag:"div"},components:[ot],containerBehaviours:Fl([_y.config({})])}),at=Qw(it),ut=function(t){return at.getOpt(t).map((function(t){var e=t.components()[0];return e.components()[e.components().length-1]}))};return{memContainer:at,getApplyButton:ut}},vP=tinymce.util.Tools.resolve("tinymce.geom.Rect"),bP=tinymce.util.Tools.resolve("tinymce.dom.DomQuery"),yP=tinymce.util.Tools.resolve("tinymce.util.Observable"),wP=tinymce.util.Tools.resolve("tinymce.util.VK");function _P(t){var e=Math.max,n=t.documentElement,r=t.body,o=e(n.scrollWidth,r.scrollWidth),i=e(n.clientWidth,r.clientWidth),a=e(n.offsetWidth,r.offsetWidth),u=e(n.scrollHeight,r.scrollHeight),s=e(n.clientHeight,r.clientHeight),c=e(n.offsetHeight,r.offsetHeight);return{width:o").css({position:"absolute",top:0,left:0,width:f.width,height:f.height,zIndex:2147483647,opacity:1e-4,cursor:s}).appendTo(a.body),bP(a).on("mousemove touchmove",c).on("mouseup touchend",l),e.start(t)},c=function(t){if(xP(t),t.button!==r)return l(t);t.deltaX=t.screenX-o,t.deltaY=t.screenY-i,t.preventDefault(),e.drag(t)},l=function(t){xP(t),bP(a).off("mousemove touchmove",c).off("mouseup touchend",l),n.remove(),e.stop&&e.stop(t)};this.destroy=function(){bP(u).off()},bP(u).on("mousedown touchstart",s)}var kP=0,SP=function(t,e,n,r,o){var i,a="tox-",u=a+"crid-"+kP++,s=[{name:"move",xMul:0,yMul:0,deltaX:1,deltaY:1,deltaW:0,deltaH:0,label:"Crop Mask"},{name:"nw",xMul:0,yMul:0,deltaX:1,deltaY:1,deltaW:-1,deltaH:-1,label:"Top Left Crop Handle"},{name:"ne",xMul:1,yMul:0,deltaX:0,deltaY:1,deltaW:1,deltaH:-1,label:"Top Right Crop Handle"},{name:"sw",xMul:0,yMul:1,deltaX:1,deltaY:0,deltaW:-1,deltaH:1,label:"Bottom Left Crop Handle"},{name:"se",xMul:1,yMul:1,deltaX:0,deltaY:0,deltaW:1,deltaH:1,label:"Bottom Right Crop Handle"}],c=["top","right","bottom","left"],l=function(t,e){return{x:e.x+t.x,y:e.y+t.y,w:e.w,h:e.h}},f=function(t,e){return{x:e.x-t.x,y:e.y-t.y,w:e.w,h:e.h}},d=function(){return f(n,t)};function h(e,r,o,i){var a,u,s,c,l;a=r.x,u=r.y,s=r.w,c=r.h,a+=o*e.deltaX,u+=i*e.deltaY,s+=o*e.deltaW,c+=i*e.deltaH,s<20&&(s=20),c<20&&(c=20),l=t=vP.clamp({x:a,y:u,w:s,h:c},n,"move"===e.name),l=f(n,l),x.fire("updateRect",{rect:l}),y(l)}function p(){function e(e){var n;return new CP(u,{document:r.ownerDocument,handle:u+"-"+e.name,start:function(){n=t},drag:function(t){h(e,n,t.deltaX,t.deltaY)}})}bP('
').appendTo(r),zN.each(c,(function(t){bP("#"+u,r).append('