diff --git a/css/acms-admin-new.css b/acmscss/acms-admin-new.css similarity index 100% rename from css/acms-admin-new.css rename to acmscss/acms-admin-new.css diff --git a/css/acms-admin.css b/acmscss/acms-admin.css similarity index 100% rename from css/acms-admin.css rename to acmscss/acms-admin.css diff --git a/src/css/custom-field-maker.css b/css/custom-field-maker.css similarity index 68% rename from src/css/custom-field-maker.css rename to css/custom-field-maker.css index 7f6884e..bafc557 100644 --- a/src/css/custom-field-maker.css +++ b/css/custom-field-maker.css @@ -1,3 +1,145 @@ +.customFieldContainer { + display: grid; + grid-template-columns: repeat(1, minmax(0, 1fr)); + gap: 64px; +} + +.customFieldContainer h2 { + color: #333; + margin: 0; + font-size: 20px; + margin-bottom: 1em; +} + +/* ジェネレーター:全体 +-------------------------------------- */ +.customFieldFunction { + display: grid; + grid-template-columns: repeat(1, minmax(0, 1fr)); + gap: 24px; + background: #fff; +} + +.customFieldFunction select { + min-height: 26px; + padding: 4px; + line-height: 1.5; + font-size: 14px; +} + +/* ジェネレーター:フィールドグループ、ユニットグループ +-------------------------------------- */ +.customFieldGeneratorGroup { + display: grid; + row-gap: 24px; + column-gap: 24px; + grid-template-columns: repeat(3, 1fr); + grid-template-areas: + "areaTitle areaVal ." + "areaButton . ."; +} +.customFieldGeneratorGroup.-openGroup { + grid-template-areas: "areaTitle areaVal ."; +} +.customFieldGeneratorGroup dd { + margin: 0; +} +.customFieldGeneratorGroupTitle { + grid-area: areaTitle; +} +.customFieldGeneratorGroupVal { + grid-area: areaVal; +} +.customFieldGeneratorGroupButton { + grid-area: areaButton; +} + +/* ジェネレーター:ベーシック +-------------------------------------- */ +.customFieldGeneratorBasic { + display: grid; + row-gap: 24px; + column-gap: 24px; + grid-template-columns: repeat(3, 1fr); + grid-template-areas: + "areaInput areaTitle areaField" + "areaTooltip areaPlaceholder ."; +} +.customFieldGeneratorBasic label, +.customFieldGeneratorBasic dt, +.customFieldGeneratorGroup label, +.customFieldGeneratorGroup dt { + display: flex; + gap: 4px; + align-items: center; + padding-bottom: 8px; +} +.customFieldGeneratorBasicInput { + grid-area: areaInput; +} +.customFieldGeneratorBasicTitle { + grid-area: areaTitle; +} +.customFieldGeneratorBasicField { + grid-area: areaField; +} +.customFieldGeneratorBasicTooltip { + grid-area: areaTooltip; +} +.customFieldGeneratorBasicPlaceholder { + grid-area: areaPlaceholder; +} + +/* ジェネレーター:バリデーター +-------------------------------------- */ +.customFieldValidatorLabel { + cursor: pointer; + display: flex; + align-items: center; + gap: 8px; +} + +.customFieldValidatorToggle { + display: inline-block; + width: 5px; + height: 5px; + border-right: 2px solid #333; + border-bottom: 2px solid #333; + transition: transform; + transform: rotateZ(-45deg); + transform-origin: center center; +} +.customFieldValidatorToggle.-open { + transform: rotateZ(-315deg); +} + +/* アコーディオン +-------------------------------------- */ +.customFieldAccordionContent { + overflow: hidden; + transition: max-height 0.3s ease-out, opacity 0.3s ease-out; + opacity: 0; +} + +.customFieldAccordionContent.-open { + opacity: 1; +} + +/* ナビゲーター:コード操作 +-------------------------------------- */ +.customFieldNavigatorCode { + display: grid; + grid-template-columns: repeat(1, minmax(0, 1fr)); + gap: 20px; +} +.customFieldNavigatorCodeButtonList { + width: 100%; + display: flex; + justify-content: space-between; +} + +/* ボタン +-------------------------------------- */ .customFieldCopied { position: absolute; bottom: -40px; @@ -19,13 +161,9 @@ .hljs { border-radius: 5px; -} - -.customFieldFunction { - margin-bottom: 20px; - padding: 20px 9px 10px; - border: 1px solid #e8e8e8; - background: #fff; + padding: 20px; + background-color: #F0F0F0; + min-height: 19.391px; } .customFieldCopied:after { @@ -71,23 +209,29 @@ } .customFieldValidatorArea { + display: grid; + gap: 16px; + grid-template-colmuns: repeat(1, minmax(0, 1fr)); + margin-top: 8px; background-color: #F7F7F7; - border: 1px solid #cccccc; - padding: 10px; + padding: 20px; } .customFieldValidatorArea .acms-admin-icon-tooltip { margin-left: 10px; } +.customFieldBold { + margin-bottom: 10px; +} .customFieldBold .acms-admin-icon-tooltip { margin-left: 10px; } .customFieldOptionTable { width: auto !important; - border-top: 1px solid #ccc; - border-bottom: 1px solid #ccc; + /* border-top: 1px solid #ccc; + border-bottom: 1px solid #ccc; */ } .customFieldOptionTable th, @@ -111,7 +255,7 @@ } .customFieldOptionTable tr { - border-bottom: 1px solid #cccccc; + /* border-bottom: 1px solid #cccccc; */ } .customFieldOptionTable th:first-child, diff --git a/dist/bundle.js b/dist/bundle.js index 0eb0685..a5a66a7 100644 --- a/dist/bundle.js +++ b/dist/bundle.js @@ -69,24 +69,24 @@ return u; }; }, - 862: function (e, t, n) { + 954: 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', + '.customFieldContainer {\n display: grid;\n grid-template-columns: repeat(1, minmax(0, 1fr));\n gap: 64px;\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;\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 "areaTooltip areaPlaceholder .";\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 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.customFieldValidatorToggle.-open {\n transform: rotateZ(-315deg);\n}\n\n/* アコーディオン\n-------------------------------------- */\n.customFieldAccordionContent {\n overflow: hidden;\n transition: max-height 0.3s ease-out, opacity 0.3s ease-out;\n opacity: 0;\n}\n\n.customFieldAccordionContent.-open {\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', '', ]); }, - 154: function (e, t, n) { + 862: 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', + '/*\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', '', ]); }, - 891: function (e, t, n) { + 154: function (e, t, n) { (e.exports = n(765)()).push([ e.id, - '.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}\n\n.customFieldFunction {\n margin-bottom: 20px;\n padding: 20px 9px 10px;\n border: 1px solid #e8e8e8;\n background: #fff;\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 background-color: #F7F7F7;\n border: 1px solid #cccccc;\n padding: 10px;\n}\n\n.customFieldValidatorArea .acms-admin-icon-tooltip {\n margin-left: 10px;\n}\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', + '/*\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', '', ]); }, @@ -246,7 +246,7 @@ } })(e); } - function b(e, t, n, r) { + function v(e, t, n, r) { function l(e) { return new RegExp(e.replace(/[-\/\\^$*+?.()|[\]{}]/g, '\\$&'), 'm'); } @@ -272,8 +272,8 @@ var e = 'string' == typeof x.subLanguage; if (e && !a[x.subLanguage]) return u(S); var t = e - ? b(x.subLanguage, S, !0, w[x.subLanguage]) - : v(S, x.subLanguage.length ? x.subLanguage : void 0); + ? 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), @@ -352,7 +352,7 @@ throw e; } } - function v(e, t) { + function b(e, t) { t = t || s.languages || n(a); var r = { relevance: 0, value: u(e) }, l = r; @@ -361,7 +361,7 @@ .filter(_) .filter(w) .forEach(function (t) { - var n = b(t, e, !1); + var n = v(t, e, !1); (n.language = t), n.relevance > l.relevance && (l = n), n.relevance > r.relevance && ((l = r), (r = n)); @@ -400,7 +400,7 @@ .replace(//g, '\n')) : (n = e), (c = n.textContent), - (l = d ? b(d, c, !0) : v(c)), + (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) { @@ -473,8 +473,8 @@ var t = _(e); return t && !t.disableAutodetect; } - (e.highlight = b), - (e.highlightAuto = v), + (e.highlight = v), + (e.highlightAuto = b), (e.fixMarkup = E), (e.highlightBlock = y), (e.configure = function (e) { @@ -3416,24 +3416,24 @@ (e = e.replace(o, '\n')); var h, g = /^\s+$/, - b = -1, - v = 0; + v = -1, + b = 0; function E() { - return (h = e.charAt(++b)) || ''; + return (h = e.charAt(++v)) || ''; } function y(t) { var n, - a = b; - return t && _(), (n = e.charAt(b + 1) || ''), (b = a - 1), E(), n; + a = v; + return t && _(), (n = e.charAt(v + 1) || ''), (v = a - 1), E(), n; } function x(t) { - for (var n = b; E(); ) + for (var n = v; E(); ) if ('\\' === h) E(); else { if (-1 !== t.indexOf(h)) break; if ('\n' === h) break; } - return e.substring(n, b + 1); + 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++); @@ -3445,22 +3445,22 @@ return e; } function k() { - var t = b, + var t = v, n = '/' === y(); for (E(); E(); ) { if (!n && '*' === h && '/' === y()) { E(); break; } - if (n && '\n' === h) return e.substring(t, b); + if (n && '\n' === h) return e.substring(t, v); } - return e.substring(t, b) + h; + return e.substring(t, v) + h; } function S(t) { - return e.substring(b - t.length, b).toLowerCase() === t; + return e.substring(v - t.length, v).toLowerCase() === t; } function N() { - for (var t = 0, n = b + 1; n < e.length; 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; @@ -3484,33 +3484,33 @@ function O(e) { I.just_added_newline() && I.set_indent(F), I.add_token(e); } - function D(e) { + function L(e) { e && (I.space_before_token = !0); } (this.beautify = function () { - (I = new l(A, T)), (F = 0), (R = 0), (b = -1), (h = null), (v = 0); + (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'); + D = -1 !== s.indexOf('\n'); if (((c = o), (o = h), !h)) break; if ('/' === h && '*' === y()) { - var j = 0 === F; - (L || j) && I.add_new_line(), O(k()), I.add_new_line(), j && I.add_new_line(!0); + var P = 0 === F; + (D || 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(); + D || '{' === c || I.trim(!0), (I.space_before_token = !0), O(k()), I.add_new_line(); else if ('@' === h) - if ((D(C), '{' === y())) O(x('}')); + if ((L(C), '{' === y())) O(x('}')); else { O(h); - var P = (void 0, void 0, (e = b), (t = x(': ,;{}()[]/=\'"')), (b = e - 1), E(), t); - P.match(/[ :]$/) && (E(), O((P = x(': ').replace(/\s$/, ''))), (I.space_before_token = !0)), - (P = P.replace(/\s$/, '')) in this.NESTED_AT_RULE && - ((R += 1), P in this.CONDITIONAL_GROUP_RULE && (i = !0)); + 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('}'))) + ? (L(C), O(x('}'))) : '{' === h ? '}' === y(!0) ? (_(), @@ -3539,31 +3539,31 @@ ? (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))) + ? (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(')')) : b--)) - : (v++, D(C), O(h), _()) + ? (O(h), _(), E() && (')' !== h && '"' !== h && "'" !== h ? O(x(')')) : v--)) + : (b++, L(C), O(h), _()) : ')' === h - ? (O(h), v--) + ? (O(h), b--) : ',' === h ? (O(h), - !_(!0) && u && !r && v < 1 ? I.add_new_line() : (I.space_before_token = !0)) - : ('>' === h || '+' === h || '~' === h) && !r && v < 1 + !_(!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)) + ? (L(C), O(h)) : '=' === h ? (_(), O('='), g.test(h) && (h = '')) : '!' === h ? (O(' '), O(h)) - : (D(C), O(h)); + : (L(C), O(h)); } return I.get_code(m, f); }), @@ -3780,7 +3780,7 @@ return e.replace(/\s+$/g, ''); } e.exports.Beautifier = function (e, t, n, r) { - var c, s, u, m, d, p, f, h, g, b, v, E, y, x, _, w, k, S, N, T, C; + 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), @@ -3833,7 +3833,7 @@ 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); ) - v && '\n' === e && this.newlines <= E && (this.newlines += 1), + b && '\n' === e && this.newlines <= E && (this.newlines += 1), this.pos++, (e = this.input.charAt(this.pos)); return !0; @@ -3943,7 +3943,7 @@ s = !0; var h = _; S && (h = l.indexOf(' ') + 1); - for (var v = 0; v < h; v++) l.push(' '); + for (var b = 0; b < h; b++) l.push(' '); } if (c) for (var E = 0; E < l.length; E++) @@ -4002,7 +4002,7 @@ (this.tag_type = 'HANDLEBARS_ELSE'), (this.indent_content = !0), this.traverse_whitespace()) - : this.is_unformatted(C, g) || this.is_unformatted(C, b) + : this.is_unformatted(C, g) || this.is_unformatted(C, v) ? ((i = this.get_unformatted('', T)), l.push(i), this.pos, @@ -4262,9 +4262,9 @@ 'strike', 'tt', ]), - (b = t.content_unformatted || ['pre']), - (v = void 0 === t.preserve_newlines || t.preserve_newlines), - (E = v + (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) @@ -4343,35 +4343,35 @@ if ('' !== c.token_text) { c.print_newline(!1, c.output); var m, - b = c.token_text, - v = 1; + 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 - ? (v = 0) - : 'separate' === t.indent_scripts && (v = -c.indent_level); - var E = c.get_full_indent(v); + ? (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(); - b = m(b.replace(/^\s*/, E), x); + v = m(v.replace(/^\s*/, E), x); } else { var _ = - b + v .match(/^\s*/)[0] .match(/[^\n\r]*$/)[0] .split(c.indent_string).length - 1, - w = c.get_full_indent(v - _); - b = b + w = c.get_full_indent(b - _); + v = v .replace(/^\s*/, E) .replace(/\r\n|\r|\n/g, '\n' + w) .replace(/\s+$/, ''); } - b && (c.print_token_raw(b), c.print_newline(!0, c.output)); + v && (c.print_token_raw(v), c.print_newline(!0, c.output)); } c.current_mode = 'TAG'; break; @@ -4537,8 +4537,8 @@ f, h, g, - b, v, + b, E, y, x, @@ -4586,27 +4586,27 @@ return ( 'TK_RESERVED' === g && c(E.last_text, f.line_starters) && (n.space_before_token = !0), z(e), - j(), P(), + j(), void (k.space_in_paren && (n.space_before_token = !0)) ); (e = d.ArrayLiteral), M(E.mode) && - (('[' !== E.last_text && (',' !== E.last_text || (']' !== b && '}' !== b))) || + (('[' !== E.last_text && (',' !== E.last_text || (']' !== v && '}' !== v))) || k.keep_array_indentation || - D()); + 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 - ? D() + ? 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(b, ['function', 'yield']) || (E.mode === d.ObjectLiteral && c(b, ['{', ','])))) + (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) || @@ -4616,22 +4616,22 @@ '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_EQUALS' !== g && 'TK_OPERATOR' !== g) || q() || O()), '(' === h.text && 'TK_WORD' !== g && 'TK_RESERVED' !== g && O(), z(e), - j(), + P(), k.space_in_paren && (n.space_before_token = !0), - P(); + j(); }, TK_END_EXPR: function () { - for (; E.mode === d.Statement; ) q(); + for (; E.mode === d.Statement; ) V(); 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 ? (j(), q()) : (q(), j()), + ']' === h.text && k.keep_array_indentation ? (P(), V()) : (V(), P()), o(n, y), E.do_while && y.mode === d.Conditional && @@ -4644,7 +4644,7 @@ 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(b, ['class', 'interface']) + ? c(v, ['class', 'interface']) ? z(d.BlockStatement) : z(d.ObjectLiteral) : 'TK_OPERATOR' === g && '=>' === E.last_text @@ -4670,7 +4670,7 @@ ? '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) + : 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), @@ -4680,23 +4680,23 @@ (E.multiline_frame = !1))), 'TK_OPERATOR' !== g && 'TK_START_EXPR' !== g && - ('TK_START_BLOCK' !== g || E.inline_frame ? (n.space_before_token = !0) : D())), - j(), - P(); + ('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(); + for (I(h); E.mode === d.Statement; ) V(); var e = 'TK_START_BLOCK' === g; E.inline_frame && !e ? (n.space_before_token = !0) : 'expand' === k.brace_style - ? e || D() + ? e || L() : e || (M(E.mode) && k.keep_array_indentation - ? ((k.keep_array_indentation = !1), D(), (k.keep_array_indentation = !0)) - : D()), - q(), - j(); + ? ((k.keep_array_indentation = !1), L(), (k.keep_array_indentation = !0)) + : L()), + V(), + P(); }, TK_WORD: G, TK_RESERVED: G, @@ -4711,8 +4711,8 @@ ); ) - q(); - E.import_block && (E.import_block = !1), j(); + V(); + E.import_block && (E.import_block = !1), P(); }, TK_STRING: function () { U() @@ -4721,15 +4721,15 @@ '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()), - j(); + ? q() || O() + : L()), + P(); }, TK_EQUALS: function () { U() || I(h), E.declaration_statement && (E.declaration_assignment = !0), (n.space_before_token = !0), - j(), + P(), (n.space_before_token = !0); }, TK_OPERATOR: function () { @@ -4743,11 +4743,11 @@ 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 j(); + 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), P(), j(), D(), void (E.in_case = !1); + return (E.case_body = !0), j(), P(), L(), void (E.in_case = !1); var a = !0, r = !0, l = !1; @@ -4764,12 +4764,12 @@ s = i && !l; switch (k.operator_position) { case u.before_newline: - return (n.space_before_token = !s), j(), (i && !o) || O(), void (n.space_before_token = !0); + 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), - j(), + !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: @@ -4777,7 +4777,7 @@ s || O(), (a = !(n.just_added_newline() || s)), (n.space_before_token = a), - j(), + P(), void (n.space_before_token = !0) ); } @@ -4792,7 +4792,7 @@ : (c(h.text, ['--', '++', '!', '~']) || t) && ((a = !1), (r = !1), - !h.wanted_newline || ('--' !== h.text && '++' !== h.text) || D(!1, !0), + !h.wanted_newline || ('--' !== h.text && '++' !== h.text) || L(!1, !0), ';' === E.last_text && B(E.mode) && (a = !0), 'TK_RESERVED' === g ? (a = !0) @@ -4803,20 +4803,20 @@ 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), j(), (n.space_before_token = r); - } else j(); - else j(); + 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), - j(), + 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.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 || D()) + ? (E.mode === d.Statement && V(), E.inline_frame || L()) : k.comma_first && O(); }, TK_BLOCK_COMMENT: function (e) { @@ -4826,9 +4826,9 @@ void (h.directives && 'end' === h.directives.preserve && (n.raw = k.test_output_raw)) ); if (h.directives) - return D(!1, e), j(), 'start' === h.directives.preserve && (n.raw = !0), void D(!1, !0); + 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), j(), void (n.space_before_token = !0); + 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; ) @@ -4840,7 +4840,7 @@ o = h.whitespace_before, c = o.length; for ( - D(!1, e), + L(!1, e), a.length > 1 && ((l = (function (e) { for (var t = 0; t < e.length; t++) @@ -4852,34 +4852,34 @@ 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))), - j(a[0]), + P(a[0]), t = 1; t < a.length; t++ ) - D(!1, !0), + L(!1, !0), l - ? j(' ' + a[t].replace(/^\s+/g, '')) + ? P(' ' + a[t].replace(/^\s+/g, '')) : i && a[t].length > c - ? j(a[t].substring(c)) + ? P(a[t].substring(c)) : n.add_token(a[t]); - D(!1, e); + L(!1, e); }, TK_COMMENT: function (e) { - h.wanted_newline ? D(!1, e) : n.trim(!0), (n.space_before_token = !0), j(), D(!1, 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), - j(); + P(); }, TK_UNKNOWN: function (e) { - j(), '\n' === h.text[h.text.length - 1] && D(!1, e); + P(), '\n' === h.text[h.text.length - 1] && L(!1, e); }, TK_EOF: function () { - for (; E.mode === d.Statement; ) q(); + for (; E.mode === d.Statement; ) V(); I(h); }, }), @@ -4933,11 +4933,11 @@ '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'), - v = ''; + b = ''; k.indent_size > 0; ) - (v += k.indent_char), (k.indent_size -= 1); + (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; @@ -4950,23 +4950,23 @@ 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); + if (((h = r), a)) for (var i = 0; i < n; i += 1) L(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); + L(!1, t); + for (var o = 1; o < n; o += 1) L(!0, t); } } (g = 'TK_START_BLOCK'), - (b = ''), - ((n = new l(v, N)).raw = k.test_output_raw), + (v = ''), + ((n = new l(b, N)).raw = k.test_output_raw), (x = []), z(d.BlockStatement), (this.beautify = function () { - for (f = new i(e, k, v), S = f.tokenize(), p = 0, h = K(); h; ) - w[h.type](), (b = E.last_text), (g = h.type), (E.last_text = h.text), (p += 1), (h = K()); + 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']; @@ -4979,15 +4979,15 @@ c(h.text, f.positionable_operators); t = t && a; } - if (t) D(!1, !0); + if (t) L(!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); + k.wrap_line_length && L(!1, !0); } } } - function D(e, t) { + function L(e, t) { if (!t && ';' !== E.last_text && ',' !== E.last_text && '=' !== E.last_text && 'TK_OPERATOR' !== g) for ( var a = K(1); @@ -4998,29 +4998,29 @@ ); ) - q(); + V(); n.add_new_line(e) && (E.multiline_frame = !0); } - function L() { + 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 j(e) { + 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(), + D(), n.add_token(','), (n.space_before_token = !0); } - (e = e || h.text), L(), n.add_token(e); + (e = e || h.text), D(), n.add_token(e); } } - function P() { + function j() { E.indentation_level += 1; } function z(e) { @@ -5032,11 +5032,11 @@ function B(e) { return c(e, [d.Expression, d.ForInitializer, d.Conditional]); } - function q() { + function V() { x.length > 0 && ((y = E), (E = x.pop()), y.mode !== d.Statement || k.unindent_chained_methods || o(n, y)); } - function V() { + function q() { return ( E.parent.mode === d.ObjectLiteral && E.mode === d.Statement && @@ -5059,7 +5059,7 @@ !E.in_case && '--' !== h.text && '++' !== h.text && - 'function' !== b && + 'function' !== v && 'TK_WORD' !== h.type && 'TK_RESERVED' !== h.type) || (E.mode === d.ObjectLiteral && @@ -5067,9 +5067,9 @@ ('TK_RESERVED' === g && c(E.last_text, ['get', 'set'])))) ) && (z(d.Statement), - k.unindent_chained_methods || P(), + k.unindent_chained_methods || j(), I(h, !0), - V() || O('TK_RESERVED' === h.type && c(h.text, ['do', 'for', 'if', 'while'])), + q() || O('TK_RESERVED' === h.type && c(h.text, ['do', 'for', 'if', 'while'])), !0) ); } @@ -5100,47 +5100,47 @@ 'TK_RESERVED' === g && c(E.last_text, ['var', 'let', 'const', 'set', 'get'])) ? I(h) - : (I(h), D()), + : (I(h), L()), E.do_block && !E.do_while) ) { if ('TK_RESERVED' === h.type && 'while' === h.text) - return (n.space_before_token = !0), j(), (n.space_before_token = !0), void (E.do_while = !0); - D(), (E.do_block = !1); + 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(); + for (; E.mode === d.Statement; ) V(); (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(), + ? (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)), - j(), + 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() || + q() || 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))), + (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' === b) + ('TK_RESERVED' === g && 'default' === E.last_text && 'export' === v) ? (n.space_before_token = !0) - : D() + : L() : 'TK_OPERATOR' === g || '=' === E.last_text ? (n.space_before_token = !0) - : (E.multiline_frame || (!B(E.mode) && !M(E.mode))) && D(), - j(), + : (E.multiline_frame || (!B(E.mode) && !M(E.mode))) && L(), + P(), void (E.last_word = h.text)) : ((_ = 'NONE'), 'TK_END_BLOCK' === g @@ -5162,7 +5162,7 @@ : 'TK_RESERVED' === g || 'TK_WORD' === g || ('*' === E.last_text && - (c(b, ['function', 'yield']) || (E.mode === d.ObjectLiteral && c(b, ['{', ','])))) + (c(v, ['function', 'yield']) || (E.mode === d.ObjectLiteral && c(v, ['{', ','])))) ? (_ = 'SPACE') : 'TK_START_BLOCK' === g ? (_ = E.inline_frame ? 'SPACE' : 'NEWLINE') @@ -5179,8 +5179,8 @@ '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)) + ? 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) @@ -5191,12 +5191,12 @@ ':' === 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 && '}' === b - ? D() + : 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), - j(), + P(), (E.last_word = h.text), void ( 'TK_RESERVED' === h.type && @@ -5417,7 +5417,7 @@ f, h, g, - b = this.line_starters.concat([ + v = this.line_starters.concat([ 'do', 'in', 'of', @@ -5434,7 +5434,7 @@ 'from', 'as', ]), - v = /([\s\S]*?)((?:\*\/)|$)/g, + b = /([\s\S]*?)((?:\*\/)|$)/g, E = /([^\n\r\u2028\u2029]*)/g, y = /\/\* beautify( \w+[:]\w+)+ \*\//g, x = / (\w+)[:](\w+)/g, @@ -5475,7 +5475,7 @@ } 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, b) + 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'] @@ -5496,7 +5496,7 @@ x.lastIndex = 0; for (var n = x.exec(e); n; ) (t[n[1]] = n[2]), (n = x.exec(e)); return t; - })((R = '/*' + g.match(v)[0])); + })((R = '/*' + g.match(b)[0])); return ( I && 'start' === I.ignore && (R += g.match(_)[0]), [(R = R.replace(l.allLineBreaks, '\n')), 'TK_BLOCK_COMMENT', I] @@ -5531,17 +5531,17 @@ 'TK_COMMA', ]))) ) { - var D = N, - L = !1, - j = !1; - if (((e = N), '/' === D)) - for (var P = !1; g.hasNext() && (L || P || g.peek() !== D) && !g.testChar(l.newline); ) + 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()), - L - ? (L = !1) - : ((L = '\\' === g.peek()), '[' === g.peek() ? (P = !0) : ']' === g.peek() && (P = !1)), + D + ? (D = !1) + : ((D = '\\' === g.peek()), '[' === g.peek() ? (j = !0) : ']' === g.peek() && (j = !1)), g.next(); - else if (t.e4x && '<' === D) { + 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(); @@ -5549,7 +5549,7 @@ B = g.match(O); if (B) { for ( - var q = B[2].replace(/^{\s+/, '{').replace(/\s+}$/, '}'), V = 0 === q.indexOf('{'), U = 0; + var V = B[2].replace(/^{\s+/, '{').replace(/\s+}$/, '}'), q = 0 === V.indexOf('{'), U = 0; B; ) { @@ -5557,7 +5557,7 @@ K = B[2]; if ( (!(B[B.length - 1] || '![CDATA[' === K.slice(0, 8)) && - (K === q || (V && K.replace(/^{\s+/, '{').replace(/\s+}$/, '}'))) && + (K === V || (q && K.replace(/^{\s+/, '{').replace(/\s+}$/, '}'))) && (H ? --U : ++U), (M += B[0]), U <= 0) @@ -5569,20 +5569,20 @@ } } 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) + 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), - L ? (('x' !== r && 'u' !== r) || (j = !0), (L = !1)) : (L = '\\' === 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())); }; - '`' === D ? G('`', !0, '${') : G(D); + '`' === L ? G('`', !0, '${') : G(L); } if ( - (j && + (P && t.unescape_strings && (e = (function (e) { for (var t = '', n = 0, r = new a(e), l = null; r.hasNext(); ) @@ -5606,7 +5606,7 @@ } return t; })(e)), - g.peek() === D && ((e += D), g.next(), '/' === D)) + g.peek() === L && ((e += L), g.next(), '/' === L)) ) for (; g.hasNext() && l.isIdentifierStart(g.peekCharCode()); ) e += g.next(); return [e, 'TK_STRING']; @@ -6081,7 +6081,7 @@ }); }); var g = /["'&<>]/; - function b(e) { + function v(e) { if ('boolean' == typeof e || 'number' == typeof e) return '' + e; e = '' + e; var t = g.exec(e); @@ -6115,7 +6115,7 @@ } return e; } - var v = /([A-Z])/g, + var b = /([A-Z])/g, E = /^ms-/, y = Array.isArray; function x(e, t) { @@ -6129,14 +6129,14 @@ var i = n[a]; if (null != i && 'boolean' != typeof i && '' !== i) { if (0 === a.indexOf('--')) { - var o = b(a); - i = b(('' + i).trim()); + var o = v(a); + i = v(('' + i).trim()); } else { o = a; var c = _.get(o); - void 0 !== c || ((c = b(o.replace(v, '-$1').toLowerCase().replace(E, '-ms-'))), _.set(o, c)), + 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') : b(('' + i).trim())); + (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); } @@ -6168,16 +6168,16 @@ a && e.push(' ', n, '=""'); break; case 4: - !0 === a ? e.push(' ', n, '=""') : !1 !== a && e.push(' ', n, '="', b(a), '"'); + !0 === a ? e.push(' ', n, '=""') : !1 !== a && e.push(' ', n, '="', v(a), '"'); break; case 5: - isNaN(a) || e.push(' ', n, '="', b(a), '"'); + isNaN(a) || e.push(' ', n, '="', v(a), '"'); break; case 6: - !isNaN(a) && 1 <= a && e.push(' ', n, '="', b(a), '"'); + !isNaN(a) && 1 <= a && e.push(' ', n, '="', v(a), '"'); break; default: - t.sanitizeURL && (a = '' + a), e.push(' ', n, '="', b(a), '"'); + t.sanitizeURL && (a = '' + a), e.push(' ', n, '="', v(a), '"'); } } else if (s(n)) { switch (typeof a) { @@ -6187,7 +6187,7 @@ case 'boolean': if ('data-' !== (t = n.toLowerCase().slice(0, 5)) && 'aria-' !== t) return; } - e.push(' ', n, '="', b(a), '"'); + e.push(' ', n, '="', v(a), '"'); } } function S(e, t, n) { @@ -6216,7 +6216,7 @@ k(e, a, r, o); } } - return e.push('>'), S(e, i, n), 'string' == typeof n ? (e.push(b(n)), null) : n; + 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(); @@ -6251,18 +6251,18 @@ } function O(e, t, n, a) { return n.generateStaticMarkup - ? (e.push(b(t)), !1) - : ('' === t ? (e = a) : (a && e.push('\x3c!-- --\x3e'), e.push(b(t)), (e = !0)), e); + ? (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'), - j = Symbol.for('react.portal'), - P = Symbol.for('react.fragment'), + var L = Object.assign, + D = 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'), + V = Symbol.for('react.context'), + q = Symbol.for('react.forward_ref'), U = Symbol.for('react.suspense'), H = Symbol.for('react.suspense_list'), K = Symbol.for('react.memo'), @@ -6277,9 +6277,9 @@ if ('function' == typeof e) return e.displayName || e.name || null; if ('string' == typeof e) return e; switch (e) { - case P: - return 'Fragment'; case j: + return 'Fragment'; + case P: return 'Portal'; case M: return 'Profiler'; @@ -6292,11 +6292,11 @@ } if ('object' == typeof e) switch (e.$$typeof) { - case q: + case V: return (e.displayName || 'Context') + '.Consumer'; case B: return (e._context.displayName || 'Context') + '.Provider'; - case V: + case q: var t = e.render; return ( (e = e.displayName) || @@ -6386,7 +6386,7 @@ 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)), + ((r = null == (i = i(n, r)) ? r : L({}, r, i)), (e.state = r)), 'function' != typeof t.getDerivedStateFromProps && 'function' != typeof e.getSnapshotBeforeUpdate && ('function' == typeof e.UNSAFE_componentWillMount || 'function' == typeof e.componentWillMount)) @@ -6404,7 +6404,7 @@ 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)); + (r ? ((r = !1), (l = L({}, l, o))) : L(l, o)); } e.state = l; } @@ -6442,8 +6442,8 @@ return (e === t && (0 !== e || 1 / e == 1 / t)) || (e != e && t != t); }, ge = null, - be = null, ve = null, + be = null, Ee = null, ye = !1, xe = !1, @@ -6461,9 +6461,9 @@ function Te() { return ( null === Ee - ? null === ve - ? ((ye = !1), (ve = Ee = Ne())) - : ((ye = !0), (Ee = ve)) + ? 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)), @@ -6471,7 +6471,7 @@ ); } function Ce() { - (be = ge = null), (xe = !1), (ve = null), (ke = 0), (Ee = we = null); + (ve = ge = null), (xe = !1), (be = null), (ke = 0), (Ee = we = null); } function Fe(e, t) { return 'function' == typeof t ? t(e) : t; @@ -6529,8 +6529,8 @@ function Oe() { throw Error(r(394)); } - function De() {} - var Le = { + function Le() {} + var De = { readContext: function (e) { return e._currentValue2; }, @@ -6547,16 +6547,16 @@ useState: function (e) { return Re(Fe, e); }, - useInsertionEffect: De, + useInsertionEffect: Le, useLayoutEffect: function () {}, useCallback: function (e, t) { return Ie(function () { return e; }, t); }, - useImperativeHandle: De, - useEffect: De, - useDebugValue: De, + useImperativeHandle: Le, + useEffect: Le, + useDebugValue: Le, useDeferredValue: function (e) { return Se(), e; }, @@ -6564,10 +6564,10 @@ return Se(), [!1, Oe]; }, useId: function () { - var e = be.treeContext, + var e = ve.treeContext, t = e.overflow; e = ((e = e.id) & ~(1 << (32 - de(e) - 1))).toString(32) + t; - var n = je; + 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 + ':'; }, @@ -6579,8 +6579,8 @@ return n(); }, }, - je = null, - Pe = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher; + Pe = null, + je = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher; function ze(e) { return console.error(e), null; } @@ -6602,7 +6602,7 @@ }; return r.add(c), c; } - function qe(e, t, n, a, r, l) { + function Ve(e, t, n, a, r, l) { return { status: 0, id: -1, @@ -6616,7 +6616,7 @@ textEmbedded: l, }; } - function Ve(e, t) { + function qe(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 "' + @@ -6632,7 +6632,7 @@ 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 = {}, be = t, _e = 0, e = n(a, r); xe; ) (xe = !1), (_e = 0), (ke += 1), (Ee = null), (e = 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) { @@ -6643,14 +6643,14 @@ 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); + a = L({}, 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]); + for (var n in ((t = L({}, t)), (e = e.defaultProps))) void 0 === t[n] && (t[n] = e[n]); return t; } return t; @@ -6682,7 +6682,7 @@ case $: case z: case M: - case P: + case j: case H: return void $e(e, t, i.children); case W: @@ -6701,9 +6701,9 @@ fallbackAbortableTasks: (u = new Set()), errorDigest: null, }, - d = qe(0, o.chunks.length, m, o.formatContext, !1, !1); + d = Ve(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); + var p = Ve(0, 0, null, o.formatContext, !1, !1); (p.parentFlushed = !0), (t.blockedBoundary = m), (t.blockedSegment = p); try { if ( @@ -6716,7 +6716,7 @@ ) break e; } catch (t) { - (p.status = 4), (m.forceClientRender = !0), (m.errorDigest = Ve(e, t)); + (p.status = 4), (m.forceClientRender = !0), (m.errorDigest = qe(e, t)); } finally { (t.blockedBoundary = n), (t.blockedSegment = o); } @@ -6726,7 +6726,7 @@ } if ('object' == typeof n && null !== n) switch (n.$$typeof) { - case V: + case q: if (((i = He(e, t, n.render, i, o)), 0 !== _e)) { (n = t.treeContext), (t.treeContext = me(n, 1, 0)); try { @@ -6764,7 +6764,7 @@ (e = te = e.parent), void (t.context = e) ); - case q: + case V: 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); @@ -6869,7 +6869,7 @@ 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(b('' + c)), null; + 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])) @@ -6957,14 +6957,14 @@ case 'source': case 'track': case 'wbr': - for (var v in (e.push(F(t)), n)) - if (l.call(n, v) && null != (c = n[v])) - switch (v) { + 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, v, c); + k(e, i, b, c); } return e.push('/>'), null; case 'annotation-xml': @@ -6996,7 +6996,7 @@ case 'suppressHydrationWarning': break; default: - s(p) && 'function' != typeof m && 'symbol' != typeof m && e.push(' ', p, '="', b(m), '"'); + s(p) && 'function' != typeof m && 'symbol' != typeof m && e.push(' ', p, '="', v(m), '"'); } return e.push('>'), S(e, u, c), c; } @@ -7055,9 +7055,9 @@ function $e(e, t, n) { if (((t.node = n), 'object' == typeof n && null !== n)) { switch (n.$$typeof) { - case L: + case D: return void We(e, t, n.type, n.props, n.ref); - case j: + case P: throw Error(r(257)); case G: var a = n._init; @@ -7119,7 +7119,7 @@ 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); + o = Ve(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), @@ -7182,10 +7182,10 @@ function tt(e) { if (2 !== e.status) { var t = te, - n = Pe.current; - Pe.current = Le; - var a = je; - je = e.responseState; + n = je.current; + je.current = De; + var a = Pe; + Pe = e.responseState; try { var r, l = e.pingedTasks; @@ -7210,7 +7210,7 @@ i.abortSet.delete(i), (c.status = 4); var u = i.blockedBoundary, m = e, - d = Ve(o, m); + d = qe(o, m); null === u ? Ue(o, m) : (u.pendingTasks--, @@ -7226,9 +7226,9 @@ } l.splice(0, r), null !== e.destination && ot(e, e.destination); } catch (t) { - Ve(e, t), Ue(e, t); + qe(e, t), Ue(e, t); } finally { - (je = a), (Pe.current = n), n === Le && oe(t); + (Pe = a), (je.current = n), n === De && oe(t); } } } @@ -7271,7 +7271,7 @@ ((a = a.errorDigest), t.push('\x3c!--$!--\x3e'), t.push('')), nt(e, t, n), !!e.responseState.generateStaticMarkup || t.push('\x3c!--/$--\x3e') @@ -7481,23 +7481,23 @@ var g = e.completedBoundaries; for (l = 0; l < g.length; l++) if (!lt(e, t, g[l])) return (e.destination = null), l++, void g.splice(0, l); g.splice(0, l); - var b = e.partialBoundaries; - for (l = 0; l < b.length; l++) { - var v = b[l]; + var v = e.partialBoundaries; + for (l = 0; l < v.length; l++) { + var b = v[l]; e: { (i = e), (o = t); - var E = v.completedSegments; + var E = b.completedSegments; for (c = 0; c < E.length; c++) - if (!it(i, o, v, E[c])) { + if (!it(i, o, b, E[c])) { c++, E.splice(0, c); var y = !1; break e; } E.splice(0, c), (y = !0); } - if (!y) return (e.destination = null), l++, void b.splice(0, l); + if (!y) return (e.destination = null), l++, void v.splice(0, l); } - b.splice(0, l); + v.splice(0, l); var x = e.completedBoundaries; for (l = 0; l < x.length; l++) if (!lt(e, t, x[l])) return (e.destination = null), l++, void x.splice(0, l); x.splice(0, l); @@ -7518,7 +7518,7 @@ n.clear(), null !== e.destination && ot(e, e.destination); } catch (t) { - Ve(e, t), Ue(e, t); + qe(e, t), Ue(e, t); } } function st() {} @@ -7540,7 +7540,7 @@ var o = [], c = new Set(); return ( - ((n = qe( + ((n = Ve( (t = { destination: null, responseState: t, @@ -7607,7 +7607,7 @@ try { ot(e, c); } catch (t) { - Ve(e, t), Ue(e, t); + qe(e, t), Ue(e, t); } } if (l) throw i; @@ -7688,9 +7688,9 @@ h = /^[: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]*$/, g = {}, - b = {}; - function v(e) { - return !!f.call(b, e) || (!f.call(g, e) && (h.test(e) ? (b[e] = !0) : ((g[e] = !0), !1))); + v = {}; + function b(e) { + return !!f.call(v, e) || (!f.call(g, e) && (h.test(e) ? (v[e] = !0) : ((g[e] = !0), !1))); } function E(e, t, n, a, r, l, i) { (this.acceptsBooleans = 2 === t || 3 === t || 4 === t), @@ -7858,12 +7858,12 @@ I = d(''), A = d(''), - L = /(<\/|<)(s)(cript)/gi; - function j(e, t, n, a) { + L = d('" async="">'), + D = /(<\/|<)(s)(cript)/gi; + function P(e, t, n, a) { return t + ('s' === n ? '\\u0073' : '\\u0053') + a; } - function P(e, t) { + function j(e, t) { return { insertionMode: e, selectedValue: t }; } var z = d('\x3c!-- --\x3e'); @@ -7871,8 +7871,8 @@ return '' === t ? a : (a && e.push(z), e.push(m(N(t))), !0); } var B = new Map(), - q = d(' style="'), - V = d(':'), + V = d(' style="'), + q = d(':'), U = d(';'); function H(e, t, n) { if ('object' != typeof n) throw Error(r(62)); @@ -7895,7 +7895,7 @@ : m(l + 'px') : m(N(('' + l).trim()))); } - t ? ((t = !1), e.push(q, i, V, l)) : e.push(U, i, V, l); + t ? ((t = !1), e.push(V, i, q, l)) : e.push(U, i, q, l); } } t || e.push(W); @@ -7940,7 +7940,7 @@ default: t.sanitizeURL && (a = '' + a), e.push(K, n, G, m(N(a)), W); } - } else if (v(n)) { + } else if (b(n)) { switch (typeof a) { case 'function': case 'symbol': @@ -8005,9 +8005,9 @@ fe = d('\x3c!--/$--\x3e'), he = d(''); + var be = d('>'); function Ee(e, t, n) { if ((o(e, me), null === n)) throw Error(r(395)); return o(e, n), c(e, de); @@ -8026,17 +8026,17 @@ Ie = d(''), Ae = d(''), - De = d(''), - Le = d(''), - Pe = d(''), + Le = d(''), + De = d(''), + je = d(''), ze = d(''), Be = d(''), - qe = d( + Ve = 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("'), + qe = d('$RS("'), Ue = d('","'), He = d('")'), Ke = d( @@ -8084,8 +8084,8 @@ ft = Symbol.for('react.lazy'), ht = Symbol.for('react.scope'), gt = Symbol.for('react.debug_trace_mode'), - bt = Symbol.for('react.legacy_hidden'), - vt = Symbol.for('react.default_value'), + vt = Symbol.for('react.legacy_hidden'), + bt = Symbol.for('react.default_value'), Et = Symbol.iterator; function yt(e) { if (null == e) return null; @@ -8229,28 +8229,28 @@ function Ot(e, t, n) { var a = e.id; e = e.overflow; - var r = 32 - Dt(a) - 1; + var r = 32 - Lt(a) - 1; (a &= ~(1 << r)), (n += 1); - var l = 32 - Dt(t) + r; + var l = 32 - Lt(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 } + { id: (1 << (32 - Lt(t) + r)) | (n << r) | a, overflow: l + e } ); } return { id: (1 << l) | (n << r) | a, overflow: e }; } - var Dt = Math.clz32 + var Lt = Math.clz32 ? Math.clz32 : function (e) { - return 0 == (e >>>= 0) ? 32 : (31 - ((Lt(e) / jt) | 0)) | 0; + return 0 == (e >>>= 0) ? 32 : (31 - ((Dt(e) / Pt) | 0)) | 0; }, - Lt = Math.log, - jt = Math.LN2, - Pt = + Dt = Math.log, + Pt = Math.LN2, + jt = 'function' == typeof Object.is ? Object.is : function (e, t) { @@ -8259,8 +8259,8 @@ zt = null, Mt = null, Bt = null, - qt = null, - Vt = !1, + Vt = null, + qt = !1, Ut = !1, Ht = 0, Kt = null, @@ -8275,50 +8275,50 @@ } function Xt() { return ( - null === qt + null === Vt ? 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 + ? ((qt = !1), (Bt = Vt = $t())) + : ((qt = !0), (Vt = Bt)) + : null === Vt.next + ? ((qt = !1), (Vt = Vt.next = $t())) + : ((qt = !0), (Vt = Vt.next)), + Vt ); } function Yt() { - (Mt = zt = null), (Ut = !1), (Bt = null), (Gt = 0), (qt = Kt = null); + (Mt = zt = null), (Ut = !1), (Bt = null), (Gt = 0), (Vt = 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 (((zt = Wt()), (Vt = Xt()), qt)) { + var a = Vt.queue; if (((t = a.dispatch), null !== Kt && void 0 !== (n = Kt.get(a)))) { - Kt.delete(a), (a = qt.memoizedState); + Kt.delete(a), (a = Vt.memoizedState); do { (a = e(a, n.action)), (n = n.next); } while (null !== n); - return (qt.memoizedState = a), [a, t]; + return (Vt.memoizedState = a), [a, t]; } - return [qt.memoizedState, t]; + return [Vt.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] + (Vt.memoizedState = e), + (e = (e = Vt.queue = { last: null, dispatch: null }).dispatch = en.bind(null, zt, e)), + [Vt.memoizedState, e] ); } function Jt(e, t) { - if (((zt = Wt()), (t = void 0 === t ? null : t), null !== (qt = Xt()))) { - var n = qt.memoizedState; + if (((zt = Wt()), (t = void 0 === t ? null : t), null !== (Vt = Xt()))) { + var n = Vt.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 (!Pt(t[r], a[r])) { + if (!jt(t[r], a[r])) { a = !1; break e; } @@ -8327,7 +8327,7 @@ if (a) return n[0]; } } - return (e = e()), (qt.memoizedState = [e, t]), e; + return (e = e()), (Vt.memoizedState = [e, t]), e; } function en(e, t, n) { if (25 <= Gt) throw Error(r(301)); @@ -8356,8 +8356,8 @@ useReducer: Zt, useRef: function (e) { zt = Wt(); - var t = (qt = Xt()).memoizedState; - return null === t ? ((e = { current: e }), (qt.memoizedState = e)) : t; + var t = (Vt = Xt()).memoizedState; + return null === t ? ((e = { current: e }), (Vt.memoizedState = e)) : t; }, useState: function (e) { return Zt(Qt, e); @@ -8381,7 +8381,7 @@ useId: function () { var e = Mt.treeContext, t = e.overflow; - e = ((e = e.id) & ~(1 << (32 - Dt(e) - 1))).toString(32) + t; + e = ((e = e.id) & ~(1 << (32 - Lt(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 + ':'; @@ -8447,7 +8447,7 @@ 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)); + for (zt = {}, Mt = t, Ht = 0, e = n(a, r); Ut; ) (Ut = !1), (Ht = 0), (Gt += 1), (Vt = null), (e = n(a, r)); return Yt(), e; } function fn(e, t, n, a) { @@ -8460,8 +8460,8 @@ 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), bn(e, t, l), (t.legacyContext = o); - } else bn(e, t, l); + (t.legacyContext = a), vn(e, t, l), (t.legacyContext = o); + } else vn(e, t, l); } function hn(e, t) { if (e && e.defaultProps) { @@ -8484,22 +8484,22 @@ else if (c) { (l = t.treeContext), (t.treeContext = Ot(l, 1, 0)); try { - bn(e, t, i); + vn(e, t, i); } finally { t.treeContext = l; } - } else bn(e, t, i); + } else vn(e, t, i); } else { if ('string' != typeof n) { switch (n) { - case bt: + case vt: case gt: case it: case ot: case lt: case dt: - return void bn(e, t, l.children); + return void vn(e, t, l.children); case ht: throw Error(r(343)); case mt: @@ -8544,11 +8544,11 @@ if (((l = pn(e, t, n.render, l, i)), 0 !== Ht)) { (n = t.treeContext), (t.treeContext = Ot(n, 1, 0)); try { - bn(e, t, l); + vn(e, t, l); } finally { t.treeContext = n; } - } else bn(e, t, l); + } else vn(e, t, l); return; case pt: return void gn(e, t, (n = n.type), (l = hn(n, l)), i); @@ -8568,18 +8568,18 @@ value: l, }), (t.context = l), - bn(e, t, i), + vn(e, t, i), null === (e = wt)) ) throw Error(r(403)); return ( (l = e.parentValue), - (e.context._currentValue = l === vt ? e.context._defaultValue : l), + (e.context._currentValue = l === bt ? e.context._defaultValue : l), (e = wt = e.parent), void (t.context = e) ); case st: - return void bn(e, t, (l = (l = l.children)(n._currentValue))); + 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); } @@ -8773,14 +8773,14 @@ case 'source': case 'track': case 'wbr': - for (var b in (e.push(re(t)), n)) - if (f.call(n, b) && null != (o = n[b])) - switch (b) { + 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, b, o); + X(e, l, v, o); } return e.push(Q), null; case 'annotation-xml': @@ -8812,7 +8812,7 @@ case 'suppressHydrationWarning': break; default: - v(d) && 'function' != typeof s && 'symbol' != typeof s && e.push(K, m(d), G, m(N(s)), W); + 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; } @@ -8822,25 +8822,25 @@ (i.formatContext = (function (e, t, n) { switch (t) { case 'select': - return P(1, null != n.value ? n.value : n.defaultValue); + return j(1, null != n.value ? n.value : n.defaultValue); case 'svg': - return P(2, null); + return j(2, null); case 'math': - return P(3, null); + return j(3, null); case 'foreignObject': - return P(1, null); + return j(1, null); case 'table': - return P(4, null); + return j(4, null); case 'thead': case 'tbody': case 'tfoot': - return P(5, null); + return j(5, null); case 'colgroup': - return P(7, null); + return j(7, null); case 'tr': - return P(6, null); + return j(6, null); } - return 4 <= e.insertionMode || 0 === e.insertionMode ? P(1, null) : e; + return 4 <= e.insertionMode || 0 === e.insertionMode ? j(1, null) : e; })(c, n, l)), En(e, t, o), (i.formatContext = c), @@ -8868,7 +8868,7 @@ i.lastPushedText = !1; } } - function bn(e, t, n) { + function vn(e, t, n) { if (((t.node = n), 'object' == typeof n && null !== n)) { switch (n.$$typeof) { case at: @@ -8877,9 +8877,9 @@ throw Error(r(257)); case ft: var a = n._init; - return void bn(e, t, (n = a(n._payload))); + return void vn(e, t, (n = a(n._payload))); } - if (F(n)) return void vn(e, t, n); + if (F(n)) return void bn(e, t, n); if ( (a = null === n || 'object' != typeof n @@ -8894,7 +8894,7 @@ do { l.push(n.value), (n = a.next()); } while (!n.done); - vn(e, t, l); + bn(e, t, l); } return; } @@ -8913,7 +8913,7 @@ a.lastPushedText )); } - function vn(e, t, n) { + 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); @@ -8929,7 +8929,7 @@ r = t.legacyContext, l = t.context; try { - return bn(e, t, n); + 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); @@ -9012,7 +9012,7 @@ if (0 === c.status) { Ft(i.context); try { - bn(o, i, i.node), + vn(o, i, i.node), c.lastPushedText && c.textEmbedded && c.chunks.push(z), i.abortSet.delete(i), (c.status = 1), @@ -9080,7 +9080,7 @@ 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, be), o(t, m(N(a))), o(t, ge)), c(t, ve), Sn(e, t, n); + (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, @@ -9113,7 +9113,7 @@ 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, je); + return o(e, De), 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: @@ -9133,9 +9133,9 @@ case 4: return c(e, Ie); case 5: - return c(e, De); + return c(e, Le); case 6: - return c(e, Pe); + return c(e, je); case 7: return c(e, Be); default: @@ -9168,7 +9168,7 @@ return ( Tn(e, t, a), o(t, (e = e.responseState).startInlineScript), - e.sentCompleteSegmentFunction ? o(t, Ve) : ((e.sentCompleteSegmentFunction = !0), o(t, qe)), + e.sentCompleteSegmentFunction ? o(t, qe) : ((e.sentCompleteSegmentFunction = !0), o(t, Ve)), o(t, e.segmentPrefix), o(t, (l = m(l.toString(16)))), o(t, Ue), @@ -9195,8 +9195,8 @@ var f = e.responseState, h = p.id, g = p.errorDigest, - b = p.errorMessage, - v = p.errorComponentStack; + v = p.errorMessage, + b = p.errorComponentStack; if ( (o(a, f.startInlineScript), f.sentClientRenderFunction ? o(a, Ye) : ((f.sentClientRenderFunction = !0), o(a, Xe)), @@ -9206,9 +9206,9 @@ if ( (o(a, h), o(a, Qe), - (g || b || v) && (o(a, Je), o(a, m(tt(g || '')))), - (b || v) && (o(a, Je), o(a, m(tt(b || '')))), - v && (o(a, Je), o(a, m(tt(v)))), + (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); @@ -9306,9 +9306,9 @@ (function (e, t, n, a, r) { (e = void 0 === e ? '' : e), (t = void 0 === t ? R : d('