From 03d8c5de684c511f781911cafb3f7ed42b04713b Mon Sep 17 00:00:00 2001 From: nagatomi Date: Wed, 23 Oct 2024 17:16:04 +0900 Subject: [PATCH] =?UTF-8?q?=E3=82=B3=E3=83=B3=E3=83=95=E3=83=AA=E3=82=AF?= =?UTF-8?q?=E3=83=88=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dist/bundle.js | 29616 +--------------- lib/assets/images/add_column.svg | 2 +- lib/assets/images/add_row.svg | 2 +- lib/components/FieldConfirmSource.js | 16 +- lib/components/FieldGroupConfirmSource.js | 16 +- lib/components/FieldGroupSource.js | 29 +- lib/components/FieldSource.js | 29 +- lib/components/ModalDialog.js | 129 +- lib/components/UnitConfirmSource.js | 16 +- lib/components/UnitGroupConfirmSource.js | 16 +- lib/components/UnitGroupSource.js | 31 +- lib/components/UnitSource.js | 29 +- .../cofirmLayouts/GroupTableLayoutConfirm.js | 490 +- .../cofirmLayouts/TableLayoutConfirm.js | 375 +- .../UnitGroupTableLayoutConfirm.js | 468 +- .../cofirmLayouts/UnitTableLayoutConfirm.js | 375 +- lib/components/genelator/Field.js | 266 +- lib/components/genelator/FieldGroup.js | 698 +- lib/components/genelator/Unit.js | 269 +- lib/components/genelator/UnitGroup.js | 688 +- lib/components/genelator/base/Alert.js | 62 +- lib/components/genelator/base/Basic.js | 364 +- .../genelator/base/ConverterModal.js | 334 +- .../genelator/base/DuplicateAlert.js | 65 +- lib/components/genelator/base/FileOption.js | 247 +- lib/components/genelator/base/GroupAlert.js | 62 +- lib/components/genelator/base/ImageOption.js | 660 +- .../genelator/base/ImageResizeOption.js | 104 +- lib/components/genelator/base/MediaOption.js | 442 +- lib/components/genelator/base/NoSearchBox.js | 64 +- lib/components/genelator/base/Operator.js | 102 +- lib/components/genelator/base/OptionItem.js | 213 +- .../genelator/base/RichEditorOption.js | 156 +- lib/components/genelator/base/Snippet.js | 220 +- lib/components/genelator/base/Validator.js | 684 +- lib/components/highlighter.js | 122 +- lib/components/html/Checkbox.js | 326 +- lib/components/html/FileInput.js | 626 +- lib/components/html/Heading.js | 44 +- lib/components/html/ImageInput.js | 835 +- lib/components/html/Media.js | 1261 +- lib/components/html/OptionNoSearch.js | 32 +- lib/components/html/OptionValidator.js | 186 +- lib/components/html/RadioButton.js | 327 +- lib/components/html/RichEditor.js | 417 +- lib/components/html/Selectbox.js | 279 +- lib/components/html/Table.js | 280 +- lib/components/html/TextInput.js | 230 +- lib/components/html/Textarea.js | 198 +- lib/components/html/WrapTable.js | 52 +- lib/components/layouts/GroupSection.js | 1734 +- lib/components/layouts/GroupTableLayout.js | 1245 +- lib/components/layouts/Section.js | 732 +- lib/components/layouts/TableLayout.js | 427 +- lib/components/layouts/UnitGroupSection.js | 1709 +- .../layouts/UnitGroupTableLayout.js | 1226 +- lib/components/layouts/UnitSection.js | 729 +- lib/components/layouts/UnitTableLayout.js | 427 +- .../navigator/EditorModeNavigator.js | 167 +- .../navigator/PreviewModeNavigator.js | 94 +- lib/components/navigator/PreviewNavigator.js | 481 +- lib/components/notify.js | 63 +- lib/containers/index.js | 204 +- lib/reducers/makerReducer.js | 204 +- lib/store/MakerContext.js | 525 +- package-lock.json | 2 +- package.json | 2 +- src/components/genelator/base.js | 3360 -- 68 files changed, 8127 insertions(+), 47758 deletions(-) delete mode 100644 src/components/genelator/base.js diff --git a/dist/bundle.js b/dist/bundle.js index d411315..aeacabb 100644 --- a/dist/bundle.js +++ b/dist/bundle.js @@ -1,29616 +1,2 @@ /*! For license information please see bundle.js.LICENSE.txt */ -!(function () { - var e = { - 965: function (e, t, n) { - 'use strict'; - var a = n(426), - r = { 'text/plain': 'Text', 'text/html': 'Url', default: 'Text' }; - e.exports = function (e, t) { - var n, - l, - i, - o, - c, - s, - u = !1; - t || (t = {}), (n = t.debug || !1); - try { - if ( - ((i = a()), - (o = document.createRange()), - (c = document.getSelection()), - ((s = document.createElement('span')).textContent = e), - (s.ariaHidden = 'true'), - (s.style.all = 'unset'), - (s.style.position = 'fixed'), - (s.style.top = 0), - (s.style.clip = 'rect(0, 0, 0, 0)'), - (s.style.whiteSpace = 'pre'), - (s.style.webkitUserSelect = 'text'), - (s.style.MozUserSelect = 'text'), - (s.style.msUserSelect = 'text'), - (s.style.userSelect = 'text'), - s.addEventListener('copy', function (a) { - if ((a.stopPropagation(), t.format)) - if ((a.preventDefault(), void 0 === a.clipboardData)) { - n && console.warn('unable to use e.clipboardData'), - n && console.warn('trying IE specific stuff'), - window.clipboardData.clearData(); - var l = r[t.format] || r.default; - window.clipboardData.setData(l, e); - } else a.clipboardData.clearData(), a.clipboardData.setData(t.format, e); - t.onCopy && (a.preventDefault(), t.onCopy(a.clipboardData)); - }), - document.body.appendChild(s), - o.selectNodeContents(s), - c.addRange(o), - !document.execCommand('copy')) - ) - throw new Error('copy command was unsuccessful'); - u = !0; - } catch (a) { - n && console.error('unable to copy using execCommand: ', a), n && console.warn('trying IE specific stuff'); - try { - window.clipboardData.setData(t.format || 'text', e), t.onCopy && t.onCopy(window.clipboardData), (u = !0); - } catch (a) { - n && console.error('unable to copy using clipboardData: ', a), - n && console.error('falling back to prompt'), - (l = (function (e) { - var t = (/mac os x/i.test(navigator.userAgent) ? '⌘' : 'Ctrl') + '+C'; - return e.replace(/#{\s*key\s*}/g, t); - })('message' in t ? t.message : 'Copy to clipboard: #{key}, Enter')), - window.prompt(l, e); - } - } finally { - c && ('function' == typeof c.removeRange ? c.removeRange(o) : c.removeAllRanges()), - s && document.body.removeChild(s), - i(); - } - return u; - }; - }, - 954: function (e, t, n) { - (e.exports = n(765)()).push([ - e.id, - '.customFieldContainer {\n display: grid;\n grid-template-columns: repeat(1, minmax(0, 1fr));\n gap: 64px;\n max-width: 960px;\n}\n\n.customFieldContainer h2 {\n color: #333;\n margin: 0;\n font-size: 20px;\n margin-bottom: 1em;\n}\n\n/* ジェネレーター:全体\n-------------------------------------- */\n.customFieldFunction {\n display: grid;\n grid-template-columns: repeat(1, minmax(0, 1fr));\n gap: 24px;\n background: #fff;\n}\n\n.customFieldFunction select {\n min-height: 26px;\n padding: 4px 24px 4px 4px;\n line-height: 1.5;\n font-size: 14px;\n}\n\n/* ジェネレーター:フィールドグループ、ユニットグループ\n-------------------------------------- */\n.customFieldGeneratorGroup {\n display: grid;\n row-gap: 24px;\n column-gap: 24px;\n grid-template-columns: repeat(3, 1fr);\n grid-template-areas:\n "areaTitle areaVal ."\n "areaButton . .";\n}\n.customFieldGeneratorGroup.-openGroup {\n grid-template-areas: "areaTitle areaVal .";\n}\n.customFieldGeneratorGroup dd {\n margin: 0;\n}\n.customFieldGeneratorGroupTitle {\n grid-area: areaTitle;\n}\n.customFieldGeneratorGroupVal {\n grid-area: areaVal;\n}\n.customFieldGeneratorGroupButton {\n grid-area: areaButton;\n}\n\n/* ジェネレーター:ベーシック\n-------------------------------------- */\n.customFieldGeneratorBasic {\n display: grid;\n row-gap: 24px;\n column-gap: 24px;\n grid-template-columns: repeat(3, 1fr);\n grid-template-areas:\n "areaInput areaTitle areaField"\n "areaPlaceholder areaTooltip areaTooltip";\n}\n.customFieldGeneratorBasic label,\n.customFieldGeneratorBasic dt,\n.customFieldGeneratorGroup label,\n.customFieldGeneratorGroup dt {\n display: flex;\n gap: 4px;\n align-items: center;\n padding-bottom: 8px;\n}\n.customFieldGeneratorBasicInput {\n grid-area: areaInput;\n}\n.customFieldGeneratorBasicTitle {\n grid-area: areaTitle;\n}\n.customFieldGeneratorBasicField {\n grid-area: areaField;\n}\n.customFieldGeneratorBasicTooltip {\n grid-area: areaTooltip;\n}\n.customFieldGeneratorBasicPlaceholder {\n grid-area: areaPlaceholder;\n}\n\n/* ジェネレーター:バリデーター\n-------------------------------------- */\n.customFieldValidatorLabel {\n background-color: transparent;\n border: none;\n cursor: pointer;\n display: flex;\n align-items: center;\n gap: 8px;\n}\n\n.customFieldValidatorToggle {\n display: inline-block;\n width: 5px;\n height: 5px;\n border-right: 2px solid #333;\n border-bottom: 2px solid #333;\n transition: transform;\n transform: rotateZ(45deg);\n transform-origin: center center;\n}\n\n/* アコーディオン\n-------------------------------------- */\n.customFieldAccordionContent {\n overflow: hidden;\n visibility: hidden;\n transition: max-height 0.3s ease-out, opacity 0.3s ease-out;\n opacity: 0;\n}\n\n.customFieldAccordionContent.-open {\n visibility: visible;\n opacity: 1;\n}\n\n/* ナビゲーター:コード操作\n-------------------------------------- */\n.customFieldNavigatorCode {\n display: grid;\n grid-template-columns: repeat(1, minmax(0, 1fr));\n gap: 20px;\n}\n.customFieldNavigatorCodeButtonList {\n width: 100%;\n display: flex;\n justify-content: space-between;\n}\n\n/* ボタン\n-------------------------------------- */\n.customFieldCopied {\n position: absolute;\n bottom: -40px;\n left: -30px;\n background-color: rgba(0, 0, 0, .5);\n font-size: 10px;\n width: 150px;\n padding: 10px;\n color: #ffffff;\n text-align: center;\n display: inline-block;\n border-radius: 3px;\n -webkit-transition: background-color .2s ease-in;\n -moz-transition: background-color .2s ease-in;\n -ms-transition: background-color .2s ease-in;\n -o-transition: background-color .2s ease-in;\n transition: background-color .2s ease-in;\n}\n\n.hljs {\n border-radius: 5px;\n padding: 20px;\n background-color: #F0F0F0;\n min-height: 19.391px;\n}\n\n.customFieldCopied:after {\n content: \' \';\n position: absolute;\n\theight: 0;\n width: 0;\n top: 0;\n\tleft: 50%;\n\tborder: 6px solid transparent;\n\tborder-bottom-color: rgba(0, 0, 0, .5);\n margin-top: -12px;\n margin-left: -6px;\n -webkit-transition: border .2s ease-in;\n -moz-transition: border .2s ease-in;\n -ms-transition: border .2s ease-in;\n -o-transition: border .2s ease-in;\n transition: border .2s ease-in;\n}\n\n.customFieldCopied.active:after {\n border-bottom-color: rgba(0, 0, 0, .8);\n}\n\n.customFieldLabelRequired {\n background-color: #c40f32;\n color: #ffffff;\n font-size: 11px;\n padding: 2px 5px;\n border-radius: 2px;\n margin-left: 10px;\n}\n\n.customFieldUseSnippet {\n display: inline-block;\n margin-left: 25px;\n}\n\n.customFieldLine {\n height: 1px;\n background-color: #cccccc;\n border: none;\n}\n\n.customFieldValidatorArea {\n display: grid;\n gap: 16px;\n grid-template-colmuns: repeat(1, minmax(0, 1fr));\n margin-top: 8px;\n background-color: #F7F7F7;\n padding: 20px;\n}\n\n.customFieldValidatorArea .acms-admin-icon-tooltip {\n margin-left: 10px;\n}\n\n.customFieldBold {\n margin-bottom: 10px;\n}\n.customFieldBold .acms-admin-icon-tooltip {\n margin-left: 10px;\n}\n\n.customFieldOptionTable {\n width: auto !important;\n /* border-top: 1px solid #ccc;\n border-bottom: 1px solid #ccc; */\n}\n\n.customFieldOptionTable th,\n.customFieldOptionTable td {\n border: none;\n white-space: nowrap;\n padding-top: 5px;\n padding-bottom: 5px;\n}\n\n.customFieldOptionTable th:nth-child(1) {\n width: 20%;\n}\n\n.customFieldOptionTable th:nth-child(2) {\n width: 12%;\n}\n\n.customFieldOptionTable th:nth-child(3) {\n width: 62%;\n}\n\n.customFieldOptionTable tr {\n /* border-bottom: 1px solid #cccccc; */\n}\n\n.customFieldOptionTable th:first-child,\n.customFieldOptionTable td:first-child {\n padding-left: 0;\n}\n\n.customFieldOptionTable th:last-child,\n.customFieldOptionTable td:last-child {\n padding-right: 0;\n}\n\n.customFieldOptionTable td:last-child {\n width: 50px;\n}\n\n.customFieldOptionTable .acms-admin-btn-admin {\n margin-right: 0 !important;\n}\n\n.customFieldOptionTableInput {\n display: table;\n /*width: 100%;*/\n}\n\n.customFieldOptionTableAppend {\n display: table-cell;\n}\n\n.customFieldOptionTable input {\n display: table-cell;\n}\n\n.customFieldBasicTable {\n border: none !important;\n}\n\n.customFieldBasicTable tr {\n border: none !important;\n}\n\n.customFieldBasicTable td {\n border-bottom: none !important;\n}\n\n.customFieldBasicTable .acms-admin-label {\n margin-left: 10px;\n}\n\n.customFieldBasicTable th {\n white-space: nowrap;\n}\n\n.customFieldBasicTableFirst td:nth-child(1) {\n width: 12%;\n}\n\n.customFieldBasicTableFirst td:nth-child(2) {\n width: 20%;\n}\n\n.customFieldBasicTableFirst td:nth-child(3) {\n width: 20%;\n}\n\n.customFieldBasicTableFirst td:nth-child(4) {\n width: 48%;\n}\n\n.customFieldBasicTableFirst {\n margin-bottom: 10px;\n}\n\n.customFieldBasicTable tr:last-child td {\n padding-bottom: 5px;\n}\n\n.customFieldSizeInput {\n width: 50%;\n}\n\n.customFieldLine {\n height: 1px;\n background-color: #cccccc;\n}\n\n.customFieldBasicTableImg td {\n width: 25%;\n white-space: nowrap;\n}\n\n.customFieldBasicTableFile td:nth-child(1) {\n width: 25%;\n}\n\n.customFieldInputGroup {\n position: relative;\n display: table;\n border-collapse: separate;\n width: 100%;\n}\n\n.customFieldInputGroup input {\n display: table-cell;\n position: relative;\n z-index: 2;\n float: left;\n width: 100%;\n margin-bottom: 0;\n}\n\n.customFieldInputGroupAddon {\n width: 1%;\n white-space: nowrap;\n vertical-align: middle;\n display: table-cell;\n padding-right: 10px;\n}\n\n.customFieldBasicTableGroup {\n border-bottom: none;\n width: 40%;\n}\n\n.customFieldGroupBtn {\n width: 185px;\n}\n\n.customFieldBasicTable tr {\n border: none;\n}\n\n.customFieldBasicTable tr:last-child td {\n border-bottom: none;\n}\n\n.customFieldBasicTable th:first-child,\n.customFieldBasicTable td:first-child {\n padding-left: 0 !important;\n}\n\n.customFieldSubTable {\n background: transparent;\n border: none;\n border-top: 1px solid #cccccc;\n margin-top: 10px;\n}\n\n.customFieldGroupSubTable {\n border-top: none;\n margin-top: 0;\n}\n\n.customFieldSubTable tr {\n border: none;\n}\n\n.customFieldSubTable tbody tr:last-child td,\n.customFieldSubTable tbody tr:last-child th {\n border-bottom: none;\n}\n\n.customFieldCopied.active {\n background-color: rgba(0, 0, 0, 0.8);\n}\n\n#converter {\n background-color: rgba(0, 0, 0, 0.5);\n}\n\n.customFieldBold {\n font-weight: bold;\n}\n\n.customFieldSnippet {\n margin-left: 10px;\n}\n\n.customFieldOptionBlock {\n margin-left: 20px;\n margin-bottom: 10px;\n}\n\n.customFieldCopyBtn {\n position: relative;\n top: -2px;\n}\n\n.customFieldPreview {\n background-color: #ffffff;\n padding: 15px;\n}\n\n.customFieldPreview input[type=text],\n.customFieldPreview textarea {\n color: #dddddd;\n}\n\n.customFieldUseSnippetLabel {\n color: #006dec;\n cursor: pointer;\n display: inline-block;\n height: 27px;\n vertical-align: middle;\n line-height: 27px;\n}\n\n.customFieldTooltip {\n font-weight: normal;\n white-space: normal;\n word-wrap: break-word;\n padding-left: 10px !important;\n padding-right: 10px !important;\n font-size: 12px;\n}\n\n.customFieldFileContainer {\n padding-top: 10px;\n}\n\n.customFieldInputFileGroup {\n display: inline-block;\n width: 300px;\n padding-right: 5px;\n}\n\n.customFieldInputFileExtGroup {\n width: 100px;\n display: inline-block;\n margin-left: 5px;\n}\n\n.customFieldFileNameOptContainer {\n padding-bottom: 10px;\n}\n\n.customFieldMakeBtn {\n padding-right: 70px;\n padding-left: 70px;\n}\n\n.customFieldTabs {\n\tmargin: 0;\n\tpadding: 0;\n}\n.customFieldTabs:before,\n.customFieldTabs:after {\n\tcontent: " ";\n\tdisplay: table;\n}\n.customFieldTabs:after {\n\tclear: both;\n}\n.customFieldTabs li {\n\tlist-style: none;\n\tfloat: left;\n\tmargin-right: 2px;\n}\n.customFieldTabs a {\n position: relative;\n display: block;\n padding: 10px 8px;\n color: #404040;\n font-weight: 500;\n font-size: 14px;\n line-height: 1;\n\toutline: none;\n\ttext-decoration: none;\n}\n.customFieldTabs a:hover {\n\tcolor: #666;\n\tbackground: #F2F2F4;\n}\n.customFieldTabs a.customFieldTabActive {\n color: #014cc5;\n border-bottom: 3px solid #014cc5;\n background: #f2f2f4\n}\n.customFieldTabs a.customFieldTabActive:before {\n content: "";\n position: absolute;\n left: 0;\n bottom: -1px;\n width: 100%;\n height: 1px;\n background: #f2f2f4\n}\n\n.customFieldDirectionBtnGroup {\n display: inline-table;\n overflow: hidden;\n margin-right: 15px;\n border-radius: 3px;\n vertical-align: middle;\n}\n\n.customFieldDirectionBtnGroup input {\n display: none;\n}\n\n.customFieldDirectionBtnGroupSide {\n display: inline-block;\n margin-right: 5px;\n}\n\n.customFieldDirectionBtn {\n display: table-cell;\n background-color: #F7F7F7;\n border: 1px solid rgba(0, 0, 0, 0.2);\n padding: 5px 10px;\n font-size: 11px;\n cursor: pointer;\n}\n\n.customFieldDirectionBtn.active {\n background-color: #e1e1e1;\n border-color: rgba(0, 0, 0, .3);\n box-shadow: inset 0 1px 2px rgba(0,0,0,.3);\n color: #333;\n}\n\n.customFieldDirectionBtn img {\n display: inline-block;\n width: 18px;\n height: auto;\n vertical-align: middle;\n}\n', - '', - ]); - }, - 862: function (e, t, n) { - (e.exports = n(765)()).push([ - e.id, - '/*\n\nOriginal highlight.js style (c) Ivan Sagalaev \n\n*/\n\n.hljs {\n display: block;\n overflow-x: auto;\n padding: 0.5em;\n background: #F0F0F0;\n}\n\n\n/* Base color: saturation 0; */\n\n.hljs,\n.hljs-subst {\n color: #444;\n}\n\n.hljs-comment {\n color: #888888;\n}\n\n.hljs-keyword,\n.hljs-attribute,\n.hljs-selector-tag,\n.hljs-meta-keyword,\n.hljs-doctag,\n.hljs-name {\n font-weight: bold;\n}\n\n\n/* User color: hue: 0 */\n\n.hljs-type,\n.hljs-string,\n.hljs-number,\n.hljs-selector-id,\n.hljs-selector-class,\n.hljs-quote,\n.hljs-template-tag,\n.hljs-deletion {\n color: #880000;\n}\n\n.hljs-title,\n.hljs-section {\n color: #880000;\n font-weight: bold;\n}\n\n.hljs-regexp,\n.hljs-symbol,\n.hljs-variable,\n.hljs-template-variable,\n.hljs-link,\n.hljs-selector-attr,\n.hljs-selector-pseudo {\n color: #BC6060;\n}\n\n\n/* Language color: hue: 90; */\n\n.hljs-literal {\n color: #78A960;\n}\n\n.hljs-built_in,\n.hljs-bullet,\n.hljs-code,\n.hljs-addition {\n color: #397300;\n}\n\n\n/* Meta color: hue: 200 */\n\n.hljs-meta {\n color: #1f7199;\n}\n\n.hljs-meta-string {\n color: #4d99bf;\n}\n\n\n/* Misc effects */\n\n.hljs-emphasis {\n font-style: italic;\n}\n\n.hljs-strong {\n font-weight: bold;\n}\n', - '', - ]); - }, - 154: function (e, t, n) { - (e.exports = n(765)()).push([ - e.id, - '/*\n\nXCode style (c) Angel Garcia \n\n*/\n\n.hljs {\n display: block;\n overflow-x: auto;\n padding: 0.5em;\n background: #fff;\n color: black;\n}\n\n/* Gray DOCTYPE selectors like WebKit */\n.xml .hljs-meta {\n color: #c0c0c0;\n}\n\n.hljs-comment,\n.hljs-quote {\n color: #007400;\n}\n\n.hljs-tag,\n.hljs-attribute,\n.hljs-keyword,\n.hljs-selector-tag,\n.hljs-literal,\n.hljs-name {\n color: #aa0d91;\n}\n\n.hljs-variable,\n.hljs-template-variable {\n color: #3F6E74;\n}\n\n.hljs-code,\n.hljs-string,\n.hljs-meta-string {\n color: #c41a16;\n}\n\n.hljs-regexp,\n.hljs-link {\n color: #0E0EFF;\n}\n\n.hljs-title,\n.hljs-symbol,\n.hljs-bullet,\n.hljs-number {\n color: #1c00cf;\n}\n\n.hljs-section,\n.hljs-meta {\n color: #643820;\n}\n\n\n.hljs-class .hljs-title,\n.hljs-type,\n.hljs-built_in,\n.hljs-builtin-name,\n.hljs-params {\n color: #5c2699;\n}\n\n.hljs-attr {\n color: #836C28;\n}\n\n.hljs-subst {\n color: #000;\n}\n\n.hljs-formula {\n background-color: #eee;\n font-style: italic;\n}\n\n.hljs-addition {\n background-color: #baeeba;\n}\n\n.hljs-deletion {\n background-color: #ffc8bd;\n}\n\n.hljs-selector-id,\n.hljs-selector-class {\n color: #9b703f;\n}\n\n.hljs-doctag,\n.hljs-strong {\n font-weight: bold;\n}\n\n.hljs-emphasis {\n font-style: italic;\n}\n', - '', - ]); - }, - 765: function (e) { - e.exports = function () { - var e = []; - return ( - (e.toString = function () { - for (var e = [], t = 0; t < this.length; t++) { - var n = this[t]; - n[2] ? e.push('@media ' + n[2] + '{' + n[1] + '}') : e.push(n[1]); - } - return e.join(''); - }), - (e.i = function (t, n) { - 'string' == typeof t && (t = [[null, t, '']]); - for (var a = {}, r = 0; r < this.length; r++) { - var l = this[r][0]; - 'number' == typeof l && (a[l] = !0); - } - for (r = 0; r < t.length; r++) { - var i = t[r]; - ('number' == typeof i[0] && a[i[0]]) || - (n && !i[2] ? (i[2] = n) : n && (i[2] = '(' + i[2] + ') and (' + n + ')'), e.push(i)); - } - }), - e - ); - }; - }, - 48: function (e, t) { - ('object' == typeof window && window) || ('object' == typeof self && self), - (function (e) { - var t = [], - n = Object.keys, - a = {}, - r = {}, - l = /^(no-?highlight|plain|text)$/i, - i = /\blang(?:uage)?-([\w-]+)\b/i, - o = /((^(<[^>]+>|\t|)+|(?:\n)))/gm, - c = '', - s = { classPrefix: 'hljs-', tabReplace: null, useBR: !1, languages: void 0 }; - function u(e) { - return e.replace(/&/g, '&').replace(//g, '>'); - } - function m(e) { - return e.nodeName.toLowerCase(); - } - function d(e, t) { - var n = e && e.exec(t); - return n && 0 === n.index; - } - function p(e) { - return l.test(e); - } - function f(e) { - var t, - n = {}, - a = Array.prototype.slice.call(arguments, 1); - for (t in e) n[t] = e[t]; - return ( - a.forEach(function (e) { - for (t in e) n[t] = e[t]; - }), - n - ); - } - function h(e) { - var t = []; - return ( - (function e(n, a) { - for (var r = n.firstChild; r; r = r.nextSibling) - 3 === r.nodeType - ? (a += r.nodeValue.length) - : 1 === r.nodeType && - (t.push({ event: 'start', offset: a, node: r }), - (a = e(r, a)), - m(r).match(/br|hr|img|input/) || t.push({ event: 'stop', offset: a, node: r })); - return a; - })(e, 0), - t - ); - } - function g(e) { - function t(e) { - return (e && e.source) || e; - } - function a(n, a) { - return new RegExp(t(n), 'm' + (e.case_insensitive ? 'i' : '') + (a ? 'g' : '')); - } - !(function r(l, i) { - if (!l.compiled) { - if (((l.compiled = !0), (l.keywords = l.keywords || l.beginKeywords), l.keywords)) { - var o = {}, - c = function (t, n) { - e.case_insensitive && (n = n.toLowerCase()), - n.split(' ').forEach(function (e) { - var n = e.split('|'); - o[n[0]] = [t, n[1] ? Number(n[1]) : 1]; - }); - }; - 'string' == typeof l.keywords - ? c('keyword', l.keywords) - : n(l.keywords).forEach(function (e) { - c(e, l.keywords[e]); - }), - (l.keywords = o); - } - (l.lexemesRe = a(l.lexemes || /\w+/, !0)), - i && - (l.beginKeywords && (l.begin = '\\b(' + l.beginKeywords.split(' ').join('|') + ')\\b'), - l.begin || (l.begin = /\B|\b/), - (l.beginRe = a(l.begin)), - l.endSameAsBegin && (l.end = l.begin), - l.end || l.endsWithParent || (l.end = /\B|\b/), - l.end && (l.endRe = a(l.end)), - (l.terminator_end = t(l.end) || ''), - l.endsWithParent && - i.terminator_end && - (l.terminator_end += (l.end ? '|' : '') + i.terminator_end)), - l.illegal && (l.illegalRe = a(l.illegal)), - null == l.relevance && (l.relevance = 1), - l.contains || (l.contains = []), - (l.contains = Array.prototype.concat.apply( - [], - l.contains.map(function (e) { - return (function (e) { - return ( - e.variants && - !e.cached_variants && - (e.cached_variants = e.variants.map(function (t) { - return f(e, { variants: null }, t); - })), - e.cached_variants || (e.endsWithParent && [f(e)]) || [e] - ); - })('self' === e ? l : e); - }) - )), - l.contains.forEach(function (e) { - r(e, l); - }), - l.starts && r(l.starts, i); - var s = l.contains - .map(function (e) { - return e.beginKeywords ? '\\.?(' + e.begin + ')\\.?' : e.begin; - }) - .concat([l.terminator_end, l.illegal]) - .map(t) - .filter(Boolean); - l.terminators = s.length - ? a(s.join('|'), !0) - : { - exec: function () { - return null; - }, - }; - } - })(e); - } - function v(e, t, n, r) { - function l(e) { - return new RegExp(e.replace(/[-\/\\^$*+?.()|[\]{}]/g, '\\$&'), 'm'); - } - function i(e, t) { - if (d(e.endRe, t)) { - for (; e.endsParent && e.parent; ) e = e.parent; - return e; - } - if (e.endsWithParent) return i(e.parent, t); - } - function o(e, t) { - var n = E.case_insensitive ? t[0].toLowerCase() : t[0]; - return e.keywords.hasOwnProperty(n) && e.keywords[n]; - } - function m(e, t, n, a) { - var r = '') + t + (n ? '' : c); - } - function p() { - (k += - null != x.subLanguage - ? (function () { - var e = 'string' == typeof x.subLanguage; - if (e && !a[x.subLanguage]) return u(S); - var t = e - ? v(x.subLanguage, S, !0, w[x.subLanguage]) - : b(S, x.subLanguage.length ? x.subLanguage : void 0); - return ( - x.relevance > 0 && (N += t.relevance), - e && (w[x.subLanguage] = t.top), - m(t.language, t.value, !1, !0) - ); - })() - : (function () { - var e, t, n, a; - if (!x.keywords) return u(S); - for (a = '', t = 0, x.lexemesRe.lastIndex = 0, n = x.lexemesRe.exec(S); n; ) - (a += u(S.substring(t, n.index))), - (e = o(x, n)) ? ((N += e[1]), (a += m(e[0], u(n[0])))) : (a += u(n[0])), - (t = x.lexemesRe.lastIndex), - (n = x.lexemesRe.exec(S)); - return a + u(S.substr(t)); - })()), - (S = ''); - } - function f(e) { - (k += e.className ? m(e.className, '', !0) : ''), (x = Object.create(e, { parent: { value: x } })); - } - function h(e, t) { - if (((S += e), null == t)) return p(), 0; - var a = (function (e, t) { - var n, a; - for (n = 0, a = t.contains.length; n < a; n++) - if (d(t.contains[n].beginRe, e)) - return ( - t.contains[n].endSameAsBegin && (t.contains[n].endRe = l(t.contains[n].beginRe.exec(e)[0])), - t.contains[n] - ); - })(t, x); - if (a) - return ( - a.skip ? (S += t) : (a.excludeBegin && (S += t), p(), a.returnBegin || a.excludeBegin || (S = t)), - f(a), - a.returnBegin ? 0 : t.length - ); - var r = i(x, t); - if (r) { - var o = x; - o.skip ? (S += t) : (o.returnEnd || o.excludeEnd || (S += t), p(), o.excludeEnd && (S = t)); - do { - x.className && (k += c), x.skip || x.subLanguage || (N += x.relevance), (x = x.parent); - } while (x !== r.parent); - return ( - r.starts && (r.endSameAsBegin && (r.starts.endRe = r.endRe), f(r.starts)), - o.returnEnd ? 0 : t.length - ); - } - if ( - (function (e, t) { - return !n && d(t.illegalRe, e); - })(t, x) - ) - throw new Error('Illegal lexeme "' + t + '" for mode "' + (x.className || '') + '"'); - return (S += t), t.length || 1; - } - var E = _(e); - if (!E) throw new Error('Unknown language: "' + e + '"'); - g(E); - var y, - x = r || E, - w = {}, - k = ''; - for (y = x; y !== E; y = y.parent) y.className && (k = m(y.className, '', !0) + k); - var S = '', - N = 0; - try { - for (var T, C, F = 0; (x.terminators.lastIndex = F), (T = x.terminators.exec(t)); ) - (C = h(t.substring(F, T.index), T[0])), (F = T.index + C); - for (h(t.substr(F)), y = x; y.parent; y = y.parent) y.className && (k += c); - return { relevance: N, value: k, language: e, top: x }; - } catch (e) { - if (e.message && -1 !== e.message.indexOf('Illegal')) return { relevance: 0, value: u(t) }; - throw e; - } - } - function b(e, t) { - t = t || s.languages || n(a); - var r = { relevance: 0, value: u(e) }, - l = r; - return ( - t - .filter(_) - .filter(w) - .forEach(function (t) { - var n = v(t, e, !1); - (n.language = t), - n.relevance > l.relevance && (l = n), - n.relevance > r.relevance && ((l = r), (r = n)); - }), - l.language && (r.second_best = l), - r - ); - } - function E(e) { - return s.tabReplace || s.useBR - ? e.replace(o, function (e, t) { - return s.useBR && '\n' === e ? '
' : s.tabReplace ? t.replace(/\t/g, s.tabReplace) : ''; - }) - : e; - } - function y(e) { - var n, - a, - l, - o, - c, - d = (function (e) { - var t, - n, - a, - r, - l = e.className + ' '; - if (((l += e.parentNode ? e.parentNode.className : ''), (n = i.exec(l)))) - return _(n[1]) ? n[1] : 'no-highlight'; - for (t = 0, a = (l = l.split(/\s+/)).length; t < a; t++) if (p((r = l[t])) || _(r)) return r; - })(e); - p(d) || - (s.useBR - ? ((n = document.createElementNS('http://www.w3.org/1999/xhtml', 'div')).innerHTML = e.innerHTML - .replace(/\n/g, '') - .replace(//g, '\n')) - : (n = e), - (c = n.textContent), - (l = d ? v(d, c, !0) : b(c)), - (a = h(n)).length && - (((o = document.createElementNS('http://www.w3.org/1999/xhtml', 'div')).innerHTML = l.value), - (l.value = (function (e, n, a) { - var r = 0, - l = '', - i = []; - function o() { - return e.length && n.length - ? e[0].offset !== n[0].offset - ? e[0].offset < n[0].offset - ? e - : n - : 'start' === n[0].event - ? e - : n - : e.length - ? e - : n; - } - function c(e) { - l += - '<' + - m(e) + - t.map - .call(e.attributes, function (e) { - return ' ' + e.nodeName + '="' + u(e.value).replace('"', '"') + '"'; - }) - .join('') + - '>'; - } - function s(e) { - l += ''; - } - function d(e) { - ('start' === e.event ? c : s)(e.node); - } - for (; e.length || n.length; ) { - var p = o(); - if (((l += u(a.substring(r, p[0].offset))), (r = p[0].offset), p === e)) { - i.reverse().forEach(s); - do { - d(p.splice(0, 1)[0]), (p = o()); - } while (p === e && p.length && p[0].offset === r); - i.reverse().forEach(c); - } else 'start' === p[0].event ? i.push(p[0].node) : i.pop(), d(p.splice(0, 1)[0]); - } - return l + u(a.substr(r)); - })(a, h(o), c))), - (l.value = E(l.value)), - (e.innerHTML = l.value), - (e.className = (function (e, t, n) { - var a = t ? r[t] : n, - l = [e.trim()]; - return e.match(/\bhljs\b/) || l.push('hljs'), -1 === e.indexOf(a) && l.push(a), l.join(' ').trim(); - })(e.className, d, l.language)), - (e.result = { language: l.language, re: l.relevance }), - l.second_best && (e.second_best = { language: l.second_best.language, re: l.second_best.relevance })); - } - function x() { - if (!x.called) { - x.called = !0; - var e = document.querySelectorAll('pre code'); - t.forEach.call(e, y); - } - } - function _(e) { - return (e = (e || '').toLowerCase()), a[e] || a[r[e]]; - } - function w(e) { - var t = _(e); - return t && !t.disableAutodetect; - } - (e.highlight = v), - (e.highlightAuto = b), - (e.fixMarkup = E), - (e.highlightBlock = y), - (e.configure = function (e) { - s = f(s, e); - }), - (e.initHighlighting = x), - (e.initHighlightingOnLoad = function () { - addEventListener('DOMContentLoaded', x, !1), addEventListener('load', x, !1); - }), - (e.registerLanguage = function (t, n) { - var l = (a[t] = n(e)); - l.aliases && - l.aliases.forEach(function (e) { - r[e] = t; - }); - }), - (e.listLanguages = function () { - return n(a); - }), - (e.getLanguage = _), - (e.autoDetection = w), - (e.inherit = f), - (e.IDENT_RE = '[a-zA-Z]\\w*'), - (e.UNDERSCORE_IDENT_RE = '[a-zA-Z_]\\w*'), - (e.NUMBER_RE = '\\b\\d+(\\.\\d+)?'), - (e.C_NUMBER_RE = '(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)'), - (e.BINARY_NUMBER_RE = '\\b(0b[01]+)'), - (e.RE_STARTERS_RE = - '!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~'), - (e.BACKSLASH_ESCAPE = { begin: '\\\\[\\s\\S]', relevance: 0 }), - (e.APOS_STRING_MODE = { - className: 'string', - begin: "'", - end: "'", - illegal: '\\n', - contains: [e.BACKSLASH_ESCAPE], - }), - (e.QUOTE_STRING_MODE = { - className: 'string', - begin: '"', - end: '"', - illegal: '\\n', - contains: [e.BACKSLASH_ESCAPE], - }), - (e.PHRASAL_WORDS_MODE = { - begin: - /\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/, - }), - (e.COMMENT = function (t, n, a) { - var r = e.inherit({ className: 'comment', begin: t, end: n, contains: [] }, a || {}); - return ( - r.contains.push(e.PHRASAL_WORDS_MODE), - r.contains.push({ className: 'doctag', begin: '(?:TODO|FIXME|NOTE|BUG|XXX):', relevance: 0 }), - r - ); - }), - (e.C_LINE_COMMENT_MODE = e.COMMENT('//', '$')), - (e.C_BLOCK_COMMENT_MODE = e.COMMENT('/\\*', '\\*/')), - (e.HASH_COMMENT_MODE = e.COMMENT('#', '$')), - (e.NUMBER_MODE = { className: 'number', begin: e.NUMBER_RE, relevance: 0 }), - (e.C_NUMBER_MODE = { className: 'number', begin: e.C_NUMBER_RE, relevance: 0 }), - (e.BINARY_NUMBER_MODE = { className: 'number', begin: e.BINARY_NUMBER_RE, relevance: 0 }), - (e.CSS_NUMBER_MODE = { - className: 'number', - begin: - e.NUMBER_RE + - '(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?', - relevance: 0, - }), - (e.REGEXP_MODE = { - className: 'regexp', - begin: /\//, - end: /\/[gimuy]*/, - illegal: /\n/, - contains: [ - e.BACKSLASH_ESCAPE, - { begin: /\[/, end: /\]/, relevance: 0, contains: [e.BACKSLASH_ESCAPE] }, - ], - }), - (e.TITLE_MODE = { className: 'title', begin: e.IDENT_RE, relevance: 0 }), - (e.UNDERSCORE_TITLE_MODE = { className: 'title', begin: e.UNDERSCORE_IDENT_RE, relevance: 0 }), - (e.METHOD_GUARD = { begin: '\\.\\s*' + e.UNDERSCORE_IDENT_RE, relevance: 0 }); - })(t); - }, - 285: function (e) { - e.exports = function (e) { - var t = { - endsWithParent: !0, - illegal: /`]+/ }], - }, - ], - }, - ], - }; - return { - aliases: ['html', 'xhtml', 'rss', 'atom', 'xjb', 'xsd', 'xsl', 'plist'], - case_insensitive: !0, - contains: [ - { - className: 'meta', - begin: '', - relevance: 10, - contains: [{ begin: '\\[', end: '\\]' }], - }, - e.COMMENT('\x3c!--', '--\x3e', { relevance: 10 }), - { begin: '<\\!\\[CDATA\\[', end: '\\]\\]>', relevance: 10 }, - { className: 'meta', begin: /<\?xml/, end: /\?>/, relevance: 10 }, - { - begin: /<\?(php)?/, - end: /\?>/, - subLanguage: 'php', - contains: [ - { begin: '/\\*', end: '\\*/', skip: !0 }, - { begin: 'b"', end: '"', skip: !0 }, - { begin: "b'", end: "'", skip: !0 }, - e.inherit(e.APOS_STRING_MODE, { illegal: null, className: null, contains: null, skip: !0 }), - e.inherit(e.QUOTE_STRING_MODE, { illegal: null, className: null, contains: null, skip: !0 }), - ], - }, - { - className: 'tag', - begin: '|$)', - end: '>', - keywords: { name: 'style' }, - contains: [t], - starts: { end: '', returnEnd: !0, subLanguage: ['css', 'xml'] }, - }, - { - className: 'tag', - begin: '|$)', - end: '>', - keywords: { name: 'script' }, - contains: [t], - starts: { - end: '', - returnEnd: !0, - subLanguage: ['actionscript', 'javascript', 'handlebars', 'xml'], - }, - }, - { - className: 'tag', - begin: '', - contains: [{ className: 'name', begin: /[^\/><\s]+/, relevance: 0 }, t], - }, - ], - }; - }; - }, - 839: function (e, t, n) { - 'use strict'; - Object.defineProperty(t, '__esModule', { value: !0 }); - var a = n(826), - r = [ - 'apos', - 'nbsp', - 'iexcl', - 'cent', - 'pound', - 'curren', - 'yen', - 'brvbar', - 'sect', - 'uml', - 'copy', - 'ordf', - 'laquo', - 'not', - 'shy', - 'reg', - 'macr', - 'deg', - 'plusmn', - 'sup2', - 'sup3', - 'acute', - 'micro', - 'para', - 'middot', - 'cedil', - 'sup1', - 'ordm', - 'raquo', - 'frac14', - 'frac12', - 'frac34', - 'iquest', - 'Agrave', - 'Aacute', - 'Acirc', - 'Atilde', - 'Auml', - 'Aring', - 'AElig', - 'Ccedil', - 'Egrave', - 'Eacute', - 'Ecirc', - 'Euml', - 'Igrave', - 'Iacute', - 'Icirc', - 'Iuml', - 'ETH', - 'Ntilde', - 'Ograve', - 'Oacute', - 'Ocirc', - 'Otilde', - 'Ouml', - 'times', - 'Oslash', - 'Ugrave', - 'Uacute', - 'Ucirc', - 'Uuml', - 'Yacute', - 'THORN', - 'szlig', - 'agrave', - 'aacute', - 'acirc', - 'atilde', - 'auml', - 'aring', - 'aelig', - 'ccedil', - 'egrave', - 'eacute', - 'ecirc', - 'euml', - 'igrave', - 'iacute', - 'icirc', - 'iuml', - 'eth', - 'ntilde', - 'ograve', - 'oacute', - 'ocirc', - 'otilde', - 'ouml', - 'divide', - 'oslash', - 'ugrave', - 'uacute', - 'ucirc', - 'uuml', - 'yacute', - 'thorn', - 'yuml', - 'quot', - 'amp', - 'lt', - 'gt', - 'OElig', - 'oelig', - 'Scaron', - 'scaron', - 'Yuml', - 'circ', - 'tilde', - 'ensp', - 'emsp', - 'thinsp', - 'zwnj', - 'zwj', - 'lrm', - 'rlm', - 'ndash', - 'mdash', - 'lsquo', - 'rsquo', - 'sbquo', - 'ldquo', - 'rdquo', - 'bdquo', - 'dagger', - 'Dagger', - 'permil', - 'lsaquo', - 'rsaquo', - 'euro', - 'fnof', - 'Alpha', - 'Beta', - 'Gamma', - 'Delta', - 'Epsilon', - 'Zeta', - 'Eta', - 'Theta', - 'Iota', - 'Kappa', - 'Lambda', - 'Mu', - 'Nu', - 'Xi', - 'Omicron', - 'Pi', - 'Rho', - 'Sigma', - 'Tau', - 'Upsilon', - 'Phi', - 'Chi', - 'Psi', - 'Omega', - 'alpha', - 'beta', - 'gamma', - 'delta', - 'epsilon', - 'zeta', - 'eta', - 'theta', - 'iota', - 'kappa', - 'lambda', - 'mu', - 'nu', - 'xi', - 'omicron', - 'pi', - 'rho', - 'sigmaf', - 'sigma', - 'tau', - 'upsilon', - 'phi', - 'chi', - 'psi', - 'omega', - 'thetasym', - 'upsih', - 'piv', - 'bull', - 'hellip', - 'prime', - 'Prime', - 'oline', - 'frasl', - 'weierp', - 'image', - 'real', - 'trade', - 'alefsym', - 'larr', - 'uarr', - 'rarr', - 'darr', - 'harr', - 'crarr', - 'lArr', - 'uArr', - 'rArr', - 'dArr', - 'hArr', - 'forall', - 'part', - 'exist', - 'empty', - 'nabla', - 'isin', - 'notin', - 'ni', - 'prod', - 'sum', - 'minus', - 'lowast', - 'radic', - 'prop', - 'infin', - 'ang', - 'and', - 'or', - 'cap', - 'cup', - 'int', - 'there4', - 'sim', - 'cong', - 'asymp', - 'ne', - 'equiv', - 'le', - 'ge', - 'sub', - 'sup', - 'nsub', - 'sube', - 'supe', - 'oplus', - 'otimes', - 'perp', - 'sdot', - 'lceil', - 'rceil', - 'lfloor', - 'rfloor', - 'lang', - 'rang', - 'loz', - 'spades', - 'clubs', - 'hearts', - 'diams', - ], - l = [ - 39, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, - 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, - 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, - 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, - 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 34, 38, 60, 62, 338, 339, 352, 353, 376, 710, - 732, 8194, 8195, 8201, 8204, 8205, 8206, 8207, 8211, 8212, 8216, 8217, 8218, 8220, 8221, 8222, 8224, 8225, - 8240, 8249, 8250, 8364, 402, 913, 914, 915, 916, 917, 918, 919, 920, 921, 922, 923, 924, 925, 926, 927, 928, - 929, 931, 932, 933, 934, 935, 936, 937, 945, 946, 947, 948, 949, 950, 951, 952, 953, 954, 955, 956, 957, - 958, 959, 960, 961, 962, 963, 964, 965, 966, 967, 968, 969, 977, 978, 982, 8226, 8230, 8242, 8243, 8254, - 8260, 8472, 8465, 8476, 8482, 8501, 8592, 8593, 8594, 8595, 8596, 8629, 8656, 8657, 8658, 8659, 8660, 8704, - 8706, 8707, 8709, 8711, 8712, 8713, 8715, 8719, 8721, 8722, 8727, 8730, 8733, 8734, 8736, 8743, 8744, 8745, - 8746, 8747, 8756, 8764, 8773, 8776, 8800, 8801, 8804, 8805, 8834, 8835, 8836, 8838, 8839, 8853, 8855, 8869, - 8901, 8968, 8969, 8970, 8971, 9001, 9002, 9674, 9824, 9827, 9829, 9830, - ], - i = {}, - o = {}; - !(function () { - for (var e = 0, t = r.length; e < t; ) { - var n = r[e], - a = l[e]; - (i[n] = String.fromCharCode(a)), (o[a] = n), e++; - } - })(); - var c = (function () { - function e() {} - return ( - (e.prototype.decode = function (e) { - return e && e.length - ? e.replace(/&(#?[\w\d]+);?/g, function (e, t) { - var n; - if ('#' === t.charAt(0)) { - var r = 'x' === t.charAt(1).toLowerCase() ? parseInt(t.substr(2), 16) : parseInt(t.substr(1)); - (!isNaN(r) || r >= -32768) && (n = r <= 65535 ? String.fromCharCode(r) : a.fromCodePoint(r)); - } else n = i[t]; - return n || e; - }) - : ''; - }), - (e.decode = function (t) { - return new e().decode(t); - }), - (e.prototype.encode = function (e) { - if (!e || !e.length) return ''; - for (var t = e.length, n = '', a = 0; a < t; ) { - var r = o[e.charCodeAt(a)]; - (n += r ? '&' + r + ';' : e.charAt(a)), a++; - } - return n; - }), - (e.encode = function (t) { - return new e().encode(t); - }), - (e.prototype.encodeNonUTF = function (e) { - if (!e || !e.length) return ''; - for (var t = e.length, n = '', r = 0; r < t; ) { - var l = e.charCodeAt(r), - i = o[l]; - i - ? (n += '&' + i + ';') - : l < 32 || l > 126 - ? l >= a.highSurrogateFrom && l <= a.highSurrogateTo - ? ((n += '&#' + a.getCodePoint(e, r) + ';'), r++) - : (n += '&#' + l + ';') - : (n += e.charAt(r)), - r++; - } - return n; - }), - (e.encodeNonUTF = function (t) { - return new e().encodeNonUTF(t); - }), - (e.prototype.encodeNonASCII = function (e) { - if (!e || !e.length) return ''; - for (var t = e.length, n = '', r = 0; r < t; ) { - var l = e.charCodeAt(r); - l <= 255 - ? (n += e[r++]) - : (l >= a.highSurrogateFrom && l <= a.highSurrogateTo - ? ((n += '&#' + a.getCodePoint(e, r) + ';'), r++) - : (n += '&#' + l + ';'), - r++); - } - return n; - }), - (e.encodeNonASCII = function (t) { - return new e().encodeNonASCII(t); - }), - e - ); - })(); - t.Html4Entities = c; - }, - 490: function (e, t, n) { - 'use strict'; - Object.defineProperty(t, '__esModule', { value: !0 }); - var a = n(826), - r = [ - ['Aacute', [193]], - ['aacute', [225]], - ['Abreve', [258]], - ['abreve', [259]], - ['ac', [8766]], - ['acd', [8767]], - ['acE', [8766, 819]], - ['Acirc', [194]], - ['acirc', [226]], - ['acute', [180]], - ['Acy', [1040]], - ['acy', [1072]], - ['AElig', [198]], - ['aelig', [230]], - ['af', [8289]], - ['Afr', [120068]], - ['afr', [120094]], - ['Agrave', [192]], - ['agrave', [224]], - ['alefsym', [8501]], - ['aleph', [8501]], - ['Alpha', [913]], - ['alpha', [945]], - ['Amacr', [256]], - ['amacr', [257]], - ['amalg', [10815]], - ['amp', [38]], - ['AMP', [38]], - ['andand', [10837]], - ['And', [10835]], - ['and', [8743]], - ['andd', [10844]], - ['andslope', [10840]], - ['andv', [10842]], - ['ang', [8736]], - ['ange', [10660]], - ['angle', [8736]], - ['angmsdaa', [10664]], - ['angmsdab', [10665]], - ['angmsdac', [10666]], - ['angmsdad', [10667]], - ['angmsdae', [10668]], - ['angmsdaf', [10669]], - ['angmsdag', [10670]], - ['angmsdah', [10671]], - ['angmsd', [8737]], - ['angrt', [8735]], - ['angrtvb', [8894]], - ['angrtvbd', [10653]], - ['angsph', [8738]], - ['angst', [197]], - ['angzarr', [9084]], - ['Aogon', [260]], - ['aogon', [261]], - ['Aopf', [120120]], - ['aopf', [120146]], - ['apacir', [10863]], - ['ap', [8776]], - ['apE', [10864]], - ['ape', [8778]], - ['apid', [8779]], - ['apos', [39]], - ['ApplyFunction', [8289]], - ['approx', [8776]], - ['approxeq', [8778]], - ['Aring', [197]], - ['aring', [229]], - ['Ascr', [119964]], - ['ascr', [119990]], - ['Assign', [8788]], - ['ast', [42]], - ['asymp', [8776]], - ['asympeq', [8781]], - ['Atilde', [195]], - ['atilde', [227]], - ['Auml', [196]], - ['auml', [228]], - ['awconint', [8755]], - ['awint', [10769]], - ['backcong', [8780]], - ['backepsilon', [1014]], - ['backprime', [8245]], - ['backsim', [8765]], - ['backsimeq', [8909]], - ['Backslash', [8726]], - ['Barv', [10983]], - ['barvee', [8893]], - ['barwed', [8965]], - ['Barwed', [8966]], - ['barwedge', [8965]], - ['bbrk', [9141]], - ['bbrktbrk', [9142]], - ['bcong', [8780]], - ['Bcy', [1041]], - ['bcy', [1073]], - ['bdquo', [8222]], - ['becaus', [8757]], - ['because', [8757]], - ['Because', [8757]], - ['bemptyv', [10672]], - ['bepsi', [1014]], - ['bernou', [8492]], - ['Bernoullis', [8492]], - ['Beta', [914]], - ['beta', [946]], - ['beth', [8502]], - ['between', [8812]], - ['Bfr', [120069]], - ['bfr', [120095]], - ['bigcap', [8898]], - ['bigcirc', [9711]], - ['bigcup', [8899]], - ['bigodot', [10752]], - ['bigoplus', [10753]], - ['bigotimes', [10754]], - ['bigsqcup', [10758]], - ['bigstar', [9733]], - ['bigtriangledown', [9661]], - ['bigtriangleup', [9651]], - ['biguplus', [10756]], - ['bigvee', [8897]], - ['bigwedge', [8896]], - ['bkarow', [10509]], - ['blacklozenge', [10731]], - ['blacksquare', [9642]], - ['blacktriangle', [9652]], - ['blacktriangledown', [9662]], - ['blacktriangleleft', [9666]], - ['blacktriangleright', [9656]], - ['blank', [9251]], - ['blk12', [9618]], - ['blk14', [9617]], - ['blk34', [9619]], - ['block', [9608]], - ['bne', [61, 8421]], - ['bnequiv', [8801, 8421]], - ['bNot', [10989]], - ['bnot', [8976]], - ['Bopf', [120121]], - ['bopf', [120147]], - ['bot', [8869]], - ['bottom', [8869]], - ['bowtie', [8904]], - ['boxbox', [10697]], - ['boxdl', [9488]], - ['boxdL', [9557]], - ['boxDl', [9558]], - ['boxDL', [9559]], - ['boxdr', [9484]], - ['boxdR', [9554]], - ['boxDr', [9555]], - ['boxDR', [9556]], - ['boxh', [9472]], - ['boxH', [9552]], - ['boxhd', [9516]], - ['boxHd', [9572]], - ['boxhD', [9573]], - ['boxHD', [9574]], - ['boxhu', [9524]], - ['boxHu', [9575]], - ['boxhU', [9576]], - ['boxHU', [9577]], - ['boxminus', [8863]], - ['boxplus', [8862]], - ['boxtimes', [8864]], - ['boxul', [9496]], - ['boxuL', [9563]], - ['boxUl', [9564]], - ['boxUL', [9565]], - ['boxur', [9492]], - ['boxuR', [9560]], - ['boxUr', [9561]], - ['boxUR', [9562]], - ['boxv', [9474]], - ['boxV', [9553]], - ['boxvh', [9532]], - ['boxvH', [9578]], - ['boxVh', [9579]], - ['boxVH', [9580]], - ['boxvl', [9508]], - ['boxvL', [9569]], - ['boxVl', [9570]], - ['boxVL', [9571]], - ['boxvr', [9500]], - ['boxvR', [9566]], - ['boxVr', [9567]], - ['boxVR', [9568]], - ['bprime', [8245]], - ['breve', [728]], - ['Breve', [728]], - ['brvbar', [166]], - ['bscr', [119991]], - ['Bscr', [8492]], - ['bsemi', [8271]], - ['bsim', [8765]], - ['bsime', [8909]], - ['bsolb', [10693]], - ['bsol', [92]], - ['bsolhsub', [10184]], - ['bull', [8226]], - ['bullet', [8226]], - ['bump', [8782]], - ['bumpE', [10926]], - ['bumpe', [8783]], - ['Bumpeq', [8782]], - ['bumpeq', [8783]], - ['Cacute', [262]], - ['cacute', [263]], - ['capand', [10820]], - ['capbrcup', [10825]], - ['capcap', [10827]], - ['cap', [8745]], - ['Cap', [8914]], - ['capcup', [10823]], - ['capdot', [10816]], - ['CapitalDifferentialD', [8517]], - ['caps', [8745, 65024]], - ['caret', [8257]], - ['caron', [711]], - ['Cayleys', [8493]], - ['ccaps', [10829]], - ['Ccaron', [268]], - ['ccaron', [269]], - ['Ccedil', [199]], - ['ccedil', [231]], - ['Ccirc', [264]], - ['ccirc', [265]], - ['Cconint', [8752]], - ['ccups', [10828]], - ['ccupssm', [10832]], - ['Cdot', [266]], - ['cdot', [267]], - ['cedil', [184]], - ['Cedilla', [184]], - ['cemptyv', [10674]], - ['cent', [162]], - ['centerdot', [183]], - ['CenterDot', [183]], - ['cfr', [120096]], - ['Cfr', [8493]], - ['CHcy', [1063]], - ['chcy', [1095]], - ['check', [10003]], - ['checkmark', [10003]], - ['Chi', [935]], - ['chi', [967]], - ['circ', [710]], - ['circeq', [8791]], - ['circlearrowleft', [8634]], - ['circlearrowright', [8635]], - ['circledast', [8859]], - ['circledcirc', [8858]], - ['circleddash', [8861]], - ['CircleDot', [8857]], - ['circledR', [174]], - ['circledS', [9416]], - ['CircleMinus', [8854]], - ['CirclePlus', [8853]], - ['CircleTimes', [8855]], - ['cir', [9675]], - ['cirE', [10691]], - ['cire', [8791]], - ['cirfnint', [10768]], - ['cirmid', [10991]], - ['cirscir', [10690]], - ['ClockwiseContourIntegral', [8754]], - ['clubs', [9827]], - ['clubsuit', [9827]], - ['colon', [58]], - ['Colon', [8759]], - ['Colone', [10868]], - ['colone', [8788]], - ['coloneq', [8788]], - ['comma', [44]], - ['commat', [64]], - ['comp', [8705]], - ['compfn', [8728]], - ['complement', [8705]], - ['complexes', [8450]], - ['cong', [8773]], - ['congdot', [10861]], - ['Congruent', [8801]], - ['conint', [8750]], - ['Conint', [8751]], - ['ContourIntegral', [8750]], - ['copf', [120148]], - ['Copf', [8450]], - ['coprod', [8720]], - ['Coproduct', [8720]], - ['copy', [169]], - ['COPY', [169]], - ['copysr', [8471]], - ['CounterClockwiseContourIntegral', [8755]], - ['crarr', [8629]], - ['cross', [10007]], - ['Cross', [10799]], - ['Cscr', [119966]], - ['cscr', [119992]], - ['csub', [10959]], - ['csube', [10961]], - ['csup', [10960]], - ['csupe', [10962]], - ['ctdot', [8943]], - ['cudarrl', [10552]], - ['cudarrr', [10549]], - ['cuepr', [8926]], - ['cuesc', [8927]], - ['cularr', [8630]], - ['cularrp', [10557]], - ['cupbrcap', [10824]], - ['cupcap', [10822]], - ['CupCap', [8781]], - ['cup', [8746]], - ['Cup', [8915]], - ['cupcup', [10826]], - ['cupdot', [8845]], - ['cupor', [10821]], - ['cups', [8746, 65024]], - ['curarr', [8631]], - ['curarrm', [10556]], - ['curlyeqprec', [8926]], - ['curlyeqsucc', [8927]], - ['curlyvee', [8910]], - ['curlywedge', [8911]], - ['curren', [164]], - ['curvearrowleft', [8630]], - ['curvearrowright', [8631]], - ['cuvee', [8910]], - ['cuwed', [8911]], - ['cwconint', [8754]], - ['cwint', [8753]], - ['cylcty', [9005]], - ['dagger', [8224]], - ['Dagger', [8225]], - ['daleth', [8504]], - ['darr', [8595]], - ['Darr', [8609]], - ['dArr', [8659]], - ['dash', [8208]], - ['Dashv', [10980]], - ['dashv', [8867]], - ['dbkarow', [10511]], - ['dblac', [733]], - ['Dcaron', [270]], - ['dcaron', [271]], - ['Dcy', [1044]], - ['dcy', [1076]], - ['ddagger', [8225]], - ['ddarr', [8650]], - ['DD', [8517]], - ['dd', [8518]], - ['DDotrahd', [10513]], - ['ddotseq', [10871]], - ['deg', [176]], - ['Del', [8711]], - ['Delta', [916]], - ['delta', [948]], - ['demptyv', [10673]], - ['dfisht', [10623]], - ['Dfr', [120071]], - ['dfr', [120097]], - ['dHar', [10597]], - ['dharl', [8643]], - ['dharr', [8642]], - ['DiacriticalAcute', [180]], - ['DiacriticalDot', [729]], - ['DiacriticalDoubleAcute', [733]], - ['DiacriticalGrave', [96]], - ['DiacriticalTilde', [732]], - ['diam', [8900]], - ['diamond', [8900]], - ['Diamond', [8900]], - ['diamondsuit', [9830]], - ['diams', [9830]], - ['die', [168]], - ['DifferentialD', [8518]], - ['digamma', [989]], - ['disin', [8946]], - ['div', [247]], - ['divide', [247]], - ['divideontimes', [8903]], - ['divonx', [8903]], - ['DJcy', [1026]], - ['djcy', [1106]], - ['dlcorn', [8990]], - ['dlcrop', [8973]], - ['dollar', [36]], - ['Dopf', [120123]], - ['dopf', [120149]], - ['Dot', [168]], - ['dot', [729]], - ['DotDot', [8412]], - ['doteq', [8784]], - ['doteqdot', [8785]], - ['DotEqual', [8784]], - ['dotminus', [8760]], - ['dotplus', [8724]], - ['dotsquare', [8865]], - ['doublebarwedge', [8966]], - ['DoubleContourIntegral', [8751]], - ['DoubleDot', [168]], - ['DoubleDownArrow', [8659]], - ['DoubleLeftArrow', [8656]], - ['DoubleLeftRightArrow', [8660]], - ['DoubleLeftTee', [10980]], - ['DoubleLongLeftArrow', [10232]], - ['DoubleLongLeftRightArrow', [10234]], - ['DoubleLongRightArrow', [10233]], - ['DoubleRightArrow', [8658]], - ['DoubleRightTee', [8872]], - ['DoubleUpArrow', [8657]], - ['DoubleUpDownArrow', [8661]], - ['DoubleVerticalBar', [8741]], - ['DownArrowBar', [10515]], - ['downarrow', [8595]], - ['DownArrow', [8595]], - ['Downarrow', [8659]], - ['DownArrowUpArrow', [8693]], - ['DownBreve', [785]], - ['downdownarrows', [8650]], - ['downharpoonleft', [8643]], - ['downharpoonright', [8642]], - ['DownLeftRightVector', [10576]], - ['DownLeftTeeVector', [10590]], - ['DownLeftVectorBar', [10582]], - ['DownLeftVector', [8637]], - ['DownRightTeeVector', [10591]], - ['DownRightVectorBar', [10583]], - ['DownRightVector', [8641]], - ['DownTeeArrow', [8615]], - ['DownTee', [8868]], - ['drbkarow', [10512]], - ['drcorn', [8991]], - ['drcrop', [8972]], - ['Dscr', [119967]], - ['dscr', [119993]], - ['DScy', [1029]], - ['dscy', [1109]], - ['dsol', [10742]], - ['Dstrok', [272]], - ['dstrok', [273]], - ['dtdot', [8945]], - ['dtri', [9663]], - ['dtrif', [9662]], - ['duarr', [8693]], - ['duhar', [10607]], - ['dwangle', [10662]], - ['DZcy', [1039]], - ['dzcy', [1119]], - ['dzigrarr', [10239]], - ['Eacute', [201]], - ['eacute', [233]], - ['easter', [10862]], - ['Ecaron', [282]], - ['ecaron', [283]], - ['Ecirc', [202]], - ['ecirc', [234]], - ['ecir', [8790]], - ['ecolon', [8789]], - ['Ecy', [1069]], - ['ecy', [1101]], - ['eDDot', [10871]], - ['Edot', [278]], - ['edot', [279]], - ['eDot', [8785]], - ['ee', [8519]], - ['efDot', [8786]], - ['Efr', [120072]], - ['efr', [120098]], - ['eg', [10906]], - ['Egrave', [200]], - ['egrave', [232]], - ['egs', [10902]], - ['egsdot', [10904]], - ['el', [10905]], - ['Element', [8712]], - ['elinters', [9191]], - ['ell', [8467]], - ['els', [10901]], - ['elsdot', [10903]], - ['Emacr', [274]], - ['emacr', [275]], - ['empty', [8709]], - ['emptyset', [8709]], - ['EmptySmallSquare', [9723]], - ['emptyv', [8709]], - ['EmptyVerySmallSquare', [9643]], - ['emsp13', [8196]], - ['emsp14', [8197]], - ['emsp', [8195]], - ['ENG', [330]], - ['eng', [331]], - ['ensp', [8194]], - ['Eogon', [280]], - ['eogon', [281]], - ['Eopf', [120124]], - ['eopf', [120150]], - ['epar', [8917]], - ['eparsl', [10723]], - ['eplus', [10865]], - ['epsi', [949]], - ['Epsilon', [917]], - ['epsilon', [949]], - ['epsiv', [1013]], - ['eqcirc', [8790]], - ['eqcolon', [8789]], - ['eqsim', [8770]], - ['eqslantgtr', [10902]], - ['eqslantless', [10901]], - ['Equal', [10869]], - ['equals', [61]], - ['EqualTilde', [8770]], - ['equest', [8799]], - ['Equilibrium', [8652]], - ['equiv', [8801]], - ['equivDD', [10872]], - ['eqvparsl', [10725]], - ['erarr', [10609]], - ['erDot', [8787]], - ['escr', [8495]], - ['Escr', [8496]], - ['esdot', [8784]], - ['Esim', [10867]], - ['esim', [8770]], - ['Eta', [919]], - ['eta', [951]], - ['ETH', [208]], - ['eth', [240]], - ['Euml', [203]], - ['euml', [235]], - ['euro', [8364]], - ['excl', [33]], - ['exist', [8707]], - ['Exists', [8707]], - ['expectation', [8496]], - ['exponentiale', [8519]], - ['ExponentialE', [8519]], - ['fallingdotseq', [8786]], - ['Fcy', [1060]], - ['fcy', [1092]], - ['female', [9792]], - ['ffilig', [64259]], - ['fflig', [64256]], - ['ffllig', [64260]], - ['Ffr', [120073]], - ['ffr', [120099]], - ['filig', [64257]], - ['FilledSmallSquare', [9724]], - ['FilledVerySmallSquare', [9642]], - ['fjlig', [102, 106]], - ['flat', [9837]], - ['fllig', [64258]], - ['fltns', [9649]], - ['fnof', [402]], - ['Fopf', [120125]], - ['fopf', [120151]], - ['forall', [8704]], - ['ForAll', [8704]], - ['fork', [8916]], - ['forkv', [10969]], - ['Fouriertrf', [8497]], - ['fpartint', [10765]], - ['frac12', [189]], - ['frac13', [8531]], - ['frac14', [188]], - ['frac15', [8533]], - ['frac16', [8537]], - ['frac18', [8539]], - ['frac23', [8532]], - ['frac25', [8534]], - ['frac34', [190]], - ['frac35', [8535]], - ['frac38', [8540]], - ['frac45', [8536]], - ['frac56', [8538]], - ['frac58', [8541]], - ['frac78', [8542]], - ['frasl', [8260]], - ['frown', [8994]], - ['fscr', [119995]], - ['Fscr', [8497]], - ['gacute', [501]], - ['Gamma', [915]], - ['gamma', [947]], - ['Gammad', [988]], - ['gammad', [989]], - ['gap', [10886]], - ['Gbreve', [286]], - ['gbreve', [287]], - ['Gcedil', [290]], - ['Gcirc', [284]], - ['gcirc', [285]], - ['Gcy', [1043]], - ['gcy', [1075]], - ['Gdot', [288]], - ['gdot', [289]], - ['ge', [8805]], - ['gE', [8807]], - ['gEl', [10892]], - ['gel', [8923]], - ['geq', [8805]], - ['geqq', [8807]], - ['geqslant', [10878]], - ['gescc', [10921]], - ['ges', [10878]], - ['gesdot', [10880]], - ['gesdoto', [10882]], - ['gesdotol', [10884]], - ['gesl', [8923, 65024]], - ['gesles', [10900]], - ['Gfr', [120074]], - ['gfr', [120100]], - ['gg', [8811]], - ['Gg', [8921]], - ['ggg', [8921]], - ['gimel', [8503]], - ['GJcy', [1027]], - ['gjcy', [1107]], - ['gla', [10917]], - ['gl', [8823]], - ['glE', [10898]], - ['glj', [10916]], - ['gnap', [10890]], - ['gnapprox', [10890]], - ['gne', [10888]], - ['gnE', [8809]], - ['gneq', [10888]], - ['gneqq', [8809]], - ['gnsim', [8935]], - ['Gopf', [120126]], - ['gopf', [120152]], - ['grave', [96]], - ['GreaterEqual', [8805]], - ['GreaterEqualLess', [8923]], - ['GreaterFullEqual', [8807]], - ['GreaterGreater', [10914]], - ['GreaterLess', [8823]], - ['GreaterSlantEqual', [10878]], - ['GreaterTilde', [8819]], - ['Gscr', [119970]], - ['gscr', [8458]], - ['gsim', [8819]], - ['gsime', [10894]], - ['gsiml', [10896]], - ['gtcc', [10919]], - ['gtcir', [10874]], - ['gt', [62]], - ['GT', [62]], - ['Gt', [8811]], - ['gtdot', [8919]], - ['gtlPar', [10645]], - ['gtquest', [10876]], - ['gtrapprox', [10886]], - ['gtrarr', [10616]], - ['gtrdot', [8919]], - ['gtreqless', [8923]], - ['gtreqqless', [10892]], - ['gtrless', [8823]], - ['gtrsim', [8819]], - ['gvertneqq', [8809, 65024]], - ['gvnE', [8809, 65024]], - ['Hacek', [711]], - ['hairsp', [8202]], - ['half', [189]], - ['hamilt', [8459]], - ['HARDcy', [1066]], - ['hardcy', [1098]], - ['harrcir', [10568]], - ['harr', [8596]], - ['hArr', [8660]], - ['harrw', [8621]], - ['Hat', [94]], - ['hbar', [8463]], - ['Hcirc', [292]], - ['hcirc', [293]], - ['hearts', [9829]], - ['heartsuit', [9829]], - ['hellip', [8230]], - ['hercon', [8889]], - ['hfr', [120101]], - ['Hfr', [8460]], - ['HilbertSpace', [8459]], - ['hksearow', [10533]], - ['hkswarow', [10534]], - ['hoarr', [8703]], - ['homtht', [8763]], - ['hookleftarrow', [8617]], - ['hookrightarrow', [8618]], - ['hopf', [120153]], - ['Hopf', [8461]], - ['horbar', [8213]], - ['HorizontalLine', [9472]], - ['hscr', [119997]], - ['Hscr', [8459]], - ['hslash', [8463]], - ['Hstrok', [294]], - ['hstrok', [295]], - ['HumpDownHump', [8782]], - ['HumpEqual', [8783]], - ['hybull', [8259]], - ['hyphen', [8208]], - ['Iacute', [205]], - ['iacute', [237]], - ['ic', [8291]], - ['Icirc', [206]], - ['icirc', [238]], - ['Icy', [1048]], - ['icy', [1080]], - ['Idot', [304]], - ['IEcy', [1045]], - ['iecy', [1077]], - ['iexcl', [161]], - ['iff', [8660]], - ['ifr', [120102]], - ['Ifr', [8465]], - ['Igrave', [204]], - ['igrave', [236]], - ['ii', [8520]], - ['iiiint', [10764]], - ['iiint', [8749]], - ['iinfin', [10716]], - ['iiota', [8489]], - ['IJlig', [306]], - ['ijlig', [307]], - ['Imacr', [298]], - ['imacr', [299]], - ['image', [8465]], - ['ImaginaryI', [8520]], - ['imagline', [8464]], - ['imagpart', [8465]], - ['imath', [305]], - ['Im', [8465]], - ['imof', [8887]], - ['imped', [437]], - ['Implies', [8658]], - ['incare', [8453]], - ['in', [8712]], - ['infin', [8734]], - ['infintie', [10717]], - ['inodot', [305]], - ['intcal', [8890]], - ['int', [8747]], - ['Int', [8748]], - ['integers', [8484]], - ['Integral', [8747]], - ['intercal', [8890]], - ['Intersection', [8898]], - ['intlarhk', [10775]], - ['intprod', [10812]], - ['InvisibleComma', [8291]], - ['InvisibleTimes', [8290]], - ['IOcy', [1025]], - ['iocy', [1105]], - ['Iogon', [302]], - ['iogon', [303]], - ['Iopf', [120128]], - ['iopf', [120154]], - ['Iota', [921]], - ['iota', [953]], - ['iprod', [10812]], - ['iquest', [191]], - ['iscr', [119998]], - ['Iscr', [8464]], - ['isin', [8712]], - ['isindot', [8949]], - ['isinE', [8953]], - ['isins', [8948]], - ['isinsv', [8947]], - ['isinv', [8712]], - ['it', [8290]], - ['Itilde', [296]], - ['itilde', [297]], - ['Iukcy', [1030]], - ['iukcy', [1110]], - ['Iuml', [207]], - ['iuml', [239]], - ['Jcirc', [308]], - ['jcirc', [309]], - ['Jcy', [1049]], - ['jcy', [1081]], - ['Jfr', [120077]], - ['jfr', [120103]], - ['jmath', [567]], - ['Jopf', [120129]], - ['jopf', [120155]], - ['Jscr', [119973]], - ['jscr', [119999]], - ['Jsercy', [1032]], - ['jsercy', [1112]], - ['Jukcy', [1028]], - ['jukcy', [1108]], - ['Kappa', [922]], - ['kappa', [954]], - ['kappav', [1008]], - ['Kcedil', [310]], - ['kcedil', [311]], - ['Kcy', [1050]], - ['kcy', [1082]], - ['Kfr', [120078]], - ['kfr', [120104]], - ['kgreen', [312]], - ['KHcy', [1061]], - ['khcy', [1093]], - ['KJcy', [1036]], - ['kjcy', [1116]], - ['Kopf', [120130]], - ['kopf', [120156]], - ['Kscr', [119974]], - ['kscr', [12e4]], - ['lAarr', [8666]], - ['Lacute', [313]], - ['lacute', [314]], - ['laemptyv', [10676]], - ['lagran', [8466]], - ['Lambda', [923]], - ['lambda', [955]], - ['lang', [10216]], - ['Lang', [10218]], - ['langd', [10641]], - ['langle', [10216]], - ['lap', [10885]], - ['Laplacetrf', [8466]], - ['laquo', [171]], - ['larrb', [8676]], - ['larrbfs', [10527]], - ['larr', [8592]], - ['Larr', [8606]], - ['lArr', [8656]], - ['larrfs', [10525]], - ['larrhk', [8617]], - ['larrlp', [8619]], - ['larrpl', [10553]], - ['larrsim', [10611]], - ['larrtl', [8610]], - ['latail', [10521]], - ['lAtail', [10523]], - ['lat', [10923]], - ['late', [10925]], - ['lates', [10925, 65024]], - ['lbarr', [10508]], - ['lBarr', [10510]], - ['lbbrk', [10098]], - ['lbrace', [123]], - ['lbrack', [91]], - ['lbrke', [10635]], - ['lbrksld', [10639]], - ['lbrkslu', [10637]], - ['Lcaron', [317]], - ['lcaron', [318]], - ['Lcedil', [315]], - ['lcedil', [316]], - ['lceil', [8968]], - ['lcub', [123]], - ['Lcy', [1051]], - ['lcy', [1083]], - ['ldca', [10550]], - ['ldquo', [8220]], - ['ldquor', [8222]], - ['ldrdhar', [10599]], - ['ldrushar', [10571]], - ['ldsh', [8626]], - ['le', [8804]], - ['lE', [8806]], - ['LeftAngleBracket', [10216]], - ['LeftArrowBar', [8676]], - ['leftarrow', [8592]], - ['LeftArrow', [8592]], - ['Leftarrow', [8656]], - ['LeftArrowRightArrow', [8646]], - ['leftarrowtail', [8610]], - ['LeftCeiling', [8968]], - ['LeftDoubleBracket', [10214]], - ['LeftDownTeeVector', [10593]], - ['LeftDownVectorBar', [10585]], - ['LeftDownVector', [8643]], - ['LeftFloor', [8970]], - ['leftharpoondown', [8637]], - ['leftharpoonup', [8636]], - ['leftleftarrows', [8647]], - ['leftrightarrow', [8596]], - ['LeftRightArrow', [8596]], - ['Leftrightarrow', [8660]], - ['leftrightarrows', [8646]], - ['leftrightharpoons', [8651]], - ['leftrightsquigarrow', [8621]], - ['LeftRightVector', [10574]], - ['LeftTeeArrow', [8612]], - ['LeftTee', [8867]], - ['LeftTeeVector', [10586]], - ['leftthreetimes', [8907]], - ['LeftTriangleBar', [10703]], - ['LeftTriangle', [8882]], - ['LeftTriangleEqual', [8884]], - ['LeftUpDownVector', [10577]], - ['LeftUpTeeVector', [10592]], - ['LeftUpVectorBar', [10584]], - ['LeftUpVector', [8639]], - ['LeftVectorBar', [10578]], - ['LeftVector', [8636]], - ['lEg', [10891]], - ['leg', [8922]], - ['leq', [8804]], - ['leqq', [8806]], - ['leqslant', [10877]], - ['lescc', [10920]], - ['les', [10877]], - ['lesdot', [10879]], - ['lesdoto', [10881]], - ['lesdotor', [10883]], - ['lesg', [8922, 65024]], - ['lesges', [10899]], - ['lessapprox', [10885]], - ['lessdot', [8918]], - ['lesseqgtr', [8922]], - ['lesseqqgtr', [10891]], - ['LessEqualGreater', [8922]], - ['LessFullEqual', [8806]], - ['LessGreater', [8822]], - ['lessgtr', [8822]], - ['LessLess', [10913]], - ['lesssim', [8818]], - ['LessSlantEqual', [10877]], - ['LessTilde', [8818]], - ['lfisht', [10620]], - ['lfloor', [8970]], - ['Lfr', [120079]], - ['lfr', [120105]], - ['lg', [8822]], - ['lgE', [10897]], - ['lHar', [10594]], - ['lhard', [8637]], - ['lharu', [8636]], - ['lharul', [10602]], - ['lhblk', [9604]], - ['LJcy', [1033]], - ['ljcy', [1113]], - ['llarr', [8647]], - ['ll', [8810]], - ['Ll', [8920]], - ['llcorner', [8990]], - ['Lleftarrow', [8666]], - ['llhard', [10603]], - ['lltri', [9722]], - ['Lmidot', [319]], - ['lmidot', [320]], - ['lmoustache', [9136]], - ['lmoust', [9136]], - ['lnap', [10889]], - ['lnapprox', [10889]], - ['lne', [10887]], - ['lnE', [8808]], - ['lneq', [10887]], - ['lneqq', [8808]], - ['lnsim', [8934]], - ['loang', [10220]], - ['loarr', [8701]], - ['lobrk', [10214]], - ['longleftarrow', [10229]], - ['LongLeftArrow', [10229]], - ['Longleftarrow', [10232]], - ['longleftrightarrow', [10231]], - ['LongLeftRightArrow', [10231]], - ['Longleftrightarrow', [10234]], - ['longmapsto', [10236]], - ['longrightarrow', [10230]], - ['LongRightArrow', [10230]], - ['Longrightarrow', [10233]], - ['looparrowleft', [8619]], - ['looparrowright', [8620]], - ['lopar', [10629]], - ['Lopf', [120131]], - ['lopf', [120157]], - ['loplus', [10797]], - ['lotimes', [10804]], - ['lowast', [8727]], - ['lowbar', [95]], - ['LowerLeftArrow', [8601]], - ['LowerRightArrow', [8600]], - ['loz', [9674]], - ['lozenge', [9674]], - ['lozf', [10731]], - ['lpar', [40]], - ['lparlt', [10643]], - ['lrarr', [8646]], - ['lrcorner', [8991]], - ['lrhar', [8651]], - ['lrhard', [10605]], - ['lrm', [8206]], - ['lrtri', [8895]], - ['lsaquo', [8249]], - ['lscr', [120001]], - ['Lscr', [8466]], - ['lsh', [8624]], - ['Lsh', [8624]], - ['lsim', [8818]], - ['lsime', [10893]], - ['lsimg', [10895]], - ['lsqb', [91]], - ['lsquo', [8216]], - ['lsquor', [8218]], - ['Lstrok', [321]], - ['lstrok', [322]], - ['ltcc', [10918]], - ['ltcir', [10873]], - ['lt', [60]], - ['LT', [60]], - ['Lt', [8810]], - ['ltdot', [8918]], - ['lthree', [8907]], - ['ltimes', [8905]], - ['ltlarr', [10614]], - ['ltquest', [10875]], - ['ltri', [9667]], - ['ltrie', [8884]], - ['ltrif', [9666]], - ['ltrPar', [10646]], - ['lurdshar', [10570]], - ['luruhar', [10598]], - ['lvertneqq', [8808, 65024]], - ['lvnE', [8808, 65024]], - ['macr', [175]], - ['male', [9794]], - ['malt', [10016]], - ['maltese', [10016]], - ['Map', [10501]], - ['map', [8614]], - ['mapsto', [8614]], - ['mapstodown', [8615]], - ['mapstoleft', [8612]], - ['mapstoup', [8613]], - ['marker', [9646]], - ['mcomma', [10793]], - ['Mcy', [1052]], - ['mcy', [1084]], - ['mdash', [8212]], - ['mDDot', [8762]], - ['measuredangle', [8737]], - ['MediumSpace', [8287]], - ['Mellintrf', [8499]], - ['Mfr', [120080]], - ['mfr', [120106]], - ['mho', [8487]], - ['micro', [181]], - ['midast', [42]], - ['midcir', [10992]], - ['mid', [8739]], - ['middot', [183]], - ['minusb', [8863]], - ['minus', [8722]], - ['minusd', [8760]], - ['minusdu', [10794]], - ['MinusPlus', [8723]], - ['mlcp', [10971]], - ['mldr', [8230]], - ['mnplus', [8723]], - ['models', [8871]], - ['Mopf', [120132]], - ['mopf', [120158]], - ['mp', [8723]], - ['mscr', [120002]], - ['Mscr', [8499]], - ['mstpos', [8766]], - ['Mu', [924]], - ['mu', [956]], - ['multimap', [8888]], - ['mumap', [8888]], - ['nabla', [8711]], - ['Nacute', [323]], - ['nacute', [324]], - ['nang', [8736, 8402]], - ['nap', [8777]], - ['napE', [10864, 824]], - ['napid', [8779, 824]], - ['napos', [329]], - ['napprox', [8777]], - ['natural', [9838]], - ['naturals', [8469]], - ['natur', [9838]], - ['nbsp', [160]], - ['nbump', [8782, 824]], - ['nbumpe', [8783, 824]], - ['ncap', [10819]], - ['Ncaron', [327]], - ['ncaron', [328]], - ['Ncedil', [325]], - ['ncedil', [326]], - ['ncong', [8775]], - ['ncongdot', [10861, 824]], - ['ncup', [10818]], - ['Ncy', [1053]], - ['ncy', [1085]], - ['ndash', [8211]], - ['nearhk', [10532]], - ['nearr', [8599]], - ['neArr', [8663]], - ['nearrow', [8599]], - ['ne', [8800]], - ['nedot', [8784, 824]], - ['NegativeMediumSpace', [8203]], - ['NegativeThickSpace', [8203]], - ['NegativeThinSpace', [8203]], - ['NegativeVeryThinSpace', [8203]], - ['nequiv', [8802]], - ['nesear', [10536]], - ['nesim', [8770, 824]], - ['NestedGreaterGreater', [8811]], - ['NestedLessLess', [8810]], - ['nexist', [8708]], - ['nexists', [8708]], - ['Nfr', [120081]], - ['nfr', [120107]], - ['ngE', [8807, 824]], - ['nge', [8817]], - ['ngeq', [8817]], - ['ngeqq', [8807, 824]], - ['ngeqslant', [10878, 824]], - ['nges', [10878, 824]], - ['nGg', [8921, 824]], - ['ngsim', [8821]], - ['nGt', [8811, 8402]], - ['ngt', [8815]], - ['ngtr', [8815]], - ['nGtv', [8811, 824]], - ['nharr', [8622]], - ['nhArr', [8654]], - ['nhpar', [10994]], - ['ni', [8715]], - ['nis', [8956]], - ['nisd', [8954]], - ['niv', [8715]], - ['NJcy', [1034]], - ['njcy', [1114]], - ['nlarr', [8602]], - ['nlArr', [8653]], - ['nldr', [8229]], - ['nlE', [8806, 824]], - ['nle', [8816]], - ['nleftarrow', [8602]], - ['nLeftarrow', [8653]], - ['nleftrightarrow', [8622]], - ['nLeftrightarrow', [8654]], - ['nleq', [8816]], - ['nleqq', [8806, 824]], - ['nleqslant', [10877, 824]], - ['nles', [10877, 824]], - ['nless', [8814]], - ['nLl', [8920, 824]], - ['nlsim', [8820]], - ['nLt', [8810, 8402]], - ['nlt', [8814]], - ['nltri', [8938]], - ['nltrie', [8940]], - ['nLtv', [8810, 824]], - ['nmid', [8740]], - ['NoBreak', [8288]], - ['NonBreakingSpace', [160]], - ['nopf', [120159]], - ['Nopf', [8469]], - ['Not', [10988]], - ['not', [172]], - ['NotCongruent', [8802]], - ['NotCupCap', [8813]], - ['NotDoubleVerticalBar', [8742]], - ['NotElement', [8713]], - ['NotEqual', [8800]], - ['NotEqualTilde', [8770, 824]], - ['NotExists', [8708]], - ['NotGreater', [8815]], - ['NotGreaterEqual', [8817]], - ['NotGreaterFullEqual', [8807, 824]], - ['NotGreaterGreater', [8811, 824]], - ['NotGreaterLess', [8825]], - ['NotGreaterSlantEqual', [10878, 824]], - ['NotGreaterTilde', [8821]], - ['NotHumpDownHump', [8782, 824]], - ['NotHumpEqual', [8783, 824]], - ['notin', [8713]], - ['notindot', [8949, 824]], - ['notinE', [8953, 824]], - ['notinva', [8713]], - ['notinvb', [8951]], - ['notinvc', [8950]], - ['NotLeftTriangleBar', [10703, 824]], - ['NotLeftTriangle', [8938]], - ['NotLeftTriangleEqual', [8940]], - ['NotLess', [8814]], - ['NotLessEqual', [8816]], - ['NotLessGreater', [8824]], - ['NotLessLess', [8810, 824]], - ['NotLessSlantEqual', [10877, 824]], - ['NotLessTilde', [8820]], - ['NotNestedGreaterGreater', [10914, 824]], - ['NotNestedLessLess', [10913, 824]], - ['notni', [8716]], - ['notniva', [8716]], - ['notnivb', [8958]], - ['notnivc', [8957]], - ['NotPrecedes', [8832]], - ['NotPrecedesEqual', [10927, 824]], - ['NotPrecedesSlantEqual', [8928]], - ['NotReverseElement', [8716]], - ['NotRightTriangleBar', [10704, 824]], - ['NotRightTriangle', [8939]], - ['NotRightTriangleEqual', [8941]], - ['NotSquareSubset', [8847, 824]], - ['NotSquareSubsetEqual', [8930]], - ['NotSquareSuperset', [8848, 824]], - ['NotSquareSupersetEqual', [8931]], - ['NotSubset', [8834, 8402]], - ['NotSubsetEqual', [8840]], - ['NotSucceeds', [8833]], - ['NotSucceedsEqual', [10928, 824]], - ['NotSucceedsSlantEqual', [8929]], - ['NotSucceedsTilde', [8831, 824]], - ['NotSuperset', [8835, 8402]], - ['NotSupersetEqual', [8841]], - ['NotTilde', [8769]], - ['NotTildeEqual', [8772]], - ['NotTildeFullEqual', [8775]], - ['NotTildeTilde', [8777]], - ['NotVerticalBar', [8740]], - ['nparallel', [8742]], - ['npar', [8742]], - ['nparsl', [11005, 8421]], - ['npart', [8706, 824]], - ['npolint', [10772]], - ['npr', [8832]], - ['nprcue', [8928]], - ['nprec', [8832]], - ['npreceq', [10927, 824]], - ['npre', [10927, 824]], - ['nrarrc', [10547, 824]], - ['nrarr', [8603]], - ['nrArr', [8655]], - ['nrarrw', [8605, 824]], - ['nrightarrow', [8603]], - ['nRightarrow', [8655]], - ['nrtri', [8939]], - ['nrtrie', [8941]], - ['nsc', [8833]], - ['nsccue', [8929]], - ['nsce', [10928, 824]], - ['Nscr', [119977]], - ['nscr', [120003]], - ['nshortmid', [8740]], - ['nshortparallel', [8742]], - ['nsim', [8769]], - ['nsime', [8772]], - ['nsimeq', [8772]], - ['nsmid', [8740]], - ['nspar', [8742]], - ['nsqsube', [8930]], - ['nsqsupe', [8931]], - ['nsub', [8836]], - ['nsubE', [10949, 824]], - ['nsube', [8840]], - ['nsubset', [8834, 8402]], - ['nsubseteq', [8840]], - ['nsubseteqq', [10949, 824]], - ['nsucc', [8833]], - ['nsucceq', [10928, 824]], - ['nsup', [8837]], - ['nsupE', [10950, 824]], - ['nsupe', [8841]], - ['nsupset', [8835, 8402]], - ['nsupseteq', [8841]], - ['nsupseteqq', [10950, 824]], - ['ntgl', [8825]], - ['Ntilde', [209]], - ['ntilde', [241]], - ['ntlg', [8824]], - ['ntriangleleft', [8938]], - ['ntrianglelefteq', [8940]], - ['ntriangleright', [8939]], - ['ntrianglerighteq', [8941]], - ['Nu', [925]], - ['nu', [957]], - ['num', [35]], - ['numero', [8470]], - ['numsp', [8199]], - ['nvap', [8781, 8402]], - ['nvdash', [8876]], - ['nvDash', [8877]], - ['nVdash', [8878]], - ['nVDash', [8879]], - ['nvge', [8805, 8402]], - ['nvgt', [62, 8402]], - ['nvHarr', [10500]], - ['nvinfin', [10718]], - ['nvlArr', [10498]], - ['nvle', [8804, 8402]], - ['nvlt', [60, 8402]], - ['nvltrie', [8884, 8402]], - ['nvrArr', [10499]], - ['nvrtrie', [8885, 8402]], - ['nvsim', [8764, 8402]], - ['nwarhk', [10531]], - ['nwarr', [8598]], - ['nwArr', [8662]], - ['nwarrow', [8598]], - ['nwnear', [10535]], - ['Oacute', [211]], - ['oacute', [243]], - ['oast', [8859]], - ['Ocirc', [212]], - ['ocirc', [244]], - ['ocir', [8858]], - ['Ocy', [1054]], - ['ocy', [1086]], - ['odash', [8861]], - ['Odblac', [336]], - ['odblac', [337]], - ['odiv', [10808]], - ['odot', [8857]], - ['odsold', [10684]], - ['OElig', [338]], - ['oelig', [339]], - ['ofcir', [10687]], - ['Ofr', [120082]], - ['ofr', [120108]], - ['ogon', [731]], - ['Ograve', [210]], - ['ograve', [242]], - ['ogt', [10689]], - ['ohbar', [10677]], - ['ohm', [937]], - ['oint', [8750]], - ['olarr', [8634]], - ['olcir', [10686]], - ['olcross', [10683]], - ['oline', [8254]], - ['olt', [10688]], - ['Omacr', [332]], - ['omacr', [333]], - ['Omega', [937]], - ['omega', [969]], - ['Omicron', [927]], - ['omicron', [959]], - ['omid', [10678]], - ['ominus', [8854]], - ['Oopf', [120134]], - ['oopf', [120160]], - ['opar', [10679]], - ['OpenCurlyDoubleQuote', [8220]], - ['OpenCurlyQuote', [8216]], - ['operp', [10681]], - ['oplus', [8853]], - ['orarr', [8635]], - ['Or', [10836]], - ['or', [8744]], - ['ord', [10845]], - ['order', [8500]], - ['orderof', [8500]], - ['ordf', [170]], - ['ordm', [186]], - ['origof', [8886]], - ['oror', [10838]], - ['orslope', [10839]], - ['orv', [10843]], - ['oS', [9416]], - ['Oscr', [119978]], - ['oscr', [8500]], - ['Oslash', [216]], - ['oslash', [248]], - ['osol', [8856]], - ['Otilde', [213]], - ['otilde', [245]], - ['otimesas', [10806]], - ['Otimes', [10807]], - ['otimes', [8855]], - ['Ouml', [214]], - ['ouml', [246]], - ['ovbar', [9021]], - ['OverBar', [8254]], - ['OverBrace', [9182]], - ['OverBracket', [9140]], - ['OverParenthesis', [9180]], - ['para', [182]], - ['parallel', [8741]], - ['par', [8741]], - ['parsim', [10995]], - ['parsl', [11005]], - ['part', [8706]], - ['PartialD', [8706]], - ['Pcy', [1055]], - ['pcy', [1087]], - ['percnt', [37]], - ['period', [46]], - ['permil', [8240]], - ['perp', [8869]], - ['pertenk', [8241]], - ['Pfr', [120083]], - ['pfr', [120109]], - ['Phi', [934]], - ['phi', [966]], - ['phiv', [981]], - ['phmmat', [8499]], - ['phone', [9742]], - ['Pi', [928]], - ['pi', [960]], - ['pitchfork', [8916]], - ['piv', [982]], - ['planck', [8463]], - ['planckh', [8462]], - ['plankv', [8463]], - ['plusacir', [10787]], - ['plusb', [8862]], - ['pluscir', [10786]], - ['plus', [43]], - ['plusdo', [8724]], - ['plusdu', [10789]], - ['pluse', [10866]], - ['PlusMinus', [177]], - ['plusmn', [177]], - ['plussim', [10790]], - ['plustwo', [10791]], - ['pm', [177]], - ['Poincareplane', [8460]], - ['pointint', [10773]], - ['popf', [120161]], - ['Popf', [8473]], - ['pound', [163]], - ['prap', [10935]], - ['Pr', [10939]], - ['pr', [8826]], - ['prcue', [8828]], - ['precapprox', [10935]], - ['prec', [8826]], - ['preccurlyeq', [8828]], - ['Precedes', [8826]], - ['PrecedesEqual', [10927]], - ['PrecedesSlantEqual', [8828]], - ['PrecedesTilde', [8830]], - ['preceq', [10927]], - ['precnapprox', [10937]], - ['precneqq', [10933]], - ['precnsim', [8936]], - ['pre', [10927]], - ['prE', [10931]], - ['precsim', [8830]], - ['prime', [8242]], - ['Prime', [8243]], - ['primes', [8473]], - ['prnap', [10937]], - ['prnE', [10933]], - ['prnsim', [8936]], - ['prod', [8719]], - ['Product', [8719]], - ['profalar', [9006]], - ['profline', [8978]], - ['profsurf', [8979]], - ['prop', [8733]], - ['Proportional', [8733]], - ['Proportion', [8759]], - ['propto', [8733]], - ['prsim', [8830]], - ['prurel', [8880]], - ['Pscr', [119979]], - ['pscr', [120005]], - ['Psi', [936]], - ['psi', [968]], - ['puncsp', [8200]], - ['Qfr', [120084]], - ['qfr', [120110]], - ['qint', [10764]], - ['qopf', [120162]], - ['Qopf', [8474]], - ['qprime', [8279]], - ['Qscr', [119980]], - ['qscr', [120006]], - ['quaternions', [8461]], - ['quatint', [10774]], - ['quest', [63]], - ['questeq', [8799]], - ['quot', [34]], - ['QUOT', [34]], - ['rAarr', [8667]], - ['race', [8765, 817]], - ['Racute', [340]], - ['racute', [341]], - ['radic', [8730]], - ['raemptyv', [10675]], - ['rang', [10217]], - ['Rang', [10219]], - ['rangd', [10642]], - ['range', [10661]], - ['rangle', [10217]], - ['raquo', [187]], - ['rarrap', [10613]], - ['rarrb', [8677]], - ['rarrbfs', [10528]], - ['rarrc', [10547]], - ['rarr', [8594]], - ['Rarr', [8608]], - ['rArr', [8658]], - ['rarrfs', [10526]], - ['rarrhk', [8618]], - ['rarrlp', [8620]], - ['rarrpl', [10565]], - ['rarrsim', [10612]], - ['Rarrtl', [10518]], - ['rarrtl', [8611]], - ['rarrw', [8605]], - ['ratail', [10522]], - ['rAtail', [10524]], - ['ratio', [8758]], - ['rationals', [8474]], - ['rbarr', [10509]], - ['rBarr', [10511]], - ['RBarr', [10512]], - ['rbbrk', [10099]], - ['rbrace', [125]], - ['rbrack', [93]], - ['rbrke', [10636]], - ['rbrksld', [10638]], - ['rbrkslu', [10640]], - ['Rcaron', [344]], - ['rcaron', [345]], - ['Rcedil', [342]], - ['rcedil', [343]], - ['rceil', [8969]], - ['rcub', [125]], - ['Rcy', [1056]], - ['rcy', [1088]], - ['rdca', [10551]], - ['rdldhar', [10601]], - ['rdquo', [8221]], - ['rdquor', [8221]], - ['CloseCurlyDoubleQuote', [8221]], - ['rdsh', [8627]], - ['real', [8476]], - ['realine', [8475]], - ['realpart', [8476]], - ['reals', [8477]], - ['Re', [8476]], - ['rect', [9645]], - ['reg', [174]], - ['REG', [174]], - ['ReverseElement', [8715]], - ['ReverseEquilibrium', [8651]], - ['ReverseUpEquilibrium', [10607]], - ['rfisht', [10621]], - ['rfloor', [8971]], - ['rfr', [120111]], - ['Rfr', [8476]], - ['rHar', [10596]], - ['rhard', [8641]], - ['rharu', [8640]], - ['rharul', [10604]], - ['Rho', [929]], - ['rho', [961]], - ['rhov', [1009]], - ['RightAngleBracket', [10217]], - ['RightArrowBar', [8677]], - ['rightarrow', [8594]], - ['RightArrow', [8594]], - ['Rightarrow', [8658]], - ['RightArrowLeftArrow', [8644]], - ['rightarrowtail', [8611]], - ['RightCeiling', [8969]], - ['RightDoubleBracket', [10215]], - ['RightDownTeeVector', [10589]], - ['RightDownVectorBar', [10581]], - ['RightDownVector', [8642]], - ['RightFloor', [8971]], - ['rightharpoondown', [8641]], - ['rightharpoonup', [8640]], - ['rightleftarrows', [8644]], - ['rightleftharpoons', [8652]], - ['rightrightarrows', [8649]], - ['rightsquigarrow', [8605]], - ['RightTeeArrow', [8614]], - ['RightTee', [8866]], - ['RightTeeVector', [10587]], - ['rightthreetimes', [8908]], - ['RightTriangleBar', [10704]], - ['RightTriangle', [8883]], - ['RightTriangleEqual', [8885]], - ['RightUpDownVector', [10575]], - ['RightUpTeeVector', [10588]], - ['RightUpVectorBar', [10580]], - ['RightUpVector', [8638]], - ['RightVectorBar', [10579]], - ['RightVector', [8640]], - ['ring', [730]], - ['risingdotseq', [8787]], - ['rlarr', [8644]], - ['rlhar', [8652]], - ['rlm', [8207]], - ['rmoustache', [9137]], - ['rmoust', [9137]], - ['rnmid', [10990]], - ['roang', [10221]], - ['roarr', [8702]], - ['robrk', [10215]], - ['ropar', [10630]], - ['ropf', [120163]], - ['Ropf', [8477]], - ['roplus', [10798]], - ['rotimes', [10805]], - ['RoundImplies', [10608]], - ['rpar', [41]], - ['rpargt', [10644]], - ['rppolint', [10770]], - ['rrarr', [8649]], - ['Rrightarrow', [8667]], - ['rsaquo', [8250]], - ['rscr', [120007]], - ['Rscr', [8475]], - ['rsh', [8625]], - ['Rsh', [8625]], - ['rsqb', [93]], - ['rsquo', [8217]], - ['rsquor', [8217]], - ['CloseCurlyQuote', [8217]], - ['rthree', [8908]], - ['rtimes', [8906]], - ['rtri', [9657]], - ['rtrie', [8885]], - ['rtrif', [9656]], - ['rtriltri', [10702]], - ['RuleDelayed', [10740]], - ['ruluhar', [10600]], - ['rx', [8478]], - ['Sacute', [346]], - ['sacute', [347]], - ['sbquo', [8218]], - ['scap', [10936]], - ['Scaron', [352]], - ['scaron', [353]], - ['Sc', [10940]], - ['sc', [8827]], - ['sccue', [8829]], - ['sce', [10928]], - ['scE', [10932]], - ['Scedil', [350]], - ['scedil', [351]], - ['Scirc', [348]], - ['scirc', [349]], - ['scnap', [10938]], - ['scnE', [10934]], - ['scnsim', [8937]], - ['scpolint', [10771]], - ['scsim', [8831]], - ['Scy', [1057]], - ['scy', [1089]], - ['sdotb', [8865]], - ['sdot', [8901]], - ['sdote', [10854]], - ['searhk', [10533]], - ['searr', [8600]], - ['seArr', [8664]], - ['searrow', [8600]], - ['sect', [167]], - ['semi', [59]], - ['seswar', [10537]], - ['setminus', [8726]], - ['setmn', [8726]], - ['sext', [10038]], - ['Sfr', [120086]], - ['sfr', [120112]], - ['sfrown', [8994]], - ['sharp', [9839]], - ['SHCHcy', [1065]], - ['shchcy', [1097]], - ['SHcy', [1064]], - ['shcy', [1096]], - ['ShortDownArrow', [8595]], - ['ShortLeftArrow', [8592]], - ['shortmid', [8739]], - ['shortparallel', [8741]], - ['ShortRightArrow', [8594]], - ['ShortUpArrow', [8593]], - ['shy', [173]], - ['Sigma', [931]], - ['sigma', [963]], - ['sigmaf', [962]], - ['sigmav', [962]], - ['sim', [8764]], - ['simdot', [10858]], - ['sime', [8771]], - ['simeq', [8771]], - ['simg', [10910]], - ['simgE', [10912]], - ['siml', [10909]], - ['simlE', [10911]], - ['simne', [8774]], - ['simplus', [10788]], - ['simrarr', [10610]], - ['slarr', [8592]], - ['SmallCircle', [8728]], - ['smallsetminus', [8726]], - ['smashp', [10803]], - ['smeparsl', [10724]], - ['smid', [8739]], - ['smile', [8995]], - ['smt', [10922]], - ['smte', [10924]], - ['smtes', [10924, 65024]], - ['SOFTcy', [1068]], - ['softcy', [1100]], - ['solbar', [9023]], - ['solb', [10692]], - ['sol', [47]], - ['Sopf', [120138]], - ['sopf', [120164]], - ['spades', [9824]], - ['spadesuit', [9824]], - ['spar', [8741]], - ['sqcap', [8851]], - ['sqcaps', [8851, 65024]], - ['sqcup', [8852]], - ['sqcups', [8852, 65024]], - ['Sqrt', [8730]], - ['sqsub', [8847]], - ['sqsube', [8849]], - ['sqsubset', [8847]], - ['sqsubseteq', [8849]], - ['sqsup', [8848]], - ['sqsupe', [8850]], - ['sqsupset', [8848]], - ['sqsupseteq', [8850]], - ['square', [9633]], - ['Square', [9633]], - ['SquareIntersection', [8851]], - ['SquareSubset', [8847]], - ['SquareSubsetEqual', [8849]], - ['SquareSuperset', [8848]], - ['SquareSupersetEqual', [8850]], - ['SquareUnion', [8852]], - ['squarf', [9642]], - ['squ', [9633]], - ['squf', [9642]], - ['srarr', [8594]], - ['Sscr', [119982]], - ['sscr', [120008]], - ['ssetmn', [8726]], - ['ssmile', [8995]], - ['sstarf', [8902]], - ['Star', [8902]], - ['star', [9734]], - ['starf', [9733]], - ['straightepsilon', [1013]], - ['straightphi', [981]], - ['strns', [175]], - ['sub', [8834]], - ['Sub', [8912]], - ['subdot', [10941]], - ['subE', [10949]], - ['sube', [8838]], - ['subedot', [10947]], - ['submult', [10945]], - ['subnE', [10955]], - ['subne', [8842]], - ['subplus', [10943]], - ['subrarr', [10617]], - ['subset', [8834]], - ['Subset', [8912]], - ['subseteq', [8838]], - ['subseteqq', [10949]], - ['SubsetEqual', [8838]], - ['subsetneq', [8842]], - ['subsetneqq', [10955]], - ['subsim', [10951]], - ['subsub', [10965]], - ['subsup', [10963]], - ['succapprox', [10936]], - ['succ', [8827]], - ['succcurlyeq', [8829]], - ['Succeeds', [8827]], - ['SucceedsEqual', [10928]], - ['SucceedsSlantEqual', [8829]], - ['SucceedsTilde', [8831]], - ['succeq', [10928]], - ['succnapprox', [10938]], - ['succneqq', [10934]], - ['succnsim', [8937]], - ['succsim', [8831]], - ['SuchThat', [8715]], - ['sum', [8721]], - ['Sum', [8721]], - ['sung', [9834]], - ['sup1', [185]], - ['sup2', [178]], - ['sup3', [179]], - ['sup', [8835]], - ['Sup', [8913]], - ['supdot', [10942]], - ['supdsub', [10968]], - ['supE', [10950]], - ['supe', [8839]], - ['supedot', [10948]], - ['Superset', [8835]], - ['SupersetEqual', [8839]], - ['suphsol', [10185]], - ['suphsub', [10967]], - ['suplarr', [10619]], - ['supmult', [10946]], - ['supnE', [10956]], - ['supne', [8843]], - ['supplus', [10944]], - ['supset', [8835]], - ['Supset', [8913]], - ['supseteq', [8839]], - ['supseteqq', [10950]], - ['supsetneq', [8843]], - ['supsetneqq', [10956]], - ['supsim', [10952]], - ['supsub', [10964]], - ['supsup', [10966]], - ['swarhk', [10534]], - ['swarr', [8601]], - ['swArr', [8665]], - ['swarrow', [8601]], - ['swnwar', [10538]], - ['szlig', [223]], - ['Tab', [9]], - ['target', [8982]], - ['Tau', [932]], - ['tau', [964]], - ['tbrk', [9140]], - ['Tcaron', [356]], - ['tcaron', [357]], - ['Tcedil', [354]], - ['tcedil', [355]], - ['Tcy', [1058]], - ['tcy', [1090]], - ['tdot', [8411]], - ['telrec', [8981]], - ['Tfr', [120087]], - ['tfr', [120113]], - ['there4', [8756]], - ['therefore', [8756]], - ['Therefore', [8756]], - ['Theta', [920]], - ['theta', [952]], - ['thetasym', [977]], - ['thetav', [977]], - ['thickapprox', [8776]], - ['thicksim', [8764]], - ['ThickSpace', [8287, 8202]], - ['ThinSpace', [8201]], - ['thinsp', [8201]], - ['thkap', [8776]], - ['thksim', [8764]], - ['THORN', [222]], - ['thorn', [254]], - ['tilde', [732]], - ['Tilde', [8764]], - ['TildeEqual', [8771]], - ['TildeFullEqual', [8773]], - ['TildeTilde', [8776]], - ['timesbar', [10801]], - ['timesb', [8864]], - ['times', [215]], - ['timesd', [10800]], - ['tint', [8749]], - ['toea', [10536]], - ['topbot', [9014]], - ['topcir', [10993]], - ['top', [8868]], - ['Topf', [120139]], - ['topf', [120165]], - ['topfork', [10970]], - ['tosa', [10537]], - ['tprime', [8244]], - ['trade', [8482]], - ['TRADE', [8482]], - ['triangle', [9653]], - ['triangledown', [9663]], - ['triangleleft', [9667]], - ['trianglelefteq', [8884]], - ['triangleq', [8796]], - ['triangleright', [9657]], - ['trianglerighteq', [8885]], - ['tridot', [9708]], - ['trie', [8796]], - ['triminus', [10810]], - ['TripleDot', [8411]], - ['triplus', [10809]], - ['trisb', [10701]], - ['tritime', [10811]], - ['trpezium', [9186]], - ['Tscr', [119983]], - ['tscr', [120009]], - ['TScy', [1062]], - ['tscy', [1094]], - ['TSHcy', [1035]], - ['tshcy', [1115]], - ['Tstrok', [358]], - ['tstrok', [359]], - ['twixt', [8812]], - ['twoheadleftarrow', [8606]], - ['twoheadrightarrow', [8608]], - ['Uacute', [218]], - ['uacute', [250]], - ['uarr', [8593]], - ['Uarr', [8607]], - ['uArr', [8657]], - ['Uarrocir', [10569]], - ['Ubrcy', [1038]], - ['ubrcy', [1118]], - ['Ubreve', [364]], - ['ubreve', [365]], - ['Ucirc', [219]], - ['ucirc', [251]], - ['Ucy', [1059]], - ['ucy', [1091]], - ['udarr', [8645]], - ['Udblac', [368]], - ['udblac', [369]], - ['udhar', [10606]], - ['ufisht', [10622]], - ['Ufr', [120088]], - ['ufr', [120114]], - ['Ugrave', [217]], - ['ugrave', [249]], - ['uHar', [10595]], - ['uharl', [8639]], - ['uharr', [8638]], - ['uhblk', [9600]], - ['ulcorn', [8988]], - ['ulcorner', [8988]], - ['ulcrop', [8975]], - ['ultri', [9720]], - ['Umacr', [362]], - ['umacr', [363]], - ['uml', [168]], - ['UnderBar', [95]], - ['UnderBrace', [9183]], - ['UnderBracket', [9141]], - ['UnderParenthesis', [9181]], - ['Union', [8899]], - ['UnionPlus', [8846]], - ['Uogon', [370]], - ['uogon', [371]], - ['Uopf', [120140]], - ['uopf', [120166]], - ['UpArrowBar', [10514]], - ['uparrow', [8593]], - ['UpArrow', [8593]], - ['Uparrow', [8657]], - ['UpArrowDownArrow', [8645]], - ['updownarrow', [8597]], - ['UpDownArrow', [8597]], - ['Updownarrow', [8661]], - ['UpEquilibrium', [10606]], - ['upharpoonleft', [8639]], - ['upharpoonright', [8638]], - ['uplus', [8846]], - ['UpperLeftArrow', [8598]], - ['UpperRightArrow', [8599]], - ['upsi', [965]], - ['Upsi', [978]], - ['upsih', [978]], - ['Upsilon', [933]], - ['upsilon', [965]], - ['UpTeeArrow', [8613]], - ['UpTee', [8869]], - ['upuparrows', [8648]], - ['urcorn', [8989]], - ['urcorner', [8989]], - ['urcrop', [8974]], - ['Uring', [366]], - ['uring', [367]], - ['urtri', [9721]], - ['Uscr', [119984]], - ['uscr', [120010]], - ['utdot', [8944]], - ['Utilde', [360]], - ['utilde', [361]], - ['utri', [9653]], - ['utrif', [9652]], - ['uuarr', [8648]], - ['Uuml', [220]], - ['uuml', [252]], - ['uwangle', [10663]], - ['vangrt', [10652]], - ['varepsilon', [1013]], - ['varkappa', [1008]], - ['varnothing', [8709]], - ['varphi', [981]], - ['varpi', [982]], - ['varpropto', [8733]], - ['varr', [8597]], - ['vArr', [8661]], - ['varrho', [1009]], - ['varsigma', [962]], - ['varsubsetneq', [8842, 65024]], - ['varsubsetneqq', [10955, 65024]], - ['varsupsetneq', [8843, 65024]], - ['varsupsetneqq', [10956, 65024]], - ['vartheta', [977]], - ['vartriangleleft', [8882]], - ['vartriangleright', [8883]], - ['vBar', [10984]], - ['Vbar', [10987]], - ['vBarv', [10985]], - ['Vcy', [1042]], - ['vcy', [1074]], - ['vdash', [8866]], - ['vDash', [8872]], - ['Vdash', [8873]], - ['VDash', [8875]], - ['Vdashl', [10982]], - ['veebar', [8891]], - ['vee', [8744]], - ['Vee', [8897]], - ['veeeq', [8794]], - ['vellip', [8942]], - ['verbar', [124]], - ['Verbar', [8214]], - ['vert', [124]], - ['Vert', [8214]], - ['VerticalBar', [8739]], - ['VerticalLine', [124]], - ['VerticalSeparator', [10072]], - ['VerticalTilde', [8768]], - ['VeryThinSpace', [8202]], - ['Vfr', [120089]], - ['vfr', [120115]], - ['vltri', [8882]], - ['vnsub', [8834, 8402]], - ['vnsup', [8835, 8402]], - ['Vopf', [120141]], - ['vopf', [120167]], - ['vprop', [8733]], - ['vrtri', [8883]], - ['Vscr', [119985]], - ['vscr', [120011]], - ['vsubnE', [10955, 65024]], - ['vsubne', [8842, 65024]], - ['vsupnE', [10956, 65024]], - ['vsupne', [8843, 65024]], - ['Vvdash', [8874]], - ['vzigzag', [10650]], - ['Wcirc', [372]], - ['wcirc', [373]], - ['wedbar', [10847]], - ['wedge', [8743]], - ['Wedge', [8896]], - ['wedgeq', [8793]], - ['weierp', [8472]], - ['Wfr', [120090]], - ['wfr', [120116]], - ['Wopf', [120142]], - ['wopf', [120168]], - ['wp', [8472]], - ['wr', [8768]], - ['wreath', [8768]], - ['Wscr', [119986]], - ['wscr', [120012]], - ['xcap', [8898]], - ['xcirc', [9711]], - ['xcup', [8899]], - ['xdtri', [9661]], - ['Xfr', [120091]], - ['xfr', [120117]], - ['xharr', [10231]], - ['xhArr', [10234]], - ['Xi', [926]], - ['xi', [958]], - ['xlarr', [10229]], - ['xlArr', [10232]], - ['xmap', [10236]], - ['xnis', [8955]], - ['xodot', [10752]], - ['Xopf', [120143]], - ['xopf', [120169]], - ['xoplus', [10753]], - ['xotime', [10754]], - ['xrarr', [10230]], - ['xrArr', [10233]], - ['Xscr', [119987]], - ['xscr', [120013]], - ['xsqcup', [10758]], - ['xuplus', [10756]], - ['xutri', [9651]], - ['xvee', [8897]], - ['xwedge', [8896]], - ['Yacute', [221]], - ['yacute', [253]], - ['YAcy', [1071]], - ['yacy', [1103]], - ['Ycirc', [374]], - ['ycirc', [375]], - ['Ycy', [1067]], - ['ycy', [1099]], - ['yen', [165]], - ['Yfr', [120092]], - ['yfr', [120118]], - ['YIcy', [1031]], - ['yicy', [1111]], - ['Yopf', [120144]], - ['yopf', [120170]], - ['Yscr', [119988]], - ['yscr', [120014]], - ['YUcy', [1070]], - ['yucy', [1102]], - ['yuml', [255]], - ['Yuml', [376]], - ['Zacute', [377]], - ['zacute', [378]], - ['Zcaron', [381]], - ['zcaron', [382]], - ['Zcy', [1047]], - ['zcy', [1079]], - ['Zdot', [379]], - ['zdot', [380]], - ['zeetrf', [8488]], - ['ZeroWidthSpace', [8203]], - ['Zeta', [918]], - ['zeta', [950]], - ['zfr', [120119]], - ['Zfr', [8488]], - ['ZHcy', [1046]], - ['zhcy', [1078]], - ['zigrarr', [8669]], - ['zopf', [120171]], - ['Zopf', [8484]], - ['Zscr', [119989]], - ['zscr', [120015]], - ['zwj', [8205]], - ['zwnj', [8204]], - ], - l = [['NewLine', [10]]], - i = {}, - o = {}; - !(function (e, t) { - for (var n = r.length; n--; ) { - var a = r[n], - i = a[0], - o = a[1], - c = o[0], - s = o[1], - u = c < 32 || c > 126 || 62 === c || 60 === c || 38 === c || 34 === c || 39 === c, - m = void 0; - u && (m = t[c] = t[c] || {}), - s - ? ((e[i] = String.fromCharCode(c) + String.fromCharCode(s)), u && (m[s] = i)) - : ((e[i] = String.fromCharCode(c)), u && (m[''] = i)); - } - for (n = l.length; n--; ) { - var d = l[n], - p = ((i = d[0]), d[1]); - (c = p[0]), (s = p[1]), (e[i] = String.fromCharCode(c) + (s ? String.fromCharCode(s) : '')); - } - })(i, o); - var c = (function () { - function e() {} - return ( - (e.prototype.decode = function (e) { - return e && e.length - ? e.replace(/&(#?[\w\d]+);?/g, function (e, t) { - var n; - if ('#' === t.charAt(0)) { - var r = 'x' === t.charAt(1) ? parseInt(t.substr(2).toLowerCase(), 16) : parseInt(t.substr(1)); - (!isNaN(r) || r >= -32768) && (n = r <= 65535 ? String.fromCharCode(r) : a.fromCodePoint(r)); - } else n = i[t]; - return n || e; - }) - : ''; - }), - (e.decode = function (t) { - return new e().decode(t); - }), - (e.prototype.encode = function (e) { - if (!e || !e.length) return ''; - for (var t = e.length, n = '', a = 0; a < t; ) { - var r = o[e.charCodeAt(a)]; - if (r) { - var l = r[e.charCodeAt(a + 1)]; - if ((l ? a++ : (l = r['']), l)) { - (n += '&' + l + ';'), a++; - continue; - } - } - (n += e.charAt(a)), a++; - } - return n; - }), - (e.encode = function (t) { - return new e().encode(t); - }), - (e.prototype.encodeNonUTF = function (e) { - if (!e || !e.length) return ''; - for (var t = e.length, n = '', r = 0; r < t; ) { - var l = e.charCodeAt(r), - i = o[l]; - if (i) { - var c = i[e.charCodeAt(r + 1)]; - if ((c ? r++ : (c = i['']), c)) { - (n += '&' + c + ';'), r++; - continue; - } - } - l < 32 || l > 126 - ? l >= a.highSurrogateFrom && l <= a.highSurrogateTo - ? ((n += '&#' + a.getCodePoint(e, r) + ';'), r++) - : (n += '&#' + l + ';') - : (n += e.charAt(r)), - r++; - } - return n; - }), - (e.encodeNonUTF = function (t) { - return new e().encodeNonUTF(t); - }), - (e.prototype.encodeNonASCII = function (e) { - if (!e || !e.length) return ''; - for (var t = e.length, n = '', r = 0; r < t; ) { - var l = e.charCodeAt(r); - l <= 255 - ? (n += e[r++]) - : l >= a.highSurrogateFrom && l <= a.highSurrogateTo - ? ((n += '&#' + a.getCodePoint(e, r) + ';'), (r += 2)) - : ((n += '&#' + l + ';'), r++); - } - return n; - }), - (e.encodeNonASCII = function (t) { - return new e().encodeNonASCII(t); - }), - e - ); - })(); - t.Html5Entities = c; - }, - 376: function (e, t, n) { - 'use strict'; - var a = n(721); - (t.vr = a.XmlEntities), n(839).Html4Entities; - var r = n(490); - r.Html5Entities, r.Html5Entities; - }, - 826: function (e, t) { - 'use strict'; - Object.defineProperty(t, '__esModule', { value: !0 }), - (t.fromCodePoint = - String.fromCodePoint || - function (e) { - return String.fromCharCode(Math.floor((e - 65536) / 1024) + 55296, ((e - 65536) % 1024) + 56320); - }), - (t.getCodePoint = String.prototype.codePointAt - ? function (e, t) { - return e.codePointAt(t); - } - : function (e, t) { - return 1024 * (e.charCodeAt(t) - 55296) + e.charCodeAt(t + 1) - 56320 + 65536; - }), - (t.highSurrogateFrom = 55296), - (t.highSurrogateTo = 56319); - }, - 721: function (e, t, n) { - 'use strict'; - Object.defineProperty(t, '__esModule', { value: !0 }); - var a = n(826), - r = { - '<': '<', - '>': '>', - '"': '"', - '&apos': "'", - '&': '&', - '<': '<', - '>': '>', - '"': '"', - ''': "'", - '&': '&', - }, - l = { 60: 'lt', 62: 'gt', 34: 'quot', 39: 'apos', 38: 'amp' }, - i = { '<': '<', '>': '>', '"': '"', "'": ''', '&': '&' }, - o = (function () { - function e() {} - return ( - (e.prototype.encode = function (e) { - return e && e.length - ? e.replace(/[<>"'&]/g, function (e) { - return i[e]; - }) - : ''; - }), - (e.encode = function (t) { - return new e().encode(t); - }), - (e.prototype.decode = function (e) { - return e && e.length - ? e.replace(/&#?[0-9a-zA-Z]+;?/g, function (e) { - if ('#' === e.charAt(1)) { - var t = 'x' === e.charAt(2).toLowerCase() ? parseInt(e.substr(3), 16) : parseInt(e.substr(2)); - return !isNaN(t) || t >= -32768 - ? t <= 65535 - ? String.fromCharCode(t) - : a.fromCodePoint(t) - : ''; - } - return r[e] || e; - }) - : ''; - }), - (e.decode = function (t) { - return new e().decode(t); - }), - (e.prototype.encodeNonUTF = function (e) { - if (!e || !e.length) return ''; - for (var t = e.length, n = '', r = 0; r < t; ) { - var i = e.charCodeAt(r), - o = l[i]; - o - ? ((n += '&' + o + ';'), r++) - : (i < 32 || i > 126 - ? i >= a.highSurrogateFrom && i <= a.highSurrogateTo - ? ((n += '&#' + a.getCodePoint(e, r) + ';'), r++) - : (n += '&#' + i + ';') - : (n += e.charAt(r)), - r++); - } - return n; - }), - (e.encodeNonUTF = function (t) { - return new e().encodeNonUTF(t); - }), - (e.prototype.encodeNonASCII = function (e) { - if (!e || !e.length) return ''; - for (var t = e.length, n = '', r = 0; r < t; ) { - var l = e.charCodeAt(r); - l <= 255 - ? (n += e[r++]) - : (l >= a.highSurrogateFrom && l <= a.highSurrogateTo - ? ((n += '&#' + a.getCodePoint(e, r) + ';'), r++) - : (n += '&#' + l + ';'), - r++); - } - return n; - }), - (e.encodeNonASCII = function (t) { - return new e().encodeNonASCII(t); - }), - e - ); - })(); - t.XmlEntities = o; - }, - 418: function (e, t, n) { - var a, r; - (a = [n(617), n(3), n(675)]), - void 0 === - (r = function (e, t, n) { - return (function (e, t, n) { - var a = function (t, n) { - return e.js_beautify(t, n); - }; - return ( - (a.js = e.js_beautify), - (a.css = t.css_beautify), - (a.html = n.html_beautify), - (a.js_beautify = e.js_beautify), - (a.css_beautify = t.css_beautify), - (a.html_beautify = n.html_beautify), - a - ); - })(e, t, n); - }.apply(t, a)) || (e.exports = r); - }, - 3: function (e, t) { - var n, a, r; - (a = (function (e) { - var t = {}; - function n(a) { - if (t[a]) return t[a].exports; - var r = (t[a] = { i: a, l: !1, exports: {} }); - return e[a].call(r.exports, r, r.exports, n), (r.l = !0), r.exports; - } - return ( - (n.m = e), - (n.c = t), - (n.i = function (e) { - return e; - }), - (n.d = function (e, t, a) { - n.o(e, t) || Object.defineProperty(e, t, { configurable: !1, enumerable: !0, get: a }); - }), - (n.n = function (e) { - var t = - e && e.__esModule - ? function () { - return e.default; - } - : function () { - return e; - }; - return n.d(t, 'a', t), t; - }), - (n.o = function (e, t) { - return Object.prototype.hasOwnProperty.call(e, t); - }), - (n.p = ''), - n((n.s = 4)) - ); - })([ - function (e, t, n) { - var a = n(2).mergeOpts, - r = n(1), - l = n(3).Output, - i = r.lineBreak, - o = r.allLineBreaks; - e.exports.Beautifier = function (e, t) { - (t = a((t = t || {}), 'css')), (e = e || ''); - var n = 0, - r = t.indent_size ? parseInt(t.indent_size, 10) : 4, - c = t.indent_char || ' ', - s = void 0 !== t.preserve_newlines && t.preserve_newlines, - u = void 0 === t.selector_separator_newline || t.selector_separator_newline, - m = void 0 !== t.end_with_newline && t.end_with_newline, - d = void 0 === t.newline_between_rules || t.newline_between_rules, - p = void 0 !== t.space_around_combinator && t.space_around_combinator; - p = p || (void 0 !== t.space_around_selector_separator && t.space_around_selector_separator); - var f = t.eol ? t.eol : 'auto'; - t.indent_with_tabs && ((c = '\t'), (r = 1)), - 'auto' === f && ((f = '\n'), e && i.test(e || '') && (f = e.match(i)[0])), - (f = f.replace(/\\r/, '\r').replace(/\\n/, '\n')), - (e = e.replace(o, '\n')); - var h, - g = /^\s+$/, - v = -1, - b = 0; - function E() { - return (h = e.charAt(++v)) || ''; - } - function y(t) { - var n, - a = v; - return t && _(), (n = e.charAt(v + 1) || ''), (v = a - 1), E(), n; - } - function x(t) { - for (var n = v; E(); ) - if ('\\' === h) E(); - else { - if (-1 !== t.indexOf(h)) break; - if ('\n' === h) break; - } - return e.substring(n, v + 1); - } - function _(e) { - for (var t = 0; g.test(y()); ) E(), '\n' === h && e && s && (I.add_new_line(!0), t++); - return (n = t), t; - } - function w() { - var e = ''; - for (h && g.test(h) && (e = h); g.test(E()); ) e += h; - return e; - } - function k() { - var t = v, - n = '/' === y(); - for (E(); E(); ) { - if (!n && '*' === h && '/' === y()) { - E(); - break; - } - if (n && '\n' === h) return e.substring(t, v); - } - return e.substring(t, v) + h; - } - function S(t) { - return e.substring(v - t.length, v).toLowerCase() === t; - } - function N() { - for (var t = 0, n = v + 1; n < e.length; n++) { - var a = e.charAt(n); - if ('{' === a) return !0; - if ('(' === a) t += 1; - else if (')' === a) { - if (0 === t) return !1; - t -= 1; - } else if (';' === a || '}' === a) return !1; - } - return !1; - } - var T = '', - C = 0; - if (e && e.length) { - for (; ' ' === e.charAt(C) || '\t' === e.charAt(C); ) C += 1; - (T = e.substring(0, C)), (e = e.substring(C)); - } - var F, - R, - I, - A = new Array(r + 1).join(c); - function O(e) { - I.just_added_newline() && I.set_indent(F), I.add_token(e); - } - function D(e) { - e && (I.space_before_token = !0); - } - (this.beautify = function () { - (I = new l(A, T)), (F = 0), (R = 0), (v = -1), (h = null), (b = 0); - for (var e, t, a = !1, r = !1, i = !1, o = '', c = ''; ; ) { - var s = w(), - C = '' !== s, - L = -1 !== s.indexOf('\n'); - if (((c = o), (o = h), !h)) break; - if ('/' === h && '*' === y()) { - var P = 0 === F; - (L || P) && I.add_new_line(), O(k()), I.add_new_line(), P && I.add_new_line(!0); - } else if ('/' === h && '/' === y()) - L || '{' === c || I.trim(!0), (I.space_before_token = !0), O(k()), I.add_new_line(); - else if ('@' === h) - if ((D(C), '{' === y())) O(x('}')); - else { - O(h); - var j = (void 0, void 0, (e = v), (t = x(': ,;{}()[]/=\'"')), (v = e - 1), E(), t); - j.match(/[ :]$/) && (E(), O((j = x(': ').replace(/\s$/, ''))), (I.space_before_token = !0)), - (j = j.replace(/\s$/, '')) in this.NESTED_AT_RULE && - ((R += 1), j in this.CONDITIONAL_GROUP_RULE && (i = !0)); - } - else - '#' === h && '{' === y() - ? (D(C), O(x('}'))) - : '{' === h - ? '}' === y(!0) - ? (_(), - E(), - (I.space_before_token = !0), - O('{}'), - _(!0) || I.add_new_line(), - n < 2 && d && 0 === F && I.add_new_line(!0)) - : (F++, - (I.space_before_token = !0), - O(h), - _(!0) || I.add_new_line(), - i ? ((i = !1), (a = F > R)) : (a = F >= R)) - : '}' === h - ? (F > 0 && F--, - I.add_new_line(), - O(h), - (a = !1), - (r = !1), - R && R--, - _(!0) || I.add_new_line(), - n < 2 && d && 0 === F && I.add_new_line(!0)) - : ':' === h - ? (_(), - (!a && !i) || S('&') || N() || S('(') - ? (S(' ') && (I.space_before_token = !0), ':' === y() ? (E(), O('::')) : O(':')) - : (O(':'), r || ((r = !0), (I.space_before_token = !0)))) - : '"' === h || "'" === h - ? (D(C), O(x(h))) - : ';' === h - ? ((r = !1), O(h), _(!0) || I.add_new_line()) - : '(' === h - ? S('url') - ? (O(h), _(), E() && (')' !== h && '"' !== h && "'" !== h ? O(x(')')) : v--)) - : (b++, D(C), O(h), _()) - : ')' === h - ? (O(h), b--) - : ',' === h - ? (O(h), - !_(!0) && u && !r && b < 1 ? I.add_new_line() : (I.space_before_token = !0)) - : ('>' === h || '+' === h || '~' === h) && !r && b < 1 - ? p - ? ((I.space_before_token = !0), O(h), (I.space_before_token = !0)) - : (O(h), _(), h && g.test(h) && (h = '')) - : ']' === h - ? O(h) - : '[' === h - ? (D(C), O(h)) - : '=' === h - ? (_(), O('='), g.test(h) && (h = '')) - : '!' === h - ? (O(' '), O(h)) - : (D(C), O(h)); - } - return I.get_code(m, f); - }), - (this.NESTED_AT_RULE = { - '@page': !0, - '@font-face': !0, - '@keyframes': !0, - '@media': !0, - '@supports': !0, - '@document': !0, - }), - (this.CONDITIONAL_GROUP_RULE = { '@media': !0, '@supports': !0, '@document': !0 }); - }; - }, - function (e, t) { - var n = - 'ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ', - a = new RegExp('[' + n + ']'), - r = new RegExp( - '[' + - n + - '̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-ۨۻ-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-ࠧࠩ-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-ୠ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‌‍‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍-﹏0-9_]' - ); - (t.newline = /[\n\r\u2028\u2029]/), - (t.lineBreak = new RegExp('\r\n|' + t.newline.source)), - (t.allLineBreaks = new RegExp(t.lineBreak.source, 'g')), - (t.isIdentifierStart = function (e) { - return e < 65 - ? 36 === e || 64 === e - : e < 91 || (e < 97 ? 95 === e : e < 123 || (e >= 170 && a.test(String.fromCharCode(e)))); - }), - (t.isIdentifierChar = function (e) { - return e < 48 - ? 36 === e - : e < 58 || - (!(e < 65) && - (e < 91 || (e < 97 ? 95 === e : e < 123 || (e >= 170 && r.test(String.fromCharCode(e)))))); - }); - }, - function (e, t) { - e.exports.mergeOpts = function (e, t) { - var n, - a = {}; - for (n in e) n !== t && (a[n] = e[n]); - if (t in e) for (n in e[t]) a[n] = e[t][n]; - return a; - }; - }, - function (e, t) { - function n(e) { - var t = 0, - n = -1, - a = [], - r = !0; - (this.set_indent = function (a) { - (t = e.baseIndentLength + a * e.indent_length), (n = a); - }), - (this.get_character_count = function () { - return t; - }), - (this.is_empty = function () { - return r; - }), - (this.last = function () { - return this._empty ? null : a[a.length - 1]; - }), - (this.push = function (e) { - a.push(e), (t += e.length), (r = !1); - }), - (this.pop = function () { - var e = null; - return r || ((e = a.pop()), (t -= e.length), (r = 0 === a.length)), e; - }), - (this.remove_indent = function () { - n > 0 && ((n -= 1), (t -= e.indent_length)); - }), - (this.trim = function () { - for (; ' ' === this.last(); ) a.pop(), (t -= 1); - r = 0 === a.length; - }), - (this.toString = function () { - var t = ''; - return this._empty || (n >= 0 && (t = e.indent_cache[n]), (t += a.join(''))), t; - }); - } - e.exports.Output = function (e, t) { - (t = t || ''), - (this.indent_cache = [t]), - (this.baseIndentLength = t.length), - (this.indent_length = e.length), - (this.raw = !1); - var a = []; - (this.baseIndentString = t), - (this.indent_string = e), - (this.previous_line = null), - (this.current_line = null), - (this.space_before_token = !1), - (this.add_outputline = function () { - (this.previous_line = this.current_line), - (this.current_line = new n(this)), - a.push(this.current_line); - }), - this.add_outputline(), - (this.get_line_number = function () { - return a.length; - }), - (this.add_new_line = function (e) { - return !( - (1 === this.get_line_number() && this.just_added_newline()) || - (!e && this.just_added_newline()) || - (this.raw || this.add_outputline(), 0) - ); - }), - (this.get_code = function (e, t) { - var n = a.join('\n').replace(/[\r\n\t ]+$/, ''); - return e && (n += '\n'), '\n' !== t && (n = n.replace(/[\n]/g, t)), n; - }), - (this.set_indent = function (e) { - if (a.length > 1) { - for (; e >= this.indent_cache.length; ) - this.indent_cache.push(this.indent_cache[this.indent_cache.length - 1] + this.indent_string); - return this.current_line.set_indent(e), !0; - } - return this.current_line.set_indent(0), !1; - }), - (this.add_raw_token = function (e) { - for (var t = 0; t < e.newlines; t++) this.add_outputline(); - this.current_line.push(e.whitespace_before), - this.current_line.push(e.text), - (this.space_before_token = !1); - }), - (this.add_token = function (e) { - this.add_space_before_token(), this.current_line.push(e); - }), - (this.add_space_before_token = function () { - this.space_before_token && !this.just_added_newline() && this.current_line.push(' '), - (this.space_before_token = !1); - }), - (this.remove_indent = function (e) { - for (var t = a.length; e < t; ) a[e].remove_indent(), e++; - }), - (this.trim = function (n) { - for ( - n = void 0 !== n && n, this.current_line.trim(e, t); - n && a.length > 1 && this.current_line.is_empty(); - - ) - a.pop(), (this.current_line = a[a.length - 1]), this.current_line.trim(); - this.previous_line = a.length > 1 ? a[a.length - 2] : null; - }), - (this.just_added_newline = function () { - return this.current_line.is_empty(); - }), - (this.just_added_blankline = function () { - return !!this.just_added_newline() && (1 === a.length || a[a.length - 2].is_empty()); - }); - }; - }, - function (e, t, n) { - var a = n(0).Beautifier; - e.exports = function (e, t) { - return new a(e, t).beautify(); - }; - }, - ])), - (r = a), - void 0 === - (n = function () { - return { css_beautify: r }; - }.apply(t, [])) || (e.exports = n); - }, - 675: function (e, t, n) { - var a, r, l, i; - (l = (function (e) { - var t = {}; - function n(a) { - if (t[a]) return t[a].exports; - var r = (t[a] = { i: a, l: !1, exports: {} }); - return e[a].call(r.exports, r, r.exports, n), (r.l = !0), r.exports; - } - return ( - (n.m = e), - (n.c = t), - (n.i = function (e) { - return e; - }), - (n.d = function (e, t, a) { - n.o(e, t) || Object.defineProperty(e, t, { configurable: !1, enumerable: !0, get: a }); - }), - (n.n = function (e) { - var t = - e && e.__esModule - ? function () { - return e.default; - } - : function () { - return e; - }; - return n.d(t, 'a', t), t; - }), - (n.o = function (e, t) { - return Object.prototype.hasOwnProperty.call(e, t); - }), - (n.p = ''), - n((n.s = 3)) - ); - })([ - function (e, t, n) { - var a = n(2).mergeOpts, - r = n(1), - l = r.lineBreak, - i = r.allLineBreaks; - function o(e) { - return e.replace(/\s+$/g, ''); - } - e.exports.Beautifier = function (e, t, n, r) { - var c, s, u, m, d, p, f, h, g, v, b, E, y, x, _, w, k, S, N, T, C; - function F() { - return ( - (this.pos = 0), - (this.token = ''), - (this.current_mode = 'CONTENT'), - (this.tags = { parent: 'parent1', parentcount: 1, parent1: '' }), - (this.tag_type = ''), - (this.token_text = this.last_token = this.last_text = this.token_type = ''), - (this.newlines = 0), - (this.indent_content = s), - (this.indent_body_inner_html = u), - (this.indent_head_inner_html = m), - (this.Utils = { - whitespace: '\n\r\t '.split(''), - single_token: t.void_elements || [ - 'area', - 'base', - 'br', - 'col', - 'embed', - 'hr', - 'img', - 'input', - 'keygen', - 'link', - 'menuitem', - 'meta', - 'param', - 'source', - 'track', - 'wbr', - '!doctype', - '?xml', - '?php', - 'basefont', - 'isindex', - ], - extra_liners: T, - in_array: function (e, t) { - for (var n = 0; n < t.length; n++) if (e === t[n]) return !0; - return !1; - }, - }), - (this.is_whitespace = function (e) { - for (var t = 0; t < e.length; t++) - if (!this.Utils.in_array(e.charAt(t), this.Utils.whitespace)) return !1; - return !0; - }), - (this.traverse_whitespace = function () { - var e = ''; - if (((e = this.input.charAt(this.pos)), this.Utils.in_array(e, this.Utils.whitespace))) { - for (this.newlines = 0; this.Utils.in_array(e, this.Utils.whitespace); ) - b && '\n' === e && this.newlines <= E && (this.newlines += 1), - this.pos++, - (e = this.input.charAt(this.pos)); - return !0; - } - return !1; - }), - (this.space_or_wrap = function (e) { - return this.line_char_count >= this.wrap_line_length - ? (this.print_newline(!1, e), this.print_indentation(e), !0) - : (this.line_char_count++, e.push(' '), !1); - }), - (this.get_content = function () { - for (var e = '', t = [], n = 0; '<' !== this.input.charAt(this.pos) || 2 === n; ) { - if (this.pos >= this.input.length) return t.length ? t.join('') : ['', 'TK_EOF']; - if (n < 2 && this.traverse_whitespace()) this.space_or_wrap(t); - else { - if (((e = this.input.charAt(this.pos)), y)) { - if (('{' === e ? (n += 1) : n < 2 && (n = 0), '}' === e && n > 0 && 0 == n--)) break; - var a = this.input.substr(this.pos, 3); - if ('{{#' === a || '{{/' === a) break; - if ('{{!' === a) return [this.get_tag(), 'TK_TAG_HANDLEBARS_COMMENT']; - if ('{{' === this.input.substr(this.pos, 2) && '{{else}}' === this.get_tag(!0)) break; - } - this.pos++, this.line_char_count++, t.push(e); - } - } - return t.length ? t.join('') : ''; - }), - (this.get_contents_to = function (e) { - if (this.pos === this.input.length) return ['', 'TK_EOF']; - var t = '', - n = new RegExp('', 'igm'); - n.lastIndex = this.pos; - var a = n.exec(this.input), - r = a ? a.index : this.input.length; - return this.pos < r && ((t = this.input.substring(this.pos, r)), (this.pos = r)), t; - }), - (this.record_tag = function (e) { - this.tags[e + 'count'] - ? (this.tags[e + 'count']++, (this.tags[e + this.tags[e + 'count']] = this.indent_level)) - : ((this.tags[e + 'count'] = 1), (this.tags[e + this.tags[e + 'count']] = this.indent_level)), - (this.tags[e + this.tags[e + 'count'] + 'parent'] = this.tags.parent), - (this.tags.parent = e + this.tags[e + 'count']); - }), - (this.retrieve_tag = function (e) { - if (this.tags[e + 'count']) { - for (var t = this.tags.parent; t && e + this.tags[e + 'count'] !== t; ) - t = this.tags[t + 'parent']; - t && - ((this.indent_level = this.tags[e + this.tags[e + 'count']]), - (this.tags.parent = this.tags[t + 'parent'])), - delete this.tags[e + this.tags[e + 'count'] + 'parent'], - delete this.tags[e + this.tags[e + 'count']], - 1 === this.tags[e + 'count'] ? delete this.tags[e + 'count'] : this.tags[e + 'count']--; - } - }), - (this.indent_to_tag = function (e) { - if (this.tags[e + 'count']) { - for (var t = this.tags.parent; t && e + this.tags[e + 'count'] !== t; ) - t = this.tags[t + 'parent']; - t && (this.indent_level = this.tags[e + this.tags[e + 'count']]); - } - }), - (this.get_tag = function (e) { - var t, - n, - a, - r = '', - l = [], - i = '', - o = !1, - c = !0, - s = !1, - u = this.pos, - m = this.line_char_count, - d = !1; - e = void 0 !== e && e; - do { - if (this.pos >= this.input.length) - return ( - e && ((this.pos = u), (this.line_char_count = m)), l.length ? l.join('') : ['', 'TK_EOF'] - ); - if ( - ((r = this.input.charAt(this.pos)), this.pos++, this.Utils.in_array(r, this.Utils.whitespace)) - ) - o = !0; - else { - if ( - (("'" !== r && '"' !== r) || ((r += this.get_unformatted(r)), (o = !0)), - '=' === r && (o = !1), - (a = this.input.substr(this.pos - 1)), - !k || - !s || - d || - ('>' !== r && '/' !== r) || - (a.match(/^\/?\s*>/) && - ((o = !1), (d = !0), this.print_newline(!1, l), this.print_indentation(l))), - l.length && '=' !== l[l.length - 1] && '>' !== r && o) - ) { - var p = this.space_or_wrap(l) && '/' !== r && !w; - if (((o = !1), w && '/' !== r)) { - var f = !1; - k && c && (f = !(null !== a.match(/^\S*(="([^"]|\\")*")?\s*\/?\s*>/))), - (c && !f) || (this.print_newline(!1, l), this.print_indentation(l), (p = !0)); - } - if (p) { - s = !0; - var h = _; - S && (h = l.indexOf(' ') + 1); - for (var b = 0; b < h; b++) l.push(' '); - } - if (c) - for (var E = 0; E < l.length; E++) - if (' ' === l[E]) { - c = !1; - break; - } - } - if ( - (y && - '<' === n && - r + this.input.charAt(this.pos) === '{{' && - ((r += this.get_unformatted('}}')), - l.length && ' ' !== l[l.length - 1] && '<' !== l[l.length - 1] && (r = ' ' + r), - (o = !0)), - '<' !== r || n || ((t = this.pos - 1), (n = '<')), - y && - !n && - l.length >= 2 && - '{' === l[l.length - 1] && - '{' === l[l.length - 2] && - ((t = '#' === r || '/' === r || '!' === r ? this.pos - 3 : this.pos - 2), (n = '{')), - this.line_char_count++, - l.push(r), - l[1] && ('!' === l[1] || '?' === l[1] || '%' === l[1])) - ) { - l = [this.get_comment(t)]; - break; - } - if (y && l[1] && '{' === l[1] && l[2] && '!' === l[2]) { - l = [this.get_comment(t)]; - break; - } - if (y && '{' === n && l.length > 2 && '}' === l[l.length - 2] && '}' === l[l.length - 1]) break; - } - } while ('>' !== r); - var x, - N, - T = l.join(''); - (x = - -1 !== T.indexOf(' ') - ? T.indexOf(' ') - : -1 !== T.indexOf('\n') - ? T.indexOf('\n') - : '{' === T.charAt(0) - ? T.indexOf('}') - : T.indexOf('>')), - (N = '<' !== T.charAt(0) && y ? ('#' === T.charAt(2) ? 3 : 2) : 1); - var C = T.substring(N, x).toLowerCase(); - return ( - '/' === T.charAt(T.length - 2) || this.Utils.in_array(C, this.Utils.single_token) - ? e || (this.tag_type = 'SINGLE') - : y && '{' === T.charAt(0) && 'else' === C - ? e || - (this.indent_to_tag('if'), - (this.tag_type = 'HANDLEBARS_ELSE'), - (this.indent_content = !0), - this.traverse_whitespace()) - : this.is_unformatted(C, g) || this.is_unformatted(C, v) - ? ((i = this.get_unformatted('', T)), - l.push(i), - this.pos, - (this.tag_type = 'SINGLE')) - : 'script' === C && - (-1 === T.search('type') || - (T.search('type') > -1 && - T.search( - /\b(text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect)/ - ) > -1)) - ? e || (this.record_tag(C), (this.tag_type = 'SCRIPT')) - : 'style' === C && - (-1 === T.search('type') || (T.search('type') > -1 && T.search('text/css') > -1)) - ? e || (this.record_tag(C), (this.tag_type = 'STYLE')) - : '!' === C.charAt(0) - ? e || ((this.tag_type = 'SINGLE'), this.traverse_whitespace()) - : e || - ('/' === C.charAt(0) - ? (this.retrieve_tag(C.substring(1)), (this.tag_type = 'END')) - : (this.record_tag(C), - 'html' !== C.toLowerCase() && (this.indent_content = !0), - (this.tag_type = 'START')), - this.traverse_whitespace() && this.space_or_wrap(l), - this.Utils.in_array(C, this.Utils.extra_liners) && - (this.print_newline(!1, this.output), - this.output.length && - '\n' !== this.output[this.output.length - 2] && - this.print_newline(!0, this.output))), - e && ((this.pos = u), (this.line_char_count = m)), - l.join('') - ); - }), - (this.get_comment = function (e) { - var t = '', - n = '>', - a = !1; - this.pos = e; - var r = this.input.charAt(this.pos); - for ( - this.pos++; - this.pos <= this.input.length && - ((t += r).charAt(t.length - 1) !== n.charAt(n.length - 1) || -1 === t.indexOf(n)); - - ) - !a && - t.length < 10 && - (0 === t.indexOf(''), (a = !0)) - : 0 === t.indexOf(''), (a = !0)) - : 0 === t.indexOf(''), (a = !0)) - : 0 === t.indexOf('\x3c!--') - ? ((n = '--\x3e'), (a = !0)) - : 0 === t.indexOf('{{!--') - ? ((n = '--}}'), (a = !0)) - : 0 === t.indexOf('{{!') - ? 5 === t.length && -1 === t.indexOf('{{!--') && ((n = '}}'), (a = !0)) - : 0 === t.indexOf(''), (a = !0)) - : 0 === t.indexOf('<%') && ((n = '%>'), (a = !0))), - (r = this.input.charAt(this.pos)), - this.pos++; - return t; - }), - (this.get_unformatted = function (e, t) { - if (t && -1 !== t.toLowerCase().indexOf(e)) return ''; - var n = '', - a = '', - r = !0, - l = (function (e) { - var t = ''; - return { - add: function (n) { - var a = t + n.toLowerCase(); - t = a.length <= e.length ? a : a.substr(a.length - e.length, e.length); - }, - doesNotMatch: function () { - return -1 === t.indexOf(e); - }, - }; - })(e); - do { - if (this.pos >= this.input.length) return a; - if ( - ((n = this.input.charAt(this.pos)), this.pos++, this.Utils.in_array(n, this.Utils.whitespace)) - ) { - if (!r) { - this.line_char_count--; - continue; - } - if ('\n' === n || '\r' === n) { - (a += '\n'), (this.line_char_count = 0); - continue; - } - } - (a += n), - l.add(n), - this.line_char_count++, - (r = !0), - y && - '{' === n && - a.length && - '{' === a.charAt(a.length - 2) && - (a += this.get_unformatted('}}')); - } while (l.doesNotMatch()); - return a; - }), - (this.get_token = function () { - var e; - if ('TK_TAG_SCRIPT' === this.last_token || 'TK_TAG_STYLE' === this.last_token) { - var t = this.last_token.substr(7); - return 'string' != typeof (e = this.get_contents_to(t)) ? e : [e, 'TK_' + t]; - } - return 'CONTENT' === this.current_mode - ? 'string' != typeof (e = this.get_content()) - ? e - : [e, 'TK_CONTENT'] - : 'TAG' === this.current_mode - ? 'string' != typeof (e = this.get_tag()) - ? e - : [e, 'TK_TAG_' + this.tag_type] - : void 0; - }), - (this.get_full_indent = function (e) { - return (e = this.indent_level + e || 0) < 1 ? '' : Array(e + 1).join(this.indent_string); - }), - (this.is_unformatted = function (e, t) { - if (!this.Utils.in_array(e, t)) return !1; - if ('a' !== e.toLowerCase() || !this.Utils.in_array('a', t)) return !0; - var n = (this.get_tag(!0) || '').match(/^\s*<\s*\/?([a-z]*)\s*[^>]*>\s*$/); - return !(n && !this.Utils.in_array(n[1], t)); - }), - (this.printer = function (e, t, n, a, r) { - (this.input = e || ''), - (this.input = this.input.replace(/\r\n|[\r\u2028\u2029]/g, '\n')), - (this.output = []), - (this.indent_character = t), - (this.indent_string = ''), - (this.indent_size = n), - (this.brace_style = r), - (this.indent_level = 0), - (this.wrap_line_length = a), - (this.line_char_count = 0); - for (var l = 0; l < this.indent_size; l++) this.indent_string += this.indent_character; - (this.print_newline = function (e, t) { - (this.line_char_count = 0), - t && - t.length && - (e || '\n' !== t[t.length - 1]) && - ('\n' !== t[t.length - 1] && (t[t.length - 1] = o(t[t.length - 1])), t.push('\n')); - }), - (this.print_indentation = function (e) { - for (var t = 0; t < this.indent_level; t++) - e.push(this.indent_string), (this.line_char_count += this.indent_string.length); - }), - (this.print_token = function (e) { - (this.is_whitespace(e) && !this.output.length) || - ((e || '' !== e) && - this.output.length && - '\n' === this.output[this.output.length - 1] && - (this.print_indentation(this.output), (e = e.replace(/^\s+/g, ''))), - this.print_token_raw(e)); - }), - (this.print_token_raw = function (e) { - this.newlines > 0 && (e = o(e)), - e && - '' !== e && - (e.length > 1 && '\n' === e.charAt(e.length - 1) - ? (this.output.push(e.slice(0, -1)), this.print_newline(!1, this.output)) - : this.output.push(e)); - for (var t = 0; t < this.newlines; t++) this.print_newline(t > 0, this.output); - this.newlines = 0; - }), - (this.indent = function () { - this.indent_level++; - }), - (this.unindent = function () { - this.indent_level > 0 && this.indent_level--; - }); - }), - this - ); - } - (e = e || ''), - (void 0 !== (t = a((t = t || {}), 'html')).wrap_line_length && - 0 !== parseInt(t.wrap_line_length, 10)) || - void 0 === t.max_char || - 0 === parseInt(t.max_char, 10) || - (t.wrap_line_length = t.max_char), - (s = void 0 !== t.indent_inner_html && t.indent_inner_html), - (u = void 0 === t.indent_body_inner_html || t.indent_body_inner_html), - (m = void 0 === t.indent_head_inner_html || t.indent_head_inner_html), - (d = void 0 === t.indent_size ? 4 : parseInt(t.indent_size, 10)), - (p = void 0 === t.indent_char ? ' ' : t.indent_char), - (h = void 0 === t.brace_style ? 'collapse' : t.brace_style), - (f = 0 === parseInt(t.wrap_line_length, 10) ? 32786 : parseInt(t.wrap_line_length || 250, 10)), - (g = t.unformatted || [ - 'a', - 'abbr', - 'area', - 'audio', - 'b', - 'bdi', - 'bdo', - 'br', - 'button', - 'canvas', - 'cite', - 'code', - 'data', - 'datalist', - 'del', - 'dfn', - 'em', - 'embed', - 'i', - 'iframe', - 'img', - 'input', - 'ins', - 'kbd', - 'keygen', - 'label', - 'map', - 'mark', - 'math', - 'meter', - 'noscript', - 'object', - 'output', - 'progress', - 'q', - 'ruby', - 's', - 'samp', - 'select', - 'small', - 'span', - 'strong', - 'sub', - 'sup', - 'svg', - 'template', - 'textarea', - 'time', - 'u', - 'var', - 'video', - 'wbr', - 'text', - 'acronym', - 'address', - 'big', - 'dt', - 'ins', - 'strike', - 'tt', - ]), - (v = t.content_unformatted || ['pre']), - (b = void 0 === t.preserve_newlines || t.preserve_newlines), - (E = b - ? isNaN(parseInt(t.max_preserve_newlines, 10)) - ? 32786 - : parseInt(t.max_preserve_newlines, 10) - : 0), - (y = void 0 !== t.indent_handlebars && t.indent_handlebars), - (x = void 0 === t.wrap_attributes ? 'auto' : t.wrap_attributes), - (_ = isNaN(parseInt(t.wrap_attributes_indent_size, 10)) - ? d - : parseInt(t.wrap_attributes_indent_size, 10)), - (w = 'force' === x.substr(0, 5)), - (k = 'force-expand-multiline' === x), - (S = 'force-aligned' === x), - (N = void 0 !== t.end_with_newline && t.end_with_newline), - (T = - 'object' == typeof t.extra_liners && t.extra_liners - ? t.extra_liners.concat() - : 'string' == typeof t.extra_liners - ? t.extra_liners.split(',') - : 'head,body,/html'.split(',')), - (C = t.eol ? t.eol : 'auto'), - t.indent_with_tabs && ((p = '\t'), (d = 1)), - 'auto' === C && ((C = '\n'), e && l.test(e || '') && (C = e.match(l)[0])), - (C = C.replace(/\\r/, '\r').replace(/\\n/, '\n')), - (e = e.replace(i, '\n')), - (this.beautify = function () { - for ((c = new F()).printer(e, p, d, f, h); ; ) { - var a = c.get_token(); - if (((c.token_text = a[0]), (c.token_type = a[1]), 'TK_EOF' === c.token_type)) break; - switch (c.token_type) { - case 'TK_TAG_START': - c.print_newline(!1, c.output), - c.print_token(c.token_text), - c.indent_content && - ((!c.indent_body_inner_html && c.token_text.match(//)) || - (!c.indent_head_inner_html && c.token_text.match(//)) || - c.indent(), - (c.indent_content = !1)), - (c.current_mode = 'CONTENT'); - break; - case 'TK_TAG_STYLE': - case 'TK_TAG_SCRIPT': - c.print_newline(!1, c.output), c.print_token(c.token_text), (c.current_mode = 'CONTENT'); - break; - case 'TK_TAG_END': - if ('TK_CONTENT' === c.last_token && '' === c.last_text) { - var l = (c.token_text.match(/\w+/) || [])[0], - i = null; - c.output.length && (i = c.output[c.output.length - 1].match(/(?:<|{{#)\s*(\w+)/)), - (null === i || (i[1] !== l && !c.Utils.in_array(i[1], g))) && c.print_newline(!1, c.output); - } - c.print_token(c.token_text), (c.current_mode = 'CONTENT'); - break; - case 'TK_TAG_SINGLE': - var o = c.token_text.match(/^\s*<([a-z-]+)/i); - (o && c.Utils.in_array(o[1], g)) || c.print_newline(!1, c.output), - c.print_token(c.token_text), - (c.current_mode = 'CONTENT'); - break; - case 'TK_TAG_HANDLEBARS_ELSE': - for (var s = !1, u = c.output.length - 1; u >= 0 && '\n' !== c.output[u]; u--) - if (c.output[u].match(/{{#if/)) { - s = !0; - break; - } - s || c.print_newline(!1, c.output), - c.print_token(c.token_text), - c.indent_content && (c.indent(), (c.indent_content = !1)), - (c.current_mode = 'CONTENT'); - break; - case 'TK_TAG_HANDLEBARS_COMMENT': - case 'TK_CONTENT': - c.print_token(c.token_text), (c.current_mode = 'TAG'); - break; - case 'TK_STYLE': - case 'TK_SCRIPT': - if ('' !== c.token_text) { - c.print_newline(!1, c.output); - var m, - v = c.token_text, - b = 1; - 'TK_SCRIPT' === c.token_type - ? (m = 'function' == typeof n && n) - : 'TK_STYLE' === c.token_type && (m = 'function' == typeof r && r), - 'keep' === t.indent_scripts - ? (b = 0) - : 'separate' === t.indent_scripts && (b = -c.indent_level); - var E = c.get_full_indent(b); - if (m) { - var y = function () { - this.eol = '\n'; - }; - y.prototype = t; - var x = new y(); - v = m(v.replace(/^\s*/, E), x); - } else { - var _ = - v - .match(/^\s*/)[0] - .match(/[^\n\r]*$/)[0] - .split(c.indent_string).length - 1, - w = c.get_full_indent(b - _); - v = v - .replace(/^\s*/, E) - .replace(/\r\n|\r|\n/g, '\n' + w) - .replace(/\s+$/, ''); - } - v && (c.print_token_raw(v), c.print_newline(!0, c.output)); - } - c.current_mode = 'TAG'; - break; - default: - '' !== c.token_text && c.print_token(c.token_text); - } - (c.last_token = c.token_type), (c.last_text = c.token_text); - } - var k = c.output.join('').replace(/[\r\n\t ]+$/, ''); - return N && (k += '\n'), '\n' !== C && (k = k.replace(/[\n]/g, C)), k; - }); - }; - }, - function (e, t) { - var n = - 'ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ', - a = new RegExp('[' + n + ']'), - r = new RegExp( - '[' + - n + - '̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-ۨۻ-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-ࠧࠩ-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-ୠ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‌‍‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍-﹏0-9_]' - ); - (t.newline = /[\n\r\u2028\u2029]/), - (t.lineBreak = new RegExp('\r\n|' + t.newline.source)), - (t.allLineBreaks = new RegExp(t.lineBreak.source, 'g')), - (t.isIdentifierStart = function (e) { - return e < 65 - ? 36 === e || 64 === e - : e < 91 || (e < 97 ? 95 === e : e < 123 || (e >= 170 && a.test(String.fromCharCode(e)))); - }), - (t.isIdentifierChar = function (e) { - return e < 48 - ? 36 === e - : e < 58 || - (!(e < 65) && - (e < 91 || (e < 97 ? 95 === e : e < 123 || (e >= 170 && r.test(String.fromCharCode(e)))))); - }); - }, - function (e, t) { - e.exports.mergeOpts = function (e, t) { - var n, - a = {}; - for (n in e) n !== t && (a[n] = e[n]); - if (t in e) for (n in e[t]) a[n] = e[t][n]; - return a; - }; - }, - function (e, t, n) { - var a = n(0).Beautifier; - e.exports = function (e, t, n, r) { - return new a(e, t, n, r).beautify(); - }; - }, - ])), - (i = l), - (a = [n, n(617), n(3)]), - void 0 === - (r = function (e) { - var t = n(617), - a = n(3); - return { - html_beautify: function (e, n) { - return i(e, n, t.js_beautify, a.css_beautify); - }, - }; - }.apply(t, a)) || (e.exports = r); - }, - 617: function (e, t) { - var n, a, r; - (a = (function (e) { - var t = {}; - function n(a) { - if (t[a]) return t[a].exports; - var r = (t[a] = { i: a, l: !1, exports: {} }); - return e[a].call(r.exports, r, r.exports, n), (r.l = !0), r.exports; - } - return ( - (n.m = e), - (n.c = t), - (n.i = function (e) { - return e; - }), - (n.d = function (e, t, a) { - n.o(e, t) || Object.defineProperty(e, t, { configurable: !1, enumerable: !0, get: a }); - }), - (n.n = function (e) { - var t = - e && e.__esModule - ? function () { - return e.default; - } - : function () { - return e; - }; - return n.d(t, 'a', t), t; - }), - (n.o = function (e, t) { - return Object.prototype.hasOwnProperty.call(e, t); - }), - (n.p = ''), - n((n.s = 6)) - ); - })([ - function (e, t) { - var n = - 'ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ', - a = new RegExp('[' + n + ']'), - r = new RegExp( - '[' + - n + - '̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-ۨۻ-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-ࠧࠩ-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-ୠ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‌‍‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍-﹏0-9_]' - ); - (t.newline = /[\n\r\u2028\u2029]/), - (t.lineBreak = new RegExp('\r\n|' + t.newline.source)), - (t.allLineBreaks = new RegExp(t.lineBreak.source, 'g')), - (t.isIdentifierStart = function (e) { - return e < 65 - ? 36 === e || 64 === e - : e < 91 || (e < 97 ? 95 === e : e < 123 || (e >= 170 && a.test(String.fromCharCode(e)))); - }), - (t.isIdentifierChar = function (e) { - return e < 48 - ? 36 === e - : e < 58 || - (!(e < 65) && - (e < 91 || (e < 97 ? 95 === e : e < 123 || (e >= 170 && r.test(String.fromCharCode(e)))))); - }); - }, - function (e, t, n) { - var a = n(3).mergeOpts, - r = n(0), - l = n(4).Output, - i = n(7).Tokenizer; - function o(e, t) { - if (!t.multiline_frame && t.mode !== d.ForInitializer && t.mode !== d.Conditional) { - var n = t.start_line_index; - e.remove_indent(n); - } - } - function c(e, t) { - for (var n = 0; n < t.length; n += 1) if (t[n] === e) return !0; - return !1; - } - var s = ['before-newline', 'after-newline', 'preserve-newline'], - u = (function (e) { - for (var t = {}, n = 0; n < e.length; n++) t[e[n].replace(/-/g, '_')] = e[n]; - return t; - })(s), - m = [u.before_newline, u.preserve_newline], - d = { - BlockStatement: 'BlockStatement', - Statement: 'Statement', - ObjectLiteral: 'ObjectLiteral', - ArrayLiteral: 'ArrayLiteral', - ForInitializer: 'ForInitializer', - Conditional: 'Conditional', - Expression: 'Expression', - }; - e.exports.Beautifier = function (e, t) { - 'use strict'; - var n, - p, - f, - h, - g, - v, - b, - E, - y, - x, - _, - w, - k, - S = [], - N = ''; - function T(e, t) { - var a = 0; - return ( - e && - ((a = e.indentation_level), - !n.just_added_newline() && e.line_indent_level > a && (a = e.line_indent_level)), - { - mode: t, - parent: e, - last_text: e ? e.last_text : '', - last_word: e ? e.last_word : '', - declaration_statement: !1, - declaration_assignment: !1, - multiline_frame: !1, - inline_frame: !1, - if_block: !1, - else_block: !1, - do_block: !1, - do_while: !1, - import_block: !1, - in_case_statement: !1, - in_case: !1, - case_body: !1, - indentation_level: a, - line_indent_level: e ? e.line_indent_level : a, - start_line_index: n.get_line_number(), - ternary_depth: 0, - } - ); - } - (w = { - TK_START_EXPR: function () { - U() || I(h); - var e = d.Expression; - if ('[' === h.text) { - if ('TK_WORD' === g || ')' === E.last_text) - return ( - 'TK_RESERVED' === g && c(E.last_text, f.line_starters) && (n.space_before_token = !0), - z(e), - P(), - j(), - void (k.space_in_paren && (n.space_before_token = !0)) - ); - (e = d.ArrayLiteral), - M(E.mode) && - (('[' !== E.last_text && (',' !== E.last_text || (']' !== v && '}' !== v))) || - k.keep_array_indentation || - D()); - } else - 'TK_RESERVED' === g && 'for' === E.last_text - ? (e = d.ForInitializer) - : 'TK_RESERVED' === g && c(E.last_text, ['if', 'while']) && (e = d.Conditional); - ';' === E.last_text || 'TK_START_BLOCK' === g - ? D() - : 'TK_END_EXPR' === g || 'TK_START_EXPR' === g || 'TK_END_BLOCK' === g || '.' === E.last_text - ? O(h.wanted_newline) - : ('TK_RESERVED' === g && '(' === h.text) || 'TK_WORD' === g || 'TK_OPERATOR' === g - ? ('TK_RESERVED' === g && ('function' === E.last_word || 'typeof' === E.last_word)) || - ('*' === E.last_text && - (c(v, ['function', 'yield']) || (E.mode === d.ObjectLiteral && c(v, ['{', ','])))) - ? k.space_after_anon_function && (n.space_before_token = !0) - : 'TK_RESERVED' !== g || - (!c(E.last_text, f.line_starters) && 'catch' !== E.last_text) || - (k.space_before_conditional && (n.space_before_token = !0)) - : (n.space_before_token = !0), - '(' === h.text && - 'TK_RESERVED' === g && - c(E.last_word, ['await', 'async']) && - (n.space_before_token = !0), - '(' === h.text && (('TK_EQUALS' !== g && 'TK_OPERATOR' !== g) || V() || O()), - '(' === h.text && 'TK_WORD' !== g && 'TK_RESERVED' !== g && O(), - z(e), - P(), - k.space_in_paren && (n.space_before_token = !0), - j(); - }, - TK_END_EXPR: function () { - for (; E.mode === d.Statement; ) q(); - I(h), - E.multiline_frame && O(']' === h.text && M(E.mode) && !k.keep_array_indentation), - k.space_in_paren && - ('TK_START_EXPR' !== g || k.space_in_empty_paren - ? (n.space_before_token = !0) - : (n.trim(), (n.space_before_token = !1))), - ']' === h.text && k.keep_array_indentation ? (P(), q()) : (q(), P()), - o(n, y), - E.do_while && - y.mode === d.Conditional && - ((y.mode = d.Expression), (E.do_block = !1), (E.do_while = !1)); - }, - TK_START_BLOCK: function () { - I(h); - var e = K(1), - t = K(2); - t && - ((c(t.text, [':', ',']) && c(e.type, ['TK_STRING', 'TK_WORD', 'TK_RESERVED'])) || - (c(e.text, ['get', 'set', '...']) && c(t.type, ['TK_WORD', 'TK_RESERVED']))) - ? c(v, ['class', 'interface']) - ? z(d.BlockStatement) - : z(d.ObjectLiteral) - : 'TK_OPERATOR' === g && '=>' === E.last_text - ? z(d.BlockStatement) - : c(g, ['TK_EQUALS', 'TK_START_EXPR', 'TK_COMMA', 'TK_OPERATOR']) || - ('TK_RESERVED' === g && c(E.last_text, ['return', 'throw', 'import', 'default'])) - ? z(d.ObjectLiteral) - : z(d.BlockStatement); - var a = - !e.comments_before.length && '}' === e.text && 'function' === E.last_word && 'TK_END_EXPR' === g; - if (k.brace_preserve_inline) { - var r = 0, - l = null; - E.inline_frame = !0; - do { - if ((l = K((r += 1))).wanted_newline) { - E.inline_frame = !1; - break; - } - } while ('TK_EOF' !== l.type && ('TK_END_BLOCK' !== l.type || l.opened !== h)); - } - ('expand' === k.brace_style || ('none' === k.brace_style && h.wanted_newline)) && !E.inline_frame - ? 'TK_OPERATOR' !== g && - (a || 'TK_EQUALS' === g || ('TK_RESERVED' === g && H(E.last_text) && 'else' !== E.last_text)) - ? (n.space_before_token = !0) - : D(!1, !0) - : (!M(y.mode) || - ('TK_START_EXPR' !== g && 'TK_COMMA' !== g) || - (('TK_COMMA' === g || k.space_in_paren) && (n.space_before_token = !0), - ('TK_COMMA' === g || ('TK_START_EXPR' === g && E.inline_frame)) && - (O(), - (y.multiline_frame = y.multiline_frame || E.multiline_frame), - (E.multiline_frame = !1))), - 'TK_OPERATOR' !== g && - 'TK_START_EXPR' !== g && - ('TK_START_BLOCK' !== g || E.inline_frame ? (n.space_before_token = !0) : D())), - P(), - j(); - }, - TK_END_BLOCK: function () { - for (I(h); E.mode === d.Statement; ) q(); - var e = 'TK_START_BLOCK' === g; - E.inline_frame && !e - ? (n.space_before_token = !0) - : 'expand' === k.brace_style - ? e || D() - : e || - (M(E.mode) && k.keep_array_indentation - ? ((k.keep_array_indentation = !1), D(), (k.keep_array_indentation = !0)) - : D()), - q(), - P(); - }, - TK_WORD: G, - TK_RESERVED: G, - TK_SEMICOLON: function () { - U() ? (n.space_before_token = !1) : I(h); - for ( - var e = K(1); - !( - E.mode !== d.Statement || - (E.if_block && e && 'TK_RESERVED' === e.type && 'else' === e.text) || - E.do_block - ); - - ) - q(); - E.import_block && (E.import_block = !1), P(); - }, - TK_STRING: function () { - U() - ? (n.space_before_token = !0) - : (I(h), - 'TK_RESERVED' === g || 'TK_WORD' === g || E.inline_frame - ? (n.space_before_token = !0) - : 'TK_COMMA' === g || 'TK_START_EXPR' === g || 'TK_EQUALS' === g || 'TK_OPERATOR' === g - ? V() || O() - : D()), - P(); - }, - TK_EQUALS: function () { - U() || I(h), - E.declaration_statement && (E.declaration_assignment = !0), - (n.space_before_token = !0), - P(), - (n.space_before_token = !0); - }, - TK_OPERATOR: function () { - var e = - '*' === h.text && - (('TK_RESERVED' === g && c(E.last_text, ['function', 'yield'])) || - c(g, ['TK_START_BLOCK', 'TK_COMMA', 'TK_END_BLOCK', 'TK_SEMICOLON'])), - t = - c(h.text, ['-', '+']) && - (c(g, ['TK_START_BLOCK', 'TK_START_EXPR', 'TK_EQUALS', 'TK_OPERATOR']) || - c(E.last_text, f.line_starters) || - ',' === E.last_text); - if ((U() || I(h, !e), 'TK_RESERVED' === g && H(E.last_text))) - return (n.space_before_token = !0), void P(); - if ('*' !== h.text || 'TK_DOT' !== g) - if ('::' !== h.text) { - if (('TK_OPERATOR' === g && c(k.operator_position, m) && O(), ':' === h.text && E.in_case)) - return (E.case_body = !0), j(), P(), D(), void (E.in_case = !1); - var a = !0, - r = !0, - l = !1; - if ( - (':' === h.text - ? 0 === E.ternary_depth - ? (a = !1) - : ((E.ternary_depth -= 1), (l = !0)) - : '?' === h.text && (E.ternary_depth += 1), - !t && !e && k.preserve_newlines && c(h.text, f.positionable_operators)) - ) { - var i = ':' === h.text, - o = i && l, - s = i && !l; - switch (k.operator_position) { - case u.before_newline: - return (n.space_before_token = !s), P(), (i && !o) || O(), void (n.space_before_token = !0); - case u.after_newline: - return ( - (n.space_before_token = !0), - !i || o ? (K(1).wanted_newline ? D(!1, !0) : O()) : (n.space_before_token = !1), - P(), - void (n.space_before_token = !0) - ); - case u.preserve_newline: - return ( - s || O(), - (a = !(n.just_added_newline() || s)), - (n.space_before_token = a), - P(), - void (n.space_before_token = !0) - ); - } - } - if (e) { - O(), (a = !1); - var p = K(1); - r = p && c(p.type, ['TK_WORD', 'TK_RESERVED']); - } else - '...' === h.text - ? (O(), (a = 'TK_START_BLOCK' === g), (r = !1)) - : (c(h.text, ['--', '++', '!', '~']) || t) && - ((a = !1), - (r = !1), - !h.wanted_newline || ('--' !== h.text && '++' !== h.text) || D(!1, !0), - ';' === E.last_text && B(E.mode) && (a = !0), - 'TK_RESERVED' === g - ? (a = !0) - : 'TK_END_EXPR' === g - ? (a = !(']' === E.last_text && ('--' === h.text || '++' === h.text))) - : 'TK_OPERATOR' === g && - ((a = c(h.text, ['--', '-', '++', '+']) && c(E.last_text, ['--', '-', '++', '+'])), - c(h.text, ['+', '-']) && c(E.last_text, ['--', '++']) && (r = !0)), - ((E.mode !== d.BlockStatement || E.inline_frame) && E.mode !== d.Statement) || - ('{' !== E.last_text && ';' !== E.last_text) || - D()); - (n.space_before_token = n.space_before_token || a), P(), (n.space_before_token = r); - } else P(); - else P(); - }, - TK_COMMA: function () { - I(h, !0), - P(), - (n.space_before_token = !0), - E.declaration_statement - ? (B(E.parent.mode) && (E.declaration_assignment = !1), - E.declaration_assignment ? ((E.declaration_assignment = !1), D(!1, !0)) : k.comma_first && O()) - : E.mode === d.ObjectLiteral || (E.mode === d.Statement && E.parent.mode === d.ObjectLiteral) - ? (E.mode === d.Statement && q(), E.inline_frame || D()) - : k.comma_first && O(); - }, - TK_BLOCK_COMMENT: function (e) { - if (n.raw) - return ( - n.add_raw_token(h), - void (h.directives && 'end' === h.directives.preserve && (n.raw = k.test_output_raw)) - ); - if (h.directives) - return D(!1, e), P(), 'start' === h.directives.preserve && (n.raw = !0), void D(!1, !0); - if (!r.newline.test(h.text) && !h.wanted_newline) - return (n.space_before_token = !0), P(), void (n.space_before_token = !0); - var t, - a = (function (e) { - for (var t = [], n = (e = e.replace(r.allLineBreaks, '\n')).indexOf('\n'); -1 !== n; ) - t.push(e.substring(0, n)), (n = (e = e.substring(n + 1)).indexOf('\n')); - return e.length && t.push(e), t; - })(h.text), - l = !1, - i = !1, - o = h.whitespace_before, - c = o.length; - for ( - D(!1, e), - a.length > 1 && - ((l = (function (e) { - for (var t = 0; t < e.length; t++) - if ('*' !== ((n = e[t]), n.replace(/^\s+|\s+$/g, '')).charAt(0)) return !1; - var n; - return !0; - })(a.slice(1))), - (i = (function (e, t) { - for (var n, a = 0, r = e.length; a < r; a++) if ((n = e[a]) && 0 !== n.indexOf(t)) return !1; - return !0; - })(a.slice(1), o))), - P(a[0]), - t = 1; - t < a.length; - t++ - ) - D(!1, !0), - l - ? P(' ' + a[t].replace(/^\s+/g, '')) - : i && a[t].length > c - ? P(a[t].substring(c)) - : n.add_token(a[t]); - D(!1, e); - }, - TK_COMMENT: function (e) { - h.wanted_newline ? D(!1, e) : n.trim(!0), (n.space_before_token = !0), P(), D(!1, e); - }, - TK_DOT: function () { - U() || I(h, !0), - 'TK_RESERVED' === g && H(E.last_text) - ? (n.space_before_token = !0) - : O(')' === E.last_text && k.break_chained_methods), - P(); - }, - TK_UNKNOWN: function (e) { - P(), '\n' === h.text[h.text.length - 1] && D(!1, e); - }, - TK_EOF: function () { - for (; E.mode === d.Statement; ) q(); - I(h); - }, - }), - (t = a((t = t || {}), 'js')), - (k = {}), - 'expand-strict' === t.brace_style - ? (t.brace_style = 'expand') - : 'collapse-preserve-inline' === t.brace_style - ? (t.brace_style = 'collapse,preserve-inline') - : void 0 !== t.braces_on_own_line - ? (t.brace_style = t.braces_on_own_line ? 'expand' : 'collapse') - : t.brace_style || (t.brace_style = 'collapse'); - var C = t.brace_style.split(/[^a-zA-Z0-9_\-]+/); - (k.brace_preserve_inline = !1), (k.brace_style = 'collapse'); - for (var F = 0; F < C.length; F++) - 'preserve-inline' === C[F] ? (k.brace_preserve_inline = !0) : (k.brace_style = C[F]); - for ( - k.indent_size = t.indent_size ? parseInt(t.indent_size, 10) : 4, - k.indent_char = t.indent_char ? t.indent_char : ' ', - k.eol = t.eol ? t.eol : 'auto', - k.preserve_newlines = void 0 === t.preserve_newlines || t.preserve_newlines, - k.unindent_chained_methods = void 0 !== t.unindent_chained_methods && t.unindent_chained_methods, - k.break_chained_methods = void 0 !== t.break_chained_methods && t.break_chained_methods, - k.max_preserve_newlines = - void 0 === t.max_preserve_newlines ? 0 : parseInt(t.max_preserve_newlines, 10), - k.space_in_paren = void 0 !== t.space_in_paren && t.space_in_paren, - k.space_in_empty_paren = void 0 !== t.space_in_empty_paren && t.space_in_empty_paren, - k.jslint_happy = void 0 !== t.jslint_happy && t.jslint_happy, - k.space_after_anon_function = void 0 !== t.space_after_anon_function && t.space_after_anon_function, - k.keep_array_indentation = void 0 !== t.keep_array_indentation && t.keep_array_indentation, - k.space_before_conditional = void 0 === t.space_before_conditional || t.space_before_conditional, - k.unescape_strings = void 0 !== t.unescape_strings && t.unescape_strings, - k.wrap_line_length = void 0 === t.wrap_line_length ? 0 : parseInt(t.wrap_line_length, 10), - k.e4x = void 0 !== t.e4x && t.e4x, - k.end_with_newline = void 0 !== t.end_with_newline && t.end_with_newline, - k.comma_first = void 0 !== t.comma_first && t.comma_first, - k.operator_position = (function (e) { - if (!c((e = e || u.before_newline), s)) - throw new Error( - "Invalid Option Value: The option 'operator_position' must be one of the following values\n" + - s + - "\nYou passed in: '" + - e + - "'" - ); - return e; - })(t.operator_position), - k.test_output_raw = void 0 !== t.test_output_raw && t.test_output_raw, - k.jslint_happy && (k.space_after_anon_function = !0), - t.indent_with_tabs && ((k.indent_char = '\t'), (k.indent_size = 1)), - 'auto' === k.eol && - ((k.eol = '\n'), e && r.lineBreak.test(e || '') && (k.eol = e.match(r.lineBreak)[0])), - k.eol = k.eol.replace(/\\r/, '\r').replace(/\\n/, '\n'), - b = ''; - k.indent_size > 0; - - ) - (b += k.indent_char), (k.indent_size -= 1); - var R = 0; - if (e && e.length) { - for (; ' ' === e.charAt(R) || '\t' === e.charAt(R); ) R += 1; - (N = e.substring(0, R)), (e = e.substring(R)); - } - function I(e, t) { - for ( - var n = e.newlines, a = k.keep_array_indentation && M(E.mode), r = h, l = 0; - l < e.comments_before.length; - l++ - ) - I((h = e.comments_before[l]), t), w[h.type](t); - if (((h = r), a)) for (var i = 0; i < n; i += 1) D(i > 0, t); - else if ( - (k.max_preserve_newlines && n > k.max_preserve_newlines && (n = k.max_preserve_newlines), - k.preserve_newlines && e.newlines > 1) - ) { - D(!1, t); - for (var o = 1; o < n; o += 1) D(!0, t); - } - } - (g = 'TK_START_BLOCK'), - (v = ''), - ((n = new l(b, N)).raw = k.test_output_raw), - (x = []), - z(d.BlockStatement), - (this.beautify = function () { - for (f = new i(e, k, b), S = f.tokenize(), p = 0, h = K(); h; ) - w[h.type](), (v = E.last_text), (g = h.type), (E.last_text = h.text), (p += 1), (h = K()); - return n.get_code(k.end_with_newline, k.eol); - }); - var A = ['break', 'continue', 'return', 'throw', 'yield']; - function O(e) { - if (((e = void 0 !== e && e), !n.just_added_newline())) { - var t = (k.preserve_newlines && h.wanted_newline) || e; - if (c(E.last_text, f.positionable_operators) || c(h.text, f.positionable_operators)) { - var a = - (c(E.last_text, f.positionable_operators) && c(k.operator_position, m)) || - c(h.text, f.positionable_operators); - t = t && a; - } - if (t) D(!1, !0); - else if (k.wrap_line_length) { - if ('TK_RESERVED' === g && c(E.last_text, A)) return; - n.current_line.get_character_count() + h.text.length + (n.space_before_token ? 1 : 0) >= - k.wrap_line_length && D(!1, !0); - } - } - } - function D(e, t) { - if (!t && ';' !== E.last_text && ',' !== E.last_text && '=' !== E.last_text && 'TK_OPERATOR' !== g) - for ( - var a = K(1); - !( - E.mode !== d.Statement || - (E.if_block && a && 'TK_RESERVED' === a.type && 'else' === a.text) || - E.do_block - ); - - ) - q(); - n.add_new_line(e) && (E.multiline_frame = !0); - } - function L() { - n.just_added_newline() && - (k.keep_array_indentation && M(E.mode) && h.wanted_newline - ? (n.current_line.push(h.whitespace_before), (n.space_before_token = !1)) - : n.set_indent(E.indentation_level) && (E.line_indent_level = E.indentation_level)); - } - function P(e) { - if (n.raw) n.add_raw_token(h); - else { - if (k.comma_first && 'TK_COMMA' === g && n.just_added_newline() && ',' === n.previous_line.last()) { - var t = n.previous_line.pop(); - n.previous_line.is_empty() && (n.previous_line.push(t), n.trim(!0), n.current_line.pop(), n.trim()), - L(), - n.add_token(','), - (n.space_before_token = !0); - } - (e = e || h.text), L(), n.add_token(e); - } - } - function j() { - E.indentation_level += 1; - } - function z(e) { - E ? (x.push(E), (y = E)) : (y = T(null, e)), (E = T(y, e)); - } - function M(e) { - return e === d.ArrayLiteral; - } - function B(e) { - return c(e, [d.Expression, d.ForInitializer, d.Conditional]); - } - function q() { - x.length > 0 && - ((y = E), (E = x.pop()), y.mode !== d.Statement || k.unindent_chained_methods || o(n, y)); - } - function V() { - return ( - E.parent.mode === d.ObjectLiteral && - E.mode === d.Statement && - ((':' === E.last_text && 0 === E.ternary_depth) || - ('TK_RESERVED' === g && c(E.last_text, ['get', 'set']))) - ); - } - function U() { - return ( - !!( - ('TK_RESERVED' === g && c(E.last_text, ['var', 'let', 'const']) && 'TK_WORD' === h.type) || - ('TK_RESERVED' === g && 'do' === E.last_text) || - ('TK_RESERVED' === g && c(E.last_text, A) && !h.wanted_newline) || - ('TK_RESERVED' === g && - 'else' === E.last_text && - ('TK_RESERVED' !== h.type || 'if' !== h.text || h.comments_before.length)) || - ('TK_END_EXPR' === g && (y.mode === d.ForInitializer || y.mode === d.Conditional)) || - ('TK_WORD' === g && - E.mode === d.BlockStatement && - !E.in_case && - '--' !== h.text && - '++' !== h.text && - 'function' !== v && - 'TK_WORD' !== h.type && - 'TK_RESERVED' !== h.type) || - (E.mode === d.ObjectLiteral && - ((':' === E.last_text && 0 === E.ternary_depth) || - ('TK_RESERVED' === g && c(E.last_text, ['get', 'set'])))) - ) && - (z(d.Statement), - k.unindent_chained_methods || j(), - I(h, !0), - V() || O('TK_RESERVED' === h.type && c(h.text, ['do', 'for', 'if', 'while'])), - !0) - ); - } - function H(e) { - return c(e, ['case', 'return', 'do', 'if', 'throw', 'else']); - } - function K(e) { - var t = p + (e || 0); - return t < 0 || t >= S.length ? null : S[t]; - } - function G() { - if ( - ('TK_RESERVED' === h.type && - ((c(h.text, ['set', 'get']) && E.mode !== d.ObjectLiteral) || - (c(h.text, ['as', 'from']) && !E.import_block) || - (E.mode === d.ObjectLiteral && ':' === K(1).text)) && - (h.type = 'TK_WORD'), - U() - ? 'TK_RESERVED' === g && - c(E.last_text, ['var', 'let', 'const']) && - 'TK_WORD' === h.type && - (E.declaration_statement = !0) - : !h.wanted_newline || - B(E.mode) || - ('TK_OPERATOR' === g && '--' !== E.last_text && '++' !== E.last_text) || - 'TK_EQUALS' === g || - (!k.preserve_newlines && - 'TK_RESERVED' === g && - c(E.last_text, ['var', 'let', 'const', 'set', 'get'])) - ? I(h) - : (I(h), D()), - E.do_block && !E.do_while) - ) { - if ('TK_RESERVED' === h.type && 'while' === h.text) - return (n.space_before_token = !0), P(), (n.space_before_token = !0), void (E.do_while = !0); - D(), (E.do_block = !1); - } - if (E.if_block) - if (E.else_block || 'TK_RESERVED' !== h.type || 'else' !== h.text) { - for (; E.mode === d.Statement; ) q(); - (E.if_block = !1), (E.else_block = !1); - } else E.else_block = !0; - return 'TK_RESERVED' === h.type && ('case' === h.text || ('default' === h.text && E.in_case_statement)) - ? (D(), - (E.case_body || k.jslint_happy) && - (E.indentation_level > 0 && - (!E.parent || E.indentation_level > E.parent.indentation_level) && - (E.indentation_level -= 1), - (E.case_body = !1)), - P(), - (E.in_case = !0), - void (E.in_case_statement = !0)) - : (('TK_COMMA' !== g && 'TK_START_EXPR' !== g && 'TK_EQUALS' !== g && 'TK_OPERATOR' !== g) || - V() || - O(), - 'TK_RESERVED' === h.type && 'function' === h.text - ? ((c(E.last_text, ['}', ';']) || - (n.just_added_newline() && - !c(E.last_text, ['(', '[', '{', ':', '=', ',']) && - 'TK_OPERATOR' !== g)) && - (n.just_added_blankline() || h.comments_before.length || (D(), D(!0))), - 'TK_RESERVED' === g || 'TK_WORD' === g - ? ('TK_RESERVED' === g && - (c(E.last_text, ['get', 'set', 'new', 'export', 'async']) || c(E.last_text, A))) || - ('TK_RESERVED' === g && 'default' === E.last_text && 'export' === v) - ? (n.space_before_token = !0) - : D() - : 'TK_OPERATOR' === g || '=' === E.last_text - ? (n.space_before_token = !0) - : (E.multiline_frame || (!B(E.mode) && !M(E.mode))) && D(), - P(), - void (E.last_word = h.text)) - : ((_ = 'NONE'), - 'TK_END_BLOCK' === g - ? y.inline_frame - ? (_ = 'SPACE') - : 'TK_RESERVED' === h.type && c(h.text, ['else', 'catch', 'finally', 'from']) - ? 'expand' === k.brace_style || - 'end-expand' === k.brace_style || - ('none' === k.brace_style && h.wanted_newline) - ? (_ = 'NEWLINE') - : ((_ = 'SPACE'), (n.space_before_token = !0)) - : (_ = 'NEWLINE') - : 'TK_SEMICOLON' === g && E.mode === d.BlockStatement - ? (_ = 'NEWLINE') - : 'TK_SEMICOLON' === g && B(E.mode) - ? (_ = 'SPACE') - : 'TK_STRING' === g - ? (_ = 'NEWLINE') - : 'TK_RESERVED' === g || - 'TK_WORD' === g || - ('*' === E.last_text && - (c(v, ['function', 'yield']) || (E.mode === d.ObjectLiteral && c(v, ['{', ','])))) - ? (_ = 'SPACE') - : 'TK_START_BLOCK' === g - ? (_ = E.inline_frame ? 'SPACE' : 'NEWLINE') - : 'TK_END_EXPR' === g && ((n.space_before_token = !0), (_ = 'NEWLINE')), - 'TK_RESERVED' === h.type && - c(h.text, f.line_starters) && - ')' !== E.last_text && - (_ = - E.inline_frame || 'else' === E.last_text || 'export' === E.last_text ? 'SPACE' : 'NEWLINE'), - 'TK_RESERVED' === h.type && c(h.text, ['else', 'catch', 'finally']) - ? ('TK_END_BLOCK' !== g || - y.mode !== d.BlockStatement || - 'expand' === k.brace_style || - 'end-expand' === k.brace_style || - ('none' === k.brace_style && h.wanted_newline)) && - !E.inline_frame - ? D() - : (n.trim(!0), '}' !== n.current_line.last() && D(), (n.space_before_token = !0)) - : 'NEWLINE' === _ - ? 'TK_RESERVED' === g && H(E.last_text) - ? (n.space_before_token = !0) - : 'TK_END_EXPR' !== g - ? ('TK_START_EXPR' === g && - 'TK_RESERVED' === h.type && - c(h.text, ['var', 'let', 'const'])) || - ':' === E.last_text || - ('TK_RESERVED' === h.type && 'if' === h.text && 'else' === E.last_text - ? (n.space_before_token = !0) - : D()) - : 'TK_RESERVED' === h.type && c(h.text, f.line_starters) && ')' !== E.last_text && D() - : E.multiline_frame && M(E.mode) && ',' === E.last_text && '}' === v - ? D() - : 'SPACE' === _ && (n.space_before_token = !0), - P(), - (E.last_word = h.text), - void ( - 'TK_RESERVED' === h.type && - ('do' === h.text - ? (E.do_block = !0) - : 'if' === h.text - ? (E.if_block = !0) - : 'import' === h.text - ? (E.import_block = !0) - : E.import_block && - 'TK_RESERVED' === h.type && - 'from' === h.text && - (E.import_block = !1)) - ))); - } - }; - }, - function (e, t) { - e.exports.InputScanner = function (e) { - var t = e, - n = t.length, - a = 0; - (this.back = function () { - a -= 1; - }), - (this.hasNext = function () { - return a < n; - }), - (this.next = function () { - var e = null; - return this.hasNext() && ((e = t.charAt(a)), (a += 1)), e; - }), - (this.peek = function (e) { - var r = null; - return (e = e || 0), (e += a) >= 0 && e < n && (r = t.charAt(e)), r; - }), - (this.peekCharCode = function (e) { - var r = 0; - return (e = e || 0), (e += a) >= 0 && e < n && (r = t.charCodeAt(e)), r; - }), - (this.test = function (e, n) { - return (n = n || 0), (e.lastIndex = a + n), e.test(t); - }), - (this.testChar = function (e, t) { - var n = this.peek(t); - return null !== n && e.test(n); - }), - (this.match = function (e) { - e.lastIndex = a; - var n = e.exec(t); - return n && n.index === a ? (a += n[0].length) : (n = null), n; - }); - }; - }, - function (e, t) { - e.exports.mergeOpts = function (e, t) { - var n, - a = {}; - for (n in e) n !== t && (a[n] = e[n]); - if (t in e) for (n in e[t]) a[n] = e[t][n]; - return a; - }; - }, - function (e, t) { - function n(e) { - var t = 0, - n = -1, - a = [], - r = !0; - (this.set_indent = function (a) { - (t = e.baseIndentLength + a * e.indent_length), (n = a); - }), - (this.get_character_count = function () { - return t; - }), - (this.is_empty = function () { - return r; - }), - (this.last = function () { - return this._empty ? null : a[a.length - 1]; - }), - (this.push = function (e) { - a.push(e), (t += e.length), (r = !1); - }), - (this.pop = function () { - var e = null; - return r || ((e = a.pop()), (t -= e.length), (r = 0 === a.length)), e; - }), - (this.remove_indent = function () { - n > 0 && ((n -= 1), (t -= e.indent_length)); - }), - (this.trim = function () { - for (; ' ' === this.last(); ) a.pop(), (t -= 1); - r = 0 === a.length; - }), - (this.toString = function () { - var t = ''; - return this._empty || (n >= 0 && (t = e.indent_cache[n]), (t += a.join(''))), t; - }); - } - e.exports.Output = function (e, t) { - (t = t || ''), - (this.indent_cache = [t]), - (this.baseIndentLength = t.length), - (this.indent_length = e.length), - (this.raw = !1); - var a = []; - (this.baseIndentString = t), - (this.indent_string = e), - (this.previous_line = null), - (this.current_line = null), - (this.space_before_token = !1), - (this.add_outputline = function () { - (this.previous_line = this.current_line), - (this.current_line = new n(this)), - a.push(this.current_line); - }), - this.add_outputline(), - (this.get_line_number = function () { - return a.length; - }), - (this.add_new_line = function (e) { - return !( - (1 === this.get_line_number() && this.just_added_newline()) || - (!e && this.just_added_newline()) || - (this.raw || this.add_outputline(), 0) - ); - }), - (this.get_code = function (e, t) { - var n = a.join('\n').replace(/[\r\n\t ]+$/, ''); - return e && (n += '\n'), '\n' !== t && (n = n.replace(/[\n]/g, t)), n; - }), - (this.set_indent = function (e) { - if (a.length > 1) { - for (; e >= this.indent_cache.length; ) - this.indent_cache.push(this.indent_cache[this.indent_cache.length - 1] + this.indent_string); - return this.current_line.set_indent(e), !0; - } - return this.current_line.set_indent(0), !1; - }), - (this.add_raw_token = function (e) { - for (var t = 0; t < e.newlines; t++) this.add_outputline(); - this.current_line.push(e.whitespace_before), - this.current_line.push(e.text), - (this.space_before_token = !1); - }), - (this.add_token = function (e) { - this.add_space_before_token(), this.current_line.push(e); - }), - (this.add_space_before_token = function () { - this.space_before_token && !this.just_added_newline() && this.current_line.push(' '), - (this.space_before_token = !1); - }), - (this.remove_indent = function (e) { - for (var t = a.length; e < t; ) a[e].remove_indent(), e++; - }), - (this.trim = function (n) { - for ( - n = void 0 !== n && n, this.current_line.trim(e, t); - n && a.length > 1 && this.current_line.is_empty(); - - ) - a.pop(), (this.current_line = a[a.length - 1]), this.current_line.trim(); - this.previous_line = a.length > 1 ? a[a.length - 2] : null; - }), - (this.just_added_newline = function () { - return this.current_line.is_empty(); - }), - (this.just_added_blankline = function () { - return !!this.just_added_newline() && (1 === a.length || a[a.length - 2].is_empty()); - }); - }; - }, - function (e, t) { - e.exports.Token = function (e, t, n, a, r) { - (this.type = e), - (this.text = t), - (this.comments_before = []), - (this.comments_after = []), - (this.newlines = n || 0), - (this.wanted_newline = n > 0), - (this.whitespace_before = a || ''), - (this.parent = r || null), - (this.opened = null), - (this.directives = null); - }; - }, - function (e, t, n) { - var a = n(1).Beautifier; - e.exports = function (e, t) { - return new a(e, t).beautify(); - }; - }, - function (e, t, n) { - var a = n(2).InputScanner, - r = n(5).Token, - l = n(0); - function i(e, t) { - for (var n = 0; n < t.length; n += 1) if (t[n] === e) return !0; - return !1; - } - e.exports.Tokenizer = function (e, t) { - var n = '\n\r\t '.split(''), - o = /[0-9]/, - c = /[01]/, - s = /[01234567]/, - u = /[0123456789abcdefABCDEF]/; - this.positionable_operators = '!= !== % & && * ** + - / : < << <= == === > >= >> >>> ? ^ | ||'.split(' '); - var m = this.positionable_operators.concat( - '! %= &= *= **= ++ += , -- -= /= :: <<= = => >>= >>>= ^= |= ~ ...'.split(' ') - ); - this.line_starters = - 'continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export'.split( - ',' - ); - var d, - p, - f, - h, - g, - v = this.line_starters.concat([ - 'do', - 'in', - 'of', - 'else', - 'get', - 'set', - 'new', - 'catch', - 'finally', - 'typeof', - 'yield', - 'async', - 'await', - 'from', - 'as', - ]), - b = /([\s\S]*?)((?:\*\/)|$)/g, - E = /([^\n\r\u2028\u2029]*)/g, - y = /\/\* beautify( \w+[:]\w+)+ \*\//g, - x = / (\w+)[:](\w+)/g, - _ = /([\s\S]*?)((?:\/\*\sbeautify\signore:end\s\*\/)|$)/g, - w = /((<\?php|<\?=)[\s\S]*?\?>)|(<%[\s\S]*?%>)/g; - function k() { - var e, - k = []; - (d = 0), (p = ''); - var S, - N = g.next(); - if (null === N) return ['', 'TK_EOF']; - for (S = h.length ? h[h.length - 1] : new r('TK_START_BLOCK', '{'); i(N, n); ) - if ( - (l.newline.test(N) ? ('\n' === N && '\r' === g.peek(-2)) || ((d += 1), (k = [])) : k.push(N), - null === (N = g.next())) - ) - return ['', 'TK_EOF']; - if ((k.length && (p = k.join('')), o.test(N) || ('.' === N && g.testChar(o)))) { - var T = !0, - C = !0, - F = o; - for ( - '0' === N && g.testChar(/[XxOoBb]/) - ? ((T = !1), (C = !1), (F = g.testChar(/[Bb]/) ? c : g.testChar(/[Oo]/) ? s : u), (N += g.next())) - : '.' === N - ? (T = !1) - : ((N = ''), g.back()); - g.testChar(F); - - ) - (N += g.next()), - T && '.' === g.peek() && ((N += g.next()), (T = !1)), - C && - g.testChar(/[Ee]/) && - ((N += g.next()), g.testChar(/[+-]/) && (N += g.next()), (C = !1), (T = !1)); - return [N, 'TK_WORD']; - } - if (l.isIdentifierStart(g.peekCharCode(-1))) { - if (g.hasNext()) for (; l.isIdentifierChar(g.peekCharCode()) && ((N += g.next()), g.hasNext()); ); - return 'TK_DOT' === S.type || ('TK_RESERVED' === S.type && i(S.text, ['set', 'get'])) || !i(N, v) - ? [N, 'TK_WORD'] - : 'in' === N || 'of' === N - ? [N, 'TK_OPERATOR'] - : [N, 'TK_RESERVED']; - } - if ('(' === N || '[' === N) return [N, 'TK_START_EXPR']; - if (')' === N || ']' === N) return [N, 'TK_END_EXPR']; - if ('{' === N) return [N, 'TK_START_BLOCK']; - if ('}' === N) return [N, 'TK_END_BLOCK']; - if (';' === N) return [N, 'TK_SEMICOLON']; - if ('/' === N) { - var R = ''; - if ('*' === g.peek()) { - g.next(); - var I = (function (e) { - if (!e.match(y)) return null; - var t = {}; - x.lastIndex = 0; - for (var n = x.exec(e); n; ) (t[n[1]] = n[2]), (n = x.exec(e)); - return t; - })((R = '/*' + g.match(b)[0])); - return ( - I && 'start' === I.ignore && (R += g.match(_)[0]), - [(R = R.replace(l.allLineBreaks, '\n')), 'TK_BLOCK_COMMENT', I] - ); - } - if ('/' === g.peek()) return g.next(), [(R = '//' + g.match(E)[0]), 'TK_COMMENT']; - } - var A, - O = - /<()([-a-zA-Z:0-9_.]+|{[\s\S]+?}|!\[CDATA\[[\s\S]*?\]\])(\s+{[\s\S]+?}|\s+[-a-zA-Z:0-9_.]+|\s+[-a-zA-Z:0-9_.]+\s*=\s*('[^']*'|"[^"]*"|{[\s\S]+?}))*\s*(\/?)\s*>/g; - if ( - '`' === N || - "'" === N || - '"' === N || - (('/' === N || (t.e4x && '<' === N && g.test(O, -1))) && - (('TK_RESERVED' === S.type && - i(S.text, ['return', 'case', 'throw', 'else', 'do', 'typeof', 'yield'])) || - ('TK_END_EXPR' === S.type && - ')' === S.text && - S.parent && - 'TK_RESERVED' === S.parent.type && - i(S.parent.text, ['if', 'while', 'for'])) || - i(S.type, [ - 'TK_COMMENT', - 'TK_START_EXPR', - 'TK_START_BLOCK', - 'TK_END_BLOCK', - 'TK_OPERATOR', - 'TK_EQUALS', - 'TK_EOF', - 'TK_SEMICOLON', - 'TK_COMMA', - ]))) - ) { - var D = N, - L = !1, - P = !1; - if (((e = N), '/' === D)) - for (var j = !1; g.hasNext() && (L || j || g.peek() !== D) && !g.testChar(l.newline); ) - (e += g.peek()), - L - ? (L = !1) - : ((L = '\\' === g.peek()), '[' === g.peek() ? (j = !0) : ']' === g.peek() && (j = !1)), - g.next(); - else if (t.e4x && '<' === D) { - var z = - /[\s\S]*?<(\/?)([-a-zA-Z:0-9_.]+|{[\s\S]+?}|!\[CDATA\[[\s\S]*?\]\])(\s+{[\s\S]+?}|\s+[-a-zA-Z:0-9_.]+|\s+[-a-zA-Z:0-9_.]+\s*=\s*('[^']*'|"[^"]*"|{[\s\S]+?}))*\s*(\/?)\s*>/g; - g.back(); - var M = '', - B = g.match(O); - if (B) { - for ( - var q = B[2].replace(/^{\s+/, '{').replace(/\s+}$/, '}'), V = 0 === q.indexOf('{'), U = 0; - B; - - ) { - var H = !!B[1], - K = B[2]; - if ( - (!(B[B.length - 1] || '![CDATA[' === K.slice(0, 8)) && - (K === q || (V && K.replace(/^{\s+/, '{').replace(/\s+}$/, '}'))) && - (H ? --U : ++U), - (M += B[0]), - U <= 0) - ) - break; - B = g.match(z); - } - return B || (M += g.match(/[\s\S]*/g)[0]), [(M = M.replace(l.allLineBreaks, '\n')), 'TK_STRING']; - } - } else { - var G = function (t, n, a) { - for (var r; g.hasNext() && ((r = g.peek()), L || (r !== t && (n || !l.newline.test(r)))); ) - (L || n) && l.newline.test(r) - ? ('\r' === r && '\n' === g.peek(1) && (g.next(), (r = g.peek())), (e += '\n')) - : (e += r), - L ? (('x' !== r && 'u' !== r) || (P = !0), (L = !1)) : (L = '\\' === r), - g.next(), - a && - -1 !== e.indexOf(a, e.length - a.length) && - ('`' === t ? G('}', n, '`') : G('`', n, '${'), g.hasNext() && (e += g.next())); - }; - '`' === D ? G('`', !0, '${') : G(D); - } - if ( - (P && - t.unescape_strings && - (e = (function (e) { - for (var t = '', n = 0, r = new a(e), l = null; r.hasNext(); ) - if (((l = r.match(/([\s]|[^\\]|\\\\)+/g)) && (t += l[0]), '\\' === r.peek())) { - if ((r.next(), 'x' === r.peek())) l = r.match(/x([0-9A-Fa-f]{2})/g); - else { - if ('u' !== r.peek()) { - (t += '\\'), r.hasNext() && (t += r.next()); - continue; - } - l = r.match(/u([0-9A-Fa-f]{4})/g); - } - if (!l) return e; - if ((n = parseInt(l[1], 16)) > 126 && n <= 255 && 0 === l[0].indexOf('x')) return e; - if (n >= 0 && n < 32) { - t += '\\' + l[0]; - continue; - } - t += - 34 === n || 39 === n || 92 === n ? '\\' + String.fromCharCode(n) : String.fromCharCode(n); - } - return t; - })(e)), - g.peek() === D && ((e += D), g.next(), '/' === D)) - ) - for (; g.hasNext() && l.isIdentifierStart(g.peekCharCode()); ) e += g.next(); - return [e, 'TK_STRING']; - } - if ('#' === N) { - if (0 === h.length && '!' === g.peek()) { - for (e = N; g.hasNext() && '\n' !== N; ) (N = g.next()), (e += N); - return [((A = e), A.replace(/^\s+|\s+$/g, '') + '\n'), 'TK_UNKNOWN']; - } - var W = '#'; - if (g.hasNext() && g.testChar(o)) { - do { - W += N = g.next(); - } while (g.hasNext() && '#' !== N && '=' !== N); - return ( - '#' === N || - ('[' === g.peek() && ']' === g.peek(1) - ? ((W += '[]'), g.next(), g.next()) - : '{' === g.peek() && '}' === g.peek(1) && ((W += '{}'), g.next(), g.next())), - [W, 'TK_WORD'] - ); - } - } - if ('<' === N && ('?' === g.peek() || '%' === g.peek())) { - g.back(); - var $ = g.match(w); - if ($) return [(N = (N = $[0]).replace(l.allLineBreaks, '\n')), 'TK_STRING']; - } - if ('<' === N && g.match(/\!--/g)) { - for (N = '\x3c!--'; g.hasNext() && !g.testChar(l.newline); ) N += g.next(); - return (f = !0), [N, 'TK_COMMENT']; - } - if ('-' === N && f && g.match(/->/g)) return (f = !1), ['--\x3e', 'TK_COMMENT']; - if ('.' === N) - return '.' === g.peek() && '.' === g.peek(1) - ? [(N += g.next() + g.next()), 'TK_OPERATOR'] - : [N, 'TK_DOT']; - if (i(N, m)) { - for (; g.hasNext() && i(N + g.peek(), m) && ((N += g.next()), g.hasNext()); ); - return ',' === N ? [N, 'TK_COMMA'] : '=' === N ? [N, 'TK_EQUALS'] : [N, 'TK_OPERATOR']; - } - return [N, 'TK_UNKNOWN']; - } - this.tokenize = function () { - var t, n, l; - (g = new a(e)), (f = !1), (h = []); - for (var i = null, o = [], c = []; !n || 'TK_EOF' !== n.type; ) { - for ( - l = k(), t = new r(l[1], l[0], d, p); - 'TK_COMMENT' === t.type || 'TK_BLOCK_COMMENT' === t.type || 'TK_UNKNOWN' === t.type; - - ) - 'TK_BLOCK_COMMENT' === t.type && (t.directives = l[2]), - c.push(t), - (l = k()), - (t = new r(l[1], l[0], d, p)); - c.length && ((t.comments_before = c), (c = [])), - 'TK_START_BLOCK' === t.type || 'TK_START_EXPR' === t.type - ? ((t.parent = n), o.push(i), (i = t)) - : ('TK_END_BLOCK' === t.type || 'TK_END_EXPR' === t.type) && - i && - ((']' === t.text && '[' === i.text) || - (')' === t.text && '(' === i.text) || - ('}' === t.text && '{' === i.text)) && - ((t.parent = i.parent), (t.opened = i), (i = o.pop())), - h.push(t), - (n = t); - } - return h; - }; - }; - }, - ])), - (r = a), - void 0 === - (n = function () { - return { js_beautify: r }; - }.apply(t, [])) || (e.exports = n); - }, - 694: function (e, t, n) { - 'use strict'; - var a = n(925); - function r() {} - function l() {} - (l.resetWarningCache = r), - (e.exports = function () { - function e(e, t, n, r, l, i) { - if (i !== a) { - var o = new Error( - 'Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types' - ); - throw ((o.name = 'Invariant Violation'), o); - } - } - function t() { - return e; - } - e.isRequired = e; - var n = { - array: e, - bigint: e, - bool: e, - func: e, - number: e, - object: e, - string: e, - symbol: e, - any: e, - arrayOf: t, - element: e, - elementType: e, - instanceOf: t, - node: e, - objectOf: t, - oneOf: t, - oneOfType: t, - shape: t, - exact: t, - checkPropTypes: l, - resetWarningCache: r, - }; - return (n.PropTypes = n), n; - }); - }, - 556: function (e, t, n) { - e.exports = n(694)(); - }, - 925: function (e) { - 'use strict'; - e.exports = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED'; - }, - 264: function (e, t, n) { - 'use strict'; - function a(e) { - return ( - (a = - 'function' == typeof Symbol && 'symbol' == typeof Symbol.iterator - ? function (e) { - return typeof e; - } - : function (e) { - return e && 'function' == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype - ? 'symbol' - : typeof e; - }), - a(e) - ); - } - Object.defineProperty(t, '__esModule', { value: !0 }), (t.CopyToClipboard = void 0); - var r = o(n(540)), - l = o(n(965)), - i = ['text', 'onCopy', 'options', 'children']; - function o(e) { - return e && e.__esModule ? e : { default: e }; - } - function c(e, t) { - var n = Object.keys(e); - if (Object.getOwnPropertySymbols) { - var a = Object.getOwnPropertySymbols(e); - t && - (a = a.filter(function (t) { - return Object.getOwnPropertyDescriptor(e, t).enumerable; - })), - n.push.apply(n, a); - } - return n; - } - function s(e) { - for (var t = 1; t < arguments.length; t++) { - var n = null != arguments[t] ? arguments[t] : {}; - t % 2 - ? c(Object(n), !0).forEach(function (t) { - f(e, t, n[t]); - }) - : Object.getOwnPropertyDescriptors - ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) - : c(Object(n)).forEach(function (t) { - Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t)); - }); - } - return e; - } - function u(e, t) { - for (var n = 0; n < t.length; n++) { - var a = t[n]; - (a.enumerable = a.enumerable || !1), - (a.configurable = !0), - 'value' in a && (a.writable = !0), - Object.defineProperty(e, a.key, a); - } - } - function m(e, t) { - return ( - (m = - Object.setPrototypeOf || - function (e, t) { - return (e.__proto__ = t), e; - }), - m(e, t) - ); - } - function d(e) { - if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); - return e; - } - function p(e) { - return ( - (p = Object.setPrototypeOf - ? Object.getPrototypeOf - : function (e) { - return e.__proto__ || Object.getPrototypeOf(e); - }), - p(e) - ); - } - function f(e, t, n) { - return ( - t in e - ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) - : (e[t] = n), - e - ); - } - var h = (function (e) { - !(function (e, t) { - if ('function' != typeof t && null !== t) - throw new TypeError('Super expression must either be null or a function'); - (e.prototype = Object.create(t && t.prototype, { - constructor: { value: e, writable: !0, configurable: !0 }, - })), - Object.defineProperty(e, 'prototype', { writable: !1 }), - t && m(e, t); - })(g, e); - var t, - n, - o, - c, - h = - ((o = g), - (c = (function () { - if ('undefined' == typeof Reflect || !Reflect.construct) return !1; - if (Reflect.construct.sham) return !1; - if ('function' == typeof Proxy) return !0; - try { - return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})), !0; - } catch (e) { - return !1; - } - })()), - function () { - var e, - t = p(o); - if (c) { - var n = p(this).constructor; - e = Reflect.construct(t, arguments, n); - } else e = t.apply(this, arguments); - return (function (e, t) { - if (t && ('object' === a(t) || 'function' == typeof t)) return t; - if (void 0 !== t) throw new TypeError('Derived constructors may only return object or undefined'); - return d(e); - })(this, e); - }); - function g() { - var e; - !(function (e, t) { - if (!(e instanceof t)) throw new TypeError('Cannot call a class as a function'); - })(this, g); - for (var t = arguments.length, n = new Array(t), a = 0; a < t; a++) n[a] = arguments[a]; - return ( - f(d((e = h.call.apply(h, [this].concat(n)))), 'onClick', function (t) { - var n = e.props, - a = n.text, - i = n.onCopy, - o = n.children, - c = n.options, - s = r.default.Children.only(o), - u = (0, l.default)(a, c); - i && i(a, u), s && s.props && 'function' == typeof s.props.onClick && s.props.onClick(t); - }), - e - ); - } - return ( - (t = g), - (n = [ - { - key: 'render', - value: function () { - var e = this.props, - t = (e.text, e.onCopy, e.options, e.children), - n = (function (e, t) { - if (null == e) return {}; - var n, - a, - r = (function (e, t) { - if (null == e) return {}; - var n, - a, - r = {}, - l = Object.keys(e); - for (a = 0; a < l.length; a++) (n = l[a]), t.indexOf(n) >= 0 || (r[n] = e[n]); - return r; - })(e, t); - if (Object.getOwnPropertySymbols) { - var l = Object.getOwnPropertySymbols(e); - for (a = 0; a < l.length; a++) - (n = l[a]), - t.indexOf(n) >= 0 || (Object.prototype.propertyIsEnumerable.call(e, n) && (r[n] = e[n])); - } - return r; - })(e, i), - a = r.default.Children.only(t); - return r.default.cloneElement(a, s(s({}, n), {}, { onClick: this.onClick })); - }, - }, - ]) && u(t.prototype, n), - Object.defineProperty(t, 'prototype', { writable: !1 }), - g - ); - })(r.default.PureComponent); - (t.CopyToClipboard = h), f(h, 'defaultProps', { onCopy: void 0, options: void 0 }); - }, - 399: function (e, t, n) { - 'use strict'; - var a = n(264).CopyToClipboard; - (a.CopyToClipboard = a), (e.exports = a); - }, - 633: function (e, t, n) { - 'use strict'; - var a = n(540); - function r(e) { - for (var t = 'https://reactjs.org/docs/error-decoder.html?invariant=' + e, n = 1; n < arguments.length; n++) - t += '&args[]=' + encodeURIComponent(arguments[n]); - return ( - 'Minified React error #' + - e + - '; visit ' + - t + - ' for the full message or use the non-minified dev environment for full errors and additional helpful warnings.' - ); - } - var l = Object.prototype.hasOwnProperty, - i = - /^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/, - o = {}, - c = {}; - function s(e) { - return !!l.call(c, e) || (!l.call(o, e) && (i.test(e) ? (c[e] = !0) : ((o[e] = !0), !1))); - } - function u(e, t, n, a, r, l, i) { - (this.acceptsBooleans = 2 === t || 3 === t || 4 === t), - (this.attributeName = a), - (this.attributeNamespace = r), - (this.mustUseProperty = n), - (this.propertyName = e), - (this.type = t), - (this.sanitizeURL = l), - (this.removeEmptyString = i); - } - var m = {}; - 'children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style' - .split(' ') - .forEach(function (e) { - m[e] = new u(e, 0, !1, e, null, !1, !1); - }), - [ - ['acceptCharset', 'accept-charset'], - ['className', 'class'], - ['htmlFor', 'for'], - ['httpEquiv', 'http-equiv'], - ].forEach(function (e) { - var t = e[0]; - m[t] = new u(t, 1, !1, e[1], null, !1, !1); - }), - ['contentEditable', 'draggable', 'spellCheck', 'value'].forEach(function (e) { - m[e] = new u(e, 2, !1, e.toLowerCase(), null, !1, !1); - }), - ['autoReverse', 'externalResourcesRequired', 'focusable', 'preserveAlpha'].forEach(function (e) { - m[e] = new u(e, 2, !1, e, null, !1, !1); - }), - 'allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope' - .split(' ') - .forEach(function (e) { - m[e] = new u(e, 3, !1, e.toLowerCase(), null, !1, !1); - }), - ['checked', 'multiple', 'muted', 'selected'].forEach(function (e) { - m[e] = new u(e, 3, !0, e, null, !1, !1); - }), - ['capture', 'download'].forEach(function (e) { - m[e] = new u(e, 4, !1, e, null, !1, !1); - }), - ['cols', 'rows', 'size', 'span'].forEach(function (e) { - m[e] = new u(e, 6, !1, e, null, !1, !1); - }), - ['rowSpan', 'start'].forEach(function (e) { - m[e] = new u(e, 5, !1, e.toLowerCase(), null, !1, !1); - }); - var d = /[\-:]([a-z])/g; - function p(e) { - return e[1].toUpperCase(); - } - 'accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height' - .split(' ') - .forEach(function (e) { - var t = e.replace(d, p); - m[t] = new u(t, 1, !1, e, null, !1, !1); - }), - 'xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type'.split(' ').forEach(function (e) { - var t = e.replace(d, p); - m[t] = new u(t, 1, !1, e, 'http://www.w3.org/1999/xlink', !1, !1); - }), - ['xml:base', 'xml:lang', 'xml:space'].forEach(function (e) { - var t = e.replace(d, p); - m[t] = new u(t, 1, !1, e, 'http://www.w3.org/XML/1998/namespace', !1, !1); - }), - ['tabIndex', 'crossOrigin'].forEach(function (e) { - m[e] = new u(e, 1, !1, e.toLowerCase(), null, !1, !1); - }), - (m.xlinkHref = new u('xlinkHref', 1, !1, 'xlink:href', 'http://www.w3.org/1999/xlink', !0, !1)), - ['src', 'href', 'action', 'formAction'].forEach(function (e) { - m[e] = new u(e, 1, !1, e.toLowerCase(), null, !0, !0); - }); - var f = { - animationIterationCount: !0, - aspectRatio: !0, - borderImageOutset: !0, - borderImageSlice: !0, - borderImageWidth: !0, - boxFlex: !0, - boxFlexGroup: !0, - boxOrdinalGroup: !0, - columnCount: !0, - columns: !0, - flex: !0, - flexGrow: !0, - flexPositive: !0, - flexShrink: !0, - flexNegative: !0, - flexOrder: !0, - gridArea: !0, - gridRow: !0, - gridRowEnd: !0, - gridRowSpan: !0, - gridRowStart: !0, - gridColumn: !0, - gridColumnEnd: !0, - gridColumnSpan: !0, - gridColumnStart: !0, - fontWeight: !0, - lineClamp: !0, - lineHeight: !0, - opacity: !0, - order: !0, - orphans: !0, - tabSize: !0, - widows: !0, - zIndex: !0, - zoom: !0, - fillOpacity: !0, - floodOpacity: !0, - stopOpacity: !0, - strokeDasharray: !0, - strokeDashoffset: !0, - strokeMiterlimit: !0, - strokeOpacity: !0, - strokeWidth: !0, - }, - h = ['Webkit', 'ms', 'Moz', 'O']; - Object.keys(f).forEach(function (e) { - h.forEach(function (t) { - (t = t + e.charAt(0).toUpperCase() + e.substring(1)), (f[t] = f[e]); - }); - }); - var g = /["'&<>]/; - function v(e) { - if ('boolean' == typeof e || 'number' == typeof e) return '' + e; - e = '' + e; - var t = g.exec(e); - if (t) { - var n, - a = '', - r = 0; - for (n = t.index; n < e.length; n++) { - switch (e.charCodeAt(n)) { - case 34: - t = '"'; - break; - case 38: - t = '&'; - break; - case 39: - t = '''; - break; - case 60: - t = '<'; - break; - case 62: - t = '>'; - break; - default: - continue; - } - r !== n && (a += e.substring(r, n)), (r = n + 1), (a += t); - } - e = r !== n ? a + e.substring(r, n) : a; - } - return e; - } - var b = /([A-Z])/g, - E = /^ms-/, - y = Array.isArray; - function x(e, t) { - return { insertionMode: e, selectedValue: t }; - } - var _ = new Map(); - function w(e, t, n) { - if ('object' != typeof n) throw Error(r(62)); - for (var a in ((t = !0), n)) - if (l.call(n, a)) { - var i = n[a]; - if (null != i && 'boolean' != typeof i && '' !== i) { - if (0 === a.indexOf('--')) { - var o = v(a); - i = v(('' + i).trim()); - } else { - o = a; - var c = _.get(o); - void 0 !== c || ((c = v(o.replace(b, '-$1').toLowerCase().replace(E, '-ms-'))), _.set(o, c)), - (o = c), - (i = 'number' == typeof i ? (0 === i || l.call(f, a) ? '' + i : i + 'px') : v(('' + i).trim())); - } - t ? ((t = !1), e.push(' style="', o, ':', i)) : e.push(';', o, ':', i); - } - } - t || e.push('"'); - } - function k(e, t, n, a) { - switch (n) { - case 'style': - return void w(e, t, a); - case 'defaultValue': - case 'defaultChecked': - case 'innerHTML': - case 'suppressContentEditableWarning': - case 'suppressHydrationWarning': - return; - } - if (!(2 < n.length) || ('o' !== n[0] && 'O' !== n[0]) || ('n' !== n[1] && 'N' !== n[1])) - if (null !== (t = m.hasOwnProperty(n) ? m[n] : null)) { - switch (typeof a) { - case 'function': - case 'symbol': - return; - case 'boolean': - if (!t.acceptsBooleans) return; - } - switch (((n = t.attributeName), t.type)) { - case 3: - a && e.push(' ', n, '=""'); - break; - case 4: - !0 === a ? e.push(' ', n, '=""') : !1 !== a && e.push(' ', n, '="', v(a), '"'); - break; - case 5: - isNaN(a) || e.push(' ', n, '="', v(a), '"'); - break; - case 6: - !isNaN(a) && 1 <= a && e.push(' ', n, '="', v(a), '"'); - break; - default: - t.sanitizeURL && (a = '' + a), e.push(' ', n, '="', v(a), '"'); - } - } else if (s(n)) { - switch (typeof a) { - case 'function': - case 'symbol': - return; - case 'boolean': - if ('data-' !== (t = n.toLowerCase().slice(0, 5)) && 'aria-' !== t) return; - } - e.push(' ', n, '="', v(a), '"'); - } - } - function S(e, t, n) { - if (null != t) { - if (null != n) throw Error(r(60)); - if ('object' != typeof t || !('__html' in t)) throw Error(r(61)); - null != (t = t.__html) && e.push('' + t); - } - } - function N(e, t, n, a) { - e.push(F(n)); - var r, - i = (n = null); - for (r in t) - if (l.call(t, r)) { - var o = t[r]; - if (null != o) - switch (r) { - case 'children': - n = o; - break; - case 'dangerouslySetInnerHTML': - i = o; - break; - default: - k(e, a, r, o); - } - } - return e.push('>'), S(e, i, n), 'string' == typeof n ? (e.push(v(n)), null) : n; - } - var T = /^[a-zA-Z][a-zA-Z:_\.\-\d]*$/, - C = new Map(); - function F(e) { - var t = C.get(e); - if (void 0 === t) { - if (!T.test(e)) throw Error(r(65, e)); - (t = '<' + e), C.set(e, t); - } - return t; - } - function R(e, t, n) { - if ((e.push('\x3c!--$?--\x3e'); - } - var I = /[<\u2028\u2029]/g; - function A(e) { - return JSON.stringify(e).replace(I, function (e) { - switch (e) { - case '<': - return '\\u003c'; - case '\u2028': - return '\\u2028'; - case '\u2029': - return '\\u2029'; - default: - throw Error( - 'escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React' - ); - } - }); - } - function O(e, t, n, a) { - return n.generateStaticMarkup - ? (e.push(v(t)), !1) - : ('' === t ? (e = a) : (a && e.push('\x3c!-- --\x3e'), e.push(v(t)), (e = !0)), e); - } - var D = Object.assign, - L = Symbol.for('react.element'), - P = Symbol.for('react.portal'), - j = Symbol.for('react.fragment'), - z = Symbol.for('react.strict_mode'), - M = Symbol.for('react.profiler'), - B = Symbol.for('react.provider'), - q = Symbol.for('react.context'), - V = Symbol.for('react.forward_ref'), - U = Symbol.for('react.suspense'), - H = Symbol.for('react.suspense_list'), - K = Symbol.for('react.memo'), - G = Symbol.for('react.lazy'), - W = Symbol.for('react.scope'), - $ = Symbol.for('react.debug_trace_mode'), - X = Symbol.for('react.legacy_hidden'), - Y = Symbol.for('react.default_value'), - Q = Symbol.iterator; - function Z(e) { - if (null == e) return null; - if ('function' == typeof e) return e.displayName || e.name || null; - if ('string' == typeof e) return e; - switch (e) { - case j: - return 'Fragment'; - case P: - return 'Portal'; - case M: - return 'Profiler'; - case z: - return 'StrictMode'; - case U: - return 'Suspense'; - case H: - return 'SuspenseList'; - } - if ('object' == typeof e) - switch (e.$$typeof) { - case q: - return (e.displayName || 'Context') + '.Consumer'; - case B: - return (e._context.displayName || 'Context') + '.Provider'; - case V: - var t = e.render; - return ( - (e = e.displayName) || - (e = '' !== (e = t.displayName || t.name || '') ? 'ForwardRef(' + e + ')' : 'ForwardRef'), - e - ); - case K: - return null !== (t = e.displayName || null) ? t : Z(e.type) || 'Memo'; - case G: - (t = e._payload), (e = e._init); - try { - return Z(e(t)); - } catch (e) {} - } - return null; - } - var J = {}; - function ee(e, t) { - if (!(e = e.contextTypes)) return J; - var n, - a = {}; - for (n in e) a[n] = t[n]; - return a; - } - var te = null; - function ne(e, t) { - if (e !== t) { - (e.context._currentValue2 = e.parentValue), (e = e.parent); - var n = t.parent; - if (null === e) { - if (null !== n) throw Error(r(401)); - } else { - if (null === n) throw Error(r(401)); - ne(e, n); - } - t.context._currentValue2 = t.value; - } - } - function ae(e) { - (e.context._currentValue2 = e.parentValue), null !== (e = e.parent) && ae(e); - } - function re(e) { - var t = e.parent; - null !== t && re(t), (e.context._currentValue2 = e.value); - } - function le(e, t) { - if (((e.context._currentValue2 = e.parentValue), null === (e = e.parent))) throw Error(r(402)); - e.depth === t.depth ? ne(e, t) : le(e, t); - } - function ie(e, t) { - var n = t.parent; - if (null === n) throw Error(r(402)); - e.depth === n.depth ? ne(e, n) : ie(e, n), (t.context._currentValue2 = t.value); - } - function oe(e) { - var t = te; - t !== e && - (null === t - ? re(e) - : null === e - ? ae(t) - : t.depth === e.depth - ? ne(t, e) - : t.depth > e.depth - ? le(t, e) - : ie(t, e), - (te = e)); - } - var ce = { - isMounted: function () { - return !1; - }, - enqueueSetState: function (e, t) { - null !== (e = e._reactInternals).queue && e.queue.push(t); - }, - enqueueReplaceState: function (e, t) { - ((e = e._reactInternals).replace = !0), (e.queue = [t]); - }, - enqueueForceUpdate: function () {}, - }; - function se(e, t, n, a) { - var r = void 0 !== e.state ? e.state : null; - (e.updater = ce), (e.props = n), (e.state = r); - var l = { queue: [], replace: !1 }; - e._reactInternals = l; - var i = t.contextType; - if ( - ((e.context = 'object' == typeof i && null !== i ? i._currentValue2 : a), - 'function' == typeof (i = t.getDerivedStateFromProps) && - ((r = null == (i = i(n, r)) ? r : D({}, r, i)), (e.state = r)), - 'function' != typeof t.getDerivedStateFromProps && - 'function' != typeof e.getSnapshotBeforeUpdate && - ('function' == typeof e.UNSAFE_componentWillMount || 'function' == typeof e.componentWillMount)) - ) - if ( - ((t = e.state), - 'function' == typeof e.componentWillMount && e.componentWillMount(), - 'function' == typeof e.UNSAFE_componentWillMount && e.UNSAFE_componentWillMount(), - t !== e.state && ce.enqueueReplaceState(e, e.state, null), - null !== l.queue && 0 < l.queue.length) - ) - if (((t = l.queue), (i = l.replace), (l.queue = null), (l.replace = !1), i && 1 === t.length)) - e.state = t[0]; - else { - for (l = i ? t[0] : e.state, r = !0, i = i ? 1 : 0; i < t.length; i++) { - var o = t[i]; - null != (o = 'function' == typeof o ? o.call(e, l, n, a) : o) && - (r ? ((r = !1), (l = D({}, l, o))) : D(l, o)); - } - e.state = l; - } - else l.queue = null; - } - var ue = { id: 1, overflow: '' }; - function me(e, t, n) { - var a = e.id; - e = e.overflow; - var r = 32 - de(a) - 1; - (a &= ~(1 << r)), (n += 1); - var l = 32 - de(t) + r; - if (30 < l) { - var i = r - (r % 5); - return ( - (l = (a & ((1 << i) - 1)).toString(32)), - (a >>= i), - (r -= i), - { id: (1 << (32 - de(t) + r)) | (n << r) | a, overflow: l + e } - ); - } - return { id: (1 << l) | (n << r) | a, overflow: e }; - } - var de = Math.clz32 - ? Math.clz32 - : function (e) { - return 0 == (e >>>= 0) ? 32 : (31 - ((pe(e) / fe) | 0)) | 0; - }, - pe = Math.log, - fe = Math.LN2, - he = - 'function' == typeof Object.is - ? Object.is - : function (e, t) { - return (e === t && (0 !== e || 1 / e == 1 / t)) || (e != e && t != t); - }, - ge = null, - ve = null, - be = null, - Ee = null, - ye = !1, - xe = !1, - _e = 0, - we = null, - ke = 0; - function Se() { - if (null === ge) throw Error(r(321)); - return ge; - } - function Ne() { - if (0 < ke) throw Error(r(312)); - return { memoizedState: null, queue: null, next: null }; - } - function Te() { - return ( - null === Ee - ? null === be - ? ((ye = !1), (be = Ee = Ne())) - : ((ye = !0), (Ee = be)) - : null === Ee.next - ? ((ye = !1), (Ee = Ee.next = Ne())) - : ((ye = !0), (Ee = Ee.next)), - Ee - ); - } - function Ce() { - (ve = ge = null), (xe = !1), (be = null), (ke = 0), (Ee = we = null); - } - function Fe(e, t) { - return 'function' == typeof t ? t(e) : t; - } - function Re(e, t, n) { - if (((ge = Se()), (Ee = Te()), ye)) { - var a = Ee.queue; - if (((t = a.dispatch), null !== we && void 0 !== (n = we.get(a)))) { - we.delete(a), (a = Ee.memoizedState); - do { - (a = e(a, n.action)), (n = n.next); - } while (null !== n); - return (Ee.memoizedState = a), [a, t]; - } - return [Ee.memoizedState, t]; - } - return ( - (e = e === Fe ? ('function' == typeof t ? t() : t) : void 0 !== n ? n(t) : t), - (Ee.memoizedState = e), - (e = (e = Ee.queue = { last: null, dispatch: null }).dispatch = Ae.bind(null, ge, e)), - [Ee.memoizedState, e] - ); - } - function Ie(e, t) { - if (((ge = Se()), (t = void 0 === t ? null : t), null !== (Ee = Te()))) { - var n = Ee.memoizedState; - if (null !== n && null !== t) { - var a = n[1]; - e: if (null === a) a = !1; - else { - for (var r = 0; r < a.length && r < t.length; r++) - if (!he(t[r], a[r])) { - a = !1; - break e; - } - a = !0; - } - if (a) return n[0]; - } - } - return (e = e()), (Ee.memoizedState = [e, t]), e; - } - function Ae(e, t, n) { - if (25 <= ke) throw Error(r(301)); - if (e === ge) - if ( - ((xe = !0), (e = { action: n, next: null }), null === we && (we = new Map()), void 0 === (n = we.get(t))) - ) - we.set(t, e); - else { - for (t = n; null !== t.next; ) t = t.next; - t.next = e; - } - } - function Oe() { - throw Error(r(394)); - } - function De() {} - var Le = { - readContext: function (e) { - return e._currentValue2; - }, - useContext: function (e) { - return Se(), e._currentValue2; - }, - useMemo: Ie, - useReducer: Re, - useRef: function (e) { - ge = Se(); - var t = (Ee = Te()).memoizedState; - return null === t ? ((e = { current: e }), (Ee.memoizedState = e)) : t; - }, - useState: function (e) { - return Re(Fe, e); - }, - useInsertionEffect: De, - useLayoutEffect: function () {}, - useCallback: function (e, t) { - return Ie(function () { - return e; - }, t); - }, - useImperativeHandle: De, - useEffect: De, - useDebugValue: De, - useDeferredValue: function (e) { - return Se(), e; - }, - useTransition: function () { - return Se(), [!1, Oe]; - }, - useId: function () { - var e = ve.treeContext, - t = e.overflow; - e = ((e = e.id) & ~(1 << (32 - de(e) - 1))).toString(32) + t; - var n = Pe; - if (null === n) throw Error(r(404)); - return (t = _e++), (e = ':' + n.idPrefix + 'R' + e), 0 < t && (e += 'H' + t.toString(32)), e + ':'; - }, - useMutableSource: function (e, t) { - return Se(), t(e._source); - }, - useSyncExternalStore: function (e, t, n) { - if (void 0 === n) throw Error(r(407)); - return n(); - }, - }, - Pe = null, - je = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher; - function ze(e) { - return console.error(e), null; - } - function Me() {} - function Be(e, t, n, a, r, l, i, o) { - e.allPendingTasks++, null === n ? e.pendingRootTasks++ : n.pendingTasks++; - var c = { - node: t, - ping: function () { - var t = e.pingedTasks; - t.push(c), 1 === t.length && tt(e); - }, - blockedBoundary: n, - blockedSegment: a, - abortSet: r, - legacyContext: l, - context: i, - treeContext: o, - }; - return r.add(c), c; - } - function qe(e, t, n, a, r, l) { - return { - status: 0, - id: -1, - index: t, - parentFlushed: !1, - chunks: [], - children: [], - formatContext: a, - boundary: n, - lastPushedText: r, - textEmbedded: l, - }; - } - function Ve(e, t) { - if (null != (e = e.onError(t)) && 'string' != typeof e) - throw Error( - 'onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "' + - typeof e + - '" instead' - ); - return e; - } - function Ue(e, t) { - var n = e.onShellError; - n(t), - (n = e.onFatalError)(t), - null !== e.destination ? ((e.status = 2), e.destination.destroy(t)) : ((e.status = 1), (e.fatalError = t)); - } - function He(e, t, n, a, r) { - for (ge = {}, ve = t, _e = 0, e = n(a, r); xe; ) (xe = !1), (_e = 0), (ke += 1), (Ee = null), (e = n(a, r)); - return Ce(), e; - } - function Ke(e, t, n, a) { - var l = n.render(), - i = a.childContextTypes; - if (null != i) { - var o = t.legacyContext; - if ('function' != typeof n.getChildContext) a = o; - else { - for (var c in (n = n.getChildContext())) if (!(c in i)) throw Error(r(108, Z(a) || 'Unknown', c)); - a = D({}, o, n); - } - (t.legacyContext = a), $e(e, t, l), (t.legacyContext = o); - } else $e(e, t, l); - } - function Ge(e, t) { - if (e && e.defaultProps) { - for (var n in ((t = D({}, t)), (e = e.defaultProps))) void 0 === t[n] && (t[n] = e[n]); - return t; - } - return t; - } - function We(e, t, n, i, o) { - if ('function' == typeof n) - if (n.prototype && n.prototype.isReactComponent) { - o = ee(n, t.legacyContext); - var c = n.contextType; - se((c = new n(i, 'object' == typeof c && null !== c ? c._currentValue2 : o)), n, i, o), Ke(e, t, c, n); - } else { - o = He(e, t, n, i, (c = ee(n, t.legacyContext))); - var u = 0 !== _e; - if ('object' == typeof o && null !== o && 'function' == typeof o.render && void 0 === o.$$typeof) - se(o, n, i, c), Ke(e, t, o, n); - else if (u) { - (i = t.treeContext), (t.treeContext = me(i, 1, 0)); - try { - $e(e, t, o); - } finally { - t.treeContext = i; - } - } else $e(e, t, o); - } - else { - if ('string' != typeof n) { - switch (n) { - case X: - case $: - case z: - case M: - case j: - case H: - return void $e(e, t, i.children); - case W: - throw Error(r(343)); - case U: - e: { - (n = t.blockedBoundary), (o = t.blockedSegment), (c = i.fallback), (i = i.children); - var m = { - id: null, - rootSegmentID: -1, - parentFlushed: !1, - pendingTasks: 0, - forceClientRender: !1, - completedSegments: [], - byteSize: 0, - fallbackAbortableTasks: (u = new Set()), - errorDigest: null, - }, - d = qe(0, o.chunks.length, m, o.formatContext, !1, !1); - o.children.push(d), (o.lastPushedText = !1); - var p = qe(0, 0, null, o.formatContext, !1, !1); - (p.parentFlushed = !0), (t.blockedBoundary = m), (t.blockedSegment = p); - try { - if ( - (Ye(e, t, i), - e.responseState.generateStaticMarkup || - (p.lastPushedText && p.textEmbedded && p.chunks.push('\x3c!-- --\x3e')), - (p.status = 1), - Je(m, p), - 0 === m.pendingTasks) - ) - break e; - } catch (t) { - (p.status = 4), (m.forceClientRender = !0), (m.errorDigest = Ve(e, t)); - } finally { - (t.blockedBoundary = n), (t.blockedSegment = o); - } - (t = Be(e, c, n, d, u, t.legacyContext, t.context, t.treeContext)), e.pingedTasks.push(t); - } - return; - } - if ('object' == typeof n && null !== n) - switch (n.$$typeof) { - case V: - if (((i = He(e, t, n.render, i, o)), 0 !== _e)) { - (n = t.treeContext), (t.treeContext = me(n, 1, 0)); - try { - $e(e, t, i); - } finally { - t.treeContext = n; - } - } else $e(e, t, i); - return; - case K: - return void We(e, t, (n = n.type), (i = Ge(n, i)), o); - case B: - if ( - ((o = i.children), - (n = n._context), - (i = i.value), - (c = n._currentValue2), - (n._currentValue2 = i), - (te = i = - { - parent: (u = te), - depth: null === u ? 0 : u.depth + 1, - context: n, - parentValue: c, - value: i, - }), - (t.context = i), - $e(e, t, o), - null === (e = te)) - ) - throw Error(r(403)); - return ( - (i = e.parentValue), - (e.context._currentValue2 = i === Y ? e.context._defaultValue : i), - (e = te = e.parent), - void (t.context = e) - ); - case q: - return void $e(e, t, (i = (i = i.children)(n._currentValue2))); - case G: - return void We(e, t, (n = (o = n._init)(n._payload)), (i = Ge(n, i)), void 0); - } - throw Error(r(130, null == n ? n : typeof n, '')); - } - switch ( - ((c = (function (e, t, n, i, o) { - switch (t) { - case 'select': - e.push(F('select')); - var c = null, - u = null; - for (f in n) - if (l.call(n, f)) { - var m = n[f]; - if (null != m) - switch (f) { - case 'children': - c = m; - break; - case 'dangerouslySetInnerHTML': - u = m; - break; - case 'defaultValue': - case 'value': - break; - default: - k(e, i, f, m); - } - } - return e.push('>'), S(e, u, c), c; - case 'option': - (u = o.selectedValue), e.push(F('option')); - var d = (m = null), - p = null, - f = null; - for (c in n) - if (l.call(n, c)) { - var h = n[c]; - if (null != h) - switch (c) { - case 'children': - m = h; - break; - case 'selected': - p = h; - break; - case 'dangerouslySetInnerHTML': - f = h; - break; - case 'value': - d = h; - default: - k(e, i, c, h); - } - } - if (null != u) - if ( - ((n = - null !== d - ? '' + d - : (function (e) { - var t = ''; - return ( - a.Children.forEach(e, function (e) { - null != e && (t += e); - }), - t - ); - })(m)), - y(u)) - ) { - for (i = 0; i < u.length; i++) - if ('' + u[i] === n) { - e.push(' selected=""'); - break; - } - } else '' + u === n && e.push(' selected=""'); - else p && e.push(' selected=""'); - return e.push('>'), S(e, f, m), m; - case 'textarea': - for (m in (e.push(F('textarea')), (f = u = c = null), n)) - if (l.call(n, m) && null != (d = n[m])) - switch (m) { - case 'children': - f = d; - break; - case 'value': - c = d; - break; - case 'defaultValue': - u = d; - break; - case 'dangerouslySetInnerHTML': - throw Error(r(91)); - default: - k(e, i, m, d); - } - if ((null === c && null !== u && (c = u), e.push('>'), null != f)) { - if (null != c) throw Error(r(92)); - if (y(f) && 1 < f.length) throw Error(r(93)); - c = '' + f; - } - return 'string' == typeof c && '\n' === c[0] && e.push('\n'), null !== c && e.push(v('' + c)), null; - case 'input': - for (u in (e.push(F('input')), (d = f = m = c = null), n)) - if (l.call(n, u) && null != (p = n[u])) - switch (u) { - case 'children': - case 'dangerouslySetInnerHTML': - throw Error(r(399, 'input')); - case 'defaultChecked': - d = p; - break; - case 'defaultValue': - m = p; - break; - case 'checked': - f = p; - break; - case 'value': - c = p; - break; - default: - k(e, i, u, p); - } - return ( - null !== f ? k(e, i, 'checked', f) : null !== d && k(e, i, 'checked', d), - null !== c ? k(e, i, 'value', c) : null !== m && k(e, i, 'value', m), - e.push('/>'), - null - ); - case 'menuitem': - for (var g in (e.push(F('menuitem')), n)) - if (l.call(n, g) && null != (c = n[g])) - switch (g) { - case 'children': - case 'dangerouslySetInnerHTML': - throw Error(r(400)); - default: - k(e, i, g, c); - } - return e.push('>'), null; - case 'title': - for (h in (e.push(F('title')), (c = null), n)) - if (l.call(n, h) && null != (u = n[h])) - switch (h) { - case 'children': - c = u; - break; - case 'dangerouslySetInnerHTML': - throw Error(r(434)); - default: - k(e, i, h, u); - } - return e.push('>'), c; - case 'listing': - case 'pre': - for (d in (e.push(F(t)), (u = c = null), n)) - if (l.call(n, d) && null != (m = n[d])) - switch (d) { - case 'children': - c = m; - break; - case 'dangerouslySetInnerHTML': - u = m; - break; - default: - k(e, i, d, m); - } - if ((e.push('>'), null != u)) { - if (null != c) throw Error(r(60)); - if ('object' != typeof u || !('__html' in u)) throw Error(r(61)); - null != (n = u.__html) && - ('string' == typeof n && 0 < n.length && '\n' === n[0] ? e.push('\n', n) : e.push('' + n)); - } - return 'string' == typeof c && '\n' === c[0] && e.push('\n'), c; - case 'area': - case 'base': - case 'br': - case 'col': - case 'embed': - case 'hr': - case 'img': - case 'keygen': - case 'link': - case 'meta': - case 'param': - case 'source': - case 'track': - case 'wbr': - for (var b in (e.push(F(t)), n)) - if (l.call(n, b) && null != (c = n[b])) - switch (b) { - case 'children': - case 'dangerouslySetInnerHTML': - throw Error(r(399, t)); - default: - k(e, i, b, c); - } - return e.push('/>'), null; - case 'annotation-xml': - case 'color-profile': - case 'font-face': - case 'font-face-src': - case 'font-face-uri': - case 'font-face-format': - case 'font-face-name': - case 'missing-glyph': - return N(e, n, t, i); - case 'html': - return 0 === o.insertionMode && e.push(''), N(e, n, t, i); - default: - if (-1 === t.indexOf('-') && 'string' != typeof n.is) return N(e, n, t, i); - for (p in (e.push(F(t)), (u = c = null), n)) - if (l.call(n, p) && null != (m = n[p])) - switch (p) { - case 'children': - c = m; - break; - case 'dangerouslySetInnerHTML': - u = m; - break; - case 'style': - w(e, i, m); - break; - case 'suppressContentEditableWarning': - case 'suppressHydrationWarning': - break; - default: - s(p) && 'function' != typeof m && 'symbol' != typeof m && e.push(' ', p, '="', v(m), '"'); - } - return e.push('>'), S(e, u, c), c; - } - })((o = t.blockedSegment).chunks, n, i, e.responseState, o.formatContext)), - (o.lastPushedText = !1), - (u = o.formatContext), - (o.formatContext = (function (e, t, n) { - switch (t) { - case 'select': - return x(1, null != n.value ? n.value : n.defaultValue); - case 'svg': - return x(2, null); - case 'math': - return x(3, null); - case 'foreignObject': - return x(1, null); - case 'table': - return x(4, null); - case 'thead': - case 'tbody': - case 'tfoot': - return x(5, null); - case 'colgroup': - return x(7, null); - case 'tr': - return x(6, null); - } - return 4 <= e.insertionMode || 0 === e.insertionMode ? x(1, null) : e; - })(u, n, i)), - Ye(e, t, c), - (o.formatContext = u), - n) - ) { - case 'area': - case 'base': - case 'br': - case 'col': - case 'embed': - case 'hr': - case 'img': - case 'input': - case 'keygen': - case 'link': - case 'meta': - case 'param': - case 'source': - case 'track': - case 'wbr': - break; - default: - o.chunks.push(''); - } - o.lastPushedText = !1; - } - } - function $e(e, t, n) { - if (((t.node = n), 'object' == typeof n && null !== n)) { - switch (n.$$typeof) { - case L: - return void We(e, t, n.type, n.props, n.ref); - case P: - throw Error(r(257)); - case G: - var a = n._init; - return void $e(e, t, (n = a(n._payload))); - } - if (y(n)) return void Xe(e, t, n); - if ( - (a = - null === n || 'object' != typeof n - ? null - : 'function' == typeof (a = (Q && n[Q]) || n['@@iterator']) - ? a - : null) && - (a = a.call(n)) - ) { - if (!(n = a.next()).done) { - var l = []; - do { - l.push(n.value), (n = a.next()); - } while (!n.done); - Xe(e, t, l); - } - return; - } - throw ( - ((e = Object.prototype.toString.call(n)), - Error(r(31, '[object Object]' === e ? 'object with keys {' + Object.keys(n).join(', ') + '}' : e))) - ); - } - 'string' == typeof n - ? ((a = t.blockedSegment).lastPushedText = O(t.blockedSegment.chunks, n, e.responseState, a.lastPushedText)) - : 'number' == typeof n && - ((a = t.blockedSegment).lastPushedText = O( - t.blockedSegment.chunks, - '' + n, - e.responseState, - a.lastPushedText - )); - } - function Xe(e, t, n) { - for (var a = n.length, r = 0; r < a; r++) { - var l = t.treeContext; - t.treeContext = me(l, a, r); - try { - Ye(e, t, n[r]); - } finally { - t.treeContext = l; - } - } - } - function Ye(e, t, n) { - var a = t.blockedSegment.formatContext, - r = t.legacyContext, - l = t.context; - try { - return $e(e, t, n); - } catch (c) { - if ((Ce(), 'object' != typeof c || null === c || 'function' != typeof c.then)) - throw ((t.blockedSegment.formatContext = a), (t.legacyContext = r), (t.context = l), oe(l), c); - n = c; - var i = t.blockedSegment, - o = qe(0, i.chunks.length, null, i.formatContext, i.lastPushedText, !0); - i.children.push(o), - (i.lastPushedText = !1), - (e = Be(e, t.node, t.blockedBoundary, o, t.abortSet, t.legacyContext, t.context, t.treeContext).ping), - n.then(e, e), - (t.blockedSegment.formatContext = a), - (t.legacyContext = r), - (t.context = l), - oe(l); - } - } - function Qe(e) { - var t = e.blockedBoundary; - ((e = e.blockedSegment).status = 3), et(this, t, e); - } - function Ze(e, t, n) { - var a = e.blockedBoundary; - (e.blockedSegment.status = 3), - null === a - ? (t.allPendingTasks--, - 2 !== t.status && ((t.status = 2), null !== t.destination && t.destination.push(null))) - : (a.pendingTasks--, - a.forceClientRender || - ((a.forceClientRender = !0), - (e = void 0 === n ? Error(r(432)) : n), - (a.errorDigest = t.onError(e)), - a.parentFlushed && t.clientRenderedBoundaries.push(a)), - a.fallbackAbortableTasks.forEach(function (e) { - return Ze(e, t, n); - }), - a.fallbackAbortableTasks.clear(), - t.allPendingTasks--, - 0 === t.allPendingTasks && (a = t.onAllReady)()); - } - function Je(e, t) { - if (0 === t.chunks.length && 1 === t.children.length && null === t.children[0].boundary) { - var n = t.children[0]; - (n.id = t.id), (n.parentFlushed = !0), 1 === n.status && Je(e, n); - } else e.completedSegments.push(t); - } - function et(e, t, n) { - if (null === t) { - if (n.parentFlushed) { - if (null !== e.completedRootSegment) throw Error(r(389)); - e.completedRootSegment = n; - } - e.pendingRootTasks--, 0 === e.pendingRootTasks && ((e.onShellError = Me), (t = e.onShellReady)()); - } else - t.pendingTasks--, - t.forceClientRender || - (0 === t.pendingTasks - ? (n.parentFlushed && 1 === n.status && Je(t, n), - t.parentFlushed && e.completedBoundaries.push(t), - t.fallbackAbortableTasks.forEach(Qe, e), - t.fallbackAbortableTasks.clear()) - : n.parentFlushed && - 1 === n.status && - (Je(t, n), 1 === t.completedSegments.length && t.parentFlushed && e.partialBoundaries.push(t))); - e.allPendingTasks--, 0 === e.allPendingTasks && (e = e.onAllReady)(); - } - function tt(e) { - if (2 !== e.status) { - var t = te, - n = je.current; - je.current = Le; - var a = Pe; - Pe = e.responseState; - try { - var r, - l = e.pingedTasks; - for (r = 0; r < l.length; r++) { - var i = l[r], - o = e, - c = i.blockedSegment; - if (0 === c.status) { - oe(i.context); - try { - $e(o, i, i.node), - o.responseState.generateStaticMarkup || - (c.lastPushedText && c.textEmbedded && c.chunks.push('\x3c!-- --\x3e')), - i.abortSet.delete(i), - (c.status = 1), - et(o, i.blockedBoundary, c); - } catch (e) { - if ((Ce(), 'object' == typeof e && null !== e && 'function' == typeof e.then)) { - var s = i.ping; - e.then(s, s); - } else { - i.abortSet.delete(i), (c.status = 4); - var u = i.blockedBoundary, - m = e, - d = Ve(o, m); - null === u - ? Ue(o, m) - : (u.pendingTasks--, - u.forceClientRender || - ((u.forceClientRender = !0), - (u.errorDigest = d), - u.parentFlushed && o.clientRenderedBoundaries.push(u))), - o.allPendingTasks--, - 0 === o.allPendingTasks && (0, o.onAllReady)(); - } - } - } - } - l.splice(0, r), null !== e.destination && ot(e, e.destination); - } catch (t) { - Ve(e, t), Ue(e, t); - } finally { - (Pe = a), (je.current = n), n === Le && oe(t); - } - } - } - function nt(e, t, n) { - switch (((n.parentFlushed = !0), n.status)) { - case 0: - var a = (n.id = e.nextSegmentId++); - return ( - (n.lastPushedText = !1), - (n.textEmbedded = !1), - (e = e.responseState), - t.push('') - ); - case 1: - n.status = 2; - var l = !0; - a = n.chunks; - var i = 0; - n = n.children; - for (var o = 0; o < n.length; o++) { - for (l = n[o]; i < l.index; i++) t.push(a[i]); - l = at(e, t, l); - } - for (; i < a.length - 1; i++) t.push(a[i]); - return i < a.length && (l = t.push(a[i])), l; - default: - throw Error(r(390)); - } - } - function at(e, t, n) { - var a = n.boundary; - if (null === a) return nt(e, t, n); - if (((a.parentFlushed = !0), a.forceClientRender)) - return ( - e.responseState.generateStaticMarkup || - ((a = a.errorDigest), - t.push('\x3c!--$!--\x3e'), - t.push('')), - nt(e, t, n), - !!e.responseState.generateStaticMarkup || t.push('\x3c!--/$--\x3e') - ); - if (0 < a.pendingTasks) { - (a.rootSegmentID = e.nextSegmentId++), 0 < a.completedSegments.length && e.partialBoundaries.push(a); - var l = e.responseState, - i = l.nextSuspenseID++; - return ( - (l = l.boundaryPrefix + i.toString(16)), - (a = a.id = l), - R(t, e.responseState, a), - nt(e, t, n), - t.push('\x3c!--/$--\x3e') - ); - } - if (a.byteSize > e.progressiveChunkSize) - return ( - (a.rootSegmentID = e.nextSegmentId++), - e.completedBoundaries.push(a), - R(t, e.responseState, a.id), - nt(e, t, n), - t.push('\x3c!--/$--\x3e') - ); - if ( - (e.responseState.generateStaticMarkup || t.push('\x3c!--$--\x3e'), 1 !== (n = a.completedSegments).length) - ) - throw Error(r(391)); - return at(e, t, n[0]), !!e.responseState.generateStaticMarkup || t.push('\x3c!--/$--\x3e'); - } - function rt(e, t, n) { - return ( - (function (e, t, n, a) { - switch (n.insertionMode) { - case 0: - case 1: - return ( - e.push(''), - we = d(''), - Ne = d(''), - Fe = d(''), - Ie = d(''), - Ae = d(''), - De = d(''), - Le = d(''), - je = d(''), - ze = d(''), - Be = d(''), - qe = d( - 'function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("' - ), - Ve = d('$RS("'), - Ue = d('","'), - He = d('")'), - Ke = d( - 'function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("' - ), - Ge = d('$RC("'), - We = d('","'), - $e = d('")'), - Xe = d( - 'function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("' - ), - Ye = d('$RX("'), - Qe = d('"'), - Ze = d(')'), - Je = d(','), - et = /[<\u2028\u2029]/g; - function tt(e) { - return JSON.stringify(e).replace(et, function (e) { - switch (e) { - case '<': - return '\\u003c'; - case '\u2028': - return '\\u2028'; - case '\u2029': - return '\\u2029'; - default: - throw Error( - 'escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React' - ); - } - }); - } - var nt = Object.assign, - at = Symbol.for('react.element'), - rt = Symbol.for('react.portal'), - lt = Symbol.for('react.fragment'), - it = Symbol.for('react.strict_mode'), - ot = Symbol.for('react.profiler'), - ct = Symbol.for('react.provider'), - st = Symbol.for('react.context'), - ut = Symbol.for('react.forward_ref'), - mt = Symbol.for('react.suspense'), - dt = Symbol.for('react.suspense_list'), - pt = Symbol.for('react.memo'), - ft = Symbol.for('react.lazy'), - ht = Symbol.for('react.scope'), - gt = Symbol.for('react.debug_trace_mode'), - vt = Symbol.for('react.legacy_hidden'), - bt = Symbol.for('react.default_value'), - Et = Symbol.iterator; - function yt(e) { - if (null == e) return null; - if ('function' == typeof e) return e.displayName || e.name || null; - if ('string' == typeof e) return e; - switch (e) { - case lt: - return 'Fragment'; - case rt: - return 'Portal'; - case ot: - return 'Profiler'; - case it: - return 'StrictMode'; - case mt: - return 'Suspense'; - case dt: - return 'SuspenseList'; - } - if ('object' == typeof e) - switch (e.$$typeof) { - case st: - return (e.displayName || 'Context') + '.Consumer'; - case ct: - return (e._context.displayName || 'Context') + '.Provider'; - case ut: - var t = e.render; - return ( - (e = e.displayName) || - (e = '' !== (e = t.displayName || t.name || '') ? 'ForwardRef(' + e + ')' : 'ForwardRef'), - e - ); - case pt: - return null !== (t = e.displayName || null) ? t : yt(e.type) || 'Memo'; - case ft: - (t = e._payload), (e = e._init); - try { - return yt(e(t)); - } catch (e) {} - } - return null; - } - var xt = {}; - function _t(e, t) { - if (!(e = e.contextTypes)) return xt; - var n, - a = {}; - for (n in e) a[n] = t[n]; - return a; - } - var wt = null; - function kt(e, t) { - if (e !== t) { - (e.context._currentValue = e.parentValue), (e = e.parent); - var n = t.parent; - if (null === e) { - if (null !== n) throw Error(r(401)); - } else { - if (null === n) throw Error(r(401)); - kt(e, n); - } - t.context._currentValue = t.value; - } - } - function St(e) { - (e.context._currentValue = e.parentValue), null !== (e = e.parent) && St(e); - } - function Nt(e) { - var t = e.parent; - null !== t && Nt(t), (e.context._currentValue = e.value); - } - function Tt(e, t) { - if (((e.context._currentValue = e.parentValue), null === (e = e.parent))) throw Error(r(402)); - e.depth === t.depth ? kt(e, t) : Tt(e, t); - } - function Ct(e, t) { - var n = t.parent; - if (null === n) throw Error(r(402)); - e.depth === n.depth ? kt(e, n) : Ct(e, n), (t.context._currentValue = t.value); - } - function Ft(e) { - var t = wt; - t !== e && - (null === t - ? Nt(e) - : null === e - ? St(t) - : t.depth === e.depth - ? kt(t, e) - : t.depth > e.depth - ? Tt(t, e) - : Ct(t, e), - (wt = e)); - } - var Rt = { - isMounted: function () { - return !1; - }, - enqueueSetState: function (e, t) { - null !== (e = e._reactInternals).queue && e.queue.push(t); - }, - enqueueReplaceState: function (e, t) { - ((e = e._reactInternals).replace = !0), (e.queue = [t]); - }, - enqueueForceUpdate: function () {}, - }; - function It(e, t, n, a) { - var r = void 0 !== e.state ? e.state : null; - (e.updater = Rt), (e.props = n), (e.state = r); - var l = { queue: [], replace: !1 }; - e._reactInternals = l; - var i = t.contextType; - if ( - ((e.context = 'object' == typeof i && null !== i ? i._currentValue : a), - 'function' == typeof (i = t.getDerivedStateFromProps) && - ((r = null == (i = i(n, r)) ? r : nt({}, r, i)), (e.state = r)), - 'function' != typeof t.getDerivedStateFromProps && - 'function' != typeof e.getSnapshotBeforeUpdate && - ('function' == typeof e.UNSAFE_componentWillMount || 'function' == typeof e.componentWillMount)) - ) - if ( - ((t = e.state), - 'function' == typeof e.componentWillMount && e.componentWillMount(), - 'function' == typeof e.UNSAFE_componentWillMount && e.UNSAFE_componentWillMount(), - t !== e.state && Rt.enqueueReplaceState(e, e.state, null), - null !== l.queue && 0 < l.queue.length) - ) - if (((t = l.queue), (i = l.replace), (l.queue = null), (l.replace = !1), i && 1 === t.length)) - e.state = t[0]; - else { - for (l = i ? t[0] : e.state, r = !0, i = i ? 1 : 0; i < t.length; i++) { - var o = t[i]; - null != (o = 'function' == typeof o ? o.call(e, l, n, a) : o) && - (r ? ((r = !1), (l = nt({}, l, o))) : nt(l, o)); - } - e.state = l; - } - else l.queue = null; - } - var At = { id: 1, overflow: '' }; - function Ot(e, t, n) { - var a = e.id; - e = e.overflow; - var r = 32 - Dt(a) - 1; - (a &= ~(1 << r)), (n += 1); - var l = 32 - Dt(t) + r; - if (30 < l) { - var i = r - (r % 5); - return ( - (l = (a & ((1 << i) - 1)).toString(32)), - (a >>= i), - (r -= i), - { id: (1 << (32 - Dt(t) + r)) | (n << r) | a, overflow: l + e } - ); - } - return { id: (1 << l) | (n << r) | a, overflow: e }; - } - var Dt = Math.clz32 - ? Math.clz32 - : function (e) { - return 0 == (e >>>= 0) ? 32 : (31 - ((Lt(e) / Pt) | 0)) | 0; - }, - Lt = Math.log, - Pt = Math.LN2, - jt = - 'function' == typeof Object.is - ? Object.is - : function (e, t) { - return (e === t && (0 !== e || 1 / e == 1 / t)) || (e != e && t != t); - }, - zt = null, - Mt = null, - Bt = null, - qt = null, - Vt = !1, - Ut = !1, - Ht = 0, - Kt = null, - Gt = 0; - function Wt() { - if (null === zt) throw Error(r(321)); - return zt; - } - function $t() { - if (0 < Gt) throw Error(r(312)); - return { memoizedState: null, queue: null, next: null }; - } - function Xt() { - return ( - null === qt - ? null === Bt - ? ((Vt = !1), (Bt = qt = $t())) - : ((Vt = !0), (qt = Bt)) - : null === qt.next - ? ((Vt = !1), (qt = qt.next = $t())) - : ((Vt = !0), (qt = qt.next)), - qt - ); - } - function Yt() { - (Mt = zt = null), (Ut = !1), (Bt = null), (Gt = 0), (qt = Kt = null); - } - function Qt(e, t) { - return 'function' == typeof t ? t(e) : t; - } - function Zt(e, t, n) { - if (((zt = Wt()), (qt = Xt()), Vt)) { - var a = qt.queue; - if (((t = a.dispatch), null !== Kt && void 0 !== (n = Kt.get(a)))) { - Kt.delete(a), (a = qt.memoizedState); - do { - (a = e(a, n.action)), (n = n.next); - } while (null !== n); - return (qt.memoizedState = a), [a, t]; - } - return [qt.memoizedState, t]; - } - return ( - (e = e === Qt ? ('function' == typeof t ? t() : t) : void 0 !== n ? n(t) : t), - (qt.memoizedState = e), - (e = (e = qt.queue = { last: null, dispatch: null }).dispatch = en.bind(null, zt, e)), - [qt.memoizedState, e] - ); - } - function Jt(e, t) { - if (((zt = Wt()), (t = void 0 === t ? null : t), null !== (qt = Xt()))) { - var n = qt.memoizedState; - if (null !== n && null !== t) { - var a = n[1]; - e: if (null === a) a = !1; - else { - for (var r = 0; r < a.length && r < t.length; r++) - if (!jt(t[r], a[r])) { - a = !1; - break e; - } - a = !0; - } - if (a) return n[0]; - } - } - return (e = e()), (qt.memoizedState = [e, t]), e; - } - function en(e, t, n) { - if (25 <= Gt) throw Error(r(301)); - if (e === zt) - if ( - ((Ut = !0), (e = { action: n, next: null }), null === Kt && (Kt = new Map()), void 0 === (n = Kt.get(t))) - ) - Kt.set(t, e); - else { - for (t = n; null !== t.next; ) t = t.next; - t.next = e; - } - } - function tn() { - throw Error(r(394)); - } - function nn() {} - var an = { - readContext: function (e) { - return e._currentValue; - }, - useContext: function (e) { - return Wt(), e._currentValue; - }, - useMemo: Jt, - useReducer: Zt, - useRef: function (e) { - zt = Wt(); - var t = (qt = Xt()).memoizedState; - return null === t ? ((e = { current: e }), (qt.memoizedState = e)) : t; - }, - useState: function (e) { - return Zt(Qt, e); - }, - useInsertionEffect: nn, - useLayoutEffect: function () {}, - useCallback: function (e, t) { - return Jt(function () { - return e; - }, t); - }, - useImperativeHandle: nn, - useEffect: nn, - useDebugValue: nn, - useDeferredValue: function (e) { - return Wt(), e; - }, - useTransition: function () { - return Wt(), [!1, tn]; - }, - useId: function () { - var e = Mt.treeContext, - t = e.overflow; - e = ((e = e.id) & ~(1 << (32 - Dt(e) - 1))).toString(32) + t; - var n = rn; - if (null === n) throw Error(r(404)); - return (t = Ht++), (e = ':' + n.idPrefix + 'R' + e), 0 < t && (e += 'H' + t.toString(32)), e + ':'; - }, - useMutableSource: function (e, t) { - return Wt(), t(e._source); - }, - useSyncExternalStore: function (e, t, n) { - if (void 0 === n) throw Error(r(407)); - return n(); - }, - }, - rn = null, - ln = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher; - function on(e) { - return console.error(e), null; - } - function cn() {} - function sn(e, t, n, a, r, l, i, o) { - e.allPendingTasks++, null === n ? e.pendingRootTasks++ : n.pendingTasks++; - var c = { - node: t, - ping: function () { - var t = e.pingedTasks; - t.push(c), 1 === t.length && kn(e); - }, - blockedBoundary: n, - blockedSegment: a, - abortSet: r, - legacyContext: l, - context: i, - treeContext: o, - }; - return r.add(c), c; - } - function un(e, t, n, a, r, l) { - return { - status: 0, - id: -1, - index: t, - parentFlushed: !1, - chunks: [], - children: [], - formatContext: a, - boundary: n, - lastPushedText: r, - textEmbedded: l, - }; - } - function mn(e, t) { - if (null != (e = e.onError(t)) && 'string' != typeof e) - throw Error( - 'onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "' + - typeof e + - '" instead' - ); - return e; - } - function dn(e, t) { - var n = e.onShellError; - n(t), - (n = e.onFatalError)(t), - null !== e.destination ? ((e.status = 2), p(e.destination, t)) : ((e.status = 1), (e.fatalError = t)); - } - function pn(e, t, n, a, r) { - for (zt = {}, Mt = t, Ht = 0, e = n(a, r); Ut; ) (Ut = !1), (Ht = 0), (Gt += 1), (qt = null), (e = n(a, r)); - return Yt(), e; - } - function fn(e, t, n, a) { - var l = n.render(), - i = a.childContextTypes; - if (null != i) { - var o = t.legacyContext; - if ('function' != typeof n.getChildContext) a = o; - else { - for (var c in (n = n.getChildContext())) if (!(c in i)) throw Error(r(108, yt(a) || 'Unknown', c)); - a = nt({}, o, n); - } - (t.legacyContext = a), vn(e, t, l), (t.legacyContext = o); - } else vn(e, t, l); - } - function hn(e, t) { - if (e && e.defaultProps) { - for (var n in ((t = nt({}, t)), (e = e.defaultProps))) void 0 === t[n] && (t[n] = e[n]); - return t; - } - return t; - } - function gn(e, t, n, l, i) { - if ('function' == typeof n) - if (n.prototype && n.prototype.isReactComponent) { - i = _t(n, t.legacyContext); - var o = n.contextType; - It((o = new n(l, 'object' == typeof o && null !== o ? o._currentValue : i)), n, l, i), fn(e, t, o, n); - } else { - i = pn(e, t, n, l, (o = _t(n, t.legacyContext))); - var c = 0 !== Ht; - if ('object' == typeof i && null !== i && 'function' == typeof i.render && void 0 === i.$$typeof) - It(i, n, l, o), fn(e, t, i, n); - else if (c) { - (l = t.treeContext), (t.treeContext = Ot(l, 1, 0)); - try { - vn(e, t, i); - } finally { - t.treeContext = l; - } - } else vn(e, t, i); - } - else { - if ('string' != typeof n) { - switch (n) { - case vt: - case gt: - case it: - case ot: - case lt: - case dt: - return void vn(e, t, l.children); - case ht: - throw Error(r(343)); - case mt: - e: { - (n = t.blockedBoundary), (i = t.blockedSegment), (o = l.fallback), (l = l.children); - var s = { - id: null, - rootSegmentID: -1, - parentFlushed: !1, - pendingTasks: 0, - forceClientRender: !1, - completedSegments: [], - byteSize: 0, - fallbackAbortableTasks: (c = new Set()), - errorDigest: null, - }, - u = un(0, i.chunks.length, s, i.formatContext, !1, !1); - i.children.push(u), (i.lastPushedText = !1); - var d = un(0, 0, null, i.formatContext, !1, !1); - (d.parentFlushed = !0), (t.blockedBoundary = s), (t.blockedSegment = d); - try { - if ( - (En(e, t, l), - d.lastPushedText && d.textEmbedded && d.chunks.push(z), - (d.status = 1), - _n(s, d), - 0 === s.pendingTasks) - ) - break e; - } catch (t) { - (d.status = 4), (s.forceClientRender = !0), (s.errorDigest = mn(e, t)); - } finally { - (t.blockedBoundary = n), (t.blockedSegment = i); - } - (t = sn(e, o, n, u, c, t.legacyContext, t.context, t.treeContext)), e.pingedTasks.push(t); - } - return; - } - if ('object' == typeof n && null !== n) - switch (n.$$typeof) { - case ut: - if (((l = pn(e, t, n.render, l, i)), 0 !== Ht)) { - (n = t.treeContext), (t.treeContext = Ot(n, 1, 0)); - try { - vn(e, t, l); - } finally { - t.treeContext = n; - } - } else vn(e, t, l); - return; - case pt: - return void gn(e, t, (n = n.type), (l = hn(n, l)), i); - case ct: - if ( - ((i = l.children), - (n = n._context), - (l = l.value), - (o = n._currentValue), - (n._currentValue = l), - (wt = l = - { - parent: (c = wt), - depth: null === c ? 0 : c.depth + 1, - context: n, - parentValue: o, - value: l, - }), - (t.context = l), - vn(e, t, i), - null === (e = wt)) - ) - throw Error(r(403)); - return ( - (l = e.parentValue), - (e.context._currentValue = l === bt ? e.context._defaultValue : l), - (e = wt = e.parent), - void (t.context = e) - ); - case st: - return void vn(e, t, (l = (l = l.children)(n._currentValue))); - case ft: - return void gn(e, t, (n = (i = n._init)(n._payload)), (l = hn(n, l)), void 0); - } - throw Error(r(130, null == n ? n : typeof n, '')); - } - switch ( - ((o = (function (e, t, n, l, i) { - switch (t) { - case 'select': - e.push(re('select')); - var o = null, - c = null; - for (p in n) - if (f.call(n, p)) { - var s = n[p]; - if (null != s) - switch (p) { - case 'children': - o = s; - break; - case 'dangerouslySetInnerHTML': - c = s; - break; - case 'defaultValue': - case 'value': - break; - default: - X(e, l, p, s); - } - } - return e.push(Y), Z(e, c, o), o; - case 'option': - (c = i.selectedValue), e.push(re('option')); - var u = (s = null), - d = null, - p = null; - for (o in n) - if (f.call(n, o)) { - var h = n[o]; - if (null != h) - switch (o) { - case 'children': - s = h; - break; - case 'selected': - d = h; - break; - case 'dangerouslySetInnerHTML': - p = h; - break; - case 'value': - u = h; - default: - X(e, l, o, h); - } - } - if (null != c) - if ( - ((n = - null !== u - ? '' + u - : (function (e) { - var t = ''; - return ( - a.Children.forEach(e, function (e) { - null != e && (t += e); - }), - t - ); - })(s)), - F(c)) - ) { - for (l = 0; l < c.length; l++) - if ('' + c[l] === n) { - e.push(J); - break; - } - } else '' + c === n && e.push(J); - else d && e.push(J); - return e.push(Y), Z(e, p, s), s; - case 'textarea': - for (s in (e.push(re('textarea')), (p = c = o = null), n)) - if (f.call(n, s) && null != (u = n[s])) - switch (s) { - case 'children': - p = u; - break; - case 'value': - o = u; - break; - case 'defaultValue': - c = u; - break; - case 'dangerouslySetInnerHTML': - throw Error(r(91)); - default: - X(e, l, s, u); - } - if ((null === o && null !== c && (o = c), e.push(Y), null != p)) { - if (null != o) throw Error(r(92)); - if (F(p) && 1 < p.length) throw Error(r(93)); - o = '' + p; - } - return ( - 'string' == typeof o && '\n' === o[0] && e.push(te), null !== o && e.push(m(N('' + o))), null - ); - case 'input': - for (c in (e.push(re('input')), (u = p = s = o = null), n)) - if (f.call(n, c) && null != (d = n[c])) - switch (c) { - case 'children': - case 'dangerouslySetInnerHTML': - throw Error(r(399, 'input')); - case 'defaultChecked': - u = d; - break; - case 'defaultValue': - s = d; - break; - case 'checked': - p = d; - break; - case 'value': - o = d; - break; - default: - X(e, l, c, d); - } - return ( - null !== p ? X(e, l, 'checked', p) : null !== u && X(e, l, 'checked', u), - null !== o ? X(e, l, 'value', o) : null !== s && X(e, l, 'value', s), - e.push(Q), - null - ); - case 'menuitem': - for (var g in (e.push(re('menuitem')), n)) - if (f.call(n, g) && null != (o = n[g])) - switch (g) { - case 'children': - case 'dangerouslySetInnerHTML': - throw Error(r(400)); - default: - X(e, l, g, o); - } - return e.push(Y), null; - case 'title': - for (h in (e.push(re('title')), (o = null), n)) - if (f.call(n, h) && null != (c = n[h])) - switch (h) { - case 'children': - o = c; - break; - case 'dangerouslySetInnerHTML': - throw Error(r(434)); - default: - X(e, l, h, c); - } - return e.push(Y), o; - case 'listing': - case 'pre': - for (u in (e.push(re(t)), (c = o = null), n)) - if (f.call(n, u) && null != (s = n[u])) - switch (u) { - case 'children': - o = s; - break; - case 'dangerouslySetInnerHTML': - c = s; - break; - default: - X(e, l, u, s); - } - if ((e.push(Y), null != c)) { - if (null != o) throw Error(r(60)); - if ('object' != typeof c || !('__html' in c)) throw Error(r(61)); - null != (n = c.__html) && - ('string' == typeof n && 0 < n.length && '\n' === n[0] ? e.push(te, m(n)) : e.push(m('' + n))); - } - return 'string' == typeof o && '\n' === o[0] && e.push(te), o; - case 'area': - case 'base': - case 'br': - case 'col': - case 'embed': - case 'hr': - case 'img': - case 'keygen': - case 'link': - case 'meta': - case 'param': - case 'source': - case 'track': - case 'wbr': - for (var v in (e.push(re(t)), n)) - if (f.call(n, v) && null != (o = n[v])) - switch (v) { - case 'children': - case 'dangerouslySetInnerHTML': - throw Error(r(399, t)); - default: - X(e, l, v, o); - } - return e.push(Q), null; - case 'annotation-xml': - case 'color-profile': - case 'font-face': - case 'font-face-src': - case 'font-face-uri': - case 'font-face-format': - case 'font-face-name': - case 'missing-glyph': - return ee(e, n, t, l); - case 'html': - return 0 === i.insertionMode && e.push(le), ee(e, n, t, l); - default: - if (-1 === t.indexOf('-') && 'string' != typeof n.is) return ee(e, n, t, l); - for (d in (e.push(re(t)), (c = o = null), n)) - if (f.call(n, d) && null != (s = n[d])) - switch (d) { - case 'children': - o = s; - break; - case 'dangerouslySetInnerHTML': - c = s; - break; - case 'style': - H(e, l, s); - break; - case 'suppressContentEditableWarning': - case 'suppressHydrationWarning': - break; - default: - b(d) && 'function' != typeof s && 'symbol' != typeof s && e.push(K, m(d), G, m(N(s)), W); - } - return e.push(Y), Z(e, c, o), o; - } - })((i = t.blockedSegment).chunks, n, l, e.responseState, i.formatContext)), - (i.lastPushedText = !1), - (c = i.formatContext), - (i.formatContext = (function (e, t, n) { - switch (t) { - case 'select': - return j(1, null != n.value ? n.value : n.defaultValue); - case 'svg': - return j(2, null); - case 'math': - return j(3, null); - case 'foreignObject': - return j(1, null); - case 'table': - return j(4, null); - case 'thead': - case 'tbody': - case 'tfoot': - return j(5, null); - case 'colgroup': - return j(7, null); - case 'tr': - return j(6, null); - } - return 4 <= e.insertionMode || 0 === e.insertionMode ? j(1, null) : e; - })(c, n, l)), - En(e, t, o), - (i.formatContext = c), - n) - ) { - case 'area': - case 'base': - case 'br': - case 'col': - case 'embed': - case 'hr': - case 'img': - case 'input': - case 'keygen': - case 'link': - case 'meta': - case 'param': - case 'source': - case 'track': - case 'wbr': - break; - default: - i.chunks.push(ie, m(n), oe); - } - i.lastPushedText = !1; - } - } - function vn(e, t, n) { - if (((t.node = n), 'object' == typeof n && null !== n)) { - switch (n.$$typeof) { - case at: - return void gn(e, t, n.type, n.props, n.ref); - case rt: - throw Error(r(257)); - case ft: - var a = n._init; - return void vn(e, t, (n = a(n._payload))); - } - if (F(n)) return void bn(e, t, n); - if ( - (a = - null === n || 'object' != typeof n - ? null - : 'function' == typeof (a = (Et && n[Et]) || n['@@iterator']) - ? a - : null) && - (a = a.call(n)) - ) { - if (!(n = a.next()).done) { - var l = []; - do { - l.push(n.value), (n = a.next()); - } while (!n.done); - bn(e, t, l); - } - return; - } - throw ( - ((e = Object.prototype.toString.call(n)), - Error(r(31, '[object Object]' === e ? 'object with keys {' + Object.keys(n).join(', ') + '}' : e))) - ); - } - 'string' == typeof n - ? ((a = t.blockedSegment).lastPushedText = M(t.blockedSegment.chunks, n, e.responseState, a.lastPushedText)) - : 'number' == typeof n && - ((a = t.blockedSegment).lastPushedText = M( - t.blockedSegment.chunks, - '' + n, - e.responseState, - a.lastPushedText - )); - } - function bn(e, t, n) { - for (var a = n.length, r = 0; r < a; r++) { - var l = t.treeContext; - t.treeContext = Ot(l, a, r); - try { - En(e, t, n[r]); - } finally { - t.treeContext = l; - } - } - } - function En(e, t, n) { - var a = t.blockedSegment.formatContext, - r = t.legacyContext, - l = t.context; - try { - return vn(e, t, n); - } catch (c) { - if ((Yt(), 'object' != typeof c || null === c || 'function' != typeof c.then)) - throw ((t.blockedSegment.formatContext = a), (t.legacyContext = r), (t.context = l), Ft(l), c); - n = c; - var i = t.blockedSegment, - o = un(0, i.chunks.length, null, i.formatContext, i.lastPushedText, !0); - i.children.push(o), - (i.lastPushedText = !1), - (e = sn(e, t.node, t.blockedBoundary, o, t.abortSet, t.legacyContext, t.context, t.treeContext).ping), - n.then(e, e), - (t.blockedSegment.formatContext = a), - (t.legacyContext = r), - (t.context = l), - Ft(l); - } - } - function yn(e) { - var t = e.blockedBoundary; - ((e = e.blockedSegment).status = 3), wn(this, t, e); - } - function xn(e, t, n) { - var a = e.blockedBoundary; - (e.blockedSegment.status = 3), - null === a - ? (t.allPendingTasks--, - 2 !== t.status && ((t.status = 2), null !== t.destination && t.destination.close())) - : (a.pendingTasks--, - a.forceClientRender || - ((a.forceClientRender = !0), - (e = void 0 === n ? Error(r(432)) : n), - (a.errorDigest = t.onError(e)), - a.parentFlushed && t.clientRenderedBoundaries.push(a)), - a.fallbackAbortableTasks.forEach(function (e) { - return xn(e, t, n); - }), - a.fallbackAbortableTasks.clear(), - t.allPendingTasks--, - 0 === t.allPendingTasks && (a = t.onAllReady)()); - } - function _n(e, t) { - if (0 === t.chunks.length && 1 === t.children.length && null === t.children[0].boundary) { - var n = t.children[0]; - (n.id = t.id), (n.parentFlushed = !0), 1 === n.status && _n(e, n); - } else e.completedSegments.push(t); - } - function wn(e, t, n) { - if (null === t) { - if (n.parentFlushed) { - if (null !== e.completedRootSegment) throw Error(r(389)); - e.completedRootSegment = n; - } - e.pendingRootTasks--, 0 === e.pendingRootTasks && ((e.onShellError = cn), (t = e.onShellReady)()); - } else - t.pendingTasks--, - t.forceClientRender || - (0 === t.pendingTasks - ? (n.parentFlushed && 1 === n.status && _n(t, n), - t.parentFlushed && e.completedBoundaries.push(t), - t.fallbackAbortableTasks.forEach(yn, e), - t.fallbackAbortableTasks.clear()) - : n.parentFlushed && - 1 === n.status && - (_n(t, n), 1 === t.completedSegments.length && t.parentFlushed && e.partialBoundaries.push(t))); - e.allPendingTasks--, 0 === e.allPendingTasks && (e = e.onAllReady)(); - } - function kn(e) { - if (2 !== e.status) { - var t = wt, - n = ln.current; - ln.current = an; - var a = rn; - rn = e.responseState; - try { - var r, - l = e.pingedTasks; - for (r = 0; r < l.length; r++) { - var i = l[r], - o = e, - c = i.blockedSegment; - if (0 === c.status) { - Ft(i.context); - try { - vn(o, i, i.node), - c.lastPushedText && c.textEmbedded && c.chunks.push(z), - i.abortSet.delete(i), - (c.status = 1), - wn(o, i.blockedBoundary, c); - } catch (e) { - if ((Yt(), 'object' == typeof e && null !== e && 'function' == typeof e.then)) { - var s = i.ping; - e.then(s, s); - } else { - i.abortSet.delete(i), (c.status = 4); - var u = i.blockedBoundary, - m = e, - d = mn(o, m); - null === u - ? dn(o, m) - : (u.pendingTasks--, - u.forceClientRender || - ((u.forceClientRender = !0), - (u.errorDigest = d), - u.parentFlushed && o.clientRenderedBoundaries.push(u))), - o.allPendingTasks--, - 0 === o.allPendingTasks && (0, o.onAllReady)(); - } - } - } - } - l.splice(0, r), null !== e.destination && Rn(e, e.destination); - } catch (t) { - mn(e, t), dn(e, t); - } finally { - (rn = a), (ln.current = n), n === an && Ft(t); - } - } - } - function Sn(e, t, n) { - switch (((n.parentFlushed = !0), n.status)) { - case 0: - var a = (n.id = e.nextSegmentId++); - return ( - (n.lastPushedText = !1), - (n.textEmbedded = !1), - (e = e.responseState), - o(t, ce), - o(t, e.placeholderPrefix), - o(t, (e = m(a.toString(16)))), - c(t, se) - ); - case 1: - n.status = 2; - var l = !0; - a = n.chunks; - var i = 0; - n = n.children; - for (var s = 0; s < n.length; s++) { - for (l = n[s]; i < l.index; i++) o(t, a[i]); - l = Nn(e, t, l); - } - for (; i < a.length - 1; i++) o(t, a[i]); - return i < a.length && (l = c(t, a[i])), l; - default: - throw Error(r(390)); - } - } - function Nn(e, t, n) { - var a = n.boundary; - if (null === a) return Sn(e, t, n); - if (((a.parentFlushed = !0), a.forceClientRender)) - (a = a.errorDigest), c(t, pe), o(t, he), a && (o(t, ve), o(t, m(N(a))), o(t, ge)), c(t, be), Sn(e, t, n); - else if (0 < a.pendingTasks) { - (a.rootSegmentID = e.nextSegmentId++), 0 < a.completedSegments.length && e.partialBoundaries.push(a); - var l = e.responseState, - i = l.nextSuspenseID++; - (l = d(l.boundaryPrefix + i.toString(16))), (a = a.id = l), Ee(t, e.responseState, a), Sn(e, t, n); - } else if (a.byteSize > e.progressiveChunkSize) - (a.rootSegmentID = e.nextSegmentId++), - e.completedBoundaries.push(a), - Ee(t, e.responseState, a.id), - Sn(e, t, n); - else { - if ((c(t, ue), 1 !== (n = a.completedSegments).length)) throw Error(r(391)); - Nn(e, t, n[0]); - } - return c(t, fe); - } - function Tn(e, t, n) { - return ( - (function (e, t, n, a) { - switch (n.insertionMode) { - case 0: - case 1: - return o(e, ye), o(e, t.segmentPrefix), o(e, m(a.toString(16))), c(e, xe); - case 2: - return o(e, we), o(e, t.segmentPrefix), o(e, m(a.toString(16))), c(e, ke); - case 3: - return o(e, Ne), o(e, t.segmentPrefix), o(e, m(a.toString(16))), c(e, Te); - case 4: - return o(e, Fe), o(e, t.segmentPrefix), o(e, m(a.toString(16))), c(e, Re); - case 5: - return o(e, Ae), o(e, t.segmentPrefix), o(e, m(a.toString(16))), c(e, Oe); - case 6: - return o(e, Le), o(e, t.segmentPrefix), o(e, m(a.toString(16))), c(e, Pe); - case 7: - return o(e, ze), o(e, t.segmentPrefix), o(e, m(a.toString(16))), c(e, Me); - default: - throw Error(r(397)); - } - })(t, e.responseState, n.formatContext, n.id), - Nn(e, t, n), - (function (e, t) { - switch (t.insertionMode) { - case 0: - case 1: - return c(e, _e); - case 2: - return c(e, Se); - case 3: - return c(e, Ce); - case 4: - return c(e, Ie); - case 5: - return c(e, De); - case 6: - return c(e, je); - case 7: - return c(e, Be); - default: - throw Error(r(397)); - } - })(t, n.formatContext) - ); - } - function Cn(e, t, n) { - for (var a = n.completedSegments, l = 0; l < a.length; l++) Fn(e, t, n, a[l]); - if ( - ((a.length = 0), - (e = e.responseState), - (a = n.id), - (n = n.rootSegmentID), - o(t, e.startInlineScript), - e.sentCompleteBoundaryFunction ? o(t, Ge) : ((e.sentCompleteBoundaryFunction = !0), o(t, Ke)), - null === a) - ) - throw Error(r(395)); - return (n = m(n.toString(16))), o(t, a), o(t, We), o(t, e.segmentPrefix), o(t, n), c(t, $e); - } - function Fn(e, t, n, a) { - if (2 === a.status) return !0; - var l = a.id; - if (-1 === l) { - if (-1 === (a.id = n.rootSegmentID)) throw Error(r(392)); - return Tn(e, t, a); - } - return ( - Tn(e, t, a), - o(t, (e = e.responseState).startInlineScript), - e.sentCompleteSegmentFunction ? o(t, Ve) : ((e.sentCompleteSegmentFunction = !0), o(t, qe)), - o(t, e.segmentPrefix), - o(t, (l = m(l.toString(16)))), - o(t, Ue), - o(t, e.placeholderPrefix), - o(t, l), - c(t, He) - ); - } - function Rn(e, t) { - (l = new Uint8Array(512)), (i = 0); - try { - var n = e.completedRootSegment; - if (null !== n && 0 === e.pendingRootTasks) { - Nn(e, t, n), (e.completedRootSegment = null); - var a = e.responseState.bootstrapChunks; - for (n = 0; n < a.length - 1; n++) o(t, a[n]); - n < a.length && c(t, a[n]); - } - var u, - d = e.clientRenderedBoundaries; - for (u = 0; u < d.length; u++) { - var p = d[u]; - a = t; - var f = e.responseState, - h = p.id, - g = p.errorDigest, - v = p.errorMessage, - b = p.errorComponentStack; - if ( - (o(a, f.startInlineScript), - f.sentClientRenderFunction ? o(a, Ye) : ((f.sentClientRenderFunction = !0), o(a, Xe)), - null === h) - ) - throw Error(r(395)); - if ( - (o(a, h), - o(a, Qe), - (g || v || b) && (o(a, Je), o(a, m(tt(g || '')))), - (v || b) && (o(a, Je), o(a, m(tt(v || '')))), - b && (o(a, Je), o(a, m(tt(b)))), - !c(a, Ze)) - ) - return (e.destination = null), u++, void d.splice(0, u); - } - d.splice(0, u); - var E = e.completedBoundaries; - for (u = 0; u < E.length; u++) if (!Cn(e, t, E[u])) return (e.destination = null), u++, void E.splice(0, u); - E.splice(0, u), s(t), (l = new Uint8Array(512)), (i = 0); - var y = e.partialBoundaries; - for (u = 0; u < y.length; u++) { - var x = y[u]; - e: { - (d = e), (p = t); - var _ = x.completedSegments; - for (f = 0; f < _.length; f++) - if (!Fn(d, p, x, _[f])) { - f++, _.splice(0, f); - var w = !1; - break e; - } - _.splice(0, f), (w = !0); - } - if (!w) return (e.destination = null), u++, void y.splice(0, u); - } - y.splice(0, u); - var k = e.completedBoundaries; - for (u = 0; u < k.length; u++) if (!Cn(e, t, k[u])) return (e.destination = null), u++, void k.splice(0, u); - k.splice(0, u); - } finally { - s(t), - 0 === e.allPendingTasks && - 0 === e.pingedTasks.length && - 0 === e.clientRenderedBoundaries.length && - 0 === e.completedBoundaries.length && - t.close(); - } - } - function In(e, t) { - try { - var n = e.abortableTasks; - n.forEach(function (n) { - return xn(n, e, t); - }), - n.clear(), - null !== e.destination && Rn(e, e.destination); - } catch (t) { - mn(e, t), dn(e, t); - } - } - (t.renderToReadableStream = function (e, t) { - return new Promise(function (n, a) { - var r, - l, - i = new Promise(function (e, t) { - (l = e), (r = t); - }), - o = (function (e, t, n, a, r, l, i, o, c) { - var s = [], - u = new Set(); - return ( - ((n = un( - (t = { - destination: null, - responseState: t, - progressiveChunkSize: void 0 === a ? 12800 : a, - status: 0, - fatalError: null, - nextSegmentId: 0, - allPendingTasks: 0, - pendingRootTasks: 0, - completedRootSegment: null, - abortableTasks: u, - pingedTasks: s, - clientRenderedBoundaries: [], - completedBoundaries: [], - partialBoundaries: [], - onError: void 0 === r ? on : r, - onAllReady: void 0 === l ? cn : l, - onShellReady: void 0 === i ? cn : i, - onShellError: void 0 === o ? cn : o, - onFatalError: void 0 === c ? cn : c, - }), - 0, - null, - n, - !1, - !1 - )).parentFlushed = !0), - (e = sn(t, e, null, n, u, xt, null, At)), - s.push(e), - t - ); - })( - e, - (function (e, t, n, a, r) { - (e = void 0 === e ? '' : e), (t = void 0 === t ? R : d(''), - (e = e.removeChild(e.firstChild))) - : 'string' == typeof a.is - ? (e = c.createElement(n, { is: a.is })) - : ((e = c.createElement(n)), - 'select' === n && ((c = e), a.multiple ? (c.multiple = !0) : a.size && (c.size = a.size))) - : (e = c.createElementNS(e, n)), - (e[dr] = t), - (e[pr] = a), - Io(e, t, !1, !1), - (t.stateNode = e); - e: { - switch (((c = Ee(n, a)), n)) { - case 'dialog': - Ma('cancel', e), Ma('close', e), (r = a); - break; - case 'iframe': - case 'object': - case 'embed': - Ma('load', e), (r = a); - break; - case 'video': - case 'audio': - for (r = 0; r < La.length; r++) Ma(La[r], e); - r = a; - break; - case 'source': - Ma('error', e), (r = a); - break; - case 'img': - case 'image': - case 'link': - Ma('error', e), Ma('load', e), (r = a); - break; - case 'details': - Ma('toggle', e), (r = a); - break; - case 'input': - Y(e, a), (r = X(e, a)), Ma('invalid', e); - break; - case 'option': - default: - r = a; - break; - case 'select': - (e._wrapperState = { wasMultiple: !!a.multiple }), - (r = j({}, a, { value: void 0 })), - Ma('invalid', e); - break; - case 'textarea': - re(e, a), (r = ae(e, a)), Ma('invalid', e); - } - for (i in (be(n, r), (s = r))) - if (s.hasOwnProperty(i)) { - var u = s[i]; - 'style' === i - ? ge(e, u) - : 'dangerouslySetInnerHTML' === i - ? null != (u = u ? u.__html : void 0) && me(e, u) - : 'children' === i - ? 'string' == typeof u - ? ('textarea' !== n || '' !== u) && de(e, u) - : 'number' == typeof u && de(e, '' + u) - : 'suppressContentEditableWarning' !== i && - 'suppressHydrationWarning' !== i && - 'autoFocus' !== i && - (o.hasOwnProperty(i) - ? null != u && 'onScroll' === i && Ma('scroll', e) - : null != u && E(e, i, u, c)); - } - switch (n) { - case 'input': - G(e), J(e, a, !1); - break; - case 'textarea': - G(e), ie(e); - break; - case 'option': - null != a.value && e.setAttribute('value', '' + H(a.value)); - break; - case 'select': - (e.multiple = !!a.multiple), - null != (i = a.value) - ? ne(e, !!a.multiple, i, !1) - : null != a.defaultValue && ne(e, !!a.multiple, a.defaultValue, !0); - break; - default: - 'function' == typeof r.onClick && (e.onclick = Ja); - } - switch (n) { - case 'button': - case 'input': - case 'select': - case 'textarea': - a = !!a.autoFocus; - break e; - case 'img': - a = !0; - break e; - default: - a = !1; - } - } - a && (t.flags |= 4); - } - null !== t.ref && ((t.flags |= 512), (t.flags |= 2097152)); - } - return Go(t), null; - case 6: - if (e && null != t.stateNode) Do(e, t, e.memoizedProps, a); - else { - if ('string' != typeof a && null === t.stateNode) throw Error(l(166)); - if (((n = $l(Wl.current)), $l(Kl.current), ml(t))) { - if ( - ((a = t.stateNode), - (n = t.memoizedProps), - (a[dr] = t), - (i = a.nodeValue !== n) && null !== (e = nl)) - ) - switch (e.tag) { - case 3: - Za(a.nodeValue, n, !!(1 & e.mode)); - break; - case 5: - !0 !== e.memoizedProps.suppressHydrationWarning && Za(a.nodeValue, n, !!(1 & e.mode)); - } - i && (t.flags |= 4); - } else ((a = (9 === n.nodeType ? n : n.ownerDocument).createTextNode(a))[dr] = t), (t.stateNode = a); - } - return Go(t), null; - case 13: - if ( - (Sr(Jl), - (a = t.memoizedState), - null === e || (null !== e.memoizedState && null !== e.memoizedState.dehydrated)) - ) { - if (rl && null !== al && 1 & t.mode && !(128 & t.flags)) dl(), pl(), (t.flags |= 98560), (i = !1); - else if (((i = ml(t)), null !== a && null !== a.dehydrated)) { - if (null === e) { - if (!i) throw Error(l(318)); - if (!(i = null !== (i = t.memoizedState) ? i.dehydrated : null)) throw Error(l(317)); - i[dr] = t; - } else pl(), !(128 & t.flags) && (t.memoizedState = null), (t.flags |= 4); - Go(t), (i = !1); - } else null !== ll && (is(ll), (ll = null)), (i = !0); - if (!i) return 65536 & t.flags ? t : null; - } - return 128 & t.flags - ? ((t.lanes = n), t) - : ((a = null !== a) != (null !== e && null !== e.memoizedState) && - a && - ((t.child.flags |= 8192), - 1 & t.mode && (null === e || 1 & Jl.current ? 0 === Dc && (Dc = 3) : hs())), - null !== t.updateQueue && (t.flags |= 4), - Go(t), - null); - case 4: - return Yl(), Ao(e, t), null === e && Va(t.stateNode.containerInfo), Go(t), null; - case 10: - return Tl(t.type._context), Go(t), null; - case 19: - if ((Sr(Jl), null === (i = t.memoizedState))) return Go(t), null; - if (((a = !!(128 & t.flags)), null === (c = i.rendering))) - if (a) Ko(i, !1); - else { - if (0 !== Dc || (null !== e && 128 & e.flags)) - for (e = t.child; null !== e; ) { - if (null !== (c = ei(e))) { - for ( - t.flags |= 128, - Ko(i, !1), - null !== (a = c.updateQueue) && ((t.updateQueue = a), (t.flags |= 4)), - t.subtreeFlags = 0, - a = n, - n = t.child; - null !== n; - - ) - (e = a), - ((i = n).flags &= 14680066), - null === (c = i.alternate) - ? ((i.childLanes = 0), - (i.lanes = e), - (i.child = null), - (i.subtreeFlags = 0), - (i.memoizedProps = null), - (i.memoizedState = null), - (i.updateQueue = null), - (i.dependencies = null), - (i.stateNode = null)) - : ((i.childLanes = c.childLanes), - (i.lanes = c.lanes), - (i.child = c.child), - (i.subtreeFlags = 0), - (i.deletions = null), - (i.memoizedProps = c.memoizedProps), - (i.memoizedState = c.memoizedState), - (i.updateQueue = c.updateQueue), - (i.type = c.type), - (e = c.dependencies), - (i.dependencies = - null === e ? null : { lanes: e.lanes, firstContext: e.firstContext })), - (n = n.sibling); - return Nr(Jl, (1 & Jl.current) | 2), t.child; - } - e = e.sibling; - } - null !== i.tail && Qe() > Vc && ((t.flags |= 128), (a = !0), Ko(i, !1), (t.lanes = 4194304)); - } - else { - if (!a) - if (null !== (e = ei(c))) { - if ( - ((t.flags |= 128), - (a = !0), - null !== (n = e.updateQueue) && ((t.updateQueue = n), (t.flags |= 4)), - Ko(i, !0), - null === i.tail && 'hidden' === i.tailMode && !c.alternate && !rl) - ) - return Go(t), null; - } else - 2 * Qe() - i.renderingStartTime > Vc && - 1073741824 !== n && - ((t.flags |= 128), (a = !0), Ko(i, !1), (t.lanes = 4194304)); - i.isBackwards - ? ((c.sibling = t.child), (t.child = c)) - : (null !== (n = i.last) ? (n.sibling = c) : (t.child = c), (i.last = c)); - } - return null !== i.tail - ? ((t = i.tail), - (i.rendering = t), - (i.tail = t.sibling), - (i.renderingStartTime = Qe()), - (t.sibling = null), - (n = Jl.current), - Nr(Jl, a ? (1 & n) | 2 : 1 & n), - t) - : (Go(t), null); - case 22: - case 23: - return ( - ms(), - (a = null !== t.memoizedState), - null !== e && (null !== e.memoizedState) !== a && (t.flags |= 8192), - a && 1 & t.mode ? !!(1073741824 & Ac) && (Go(t), 6 & t.subtreeFlags && (t.flags |= 8192)) : Go(t), - null - ); - case 24: - case 25: - return null; - } - throw Error(l(156, t.tag)); - } - function $o(e, t) { - switch ((tl(t), t.tag)) { - case 1: - return Ar(t.type) && Or(), 65536 & (e = t.flags) ? ((t.flags = (-65537 & e) | 128), t) : null; - case 3: - return ( - Yl(), - Sr(Fr), - Sr(Cr), - ni(), - 65536 & (e = t.flags) && !(128 & e) ? ((t.flags = (-65537 & e) | 128), t) : null - ); - case 5: - return Zl(t), null; - case 13: - if ((Sr(Jl), null !== (e = t.memoizedState) && null !== e.dehydrated)) { - if (null === t.alternate) throw Error(l(340)); - pl(); - } - return 65536 & (e = t.flags) ? ((t.flags = (-65537 & e) | 128), t) : null; - case 19: - return Sr(Jl), null; - case 4: - return Yl(), null; - case 10: - return Tl(t.type._context), null; - case 22: - case 23: - return ms(), null; - default: - return null; - } - } - (Io = function (e, t) { - for (var n = t.child; null !== n; ) { - if (5 === n.tag || 6 === n.tag) e.appendChild(n.stateNode); - else if (4 !== n.tag && null !== n.child) { - (n.child.return = n), (n = n.child); - continue; - } - if (n === t) break; - for (; null === n.sibling; ) { - if (null === n.return || n.return === t) return; - n = n.return; - } - (n.sibling.return = n.return), (n = n.sibling); - } - }), - (Ao = function () {}), - (Oo = function (e, t, n, a) { - var r = e.memoizedProps; - if (r !== a) { - (e = t.stateNode), $l(Kl.current); - var l, - i = null; - switch (n) { - case 'input': - (r = X(e, r)), (a = X(e, a)), (i = []); - break; - case 'select': - (r = j({}, r, { value: void 0 })), (a = j({}, a, { value: void 0 })), (i = []); - break; - case 'textarea': - (r = ae(e, r)), (a = ae(e, a)), (i = []); - break; - default: - 'function' != typeof r.onClick && 'function' == typeof a.onClick && (e.onclick = Ja); - } - for (u in (be(n, a), (n = null), r)) - if (!a.hasOwnProperty(u) && r.hasOwnProperty(u) && null != r[u]) - if ('style' === u) { - var c = r[u]; - for (l in c) c.hasOwnProperty(l) && (n || (n = {}), (n[l] = '')); - } else - 'dangerouslySetInnerHTML' !== u && - 'children' !== u && - 'suppressContentEditableWarning' !== u && - 'suppressHydrationWarning' !== u && - 'autoFocus' !== u && - (o.hasOwnProperty(u) ? i || (i = []) : (i = i || []).push(u, null)); - for (u in a) { - var s = a[u]; - if (((c = null != r ? r[u] : void 0), a.hasOwnProperty(u) && s !== c && (null != s || null != c))) - if ('style' === u) - if (c) { - for (l in c) !c.hasOwnProperty(l) || (s && s.hasOwnProperty(l)) || (n || (n = {}), (n[l] = '')); - for (l in s) s.hasOwnProperty(l) && c[l] !== s[l] && (n || (n = {}), (n[l] = s[l])); - } else n || (i || (i = []), i.push(u, n)), (n = s); - else - 'dangerouslySetInnerHTML' === u - ? ((s = s ? s.__html : void 0), - (c = c ? c.__html : void 0), - null != s && c !== s && (i = i || []).push(u, s)) - : 'children' === u - ? ('string' != typeof s && 'number' != typeof s) || (i = i || []).push(u, '' + s) - : 'suppressContentEditableWarning' !== u && - 'suppressHydrationWarning' !== u && - (o.hasOwnProperty(u) - ? (null != s && 'onScroll' === u && Ma('scroll', e), i || c === s || (i = [])) - : (i = i || []).push(u, s)); - } - n && (i = i || []).push('style', n); - var u = i; - (t.updateQueue = u) && (t.flags |= 4); - } - }), - (Do = function (e, t, n, a) { - n !== a && (t.flags |= 4); - }); - var Xo = !1, - Yo = !1, - Qo = 'function' == typeof WeakSet ? WeakSet : Set, - Zo = null; - function Jo(e, t) { - var n = e.ref; - if (null !== n) - if ('function' == typeof n) - try { - n(null); - } catch (n) { - ks(e, t, n); - } - else n.current = null; - } - function ec(e, t, n) { - try { - n(); - } catch (n) { - ks(e, t, n); - } - } - var tc = !1; - function nc(e, t, n) { - var a = t.updateQueue; - if (null !== (a = null !== a ? a.lastEffect : null)) { - var r = (a = a.next); - do { - if ((r.tag & e) === e) { - var l = r.destroy; - (r.destroy = void 0), void 0 !== l && ec(t, n, l); - } - r = r.next; - } while (r !== a); - } - } - function ac(e, t) { - if (null !== (t = null !== (t = t.updateQueue) ? t.lastEffect : null)) { - var n = (t = t.next); - do { - if ((n.tag & e) === e) { - var a = n.create; - n.destroy = a(); - } - n = n.next; - } while (n !== t); - } - } - function rc(e) { - var t = e.ref; - if (null !== t) { - var n = e.stateNode; - e.tag, (e = n), 'function' == typeof t ? t(e) : (t.current = e); - } - } - function lc(e) { - var t = e.alternate; - null !== t && ((e.alternate = null), lc(t)), - (e.child = null), - (e.deletions = null), - (e.sibling = null), - 5 === e.tag && - null !== (t = e.stateNode) && - (delete t[dr], delete t[pr], delete t[hr], delete t[gr], delete t[vr]), - (e.stateNode = null), - (e.return = null), - (e.dependencies = null), - (e.memoizedProps = null), - (e.memoizedState = null), - (e.pendingProps = null), - (e.stateNode = null), - (e.updateQueue = null); - } - function ic(e) { - return 5 === e.tag || 3 === e.tag || 4 === e.tag; - } - function oc(e) { - e: for (;;) { - for (; null === e.sibling; ) { - if (null === e.return || ic(e.return)) return null; - e = e.return; - } - for (e.sibling.return = e.return, e = e.sibling; 5 !== e.tag && 6 !== e.tag && 18 !== e.tag; ) { - if (2 & e.flags) continue e; - if (null === e.child || 4 === e.tag) continue e; - (e.child.return = e), (e = e.child); - } - if (!(2 & e.flags)) return e.stateNode; - } - } - function cc(e, t, n) { - var a = e.tag; - if (5 === a || 6 === a) - (e = e.stateNode), - t - ? 8 === n.nodeType - ? n.parentNode.insertBefore(e, t) - : n.insertBefore(e, t) - : (8 === n.nodeType ? (t = n.parentNode).insertBefore(e, n) : (t = n).appendChild(e), - null != (n = n._reactRootContainer) || null !== t.onclick || (t.onclick = Ja)); - else if (4 !== a && null !== (e = e.child)) - for (cc(e, t, n), e = e.sibling; null !== e; ) cc(e, t, n), (e = e.sibling); - } - function sc(e, t, n) { - var a = e.tag; - if (5 === a || 6 === a) (e = e.stateNode), t ? n.insertBefore(e, t) : n.appendChild(e); - else if (4 !== a && null !== (e = e.child)) - for (sc(e, t, n), e = e.sibling; null !== e; ) sc(e, t, n), (e = e.sibling); - } - var uc = null, - mc = !1; - function dc(e, t, n) { - for (n = n.child; null !== n; ) pc(e, t, n), (n = n.sibling); - } - function pc(e, t, n) { - if (lt && 'function' == typeof lt.onCommitFiberUnmount) - try { - lt.onCommitFiberUnmount(rt, n); - } catch (e) {} - switch (n.tag) { - case 5: - Yo || Jo(n, t); - case 6: - var a = uc, - r = mc; - (uc = null), - dc(e, t, n), - (mc = r), - null !== (uc = a) && - (mc - ? ((e = uc), (n = n.stateNode), 8 === e.nodeType ? e.parentNode.removeChild(n) : e.removeChild(n)) - : uc.removeChild(n.stateNode)); - break; - case 18: - null !== uc && - (mc - ? ((e = uc), - (n = n.stateNode), - 8 === e.nodeType ? cr(e.parentNode, n) : 1 === e.nodeType && cr(e, n), - Vt(e)) - : cr(uc, n.stateNode)); - break; - case 4: - (a = uc), (r = mc), (uc = n.stateNode.containerInfo), (mc = !0), dc(e, t, n), (uc = a), (mc = r); - break; - case 0: - case 11: - case 14: - case 15: - if (!Yo && null !== (a = n.updateQueue) && null !== (a = a.lastEffect)) { - r = a = a.next; - do { - var l = r, - i = l.destroy; - (l = l.tag), void 0 !== i && (2 & l || 4 & l) && ec(n, t, i), (r = r.next); - } while (r !== a); - } - dc(e, t, n); - break; - case 1: - if (!Yo && (Jo(n, t), 'function' == typeof (a = n.stateNode).componentWillUnmount)) - try { - (a.props = n.memoizedProps), (a.state = n.memoizedState), a.componentWillUnmount(); - } catch (e) { - ks(n, t, e); - } - dc(e, t, n); - break; - case 21: - dc(e, t, n); - break; - case 22: - 1 & n.mode ? ((Yo = (a = Yo) || null !== n.memoizedState), dc(e, t, n), (Yo = a)) : dc(e, t, n); - break; - default: - dc(e, t, n); - } - } - function fc(e) { - var t = e.updateQueue; - if (null !== t) { - e.updateQueue = null; - var n = e.stateNode; - null === n && (n = e.stateNode = new Qo()), - t.forEach(function (t) { - var a = Cs.bind(null, e, t); - n.has(t) || (n.add(t), t.then(a, a)); - }); - } - } - function hc(e, t) { - var n = t.deletions; - if (null !== n) - for (var a = 0; a < n.length; a++) { - var r = n[a]; - try { - var i = e, - o = t, - c = o; - e: for (; null !== c; ) { - switch (c.tag) { - case 5: - (uc = c.stateNode), (mc = !1); - break e; - case 3: - case 4: - (uc = c.stateNode.containerInfo), (mc = !0); - break e; - } - c = c.return; - } - if (null === uc) throw Error(l(160)); - pc(i, o, r), (uc = null), (mc = !1); - var s = r.alternate; - null !== s && (s.return = null), (r.return = null); - } catch (e) { - ks(r, t, e); - } - } - if (12854 & t.subtreeFlags) for (t = t.child; null !== t; ) gc(t, e), (t = t.sibling); - } - function gc(e, t) { - var n = e.alternate, - a = e.flags; - switch (e.tag) { - case 0: - case 11: - case 14: - case 15: - if ((hc(t, e), vc(e), 4 & a)) { - try { - nc(3, e, e.return), ac(3, e); - } catch (t) { - ks(e, e.return, t); - } - try { - nc(5, e, e.return); - } catch (t) { - ks(e, e.return, t); - } - } - break; - case 1: - hc(t, e), vc(e), 512 & a && null !== n && Jo(n, n.return); - break; - case 5: - if ((hc(t, e), vc(e), 512 & a && null !== n && Jo(n, n.return), 32 & e.flags)) { - var r = e.stateNode; - try { - de(r, ''); - } catch (t) { - ks(e, e.return, t); - } - } - if (4 & a && null != (r = e.stateNode)) { - var i = e.memoizedProps, - o = null !== n ? n.memoizedProps : i, - c = e.type, - s = e.updateQueue; - if (((e.updateQueue = null), null !== s)) - try { - 'input' === c && 'radio' === i.type && null != i.name && Q(r, i), Ee(c, o); - var u = Ee(c, i); - for (o = 0; o < s.length; o += 2) { - var m = s[o], - d = s[o + 1]; - 'style' === m - ? ge(r, d) - : 'dangerouslySetInnerHTML' === m - ? me(r, d) - : 'children' === m - ? de(r, d) - : E(r, m, d, u); - } - switch (c) { - case 'input': - Z(r, i); - break; - case 'textarea': - le(r, i); - break; - case 'select': - var p = r._wrapperState.wasMultiple; - r._wrapperState.wasMultiple = !!i.multiple; - var f = i.value; - null != f - ? ne(r, !!i.multiple, f, !1) - : p !== !!i.multiple && - (null != i.defaultValue - ? ne(r, !!i.multiple, i.defaultValue, !0) - : ne(r, !!i.multiple, i.multiple ? [] : '', !1)); - } - r[pr] = i; - } catch (t) { - ks(e, e.return, t); - } - } - break; - case 6: - if ((hc(t, e), vc(e), 4 & a)) { - if (null === e.stateNode) throw Error(l(162)); - (r = e.stateNode), (i = e.memoizedProps); - try { - r.nodeValue = i; - } catch (t) { - ks(e, e.return, t); - } - } - break; - case 3: - if ((hc(t, e), vc(e), 4 & a && null !== n && n.memoizedState.isDehydrated)) - try { - Vt(t.containerInfo); - } catch (t) { - ks(e, e.return, t); - } - break; - case 4: - default: - hc(t, e), vc(e); - break; - case 13: - hc(t, e), - vc(e), - 8192 & (r = e.child).flags && - ((i = null !== r.memoizedState), - (r.stateNode.isHidden = i), - !i || (null !== r.alternate && null !== r.alternate.memoizedState) || (qc = Qe())), - 4 & a && fc(e); - break; - case 22: - if ( - ((m = null !== n && null !== n.memoizedState), - 1 & e.mode ? ((Yo = (u = Yo) || m), hc(t, e), (Yo = u)) : hc(t, e), - vc(e), - 8192 & a) - ) { - if (((u = null !== e.memoizedState), (e.stateNode.isHidden = u) && !m && 1 & e.mode)) - for (Zo = e, m = e.child; null !== m; ) { - for (d = Zo = m; null !== Zo; ) { - switch (((f = (p = Zo).child), p.tag)) { - case 0: - case 11: - case 14: - case 15: - nc(4, p, p.return); - break; - case 1: - Jo(p, p.return); - var h = p.stateNode; - if ('function' == typeof h.componentWillUnmount) { - (a = p), (n = p.return); - try { - (t = a), - (h.props = t.memoizedProps), - (h.state = t.memoizedState), - h.componentWillUnmount(); - } catch (e) { - ks(a, n, e); - } - } - break; - case 5: - Jo(p, p.return); - break; - case 22: - if (null !== p.memoizedState) { - xc(d); - continue; - } - } - null !== f ? ((f.return = p), (Zo = f)) : xc(d); - } - m = m.sibling; - } - e: for (m = null, d = e; ; ) { - if (5 === d.tag) { - if (null === m) { - m = d; - try { - (r = d.stateNode), - u - ? 'function' == typeof (i = r.style).setProperty - ? i.setProperty('display', 'none', 'important') - : (i.display = 'none') - : ((c = d.stateNode), - (o = - null != (s = d.memoizedProps.style) && s.hasOwnProperty('display') ? s.display : null), - (c.style.display = he('display', o))); - } catch (t) { - ks(e, e.return, t); - } - } - } else if (6 === d.tag) { - if (null === m) - try { - d.stateNode.nodeValue = u ? '' : d.memoizedProps; - } catch (t) { - ks(e, e.return, t); - } - } else if ( - ((22 !== d.tag && 23 !== d.tag) || null === d.memoizedState || d === e) && - null !== d.child - ) { - (d.child.return = d), (d = d.child); - continue; - } - if (d === e) break e; - for (; null === d.sibling; ) { - if (null === d.return || d.return === e) break e; - m === d && (m = null), (d = d.return); - } - m === d && (m = null), (d.sibling.return = d.return), (d = d.sibling); - } - } - break; - case 19: - hc(t, e), vc(e), 4 & a && fc(e); - case 21: - } - } - function vc(e) { - var t = e.flags; - if (2 & t) { - try { - e: { - for (var n = e.return; null !== n; ) { - if (ic(n)) { - var a = n; - break e; - } - n = n.return; - } - throw Error(l(160)); - } - switch (a.tag) { - case 5: - var r = a.stateNode; - 32 & a.flags && (de(r, ''), (a.flags &= -33)), sc(e, oc(e), r); - break; - case 3: - case 4: - var i = a.stateNode.containerInfo; - cc(e, oc(e), i); - break; - default: - throw Error(l(161)); - } - } catch (t) { - ks(e, e.return, t); - } - e.flags &= -3; - } - 4096 & t && (e.flags &= -4097); - } - function bc(e, t, n) { - (Zo = e), Ec(e, t, n); - } - function Ec(e, t, n) { - for (var a = !!(1 & e.mode); null !== Zo; ) { - var r = Zo, - l = r.child; - if (22 === r.tag && a) { - var i = null !== r.memoizedState || Xo; - if (!i) { - var o = r.alternate, - c = (null !== o && null !== o.memoizedState) || Yo; - o = Xo; - var s = Yo; - if (((Xo = i), (Yo = c) && !s)) - for (Zo = r; null !== Zo; ) - (c = (i = Zo).child), - 22 === i.tag && null !== i.memoizedState - ? _c(r) - : null !== c - ? ((c.return = i), (Zo = c)) - : _c(r); - for (; null !== l; ) (Zo = l), Ec(l, t, n), (l = l.sibling); - (Zo = r), (Xo = o), (Yo = s); - } - yc(e); - } else 8772 & r.subtreeFlags && null !== l ? ((l.return = r), (Zo = l)) : yc(e); - } - } - function yc(e) { - for (; null !== Zo; ) { - var t = Zo; - if (8772 & t.flags) { - var n = t.alternate; - try { - if (8772 & t.flags) - switch (t.tag) { - case 0: - case 11: - case 15: - Yo || ac(5, t); - break; - case 1: - var a = t.stateNode; - if (4 & t.flags && !Yo) - if (null === n) a.componentDidMount(); - else { - var r = t.elementType === t.type ? n.memoizedProps : to(t.type, n.memoizedProps); - a.componentDidUpdate(r, n.memoizedState, a.__reactInternalSnapshotBeforeUpdate); - } - var i = t.updateQueue; - null !== i && Ul(t, i, a); - break; - case 3: - var o = t.updateQueue; - if (null !== o) { - if (((n = null), null !== t.child)) - switch (t.child.tag) { - case 5: - case 1: - n = t.child.stateNode; - } - Ul(t, o, n); - } - break; - case 5: - var c = t.stateNode; - if (null === n && 4 & t.flags) { - n = c; - var s = t.memoizedProps; - switch (t.type) { - case 'button': - case 'input': - case 'select': - case 'textarea': - s.autoFocus && n.focus(); - break; - case 'img': - s.src && (n.src = s.src); - } - } - break; - case 6: - case 4: - case 12: - case 19: - case 17: - case 21: - case 22: - case 23: - case 25: - break; - case 13: - if (null === t.memoizedState) { - var u = t.alternate; - if (null !== u) { - var m = u.memoizedState; - if (null !== m) { - var d = m.dehydrated; - null !== d && Vt(d); - } - } - } - break; - default: - throw Error(l(163)); - } - Yo || (512 & t.flags && rc(t)); - } catch (e) { - ks(t, t.return, e); - } - } - if (t === e) { - Zo = null; - break; - } - if (null !== (n = t.sibling)) { - (n.return = t.return), (Zo = n); - break; - } - Zo = t.return; - } - } - function xc(e) { - for (; null !== Zo; ) { - var t = Zo; - if (t === e) { - Zo = null; - break; - } - var n = t.sibling; - if (null !== n) { - (n.return = t.return), (Zo = n); - break; - } - Zo = t.return; - } - } - function _c(e) { - for (; null !== Zo; ) { - var t = Zo; - try { - switch (t.tag) { - case 0: - case 11: - case 15: - var n = t.return; - try { - ac(4, t); - } catch (e) { - ks(t, n, e); - } - break; - case 1: - var a = t.stateNode; - if ('function' == typeof a.componentDidMount) { - var r = t.return; - try { - a.componentDidMount(); - } catch (e) { - ks(t, r, e); - } - } - var l = t.return; - try { - rc(t); - } catch (e) { - ks(t, l, e); - } - break; - case 5: - var i = t.return; - try { - rc(t); - } catch (e) { - ks(t, i, e); - } - } - } catch (e) { - ks(t, t.return, e); - } - if (t === e) { - Zo = null; - break; - } - var o = t.sibling; - if (null !== o) { - (o.return = t.return), (Zo = o); - break; - } - Zo = t.return; - } - } - var wc, - kc = Math.ceil, - Sc = y.ReactCurrentDispatcher, - Nc = y.ReactCurrentOwner, - Tc = y.ReactCurrentBatchConfig, - Cc = 0, - Fc = null, - Rc = null, - Ic = 0, - Ac = 0, - Oc = kr(0), - Dc = 0, - Lc = null, - Pc = 0, - jc = 0, - zc = 0, - Mc = null, - Bc = null, - qc = 0, - Vc = 1 / 0, - Uc = null, - Hc = !1, - Kc = null, - Gc = null, - Wc = !1, - $c = null, - Xc = 0, - Yc = 0, - Qc = null, - Zc = -1, - Jc = 0; - function es() { - return 6 & Cc ? Qe() : -1 !== Zc ? Zc : (Zc = Qe()); - } - function ts(e) { - return 1 & e.mode - ? 2 & Cc && 0 !== Ic - ? Ic & -Ic - : null !== hl.transition - ? (0 === Jc && (Jc = ht()), Jc) - : 0 !== (e = Et) - ? e - : (e = void 0 === (e = window.event) ? 16 : Yt(e.type)) - : 1; - } - function ns(e, t, n, a) { - if (50 < Yc) throw ((Yc = 0), (Qc = null), Error(l(185))); - vt(e, n, a), - (2 & Cc && e === Fc) || - (e === Fc && (!(2 & Cc) && (jc |= n), 4 === Dc && os(e, Ic)), - as(e, a), - 1 === n && 0 === Cc && !(1 & t.mode) && ((Vc = Qe() + 500), Mr && Vr())); - } - function as(e, t) { - var n = e.callbackNode; - !(function (e, t) { - for (var n = e.suspendedLanes, a = e.pingedLanes, r = e.expirationTimes, l = e.pendingLanes; 0 < l; ) { - var i = 31 - it(l), - o = 1 << i, - c = r[i]; - -1 === c ? (o & n && !(o & a)) || (r[i] = pt(o, t)) : c <= t && (e.expiredLanes |= o), (l &= ~o); - } - })(e, t); - var a = dt(e, e === Fc ? Ic : 0); - if (0 === a) null !== n && $e(n), (e.callbackNode = null), (e.callbackPriority = 0); - else if (((t = a & -a), e.callbackPriority !== t)) { - if ((null != n && $e(n), 1 === t)) - 0 === e.tag - ? (function (e) { - (Mr = !0), qr(e); - })(cs.bind(null, e)) - : qr(cs.bind(null, e)), - ir(function () { - !(6 & Cc) && Vr(); - }), - (n = null); - else { - switch (yt(a)) { - case 1: - n = Je; - break; - case 4: - n = et; - break; - case 16: - default: - n = tt; - break; - case 536870912: - n = at; - } - n = Fs(n, rs.bind(null, e)); - } - (e.callbackPriority = t), (e.callbackNode = n); - } - } - function rs(e, t) { - if (((Zc = -1), (Jc = 0), 6 & Cc)) throw Error(l(327)); - var n = e.callbackNode; - if (_s() && e.callbackNode !== n) return null; - var a = dt(e, e === Fc ? Ic : 0); - if (0 === a) return null; - if (30 & a || a & e.expiredLanes || t) t = gs(e, a); - else { - t = a; - var r = Cc; - Cc |= 2; - var i = fs(); - for ((Fc === e && Ic === t) || ((Uc = null), (Vc = Qe() + 500), ds(e, t)); ; ) - try { - bs(); - break; - } catch (t) { - ps(e, t); - } - Nl(), (Sc.current = i), (Cc = r), null !== Rc ? (t = 0) : ((Fc = null), (Ic = 0), (t = Dc)); - } - if (0 !== t) { - if ((2 === t && 0 !== (r = ft(e)) && ((a = r), (t = ls(e, r))), 1 === t)) - throw ((n = Lc), ds(e, 0), os(e, a), as(e, Qe()), n); - if (6 === t) os(e, a); - else { - if ( - ((r = e.current.alternate), - !( - 30 & a || - (function (e) { - for (var t = e; ; ) { - if (16384 & t.flags) { - var n = t.updateQueue; - if (null !== n && null !== (n = n.stores)) - for (var a = 0; a < n.length; a++) { - var r = n[a], - l = r.getSnapshot; - r = r.value; - try { - if (!oa(l(), r)) return !1; - } catch (e) { - return !1; - } - } - } - if (((n = t.child), 16384 & t.subtreeFlags && null !== n)) (n.return = t), (t = n); - else { - if (t === e) break; - for (; null === t.sibling; ) { - if (null === t.return || t.return === e) return !0; - t = t.return; - } - (t.sibling.return = t.return), (t = t.sibling); - } - } - return !0; - })(r) || - ((t = gs(e, a)), 2 === t && ((i = ft(e)), 0 !== i && ((a = i), (t = ls(e, i)))), 1 !== t) - )) - ) - throw ((n = Lc), ds(e, 0), os(e, a), as(e, Qe()), n); - switch (((e.finishedWork = r), (e.finishedLanes = a), t)) { - case 0: - case 1: - throw Error(l(345)); - case 2: - case 5: - xs(e, Bc, Uc); - break; - case 3: - if ((os(e, a), (130023424 & a) === a && 10 < (t = qc + 500 - Qe()))) { - if (0 !== dt(e, 0)) break; - if (((r = e.suspendedLanes) & a) !== a) { - es(), (e.pingedLanes |= e.suspendedLanes & r); - break; - } - e.timeoutHandle = ar(xs.bind(null, e, Bc, Uc), t); - break; - } - xs(e, Bc, Uc); - break; - case 4: - if ((os(e, a), (4194240 & a) === a)) break; - for (t = e.eventTimes, r = -1; 0 < a; ) { - var o = 31 - it(a); - (i = 1 << o), (o = t[o]) > r && (r = o), (a &= ~i); - } - if ( - ((a = r), - 10 < - (a = - (120 > (a = Qe() - a) - ? 120 - : 480 > a - ? 480 - : 1080 > a - ? 1080 - : 1920 > a - ? 1920 - : 3e3 > a - ? 3e3 - : 4320 > a - ? 4320 - : 1960 * kc(a / 1960)) - a)) - ) { - e.timeoutHandle = ar(xs.bind(null, e, Bc, Uc), a); - break; - } - xs(e, Bc, Uc); - break; - default: - throw Error(l(329)); - } - } - } - return as(e, Qe()), e.callbackNode === n ? rs.bind(null, e) : null; - } - function ls(e, t) { - var n = Mc; - return ( - e.current.memoizedState.isDehydrated && (ds(e, t).flags |= 256), - 2 !== (e = gs(e, t)) && ((t = Bc), (Bc = n), null !== t && is(t)), - e - ); - } - function is(e) { - null === Bc ? (Bc = e) : Bc.push.apply(Bc, e); - } - function os(e, t) { - for (t &= ~zc, t &= ~jc, e.suspendedLanes |= t, e.pingedLanes &= ~t, e = e.expirationTimes; 0 < t; ) { - var n = 31 - it(t), - a = 1 << n; - (e[n] = -1), (t &= ~a); - } - } - function cs(e) { - if (6 & Cc) throw Error(l(327)); - _s(); - var t = dt(e, 0); - if (!(1 & t)) return as(e, Qe()), null; - var n = gs(e, t); - if (0 !== e.tag && 2 === n) { - var a = ft(e); - 0 !== a && ((t = a), (n = ls(e, a))); - } - if (1 === n) throw ((n = Lc), ds(e, 0), os(e, t), as(e, Qe()), n); - if (6 === n) throw Error(l(345)); - return (e.finishedWork = e.current.alternate), (e.finishedLanes = t), xs(e, Bc, Uc), as(e, Qe()), null; - } - function ss(e, t) { - var n = Cc; - Cc |= 1; - try { - return e(t); - } finally { - 0 === (Cc = n) && ((Vc = Qe() + 500), Mr && Vr()); - } - } - function us(e) { - null !== $c && 0 === $c.tag && !(6 & Cc) && _s(); - var t = Cc; - Cc |= 1; - var n = Tc.transition, - a = Et; - try { - if (((Tc.transition = null), (Et = 1), e)) return e(); - } finally { - (Et = a), (Tc.transition = n), !(6 & (Cc = t)) && Vr(); - } - } - function ms() { - (Ac = Oc.current), Sr(Oc); - } - function ds(e, t) { - (e.finishedWork = null), (e.finishedLanes = 0); - var n = e.timeoutHandle; - if ((-1 !== n && ((e.timeoutHandle = -1), rr(n)), null !== Rc)) - for (n = Rc.return; null !== n; ) { - var a = n; - switch ((tl(a), a.tag)) { - case 1: - null != (a = a.type.childContextTypes) && Or(); - break; - case 3: - Yl(), Sr(Fr), Sr(Cr), ni(); - break; - case 5: - Zl(a); - break; - case 4: - Yl(); - break; - case 13: - case 19: - Sr(Jl); - break; - case 10: - Tl(a.type._context); - break; - case 22: - case 23: - ms(); - } - n = n.return; - } - if ( - ((Fc = e), - (Rc = e = Os(e.current, null)), - (Ic = Ac = t), - (Dc = 0), - (Lc = null), - (zc = jc = Pc = 0), - (Bc = Mc = null), - null !== Il) - ) { - for (t = 0; t < Il.length; t++) - if (null !== (a = (n = Il[t]).interleaved)) { - n.interleaved = null; - var r = a.next, - l = n.pending; - if (null !== l) { - var i = l.next; - (l.next = r), (a.next = i); - } - n.pending = a; - } - Il = null; - } - return e; - } - function ps(e, t) { - for (;;) { - var n = Rc; - try { - if ((Nl(), (ai.current = Qi), si)) { - for (var a = ii.memoizedState; null !== a; ) { - var r = a.queue; - null !== r && (r.pending = null), (a = a.next); - } - si = !1; - } - if ( - ((li = 0), - (ci = oi = ii = null), - (ui = !1), - (mi = 0), - (Nc.current = null), - null === n || null === n.return) - ) { - (Dc = 1), (Lc = t), (Rc = null); - break; - } - e: { - var i = e, - o = n.return, - c = n, - s = t; - if (((t = Ic), (c.flags |= 32768), null !== s && 'object' == typeof s && 'function' == typeof s.then)) { - var u = s, - m = c, - d = m.tag; - if (!(1 & m.mode || (0 !== d && 11 !== d && 15 !== d))) { - var p = m.alternate; - p - ? ((m.updateQueue = p.updateQueue), (m.memoizedState = p.memoizedState), (m.lanes = p.lanes)) - : ((m.updateQueue = null), (m.memoizedState = null)); - } - var f = go(o); - if (null !== f) { - (f.flags &= -257), vo(f, o, c, 0, t), 1 & f.mode && ho(i, u, t), (s = u); - var h = (t = f).updateQueue; - if (null === h) { - var g = new Set(); - g.add(s), (t.updateQueue = g); - } else h.add(s); - break e; - } - if (!(1 & t)) { - ho(i, u, t), hs(); - break e; - } - s = Error(l(426)); - } else if (rl && 1 & c.mode) { - var v = go(o); - if (null !== v) { - !(65536 & v.flags) && (v.flags |= 256), vo(v, o, c, 0, t), fl(co(s, c)); - break e; - } - } - (i = s = co(s, c)), 4 !== Dc && (Dc = 2), null === Mc ? (Mc = [i]) : Mc.push(i), (i = o); - do { - switch (i.tag) { - case 3: - (i.flags |= 65536), (t &= -t), (i.lanes |= t), ql(i, po(0, s, t)); - break e; - case 1: - c = s; - var b = i.type, - E = i.stateNode; - if ( - !( - 128 & i.flags || - ('function' != typeof b.getDerivedStateFromError && - (null === E || 'function' != typeof E.componentDidCatch || (null !== Gc && Gc.has(E)))) - ) - ) { - (i.flags |= 65536), (t &= -t), (i.lanes |= t), ql(i, fo(i, c, t)); - break e; - } - } - i = i.return; - } while (null !== i); - } - ys(n); - } catch (e) { - (t = e), Rc === n && null !== n && (Rc = n = n.return); - continue; - } - break; - } - } - function fs() { - var e = Sc.current; - return (Sc.current = Qi), null === e ? Qi : e; - } - function hs() { - (0 !== Dc && 3 !== Dc && 2 !== Dc) || (Dc = 4), - null === Fc || (!(268435455 & Pc) && !(268435455 & jc)) || os(Fc, Ic); - } - function gs(e, t) { - var n = Cc; - Cc |= 2; - var a = fs(); - for ((Fc === e && Ic === t) || ((Uc = null), ds(e, t)); ; ) - try { - vs(); - break; - } catch (t) { - ps(e, t); - } - if ((Nl(), (Cc = n), (Sc.current = a), null !== Rc)) throw Error(l(261)); - return (Fc = null), (Ic = 0), Dc; - } - function vs() { - for (; null !== Rc; ) Es(Rc); - } - function bs() { - for (; null !== Rc && !Xe(); ) Es(Rc); - } - function Es(e) { - var t = wc(e.alternate, e, Ac); - (e.memoizedProps = e.pendingProps), null === t ? ys(e) : (Rc = t), (Nc.current = null); - } - function ys(e) { - var t = e; - do { - var n = t.alternate; - if (((e = t.return), 32768 & t.flags)) { - if (null !== (n = $o(n, t))) return (n.flags &= 32767), void (Rc = n); - if (null === e) return (Dc = 6), void (Rc = null); - (e.flags |= 32768), (e.subtreeFlags = 0), (e.deletions = null); - } else if (null !== (n = Wo(n, t, Ac))) return void (Rc = n); - if (null !== (t = t.sibling)) return void (Rc = t); - Rc = t = e; - } while (null !== t); - 0 === Dc && (Dc = 5); - } - function xs(e, t, n) { - var a = Et, - r = Tc.transition; - try { - (Tc.transition = null), - (Et = 1), - (function (e, t, n, a) { - do { - _s(); - } while (null !== $c); - if (6 & Cc) throw Error(l(327)); - n = e.finishedWork; - var r = e.finishedLanes; - if (null === n) return null; - if (((e.finishedWork = null), (e.finishedLanes = 0), n === e.current)) throw Error(l(177)); - (e.callbackNode = null), (e.callbackPriority = 0); - var i = n.lanes | n.childLanes; - if ( - ((function (e, t) { - var n = e.pendingLanes & ~t; - (e.pendingLanes = t), - (e.suspendedLanes = 0), - (e.pingedLanes = 0), - (e.expiredLanes &= t), - (e.mutableReadLanes &= t), - (e.entangledLanes &= t), - (t = e.entanglements); - var a = e.eventTimes; - for (e = e.expirationTimes; 0 < n; ) { - var r = 31 - it(n), - l = 1 << r; - (t[r] = 0), (a[r] = -1), (e[r] = -1), (n &= ~l); - } - })(e, i), - e === Fc && ((Rc = Fc = null), (Ic = 0)), - (!(2064 & n.subtreeFlags) && !(2064 & n.flags)) || - Wc || - ((Wc = !0), - Fs(tt, function () { - return _s(), null; - })), - (i = !!(15990 & n.flags)), - 15990 & n.subtreeFlags || i) - ) { - (i = Tc.transition), (Tc.transition = null); - var o = Et; - Et = 1; - var c = Cc; - (Cc |= 4), - (Nc.current = null), - (function (e, t) { - if (((er = Ht), pa((e = da())))) { - if ('selectionStart' in e) var n = { start: e.selectionStart, end: e.selectionEnd }; - else - e: { - var a = - (n = ((n = e.ownerDocument) && n.defaultView) || window).getSelection && n.getSelection(); - if (a && 0 !== a.rangeCount) { - n = a.anchorNode; - var r = a.anchorOffset, - i = a.focusNode; - a = a.focusOffset; - try { - n.nodeType, i.nodeType; - } catch (e) { - n = null; - break e; - } - var o = 0, - c = -1, - s = -1, - u = 0, - m = 0, - d = e, - p = null; - t: for (;;) { - for ( - var f; - d !== n || (0 !== r && 3 !== d.nodeType) || (c = o + r), - d !== i || (0 !== a && 3 !== d.nodeType) || (s = o + a), - 3 === d.nodeType && (o += d.nodeValue.length), - null !== (f = d.firstChild); - - ) - (p = d), (d = f); - for (;;) { - if (d === e) break t; - if ( - (p === n && ++u === r && (c = o), - p === i && ++m === a && (s = o), - null !== (f = d.nextSibling)) - ) - break; - p = (d = p).parentNode; - } - d = f; - } - n = -1 === c || -1 === s ? null : { start: c, end: s }; - } else n = null; - } - n = n || { start: 0, end: 0 }; - } else n = null; - for (tr = { focusedElem: e, selectionRange: n }, Ht = !1, Zo = t; null !== Zo; ) - if (((e = (t = Zo).child), 1028 & t.subtreeFlags && null !== e)) (e.return = t), (Zo = e); - else - for (; null !== Zo; ) { - t = Zo; - try { - var h = t.alternate; - if (1024 & t.flags) - switch (t.tag) { - case 0: - case 11: - case 15: - case 5: - case 6: - case 4: - case 17: - break; - case 1: - if (null !== h) { - var g = h.memoizedProps, - v = h.memoizedState, - b = t.stateNode, - E = b.getSnapshotBeforeUpdate(t.elementType === t.type ? g : to(t.type, g), v); - b.__reactInternalSnapshotBeforeUpdate = E; - } - break; - case 3: - var y = t.stateNode.containerInfo; - 1 === y.nodeType - ? (y.textContent = '') - : 9 === y.nodeType && y.documentElement && y.removeChild(y.documentElement); - break; - default: - throw Error(l(163)); - } - } catch (e) { - ks(t, t.return, e); - } - if (null !== (e = t.sibling)) { - (e.return = t.return), (Zo = e); - break; - } - Zo = t.return; - } - (h = tc), (tc = !1); - })(e, n), - gc(n, e), - fa(tr), - (Ht = !!er), - (tr = er = null), - (e.current = n), - bc(n, e, r), - Ye(), - (Cc = c), - (Et = o), - (Tc.transition = i); - } else e.current = n; - if ( - (Wc && ((Wc = !1), ($c = e), (Xc = r)), - 0 === (i = e.pendingLanes) && (Gc = null), - (function (e) { - if (lt && 'function' == typeof lt.onCommitFiberRoot) - try { - lt.onCommitFiberRoot(rt, e, void 0, !(128 & ~e.current.flags)); - } catch (e) {} - })(n.stateNode), - as(e, Qe()), - null !== t) - ) - for (a = e.onRecoverableError, n = 0; n < t.length; n++) - a((r = t[n]).value, { componentStack: r.stack, digest: r.digest }); - if (Hc) throw ((Hc = !1), (e = Kc), (Kc = null), e); - !!(1 & Xc) && 0 !== e.tag && _s(), - 1 & (i = e.pendingLanes) ? (e === Qc ? Yc++ : ((Yc = 0), (Qc = e))) : (Yc = 0), - Vr(); - })(e, t, n, a); - } finally { - (Tc.transition = r), (Et = a); - } - return null; - } - function _s() { - if (null !== $c) { - var e = yt(Xc), - t = Tc.transition, - n = Et; - try { - if (((Tc.transition = null), (Et = 16 > e ? 16 : e), null === $c)) var a = !1; - else { - if (((e = $c), ($c = null), (Xc = 0), 6 & Cc)) throw Error(l(331)); - var r = Cc; - for (Cc |= 4, Zo = e.current; null !== Zo; ) { - var i = Zo, - o = i.child; - if (16 & Zo.flags) { - var c = i.deletions; - if (null !== c) { - for (var s = 0; s < c.length; s++) { - var u = c[s]; - for (Zo = u; null !== Zo; ) { - var m = Zo; - switch (m.tag) { - case 0: - case 11: - case 15: - nc(8, m, i); - } - var d = m.child; - if (null !== d) (d.return = m), (Zo = d); - else - for (; null !== Zo; ) { - var p = (m = Zo).sibling, - f = m.return; - if ((lc(m), m === u)) { - Zo = null; - break; - } - if (null !== p) { - (p.return = f), (Zo = p); - break; - } - Zo = f; - } - } - } - var h = i.alternate; - if (null !== h) { - var g = h.child; - if (null !== g) { - h.child = null; - do { - var v = g.sibling; - (g.sibling = null), (g = v); - } while (null !== g); - } - } - Zo = i; - } - } - if (2064 & i.subtreeFlags && null !== o) (o.return = i), (Zo = o); - else - e: for (; null !== Zo; ) { - if (2048 & (i = Zo).flags) - switch (i.tag) { - case 0: - case 11: - case 15: - nc(9, i, i.return); - } - var b = i.sibling; - if (null !== b) { - (b.return = i.return), (Zo = b); - break e; - } - Zo = i.return; - } - } - var E = e.current; - for (Zo = E; null !== Zo; ) { - var y = (o = Zo).child; - if (2064 & o.subtreeFlags && null !== y) (y.return = o), (Zo = y); - else - e: for (o = E; null !== Zo; ) { - if (2048 & (c = Zo).flags) - try { - switch (c.tag) { - case 0: - case 11: - case 15: - ac(9, c); - } - } catch (e) { - ks(c, c.return, e); - } - if (c === o) { - Zo = null; - break e; - } - var x = c.sibling; - if (null !== x) { - (x.return = c.return), (Zo = x); - break e; - } - Zo = c.return; - } - } - if (((Cc = r), Vr(), lt && 'function' == typeof lt.onPostCommitFiberRoot)) - try { - lt.onPostCommitFiberRoot(rt, e); - } catch (e) {} - a = !0; - } - return a; - } finally { - (Et = n), (Tc.transition = t); - } - } - return !1; - } - function ws(e, t, n) { - (e = Ml(e, (t = po(0, (t = co(n, t)), 1)), 1)), (t = es()), null !== e && (vt(e, 1, t), as(e, t)); - } - function ks(e, t, n) { - if (3 === e.tag) ws(e, e, n); - else - for (; null !== t; ) { - if (3 === t.tag) { - ws(t, e, n); - break; - } - if (1 === t.tag) { - var a = t.stateNode; - if ( - 'function' == typeof t.type.getDerivedStateFromError || - ('function' == typeof a.componentDidCatch && (null === Gc || !Gc.has(a))) - ) { - (t = Ml(t, (e = fo(t, (e = co(n, e)), 1)), 1)), (e = es()), null !== t && (vt(t, 1, e), as(t, e)); - break; - } - } - t = t.return; - } - } - function Ss(e, t, n) { - var a = e.pingCache; - null !== a && a.delete(t), - (t = es()), - (e.pingedLanes |= e.suspendedLanes & n), - Fc === e && - (Ic & n) === n && - (4 === Dc || (3 === Dc && (130023424 & Ic) === Ic && 500 > Qe() - qc) ? ds(e, 0) : (zc |= n)), - as(e, t); - } - function Ns(e, t) { - 0 === t && (1 & e.mode ? ((t = ut), !(130023424 & (ut <<= 1)) && (ut = 4194304)) : (t = 1)); - var n = es(); - null !== (e = Dl(e, t)) && (vt(e, t, n), as(e, n)); - } - function Ts(e) { - var t = e.memoizedState, - n = 0; - null !== t && (n = t.retryLane), Ns(e, n); - } - function Cs(e, t) { - var n = 0; - switch (e.tag) { - case 13: - var a = e.stateNode, - r = e.memoizedState; - null !== r && (n = r.retryLane); - break; - case 19: - a = e.stateNode; - break; - default: - throw Error(l(314)); - } - null !== a && a.delete(t), Ns(e, n); - } - function Fs(e, t) { - return We(e, t); - } - function Rs(e, t, n, a) { - (this.tag = e), - (this.key = n), - (this.sibling = this.child = this.return = this.stateNode = this.type = this.elementType = null), - (this.index = 0), - (this.ref = null), - (this.pendingProps = t), - (this.dependencies = this.memoizedState = this.updateQueue = this.memoizedProps = null), - (this.mode = a), - (this.subtreeFlags = this.flags = 0), - (this.deletions = null), - (this.childLanes = this.lanes = 0), - (this.alternate = null); - } - function Is(e, t, n, a) { - return new Rs(e, t, n, a); - } - function As(e) { - return !(!(e = e.prototype) || !e.isReactComponent); - } - function Os(e, t) { - var n = e.alternate; - return ( - null === n - ? (((n = Is(e.tag, t, e.key, e.mode)).elementType = e.elementType), - (n.type = e.type), - (n.stateNode = e.stateNode), - (n.alternate = e), - (e.alternate = n)) - : ((n.pendingProps = t), (n.type = e.type), (n.flags = 0), (n.subtreeFlags = 0), (n.deletions = null)), - (n.flags = 14680064 & e.flags), - (n.childLanes = e.childLanes), - (n.lanes = e.lanes), - (n.child = e.child), - (n.memoizedProps = e.memoizedProps), - (n.memoizedState = e.memoizedState), - (n.updateQueue = e.updateQueue), - (t = e.dependencies), - (n.dependencies = null === t ? null : { lanes: t.lanes, firstContext: t.firstContext }), - (n.sibling = e.sibling), - (n.index = e.index), - (n.ref = e.ref), - n - ); - } - function Ds(e, t, n, a, r, i) { - var o = 2; - if (((a = e), 'function' == typeof e)) As(e) && (o = 1); - else if ('string' == typeof e) o = 5; - else - e: switch (e) { - case w: - return Ls(n.children, r, i, t); - case k: - (o = 8), (r |= 8); - break; - case S: - return ((e = Is(12, n, t, 2 | r)).elementType = S), (e.lanes = i), e; - case F: - return ((e = Is(13, n, t, r)).elementType = F), (e.lanes = i), e; - case R: - return ((e = Is(19, n, t, r)).elementType = R), (e.lanes = i), e; - case O: - return Ps(n, r, i, t); - default: - if ('object' == typeof e && null !== e) - switch (e.$$typeof) { - case N: - o = 10; - break e; - case T: - o = 9; - break e; - case C: - o = 11; - break e; - case I: - o = 14; - break e; - case A: - (o = 16), (a = null); - break e; - } - throw Error(l(130, null == e ? e : typeof e, '')); - } - return ((t = Is(o, n, t, r)).elementType = e), (t.type = a), (t.lanes = i), t; - } - function Ls(e, t, n, a) { - return ((e = Is(7, e, a, t)).lanes = n), e; - } - function Ps(e, t, n, a) { - return ((e = Is(22, e, a, t)).elementType = O), (e.lanes = n), (e.stateNode = { isHidden: !1 }), e; - } - function js(e, t, n) { - return ((e = Is(6, e, null, t)).lanes = n), e; - } - function zs(e, t, n) { - return ( - ((t = Is(4, null !== e.children ? e.children : [], e.key, t)).lanes = n), - (t.stateNode = { containerInfo: e.containerInfo, pendingChildren: null, implementation: e.implementation }), - t - ); - } - function Ms(e, t, n, a, r) { - (this.tag = t), - (this.containerInfo = e), - (this.finishedWork = this.pingCache = this.current = this.pendingChildren = null), - (this.timeoutHandle = -1), - (this.callbackNode = this.pendingContext = this.context = null), - (this.callbackPriority = 0), - (this.eventTimes = gt(0)), - (this.expirationTimes = gt(-1)), - (this.entangledLanes = - this.finishedLanes = - this.mutableReadLanes = - this.expiredLanes = - this.pingedLanes = - this.suspendedLanes = - this.pendingLanes = - 0), - (this.entanglements = gt(0)), - (this.identifierPrefix = a), - (this.onRecoverableError = r), - (this.mutableSourceEagerHydrationData = null); - } - function Bs(e, t, n, a, r, l, i, o, c) { - return ( - (e = new Ms(e, t, n, o, c)), - 1 === t ? ((t = 1), !0 === l && (t |= 8)) : (t = 0), - (l = Is(3, null, null, t)), - (e.current = l), - (l.stateNode = e), - (l.memoizedState = { - element: a, - isDehydrated: n, - cache: null, - transitions: null, - pendingSuspenseBoundaries: null, - }), - Pl(l), - e - ); - } - function qs(e) { - if (!e) return Tr; - e: { - if (Ve((e = e._reactInternals)) !== e || 1 !== e.tag) throw Error(l(170)); - var t = e; - do { - switch (t.tag) { - case 3: - t = t.stateNode.context; - break e; - case 1: - if (Ar(t.type)) { - t = t.stateNode.__reactInternalMemoizedMergedChildContext; - break e; - } - } - t = t.return; - } while (null !== t); - throw Error(l(171)); - } - if (1 === e.tag) { - var n = e.type; - if (Ar(n)) return Lr(e, n, t); - } - return t; - } - function Vs(e, t, n, a, r, l, i, o, c) { - return ( - ((e = Bs(n, a, !0, e, 0, l, 0, o, c)).context = qs(null)), - (n = e.current), - ((l = zl((a = es()), (r = ts(n)))).callback = null != t ? t : null), - Ml(n, l, r), - (e.current.lanes = r), - vt(e, r, a), - as(e, a), - e - ); - } - function Us(e, t, n, a) { - var r = t.current, - l = es(), - i = ts(r); - return ( - (n = qs(n)), - null === t.context ? (t.context = n) : (t.pendingContext = n), - ((t = zl(l, i)).payload = { element: e }), - null !== (a = void 0 === a ? null : a) && (t.callback = a), - null !== (e = Ml(r, t, i)) && (ns(e, r, i, l), Bl(e, r, i)), - i - ); - } - function Hs(e) { - return (e = e.current).child ? (e.child.tag, e.child.stateNode) : null; - } - function Ks(e, t) { - if (null !== (e = e.memoizedState) && null !== e.dehydrated) { - var n = e.retryLane; - e.retryLane = 0 !== n && n < t ? n : t; - } - } - function Gs(e, t) { - Ks(e, t), (e = e.alternate) && Ks(e, t); - } - wc = function (e, t, n) { - if (null !== e) - if (e.memoizedProps !== t.pendingProps || Fr.current) Eo = !0; - else { - if (!(e.lanes & n || 128 & t.flags)) - return ( - (Eo = !1), - (function (e, t, n) { - switch (t.tag) { - case 3: - Fo(t), pl(); - break; - case 5: - Ql(t); - break; - case 1: - Ar(t.type) && Pr(t); - break; - case 4: - Xl(t, t.stateNode.containerInfo); - break; - case 10: - var a = t.type._context, - r = t.memoizedProps.value; - Nr(_l, a._currentValue), (a._currentValue = r); - break; - case 13: - if (null !== (a = t.memoizedState)) - return null !== a.dehydrated - ? (Nr(Jl, 1 & Jl.current), (t.flags |= 128), null) - : n & t.child.childLanes - ? jo(e, t, n) - : (Nr(Jl, 1 & Jl.current), null !== (e = Ho(e, t, n)) ? e.sibling : null); - Nr(Jl, 1 & Jl.current); - break; - case 19: - if (((a = !!(n & t.childLanes)), 128 & e.flags)) { - if (a) return Vo(e, t, n); - t.flags |= 128; - } - if ( - (null !== (r = t.memoizedState) && - ((r.rendering = null), (r.tail = null), (r.lastEffect = null)), - Nr(Jl, Jl.current), - a) - ) - break; - return null; - case 22: - case 23: - return (t.lanes = 0), ko(e, t, n); - } - return Ho(e, t, n); - })(e, t, n) - ); - Eo = !!(131072 & e.flags); - } - else (Eo = !1), rl && 1048576 & t.flags && Jr(t, Gr, t.index); - switch (((t.lanes = 0), t.tag)) { - case 2: - var a = t.type; - Uo(e, t), (e = t.pendingProps); - var r = Ir(t, Cr.current); - Fl(t, n), (r = hi(null, t, a, e, r, n)); - var i = gi(); - return ( - (t.flags |= 1), - 'object' == typeof r && null !== r && 'function' == typeof r.render && void 0 === r.$$typeof - ? ((t.tag = 1), - (t.memoizedState = null), - (t.updateQueue = null), - Ar(a) ? ((i = !0), Pr(t)) : (i = !1), - (t.memoizedState = null !== r.state && void 0 !== r.state ? r.state : null), - Pl(t), - (r.updater = ao), - (t.stateNode = r), - (r._reactInternals = t), - oo(t, a, e, n), - (t = Co(null, t, a, !0, i, n))) - : ((t.tag = 0), rl && i && el(t), yo(null, t, r, n), (t = t.child)), - t - ); - case 16: - a = t.elementType; - e: { - switch ( - (Uo(e, t), - (e = t.pendingProps), - (a = (r = a._init)(a._payload)), - (t.type = a), - (r = t.tag = - (function (e) { - if ('function' == typeof e) return As(e) ? 1 : 0; - if (null != e) { - if ((e = e.$$typeof) === C) return 11; - if (e === I) return 14; - } - return 2; - })(a)), - (e = to(a, e)), - r) - ) { - case 0: - t = No(null, t, a, e, n); - break e; - case 1: - t = To(null, t, a, e, n); - break e; - case 11: - t = xo(null, t, a, e, n); - break e; - case 14: - t = _o(null, t, a, to(a.type, e), n); - break e; - } - throw Error(l(306, a, '')); - } - return t; - case 0: - return (a = t.type), (r = t.pendingProps), No(e, t, a, (r = t.elementType === a ? r : to(a, r)), n); - case 1: - return (a = t.type), (r = t.pendingProps), To(e, t, a, (r = t.elementType === a ? r : to(a, r)), n); - case 3: - e: { - if ((Fo(t), null === e)) throw Error(l(387)); - (a = t.pendingProps), (r = (i = t.memoizedState).element), jl(e, t), Vl(t, a, null, n); - var o = t.memoizedState; - if (((a = o.element), i.isDehydrated)) { - if ( - ((i = { - element: a, - isDehydrated: !1, - cache: o.cache, - pendingSuspenseBoundaries: o.pendingSuspenseBoundaries, - transitions: o.transitions, - }), - (t.updateQueue.baseState = i), - (t.memoizedState = i), - 256 & t.flags) - ) { - t = Ro(e, t, a, n, (r = co(Error(l(423)), t))); - break e; - } - if (a !== r) { - t = Ro(e, t, a, n, (r = co(Error(l(424)), t))); - break e; - } - for ( - al = sr(t.stateNode.containerInfo.firstChild), - nl = t, - rl = !0, - ll = null, - n = xl(t, null, a, n), - t.child = n; - n; - - ) - (n.flags = (-3 & n.flags) | 4096), (n = n.sibling); - } else { - if ((pl(), a === r)) { - t = Ho(e, t, n); - break e; - } - yo(e, t, a, n); - } - t = t.child; - } - return t; - case 5: - return ( - Ql(t), - null === e && sl(t), - (a = t.type), - (r = t.pendingProps), - (i = null !== e ? e.memoizedProps : null), - (o = r.children), - nr(a, r) ? (o = null) : null !== i && nr(a, i) && (t.flags |= 32), - So(e, t), - yo(e, t, o, n), - t.child - ); - case 6: - return null === e && sl(t), null; - case 13: - return jo(e, t, n); - case 4: - return ( - Xl(t, t.stateNode.containerInfo), - (a = t.pendingProps), - null === e ? (t.child = yl(t, null, a, n)) : yo(e, t, a, n), - t.child - ); - case 11: - return (a = t.type), (r = t.pendingProps), xo(e, t, a, (r = t.elementType === a ? r : to(a, r)), n); - case 7: - return yo(e, t, t.pendingProps, n), t.child; - case 8: - case 12: - return yo(e, t, t.pendingProps.children, n), t.child; - case 10: - e: { - if ( - ((a = t.type._context), - (r = t.pendingProps), - (i = t.memoizedProps), - (o = r.value), - Nr(_l, a._currentValue), - (a._currentValue = o), - null !== i) - ) - if (oa(i.value, o)) { - if (i.children === r.children && !Fr.current) { - t = Ho(e, t, n); - break e; - } - } else - for (null !== (i = t.child) && (i.return = t); null !== i; ) { - var c = i.dependencies; - if (null !== c) { - o = i.child; - for (var s = c.firstContext; null !== s; ) { - if (s.context === a) { - if (1 === i.tag) { - (s = zl(-1, n & -n)).tag = 2; - var u = i.updateQueue; - if (null !== u) { - var m = (u = u.shared).pending; - null === m ? (s.next = s) : ((s.next = m.next), (m.next = s)), (u.pending = s); - } - } - (i.lanes |= n), - null !== (s = i.alternate) && (s.lanes |= n), - Cl(i.return, n, t), - (c.lanes |= n); - break; - } - s = s.next; - } - } else if (10 === i.tag) o = i.type === t.type ? null : i.child; - else if (18 === i.tag) { - if (null === (o = i.return)) throw Error(l(341)); - (o.lanes |= n), null !== (c = o.alternate) && (c.lanes |= n), Cl(o, n, t), (o = i.sibling); - } else o = i.child; - if (null !== o) o.return = i; - else - for (o = i; null !== o; ) { - if (o === t) { - o = null; - break; - } - if (null !== (i = o.sibling)) { - (i.return = o.return), (o = i); - break; - } - o = o.return; - } - i = o; - } - yo(e, t, r.children, n), (t = t.child); - } - return t; - case 9: - return ( - (r = t.type), - (a = t.pendingProps.children), - Fl(t, n), - (a = a((r = Rl(r)))), - (t.flags |= 1), - yo(e, t, a, n), - t.child - ); - case 14: - return (r = to((a = t.type), t.pendingProps)), _o(e, t, a, (r = to(a.type, r)), n); - case 15: - return wo(e, t, t.type, t.pendingProps, n); - case 17: - return ( - (a = t.type), - (r = t.pendingProps), - (r = t.elementType === a ? r : to(a, r)), - Uo(e, t), - (t.tag = 1), - Ar(a) ? ((e = !0), Pr(t)) : (e = !1), - Fl(t, n), - lo(t, a, r), - oo(t, a, r, n), - Co(null, t, a, !0, e, n) - ); - case 19: - return Vo(e, t, n); - case 22: - return ko(e, t, n); - } - throw Error(l(156, t.tag)); - }; - var Ws = - 'function' == typeof reportError - ? reportError - : function (e) { - console.error(e); - }; - function $s(e) { - this._internalRoot = e; - } - function Xs(e) { - this._internalRoot = e; - } - function Ys(e) { - return !(!e || (1 !== e.nodeType && 9 !== e.nodeType && 11 !== e.nodeType)); - } - function Qs(e) { - return !( - !e || - (1 !== e.nodeType && - 9 !== e.nodeType && - 11 !== e.nodeType && - (8 !== e.nodeType || ' react-mount-point-unstable ' !== e.nodeValue)) - ); - } - function Zs() {} - function Js(e, t, n, a, r) { - var l = n._reactRootContainer; - if (l) { - var i = l; - if ('function' == typeof r) { - var o = r; - r = function () { - var e = Hs(i); - o.call(e); - }; - } - Us(t, i, e, r); - } else - i = (function (e, t, n, a, r) { - if (r) { - if ('function' == typeof a) { - var l = a; - a = function () { - var e = Hs(i); - l.call(e); - }; - } - var i = Vs(t, a, e, 0, null, !1, 0, '', Zs); - return ( - (e._reactRootContainer = i), (e[fr] = i.current), Va(8 === e.nodeType ? e.parentNode : e), us(), i - ); - } - for (; (r = e.lastChild); ) e.removeChild(r); - if ('function' == typeof a) { - var o = a; - a = function () { - var e = Hs(c); - o.call(e); - }; - } - var c = Bs(e, 0, !1, null, 0, !1, 0, '', Zs); - return ( - (e._reactRootContainer = c), - (e[fr] = c.current), - Va(8 === e.nodeType ? e.parentNode : e), - us(function () { - Us(t, c, n, a); - }), - c - ); - })(n, t, e, r, a); - return Hs(i); - } - (Xs.prototype.render = $s.prototype.render = - function (e) { - var t = this._internalRoot; - if (null === t) throw Error(l(409)); - Us(e, t, null, null); - }), - (Xs.prototype.unmount = $s.prototype.unmount = - function () { - var e = this._internalRoot; - if (null !== e) { - this._internalRoot = null; - var t = e.containerInfo; - us(function () { - Us(null, e, null, null); - }), - (t[fr] = null); - } - }), - (Xs.prototype.unstable_scheduleHydration = function (e) { - if (e) { - var t = kt(); - e = { blockedOn: null, target: e, priority: t }; - for (var n = 0; n < Ot.length && 0 !== t && t < Ot[n].priority; n++); - Ot.splice(n, 0, e), 0 === n && jt(e); - } - }), - (xt = function (e) { - switch (e.tag) { - case 3: - var t = e.stateNode; - if (t.current.memoizedState.isDehydrated) { - var n = mt(t.pendingLanes); - 0 !== n && (bt(t, 1 | n), as(t, Qe()), !(6 & Cc) && ((Vc = Qe() + 500), Vr())); - } - break; - case 13: - us(function () { - var t = Dl(e, 1); - if (null !== t) { - var n = es(); - ns(t, e, 1, n); - } - }), - Gs(e, 1); - } - }), - (_t = function (e) { - if (13 === e.tag) { - var t = Dl(e, 134217728); - null !== t && ns(t, e, 134217728, es()), Gs(e, 134217728); - } - }), - (wt = function (e) { - if (13 === e.tag) { - var t = ts(e), - n = Dl(e, t); - null !== n && ns(n, e, t, es()), Gs(e, t); - } - }), - (kt = function () { - return Et; - }), - (St = function (e, t) { - var n = Et; - try { - return (Et = e), t(); - } finally { - Et = n; - } - }), - (_e = function (e, t, n) { - switch (t) { - case 'input': - if ((Z(e, n), (t = n.name), 'radio' === n.type && null != t)) { - for (n = e; n.parentNode; ) n = n.parentNode; - for ( - n = n.querySelectorAll('input[name=' + JSON.stringify('' + t) + '][type="radio"]'), t = 0; - t < n.length; - t++ - ) { - var a = n[t]; - if (a !== e && a.form === e.form) { - var r = xr(a); - if (!r) throw Error(l(90)); - W(a), Z(a, r); - } - } - } - break; - case 'textarea': - le(e, n); - break; - case 'select': - null != (t = n.value) && ne(e, !!n.multiple, t, !1); - } - }), - (Ce = ss), - (Fe = us); - var eu = { usingClientEntryPoint: !1, Events: [Er, yr, xr, Ne, Te, ss] }, - tu = { findFiberByHostInstance: br, bundleType: 0, version: '18.3.1', rendererPackageName: 'react-dom' }, - nu = { - bundleType: tu.bundleType, - version: tu.version, - rendererPackageName: tu.rendererPackageName, - rendererConfig: tu.rendererConfig, - overrideHookState: null, - overrideHookStateDeletePath: null, - overrideHookStateRenamePath: null, - overrideProps: null, - overridePropsDeletePath: null, - overridePropsRenamePath: null, - setErrorHandler: null, - setSuspenseHandler: null, - scheduleUpdate: null, - currentDispatcherRef: y.ReactCurrentDispatcher, - findHostInstanceByFiber: function (e) { - return null === (e = Ke(e)) ? null : e.stateNode; - }, - findFiberByHostInstance: - tu.findFiberByHostInstance || - function () { - return null; - }, - findHostInstancesForRefresh: null, - scheduleRefresh: null, - scheduleRoot: null, - setRefreshHandler: null, - getCurrentFiber: null, - reconcilerVersion: '18.3.1-next-f1338f8080-20240426', - }; - if ('undefined' != typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var au = __REACT_DEVTOOLS_GLOBAL_HOOK__; - if (!au.isDisabled && au.supportsFiber) - try { - (rt = au.inject(nu)), (lt = au); - } catch (ue) {} - } - (t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = eu), - (t.createPortal = function (e, t) { - var n = 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : null; - if (!Ys(t)) throw Error(l(200)); - return (function (e, t, n) { - var a = 3 < arguments.length && void 0 !== arguments[3] ? arguments[3] : null; - return { $$typeof: _, key: null == a ? null : '' + a, children: e, containerInfo: t, implementation: n }; - })(e, t, null, n); - }), - (t.createRoot = function (e, t) { - if (!Ys(e)) throw Error(l(299)); - var n = !1, - a = '', - r = Ws; - return ( - null != t && - (!0 === t.unstable_strictMode && (n = !0), - void 0 !== t.identifierPrefix && (a = t.identifierPrefix), - void 0 !== t.onRecoverableError && (r = t.onRecoverableError)), - (t = Bs(e, 1, !1, null, 0, n, 0, a, r)), - (e[fr] = t.current), - Va(8 === e.nodeType ? e.parentNode : e), - new $s(t) - ); - }), - (t.findDOMNode = function (e) { - if (null == e) return null; - if (1 === e.nodeType) return e; - var t = e._reactInternals; - if (void 0 === t) { - if ('function' == typeof e.render) throw Error(l(188)); - throw ((e = Object.keys(e).join(',')), Error(l(268, e))); - } - return null === (e = Ke(t)) ? null : e.stateNode; - }), - (t.flushSync = function (e) { - return us(e); - }), - (t.hydrate = function (e, t, n) { - if (!Qs(t)) throw Error(l(200)); - return Js(null, e, t, !0, n); - }), - (t.hydrateRoot = function (e, t, n) { - if (!Ys(e)) throw Error(l(405)); - var a = (null != n && n.hydratedSources) || null, - r = !1, - i = '', - o = Ws; - if ( - (null != n && - (!0 === n.unstable_strictMode && (r = !0), - void 0 !== n.identifierPrefix && (i = n.identifierPrefix), - void 0 !== n.onRecoverableError && (o = n.onRecoverableError)), - (t = Vs(t, null, e, 1, null != n ? n : null, r, 0, i, o)), - (e[fr] = t.current), - Va(e), - a) - ) - for (e = 0; e < a.length; e++) - (r = (r = (n = a[e])._getVersion)(n._source)), - null == t.mutableSourceEagerHydrationData - ? (t.mutableSourceEagerHydrationData = [n, r]) - : t.mutableSourceEagerHydrationData.push(n, r); - return new Xs(t); - }), - (t.render = function (e, t, n) { - if (!Qs(t)) throw Error(l(200)); - return Js(null, e, t, !1, n); - }), - (t.unmountComponentAtNode = function (e) { - if (!Qs(e)) throw Error(l(40)); - return ( - !!e._reactRootContainer && - (us(function () { - Js(null, null, e, !1, function () { - (e._reactRootContainer = null), (e[fr] = null); - }); - }), - !0) - ); - }), - (t.unstable_batchedUpdates = ss), - (t.unstable_renderSubtreeIntoContainer = function (e, t, n, a) { - if (!Qs(n)) throw Error(l(200)); - if (null == e || void 0 === e._reactInternals) throw Error(l(38)); - return Js(e, t, n, !1, a); - }), - (t.version = '18.3.1-next-f1338f8080-20240426'); - }, - 338: function (e, t, n) { - 'use strict'; - var a = n(961); - (t.H = a.createRoot), a.hydrateRoot; - }, - 961: function (e, t, n) { - 'use strict'; - !(function e() { - if ( - 'undefined' != typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && - 'function' == typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE - ) - try { - __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e); - } catch (e) { - console.error(e); - } - })(), - (e.exports = n(551)); - }, - 848: function (e, t, n) { - 'use strict'; - var a, r; - (a = n(633)), - (r = n(911)), - a.version, - a.renderToString, - (t.qV = a.renderToStaticMarkup), - a.renderToNodeStream, - a.renderToStaticNodeStream, - r.renderToReadableStream; - }, - 287: function (e, t) { - 'use strict'; - var n = Symbol.for('react.element'), - a = Symbol.for('react.portal'), - r = Symbol.for('react.fragment'), - l = Symbol.for('react.strict_mode'), - i = Symbol.for('react.profiler'), - o = Symbol.for('react.provider'), - c = Symbol.for('react.context'), - s = Symbol.for('react.forward_ref'), - u = Symbol.for('react.suspense'), - m = Symbol.for('react.memo'), - d = Symbol.for('react.lazy'), - p = Symbol.iterator, - f = { - isMounted: function () { - return !1; - }, - enqueueForceUpdate: function () {}, - enqueueReplaceState: function () {}, - enqueueSetState: function () {}, - }, - h = Object.assign, - g = {}; - function v(e, t, n) { - (this.props = e), (this.context = t), (this.refs = g), (this.updater = n || f); - } - function b() {} - function E(e, t, n) { - (this.props = e), (this.context = t), (this.refs = g), (this.updater = n || f); - } - (v.prototype.isReactComponent = {}), - (v.prototype.setState = function (e, t) { - if ('object' != typeof e && 'function' != typeof e && null != e) - throw Error( - 'setState(...): takes an object of state variables to update or a function which returns an object of state variables.' - ); - this.updater.enqueueSetState(this, e, t, 'setState'); - }), - (v.prototype.forceUpdate = function (e) { - this.updater.enqueueForceUpdate(this, e, 'forceUpdate'); - }), - (b.prototype = v.prototype); - var y = (E.prototype = new b()); - (y.constructor = E), h(y, v.prototype), (y.isPureReactComponent = !0); - var x = Array.isArray, - _ = Object.prototype.hasOwnProperty, - w = { current: null }, - k = { key: !0, ref: !0, __self: !0, __source: !0 }; - function S(e, t, a) { - var r, - l = {}, - i = null, - o = null; - if (null != t) - for (r in (void 0 !== t.ref && (o = t.ref), void 0 !== t.key && (i = '' + t.key), t)) - _.call(t, r) && !k.hasOwnProperty(r) && (l[r] = t[r]); - var c = arguments.length - 2; - if (1 === c) l.children = a; - else if (1 < c) { - for (var s = Array(c), u = 0; u < c; u++) s[u] = arguments[u + 2]; - l.children = s; - } - if (e && e.defaultProps) for (r in (c = e.defaultProps)) void 0 === l[r] && (l[r] = c[r]); - return { $$typeof: n, type: e, key: i, ref: o, props: l, _owner: w.current }; - } - function N(e) { - return 'object' == typeof e && null !== e && e.$$typeof === n; - } - var T = /\/+/g; - function C(e, t) { - return 'object' == typeof e && null !== e && null != e.key - ? (function (e) { - var t = { '=': '=0', ':': '=2' }; - return ( - '$' + - e.replace(/[=:]/g, function (e) { - return t[e]; - }) - ); - })('' + e.key) - : t.toString(36); - } - function F(e, t, r, l, i) { - var o = typeof e; - ('undefined' !== o && 'boolean' !== o) || (e = null); - var c = !1; - if (null === e) c = !0; - else - switch (o) { - case 'string': - case 'number': - c = !0; - break; - case 'object': - switch (e.$$typeof) { - case n: - case a: - c = !0; - } - } - if (c) - return ( - (i = i((c = e))), - (e = '' === l ? '.' + C(c, 0) : l), - x(i) - ? ((r = ''), - null != e && (r = e.replace(T, '$&/') + '/'), - F(i, t, r, '', function (e) { - return e; - })) - : null != i && - (N(i) && - (i = (function (e, t) { - return { $$typeof: n, type: e.type, key: t, ref: e.ref, props: e.props, _owner: e._owner }; - })(i, r + (!i.key || (c && c.key === i.key) ? '' : ('' + i.key).replace(T, '$&/') + '/') + e)), - t.push(i)), - 1 - ); - if (((c = 0), (l = '' === l ? '.' : l + ':'), x(e))) - for (var s = 0; s < e.length; s++) { - var u = l + C((o = e[s]), s); - c += F(o, t, r, u, i); - } - else if ( - ((u = (function (e) { - return null === e || 'object' != typeof e - ? null - : 'function' == typeof (e = (p && e[p]) || e['@@iterator']) - ? e - : null; - })(e)), - 'function' == typeof u) - ) - for (e = u.call(e), s = 0; !(o = e.next()).done; ) c += F((o = o.value), t, r, (u = l + C(o, s++)), i); - else if ('object' === o) - throw ( - ((t = String(e)), - Error( - 'Objects are not valid as a React child (found: ' + - ('[object Object]' === t ? 'object with keys {' + Object.keys(e).join(', ') + '}' : t) + - '). If you meant to render a collection of children, use an array instead.' - )) - ); - return c; - } - function R(e, t, n) { - if (null == e) return e; - var a = [], - r = 0; - return ( - F(e, a, '', '', function (e) { - return t.call(n, e, r++); - }), - a - ); - } - function I(e) { - if (-1 === e._status) { - var t = e._result; - (t = t()).then( - function (t) { - (0 !== e._status && -1 !== e._status) || ((e._status = 1), (e._result = t)); - }, - function (t) { - (0 !== e._status && -1 !== e._status) || ((e._status = 2), (e._result = t)); - } - ), - -1 === e._status && ((e._status = 0), (e._result = t)); - } - if (1 === e._status) return e._result.default; - throw e._result; - } - var A = { current: null }, - O = { transition: null }, - D = { ReactCurrentDispatcher: A, ReactCurrentBatchConfig: O, ReactCurrentOwner: w }; - function L() { - throw Error('act(...) is not supported in production builds of React.'); - } - (t.Children = { - map: R, - forEach: function (e, t, n) { - R( - e, - function () { - t.apply(this, arguments); - }, - n - ); - }, - count: function (e) { - var t = 0; - return ( - R(e, function () { - t++; - }), - t - ); - }, - toArray: function (e) { - return ( - R(e, function (e) { - return e; - }) || [] - ); - }, - only: function (e) { - if (!N(e)) throw Error('React.Children.only expected to receive a single React element child.'); - return e; - }, - }), - (t.Component = v), - (t.Fragment = r), - (t.Profiler = i), - (t.PureComponent = E), - (t.StrictMode = l), - (t.Suspense = u), - (t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = D), - (t.act = L), - (t.cloneElement = function (e, t, a) { - if (null == e) - throw Error('React.cloneElement(...): The argument must be a React element, but you passed ' + e + '.'); - var r = h({}, e.props), - l = e.key, - i = e.ref, - o = e._owner; - if (null != t) { - if ( - (void 0 !== t.ref && ((i = t.ref), (o = w.current)), - void 0 !== t.key && (l = '' + t.key), - e.type && e.type.defaultProps) - ) - var c = e.type.defaultProps; - for (s in t) - _.call(t, s) && !k.hasOwnProperty(s) && (r[s] = void 0 === t[s] && void 0 !== c ? c[s] : t[s]); - } - var s = arguments.length - 2; - if (1 === s) r.children = a; - else if (1 < s) { - c = Array(s); - for (var u = 0; u < s; u++) c[u] = arguments[u + 2]; - r.children = c; - } - return { $$typeof: n, type: e.type, key: l, ref: i, props: r, _owner: o }; - }), - (t.createContext = function (e) { - return ( - ((e = { - $$typeof: c, - _currentValue: e, - _currentValue2: e, - _threadCount: 0, - Provider: null, - Consumer: null, - _defaultValue: null, - _globalName: null, - }).Provider = { $$typeof: o, _context: e }), - (e.Consumer = e) - ); - }), - (t.createElement = S), - (t.createFactory = function (e) { - var t = S.bind(null, e); - return (t.type = e), t; - }), - (t.createRef = function () { - return { current: null }; - }), - (t.forwardRef = function (e) { - return { $$typeof: s, render: e }; - }), - (t.isValidElement = N), - (t.lazy = function (e) { - return { $$typeof: d, _payload: { _status: -1, _result: e }, _init: I }; - }), - (t.memo = function (e, t) { - return { $$typeof: m, type: e, compare: void 0 === t ? null : t }; - }), - (t.startTransition = function (e) { - var t = O.transition; - O.transition = {}; - try { - e(); - } finally { - O.transition = t; - } - }), - (t.unstable_act = L), - (t.useCallback = function (e, t) { - return A.current.useCallback(e, t); - }), - (t.useContext = function (e) { - return A.current.useContext(e); - }), - (t.useDebugValue = function () {}), - (t.useDeferredValue = function (e) { - return A.current.useDeferredValue(e); - }), - (t.useEffect = function (e, t) { - return A.current.useEffect(e, t); - }), - (t.useId = function () { - return A.current.useId(); - }), - (t.useImperativeHandle = function (e, t, n) { - return A.current.useImperativeHandle(e, t, n); - }), - (t.useInsertionEffect = function (e, t) { - return A.current.useInsertionEffect(e, t); - }), - (t.useLayoutEffect = function (e, t) { - return A.current.useLayoutEffect(e, t); - }), - (t.useMemo = function (e, t) { - return A.current.useMemo(e, t); - }), - (t.useReducer = function (e, t, n) { - return A.current.useReducer(e, t, n); - }), - (t.useRef = function (e) { - return A.current.useRef(e); - }), - (t.useState = function (e) { - return A.current.useState(e); - }), - (t.useSyncExternalStore = function (e, t, n) { - return A.current.useSyncExternalStore(e, t, n); - }), - (t.useTransition = function () { - return A.current.useTransition(); - }), - (t.version = '18.3.1'); - }, - 540: function (e, t, n) { - 'use strict'; - e.exports = n(287); - }, - 463: function (e, t) { - 'use strict'; - function n(e, t) { - var n = e.length; - e.push(t); - e: for (; 0 < n; ) { - var a = (n - 1) >>> 1, - r = e[a]; - if (!(0 < l(r, t))) break e; - (e[a] = t), (e[n] = r), (n = a); - } - } - function a(e) { - return 0 === e.length ? null : e[0]; - } - function r(e) { - if (0 === e.length) return null; - var t = e[0], - n = e.pop(); - if (n !== t) { - e[0] = n; - e: for (var a = 0, r = e.length, i = r >>> 1; a < i; ) { - var o = 2 * (a + 1) - 1, - c = e[o], - s = o + 1, - u = e[s]; - if (0 > l(c, n)) - s < r && 0 > l(u, c) ? ((e[a] = u), (e[s] = n), (a = s)) : ((e[a] = c), (e[o] = n), (a = o)); - else { - if (!(s < r && 0 > l(u, n))) break e; - (e[a] = u), (e[s] = n), (a = s); - } - } - } - return t; - } - function l(e, t) { - var n = e.sortIndex - t.sortIndex; - return 0 !== n ? n : e.id - t.id; - } - if ('object' == typeof performance && 'function' == typeof performance.now) { - var i = performance; - t.unstable_now = function () { - return i.now(); - }; - } else { - var o = Date, - c = o.now(); - t.unstable_now = function () { - return o.now() - c; - }; - } - var s = [], - u = [], - m = 1, - d = null, - p = 3, - f = !1, - h = !1, - g = !1, - v = 'function' == typeof setTimeout ? setTimeout : null, - b = 'function' == typeof clearTimeout ? clearTimeout : null, - E = 'undefined' != typeof setImmediate ? setImmediate : null; - function y(e) { - for (var t = a(u); null !== t; ) { - if (null === t.callback) r(u); - else { - if (!(t.startTime <= e)) break; - r(u), (t.sortIndex = t.expirationTime), n(s, t); - } - t = a(u); - } - } - function x(e) { - if (((g = !1), y(e), !h)) - if (null !== a(s)) (h = !0), O(_); - else { - var t = a(u); - null !== t && D(x, t.startTime - e); - } - } - function _(e, n) { - (h = !1), g && ((g = !1), b(N), (N = -1)), (f = !0); - var l = p; - try { - for (y(n), d = a(s); null !== d && (!(d.expirationTime > n) || (e && !F())); ) { - var i = d.callback; - if ('function' == typeof i) { - (d.callback = null), (p = d.priorityLevel); - var o = i(d.expirationTime <= n); - (n = t.unstable_now()), 'function' == typeof o ? (d.callback = o) : d === a(s) && r(s), y(n); - } else r(s); - d = a(s); - } - if (null !== d) var c = !0; - else { - var m = a(u); - null !== m && D(x, m.startTime - n), (c = !1); - } - return c; - } finally { - (d = null), (p = l), (f = !1); - } - } - 'undefined' != typeof navigator && - void 0 !== navigator.scheduling && - void 0 !== navigator.scheduling.isInputPending && - navigator.scheduling.isInputPending.bind(navigator.scheduling); - var w, - k = !1, - S = null, - N = -1, - T = 5, - C = -1; - function F() { - return !(t.unstable_now() - C < T); - } - function R() { - if (null !== S) { - var e = t.unstable_now(); - C = e; - var n = !0; - try { - n = S(!0, e); - } finally { - n ? w() : ((k = !1), (S = null)); - } - } else k = !1; - } - if ('function' == typeof E) - w = function () { - E(R); - }; - else if ('undefined' != typeof MessageChannel) { - var I = new MessageChannel(), - A = I.port2; - (I.port1.onmessage = R), - (w = function () { - A.postMessage(null); - }); - } else - w = function () { - v(R, 0); - }; - function O(e) { - (S = e), k || ((k = !0), w()); - } - function D(e, n) { - N = v(function () { - e(t.unstable_now()); - }, n); - } - (t.unstable_IdlePriority = 5), - (t.unstable_ImmediatePriority = 1), - (t.unstable_LowPriority = 4), - (t.unstable_NormalPriority = 3), - (t.unstable_Profiling = null), - (t.unstable_UserBlockingPriority = 2), - (t.unstable_cancelCallback = function (e) { - e.callback = null; - }), - (t.unstable_continueExecution = function () { - h || f || ((h = !0), O(_)); - }), - (t.unstable_forceFrameRate = function (e) { - 0 > e || 125 < e - ? console.error( - 'forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported' - ) - : (T = 0 < e ? Math.floor(1e3 / e) : 5); - }), - (t.unstable_getCurrentPriorityLevel = function () { - return p; - }), - (t.unstable_getFirstCallbackNode = function () { - return a(s); - }), - (t.unstable_next = function (e) { - switch (p) { - case 1: - case 2: - case 3: - var t = 3; - break; - default: - t = p; - } - var n = p; - p = t; - try { - return e(); - } finally { - p = n; - } - }), - (t.unstable_pauseExecution = function () {}), - (t.unstable_requestPaint = function () {}), - (t.unstable_runWithPriority = function (e, t) { - switch (e) { - case 1: - case 2: - case 3: - case 4: - case 5: - break; - default: - e = 3; - } - var n = p; - p = e; - try { - return t(); - } finally { - p = n; - } - }), - (t.unstable_scheduleCallback = function (e, r, l) { - var i = t.unstable_now(); - switch ( - ((l = 'object' == typeof l && null !== l && 'number' == typeof (l = l.delay) && 0 < l ? i + l : i), e) - ) { - case 1: - var o = -1; - break; - case 2: - o = 250; - break; - case 5: - o = 1073741823; - break; - case 4: - o = 1e4; - break; - default: - o = 5e3; - } - return ( - (e = { - id: m++, - callback: r, - priorityLevel: e, - startTime: l, - expirationTime: (o = l + o), - sortIndex: -1, - }), - l > i - ? ((e.sortIndex = l), - n(u, e), - null === a(s) && e === a(u) && (g ? (b(N), (N = -1)) : (g = !0), D(x, l - i))) - : ((e.sortIndex = o), n(s, e), h || f || ((h = !0), O(_))), - e - ); - }), - (t.unstable_shouldYield = F), - (t.unstable_wrapCallback = function (e) { - var t = p; - return function () { - var n = p; - p = t; - try { - return e.apply(this, arguments); - } finally { - p = n; - } - }; - }); - }, - 982: function (e, t, n) { - 'use strict'; - e.exports = n(463); - }, - 23: function (e) { - var t = {}, - n = function (e) { - var t; - return function () { - return void 0 === t && (t = e.apply(this, arguments)), t; - }; - }, - a = n(function () { - return /msie [6-9]\b/.test(self.navigator.userAgent.toLowerCase()); - }), - r = n(function () { - return document.head || document.getElementsByTagName('head')[0]; - }), - l = null, - i = 0, - o = []; - function c(e, n) { - for (var a = 0; a < e.length; a++) { - var r = e[a], - l = t[r.id]; - if (l) { - l.refs++; - for (var i = 0; i < l.parts.length; i++) l.parts[i](r.parts[i]); - for (; i < r.parts.length; i++) l.parts.push(p(r.parts[i], n)); - } else { - var o = []; - for (i = 0; i < r.parts.length; i++) o.push(p(r.parts[i], n)); - t[r.id] = { id: r.id, refs: 1, parts: o }; - } - } - } - function s(e) { - for (var t = [], n = {}, a = 0; a < e.length; a++) { - var r = e[a], - l = r[0], - i = { css: r[1], media: r[2], sourceMap: r[3] }; - n[l] ? n[l].parts.push(i) : t.push((n[l] = { id: l, parts: [i] })); - } - return t; - } - function u(e, t) { - var n = r(), - a = o[o.length - 1]; - if ('top' === e.insertAt) - a ? (a.nextSibling ? n.insertBefore(t, a.nextSibling) : n.appendChild(t)) : n.insertBefore(t, n.firstChild), - o.push(t); - else { - if ('bottom' !== e.insertAt) - throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'."); - n.appendChild(t); - } - } - function m(e) { - e.parentNode.removeChild(e); - var t = o.indexOf(e); - t >= 0 && o.splice(t, 1); - } - function d(e) { - var t = document.createElement('style'); - return (t.type = 'text/css'), u(e, t), t; - } - function p(e, t) { - var n, a, r; - if (t.singleton) { - var o = i++; - (n = l || (l = d(t))), (a = g.bind(null, n, o, !1)), (r = g.bind(null, n, o, !0)); - } else - e.sourceMap && - 'function' == typeof URL && - 'function' == typeof URL.createObjectURL && - 'function' == typeof URL.revokeObjectURL && - 'function' == typeof Blob && - 'function' == typeof btoa - ? ((n = (function (e) { - var t = document.createElement('link'); - return (t.rel = 'stylesheet'), u(e, t), t; - })(t)), - (a = b.bind(null, n)), - (r = function () { - m(n), n.href && URL.revokeObjectURL(n.href); - })) - : ((n = d(t)), - (a = v.bind(null, n)), - (r = function () { - m(n); - })); - return ( - a(e), - function (t) { - if (t) { - if (t.css === e.css && t.media === e.media && t.sourceMap === e.sourceMap) return; - a((e = t)); - } else r(); - } - ); - } - e.exports = function (e, n) { - if ('undefined' != typeof DEBUG && DEBUG && 'object' != typeof document) - throw new Error('The style-loader cannot be used in a non-browser environment'); - void 0 === (n = n || {}).singleton && (n.singleton = a()), void 0 === n.insertAt && (n.insertAt = 'bottom'); - var r = s(e); - return ( - c(r, n), - function (e) { - for (var a = [], l = 0; l < r.length; l++) { - var i = r[l]; - (o = t[i.id]).refs--, a.push(o); - } - for (e && c(s(e), n), l = 0; l < a.length; l++) { - var o; - if (0 === (o = a[l]).refs) { - for (var u = 0; u < o.parts.length; u++) o.parts[u](); - delete t[o.id]; - } - } - } - ); - }; - var f, - h = - ((f = []), - function (e, t) { - return (f[e] = t), f.filter(Boolean).join('\n'); - }); - function g(e, t, n, a) { - var r = n ? '' : a.css; - if (e.styleSheet) e.styleSheet.cssText = h(t, r); - else { - var l = document.createTextNode(r), - i = e.childNodes; - i[t] && e.removeChild(i[t]), i.length ? e.insertBefore(l, i[t]) : e.appendChild(l); - } - } - function v(e, t) { - var n = t.css, - a = t.media; - if ((a && e.setAttribute('media', a), e.styleSheet)) e.styleSheet.cssText = n; - else { - for (; e.firstChild; ) e.removeChild(e.firstChild); - e.appendChild(document.createTextNode(n)); - } - } - function b(e, t) { - var n = t.css, - a = t.sourceMap; - a && - (n += - '\n/*# sourceMappingURL=data:application/json;base64,' + - btoa(unescape(encodeURIComponent(JSON.stringify(a)))) + - ' */'); - var r = new Blob([n], { type: 'text/css' }), - l = e.href; - (e.href = URL.createObjectURL(r)), l && URL.revokeObjectURL(l); - } - }, - 106: function (e, t, n) { - var a = n(954); - 'string' == typeof a && (a = [[e.id, a, '']]), n(23)(a, {}), a.locals && (e.exports = a.locals); - }, - 334: function (e, t, n) { - var a = n(862); - 'string' == typeof a && (a = [[e.id, a, '']]), n(23)(a, {}), a.locals && (e.exports = a.locals); - }, - 962: function (e, t, n) { - var a = n(154); - 'string' == typeof a && (a = [[e.id, a, '']]), n(23)(a, {}), a.locals && (e.exports = a.locals); - }, - 426: function (e) { - e.exports = function () { - var e = document.getSelection(); - if (!e.rangeCount) return function () {}; - for (var t = document.activeElement, n = [], a = 0; a < e.rangeCount; a++) n.push(e.getRangeAt(a)); - switch (t.tagName.toUpperCase()) { - case 'INPUT': - case 'TEXTAREA': - t.blur(); - break; - default: - t = null; - } - return ( - e.removeAllRanges(), - function () { - 'Caret' === e.type && e.removeAllRanges(), - e.rangeCount || - n.forEach(function (t) { - e.addRange(t); - }), - t && t.focus(); - } - ); - }; - }, - 942: function (e, t) { - var n; - !(function () { - 'use strict'; - var a = {}.hasOwnProperty; - function r() { - for (var e = '', t = 0; t < arguments.length; t++) { - var n = arguments[t]; - n && (e = i(e, l(n))); - } - return e; - } - function l(e) { - if ('string' == typeof e || 'number' == typeof e) return e; - if ('object' != typeof e) return ''; - if (Array.isArray(e)) return r.apply(null, e); - if (e.toString !== Object.prototype.toString && !e.toString.toString().includes('[native code]')) - return e.toString(); - var t = ''; - for (var n in e) a.call(e, n) && e[n] && (t = i(t, n)); - return t; - } - function i(e, t) { - return t ? (e ? e + ' ' + t : e + t) : e; - } - e.exports - ? ((r.default = r), (e.exports = r)) - : void 0 === - (n = function () { - return r; - }.apply(t, [])) || (e.exports = n); - })(); - }, - }, - t = {}; - function n(a) { - var r = t[a]; - if (void 0 !== r) return r.exports; - var l = (t[a] = { id: a, exports: {} }); - return e[a](l, l.exports, n), l.exports; - } - (n.n = function (e) { - var t = - e && e.__esModule - ? function () { - return e.default; - } - : function () { - return e; - }; - return n.d(t, { a: t }), t; - }), - (n.d = function (e, t) { - for (var a in t) n.o(t, a) && !n.o(e, a) && Object.defineProperty(e, a, { enumerable: !0, get: t[a] }); - }), - (n.g = (function () { - if ('object' == typeof globalThis) return globalThis; - try { - return this || new Function('return this')(); - } catch (e) { - if ('object' == typeof window) return window; - } - })()), - (n.o = function (e, t) { - return Object.prototype.hasOwnProperty.call(e, t); - }), - (function () { - 'use strict'; - var e = n(540), - t = n(338); - const a = { - customfield: [], - fieldgroup: { items: [], title: null, name: null }, - customunit: [], - unitgroup: { items: [], title: null, name: null }, - history: { customfield: [], fieldgroup: [], customunit: [], unitgroup: [] }, - currentIndex: { customfield: -1, fieldgroup: -1, customunit: -1, unitgroup: -1 }, - }; - function r() { - let e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : a, - t = arguments.length > 1 ? arguments[1] : void 0; - switch (t.type) { - case 'UPDATE_STATE': { - const n = { ...e }; - Object.keys(t.payload).forEach((a) => { - 'function' == typeof t.payload[a] ? (n[a] = t.payload[a](e[a])) : (n[a] = t.payload[a]); - }); - const a = {}, - r = {}; - return ( - ['customfield', 'fieldgroup', 'customunit', 'unitgroup'].forEach((t) => { - JSON.stringify(e[t]) !== JSON.stringify(n[t]) - ? ((a[t] = [...e.history[t].slice(0, e.currentIndex[t] + 1), n[t]]), (r[t] = e.currentIndex[t] + 1)) - : ((a[t] = e.history[t]), (r[t] = e.currentIndex[t])); - }), - { ...n, history: { ...e.history, ...a }, currentIndex: { ...e.currentIndex, ...r } } - ); - } - case 'UNDO': { - var n; - const a = (null === (n = t.payload) || void 0 === n ? void 0 : n.target) || 'customfield'; - if (e.currentIndex[a] > 0) { - const t = e.history[a][e.currentIndex[a] - 1]; - if ('fieldgroup' === a || 'unitgroup' === a) { - if (t.items.length <= e[a].items.length) - return { ...e, [a]: t, currentIndex: { ...e.currentIndex, [a]: e.currentIndex[a] - 1 } }; - } else if (t.length <= e[a].length) - return { ...e, [a]: t, currentIndex: { ...e.currentIndex, [a]: e.currentIndex[a] - 1 } }; - } - return e; - } - case 'REDO': { - var r; - const n = (null === (r = t.payload) || void 0 === r ? void 0 : r.target) || 'customfield'; - if (e.currentIndex[n] < e.history[n].length - 1) { - const t = e.history[n][e.currentIndex[n] + 1]; - if ('fieldgroup' === n || 'unitgroup' === n) { - if (t.items.length >= e[n].items.length) - return { ...e, [n]: t, currentIndex: { ...e.currentIndex, [n]: e.currentIndex[n] + 1 } }; - } else if (t.length >= e[n].length) - return { ...e, [n]: t, currentIndex: { ...e.currentIndex, [n]: e.currentIndex[n] + 1 } }; - } - return e; - } - default: - return e; - } - } - const l = { - mode: 'customfield', - editMode: 'source', - tag: 'section', - acmscss: !0, - jsValidator: !1, - direction: 'horizontal', - }, - i = { source: '', copied: !1 }, - o = { - customfield: [], - fieldgroup: { items: [], title: null, name: null }, - customunit: [], - unitgroup: { items: [], title: null, name: null }, - history: { customfield: [], fieldgroup: [], customunit: [], unitgroup: [] }, - currentIndex: { customfield: -1, fieldgroup: -1, customunit: -1, unitgroup: -1 }, - }, - c = (0, e.createContext)({ - state: o, - preview: l, - clipboard: i, - addCustomfield: () => {}, - addCustomunit: () => {}, - setGroupTitleName: () => {}, - addGroupItem: () => {}, - setUnitGroupTitleName: () => {}, - addUnitGroupItem: () => {}, - clearCustomfield: () => {}, - clearGroup: () => {}, - clearGroupItem: () => {}, - clearCustomunit: () => {}, - clearUnitGroup: () => {}, - clearUnitGroupItem: () => {}, - setSource: () => {}, - setMode: () => {}, - setEditMode: () => {}, - setTag: () => {}, - setAcmscss: () => {}, - setJsValidator: () => {}, - setDirection: () => {}, - }); - function s(t) { - let { children: n, state: a = o, preview: s = l, clipboard: u = i } = t; - const [m, d] = (0, e.useReducer)(r, a), - [p, f] = (0, e.useState)(s), - [h, g] = (0, e.useState)(u), - v = (0, e.useCallback)((e) => d({ type: 'UPDATE_STATE', payload: { customfield: (t) => [...t, e] } }), [d]), - b = (0, e.useCallback)( - (e) => d({ type: 'UPDATE_STATE', payload: { customunit: [...m.customunit, e] } }), - [d, m.customunit] - ), - E = (0, e.useCallback)( - (e, t) => d({ type: 'UPDATE_STATE', payload: { fieldgroup: (n) => ({ ...n, title: e, name: t }) } }), - [d] - ), - y = (0, e.useCallback)( - (e) => d({ type: 'UPDATE_STATE', payload: { fieldgroup: (t) => ({ ...t, items: [...t.items, e] }) } }), - [d] - ), - x = (0, e.useCallback)( - (e, t) => d({ type: 'UPDATE_STATE', payload: { unitgroup: { ...m.unitgroup, title: e, name: t } } }), - [d, m.unitgroup] - ), - _ = (0, e.useCallback)( - (e) => - d({ type: 'UPDATE_STATE', payload: { unitgroup: { ...m.unitgroup, items: [...m.unitgroup.items, e] } } }), - [d, m.unitgroup] - ), - w = (0, e.useCallback)(() => d({ type: 'UPDATE_STATE', payload: { customfield: [] } }), [d]), - k = (0, e.useCallback)( - () => - d({ - type: 'UPDATE_STATE', - payload: { fieldgroup: { ...m.fieldgroup, title: null, name: null, items: [] } }, - }), - [d, m.fieldgroup] - ), - S = (0, e.useCallback)( - () => d({ type: 'UPDATE_STATE', payload: { fieldgroup: { ...m.fieldgroup, items: [] } } }), - [d, m.fieldgroup] - ), - N = (0, e.useCallback)(() => { - d({ type: 'UPDATE_STATE', payload: { customunit: [] } }); - }, [d]), - T = (0, e.useCallback)( - () => - d({ - type: 'UPDATE_STATE', - payload: { unitgroup: { ...m.unitgroup, title: null, name: null, items: [] } }, - }), - [d, m.unitgroup] - ), - C = (0, e.useCallback)( - () => d({ type: 'UPDATE_STATE', payload: { unitgroup: { ...m.unitgroup, items: [] } } }), - [d, m.unitgroup] - ), - F = (0, e.useCallback)( - (e) => { - d({ type: 'UNDO', payload: { target: e } }); - }, - [d] - ), - R = (0, e.useCallback)( - (e) => { - d({ type: 'REDO', payload: { target: e } }); - }, - [d] - ), - I = (0, e.useCallback)((e) => f((t) => ({ ...t, tag: e })), [f]), - A = (0, e.useCallback)((e) => f((t) => ({ ...t, acmscss: e })), [f]), - O = (0, e.useCallback)((e) => f((t) => ({ ...t, jsValidator: e })), [f]), - D = (0, e.useCallback)((e) => f((t) => ({ ...t, mode: e })), [f]), - L = (0, e.useCallback)((e) => f((t) => ({ ...t, editMode: e })), [f]), - P = (0, e.useCallback)((e) => f((t) => ({ ...t, direction: e })), [f]), - j = (0, e.useCallback)((e) => g((t) => ({ ...t, source: e })), [g]), - z = (0, e.useCallback)((e) => g((t) => ({ ...t, copied: e })), [g]), - M = (0, e.useMemo)( - () => ({ - state: m, - preview: p, - clipboard: h, - addCustomfield: v, - addCustomunit: b, - setGroupTitleName: E, - addGroupItem: y, - setUnitGroupTitleName: x, - addUnitGroupItem: _, - clearCustomfield: w, - clearGroup: k, - clearGroupItem: S, - clearCustomunit: N, - clearUnitGroup: T, - clearUnitGroupItem: C, - setTag: I, - setAcmscss: A, - setJsValidator: O, - setMode: D, - setEditMode: L, - setDirection: P, - setSource: j, - setCopied: z, - undo: F, - redo: R, - }), - [m, p, h, v, b, E, y, x, _, w, k, T, S, N, C, I, A, O, D, L, P, j, z, F, R] - ); - return e.createElement(c.Provider, { value: M }, n); - } - const u = () => (0, e.useContext)(c); - function m() { - const { - preview: { mode: t }, - setMode: n, - } = u(), - a = (e) => { - const t = e.target.value; - n(t); - }; - return e.createElement( - e.Fragment, - null, - e.createElement( - 'div', - { className: 'acms-admin-form-radio' }, - e.createElement('input', { - type: 'radio', - value: 'customfield', - id: 'input-radio-mode-normal', - checked: 'customfield' === t, - onChange: a, - }), - e.createElement( - 'label', - { htmlFor: 'input-radio-mode-normal' }, - e.createElement('i', { className: 'acms-admin-ico-radio' }), - 'カスタムフィールド' - ) - ), - e.createElement( - 'div', - { className: 'acms-admin-form-radio' }, - e.createElement('input', { - type: 'radio', - value: 'fieldgroup', - id: 'input-radio-mode-group', - checked: 'fieldgroup' === t, - onChange: a, - }), - e.createElement( - 'label', - { htmlFor: 'input-radio-mode-group' }, - e.createElement('i', { className: 'acms-admin-ico-radio' }), - 'カスタムフィールドグループ' - ) - ), - e.createElement( - 'div', - { className: 'acms-admin-form-radio' }, - e.createElement('input', { - type: 'radio', - value: 'customunit', - id: 'input-radio-mode-unit', - checked: 'customunit' === t, - onChange: a, - }), - e.createElement( - 'label', - { htmlFor: 'input-radio-mode-unit' }, - e.createElement('i', { className: 'acms-admin-ico-radio' }), - 'カスタムユニット' - ) - ), - e.createElement( - 'div', - { className: 'acms-admin-form-radio' }, - e.createElement('input', { - type: 'radio', - value: 'unitgroup', - id: 'input-radio-mode-unit-group', - checked: 'unitgroup' === t, - onChange: a, - }), - e.createElement( - 'label', - { htmlFor: 'input-radio-mode-unit-group' }, - e.createElement('i', { className: 'acms-admin-ico-radio' }), - 'カスタムユニット(フィールドグループ)' - ) - ) - ); - } - var d = n(942), - p = n.n(d); - function f() { - const { - setEditMode: t, - preview: { editMode: n }, - } = u(), - a = (e) => { - t(e); - }; - return e.createElement( - 'ul', - { className: 'customFieldTabs' }, - e.createElement( - 'li', - null, - e.createElement( - 'a', - { href: '#source', className: p()({ customFieldTabActive: 'source' === n }), onClick: () => a('source') }, - '入力用コード' - ) - ), - e.createElement( - 'li', - null, - e.createElement( - 'a', - { - href: '#preview', - className: p()({ customFieldTabActive: 'preview' === n }), - onClick: () => a('preview'), - }, - '入力用プレビュー' - ) - ), - e.createElement( - 'li', - null, - e.createElement( - 'a', - { - href: '#confirm', - className: p()({ customFieldTabActive: 'confirm' === n }), - onClick: () => a('confirm'), - }, - '出力用コード' - ) - ) - ); - } - var h = n(556), - g = n.n(h), - v = - ('undefined' != typeof crypto && crypto.getRandomValues && crypto.getRandomValues.bind(crypto)) || - ('undefined' != typeof msCrypto && - 'function' == typeof msCrypto.getRandomValues && - msCrypto.getRandomValues.bind(msCrypto)), - b = new Uint8Array(16); - function E() { - if (!v) - throw new Error( - 'crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported' - ); - return v(b); - } - for (var y = [], x = 0; x < 256; ++x) y[x] = (x + 256).toString(16).substr(1); - var _ = function (e, t, n) { - var a = (t && n) || 0; - 'string' == typeof e && ((t = 'binary' === e ? new Array(16) : null), (e = null)); - var r = (e = e || {}).random || (e.rng || E)(); - if (((r[6] = (15 & r[6]) | 64), (r[8] = (63 & r[8]) | 128), t)) for (var l = 0; l < 16; ++l) t[a + l] = r[l]; - return ( - t || - (function (e, t) { - var n = t || 0, - a = y; - return [ - a[e[n++]], - a[e[n++]], - a[e[n++]], - a[e[n++]], - '-', - a[e[n++]], - a[e[n++]], - '-', - a[e[n++]], - a[e[n++]], - '-', - a[e[n++]], - a[e[n++]], - '-', - a[e[n++]], - a[e[n++]], - a[e[n++]], - a[e[n++]], - a[e[n++]], - a[e[n++]], - ].join(''); - })(r) - ); - }; - function w(e, t) { - var n = Object.keys(e); - if (Object.getOwnPropertySymbols) { - var a = Object.getOwnPropertySymbols(e); - t && - (a = a.filter(function (t) { - return Object.getOwnPropertyDescriptor(e, t).enumerable; - })), - n.push.apply(n, a); - } - return n; - } - function k(e) { - for (var t = 1; t < arguments.length; t++) { - var n = null != arguments[t] ? arguments[t] : {}; - t % 2 - ? w(Object(n), !0).forEach(function (t) { - N(e, t, n[t]); - }) - : Object.getOwnPropertyDescriptors - ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) - : w(Object(n)).forEach(function (t) { - Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t)); - }); - } - return e; - } - function S(e, t) { - for (var n = 0; n < t.length; n++) { - var a = t[n]; - (a.enumerable = a.enumerable || !1), - (a.configurable = !0), - 'value' in a && (a.writable = !0), - Object.defineProperty(e, a.key, a); - } - } - function N(e, t, n) { - return ( - t in e - ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) - : (e[t] = n), - e - ); - } - function T() { - return ( - (T = Object.assign - ? Object.assign.bind() - : function (e) { - for (var t = 1; t < arguments.length; t++) { - var n = arguments[t]; - for (var a in n) Object.prototype.hasOwnProperty.call(n, a) && (e[a] = n[a]); - } - return e; - }), - T.apply(this, arguments) - ); - } - function C(e) { - return ( - (C = Object.setPrototypeOf - ? Object.getPrototypeOf.bind() - : function (e) { - return e.__proto__ || Object.getPrototypeOf(e); - }), - C(e) - ); - } - function F(e, t) { - return ( - (F = Object.setPrototypeOf - ? Object.setPrototypeOf.bind() - : function (e, t) { - return (e.__proto__ = t), e; - }), - F(e, t) - ); - } - function R(e) { - var t = (function () { - if ('undefined' == typeof Reflect || !Reflect.construct) return !1; - if (Reflect.construct.sham) return !1; - if ('function' == typeof Proxy) return !0; - try { - return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})), !0; - } catch (e) { - return !1; - } - })(); - return function () { - var n, - a = C(e); - if (t) { - var r = C(this).constructor; - n = Reflect.construct(a, arguments, r); - } else n = a.apply(this, arguments); - return (function (e, t) { - if (t && ('object' == typeof t || 'function' == typeof t)) return t; - if (void 0 !== t) throw new TypeError('Derived constructors may only return object or undefined'); - return (function (e) { - if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); - return e; - })(e); - })(this, n); - }; - } - function I(e, t) { - (null == t || t > e.length) && (t = e.length); - for (var n = 0, a = new Array(t); n < t; n++) a[n] = e[n]; - return a; - } - var A = - 'undefined' != typeof globalThis - ? globalThis - : 'undefined' != typeof window - ? window - : void 0 !== n.g - ? n.g - : 'undefined' != typeof self - ? self - : {}, - O = function (e) { - return e && e.Math == Math && e; - }, - D = - O('object' == typeof globalThis && globalThis) || - O('object' == typeof window && window) || - O('object' == typeof self && self) || - O('object' == typeof A && A) || - (function () { - return this; - })() || - Function('return this')(), - L = {}, - P = function (e) { - try { - return !!e(); - } catch (e) { - return !0; - } - }, - j = !P(function () { - return ( - 7 != - Object.defineProperty({}, 1, { - get: function () { - return 7; - }, - })[1] - ); - }), - z = !P(function () { - var e = function () {}.bind(); - return 'function' != typeof e || e.hasOwnProperty('prototype'); - }), - M = z, - B = Function.prototype.call, - q = M - ? B.bind(B) - : function () { - return B.apply(B, arguments); - }, - V = {}, - U = {}.propertyIsEnumerable, - H = Object.getOwnPropertyDescriptor, - K = H && !U.call({ 1: 2 }, 1); - V.f = K - ? function (e) { - var t = H(this, e); - return !!t && t.enumerable; - } - : U; - var G, - W, - $ = function (e, t) { - return { enumerable: !(1 & e), configurable: !(2 & e), writable: !(4 & e), value: t }; - }, - X = z, - Y = Function.prototype, - Q = Y.call, - Z = X && Y.bind.bind(Q, Q), - J = function (e) { - return X - ? Z(e) - : function () { - return Q.apply(e, arguments); - }; - }, - ee = J, - te = ee({}.toString), - ne = ee(''.slice), - ae = function (e) { - return ne(te(e), 8, -1); - }, - re = ae, - le = J, - ie = function (e) { - if ('Function' === re(e)) return le(e); - }, - oe = P, - ce = ae, - se = Object, - ue = ie(''.split), - me = oe(function () { - return !se('z').propertyIsEnumerable(0); - }) - ? function (e) { - return 'String' == ce(e) ? ue(e, '') : se(e); - } - : se, - de = function (e) { - return null == e; - }, - pe = de, - fe = TypeError, - he = function (e) { - if (pe(e)) throw fe("Can't call method on " + e); - return e; - }, - ge = me, - ve = he, - be = function (e) { - return ge(ve(e)); - }, - Ee = 'object' == typeof document && document.all, - ye = { all: Ee, IS_HTMLDDA: void 0 === Ee && void 0 !== Ee }, - xe = ye.all, - _e = ye.IS_HTMLDDA - ? function (e) { - return 'function' == typeof e || e === xe; - } - : function (e) { - return 'function' == typeof e; - }, - we = _e, - ke = ye.all, - Se = ye.IS_HTMLDDA - ? function (e) { - return 'object' == typeof e ? null !== e : we(e) || e === ke; - } - : function (e) { - return 'object' == typeof e ? null !== e : we(e); - }, - Ne = D, - Te = _e, - Ce = function (e, t) { - return arguments.length < 2 ? ((n = Ne[e]), Te(n) ? n : void 0) : Ne[e] && Ne[e][t]; - var n; - }, - Fe = ie({}.isPrototypeOf), - Re = D, - Ie = Ce('navigator', 'userAgent') || '', - Ae = Re.process, - Oe = Re.Deno, - De = (Ae && Ae.versions) || (Oe && Oe.version), - Le = De && De.v8; - Le && (W = (G = Le.split('.'))[0] > 0 && G[0] < 4 ? 1 : +(G[0] + G[1])), - !W && Ie && (!(G = Ie.match(/Edge\/(\d+)/)) || G[1] >= 74) && (G = Ie.match(/Chrome\/(\d+)/)) && (W = +G[1]); - var Pe = W, - je = P, - ze = - !!Object.getOwnPropertySymbols && - !je(function () { - var e = Symbol(); - return !String(e) || !(Object(e) instanceof Symbol) || (!Symbol.sham && Pe && Pe < 41); - }), - Me = ze && !Symbol.sham && 'symbol' == typeof Symbol.iterator, - Be = Ce, - qe = _e, - Ve = Fe, - Ue = Object, - He = Me - ? function (e) { - return 'symbol' == typeof e; - } - : function (e) { - var t = Be('Symbol'); - return qe(t) && Ve(t.prototype, Ue(e)); - }, - Ke = String, - Ge = _e, - We = TypeError, - $e = function (e) { - if (Ge(e)) return e; - throw We( - (function (e) { - try { - return Ke(e); - } catch (e) { - return 'Object'; - } - })(e) + ' is not a function' - ); - }, - Xe = $e, - Ye = de, - Qe = q, - Ze = _e, - Je = Se, - et = TypeError, - tt = { exports: {} }, - nt = D, - at = Object.defineProperty, - rt = function (e, t) { - try { - at(nt, e, { value: t, configurable: !0, writable: !0 }); - } catch (n) { - nt[e] = t; - } - return t; - }, - lt = rt, - it = '__core-js_shared__', - ot = D[it] || lt(it, {}), - ct = ot; - (tt.exports = function (e, t) { - return ct[e] || (ct[e] = void 0 !== t ? t : {}); - })('versions', []).push({ - version: '3.25.5', - mode: 'global', - copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)', - license: 'https://github.com/zloirock/core-js/blob/v3.25.5/LICENSE', - source: 'https://github.com/zloirock/core-js', - }); - var st = he, - ut = Object, - mt = function (e) { - return ut(st(e)); - }, - dt = mt, - pt = ie({}.hasOwnProperty), - ft = - Object.hasOwn || - function (e, t) { - return pt(dt(e), t); - }, - ht = ie, - gt = 0, - vt = Math.random(), - bt = ht((1).toString), - Et = function (e) { - return 'Symbol(' + (void 0 === e ? '' : e) + ')_' + bt(++gt + vt, 36); - }, - yt = D, - xt = tt.exports, - _t = ft, - wt = Et, - kt = ze, - St = Me, - Nt = xt('wks'), - Tt = yt.Symbol, - Ct = Tt && Tt.for, - Ft = St ? Tt : (Tt && Tt.withoutSetter) || wt, - Rt = function (e) { - if (!_t(Nt, e) || (!kt && 'string' != typeof Nt[e])) { - var t = 'Symbol.' + e; - kt && _t(Tt, e) ? (Nt[e] = Tt[e]) : (Nt[e] = St && Ct ? Ct(t) : Ft(t)); - } - return Nt[e]; - }, - It = q, - At = Se, - Ot = He, - Dt = TypeError, - Lt = Rt('toPrimitive'), - Pt = function (e, t) { - if (!At(e) || Ot(e)) return e; - var n, - a, - r = ((a = e[Lt]), Ye(a) ? void 0 : Xe(a)); - if (r) { - if ((void 0 === t && (t = 'default'), (n = It(r, e, t)), !At(n) || Ot(n))) return n; - throw Dt("Can't convert object to primitive value"); - } - return ( - void 0 === t && (t = 'number'), - (function (e, t) { - var n, a; - if ('string' === t && Ze((n = e.toString)) && !Je((a = Qe(n, e)))) return a; - if (Ze((n = e.valueOf)) && !Je((a = Qe(n, e)))) return a; - if ('string' !== t && Ze((n = e.toString)) && !Je((a = Qe(n, e)))) return a; - throw et("Can't convert object to primitive value"); - })(e, t) - ); - }, - jt = He, - zt = function (e) { - var t = Pt(e, 'string'); - return jt(t) ? t : t + ''; - }, - Mt = Se, - Bt = D.document, - qt = Mt(Bt) && Mt(Bt.createElement), - Vt = function (e) { - return qt ? Bt.createElement(e) : {}; - }, - Ut = Vt, - Ht = - !j && - !P(function () { - return ( - 7 != - Object.defineProperty(Ut('div'), 'a', { - get: function () { - return 7; - }, - }).a - ); - }), - Kt = j, - Gt = q, - Wt = V, - $t = $, - Xt = be, - Yt = zt, - Qt = ft, - Zt = Ht, - Jt = Object.getOwnPropertyDescriptor; - L.f = Kt - ? Jt - : function (e, t) { - if (((e = Xt(e)), (t = Yt(t)), Zt)) - try { - return Jt(e, t); - } catch (e) {} - if (Qt(e, t)) return $t(!Gt(Wt.f, e, t), e[t]); - }; - var en = {}, - tn = - j && - P(function () { - return 42 != Object.defineProperty(function () {}, 'prototype', { value: 42, writable: !1 }).prototype; - }), - nn = Se, - an = String, - rn = TypeError, - ln = function (e) { - if (nn(e)) return e; - throw rn(an(e) + ' is not an object'); - }, - on = j, - cn = Ht, - sn = tn, - un = ln, - mn = zt, - dn = TypeError, - pn = Object.defineProperty, - fn = Object.getOwnPropertyDescriptor, - hn = 'enumerable', - gn = 'configurable', - vn = 'writable'; - en.f = on - ? sn - ? function (e, t, n) { - if ( - (un(e), - (t = mn(t)), - un(n), - 'function' == typeof e && 'prototype' === t && 'value' in n && vn in n && !n[vn]) - ) { - var a = fn(e, t); - a && - a[vn] && - ((e[t] = n.value), - (n = { configurable: gn in n ? n[gn] : a[gn], enumerable: hn in n ? n[hn] : a[hn], writable: !1 })); - } - return pn(e, t, n); - } - : pn - : function (e, t, n) { - if ((un(e), (t = mn(t)), un(n), cn)) - try { - return pn(e, t, n); - } catch (e) {} - if ('get' in n || 'set' in n) throw dn('Accessors not supported'); - return 'value' in n && (e[t] = n.value), e; - }; - var bn = en, - En = $, - yn = j - ? function (e, t, n) { - return bn.f(e, t, En(1, n)); - } - : function (e, t, n) { - return (e[t] = n), e; - }, - xn = { exports: {} }, - _n = j, - wn = ft, - kn = Function.prototype, - Sn = _n && Object.getOwnPropertyDescriptor, - Nn = wn(kn, 'name'), - Tn = { - EXISTS: Nn, - PROPER: Nn && 'something' === function () {}.name, - CONFIGURABLE: Nn && (!_n || (_n && Sn(kn, 'name').configurable)), - }, - Cn = _e, - Fn = ot, - Rn = ie(Function.toString); - Cn(Fn.inspectSource) || - (Fn.inspectSource = function (e) { - return Rn(e); - }); - var In, - An, - On, - Dn = Fn.inspectSource, - Ln = _e, - Pn = D.WeakMap, - jn = Ln(Pn) && /native code/.test(String(Pn)), - zn = tt.exports, - Mn = Et, - Bn = zn('keys'), - qn = function (e) { - return Bn[e] || (Bn[e] = Mn(e)); - }, - Vn = {}, - Un = jn, - Hn = D, - Kn = Se, - Gn = yn, - Wn = ft, - $n = ot, - Xn = qn, - Yn = Vn, - Qn = 'Object already initialized', - Zn = Hn.TypeError, - Jn = Hn.WeakMap; - if (Un || $n.state) { - var ea = $n.state || ($n.state = new Jn()); - (ea.get = ea.get), - (ea.has = ea.has), - (ea.set = ea.set), - (In = function (e, t) { - if (ea.has(e)) throw Zn(Qn); - return (t.facade = e), ea.set(e, t), t; - }), - (An = function (e) { - return ea.get(e) || {}; - }), - (On = function (e) { - return ea.has(e); - }); - } else { - var ta = Xn('state'); - (Yn[ta] = !0), - (In = function (e, t) { - if (Wn(e, ta)) throw Zn(Qn); - return (t.facade = e), Gn(e, ta, t), t; - }), - (An = function (e) { - return Wn(e, ta) ? e[ta] : {}; - }), - (On = function (e) { - return Wn(e, ta); - }); - } - var na = { - set: In, - get: An, - has: On, - enforce: function (e) { - return On(e) ? An(e) : In(e, {}); - }, - getterFor: function (e) { - return function (t) { - var n; - if (!Kn(t) || (n = An(t)).type !== e) throw Zn('Incompatible receiver, ' + e + ' required'); - return n; - }; - }, - }, - aa = P, - ra = _e, - la = ft, - ia = j, - oa = Tn.CONFIGURABLE, - ca = Dn, - sa = na.enforce, - ua = na.get, - ma = Object.defineProperty, - da = - ia && - !aa(function () { - return 8 !== ma(function () {}, 'length', { value: 8 }).length; - }), - pa = String(String).split('String'), - fa = (xn.exports = function (e, t, n) { - 'Symbol(' === String(t).slice(0, 7) && (t = '[' + String(t).replace(/^Symbol\(([^)]*)\)/, '$1') + ']'), - n && n.getter && (t = 'get ' + t), - n && n.setter && (t = 'set ' + t), - (!la(e, 'name') || (oa && e.name !== t)) && - (ia ? ma(e, 'name', { value: t, configurable: !0 }) : (e.name = t)), - da && n && la(n, 'arity') && e.length !== n.arity && ma(e, 'length', { value: n.arity }); - try { - n && la(n, 'constructor') && n.constructor - ? ia && ma(e, 'prototype', { writable: !1 }) - : e.prototype && (e.prototype = void 0); - } catch (e) {} - var a = sa(e); - return la(a, 'source') || (a.source = pa.join('string' == typeof t ? t : '')), e; - }); - Function.prototype.toString = fa(function () { - return (ra(this) && ua(this).source) || ca(this); - }, 'toString'); - var ha = _e, - ga = en, - va = xn.exports, - ba = rt, - Ea = {}, - ya = Math.ceil, - xa = Math.floor, - _a = - Math.trunc || - function (e) { - var t = +e; - return (t > 0 ? xa : ya)(t); - }, - wa = function (e) { - var t = +e; - return t != t || 0 === t ? 0 : _a(t); - }, - ka = wa, - Sa = Math.max, - Na = Math.min, - Ta = wa, - Ca = Math.min, - Fa = function (e) { - return (t = e.length) > 0 ? Ca(Ta(t), 9007199254740991) : 0; - var t; - }, - Ra = be, - Ia = Fa, - Aa = function (e) { - return function (t, n, a) { - var r, - l = Ra(t), - i = Ia(l), - o = (function (e, t) { - var n = ka(e); - return n < 0 ? Sa(n + t, 0) : Na(n, t); - })(a, i); - if (e && n != n) { - for (; i > o; ) if ((r = l[o++]) != r) return !0; - } else for (; i > o; o++) if ((e || o in l) && l[o] === n) return e || o || 0; - return !e && -1; - }; - }, - Oa = { includes: Aa(!0), indexOf: Aa(!1) }, - Da = ft, - La = be, - Pa = Oa.indexOf, - ja = Vn, - za = ie([].push), - Ma = function (e, t) { - var n, - a = La(e), - r = 0, - l = []; - for (n in a) !Da(ja, n) && Da(a, n) && za(l, n); - for (; t.length > r; ) Da(a, (n = t[r++])) && (~Pa(l, n) || za(l, n)); - return l; - }, - Ba = [ - 'constructor', - 'hasOwnProperty', - 'isPrototypeOf', - 'propertyIsEnumerable', - 'toLocaleString', - 'toString', - 'valueOf', - ], - qa = Ma, - Va = Ba.concat('length', 'prototype'); - Ea.f = - Object.getOwnPropertyNames || - function (e) { - return qa(e, Va); - }; - var Ua = {}; - Ua.f = Object.getOwnPropertySymbols; - var Ha = Ce, - Ka = Ea, - Ga = Ua, - Wa = ln, - $a = ie([].concat), - Xa = - Ha('Reflect', 'ownKeys') || - function (e) { - var t = Ka.f(Wa(e)), - n = Ga.f; - return n ? $a(t, n(e)) : t; - }, - Ya = ft, - Qa = Xa, - Za = L, - Ja = en, - er = P, - tr = _e, - nr = /#|\.prototype\./, - ar = function (e, t) { - var n = lr[rr(e)]; - return n == or || (n != ir && (tr(t) ? er(t) : !!t)); - }, - rr = (ar.normalize = function (e) { - return String(e).replace(nr, '.').toLowerCase(); - }), - lr = (ar.data = {}), - ir = (ar.NATIVE = 'N'), - or = (ar.POLYFILL = 'P'), - cr = ar, - sr = D, - ur = L.f, - mr = yn, - dr = function (e, t, n, a) { - a || (a = {}); - var r = a.enumerable, - l = void 0 !== a.name ? a.name : t; - if ((ha(n) && va(n, l, a), a.global)) r ? (e[t] = n) : ba(t, n); - else { - try { - a.unsafe ? e[t] && (r = !0) : delete e[t]; - } catch (e) {} - r - ? (e[t] = n) - : ga.f(e, t, { value: n, enumerable: !1, configurable: !a.nonConfigurable, writable: !a.nonWritable }); - } - return e; - }, - pr = rt, - fr = function (e, t, n) { - for (var a = Qa(t), r = Ja.f, l = Za.f, i = 0; i < a.length; i++) { - var o = a[i]; - Ya(e, o) || (n && Ya(n, o)) || r(e, o, l(t, o)); - } - }, - hr = cr, - gr = $e, - vr = z, - br = ie(ie.bind), - Er = ae, - yr = - Array.isArray || - function (e) { - return 'Array' == Er(e); - }, - xr = {}; - xr[Rt('toStringTag')] = 'z'; - var _r = '[object z]' === String(xr), - wr = _e, - kr = ae, - Sr = Rt('toStringTag'), - Nr = Object, - Tr = - 'Arguments' == - kr( - (function () { - return arguments; - })() - ), - Cr = ie, - Fr = P, - Rr = _e, - Ir = _r - ? kr - : function (e) { - var t, n, a; - return void 0 === e - ? 'Undefined' - : null === e - ? 'Null' - : 'string' == - typeof (n = (function (e, t) { - try { - return e[t]; - } catch (e) {} - })((t = Nr(e)), Sr)) - ? n - : Tr - ? kr(t) - : 'Object' == (a = kr(t)) && wr(t.callee) - ? 'Arguments' - : a; - }, - Ar = Dn, - Or = function () {}, - Dr = [], - Lr = Ce('Reflect', 'construct'), - Pr = /^\s*(?:class|function)\b/, - jr = Cr(Pr.exec), - zr = !Pr.exec(Or), - Mr = function (e) { - if (!Rr(e)) return !1; - try { - return Lr(Or, Dr, e), !0; - } catch (e) { - return !1; - } - }, - Br = function (e) { - if (!Rr(e)) return !1; - switch (Ir(e)) { - case 'AsyncFunction': - case 'GeneratorFunction': - case 'AsyncGeneratorFunction': - return !1; - } - try { - return zr || !!jr(Pr, Ar(e)); - } catch (e) { - return !0; - } - }; - Br.sham = !0; - var qr = - !Lr || - Fr(function () { - var e; - return ( - Mr(Mr.call) || - !Mr(Object) || - !Mr(function () { - e = !0; - }) || - e - ); - }) - ? Br - : Mr, - Vr = yr, - Ur = qr, - Hr = Se, - Kr = Rt('species'), - Gr = Array, - Wr = me, - $r = mt, - Xr = Fa, - Yr = function (e, t) { - return new ((function (e) { - var t; - return ( - Vr(e) && - ((t = e.constructor), - ((Ur(t) && (t === Gr || Vr(t.prototype))) || (Hr(t) && null === (t = t[Kr]))) && (t = void 0)), - void 0 === t ? Gr : t - ); - })(e))(0 === t ? 0 : t); - }, - Qr = ie([].push), - Zr = function (e) { - var t = 1 == e, - n = 2 == e, - a = 3 == e, - r = 4 == e, - l = 6 == e, - i = 7 == e, - o = 5 == e || l; - return function (c, s, u, m) { - for ( - var d, - p, - f = $r(c), - h = Wr(f), - g = (function (e, t) { - return ( - gr(e), - void 0 === t - ? e - : vr - ? br(e, t) - : function () { - return e.apply(t, arguments); - } - ); - })(s, u), - v = Xr(h), - b = 0, - E = m || Yr, - y = t ? E(c, v) : n || i ? E(c, 0) : void 0; - v > b; - b++ - ) - if ((o || b in h) && ((p = g((d = h[b]), b, f)), e)) - if (t) y[b] = p; - else if (p) - switch (e) { - case 3: - return !0; - case 5: - return d; - case 6: - return b; - case 2: - Qr(y, d); - } - else - switch (e) { - case 4: - return !1; - case 7: - Qr(y, d); - } - return l ? -1 : a || r ? r : y; - }; - }, - Jr = { - forEach: Zr(0), - map: Zr(1), - filter: Zr(2), - some: Zr(3), - every: Zr(4), - find: Zr(5), - findIndex: Zr(6), - filterReject: Zr(7), - }, - el = {}, - tl = Ma, - nl = Ba, - al = - Object.keys || - function (e) { - return tl(e, nl); - }, - rl = j, - ll = tn, - il = en, - ol = ln, - cl = be, - sl = al; - el.f = - rl && !ll - ? Object.defineProperties - : function (e, t) { - ol(e); - for (var n, a = cl(t), r = sl(t), l = r.length, i = 0; l > i; ) il.f(e, (n = r[i++]), a[n]); - return e; - }; - var ul, - ml = Ce('document', 'documentElement'), - dl = ln, - pl = el, - fl = Ba, - hl = Vn, - gl = ml, - vl = Vt, - bl = 'prototype', - El = 'script', - yl = qn('IE_PROTO'), - xl = function () {}, - _l = function (e) { - return '<' + El + '>' + e + ''; - }, - wl = function (e) { - e.write(_l('')), e.close(); - var t = e.parentWindow.Object; - return (e = null), t; - }, - kl = function () { - try { - ul = new ActiveXObject('htmlfile'); - } catch (e) {} - var e, t, n; - kl = - 'undefined' != typeof document - ? document.domain && ul - ? wl(ul) - : ((t = vl('iframe')), - (n = 'java' + El + ':'), - (t.style.display = 'none'), - gl.appendChild(t), - (t.src = String(n)), - (e = t.contentWindow.document).open(), - e.write(_l('document.F=Object')), - e.close(), - e.F) - : wl(ul); - for (var a = fl.length; a--; ) delete kl[bl][fl[a]]; - return kl(); - }; - hl[yl] = !0; - var Sl = Rt, - Nl = - Object.create || - function (e, t) { - var n; - return ( - null !== e ? ((xl[bl] = dl(e)), (n = new xl()), (xl[bl] = null), (n[yl] = e)) : (n = kl()), - void 0 === t ? n : pl.f(n, t) - ); - }, - Tl = en.f, - Cl = Sl('unscopables'), - Fl = Array.prototype; - null == Fl[Cl] && Tl(Fl, Cl, { configurable: !0, value: Nl(null) }); - var Rl, - Il = Jr.find, - Al = 'find', - Ol = !0; - Al in [] && - Array(1)[Al](function () { - Ol = !1; - }), - (function (e, t) { - var n, - a, - r, - l, - i, - o = e.target, - c = e.global, - s = e.stat; - if ((n = c ? sr : s ? sr[o] || pr(o, {}) : (sr[o] || {}).prototype)) - for (a in t) { - if ( - ((l = t[a]), - (r = e.dontCallGetSet ? (i = ur(n, a)) && i.value : n[a]), - !hr(c ? a : o + (s ? '.' : '#') + a, e.forced) && void 0 !== r) - ) { - if (typeof l == typeof r) continue; - fr(l, r); - } - (e.sham || (r && r.sham)) && mr(l, 'sham', !0), dr(n, a, l, e); - } - })( - { target: 'Array', proto: !0, forced: Ol }, - { - find: function (e) { - return Il(this, e, arguments.length > 1 ? arguments[1] : void 0); - }, - } - ), - (Rl = Al), - (Fl[Cl][Rl] = !0); - var Dl = '__react_tooltip_hide_event', - Ll = '__react_tooltip_rebuild_event', - Pl = '__react_tooltip_show_event', - jl = function (e, t) { - var n; - 'function' == typeof window.CustomEvent - ? (n = new window.CustomEvent(e, { detail: t })) - : (n = document.createEvent('Event')).initEvent(e, !1, !0, t), - window.dispatchEvent(n); - }, - zl = function (e, t) { - var n = this.state.show, - a = this.props.id, - r = this.isCapture(t.currentTarget), - l = t.currentTarget.getAttribute('currentItem'); - r || t.stopPropagation(), - n && 'true' === l - ? e || this.hideTooltip(t) - : (t.currentTarget.setAttribute('currentItem', 'true'), - Ml(t.currentTarget, this.getTargetArray(a)), - this.showTooltip(t)); - }, - Ml = function (e, t) { - for (var n = 0; n < t.length; n++) - e !== t[n] ? t[n].setAttribute('currentItem', 'false') : t[n].setAttribute('currentItem', 'true'); - }, - Bl = { - id: '9b69f92e-d3fe-498b-b1b4-c5e63a51b0cf', - set: function (e, t, n) { - this.id in e - ? (e[this.id][t] = n) - : Object.defineProperty(e, this.id, { configurable: !0, value: N({}, t, n) }); - }, - get: function (e, t) { - var n = e[this.id]; - if (void 0 !== n) return n[t]; - }, - }, - ql = function (e, t, n) { - for ( - var a, - r, - l = t.respectEffect, - i = void 0 !== l && l, - o = t.customEvent, - c = void 0 !== o && o, - s = this.props.id, - u = null, - m = n.target; - null === u && null !== m; - - ) - (r = m), - (u = m.getAttribute('data-tip') || null), - (a = m.getAttribute('data-for') || null), - (m = m.parentElement); - if (((m = r || n.target), !this.isCustomEvent(m) || c)) { - var d = (null == s && null == a) || a === s; - if (null != u && (!i || 'float' === this.getEffect(m)) && d) { - var p = (function (e) { - var t = {}; - for (var n in e) 'function' == typeof e[n] ? (t[n] = e[n].bind(e)) : (t[n] = e[n]); - return t; - })(n); - (p.currentTarget = m), e(p); - } - } - }, - Vl = function (e, t) { - var n = {}; - return ( - e.forEach(function (e) { - var a = e.getAttribute(t); - a && - a.split(' ').forEach(function (e) { - return (n[e] = !0); - }); - }), - n - ); - }, - Ul = function () { - return document.getElementsByTagName('body')[0]; - }; - function Hl(e, t, n, a, r, l, i) { - var o, - c = Kl(n), - s = c.width, - u = c.height, - m = Kl(t), - d = m.width, - p = m.height, - f = Gl(e, t, l), - h = f.mouseX, - g = f.mouseY, - v = Wl(l, d, p, s, u), - b = $l(i), - E = b.extraOffsetX, - y = b.extraOffsetY, - x = window.innerWidth, - _ = window.innerHeight, - w = Xl(n), - k = w.parentTop, - S = w.parentLeft, - N = function (e) { - var t = v[e].l; - return h + t + E; - }, - T = function (e) { - var t = v[e].t; - return g + t + y; - }, - C = function (e) { - return ( - (function (e) { - return N(e) < 0; - })(e) || - (function (e) { - return ( - (function (e) { - var t = v[e].r; - return h + t + E; - })(e) > x - ); - })(e) || - (function (e) { - return T(e) < 0; - })(e) || - (function (e) { - return ( - (function (e) { - var t = v[e].b; - return g + t + y; - })(e) > _ - ); - })(e) - ); - }, - F = function (e) { - return !C(e); - }, - R = { top: F('top'), bottom: F('bottom'), left: F('left'), right: F('right') }, - A = (function () { - var e, - t = (function (e, t) { - var n = ('undefined' != typeof Symbol && e[Symbol.iterator]) || e['@@iterator']; - if (!n) { - if ( - Array.isArray(e) || - (n = (function (e, t) { - if (e) { - if ('string' == typeof e) return I(e, t); - var n = Object.prototype.toString.call(e).slice(8, -1); - return ( - 'Object' === n && e.constructor && (n = e.constructor.name), - 'Map' === n || 'Set' === n - ? Array.from(e) - : 'Arguments' === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) - ? I(e, t) - : void 0 - ); - } - })(e)) || - (t && e && 'number' == typeof e.length) - ) { - n && (e = n); - var a = 0, - r = function () {}; - return { - s: r, - n: function () { - return a >= e.length ? { done: !0 } : { done: !1, value: e[a++] }; - }, - e: function (e) { - throw e; - }, - f: r, - }; - } - throw new TypeError( - 'Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.' - ); - } - var l, - i = !0, - o = !1; - return { - s: function () { - n = n.call(e); - }, - n: function () { - var e = n.next(); - return (i = e.done), e; - }, - e: function (e) { - (o = !0), (l = e); - }, - f: function () { - try { - i || null == n.return || n.return(); - } finally { - if (o) throw l; - } - }, - }; - })(r.split(',').concat(a, ['top', 'bottom', 'left', 'right'])); - try { - for (t.s(); !(e = t.n()).done; ) { - var n = e.value; - if (R[n]) return n; - } - } catch (e) { - t.e(e); - } finally { - t.f(); - } - return a; - })(), - O = !1; - return ( - A && A !== a && ((O = !0), (o = A)), - O - ? { isNewState: !0, newState: { place: o } } - : { isNewState: !1, position: { left: parseInt(N(a) - S, 10), top: parseInt(T(a) - k, 10) } } - ); - } - var Kl = function (e) { - var t = e.getBoundingClientRect(), - n = t.height, - a = t.width; - return { height: parseInt(n, 10), width: parseInt(a, 10) }; - }, - Gl = function (e, t, n) { - var a = t.getBoundingClientRect(), - r = a.top, - l = a.left, - i = Kl(t), - o = i.width, - c = i.height; - return 'float' === n ? { mouseX: e.clientX, mouseY: e.clientY } : { mouseX: l + o / 2, mouseY: r + c / 2 }; - }, - Wl = function (e, t, n, a, r) { - var l, i, o, c; - return ( - 'float' === e - ? ((l = { l: -a / 2, r: a / 2, t: -(r + 3 + 2), b: -3 }), - (o = { l: -a / 2, r: a / 2, t: 15, b: r + 3 + 2 + 12 }), - (c = { l: -(a + 3 + 2), r: -3, t: -r / 2, b: r / 2 }), - (i = { l: 3, r: a + 3 + 2, t: -r / 2, b: r / 2 })) - : 'solid' === e && - ((l = { l: -a / 2, r: a / 2, t: -(n / 2 + r + 2), b: -n / 2 }), - (o = { l: -a / 2, r: a / 2, t: n / 2, b: n / 2 + r + 2 }), - (c = { l: -(a + t / 2 + 2), r: -t / 2, t: -r / 2, b: r / 2 }), - (i = { l: t / 2, r: a + t / 2 + 2, t: -r / 2, b: r / 2 })), - { top: l, bottom: o, left: c, right: i } - ); - }, - $l = function (e) { - var t = 0, - n = 0; - for (var a in ('[object String]' === Object.prototype.toString.apply(e) && - (e = JSON.parse(e.toString().replace(/'/g, '"'))), - e)) - 'top' === a - ? (n -= parseInt(e[a], 10)) - : 'bottom' === a - ? (n += parseInt(e[a], 10)) - : 'left' === a - ? (t -= parseInt(e[a], 10)) - : 'right' === a && (t += parseInt(e[a], 10)); - return { extraOffsetX: t, extraOffsetY: n }; - }, - Xl = function (e) { - for (var t = e; t; ) { - var n = window.getComputedStyle(t); - if ('none' !== n.getPropertyValue('transform') || 'transform' === n.getPropertyValue('will-change')) break; - t = t.parentElement; - } - return { - parentTop: (t && t.getBoundingClientRect().top) || 0, - parentLeft: (t && t.getBoundingClientRect().left) || 0, - }; - }; - function Yl(t, n, a, r) { - if (n) return n; - if (null != a) return a; - if (null === a) return null; - var l = //; - return r && 'false' !== r && l.test(t) - ? t.split(l).map(function (t, n) { - return e.createElement('span', { key: n, className: 'multi-line' }, t); - }) - : t; - } - function Ql(e) { - var t = {}; - return ( - Object.keys(e) - .filter(function (e) { - return /(^aria-\w+$|^role$)/.test(e); - }) - .forEach(function (n) { - t[n] = e[n]; - }), - t - ); - } - function Zl(e) { - var t = e.length; - return e.hasOwnProperty - ? Array.prototype.slice.call(e) - : new Array(t).fill().map(function (t) { - return e[t]; - }); - } - var Jl, - ei, - ti = { - dark: { text: '#fff', background: '#222', border: 'transparent', arrow: '#222' }, - success: { text: '#fff', background: '#8DC572', border: 'transparent', arrow: '#8DC572' }, - warning: { text: '#fff', background: '#F0AD4E', border: 'transparent', arrow: '#F0AD4E' }, - error: { text: '#fff', background: '#BE6464', border: 'transparent', arrow: '#BE6464' }, - info: { text: '#fff', background: '#337AB7', border: 'transparent', arrow: '#337AB7' }, - light: { text: '#222', background: '#fff', border: 'transparent', arrow: '#fff' }, - }, - ni = { tooltip: 3, arrow: 0 }; - var ai, - ri = - (function (e) { - (e.hide = function (e) { - jl(Dl, { target: e }); - }), - (e.rebuild = function () { - jl(Ll); - }), - (e.show = function (e) { - jl(Pl, { target: e }); - }), - (e.prototype.globalRebuild = function () { - this.mount && (this.unbindListener(), this.bindListener()); - }), - (e.prototype.globalShow = function (e) { - if (this.mount) { - var t = !!(e && e.detail && e.detail.target); - this.showTooltip({ currentTarget: t && e.detail.target }, !0); - } - }), - (e.prototype.globalHide = function (e) { - if (this.mount) { - var t = !!(e && e.detail && e.detail.target); - this.hideTooltip({ currentTarget: t && e.detail.target }, t); - } - }); - })( - (Jl = - (function (e) { - (e.prototype.bindWindowEvents = function (e) { - window.removeEventListener(Dl, this.globalHide), - window.addEventListener(Dl, this.globalHide, !1), - window.removeEventListener(Ll, this.globalRebuild), - window.addEventListener(Ll, this.globalRebuild, !1), - window.removeEventListener(Pl, this.globalShow), - window.addEventListener(Pl, this.globalShow, !1), - e && - (window.removeEventListener('resize', this.onWindowResize), - window.addEventListener('resize', this.onWindowResize, !1)); - }), - (e.prototype.unbindWindowEvents = function () { - window.removeEventListener(Dl, this.globalHide), - window.removeEventListener(Ll, this.globalRebuild), - window.removeEventListener(Pl, this.globalShow), - window.removeEventListener('resize', this.onWindowResize); - }), - (e.prototype.onWindowResize = function () { - this.mount && this.hideTooltip(); - }); - })( - (Jl = - (function (e) { - (e.prototype.isCustomEvent = function (e) { - return this.state.event || !!e.getAttribute('data-event'); - }), - (e.prototype.customBindListener = function (e) { - var t = this, - n = this.state, - a = n.event, - r = n.eventOff, - l = e.getAttribute('data-event') || a, - i = e.getAttribute('data-event-off') || r; - l.split(' ').forEach(function (n) { - e.removeEventListener(n, Bl.get(e, n)); - var a = zl.bind(t, i); - Bl.set(e, n, a), e.addEventListener(n, a, !1); - }), - i && - i.split(' ').forEach(function (n) { - e.removeEventListener(n, t.hideTooltip), e.addEventListener(n, t.hideTooltip, !1); - }); - }), - (e.prototype.customUnbindListener = function (e) { - var t = this.state, - n = t.event, - a = t.eventOff, - r = n || e.getAttribute('data-event'), - l = a || e.getAttribute('data-event-off'); - e.removeEventListener(r, Bl.get(e, n)), l && e.removeEventListener(l, this.hideTooltip); - }); - })( - (Jl = - (function (e) { - e.prototype.isCapture = function (e) { - return (e && 'true' === e.getAttribute('data-iscapture')) || this.props.isCapture || !1; - }; - })( - (Jl = - (function (e) { - e.prototype.getEffect = function (e) { - return e.getAttribute('data-effect') || this.props.effect || 'float'; - }; - })( - (Jl = - (function (e) { - (e.prototype.isBodyMode = function () { - return !!this.props.bodyMode; - }), - (e.prototype.bindBodyListener = function (e) { - var t = this, - n = this.state, - a = n.event, - r = n.eventOff, - l = n.possibleCustomEvents, - i = n.possibleCustomEventsOff, - o = Ul(), - c = Vl(e, 'data-event'), - s = Vl(e, 'data-event-off'); - null != a && (c[a] = !0), - null != r && (s[r] = !0), - l.split(' ').forEach(function (e) { - return (c[e] = !0); - }), - i.split(' ').forEach(function (e) { - return (s[e] = !0); - }), - this.unbindBodyListener(o); - var u = (this.bodyModeListeners = {}); - for (var m in (null == a && - ((u.mouseover = ql.bind(this, this.showTooltip, {})), - (u.mousemove = ql.bind(this, this.updateTooltip, { respectEffect: !0 })), - (u.mouseout = ql.bind(this, this.hideTooltip, {}))), - c)) - u[m] = ql.bind( - this, - function (e) { - var n = e.currentTarget.getAttribute('data-event-off') || r; - zl.call(t, n, e); - }, - { customEvent: !0 } - ); - for (var d in s) u[d] = ql.bind(this, this.hideTooltip, { customEvent: !0 }); - for (var p in u) o.addEventListener(p, u[p]); - }), - (e.prototype.unbindBodyListener = function (e) { - e = e || Ul(); - var t = this.bodyModeListeners; - for (var n in t) e.removeEventListener(n, t[n]); - }); - })( - ((ei = (function (t) { - !(function (e, t) { - if ('function' != typeof t && null !== t) - throw new TypeError('Super expression must either be null or a function'); - (e.prototype = Object.create(t && t.prototype, { - constructor: { value: e, writable: !0, configurable: !0 }, - })), - Object.defineProperty(e, 'prototype', { writable: !1 }), - t && F(e, t); - })(i, t); - var n, - a, - r, - l = R(i); - function i(e) { - var t; - return ( - (function (e, t) { - if (!(e instanceof t)) throw new TypeError('Cannot call a class as a function'); - })(this, i), - ((t = l.call(this, e)).state = { - uuid: e.uuid || 't' + _(), - place: e.place || 'top', - desiredPlace: e.place || 'top', - type: e.type || 'dark', - effect: e.effect || 'float', - show: !1, - border: !1, - borderClass: 'border', - customColors: {}, - customRadius: {}, - offset: {}, - padding: e.padding, - extraClass: '', - html: !1, - delayHide: 0, - delayShow: 0, - event: e.event || null, - eventOff: e.eventOff || null, - currentEvent: null, - currentTarget: null, - ariaProps: Ql(e), - isEmptyTip: !1, - disable: !1, - possibleCustomEvents: e.possibleCustomEvents || '', - possibleCustomEventsOff: e.possibleCustomEventsOff || '', - originTooltip: null, - isMultiline: !1, - }), - t.bind([ - 'showTooltip', - 'updateTooltip', - 'hideTooltip', - 'hideTooltipOnScroll', - 'getTooltipContent', - 'globalRebuild', - 'globalShow', - 'globalHide', - 'onWindowResize', - 'mouseOnToolTip', - ]), - (t.mount = !0), - (t.delayShowLoop = null), - (t.delayHideLoop = null), - (t.delayReshow = null), - (t.intervalUpdateContent = null), - t - ); - } - return ( - (n = i), - (a = [ - { - key: 'bind', - value: function (e) { - var t = this; - e.forEach(function (e) { - t[e] = t[e].bind(t); - }); - }, - }, - { - key: 'componentDidMount', - value: function () { - var e = this.props; - e.insecure; - var t = e.resizeHide, - n = e.disableInternalStyle; - (this.mount = !0), - this.bindListener(), - this.bindWindowEvents(t), - n || this.injectStyles(); - }, - }, - { - key: 'componentWillUnmount', - value: function () { - (this.mount = !1), - this.clearTimer(), - this.unbindListener(), - this.removeScrollListener(this.state.currentTarget), - this.unbindWindowEvents(); - }, - }, - { - key: 'injectStyles', - value: function () { - var e = this.tooltipRef; - if (e) { - for (var t, n = e.parentNode; n.parentNode; ) n = n.parentNode; - switch (n.constructor.name) { - case 'Document': - case 'HTMLDocument': - case void 0: - t = n.head; - break; - default: - t = n; - } - if (!t.querySelector('style[data-react-tooltip]')) { - var a = document.createElement('style'); - (a.textContent = - '.__react_component_tooltip {\n border-radius: 3px;\n display: inline-block;\n font-size: 13px;\n left: -999em;\n opacity: 0;\n position: fixed;\n pointer-events: none;\n transition: opacity 0.3s ease-out;\n top: -999em;\n visibility: hidden;\n z-index: 999;\n}\n.__react_component_tooltip.allow_hover, .__react_component_tooltip.allow_click {\n pointer-events: auto;\n}\n.__react_component_tooltip::before, .__react_component_tooltip::after {\n content: "";\n width: 0;\n height: 0;\n position: absolute;\n}\n.__react_component_tooltip.show {\n opacity: 0.9;\n margin-top: 0;\n margin-left: 0;\n visibility: visible;\n}\n.__react_component_tooltip.place-top::before {\n bottom: 0;\n left: 50%;\n margin-left: -11px;\n}\n.__react_component_tooltip.place-bottom::before {\n top: 0;\n left: 50%;\n margin-left: -11px;\n}\n.__react_component_tooltip.place-left::before {\n right: 0;\n top: 50%;\n margin-top: -9px;\n}\n.__react_component_tooltip.place-right::before {\n left: 0;\n top: 50%;\n margin-top: -9px;\n}\n.__react_component_tooltip .multi-line {\n display: block;\n padding: 2px 0;\n text-align: center;\n}'), - a.setAttribute('data-react-tooltip', 'true'), - t.appendChild(a); - } - } - }, - }, - { - key: 'mouseOnToolTip', - value: function () { - return ( - !(!this.state.show || !this.tooltipRef) && - (this.tooltipRef.matches || - (this.tooltipRef.msMatchesSelector - ? (this.tooltipRef.matches = this.tooltipRef.msMatchesSelector) - : (this.tooltipRef.matches = this.tooltipRef.mozMatchesSelector)), - this.tooltipRef.matches(':hover')) - ); - }, - }, - { - key: 'getTargetArray', - value: function (e) { - var t, - n = []; - if (e) { - var a = e.replace(/\\/g, '\\\\').replace(/"/g, '\\"'); - t = '[data-tip][data-for="'.concat(a, '"]'); - } else t = '[data-tip]:not([data-for])'; - return ( - Zl(document.getElementsByTagName('*')) - .filter(function (e) { - return e.shadowRoot; - }) - .forEach(function (e) { - n = n.concat(Zl(e.shadowRoot.querySelectorAll(t))); - }), - n.concat(Zl(document.querySelectorAll(t))) - ); - }, - }, - { - key: 'bindListener', - value: function () { - var e = this, - t = this.props, - n = t.id, - a = t.globalEventOff, - r = t.isCapture, - l = this.getTargetArray(n); - l.forEach(function (t) { - null === t.getAttribute('currentItem') && - t.setAttribute('currentItem', 'false'), - e.unbindBasicListener(t), - e.isCustomEvent(t) && e.customUnbindListener(t); - }), - this.isBodyMode() - ? this.bindBodyListener(l) - : l.forEach(function (t) { - var n = e.isCapture(t), - a = e.getEffect(t); - e.isCustomEvent(t) - ? e.customBindListener(t) - : (t.addEventListener('mouseenter', e.showTooltip, n), - t.addEventListener('focus', e.showTooltip, n), - 'float' === a && - t.addEventListener('mousemove', e.updateTooltip, n), - t.addEventListener('mouseleave', e.hideTooltip, n), - t.addEventListener('blur', e.hideTooltip, n)); - }), - a && - (window.removeEventListener(a, this.hideTooltip), - window.addEventListener(a, this.hideTooltip, r)), - this.bindRemovalTracker(); - }, - }, - { - key: 'unbindListener', - value: function () { - var e = this, - t = this.props, - n = t.id, - a = t.globalEventOff; - this.isBodyMode() - ? this.unbindBodyListener() - : this.getTargetArray(n).forEach(function (t) { - e.unbindBasicListener(t), - e.isCustomEvent(t) && e.customUnbindListener(t); - }), - a && window.removeEventListener(a, this.hideTooltip), - this.unbindRemovalTracker(); - }, - }, - { - key: 'unbindBasicListener', - value: function (e) { - var t = this.isCapture(e); - e.removeEventListener('mouseenter', this.showTooltip, t), - e.removeEventListener('mousemove', this.updateTooltip, t), - e.removeEventListener('mouseleave', this.hideTooltip, t); - }, - }, - { - key: 'getTooltipContent', - value: function () { - var e, - t = this.props, - n = t.getContent, - a = t.children; - return ( - n && - (e = Array.isArray(n) - ? n[0] && n[0](this.state.originTooltip) - : n(this.state.originTooltip)), - Yl(this.state.originTooltip, a, e, this.state.isMultiline) - ); - }, - }, - { - key: 'isEmptyTip', - value: function (e) { - return ('string' == typeof e && '' === e) || null === e; - }, - }, - { - key: 'showTooltip', - value: function (e, t) { - if (this.tooltipRef) { - if ( - t && - !this.getTargetArray(this.props.id).some(function (t) { - return t === e.currentTarget; - }) - ) - return; - var n = this.props, - a = n.multiline, - r = n.getContent, - l = e.currentTarget.getAttribute('data-tip'), - i = e.currentTarget.getAttribute('data-multiline') || a || !1, - o = e instanceof window.FocusEvent || t, - c = !0; - e.currentTarget.getAttribute('data-scroll-hide') - ? (c = 'true' === e.currentTarget.getAttribute('data-scroll-hide')) - : null != this.props.scrollHide && (c = this.props.scrollHide), - e && - e.currentTarget && - e.currentTarget.setAttribute && - e.currentTarget.setAttribute( - 'aria-describedby', - this.props.id || this.state.uuid - ); - var s = - e.currentTarget.getAttribute('data-place') || this.props.place || 'top', - u = o ? 'solid' : this.getEffect(e.currentTarget), - m = - e.currentTarget.getAttribute('data-offset') || this.props.offset || {}, - d = Hl(e, e.currentTarget, this.tooltipRef, s.split(',')[0], s, u, m); - d.position && - this.props.overridePosition && - (d.position = this.props.overridePosition( - d.position, - e, - e.currentTarget, - this.tooltipRef, - s, - s, - u, - m - )); - var p = d.isNewState ? d.newState.place : s.split(',')[0]; - this.clearTimer(); - var f = e.currentTarget, - h = this.state.show - ? f.getAttribute('data-delay-update') || this.props.delayUpdate - : 0, - g = this, - v = function () { - g.setState( - { - originTooltip: l, - isMultiline: i, - desiredPlace: s, - place: p, - type: f.getAttribute('data-type') || g.props.type || 'dark', - customColors: { - text: - f.getAttribute('data-text-color') || g.props.textColor || null, - background: - f.getAttribute('data-background-color') || - g.props.backgroundColor || - null, - border: - f.getAttribute('data-border-color') || - g.props.borderColor || - null, - arrow: - f.getAttribute('data-arrow-color') || - g.props.arrowColor || - null, - }, - customRadius: { - tooltip: - f.getAttribute('data-tooltip-radius') || - g.props.tooltipRadius || - '3', - arrow: - f.getAttribute('data-arrow-radius') || - g.props.arrowRadius || - '0', - }, - effect: u, - offset: m, - padding: f.getAttribute('data-padding') || g.props.padding, - html: - (f.getAttribute('data-html') - ? 'true' === f.getAttribute('data-html') - : g.props.html) || !1, - delayShow: - f.getAttribute('data-delay-show') || g.props.delayShow || 0, - delayHide: - f.getAttribute('data-delay-hide') || g.props.delayHide || 0, - delayUpdate: - f.getAttribute('data-delay-update') || g.props.delayUpdate || 0, - border: - (f.getAttribute('data-border') - ? 'true' === f.getAttribute('data-border') - : g.props.border) || !1, - borderClass: - f.getAttribute('data-border-class') || - g.props.borderClass || - 'border', - extraClass: - f.getAttribute('data-class') || - g.props.class || - g.props.className || - '', - disable: - (f.getAttribute('data-tip-disable') - ? 'true' === f.getAttribute('data-tip-disable') - : g.props.disable) || !1, - currentTarget: f, - }, - function () { - c && g.addScrollListener(g.state.currentTarget), - g.updateTooltip(e), - r && - Array.isArray(r) && - (g.intervalUpdateContent = setInterval(function () { - if (g.mount) { - var e = g.props.getContent, - t = Yl(l, '', e[0](), i), - n = g.isEmptyTip(t); - g.setState({ isEmptyTip: n }), g.updatePosition(); - } - }, r[1])); - } - ); - }; - h ? (this.delayReshow = setTimeout(v, h)) : v(); - } - }, - }, - { - key: 'updateTooltip', - value: function (e) { - var t = this, - n = this.state, - a = n.delayShow, - r = n.disable, - l = this.props, - i = l.afterShow, - o = l.disable, - c = this.getTooltipContent(), - s = e.currentTarget || e.target; - if (!this.mouseOnToolTip() && !(this.isEmptyTip(c) || r || o)) { - var u = this.state.show ? 0 : parseInt(a, 10), - m = function () { - if ((Array.isArray(c) && c.length > 0) || c) { - var n = !t.state.show; - t.setState( - { currentEvent: e, currentTarget: s, show: !0 }, - function () { - t.updatePosition(function () { - n && i && i(e); - }); - } - ); - } - }; - this.delayShowLoop && clearTimeout(this.delayShowLoop), - u - ? (this.delayShowLoop = setTimeout(m, u)) - : ((this.delayShowLoop = null), m()); - } - }, - }, - { - key: 'listenForTooltipExit', - value: function () { - this.state.show && - this.tooltipRef && - this.tooltipRef.addEventListener('mouseleave', this.hideTooltip); - }, - }, - { - key: 'removeListenerForTooltipExit', - value: function () { - this.state.show && - this.tooltipRef && - this.tooltipRef.removeEventListener('mouseleave', this.hideTooltip); - }, - }, - { - key: 'hideTooltip', - value: function (e, t) { - var n = this, - a = - arguments.length > 2 && void 0 !== arguments[2] - ? arguments[2] - : { isScroll: !1 }, - r = this.state.disable, - l = a.isScroll ? 0 : this.state.delayHide, - i = this.props, - o = i.afterHide, - c = i.disable, - s = this.getTooltipContent(); - if (this.mount && !(this.isEmptyTip(s) || r || c)) { - if ( - t && - (!this.getTargetArray(this.props.id).some(function (t) { - return t === e.currentTarget; - }) || - !this.state.show) - ) - return; - e && - e.currentTarget && - e.currentTarget.removeAttribute && - e.currentTarget.removeAttribute('aria-describedby'); - var u = function () { - var t = n.state.show; - n.mouseOnToolTip() - ? n.listenForTooltipExit() - : (n.removeListenerForTooltipExit(), - n.setState({ show: !1 }, function () { - n.removeScrollListener(n.state.currentTarget), t && o && o(e); - })); - }; - this.clearTimer(), - l ? (this.delayHideLoop = setTimeout(u, parseInt(l, 10))) : u(); - } - }, - }, - { - key: 'hideTooltipOnScroll', - value: function (e, t) { - this.hideTooltip(e, t, { isScroll: !0 }); - }, - }, - { - key: 'addScrollListener', - value: function (e) { - var t = this.isCapture(e); - window.addEventListener('scroll', this.hideTooltipOnScroll, t); - }, - }, - { - key: 'removeScrollListener', - value: function (e) { - var t = this.isCapture(e); - window.removeEventListener('scroll', this.hideTooltipOnScroll, t); - }, - }, - { - key: 'updatePosition', - value: function (e) { - var t = this, - n = this.state, - a = n.currentEvent, - r = n.currentTarget, - l = n.place, - i = n.desiredPlace, - o = n.effect, - c = n.offset, - s = this.tooltipRef, - u = Hl(a, r, s, l, i, o, c); - if ( - (u.position && - this.props.overridePosition && - (u.position = this.props.overridePosition( - u.position, - a, - r, - s, - l, - i, - o, - c - )), - u.isNewState) - ) - return this.setState(u.newState, function () { - t.updatePosition(e); - }); - e && 'function' == typeof e && e(), - (s.style.left = u.position.left + 'px'), - (s.style.top = u.position.top + 'px'); - }, - }, - { - key: 'clearTimer', - value: function () { - this.delayShowLoop && - (clearTimeout(this.delayShowLoop), (this.delayShowLoop = null)), - this.delayHideLoop && - (clearTimeout(this.delayHideLoop), (this.delayHideLoop = null)), - this.delayReshow && - (clearTimeout(this.delayReshow), (this.delayReshow = null)), - this.intervalUpdateContent && - (clearInterval(this.intervalUpdateContent), - (this.intervalUpdateContent = null)); - }, - }, - { - key: 'hasCustomColors', - value: function () { - var e = this; - return Boolean( - Object.keys(this.state.customColors).find(function (t) { - return 'border' !== t && e.state.customColors[t]; - }) || - (this.state.border && this.state.customColors.border) - ); - }, - }, - { - key: 'render', - value: function () { - var t = this, - n = this.state, - a = n.extraClass, - r = n.html, - l = n.ariaProps, - o = n.disable, - c = n.uuid, - s = this.getTooltipContent(), - u = this.isEmptyTip(s), - m = this.props.disableInternalStyle - ? '' - : (function (e, t, n, a, r, l) { - return (function (e, t) { - var n = - arguments.length > 2 && void 0 !== arguments[2] - ? arguments[2] - : '8px 21px', - a = - arguments.length > 3 && void 0 !== arguments[3] - ? arguments[3] - : ni, - r = t.text, - l = t.background, - i = t.border, - o = t.arrow, - c = a.arrow, - s = a.tooltip; - return '\n \t.' - .concat(e, ' {\n\t color: ') - .concat(r, ';\n\t background: ') - .concat(l, ';\n\t border: 1px solid ') - .concat(i, ';\n\t border-radius: ') - .concat(s, 'px;\n\t padding: ') - .concat(n, ';\n \t}\n\n \t.') - .concat( - e, - '.place-top {\n margin-top: -10px;\n }\n .' - ) - .concat( - e, - '.place-top::before {\n content: "";\n background-color: inherit;\n position: absolute;\n z-index: 2;\n width: 20px;\n height: 12px;\n }\n .' - ) - .concat( - e, - '.place-top::after {\n content: "";\n position: absolute;\n width: 10px;\n height: 10px;\n border-top-right-radius: ' - ) - .concat(c, 'px;\n border: 1px solid ') - .concat(i, ';\n background-color: ') - .concat( - o, - ';\n z-index: -2;\n bottom: -6px;\n left: 50%;\n margin-left: -6px;\n transform: rotate(135deg);\n }\n\n .' - ) - .concat( - e, - '.place-bottom {\n margin-top: 10px;\n }\n .' - ) - .concat( - e, - '.place-bottom::before {\n content: "";\n background-color: inherit;\n position: absolute;\n z-index: -1;\n width: 18px;\n height: 10px;\n }\n .' - ) - .concat( - e, - '.place-bottom::after {\n content: "";\n position: absolute;\n width: 10px;\n height: 10px;\n border-top-right-radius: ' - ) - .concat(c, 'px;\n border: 1px solid ') - .concat(i, ';\n background-color: ') - .concat( - o, - ';\n z-index: -2;\n top: -6px;\n left: 50%;\n margin-left: -6px;\n transform: rotate(45deg);\n }\n\n .' - ) - .concat( - e, - '.place-left {\n margin-left: -10px;\n }\n .' - ) - .concat( - e, - '.place-left::before {\n content: "";\n background-color: inherit;\n position: absolute;\n z-index: -1;\n width: 10px;\n height: 18px;\n }\n .' - ) - .concat( - e, - '.place-left::after {\n content: "";\n position: absolute;\n width: 10px;\n height: 10px;\n border-top-right-radius: ' - ) - .concat(c, 'px;\n border: 1px solid ') - .concat(i, ';\n background-color: ') - .concat( - o, - ';\n z-index: -2;\n right: -6px;\n top: 50%;\n margin-top: -6px;\n transform: rotate(45deg);\n }\n\n .' - ) - .concat( - e, - '.place-right {\n margin-left: 10px;\n }\n .' - ) - .concat( - e, - '.place-right::before {\n content: "";\n background-color: inherit;\n position: absolute;\n z-index: -1;\n width: 10px;\n height: 18px;\n }\n .' - ) - .concat( - e, - '.place-right::after {\n content: "";\n position: absolute;\n width: 10px;\n height: 10px;\n border-top-right-radius: ' - ) - .concat(c, 'px;\n border: 1px solid ') - .concat(i, ';\n background-color: ') - .concat( - o, - ';\n z-index: -2;\n left: -6px;\n top: 50%;\n margin-top: -6px;\n transform: rotate(-135deg);\n }\n ' - ); - })( - e, - (function (e, t, n) { - var a = e.text, - r = e.background, - l = e.border, - i = e.arrow ? e.arrow : e.background, - o = (function (e) { - return ti[e] ? k({}, ti[e]) : void 0; - })(t); - return ( - a && (o.text = a), - r && (o.background = r), - n && (o.border = l || ('light' === t ? 'black' : 'white')), - i && (o.arrow = i), - o - ); - })(t, n, a), - r, - l - ); - })( - this.state.uuid, - this.state.customColors, - this.state.type, - this.state.border, - this.state.padding, - this.state.customRadius - ), - d = - '__react_component_tooltip' + - ' '.concat(this.state.uuid) + - (!this.state.show || o || u ? '' : ' show') + - (this.state.border ? ' ' + this.state.borderClass : '') + - ' place-'.concat(this.state.place) + - ' type-'.concat(this.hasCustomColors() ? 'custom' : this.state.type) + - (this.props.delayUpdate ? ' allow_hover' : '') + - (this.props.clickable ? ' allow_click' : ''), - p = this.props.wrapper; - i.supportedWrappers.indexOf(p) < 0 && (p = i.defaultProps.wrapper); - var f = [d, a].filter(Boolean).join(' '); - if (r) { - var h = '' - .concat(s) - .concat(m ? '\n') : ''); - return e.createElement( - p, - T( - { - className: ''.concat(f), - id: this.props.id || c, - ref: function (e) { - return (t.tooltipRef = e); - }, - }, - l, - { 'data-id': 'tooltip', dangerouslySetInnerHTML: { __html: h } } - ) - ); - } - return e.createElement( - p, - T({ className: ''.concat(f), id: this.props.id || c }, l, { - ref: function (e) { - return (t.tooltipRef = e); - }, - 'data-id': 'tooltip', - }), - m && - e.createElement('style', { - dangerouslySetInnerHTML: { __html: m }, - 'aria-hidden': 'true', - }), - s - ); - }, - }, - ]), - (r = [ - { - key: 'propTypes', - get: function () { - return { - uuid: g().string, - children: g().any, - place: g().string, - type: g().string, - effect: g().string, - offset: g().object, - padding: g().string, - multiline: g().bool, - border: g().bool, - borderClass: g().string, - textColor: g().string, - backgroundColor: g().string, - borderColor: g().string, - arrowColor: g().string, - arrowRadius: g().string, - tooltipRadius: g().string, - insecure: g().bool, - class: g().string, - className: g().string, - id: g().string, - html: g().bool, - delayHide: g().number, - delayUpdate: g().number, - delayShow: g().number, - event: g().string, - eventOff: g().string, - isCapture: g().bool, - globalEventOff: g().string, - getContent: g().any, - afterShow: g().func, - afterHide: g().func, - overridePosition: g().func, - disable: g().bool, - scrollHide: g().bool, - resizeHide: g().bool, - wrapper: g().string, - bodyMode: g().bool, - possibleCustomEvents: g().string, - possibleCustomEventsOff: g().string, - clickable: g().bool, - disableInternalStyle: g().bool, - }; - }, - }, - { - key: 'getDerivedStateFromProps', - value: function (e, t) { - var n = t.ariaProps, - a = Ql(e); - return Object.keys(a).some(function (e) { - return a[e] !== n[e]; - }) - ? k(k({}, t), {}, { ariaProps: a }) - : null; - }, - }, - ]), - a && S(n.prototype, a), - r && S(n, r), - Object.defineProperty(n, 'prototype', { writable: !1 }), - i - ); - })(e.Component)), - N(ei, 'defaultProps', { insecure: !0, resizeHide: !0, wrapper: 'div', clickable: !1 }), - N(ei, 'supportedWrappers', ['div', 'span']), - N(ei, 'displayName', 'ReactTooltip'), - ((ai = Jl = ei).prototype.bindRemovalTracker = function () { - var e = this, - t = - window.MutationObserver || - window.WebKitMutationObserver || - window.MozMutationObserver; - if (null != t) { - var n = new t(function (t) { - for (var n = 0; n < t.length; n++) - for (var a = t[n], r = 0; r < a.removedNodes.length; r++) - if (a.removedNodes[r] === e.state.currentTarget) return void e.hideTooltip(); - }); - n.observe(window.document, { childList: !0, subtree: !0 }), - (this.removalTracker = n); - } - }), - (Jl = - void (ai.prototype.unbindRemovalTracker = function () { - this.removalTracker && - (this.removalTracker.disconnect(), (this.removalTracker = null)); - }) || Jl)) - ) || Jl) - ) || Jl) - ) || Jl) - ) || Jl) - ) || Jl) - ) || Jl, - li = n(399), - ii = n.n(li); - function oi(t) { - const { message: n, onFinish: a = () => {} } = t, - { - clipboard: { copied: r }, - } = u(), - [l, i] = (0, e.useState)(!1); - return ( - (0, e.useEffect)(() => { - r && - (setTimeout(() => { - i(!0); - }, 1), - setTimeout(() => { - i(!1); - }, 800), - setTimeout(() => { - a && a(); - }, 1100)); - }, [r, i, a]), - r ? e.createElement('p', { className: p()('customFieldCopied', { active: l }) }, n) : null - ); - } - function ci() { - const { - clearCustomfield: t, - clearCustomunit: n, - clearGroupItem: a, - clearUnitGroupItem: r, - setTag: l, - setAcmscss: i, - setJsValidator: o, - setDirection: c, - setCopied: s, - preview: { jsValidator: m, acmscss: d, mode: f, editMode: h, tag: g, direction: v }, - clipboard: { source: b }, - undo: E, - } = u(); - return e.createElement( - 'div', - { className: 'customFieldNavigatorCode' }, - e.createElement( - 'div', - null, - e.createElement( - 'div', - { className: 'acms-flex acms-items-center', style: { gap: '16px' } }, - 'confirm' !== h && - e.createElement( - 'div', - null, - e.createElement( - 'select', - { - id: 'tag', - onChange: (e) => - ((e) => { - l(e); - })(e.target.value), - className: 'acms-admin-form-width-quarter', - style: { width: '100px' }, - }, - e.createElement('option', { value: 'section' }, 'モダン'), - e.createElement('option', { value: 'table' }, 'テーブル') - ) - ), - e.createElement( - 'div', - { className: 'acms-admin-form-checkbox', style: { margin: 0 } }, - e.createElement('input', { - type: 'checkbox', - onChange: () => { - i(!d); - }, - checked: d, - id: 'acmscss-checkbox', - }), - e.createElement( - 'label', - { htmlFor: 'acmscss-checkbox' }, - e.createElement('i', { className: 'acms-admin-ico-checkbox' }), - 'acms-admin.css' - ) - ), - ('customfield' === f || 'fieldgroup' === f) && - e.createElement( - 'div', - { className: 'acms-admin-form-checkbox', style: { margin: 0 } }, - e.createElement('input', { - type: 'checkbox', - onChange: () => { - o(!m); - }, - checked: m, - id: 'jsvalidator-checkbox', - }), - e.createElement( - 'label', - { htmlFor: 'jsvalidator-checkbox' }, - e.createElement('i', { className: 'acms-admin-ico-checkbox' }), - 'JavaScriptのバリデート' - ) - ) - ), - 'table' === g && - ('fieldgroup' === f || 'unitgroup' === f) && - e.createElement( - 'div', - { style: { marginTop: '5px' } }, - e.createElement('span', { className: 'customFieldDirectionBtnGroupSide' }, 'ソースの追加方法'), - e.createElement( - 'div', - { className: 'customFieldDirectionBtnGroup' }, - e.createElement( - 'label', - { - htmlFor: 'direction-horizontal', - className: p()('customFieldDirectionBtn', { active: 'horizontal' === v }), - 'data-tip': !0, - 'data-for': 'group-field-direction-horizontal', - }, - e.createElement('input', { - type: 'radio', - id: 'direction-horizontal', - onChange: () => c('horizontal'), - checked: 'horizontal' === v, - }), - e.createElement('img', { - src: 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgdmlld0JveD0iMCAwIDIwIDIwIj48cGF0aCBzdHJva2U9IiMwMDAiIGQ9Ik0uNS41aDcuNHYxOC45SC41eiIvPjxnPjxwYXRoIGQ9Ik0xNiAuMWgtMnYxaDJ2LTF6bS0zLjQgMGgtMXYxLjZoMVYuMXptMCAzLjZoLTF2Mmgxdi0yem0wIDRoLTF2Mmgxdi0yem0wIDRoLTF2Mmgxdi0yem0wIDRoLTF2Mmgxdi0yem0uNiAzLjNoLTEuN3YxaDEuN3YtMXptNCAwaC0ydjFoMnYtMXptMi44LS4yaC0xVjIwaDF2LTEuMnptMC00aC0xdjJoMXYtMnptMC00aC0xdjJoMXYtMnptMC00aC0xdjJoMXYtMnptMC00aC0xdjJoMXYtMnptMC0yLjdoLTJ2MWgydi0xeiIvPjwvZz48Zz48cGF0aCBkPSJNMTMuNSA5LjZIMTh2MWgtNC41eiIvPjxwYXRoIGQ9Ik0xNi4yMzggNy43ODZ2NC41aC0xdi00LjV6Ii8+PC9nPjwvc3ZnPgo=', - alt: '', - }) - ), - e.createElement( - 'label', - { - htmlFor: 'direction-vertical', - className: p()('customFieldDirectionBtn', { active: 'vertical' === v }), - 'data-tip': !0, - 'data-for': 'group-field-direction-vertical', - }, - e.createElement('input', { - type: 'radio', - id: 'direction-vertical', - onChange: () => c('vertical'), - checked: 'vertical' === v, - }), - e.createElement('img', { - src: 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgdmlld0JveD0iMCAwIDIwIDIwIj48cGF0aCBzdHJva2U9IiMwMDAiIGQ9Ik0uNS41aDE5VjhILjV6Ii8+PGc+PHBhdGggZD0iTTE2IDExLjVoLTJ2MWgydi0xem0tNCAwaC0ydjFoMnYtMXptLTQgMEg2djFoMnYtMXptLTQgMEgydjFoMnYtMXptLTMgMEgwdjJoMXYtMnptMCA0SDB2Mmgxdi0yem0uNSAzLjVIMHYxaDEuNXYtMXptNCAwaC0ydjFoMnYtMXptNCAwaC0ydjFoMnYtMXptNCAwaC0ydjFoMnYtMXptNCAwaC0ydjFoMnYtMXptMi41LS41aC0xVjIwaDF2LTEuNXptMC00aC0xdjJoMXYtMnptMC0zaC0ydjFoMnYtMXoiLz48L2c+PGc+PHBhdGggZD0iTTEwLjI1IDEzLjc1djQuNWgtMXYtNC41eiIvPjxwYXRoIGQ9Ik0xMiAxNi41SDcuNXYtMUgxMnoiLz48L2c+PC9zdmc+Cg==', - alt: '', - }) - ) - ), - e.createElement( - ri, - { - id: 'group-field-direction-vertical', - place: 'top', - type: 'dark', - effect: 'solid', - className: 'acms-admin-tooltip acms-tooltip customFieldTooltip', - }, - e.createElement('span', null, '縦向きレイアウト用にソースコードを生成します。') - ), - e.createElement( - ri, - { - id: 'group-field-direction-horizontal', - place: 'top', - type: 'dark', - effect: 'solid', - className: 'acms-admin-tooltip acms-tooltip customFieldTooltip', - }, - e.createElement('span', null, '横向きレイアウト用にソースコードを生成します。') - ) - ) - ), - e.createElement( - 'div', - { className: 'customFieldNavigatorCodeButtonList' }, - e.createElement( - 'div', - { style: { display: 'inline-block', position: 'relative', marginRight: '10px' } }, - 'preview' !== h && - e.createElement( - e.Fragment, - null, - e.createElement( - ii(), - { text: b, onCopy: () => s(!0) }, - e.createElement( - 'button', - { className: 'acms-admin-btn-admin acms-admin-btn-admin-info' }, - '生成コードをコピー' - ) - ), - e.createElement(oi, { message: 'クリップボードにコピーしました', onFinish: () => s(!1) }) - ) - ), - e.createElement( - 'div', - null, - e.createElement( - 'button', - { - className: 'acms-admin-btn-admin', - style: { marginRight: '4px' }, - onClick: () => { - E(f); - }, - }, - '生成コードを一つ戻す' - ), - 'customfield' === f && - e.createElement( - 'button', - { - onClick: () => { - confirm('生成コードをクリアしますか?'), t(); - }, - className: 'acms-admin-btn-admin acms-admin-btn-admin-danger', - }, - '生成コードをクリア' - ), - 'fieldgroup' === f && - e.createElement( - 'button', - { - onClick: () => { - confirm('生成コードをクリアしますか?'), a(); - }, - className: 'acms-admin-btn-admin acms-admin-btn-admin-danger', - }, - '生成コードをクリア' - ), - 'customunit' === f && - e.createElement( - 'button', - { - onClick: () => { - confirm('生成コードをクリアしますか?'), n(); - }, - className: 'acms-admin-btn-admin acms-admin-btn-admin-danger', - }, - '生成コードをクリア' - ), - 'unitgroup' === f && - e.createElement( - 'button', - { - onClick: () => { - confirm('生成コードをクリアしますか?'), r(); - }, - className: 'acms-admin-btn-admin acms-admin-btn-admin-danger', - }, - '生成コードをクリア' - ) - ) - ) - ); - } - function si(t) { - const { children: n, title: a, open: r, onClose: l = () => {} } = t, - [i, o] = (0, e.useState)(!1), - c = (0, e.useCallback)(() => { - o(!1), - l && - setTimeout(() => { - l(); - }, 300); - }, [o, l]); - return ( - (0, e.useEffect)(() => { - r - ? setTimeout(() => { - o(!0); - }, 1) - : c(); - }, [r, c]), - e.createElement( - 'div', - { - className: p()('acms-admin-modal', { in: i }), - id: 'converter', - 'aria-hidden': i ? 'false' : 'true', - style: { display: i ? 'block' : 'none' }, - }, - e.createElement( - 'div', - { className: 'acms-admin-modal-dialog' }, - e.createElement( - 'div', - { className: 'acms-admin-modal-content' }, - e.createElement( - 'div', - { className: 'acms-admin-modal-header' }, - e.createElement('i', { - className: 'acms-admin-modal-hide acms-admin-icon-delete', - onKeyDown: (e) => { - ('Enter' !== e.key && ' ' !== e.key) || c(); - }, - onClick: c, - role: 'button', - tabIndex: 0, - }), - e.createElement('h3', null, a) - ), - e.createElement( - 'div', - { className: 'acms-admin-modal-body' }, - e.createElement('div', { className: 'acms-admin-padding-small clearfix' }, n) - ) - ) - ) - ) - ); - } - function ui(t) { - const { - field: { converter: n, openConverter: a }, - setField: r, - } = t, - l = (0, e.useRef)(null); - (0, e.useEffect)(() => { - const e = n.split(''); - l.current.querySelectorAll('tr').forEach((t) => { - const n = t.querySelector('td'); - if (n) { - const a = n.textContent.trim(), - r = e.includes(a); - t.style.backgroundColor = r ? '#e6f3ff' : ''; - } - }); - }, [n]); - const i = (0, e.useCallback)(() => { - r((e) => ({ ...e, openConverter: !1 })); - }, [r]), - o = (0, e.useCallback)( - (e) => { - r((t) => { - const n = t.converter, - a = n.toLowerCase().indexOf(e.toLowerCase()); - let r = n; - return -1 === a ? (r += e) : (r = r.slice(0, a) + e + r.slice(a + e.length)), { ...t, converter: r }; - }); - }, - [r] - ), - c = (0, e.useCallback)( - (e) => { - r((t) => { - const n = t.converter.replace(e, ''); - return { ...t, converter: n }; - }); - }, - [r] - ), - s = (t) => - n.includes(t) - ? e.createElement( - 'button', - { className: 'acms-admin-btn acms-admin-btn-danger', onClick: () => c(t) }, - '削除' - ) - : e.createElement('button', { className: 'acms-admin-btn', onClick: () => o(t) }, '追加'); - return e.createElement( - 'div', - null, - e.createElement( - si, - { open: a, title: 'コンバーター参照', onClose: i }, - e.createElement( - 'table', - { className: 'acms-admin-table acms-admin-table-heading acms-admin-table-hover', ref: l }, - e.createElement( - 'tbody', - null, - e.createElement( - 'tr', - null, - e.createElement('th', null, 'オプション'), - e.createElement('th', null, '意味'), - e.createElement('th', null, '追加') - ), - e.createElement( - 'tr', - null, - e.createElement('td', null, 'r'), - e.createElement('td', null, '「全角」英字を「半角」に変換します'), - e.createElement('td', null, s('r')) - ), - e.createElement( - 'tr', - null, - e.createElement('td', null, 'R'), - e.createElement('td', null, '「半角」英字を「全角」に変換します'), - e.createElement('td', null, s('R')) - ), - e.createElement( - 'tr', - null, - e.createElement('td', null, 'n'), - e.createElement('td', null, '「全角」数字を「半角」に変換します'), - e.createElement('td', null, s('n')) - ), - e.createElement( - 'tr', - null, - e.createElement('td', null, 'N'), - e.createElement('td', null, '「半角」数字を「全角」に変換します。'), - e.createElement('td', null, s('N')) - ), - e.createElement( - 'tr', - null, - e.createElement('td', null, 'a'), - e.createElement('td', null, '「全角」英数字を「半角」に変換します。'), - e.createElement('td', null, s('a')) - ), - e.createElement( - 'tr', - null, - e.createElement('td', null, 'A'), - e.createElement('td', null, '「半角」英数字を「全角」に変換します。'), - e.createElement('td', null, s('A')) - ), - e.createElement( - 'tr', - null, - e.createElement('td', null, 's'), - e.createElement('td', null, '「全角」スペースを「半角」に変換します(U+3000 -> U+0020)。'), - e.createElement('td', null, s('s')) - ), - e.createElement( - 'tr', - null, - e.createElement('td', null, 'S'), - e.createElement('td', null, '「半角」スペースを「全角」に変換します(U+0020 -> U+3000)。'), - e.createElement('td', null, s('S')) - ), - e.createElement( - 'tr', - null, - e.createElement('td', null, 'k'), - e.createElement('td', null, '「全角カタカナ」を「半角カタカナ」に変換します。'), - e.createElement('td', null, s('k')) - ), - e.createElement( - 'tr', - null, - e.createElement('td', null, 'K'), - e.createElement('td', null, '「半角カタカナ」を「全角カタカナ」に変換します。'), - e.createElement('td', null, s('K')) - ), - e.createElement( - 'tr', - null, - e.createElement('td', null, 'h'), - e.createElement('td', null, '「全角ひらがな」を「半角カタカナ」に変換します。'), - e.createElement('td', null, s('h')) - ), - e.createElement( - 'tr', - null, - e.createElement('td', null, 'H'), - e.createElement('td', null, '「半角カタカナ」を「全角ひらがな」に変換します。'), - e.createElement('td', null, s('H')) - ), - e.createElement( - 'tr', - null, - e.createElement('td', null, 'c'), - e.createElement('td', null, '「全角カタカナ」を「全角ひらがな」に変換します。'), - e.createElement('td', null, s('c')) - ), - e.createElement( - 'tr', - null, - e.createElement('td', null, 'C'), - e.createElement('td', null, '「全角ひらがな」を「全角カタカナ」に変換します。'), - e.createElement('td', null, s('C')) - ), - e.createElement( - 'tr', - null, - e.createElement('td', null, 'V'), - e.createElement('td', null, '濁点付きの文字を一文字に変換します。"K", "H" と共に使用します。'), - e.createElement('td', null, s('V')) - ) - ) - ) - ) - ); - } - function mi(t) { - const { - field: { alert: n }, - setField: a, - } = t; - return e.createElement( - e.Fragment, - null, - n - ? e.createElement( - 'p', - { - className: 'acms-admin-alert acms-admin-alert-icon acms-admin-alert-danger', - style: { fontSize: '12px' }, - }, - e.createElement('span', { - className: 'acms-admin-icon acms-admin-alert-icon-before acms-admin-icon-attention', - 'aria-hidden': 'true', - }), - 'タイプとタイトルとフィールド、全てを入力しないとソースコードを生成できません。', - e.createElement( - 'button', - { - className: 'js-acms-alert-close acms-admin-alert-icon-after', - onClick: () => { - a((e) => ({ ...e, alert: !1 })); - }, - }, - '×' - ) - ) - : null - ); - } - var di = JSON.parse( - '[{"テキスト(一行)":[{"value":"text","label":"テキスト"},{"value":"tel","label":"電話番号"},{"value":"number","label":"数値"},{"value":"email","label":"メールアドレス"},{"value":"password","label":"パスワード"}]},{"テキスト(複数行)":[{"value":"textarea","label":"テキストエリア"},{"value":"liteEditor","label":"ライトエディター"},{"value":"richEditor","label":"リッチエディター"},{"value":"table","label":"テーブル"}]},{"選択":[{"value":"checkbox","label":"チェックボックス"},{"value":"selectbox","label":"セレクトボックス"},{"value":"radioButton","label":"ラジオボタン"}]},{"アップロード":[{"value":"media","label":"メディア"},{"value":"image","label":"画像"},{"value":"file","label":"ファイル"}]}]' - ); - function pi(t) { - const { field: n, setField: a } = t, - [r, l] = (0, e.useState)(!0); - function i() { - return e.createElement( - 'select', - { - id: 'type', - value: n.type || '', - className: 'acms-admin-form-width-full', - onChange: (e) => { - const t = e.target.value; - t && - (l( - !!( - ('text' === t) | - ('tel' === t) | - ('number' === t) | - ('email' === t) | - ('password' === t) | - ('textarea' === t) - ) - ), - a((e) => ({ ...e, type: t }))); - }, - }, - di.map((t, n) => { - const [a, r] = Object.entries(t)[0]; - return e.createElement( - 'optgroup', - { key: n, label: a }, - r.map((t, n) => e.createElement('option', { key: n, value: t.value }, t.label)) - ); - }) - ); - } - const o = (e, t) => { - const n = e.target.value; - a((e) => ({ ...e, [t]: n })); - }; - return e.createElement( - 'div', - { className: 'customFieldGeneratorBasic' }, - e.createElement( - 'div', - { className: 'customFieldGeneratorBasicInput' }, - e.createElement( - 'label', - { className: '' }, - 'タイプ', - e.createElement('span', { className: 'acms-admin-label acms-admin-label-danger' }, '必須') - ), - e.createElement('div', null, e.createElement(i, null)) - ), - e.createElement( - 'div', - { className: 'customFieldGeneratorBasicTitle' }, - e.createElement( - 'label', - { className: '' }, - 'タイトル', - e.createElement('i', { - className: 'acms-admin-icon-tooltip', - 'data-tip': 'React-tooltip', - 'data-for': 'title-tip', - }), - e.createElement( - ri, - { - id: 'title-tip', - place: 'top', - type: 'dark', - effect: 'solid', - className: 'acms-admin-tooltip acms-tooltip customFieldTooltip', - }, - e.createElement('span', null, '見出しになります。') - ), - e.createElement('span', { className: 'acms-admin-label acms-admin-label-danger' }, '必須') - ), - e.createElement( - 'div', - null, - e.createElement('input', { - type: 'text', - value: n.title || '', - onChange: (e) => o(e, 'title'), - className: 'acms-admin-form-width-full', - placeholder: '', - }) - ) - ), - e.createElement( - 'div', - { className: 'customFieldGeneratorBasicField' }, - e.createElement( - 'label', - { className: '' }, - 'フィールド', - e.createElement('i', { - className: 'acms-admin-icon-tooltip', - 'data-tip': 'React-tooltip', - 'data-for': 'field-tip', - }), - e.createElement( - ri, - { - id: 'field-tip', - place: 'top', - type: 'dark', - effect: 'solid', - className: 'acms-admin-tooltip acms-tooltip customFieldTooltip', - }, - e.createElement('span', null, 'フィールド名です。name属性として使用されます。') - ), - e.createElement('span', { className: 'acms-admin-label acms-admin-label-danger' }, '必須') - ), - e.createElement( - 'div', - null, - e.createElement('input', { - type: 'text', - value: n.name || '', - onChange: (e) => o(e, 'name'), - className: 'acms-admin-form-width-full', - placeholder: '', - }) - ) - ), - e.createElement( - 'div', - { className: 'customFieldGeneratorBasicPlaceholder' }, - e.createElement('label', { className: '' }, 'プレースホルダー'), - e.createElement( - 'div', - null, - e.createElement('input', { - type: 'text', - value: (r && n.placeholder) || '', - onChange: (e) => o(e, 'placeholder'), - className: 'acms-admin-form-width-full', - placeholder: '', - disabled: !r, - }) - ) - ), - e.createElement( - 'div', - { className: 'customFieldGeneratorBasicTooltip' }, - e.createElement('label', { className: '' }, 'ツールチップ'), - e.createElement( - 'div', - null, - e.createElement('input', { - type: 'text', - value: n.tooltip || '', - onChange: (e) => o(e, 'tooltip'), - className: 'acms-admin-form-width-full', - placeholder: '', - }) - ) - ) - ); - } - const fi = { - pref: JSON.parse( - '[{"label":"北海道","value":"北海道"},{"label":"青森県","value":"青森県"},{"label":"岩手県","value":"岩手県"},{"label":"宮城県","value":"宮城県"},{"label":"秋田県","value":"秋田県"},{"label":"山形県","value":"山形県"},{"label":"福島県","value":"福島県"},{"label":"茨城県","value":"茨城県"},{"label":"栃木県","value":"栃木県"},{"label":"群馬県","value":"群馬県"},{"label":"埼玉県","value":"埼玉県"},{"label":"千葉県","value":"千葉県"},{"label":"東京都","value":"東京都"},{"label":"神奈川県","value":"神奈川県"},{"label":"新潟県","value":"新潟県"},{"label":"富山県","value":"富山県"},{"label":"石川県","value":"石川県"},{"label":"福井県","value":"福井県"},{"label":"山梨県","value":"山梨県"},{"label":"長野県","value":"長野県"},{"label":"岐阜県","value":"岐阜県"},{"label":"静岡県","value":"静岡県"},{"label":"愛知県","value":"愛知県"},{"label":"三重県","value":"三重県"},{"label":"滋賀県","value":"滋賀県"},{"label":"京都府","value":"京都府"},{"label":"大阪府","value":"大阪府"},{"label":"兵庫県","value":"兵庫県"},{"label":"奈良県","value":"奈良県"},{"label":"和歌山県","value":"和歌山県"},{"label":"鳥取県","value":"鳥取県"},{"label":"島根県","value":"島根県"},{"label":"岡山県","value":"岡山県"},{"label":"広島県","value":"広島県"},{"label":"山口県","value":"山口県"},{"label":"徳島県","value":"徳島県"},{"label":"香川県","value":"香川県"},{"label":"愛媛県","value":"愛媛県"},{"label":"高知県","value":"高知県"},{"label":"福岡県","value":"福岡県"},{"label":"佐賀県","value":"佐賀県"},{"label":"長崎県","value":"長崎県"},{"label":"熊本県","value":"熊本県"},{"label":"大分県","value":"大分県"},{"label":"宮崎県","value":"宮崎県"},{"label":"鹿児島県","value":"鹿児島県"},{"label":"沖縄県","value":"沖縄県"}]' - ), - 'pref-en': JSON.parse( - '[{"label":"北海道","value":"hokkaido"},{"label":"青森県","value":"aomori"},{"label":"岩手県","value":"iwate"},{"label":"宮城県","value":"miyagi"},{"label":"秋田県","value":"akita"},{"label":"山形県","value":"yamagata"},{"label":"福島県","value":"fukushima"},{"label":"茨城県","value":"ibaraki"},{"label":"栃木県","value":"tochigi"},{"label":"群馬県","value":"gunma"},{"label":"埼玉県","value":"saitama"},{"label":"千葉県","value":"chiba"},{"label":"東京都","value":"tokyo"},{"label":"神奈川県","value":"kanagawa"},{"label":"新潟県","value":"niigata"},{"label":"富山県","value":"toyama"},{"label":"石川県","value":"ishikawa"},{"label":"福井県","value":"fukui"},{"label":"山梨県","value":"yamanashi"},{"label":"長野県","value":"nagano"},{"label":"岐阜県","value":"gifu"},{"label":"静岡県","value":"shizuoka"},{"label":"愛知県","value":"aichi"},{"label":"三重県","value":"mie"},{"label":"滋賀県","value":"shiga"},{"label":"京都府","value":"kyoto"},{"label":"大阪府","value":"osaka"},{"label":"兵庫県","value":"hyogo"},{"label":"奈良県","value":"nara"},{"label":"和歌山県","value":"wakayama"},{"label":"鳥取県","value":"tottori"},{"label":"島根県","value":"shimane"},{"label":"岡山県","value":"okayama"},{"label":"広島県","value":"hiroshima"},{"label":"山口県","value":"yamaguchi"},{"label":"徳島県","value":"tokushima"},{"label":"香川県","value":"kagawa"},{"label":"愛媛県","value":"ehime"},{"label":"高知県","value":"kochi"},{"label":"福岡県","value":"fukuoka"},{"label":"佐賀県","value":"saga"},{"label":"長崎県","value":"nagasaki"},{"label":"熊本県","value":"kumamoto"},{"label":"大分県","value":"oita"},{"label":"宮崎県","value":"miyazaki"},{"label":"鹿児島県","value":"kagoshima"},{"label":"沖縄県","value":"okinawa"}]' - ), - 'pref-number': JSON.parse( - '[{"label":"北海道","value":"01"},{"label":"青森県","value":"02"},{"label":"岩手県","value":"03"},{"label":"宮城県","value":"04"},{"label":"秋田県","value":"05"},{"label":"山形県","value":"06"},{"label":"福島県","value":"07"},{"label":"茨城県","value":"08"},{"label":"栃木県","value":"09"},{"label":"群馬県","value":"10"},{"label":"埼玉県","value":"11"},{"label":"千葉県","value":"12"},{"label":"東京都","value":"13"},{"label":"神奈川県","value":"14"},{"label":"新潟県","value":"15"},{"label":"富山県","value":"16"},{"label":"石川県","value":"17"},{"label":"福井県","value":"18"},{"label":"山梨県","value":"19"},{"label":"長野県","value":"20"},{"label":"岐阜県","value":"21"},{"label":"静岡県","value":"22"},{"label":"愛知県","value":"23"},{"label":"三重県","value":"24"},{"label":"滋賀県","value":"25"},{"label":"京都府","value":"26"},{"label":"大阪府","value":"27"},{"label":"兵庫県","value":"28"},{"label":"奈良県","value":"29"},{"label":"和歌山県","value":"30"},{"label":"鳥取県","value":"31"},{"label":"島根県","value":"32"},{"label":"岡山県","value":"33"},{"label":"広島県","value":"34"},{"label":"山口県","value":"35"},{"label":"徳島県","value":"36"},{"label":"香川県","value":"37"},{"label":"愛媛県","value":"38"},{"label":"高知県","value":"39"},{"label":"福岡県","value":"40"},{"label":"佐賀県","value":"41"},{"label":"長崎県","value":"42"},{"label":"熊本県","value":"43"},{"label":"大分県","value":"44"},{"label":"宮崎県","value":"45"},{"label":"鹿児島県","value":"46"},{"label":"沖縄県","value":"47"}]' - ), - }; - function hi(t) { - const { - field: { option: n, optionFormat: a }, - setField: r, - } = t, - [l, i] = (0, e.useState)(!1); - return e.createElement( - 'div', - null, - e.createElement( - 'span', - { className: 'customFieldBold' }, - '選択項目(option要素)', - e.createElement('i', { - className: 'acms-admin-icon-tooltip', - 'data-tip': !0, - 'data-for': 'option-value-tip', - }), - e.createElement( - ri, - { - id: 'option-value-tip', - place: 'top', - type: 'dark', - effect: 'solid', - className: 'acms-admin-tooltip acms-tooltip customFieldTooltip', - }, - e.createElement('span', null, 'option要素の選択項目になります。') - ) - ), - e.createElement( - 'span', - { className: 'customFieldUseSnippet' }, - e.createElement( - 'label', - { className: 'customFieldUseSnippetLabel', style: { marginRight: '5px' } }, - e.createElement('input', { - type: 'checkbox', - style: { display: 'none' }, - value: 'true', - onChange: () => { - i(!l); - }, - }), - l ? 'スニペットを使用しない' : 'スニペットを使用する' - ), - l && - e.createElement( - 'span', - null, - e.createElement( - 'select', - { - style: { verticalAlign: 'middle', marginRight: '5px' }, - value: a, - onChange: (e) => { - r((t) => ({ ...t, optionFormat: e.target.value })); - }, - }, - e.createElement('option', { value: 'pref' }, '都道府県'), - e.createElement('option', { value: 'pref-en' }, '都道府県(英語)'), - e.createElement('option', { value: 'pref-number' }, '都道府県(連番)') - ), - e.createElement( - 'button', - { - className: 'acms-admin-btn', - onClick: () => { - const e = fi[a]; - r((t) => ({ ...t, option: [...n, ...e] })); - }, - style: { verticalAlign: 'middle' }, - }, - '追加' - ) - ) - ) - ); - } - const gi = { - title: '', - name: '', - path: '', - normalSize: '', - tiny: '', - tinySize: '', - large: '', - largeSize: '', - square: '', - squareSize: '', - alt: !0, - resize: !0, - useExpand: !0, - useDropArea: !0, - dropAreaWidth: 200, - dropAreaHeight: 200, - useFocusImage: !1, - focusImageWidth: 400, - focusImageHeight: 400, - startHeadingLevel: 2, - endHeadingLevel: 3, - mediaType: 'image', - converter: '', - tooltip: '', - placeholder: '', - validator: [{ option: '', value: '', message: '' }], - }; - function vi(t) { - const { setField: n, onSubmit: a = () => {} } = t, - r = (0, e.useCallback)(() => { - n((e) => ({ ...e, ...gi })); - }, [n]); - return e.createElement( - 'div', - { className: 'customFieldOperator' }, - e.createElement( - 'button', - { type: 'button', onClick: r, className: 'acms-admin-btn-admin', style: { marginRight: '5px' } }, - 'クリア' - ), - e.createElement( - 'button', - { - type: 'button', - onClick: a, - className: 'acms-admin-btn-admin acms-admin-btn-admin-primary customFieldMakeBtn', - style: { marginRight: '5px' }, - }, - '生成' - ) - ); - } - function bi(t) { - const { noSearch: n, setField: a } = t; - return e.createElement( - 'p', - { className: 'acms-admin-form-checkbox', style: { margin: 0 } }, - e.createElement('input', { - type: 'checkbox', - value: n, - id: 'noSearch-checkbox', - onChange: () => a((e) => ({ ...e, noSearch: !n })), - }), - e.createElement( - 'label', - { htmlFor: 'noSearch-checkbox' }, - e.createElement('i', { className: 'acms-admin-ico-checkbox' }), - 'カスタムフィールド検索の対象外にする' - ) - ); - } - function Ei(t) { - const { - field: { type: n, validator: a, openValidator: r, converter: l, noSearch: i }, - setField: o, - } = t, - { - preview: { mode: c }, - } = u(), - [s, m] = (0, e.useState)(0), - d = (0, e.useRef)(null), - p = (0, e.useCallback)(() => { - if (d.current) { - let e; - (e = r ? ''.concat(d.current.scrollHeight, 'px') : '0px'), m(e); - } - }, [r]); - (0, e.useEffect)(() => { - p(), window.addEventListener('resize', p); - const e = new ResizeObserver((e) => { - const t = d.current; - for (let n of e) n.target === t && p(); - }), - t = d.current; - return ( - t && e.observe(t), - () => { - window.removeEventListener('resize', p), t && e.unobserve(t); - } - ); - }, [p]); - const f = (0, e.useMemo)( - () => - [ - 'text', - 'tel', - 'number', - 'email', - 'password', - 'textarea', - 'checkbox', - 'selectbox', - 'radioButton', - ].includes(n), - [n] - ), - h = (0, e.useCallback)(() => { - o((e) => ({ ...e, validator: [...e.validator, { option: '', value: '', message: '' }] })), setTimeout(p, 0); - }, [o, p]); - return e.createElement( - 'div', - null, - e.createElement( - 'div', - null, - e.createElement( - 'button', - { - className: 'customFieldValidatorLabel', - type: 'button', - value: r, - onClick: () => o((e) => ({ ...e, openValidator: !r })), - }, - e.createElement('span', { className: 'customFieldValidatorToggle' }), - 'フォームオプションを設定' - ) - ), - e.createElement( - 'div', - { className: 'customFieldAccordionContent '.concat(r ? '-open' : ''), style: { maxHeight: s }, ref: d }, - e.createElement( - 'div', - { className: 'customFieldValidatorArea' }, - f && - e.createElement( - 'div', - null, - e.createElement( - 'div', - { className: 'customFieldBold' }, - 'コンバーター', - e.createElement('i', { - className: 'acms-admin-icon-tooltip', - 'data-tip': !0, - 'data-for': 'convert-tip', - }), - e.createElement( - ri, - { - id: 'convert-tip', - place: 'top', - type: 'dark', - effect: 'solid', - className: 'acms-admin-tooltip acms-tooltip customFieldTooltip', - }, - e.createElement( - 'span', - null, - 'テキストフィールドに入力された値を別の値に変換します。詳しくは参照ボタンを押すと表示されるモーダルウィンドウに情報が記載されています。' - ) - ) - ), - e.createElement( - 'div', - null, - e.createElement('input', { - type: 'text', - value: l, - onChange: (e) => { - const t = e.target.value; - o((e) => ({ ...e, converter: t })); - }, - className: 'acms-admin-form-width-quarter acms-admin-margin-right-small', - placeholder: '例)rs', - }), - e.createElement( - 'button', - { className: 'acms-admin-btn', onClick: () => o((e) => ({ ...e, openConverter: !0 })) }, - '参照' - ) - ) - ), - ('customfield' === c || 'fieldgroup' === c) && - e.createElement( - e.Fragment, - null, - e.createElement( - 'table', - { className: 'acms-admin-table customFieldOptionTable', style: { borderTop: 0 } }, - e.createElement( - 'tbody', - null, - e.createElement( - 'tr', - null, - e.createElement( - 'th', - null, - 'バリデーター', - e.createElement('i', { - className: 'acms-admin-icon-tooltip', - 'data-tip': !0, - 'data-for': 'validate-tip', - }), - e.createElement( - ri, - { - id: 'validate-tip', - place: 'top', - type: 'dark', - effect: 'solid', - className: 'acms-admin-tooltip acms-tooltip customFieldTooltip', - }, - e.createElement( - 'span', - null, - 'フィールドに入力された値が条件に合っているかをチェックします。' - ) - ) - ), - e.createElement( - 'th', - null, - '値', - e.createElement('i', { - className: 'acms-admin-icon-tooltip', - 'data-tip': !0, - 'data-for': 'validate-value-tip', - }), - e.createElement( - ri, - { - id: 'validate-value-tip', - place: 'top', - type: 'dark', - effect: 'solid', - className: 'acms-admin-tooltip acms-tooltip customFieldTooltip', - }, - e.createElement( - 'span', - null, - '最小文字数や、正規表現チェックをバリデータに設定した際に設定する値となります。' - ) - ) - ), - e.createElement( - 'th', - null, - 'メッセージ', - e.createElement('i', { - className: 'acms-admin-icon-tooltip', - 'data-tip': !0, - 'data-for': 'validate-message-tip', - }), - e.createElement( - ri, - { - id: 'validate-message-tip', - place: 'top', - type: 'dark', - effect: 'solid', - className: 'acms-admin-tooltip acms-tooltip customFieldTooltip', - }, - e.createElement( - 'span', - null, - 'フィールドに入力されている値が条件に合わなかった場合に表示されるメッセージになります。' - ) - ) - ), - e.createElement('th', null) - ), - a && - a.map((t, n) => { - return e.createElement( - 'tr', - { key: 'validator'.concat(n) }, - e.createElement( - 'td', - null, - e.createElement( - 'select', - { - className: 'acms-admin-form-width-full', - onChange: (e) => { - const t = e.target.value; - ((e, t) => { - const n = a[e]; - o((r) => ({ - ...r, - validator: [...a.slice(0, e), { ...n, option: t }, ...a.slice(e + 1)], - })); - })(n, t); - }, - }, - e.createElement('option', { value: '' }, '▼ 選択'), - e.createElement( - 'optgroup', - { label: '入力値の制限' }, - e.createElement('option', { value: 'required' }, '必須 ( required )'), - e.createElement('option', { value: 'minlength' }, '最小文字数 ( minlength )'), - e.createElement('option', { value: 'maxlength' }, '最大文字数 ( maxlength )'), - e.createElement('option', { value: 'min' }, '下限値 ( min )'), - e.createElement('option', { value: 'max' }, '上限値 ( max )') - ), - e.createElement( - 'optgroup', - { label: '形式チェック' }, - e.createElement('option', { value: 'digits' }, '数字チェック ( digits )'), - e.createElement('option', { value: 'email' }, 'メールアドレスチェック ( email )'), - e.createElement('option', { value: 'hiragana' }, 'ひらがなチェック ( hiragana )'), - e.createElement('option', { value: 'katakana' }, 'カタカナチェック ( katakana )'), - e.createElement('option', { value: 'url' }, 'URLチェック ( url )'), - e.createElement('option', { value: 'dates' }, '日付チェック ( dates )'), - e.createElement('option', { value: 'times' }, '時間チェック ( times )'), - e.createElement('option', { value: 'regex' }, '正規表現マッチ ( regex )') - ) - ) - ), - e.createElement( - 'td', - null, - e.createElement('input', { - type: 'text', - defaultValue: t.value, - onInput: (e) => { - const t = e.target.value; - t && - ((e, t) => { - const n = a[e]; - o((r) => ({ - ...r, - validator: [...a.slice(0, e), { ...n, value: t }, ...a.slice(e + 1)], - })); - })(n, t); - }, - className: 'acms-admin-form-width-full', - disabled: - ((r = t.option), !['minlength', 'maxlength', 'min', 'max', 'regex'].includes(r)), - }) - ), - e.createElement( - 'td', - null, - e.createElement('input', { - type: 'text', - defaultValue: t.message, - onInput: (e) => { - const t = e.target.value; - t && - ((e, t) => { - const n = a[e]; - o((r) => ({ - ...r, - validator: [...a.slice(0, e), { ...n, message: t }, ...a.slice(e + 1)], - })); - })(n, t); - }, - className: 'acms-admin-form-width-full', - }) - ), - e.createElement( - 'td', - null, - e.createElement( - 'button', - { - onClick: () => { - ((e) => { - o((t) => ({ ...t, validator: [...a.slice(0, e), ...a.slice(e + 1)] })); - })(n); - }, - className: 'acms-admin-btn-admin acms-admin-btn-admin-danger', - }, - '削除' - ) - ) - ); - var r; - }) - ) - ), - e.createElement( - 'div', - null, - e.createElement('button', { onClick: h, className: 'acms-admin-btn' }, '追加') - ) - ), - /text|number|tel|email|password|textarea|radioButton|selectbox/.exec(n) && - e.createElement(bi, { noSearch: i, setField: o }) - ) - ) - ); - } - function yi(t) { - const { - field: { option: n }, - setField: a, - add: r = !0, - } = t; - return e.createElement( - 'div', - null, - e.createElement( - 'table', - { className: 'acms-admin-table customFieldOptionTable' }, - e.createElement( - 'tbody', - null, - n && - n.map((t, l) => - e.createElement( - 'tr', - { key: l }, - e.createElement( - 'td', - null, - e.createElement( - 'div', - { className: 'customFieldOptionTableInput' }, - e.createElement('span', { className: 'customFieldOptionTableAppend' }, '項目名(label)'), - e.createElement('input', { - type: 'text', - defaultValue: t.label, - onInput: (e) => { - const t = e.target.value; - ((e, t) => { - const r = n[e]; - a((a) => ({ ...a, option: [...n.slice(0, e), { ...r, label: t }, ...n.slice(e + 1)] })); - })(l, t); - }, - className: 'acms-admin-form-width-full', - placeholder: '例)東京都', - }) - ) - ), - e.createElement( - 'td', - null, - e.createElement( - 'div', - { className: 'customFieldOptionTableInput' }, - e.createElement('span', { className: 'customFieldOptionTableAppend' }, '値(value)'), - e.createElement('input', { - type: 'text', - defaultValue: t.value, - onInput: (e) => { - const t = e.target.value; - ((e, t) => { - const r = n[e]; - a((a) => ({ ...a, option: [...n.slice(0, e), { ...r, value: t }, ...n.slice(e + 1)] })); - })(l, t); - }, - className: 'acms-admin-form-width-full', - style: { minWidth: '200px' }, - placeholder: '例)tokyo', - }) - ) - ), - r && - e.createElement( - 'td', - null, - e.createElement( - 'button', - { - type: 'button', - className: 'acms-admin-btn-admin acms-admin-btn-admin-danger acms-admin-float-right', - onClick: () => - ((e) => { - a((t) => ({ ...t, option: [...n.slice(0, e), ...n.slice(e + 1)] })); - })(l), - }, - '削除' - ) - ) - ) - ) - ) - ), - r && - e.createElement( - 'p', - null, - e.createElement( - 'button', - { - className: 'acms-admin-btn', - onClick: () => { - a((e) => ({ ...e, option: [...n, { value: '', label: '' }] })); - }, - }, - '追加' - ) - ) - ); - } - function xi(t) { - const { - field: { - mediaType: n, - useDropArea: a, - useFocusImage: r, - dropAreaWidth: l, - dropAreaHeight: i, - focusImageWidth: o, - focusImageHeight: c, - }, - setField: s, - } = t; - return e.createElement( - 'div', - null, - e.createElement('p', { style: { marginBottom: '5px' } }, '選べるメディアのタイプを選択'), - e.createElement( - 'p', - { className: 'acms-admin-form-radio' }, - e.createElement('input', { - type: 'checkbox', - onChange: () => s((e) => ({ ...e, mediaType: 'all' })), - checked: 'all' === n, - id: 'media-type-all-radio', - }), - e.createElement( - 'label', - { htmlFor: 'media-type-all-radio' }, - e.createElement('i', { className: 'acms-admin-ico-radio' }), - '全てのタイプ' - ) - ), - e.createElement( - 'p', - { className: 'acms-admin-form-radio' }, - e.createElement('input', { - type: 'checkbox', - onChange: () => s((e) => ({ ...e, mediaType: 'image' })), - checked: 'image' === n, - id: 'media-type-image-radio', - }), - e.createElement( - 'label', - { htmlFor: 'media-type-image-radio' }, - e.createElement('i', { className: 'acms-admin-ico-radio' }), - '画像のみ' - ) - ), - e.createElement( - 'p', - { className: 'acms-admin-form-radio' }, - e.createElement('input', { - type: 'checkbox', - onChange: () => s((e) => ({ ...e, mediaType: 'file' })), - checked: 'file' === n, - id: 'media-type-file-radio', - }), - e.createElement( - 'label', - { htmlFor: 'media-type-file-radio' }, - e.createElement('i', { className: 'acms-admin-ico-radio' }), - 'ファイルのみ' - ) - ), - e.createElement('p', { style: { marginBottom: '5px' } }, 'ドロップエリア'), - e.createElement( - 'div', - { style: { display: 'flex' } }, - e.createElement( - 'div', - { className: 'acms-admin-form-checkbox', style: { paddingTop: '5px' } }, - e.createElement('input', { - type: 'checkbox', - onChange: () => { - s(a ? (e) => ({ ...e, useDropArea: !1 }) : (e) => ({ ...e, useDropArea: !0 })); - }, - checked: a, - id: 'media-use-droparea', - }), - e.createElement( - 'label', - { htmlFor: 'media-use-droparea' }, - e.createElement('i', { className: 'acms-admin-ico-checkbox' }), - 'ドロップエリアを利用する' - ) - ), - a && - e.createElement( - 'div', - null, - '幅 ', - e.createElement('input', { - type: 'text', - defaultValue: l, - onInput: (e) => { - const t = e.target.value; - t && s((e) => ({ ...e, dropAreaWidth: t })); - }, - }), - ' px', - e.createElement('span', { style: { display: 'inline-block', width: '15px', height: '1px' } }), - '高さ ', - e.createElement('input', { - type: 'text', - defaultValue: i, - onInput: (e) => { - const t = e.target.value; - t && s((e) => ({ ...e, dropAreaHeight: t })); - }, - }), - ' px' - ) - ), - e.createElement('p', { style: { marginBottom: '5px' } }, 'トリミング'), - e.createElement( - 'div', - { style: { display: 'flex' } }, - e.createElement( - 'div', - { className: 'acms-admin-form-checkbox', style: { paddingTop: '5px' } }, - e.createElement('input', { - type: 'checkbox', - onChange: () => { - s(r ? (e) => ({ ...e, useFocusImage: !1 }) : (e) => ({ ...e, useFocusImage: !0 })); - }, - checked: r, - id: 'media-use-focusImage', - }), - e.createElement( - 'label', - { htmlFor: 'media-use-focusImage' }, - e.createElement('i', { className: 'acms-admin-ico-checkbox' }), - '中心点を基準に画像をトリミングして表示する' - ) - ), - r && - e.createElement( - 'div', - null, - '幅 ', - e.createElement('input', { type: 'text', defaultValue: o }), - ' px', - e.createElement('span', { style: { display: 'inline-block', width: '15px', height: '1px' } }), - '高さ ', - e.createElement('input', { type: 'text', defaultValue: c }), - ' px' - ) - ) - ); - } - function _i(t) { - const { setField: n } = t; - return e.createElement( - 'table', - { className: 'adminTable acms-admin-table-admin-edit customFieldBasicTable customFieldBasicTableImg' }, - e.createElement( - 'tbody', - null, - e.createElement( - 'tr', - null, - e.createElement( - 'th', - { className: 'acms-admin-table-left' }, - '画像サイズ', - e.createElement('i', { - className: 'acms-admin-icon-tooltip', - 'data-tip': !0, - 'data-for': 'image-size-tip', - }), - e.createElement( - ri, - { - id: 'image-size-tip', - place: 'top', - type: 'dark', - effect: 'solid', - className: 'acms-admin-tooltip acms-tooltip customFieldTooltip', - }, - e.createElement('span', null, '通常画像の画像サイズを指定します') - ) - ), - e.createElement( - 'th', - { className: 'acms-admin-table-left' }, - 'large画像生成', - e.createElement('i', { - className: 'acms-admin-icon-tooltip', - 'data-tip': !0, - 'data-for': 'image-large-size-tip', - }), - e.createElement( - ri, - { - id: 'image-size-tip', - place: 'top', - type: 'dark', - effect: 'solid', - className: 'acms-admin-tooltip acms-tooltip customFieldTooltip', - }, - e.createElement('span', null, '通常画像よりも大きい画像を生成できます。') - ) - ), - e.createElement( - 'th', - { className: 'acms-admin-table-left' }, - 'tiny画像生成', - e.createElement('i', { - className: 'acms-admin-icon-tooltip', - 'data-tip': !0, - 'data-for': 'image-tiny-size-tip', - }), - e.createElement( - ri, - { - id: 'image-tiny-size-tip', - place: 'top', - type: 'dark', - effect: 'solid', - className: 'acms-admin-tooltip acms-tooltip customFieldTooltip', - }, - e.createElement('span', null, '通常画像よりも小さい画像を生成できます。') - ) - ), - e.createElement( - 'th', - { className: 'acms-admin-table-left' }, - 'square画像生成', - e.createElement('i', { - className: 'acms-admin-icon-tooltip', - 'data-tip': !0, - 'data-for': 'image-square-size-tip', - }), - e.createElement( - ri, - { - id: 'image-tiny-size-tip', - place: 'top', - type: 'dark', - effect: 'solid', - className: 'acms-admin-tooltip acms-tooltip customFieldTooltip', - }, - e.createElement('span', null, '通常画像を指定したサイズで中央から正方形にトリミングして生成します。') - ) - ) - ), - e.createElement( - 'tr', - null, - e.createElement( - 'td', - null, - e.createElement( - 'div', - { className: 'acms-form-group' }, - e.createElement( - 'div', - { className: 'controls' }, - e.createElement( - 'select', - { - name: 'normal', - onChange: (e) => { - const t = e.value; - t && n((e) => ({ ...e, normal: t })); - }, - className: 'acms-admin-margin-right-small', - }, - e.createElement('option', { value: 'size' }, '長辺'), - e.createElement('option', { value: 'width' }, '幅'), - e.createElement('option', { value: 'height' }, '高さ') - ), - e.createElement( - 'span', - { className: 'input-append' }, - e.createElement('input', { - type: 'text', - autoComplete: 'off', - name: 'normalSize', - onInput: (e) => { - const t = e.value; - t && n((e) => ({ ...e, normalSize: t })); - }, - className: 'customFieldSizeInput', - placeholder: '例)200px', - }), - e.createElement('span', { className: 'add-on' }, ' px') - ) - ) - ) - ), - e.createElement( - 'td', - null, - e.createElement( - 'div', - { className: 'acms-form-group' }, - e.createElement( - 'div', - { className: 'controls' }, - e.createElement( - 'select', - { - name: 'large', - onChange: (e) => { - const t = e.value; - t && n((e) => ({ ...e, large: t })); - }, - className: 'acms-admin-margin-right-small', - }, - e.createElement('option', { value: '' }, '作らない'), - e.createElement('option', { value: 'largeWidth' }, 'width'), - e.createElement('option', { value: 'largeHeight' }, 'height') - ), - e.createElement( - 'span', - { className: 'input-append' }, - e.createElement('input', { - type: 'text', - autoComplete: 'off', - name: 'largeSize', - onInput: (e) => { - const t = e.value; - t && n((e) => ({ ...e, largeSize: t })); - }, - className: 'customFieldSizeInput', - placeholder: '例)400px', - }), - e.createElement('span', { className: 'add-on' }, ' px') - ) - ) - ) - ), - e.createElement( - 'td', - null, - e.createElement( - 'div', - { className: 'acms-form-group' }, - e.createElement( - 'div', - { className: 'controls' }, - e.createElement( - 'select', - { - name: 'tiny', - onChange: (e) => { - const t = e.value; - t && n((e) => ({ ...e, tiny: t })); - }, - className: 'acms-admin-margin-right-small', - }, - e.createElement('option', { value: '' }, '作らない'), - e.createElement('option', { value: 'tinyWidth' }, 'width'), - e.createElement('option', { value: 'tinyHeight' }, 'height') - ), - e.createElement( - 'span', - { className: 'input-append' }, - e.createElement('input', { - type: 'text', - autoComplete: 'off', - name: 'tinySize', - onInput: (e) => { - const t = e.value; - t && n((e) => ({ ...e, tinySize: t })); - }, - className: 'customFieldSizeInput', - placeholder: '例)100px', - }), - e.createElement('span', { className: 'add-on' }, ' px') - ) - ) - ) - ), - e.createElement( - 'td', - null, - e.createElement( - 'div', - { className: 'acms-form-group' }, - e.createElement( - 'div', - { className: 'controls' }, - e.createElement( - 'select', - { - name: 'square', - onChange: (e) => { - const t = e.value; - t && n((e) => ({ ...e, square: t })); - }, - className: 'acms-admin-margin-right-small', - }, - e.createElement('option', { value: '' }, '作らない'), - e.createElement('option', { value: 'squareWidth' }, 'width') - ), - e.createElement( - 'span', - { className: 'input-append' }, - e.createElement('input', { - type: 'text', - autoComplete: 'off', - name: 'squareSize', - onInput: (e) => { - const t = e.value; - t && n((e) => ({ ...e, squareSize: t })); - }, - className: 'customFieldSizeInput', - placeholder: '例)250px', - }), - e.createElement('span', { className: 'add-on' }, ' px') - ) - ) - ) - ) - ) - ) - ); - } - function wi(t) { - const { - field: { resize: n, alt: a }, - setField: r, - } = t; - return e.createElement( - 'div', - null, - e.createElement( - 'p', - { className: 'acms-admin-form-checkbox' }, - e.createElement('input', { - type: 'checkbox', - onChange: () => r((e) => ({ ...e, resize: !n })), - defaultChecked: n, - id: 'resize-checkbox', - }), - e.createElement( - 'label', - { htmlFor: 'resize-checkbox' }, - e.createElement('i', { className: 'acms-admin-ico-checkbox' }), - 'ブラウザ側のリサイズ機能を使用する' - ) - ), - e.createElement( - 'p', - { className: 'acms-admin-form-checkbox' }, - e.createElement('input', { - type: 'checkbox', - onChange: () => r((e) => ({ ...e, alt: !a })), - defaultChecked: a, - id: 'alt-checkbox', - }), - e.createElement( - 'label', - { htmlFor: 'alt-checkbox' }, - e.createElement('i', { className: 'acms-admin-ico-checkbox' }), - ' alt表示用入力欄を使用する' - ) - ) - ); - } - function ki(t) { - const { - field: { extension: n, fileName: a, fileNameMethod: r }, - setField: l, - } = t; - return e.createElement( - 'div', - { className: 'customFieldFileContainer' }, - e.createElement( - 'div', - { className: 'customFieldFileNameOptContainer' }, - e.createElement( - 'div', - { className: 'acms-admin-form-radio' }, - e.createElement('input', { - type: 'radio', - checked: 'random' === r, - id: 'file-name-method-random', - onChange: () => l((e) => ({ ...e, fileNameMethod: 'random' })), - }), - e.createElement( - 'label', - { htmlFor: 'file-name-method-random' }, - e.createElement('i', { className: 'acms-admin-ico-radio' }), - 'ファイル名(ランダム)' - ) - ), - e.createElement( - 'div', - { className: 'acms-admin-form-radio' }, - e.createElement('input', { - type: 'radio', - checked: 'fix' === r, - id: 'file-name-method-fix', - onChange: () => l((e) => ({ ...e, fileNameMethod: 'fix' })), - }), - e.createElement( - 'label', - { htmlFor: 'file-name-method-fix' }, - e.createElement('i', { className: 'acms-admin-ico-radio' }), - 'ファイル名(固定)' - ) - ), - e.createElement( - 'div', - { className: 'acms-admin-form-radio' }, - e.createElement('input', { - type: 'radio', - checked: 'asis' === r, - id: 'file-name-method-asis', - onChange: () => l((e) => ({ ...e, fileNameMethod: 'asis' })), - }), - e.createElement( - 'label', - { htmlFor: 'file-name-method-asis' }, - e.createElement('i', { className: 'acms-admin-ico-radio' }), - 'ファイル名(そのまま)' - ) - ) - ), - e.createElement( - 'div', - null, - e.createElement( - 'div', - { className: 'customFieldInputGroup customFieldInputFileGroup' }, - 'random' === r && - e.createElement('input', { type: 'text', placeholder: 'ランダムの文字列が入ります', disabled: !0 }), - 'fix' === r && - e.createElement('input', { - type: 'text', - defaultValue: a, - onInput: (e) => { - const t = e.target.value; - t && l((e) => ({ ...e, fileName: t })); - }, - placeholder: '例)example.pdf', - }), - 'asis' === r && - e.createElement('input', { type: 'text', placeholder: 'アップロードされたファイル名', disabled: !0 }) - ) - ), - e.createElement( - 'div', - null, - e.createElement('p', null, '拡張子制限(pdfなど)'), - e.createElement('input', { - type: 'text', - defaultValue: n, - onInput: (e) => { - const t = e.target.value; - t && l((e) => ({ ...e, extension: t })); - }, - placeholder: '例)pdf', - }) - ) - ); - } - function Si(t) { - const { - field: { useExpand: n, startHeadingLevel: a, endHeadingLevel: r }, - setField: l, - } = t; - return e.createElement( - 'div', - null, - e.createElement( - 'p', - { className: 'acms-admin-form-checkbox' }, - e.createElement('input', { - type: 'checkbox', - onChange: () => l((e) => ({ ...e, useExpand: !n })), - defaultChecked: n, - id: 'expand-checkbox', - }), - e.createElement( - 'label', - { htmlFor: 'expand-checkbox' }, - e.createElement('i', { className: 'acms-admin-ico-checkbox' }), - ' リッチエディターを拡大表示する' - ) - ), - e.createElement( - 'div', - null, - '開始見出しレベル', - e.createElement('span', { style: { display: 'inline-block', width: '5px', height: '1px' } }), - e.createElement('input', { - type: 'text', - defaultValue: a, - onInput: (e) => { - const t = e.target.value; - t && l((e) => ({ ...e, startHeadingLevel: t })); - }, - }), - e.createElement('span', { style: { display: 'inline-block', width: '15px', height: '1px' } }), - '終了見出しレベル', - e.createElement('span', { style: { display: 'inline-block', width: '5px', height: '1px' } }), - e.createElement('input', { - type: 'text', - defaultValue: r, - onInput: (e) => { - const t = e.target.value; - t && l((e) => ({ ...e, endHeadingLevel: t })); - }, - }) - ) - ); - } - const Ni = { - title: '', - name: '', - type: 'text', - tooltip: '', - placeholder: '', - alert: !1, - duplicatedField: '', - path: 'path', - converter: '', - normal: 'size', - normalSize: null, - largeSize: null, - tiny: null, - tinySize: null, - square: null, - resize: !0, - useDropArea: !0, - dropAreaWidth: 200, - dropAreaHeight: 200, - useFocusImage: !1, - focusImageWidth: 400, - focusImageHeight: 400, - mediaType: 'image', - useExpand: !0, - startHeadingLevel: 2, - endHeadingLevel: 3, - option: [{ value: '', label: '' }], - validator: [{ option: '', value: '', message: '' }], - optionFormat: 'pref', - openValidator: !1, - openConverter: !1, - alt: !1, - fileNameMethod: 'random', - noSearch: !1, - extension: '', - }; - function Ti() { - const [t, n] = (0, e.useState)(Ni), - { addCustomfield: a } = u(), - r = (0, e.useCallback)( - (e) => { - a(e); - }, - [a] - ); - return e.createElement( - 'div', - null, - e.createElement('h2', null, 'コード生成'), - e.createElement( - 'div', - { className: 'customFieldFunction' }, - e.createElement(mi, { field: t, setField: n }), - e.createElement(pi, { field: t, setField: n }), - 'selectbox' === t.type && - e.createElement( - 'div', - null, - e.createElement(hi, { field: t, setField: n }), - e.createElement(yi, { field: t, setField: n }) - ), - 'radioButton' === t.type && - e.createElement( - 'div', - null, - e.createElement(hi, { field: t, setField: n }), - e.createElement(yi, { field: t, setField: n }) - ), - 'checkbox' === t.type && - e.createElement( - 'div', - null, - e.createElement(hi, { field: t, setField: n }), - e.createElement(yi, { field: t, setField: n }) - ), - 'media' === t.type && e.createElement('div', null, e.createElement(xi, { field: t, setField: n })), - 'image' === t.type && - e.createElement( - 'div', - null, - e.createElement(_i, { setField: n }), - e.createElement(wi, { field: t, setField: n }) - ), - 'file' === t.type && e.createElement('div', null, e.createElement(ki, { field: t, setField: n })), - 'richEditor' === t.type && e.createElement('div', null, e.createElement(Si, { field: t, setField: n })), - e.createElement(Ei, { field: t, setField: n }), - e.createElement(vi, { - setField: n, - onSubmit: (e) => { - e.preventDefault(), - t.name && t.type && t.title - ? (t.alert && n((e) => ({ ...e, alert: !1 })), r(t)) - : n((e) => ({ ...e, alert: !0 })); - }, - }) - ), - e.createElement(ui, { field: t, setField: n }) - ); - } - function Ci(t) { - const { - field: { groupAlert: n }, - setField: a, - } = t; - return e.createElement( - e.Fragment, - null, - n - ? e.createElement( - 'p', - { - className: 'acms-admin-alert acms-admin-alert-icon acms-admin-alert-danger', - style: { fontSize: '12px' }, - }, - e.createElement('span', { - className: 'acms-admin-icon acms-admin-alert-icon-before acms-admin-icon-attention', - 'aria-hidden': 'true', - }), - 'グループ名を入力しないとグループを生成できません。', - e.createElement( - 'button', - { - className: 'js-acms-alert-close acms-admin-alert-icon-after', - onClick: () => { - a((e) => ({ ...e, groupAlert: !1 })); - }, - }, - '×' - ) - ) - : null - ); - } - function Fi(t) { - const { - field: { duplicatedField: n }, - setField: a, - } = t; - return e.createElement( - e.Fragment, - null, - n - ? e.createElement( - 'p', - { - className: 'acms-admin-alert acms-admin-alert-icon acms-admin-alert-danger', - style: { fontSize: '12px' }, - }, - e.createElement('span', { - className: 'acms-admin-icon acms-admin-alert-icon-before acms-admin-icon-attention', - 'aria-hidden': 'true', - }), - 'グループ名とフィールド名を同じ値にすることはできません。', - e.createElement( - 'button', - { - className: 'js-acms-alert-close acms-admin-alert-icon-after', - onClick: () => a((e) => ({ ...e, duplicatedField: !1 })), - }, - '×' - ) - ) - : null - ); - } - const Ri = { - type: 'text', - title: '', - name: '', - placeholder: '', - tooltip: '', - alert: !1, - duplicatedField: '', - path: 'path', - converter: '', - normal: 'size', - useDropArea: !0, - dropAreaWidth: 200, - dropAreaHeight: 200, - useFocusImage: !1, - focusImageWidth: 400, - focusImageHeight: 400, - startHeadingLevel: 2, - endHeadingLevel: 3, - mediaType: 'image', - useExpand: !0, - option: [{ value: '', label: '' }], - validator: [{ option: '', value: '', message: '' }], - optionFormat: 'pref', - openValidator: !1, - openConverter: !1, - alt: !1, - fileNameMethod: 'random', - groupAlert: !1, - openGroup: !1, - groupTitle: '', - groupName: '', - }, - Ii = { - title: '', - name: '', - path: '', - normalSize: '', - tiny: '', - tinySize: '', - large: '', - largeSize: '', - square: '', - squareSize: '', - alt: !0, - resize: !0, - useExpand: !0, - useDropArea: !0, - dropAreaWidth: 200, - dropAreaHeight: 200, - useFocusImage: !1, - focusImageWidth: 400, - focusImageHeight: 400, - startHeadingLevel: 2, - endHeadingLevel: 3, - mediaType: 'image', - openConverter: '', - openValidator: '', - converter: '', - tooltip: '', - placeholder: '', - }; - function Ai() { - const [t, n] = (0, e.useState)(Ri), - { - state: { fieldgroup: a }, - setGroupTitleName: r, - addGroupItem: l, - clearGroup: i, - } = u(), - o = (0, e.useCallback)(() => { - t.groupName - ? (n((e) => ({ ...e, groupAlert: !1, duplicatedField: !1, openGroup: !0 })), r(t.groupTitle, t.groupName)) - : n((e) => ({ ...e, groupAlert: !0 })); - }, [t, r]), - c = (0, e.useCallback)(() => { - const e = { unDuplicatedField: !1, unAlert: !1 }; - t.name === t.groupName - ? n((e) => ({ ...e, duplicatedField: !0 })) - : (n((e) => ({ ...e, duplicatedField: !1 })), (e.unDuplicatedField = !0)), - t.type && t.title && t.name - ? (n((e) => ({ ...e, alert: !1 })), (e.unAlert = !0)) - : n((e) => ({ ...e, alert: !0 })), - e.unDuplicatedField && e.unAlert && l(t); - }, [t, l]), - s = (0, e.useCallback)(() => { - confirm('生成したコードの履歴も消えてしまいます。よろしいですか?') && - (i(), n(Ii), n((e) => ({ ...e, openGroup: !1, groupTitle: '', groupName: '' }))); - }, [i]); - return e.createElement( - 'div', - null, - e.createElement( - 'div', - { className: 'customFieldContainer' }, - e.createElement( - 'div', - null, - e.createElement( - 'div', - { className: 'acms-flex acms-justify-between', style: { marginBottom: '1em' } }, - e.createElement('h2', { style: { margin: 0 } }, 'グループ名'), - a.title && - a.name && - e.createElement( - 'button', - { className: 'acms-admin-btn-admin acms-admin-btn-admin-danger', onClick: s }, - 'グループを削除' - ) - ), - e.createElement(Ci, { field: t, setField: n }), - a.title && a.name - ? e.createElement( - 'dl', - { className: 'customFieldGeneratorGroup -openGroup', style: { margin: 0 } }, - e.createElement( - 'div', - { className: 'customFieldGeneratorGroupTitle' }, - e.createElement( - 'dt', - null, - 'グループタイトル', - e.createElement('i', { - className: 'acms-admin-icon-tooltip', - 'data-tip': !0, - 'data-for': 'group-title-tip', - }), - e.createElement( - ri, - { - id: 'group-title-tip', - place: 'top', - type: 'dark', - effect: 'solid', - className: 'acms-admin-tooltip acms-tooltip customFieldTooltip', - }, - e.createElement('span', null, 'カスタムフィールドグループのテーブル用のタイトルとなります。') - ) - ), - e.createElement('dd', null, a.title) - ), - e.createElement( - 'div', - { className: 'customFieldGeneratorGroupVal' }, - e.createElement( - 'dt', - null, - 'フィールド名(変数)', - e.createElement('i', { - className: 'acms-admin-icon-tooltip', - 'data-tip': !0, - 'data-for': 'group-field-tip', - }), - e.createElement( - ri, - { - id: 'group-field-tip', - place: 'top', - type: 'dark', - effect: 'solid', - className: 'acms-admin-tooltip acms-tooltip customFieldTooltip', - }, - e.createElement( - 'span', - null, - 'カスタムフィールドグループのフィールド名です。値を必ず入力してください。' - ) - ) - ), - e.createElement('dd', null, a.name) - ) - ) - : e.createElement( - e.Fragment, - null, - e.createElement( - 'div', - { className: 'customFieldGeneratorGroup' }, - e.createElement( - 'div', - { className: 'customFieldGeneratorGroupTitle' }, - e.createElement( - 'label', - { htmlFor: 'groupTitle' }, - 'グループのタイトル', - e.createElement('i', { - className: 'acms-admin-icon-tooltip', - 'data-tip': !0, - 'data-for': 'group-title-tip', - }), - e.createElement( - ri, - { - id: 'group-title-tip', - place: 'top', - type: 'dark', - effect: 'solid', - className: 'acms-admin-tooltip acms-tooltip customFieldTooltip', - }, - e.createElement( - 'span', - null, - 'カスタムフィールドグループのテーブル用のタイトルとなります。' - ) - ), - e.createElement('span', { className: 'acms-admin-label acms-admin-label-danger' }, '必須') - ), - e.createElement( - 'div', - null, - e.createElement('input', { - type: 'text', - id: 'groupTitle', - defaultValue: t.groupTitle, - onInput: (e) => { - const t = e.target.value; - t && n((e) => ({ ...e, groupTitle: t })); - }, - className: 'acms-admin-form-width-full', - placeholder: '例)スタッフリスト', - }) - ) - ), - e.createElement( - 'div', - { className: 'customFieldGeneratorGroupVal' }, - e.createElement( - 'label', - { htmlFor: 'groupName' }, - 'フィールド名(変数)', - e.createElement('i', { - className: 'acms-admin-icon-tooltip', - 'data-tip': !0, - 'data-for': 'group-field-tip', - }), - e.createElement( - ri, - { - id: 'group-field-tip', - place: 'top', - type: 'dark', - effect: 'solid', - className: 'acms-admin-tooltip acms-tooltip customFieldTooltip', - }, - e.createElement( - 'span', - null, - 'カスタムフィールドグループのフィールド名です。値を必ず入力してください。' - ) - ), - e.createElement('span', { className: 'acms-admin-label acms-admin-label-danger' }, '必須') - ), - e.createElement( - 'div', - null, - e.createElement('input', { - type: 'text', - id: 'groupName', - defaultValue: t.groupName, - onInput: (e) => { - const t = e.target.value; - t && n((e) => ({ ...e, groupName: t })); - }, - className: 'acms-admin-form-width-full', - placeholder: '例)group_staff', - }) - ) - ), - e.createElement( - 'div', - { className: 'customFieldGeneratorGroupButton' }, - a.title && a.name - ? e.createElement( - 'button', - { - className: - 'acms-admin-btn acms-admin-btn-primary acms-admin-btn-disabled customFieldGroupBtn', - id: 'makeGroup', - disabled: !0, - }, - 'グループ生成' - ) - : e.createElement( - 'button', - { - className: 'acms-admin-btn acms-admin-btn-primary customFieldGroupBtn', - id: 'makeGroup', - onClick: o, - }, - 'グループ生成' - ) - ) - ) - ) - ), - a.title && - a.name && - e.createElement( - 'div', - null, - e.createElement('h2', { className: 'customFieldHeading2' }, 'コード生成'), - e.createElement( - 'div', - { className: 'customFieldFunction' }, - (t.alert || t.duplicatedField) && - e.createElement( - 'div', - null, - e.createElement(Fi, { field: t, setField: n }), - e.createElement(mi, { field: t, setField: n }) - ), - e.createElement(pi, { field: t, setField: n }), - 'checkbox' === t.type && - e.createElement('div', null, e.createElement(yi, { field: t, setField: n, add: !1 })), - 'selectbox' === t.type && - e.createElement( - 'div', - null, - e.createElement(hi, { field: t, setField: n }), - e.createElement(yi, { field: t, setField: n }) - ), - 'radioButton' === t.type && - e.createElement( - 'div', - null, - e.createElement(hi, { field: t, setField: n }), - e.createElement(yi, { field: t, setField: n }) - ), - 'image' === t.type && - e.createElement( - 'div', - null, - e.createElement(_i, { setField: n }), - e.createElement(wi, { field: t, setField: n }) - ), - 'file' === t.type && e.createElement('div', null, e.createElement(ki, { field: t, setField: n })), - 'media' === t.type && e.createElement('div', null, e.createElement(xi, { field: t, setField: n })), - 'rich-editor' === t.type && - e.createElement('div', null, e.createElement(Si, { field: t, setField: n })), - e.createElement(Ei, { field: t, setField: n }), - e.createElement(vi, { setField: n, onSubmit: c }) - ) - ) - ), - e.createElement(ui, { field: t, setField: n }) - ); - } - const Oi = { - title: '', - name: '', - type: 'text', - tooltip: '', - placeholder: '', - alert: !1, - duplicatedField: '', - path: 'path', - converter: '', - normal: 'size', - normalSize: null, - largeSize: null, - tiny: null, - tinySize: null, - square: null, - resize: !0, - useDropArea: !0, - dropAreaWidth: 200, - dropAreaHeight: 200, - useFocusImage: !1, - focusImageWidth: 400, - focusImageHeight: 400, - mediaType: 'image', - useExpand: !0, - startHeadingLevel: 2, - endHeadingLevel: 3, - option: [{ value: '', label: '' }], - validator: [{ option: '', value: '', message: '' }], - optionFormat: 'pref', - openValidator: !1, - openConverter: !1, - alt: !1, - fileNameMethod: 'random', - noSearch: !1, - extension: '', - }; - function Di() { - const [t, n] = (0, e.useState)(Oi), - { addCustomunit: a } = u(), - r = (0, e.useCallback)( - (e) => { - a(e); - }, - [a] - ); - return e.createElement( - 'div', - null, - e.createElement('h2', null, 'コード生成'), - e.createElement( - 'div', - { className: 'customFieldFunction' }, - e.createElement(mi, { field: t, setField: n }), - e.createElement(pi, { field: t, setField: n }), - 'selectbox' === t.type && - e.createElement( - 'div', - null, - e.createElement(hi, { field: t, setField: n }), - e.createElement(yi, { field: t, setField: n }) - ), - 'radioButton' === t.type && - e.createElement( - 'div', - null, - e.createElement(hi, { field: t, setField: n }), - e.createElement(yi, { field: t, setField: n }) - ), - 'checkbox' === t.type && - e.createElement( - 'div', - null, - e.createElement(hi, { field: t, setField: n }), - e.createElement(yi, { field: t, setField: n }) - ), - 'media' === t.type && e.createElement('div', null, e.createElement(xi, { field: t, setField: n })), - 'image' === t.type && - e.createElement( - 'div', - null, - e.createElement(_i, { setField: n }), - e.createElement(wi, { field: t, setField: n }) - ), - 'file' === t.type && e.createElement('div', null, e.createElement(ki, { field: t, setField: n })), - 'richEditor' === t.type && e.createElement('div', null, e.createElement(Si, { field: t, setField: n })), - 'media' !== t.type && - 'richEditor' !== t.type && - 'table' !== t.type && - e.createElement(Ei, { field: t, setField: n }), - e.createElement(vi, { - setField: n, - onSubmit: (e) => { - e.preventDefault(), - t.name && t.type && t.title - ? (t.alert && n((e) => ({ ...e, alert: !1 })), r(t)) - : n((e) => ({ ...e, alert: !0 })); - }, - }) - ), - e.createElement(ui, { field: t, setField: n }) - ); - } - const Li = { - type: 'text', - title: '', - name: '', - placeholder: '', - tooltip: '', - alert: !1, - duplicatedField: '', - path: 'path', - converter: '', - normal: 'size', - useDropArea: !0, - dropAreaWidth: 200, - dropAreaHeight: 200, - useFocusImage: !1, - focusImageWidth: 400, - focusImageHeight: 400, - startHeadingLevel: 2, - endHeadingLevel: 3, - mediaType: 'image', - useExpand: !0, - option: [{ value: '', label: '' }], - validator: [{ option: '', value: '', message: '' }], - optionFormat: 'pref', - openValidator: !1, - openConverter: !1, - alt: !1, - fileNameMethod: 'random', - groupAlert: !1, - openGroup: !1, - groupTitle: '', - groupName: '', - }, - Pi = { - title: '', - name: '', - path: '', - normalSize: '', - tiny: '', - tinySize: '', - large: '', - largeSize: '', - square: '', - squareSize: '', - alt: !0, - resize: !0, - useExpand: !0, - useDropArea: !0, - dropAreaWidth: 200, - dropAreaHeight: 200, - useFocusImage: !1, - focusImageWidth: 400, - focusImageHeight: 400, - startHeadingLevel: 2, - endHeadingLevel: 3, - mediaType: 'image', - openConverter: '', - openValidator: '', - converter: '', - tooltip: '', - placeholder: '', - }; - function ji() { - const [t, n] = (0, e.useState)(Li), - { - state: { unitgroup: a }, - setUnitGroupTitleName: r, - addUnitGroupItem: l, - clearUnitGroup: i, - } = u(), - o = (0, e.useCallback)(() => { - t.groupName - ? (n((e) => ({ ...e, groupAlert: !1, duplicatedField: !1, openGroup: !0 })), r(t.groupTitle, t.groupName)) - : n((e) => ({ ...e, groupAlert: !0 })); - }, [t, r]), - c = (0, e.useCallback)(() => { - t.name != t.groupName - ? t.type && t.title && t.name - ? l(t) - : n((e) => ({ ...e, alert: !0 })) - : n((e) => ({ ...e, duplicatedField: !0 })); - }, [t, l]), - s = (0, e.useCallback)(() => { - confirm('生成したコードの履歴も消えてしまいます。よろしいですか?') && - (i(), n(Pi), n((e) => ({ ...e, openGroup: !1, groupTitle: '', groupName: '' }))); - }, [i]); - return e.createElement( - 'div', - null, - e.createElement( - 'div', - { className: 'customFieldContainer' }, - e.createElement( - 'div', - null, - e.createElement( - 'div', - { className: 'acms-flex acms-justify-between', style: { marginBottom: '1em' } }, - e.createElement('h2', { style: { margin: 0 } }, 'グループ名'), - a.title && - a.name && - e.createElement( - 'button', - { className: 'acms-admin-btn-admin acms-admin-btn-admin-danger', onClick: s }, - 'グループを削除' - ) - ), - e.createElement(Ci, { field: t, setField: n }), - a.title && a.name - ? e.createElement( - 'dl', - { className: 'customFieldGeneratorGroup -openGroup', style: { margin: 0 } }, - e.createElement( - 'div', - { className: 'customFieldGeneratorGroupTitle' }, - e.createElement( - 'dt', - null, - 'グループタイトル', - e.createElement('i', { - className: 'acms-admin-icon-tooltip', - 'data-tip': !0, - 'data-for': 'group-title-tip', - }), - e.createElement( - ri, - { - id: 'group-title-tip', - place: 'top', - type: 'dark', - effect: 'solid', - className: 'acms-admin-tooltip acms-tooltip customFieldTooltip', - }, - e.createElement('span', null, 'カスタムフィールドグループのテーブル用のタイトルとなります。') - ) - ), - e.createElement('dd', null, a.title) - ), - e.createElement( - 'div', - { className: 'customFieldGeneratorGroupVal' }, - e.createElement( - 'dt', - null, - 'フィールド名(変数)', - e.createElement('i', { - className: 'acms-admin-icon-tooltip', - 'data-tip': !0, - 'data-for': 'group-field-tip', - }), - e.createElement( - ri, - { - id: 'group-field-tip', - place: 'top', - type: 'dark', - effect: 'solid', - className: 'acms-admin-tooltip acms-tooltip customFieldTooltip', - }, - e.createElement( - 'span', - null, - 'カスタムフィールドグループのフィールド名です。値を必ず入力してください。' - ) - ) - ), - e.createElement('dd', null, a.name) - ) - ) - : e.createElement( - e.Fragment, - null, - e.createElement( - 'div', - { className: 'customFieldGeneratorGroup' }, - e.createElement( - 'div', - { className: 'customFieldGeneratorGroupTitle' }, - e.createElement( - 'label', - { htmlFor: 'groupTitle' }, - 'グループのタイトル', - e.createElement('i', { - className: 'acms-admin-icon-tooltip', - 'data-tip': !0, - 'data-for': 'group-title-tip', - }), - e.createElement( - ri, - { - id: 'group-title-tip', - place: 'top', - type: 'dark', - effect: 'solid', - className: 'acms-admin-tooltip acms-tooltip customFieldTooltip', - }, - e.createElement( - 'span', - null, - 'カスタムフィールドグループのテーブル用のタイトルとなります。' - ) - ), - e.createElement('span', { className: 'acms-admin-label acms-admin-label-danger' }, '必須') - ), - e.createElement( - 'div', - null, - e.createElement('input', { - type: 'text', - id: 'groupTitle', - defaultValue: t.groupTitle, - onInput: (e) => { - const t = e.target.value; - t && n((e) => ({ ...e, groupTitle: t })); - }, - className: 'acms-admin-form-width-full', - placeholder: '例)スタッフリスト', - }) - ) - ), - e.createElement( - 'div', - { className: 'customFieldGeneratorGroupVal' }, - e.createElement( - 'label', - { htmlFor: 'groupName' }, - 'フィールド名(変数)', - e.createElement('i', { - className: 'acms-admin-icon-tooltip', - 'data-tip': !0, - 'data-for': 'group-field-tip', - }), - e.createElement( - ri, - { - id: 'group-field-tip', - place: 'top', - type: 'dark', - effect: 'solid', - className: 'acms-admin-tooltip acms-tooltip customFieldTooltip', - }, - e.createElement( - 'span', - null, - 'カスタムフィールドグループのフィールド名です。値を必ず入力してください。' - ) - ), - e.createElement('span', { className: 'acms-admin-label acms-admin-label-danger' }, '必須') - ), - e.createElement( - 'div', - null, - e.createElement('input', { - type: 'text', - id: 'groupName', - defaultValue: t.groupName, - onInput: (e) => { - const t = e.target.value; - t && n((e) => ({ ...e, groupName: t })); - }, - className: 'acms-admin-form-width-full', - placeholder: '例)group_staff', - }) - ) - ), - e.createElement( - 'div', - { className: 'customFieldGeneratorGroupButton' }, - t.openGroup - ? e.createElement( - 'button', - { - className: - 'acms-admin-btn acms-admin-btn-primary acms-admin-btn-disabled customFieldGroupBtn', - id: 'makeGroup', - disabled: !0, - }, - 'グループ生成' - ) - : e.createElement( - 'button', - { - className: 'acms-admin-btn acms-admin-btn-primary customFieldGroupBtn', - id: 'makeGroup', - onClick: o, - }, - 'グループ生成' - ) - ) - ) - ) - ), - a.title && - a.name && - e.createElement( - 'div', - null, - e.createElement('h2', { className: 'customFieldHeading2' }, 'コード生成'), - e.createElement( - 'div', - { className: 'customFieldFunction' }, - (t.alert || t.duplicatedField) && - e.createElement( - 'div', - null, - e.createElement(Fi, { field: t, setField: n }), - e.createElement(mi, { field: t, setField: n }) - ), - e.createElement(pi, { field: t, setField: n }), - 'checkbox' === t.type && - e.createElement('div', null, e.createElement(yi, { field: t, setField: n, add: !1 })), - 'selectbox' === t.type && - e.createElement( - 'div', - null, - e.createElement(hi, { field: t, setField: n }), - e.createElement(yi, { field: t, setField: n }) - ), - 'radioButton' === t.type && - e.createElement( - 'div', - null, - e.createElement(hi, { field: t, setField: n }), - e.createElement(yi, { field: t, setField: n }) - ), - 'image' === t.type && - e.createElement( - 'div', - null, - e.createElement(_i, { setField: n }), - e.createElement(wi, { field: t, setField: n }) - ), - 'file' === t.type && e.createElement('div', null, e.createElement(ki, { field: t, setField: n })), - 'media' === t.type && e.createElement('div', null, e.createElement(xi, { field: t, setField: n })), - 'rich-editor' === t.type && - e.createElement('div', null, e.createElement(Si, { field: t, setField: n })), - e.createElement(Ei, { field: t, setField: n }), - e.createElement(vi, { setField: n, onSubmit: c }) - ) - ) - ), - e.createElement(ui, { field: t, setField: n }) - ); - } - function zi(t) { - const { item: n } = t, - { - preview: { jsValidator: a }, - } = u(); - return e.createElement( - e.Fragment, - null, - e.createElement('span', a && { 'data-validator': n.name }, n.title), - n.tooltip && - e.createElement('i', { - className: 'acms-admin-icon-tooltip js-acms-tooltip-hover', - 'data-acms-tooltip': n.tooltip, - }) - ); - } - function Mi() { - return ( - (Mi = Object.assign - ? Object.assign.bind() - : function (e) { - for (var t = 1; t < arguments.length; t++) { - var n = arguments[t]; - for (var a in n) ({}).hasOwnProperty.call(n, a) && (e[a] = n[a]); - } - return e; - }), - Mi.apply(null, arguments) - ); - } - function Bi(t) { - const { item: n } = t, - { - preview: { mode: a, acmscss: r, jsValidator: l, editMode: i }, - } = u(); - if (!n.openValidator) return null; - const o = 'file' === n.type || 'image' === n.type ? ''.concat(n.name, '@path') : n.name; - return e.createElement( - e.Fragment, - { key: n.name }, - n.validator.map((t) => - t.option - ? e.createElement( - e.Fragment, - { key: t.option }, - e.createElement('input', { - type: 'hidden', - name: ''.concat(o, ':v#').concat(t.option), - value: t.value, - id: ''.concat(o, '-v-').concat(t.option), - }), - l - ? e.createElement( - 'div', - { - 'data-validator-label': ''.concat(o, '-v-').concat(t.option), - className: 'validator-result-{'.concat(o, ':v#').concat(t.option, '}'), - }, - e.createElement( - 'p', - { className: 'error-text' }, - e.createElement('span', { className: 'acms-admin-icon acms-admin-icon-attention' }), - t.message - ) - ) - : e.createElement( - e.Fragment, - null, - t.message && - e.createElement( - e.Fragment, - null, - 'preview' === i - ? null - : '\x3c!-- BEGIN '.concat(o, ':validator#').concat(t.option, ' --\x3e'), - e.createElement('p', { className: p()({ 'acms-admin-text-error': r }) }, t.message), - 'preview' === i ? null : '\x3c!-- END '.concat(o, ':validator#').concat(t.option, ' --\x3e') - ) - ) - ) - : null - ), - n.converter && - (() => { - switch (a) { - case 'customfield': - case 'fieldgroup': - return e.createElement('input', { type: 'hidden', name: ''.concat(o, ':c'), value: n.converter }); - case 'customunit': - case 'unitgroup': - return e.createElement('input', { type: 'hidden', name: ''.concat(o, '{id}:c'), value: n.converter }); - default: - return null; - } - })() - ); - } - function qi(t) { - const { noSearch: n, name: a } = t; - return e.createElement( - e.Fragment, - null, - n && e.createElement('input', { type: 'hidden', name: ''.concat(a, ':search'), value: '0' }) - ); - } - function Vi(t) { - const { item: n, id: a = '', isValue: r = !0 } = t, - { - preview: { mode: l, jsValidator: i, acmscss: o }, - } = u(); - return e.createElement( - e.Fragment, - null, - 'customfield' === l && - e.createElement( - e.Fragment, - null, - e.createElement( - 'input', - Mi( - { - id: a, - type: n.type, - name: n.name, - defaultValue: '{'.concat(n.name, '}'), - className: p()({ 'acms-admin-form-width-full': o }), - }, - n.placeholder ? { placeholder: n.placeholder } : {}, - i ? { 'data-validator': n.name } : {} - ) - ), - e.createElement(Bi, { item: n }), - e.createElement(qi, { name: n.name, noSearch: n.noSearch }), - e.createElement('input', { type: 'hidden', name: 'field[]', defaultValue: n.name }) - ), - 'fieldgroup' === l && - e.createElement( - e.Fragment, - null, - e.createElement( - 'input', - Mi( - { type: n.type, name: ''.concat(n.name, '[]') }, - r && { value: '{'.concat(n.name, '}') }, - { className: p()({ 'acms-admin-form-width-full': o }) }, - n.placeholder ? { placeholder: n.placeholder } : {} - ) - ) - ), - 'customunit' === l && - e.createElement( - e.Fragment, - null, - e.createElement( - 'input', - Mi( - { - type: n.type, - name: ''.concat(n.name, '{id}'), - value: '{'.concat(n.name, '}'), - className: p()({ 'acms-admin-form-width-full': o }), - }, - n.placeholder ? { placeholder: n.placeholder } : {} - ) - ), - e.createElement(Bi, { item: n }), - e.createElement(qi, { name: n.name, noSearch: n.noSearch }), - e.createElement('input', { type: 'hidden', name: 'unit{id}[]', value: ''.concat(n.name, '{id}') }) - ), - 'unitgroup' === l && - e.createElement( - e.Fragment, - null, - e.createElement( - 'input', - Mi( - { type: n.type, name: ''.concat(n.name, '{id}[]') }, - r && { value: '{'.concat(n.name, '}') }, - { className: p()({ 'acms-admin-form-width-full': o }) }, - n.placeholder ? { placeholder: n.placeholder } : {} - ) - ) - ) - ); - } - function Ui(t) { - const { item: n, id: a = '', isValue: r = !0 } = t, - { - preview: { mode: l, jsValidator: i, acmscss: o }, - } = u(), - c = p()({ 'acms-admin-form-width-full': o, 'js-lite-editor-field': 'liteEditor' === n.type }); - return e.createElement( - e.Fragment, - null, - 'customfield' === l && - e.createElement( - e.Fragment, - null, - e.createElement( - 'textarea', - Mi( - { id: a, name: n.name, className: c }, - n.placeholder ? { placeholder: n.placeholder } : {}, - i ? { 'data-validator': n.name } : {} - ), - r ? '{'.concat(n.name, '}') : '' - ), - e.createElement(Bi, { item: n }), - e.createElement(qi, { name: n.name, noSearch: n.noSearch }), - e.createElement('input', { type: 'hidden', name: 'field[]', defaultValue: n.name }) - ), - 'fieldgroup' === l && - e.createElement( - e.Fragment, - null, - e.createElement( - 'textarea', - Mi( - { id: a, name: ''.concat(n.name, '[]'), className: c }, - n.placeholder ? { placeholder: n.placeholder } : {} - ), - r ? '{'.concat(n.name, '}') : '' - ) - ), - 'customunit' === l && - e.createElement( - e.Fragment, - null, - e.createElement( - 'textarea', - Mi( - { id: a, name: ''.concat(n.name, '{id}'), className: c }, - n.placeholder ? { placeholder: n.placeholder } : {} - ), - r ? '{'.concat(n.name, '}') : '' - ), - e.createElement(Bi, { item: n }), - e.createElement(qi, { name: n.name, noSearch: n.noSearch }), - e.createElement('input', { type: 'hidden', name: 'unit{id}[]', value: ''.concat(n.name, '{id}') }) - ), - 'unitgroup' === l && - e.createElement( - e.Fragment, - null, - e.createElement( - 'textarea', - Mi( - { id: a, name: ''.concat(n.name, '{id}[]'), className: c }, - n.placeholder ? { placeholder: n.placeholder } : {} - ), - r ? '{'.concat(n.name, '}') : '' - ) - ) - ); - } - function Hi(t) { - const { item: n, id: a = '', isSelected: r = !0 } = t, - { - preview: { mode: l, acmscss: i }, - } = u(); - return e.createElement( - e.Fragment, - null, - 'customfield' === l && - e.createElement( - e.Fragment, - null, - e.createElement( - 'select', - { id: a, name: n.name, className: p()({ 'acms-admin-form-width-full': i }) }, - e.createElement('option', { value: '' }), - n.option.map((t, a) => - t.label - ? e.createElement( - 'option', - { key: a, value: t.value, 'data-tmp': '{'.concat(n.name, ':selected#').concat(t.value, '}') }, - t.label - ) - : null - ) - ), - e.createElement('input', { type: 'hidden', name: 'field[]', value: n.name }), - e.createElement(Bi, { item: n }), - e.createElement(qi, { name: n.name, noSearch: n.noSearch }) - ), - 'fieldgroup' === l && - e.createElement( - e.Fragment, - null, - e.createElement( - 'select', - { id: a, name: ''.concat(n.name, '[]'), className: p()({ 'acms-admin-form-width-full': i }) }, - e.createElement('option', { value: '' }), - n.option.map((t, a) => - t.label - ? e.createElement( - 'option', - { - key: a, - value: t.value, - 'data-tmp': r && '{'.concat(n.name, ':selected#').concat(t.value, '}'), - }, - t.label - ) - : null - ) - ) - ), - 'customunit' === l && - e.createElement( - e.Fragment, - null, - e.createElement( - 'select', - { id: a, name: ''.concat(n.name, '{id}'), className: p()({ 'acms-admin-form-width-full': i }) }, - e.createElement('option', { value: '' }), - n.option.map((t, a) => - t.label - ? e.createElement( - 'option', - { key: a, value: t.value, 'data-tmp': '{'.concat(n.name, ':selected#').concat(t.value, '}') }, - t.label - ) - : null - ) - ), - e.createElement('input', { type: 'hidden', name: 'unit{id}[]', value: ''.concat(n.name, '{id}') }), - e.createElement(Bi, { item: n }), - e.createElement(qi, { name: n.name, noSearch: n.noSearch }) - ), - 'unitgroup' === l && - e.createElement( - e.Fragment, - null, - e.createElement( - 'select', - { name: ''.concat(n.name, '{id}[]'), className: p()({ 'acms-admin-form-width-full': i }) }, - e.createElement('option', { value: '' }), - n.option.map((t, a) => - t.label - ? e.createElement( - 'option', - Mi( - { key: a, value: t.value }, - r && { 'data-tmp': '{'.concat(n.name, ':selected#').concat(t.value, '}') } - ), - t.label - ) - : null - ) - ) - ) - ); - } - function Ki(t) { - const { item: n, isChecked: a = !0 } = t, - { - preview: { mode: r, acmscss: l }, - } = u(); - return e.createElement( - e.Fragment, - null, - 'customfield' === r && - e.createElement( - e.Fragment, - null, - n.option.map((t, a) => - t.label - ? e.createElement( - 'div', - { key: a, className: p()({ 'acms-admin-form-checkbox': l }) }, - e.createElement('input', { - type: 'checkbox', - name: ''.concat(n.name, '[]'), - value: t.value, - 'data-tmp': '{'.concat(n.name, ':checked#').concat(t.value, '}'), - id: 'input-checkbox-'.concat(n.name, '-').concat(t.value), - }), - e.createElement( - 'label', - { htmlFor: 'input-checkbox-'.concat(n.name, '-').concat(t.value) }, - e.createElement('i', { className: 'acms-admin-ico-checkbox' }), - t.label - ) - ) - : null - ), - e.createElement('input', { type: 'hidden', name: 'field[]', value: n.name }), - e.createElement(Bi, { item: n }), - e.createElement(qi, { name: n.name, noSearch: n.noSearch }) - ), - 'fieldgroup' === r && - e.createElement( - e.Fragment, - null, - n.option.map((t, r) => - t.label - ? e.createElement( - 'div', - { key: r, className: p()({ 'acms-admin-form-checkbox': l }) }, - e.createElement( - 'input', - Mi( - { type: 'checkbox', name: ''.concat(n.name, '[]'), value: t.value }, - a && { 'data-tmp': '{'.concat(n.name, ':checked#').concat(t.value, '}') }, - { id: 'input-checkbox-'.concat(n.name, '-').concat(t.value) } - ) - ), - e.createElement( - 'label', - { htmlFor: 'input-checkbox-'.concat(n.name, '-').concat(t.value) }, - e.createElement('i', { className: 'acms-admin-ico-checkbox' }), - t.label - ) - ) - : null - ) - ), - 'customunit' === r && - e.createElement( - e.Fragment, - null, - n.option.map((t, a) => - t.label - ? e.createElement( - 'div', - { key: a, className: p()({ 'acms-admin-form-checkbox': l }) }, - e.createElement('input', { - type: 'checkbox', - name: ''.concat(n.name, '{id}[]'), - value: t.value, - 'data-tmp': '{'.concat(n.name, ':checked#').concat(t.value, '}'), - id: 'input-checkbox-'.concat(n.name, '-').concat(t.value, '-{id}'), - }), - e.createElement( - 'label', - { htmlFor: 'input-checkbox-'.concat(n.name, '-').concat(t.value, '-{id}') }, - e.createElement('i', { className: 'acms-admin-ico-checkbox' }), - t.label - ) - ) - : null - ), - e.createElement('input', { type: 'hidden', name: 'unit{id}[]', value: ''.concat(n.name, '{id}') }), - e.createElement(Bi, { item: n }), - e.createElement(qi, { name: n.name, noSearch: n.noSearch }) - ), - 'unitgroup' === r && - e.createElement( - e.Fragment, - null, - n.option.map((t, r) => - t.label - ? e.createElement( - 'div', - { key: r, className: p()({ 'acms-admin-form-checkbox': l }) }, - e.createElement( - 'input', - Mi( - { type: 'checkbox', name: ''.concat(n.name, '{id}[]'), value: t.value }, - a && { 'data-tmp': '{'.concat(n.name, ':checked#').concat(t.value, '}') }, - { id: 'input-checkbox-'.concat(n.name, '-{id}-').concat(t.value) } - ) - ), - e.createElement( - 'label', - { htmlFor: 'input-checkbox-'.concat(n.name, '-{id}-').concat(t.value) }, - l && e.createElement('i', { className: 'acms-admin-ico-checkbox' }), - t.label - ) - ) - : null - ) - ) - ); - } - function Gi(t) { - const { item: n, isChecked: a = !0 } = t, - { - preview: { mode: r, acmscss: l }, - } = u(); - return e.createElement( - e.Fragment, - null, - 'customfield' === r && - e.createElement( - e.Fragment, - null, - n.option.map((t, a) => - t.label - ? e.createElement( - 'div', - { key: a, className: p()({ 'acms-admin-form-radio': l }) }, - e.createElement('input', { - type: 'radio', - name: n.name, - value: t.value, - 'data-tmp': '{'.concat(n.name, ':checked#').concat(t.value, '}'), - id: 'input-radio-'.concat(n.name, '-').concat(t.value), - }), - e.createElement( - 'label', - { htmlFor: 'input-radio-'.concat(n.name, '-').concat(t.value) }, - e.createElement('i', { className: 'acms-admin-ico-radio' }), - t.label - ) - ) - : null - ), - e.createElement('input', { type: 'hidden', name: 'field[]', value: n.name }), - e.createElement(Bi, { item: n }), - e.createElement(qi, { name: n.name, noSearch: n.noSearch }) - ), - 'fieldgroup' === r && - e.createElement( - e.Fragment, - null, - n.option.map((t, r) => - t.label - ? e.createElement( - 'div', - { key: r, className: p()({ 'acms-admin-form-radio': l }) }, - e.createElement( - 'input', - Mi( - { type: 'radio', name: ''.concat(n.name, '[]'), value: t.value }, - a && { 'data-tmp': '{'.concat(n.name, ':checked#').concat(t.value, '}') }, - { id: 'input-radio-'.concat(n.name, '-').concat(t.value) } - ) - ), - e.createElement( - 'label', - { htmlFor: 'input-radio-'.concat(n.name, '-').concat(t.value) }, - l && e.createElement('i', { className: 'acms-admin-ico-radio' }), - t.label - ) - ) - : null - ) - ), - 'customunit' === r && - e.createElement( - e.Fragment, - null, - n.option.map((t, a) => - t.label - ? e.createElement( - 'div', - { key: a, className: p()({ 'acms-admin-form-radio': l }) }, - e.createElement('input', { - type: 'radio', - name: ''.concat(n.name, '{id}'), - value: t.value, - 'data-tmp': '{'.concat(n.name, ':checked#').concat(t.value, '}'), - id: 'input-radio-'.concat(n.name, '-').concat(t.value, '-{id}'), - }), - e.createElement( - 'label', - { htmlFor: 'input-radio-'.concat(n.name, '-').concat(t.value, '-{id}') }, - e.createElement('i', { className: 'acms-admin-ico-radio' }), - t.label - ) - ) - : null - ), - e.createElement('input', { type: 'hidden', name: 'unit{id}[]', value: ''.concat(n.name, '{id}') }), - e.createElement(Bi, { item: n }), - e.createElement(qi, { name: n.name, noSearch: n.noSearch }) - ), - 'unitgroup' === r && - e.createElement( - e.Fragment, - null, - n.option.map((t, r) => - t.label - ? e.createElement( - 'div', - { key: r, className: p()({ 'acms-admin-form-radio': l }) }, - e.createElement( - 'input', - Mi( - { type: 'radio', name: ''.concat(n.name, '{id}[]'), value: t.value }, - a && { 'data-tmp': '{'.concat(n.name, ':checked#').concat(t.value, '}') }, - { id: 'input-radio-'.concat(n.name, '-{id}-').concat(t.value) } - ) - ), - e.createElement( - 'label', - { htmlFor: 'input-radio-'.concat(n.name, '-{id}-').concat(t.value) }, - l && e.createElement('i', { className: 'acms-admin-ico-radio' }), - t.label - ) - ) - : null - ) - ) - ); - } - function Wi(t) { - const { item: n, id: a, isValue: r = !0 } = t, - { - preview: { acmscss: l, editMode: i, mode: o }, - } = u(), - c = (e) => { - let { condition: t, wrap: n, children: a } = e; - return t ? n(a) : a; - }; - return e.createElement( - e.Fragment, - null, - 'customfield' === o && - e.createElement( - 'div', - { className: 'js-media-field' }, - !n.useDropArea && - e.createElement( - e.Fragment, - null, - e.createElement( - 'div', - null, - '\x3c!-- BEGIN_IF [{'.concat(n.name, '@thumbnail}/nem] --\x3e'), - e.createElement( - c, - { - condition: 'file' === n.mediaType, - wrap: (t) => - e.createElement('a', { href: '%{MEDIA_ARCHIVES_DIR}{'.concat(n.name, '@path}') }, t), - }, - e.createElement( - 'img', - Mi( - { - src: '{'.concat(n.name, '@thumbnail}'), - className: p()('js-preview', { 'acms-admin-img-responsive': l }), - alt: '', - id: ''.concat(n.name, '-preview'), - }, - 'file' === n.mediaType && { style: { width: '64px', height: 'auto' } } - ) - ) - ), - '\x3c!-- ELSE --\x3e', - e.createElement( - 'img', - Mi( - { src: '' }, - 'file' === n.mediaType - ? { style: { width: '64px', height: 'auto', display: 'none' } } - : { style: { display: 'none' } }, - { - alt: '', - className: p()('js-preview', { 'acms-admin-img-responsive': l }), - id: ''.concat(n.name, '-preview'), - } - ) - ), - '\x3c!-- END_IF --\x3e', - e.createElement( - 'p', - { className: 'js-text acms-admin-text-danger', style: { display: 'none' } }, - '許可されていないファイルのため挿入できません。' - ) - ), - e.createElement( - 'div', - { className: 'acms-admin-margin-top-mini' }, - e.createElement( - 'button', - { - type: 'button', - className: p()('js-insert', { 'acms-admin-btn': l }), - 'data-type': n.mediaType ? n.mediaType : 'all', - }, - 'メディアを選択' - ), - e.createElement( - 'button', - { - type: 'button', - className: p()('js-insert', { 'acms-admin-btn': l }), - 'data-type': n.mediaType ? n.mediaType : 'all', - 'data-mode': 'upload', - }, - 'アップロード' - ), - e.createElement( - 'button', - { type: 'button', className: p()('js-edit', { 'acms-admin-btn': l }) }, - 'メディアを編集' - ), - e.createElement( - 'button', - { type: 'button', className: p()('js-remove', { 'acms-admin-btn acms-admin-btn-danger': l }) }, - '削除' - ) - ) - ), - n.useDropArea && - e.createElement( - e.Fragment, - null, - e.createElement('div', { - className: 'js-droparea', - 'data-thumbnail': '{'.concat(n.name, '@thumbnail}'), - 'data-type': n.mediaType ? n.mediaType : 'all', - 'data-thumbnail-type': '{'.concat(n.name, '@type}'), - 'data-width': ''.concat(n.dropAreaWidth, 'px'), - 'data-height': ''.concat(n.dropAreaHeight, 'px'), - }), - e.createElement( - 'p', - { className: 'js-text acms-admin-text-danger', style: { display: 'none' } }, - '許可されていないファイルのため挿入できません。' - ), - e.createElement( - 'div', - { className: 'acms-admin-margin-top-mini' }, - e.createElement( - 'button', - { - type: 'button', - className: p()('js-insert', { 'acms-admin-btn': l }), - 'data-type': n.mediaType ? n.mediaType : 'all', - }, - 'メディアを選択' - ) - ) - ), - e.createElement('input', { - type: 'hidden', - name: n.name, - id: a, - value: 'preview' === i ? '' : '{'.concat(n.name, '}'), - className: 'js-value', - }), - e.createElement('input', { type: 'hidden', name: 'field[]', value: n.name }), - e.createElement('input', { type: 'hidden', name: ''.concat(n.name, ':extension'), value: 'media' }), - e.createElement(Bi, { item: n }) - ), - 'fieldgroup' === o && - e.createElement( - 'div', - { className: 'js-media-field' }, - !n.useDropArea && - e.createElement( - e.Fragment, - null, - e.createElement( - 'div', - null, - r && - e.createElement( - e.Fragment, - null, - '\x3c!-- BEGIN_IF [{'.concat(n.name, '@thumbnail}/nem] --\x3e'), - e.createElement( - c, - { - condition: 'file' === n.mediaType, - wrap: (t) => - e.createElement('a', { href: '%{MEDIA_ARCHIVES_DIR}{'.concat(n.name, '@path}') }, t), - }, - e.createElement( - 'img', - Mi( - { - src: '{'.concat(n.name, '@thumbnail}'), - className: p()('js-preview', { 'acms-admin-img-responsive': l }), - alt: '', - }, - 'file' === n.mediaType && { style: { width: '64px', height: 'auto' } } - ) - ) - ), - '\x3c!-- ELSE --\x3e' - ), - e.createElement( - 'img', - Mi( - { alt: '', src: '' }, - 'file' === n.mediaType - ? { style: { width: '64px', height: 'auto', display: 'none' } } - : { style: { display: 'none' } }, - { className: p()('js-preview', { 'acms-admin-img-responsive': l }) } - ) - ), - r && '\x3c!-- END_IF --\x3e', - e.createElement( - 'p', - { className: 'js-text acms-admin-text-danger', style: { display: 'none' } }, - '許可されていないファイルのため挿入できません。' - ) - ), - e.createElement( - 'div', - { className: p()({ 'acms-admin-margin-top-mini': l }) }, - e.createElement( - 'button', - { - type: 'button', - className: p()('js-insert', { 'acms-admin-btn': l }), - 'data-type': n.mediaType ? n.mediaType : 'all', - }, - 'メディアを選択' - ), - e.createElement( - 'button', - { - type: 'button', - className: p()('js-insert', { 'acms-admin-btn': l }), - 'data-type': n.mediaType ? n.mediaType : 'all', - 'data-mode': 'upload', - }, - 'アップロード' - ), - e.createElement( - 'button', - { type: 'button', className: p()('js-edit', { 'acms-admin-btn': l }) }, - 'メディアを編集' - ), - e.createElement( - 'button', - { type: 'button', className: p()('js-remove', { 'acms-admin-btn acms-admin-btn-danger': l }) }, - '削除' - ) - ) - ), - n.useDropArea && - e.createElement( - e.Fragment, - null, - e.createElement( - 'div', - Mi( - { - className: 'js-droparea', - 'data-width': ''.concat(n.dropAreaWidth, 'px'), - 'data-type': n.mediaType ? n.mediaType : 'all', - }, - r && { 'data-thumbnail': '{'.concat(n.name, '@thumbnail}') }, - !r && { 'data-thumbnail-type': '{media@type}' }, - { 'data-height': ''.concat(n.dropAreaHeight, 'px') } - ) - ), - e.createElement( - 'p', - { className: 'js-text acms-admin-text-danger', style: { display: 'none' } }, - '許可されていないファイルのため挿入できません。' - ), - e.createElement( - 'div', - { className: 'acms-admin-margin-top-mini' }, - e.createElement( - 'button', - { - type: 'button', - className: p()('js-insert', { 'acms-admin-btn': l }), - 'data-type': n.mediaType ? n.mediaType : 'all', - }, - 'メディアを選択' - ) - ) - ), - e.createElement( - 'input', - Mi( - { type: 'hidden', name: ''.concat(n.name, '[]') }, - r && { value: 'preview' === i ? '' : '{'.concat(n.name, '}') }, - { className: 'js-value' } - ) - ) - ), - 'customunit' === o && - e.createElement( - 'div', - { className: 'js-media-field' }, - !n.useDropArea && - e.createElement( - e.Fragment, - null, - e.createElement( - 'div', - null, - '\x3c!-- BEGIN_IF [{'.concat(n.name, '@thumbnail}/nem] --\x3e'), - e.createElement( - c, - { - condition: 'file' === n.mediaType, - wrap: (t) => - e.createElement('a', { href: '%{MEDIA_ARCHIVES_DIR}{'.concat(n.name, '@path}') }, t), - }, - e.createElement( - 'img', - Mi( - { - src: '{'.concat(n.name, '@thumbnail}'), - className: p()('js-preview', { 'acms-admin-img-responsive': l }), - alt: '{'.concat(n.name, '@alt}'), - }, - 'file' === n.mediaType && { style: { width: '64px', height: 'auto' } } - ) - ) - ), - '\x3c!-- ELSE --\x3e', - e.createElement( - 'img', - Mi( - { alt: '', src: '' }, - 'file' === n.mediaType - ? { style: { width: '64px', height: 'auto', display: 'none' } } - : { style: { display: 'none' } }, - { className: p()('js-preview', { 'acms-admin-img-responsive': l }) } - ) - ), - '\x3c!-- END_IF --\x3e', - e.createElement( - 'p', - { className: 'js-text acms-admin-text-danger', style: { display: 'none' } }, - '許可されていないファイルのため挿入できません。' - ) - ), - e.createElement( - 'div', - { className: 'acms-admin-margin-top-mini' }, - e.createElement( - 'button', - { - type: 'button', - className: p()('js-insert', { 'acms-admin-btn': l }), - 'data-type': n.mediaType ? n.mediaType : 'all', - }, - 'メディアを選択' - ), - e.createElement( - 'button', - { - type: 'button', - className: p()('js-insert', { 'acms-admin-btn': l }), - 'data-type': n.mediaType ? n.mediaType : 'all', - 'data-mode': 'upload', - }, - 'アップロード' - ), - e.createElement( - 'button', - { type: 'button', className: p()('js-edit', { 'acms-admin-btn': l }) }, - 'メディアを編集' - ), - e.createElement( - 'button', - { type: 'button', className: p()('js-remove', { 'acms-admin-btn acms-admin-btn-danger': l }) }, - '削除' - ) - ) - ), - n.useDropArea && - e.createElement( - e.Fragment, - null, - e.createElement('div', { - className: 'js-droparea', - 'data-thumbnail': '{'.concat(n.name, '@thumbnail}'), - 'data-type': n.mediaType ? n.mediaType : 'all', - 'data-thumbnail-type': '{'.concat(n.name, '@type}'), - 'data-width': ''.concat(n.dropAreaWidth, 'px'), - 'data-height': ''.concat(n.dropAreaHeight, 'px'), - }), - e.createElement( - 'p', - { className: 'js-text acms-admin-text-danger', style: { display: 'none' } }, - '許可されていないファイルのため挿入できません。' - ), - e.createElement( - 'div', - { className: 'acms-admin-margin-top-mini' }, - e.createElement( - 'button', - { - type: 'button', - className: p()('js-insert', { 'acms-admin-btn': l }), - 'data-type': n.mediaType ? n.mediaType : 'all', - }, - 'メディアを選択' - ) - ) - ), - e.createElement('input', { - type: 'hidden', - name: ''.concat(n.name, '{id}'), - value: 'preview' === i ? '' : '{'.concat(n.name, '}'), - className: 'js-value', - }), - e.createElement('input', { type: 'hidden', name: 'unit{id}[]', value: ''.concat(n.name, '{id}') }), - e.createElement('input', { type: 'hidden', name: ''.concat(n.name, '{id}:extension'), value: 'media' }), - e.createElement(Bi, { item: n }) - ), - 'unitgroup' === o && - e.createElement( - e.Fragment, - null, - e.createElement( - 'div', - { className: 'js-media-field' }, - !n.useDropArea && - e.createElement( - e.Fragment, - null, - e.createElement( - 'div', - null, - r && - e.createElement( - e.Fragment, - null, - '\x3c!-- BEGIN_IF [{'.concat(n.name, '@thumbnail}/nem] --\x3e'), - e.createElement( - c, - { - condition: 'file' === n.mediaType, - wrap: (t) => - e.createElement('a', { href: '%{MEDIA_ARCHIVES_DIR}{'.concat(n.name, '@path}') }, t), - }, - e.createElement( - 'img', - Mi( - { - src: '{'.concat(n.name, '@thumbnail}'), - className: p()('js-preview', { 'acms-admin-img-responsive': l }), - alt: '{'.concat(n.name, '@alt}'), - }, - 'file' === n.mediaType && { style: { width: '64px', height: 'auto' } } - ) - ) - ), - '\x3c!-- ELSE --\x3e' - ), - e.createElement( - 'img', - Mi( - { alt: '', src: '' }, - 'file' === n.mediaType - ? { style: { width: '64px', height: 'auto', display: 'none' } } - : { style: { display: 'none' } }, - { className: p()('js-preview', { 'acms-admin-img-responsive': l }) } - ) - ), - r && '\x3c!-- END_IF --\x3e', - e.createElement( - 'p', - { className: 'js-text acms-admin-text-danger', style: { display: 'none' } }, - '許可されていないファイルのため挿入できません。' - ) - ), - e.createElement( - 'div', - { className: p()({ 'acms-admin-margin-top-mini': l }) }, - e.createElement( - 'button', - { - type: 'button', - className: p()('js-insert', { 'acms-admin-btn': l }), - 'data-type': n.mediaType ? n.mediaType : 'all', - }, - 'メディアを選択' - ), - e.createElement( - 'button', - { - type: 'button', - className: p()('js-insert', { 'acms-admin-btn': l }), - 'data-type': n.mediaType ? n.mediaType : 'all', - 'data-mode': 'upload', - }, - 'アップロード' - ), - e.createElement( - 'button', - { type: 'button', className: p()('js-edit', { 'acms-admin-btn': l }) }, - 'メディアを編集' - ), - e.createElement( - 'button', - { type: 'button', className: p()('js-remove', { 'acms-admin-btn acms-admin-btn-danger': l }) }, - '削除' - ) - ) - ), - n.useDropArea && - e.createElement( - e.Fragment, - null, - e.createElement( - 'div', - Mi( - { className: 'js-droparea' }, - r && { 'data-thumbnail': '{'.concat(n.name, '@thumbnail}') }, - r && { 'data-thumbnail-type': '{'.concat(n.name, '@type}') }, - { - 'data-type': n.mediaType ? n.mediaType : 'all', - 'data-width': ''.concat(n.dropAreaWidth, 'px'), - 'data-height': ''.concat(n.dropAreaHeight, 'px'), - } - ) - ), - e.createElement( - 'p', - { className: 'js-text acms-admin-text-danger', style: { display: 'none' } }, - '許可されていないファイルのため挿入できません。' - ), - e.createElement( - 'div', - { className: 'acms-admin-margin-top-mini' }, - e.createElement( - 'button', - { - type: 'button', - className: p()('js-insert', { 'acms-admin-btn': l }), - 'data-type': n.mediaType ? n.mediaType : 'all', - }, - 'メディアを選択' - ) - ) - ), - e.createElement( - 'input', - Mi( - { type: 'hidden', name: ''.concat(n.name, '{id}[]') }, - r && { value: 'preview' === i ? '' : '{'.concat(n.name, '}') }, - { className: 'js-value' } - ) - ) - ) - ) - ); - } - function $i(t) { - const { item: n, id: a, isAttribute: r = !0 } = t, - { - preview: { acmscss: l, editMode: i, mode: o }, - } = u(); - let c = {}, - s = {}; - return ( - 'unitgroup' === o && - (n.normalSize && (c.maxWidth = ''.concat(n.normalSize, 'px')), - (s = Object.assign({}, c, { display: 'none' }))), - e.createElement( - e.Fragment, - null, - 'customfield' === o && - e.createElement( - 'div', - { className: p()({ 'js-img_resize_cf': n.resize }) }, - 'preview' === i ? null : '\x3c!-- BEGIN_IF [{'.concat(n.name, '@path}/nem] --\x3e'), - e.createElement('img', { - src: '%{ARCHIVES_DIR}{'.concat(n.name, '@path}'), - className: p()({ 'acms-admin-img-responsive': l, 'js-img_resize_preview': n.resize }), - style: n.normalSize ? { width: ''.concat(n.normalSize, 'px') } : null, - alt: '{'.concat(n.name, '@alt}'), - }), - e.createElement('input', { - type: 'hidden', - name: ''.concat(n.name, '@old'), - value: '{'.concat(n.name, '@path}'), - }), - e.createElement( - 'div', - { className: p()({ 'acms-admin-form-checkbox': l }) }, - e.createElement('input', { - type: 'checkbox', - name: ''.concat(n.name, '@edit'), - value: 'delete', - id: 'input-checkbox-'.concat(n.name, '@edit'), - }), - e.createElement( - 'label', - { htmlFor: 'input-checkbox-'.concat(n.name, '@edit') }, - l && e.createElement('i', { className: 'acms-admin-ico-checkbox' }), - '削除' - ) - ), - 'preview' === i ? null : '\x3c!-- ELSE --\x3e', - e.createElement('img', { - alt: '', - src: '%{ARCHIVES_DIR}{'.concat(n.name, '@path}'), - className: p()({ 'acms-admin-img-responsive': l, 'js-img_resize_preview': n.resize }), - style: n.normalSize ? { width: ''.concat(n.normalSize, 'px'), display: 'none' } : { display: 'none' }, - }), - 'preview' === i ? null : '\x3c!-- END_IF --\x3e', - e.createElement('input', { - type: 'file', - id: a, - name: n.name, - size: '20', - className: p()({ 'js-img_resize_input': n.resize }), - }), - e.createElement('br', null), - n.alt && - e.createElement( - e.Fragment, - null, - '代替テキスト:', - e.createElement('input', { - type: 'text', - name: ''.concat(n.name, '@alt'), - value: '{'.concat(n.name, '@alt}'), - size: '40', - }) - ), - e.createElement('input', { type: 'hidden', name: 'field[]', value: n.name }), - e.createElement('input', { type: 'hidden', name: ''.concat(n.name, ':extension'), value: 'image' }), - n.normalSize && - e.createElement('input', { - type: 'hidden', - name: ''.concat(n.name, '@').concat(n.normal), - value: n.normalSize, - }), - n.tiny && - e.createElement('input', { - type: 'hidden', - name: ''.concat(n.name, '@').concat(n.tiny), - value: n.tinySize, - }), - n.large && - e.createElement('input', { - type: 'hidden', - name: ''.concat(n.name, '@').concat(n.large), - value: n.largeSize, - }), - n.square && - e.createElement('input', { - type: 'hidden', - name: ''.concat(n.name, '@').concat(n.square), - value: n.squareSize, - }), - e.createElement('input', { type: 'hidden', name: ''.concat(n.name, '@filename'), value: '' }), - e.createElement(Bi, { item: n }) - ), - 'fieldgroup' === o && - e.createElement( - e.Fragment, - null, - e.createElement( - 'div', - { className: p()({ 'js-img_resize_cf': n.resize }) }, - r && - e.createElement( - e.Fragment, - null, - 'preview' === i ? null : '\x3c!-- BEGIN_IF [{'.concat(n.name, '@path}/nem] --\x3e'), - e.createElement('img', { - src: '%{ARCHIVES_DIR}{'.concat(n.name, '@path}'), - className: p()({ 'js-img_resize_preview': n.resize }), - style: c, - alt: '{'.concat(n.name, '@alt}'), - }), - e.createElement('input', { - type: 'hidden', - name: ''.concat(n.name, '@old[]'), - value: '{'.concat(n.name, '@path}'), - }), - e.createElement( - 'label', - { - htmlFor: 'input-checkbox-'.concat(n.name, '@edit[]'), - className: p()({ 'acms-admin-form-checkbox': l }), - }, - e.createElement('input', { - type: 'checkbox', - name: ''.concat(n.name, '@edit[]'), - value: 'delete', - id: 'input-checkbox-'.concat(n.name, '@edit[]'), - }), - l && e.createElement('i', { className: 'acms-admin-ico-checkbox' }), - '削除' - ), - 'preview' === i ? null : '\x3c!-- ELSE --\x3e', - e.createElement('img', { - alt: '', - src: '%{ARCHIVES_DIR}{'.concat(n.name, '@path}'), - className: p()({ 'js-img_resize_preview': n.resize }), - style: s, - }), - 'preview' === i ? null : '\x3c!-- END_IF --\x3e' - ), - !r && e.createElement('img', { src: '', alt: '', style: s, className: 'js-img_resize_preview' }), - e.createElement('input', { - type: 'file', - name: ''.concat(n.name, '[]'), - className: p()({ 'js-img_resize_input': n.resize }), - }), - e.createElement('br', null), - n.alt && - e.createElement( - e.Fragment, - null, - '代替テキスト:', - e.createElement('input', { - type: 'text', - name: ''.concat(n.name, '@alt[]'), - value: '{'.concat(n.name, '@alt}'), - size: '40', - }) - ), - n.normalSize && - e.createElement('input', { - type: 'hidden', - name: ''.concat(n.name, '@').concat(n.normal, '[]'), - value: n.normalSize, - }), - n.tinySize && - e.createElement('input', { - type: 'hidden', - name: ''.concat(n.name, '@').concat(n.tiny, '[]'), - value: n.tinySize, - }), - n.largeSize && - e.createElement('input', { - type: 'hidden', - name: ''.concat(n.name, '@').concat(n.large, '[]'), - value: n.largeSize, - }), - n.square && - e.createElement('input', { - type: 'hidden', - name: ''.concat(n.name, '@').concat(n.square, '[]'), - value: n.squareSize, - }) - ) - ), - 'customunit' === o && - e.createElement( - 'span', - { className: p()({ 'js-img_resize_cf': n.resize }) }, - 'preview' === i ? null : '\x3c!-- BEGIN_IF [{'.concat(n.name, '@path}/nem] --\x3e'), - e.createElement('img', { - src: '%{ARCHIVES_DIR}{'.concat(n.name, '@path}'), - className: p()({ 'acms-admin-img-responsive': l, 'js-img_resize_preview': n.resize }), - style: n.normalSize ? { width: ''.concat(n.normalSize, 'px') } : null, - alt: '{'.concat(n.name, '@alt}'), - }), - e.createElement('input', { - type: 'hidden', - name: ''.concat(n.name, '{id}@old'), - value: '{'.concat(n.name, '@path}'), - }), - e.createElement( - 'div', - { className: p()({ 'acms-admin-form-checkbox': l }) }, - e.createElement('input', { - type: 'checkbox', - name: ''.concat(n.name, '{id}@edit'), - value: 'delete', - id: 'input-checkbox-'.concat(n.name, '{id}@edit'), - }), - e.createElement( - 'label', - { htmlFor: 'input-checkbox-'.concat(n.name, '{id}@edit') }, - l && e.createElement('i', { className: 'acms-admin-ico-checkbox' }), - '削除' - ) - ), - 'preview' === i ? null : '\x3c!-- ELSE --\x3e', - e.createElement('img', { - src: '%{ARCHIVES_DIR}{'.concat(n.name, '@path}'), - alt: '', - className: p()({ 'acms-admin-img-responsive': l, 'js-img_resize_preview': n.resize }), - style: n.normalSize ? { width: ''.concat(n.normalSize, 'px'), display: 'none' } : { display: 'none' }, - }), - 'preview' === i ? null : '\x3c!-- END_IF --\x3e', - e.createElement('input', { - type: 'file', - name: ''.concat(n.name, '{id}'), - size: '20', - className: p()({ 'js-img_resize_input': n.resize }), - }), - e.createElement('br', null), - n.alt && - e.createElement( - e.Fragment, - null, - '代替テキスト:', - e.createElement('input', { - type: 'text', - name: ''.concat(n.name, '{id}@alt'), - value: '{'.concat(n.name, '@alt}'), - size: '40', - }) - ), - e.createElement('input', { type: 'hidden', name: 'unit{id}[]', value: ''.concat(n.name, '{id}') }), - e.createElement('input', { type: 'hidden', name: ''.concat(n.name, '{id}:extension'), value: 'image' }), - n.normalSize && - e.createElement('input', { - type: 'hidden', - name: ''.concat(n.name, '{id}@').concat(n.normal), - value: n.normalSize, - }), - n.tiny && - e.createElement('input', { - type: 'hidden', - name: ''.concat(n.name, '{id}@').concat(n.tiny), - value: n.tinySize, - }), - n.large && - e.createElement('input', { - type: 'hidden', - name: ''.concat(n.name, '{id}@').concat(n.large), - value: n.largeSize, - }), - n.square && - e.createElement('input', { - type: 'hidden', - name: ''.concat(n.name, '{id}@').concat(n.square), - value: n.squareSize, - }), - e.createElement('input', { type: 'hidden', name: ''.concat(n.name, '{id}@filename'), value: '' }), - e.createElement(Bi, { item: n }) - ), - 'unitgroup' === o && - e.createElement( - e.Fragment, - null, - e.createElement( - 'div', - { className: p()({ 'js-img_resize_cf': n.resize }) }, - r && - e.createElement( - e.Fragment, - null, - 'preview' === i ? null : '\x3c!-- BEGIN_IF [{'.concat(n.name, '@path}/nem] --\x3e'), - e.createElement( - 'div', - null, - e.createElement('img', { - src: '%{ARCHIVES_DIR}{'.concat(n.name, '@path}'), - className: p()({ 'js-img_resize_preview': n.resize }), - style: c, - alt: '{'.concat(n.name, '@alt}'), - }) - ), - e.createElement('input', { - type: 'hidden', - name: ''.concat(n.name, '{id}@old[]'), - value: '{'.concat(n.name, '@path}'), - }), - e.createElement( - 'label', - { - htmlFor: 'input-checkbox-'.concat(n.name, '{id}@edit[]'), - className: p()({ 'acms-admin-form-checkbox': l }), - }, - e.createElement('input', { - type: 'checkbox', - name: ''.concat(n.name, '{id}@edit[]'), - value: 'delete', - id: 'input-checkbox-'.concat(n.name, '{id}@edit[]'), - }), - l && e.createElement('i', { className: 'acms-admin-ico-checkbox' }), - '削除' - ), - 'preview' === i ? null : '\x3c!-- ELSE --\x3e' - ), - e.createElement('img', { - alt: '', - src: '%{ARCHIVES_DIR}{'.concat(n.name, '@path}'), - className: p()({ 'js-img_resize_preview': n.resize }), - style: s, - }), - r && 'preview' === i ? null : '\x3c!-- END_IF --\x3e', - e.createElement('input', { - type: 'file', - name: ''.concat(n.name, '{id}[]'), - className: p()({ 'js-img_resize_input': n.resize }), - }), - e.createElement('br', null), - n.alt && - e.createElement( - 'div', - null, - '代替テキスト:', - e.createElement('input', { - type: 'text', - name: ''.concat(n.name, '{id}@alt[]'), - value: '{'.concat(n.name, '@alt}'), - size: '40', - }) - ), - n.normal && - n.normalSize && - e.createElement('input', { - type: 'hidden', - name: ''.concat(n.name, '{id}@').concat(n.normal, '[]'), - value: n.normalSize, - }), - n.tiny && - n.tinySize && - e.createElement('input', { - type: 'hidden', - name: ''.concat(n.name, '{id}@').concat(n.tiny, '[]'), - value: n.tinySize, - }), - n.large && - n.largeSize && - e.createElement('input', { - type: 'hidden', - name: ''.concat(n.name, '{id}@').concat(n.large, '[]'), - value: n.largeSize, - }), - n.square && - n.squareSize && - e.createElement('input', { - type: 'hidden', - name: ''.concat(n.name, '{id}@').concat(n.square, '[]'), - value: n.squareSize, - }) - ) - ) - ) - ); - } - function Xi(t) { - const { item: n, id: a, isValue: r = !0 } = t, - { - preview: { acmscss: l, editMode: i, mode: o }, - } = u(); - let c = '/images/fileicon/', - s = 'file'; - return ( - n.extension ? ((c += ''.concat(n.extension, '.svg')), (s += n.extension)) : (c += 'file.svg'), - e.createElement( - e.Fragment, - null, - 'customfield' === o && - e.createElement( - e.Fragment, - null, - 'preview' === i ? null : '\x3c!-- BEGIN '.concat(n.name, '@path:veil --\x3e'), - e.createElement('input', { - type: 'hidden', - name: ''.concat(n.name, '@old'), - value: '{'.concat(n.name, '@path}'), - }), - e.createElement('input', { - type: 'hidden', - name: ''.concat(n.name, '@secret'), - value: '{'.concat(n.name, '@secret}'), - }), - e.createElement('input', { - type: 'hidden', - name: ''.concat(n.name, '@fileSize'), - value: '{'.concat(n.name, '@fileSize}'), - }), - e.createElement( - 'label', - { - htmlFor: 'input-checkbox-'.concat(n.name, '@edit'), - className: p()({ 'acms-admin-form-checkbox': l }), - }, - e.createElement('input', { - type: 'checkbox', - name: ''.concat(n.name, '@edit'), - value: 'delete', - id: 'input-checkbox-'.concat(n.name, '@edit'), - }), - l && e.createElement('i', { className: 'acms-admin-ico-checkbox' }), - '削除' - ), - e.createElement( - 'a', - { href: '%{ARCHIVES_DIR}{'.concat(n.name, '@path}') }, - e.createElement('img', { src: c, width: '64', height: '64', alt: s }) - ), - 'preview' === i ? null : '\x3c!-- END '.concat(n.name, '@path:veil --\x3e'), - e.createElement('input', { type: 'file', name: n.name, id: a }), - e.createElement('input', { type: 'hidden', name: 'field[]', value: n.name }), - e.createElement('input', { - type: 'hidden', - name: ''.concat(n.name, '@baseName'), - value: '{'.concat(n.name, '@baseName}'), - }), - e.createElement('input', { type: 'hidden', name: ''.concat(n.name, ':extension'), value: 'file' }), - n.extension && - e.createElement('input', { - type: 'hidden', - name: ''.concat(n.name, '@extension'), - value: n.extension, - }), - 'random' === n.fileNameMethod && - n.fileName && - e.createElement('input', { type: 'hidden', name: ''.concat(n.name, '@filename'), value: '' }), - 'fix' === n.fileNameMethod && - n.fileName && - e.createElement('input', { - type: 'hidden', - name: ''.concat(n.name, '@filename'), - value: ''.concat(n.fileName), - }), - 'asis' === n.fileNameMethod && - e.createElement('input', { - type: 'hidden', - name: ''.concat(n.name, '@filename'), - value: '@rawfilename', - }), - e.createElement(Bi, { item: n }) - ), - 'fieldgroup' === o && - e.createElement( - e.Fragment, - null, - r && - e.createElement( - e.Fragment, - null, - 'preview' === i ? null : '\x3c!-- BEGIN_IF [{'.concat(n.name, '@path}/nem] --\x3e'), - e.createElement( - 'div', - { className: p()({ 'acms-admin-form-checkbox': l }) }, - e.createElement('input', { - type: 'checkbox', - name: ''.concat(n.name, '@edit[]'), - value: 'delete', - id: 'input-checkbox-'.concat(n.name, '{i}@edit[]'), - }), - e.createElement( - 'label', - { htmlFor: 'input-checkbox-'.concat(n.name, '{i}@edit[]') }, - l && e.createElement('i', { className: 'acms-admin-ico-checkbox' }), - ' 削除' - ) - ), - e.createElement( - 'a', - { href: '%{ARCHIVES_DIR}{'.concat(n.name, '@path}') }, - e.createElement('img', { src: c, width: '64', height: '64', alt: s }) - ), - 'preview' === i ? null : '\x3c!-- END_IF --\x3e', - e.createElement('input', { - type: 'hidden', - name: ''.concat(n.name, '@old[]'), - value: '{'.concat(n.name, '@path}'), - }) - ), - n.extension && - e.createElement('input', { - type: 'hidden', - name: ''.concat(n.name, '@extension[]'), - value: n.extension, - }), - 'random' === n.fileNameMethod && - n.fileName && - e.createElement('input', { type: 'hidden', name: ''.concat(n.name, '@filename[]'), value: '' }), - 'fix' === n.fileNameMethod && - n.fileName && - e.createElement('input', { - type: 'hidden', - name: ''.concat(n.name, '@filename[]'), - value: n.fileName, - }), - 'asis' === n.fileNameMethod && - e.createElement('input', { - type: 'hidden', - name: ''.concat(n.name, '@filename[]'), - value: '@rawfilename', - }), - e.createElement('input', { type: 'file', name: ''.concat(n.name, '[]') }) - ), - 'customunit' === o && - e.createElement( - e.Fragment, - null, - 'preview' === i ? null : '\x3c!-- BEGIN_IF [{'.concat(n.name, '@path}/nem] --\x3e'), - e.createElement('input', { - type: 'hidden', - name: ''.concat(n.name, '{id}@old'), - value: '{'.concat(n.name, '@path}'), - }), - e.createElement('input', { - type: 'hidden', - name: ''.concat(n.name, '{id}@secret'), - value: '{'.concat(n.name, '@secret}'), - }), - e.createElement('input', { - type: 'hidden', - name: ''.concat(n.name, '{id}@fileSize'), - value: '{'.concat(n.name, '@fileSize}'), - }), - e.createElement( - 'label', - { - htmlFor: 'input-checkbox-'.concat(n.name, '{id}@edit'), - className: p()({ 'acms-admin-form-checkbox': l }), - }, - e.createElement('input', { - type: 'checkbox', - name: ''.concat(n.name, '{id}@edit'), - value: 'delete', - id: 'input-checkbox-'.concat(n.name, '{id}@edit'), - }), - l && e.createElement('i', { className: 'acms-admin-ico-checkbox' }), - '削除' - ), - e.createElement( - 'a', - { href: '%{ARCHIVES_DIR}{'.concat(n.name, '@path}') }, - e.createElement('img', { src: c, width: '64', height: '64', alt: s }) - ), - 'preview' === i ? null : '\x3c!-- END_IF --\x3e', - e.createElement('input', { type: 'file', name: ''.concat(n.name, '{id}') }), - e.createElement('input', { type: 'hidden', name: 'unit{id}[]', value: ''.concat(n.name, '{id}') }), - e.createElement('input', { - type: 'hidden', - name: ''.concat(n.name, '{id}@baseName'), - value: '{'.concat(n.name, '@baseName}'), - }), - e.createElement('input', { type: 'hidden', name: ''.concat(n.name, '{id}:extension'), value: 'file' }), - n.extension && - e.createElement('input', { - type: 'hidden', - name: ''.concat(n.name, '{id}@extension'), - value: n.extension, - }), - 'random' === n.fileNameMethod && - n.fileName && - e.createElement('input', { type: 'hidden', name: ''.concat(n.name, '{id}@filename'), value: '' }), - 'fix' === n.fileNameMethod && - n.fileName && - e.createElement('input', { - type: 'hidden', - name: ''.concat(n.name, '{id}@filename'), - value: n.fileName, - }), - 'asis' === n.fileNameMethod && - e.createElement('input', { - type: 'hidden', - name: ''.concat(n.name, '{id}@filename'), - value: '@rawfilename', - }), - e.createElement(Bi, { item: n }) - ), - 'unitgroup' === o && - e.createElement( - e.Fragment, - null, - r && - e.createElement( - e.Fragment, - null, - 'preview' === i ? null : '\x3c!-- BEGIN_IF [{'.concat(n.name, '@path}/nem] --\x3e'), - e.createElement( - 'div', - { className: p()({ 'acms-admin-form-checkbox': l }) }, - e.createElement('input', { - type: 'checkbox', - name: ''.concat(n.name, '{id}@edit[]'), - value: 'delete', - id: 'input-checkbox-'.concat(n.name, '{id}@edit[]'), - }), - e.createElement( - 'label', - { htmlFor: 'input-checkbox-'.concat(n.name, '{id}@edit[]') }, - l && e.createElement('i', { className: 'acms-admin-ico-checkbox' }), - ' 削除' - ) - ), - e.createElement( - 'a', - { href: '%{ARCHIVES_DIR}{'.concat(n.name, '@path}') }, - e.createElement('img', { src: c, width: '64', height: '64', alt: s }) - ), - 'preview' === i ? null : '\x3c!-- END_IF --\x3e', - e.createElement('input', { - type: 'hidden', - name: ''.concat(n.name, '{id}@old[]'), - value: '{'.concat(n.name, '@path}'), - }) - ), - e.createElement('input', { type: 'file', name: ''.concat(n.name, '{id}[]') }), - !r && - n.extension && - e.createElement('input', { - type: 'hidden', - name: ''.concat(n.name, '{id}@extension[]'), - value: '{extension}', - }), - 'random' === n.fileNameMethod && - n.fileName && - e.createElement('input', { type: 'hidden', name: ''.concat(n.name, '{id}@filename[]'), value: '' }), - 'fix' === n.fileNameMethod && - n.fileName && - e.createElement('input', { - type: 'hidden', - name: ''.concat(n.name, '{id}@filename[]'), - value: n.fileName, - }), - 'asis' === n.fileNameMethod && - e.createElement('input', { - type: 'hidden', - name: ''.concat(n.name, '{id}@filename[]'), - value: '@rawfilename', - }) - ) - ) - ); - } - function Yi(t) { - const { item: n, id: a = '', isValue: r = !0 } = t, - { - preview: { mode: l }, - } = u(), - i = (e) => { - let { condition: t, wrap: n, children: a } = e; - return t ? n(a) : a; - }; - return e.createElement( - e.Fragment, - null, - 'customfield' === l && - e.createElement( - i, - { - condition: n.useExpand, - wrap: (t) => - e.createElement( - 'div', - { className: 'js-expand js-acms-expand' }, - e.createElement( - 'div', - { className: 'js-acms-expand-inner' }, - e.createElement( - 'button', - { className: 'js-expand-btn js-acms-expand-btn', type: 'button' }, - e.createElement('i', { - className: 'acms-admin-icon acms-admin-icon-expand-arrow js-expand-icon', - }) - ), - t - ) - ), - }, - e.createElement( - 'div', - { - className: 'js-smartblock', - 'data-heading-start': n.startHeadingLevel, - 'data-heading-end': n.endHeadingLevel, - }, - e.createElement('div', { className: 'js-smartblock-edit' }), - e.createElement('input', { - className: 'js-smartblock-body', - type: 'hidden', - name: n.name, - value: '{'.concat(n.name, '@html}'), - }), - e.createElement('input', { id: a, type: 'hidden', name: 'field[]', value: n.name }), - e.createElement('input', { - type: 'hidden', - name: ''.concat(n.name, ':extension'), - value: 'rich-editor', - }) - ) - ), - 'fieldgroup' === l && - e.createElement( - i, - { - condition: n.useExpand, - wrap: (t) => - e.createElement( - 'div', - { className: 'js-expand js-acms-expand' }, - e.createElement( - 'div', - { className: 'js-acms-expand-inner' }, - e.createElement( - 'button', - { className: 'js-expand-btn js-acms-expand-btn', type: 'button' }, - e.createElement('i', { - className: 'acms-admin-icon acms-admin-icon-expand-arrow js-expand-icon', - }) - ), - t - ) - ), - }, - e.createElement( - 'div', - { - className: 'js-smartblock', - 'data-heading-start': n.startHeadingLevel, - 'data-heading-end': n.endHeadingLevel, - }, - e.createElement('div', { className: 'js-smartblock-edit' }), - r - ? e.createElement( - e.Fragment, - null, - e.createElement('input', { - id: a, - className: 'js-smartblock-body', - type: 'hidden', - name: ''.concat(n.name, '[]'), - value: '{'.concat(n.name, '@html}'), - }), - e.createElement('input', { - type: 'hidden', - name: ''.concat(n.name, ':extension'), - value: 'rich-editor', - }) - ) - : e.createElement('input', { - id: a, - className: 'js-smartblock-body', - type: 'hidden', - name: ''.concat(n.name, '[]'), - value: '', - }) - ) - ), - 'customunit' === l && - e.createElement( - i, - { - condition: n.useExpand, - wrap: (t) => - e.createElement( - 'div', - { className: 'js-expand js-acms-expand' }, - e.createElement( - 'div', - { className: 'js-acms-expand-inner' }, - e.createElement( - 'button', - { className: 'js-expand-btn js-acms-expand-btn', type: 'button' }, - e.createElement('i', { - className: 'acms-admin-icon acms-admin-icon-expand-arrow js-expand-icon', - }) - ), - t - ) - ), - }, - e.createElement( - 'div', - { - className: 'js-smartblock', - 'data-heading-start': n.startHeadingLevel, - 'data-heading-end': n.endHeadingLevel, - }, - e.createElement('div', { className: 'js-smartblock-edit' }), - e.createElement('input', { - className: 'js-smartblock-body', - type: 'hidden', - name: ''.concat(n.name, '{id}'), - value: '{'.concat(n.name, '@html}'), - }), - e.createElement('input', { type: 'hidden', name: 'unit{id}[]', value: ''.concat(n.name, '{id}') }), - e.createElement('input', { - type: 'hidden', - name: ''.concat(n.name, '{id}:extension'), - value: 'rich-editor', - }) - ) - ), - 'unitgroup' === l && - e.createElement( - e.Fragment, - null, - e.createElement( - i, - { - condition: n.useExpand, - wrap: (t) => - e.createElement( - 'div', - { className: 'js-expand js-acms-expand' }, - e.createElement( - 'div', - { className: 'js-acms-expand-inner' }, - e.createElement( - 'button', - { className: 'js-expand-btn js-acms-expand-btn', type: 'button' }, - e.createElement('i', { - className: 'acms-admin-icon acms-admin-icon-expand-arrow js-expand-icon', - }) - ), - t - ) - ), - }, - e.createElement( - 'div', - { - className: 'js-smartblock', - 'data-heading-start': n.startHeadingLevel, - 'data-heading-end': n.endHeadingLevel, - }, - e.createElement('div', { className: 'js-smartblock-edit' }), - r - ? e.createElement('input', { - className: 'js-smartblock-body', - type: 'hidden', - name: ''.concat(n.name, '{id}[]'), - value: '{'.concat(n.name, '@html}'), - }) - : e.createElement( - e.Fragment, - null, - e.createElement('input', { - className: 'js-smartblock-body', - type: 'hidden', - name: ''.concat(n.name, '{id}[]'), - value: '', - }), - e.createElement('input', { - type: 'hidden', - name: ''.concat(n.name, '{id}:extension'), - value: 'rich-editor', - }) - ) - ) - ) - ) - ); - } - function Qi(t) { - const { item: n, id: a = '', isValue: r = !0 } = t, - { - preview: { mode: l, editMode: i }, - } = u(); - return e.createElement( - e.Fragment, - null, - 'customfield' === l && - e.createElement( - 'div', - { className: 'js-editable-table-field' }, - e.createElement( - 'div', - { className: 'js-editable-table' }, - 'preview' === i ? null : '\x3c!-- BEGIN_IF [{'.concat(n.name, '}[delnl]/nem] --\x3e\n'), - 'preview' === i ? null : '{'.concat(n.name, '}[raw]'), - 'preview' === i ? null : '\x3c!-- ELSE --\x3e', - e.createElement( - 'table', - null, - e.createElement( - 'tr', - null, - e.createElement('th', null, 'サンプル'), - e.createElement('th', null, 'サンプル') - ), - e.createElement( - 'tr', - null, - e.createElement('td', null, 'サンプル'), - e.createElement('td', null, 'サンプル') - ) - ), - 'preview' === i ? null : '\x3c!-- END_IF --\x3e', - e.createElement('input', { - type: 'hidden', - className: 'js-editable-table-dest', - value: '{'.concat(n.name, '}'), - name: n.name, - }), - e.createElement('input', { id: a, type: 'hidden', name: 'field[]', value: n.name }) - ) - ), - 'fieldgroup' === l && - e.createElement( - e.Fragment, - null, - e.createElement( - 'div', - { className: 'js-editable-table-field' }, - e.createElement( - 'div', - { className: 'js-editable-table' }, - 'preview' === i ? null : '\x3c!-- BEGIN_IF [{'.concat(n.name, '}[delnl]/nem] --\x3e\n'), - 'preview' === i ? null : '{'.concat(n.name, '}[raw]'), - 'preview' === i ? null : '\x3c!-- ELSE --\x3e', - e.createElement( - 'table', - null, - e.createElement( - 'tr', - null, - e.createElement('th', null, 'サンプル'), - e.createElement('th', null, 'サンプル') - ), - e.createElement( - 'tr', - null, - e.createElement('td', null, 'サンプル'), - e.createElement('td', null, 'サンプル') - ) - ), - 'preview' === i ? null : '\x3c!-- END_IF --\x3e', - e.createElement( - 'input', - Mi( - { id: a, type: 'hidden', className: 'js-editable-table-dest' }, - r && { value: '{'.concat(n.name, '}') }, - { name: ''.concat(n.name, '[]') } - ) - ) - ) - ) - ), - 'customunit' === l && - e.createElement( - 'div', - { className: 'js-editable-table-field' }, - e.createElement( - 'div', - { className: 'js-editable-table' }, - 'preview' === i ? null : '\x3c!-- BEGIN_IF [{'.concat(n.name, '}[delnl]/nem] --\x3e\n'), - 'preview' === i ? null : '{'.concat(n.name, '}[raw]'), - 'preview' === i ? null : '\x3c!-- ELSE --\x3e', - e.createElement( - 'table', - null, - e.createElement( - 'tr', - null, - e.createElement('th', null, 'サンプル'), - e.createElement('th', null, 'サンプル') - ), - e.createElement( - 'tr', - null, - e.createElement('td', null, 'サンプル'), - e.createElement('td', null, 'サンプル') - ) - ), - 'preview' === i ? null : '\x3c!-- END_IF --\x3e', - e.createElement('input', { - id: a, - type: 'hidden', - className: 'js-editable-table-dest', - value: '{'.concat(n.name, '}'), - name: ''.concat(n.name, '{id}'), - }), - e.createElement('input', { type: 'hidden', name: 'unit{id}[]', value: ''.concat(n.name, '{id}') }) - ) - ), - 'unitgroup' === l && - e.createElement( - e.Fragment, - null, - e.createElement( - 'div', - { className: 'js-editable-table-field' }, - e.createElement( - 'div', - { className: 'js-editable-table' }, - 'preview' === i ? null : '\x3c!-- BEGIN_IF [{'.concat(n.name, '}[delnl]/nem] --\x3e\n'), - 'preview' === i ? null : '{'.concat(n.name, '}[raw]'), - 'preview' === i ? null : '\x3c!-- ELSE --\x3e', - e.createElement( - 'table', - null, - e.createElement( - 'tr', - null, - e.createElement('th', null, 'サンプル'), - e.createElement('th', null, 'サンプル') - ), - e.createElement( - 'tr', - null, - e.createElement('td', null, 'サンプル'), - e.createElement('td', null, 'サンプル') - ) - ), - 'preview' === i ? null : '\x3c!-- END_IF --\x3e', - e.createElement( - 'input', - Mi( - { id: a, type: 'hidden', className: 'js-editable-table-dest' }, - r && { value: '{'.concat(n.name, '}') }, - { name: ''.concat(n.name, '{id}[]') } - ) - ) - ) - ) - ) - ); - } - function Zi() { - const { - state: { customfield: t }, - preview: { editMode: n, jsValidator: a, acmscss: r }, - } = u(); - return e.createElement( - e.Fragment, - null, - a && - 'preview' !== n && - '\x3c!--
--\x3e', - e.createElement( - 'div', - { className: p()({ 'acms-admin-grid-edit-table': r }) }, - t.length > 0 && - t.map((t, n) => { - switch (t.type) { - case 'text': - case 'tel': - case 'number': - case 'email': - case 'password': - return e.createElement( - 'div', - { - key: n, - className: p()({ - 'acms-admin-flex': r, - 'acms-admin-flex-col-max-md': r, - 'acms-admin-flex-row-min-md': r, - }), - }, - e.createElement( - 'label', - { - className: p()({ 'acms-admin-grid-edit-table-heading': r }), - htmlFor: ''.concat(t.name).concat(n), - }, - e.createElement(zi, { item: t }) - ), - e.createElement( - 'div', - { className: p()({ 'acms-admin-flex-1': r }) }, - e.createElement(Vi, { item: t, id: ''.concat(t.name).concat(n) }) - ) - ); - case 'textarea': - case 'liteEditor': - return e.createElement( - 'div', - { - key: n, - className: p()({ - 'acms-admin-flex': r, - 'acms-admin-flex-col-max-md': r, - 'acms-admin-flex-row-min-md': r, - }), - }, - e.createElement( - 'label', - { - className: p()({ 'acms-admin-grid-edit-table-heading': r }), - htmlFor: ''.concat(t.name).concat(n), - }, - e.createElement(zi, { item: t }) - ), - e.createElement( - 'div', - { className: p()({ 'acms-admin-flex-1': r }) }, - e.createElement(Ui, { item: t, id: ''.concat(t.name).concat(n) }) - ) - ); - case 'selectbox': - return e.createElement( - 'div', - { - key: n, - className: p()({ - 'acms-admin-flex': r, - 'acms-admin-flex-col-max-md': r, - 'acms-admin-flex-row-min-md': r, - }), - }, - e.createElement( - 'label', - { - className: p()({ 'acms-admin-grid-edit-table-heading': r }), - htmlFor: ''.concat(t.name).concat(n), - }, - e.createElement(zi, { item: t }) - ), - e.createElement( - 'div', - { className: p()({ 'acms-admin-flex-1': r }) }, - e.createElement(Hi, { item: t, id: ''.concat(t.name).concat(n) }) - ) - ); - case 'checkbox': - return e.createElement( - 'div', - { - key: n, - className: p()({ - 'acms-admin-flex': r, - 'acms-admin-flex-col-max-md': r, - 'acms-admin-flex-row-min-md': r, - }), - }, - e.createElement( - 'fieldset', - { key: n, className: p()({ 'acms-admin-contents': r }) }, - e.createElement( - 'legend', - { className: p()({ 'acms-admin-grid-edit-table-heading': r }) }, - e.createElement(zi, { item: t }) - ), - e.createElement( - 'div', - { className: p()({ 'acms-admin-flex-1': r }) }, - e.createElement(Ki, { item: t }) - ) - ) - ); - case 'radioButton': - return e.createElement( - 'div', - { key: n, className: p()({ 'acms-admin-flex': r, 'acms-admin-flex-row': r }) }, - e.createElement( - 'fieldset', - { key: n, className: p()({ 'acms-admin-contents': r }) }, - e.createElement( - 'legend', - { className: p()({ 'acms-admin-grid-edit-table-heading': r }) }, - e.createElement(zi, { item: t }) - ), - e.createElement( - 'div', - { className: p()({ 'acms-admin-flex-1': r }) }, - e.createElement(Gi, { item: t }) - ) - ) - ); - case 'media': - return e.createElement( - 'div', - { - key: n, - className: p()({ - 'acms-admin-flex': r, - 'acms-admin-flex-col-max-md': r, - 'acms-admin-flex-row-min-md': r, - }), - }, - e.createElement( - 'label', - { - className: p()({ 'acms-admin-grid-edit-table-heading': r }), - htmlFor: ''.concat(t.name).concat(n), - }, - e.createElement(zi, { item: t }) - ), - e.createElement( - 'div', - { className: p()({ 'acms-admin-flex-1': r }) }, - e.createElement(Wi, { item: t, id: ''.concat(t.name).concat(n) }) - ) - ); - case 'image': - return e.createElement( - 'div', - { - key: n, - className: p()({ - 'acms-admin-flex': r, - 'acms-admin-flex-col-max-md': r, - 'acms-admin-flex-row-min-md': r, - }), - }, - e.createElement( - 'label', - { - className: p()({ 'acms-admin-grid-edit-table-heading': r }), - htmlFor: ''.concat(t.name).concat(n), - }, - e.createElement(zi, { item: t }) - ), - e.createElement( - 'div', - { className: p()({ 'acms-admin-flex-1': r }) }, - e.createElement($i, { item: t, id: ''.concat(t.name).concat(n) }) - ) - ); - case 'file': - return e.createElement( - 'div', - { - key: n, - className: p()({ - 'acms-admin-flex': r, - 'acms-admin-flex-col-max-md': r, - 'acms-admin-flex-row-min-md': r, - }), - }, - e.createElement( - 'label', - { - className: p()({ 'acms-admin-grid-edit-table-heading': r }), - htmlFor: ''.concat(t.name).concat(n), - }, - e.createElement(zi, { item: t }) - ), - e.createElement( - 'div', - { className: p()({ 'acms-admin-flex-1': r }) }, - e.createElement(Xi, { item: t, id: ''.concat(t.name).concat(n) }) - ) - ); - case 'richEditor': - return e.createElement( - 'div', - { - key: n, - className: p()({ - 'acms-admin-flex': r, - 'acms-admin-flex-col-max-md': r, - 'acms-admin-flex-row-min-md': r, - }), - }, - e.createElement( - 'label', - { - className: p()({ 'acms-admin-grid-edit-table-heading': r }), - htmlFor: ''.concat(t.name).concat(n), - }, - e.createElement(zi, { item: t }) - ), - e.createElement( - 'div', - { className: p()({ 'acms-admin-flex-1': r }) }, - e.createElement(Yi, { item: t, id: ''.concat(t.name).concat(n) }) - ) - ); - case 'table': - return e.createElement( - 'div', - { - key: n, - className: p()({ - 'acms-admin-flex': r, - 'acms-admin-flex-col-max-md': r, - 'acms-admin-flex-row-min-md': r, - }), - }, - e.createElement( - 'label', - { - className: p()({ 'acms-admin-grid-edit-table-heading': r }), - htmlFor: ''.concat(t.name).concat(n), - }, - e.createElement(zi, { item: t }) - ), - e.createElement( - 'div', - { className: p()({ 'acms-admin-flex-1': r }) }, - e.createElement(Qi, { item: t, id: ''.concat(t.name).concat(n) }) - ) - ); - default: - return null; - } - }) - ), - a && 'preview' !== n && '\x3c!--
--\x3e' - ); - } - function Ji() { - const { - state: { customfield: t }, - preview: { jsValidator: n, acmscss: a }, - } = u(); - return e.createElement( - e.Fragment, - null, - n && '\x3c!--
--\x3e', - e.createElement( - 'table', - { className: p()({ 'acms-admin-table-admin-edit': a }) }, - t.length > 0 && - t.map((t, n) => { - switch (t.type) { - case 'text': - case 'tel': - case 'number': - case 'email': - case 'password': - return e.createElement( - 'tr', - { key: n }, - e.createElement('th', null, e.createElement(zi, { item: t })), - e.createElement('td', null, e.createElement(Vi, { item: t, id: ''.concat(t.name).concat(n) })) - ); - case 'textarea': - case 'liteEditor': - return e.createElement( - 'tr', - { key: n }, - e.createElement('th', null, e.createElement(zi, { item: t })), - e.createElement('td', null, e.createElement(Ui, { item: t, id: ''.concat(t.name).concat(n) })) - ); - case 'selectbox': - return e.createElement( - 'tr', - { key: n }, - e.createElement('th', null, e.createElement(zi, { item: t })), - e.createElement('td', null, e.createElement(Hi, { item: t, id: ''.concat(t.name).concat(n) })) - ); - case 'checkbox': - return e.createElement( - 'tr', - { key: n }, - e.createElement('th', null, e.createElement(zi, { item: t })), - e.createElement('td', null, e.createElement(Ki, { item: t })) - ); - case 'radioButton': - return e.createElement( - 'tr', - { key: n }, - e.createElement('th', null, e.createElement(zi, { item: t })), - e.createElement('td', null, e.createElement(Gi, { item: t })) - ); - case 'media': - return e.createElement( - 'tr', - { key: n }, - e.createElement('th', null, e.createElement(zi, { item: t })), - e.createElement('td', null, e.createElement(Wi, { item: t, id: ''.concat(t.name).concat(n) })) - ); - case 'image': - return e.createElement( - 'tr', - { key: n }, - e.createElement('th', null, e.createElement(zi, { item: t })), - e.createElement('td', null, e.createElement($i, { item: t, id: ''.concat(t.name).concat(n) })) - ); - case 'file': - return e.createElement( - 'tr', - { key: n }, - e.createElement('th', null, e.createElement(zi, { item: t })), - e.createElement('td', null, e.createElement(Xi, { item: t, id: ''.concat(t.name).concat(n) })) - ); - case 'richEditor': - return e.createElement( - 'tr', - { key: n }, - e.createElement('th', null, e.createElement(zi, { item: t })), - e.createElement('td', null, e.createElement(Yi, { item: t, id: ''.concat(t.name).concat(n) })) - ); - case 'table': - return e.createElement( - 'tr', - { key: n }, - e.createElement('th', null, e.createElement(zi, { item: t })), - e.createElement('td', null, e.createElement(Qi, { item: t, id: ''.concat(t.name).concat(n) })) - ); - default: - return null; - } - }) - ), - n && '\x3c!--
--\x3e' - ); - } - function eo() { - const { - preview: { tag: t }, - } = u(); - return e.createElement( - e.Fragment, - null, - 'section' === t ? e.createElement(Zi, null) : null, - 'table' === t ? e.createElement(Ji, null) : null - ); - } - function to() { - const { - state: { fieldgroup: t }, - preview: { acmscss: n, editMode: a }, - } = u(), - r = () => - e.createElement( - 'div', - { - className: p()({ - 'sortable-item': !0, - 'acms-admin-flex': n, - 'acms-admin-flex-col-max-md': n, - 'acms-admin-flex-row-min-md': n, - 'acms-admin-items-start-max-md': n, - 'acms-admin-items-center-min-md': n, - }), - }, - e.createElement( - 'div', - { className: p()({ 'item-handle': !0, 'acms-admin-padding-small': n }) }, - e.createElement('i', { className: 'acms-admin-icon-sort' }) - ), - e.createElement( - 'div', - { className: p()({ 'acms-admin-flex-1': n, 'acms-admin-padding-small': n }) }, - t.items.map((t, a) => - e.createElement( - 'div', - { - key: a, - className: p()({ - 'acms-admin-flex': n, - 'acms-admin-flex-col-max-md': n, - 'acms-admin-flex-row-min-md': n, - 'acms-admin-padding-small': n, - }), - }, - (() => { - switch (t.type) { - case 'text': - case 'tel': - case 'number': - case 'email': - case 'password': - return e.createElement( - e.Fragment, - null, - e.createElement( - 'label', - { - className: p()({ 'acms-admin-grid-edit-table-heading': n }), - htmlFor: ''.concat(t.name), - }, - e.createElement(zi, { item: t }) - ), - e.createElement( - 'div', - { className: p()({ 'acms-admin-flex-1': n }) }, - e.createElement(Vi, { item: t, id: ''.concat(t.name), isValue: !1 }) - ) - ); - case 'textarea': - case 'liteEditor': - return e.createElement( - e.Fragment, - null, - e.createElement( - 'label', - { - className: p()({ 'acms-admin-grid-edit-table-heading': n }), - htmlFor: ''.concat(t.name).concat(a), - }, - e.createElement(zi, { item: t }) - ), - e.createElement( - 'div', - { className: p()({ 'acms-admin-flex-1': n }) }, - e.createElement(Ui, { item: t, id: 'template-'.concat(t.name).concat(a), isValue: !1 }) - ) - ); - case 'checkbox': - return e.createElement( - 'fieldset', - { key: a, className: p()({ 'acms-admin-contents': n }) }, - e.createElement( - 'legend', - { className: p()({ 'acms-admin-grid-edit-table-heading': n }) }, - e.createElement(zi, { item: t }) - ), - e.createElement( - 'div', - { className: p()({ 'acms-admin-flex-1': n }) }, - e.createElement(Ki, { item: t, id: 'template-'.concat(t.name).concat(a), isChecked: !1 }) - ) - ); - case 'selectbox': - return e.createElement( - e.Fragment, - null, - e.createElement( - 'label', - { - className: p()({ 'acms-admin-grid-edit-table-heading': n }), - htmlFor: ''.concat(t.name).concat(a), - }, - e.createElement(zi, { item: t }) - ), - e.createElement( - 'div', - { className: p()({ 'acms-admin-flex-1': n }) }, - e.createElement(Hi, { item: t, id: ''.concat(t.name).concat(a), isSelected: !1 }) - ) - ); - case 'radioButton': - return e.createElement( - 'fieldset', - { key: a, className: p()({ 'acms-admin-contents': n }) }, - e.createElement( - 'legend', - { - className: p()({ 'acms-admin-grid-edit-table-heading': n }), - id: ''.concat(t.name).concat(a), - }, - e.createElement(zi, { item: t }) - ), - e.createElement( - 'div', - { className: p()({ 'acms-admin-flex-1': n }) }, - e.createElement(Gi, { item: t, id: ''.concat(t.name).concat(a), isChecked: !1 }) - ) - ); - case 'media': - return e.createElement( - e.Fragment, - null, - e.createElement( - 'label', - { - className: p()({ 'acms-admin-grid-edit-table-heading': n }), - htmlFor: ''.concat(t.name).concat(a), - }, - e.createElement(zi, { item: t }) - ), - e.createElement( - 'div', - { className: p()({ 'acms-admin-flex-1': n }) }, - e.createElement(Wi, { item: t, id: ''.concat(t.name).concat(a), isValue: !1 }) - ) - ); - case 'image': - return e.createElement( - e.Fragment, - null, - e.createElement( - 'label', - { - className: p()({ 'acms-admin-grid-edit-table-heading': n }), - htmlFor: ''.concat(t.name).concat(a), - }, - e.createElement(zi, { item: t }) - ), - e.createElement( - 'div', - { className: p()({ 'acms-admin-flex-1': n }) }, - e.createElement($i, { item: t, id: ''.concat(t.name).concat(a), isAttribute: !1 }) - ) - ); - case 'file': - return e.createElement( - e.Fragment, - null, - e.createElement( - 'label', - { - className: p()({ 'acms-admin-grid-edit-table-heading': n }), - htmlFor: ''.concat(t.name), - }, - e.createElement(zi, { item: t }) - ), - e.createElement( - 'div', - { className: p()({ 'acms-admin-flex-1': n }) }, - e.createElement(Xi, { item: t, id: ''.concat(t.name), isValue: !1 }) - ) - ); - case 'richEditor': - return e.createElement( - e.Fragment, - null, - e.createElement( - 'label', - { - className: p()({ 'acms-admin-grid-edit-table-heading': n }), - htmlFor: ''.concat(t.name).concat(a), - }, - e.createElement(zi, { item: t }) - ), - e.createElement( - 'div', - { className: p()({ 'acms-admin-flex-1': n }) }, - e.createElement(Yi, { item: t, id: ''.concat(t.name).concat(a), isValue: !1 }) - ) - ); - case 'table': - return e.createElement( - e.Fragment, - null, - e.createElement( - 'label', - { - className: p()({ 'acms-admin-grid-edit-table-heading': n }), - htmlFor: ''.concat(t.name).concat(a), - }, - e.createElement(zi, { item: t }) - ), - e.createElement( - 'div', - { className: p()({ 'acms-admin-flex-1': n }) }, - e.createElement(Qi, { item: t, id: ''.concat(t.name).concat(a), isValue: !1 }) - ) - ); - default: - return null; - } - })() - ) - ) - ), - t.items.length > 0 && - e.createElement( - 'div', - { className: p()({ 'acms-admin-padding-small': n }) }, - e.createElement( - 'button', - { - type: 'button', - className: 'item-delete acms-admin-btn-admin acms-admin-btn-admin-danger', - value: '削除', - }, - '削除' - ) - ) - ); - return e.createElement( - e.Fragment, - null, - t.name && - t.title && - e.createElement( - 'section', - null, - e.createElement('h2', { className: p()({ 'acms-admin-admin-title2': n }) }, t.title), - t.name && - e.createElement( - 'div', - { className: p()({ 'js-fieldgroup-sortable': !0, 'acms-admin-grid-edit-table': n }) }, - 'preview' === a - ? null - : t.items.length > 0 && - e.createElement( - e.Fragment, - null, - 'preview' === a ? null : '\x3c!-- BEGIN '.concat(t.name, ':loop --\x3e'), - e.createElement( - 'div', - { - className: p()({ - 'sortable-item': !0, - 'acms-admin-flex': n, - 'acms-admin-flex-col-max-md': n, - 'acms-admin-flex-row-min-md': n, - 'acms-admin-items-start-max-md': n, - 'acms-admin-items-center-min-md': n, - }), - }, - e.createElement( - 'div', - { className: p()({ 'item-handle': !0, 'acms-admin-padding-small': n }) }, - e.createElement('i', { className: 'acms-admin-icon-sort' }) - ), - e.createElement( - 'div', - { className: p()({ 'acms-admin-flex-1': n, 'acms-admin-padding-small': n }) }, - t.items.map((t, a) => - e.createElement( - 'div', - { - key: a, - className: p()({ - 'acms-admin-flex': n, - 'acms-admin-flex-col-max-md': n, - 'acms-admin-flex-row-min-md': n, - 'acms-admin-padding-small': n, - }), - }, - (() => { - switch (t.type) { - case 'text': - case 'tel': - case 'number': - case 'email': - case 'password': - return e.createElement( - e.Fragment, - null, - e.createElement( - 'label', - { - className: p()({ 'acms-admin-grid-edit-table-heading': n }), - htmlFor: ''.concat(t.name), - }, - e.createElement(zi, { item: t }) - ), - e.createElement( - 'div', - { className: p()({ 'acms-admin-flex-1': n }) }, - e.createElement(Vi, { item: t, id: ''.concat(t.name) }) - ) - ); - case 'textarea': - case 'liteEditor': - return e.createElement( - e.Fragment, - null, - e.createElement( - 'label', - { - className: p()({ 'acms-admin-grid-edit-table-heading': n }), - htmlFor: ''.concat(t.name).concat(a), - }, - e.createElement(zi, { item: t, id: ''.concat(t.name).concat(a) }) - ), - e.createElement( - 'div', - { className: p()({ 'acms-admin-flex-1': n }) }, - e.createElement(Ui, { item: t, id: ''.concat(t.name).concat(a) }) - ) - ); - case 'checkbox': - return e.createElement( - 'fieldset', - { className: p()({ 'acms-admin-contents': n }) }, - e.createElement( - 'legend', - { className: p()({ 'acms-admin-grid-edit-table-heading': n }) }, - e.createElement(zi, { item: t, id: ''.concat(t.name).concat(a) }) - ), - e.createElement( - 'div', - { className: p()({ 'acms-admin-flex-1': n }) }, - e.createElement(Ki, { item: t, id: ''.concat(t.name).concat(a) }) - ) - ); - case 'selectbox': - return e.createElement( - e.Fragment, - null, - e.createElement( - 'label', - { - className: p()({ 'acms-admin-grid-edit-table-heading': n }), - htmlFor: ''.concat(t.name).concat(a), - }, - e.createElement(zi, { item: t, id: ''.concat(t.name).concat(a) }) - ), - e.createElement( - 'div', - { className: p()({ 'acms-admin-flex-1': n }) }, - e.createElement(Hi, { item: t, id: ''.concat(t.name).concat(a) }) - ) - ); - case 'radioButton': - return e.createElement( - 'fieldset', - { className: p()({ 'acms-admin-contents': n }) }, - e.createElement( - 'legend', - { - className: p()({ 'acms-admin-grid-edit-table-heading': n }), - id: ''.concat(t.name).concat(a), - }, - e.createElement(zi, { item: t }) - ), - e.createElement( - 'div', - { className: p()({ 'acms-admin-flex-1': n }) }, - e.createElement(Gi, { item: t, id: ''.concat(t.name).concat(a) }) - ) - ); - case 'media': - return e.createElement( - e.Fragment, - null, - e.createElement( - 'label', - { - className: p()({ 'acms-admin-grid-edit-table-heading': n }), - htmlFor: ''.concat(t.name).concat(a), - }, - e.createElement(zi, { item: t }) - ), - e.createElement( - 'div', - { className: p()({ 'acms-admin-flex-1': n }) }, - e.createElement(Wi, { item: t, id: ''.concat(t.name).concat(a) }) - ) - ); - case 'image': - return e.createElement( - e.Fragment, - null, - e.createElement( - 'label', - { - className: p()({ 'acms-admin-grid-edit-table-heading': n }), - htmlFor: ''.concat(t.name).concat(a), - }, - e.createElement(zi, { item: t }) - ), - e.createElement( - 'div', - { className: p()({ 'acms-admin-flex-1': n }) }, - e.createElement($i, { item: t, id: ''.concat(t.name).concat(a) }) - ) - ); - case 'file': - return e.createElement( - e.Fragment, - null, - e.createElement( - 'label', - { - className: p()({ 'acms-admin-grid-edit-table-heading': n }), - htmlFor: ''.concat(t.name).concat(a), - }, - e.createElement(zi, { item: t }) - ), - e.createElement( - 'div', - { className: p()({ 'acms-admin-flex-1': n }) }, - e.createElement(Xi, { item: t, id: ''.concat(t.name).concat(a) }) - ) - ); - case 'richEditor': - return e.createElement( - e.Fragment, - null, - e.createElement( - 'label', - { - className: p()({ 'acms-admin-grid-edit-table-heading': n }), - htmlFor: ''.concat(t.name).concat(a), - }, - e.createElement(zi, { item: t }) - ), - e.createElement( - 'div', - { className: p()({ 'acms-admin-flex-1': n }) }, - e.createElement(Yi, { item: t, id: ''.concat(t.name).concat(a) }) - ) - ); - case 'table': - return e.createElement( - e.Fragment, - null, - e.createElement( - 'label', - { - className: p()({ 'acms-admin-grid-edit-table-heading': n }), - htmlFor: ''.concat(t.name).concat(a), - }, - e.createElement(zi, { item: t }) - ), - e.createElement( - 'div', - { className: p()({ 'acms-admin-flex-1': n }) }, - e.createElement(Qi, { item: t, id: ''.concat(t.name).concat(a) }) - ) - ); - default: - return null; - } - })() - ) - ) - ), - e.createElement( - 'div', - { className: p()({ 'acms-admin-padding-small': n }) }, - e.createElement( - 'button', - { - type: 'button', - className: 'item-delete acms-admin-btn-admin acms-admin-btn-admin-danger', - value: '削除', - }, - '削除' - ) - ) - ), - '\x3c!-- END '.concat(t.name, ':loop --\x3e') - ), - t.items.length > 0 && - e.createElement( - e.Fragment, - null, - 'preview' === a - ? e.createElement('div', { className: 'item-template' }, r()) - : e.createElement('template', { className: 'item-template' }, r()), - e.createElement( - 'div', - null, - e.createElement('input', { - type: 'button', - className: 'item-insert acms-admin-btn-admin', - value: '追加', - }) - ) - ) - ), - t.name && - e.createElement( - e.Fragment, - null, - t.items.map((n, a) => - e.createElement( - e.Fragment, - { key: a }, - 'image' === n.type && - e.createElement( - e.Fragment, - null, - n.square && - e.createElement( - e.Fragment, - null, - e.createElement('input', { - type: 'hidden', - name: '@'.concat(t.name, '[]'), - value: ''.concat(n.name, '@squarePath'), - }), - e.createElement('input', { - type: 'hidden', - name: '@'.concat(t.name, '[]'), - value: ''.concat(n.name, '@squareAlt'), - }), - e.createElement('input', { - type: 'hidden', - name: '@'.concat(t.name, '[]'), - value: ''.concat(n.name, '@squareX'), - }), - e.createElement('input', { - type: 'hidden', - name: '@'.concat(t.name, '[]'), - value: ''.concat(n.name, '@squareY'), - }) - ), - n.large && - e.createElement( - e.Fragment, - null, - e.createElement('input', { - type: 'hidden', - name: '@'.concat(t.name, '[]'), - value: ''.concat(n.name, '@largePath'), - }), - e.createElement('input', { - type: 'hidden', - name: '@'.concat(t.name, '[]'), - value: ''.concat(n.name, '@largeAlt'), - }), - e.createElement('input', { - type: 'hidden', - name: '@'.concat(t.name, '[]'), - value: ''.concat(n.name, '@largeX'), - }), - e.createElement('input', { - type: 'hidden', - name: '@'.concat(t.name, '[]'), - value: ''.concat(n.name, '@largeY'), - }) - ), - n.tiny && - e.createElement( - e.Fragment, - null, - e.createElement('input', { - type: 'hidden', - name: '@'.concat(t.name, '[]'), - value: ''.concat(n.name, '@tinyPath'), - }), - e.createElement('input', { - type: 'hidden', - name: '@'.concat(t.name, '[]'), - value: ''.concat(n.name, '@tinyAlt'), - }), - e.createElement('input', { - type: 'hidden', - name: '@'.concat(t.name, '[]'), - value: ''.concat(n.name, '@tinyX'), - }), - e.createElement('input', { - type: 'hidden', - name: '@'.concat(t.name, '[]'), - value: ''.concat(n.name, '@tinyY'), - }) - ), - e.createElement('input', { - type: 'hidden', - name: '@'.concat(t.name, '[]'), - value: ''.concat(n.name, '@path'), - }), - e.createElement('input', { - type: 'hidden', - name: '@'.concat(t.name, '[]'), - value: ''.concat(n.name, '@alt'), - }), - e.createElement('input', { - type: 'hidden', - name: '@'.concat(t.name, '[]'), - value: ''.concat(n.name, '@x'), - }), - e.createElement('input', { - type: 'hidden', - name: '@'.concat(t.name, '[]'), - value: ''.concat(n.name, '@y'), - }), - e.createElement('input', { - type: 'hidden', - name: '@'.concat(t.name, '[]'), - value: ''.concat(n.name, '@edit'), - }), - e.createElement('input', { - type: 'hidden', - name: '@'.concat(t.name, '[]'), - value: ''.concat(n.name, '@old'), - }), - e.createElement('input', { - type: 'hidden', - name: ''.concat(n.name, ':extension'), - value: 'image', - }) - ), - 'file' === n.type && - e.createElement( - e.Fragment, - null, - e.createElement('input', { - type: 'hidden', - name: '@'.concat(t.name, '[]'), - value: ''.concat(n.name, '@path'), - }), - e.createElement('input', { - type: 'hidden', - name: '@'.concat(t.name, '[]'), - value: ''.concat(n.name, '@alt'), - }), - e.createElement('input', { - type: 'hidden', - name: '@'.concat(t.name, '[]'), - value: ''.concat(n.name, '@edit'), - }), - e.createElement('input', { - type: 'hidden', - name: '@'.concat(t.name, '[]'), - value: ''.concat(n.name, '@old'), - }), - e.createElement('input', { - type: 'hidden', - name: ''.concat(n.name, ':extension'), - value: 'file', - }) - ), - 'media' === n.type && - e.createElement('input', { - type: 'hidden', - name: ''.concat(n.name, ':extension'), - value: 'media', - }), - 'richEditor' === n.type && - e.createElement('input', { - type: 'hidden', - name: ''.concat(n.name, ':extension'), - value: 'rich-editor', - }), - e.createElement('input', { type: 'hidden', name: '@'.concat(t.name, '[]'), value: n.name }), - e.createElement('input', { type: 'hidden', name: 'field[]', value: n.name }), - e.createElement(Bi, { item: n }), - e.createElement(qi, { name: n.name, noSearch: n.noSearch }) - ) - ), - e.createElement('input', { type: 'hidden', name: 'field[]', value: '@'.concat(t.name) }) - ) - ) - ); - } - function no(t) { - const { children: n, title: a } = t, - { - preview: { direction: r }, - } = u(), - l = (e) => { - let { condition: t, wrap: n, children: a } = e; - return t ? n(a) : a; - }; - return e.createElement( - l, - { condition: 'vertical' === r, wrap: (t) => e.createElement('tr', null, e.createElement('th', null, a), t) }, - n - ); - } - function ao() { - const { - state: { fieldgroup: t }, - preview: { acmscss: n, direction: a, editMode: r }, - } = u(), - l = (0, e.useRef)(), - i = (e) => { - let { condition: t, wrap: n, children: a } = e; - return t ? n(a) : a; - }, - o = t.items.length; - return e.createElement( - e.Fragment, - null, - t.title && e.createElement('h2', { className: p()({ 'acms-admin-admin-title2': n }) }, t.title), - t.name && - e.createElement( - e.Fragment, - null, - e.createElement( - 'table', - { className: p()('js-fieldgroup-sortable', { 'adminTable acms-admin-table-admin-edit': n }), ref: l }, - 'preview' === r - ? null - : t.items.length > 0 && - e.createElement( - e.Fragment, - null, - e.createElement( - 'thead', - { className: p()({ 'acms-admin-hide-sp': n }) }, - e.createElement( - 'tr', - null, - e.createElement( - 'th', - { - className: p()({ - 'acms-admin-table-left acms-admin-admin-config-table-item-handle': n, - }), - }, - ' ' - ), - 'horizontal' === a && - e.createElement( - e.Fragment, - null, - t && - t.items.map((t, a) => - e.createElement( - 'th', - { key: a, className: p()({ 'acms-admin-table-left': n }) }, - t.title, - t.tooltip && - e.createElement('i', { - className: 'acms-admin-icon-tooltip js-acms-tooltip', - 'data-acms-tooltip': t.tooltip, - }) - ) - ) - ), - 'vertical' === a && e.createElement('th', null), - e.createElement( - 'th', - { className: p()({ 'acms-admin-table-left acms-admin-admin-config-table-action': n }) }, - '削除' - ) - ) - ), - e.createElement( - 'tbody', - null, - 'preview' === r ? null : '\x3c!-- BEGIN '.concat(t.name, ':loop --\x3e'), - e.createElement( - 'tr', - { className: 'sortable-item' }, - e.createElement( - 'td', - { className: 'item-handle acms-admin-table-nowrap' }, - n && e.createElement('i', { className: 'acms-admin-icon-sort' }) - ), - e.createElement( - e.Fragment, - null, - t.items.map((t, n) => { - switch (t.type) { - case 'text': - case 'tel': - case 'number': - case 'email': - case 'password': - return e.createElement( - no, - { title: t.title }, - e.createElement( - 'td', - null, - e.createElement(Vi, { item: t, id: ''.concat(t.name).concat(n) }) - ) - ); - case 'textarea': - case 'liteEditor': - return e.createElement( - no, - { title: t.title }, - e.createElement( - 'td', - null, - e.createElement(Ui, { item: t, id: ''.concat(t.name).concat(n) }) - ) - ); - case 'checkbox': - return e.createElement( - no, - { title: t.title }, - e.createElement( - 'td', - null, - e.createElement(Ki, { item: t, id: ''.concat(t.name).concat(n) }) - ) - ); - case 'selectbox': - return e.createElement( - no, - { title: t.title }, - e.createElement( - 'td', - null, - e.createElement(Hi, { item: t, id: ''.concat(t.name).concat(n) }) - ) - ); - case 'radioButton': - return e.createElement( - no, - { title: t.title }, - e.createElement( - 'td', - null, - e.createElement(Gi, { item: t, id: ''.concat(t.name).concat(n) }) - ) - ); - case 'media': - return e.createElement( - no, - { title: t.title }, - e.createElement( - 'td', - null, - e.createElement(Wi, { item: t, id: ''.concat(t.name).concat(n) }) - ) - ); - case 'image': - return e.createElement( - no, - { title: t.title }, - e.createElement( - 'td', - null, - e.createElement($i, { item: t, id: ''.concat(t.name).concat(n) }) - ) - ); - case 'richEditor': - return e.createElement( - no, - { title: t.title }, - e.createElement( - 'td', - null, - e.createElement( - i, - { - condition: t.useExpand, - wrap: (t) => - e.createElement( - 'div', - { className: 'js-expand js-acms-expand' }, - e.createElement( - 'div', - { className: 'js-acms-expand-inner' }, - e.createElement( - 'button', - { className: 'js-expand-btn js-acms-expand-btn', type: 'button' }, - e.createElement('i', { - className: - 'acms-admin-icon acms-admin-icon-expand-arrow js-expand-icon', - }) - ), - t - ) - ), - }, - e.createElement(Yi, { item: t, id: ''.concat(t.name).concat(n) }) - ) - ) - ); - case 'table': - return e.createElement( - no, - { title: t.title }, - e.createElement( - 'td', - null, - e.createElement(Qi, { item: t, id: ''.concat(t.name).concat(n) }) - ) - ); - default: - return null; - } - }) - ), - e.createElement( - 'td', - { className: 'acms-admin-table-nowrap' }, - e.createElement( - 'button', - { - type: 'button', - className: p()('item-delete', { - 'acms-admin-btn-admin acms-admin-btn-admin-danger': n, - }), - }, - '削除' - ) - ) - ), - 'preview' === r ? null : '\x3c!-- END '.concat(t.name, ':loop --\x3e'), - 'preview' === r - ? null - : e.createElement( - e.Fragment, - null, - e.createElement( - 'tr', - { className: 'sortable-item item-template' }, - e.createElement( - 'td', - { className: 'item-handle acms-admin-table-nowrap' }, - n && e.createElement('i', { className: 'acms-admin-icon-sort' }) - ), - e.createElement( - e.Fragment, - null, - t.items.map((t, n) => { - switch (t.type) { - case 'text': - case 'tel': - case 'number': - case 'email': - case 'password': - return e.createElement( - no, - { title: t.title }, - e.createElement( - 'td', - null, - e.createElement(Vi, { - item: t, - id: ''.concat(t.name).concat(n), - isValue: !1, - }) - ) - ); - case 'textarea': - case 'liteEditor': - return e.createElement( - no, - { title: t.title }, - e.createElement( - 'td', - null, - e.createElement(Ui, { - item: t, - id: ''.concat(t.name).concat(n), - isValue: !1, - }) - ) - ); - case 'checkbox': - return e.createElement( - no, - { title: t.title }, - e.createElement( - 'td', - null, - e.createElement(Ki, { - item: t, - id: 'template-'.concat(t.name).concat(n), - isChecked: !1, - }) - ) - ); - case 'selectbox': - return e.createElement( - no, - { title: t.title }, - e.createElement( - 'td', - null, - e.createElement(Hi, { - item: t, - id: ''.concat(t.name).concat(n), - isSelected: !1, - }) - ) - ); - case 'radioButton': - return e.createElement( - no, - { title: t.title }, - e.createElement( - 'td', - null, - e.createElement(Gi, { - item: t, - id: ''.concat(t.name).concat(n), - isChecked: !1, - }) - ) - ); - case 'media': - return e.createElement( - no, - { title: t.title }, - e.createElement( - 'td', - null, - e.createElement(Wi, { - item: t, - id: ''.concat(t.name).concat(n), - isValue: !1, - }) - ) - ); - case 'image': - return e.createElement( - no, - { title: t.title }, - e.createElement( - 'td', - null, - e.createElement($i, { - item: t, - id: ''.concat(t.name).concat(n), - isAttribute: !1, - }) - ) - ); - case 'richEditor': - return e.createElement( - no, - { title: t.title }, - e.createElement( - 'td', - null, - e.createElement(Yi, { - item: t, - id: ''.concat(t.name).concat(n), - isValue: !1, - }) - ) - ); - case 'table': - return e.createElement( - no, - { title: t.title }, - e.createElement( - 'td', - null, - e.createElement(Qi, { - item: t, - id: ''.concat(t.name).concat(n), - isValue: !1, - }) - ) - ); - default: - return null; - } - }) - ), - e.createElement( - 'td', - { className: 'acms-admin-table-nowrap' }, - e.createElement( - 'button', - { - type: 'button', - className: p()('item-delete', { - 'acms-admin-btn-admin acms-admin-btn-admin-danger': n, - }), - }, - '削除' - ) - ) - ) - ) - ), - e.createElement( - 'tfoot', - null, - e.createElement( - 'tr', - null, - e.createElement( - 'td', - { colSpan: 'horizontal' === a ? o + 2 : 3 }, - e.createElement('input', { - type: 'button', - className: p()('item-insert', { 'acms-admin-btn-admin': n }), - value: '追加', - }) - ) - ) - ) - ) - ) - ), - t.name && - e.createElement( - e.Fragment, - null, - t.items.map((n) => - e.createElement( - e.Fragment, - null, - 'image' === n.type && - e.createElement( - e.Fragment, - null, - n.square && - e.createElement( - e.Fragment, - null, - e.createElement('input', { - type: 'hidden', - name: '@'.concat(t.name, '[]'), - value: ''.concat(n.name, '@squarePath'), - }), - e.createElement('input', { - type: 'hidden', - name: '@'.concat(t.name, '[]'), - value: ''.concat(n.name, '@squareAlt'), - }), - e.createElement('input', { - type: 'hidden', - name: '@'.concat(t.name, '[]'), - value: ''.concat(n.name, '@squareX'), - }), - e.createElement('input', { - type: 'hidden', - name: '@'.concat(t.name, '[]'), - value: ''.concat(n.name, '@squareY'), - }) - ), - n.large && - e.createElement( - e.Fragment, - null, - e.createElement('input', { - type: 'hidden', - name: '@'.concat(t.name, '[]'), - value: ''.concat(n.name, '@largePath'), - }), - e.createElement('input', { - type: 'hidden', - name: '@'.concat(t.name, '[]'), - value: ''.concat(n.name, '@largeAlt'), - }), - e.createElement('input', { - type: 'hidden', - name: '@'.concat(t.name, '[]'), - value: ''.concat(n.name, '@largeX'), - }), - e.createElement('input', { - type: 'hidden', - name: '@'.concat(t.name, '[]'), - value: ''.concat(n.name, '@largeY'), - }) - ), - n.tiny && - e.createElement( - e.Fragment, - null, - e.createElement('input', { - type: 'hidden', - name: '@'.concat(t.name, '[]'), - value: ''.concat(n.name, '@tinyPath'), - }), - e.createElement('input', { - type: 'hidden', - name: '@'.concat(t.name, '[]'), - value: ''.concat(n.name, '@tinyAlt'), - }), - e.createElement('input', { - type: 'hidden', - name: '@'.concat(t.name, '[]'), - value: ''.concat(n.name, '@tinyX'), - }), - e.createElement('input', { - type: 'hidden', - name: '@'.concat(t.name, '[]'), - value: ''.concat(n.name, '@tinyY'), - }) - ), - e.createElement('input', { - type: 'hidden', - name: '@'.concat(t.name, '[]'), - value: ''.concat(n.name, '@path'), - }), - e.createElement('input', { - type: 'hidden', - name: '@'.concat(t.name, '[]'), - value: ''.concat(n.name, '@alt'), - }), - e.createElement('input', { - type: 'hidden', - name: '@'.concat(t.name, '[]'), - value: ''.concat(n.name, '@x'), - }), - e.createElement('input', { - type: 'hidden', - name: '@'.concat(t.name, '[]'), - value: ''.concat(n.name, '@y'), - }), - e.createElement('input', { - type: 'hidden', - name: '@'.concat(t.name, '[]'), - value: ''.concat(n.name, '@edit'), - }), - e.createElement('input', { - type: 'hidden', - name: '@'.concat(t.name, '[]'), - value: ''.concat(n.name, '@old'), - }), - e.createElement('input', { - type: 'hidden', - name: ''.concat(n.name, ':extension'), - value: 'image', - }) - ), - 'file' === n.type && - e.createElement( - e.Fragment, - null, - e.createElement('input', { - type: 'hidden', - name: '@'.concat(t.name, '[]'), - value: ''.concat(n.name, '@path'), - }), - e.createElement('input', { - type: 'hidden', - name: '@'.concat(t.name, '[]'), - value: ''.concat(n.name, '@alt'), - }), - e.createElement('input', { - type: 'hidden', - name: '@'.concat(t.name, '[]'), - value: ''.concat(n.name, '@edit'), - }), - e.createElement('input', { - type: 'hidden', - name: '@'.concat(t.name, '[]'), - value: ''.concat(n.name, '@old'), - }), - e.createElement('input', { type: 'hidden', name: ''.concat(n.name, ':extension'), value: 'file' }) - ), - 'media' === n.type && - e.createElement('input', { type: 'hidden', name: ''.concat(n.name, ':extension'), value: 'media' }), - 'rich-editor' === n.type && - e.createElement('input', { - type: 'hidden', - name: ''.concat(n.name, ':extension'), - value: 'rich-editor', - }), - e.createElement('input', { type: 'hidden', name: '@'.concat(t.name, '[]'), value: n.name }), - e.createElement('input', { type: 'hidden', name: 'field[]', value: n.name }), - n.noSearch && - e.createElement('input', { type: 'hidden', name: ''.concat(n.name, ':search'), value: '0' }), - n.validator.map((t, a) => { - if (!t.option) return null; - const r = 'file' === n.type || 'image' === n.type ? ''.concat(n.name, '@path') : n.name; - return e.createElement('input', { - key: a, - type: 'hidden', - name: ''.concat(r, ':v#').concat(t.option), - value: t.value, - id: ''.concat(r, '-v-').concat(t.option), - }); - }), - (() => { - const t = 'file' === n.type || 'image' === n.type ? ''.concat(n.name, '@path') : n.name; - return ( - n.converter && - e.createElement('input', { type: 'hidden', name: ''.concat(t, ':c'), value: n.converter }) - ); - })() - ) - ), - e.createElement('input', { type: 'hidden', name: 'field[]', value: '@'.concat(t.name) }) - ) - ); - } - function ro() { - const { - preview: { tag: t }, - } = u(); - return e.createElement( - e.Fragment, - null, - 'section' === t ? e.createElement(to, null) : null, - 'table' === t ? e.createElement(ao, null) : null - ); - } - function lo() { - const { - state: { customunit: t }, - preview: { jsValidator: n, acmscss: a }, - } = u(); - return e.createElement( - e.Fragment, - null, - n && '\x3c!--
--\x3e', - e.createElement( - 'div', - { className: p()({ 'acms-admin-grid-edit-table': a }) }, - t.length > 0 && - t.map((t, n) => { - switch (t.type) { - case 'text': - case 'tel': - case 'number': - case 'email': - case 'password': - return e.createElement( - 'div', - { - key: n, - className: p()({ - 'acms-admin-flex': a, - 'acms-admin-flex-col-max-md': a, - 'acms-admin-flex-row-min-md': a, - }), - }, - e.createElement( - 'label', - { - className: p()({ 'acms-admin-grid-edit-table-heading': a }), - htmlFor: ''.concat(t.name).concat(n), - }, - e.createElement(zi, { item: t }) - ), - e.createElement( - 'div', - { className: p()({ 'acms-admin-flex-1': a }) }, - e.createElement(Vi, { item: t, id: ''.concat(t.name).concat(n) }) - ) - ); - case 'textarea': - case 'liteEditor': - return e.createElement( - 'div', - { - key: n, - className: p()({ - 'acms-admin-flex': a, - 'acms-admin-flex-col-max-md': a, - 'acms-admin-flex-row-min-md': a, - }), - }, - e.createElement( - 'label', - { - className: p()({ 'acms-admin-grid-edit-table-heading': a }), - htmlFor: ''.concat(t.name).concat(n), - }, - e.createElement(zi, { item: t }) - ), - e.createElement( - 'div', - { className: p()({ 'acms-admin-flex-1': a }) }, - e.createElement(Ui, { item: t, id: ''.concat(t.name).concat(n) }) - ) - ); - case 'selectbox': - return e.createElement( - 'div', - { - key: n, - className: p()({ - 'acms-admin-flex': a, - 'acms-admin-flex-col-max-md': a, - 'acms-admin-flex-row-min-md': a, - }), - }, - e.createElement( - 'label', - { - className: p()({ 'acms-admin-grid-edit-table-heading': a }), - htmlFor: ''.concat(t.name).concat(n), - }, - e.createElement(zi, { item: t }) - ), - e.createElement( - 'div', - { className: p()({ 'acms-admin-flex-1': a }) }, - e.createElement(Hi, { item: t, id: ''.concat(t.name).concat(n) }) - ) - ); - case 'checkbox': - return e.createElement( - 'div', - { - key: n, - className: p()({ - 'acms-admin-flex': a, - 'acms-admin-flex-col-max-md': a, - 'acms-admin-flex-row-min-md': a, - }), - }, - e.createElement( - 'fieldset', - { key: n, className: p()({ 'acms-admin-contents': a }) }, - e.createElement( - 'legend', - { className: p()({ 'acms-admin-grid-edit-table-heading': a }) }, - e.createElement(zi, { item: t }) - ), - e.createElement( - 'div', - { className: p()({ 'acms-admin-flex-1': a }) }, - e.createElement(Ki, { item: t }) - ) - ) - ); - case 'radioButton': - return e.createElement( - 'div', - { key: n, className: p()({ 'acms-admin-flex': a, 'acms-admin-flex-row': a }) }, - e.createElement( - 'fieldset', - { key: n, className: p()({ 'acms-admin-contents': a }) }, - e.createElement( - 'legend', - { className: p()({ 'acms-admin-grid-edit-table-heading': a }) }, - e.createElement(zi, { item: t }) - ), - e.createElement( - 'div', - { className: p()({ 'acms-admin-flex-1': a }) }, - e.createElement(Gi, { item: t }) - ) - ) - ); - case 'media': - return e.createElement( - 'div', - { - key: n, - className: p()({ - 'acms-admin-flex': a, - 'acms-admin-flex-col-max-md': a, - 'acms-admin-flex-row-min-md': a, - }), - }, - e.createElement( - 'label', - { - className: p()({ 'acms-admin-grid-edit-table-heading': a }), - htmlFor: ''.concat(t.name).concat(n), - }, - e.createElement(zi, { item: t }) - ), - e.createElement( - 'div', - { className: p()({ 'acms-admin-flex-1': a }) }, - e.createElement(Wi, { item: t, id: ''.concat(t.name).concat(n) }) - ) - ); - case 'image': - return e.createElement( - 'div', - { - key: n, - className: p()({ - 'acms-admin-flex': a, - 'acms-admin-flex-col-max-md': a, - 'acms-admin-flex-row-min-md': a, - }), - }, - e.createElement( - 'label', - { - className: p()({ 'acms-admin-grid-edit-table-heading': a }), - htmlFor: ''.concat(t.name).concat(n), - }, - e.createElement(zi, { item: t }) - ), - e.createElement( - 'div', - { className: p()({ 'acms-admin-flex-1': a }) }, - e.createElement($i, { item: t, id: ''.concat(t.name).concat(n) }) - ) - ); - case 'file': - return e.createElement( - 'div', - { - key: n, - className: p()({ - 'acms-admin-flex': a, - 'acms-admin-flex-col-max-md': a, - 'acms-admin-flex-row-min-md': a, - }), - }, - e.createElement( - 'label', - { - className: p()({ 'acms-admin-grid-edit-table-heading': a }), - htmlFor: ''.concat(t.name).concat(n), - }, - e.createElement(zi, { item: t }) - ), - e.createElement( - 'div', - { className: p()({ 'acms-admin-flex-1': a }) }, - e.createElement(Xi, { item: t, id: ''.concat(t.name).concat(n) }) - ) - ); - case 'richEditor': - return e.createElement( - 'div', - { - key: n, - className: p()({ - 'acms-admin-flex': a, - 'acms-admin-flex-col-max-md': a, - 'acms-admin-flex-row-min-md': a, - }), - }, - e.createElement( - 'label', - { - className: p()({ 'acms-admin-grid-edit-table-heading': a }), - htmlFor: ''.concat(t.name).concat(n), - }, - e.createElement(zi, { item: t }) - ), - e.createElement( - 'div', - { className: p()({ 'acms-admin-flex-1': a }) }, - e.createElement(Yi, { item: t, id: ''.concat(t.name).concat(n) }) - ) - ); - case 'table': - return e.createElement( - 'div', - { - key: n, - className: p()({ - 'acms-admin-flex': a, - 'acms-admin-flex-col-max-md': a, - 'acms-admin-flex-row-min-md': a, - }), - }, - e.createElement( - 'label', - { - className: p()({ 'acms-admin-grid-edit-table-heading': a }), - htmlFor: ''.concat(t.name).concat(n), - }, - e.createElement(zi, { item: t }) - ), - e.createElement( - 'div', - { className: p()({ 'acms-admin-flex-1': a }) }, - e.createElement(Qi, { item: t, id: ''.concat(t.name).concat(n) }) - ) - ); - default: - return null; - } - }) - ), - n && '\x3c!--
--\x3e' - ); - } - function io() { - const { - state: { customunit: t }, - preview: { jsValidator: n, acmscss: a }, - } = u(); - return e.createElement( - e.Fragment, - null, - n && '\x3c!--
--\x3e', - e.createElement( - 'table', - { className: p()({ 'acms-admin-table-admin-edit': a }) }, - t.length > 0 && - t.map((t, n) => { - switch (t.type) { - case 'text': - case 'tel': - case 'number': - case 'email': - case 'password': - return e.createElement( - 'tr', - { key: n }, - e.createElement('th', null, e.createElement(zi, { item: t })), - e.createElement('td', null, e.createElement(Vi, { item: t, id: ''.concat(t.name).concat(n) })) - ); - case 'textarea': - case 'liteEditor': - return e.createElement( - 'tr', - { key: n }, - e.createElement('th', null, e.createElement(zi, { item: t })), - e.createElement('td', null, e.createElement(Ui, { item: t, id: ''.concat(t.name).concat(n) })) - ); - case 'selectbox': - return e.createElement( - 'tr', - { key: n }, - e.createElement('th', null, e.createElement(zi, { item: t })), - e.createElement('td', null, e.createElement(Hi, { item: t, id: ''.concat(t.name).concat(n) })) - ); - case 'checkbox': - return e.createElement( - 'tr', - { key: n }, - e.createElement('th', null, e.createElement(zi, { item: t })), - e.createElement('td', null, e.createElement(Ki, { item: t })) - ); - case 'radioButton': - return e.createElement( - 'tr', - { key: n }, - e.createElement('th', null, e.createElement(zi, { item: t })), - e.createElement('td', null, e.createElement(Gi, { item: t })) - ); - case 'media': - return e.createElement( - 'tr', - { key: n }, - e.createElement('th', null, e.createElement(zi, { item: t })), - e.createElement('td', null, e.createElement(Wi, { item: t, id: ''.concat(t.name).concat(n) })) - ); - case 'image': - return e.createElement( - 'tr', - { key: n }, - e.createElement('th', null, e.createElement(zi, { item: t })), - e.createElement('td', null, e.createElement($i, { item: t, id: ''.concat(t.name).concat(n) })) - ); - case 'file': - return e.createElement( - 'tr', - { key: n }, - e.createElement('th', null, e.createElement(zi, { item: t })), - e.createElement('td', null, e.createElement(Xi, { item: t, id: ''.concat(t.name).concat(n) })) - ); - case 'richEditor': - return e.createElement( - 'tr', - { key: n }, - e.createElement('th', null, e.createElement(zi, { item: t })), - e.createElement('td', null, e.createElement(Yi, { item: t, id: ''.concat(t.name).concat(n) })) - ); - case 'table': - return e.createElement( - 'tr', - { key: n }, - e.createElement('th', null, e.createElement(zi, { item: t })), - e.createElement('td', null, e.createElement(Qi, { item: t, id: ''.concat(t.name).concat(n) })) - ); - default: - return null; - } - }) - ), - n && '\x3c!--
--\x3e' - ); - } - function oo() { - const { - preview: { tag: t }, - } = u(); - return e.createElement( - e.Fragment, - null, - 'section' === t ? e.createElement(lo, null) : null, - 'table' === t ? e.createElement(io, null) : null - ); - } - function co() { - const { - state: { unitgroup: t }, - preview: { acmscss: n, editMode: a }, - } = u(), - r = () => - e.createElement( - 'div', - { - className: p()({ - 'sortable-item': !0, - 'acms-admin-flex': n, - 'acms-admin-flex-col-max-md': n, - 'acms-admin-flex-row-min-md': n, - 'acms-admin-items-start-max-md': n, - 'acms-admin-items-center-min-md': n, - }), - }, - e.createElement( - 'div', - { className: p()({ 'item-handle': !0, 'acms-admin-padding-small': n }) }, - e.createElement('i', { className: 'acms-admin-icon-sort' }) - ), - e.createElement( - 'div', - { className: p()({ 'acms-admin-flex-1': n, 'acms-admin-padding-small': n }) }, - t.items.map((t, a) => - e.createElement( - 'div', - { - key: a, - className: p()({ - 'acms-admin-flex': n, - 'acms-admin-flex-col-max-md': n, - 'acms-admin-flex-row-min-md': n, - 'acms-admin-padding-small': n, - }), - }, - (() => { - switch (t.type) { - case 'text': - case 'tel': - case 'number': - case 'email': - case 'password': - return e.createElement( - e.Fragment, - null, - e.createElement( - 'label', - { - className: p()({ 'acms-admin-grid-edit-table-heading': n }), - htmlFor: ''.concat(t.name).concat(a), - }, - e.createElement(zi, { item: t }) - ), - e.createElement( - 'div', - { className: p()({ 'acms-admin-flex-1': n }) }, - e.createElement(Vi, { item: t, id: ''.concat(t.name).concat(a), isValue: !1 }) - ) - ); - case 'textarea': - case 'liteEditor': - return e.createElement( - e.Fragment, - null, - e.createElement( - 'label', - { - className: p()({ 'acms-admin-grid-edit-table-heading': n }), - htmlFor: ''.concat(t.name).concat(a), - }, - e.createElement(zi, { item: t }) - ), - e.createElement( - 'div', - { className: p()({ 'acms-admin-flex-1': n }) }, - e.createElement(Ui, { item: t, id: ''.concat(t.name).concat(a), isValue: !1 }) - ) - ); - case 'checkbox': - return e.createElement( - 'fieldset', - { className: p()({ 'acms-admin-contents': n }) }, - e.createElement( - 'legend', - { - className: p()({ 'acms-admin-grid-edit-table-heading': n }), - id: ''.concat(t.name).concat(a), - }, - e.createElement(zi, { item: t }) - ), - e.createElement( - 'div', - { className: p()({ 'acms-admin-flex-1': n }) }, - e.createElement(Ki, { item: t, id: ''.concat(t.name).concat(a), isChecked: !1 }) - ) - ); - case 'selectbox': - return e.createElement( - e.Fragment, - null, - e.createElement( - 'label', - { - className: p()({ 'acms-admin-grid-edit-table-heading': n }), - htmlFor: ''.concat(t.name).concat(a), - }, - e.createElement(zi, { item: t }) - ), - e.createElement( - 'div', - { className: p()({ 'acms-admin-flex-1': n }) }, - e.createElement(Hi, { item: t, id: ''.concat(t.name).concat(a), isSelected: !1 }) - ) - ); - case 'radioButton': - return e.createElement( - 'fieldset', - { className: p()({ 'acms-admin-contents': n }) }, - e.createElement( - 'legend', - { - className: p()({ 'acms-admin-grid-edit-table-heading': n }), - id: ''.concat(t.name).concat(a), - }, - e.createElement(zi, { item: t }) - ), - e.createElement( - 'div', - { className: p()({ 'acms-admin-flex-1': n }) }, - e.createElement(Gi, { item: t, id: ''.concat(t.name).concat(a), isChecked: !1 }) - ) - ); - case 'media': - return e.createElement( - e.Fragment, - null, - e.createElement( - 'label', - { - className: p()({ 'acms-admin-grid-edit-table-heading': n }), - htmlFor: ''.concat(t.name).concat(a), - }, - e.createElement(zi, { item: t }) - ), - e.createElement( - 'div', - { className: p()({ 'acms-admin-flex-1': n }) }, - e.createElement(Wi, { item: t, id: ''.concat(t.name).concat(a), isValue: !1 }) - ) - ); - case 'image': - return e.createElement( - e.Fragment, - null, - e.createElement( - 'label', - { - className: p()({ 'acms-admin-grid-edit-table-heading': n }), - htmlFor: ''.concat(t.name).concat(a), - }, - e.createElement(zi, { item: t }) - ), - e.createElement( - 'div', - { className: p()({ 'acms-admin-flex-1': n }) }, - e.createElement($i, { item: t, id: ''.concat(t.name).concat(a), isAttribute: !1 }) - ) - ); - case 'file': - return e.createElement( - e.Fragment, - null, - e.createElement( - 'label', - { - className: p()({ 'acms-admin-grid-edit-table-heading': n }), - htmlFor: ''.concat(t.name).concat(a), - }, - e.createElement(zi, { item: t }) - ), - e.createElement( - 'div', - { className: p()({ 'acms-admin-flex-1': n }) }, - e.createElement(Xi, { item: t, id: ''.concat(t.name).concat(a), isValue: !1 }) - ) - ); - case 'richEditor': - return e.createElement( - e.Fragment, - null, - e.createElement( - 'label', - { - className: p()({ 'acms-admin-grid-edit-table-heading': n }), - htmlFor: ''.concat(t.name).concat(a), - }, - e.createElement(zi, { item: t }) - ), - e.createElement( - 'div', - { className: p()({ 'acms-admin-flex-1': n }) }, - e.createElement(Yi, { item: t, id: ''.concat(t.name).concat(a), isValue: !1 }) - ) - ); - case 'table': - return e.createElement( - e.Fragment, - null, - e.createElement( - 'label', - { - className: p()({ 'acms-admin-grid-edit-table-heading': n }), - htmlFor: ''.concat(t.name).concat(a), - }, - e.createElement(zi, { item: t }) - ), - e.createElement( - 'div', - { className: p()({ 'acms-admin-flex-1': n }) }, - e.createElement(Qi, { item: t, id: ''.concat(t.name).concat(a), isValue: !1 }) - ) - ); - default: - return null; - } - })() - ) - ) - ), - e.createElement( - 'div', - { className: p()({ 'acms-admin-padding-small': n }) }, - e.createElement( - 'button', - { - type: 'button', - className: 'item-delete acms-admin-btn-admin acms-admin-btn-admin-danger', - value: '削除', - }, - '削除' - ) - ) - ); - return e.createElement( - e.Fragment, - null, - t.name && - t.title && - e.createElement( - 'section', - null, - t.title && e.createElement('h2', { className: p()({ 'acms-admin-admin-title2': n }) }, t.title), - t.name && - e.createElement( - 'div', - { className: p()({ 'js-fieldgroup-sortable': !0, 'acms-admin-grid-edit-table': n }) }, - 'preview' === a - ? null - : t.items.length > 0 && - e.createElement( - e.Fragment, - null, - 'preview' === a ? null : '\x3c!-- BEGIN '.concat(t.name, ':loop --\x3e'), - e.createElement( - 'div', - { - className: p()({ - 'sortable-item': !0, - 'acms-admin-flex': n, - 'acms-admin-flex-col-max-md': n, - 'acms-admin-flex-row-min-md': n, - 'acms-admin-items-start-max-md': n, - 'acms-admin-items-center-min-md': n, - }), - }, - e.createElement( - 'div', - { className: p()({ 'item-handle': !0, 'acms-admin-padding-small': n }) }, - e.createElement('i', { className: 'acms-admin-icon-sort' }) - ), - e.createElement( - 'div', - { className: p()({ 'acms-admin-flex-1': n, 'acms-admin-padding-small': n }) }, - t.items.map((t, a) => - e.createElement( - 'div', - { - key: a, - className: p()({ - 'acms-admin-flex': n, - 'acms-admin-flex-col-max-md': n, - 'acms-admin-flex-row-min-md': n, - 'acms-admin-padding-small': n, - }), - }, - (() => { - switch (t.type) { - case 'text': - case 'tel': - case 'number': - case 'email': - case 'password': - return e.createElement( - e.Fragment, - null, - e.createElement( - 'label', - { - className: p()({ 'acms-admin-grid-edit-table-heading': n }), - htmlFor: ''.concat(t.name).concat(a), - }, - e.createElement(zi, { item: t }) - ), - e.createElement( - 'div', - { className: p()({ 'acms-admin-flex-1': n }) }, - e.createElement(Vi, { item: t, id: ''.concat(t.name).concat(a) }) - ) - ); - case 'textarea': - case 'liteEditor': - return e.createElement( - e.Fragment, - null, - e.createElement( - 'label', - { - className: p()({ 'acms-admin-grid-edit-table-heading': n }), - htmlFor: ''.concat(t.name).concat(a), - }, - e.createElement(zi, { item: t, id: ''.concat(t.name).concat(a) }) - ), - e.createElement( - 'div', - { className: p()({ 'acms-admin-flex-1': n }) }, - e.createElement(Ui, { item: t, id: ''.concat(t.name).concat(a) }) - ) - ); - case 'checkbox': - return e.createElement( - 'fieldset', - { className: p()({ 'acms-admin-contents': n }) }, - e.createElement( - 'legend', - { className: p()({ 'acms-admin-grid-edit-table-heading': n }) }, - e.createElement(zi, { item: t, id: ''.concat(t.name).concat(a) }) - ), - e.createElement( - 'div', - { className: p()({ 'acms-admin-flex-1': n }) }, - e.createElement(Ki, { item: t, id: ''.concat(t.name).concat(a) }) - ) - ); - case 'selectbox': - return e.createElement( - e.Fragment, - null, - e.createElement( - 'label', - { - className: p()({ 'acms-admin-grid-edit-table-heading': n }), - htmlFor: ''.concat(t.name).concat(a), - }, - e.createElement(zi, { item: t, id: ''.concat(t.name).concat(a) }) - ), - e.createElement( - 'div', - { className: p()({ 'acms-admin-flex-1': n }) }, - e.createElement(Hi, { item: t, id: ''.concat(t.name).concat(a) }) - ) - ); - case 'radioButton': - return e.createElement( - 'fieldset', - { className: p()({ 'acms-admin-contents': n }) }, - e.createElement( - 'legend', - { - className: p()({ 'acms-admin-grid-edit-table-heading': n }), - id: ''.concat(t.name).concat(a), - }, - e.createElement(zi, { item: t }) - ), - e.createElement( - 'div', - { className: p()({ 'acms-admin-flex-1': n }) }, - e.createElement(Gi, { item: t, id: ''.concat(t.name).concat(a) }) - ) - ); - case 'media': - return e.createElement( - e.Fragment, - null, - e.createElement( - 'label', - { - className: p()({ 'acms-admin-grid-edit-table-heading': n }), - htmlFor: ''.concat(t.name).concat(a), - }, - e.createElement(zi, { item: t }) - ), - e.createElement( - 'div', - { className: p()({ 'acms-admin-flex-1': n }) }, - e.createElement(Wi, { item: t, id: ''.concat(t.name).concat(a) }) - ) - ); - case 'image': - return e.createElement( - e.Fragment, - null, - e.createElement( - 'label', - { - className: p()({ 'acms-admin-grid-edit-table-heading': n }), - htmlFor: ''.concat(t.name).concat(a), - }, - e.createElement(zi, { item: t }) - ), - e.createElement( - 'div', - { className: p()({ 'acms-admin-flex-1': n }) }, - e.createElement($i, { item: t, id: ''.concat(t.name).concat(a) }) - ) - ); - case 'file': - return e.createElement( - e.Fragment, - null, - e.createElement( - 'label', - { - className: p()({ 'acms-admin-grid-edit-table-heading': n }), - htmlFor: ''.concat(t.name).concat(a), - }, - e.createElement(zi, { item: t }) - ), - e.createElement( - 'div', - { className: 'acms-admin-flex-1' }, - e.createElement(Xi, { item: t, id: ''.concat(t.name).concat(a) }) - ) - ); - case 'richEditor': - return e.createElement( - e.Fragment, - null, - e.createElement( - 'label', - { - className: p()({ 'acms-admin-grid-edit-table-heading': n }), - htmlFor: ''.concat(t.name).concat(a), - }, - e.createElement(zi, { item: t }) - ), - e.createElement( - 'div', - { className: p()({ 'acms-admin-flex-1': n }) }, - e.createElement(Yi, { item: t, id: ''.concat(t.name).concat(a) }) - ) - ); - case 'table': - return e.createElement( - e.Fragment, - null, - e.createElement( - 'label', - { - className: p()({ 'acms-admin-grid-edit-table-heading': n }), - htmlFor: ''.concat(t.name).concat(a), - }, - e.createElement(zi, { item: t }) - ), - e.createElement( - 'div', - { className: p()({ 'acms-admin-flex-1': n }) }, - e.createElement(Qi, { item: t, id: ''.concat(t.name).concat(a) }) - ) - ); - default: - return null; - } - })() - ) - ) - ), - e.createElement( - 'div', - { className: p()({ 'classnameacms-admin-padding-small': n }) }, - e.createElement( - 'button', - { - type: 'button', - className: 'item-delete acms-admin-btn-admin acms-admin-btn-admin-danger', - value: '削除', - }, - '削除' - ) - ) - ), - '\x3c!-- END '.concat(t.name, ':loop --\x3e') - ), - t.items.length > 0 && - e.createElement( - e.Fragment, - null, - 'preview' === a - ? e.createElement('div', { className: 'item-template' }, r()) - : e.createElement('template', { className: 'item-template' }, r()), - e.createElement( - 'div', - null, - e.createElement('input', { - type: 'button', - className: 'item-insert acms-admin-btn-admin', - value: '追加', - }) - ) - ) - ), - t.name && - e.createElement( - e.Fragment, - null, - t.items.map((n) => - e.createElement( - e.Fragment, - null, - 'image' === n.type && - e.createElement( - e.Fragment, - null, - n.square && - n.squareSize && - e.createElement( - e.Fragment, - null, - e.createElement('input', { - type: 'hidden', - name: '@'.concat(t.name, '{id}[]'), - value: ''.concat(n.name, '{id}@squarePath'), - }), - e.createElement('input', { - type: 'hidden', - name: '@'.concat(t.name, '{id}[]'), - value: ''.concat(n.name, '{id}@squareAlt'), - }), - e.createElement('input', { - type: 'hidden', - name: '@'.concat(t.name, '{id}[]'), - value: ''.concat(n.name, '{id}@squareX'), - }), - e.createElement('input', { - type: 'hidden', - name: '@'.concat(t.name, '{id}[]'), - value: ''.concat(n.name, '{id}@squareY'), - }) - ), - n.large && - n.largeSize && - e.createElement( - e.Fragment, - null, - e.createElement('input', { - type: 'hidden', - name: '@'.concat(t.name, '{id}[]'), - value: ''.concat(n.name, '{id}@largePath'), - }), - e.createElement('input', { - type: 'hidden', - name: '@'.concat(t.name, '{id}[]'), - value: ''.concat(n.name, '{id}@largeAlt'), - }), - e.createElement('input', { - type: 'hidden', - name: '@'.concat(t.name, '{id}[]'), - value: ''.concat(n.name, '{id}@largeX'), - }), - e.createElement('input', { - type: 'hidden', - name: '@'.concat(t.name, '{id}[]'), - value: ''.concat(n.name, '{id}@largeY'), - }) - ), - n.tiny && - n.tinySize && - e.createElement( - e.Fragment, - null, - e.createElement('input', { - type: 'hidden', - name: '@'.concat(t.name, '{id}[]'), - value: ''.concat(n.name, '{id}@tinyPath'), - }), - e.createElement('input', { - type: 'hidden', - name: '@'.concat(t.name, '{id}[]'), - value: ''.concat(n.name, '@tinyAlt'), - }), - e.createElement('input', { - type: 'hidden', - name: '@'.concat(t.name, '{id}[]'), - value: ''.concat(n.name, '@tinyX'), - }), - e.createElement('input', { - type: 'hidden', - name: '@'.concat(t.name, '{id}[]'), - value: ''.concat(n.name, '@tinyY'), - }) - ), - e.createElement('input', { - type: 'hidden', - name: '@'.concat(t.name, '{id}[]'), - value: ''.concat(n.name, '{id}@path'), - }), - e.createElement('input', { - type: 'hidden', - name: '@'.concat(t.name, '{id}[]'), - value: ''.concat(n.name, '{id}@alt'), - }), - e.createElement('input', { - type: 'hidden', - name: '@'.concat(t.name, '{id}[]'), - value: ''.concat(n.name, '{id}@x'), - }), - e.createElement('input', { - type: 'hidden', - name: '@'.concat(t.name, '{id}[]'), - value: ''.concat(n.name, '{id}@y'), - }), - e.createElement('input', { - type: 'hidden', - name: '@'.concat(t.name, '{id}[]'), - value: ''.concat(n.name, '{id}@edit'), - }), - e.createElement('input', { - type: 'hidden', - name: '@'.concat(t.name, '{id}[]'), - value: ''.concat(n.name, '{id}@old'), - }), - e.createElement('input', { - type: 'hidden', - name: ''.concat(n.name, '{id}:extension'), - value: 'image', - }) - ), - 'file' === n.type && - e.createElement( - e.Fragment, - null, - e.createElement('input', { - type: 'hidden', - name: '@'.concat(t.name, '{id}[]'), - value: ''.concat(n.name, '{id}@path'), - }), - e.createElement('input', { - type: 'hidden', - name: '@'.concat(t.name, '{id}[]'), - value: ''.concat(n.name, '{id}@alt'), - }), - e.createElement('input', { - type: 'hidden', - name: '@'.concat(t.name, '{id}[]'), - value: ''.concat(n.name, '{id}@edit'), - }), - e.createElement('input', { - type: 'hidden', - name: '@'.concat(t.name, '{id}[]'), - value: ''.concat(n.name, '{id}@old'), - }), - e.createElement('input', { - type: 'hidden', - name: ''.concat(n.name, '{id}:extension'), - value: 'file', - }) - ), - 'media' === n.type && - e.createElement('input', { - type: 'hidden', - name: ''.concat(n.name, '{id}:extension'), - value: 'media', - }), - 'richEditor' === n.type && - e.createElement('input', { - type: 'hidden', - name: ''.concat(n.name, '{id}:extension'), - value: 'rich-editor', - }), - e.createElement('input', { - type: 'hidden', - name: '@'.concat(t.name, '{id}[]'), - value: ''.concat(n.name, '{id}'), - }), - e.createElement('input', { - type: 'hidden', - name: 'unit{id}[]', - value: ''.concat(n.name, '{id}'), - }), - e.createElement(Bi, { item: n }), - e.createElement(qi, { name: n.name, noSearch: n.noSearch }) - ) - ), - e.createElement('input', { type: 'hidden', name: 'unit{id}[]', value: '@'.concat(t.name, '{id}') }) - ) - ) - ); - } - function so() { - const { - state: { unitgroup: t }, - preview: { acmscss: n, direction: a, editMode: r }, - } = u(), - l = (0, e.useRef)(), - i = (e) => { - let { condition: t, wrap: n, children: a } = e; - return t ? n(a) : a; - }, - o = t.items.length; - return e.createElement( - e.Fragment, - null, - t.title && e.createElement('h2', { className: p()({ 'acms-admin-admin-title2': n }) }, t.title), - t.name && - e.createElement( - e.Fragment, - null, - e.createElement( - 'table', - { className: p()('js-fieldgroup-sortable', { 'adminTable acms-admin-table-admin-edit': n }), ref: l }, - e.createElement( - 'thead', - { className: p()({ 'acms-admin-hide-sp': n }) }, - e.createElement( - 'tr', - null, - e.createElement( - 'th', - { className: p()({ 'acms-admin-table-left acms-admin-admin-config-table-item-handle': n }) }, - ' ' - ), - 'horizontal' === a && - e.createElement( - e.Fragment, - null, - t && - t.items.map((t, a) => - e.createElement( - 'th', - { key: a, className: p()({ 'acms-admin-table-left': n }) }, - t.title, - t.tooltip && - e.createElement('i', { - className: 'acms-admin-icon-tooltip js-acms-tooltip', - 'data-acms-tooltip': t.tooltip, - }) - ) - ) - ), - 'vertical' === a && e.createElement('th', null), - e.createElement( - 'th', - { className: p()({ 'acms-admin-table-left acms-admin-admin-config-table-action': n }) }, - '削除' - ) - ) - ), - e.createElement( - 'tbody', - null, - 'preview' === r ? null : '\x3c!-- BEGIN '.concat(t.name, ':loop --\x3e'), - e.createElement( - 'tr', - { className: 'sortable-item' }, - e.createElement( - 'td', - { className: 'item-handle acms-admin-table-nowrap' }, - n && e.createElement('i', { className: 'acms-admin-icon-sort' }) - ), - e.createElement( - i, - { - condition: 'vertical' === a, - wrap: (t) => e.createElement('td', null, e.createElement('table', null, t)), - }, - t.items.map((t, n) => { - switch (t.type) { - case 'text': - case 'tel': - case 'number': - case 'email': - case 'password': - return e.createElement( - no, - { title: t.title }, - e.createElement( - 'td', - null, - e.createElement(Vi, { item: t, id: ''.concat(t.name).concat(n) }) - ) - ); - case 'textarea': - case 'liteEditor': - return e.createElement( - no, - { title: t.title }, - e.createElement( - 'td', - null, - e.createElement(Ui, { item: t, id: ''.concat(t.name).concat(n) }) - ) - ); - case 'checkbox': - return e.createElement( - no, - { title: t.title }, - e.createElement( - 'td', - null, - e.createElement(Ki, { item: t, id: ''.concat(t.name).concat(n) }) - ) - ); - case 'selectbox': - return e.createElement( - no, - { title: t.title }, - e.createElement( - 'td', - null, - e.createElement(Hi, { item: t, id: ''.concat(t.name).concat(n) }) - ) - ); - case 'radioButton': - return e.createElement( - no, - { title: t.title }, - e.createElement( - 'td', - null, - e.createElement(Gi, { item: t, id: ''.concat(t.name).concat(n) }) - ) - ); - case 'media': - return e.createElement( - no, - { title: t.title }, - e.createElement( - 'td', - null, - e.createElement(Wi, { item: t, id: ''.concat(t.name).concat(n) }) - ) - ); - case 'image': - return e.createElement( - no, - { title: t.title }, - e.createElement( - 'td', - null, - e.createElement($i, { item: t, id: ''.concat(t.name).concat(n) }) - ) - ); - case 'richEditor': - return e.createElement( - no, - { title: t.title }, - e.createElement( - 'td', - null, - e.createElement( - i, - { - condition: t.useExpand, - wrap: (t) => - e.createElement( - 'div', - { className: 'js-expand js-acms-expand' }, - e.createElement( - 'div', - { className: 'js-acms-expand-inner' }, - e.createElement( - 'button', - { className: 'js-expand-btn js-acms-expand-btn', type: 'button' }, - e.createElement('i', { - className: 'acms-admin-icon acms-admin-icon-expand-arrow js-expand-icon', - }) - ), - t - ) - ), - }, - e.createElement(Yi, { item: t, id: ''.concat(t.name).concat(n) }) - ) - ) - ); - case 'table': - return e.createElement( - no, - { title: t.title }, - e.createElement( - 'td', - null, - e.createElement(Qi, { item: t, id: ''.concat(t.name).concat(n) }) - ) - ); - default: - return null; - } - }) - ), - e.createElement( - 'td', - { className: 'acms-admin-table-nowrap' }, - e.createElement( - 'button', - { - type: 'button', - className: p()('item-delete', { 'acms-admin-btn-admin acms-admin-btn-admin-danger': n }), - }, - '削除' - ) - ) - ), - 'preview' === r ? null : '\x3c!-- END '.concat(t.name, ':loop --\x3e'), - 'preview' === r - ? null - : e.createElement( - e.Fragment, - null, - e.createElement( - 'tr', - { className: 'sortable-item item-template' }, - e.createElement( - 'td', - { className: 'item-handle acms-admin-table-nowrap' }, - n && e.createElement('i', { className: 'acms-admin-icon-sort' }) - ), - e.createElement( - i, - { - condition: 'vertical' === a, - wrap: (t) => e.createElement('td', null, e.createElement('table', null, t)), - }, - t.items.map((t, n) => { - switch (t.type) { - case 'text': - case 'tel': - case 'number': - case 'email': - case 'password': - return e.createElement( - no, - { title: t.title }, - e.createElement( - 'td', - null, - e.createElement(Vi, { item: t, id: ''.concat(t.name).concat(n), isValue: !1 }) - ) - ); - case 'textarea': - case 'liteEditor': - return e.createElement( - no, - { title: t.title }, - e.createElement( - 'td', - null, - e.createElement(Ui, { item: t, id: ''.concat(t.name).concat(n), isValue: !1 }) - ) - ); - case 'checkbox': - return e.createElement( - no, - { title: t.title }, - e.createElement( - 'td', - null, - e.createElement(Ki, { - item: t, - id: 'template-'.concat(t.name).concat(n), - isChecked: !1, - }) - ) - ); - case 'selectbox': - return e.createElement( - no, - { title: t.title }, - e.createElement( - 'td', - null, - e.createElement(Hi, { item: t, id: ''.concat(t.name).concat(n), isSelected: !1 }) - ) - ); - case 'radioButton': - return e.createElement( - no, - { title: t.title }, - e.createElement( - 'td', - null, - e.createElement(Gi, { item: t, id: ''.concat(t.name).concat(n), isChecked: !1 }) - ) - ); - case 'media': - return e.createElement( - no, - { title: t.title }, - e.createElement( - 'td', - null, - e.createElement(Wi, { item: t, id: ''.concat(t.name).concat(n), isValue: !1 }) - ) - ); - case 'image': - return e.createElement( - no, - { title: t.title }, - e.createElement( - 'td', - null, - e.createElement($i, { item: t, id: ''.concat(t.name).concat(n), isAttribute: !1 }) - ) - ); - case 'richEditor': - return e.createElement( - no, - { title: t.title }, - e.createElement( - 'td', - null, - e.createElement(Yi, { item: t, id: ''.concat(t.name).concat(n), isValue: !1 }) - ) - ); - case 'table': - return e.createElement( - no, - { title: t.title }, - e.createElement( - 'td', - null, - e.createElement(Qi, { item: t, id: ''.concat(t.name).concat(n), isValue: !1 }) - ) - ); - default: - return null; - } - }) - ), - e.createElement( - 'td', - { className: 'acms-admin-table-nowrap' }, - e.createElement( - 'button', - { - type: 'button', - className: p()('item-delete', { - 'acms-admin-btn-admin acms-admin-btn-admin-danger': n, - }), - }, - '削除' - ) - ) - ) - ) - ), - e.createElement( - 'tfoot', - null, - e.createElement( - 'tr', - null, - e.createElement( - 'td', - { colSpan: 'horizontal' === a ? o + 2 : 3 }, - e.createElement('input', { - type: 'button', - className: p()('item-insert', { 'acms-admin-btn-admin': n }), - value: '追加', - }) - ) - ) - ) - ) - ), - t.name && - e.createElement( - e.Fragment, - null, - t.items.map((n) => - e.createElement( - e.Fragment, - null, - 'image' === n.type && - e.createElement( - e.Fragment, - null, - n.square && - n.squareSize && - e.createElement( - e.Fragment, - null, - e.createElement('input', { - type: 'hidden', - name: '@'.concat(t.name, '{id}[]'), - value: ''.concat(n.name, '{id}@squarePath'), - }), - e.createElement('input', { - type: 'hidden', - name: '@'.concat(t.name, '{id}[]'), - value: ''.concat(n.name, '{id}@squareAlt'), - }), - e.createElement('input', { - type: 'hidden', - name: '@'.concat(t.name, '{id}[]'), - value: ''.concat(n.name, '{id}@squareX'), - }), - e.createElement('input', { - type: 'hidden', - name: '@'.concat(t.name, '{id}[]'), - value: ''.concat(n.name, '{id}@squareY'), - }) - ), - n.large && - n.largeSize && - e.createElement( - e.Fragment, - null, - e.createElement('input', { - type: 'hidden', - name: '@'.concat(t.name, '{id}[]'), - value: ''.concat(n.name, '{id}@largePath'), - }), - e.createElement('input', { - type: 'hidden', - name: '@'.concat(t.name, '{id}[]'), - value: ''.concat(n.name, '{id}@largeAlt'), - }), - e.createElement('input', { - type: 'hidden', - name: '@'.concat(t.name, '{id}[]'), - value: ''.concat(n.name, '{id}@largeX'), - }), - e.createElement('input', { - type: 'hidden', - name: '@'.concat(t.name, '{id}[]'), - value: ''.concat(n.name, '{id}@largeY'), - }) - ), - n.tiny && - n.tinySize && - e.createElement( - e.Fragment, - null, - e.createElement('input', { - type: 'hidden', - name: '@'.concat(t.name, '{id}[]'), - value: ''.concat(n.name, '{id}@tinyPath'), - }), - e.createElement('input', { - type: 'hidden', - name: '@'.concat(t.name, '{id}[]'), - value: ''.concat(n.name, '@tinyAlt'), - }), - e.createElement('input', { - type: 'hidden', - name: '@'.concat(t.name, '{id}[]'), - value: ''.concat(n.name, '@tinyX'), - }), - e.createElement('input', { - type: 'hidden', - name: '@'.concat(t.name, '{id}[]'), - value: ''.concat(n.name, '@tinyY'), - }) - ), - e.createElement('input', { - type: 'hidden', - name: '@'.concat(t.name, '{id}[]'), - value: ''.concat(n.name, '{id}@path'), - }), - e.createElement('input', { - type: 'hidden', - name: '@'.concat(t.name, '{id}[]'), - value: ''.concat(n.name, '{id}@alt'), - }), - e.createElement('input', { - type: 'hidden', - name: '@'.concat(t.name, '{id}[]'), - value: ''.concat(n.name, '{id}@x'), - }), - e.createElement('input', { - type: 'hidden', - name: '@'.concat(t.name, '{id}[]'), - value: ''.concat(n.name, '{id}@y'), - }), - e.createElement('input', { - type: 'hidden', - name: '@'.concat(t.name, '{id}[]'), - value: ''.concat(n.name, '{id}@edit'), - }), - e.createElement('input', { - type: 'hidden', - name: '@'.concat(t.name, '{id}[]'), - value: ''.concat(n.name, '{id}@old'), - }), - e.createElement('input', { - type: 'hidden', - name: ''.concat(n.name, '{id}:extension'), - value: 'image', - }) - ), - 'file' === n.type && - e.createElement( - e.Fragment, - null, - e.createElement('input', { - type: 'hidden', - name: '@'.concat(t.name, '{id}[]'), - value: ''.concat(n.name, '{id}@path'), - }), - e.createElement('input', { - type: 'hidden', - name: '@'.concat(t.name, '{id}[]'), - value: ''.concat(n.name, '{id}@alt'), - }), - e.createElement('input', { - type: 'hidden', - name: '@'.concat(t.name, '{id}[]'), - value: ''.concat(n.name, '{id}@edit'), - }), - e.createElement('input', { - type: 'hidden', - name: '@'.concat(t.name, '{id}[]'), - value: ''.concat(n.name, '{id}@old'), - }), - e.createElement('input', { - type: 'hidden', - name: ''.concat(n.name, '{id}:extension'), - value: 'file', - }) - ), - 'media' === n.type && - e.createElement('input', { - type: 'hidden', - name: ''.concat(n.name, '{id}:extension'), - value: 'media', - }), - 'richEditor' === n.type && - e.createElement('input', { - type: 'hidden', - name: ''.concat(n.name, '{id}:extension'), - value: 'rich-editor', - }), - e.createElement('input', { - type: 'hidden', - name: '@'.concat(t.name, '{id}[]'), - value: ''.concat(n.name, '{id}'), - }), - e.createElement('input', { type: 'hidden', name: 'unit{id}[]', value: ''.concat(n.name, '{id}') }), - n.noSearch && - e.createElement('input', { type: 'hidden', name: ''.concat(n.name, '{id}:search'), value: '0' }), - e.createElement(Bi, { item: n }) - ) - ), - e.createElement('input', { type: 'hidden', name: 'unit{id}[]', value: '@'.concat(t.name, '{id}') }) - ) - ); - } - function uo() { - const { - preview: { tag: t }, - } = u(); - return e.createElement( - e.Fragment, - null, - 'section' === t ? e.createElement(co, null) : null, - 'table' === t ? e.createElement(so, null) : null - ); - } - function mo() { - const { - state: { customfield: t }, - preview: { acmscss: n }, - } = u(); - return e.createElement( - 'table', - { className: p()({ 'acms-admin-table-admin-edit': n }) }, - t.map((t, n) => { - if (!t.name) return null; - if ( - 'text' === t.type || - 'tel' === t.type || - 'number' === t.type || - 'email' === t.type || - 'password' === t.type - ) - return e.createElement( - 'tr', - { key: n }, - e.createElement('th', null, t.title), - e.createElement('td', null, '{'.concat(t.name, '}')) - ); - if ('textarea' === t.type) - return e.createElement( - 'tr', - { key: n }, - e.createElement('th', null, t.title), - e.createElement('td', null, '{'.concat(t.name, '}[escape|nl2br]')) - ); - if ('selectbox' === t.type) - return e.createElement( - 'tr', - { key: n }, - e.createElement('th', null, t.title), - e.createElement( - 'td', - null, - t.option.map((n) => - e.createElement( - 'div', - { key: n.value }, - '\x3c!-- BEGIN_IF [{'.concat(t.name, '}/eq/').concat(n.value, '] --\x3e'), - n.value, - '\x3c!-- END_IF --\x3e' - ) - ) - ) - ); - if ('radioButton' === t.type) - return e.createElement( - 'tr', - { key: n }, - e.createElement('th', null, t.title), - e.createElement( - 'td', - null, - t.option.map((e) => - '\x3c!-- BEGIN_IF [{' - .concat(t.name, '}/eq/') - .concat(e.value, '] --\x3e\n ') - .concat(e.label, '\n \x3c!-- END_IF --\x3e') - ) - ) - ); - if ('checkbox' === t.type) - return e.createElement( - 'tr', - { key: n }, - e.createElement('th', null, t.title), - e.createElement( - 'td', - null, - '\x3c!-- BEGIN '.concat(t.name, ':loop --\x3e'), - '\x3c!-- BEGIN '.concat(t.name, ':glue --\x3e,\x3c!-- END ').concat(t.name, ':glue --\x3e'), - t.option.map((e) => - '\x3c!-- BEGIN_IF [{' - .concat(t.name, '}/eq/') - .concat(e.value, '] --\x3e\n ') - .concat(e.label, '\n \x3c!-- END_IF --\x3e') - ), - '\x3c!-- END '.concat(t.name, ':loop --\x3e') - ) - ); - if ('file' === t.type) { - let a = '/images/fileicon/', - r = 'file'; - return ( - t.extension ? ((a += ''.concat(t.extension, '.svg')), (r += t.extension)) : (a += 'file.svg'), - e.createElement( - 'tr', - { key: n }, - e.createElement('th', null, t.title), - e.createElement( - 'td', - null, - '\x3c!-- BEGIN '.concat(t.name, '@path:veil --\x3e'), - e.createElement( - 'a', - { href: '%{ARCHIVES_DIR}{'.concat(t.name, '@path}') }, - e.createElement('img', { src: a, width: '64', height: '64', alt: r }) - ), - '\x3c!-- END '.concat(t.name, '@path:veil --\x3e') - ) - ) - ); - } - return 'image' === t.type - ? e.createElement( - 'tr', - { key: n }, - e.createElement('th', null, t.title), - e.createElement( - 'td', - null, - e.createElement('img', { - src: '%{ARCHIVES_DIR}{'.concat(t.name, '@path}'), - width: '64', - height: '64', - alt: '{'.concat(t.name, '@alt}'), - }) - ) - ) - : 'media' === t.type - ? e.createElement( - 'tr', - { key: n }, - e.createElement('th', null, t.title), - e.createElement( - 'td', - null, - '\x3c!-- BEGIN_IF [{'.concat(t.name, '@type}/eq/file] --\x3e'), - e.createElement( - 'a', - { href: '{'.concat(t.name, '@path}') }, - e.createElement('img', { - alt: '{'.concat(t.name, '@alt}'), - src: '{'.concat(t.name, '@thumbnail}'), - style: { width: '64px', height: 'auto' }, - }) - ), - '\x3c!-- END_IF --\x3e', - '\x3c!-- BEGIN_IF [{'.concat(t.name, '@type}/eq/image] --\x3e'), - '\x3c!-- BEGIN_IF [{'.concat(t.name, '@link}/nem] --\x3e'), - e.createElement( - 'a', - { href: '{'.concat(t.name, '@link}') }, - '\x3c!-- END_IF --\x3e', - t.useFocusImage && - e.createElement( - 'div', - { - style: { - width: ''.concat(t.focusImageWidth, 'px'), - height: ''.concat(t.focusImageHeight, 'px'), - }, - }, - e.createElement('img', { - className: 'js-focused-image', - 'data-focus-x': '{'.concat(t.name, '@focalX}'), - 'data-focus-y': '{'.concat(t.name, '@focalY}'), - alt: '{'.concat(t.name, '@alt}'), - src: '%{MEDIA_ARCHIVES_DIR}{' - .concat(t.name, '@path}[resizeImg(') - .concat(t.focusImageWidth, ')]'), - width: t.focusImageWidth, - height: '{'.concat(t.name, '@ratio}[getHeightFromRatio(').concat(t.focusImageWidth, ')]'), - }) - ), - !t.useFocusImage && - e.createElement('img', { - alt: '{'.concat(t.name, '@alt}'), - src: '%{MEDIA_ARCHIVES_DIR}{'.concat(t.name, '@path}'), - width: '300', - height: '{'.concat(t.name, '@ratio}[getHeightFromRatio(300)]'), - }), - '\x3c!-- BEGIN_IF [{'.concat(t.name, '@link}/nem] --\x3e') - ), - '\x3c!-- END_IF --\x3e', - '\x3c!-- BEGIN_IF [{'.concat(t.name, '@text}/nem] --\x3e'), - e.createElement('p', null, '{'.concat(t.name, '@text}')), - '\x3c!-- END_IF --\x3e', - '\x3c!-- END_IF --\x3e' - ) - ) - : 'richEditor' === t.type - ? e.createElement( - 'tr', - { key: n }, - e.createElement('th', null, t.title), - e.createElement('td', null, '{'.concat(t.name, '@html}[raw]')) - ) - : 'liteEditor' === t.type || 'table' === t.type - ? e.createElement( - 'tr', - { key: n }, - e.createElement('th', null, t.title), - e.createElement('td', null, '{'.concat(t.name, '}[raw]')) - ) - : void 0; - }) - ); - } - function po() { - return e.createElement(mo, null); - } - function fo() { - const { - state: { fieldgroup: t }, - preview: { acmscss: n, direction: a }, - } = u(), - r = (e) => { - let { condition: t, wrap: n, children: a } = e; - return t ? n(a) : a; - }; - return e.createElement( - e.Fragment, - null, - t.title && e.createElement('h2', { className: p()({ 'acms-admin-admin-title2': n }) }, t.title), - e.createElement( - 'table', - { className: p()({ 'adminTable acms-admin-table-admin-edit': n }) }, - 'horizontal' === a && - e.createElement( - e.Fragment, - null, - t && - e.createElement( - 'thead', - { className: p()({ 'acms-admin-hide-sp': n }) }, - e.createElement( - 'tr', - null, - t.items.map((t, a) => - e.createElement('th', { key: a, className: p()({ 'acms-admin-table-left': n }) }, t.title) - ) - ) - ) - ), - e.createElement( - 'tbody', - null, - '\x3c!-- BEGIN '.concat(t.name, ':loop --\x3e'), - e.createElement( - 'tr', - null, - e.createElement( - r, - { - condition: 'vertical' === a, - wrap: (t) => e.createElement('td', null, e.createElement('table', null, t)), - }, - t.items.map((t, a) => { - if ( - 'text' === t.type || - 'tel' === t.type || - 'number' === t.type || - 'email' === t.type || - 'password' === t.type - ) - return e.createElement( - no, - { key: a, title: t.title }, - e.createElement('td', null, '{'.concat(t.name, '}')) - ); - if ('textarea' === t.type) - return e.createElement( - no, - { key: a, title: t.title }, - e.createElement('td', null, '{'.concat(t.name, '}[escape|nl2br]')) - ); - if ('selectbox' === t.type) - return e.createElement( - no, - { key: a, title: t.title }, - e.createElement( - 'td', - null, - t.option.map((n, a) => - n.label - ? e.createElement( - 'div', - { key: a }, - '\x3c!-- BEGIN_IF [{'.concat(t.name, '}/eq/').concat(n.value, '] --\x3e'), - n.label, - '\x3c!-- END_IF --\x3e' - ) - : null - ) - ) - ); - if ('radioButton' === t.type) - return e.createElement( - no, - { key: a, title: t.title }, - e.createElement( - 'td', - null, - t.option.map((n, a) => - n.label - ? e.createElement( - 'div', - { key: a }, - '\x3c!-- BEGIN_IF [{'.concat(t.name, '}/eq/').concat(n.value, '] --\x3e'), - n.label, - '\x3c!-- END_IF --\x3e' - ) - : null - ) - ) - ); - if ('file' === t.type) { - let n = '/images/fileicon/', - r = 'file'; - return ( - t.extension ? ((n += ''.concat(t.extension, '.svg')), (r += t.extension)) : (n += 'file.svg'), - e.createElement( - no, - { key: a, title: t.title }, - e.createElement( - 'td', - null, - '\x3c!-- BEGIN '.concat(t.name, '@path:veil --\x3e'), - e.createElement( - 'a', - { href: '%{ARCHIVES_DIR}{'.concat(t.name, '@path}') }, - e.createElement('img', { src: n, width: '64', height: '64', alt: r }) - ), - '\x3c!-- END '.concat(t.name, '@path:veil --\x3e') - ) - ) - ); - } - return 'image' === t.type - ? e.createElement( - no, - { key: a, title: t.title }, - e.createElement( - 'td', - null, - '\x3c!-- BEGIN '.concat(t.name, '@path:veil --\x3e'), - e.createElement('img', { - src: '%{ARCHIVES_DIR}{'.concat(t.name, '@path}'), - className: p()({ 'acms-admin-img-responsive': n }), - alt: '{'.concat(t.name, '@alt}'), - }), - '\x3c!-- END '.concat(t.name, '@path:veil --\x3e') - ) - ) - : 'media' === t.type - ? e.createElement( - no, - { key: a, title: t.title }, - e.createElement( - 'td', - null, - '\x3c!-- BEGIN_IF [{'.concat(t.name, '@type}/eq/file] --\x3e'), - e.createElement( - 'a', - { href: '{'.concat(t.name, '@path}') }, - e.createElement('img', { - alt: '{'.concat(t.name, '@alt}'), - src: '{'.concat(t.name, '@thumbnail}'), - style: { width: '64px', height: 'auto' }, - }) - ), - '\x3c!-- END_IF --\x3e', - '\x3c!-- BEGIN_IF [{'.concat(t.name, '@type}/eq/image] --\x3e'), - '\x3c!-- BEGIN_IF [{'.concat(t.name, '@link}/nem] --\x3e'), - e.createElement( - 'a', - { href: '{'.concat(t.name, '@link}') }, - '\x3c!-- END_IF --\x3e', - t.useFocusImage && - e.createElement( - 'div', - { - style: { - width: ''.concat(t.focusImageWidth, 'px'), - height: ''.concat(t.focusImageHeight, 'px'), - }, - }, - e.createElement('img', { - className: 'js-focused-image', - 'data-focus-x': '{'.concat(t.name, '@focalX}'), - 'data-focus-y': '{'.concat(t.name, '@focalY}'), - alt: '{'.concat(t.name, '@alt}'), - src: '%{MEDIA_ARCHIVES_DIR}{' - .concat(t.name, '@path}[resizeImg(') - .concat(t.focusImageWidth, ')]'), - }) - ), - !t.useFocusImage && - e.createElement('img', { - alt: '{'.concat(t.name, '@alt}'), - src: '%{MEDIA_ARCHIVES_DIR}{'.concat(t.name, '@path}'), - }), - '\x3c!-- BEGIN_IF [{'.concat(t.name, '@link}/nem] --\x3e') - ), - '\x3c!-- END_IF --\x3e', - '\x3c!-- BEGIN_IF [{'.concat(t.name, '@text}/nem] --\x3e'), - e.createElement('p', null, '{'.concat(t.name, '@text}')), - '\x3c!-- END_IF --\x3e', - '\x3c!-- END_IF --\x3e' - ) - ) - : 'liteEditor' === t.type - ? e.createElement( - no, - { key: a, title: t.title }, - e.createElement('td', null, '{'.concat(t.name, '}[raw]')) - ) - : 'richEditor' === t.type - ? e.createElement( - no, - { key: a, title: t.title }, - e.createElement('td', null, '{'.concat(t.name, '@html}[raw]')) - ) - : 'table' === t.type - ? e.createElement( - no, - { key: a, title: t.title }, - e.createElement('td', null, '{'.concat(t.name, '}[raw]')) - ) - : null; - }) - ) - ), - '\x3c!-- END '.concat(t.name, ':loop --\x3e') - ) - ) - ); - } - function ho() { - return e.createElement(fo, null); - } - function go() { - const { - state: { customunit: t }, - preview: { acmscss: n }, - } = u(); - return e.createElement( - 'table', - { className: p()({ 'acms-admin-table-admin-edit': n }) }, - t.map((t, n) => { - if (!t.name) return null; - if ( - 'text' === t.type || - 'tel' === t.type || - 'number' === t.type || - 'email' === t.type || - 'password' === t.type - ) - return e.createElement( - 'tr', - { key: n }, - e.createElement('th', null, t.title), - e.createElement('td', null, '{'.concat(t.name, '}')) - ); - if ('textarea' === t.type) - return e.createElement( - 'tr', - { key: n }, - e.createElement('th', null, t.title), - e.createElement('td', null, '{'.concat(t.name, '}[escape|nl2br]')) - ); - if ('selectbox' === t.type) - return e.createElement( - 'tr', - { key: n }, - e.createElement('th', null, t.title), - e.createElement( - 'td', - null, - t.option.map((n) => - e.createElement( - 'div', - { key: n.value }, - '\x3c!-- BEGIN_IF [{'.concat(t.name, '}/eq/').concat(n.value, '] --\x3e'), - n.value, - '\x3c!-- END_IF --\x3e' - ) - ) - ) - ); - if ('radioButton' === t.type) - return e.createElement( - 'tr', - { key: n }, - e.createElement('th', null, t.title), - e.createElement( - 'td', - null, - t.option.map((e) => - '\x3c!-- BEGIN_IF [{' - .concat(t.name, '}/eq/') - .concat(e.value, '] --\x3e\n ') - .concat(e.label, '\n \x3c!-- END_IF --\x3e') - ) - ) - ); - if ('checkbox' === t.type) - return e.createElement( - 'tr', - { key: n }, - e.createElement('th', null, t.title), - e.createElement( - 'td', - null, - '\x3c!-- BEGIN '.concat(t.name, ':loop --\x3e'), - '\x3c!-- BEGIN '.concat(t.name, ':glue --\x3e,\x3c!-- END ').concat(t.name, ':glue --\x3e'), - t.option.map((e) => - '\x3c!-- BEGIN_IF [{' - .concat(t.name, '}/eq/') - .concat(e.value, '] --\x3e\n ') - .concat(e.label, '\n \x3c!-- END_IF --\x3e') - ), - '\x3c!-- END '.concat(t.name, ':loop --\x3e') - ) - ); - if ('file' === t.type) { - let a = '/images/fileicon/', - r = 'file'; - return ( - t.extension ? ((a += ''.concat(t.extension, '.svg')), (r += t.extension)) : (a += 'file.svg'), - e.createElement( - 'tr', - { key: n }, - e.createElement('th', null, t.title), - e.createElement( - 'td', - null, - '\x3c!-- BEGIN '.concat(t.name, '@path:veil --\x3e'), - e.createElement( - 'a', - { href: '%{ARCHIVES_DIR}{'.concat(t.name, '@path}') }, - e.createElement('img', { src: a, width: '64', height: '64', alt: r }) - ), - '\x3c!-- END '.concat(t.name, '@path:veil --\x3e') - ) - ) - ); - } - return 'image' === t.type - ? e.createElement( - 'tr', - { key: n }, - e.createElement('th', null, t.title), - e.createElement( - 'td', - null, - e.createElement('img', { - src: '%{ARCHIVES_DIR}{'.concat(t.name, '@path}'), - width: '64', - height: '64', - alt: '{'.concat(t.name, '@alt}'), - }) - ) - ) - : 'media' === t.type - ? e.createElement( - 'tr', - { key: n }, - e.createElement('th', null, t.title), - e.createElement( - 'td', - null, - '\x3c!-- BEGIN_IF [{'.concat(t.name, '@type}/eq/file] --\x3e'), - e.createElement( - 'a', - { href: '{'.concat(t.name, '@path}') }, - e.createElement('img', { - alt: '{'.concat(t.name, '@alt}'), - src: '{'.concat(t.name, '@thumbnail}'), - style: { width: '64px', height: 'auto' }, - }) - ), - '\x3c!-- END_IF --\x3e', - '\x3c!-- BEGIN_IF [{'.concat(t.name, '@type}/eq/image] --\x3e'), - '\x3c!-- BEGIN_IF [{'.concat(t.name, '@link}/nem] --\x3e'), - e.createElement( - 'a', - { href: '{'.concat(t.name, '@link}') }, - '\x3c!-- END_IF --\x3e', - t.useFocusImage && - e.createElement( - 'div', - { - style: { - width: ''.concat(t.focusImageWidth, 'px'), - height: ''.concat(t.focusImageHeight, 'px'), - }, - }, - e.createElement('img', { - className: 'js-focused-image', - 'data-focus-x': '{'.concat(t.name, '@focalX}'), - 'data-focus-y': '{'.concat(t.name, '@focalY}'), - alt: '{'.concat(t.name, '@alt}'), - src: '%{MEDIA_ARCHIVES_DIR}{' - .concat(t.name, '@path}[resizeImg(') - .concat(t.focusImageWidth, ')]'), - width: t.focusImageWidth, - height: '{'.concat(t.name, '@ratio}[getHeightFromRatio(').concat(t.focusImageWidth, ')]'), - }) - ), - !t.useFocusImage && - e.createElement('img', { - alt: '{'.concat(t.name, '@alt}'), - src: '%{MEDIA_ARCHIVES_DIR}{'.concat(t.name, '@path}'), - width: '300', - height: '{'.concat(t.name, '@ratio}[getHeightFromRatio(300)]'), - }), - '\x3c!-- BEGIN_IF [{'.concat(t.name, '@link}/nem] --\x3e') - ), - '\x3c!-- END_IF --\x3e', - '\x3c!-- BEGIN_IF [{'.concat(t.name, '@text}/nem] --\x3e'), - e.createElement('p', null, '{'.concat(t.name, '@text}')), - '\x3c!-- END_IF --\x3e', - '\x3c!-- END_IF --\x3e' - ) - ) - : 'richEditor' === t.type - ? e.createElement( - 'tr', - { key: n }, - e.createElement('th', null, t.title), - e.createElement('td', null, '{'.concat(t.name, '@html}[raw]')) - ) - : 'liteEditor' === t.type || 'table' === t.type - ? e.createElement( - 'tr', - { key: n }, - e.createElement('th', null, t.title), - e.createElement('td', null, '{'.concat(t.name, '}[raw]')) - ) - : void 0; - }) - ); - } - function vo() { - return e.createElement(go, null); - } - function bo() { - const { - state: { unitgroup: t }, - preview: { acmscss: n, direction: a }, - } = u(), - r = (e) => { - let { condition: t, wrap: n, children: a } = e; - return t ? n(a) : a; - }; - return e.createElement( - e.Fragment, - null, - t.title && e.createElement('h2', { className: p()({ 'acms-admin-admin-title2': n }) }, t.title), - e.createElement( - 'table', - { className: p()({ 'adminTable acms-admin-table-admin-edit': n }) }, - 'horizontal' === a && - e.createElement( - e.Fragment, - null, - t && - e.createElement( - 'thead', - { className: p()({ 'acms-admin-hide-sp': n }) }, - e.createElement( - 'tr', - null, - t.items.map((t, a) => - e.createElement('th', { key: a, className: p()({ 'acms-admin-table-left': n }) }, t.title) - ) - ) - ) - ), - e.createElement( - 'tbody', - null, - '\x3c!-- BEGIN '.concat(t.name, ':loop --\x3e'), - e.createElement( - 'tr', - null, - e.createElement( - r, - { - condition: 'vertical' === a, - wrap: (t) => e.createElement('td', null, e.createElement('table', null, t)), - }, - t.items.map((t, a) => { - if ( - 'text' === t.type || - 'tel' === t.type || - 'number' === t.type || - 'email' === t.type || - 'password' === t.type - ) - return e.createElement( - no, - { key: a, title: t.title }, - e.createElement('td', null, '{'.concat(t.name, '}')) - ); - if ('textarea' === t.type) - return e.createElement( - no, - { key: a, title: t.title }, - e.createElement('td', null, '{'.concat(t.name, '}[escape|nl2br]')) - ); - if ('selectbox' === t.type) - return e.createElement( - no, - { key: a, title: t.title }, - e.createElement( - 'td', - null, - t.option.map((n, a) => - n.label - ? e.createElement( - 'div', - { key: a }, - '\x3c!-- BEGIN_IF [{'.concat(t.name, '}/eq/').concat(n.value, '] --\x3e'), - n.label, - '\x3c!-- END_IF --\x3e' - ) - : null - ) - ) - ); - if ('radioButton' === t.type) - return e.createElement( - no, - { key: a, title: t.title }, - e.createElement( - 'td', - null, - t.option.map((n, a) => - n.label - ? e.createElement( - 'div', - { key: a }, - '\x3c!-- BEGIN_IF [{'.concat(t.name, '}/eq/').concat(n.value, '] --\x3e'), - n.label, - '\x3c!-- END_IF --\x3e' - ) - : null - ) - ) - ); - if ('file' === t.type) { - let n = '/images/fileicon/', - r = 'file'; - return ( - t.extension ? ((n += ''.concat(t.extension, '.svg')), (r += t.extension)) : (n += 'file.svg'), - e.createElement( - no, - { key: a, title: t.title }, - e.createElement( - 'td', - null, - '\x3c!-- BEGIN '.concat(t.name, '@path:veil --\x3e'), - e.createElement( - 'a', - { href: '%{ARCHIVES_DIR}{'.concat(t.name, '@path}') }, - e.createElement('img', { src: n, width: '64', height: '64', alt: r }) - ), - '\x3c!-- END '.concat(t.name, '@path:veil --\x3e') - ) - ) - ); - } - return 'image' === t.type - ? e.createElement( - no, - { key: a, title: t.title }, - e.createElement( - 'td', - null, - '\x3c!-- BEGIN '.concat(t.name, '@path:veil --\x3e'), - e.createElement('img', { - src: '%{ARCHIVES_DIR}{'.concat(t.name, '@path}'), - className: p()({ 'acms-admin-img-responsive': n }), - alt: '{'.concat(t.name, '@alt}'), - }), - '\x3c!-- END '.concat(t.name, '@path:veil --\x3e') - ) - ) - : 'media' === t.type - ? e.createElement( - no, - { key: a, title: t.title }, - e.createElement( - 'td', - null, - '\x3c!-- BEGIN_IF [{'.concat(t.name, '@type}/eq/file] --\x3e'), - e.createElement( - 'a', - { href: '{'.concat(t.name, '@path}') }, - e.createElement('img', { - alt: '{'.concat(t.name, '@alt}'), - src: '{'.concat(t.name, '@thumbnail}'), - style: { width: '64px', height: 'auto' }, - }) - ), - '\x3c!-- END_IF --\x3e', - '\x3c!-- BEGIN_IF [{'.concat(t.name, '@type}/eq/image] --\x3e'), - '\x3c!-- BEGIN_IF [{'.concat(t.name, '@link}/nem] --\x3e'), - e.createElement( - 'a', - { href: '{'.concat(t.name, '@link}') }, - '\x3c!-- END_IF --\x3e', - t.useFocusImage && - e.createElement( - 'div', - { - style: { - width: ''.concat(t.focusImageWidth, 'px'), - height: ''.concat(t.focusImageHeight, 'px'), - }, - }, - e.createElement('img', { - className: 'js-focused-image', - 'data-focus-x': '{'.concat(t.name, '@focalX}'), - 'data-focus-y': '{'.concat(t.name, '@focalY}'), - alt: '{'.concat(t.name, '@alt}'), - src: '%{MEDIA_ARCHIVES_DIR}{' - .concat(t.name, '@path}[resizeImg(') - .concat(t.focusImageWidth, ')]'), - }) - ), - !t.useFocusImage && - e.createElement('img', { - alt: '{'.concat(t.name, '@alt}'), - src: '%{MEDIA_ARCHIVES_DIR}{'.concat(t.name, '@path}'), - }), - '\x3c!-- BEGIN_IF [{'.concat(t.name, '@link}/nem] --\x3e') - ), - '\x3c!-- END_IF --\x3e', - '\x3c!-- BEGIN_IF [{'.concat(t.name, '@text}/nem] --\x3e'), - e.createElement('p', null, '{'.concat(t.name, '@text}')), - '\x3c!-- END_IF --\x3e', - '\x3c!-- END_IF --\x3e' - ) - ) - : 'liteEditor' === t.type - ? e.createElement( - no, - { key: a, title: t.title }, - e.createElement('td', null, '{'.concat(t.name, '}[raw]')) - ) - : 'richEditor' === t.type - ? e.createElement( - no, - { key: a, title: t.title }, - e.createElement('td', null, '{'.concat(t.name, '@html}[raw]')) - ) - : 'table' === t.type - ? e.createElement( - no, - { key: a, title: t.title }, - e.createElement('td', null, '{'.concat(t.name, '}[raw]')) - ) - : null; - }) - ) - ), - '\x3c!-- END '.concat(t.name, ':loop --\x3e') - ) - ) - ); - } - function Eo() { - return e.createElement(bo, null); - } - var yo = n(848), - xo = n(376), - _o = n(418), - wo = n(48), - ko = n.n(wo), - So = (n(334), n(962), n(285)), - No = n.n(So); - ko().registerLanguage('xml', No()); - const To = new xo.vr(); - function Co(t) { - let { children: n, onHighlight: a = () => {} } = t; - const r = (0, e.useRef)(), - l = (0, e.useCallback)( - (e) => { - let t = (0, yo.qV)(e); - (t = t.replace(/"/g, '"')), - (t = t.replace(/data-tmp="(.*?)"/g, '$1')), - (t = t.replace(/</g, '<')), - (t = t.replace(/>/g, '>')), - (t = ((e) => (e = e.replace(//g, '')).replace(/ data-reactroot=""/g, ''))( - t - )); - const n = To.encode( - (0, _o.html)(t, { - unformatted: ['code', 'pre'], - indent_inner_html: !0, - indent_char: ' ', - indent_size: 2, - sep: '\n', - }) - ); - (r.current.innerHTML = n), ko().highlightBlock(r.current), a && a(n); - }, - [a] - ); - return ( - (0, e.useEffect)(() => { - l(n); - }, [n, l]), - e.createElement( - 'div', - null, - e.createElement( - 'pre', - { className: 'acms-admin-customfield-maker' }, - e.createElement('code', { className: 'html', ref: r }) - ) - ) - ); - } - const Fo = new xo.vr(); - var Ro = function () { - const { setSource: t, state: n, preview: a, clipboard: r } = u(), - l = (e) => { - const n = Fo.decode(e); - r.source !== n && t(n); - }; - return e.createElement( - 'div', - { className: 'customFieldContainer acms-admin-form' }, - e.createElement('div', null, e.createElement(m, null)), - e.createElement( - 'section', - null, - 'customfield' === a.mode && e.createElement(Ti, null), - 'fieldgroup' === a.mode && e.createElement(Ai, null), - 'customunit' === a.mode && e.createElement(Di, null), - 'unitgroup' === a.mode && e.createElement(ji, null) - ), - e.createElement( - 'section', - null, - e.createElement('h2', null, 'コードプレビュー'), - e.createElement( - 'div', - { className: 'acms-admin-tabs' }, - e.createElement(f, null), - e.createElement( - 'div', - { className: 'acms-admin-tabs-panel' }, - e.createElement( - 'div', - null, - e.createElement( - 'div', - { className: 'clearfix' }, - e.createElement(ci, null), - 'source' === a.editMode && - e.createElement( - Co, - { onHighlight: l }, - e.createElement( - s, - { state: n, preview: a, clipboard: r }, - 'customfield' === a.mode && e.createElement(eo, null), - 'fieldgroup' === a.mode && e.createElement(ro, null), - 'customunit' === a.mode && e.createElement(oo, null), - 'unitgroup' === a.mode && e.createElement(uo, null) - ) - ), - 'preview' === a.editMode && - e.createElement( - 'div', - { - style: { - borderRadius: '5px', - padding: '20px', - margin: '1em 0', - backgroundColor: '#F0F0F0', - minHeight: '19.391px', - }, - }, - 'customfield' === a.mode && e.createElement(eo, null), - 'fieldgroup' === a.mode && e.createElement(ro, null), - 'customunit' === a.mode && e.createElement(oo, null), - 'unitgroup' === a.mode && e.createElement(uo, null) - ), - 'confirm' === a.editMode && - e.createElement( - Co, - { onHighlight: l }, - e.createElement( - s, - { state: n, preview: a, clipboard: r }, - 'customfield' === a.mode && e.createElement(po, null), - 'fieldgroup' === a.mode && e.createElement(ho, null), - 'customunit' === a.mode && e.createElement(vo, null), - 'unitgroup' === a.mode && e.createElement(Eo, null) - ) - ) - ) - ) - ) - ) - ) - ); - }, - Io = function () { - return e.createElement(s, null, e.createElement(Ro, null)); - }; - n(106); - const Ao = document.getElementById('app'); - (0, t.H)(Ao).render(e.createElement(Io, null)); - })(); -})(); +!function(){var e={965:function(e,t,n){"use strict";var a=n(426),r={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(e,t){var n,l,i,o,c,s,u=!1;t||(t={}),n=t.debug||!1;try{if(i=a(),o=document.createRange(),c=document.getSelection(),(s=document.createElement("span")).textContent=e,s.ariaHidden="true",s.style.all="unset",s.style.position="fixed",s.style.top=0,s.style.clip="rect(0, 0, 0, 0)",s.style.whiteSpace="pre",s.style.webkitUserSelect="text",s.style.MozUserSelect="text",s.style.msUserSelect="text",s.style.userSelect="text",s.addEventListener("copy",(function(a){if(a.stopPropagation(),t.format)if(a.preventDefault(),void 0===a.clipboardData){n&&console.warn("unable to use e.clipboardData"),n&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var l=r[t.format]||r.default;window.clipboardData.setData(l,e)}else a.clipboardData.clearData(),a.clipboardData.setData(t.format,e);t.onCopy&&(a.preventDefault(),t.onCopy(a.clipboardData))})),document.body.appendChild(s),o.selectNodeContents(s),c.addRange(o),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");u=!0}catch(a){n&&console.error("unable to copy using execCommand: ",a),n&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),u=!0}catch(a){n&&console.error("unable to copy using clipboardData: ",a),n&&console.error("falling back to prompt"),l=function(e){var t=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}("message"in t?t.message:"Copy to clipboard: #{key}, Enter"),window.prompt(l,e)}}finally{c&&("function"==typeof c.removeRange?c.removeRange(o):c.removeAllRanges()),s&&document.body.removeChild(s),i()}return u}},954:function(e,t,n){(e.exports=n(765)()).push([e.id,'.customFieldContainer {\n display: grid;\n grid-template-columns: repeat(1, minmax(0, 1fr));\n gap: 64px;\n max-width: 960px;\n}\n\n.customFieldContainer h2 {\n color: #333;\n margin: 0;\n font-size: 20px;\n margin-bottom: 1em;\n}\n\n/* ジェネレーター:全体\n-------------------------------------- */\n.customFieldFunction {\n display: grid;\n grid-template-columns: repeat(1, minmax(0, 1fr));\n gap: 24px;\n background: #fff;\n}\n\n.customFieldFunction select {\n min-height: 26px;\n padding: 4px 24px 4px 4px;\n line-height: 1.5;\n font-size: 14px;\n}\n\n/* ジェネレーター:フィールドグループ、ユニットグループ\n-------------------------------------- */\n.customFieldGeneratorGroup {\n display: grid;\n row-gap: 24px;\n column-gap: 24px;\n grid-template-columns: repeat(3, 1fr);\n grid-template-areas:\n "areaTitle areaVal ."\n "areaButton . .";\n}\n.customFieldGeneratorGroup.-openGroup {\n grid-template-areas: "areaTitle areaVal .";\n}\n.customFieldGeneratorGroup dd {\n margin: 0;\n}\n.customFieldGeneratorGroupTitle {\n grid-area: areaTitle;\n}\n.customFieldGeneratorGroupVal {\n grid-area: areaVal;\n}\n.customFieldGeneratorGroupButton {\n grid-area: areaButton;\n}\n\n/* ジェネレーター:ベーシック\n-------------------------------------- */\n.customFieldGeneratorBasic {\n display: grid;\n row-gap: 24px;\n column-gap: 24px;\n grid-template-columns: repeat(3, 1fr);\n grid-template-areas:\n "areaInput areaTitle areaField"\n "areaPlaceholder areaTooltip areaTooltip";\n}\n.customFieldGeneratorBasic label,\n.customFieldGeneratorBasic dt,\n.customFieldGeneratorGroup label,\n.customFieldGeneratorGroup dt {\n display: flex;\n gap: 4px;\n align-items: center;\n padding-bottom: 8px;\n}\n.customFieldGeneratorBasicInput {\n grid-area: areaInput;\n}\n.customFieldGeneratorBasicTitle {\n grid-area: areaTitle;\n}\n.customFieldGeneratorBasicField {\n grid-area: areaField;\n}\n.customFieldGeneratorBasicTooltip {\n grid-area: areaTooltip;\n}\n.customFieldGeneratorBasicPlaceholder {\n grid-area: areaPlaceholder;\n}\n\n/* ジェネレーター:バリデーター\n-------------------------------------- */\n.customFieldValidatorLabel {\n background-color: transparent;\n border: none;\n cursor: pointer;\n display: flex;\n align-items: center;\n gap: 8px;\n}\n\n.customFieldValidatorToggle {\n display: inline-block;\n width: 5px;\n height: 5px;\n border-right: 2px solid #333;\n border-bottom: 2px solid #333;\n transition: transform;\n transform: rotateZ(45deg);\n transform-origin: center center;\n}\n\n/* アコーディオン\n-------------------------------------- */\n.customFieldAccordionContent {\n overflow: hidden;\n visibility: hidden;\n transition: max-height 0.3s ease-out, opacity 0.3s ease-out;\n opacity: 0;\n}\n\n.customFieldAccordionContent.-open {\n visibility: visible;\n opacity: 1;\n}\n\n/* ナビゲーター:コード操作\n-------------------------------------- */\n.customFieldNavigatorCode {\n display: grid;\n grid-template-columns: repeat(1, minmax(0, 1fr));\n gap: 20px;\n}\n.customFieldNavigatorCodeButtonList {\n width: 100%;\n display: flex;\n justify-content: space-between;\n}\n\n/* ボタン\n-------------------------------------- */\n.customFieldCopied {\n position: absolute;\n bottom: -40px;\n left: -30px;\n background-color: rgba(0, 0, 0, .5);\n font-size: 10px;\n width: 150px;\n padding: 10px;\n color: #ffffff;\n text-align: center;\n display: inline-block;\n border-radius: 3px;\n -webkit-transition: background-color .2s ease-in;\n -moz-transition: background-color .2s ease-in;\n -ms-transition: background-color .2s ease-in;\n -o-transition: background-color .2s ease-in;\n transition: background-color .2s ease-in;\n}\n\n.hljs {\n border-radius: 5px;\n padding: 20px;\n background-color: #F0F0F0;\n min-height: 19.391px;\n}\n\n.customFieldCopied:after {\n content: \' \';\n position: absolute;\n\theight: 0;\n width: 0;\n top: 0;\n\tleft: 50%;\n\tborder: 6px solid transparent;\n\tborder-bottom-color: rgba(0, 0, 0, .5);\n margin-top: -12px;\n margin-left: -6px;\n -webkit-transition: border .2s ease-in;\n -moz-transition: border .2s ease-in;\n -ms-transition: border .2s ease-in;\n -o-transition: border .2s ease-in;\n transition: border .2s ease-in;\n}\n\n.customFieldCopied.active:after {\n border-bottom-color: rgba(0, 0, 0, .8);\n}\n\n.customFieldLabelRequired {\n background-color: #c40f32;\n color: #ffffff;\n font-size: 11px;\n padding: 2px 5px;\n border-radius: 2px;\n margin-left: 10px;\n}\n\n.customFieldUseSnippet {\n display: inline-block;\n margin-left: 25px;\n}\n\n.customFieldLine {\n height: 1px;\n background-color: #cccccc;\n border: none;\n}\n\n.customFieldValidatorArea {\n display: grid;\n gap: 16px;\n grid-template-colmuns: repeat(1, minmax(0, 1fr));\n margin-top: 8px;\n background-color: #F7F7F7;\n padding: 20px;\n}\n\n.customFieldValidatorArea .acms-admin-icon-tooltip {\n margin-left: 10px;\n}\n\n.customFieldBold {\n margin-bottom: 10px;\n}\n.customFieldBold .acms-admin-icon-tooltip {\n margin-left: 10px;\n}\n\n.customFieldOptionTable {\n width: auto !important;\n /* border-top: 1px solid #ccc;\n border-bottom: 1px solid #ccc; */\n}\n\n.customFieldOptionTable th,\n.customFieldOptionTable td {\n border: none;\n white-space: nowrap;\n padding-top: 5px;\n padding-bottom: 5px;\n}\n\n.customFieldOptionTable th:nth-child(1) {\n width: 20%;\n}\n\n.customFieldOptionTable th:nth-child(2) {\n width: 12%;\n}\n\n.customFieldOptionTable th:nth-child(3) {\n width: 62%;\n}\n\n.customFieldOptionTable tr {\n /* border-bottom: 1px solid #cccccc; */\n}\n\n.customFieldOptionTable th:first-child,\n.customFieldOptionTable td:first-child {\n padding-left: 0;\n}\n\n.customFieldOptionTable th:last-child,\n.customFieldOptionTable td:last-child {\n padding-right: 0;\n}\n\n.customFieldOptionTable td:last-child {\n width: 50px;\n}\n\n.customFieldOptionTable .acms-admin-btn-admin {\n margin-right: 0 !important;\n}\n\n.customFieldOptionTableInput {\n display: table;\n /*width: 100%;*/\n}\n\n.customFieldOptionTableAppend {\n display: table-cell;\n}\n\n.customFieldOptionTable input {\n display: table-cell;\n}\n\n.customFieldBasicTable {\n border: none !important;\n}\n\n.customFieldBasicTable tr {\n border: none !important;\n}\n\n.customFieldBasicTable td {\n border-bottom: none !important;\n}\n\n.customFieldBasicTable .acms-admin-label {\n margin-left: 10px;\n}\n\n.customFieldBasicTable th {\n white-space: nowrap;\n}\n\n.customFieldBasicTableFirst td:nth-child(1) {\n width: 12%;\n}\n\n.customFieldBasicTableFirst td:nth-child(2) {\n width: 20%;\n}\n\n.customFieldBasicTableFirst td:nth-child(3) {\n width: 20%;\n}\n\n.customFieldBasicTableFirst td:nth-child(4) {\n width: 48%;\n}\n\n.customFieldBasicTableFirst {\n margin-bottom: 10px;\n}\n\n.customFieldBasicTable tr:last-child td {\n padding-bottom: 5px;\n}\n\n.customFieldSizeInput {\n width: 50%;\n}\n\n.customFieldLine {\n height: 1px;\n background-color: #cccccc;\n}\n\n.customFieldBasicTableImg td {\n width: 25%;\n white-space: nowrap;\n}\n\n.customFieldBasicTableFile td:nth-child(1) {\n width: 25%;\n}\n\n.customFieldInputGroup {\n position: relative;\n display: table;\n border-collapse: separate;\n width: 100%;\n}\n\n.customFieldInputGroup input {\n display: table-cell;\n position: relative;\n z-index: 2;\n float: left;\n width: 100%;\n margin-bottom: 0;\n}\n\n.customFieldInputGroupAddon {\n width: 1%;\n white-space: nowrap;\n vertical-align: middle;\n display: table-cell;\n padding-right: 10px;\n}\n\n.customFieldBasicTableGroup {\n border-bottom: none;\n width: 40%;\n}\n\n.customFieldGroupBtn {\n width: 185px;\n}\n\n.customFieldBasicTable tr {\n border: none;\n}\n\n.customFieldBasicTable tr:last-child td {\n border-bottom: none;\n}\n\n.customFieldBasicTable th:first-child,\n.customFieldBasicTable td:first-child {\n padding-left: 0 !important;\n}\n\n.customFieldSubTable {\n background: transparent;\n border: none;\n border-top: 1px solid #cccccc;\n margin-top: 10px;\n}\n\n.customFieldGroupSubTable {\n border-top: none;\n margin-top: 0;\n}\n\n.customFieldSubTable tr {\n border: none;\n}\n\n.customFieldSubTable tbody tr:last-child td,\n.customFieldSubTable tbody tr:last-child th {\n border-bottom: none;\n}\n\n.customFieldCopied.active {\n background-color: rgba(0, 0, 0, 0.8);\n}\n\n#converter {\n background-color: rgba(0, 0, 0, 0.5);\n}\n\n.customFieldBold {\n font-weight: bold;\n}\n\n.customFieldSnippet {\n margin-left: 10px;\n}\n\n.customFieldOptionBlock {\n margin-left: 20px;\n margin-bottom: 10px;\n}\n\n.customFieldCopyBtn {\n position: relative;\n top: -2px;\n}\n\n.customFieldPreview {\n background-color: #ffffff;\n padding: 15px;\n}\n\n.customFieldPreview input[type=text],\n.customFieldPreview textarea {\n color: #dddddd;\n}\n\n.customFieldUseSnippetLabel {\n color: #006dec;\n cursor: pointer;\n display: inline-block;\n height: 27px;\n vertical-align: middle;\n line-height: 27px;\n}\n\n.customFieldTooltip {\n font-weight: normal;\n white-space: normal;\n word-wrap: break-word;\n padding-left: 10px !important;\n padding-right: 10px !important;\n font-size: 12px;\n}\n\n.customFieldFileContainer {\n padding-top: 10px;\n}\n\n.customFieldInputFileGroup {\n display: inline-block;\n width: 300px;\n padding-right: 5px;\n}\n\n.customFieldInputFileExtGroup {\n width: 100px;\n display: inline-block;\n margin-left: 5px;\n}\n\n.customFieldFileNameOptContainer {\n padding-bottom: 10px;\n}\n\n.customFieldMakeBtn {\n padding-right: 70px;\n padding-left: 70px;\n}\n\n.customFieldTabs {\n\tmargin: 0;\n\tpadding: 0;\n}\n.customFieldTabs:before,\n.customFieldTabs:after {\n\tcontent: " ";\n\tdisplay: table;\n}\n.customFieldTabs:after {\n\tclear: both;\n}\n.customFieldTabs li {\n\tlist-style: none;\n\tfloat: left;\n\tmargin-right: 2px;\n}\n.customFieldTabs a {\n position: relative;\n display: block;\n padding: 10px 8px;\n color: #404040;\n font-weight: 500;\n font-size: 14px;\n line-height: 1;\n\toutline: none;\n\ttext-decoration: none;\n}\n.customFieldTabs a:hover {\n\tcolor: #666;\n\tbackground: #F2F2F4;\n}\n.customFieldTabs a.customFieldTabActive {\n color: #014cc5;\n border-bottom: 3px solid #014cc5;\n background: #f2f2f4\n}\n.customFieldTabs a.customFieldTabActive:before {\n content: "";\n position: absolute;\n left: 0;\n bottom: -1px;\n width: 100%;\n height: 1px;\n background: #f2f2f4\n}\n\n.customFieldDirectionBtnGroup {\n display: inline-table;\n overflow: hidden;\n margin-right: 15px;\n border-radius: 3px;\n vertical-align: middle;\n}\n\n.customFieldDirectionBtnGroup input {\n display: none;\n}\n\n.customFieldDirectionBtnGroupSide {\n display: inline-block;\n margin-right: 5px;\n}\n\n.customFieldDirectionBtn {\n display: table-cell;\n background-color: #F7F7F7;\n border: 1px solid rgba(0, 0, 0, 0.2);\n padding: 5px 10px;\n font-size: 11px;\n cursor: pointer;\n}\n\n.customFieldDirectionBtn.active {\n background-color: #e1e1e1;\n border-color: rgba(0, 0, 0, .3);\n box-shadow: inset 0 1px 2px rgba(0,0,0,.3);\n color: #333;\n}\n\n.customFieldDirectionBtn img {\n display: inline-block;\n width: 18px;\n height: auto;\n vertical-align: middle;\n}\n',""])},862:function(e,t,n){(e.exports=n(765)()).push([e.id,"/*\n\nOriginal highlight.js style (c) Ivan Sagalaev \n\n*/\n\n.hljs {\n display: block;\n overflow-x: auto;\n padding: 0.5em;\n background: #F0F0F0;\n}\n\n\n/* Base color: saturation 0; */\n\n.hljs,\n.hljs-subst {\n color: #444;\n}\n\n.hljs-comment {\n color: #888888;\n}\n\n.hljs-keyword,\n.hljs-attribute,\n.hljs-selector-tag,\n.hljs-meta-keyword,\n.hljs-doctag,\n.hljs-name {\n font-weight: bold;\n}\n\n\n/* User color: hue: 0 */\n\n.hljs-type,\n.hljs-string,\n.hljs-number,\n.hljs-selector-id,\n.hljs-selector-class,\n.hljs-quote,\n.hljs-template-tag,\n.hljs-deletion {\n color: #880000;\n}\n\n.hljs-title,\n.hljs-section {\n color: #880000;\n font-weight: bold;\n}\n\n.hljs-regexp,\n.hljs-symbol,\n.hljs-variable,\n.hljs-template-variable,\n.hljs-link,\n.hljs-selector-attr,\n.hljs-selector-pseudo {\n color: #BC6060;\n}\n\n\n/* Language color: hue: 90; */\n\n.hljs-literal {\n color: #78A960;\n}\n\n.hljs-built_in,\n.hljs-bullet,\n.hljs-code,\n.hljs-addition {\n color: #397300;\n}\n\n\n/* Meta color: hue: 200 */\n\n.hljs-meta {\n color: #1f7199;\n}\n\n.hljs-meta-string {\n color: #4d99bf;\n}\n\n\n/* Misc effects */\n\n.hljs-emphasis {\n font-style: italic;\n}\n\n.hljs-strong {\n font-weight: bold;\n}\n",""])},154:function(e,t,n){(e.exports=n(765)()).push([e.id,"/*\n\nXCode style (c) Angel Garcia \n\n*/\n\n.hljs {\n display: block;\n overflow-x: auto;\n padding: 0.5em;\n background: #fff;\n color: black;\n}\n\n/* Gray DOCTYPE selectors like WebKit */\n.xml .hljs-meta {\n color: #c0c0c0;\n}\n\n.hljs-comment,\n.hljs-quote {\n color: #007400;\n}\n\n.hljs-tag,\n.hljs-attribute,\n.hljs-keyword,\n.hljs-selector-tag,\n.hljs-literal,\n.hljs-name {\n color: #aa0d91;\n}\n\n.hljs-variable,\n.hljs-template-variable {\n color: #3F6E74;\n}\n\n.hljs-code,\n.hljs-string,\n.hljs-meta-string {\n color: #c41a16;\n}\n\n.hljs-regexp,\n.hljs-link {\n color: #0E0EFF;\n}\n\n.hljs-title,\n.hljs-symbol,\n.hljs-bullet,\n.hljs-number {\n color: #1c00cf;\n}\n\n.hljs-section,\n.hljs-meta {\n color: #643820;\n}\n\n\n.hljs-class .hljs-title,\n.hljs-type,\n.hljs-built_in,\n.hljs-builtin-name,\n.hljs-params {\n color: #5c2699;\n}\n\n.hljs-attr {\n color: #836C28;\n}\n\n.hljs-subst {\n color: #000;\n}\n\n.hljs-formula {\n background-color: #eee;\n font-style: italic;\n}\n\n.hljs-addition {\n background-color: #baeeba;\n}\n\n.hljs-deletion {\n background-color: #ffc8bd;\n}\n\n.hljs-selector-id,\n.hljs-selector-class {\n color: #9b703f;\n}\n\n.hljs-doctag,\n.hljs-strong {\n font-weight: bold;\n}\n\n.hljs-emphasis {\n font-style: italic;\n}\n",""])},765:function(e){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;t]+>|\t|)+|(?:\n)))/gm,c="
",s={classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:void 0};function u(e){return e.replace(/&/g,"&").replace(//g,">")}function m(e){return e.nodeName.toLowerCase()}function d(e,t){var n=e&&e.exec(t);return n&&0===n.index}function p(e){return l.test(e)}function f(e){var t,n={},a=Array.prototype.slice.call(arguments,1);for(t in e)n[t]=e[t];return a.forEach((function(e){for(t in e)n[t]=e[t]})),n}function h(e){var t=[];return function e(n,a){for(var r=n.firstChild;r;r=r.nextSibling)3===r.nodeType?a+=r.nodeValue.length:1===r.nodeType&&(t.push({event:"start",offset:a,node:r}),a=e(r,a),m(r).match(/br|hr|img|input/)||t.push({event:"stop",offset:a,node:r}));return a}(e,0),t}function g(e){function t(e){return e&&e.source||e}function a(n,a){return new RegExp(t(n),"m"+(e.case_insensitive?"i":"")+(a?"g":""))}!function r(l,i){if(!l.compiled){if(l.compiled=!0,l.keywords=l.keywords||l.beginKeywords,l.keywords){var o={},c=function(t,n){e.case_insensitive&&(n=n.toLowerCase()),n.split(" ").forEach((function(e){var n=e.split("|");o[n[0]]=[t,n[1]?Number(n[1]):1]}))};"string"==typeof l.keywords?c("keyword",l.keywords):n(l.keywords).forEach((function(e){c(e,l.keywords[e])})),l.keywords=o}l.lexemesRe=a(l.lexemes||/\w+/,!0),i&&(l.beginKeywords&&(l.begin="\\b("+l.beginKeywords.split(" ").join("|")+")\\b"),l.begin||(l.begin=/\B|\b/),l.beginRe=a(l.begin),l.endSameAsBegin&&(l.end=l.begin),l.end||l.endsWithParent||(l.end=/\B|\b/),l.end&&(l.endRe=a(l.end)),l.terminator_end=t(l.end)||"",l.endsWithParent&&i.terminator_end&&(l.terminator_end+=(l.end?"|":"")+i.terminator_end)),l.illegal&&(l.illegalRe=a(l.illegal)),null==l.relevance&&(l.relevance=1),l.contains||(l.contains=[]),l.contains=Array.prototype.concat.apply([],l.contains.map((function(e){return function(e){return e.variants&&!e.cached_variants&&(e.cached_variants=e.variants.map((function(t){return f(e,{variants:null},t)}))),e.cached_variants||e.endsWithParent&&[f(e)]||[e]}("self"===e?l:e)}))),l.contains.forEach((function(e){r(e,l)})),l.starts&&r(l.starts,i);var s=l.contains.map((function(e){return e.beginKeywords?"\\.?("+e.begin+")\\.?":e.begin})).concat([l.terminator_end,l.illegal]).map(t).filter(Boolean);l.terminators=s.length?a(s.join("|"),!0):{exec:function(){return null}}}}(e)}function v(e,t,n,r){function l(e){return new RegExp(e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}function i(e,t){if(d(e.endRe,t)){for(;e.endsParent&&e.parent;)e=e.parent;return e}if(e.endsWithParent)return i(e.parent,t)}function o(e,t){var n=E.case_insensitive?t[0].toLowerCase():t[0];return e.keywords.hasOwnProperty(n)&&e.keywords[n]}function m(e,t,n,a){var r='')+t+(n?"":c)}function p(){k+=null!=x.subLanguage?function(){var e="string"==typeof x.subLanguage;if(e&&!a[x.subLanguage])return u(S);var t=e?v(x.subLanguage,S,!0,w[x.subLanguage]):b(S,x.subLanguage.length?x.subLanguage:void 0);return x.relevance>0&&(N+=t.relevance),e&&(w[x.subLanguage]=t.top),m(t.language,t.value,!1,!0)}():function(){var e,t,n,a;if(!x.keywords)return u(S);for(a="",t=0,x.lexemesRe.lastIndex=0,n=x.lexemesRe.exec(S);n;)a+=u(S.substring(t,n.index)),(e=o(x,n))?(N+=e[1],a+=m(e[0],u(n[0]))):a+=u(n[0]),t=x.lexemesRe.lastIndex,n=x.lexemesRe.exec(S);return a+u(S.substr(t))}(),S=""}function f(e){k+=e.className?m(e.className,"",!0):"",x=Object.create(e,{parent:{value:x}})}function h(e,t){if(S+=e,null==t)return p(),0;var a=function(e,t){var n,a;for(n=0,a=t.contains.length;n")+'"');return S+=t,t.length||1}var E=_(e);if(!E)throw new Error('Unknown language: "'+e+'"');g(E);var y,x=r||E,w={},k="";for(y=x;y!==E;y=y.parent)y.className&&(k=m(y.className,"",!0)+k);var S="",N=0;try{for(var T,C,F=0;x.terminators.lastIndex=F,T=x.terminators.exec(t);)C=h(t.substring(F,T.index),T[0]),F=T.index+C;for(h(t.substr(F)),y=x;y.parent;y=y.parent)y.className&&(k+=c);return{relevance:N,value:k,language:e,top:x}}catch(e){if(e.message&&-1!==e.message.indexOf("Illegal"))return{relevance:0,value:u(t)};throw e}}function b(e,t){t=t||s.languages||n(a);var r={relevance:0,value:u(e)},l=r;return t.filter(_).filter(w).forEach((function(t){var n=v(t,e,!1);n.language=t,n.relevance>l.relevance&&(l=n),n.relevance>r.relevance&&(l=r,r=n)})),l.language&&(r.second_best=l),r}function E(e){return s.tabReplace||s.useBR?e.replace(o,(function(e,t){return s.useBR&&"\n"===e?"
":s.tabReplace?t.replace(/\t/g,s.tabReplace):""})):e}function y(e){var n,a,l,o,c,d=function(e){var t,n,a,r,l=e.className+" ";if(l+=e.parentNode?e.parentNode.className:"",n=i.exec(l))return _(n[1])?n[1]:"no-highlight";for(t=0,a=(l=l.split(/\s+/)).length;t/g,"\n"):n=e,c=n.textContent,l=d?v(d,c,!0):b(c),(a=h(n)).length&&((o=document.createElementNS("http://www.w3.org/1999/xhtml","div")).innerHTML=l.value,l.value=function(e,n,a){var r=0,l="",i=[];function o(){return e.length&&n.length?e[0].offset!==n[0].offset?e[0].offset"}function s(e){l+=""}function d(e){("start"===e.event?c:s)(e.node)}for(;e.length||n.length;){var p=o();if(l+=u(a.substring(r,p[0].offset)),r=p[0].offset,p===e){i.reverse().forEach(s);do{d(p.splice(0,1)[0]),p=o()}while(p===e&&p.length&&p[0].offset===r);i.reverse().forEach(c)}else"start"===p[0].event?i.push(p[0].node):i.pop(),d(p.splice(0,1)[0])}return l+u(a.substr(r))}(a,h(o),c)),l.value=E(l.value),e.innerHTML=l.value,e.className=function(e,t,n){var a=t?r[t]:n,l=[e.trim()];return e.match(/\bhljs\b/)||l.push("hljs"),-1===e.indexOf(a)&&l.push(a),l.join(" ").trim()}(e.className,d,l.language),e.result={language:l.language,re:l.relevance},l.second_best&&(e.second_best={language:l.second_best.language,re:l.second_best.relevance}))}function x(){if(!x.called){x.called=!0;var e=document.querySelectorAll("pre code");t.forEach.call(e,y)}}function _(e){return e=(e||"").toLowerCase(),a[e]||a[r[e]]}function w(e){var t=_(e);return t&&!t.disableAutodetect}e.highlight=v,e.highlightAuto=b,e.fixMarkup=E,e.highlightBlock=y,e.configure=function(e){s=f(s,e)},e.initHighlighting=x,e.initHighlightingOnLoad=function(){addEventListener("DOMContentLoaded",x,!1),addEventListener("load",x,!1)},e.registerLanguage=function(t,n){var l=a[t]=n(e);l.aliases&&l.aliases.forEach((function(e){r[e]=t}))},e.listLanguages=function(){return n(a)},e.getLanguage=_,e.autoDetection=w,e.inherit=f,e.IDENT_RE="[a-zA-Z]\\w*",e.UNDERSCORE_IDENT_RE="[a-zA-Z_]\\w*",e.NUMBER_RE="\\b\\d+(\\.\\d+)?",e.C_NUMBER_RE="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",e.BINARY_NUMBER_RE="\\b(0b[01]+)",e.RE_STARTERS_RE="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",e.BACKSLASH_ESCAPE={begin:"\\\\[\\s\\S]",relevance:0},e.APOS_STRING_MODE={className:"string",begin:"'",end:"'",illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},e.QUOTE_STRING_MODE={className:"string",begin:'"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},e.PHRASAL_WORDS_MODE={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},e.COMMENT=function(t,n,a){var r=e.inherit({className:"comment",begin:t,end:n,contains:[]},a||{});return r.contains.push(e.PHRASAL_WORDS_MODE),r.contains.push({className:"doctag",begin:"(?:TODO|FIXME|NOTE|BUG|XXX):",relevance:0}),r},e.C_LINE_COMMENT_MODE=e.COMMENT("//","$"),e.C_BLOCK_COMMENT_MODE=e.COMMENT("/\\*","\\*/"),e.HASH_COMMENT_MODE=e.COMMENT("#","$"),e.NUMBER_MODE={className:"number",begin:e.NUMBER_RE,relevance:0},e.C_NUMBER_MODE={className:"number",begin:e.C_NUMBER_RE,relevance:0},e.BINARY_NUMBER_MODE={className:"number",begin:e.BINARY_NUMBER_RE,relevance:0},e.CSS_NUMBER_MODE={className:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},e.REGEXP_MODE={className:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[e.BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,contains:[e.BACKSLASH_ESCAPE]}]},e.TITLE_MODE={className:"title",begin:e.IDENT_RE,relevance:0},e.UNDERSCORE_TITLE_MODE={className:"title",begin:e.UNDERSCORE_IDENT_RE,relevance:0},e.METHOD_GUARD={begin:"\\.\\s*"+e.UNDERSCORE_IDENT_RE,relevance:0}}(t)},285:function(e){e.exports=function(e){var t={endsWithParent:!0,illegal:/`]+/}]}]}]};return{aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist"],case_insensitive:!0,contains:[{className:"meta",begin:"",relevance:10,contains:[{begin:"\\[",end:"\\]"}]},e.COMMENT("\x3c!--","--\x3e",{relevance:10}),{begin:"<\\!\\[CDATA\\[",end:"\\]\\]>",relevance:10},{className:"meta",begin:/<\?xml/,end:/\?>/,relevance:10},{begin:/<\?(php)?/,end:/\?>/,subLanguage:"php",contains:[{begin:"/\\*",end:"\\*/",skip:!0},{begin:'b"',end:'"',skip:!0},{begin:"b'",end:"'",skip:!0},e.inherit(e.APOS_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0})]},{className:"tag",begin:"|$)",end:">",keywords:{name:"style"},contains:[t],starts:{end:"",returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:"|$)",end:">",keywords:{name:"script"},contains:[t],starts:{end:"<\/script>",returnEnd:!0,subLanguage:["actionscript","javascript","handlebars","xml"]}},{className:"tag",begin:"",contains:[{className:"name",begin:/[^\/><\s]+/,relevance:0},t]}]}}},839:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n(826),r=["apos","nbsp","iexcl","cent","pound","curren","yen","brvbar","sect","uml","copy","ordf","laquo","not","shy","reg","macr","deg","plusmn","sup2","sup3","acute","micro","para","middot","cedil","sup1","ordm","raquo","frac14","frac12","frac34","iquest","Agrave","Aacute","Acirc","Atilde","Auml","Aring","AElig","Ccedil","Egrave","Eacute","Ecirc","Euml","Igrave","Iacute","Icirc","Iuml","ETH","Ntilde","Ograve","Oacute","Ocirc","Otilde","Ouml","times","Oslash","Ugrave","Uacute","Ucirc","Uuml","Yacute","THORN","szlig","agrave","aacute","acirc","atilde","auml","aring","aelig","ccedil","egrave","eacute","ecirc","euml","igrave","iacute","icirc","iuml","eth","ntilde","ograve","oacute","ocirc","otilde","ouml","divide","oslash","ugrave","uacute","ucirc","uuml","yacute","thorn","yuml","quot","amp","lt","gt","OElig","oelig","Scaron","scaron","Yuml","circ","tilde","ensp","emsp","thinsp","zwnj","zwj","lrm","rlm","ndash","mdash","lsquo","rsquo","sbquo","ldquo","rdquo","bdquo","dagger","Dagger","permil","lsaquo","rsaquo","euro","fnof","Alpha","Beta","Gamma","Delta","Epsilon","Zeta","Eta","Theta","Iota","Kappa","Lambda","Mu","Nu","Xi","Omicron","Pi","Rho","Sigma","Tau","Upsilon","Phi","Chi","Psi","Omega","alpha","beta","gamma","delta","epsilon","zeta","eta","theta","iota","kappa","lambda","mu","nu","xi","omicron","pi","rho","sigmaf","sigma","tau","upsilon","phi","chi","psi","omega","thetasym","upsih","piv","bull","hellip","prime","Prime","oline","frasl","weierp","image","real","trade","alefsym","larr","uarr","rarr","darr","harr","crarr","lArr","uArr","rArr","dArr","hArr","forall","part","exist","empty","nabla","isin","notin","ni","prod","sum","minus","lowast","radic","prop","infin","ang","and","or","cap","cup","int","there4","sim","cong","asymp","ne","equiv","le","ge","sub","sup","nsub","sube","supe","oplus","otimes","perp","sdot","lceil","rceil","lfloor","rfloor","lang","rang","loz","spades","clubs","hearts","diams"],l=[39,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,34,38,60,62,338,339,352,353,376,710,732,8194,8195,8201,8204,8205,8206,8207,8211,8212,8216,8217,8218,8220,8221,8222,8224,8225,8240,8249,8250,8364,402,913,914,915,916,917,918,919,920,921,922,923,924,925,926,927,928,929,931,932,933,934,935,936,937,945,946,947,948,949,950,951,952,953,954,955,956,957,958,959,960,961,962,963,964,965,966,967,968,969,977,978,982,8226,8230,8242,8243,8254,8260,8472,8465,8476,8482,8501,8592,8593,8594,8595,8596,8629,8656,8657,8658,8659,8660,8704,8706,8707,8709,8711,8712,8713,8715,8719,8721,8722,8727,8730,8733,8734,8736,8743,8744,8745,8746,8747,8756,8764,8773,8776,8800,8801,8804,8805,8834,8835,8836,8838,8839,8853,8855,8869,8901,8968,8969,8970,8971,9001,9002,9674,9824,9827,9829,9830],i={},o={};!function(){for(var e=0,t=r.length;e=-32768)&&(n=r<=65535?String.fromCharCode(r):a.fromCodePoint(r))}else n=i[t];return n||e})):""},e.decode=function(t){return(new e).decode(t)},e.prototype.encode=function(e){if(!e||!e.length)return"";for(var t=e.length,n="",a=0;a126?l>=a.highSurrogateFrom&&l<=a.highSurrogateTo?(n+="&#"+a.getCodePoint(e,r)+";",r++):n+="&#"+l+";":n+=e.charAt(r),r++}return n},e.encodeNonUTF=function(t){return(new e).encodeNonUTF(t)},e.prototype.encodeNonASCII=function(e){if(!e||!e.length)return"";for(var t=e.length,n="",r=0;r=a.highSurrogateFrom&&l<=a.highSurrogateTo?(n+="&#"+a.getCodePoint(e,r)+";",r++):n+="&#"+l+";",r++)}return n},e.encodeNonASCII=function(t){return(new e).encodeNonASCII(t)},e}();t.Html4Entities=c},490:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n(826),r=[["Aacute",[193]],["aacute",[225]],["Abreve",[258]],["abreve",[259]],["ac",[8766]],["acd",[8767]],["acE",[8766,819]],["Acirc",[194]],["acirc",[226]],["acute",[180]],["Acy",[1040]],["acy",[1072]],["AElig",[198]],["aelig",[230]],["af",[8289]],["Afr",[120068]],["afr",[120094]],["Agrave",[192]],["agrave",[224]],["alefsym",[8501]],["aleph",[8501]],["Alpha",[913]],["alpha",[945]],["Amacr",[256]],["amacr",[257]],["amalg",[10815]],["amp",[38]],["AMP",[38]],["andand",[10837]],["And",[10835]],["and",[8743]],["andd",[10844]],["andslope",[10840]],["andv",[10842]],["ang",[8736]],["ange",[10660]],["angle",[8736]],["angmsdaa",[10664]],["angmsdab",[10665]],["angmsdac",[10666]],["angmsdad",[10667]],["angmsdae",[10668]],["angmsdaf",[10669]],["angmsdag",[10670]],["angmsdah",[10671]],["angmsd",[8737]],["angrt",[8735]],["angrtvb",[8894]],["angrtvbd",[10653]],["angsph",[8738]],["angst",[197]],["angzarr",[9084]],["Aogon",[260]],["aogon",[261]],["Aopf",[120120]],["aopf",[120146]],["apacir",[10863]],["ap",[8776]],["apE",[10864]],["ape",[8778]],["apid",[8779]],["apos",[39]],["ApplyFunction",[8289]],["approx",[8776]],["approxeq",[8778]],["Aring",[197]],["aring",[229]],["Ascr",[119964]],["ascr",[119990]],["Assign",[8788]],["ast",[42]],["asymp",[8776]],["asympeq",[8781]],["Atilde",[195]],["atilde",[227]],["Auml",[196]],["auml",[228]],["awconint",[8755]],["awint",[10769]],["backcong",[8780]],["backepsilon",[1014]],["backprime",[8245]],["backsim",[8765]],["backsimeq",[8909]],["Backslash",[8726]],["Barv",[10983]],["barvee",[8893]],["barwed",[8965]],["Barwed",[8966]],["barwedge",[8965]],["bbrk",[9141]],["bbrktbrk",[9142]],["bcong",[8780]],["Bcy",[1041]],["bcy",[1073]],["bdquo",[8222]],["becaus",[8757]],["because",[8757]],["Because",[8757]],["bemptyv",[10672]],["bepsi",[1014]],["bernou",[8492]],["Bernoullis",[8492]],["Beta",[914]],["beta",[946]],["beth",[8502]],["between",[8812]],["Bfr",[120069]],["bfr",[120095]],["bigcap",[8898]],["bigcirc",[9711]],["bigcup",[8899]],["bigodot",[10752]],["bigoplus",[10753]],["bigotimes",[10754]],["bigsqcup",[10758]],["bigstar",[9733]],["bigtriangledown",[9661]],["bigtriangleup",[9651]],["biguplus",[10756]],["bigvee",[8897]],["bigwedge",[8896]],["bkarow",[10509]],["blacklozenge",[10731]],["blacksquare",[9642]],["blacktriangle",[9652]],["blacktriangledown",[9662]],["blacktriangleleft",[9666]],["blacktriangleright",[9656]],["blank",[9251]],["blk12",[9618]],["blk14",[9617]],["blk34",[9619]],["block",[9608]],["bne",[61,8421]],["bnequiv",[8801,8421]],["bNot",[10989]],["bnot",[8976]],["Bopf",[120121]],["bopf",[120147]],["bot",[8869]],["bottom",[8869]],["bowtie",[8904]],["boxbox",[10697]],["boxdl",[9488]],["boxdL",[9557]],["boxDl",[9558]],["boxDL",[9559]],["boxdr",[9484]],["boxdR",[9554]],["boxDr",[9555]],["boxDR",[9556]],["boxh",[9472]],["boxH",[9552]],["boxhd",[9516]],["boxHd",[9572]],["boxhD",[9573]],["boxHD",[9574]],["boxhu",[9524]],["boxHu",[9575]],["boxhU",[9576]],["boxHU",[9577]],["boxminus",[8863]],["boxplus",[8862]],["boxtimes",[8864]],["boxul",[9496]],["boxuL",[9563]],["boxUl",[9564]],["boxUL",[9565]],["boxur",[9492]],["boxuR",[9560]],["boxUr",[9561]],["boxUR",[9562]],["boxv",[9474]],["boxV",[9553]],["boxvh",[9532]],["boxvH",[9578]],["boxVh",[9579]],["boxVH",[9580]],["boxvl",[9508]],["boxvL",[9569]],["boxVl",[9570]],["boxVL",[9571]],["boxvr",[9500]],["boxvR",[9566]],["boxVr",[9567]],["boxVR",[9568]],["bprime",[8245]],["breve",[728]],["Breve",[728]],["brvbar",[166]],["bscr",[119991]],["Bscr",[8492]],["bsemi",[8271]],["bsim",[8765]],["bsime",[8909]],["bsolb",[10693]],["bsol",[92]],["bsolhsub",[10184]],["bull",[8226]],["bullet",[8226]],["bump",[8782]],["bumpE",[10926]],["bumpe",[8783]],["Bumpeq",[8782]],["bumpeq",[8783]],["Cacute",[262]],["cacute",[263]],["capand",[10820]],["capbrcup",[10825]],["capcap",[10827]],["cap",[8745]],["Cap",[8914]],["capcup",[10823]],["capdot",[10816]],["CapitalDifferentialD",[8517]],["caps",[8745,65024]],["caret",[8257]],["caron",[711]],["Cayleys",[8493]],["ccaps",[10829]],["Ccaron",[268]],["ccaron",[269]],["Ccedil",[199]],["ccedil",[231]],["Ccirc",[264]],["ccirc",[265]],["Cconint",[8752]],["ccups",[10828]],["ccupssm",[10832]],["Cdot",[266]],["cdot",[267]],["cedil",[184]],["Cedilla",[184]],["cemptyv",[10674]],["cent",[162]],["centerdot",[183]],["CenterDot",[183]],["cfr",[120096]],["Cfr",[8493]],["CHcy",[1063]],["chcy",[1095]],["check",[10003]],["checkmark",[10003]],["Chi",[935]],["chi",[967]],["circ",[710]],["circeq",[8791]],["circlearrowleft",[8634]],["circlearrowright",[8635]],["circledast",[8859]],["circledcirc",[8858]],["circleddash",[8861]],["CircleDot",[8857]],["circledR",[174]],["circledS",[9416]],["CircleMinus",[8854]],["CirclePlus",[8853]],["CircleTimes",[8855]],["cir",[9675]],["cirE",[10691]],["cire",[8791]],["cirfnint",[10768]],["cirmid",[10991]],["cirscir",[10690]],["ClockwiseContourIntegral",[8754]],["clubs",[9827]],["clubsuit",[9827]],["colon",[58]],["Colon",[8759]],["Colone",[10868]],["colone",[8788]],["coloneq",[8788]],["comma",[44]],["commat",[64]],["comp",[8705]],["compfn",[8728]],["complement",[8705]],["complexes",[8450]],["cong",[8773]],["congdot",[10861]],["Congruent",[8801]],["conint",[8750]],["Conint",[8751]],["ContourIntegral",[8750]],["copf",[120148]],["Copf",[8450]],["coprod",[8720]],["Coproduct",[8720]],["copy",[169]],["COPY",[169]],["copysr",[8471]],["CounterClockwiseContourIntegral",[8755]],["crarr",[8629]],["cross",[10007]],["Cross",[10799]],["Cscr",[119966]],["cscr",[119992]],["csub",[10959]],["csube",[10961]],["csup",[10960]],["csupe",[10962]],["ctdot",[8943]],["cudarrl",[10552]],["cudarrr",[10549]],["cuepr",[8926]],["cuesc",[8927]],["cularr",[8630]],["cularrp",[10557]],["cupbrcap",[10824]],["cupcap",[10822]],["CupCap",[8781]],["cup",[8746]],["Cup",[8915]],["cupcup",[10826]],["cupdot",[8845]],["cupor",[10821]],["cups",[8746,65024]],["curarr",[8631]],["curarrm",[10556]],["curlyeqprec",[8926]],["curlyeqsucc",[8927]],["curlyvee",[8910]],["curlywedge",[8911]],["curren",[164]],["curvearrowleft",[8630]],["curvearrowright",[8631]],["cuvee",[8910]],["cuwed",[8911]],["cwconint",[8754]],["cwint",[8753]],["cylcty",[9005]],["dagger",[8224]],["Dagger",[8225]],["daleth",[8504]],["darr",[8595]],["Darr",[8609]],["dArr",[8659]],["dash",[8208]],["Dashv",[10980]],["dashv",[8867]],["dbkarow",[10511]],["dblac",[733]],["Dcaron",[270]],["dcaron",[271]],["Dcy",[1044]],["dcy",[1076]],["ddagger",[8225]],["ddarr",[8650]],["DD",[8517]],["dd",[8518]],["DDotrahd",[10513]],["ddotseq",[10871]],["deg",[176]],["Del",[8711]],["Delta",[916]],["delta",[948]],["demptyv",[10673]],["dfisht",[10623]],["Dfr",[120071]],["dfr",[120097]],["dHar",[10597]],["dharl",[8643]],["dharr",[8642]],["DiacriticalAcute",[180]],["DiacriticalDot",[729]],["DiacriticalDoubleAcute",[733]],["DiacriticalGrave",[96]],["DiacriticalTilde",[732]],["diam",[8900]],["diamond",[8900]],["Diamond",[8900]],["diamondsuit",[9830]],["diams",[9830]],["die",[168]],["DifferentialD",[8518]],["digamma",[989]],["disin",[8946]],["div",[247]],["divide",[247]],["divideontimes",[8903]],["divonx",[8903]],["DJcy",[1026]],["djcy",[1106]],["dlcorn",[8990]],["dlcrop",[8973]],["dollar",[36]],["Dopf",[120123]],["dopf",[120149]],["Dot",[168]],["dot",[729]],["DotDot",[8412]],["doteq",[8784]],["doteqdot",[8785]],["DotEqual",[8784]],["dotminus",[8760]],["dotplus",[8724]],["dotsquare",[8865]],["doublebarwedge",[8966]],["DoubleContourIntegral",[8751]],["DoubleDot",[168]],["DoubleDownArrow",[8659]],["DoubleLeftArrow",[8656]],["DoubleLeftRightArrow",[8660]],["DoubleLeftTee",[10980]],["DoubleLongLeftArrow",[10232]],["DoubleLongLeftRightArrow",[10234]],["DoubleLongRightArrow",[10233]],["DoubleRightArrow",[8658]],["DoubleRightTee",[8872]],["DoubleUpArrow",[8657]],["DoubleUpDownArrow",[8661]],["DoubleVerticalBar",[8741]],["DownArrowBar",[10515]],["downarrow",[8595]],["DownArrow",[8595]],["Downarrow",[8659]],["DownArrowUpArrow",[8693]],["DownBreve",[785]],["downdownarrows",[8650]],["downharpoonleft",[8643]],["downharpoonright",[8642]],["DownLeftRightVector",[10576]],["DownLeftTeeVector",[10590]],["DownLeftVectorBar",[10582]],["DownLeftVector",[8637]],["DownRightTeeVector",[10591]],["DownRightVectorBar",[10583]],["DownRightVector",[8641]],["DownTeeArrow",[8615]],["DownTee",[8868]],["drbkarow",[10512]],["drcorn",[8991]],["drcrop",[8972]],["Dscr",[119967]],["dscr",[119993]],["DScy",[1029]],["dscy",[1109]],["dsol",[10742]],["Dstrok",[272]],["dstrok",[273]],["dtdot",[8945]],["dtri",[9663]],["dtrif",[9662]],["duarr",[8693]],["duhar",[10607]],["dwangle",[10662]],["DZcy",[1039]],["dzcy",[1119]],["dzigrarr",[10239]],["Eacute",[201]],["eacute",[233]],["easter",[10862]],["Ecaron",[282]],["ecaron",[283]],["Ecirc",[202]],["ecirc",[234]],["ecir",[8790]],["ecolon",[8789]],["Ecy",[1069]],["ecy",[1101]],["eDDot",[10871]],["Edot",[278]],["edot",[279]],["eDot",[8785]],["ee",[8519]],["efDot",[8786]],["Efr",[120072]],["efr",[120098]],["eg",[10906]],["Egrave",[200]],["egrave",[232]],["egs",[10902]],["egsdot",[10904]],["el",[10905]],["Element",[8712]],["elinters",[9191]],["ell",[8467]],["els",[10901]],["elsdot",[10903]],["Emacr",[274]],["emacr",[275]],["empty",[8709]],["emptyset",[8709]],["EmptySmallSquare",[9723]],["emptyv",[8709]],["EmptyVerySmallSquare",[9643]],["emsp13",[8196]],["emsp14",[8197]],["emsp",[8195]],["ENG",[330]],["eng",[331]],["ensp",[8194]],["Eogon",[280]],["eogon",[281]],["Eopf",[120124]],["eopf",[120150]],["epar",[8917]],["eparsl",[10723]],["eplus",[10865]],["epsi",[949]],["Epsilon",[917]],["epsilon",[949]],["epsiv",[1013]],["eqcirc",[8790]],["eqcolon",[8789]],["eqsim",[8770]],["eqslantgtr",[10902]],["eqslantless",[10901]],["Equal",[10869]],["equals",[61]],["EqualTilde",[8770]],["equest",[8799]],["Equilibrium",[8652]],["equiv",[8801]],["equivDD",[10872]],["eqvparsl",[10725]],["erarr",[10609]],["erDot",[8787]],["escr",[8495]],["Escr",[8496]],["esdot",[8784]],["Esim",[10867]],["esim",[8770]],["Eta",[919]],["eta",[951]],["ETH",[208]],["eth",[240]],["Euml",[203]],["euml",[235]],["euro",[8364]],["excl",[33]],["exist",[8707]],["Exists",[8707]],["expectation",[8496]],["exponentiale",[8519]],["ExponentialE",[8519]],["fallingdotseq",[8786]],["Fcy",[1060]],["fcy",[1092]],["female",[9792]],["ffilig",[64259]],["fflig",[64256]],["ffllig",[64260]],["Ffr",[120073]],["ffr",[120099]],["filig",[64257]],["FilledSmallSquare",[9724]],["FilledVerySmallSquare",[9642]],["fjlig",[102,106]],["flat",[9837]],["fllig",[64258]],["fltns",[9649]],["fnof",[402]],["Fopf",[120125]],["fopf",[120151]],["forall",[8704]],["ForAll",[8704]],["fork",[8916]],["forkv",[10969]],["Fouriertrf",[8497]],["fpartint",[10765]],["frac12",[189]],["frac13",[8531]],["frac14",[188]],["frac15",[8533]],["frac16",[8537]],["frac18",[8539]],["frac23",[8532]],["frac25",[8534]],["frac34",[190]],["frac35",[8535]],["frac38",[8540]],["frac45",[8536]],["frac56",[8538]],["frac58",[8541]],["frac78",[8542]],["frasl",[8260]],["frown",[8994]],["fscr",[119995]],["Fscr",[8497]],["gacute",[501]],["Gamma",[915]],["gamma",[947]],["Gammad",[988]],["gammad",[989]],["gap",[10886]],["Gbreve",[286]],["gbreve",[287]],["Gcedil",[290]],["Gcirc",[284]],["gcirc",[285]],["Gcy",[1043]],["gcy",[1075]],["Gdot",[288]],["gdot",[289]],["ge",[8805]],["gE",[8807]],["gEl",[10892]],["gel",[8923]],["geq",[8805]],["geqq",[8807]],["geqslant",[10878]],["gescc",[10921]],["ges",[10878]],["gesdot",[10880]],["gesdoto",[10882]],["gesdotol",[10884]],["gesl",[8923,65024]],["gesles",[10900]],["Gfr",[120074]],["gfr",[120100]],["gg",[8811]],["Gg",[8921]],["ggg",[8921]],["gimel",[8503]],["GJcy",[1027]],["gjcy",[1107]],["gla",[10917]],["gl",[8823]],["glE",[10898]],["glj",[10916]],["gnap",[10890]],["gnapprox",[10890]],["gne",[10888]],["gnE",[8809]],["gneq",[10888]],["gneqq",[8809]],["gnsim",[8935]],["Gopf",[120126]],["gopf",[120152]],["grave",[96]],["GreaterEqual",[8805]],["GreaterEqualLess",[8923]],["GreaterFullEqual",[8807]],["GreaterGreater",[10914]],["GreaterLess",[8823]],["GreaterSlantEqual",[10878]],["GreaterTilde",[8819]],["Gscr",[119970]],["gscr",[8458]],["gsim",[8819]],["gsime",[10894]],["gsiml",[10896]],["gtcc",[10919]],["gtcir",[10874]],["gt",[62]],["GT",[62]],["Gt",[8811]],["gtdot",[8919]],["gtlPar",[10645]],["gtquest",[10876]],["gtrapprox",[10886]],["gtrarr",[10616]],["gtrdot",[8919]],["gtreqless",[8923]],["gtreqqless",[10892]],["gtrless",[8823]],["gtrsim",[8819]],["gvertneqq",[8809,65024]],["gvnE",[8809,65024]],["Hacek",[711]],["hairsp",[8202]],["half",[189]],["hamilt",[8459]],["HARDcy",[1066]],["hardcy",[1098]],["harrcir",[10568]],["harr",[8596]],["hArr",[8660]],["harrw",[8621]],["Hat",[94]],["hbar",[8463]],["Hcirc",[292]],["hcirc",[293]],["hearts",[9829]],["heartsuit",[9829]],["hellip",[8230]],["hercon",[8889]],["hfr",[120101]],["Hfr",[8460]],["HilbertSpace",[8459]],["hksearow",[10533]],["hkswarow",[10534]],["hoarr",[8703]],["homtht",[8763]],["hookleftarrow",[8617]],["hookrightarrow",[8618]],["hopf",[120153]],["Hopf",[8461]],["horbar",[8213]],["HorizontalLine",[9472]],["hscr",[119997]],["Hscr",[8459]],["hslash",[8463]],["Hstrok",[294]],["hstrok",[295]],["HumpDownHump",[8782]],["HumpEqual",[8783]],["hybull",[8259]],["hyphen",[8208]],["Iacute",[205]],["iacute",[237]],["ic",[8291]],["Icirc",[206]],["icirc",[238]],["Icy",[1048]],["icy",[1080]],["Idot",[304]],["IEcy",[1045]],["iecy",[1077]],["iexcl",[161]],["iff",[8660]],["ifr",[120102]],["Ifr",[8465]],["Igrave",[204]],["igrave",[236]],["ii",[8520]],["iiiint",[10764]],["iiint",[8749]],["iinfin",[10716]],["iiota",[8489]],["IJlig",[306]],["ijlig",[307]],["Imacr",[298]],["imacr",[299]],["image",[8465]],["ImaginaryI",[8520]],["imagline",[8464]],["imagpart",[8465]],["imath",[305]],["Im",[8465]],["imof",[8887]],["imped",[437]],["Implies",[8658]],["incare",[8453]],["in",[8712]],["infin",[8734]],["infintie",[10717]],["inodot",[305]],["intcal",[8890]],["int",[8747]],["Int",[8748]],["integers",[8484]],["Integral",[8747]],["intercal",[8890]],["Intersection",[8898]],["intlarhk",[10775]],["intprod",[10812]],["InvisibleComma",[8291]],["InvisibleTimes",[8290]],["IOcy",[1025]],["iocy",[1105]],["Iogon",[302]],["iogon",[303]],["Iopf",[120128]],["iopf",[120154]],["Iota",[921]],["iota",[953]],["iprod",[10812]],["iquest",[191]],["iscr",[119998]],["Iscr",[8464]],["isin",[8712]],["isindot",[8949]],["isinE",[8953]],["isins",[8948]],["isinsv",[8947]],["isinv",[8712]],["it",[8290]],["Itilde",[296]],["itilde",[297]],["Iukcy",[1030]],["iukcy",[1110]],["Iuml",[207]],["iuml",[239]],["Jcirc",[308]],["jcirc",[309]],["Jcy",[1049]],["jcy",[1081]],["Jfr",[120077]],["jfr",[120103]],["jmath",[567]],["Jopf",[120129]],["jopf",[120155]],["Jscr",[119973]],["jscr",[119999]],["Jsercy",[1032]],["jsercy",[1112]],["Jukcy",[1028]],["jukcy",[1108]],["Kappa",[922]],["kappa",[954]],["kappav",[1008]],["Kcedil",[310]],["kcedil",[311]],["Kcy",[1050]],["kcy",[1082]],["Kfr",[120078]],["kfr",[120104]],["kgreen",[312]],["KHcy",[1061]],["khcy",[1093]],["KJcy",[1036]],["kjcy",[1116]],["Kopf",[120130]],["kopf",[120156]],["Kscr",[119974]],["kscr",[12e4]],["lAarr",[8666]],["Lacute",[313]],["lacute",[314]],["laemptyv",[10676]],["lagran",[8466]],["Lambda",[923]],["lambda",[955]],["lang",[10216]],["Lang",[10218]],["langd",[10641]],["langle",[10216]],["lap",[10885]],["Laplacetrf",[8466]],["laquo",[171]],["larrb",[8676]],["larrbfs",[10527]],["larr",[8592]],["Larr",[8606]],["lArr",[8656]],["larrfs",[10525]],["larrhk",[8617]],["larrlp",[8619]],["larrpl",[10553]],["larrsim",[10611]],["larrtl",[8610]],["latail",[10521]],["lAtail",[10523]],["lat",[10923]],["late",[10925]],["lates",[10925,65024]],["lbarr",[10508]],["lBarr",[10510]],["lbbrk",[10098]],["lbrace",[123]],["lbrack",[91]],["lbrke",[10635]],["lbrksld",[10639]],["lbrkslu",[10637]],["Lcaron",[317]],["lcaron",[318]],["Lcedil",[315]],["lcedil",[316]],["lceil",[8968]],["lcub",[123]],["Lcy",[1051]],["lcy",[1083]],["ldca",[10550]],["ldquo",[8220]],["ldquor",[8222]],["ldrdhar",[10599]],["ldrushar",[10571]],["ldsh",[8626]],["le",[8804]],["lE",[8806]],["LeftAngleBracket",[10216]],["LeftArrowBar",[8676]],["leftarrow",[8592]],["LeftArrow",[8592]],["Leftarrow",[8656]],["LeftArrowRightArrow",[8646]],["leftarrowtail",[8610]],["LeftCeiling",[8968]],["LeftDoubleBracket",[10214]],["LeftDownTeeVector",[10593]],["LeftDownVectorBar",[10585]],["LeftDownVector",[8643]],["LeftFloor",[8970]],["leftharpoondown",[8637]],["leftharpoonup",[8636]],["leftleftarrows",[8647]],["leftrightarrow",[8596]],["LeftRightArrow",[8596]],["Leftrightarrow",[8660]],["leftrightarrows",[8646]],["leftrightharpoons",[8651]],["leftrightsquigarrow",[8621]],["LeftRightVector",[10574]],["LeftTeeArrow",[8612]],["LeftTee",[8867]],["LeftTeeVector",[10586]],["leftthreetimes",[8907]],["LeftTriangleBar",[10703]],["LeftTriangle",[8882]],["LeftTriangleEqual",[8884]],["LeftUpDownVector",[10577]],["LeftUpTeeVector",[10592]],["LeftUpVectorBar",[10584]],["LeftUpVector",[8639]],["LeftVectorBar",[10578]],["LeftVector",[8636]],["lEg",[10891]],["leg",[8922]],["leq",[8804]],["leqq",[8806]],["leqslant",[10877]],["lescc",[10920]],["les",[10877]],["lesdot",[10879]],["lesdoto",[10881]],["lesdotor",[10883]],["lesg",[8922,65024]],["lesges",[10899]],["lessapprox",[10885]],["lessdot",[8918]],["lesseqgtr",[8922]],["lesseqqgtr",[10891]],["LessEqualGreater",[8922]],["LessFullEqual",[8806]],["LessGreater",[8822]],["lessgtr",[8822]],["LessLess",[10913]],["lesssim",[8818]],["LessSlantEqual",[10877]],["LessTilde",[8818]],["lfisht",[10620]],["lfloor",[8970]],["Lfr",[120079]],["lfr",[120105]],["lg",[8822]],["lgE",[10897]],["lHar",[10594]],["lhard",[8637]],["lharu",[8636]],["lharul",[10602]],["lhblk",[9604]],["LJcy",[1033]],["ljcy",[1113]],["llarr",[8647]],["ll",[8810]],["Ll",[8920]],["llcorner",[8990]],["Lleftarrow",[8666]],["llhard",[10603]],["lltri",[9722]],["Lmidot",[319]],["lmidot",[320]],["lmoustache",[9136]],["lmoust",[9136]],["lnap",[10889]],["lnapprox",[10889]],["lne",[10887]],["lnE",[8808]],["lneq",[10887]],["lneqq",[8808]],["lnsim",[8934]],["loang",[10220]],["loarr",[8701]],["lobrk",[10214]],["longleftarrow",[10229]],["LongLeftArrow",[10229]],["Longleftarrow",[10232]],["longleftrightarrow",[10231]],["LongLeftRightArrow",[10231]],["Longleftrightarrow",[10234]],["longmapsto",[10236]],["longrightarrow",[10230]],["LongRightArrow",[10230]],["Longrightarrow",[10233]],["looparrowleft",[8619]],["looparrowright",[8620]],["lopar",[10629]],["Lopf",[120131]],["lopf",[120157]],["loplus",[10797]],["lotimes",[10804]],["lowast",[8727]],["lowbar",[95]],["LowerLeftArrow",[8601]],["LowerRightArrow",[8600]],["loz",[9674]],["lozenge",[9674]],["lozf",[10731]],["lpar",[40]],["lparlt",[10643]],["lrarr",[8646]],["lrcorner",[8991]],["lrhar",[8651]],["lrhard",[10605]],["lrm",[8206]],["lrtri",[8895]],["lsaquo",[8249]],["lscr",[120001]],["Lscr",[8466]],["lsh",[8624]],["Lsh",[8624]],["lsim",[8818]],["lsime",[10893]],["lsimg",[10895]],["lsqb",[91]],["lsquo",[8216]],["lsquor",[8218]],["Lstrok",[321]],["lstrok",[322]],["ltcc",[10918]],["ltcir",[10873]],["lt",[60]],["LT",[60]],["Lt",[8810]],["ltdot",[8918]],["lthree",[8907]],["ltimes",[8905]],["ltlarr",[10614]],["ltquest",[10875]],["ltri",[9667]],["ltrie",[8884]],["ltrif",[9666]],["ltrPar",[10646]],["lurdshar",[10570]],["luruhar",[10598]],["lvertneqq",[8808,65024]],["lvnE",[8808,65024]],["macr",[175]],["male",[9794]],["malt",[10016]],["maltese",[10016]],["Map",[10501]],["map",[8614]],["mapsto",[8614]],["mapstodown",[8615]],["mapstoleft",[8612]],["mapstoup",[8613]],["marker",[9646]],["mcomma",[10793]],["Mcy",[1052]],["mcy",[1084]],["mdash",[8212]],["mDDot",[8762]],["measuredangle",[8737]],["MediumSpace",[8287]],["Mellintrf",[8499]],["Mfr",[120080]],["mfr",[120106]],["mho",[8487]],["micro",[181]],["midast",[42]],["midcir",[10992]],["mid",[8739]],["middot",[183]],["minusb",[8863]],["minus",[8722]],["minusd",[8760]],["minusdu",[10794]],["MinusPlus",[8723]],["mlcp",[10971]],["mldr",[8230]],["mnplus",[8723]],["models",[8871]],["Mopf",[120132]],["mopf",[120158]],["mp",[8723]],["mscr",[120002]],["Mscr",[8499]],["mstpos",[8766]],["Mu",[924]],["mu",[956]],["multimap",[8888]],["mumap",[8888]],["nabla",[8711]],["Nacute",[323]],["nacute",[324]],["nang",[8736,8402]],["nap",[8777]],["napE",[10864,824]],["napid",[8779,824]],["napos",[329]],["napprox",[8777]],["natural",[9838]],["naturals",[8469]],["natur",[9838]],["nbsp",[160]],["nbump",[8782,824]],["nbumpe",[8783,824]],["ncap",[10819]],["Ncaron",[327]],["ncaron",[328]],["Ncedil",[325]],["ncedil",[326]],["ncong",[8775]],["ncongdot",[10861,824]],["ncup",[10818]],["Ncy",[1053]],["ncy",[1085]],["ndash",[8211]],["nearhk",[10532]],["nearr",[8599]],["neArr",[8663]],["nearrow",[8599]],["ne",[8800]],["nedot",[8784,824]],["NegativeMediumSpace",[8203]],["NegativeThickSpace",[8203]],["NegativeThinSpace",[8203]],["NegativeVeryThinSpace",[8203]],["nequiv",[8802]],["nesear",[10536]],["nesim",[8770,824]],["NestedGreaterGreater",[8811]],["NestedLessLess",[8810]],["nexist",[8708]],["nexists",[8708]],["Nfr",[120081]],["nfr",[120107]],["ngE",[8807,824]],["nge",[8817]],["ngeq",[8817]],["ngeqq",[8807,824]],["ngeqslant",[10878,824]],["nges",[10878,824]],["nGg",[8921,824]],["ngsim",[8821]],["nGt",[8811,8402]],["ngt",[8815]],["ngtr",[8815]],["nGtv",[8811,824]],["nharr",[8622]],["nhArr",[8654]],["nhpar",[10994]],["ni",[8715]],["nis",[8956]],["nisd",[8954]],["niv",[8715]],["NJcy",[1034]],["njcy",[1114]],["nlarr",[8602]],["nlArr",[8653]],["nldr",[8229]],["nlE",[8806,824]],["nle",[8816]],["nleftarrow",[8602]],["nLeftarrow",[8653]],["nleftrightarrow",[8622]],["nLeftrightarrow",[8654]],["nleq",[8816]],["nleqq",[8806,824]],["nleqslant",[10877,824]],["nles",[10877,824]],["nless",[8814]],["nLl",[8920,824]],["nlsim",[8820]],["nLt",[8810,8402]],["nlt",[8814]],["nltri",[8938]],["nltrie",[8940]],["nLtv",[8810,824]],["nmid",[8740]],["NoBreak",[8288]],["NonBreakingSpace",[160]],["nopf",[120159]],["Nopf",[8469]],["Not",[10988]],["not",[172]],["NotCongruent",[8802]],["NotCupCap",[8813]],["NotDoubleVerticalBar",[8742]],["NotElement",[8713]],["NotEqual",[8800]],["NotEqualTilde",[8770,824]],["NotExists",[8708]],["NotGreater",[8815]],["NotGreaterEqual",[8817]],["NotGreaterFullEqual",[8807,824]],["NotGreaterGreater",[8811,824]],["NotGreaterLess",[8825]],["NotGreaterSlantEqual",[10878,824]],["NotGreaterTilde",[8821]],["NotHumpDownHump",[8782,824]],["NotHumpEqual",[8783,824]],["notin",[8713]],["notindot",[8949,824]],["notinE",[8953,824]],["notinva",[8713]],["notinvb",[8951]],["notinvc",[8950]],["NotLeftTriangleBar",[10703,824]],["NotLeftTriangle",[8938]],["NotLeftTriangleEqual",[8940]],["NotLess",[8814]],["NotLessEqual",[8816]],["NotLessGreater",[8824]],["NotLessLess",[8810,824]],["NotLessSlantEqual",[10877,824]],["NotLessTilde",[8820]],["NotNestedGreaterGreater",[10914,824]],["NotNestedLessLess",[10913,824]],["notni",[8716]],["notniva",[8716]],["notnivb",[8958]],["notnivc",[8957]],["NotPrecedes",[8832]],["NotPrecedesEqual",[10927,824]],["NotPrecedesSlantEqual",[8928]],["NotReverseElement",[8716]],["NotRightTriangleBar",[10704,824]],["NotRightTriangle",[8939]],["NotRightTriangleEqual",[8941]],["NotSquareSubset",[8847,824]],["NotSquareSubsetEqual",[8930]],["NotSquareSuperset",[8848,824]],["NotSquareSupersetEqual",[8931]],["NotSubset",[8834,8402]],["NotSubsetEqual",[8840]],["NotSucceeds",[8833]],["NotSucceedsEqual",[10928,824]],["NotSucceedsSlantEqual",[8929]],["NotSucceedsTilde",[8831,824]],["NotSuperset",[8835,8402]],["NotSupersetEqual",[8841]],["NotTilde",[8769]],["NotTildeEqual",[8772]],["NotTildeFullEqual",[8775]],["NotTildeTilde",[8777]],["NotVerticalBar",[8740]],["nparallel",[8742]],["npar",[8742]],["nparsl",[11005,8421]],["npart",[8706,824]],["npolint",[10772]],["npr",[8832]],["nprcue",[8928]],["nprec",[8832]],["npreceq",[10927,824]],["npre",[10927,824]],["nrarrc",[10547,824]],["nrarr",[8603]],["nrArr",[8655]],["nrarrw",[8605,824]],["nrightarrow",[8603]],["nRightarrow",[8655]],["nrtri",[8939]],["nrtrie",[8941]],["nsc",[8833]],["nsccue",[8929]],["nsce",[10928,824]],["Nscr",[119977]],["nscr",[120003]],["nshortmid",[8740]],["nshortparallel",[8742]],["nsim",[8769]],["nsime",[8772]],["nsimeq",[8772]],["nsmid",[8740]],["nspar",[8742]],["nsqsube",[8930]],["nsqsupe",[8931]],["nsub",[8836]],["nsubE",[10949,824]],["nsube",[8840]],["nsubset",[8834,8402]],["nsubseteq",[8840]],["nsubseteqq",[10949,824]],["nsucc",[8833]],["nsucceq",[10928,824]],["nsup",[8837]],["nsupE",[10950,824]],["nsupe",[8841]],["nsupset",[8835,8402]],["nsupseteq",[8841]],["nsupseteqq",[10950,824]],["ntgl",[8825]],["Ntilde",[209]],["ntilde",[241]],["ntlg",[8824]],["ntriangleleft",[8938]],["ntrianglelefteq",[8940]],["ntriangleright",[8939]],["ntrianglerighteq",[8941]],["Nu",[925]],["nu",[957]],["num",[35]],["numero",[8470]],["numsp",[8199]],["nvap",[8781,8402]],["nvdash",[8876]],["nvDash",[8877]],["nVdash",[8878]],["nVDash",[8879]],["nvge",[8805,8402]],["nvgt",[62,8402]],["nvHarr",[10500]],["nvinfin",[10718]],["nvlArr",[10498]],["nvle",[8804,8402]],["nvlt",[60,8402]],["nvltrie",[8884,8402]],["nvrArr",[10499]],["nvrtrie",[8885,8402]],["nvsim",[8764,8402]],["nwarhk",[10531]],["nwarr",[8598]],["nwArr",[8662]],["nwarrow",[8598]],["nwnear",[10535]],["Oacute",[211]],["oacute",[243]],["oast",[8859]],["Ocirc",[212]],["ocirc",[244]],["ocir",[8858]],["Ocy",[1054]],["ocy",[1086]],["odash",[8861]],["Odblac",[336]],["odblac",[337]],["odiv",[10808]],["odot",[8857]],["odsold",[10684]],["OElig",[338]],["oelig",[339]],["ofcir",[10687]],["Ofr",[120082]],["ofr",[120108]],["ogon",[731]],["Ograve",[210]],["ograve",[242]],["ogt",[10689]],["ohbar",[10677]],["ohm",[937]],["oint",[8750]],["olarr",[8634]],["olcir",[10686]],["olcross",[10683]],["oline",[8254]],["olt",[10688]],["Omacr",[332]],["omacr",[333]],["Omega",[937]],["omega",[969]],["Omicron",[927]],["omicron",[959]],["omid",[10678]],["ominus",[8854]],["Oopf",[120134]],["oopf",[120160]],["opar",[10679]],["OpenCurlyDoubleQuote",[8220]],["OpenCurlyQuote",[8216]],["operp",[10681]],["oplus",[8853]],["orarr",[8635]],["Or",[10836]],["or",[8744]],["ord",[10845]],["order",[8500]],["orderof",[8500]],["ordf",[170]],["ordm",[186]],["origof",[8886]],["oror",[10838]],["orslope",[10839]],["orv",[10843]],["oS",[9416]],["Oscr",[119978]],["oscr",[8500]],["Oslash",[216]],["oslash",[248]],["osol",[8856]],["Otilde",[213]],["otilde",[245]],["otimesas",[10806]],["Otimes",[10807]],["otimes",[8855]],["Ouml",[214]],["ouml",[246]],["ovbar",[9021]],["OverBar",[8254]],["OverBrace",[9182]],["OverBracket",[9140]],["OverParenthesis",[9180]],["para",[182]],["parallel",[8741]],["par",[8741]],["parsim",[10995]],["parsl",[11005]],["part",[8706]],["PartialD",[8706]],["Pcy",[1055]],["pcy",[1087]],["percnt",[37]],["period",[46]],["permil",[8240]],["perp",[8869]],["pertenk",[8241]],["Pfr",[120083]],["pfr",[120109]],["Phi",[934]],["phi",[966]],["phiv",[981]],["phmmat",[8499]],["phone",[9742]],["Pi",[928]],["pi",[960]],["pitchfork",[8916]],["piv",[982]],["planck",[8463]],["planckh",[8462]],["plankv",[8463]],["plusacir",[10787]],["plusb",[8862]],["pluscir",[10786]],["plus",[43]],["plusdo",[8724]],["plusdu",[10789]],["pluse",[10866]],["PlusMinus",[177]],["plusmn",[177]],["plussim",[10790]],["plustwo",[10791]],["pm",[177]],["Poincareplane",[8460]],["pointint",[10773]],["popf",[120161]],["Popf",[8473]],["pound",[163]],["prap",[10935]],["Pr",[10939]],["pr",[8826]],["prcue",[8828]],["precapprox",[10935]],["prec",[8826]],["preccurlyeq",[8828]],["Precedes",[8826]],["PrecedesEqual",[10927]],["PrecedesSlantEqual",[8828]],["PrecedesTilde",[8830]],["preceq",[10927]],["precnapprox",[10937]],["precneqq",[10933]],["precnsim",[8936]],["pre",[10927]],["prE",[10931]],["precsim",[8830]],["prime",[8242]],["Prime",[8243]],["primes",[8473]],["prnap",[10937]],["prnE",[10933]],["prnsim",[8936]],["prod",[8719]],["Product",[8719]],["profalar",[9006]],["profline",[8978]],["profsurf",[8979]],["prop",[8733]],["Proportional",[8733]],["Proportion",[8759]],["propto",[8733]],["prsim",[8830]],["prurel",[8880]],["Pscr",[119979]],["pscr",[120005]],["Psi",[936]],["psi",[968]],["puncsp",[8200]],["Qfr",[120084]],["qfr",[120110]],["qint",[10764]],["qopf",[120162]],["Qopf",[8474]],["qprime",[8279]],["Qscr",[119980]],["qscr",[120006]],["quaternions",[8461]],["quatint",[10774]],["quest",[63]],["questeq",[8799]],["quot",[34]],["QUOT",[34]],["rAarr",[8667]],["race",[8765,817]],["Racute",[340]],["racute",[341]],["radic",[8730]],["raemptyv",[10675]],["rang",[10217]],["Rang",[10219]],["rangd",[10642]],["range",[10661]],["rangle",[10217]],["raquo",[187]],["rarrap",[10613]],["rarrb",[8677]],["rarrbfs",[10528]],["rarrc",[10547]],["rarr",[8594]],["Rarr",[8608]],["rArr",[8658]],["rarrfs",[10526]],["rarrhk",[8618]],["rarrlp",[8620]],["rarrpl",[10565]],["rarrsim",[10612]],["Rarrtl",[10518]],["rarrtl",[8611]],["rarrw",[8605]],["ratail",[10522]],["rAtail",[10524]],["ratio",[8758]],["rationals",[8474]],["rbarr",[10509]],["rBarr",[10511]],["RBarr",[10512]],["rbbrk",[10099]],["rbrace",[125]],["rbrack",[93]],["rbrke",[10636]],["rbrksld",[10638]],["rbrkslu",[10640]],["Rcaron",[344]],["rcaron",[345]],["Rcedil",[342]],["rcedil",[343]],["rceil",[8969]],["rcub",[125]],["Rcy",[1056]],["rcy",[1088]],["rdca",[10551]],["rdldhar",[10601]],["rdquo",[8221]],["rdquor",[8221]],["CloseCurlyDoubleQuote",[8221]],["rdsh",[8627]],["real",[8476]],["realine",[8475]],["realpart",[8476]],["reals",[8477]],["Re",[8476]],["rect",[9645]],["reg",[174]],["REG",[174]],["ReverseElement",[8715]],["ReverseEquilibrium",[8651]],["ReverseUpEquilibrium",[10607]],["rfisht",[10621]],["rfloor",[8971]],["rfr",[120111]],["Rfr",[8476]],["rHar",[10596]],["rhard",[8641]],["rharu",[8640]],["rharul",[10604]],["Rho",[929]],["rho",[961]],["rhov",[1009]],["RightAngleBracket",[10217]],["RightArrowBar",[8677]],["rightarrow",[8594]],["RightArrow",[8594]],["Rightarrow",[8658]],["RightArrowLeftArrow",[8644]],["rightarrowtail",[8611]],["RightCeiling",[8969]],["RightDoubleBracket",[10215]],["RightDownTeeVector",[10589]],["RightDownVectorBar",[10581]],["RightDownVector",[8642]],["RightFloor",[8971]],["rightharpoondown",[8641]],["rightharpoonup",[8640]],["rightleftarrows",[8644]],["rightleftharpoons",[8652]],["rightrightarrows",[8649]],["rightsquigarrow",[8605]],["RightTeeArrow",[8614]],["RightTee",[8866]],["RightTeeVector",[10587]],["rightthreetimes",[8908]],["RightTriangleBar",[10704]],["RightTriangle",[8883]],["RightTriangleEqual",[8885]],["RightUpDownVector",[10575]],["RightUpTeeVector",[10588]],["RightUpVectorBar",[10580]],["RightUpVector",[8638]],["RightVectorBar",[10579]],["RightVector",[8640]],["ring",[730]],["risingdotseq",[8787]],["rlarr",[8644]],["rlhar",[8652]],["rlm",[8207]],["rmoustache",[9137]],["rmoust",[9137]],["rnmid",[10990]],["roang",[10221]],["roarr",[8702]],["robrk",[10215]],["ropar",[10630]],["ropf",[120163]],["Ropf",[8477]],["roplus",[10798]],["rotimes",[10805]],["RoundImplies",[10608]],["rpar",[41]],["rpargt",[10644]],["rppolint",[10770]],["rrarr",[8649]],["Rrightarrow",[8667]],["rsaquo",[8250]],["rscr",[120007]],["Rscr",[8475]],["rsh",[8625]],["Rsh",[8625]],["rsqb",[93]],["rsquo",[8217]],["rsquor",[8217]],["CloseCurlyQuote",[8217]],["rthree",[8908]],["rtimes",[8906]],["rtri",[9657]],["rtrie",[8885]],["rtrif",[9656]],["rtriltri",[10702]],["RuleDelayed",[10740]],["ruluhar",[10600]],["rx",[8478]],["Sacute",[346]],["sacute",[347]],["sbquo",[8218]],["scap",[10936]],["Scaron",[352]],["scaron",[353]],["Sc",[10940]],["sc",[8827]],["sccue",[8829]],["sce",[10928]],["scE",[10932]],["Scedil",[350]],["scedil",[351]],["Scirc",[348]],["scirc",[349]],["scnap",[10938]],["scnE",[10934]],["scnsim",[8937]],["scpolint",[10771]],["scsim",[8831]],["Scy",[1057]],["scy",[1089]],["sdotb",[8865]],["sdot",[8901]],["sdote",[10854]],["searhk",[10533]],["searr",[8600]],["seArr",[8664]],["searrow",[8600]],["sect",[167]],["semi",[59]],["seswar",[10537]],["setminus",[8726]],["setmn",[8726]],["sext",[10038]],["Sfr",[120086]],["sfr",[120112]],["sfrown",[8994]],["sharp",[9839]],["SHCHcy",[1065]],["shchcy",[1097]],["SHcy",[1064]],["shcy",[1096]],["ShortDownArrow",[8595]],["ShortLeftArrow",[8592]],["shortmid",[8739]],["shortparallel",[8741]],["ShortRightArrow",[8594]],["ShortUpArrow",[8593]],["shy",[173]],["Sigma",[931]],["sigma",[963]],["sigmaf",[962]],["sigmav",[962]],["sim",[8764]],["simdot",[10858]],["sime",[8771]],["simeq",[8771]],["simg",[10910]],["simgE",[10912]],["siml",[10909]],["simlE",[10911]],["simne",[8774]],["simplus",[10788]],["simrarr",[10610]],["slarr",[8592]],["SmallCircle",[8728]],["smallsetminus",[8726]],["smashp",[10803]],["smeparsl",[10724]],["smid",[8739]],["smile",[8995]],["smt",[10922]],["smte",[10924]],["smtes",[10924,65024]],["SOFTcy",[1068]],["softcy",[1100]],["solbar",[9023]],["solb",[10692]],["sol",[47]],["Sopf",[120138]],["sopf",[120164]],["spades",[9824]],["spadesuit",[9824]],["spar",[8741]],["sqcap",[8851]],["sqcaps",[8851,65024]],["sqcup",[8852]],["sqcups",[8852,65024]],["Sqrt",[8730]],["sqsub",[8847]],["sqsube",[8849]],["sqsubset",[8847]],["sqsubseteq",[8849]],["sqsup",[8848]],["sqsupe",[8850]],["sqsupset",[8848]],["sqsupseteq",[8850]],["square",[9633]],["Square",[9633]],["SquareIntersection",[8851]],["SquareSubset",[8847]],["SquareSubsetEqual",[8849]],["SquareSuperset",[8848]],["SquareSupersetEqual",[8850]],["SquareUnion",[8852]],["squarf",[9642]],["squ",[9633]],["squf",[9642]],["srarr",[8594]],["Sscr",[119982]],["sscr",[120008]],["ssetmn",[8726]],["ssmile",[8995]],["sstarf",[8902]],["Star",[8902]],["star",[9734]],["starf",[9733]],["straightepsilon",[1013]],["straightphi",[981]],["strns",[175]],["sub",[8834]],["Sub",[8912]],["subdot",[10941]],["subE",[10949]],["sube",[8838]],["subedot",[10947]],["submult",[10945]],["subnE",[10955]],["subne",[8842]],["subplus",[10943]],["subrarr",[10617]],["subset",[8834]],["Subset",[8912]],["subseteq",[8838]],["subseteqq",[10949]],["SubsetEqual",[8838]],["subsetneq",[8842]],["subsetneqq",[10955]],["subsim",[10951]],["subsub",[10965]],["subsup",[10963]],["succapprox",[10936]],["succ",[8827]],["succcurlyeq",[8829]],["Succeeds",[8827]],["SucceedsEqual",[10928]],["SucceedsSlantEqual",[8829]],["SucceedsTilde",[8831]],["succeq",[10928]],["succnapprox",[10938]],["succneqq",[10934]],["succnsim",[8937]],["succsim",[8831]],["SuchThat",[8715]],["sum",[8721]],["Sum",[8721]],["sung",[9834]],["sup1",[185]],["sup2",[178]],["sup3",[179]],["sup",[8835]],["Sup",[8913]],["supdot",[10942]],["supdsub",[10968]],["supE",[10950]],["supe",[8839]],["supedot",[10948]],["Superset",[8835]],["SupersetEqual",[8839]],["suphsol",[10185]],["suphsub",[10967]],["suplarr",[10619]],["supmult",[10946]],["supnE",[10956]],["supne",[8843]],["supplus",[10944]],["supset",[8835]],["Supset",[8913]],["supseteq",[8839]],["supseteqq",[10950]],["supsetneq",[8843]],["supsetneqq",[10956]],["supsim",[10952]],["supsub",[10964]],["supsup",[10966]],["swarhk",[10534]],["swarr",[8601]],["swArr",[8665]],["swarrow",[8601]],["swnwar",[10538]],["szlig",[223]],["Tab",[9]],["target",[8982]],["Tau",[932]],["tau",[964]],["tbrk",[9140]],["Tcaron",[356]],["tcaron",[357]],["Tcedil",[354]],["tcedil",[355]],["Tcy",[1058]],["tcy",[1090]],["tdot",[8411]],["telrec",[8981]],["Tfr",[120087]],["tfr",[120113]],["there4",[8756]],["therefore",[8756]],["Therefore",[8756]],["Theta",[920]],["theta",[952]],["thetasym",[977]],["thetav",[977]],["thickapprox",[8776]],["thicksim",[8764]],["ThickSpace",[8287,8202]],["ThinSpace",[8201]],["thinsp",[8201]],["thkap",[8776]],["thksim",[8764]],["THORN",[222]],["thorn",[254]],["tilde",[732]],["Tilde",[8764]],["TildeEqual",[8771]],["TildeFullEqual",[8773]],["TildeTilde",[8776]],["timesbar",[10801]],["timesb",[8864]],["times",[215]],["timesd",[10800]],["tint",[8749]],["toea",[10536]],["topbot",[9014]],["topcir",[10993]],["top",[8868]],["Topf",[120139]],["topf",[120165]],["topfork",[10970]],["tosa",[10537]],["tprime",[8244]],["trade",[8482]],["TRADE",[8482]],["triangle",[9653]],["triangledown",[9663]],["triangleleft",[9667]],["trianglelefteq",[8884]],["triangleq",[8796]],["triangleright",[9657]],["trianglerighteq",[8885]],["tridot",[9708]],["trie",[8796]],["triminus",[10810]],["TripleDot",[8411]],["triplus",[10809]],["trisb",[10701]],["tritime",[10811]],["trpezium",[9186]],["Tscr",[119983]],["tscr",[120009]],["TScy",[1062]],["tscy",[1094]],["TSHcy",[1035]],["tshcy",[1115]],["Tstrok",[358]],["tstrok",[359]],["twixt",[8812]],["twoheadleftarrow",[8606]],["twoheadrightarrow",[8608]],["Uacute",[218]],["uacute",[250]],["uarr",[8593]],["Uarr",[8607]],["uArr",[8657]],["Uarrocir",[10569]],["Ubrcy",[1038]],["ubrcy",[1118]],["Ubreve",[364]],["ubreve",[365]],["Ucirc",[219]],["ucirc",[251]],["Ucy",[1059]],["ucy",[1091]],["udarr",[8645]],["Udblac",[368]],["udblac",[369]],["udhar",[10606]],["ufisht",[10622]],["Ufr",[120088]],["ufr",[120114]],["Ugrave",[217]],["ugrave",[249]],["uHar",[10595]],["uharl",[8639]],["uharr",[8638]],["uhblk",[9600]],["ulcorn",[8988]],["ulcorner",[8988]],["ulcrop",[8975]],["ultri",[9720]],["Umacr",[362]],["umacr",[363]],["uml",[168]],["UnderBar",[95]],["UnderBrace",[9183]],["UnderBracket",[9141]],["UnderParenthesis",[9181]],["Union",[8899]],["UnionPlus",[8846]],["Uogon",[370]],["uogon",[371]],["Uopf",[120140]],["uopf",[120166]],["UpArrowBar",[10514]],["uparrow",[8593]],["UpArrow",[8593]],["Uparrow",[8657]],["UpArrowDownArrow",[8645]],["updownarrow",[8597]],["UpDownArrow",[8597]],["Updownarrow",[8661]],["UpEquilibrium",[10606]],["upharpoonleft",[8639]],["upharpoonright",[8638]],["uplus",[8846]],["UpperLeftArrow",[8598]],["UpperRightArrow",[8599]],["upsi",[965]],["Upsi",[978]],["upsih",[978]],["Upsilon",[933]],["upsilon",[965]],["UpTeeArrow",[8613]],["UpTee",[8869]],["upuparrows",[8648]],["urcorn",[8989]],["urcorner",[8989]],["urcrop",[8974]],["Uring",[366]],["uring",[367]],["urtri",[9721]],["Uscr",[119984]],["uscr",[120010]],["utdot",[8944]],["Utilde",[360]],["utilde",[361]],["utri",[9653]],["utrif",[9652]],["uuarr",[8648]],["Uuml",[220]],["uuml",[252]],["uwangle",[10663]],["vangrt",[10652]],["varepsilon",[1013]],["varkappa",[1008]],["varnothing",[8709]],["varphi",[981]],["varpi",[982]],["varpropto",[8733]],["varr",[8597]],["vArr",[8661]],["varrho",[1009]],["varsigma",[962]],["varsubsetneq",[8842,65024]],["varsubsetneqq",[10955,65024]],["varsupsetneq",[8843,65024]],["varsupsetneqq",[10956,65024]],["vartheta",[977]],["vartriangleleft",[8882]],["vartriangleright",[8883]],["vBar",[10984]],["Vbar",[10987]],["vBarv",[10985]],["Vcy",[1042]],["vcy",[1074]],["vdash",[8866]],["vDash",[8872]],["Vdash",[8873]],["VDash",[8875]],["Vdashl",[10982]],["veebar",[8891]],["vee",[8744]],["Vee",[8897]],["veeeq",[8794]],["vellip",[8942]],["verbar",[124]],["Verbar",[8214]],["vert",[124]],["Vert",[8214]],["VerticalBar",[8739]],["VerticalLine",[124]],["VerticalSeparator",[10072]],["VerticalTilde",[8768]],["VeryThinSpace",[8202]],["Vfr",[120089]],["vfr",[120115]],["vltri",[8882]],["vnsub",[8834,8402]],["vnsup",[8835,8402]],["Vopf",[120141]],["vopf",[120167]],["vprop",[8733]],["vrtri",[8883]],["Vscr",[119985]],["vscr",[120011]],["vsubnE",[10955,65024]],["vsubne",[8842,65024]],["vsupnE",[10956,65024]],["vsupne",[8843,65024]],["Vvdash",[8874]],["vzigzag",[10650]],["Wcirc",[372]],["wcirc",[373]],["wedbar",[10847]],["wedge",[8743]],["Wedge",[8896]],["wedgeq",[8793]],["weierp",[8472]],["Wfr",[120090]],["wfr",[120116]],["Wopf",[120142]],["wopf",[120168]],["wp",[8472]],["wr",[8768]],["wreath",[8768]],["Wscr",[119986]],["wscr",[120012]],["xcap",[8898]],["xcirc",[9711]],["xcup",[8899]],["xdtri",[9661]],["Xfr",[120091]],["xfr",[120117]],["xharr",[10231]],["xhArr",[10234]],["Xi",[926]],["xi",[958]],["xlarr",[10229]],["xlArr",[10232]],["xmap",[10236]],["xnis",[8955]],["xodot",[10752]],["Xopf",[120143]],["xopf",[120169]],["xoplus",[10753]],["xotime",[10754]],["xrarr",[10230]],["xrArr",[10233]],["Xscr",[119987]],["xscr",[120013]],["xsqcup",[10758]],["xuplus",[10756]],["xutri",[9651]],["xvee",[8897]],["xwedge",[8896]],["Yacute",[221]],["yacute",[253]],["YAcy",[1071]],["yacy",[1103]],["Ycirc",[374]],["ycirc",[375]],["Ycy",[1067]],["ycy",[1099]],["yen",[165]],["Yfr",[120092]],["yfr",[120118]],["YIcy",[1031]],["yicy",[1111]],["Yopf",[120144]],["yopf",[120170]],["Yscr",[119988]],["yscr",[120014]],["YUcy",[1070]],["yucy",[1102]],["yuml",[255]],["Yuml",[376]],["Zacute",[377]],["zacute",[378]],["Zcaron",[381]],["zcaron",[382]],["Zcy",[1047]],["zcy",[1079]],["Zdot",[379]],["zdot",[380]],["zeetrf",[8488]],["ZeroWidthSpace",[8203]],["Zeta",[918]],["zeta",[950]],["zfr",[120119]],["Zfr",[8488]],["ZHcy",[1046]],["zhcy",[1078]],["zigrarr",[8669]],["zopf",[120171]],["Zopf",[8484]],["Zscr",[119989]],["zscr",[120015]],["zwj",[8205]],["zwnj",[8204]]],l=[["NewLine",[10]]],i={},o={};!function(e,t){for(var n=r.length;n--;){var a=r[n],i=a[0],o=a[1],c=o[0],s=o[1],u=c<32||c>126||62===c||60===c||38===c||34===c||39===c,m=void 0;u&&(m=t[c]=t[c]||{}),s?(e[i]=String.fromCharCode(c)+String.fromCharCode(s),u&&(m[s]=i)):(e[i]=String.fromCharCode(c),u&&(m[""]=i))}for(n=l.length;n--;){var d=l[n],p=(i=d[0],d[1]);c=p[0],s=p[1],e[i]=String.fromCharCode(c)+(s?String.fromCharCode(s):"")}}(i,o);var c=function(){function e(){}return e.prototype.decode=function(e){return e&&e.length?e.replace(/&(#?[\w\d]+);?/g,(function(e,t){var n;if("#"===t.charAt(0)){var r="x"===t.charAt(1)?parseInt(t.substr(2).toLowerCase(),16):parseInt(t.substr(1));(!isNaN(r)||r>=-32768)&&(n=r<=65535?String.fromCharCode(r):a.fromCodePoint(r))}else n=i[t];return n||e})):""},e.decode=function(t){return(new e).decode(t)},e.prototype.encode=function(e){if(!e||!e.length)return"";for(var t=e.length,n="",a=0;a126?l>=a.highSurrogateFrom&&l<=a.highSurrogateTo?(n+="&#"+a.getCodePoint(e,r)+";",r++):n+="&#"+l+";":n+=e.charAt(r),r++}return n},e.encodeNonUTF=function(t){return(new e).encodeNonUTF(t)},e.prototype.encodeNonASCII=function(e){if(!e||!e.length)return"";for(var t=e.length,n="",r=0;r=a.highSurrogateFrom&&l<=a.highSurrogateTo?(n+="&#"+a.getCodePoint(e,r)+";",r+=2):(n+="&#"+l+";",r++)}return n},e.encodeNonASCII=function(t){return(new e).encodeNonASCII(t)},e}();t.Html5Entities=c},376:function(e,t,n){"use strict";var a=n(721);t.vr=a.XmlEntities,n(839).Html4Entities;var r=n(490);r.Html5Entities,r.Html5Entities},826:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fromCodePoint=String.fromCodePoint||function(e){return String.fromCharCode(Math.floor((e-65536)/1024)+55296,(e-65536)%1024+56320)},t.getCodePoint=String.prototype.codePointAt?function(e,t){return e.codePointAt(t)}:function(e,t){return 1024*(e.charCodeAt(t)-55296)+e.charCodeAt(t+1)-56320+65536},t.highSurrogateFrom=55296,t.highSurrogateTo=56319},721:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n(826),r={"<":"<",">":">",""":'"',"&apos":"'","&":"&","<":"<",">":">",""":'"',"'":"'","&":"&"},l={60:"lt",62:"gt",34:"quot",39:"apos",38:"amp"},i={"<":"<",">":">",'"':""","'":"'","&":"&"},o=function(){function e(){}return e.prototype.encode=function(e){return e&&e.length?e.replace(/[<>"'&]/g,(function(e){return i[e]})):""},e.encode=function(t){return(new e).encode(t)},e.prototype.decode=function(e){return e&&e.length?e.replace(/&#?[0-9a-zA-Z]+;?/g,(function(e){if("#"===e.charAt(1)){var t="x"===e.charAt(2).toLowerCase()?parseInt(e.substr(3),16):parseInt(e.substr(2));return!isNaN(t)||t>=-32768?t<=65535?String.fromCharCode(t):a.fromCodePoint(t):""}return r[e]||e})):""},e.decode=function(t){return(new e).decode(t)},e.prototype.encodeNonUTF=function(e){if(!e||!e.length)return"";for(var t=e.length,n="",r=0;r126?i>=a.highSurrogateFrom&&i<=a.highSurrogateTo?(n+="&#"+a.getCodePoint(e,r)+";",r++):n+="&#"+i+";":n+=e.charAt(r),r++)}return n},e.encodeNonUTF=function(t){return(new e).encodeNonUTF(t)},e.prototype.encodeNonASCII=function(e){if(!e||!e.length)return"";for(var t=e.length,n="",r=0;r=a.highSurrogateFrom&&l<=a.highSurrogateTo?(n+="&#"+a.getCodePoint(e,r)+";",r++):n+="&#"+l+";",r++)}return n},e.encodeNonASCII=function(t){return(new e).encodeNonASCII(t)},e}();t.XmlEntities=o},418:function(e,t,n){var a,r;a=[n(617),n(3),n(675)],void 0===(r=function(e,t,n){return function(e,t,n){var a=function(t,n){return e.js_beautify(t,n)};return a.js=e.js_beautify,a.css=t.css_beautify,a.html=n.html_beautify,a.js_beautify=e.js_beautify,a.css_beautify=t.css_beautify,a.html_beautify=n.html_beautify,a}(e,t,n)}.apply(t,a))||(e.exports=r)},3:function(e,t){var n,a,r;a=function(e){var t={};function n(a){if(t[a])return t[a].exports;var r=t[a]={i:a,l:!1,exports:{}};return e[a].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.i=function(e){return e},n.d=function(e,t,a){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:a})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=4)}([function(e,t,n){var a=n(2).mergeOpts,r=n(1),l=n(3).Output,i=r.lineBreak,o=r.allLineBreaks;e.exports.Beautifier=function(e,t){t=a(t=t||{},"css"),e=e||"";var n=0,r=t.indent_size?parseInt(t.indent_size,10):4,c=t.indent_char||" ",s=void 0!==t.preserve_newlines&&t.preserve_newlines,u=void 0===t.selector_separator_newline||t.selector_separator_newline,m=void 0!==t.end_with_newline&&t.end_with_newline,d=void 0===t.newline_between_rules||t.newline_between_rules,p=void 0!==t.space_around_combinator&&t.space_around_combinator;p=p||void 0!==t.space_around_selector_separator&&t.space_around_selector_separator;var f=t.eol?t.eol:"auto";t.indent_with_tabs&&(c="\t",r=1),"auto"===f&&(f="\n",e&&i.test(e||"")&&(f=e.match(i)[0])),f=f.replace(/\\r/,"\r").replace(/\\n/,"\n"),e=e.replace(o,"\n");var h,g=/^\s+$/,v=-1,b=0;function E(){return(h=e.charAt(++v))||""}function y(t){var n,a=v;return t&&_(),n=e.charAt(v+1)||"",v=a-1,E(),n}function x(t){for(var n=v;E();)if("\\"===h)E();else{if(-1!==t.indexOf(h))break;if("\n"===h)break}return e.substring(n,v+1)}function _(e){for(var t=0;g.test(y());)E(),"\n"===h&&e&&s&&(I.add_new_line(!0),t++);return n=t,t}function w(){var e="";for(h&&g.test(h)&&(e=h);g.test(E());)e+=h;return e}function k(){var t=v,n="/"===y();for(E();E();){if(!n&&"*"===h&&"/"===y()){E();break}if(n&&"\n"===h)return e.substring(t,v)}return e.substring(t,v)+h}function S(t){return e.substring(v-t.length,v).toLowerCase()===t}function N(){for(var t=0,n=v+1;nR):a=F>=R):"}"===h?(F>0&&F--,I.add_new_line(),O(h),a=!1,r=!1,R&&R--,_(!0)||I.add_new_line(),n<2&&d&&0===F&&I.add_new_line(!0)):":"===h?(_(),!a&&!i||S("&")||N()||S("(")?(S(" ")&&(I.space_before_token=!0),":"===y()?(E(),O("::")):O(":")):(O(":"),r||(r=!0,I.space_before_token=!0))):'"'===h||"'"===h?(L(C),O(x(h))):";"===h?(r=!1,O(h),_(!0)||I.add_new_line()):"("===h?S("url")?(O(h),_(),E()&&(")"!==h&&'"'!==h&&"'"!==h?O(x(")")):v--)):(b++,L(C),O(h),_()):")"===h?(O(h),b--):","===h?(O(h),!_(!0)&&u&&!r&&b<1?I.add_new_line():I.space_before_token=!0):(">"===h||"+"===h||"~"===h)&&!r&&b<1?p?(I.space_before_token=!0,O(h),I.space_before_token=!0):(O(h),_(),h&&g.test(h)&&(h="")):"]"===h?O(h):"["===h?(L(C),O(h)):"="===h?(_(),O("="),g.test(h)&&(h="")):"!"===h?(O(" "),O(h)):(L(C),O(h))}return I.get_code(m,f)},this.NESTED_AT_RULE={"@page":!0,"@font-face":!0,"@keyframes":!0,"@media":!0,"@supports":!0,"@document":!0},this.CONDITIONAL_GROUP_RULE={"@media":!0,"@supports":!0,"@document":!0}}},function(e,t){var n="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",a=new RegExp("["+n+"]"),r=new RegExp("["+n+"̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-ۨۻ-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-ࠧࠩ-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-ୠ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‌‍‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍-﹏0-9_]");t.newline=/[\n\r\u2028\u2029]/,t.lineBreak=new RegExp("\r\n|"+t.newline.source),t.allLineBreaks=new RegExp(t.lineBreak.source,"g"),t.isIdentifierStart=function(e){return e<65?36===e||64===e:e<91||(e<97?95===e:e<123||e>=170&&a.test(String.fromCharCode(e)))},t.isIdentifierChar=function(e){return e<48?36===e:e<58||!(e<65)&&(e<91||(e<97?95===e:e<123||e>=170&&r.test(String.fromCharCode(e))))}},function(e,t){e.exports.mergeOpts=function(e,t){var n,a={};for(n in e)n!==t&&(a[n]=e[n]);if(t in e)for(n in e[t])a[n]=e[t][n];return a}},function(e,t){function n(e){var t=0,n=-1,a=[],r=!0;this.set_indent=function(a){t=e.baseIndentLength+a*e.indent_length,n=a},this.get_character_count=function(){return t},this.is_empty=function(){return r},this.last=function(){return this._empty?null:a[a.length-1]},this.push=function(e){a.push(e),t+=e.length,r=!1},this.pop=function(){var e=null;return r||(e=a.pop(),t-=e.length,r=0===a.length),e},this.remove_indent=function(){n>0&&(n-=1,t-=e.indent_length)},this.trim=function(){for(;" "===this.last();)a.pop(),t-=1;r=0===a.length},this.toString=function(){var t="";return this._empty||(n>=0&&(t=e.indent_cache[n]),t+=a.join("")),t}}e.exports.Output=function(e,t){t=t||"",this.indent_cache=[t],this.baseIndentLength=t.length,this.indent_length=e.length,this.raw=!1;var a=[];this.baseIndentString=t,this.indent_string=e,this.previous_line=null,this.current_line=null,this.space_before_token=!1,this.add_outputline=function(){this.previous_line=this.current_line,this.current_line=new n(this),a.push(this.current_line)},this.add_outputline(),this.get_line_number=function(){return a.length},this.add_new_line=function(e){return!(1===this.get_line_number()&&this.just_added_newline()||!e&&this.just_added_newline()||(this.raw||this.add_outputline(),0))},this.get_code=function(e,t){var n=a.join("\n").replace(/[\r\n\t ]+$/,"");return e&&(n+="\n"),"\n"!==t&&(n=n.replace(/[\n]/g,t)),n},this.set_indent=function(e){if(a.length>1){for(;e>=this.indent_cache.length;)this.indent_cache.push(this.indent_cache[this.indent_cache.length-1]+this.indent_string);return this.current_line.set_indent(e),!0}return this.current_line.set_indent(0),!1},this.add_raw_token=function(e){for(var t=0;t1&&this.current_line.is_empty();)a.pop(),this.current_line=a[a.length-1],this.current_line.trim();this.previous_line=a.length>1?a[a.length-2]:null},this.just_added_newline=function(){return this.current_line.is_empty()},this.just_added_blankline=function(){return!!this.just_added_newline()&&(1===a.length||a[a.length-2].is_empty())}}},function(e,t,n){var a=n(0).Beautifier;e.exports=function(e,t){return new a(e,t).beautify()}}]),r=a,void 0===(n=function(){return{css_beautify:r}}.apply(t,[]))||(e.exports=n)},675:function(e,t,n){var a,r,l,i;l=function(e){var t={};function n(a){if(t[a])return t[a].exports;var r=t[a]={i:a,l:!1,exports:{}};return e[a].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.i=function(e){return e},n.d=function(e,t,a){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:a})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=3)}([function(e,t,n){var a=n(2).mergeOpts,r=n(1),l=r.lineBreak,i=r.allLineBreaks;function o(e){return e.replace(/\s+$/g,"")}e.exports.Beautifier=function(e,t,n,r){var c,s,u,m,d,p,f,h,g,v,b,E,y,x,_,w,k,S,N,T,C;function F(){return this.pos=0,this.token="",this.current_mode="CONTENT",this.tags={parent:"parent1",parentcount:1,parent1:""},this.tag_type="",this.token_text=this.last_token=this.last_text=this.token_type="",this.newlines=0,this.indent_content=s,this.indent_body_inner_html=u,this.indent_head_inner_html=m,this.Utils={whitespace:"\n\r\t ".split(""),single_token:t.void_elements||["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr","!doctype","?xml","?php","basefont","isindex"],extra_liners:T,in_array:function(e,t){for(var n=0;n=this.wrap_line_length?(this.print_newline(!1,e),this.print_indentation(e),!0):(this.line_char_count++,e.push(" "),!1)},this.get_content=function(){for(var e="",t=[],n=0;"<"!==this.input.charAt(this.pos)||2===n;){if(this.pos>=this.input.length)return t.length?t.join(""):["","TK_EOF"];if(n<2&&this.traverse_whitespace())this.space_or_wrap(t);else{if(e=this.input.charAt(this.pos),y){if("{"===e?n+=1:n<2&&(n=0),"}"===e&&n>0&&0==n--)break;var a=this.input.substr(this.pos,3);if("{{#"===a||"{{/"===a)break;if("{{!"===a)return[this.get_tag(),"TK_TAG_HANDLEBARS_COMMENT"];if("{{"===this.input.substr(this.pos,2)&&"{{else}}"===this.get_tag(!0))break}this.pos++,this.line_char_count++,t.push(e)}}return t.length?t.join(""):""},this.get_contents_to=function(e){if(this.pos===this.input.length)return["","TK_EOF"];var t="",n=new RegExp("","igm");n.lastIndex=this.pos;var a=n.exec(this.input),r=a?a.index:this.input.length;return this.pos=this.input.length)return e&&(this.pos=u,this.line_char_count=m),l.length?l.join(""):["","TK_EOF"];if(r=this.input.charAt(this.pos),this.pos++,this.Utils.in_array(r,this.Utils.whitespace))o=!0;else{if("'"!==r&&'"'!==r||(r+=this.get_unformatted(r),o=!0),"="===r&&(o=!1),a=this.input.substr(this.pos-1),!k||!s||d||">"!==r&&"/"!==r||a.match(/^\/?\s*>/)&&(o=!1,d=!0,this.print_newline(!1,l),this.print_indentation(l)),l.length&&"="!==l[l.length-1]&&">"!==r&&o){var p=this.space_or_wrap(l)&&"/"!==r&&!w;if(o=!1,w&&"/"!==r){var f=!1;k&&c&&(f=!(null!==a.match(/^\S*(="([^"]|\\")*")?\s*\/?\s*>/))),c&&!f||(this.print_newline(!1,l),this.print_indentation(l),p=!0)}if(p){s=!0;var h=_;S&&(h=l.indexOf(" ")+1);for(var b=0;b=2&&"{"===l[l.length-1]&&"{"===l[l.length-2]&&(t="#"===r||"/"===r||"!"===r?this.pos-3:this.pos-2,n="{"),this.line_char_count++,l.push(r),l[1]&&("!"===l[1]||"?"===l[1]||"%"===l[1])){l=[this.get_comment(t)];break}if(y&&l[1]&&"{"===l[1]&&l[2]&&"!"===l[2]){l=[this.get_comment(t)];break}if(y&&"{"===n&&l.length>2&&"}"===l[l.length-2]&&"}"===l[l.length-1])break}}while(">"!==r);var x,N,T=l.join("");x=-1!==T.indexOf(" ")?T.indexOf(" "):-1!==T.indexOf("\n")?T.indexOf("\n"):"{"===T.charAt(0)?T.indexOf("}"):T.indexOf(">"),N="<"!==T.charAt(0)&&y?"#"===T.charAt(2)?3:2:1;var C=T.substring(N,x).toLowerCase();return"/"===T.charAt(T.length-2)||this.Utils.in_array(C,this.Utils.single_token)?e||(this.tag_type="SINGLE"):y&&"{"===T.charAt(0)&&"else"===C?e||(this.indent_to_tag("if"),this.tag_type="HANDLEBARS_ELSE",this.indent_content=!0,this.traverse_whitespace()):this.is_unformatted(C,g)||this.is_unformatted(C,v)?(i=this.get_unformatted("",T),l.push(i),this.pos,this.tag_type="SINGLE"):"script"===C&&(-1===T.search("type")||T.search("type")>-1&&T.search(/\b(text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect)/)>-1)?e||(this.record_tag(C),this.tag_type="SCRIPT"):"style"===C&&(-1===T.search("type")||T.search("type")>-1&&T.search("text/css")>-1)?e||(this.record_tag(C),this.tag_type="STYLE"):"!"===C.charAt(0)?e||(this.tag_type="SINGLE",this.traverse_whitespace()):e||("/"===C.charAt(0)?(this.retrieve_tag(C.substring(1)),this.tag_type="END"):(this.record_tag(C),"html"!==C.toLowerCase()&&(this.indent_content=!0),this.tag_type="START"),this.traverse_whitespace()&&this.space_or_wrap(l),this.Utils.in_array(C,this.Utils.extra_liners)&&(this.print_newline(!1,this.output),this.output.length&&"\n"!==this.output[this.output.length-2]&&this.print_newline(!0,this.output))),e&&(this.pos=u,this.line_char_count=m),l.join("")},this.get_comment=function(e){var t="",n=">",a=!1;this.pos=e;var r=this.input.charAt(this.pos);for(this.pos++;this.pos<=this.input.length&&((t+=r).charAt(t.length-1)!==n.charAt(n.length-1)||-1===t.indexOf(n));)!a&&t.length<10&&(0===t.indexOf("",a=!0):0===t.indexOf("",a=!0):0===t.indexOf("",a=!0):0===t.indexOf("\x3c!--")?(n="--\x3e",a=!0):0===t.indexOf("{{!--")?(n="--}}",a=!0):0===t.indexOf("{{!")?5===t.length&&-1===t.indexOf("{{!--")&&(n="}}",a=!0):0===t.indexOf("",a=!0):0===t.indexOf("<%")&&(n="%>",a=!0)),r=this.input.charAt(this.pos),this.pos++;return t},this.get_unformatted=function(e,t){if(t&&-1!==t.toLowerCase().indexOf(e))return"";var n="",a="",r=!0,l=function(e){var t="";return{add:function(n){var a=t+n.toLowerCase();t=a.length<=e.length?a:a.substr(a.length-e.length,e.length)},doesNotMatch:function(){return-1===t.indexOf(e)}}}(e);do{if(this.pos>=this.input.length)return a;if(n=this.input.charAt(this.pos),this.pos++,this.Utils.in_array(n,this.Utils.whitespace)){if(!r){this.line_char_count--;continue}if("\n"===n||"\r"===n){a+="\n",this.line_char_count=0;continue}}a+=n,l.add(n),this.line_char_count++,r=!0,y&&"{"===n&&a.length&&"{"===a.charAt(a.length-2)&&(a+=this.get_unformatted("}}"))}while(l.doesNotMatch());return a},this.get_token=function(){var e;if("TK_TAG_SCRIPT"===this.last_token||"TK_TAG_STYLE"===this.last_token){var t=this.last_token.substr(7);return"string"!=typeof(e=this.get_contents_to(t))?e:[e,"TK_"+t]}return"CONTENT"===this.current_mode?"string"!=typeof(e=this.get_content())?e:[e,"TK_CONTENT"]:"TAG"===this.current_mode?"string"!=typeof(e=this.get_tag())?e:[e,"TK_TAG_"+this.tag_type]:void 0},this.get_full_indent=function(e){return(e=this.indent_level+e||0)<1?"":Array(e+1).join(this.indent_string)},this.is_unformatted=function(e,t){if(!this.Utils.in_array(e,t))return!1;if("a"!==e.toLowerCase()||!this.Utils.in_array("a",t))return!0;var n=(this.get_tag(!0)||"").match(/^\s*<\s*\/?([a-z]*)\s*[^>]*>\s*$/);return!(n&&!this.Utils.in_array(n[1],t))},this.printer=function(e,t,n,a,r){this.input=e||"",this.input=this.input.replace(/\r\n|[\r\u2028\u2029]/g,"\n"),this.output=[],this.indent_character=t,this.indent_string="",this.indent_size=n,this.brace_style=r,this.indent_level=0,this.wrap_line_length=a,this.line_char_count=0;for(var l=0;l0&&(e=o(e)),e&&""!==e&&(e.length>1&&"\n"===e.charAt(e.length-1)?(this.output.push(e.slice(0,-1)),this.print_newline(!1,this.output)):this.output.push(e));for(var t=0;t0,this.output);this.newlines=0},this.indent=function(){this.indent_level++},this.unindent=function(){this.indent_level>0&&this.indent_level--}},this}e=e||"",void 0!==(t=a(t=t||{},"html")).wrap_line_length&&0!==parseInt(t.wrap_line_length,10)||void 0===t.max_char||0===parseInt(t.max_char,10)||(t.wrap_line_length=t.max_char),s=void 0!==t.indent_inner_html&&t.indent_inner_html,u=void 0===t.indent_body_inner_html||t.indent_body_inner_html,m=void 0===t.indent_head_inner_html||t.indent_head_inner_html,d=void 0===t.indent_size?4:parseInt(t.indent_size,10),p=void 0===t.indent_char?" ":t.indent_char,h=void 0===t.brace_style?"collapse":t.brace_style,f=0===parseInt(t.wrap_line_length,10)?32786:parseInt(t.wrap_line_length||250,10),g=t.unformatted||["a","abbr","area","audio","b","bdi","bdo","br","button","canvas","cite","code","data","datalist","del","dfn","em","embed","i","iframe","img","input","ins","kbd","keygen","label","map","mark","math","meter","noscript","object","output","progress","q","ruby","s","samp","select","small","span","strong","sub","sup","svg","template","textarea","time","u","var","video","wbr","text","acronym","address","big","dt","ins","strike","tt"],v=t.content_unformatted||["pre"],b=void 0===t.preserve_newlines||t.preserve_newlines,E=b?isNaN(parseInt(t.max_preserve_newlines,10))?32786:parseInt(t.max_preserve_newlines,10):0,y=void 0!==t.indent_handlebars&&t.indent_handlebars,x=void 0===t.wrap_attributes?"auto":t.wrap_attributes,_=isNaN(parseInt(t.wrap_attributes_indent_size,10))?d:parseInt(t.wrap_attributes_indent_size,10),w="force"===x.substr(0,5),k="force-expand-multiline"===x,S="force-aligned"===x,N=void 0!==t.end_with_newline&&t.end_with_newline,T="object"==typeof t.extra_liners&&t.extra_liners?t.extra_liners.concat():"string"==typeof t.extra_liners?t.extra_liners.split(","):"head,body,/html".split(","),C=t.eol?t.eol:"auto",t.indent_with_tabs&&(p="\t",d=1),"auto"===C&&(C="\n",e&&l.test(e||"")&&(C=e.match(l)[0])),C=C.replace(/\\r/,"\r").replace(/\\n/,"\n"),e=e.replace(i,"\n"),this.beautify=function(){for((c=new F).printer(e,p,d,f,h);;){var a=c.get_token();if(c.token_text=a[0],c.token_type=a[1],"TK_EOF"===c.token_type)break;switch(c.token_type){case"TK_TAG_START":c.print_newline(!1,c.output),c.print_token(c.token_text),c.indent_content&&(!c.indent_body_inner_html&&c.token_text.match(//)||!c.indent_head_inner_html&&c.token_text.match(//)||c.indent(),c.indent_content=!1),c.current_mode="CONTENT";break;case"TK_TAG_STYLE":case"TK_TAG_SCRIPT":c.print_newline(!1,c.output),c.print_token(c.token_text),c.current_mode="CONTENT";break;case"TK_TAG_END":if("TK_CONTENT"===c.last_token&&""===c.last_text){var l=(c.token_text.match(/\w+/)||[])[0],i=null;c.output.length&&(i=c.output[c.output.length-1].match(/(?:<|{{#)\s*(\w+)/)),(null===i||i[1]!==l&&!c.Utils.in_array(i[1],g))&&c.print_newline(!1,c.output)}c.print_token(c.token_text),c.current_mode="CONTENT";break;case"TK_TAG_SINGLE":var o=c.token_text.match(/^\s*<([a-z-]+)/i);o&&c.Utils.in_array(o[1],g)||c.print_newline(!1,c.output),c.print_token(c.token_text),c.current_mode="CONTENT";break;case"TK_TAG_HANDLEBARS_ELSE":for(var s=!1,u=c.output.length-1;u>=0&&"\n"!==c.output[u];u--)if(c.output[u].match(/{{#if/)){s=!0;break}s||c.print_newline(!1,c.output),c.print_token(c.token_text),c.indent_content&&(c.indent(),c.indent_content=!1),c.current_mode="CONTENT";break;case"TK_TAG_HANDLEBARS_COMMENT":case"TK_CONTENT":c.print_token(c.token_text),c.current_mode="TAG";break;case"TK_STYLE":case"TK_SCRIPT":if(""!==c.token_text){c.print_newline(!1,c.output);var m,v=c.token_text,b=1;"TK_SCRIPT"===c.token_type?m="function"==typeof n&&n:"TK_STYLE"===c.token_type&&(m="function"==typeof r&&r),"keep"===t.indent_scripts?b=0:"separate"===t.indent_scripts&&(b=-c.indent_level);var E=c.get_full_indent(b);if(m){var y=function(){this.eol="\n"};y.prototype=t;var x=new y;v=m(v.replace(/^\s*/,E),x)}else{var _=v.match(/^\s*/)[0].match(/[^\n\r]*$/)[0].split(c.indent_string).length-1,w=c.get_full_indent(b-_);v=v.replace(/^\s*/,E).replace(/\r\n|\r|\n/g,"\n"+w).replace(/\s+$/,"")}v&&(c.print_token_raw(v),c.print_newline(!0,c.output))}c.current_mode="TAG";break;default:""!==c.token_text&&c.print_token(c.token_text)}c.last_token=c.token_type,c.last_text=c.token_text}var k=c.output.join("").replace(/[\r\n\t ]+$/,"");return N&&(k+="\n"),"\n"!==C&&(k=k.replace(/[\n]/g,C)),k}}},function(e,t){var n="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",a=new RegExp("["+n+"]"),r=new RegExp("["+n+"̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-ۨۻ-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-ࠧࠩ-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-ୠ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‌‍‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍-﹏0-9_]");t.newline=/[\n\r\u2028\u2029]/,t.lineBreak=new RegExp("\r\n|"+t.newline.source),t.allLineBreaks=new RegExp(t.lineBreak.source,"g"),t.isIdentifierStart=function(e){return e<65?36===e||64===e:e<91||(e<97?95===e:e<123||e>=170&&a.test(String.fromCharCode(e)))},t.isIdentifierChar=function(e){return e<48?36===e:e<58||!(e<65)&&(e<91||(e<97?95===e:e<123||e>=170&&r.test(String.fromCharCode(e))))}},function(e,t){e.exports.mergeOpts=function(e,t){var n,a={};for(n in e)n!==t&&(a[n]=e[n]);if(t in e)for(n in e[t])a[n]=e[t][n];return a}},function(e,t,n){var a=n(0).Beautifier;e.exports=function(e,t,n,r){return new a(e,t,n,r).beautify()}}]),i=l,a=[n,n(617),n(3)],void 0===(r=function(e){var t=n(617),a=n(3);return{html_beautify:function(e,n){return i(e,n,t.js_beautify,a.css_beautify)}}}.apply(t,a))||(e.exports=r)},617:function(e,t){var n,a,r;a=function(e){var t={};function n(a){if(t[a])return t[a].exports;var r=t[a]={i:a,l:!1,exports:{}};return e[a].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.i=function(e){return e},n.d=function(e,t,a){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:a})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=6)}([function(e,t){var n="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",a=new RegExp("["+n+"]"),r=new RegExp("["+n+"̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-ۨۻ-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-ࠧࠩ-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-ୠ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‌‍‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍-﹏0-9_]");t.newline=/[\n\r\u2028\u2029]/,t.lineBreak=new RegExp("\r\n|"+t.newline.source),t.allLineBreaks=new RegExp(t.lineBreak.source,"g"),t.isIdentifierStart=function(e){return e<65?36===e||64===e:e<91||(e<97?95===e:e<123||e>=170&&a.test(String.fromCharCode(e)))},t.isIdentifierChar=function(e){return e<48?36===e:e<58||!(e<65)&&(e<91||(e<97?95===e:e<123||e>=170&&r.test(String.fromCharCode(e))))}},function(e,t,n){var a=n(3).mergeOpts,r=n(0),l=n(4).Output,i=n(7).Tokenizer;function o(e,t){if(!t.multiline_frame&&t.mode!==d.ForInitializer&&t.mode!==d.Conditional){var n=t.start_line_index;e.remove_indent(n)}}function c(e,t){for(var n=0;na&&(a=e.line_indent_level)),{mode:t,parent:e,last_text:e?e.last_text:"",last_word:e?e.last_word:"",declaration_statement:!1,declaration_assignment:!1,multiline_frame:!1,inline_frame:!1,if_block:!1,else_block:!1,do_block:!1,do_while:!1,import_block:!1,in_case_statement:!1,in_case:!1,case_body:!1,indentation_level:a,line_indent_level:e?e.line_indent_level:a,start_line_index:n.get_line_number(),ternary_depth:0}}w={TK_START_EXPR:function(){U()||I(h);var e=d.Expression;if("["===h.text){if("TK_WORD"===g||")"===E.last_text)return"TK_RESERVED"===g&&c(E.last_text,f.line_starters)&&(n.space_before_token=!0),z(e),P(),j(),void(k.space_in_paren&&(n.space_before_token=!0));e=d.ArrayLiteral,M(E.mode)&&("["!==E.last_text&&(","!==E.last_text||"]"!==v&&"}"!==v)||k.keep_array_indentation||L())}else"TK_RESERVED"===g&&"for"===E.last_text?e=d.ForInitializer:"TK_RESERVED"===g&&c(E.last_text,["if","while"])&&(e=d.Conditional);";"===E.last_text||"TK_START_BLOCK"===g?L():"TK_END_EXPR"===g||"TK_START_EXPR"===g||"TK_END_BLOCK"===g||"."===E.last_text?O(h.wanted_newline):"TK_RESERVED"===g&&"("===h.text||"TK_WORD"===g||"TK_OPERATOR"===g?"TK_RESERVED"===g&&("function"===E.last_word||"typeof"===E.last_word)||"*"===E.last_text&&(c(v,["function","yield"])||E.mode===d.ObjectLiteral&&c(v,["{",","]))?k.space_after_anon_function&&(n.space_before_token=!0):"TK_RESERVED"!==g||!c(E.last_text,f.line_starters)&&"catch"!==E.last_text||k.space_before_conditional&&(n.space_before_token=!0):n.space_before_token=!0,"("===h.text&&"TK_RESERVED"===g&&c(E.last_word,["await","async"])&&(n.space_before_token=!0),"("===h.text&&("TK_EQUALS"!==g&&"TK_OPERATOR"!==g||V()||O()),"("===h.text&&"TK_WORD"!==g&&"TK_RESERVED"!==g&&O(),z(e),P(),k.space_in_paren&&(n.space_before_token=!0),j()},TK_END_EXPR:function(){for(;E.mode===d.Statement;)q();I(h),E.multiline_frame&&O("]"===h.text&&M(E.mode)&&!k.keep_array_indentation),k.space_in_paren&&("TK_START_EXPR"!==g||k.space_in_empty_paren?n.space_before_token=!0:(n.trim(),n.space_before_token=!1)),"]"===h.text&&k.keep_array_indentation?(P(),q()):(q(),P()),o(n,y),E.do_while&&y.mode===d.Conditional&&(y.mode=d.Expression,E.do_block=!1,E.do_while=!1)},TK_START_BLOCK:function(){I(h);var e=K(1),t=K(2);t&&(c(t.text,[":",","])&&c(e.type,["TK_STRING","TK_WORD","TK_RESERVED"])||c(e.text,["get","set","..."])&&c(t.type,["TK_WORD","TK_RESERVED"]))?c(v,["class","interface"])?z(d.BlockStatement):z(d.ObjectLiteral):"TK_OPERATOR"===g&&"=>"===E.last_text?z(d.BlockStatement):c(g,["TK_EQUALS","TK_START_EXPR","TK_COMMA","TK_OPERATOR"])||"TK_RESERVED"===g&&c(E.last_text,["return","throw","import","default"])?z(d.ObjectLiteral):z(d.BlockStatement);var a=!e.comments_before.length&&"}"===e.text&&"function"===E.last_word&&"TK_END_EXPR"===g;if(k.brace_preserve_inline){var r=0,l=null;E.inline_frame=!0;do{if((l=K(r+=1)).wanted_newline){E.inline_frame=!1;break}}while("TK_EOF"!==l.type&&("TK_END_BLOCK"!==l.type||l.opened!==h))}("expand"===k.brace_style||"none"===k.brace_style&&h.wanted_newline)&&!E.inline_frame?"TK_OPERATOR"!==g&&(a||"TK_EQUALS"===g||"TK_RESERVED"===g&&H(E.last_text)&&"else"!==E.last_text)?n.space_before_token=!0:L(!1,!0):(!M(y.mode)||"TK_START_EXPR"!==g&&"TK_COMMA"!==g||(("TK_COMMA"===g||k.space_in_paren)&&(n.space_before_token=!0),("TK_COMMA"===g||"TK_START_EXPR"===g&&E.inline_frame)&&(O(),y.multiline_frame=y.multiline_frame||E.multiline_frame,E.multiline_frame=!1)),"TK_OPERATOR"!==g&&"TK_START_EXPR"!==g&&("TK_START_BLOCK"!==g||E.inline_frame?n.space_before_token=!0:L())),P(),j()},TK_END_BLOCK:function(){for(I(h);E.mode===d.Statement;)q();var e="TK_START_BLOCK"===g;E.inline_frame&&!e?n.space_before_token=!0:"expand"===k.brace_style?e||L():e||(M(E.mode)&&k.keep_array_indentation?(k.keep_array_indentation=!1,L(),k.keep_array_indentation=!0):L()),q(),P()},TK_WORD:G,TK_RESERVED:G,TK_SEMICOLON:function(){U()?n.space_before_token=!1:I(h);for(var e=K(1);!(E.mode!==d.Statement||E.if_block&&e&&"TK_RESERVED"===e.type&&"else"===e.text||E.do_block);)q();E.import_block&&(E.import_block=!1),P()},TK_STRING:function(){U()?n.space_before_token=!0:(I(h),"TK_RESERVED"===g||"TK_WORD"===g||E.inline_frame?n.space_before_token=!0:"TK_COMMA"===g||"TK_START_EXPR"===g||"TK_EQUALS"===g||"TK_OPERATOR"===g?V()||O():L()),P()},TK_EQUALS:function(){U()||I(h),E.declaration_statement&&(E.declaration_assignment=!0),n.space_before_token=!0,P(),n.space_before_token=!0},TK_OPERATOR:function(){var e="*"===h.text&&("TK_RESERVED"===g&&c(E.last_text,["function","yield"])||c(g,["TK_START_BLOCK","TK_COMMA","TK_END_BLOCK","TK_SEMICOLON"])),t=c(h.text,["-","+"])&&(c(g,["TK_START_BLOCK","TK_START_EXPR","TK_EQUALS","TK_OPERATOR"])||c(E.last_text,f.line_starters)||","===E.last_text);if(U()||I(h,!e),"TK_RESERVED"===g&&H(E.last_text))return n.space_before_token=!0,void P();if("*"!==h.text||"TK_DOT"!==g)if("::"!==h.text){if("TK_OPERATOR"===g&&c(k.operator_position,m)&&O(),":"===h.text&&E.in_case)return E.case_body=!0,j(),P(),L(),void(E.in_case=!1);var a=!0,r=!0,l=!1;if(":"===h.text?0===E.ternary_depth?a=!1:(E.ternary_depth-=1,l=!0):"?"===h.text&&(E.ternary_depth+=1),!t&&!e&&k.preserve_newlines&&c(h.text,f.positionable_operators)){var i=":"===h.text,o=i&&l,s=i&&!l;switch(k.operator_position){case u.before_newline:return n.space_before_token=!s,P(),i&&!o||O(),void(n.space_before_token=!0);case u.after_newline:return n.space_before_token=!0,!i||o?K(1).wanted_newline?L(!1,!0):O():n.space_before_token=!1,P(),void(n.space_before_token=!0);case u.preserve_newline:return s||O(),a=!(n.just_added_newline()||s),n.space_before_token=a,P(),void(n.space_before_token=!0)}}if(e){O(),a=!1;var p=K(1);r=p&&c(p.type,["TK_WORD","TK_RESERVED"])}else"..."===h.text?(O(),a="TK_START_BLOCK"===g,r=!1):(c(h.text,["--","++","!","~"])||t)&&(a=!1,r=!1,!h.wanted_newline||"--"!==h.text&&"++"!==h.text||L(!1,!0),";"===E.last_text&&B(E.mode)&&(a=!0),"TK_RESERVED"===g?a=!0:"TK_END_EXPR"===g?a=!("]"===E.last_text&&("--"===h.text||"++"===h.text)):"TK_OPERATOR"===g&&(a=c(h.text,["--","-","++","+"])&&c(E.last_text,["--","-","++","+"]),c(h.text,["+","-"])&&c(E.last_text,["--","++"])&&(r=!0)),(E.mode!==d.BlockStatement||E.inline_frame)&&E.mode!==d.Statement||"{"!==E.last_text&&";"!==E.last_text||L());n.space_before_token=n.space_before_token||a,P(),n.space_before_token=r}else P();else P()},TK_COMMA:function(){I(h,!0),P(),n.space_before_token=!0,E.declaration_statement?(B(E.parent.mode)&&(E.declaration_assignment=!1),E.declaration_assignment?(E.declaration_assignment=!1,L(!1,!0)):k.comma_first&&O()):E.mode===d.ObjectLiteral||E.mode===d.Statement&&E.parent.mode===d.ObjectLiteral?(E.mode===d.Statement&&q(),E.inline_frame||L()):k.comma_first&&O()},TK_BLOCK_COMMENT:function(e){if(n.raw)return n.add_raw_token(h),void(h.directives&&"end"===h.directives.preserve&&(n.raw=k.test_output_raw));if(h.directives)return L(!1,e),P(),"start"===h.directives.preserve&&(n.raw=!0),void L(!1,!0);if(!r.newline.test(h.text)&&!h.wanted_newline)return n.space_before_token=!0,P(),void(n.space_before_token=!0);var t,a=function(e){for(var t=[],n=(e=e.replace(r.allLineBreaks,"\n")).indexOf("\n");-1!==n;)t.push(e.substring(0,n)),n=(e=e.substring(n+1)).indexOf("\n");return e.length&&t.push(e),t}(h.text),l=!1,i=!1,o=h.whitespace_before,c=o.length;for(L(!1,e),a.length>1&&(l=function(e){for(var t=0;tc?P(a[t].substring(c)):n.add_token(a[t]);L(!1,e)},TK_COMMENT:function(e){h.wanted_newline?L(!1,e):n.trim(!0),n.space_before_token=!0,P(),L(!1,e)},TK_DOT:function(){U()||I(h,!0),"TK_RESERVED"===g&&H(E.last_text)?n.space_before_token=!0:O(")"===E.last_text&&k.break_chained_methods),P()},TK_UNKNOWN:function(e){P(),"\n"===h.text[h.text.length-1]&&L(!1,e)},TK_EOF:function(){for(;E.mode===d.Statement;)q();I(h)}},t=a(t=t||{},"js"),k={},"expand-strict"===t.brace_style?t.brace_style="expand":"collapse-preserve-inline"===t.brace_style?t.brace_style="collapse,preserve-inline":void 0!==t.braces_on_own_line?t.brace_style=t.braces_on_own_line?"expand":"collapse":t.brace_style||(t.brace_style="collapse");var C=t.brace_style.split(/[^a-zA-Z0-9_\-]+/);k.brace_preserve_inline=!1,k.brace_style="collapse";for(var F=0;F0;)b+=k.indent_char,k.indent_size-=1;var R=0;if(e&&e.length){for(;" "===e.charAt(R)||"\t"===e.charAt(R);)R+=1;N=e.substring(0,R),e=e.substring(R)}function I(e,t){for(var n=e.newlines,a=k.keep_array_indentation&&M(E.mode),r=h,l=0;l0,t);else if(k.max_preserve_newlines&&n>k.max_preserve_newlines&&(n=k.max_preserve_newlines),k.preserve_newlines&&e.newlines>1){L(!1,t);for(var o=1;o=k.wrap_line_length&&L(!1,!0)}}}function L(e,t){if(!t&&";"!==E.last_text&&","!==E.last_text&&"="!==E.last_text&&"TK_OPERATOR"!==g)for(var a=K(1);!(E.mode!==d.Statement||E.if_block&&a&&"TK_RESERVED"===a.type&&"else"===a.text||E.do_block);)q();n.add_new_line(e)&&(E.multiline_frame=!0)}function D(){n.just_added_newline()&&(k.keep_array_indentation&&M(E.mode)&&h.wanted_newline?(n.current_line.push(h.whitespace_before),n.space_before_token=!1):n.set_indent(E.indentation_level)&&(E.line_indent_level=E.indentation_level))}function P(e){if(n.raw)n.add_raw_token(h);else{if(k.comma_first&&"TK_COMMA"===g&&n.just_added_newline()&&","===n.previous_line.last()){var t=n.previous_line.pop();n.previous_line.is_empty()&&(n.previous_line.push(t),n.trim(!0),n.current_line.pop(),n.trim()),D(),n.add_token(","),n.space_before_token=!0}e=e||h.text,D(),n.add_token(e)}}function j(){E.indentation_level+=1}function z(e){E?(x.push(E),y=E):y=T(null,e),E=T(y,e)}function M(e){return e===d.ArrayLiteral}function B(e){return c(e,[d.Expression,d.ForInitializer,d.Conditional])}function q(){x.length>0&&(y=E,E=x.pop(),y.mode!==d.Statement||k.unindent_chained_methods||o(n,y))}function V(){return E.parent.mode===d.ObjectLiteral&&E.mode===d.Statement&&(":"===E.last_text&&0===E.ternary_depth||"TK_RESERVED"===g&&c(E.last_text,["get","set"]))}function U(){return!!("TK_RESERVED"===g&&c(E.last_text,["var","let","const"])&&"TK_WORD"===h.type||"TK_RESERVED"===g&&"do"===E.last_text||"TK_RESERVED"===g&&c(E.last_text,A)&&!h.wanted_newline||"TK_RESERVED"===g&&"else"===E.last_text&&("TK_RESERVED"!==h.type||"if"!==h.text||h.comments_before.length)||"TK_END_EXPR"===g&&(y.mode===d.ForInitializer||y.mode===d.Conditional)||"TK_WORD"===g&&E.mode===d.BlockStatement&&!E.in_case&&"--"!==h.text&&"++"!==h.text&&"function"!==v&&"TK_WORD"!==h.type&&"TK_RESERVED"!==h.type||E.mode===d.ObjectLiteral&&(":"===E.last_text&&0===E.ternary_depth||"TK_RESERVED"===g&&c(E.last_text,["get","set"])))&&(z(d.Statement),k.unindent_chained_methods||j(),I(h,!0),V()||O("TK_RESERVED"===h.type&&c(h.text,["do","for","if","while"])),!0)}function H(e){return c(e,["case","return","do","if","throw","else"])}function K(e){var t=p+(e||0);return t<0||t>=S.length?null:S[t]}function G(){if("TK_RESERVED"===h.type&&(c(h.text,["set","get"])&&E.mode!==d.ObjectLiteral||c(h.text,["as","from"])&&!E.import_block||E.mode===d.ObjectLiteral&&":"===K(1).text)&&(h.type="TK_WORD"),U()?"TK_RESERVED"===g&&c(E.last_text,["var","let","const"])&&"TK_WORD"===h.type&&(E.declaration_statement=!0):!h.wanted_newline||B(E.mode)||"TK_OPERATOR"===g&&"--"!==E.last_text&&"++"!==E.last_text||"TK_EQUALS"===g||!k.preserve_newlines&&"TK_RESERVED"===g&&c(E.last_text,["var","let","const","set","get"])?I(h):(I(h),L()),E.do_block&&!E.do_while){if("TK_RESERVED"===h.type&&"while"===h.text)return n.space_before_token=!0,P(),n.space_before_token=!0,void(E.do_while=!0);L(),E.do_block=!1}if(E.if_block)if(E.else_block||"TK_RESERVED"!==h.type||"else"!==h.text){for(;E.mode===d.Statement;)q();E.if_block=!1,E.else_block=!1}else E.else_block=!0;return"TK_RESERVED"===h.type&&("case"===h.text||"default"===h.text&&E.in_case_statement)?(L(),(E.case_body||k.jslint_happy)&&(E.indentation_level>0&&(!E.parent||E.indentation_level>E.parent.indentation_level)&&(E.indentation_level-=1),E.case_body=!1),P(),E.in_case=!0,void(E.in_case_statement=!0)):("TK_COMMA"!==g&&"TK_START_EXPR"!==g&&"TK_EQUALS"!==g&&"TK_OPERATOR"!==g||V()||O(),"TK_RESERVED"===h.type&&"function"===h.text?((c(E.last_text,["}",";"])||n.just_added_newline()&&!c(E.last_text,["(","[","{",":","=",","])&&"TK_OPERATOR"!==g)&&(n.just_added_blankline()||h.comments_before.length||(L(),L(!0))),"TK_RESERVED"===g||"TK_WORD"===g?"TK_RESERVED"===g&&(c(E.last_text,["get","set","new","export","async"])||c(E.last_text,A))||"TK_RESERVED"===g&&"default"===E.last_text&&"export"===v?n.space_before_token=!0:L():"TK_OPERATOR"===g||"="===E.last_text?n.space_before_token=!0:(E.multiline_frame||!B(E.mode)&&!M(E.mode))&&L(),P(),void(E.last_word=h.text)):(_="NONE","TK_END_BLOCK"===g?y.inline_frame?_="SPACE":"TK_RESERVED"===h.type&&c(h.text,["else","catch","finally","from"])?"expand"===k.brace_style||"end-expand"===k.brace_style||"none"===k.brace_style&&h.wanted_newline?_="NEWLINE":(_="SPACE",n.space_before_token=!0):_="NEWLINE":"TK_SEMICOLON"===g&&E.mode===d.BlockStatement?_="NEWLINE":"TK_SEMICOLON"===g&&B(E.mode)?_="SPACE":"TK_STRING"===g?_="NEWLINE":"TK_RESERVED"===g||"TK_WORD"===g||"*"===E.last_text&&(c(v,["function","yield"])||E.mode===d.ObjectLiteral&&c(v,["{",","]))?_="SPACE":"TK_START_BLOCK"===g?_=E.inline_frame?"SPACE":"NEWLINE":"TK_END_EXPR"===g&&(n.space_before_token=!0,_="NEWLINE"),"TK_RESERVED"===h.type&&c(h.text,f.line_starters)&&")"!==E.last_text&&(_=E.inline_frame||"else"===E.last_text||"export"===E.last_text?"SPACE":"NEWLINE"),"TK_RESERVED"===h.type&&c(h.text,["else","catch","finally"])?("TK_END_BLOCK"!==g||y.mode!==d.BlockStatement||"expand"===k.brace_style||"end-expand"===k.brace_style||"none"===k.brace_style&&h.wanted_newline)&&!E.inline_frame?L():(n.trim(!0),"}"!==n.current_line.last()&&L(),n.space_before_token=!0):"NEWLINE"===_?"TK_RESERVED"===g&&H(E.last_text)?n.space_before_token=!0:"TK_END_EXPR"!==g?"TK_START_EXPR"===g&&"TK_RESERVED"===h.type&&c(h.text,["var","let","const"])||":"===E.last_text||("TK_RESERVED"===h.type&&"if"===h.text&&"else"===E.last_text?n.space_before_token=!0:L()):"TK_RESERVED"===h.type&&c(h.text,f.line_starters)&&")"!==E.last_text&&L():E.multiline_frame&&M(E.mode)&&","===E.last_text&&"}"===v?L():"SPACE"===_&&(n.space_before_token=!0),P(),E.last_word=h.text,void("TK_RESERVED"===h.type&&("do"===h.text?E.do_block=!0:"if"===h.text?E.if_block=!0:"import"===h.text?E.import_block=!0:E.import_block&&"TK_RESERVED"===h.type&&"from"===h.text&&(E.import_block=!1)))))}}},function(e,t){e.exports.InputScanner=function(e){var t=e,n=t.length,a=0;this.back=function(){a-=1},this.hasNext=function(){return a=0&&e=0&&e0&&(n-=1,t-=e.indent_length)},this.trim=function(){for(;" "===this.last();)a.pop(),t-=1;r=0===a.length},this.toString=function(){var t="";return this._empty||(n>=0&&(t=e.indent_cache[n]),t+=a.join("")),t}}e.exports.Output=function(e,t){t=t||"",this.indent_cache=[t],this.baseIndentLength=t.length,this.indent_length=e.length,this.raw=!1;var a=[];this.baseIndentString=t,this.indent_string=e,this.previous_line=null,this.current_line=null,this.space_before_token=!1,this.add_outputline=function(){this.previous_line=this.current_line,this.current_line=new n(this),a.push(this.current_line)},this.add_outputline(),this.get_line_number=function(){return a.length},this.add_new_line=function(e){return!(1===this.get_line_number()&&this.just_added_newline()||!e&&this.just_added_newline()||(this.raw||this.add_outputline(),0))},this.get_code=function(e,t){var n=a.join("\n").replace(/[\r\n\t ]+$/,"");return e&&(n+="\n"),"\n"!==t&&(n=n.replace(/[\n]/g,t)),n},this.set_indent=function(e){if(a.length>1){for(;e>=this.indent_cache.length;)this.indent_cache.push(this.indent_cache[this.indent_cache.length-1]+this.indent_string);return this.current_line.set_indent(e),!0}return this.current_line.set_indent(0),!1},this.add_raw_token=function(e){for(var t=0;t1&&this.current_line.is_empty();)a.pop(),this.current_line=a[a.length-1],this.current_line.trim();this.previous_line=a.length>1?a[a.length-2]:null},this.just_added_newline=function(){return this.current_line.is_empty()},this.just_added_blankline=function(){return!!this.just_added_newline()&&(1===a.length||a[a.length-2].is_empty())}}},function(e,t){e.exports.Token=function(e,t,n,a,r){this.type=e,this.text=t,this.comments_before=[],this.comments_after=[],this.newlines=n||0,this.wanted_newline=n>0,this.whitespace_before=a||"",this.parent=r||null,this.opened=null,this.directives=null}},function(e,t,n){var a=n(1).Beautifier;e.exports=function(e,t){return new a(e,t).beautify()}},function(e,t,n){var a=n(2).InputScanner,r=n(5).Token,l=n(0);function i(e,t){for(var n=0;n >= >> >>> ? ^ | ||".split(" ");var m=this.positionable_operators.concat("! %= &= *= **= ++ += , -- -= /= :: <<= = => >>= >>>= ^= |= ~ ...".split(" "));this.line_starters="continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export".split(",");var d,p,f,h,g,v=this.line_starters.concat(["do","in","of","else","get","set","new","catch","finally","typeof","yield","async","await","from","as"]),b=/([\s\S]*?)((?:\*\/)|$)/g,E=/([^\n\r\u2028\u2029]*)/g,y=/\/\* beautify( \w+[:]\w+)+ \*\//g,x=/ (\w+)[:](\w+)/g,_=/([\s\S]*?)((?:\/\*\sbeautify\signore:end\s\*\/)|$)/g,w=/((<\?php|<\?=)[\s\S]*?\?>)|(<%[\s\S]*?%>)/g;function k(){var e,k=[];d=0,p="";var S,N=g.next();if(null===N)return["","TK_EOF"];for(S=h.length?h[h.length-1]:new r("TK_START_BLOCK","{");i(N,n);)if(l.newline.test(N)?"\n"===N&&"\r"===g.peek(-2)||(d+=1,k=[]):k.push(N),null===(N=g.next()))return["","TK_EOF"];if(k.length&&(p=k.join("")),o.test(N)||"."===N&&g.testChar(o)){var T=!0,C=!0,F=o;for("0"===N&&g.testChar(/[XxOoBb]/)?(T=!1,C=!1,F=g.testChar(/[Bb]/)?c:g.testChar(/[Oo]/)?s:u,N+=g.next()):"."===N?T=!1:(N="",g.back());g.testChar(F);)N+=g.next(),T&&"."===g.peek()&&(N+=g.next(),T=!1),C&&g.testChar(/[Ee]/)&&(N+=g.next(),g.testChar(/[+-]/)&&(N+=g.next()),C=!1,T=!1);return[N,"TK_WORD"]}if(l.isIdentifierStart(g.peekCharCode(-1))){if(g.hasNext())for(;l.isIdentifierChar(g.peekCharCode())&&(N+=g.next(),g.hasNext()););return"TK_DOT"===S.type||"TK_RESERVED"===S.type&&i(S.text,["set","get"])||!i(N,v)?[N,"TK_WORD"]:"in"===N||"of"===N?[N,"TK_OPERATOR"]:[N,"TK_RESERVED"]}if("("===N||"["===N)return[N,"TK_START_EXPR"];if(")"===N||"]"===N)return[N,"TK_END_EXPR"];if("{"===N)return[N,"TK_START_BLOCK"];if("}"===N)return[N,"TK_END_BLOCK"];if(";"===N)return[N,"TK_SEMICOLON"];if("/"===N){var R="";if("*"===g.peek()){g.next();var I=function(e){if(!e.match(y))return null;var t={};x.lastIndex=0;for(var n=x.exec(e);n;)t[n[1]]=n[2],n=x.exec(e);return t}(R="/*"+g.match(b)[0]);return I&&"start"===I.ignore&&(R+=g.match(_)[0]),[R=R.replace(l.allLineBreaks,"\n"),"TK_BLOCK_COMMENT",I]}if("/"===g.peek())return g.next(),[R="//"+g.match(E)[0],"TK_COMMENT"]}var A,O=/<()([-a-zA-Z:0-9_.]+|{[\s\S]+?}|!\[CDATA\[[\s\S]*?\]\])(\s+{[\s\S]+?}|\s+[-a-zA-Z:0-9_.]+|\s+[-a-zA-Z:0-9_.]+\s*=\s*('[^']*'|"[^"]*"|{[\s\S]+?}))*\s*(\/?)\s*>/g;if("`"===N||"'"===N||'"'===N||("/"===N||t.e4x&&"<"===N&&g.test(O,-1))&&("TK_RESERVED"===S.type&&i(S.text,["return","case","throw","else","do","typeof","yield"])||"TK_END_EXPR"===S.type&&")"===S.text&&S.parent&&"TK_RESERVED"===S.parent.type&&i(S.parent.text,["if","while","for"])||i(S.type,["TK_COMMENT","TK_START_EXPR","TK_START_BLOCK","TK_END_BLOCK","TK_OPERATOR","TK_EQUALS","TK_EOF","TK_SEMICOLON","TK_COMMA"]))){var L=N,D=!1,P=!1;if(e=N,"/"===L)for(var j=!1;g.hasNext()&&(D||j||g.peek()!==L)&&!g.testChar(l.newline);)e+=g.peek(),D?D=!1:(D="\\"===g.peek(),"["===g.peek()?j=!0:"]"===g.peek()&&(j=!1)),g.next();else if(t.e4x&&"<"===L){var z=/[\s\S]*?<(\/?)([-a-zA-Z:0-9_.]+|{[\s\S]+?}|!\[CDATA\[[\s\S]*?\]\])(\s+{[\s\S]+?}|\s+[-a-zA-Z:0-9_.]+|\s+[-a-zA-Z:0-9_.]+\s*=\s*('[^']*'|"[^"]*"|{[\s\S]+?}))*\s*(\/?)\s*>/g;g.back();var M="",B=g.match(O);if(B){for(var q=B[2].replace(/^{\s+/,"{").replace(/\s+}$/,"}"),V=0===q.indexOf("{"),U=0;B;){var H=!!B[1],K=B[2];if(!(B[B.length-1]||"![CDATA["===K.slice(0,8))&&(K===q||V&&K.replace(/^{\s+/,"{").replace(/\s+}$/,"}"))&&(H?--U:++U),M+=B[0],U<=0)break;B=g.match(z)}return B||(M+=g.match(/[\s\S]*/g)[0]),[M=M.replace(l.allLineBreaks,"\n"),"TK_STRING"]}}else{var G=function(t,n,a){for(var r;g.hasNext()&&(r=g.peek(),D||r!==t&&(n||!l.newline.test(r)));)(D||n)&&l.newline.test(r)?("\r"===r&&"\n"===g.peek(1)&&(g.next(),r=g.peek()),e+="\n"):e+=r,D?("x"!==r&&"u"!==r||(P=!0),D=!1):D="\\"===r,g.next(),a&&-1!==e.indexOf(a,e.length-a.length)&&("`"===t?G("}",n,"`"):G("`",n,"${"),g.hasNext()&&(e+=g.next()))};"`"===L?G("`",!0,"${"):G(L)}if(P&&t.unescape_strings&&(e=function(e){for(var t="",n=0,r=new a(e),l=null;r.hasNext();)if((l=r.match(/([\s]|[^\\]|\\\\)+/g))&&(t+=l[0]),"\\"===r.peek()){if(r.next(),"x"===r.peek())l=r.match(/x([0-9A-Fa-f]{2})/g);else{if("u"!==r.peek()){t+="\\",r.hasNext()&&(t+=r.next());continue}l=r.match(/u([0-9A-Fa-f]{4})/g)}if(!l)return e;if((n=parseInt(l[1],16))>126&&n<=255&&0===l[0].indexOf("x"))return e;if(n>=0&&n<32){t+="\\"+l[0];continue}t+=34===n||39===n||92===n?"\\"+String.fromCharCode(n):String.fromCharCode(n)}return t}(e)),g.peek()===L&&(e+=L,g.next(),"/"===L))for(;g.hasNext()&&l.isIdentifierStart(g.peekCharCode());)e+=g.next();return[e,"TK_STRING"]}if("#"===N){if(0===h.length&&"!"===g.peek()){for(e=N;g.hasNext()&&"\n"!==N;)N=g.next(),e+=N;return[(A=e,A.replace(/^\s+|\s+$/g,"")+"\n"),"TK_UNKNOWN"]}var W="#";if(g.hasNext()&&g.testChar(o)){do{W+=N=g.next()}while(g.hasNext()&&"#"!==N&&"="!==N);return"#"===N||("["===g.peek()&&"]"===g.peek(1)?(W+="[]",g.next(),g.next()):"{"===g.peek()&&"}"===g.peek(1)&&(W+="{}",g.next(),g.next())),[W,"TK_WORD"]}}if("<"===N&&("?"===g.peek()||"%"===g.peek())){g.back();var $=g.match(w);if($)return[N=(N=$[0]).replace(l.allLineBreaks,"\n"),"TK_STRING"]}if("<"===N&&g.match(/\!--/g)){for(N="\x3c!--";g.hasNext()&&!g.testChar(l.newline);)N+=g.next();return f=!0,[N,"TK_COMMENT"]}if("-"===N&&f&&g.match(/->/g))return f=!1,["--\x3e","TK_COMMENT"];if("."===N)return"."===g.peek()&&"."===g.peek(1)?[N+=g.next()+g.next(),"TK_OPERATOR"]:[N,"TK_DOT"];if(i(N,m)){for(;g.hasNext()&&i(N+g.peek(),m)&&(N+=g.next(),g.hasNext()););return","===N?[N,"TK_COMMA"]:"="===N?[N,"TK_EQUALS"]:[N,"TK_OPERATOR"]}return[N,"TK_UNKNOWN"]}this.tokenize=function(){var t,n,l;g=new a(e),f=!1,h=[];for(var i=null,o=[],c=[];!n||"TK_EOF"!==n.type;){for(l=k(),t=new r(l[1],l[0],d,p);"TK_COMMENT"===t.type||"TK_BLOCK_COMMENT"===t.type||"TK_UNKNOWN"===t.type;)"TK_BLOCK_COMMENT"===t.type&&(t.directives=l[2]),c.push(t),l=k(),t=new r(l[1],l[0],d,p);c.length&&(t.comments_before=c,c=[]),"TK_START_BLOCK"===t.type||"TK_START_EXPR"===t.type?(t.parent=n,o.push(i),i=t):("TK_END_BLOCK"===t.type||"TK_END_EXPR"===t.type)&&i&&("]"===t.text&&"["===i.text||")"===t.text&&"("===i.text||"}"===t.text&&"{"===i.text)&&(t.parent=i.parent,t.opened=i,i=o.pop()),h.push(t),n=t}return h}}}]),r=a,void 0===(n=function(){return{js_beautify:r}}.apply(t,[]))||(e.exports=n)},694:function(e,t,n){"use strict";var a=n(925);function r(){}function l(){}l.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,l,i){if(i!==a){var o=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw o.name="Invariant Violation",o}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:l,resetWarningCache:r};return n.PropTypes=n,n}},556:function(e,t,n){e.exports=n(694)()},925:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},264:function(e,t,n){"use strict";function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.CopyToClipboard=void 0;var r=o(n(540)),l=o(n(965)),i=["text","onCopy","options","children"];function o(e){return e&&e.__esModule?e:{default:e}}function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function s(e){for(var t=1;t=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(e,i),a=r.default.Children.only(t);return r.default.cloneElement(a,s(s({},n),{},{onClick:this.onClick}))}}])&&u(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),g}(r.default.PureComponent);t.CopyToClipboard=h,f(h,"defaultProps",{onCopy:void 0,options:void 0})},399:function(e,t,n){"use strict";var a=n(264).CopyToClipboard;a.CopyToClipboard=a,e.exports=a},633:function(e,t,n){"use strict";var a=n(540);function r(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n