Plugin Directory

Changeset 3491846


Ignore:
Timestamp:
03/26/2026 01:59:03 PM (45 hours ago)
Author:
devowl
Message:

This commit is generated through CI/CD, see the GIT repository for more details (09951dd908843e51d9427e1b80aeb54d56ddd00c)

Location:
real-category-library-lite
Files:
68 edited
1 copied

Legend:

Unmodified
Added
Removed
  • real-category-library-lite/tags/4.2.69/CHANGELOG.md

    r3454640 r3491846  
    33All notable changes to this project will be documented in this file.
    44See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
     5
     6## 4.2.69 (2026-03-26)
     7
     8
     9### Maintenance
     10
     11* compatibility with WordPress 7.0 (CU-869ck49rt)
     12
     13
     14<details><summary>Dependency updates @devowl-wp/real-product-manager-wp-client 1.20.18</summary>
     15
     16
     17**_Purpose of dependency:_** _A WordPress client for Real Product Manager_
     18##### Bug Fixes
     19
     20* prevent wrong multisite license target selection with WP_SITEURL (CU-869chrw97)</details>
     21
     22<details><summary>Dependency updates @devowl-wp/utils 1.20.18</summary>
     23
     24
     25**_Purpose of dependency:_** _Utility functionality for all your WordPress plugins._
     26##### Bug Fixes
     27
     28* compatibility with WP Travel Engine (CU-869ccgymq)
     29* prevent Google PageSpeed Insights warnings by excluding deprecated APIs (CU-869cbmc6b)
     30
     31
     32##### Performance Improvements
     33
     34* preload chunks and not wait for resources before rendering the cookie banner to improve Google PageSpeed Insights score (CU-869ccahh5)</details>
     35
     36<details><summary>Development dependency update @devowl-wp/api 1.8.0</summary>
     37
     38
     39**_Purpose of dependency:_** _Shared typings for all Node.js backends and frontends._
     40##### Bug Fixes
     41
     42* flaky tests (CU-8699ywv2h)
     43
     44
     45##### Code Refactoring
     46
     47* enhance translatable properties schema with refinable structure (CU-869c8thkx)
     48
     49
     50##### Features
     51
     52* add versionless contracts,  interpolated params and fix GET request ContentType (CU-8699ywv2h)
     53* implement cursor-based pagination for orders retrieval and add reusable pagination metadata schema (CU-869c8thkx)</details>
     54
     55<details><summary>Development dependency update @devowl-wp/continuous-integration 0.8.1</summary>
     56
     57
     58**_Purpose of dependency:_** _DevOps macros, job templates and jobs for Gitlab CI and @devowl-wp/node-gitlab-ci._
     59##### Maintenance
     60
     61* correctly use peer dependencies (CU-8699tgzbd)
     62* introduce complyforce-proxy with OVHcloud storage (CU-8699tgzbd)</details>
     63
     64<details><summary>Development dependency update @devowl-wp/eslint-config 0.2.23</summary>
     65
     66
     67**_Purpose of dependency:_** _Provide eslint configuration for our complete monorepo._
     68##### Performance Improvements
     69
     70* improve CPU/memory usage in development environment (CU-869cjmbyz)</details>
     71
     72<details><summary>Development dependency update @devowl-wp/monorepo-utils 0.2.25</summary>
     73
     74
     75**_Purpose of dependency:_** _Predefined monorepo utilities and tasks._
     76##### Bug Fixes
     77
     78* changelog dependencies were not processed correctly and broke (CU-869ckaf4m)</details>
     79
     80<details><summary>Development dependency update @devowl-wp/ts-config 0.1.20</summary>
     81
     82
     83**_Purpose of dependency:_** _Predefined compiler options for our backends._
     84##### Code Refactoring
     85
     86* make backend package more side-effect-free, concurrent-aware and allow to regsiter shutdown callbacks (CU-869cb1mbz)</details>
     87
     88<details><summary>Development dependency update @devowl-wp/webpack-config 0.2.55</summary>
     89
     90
     91**_Purpose of dependency:_** _Webpack config builder for multiple ecosystems like standalone React frontends, Antd, Preact and WordPress._
     92##### Performance Improvements
     93
     94* preload chunks and not wait for resources before rendering the cookie banner to improve Google PageSpeed Insights score (CU-869ccahh5)</details>
     95
     96
     97
     98
     99
     100## 4.2.68 (2026-03-18) (not released)
     101
     102**Note:** This version of the package has not (yet) been released publicly. This happens if changes have been made in dependencies that do not affect this package (e.g. changes for the development of the package). The changes will be rolled out with the next official update.
     103
     104**Note:** This package (@devowl-wp/real-category-library) has been updated because a dependency, which is also shipped with this package, has changed.
     105
     106
     107
     108
     109
     110
     111## 4.2.67 (2026-03-04) (not released)
     112
     113**Note:** This version of the package has not (yet) been released publicly. This happens if changes have been made in dependencies that do not affect this package (e.g. changes for the development of the package). The changes will be rolled out with the next official update.
     114
     115**Note:** This package (@devowl-wp/real-category-library) has been updated because a dependency, which is also shipped with this package, has changed.
     116
     117
     118
     119
     120
     121
     122## 4.2.66 (2026-02-24) (not released)
     123
     124**Note:** This version of the package has not (yet) been released publicly. This happens if changes have been made in dependencies that do not affect this package (e.g. changes for the development of the package). The changes will be rolled out with the next official update.
     125
     126**Note:** This package (@devowl-wp/real-category-library) has been updated because a dependency, which is also shipped with this package, has changed.
     127
     128
     129<details><summary>Development dependency update @devowl-wp/continuous-localization 0.8.34</summary>
     130
     131
     132**_Purpose of dependency:_** _Provide a CLI to push and pull localization files from different translation management systems._
     133##### Bug Fixes
     134
     135* add compatibilityJSON v4 flag to i18next conversion commands to correctly create plural form in POT file (CU-869bu5atn)
     136* correctly set msgstr for generate POT file from i18next JSON (CU-869bu5atn)</details>
     137
     138
     139
     140
     141
     142## 4.2.65 (2026-02-11) (not released)
     143
     144**Note:** This version of the package has not (yet) been released publicly. This happens if changes have been made in dependencies that do not affect this package (e.g. changes for the development of the package). The changes will be rolled out with the next official update.
     145
     146**Note:** This package (@devowl-wp/real-category-library) has been updated because a dependency, which is also shipped with this package, has changed.
     147
     148
     149<details><summary>Development dependency update @devowl-wp/api 1.6.4</summary>
     150
     151
     152**_Purpose of dependency:_** _Shared typings for all Node.js backends and frontends._
     153##### Bug Fixes
     154
     155* flatten Zod issues when request body, params and headers are parsed (CU-869bdvdfh)
     156* update OpenAPI requestBody to indicate required status based on schema (CU-869bdvdfh)</details>
     157
     158<details><summary>Development dependency update @devowl-wp/continuous-integration 0.8.0</summary>
     159
     160
     161**_Purpose of dependency:_** _DevOps macros, job templates and jobs for Gitlab CI and @devowl-wp/node-gitlab-ci._
     162##### Build System
     163
     164* automatically generate OpenAPI SDK for PHP and TypeScript (CU-869bdvdfh)
     165
     166
     167##### Features
     168
     169* add support for Postman collection publishing (CU-869bdvdfh)</details>
     170
     171<details><summary>Development dependency update @devowl-wp/continuous-localization 0.8.33</summary>
     172
     173
     174**_Purpose of dependency:_** _Provide a CLI to push and pull localization files from different translation management systems._
     175##### Build System
     176
     177* set defaultValue to an empty string in i18next extraction config (CU-869bu5atn)</details>
     178
     179<details><summary>Development dependency update @devowl-wp/eslint-config 0.2.22</summary>
     180
     181
     182**_Purpose of dependency:_** _Provide eslint configuration for our complete monorepo._
     183##### Build System
     184
     185* automatically generate OpenAPI SDK for PHP and TypeScript (CU-869bdvdfh)</details>
     186
     187
     188
     189
    5190
    6191## 4.2.64 (2026-02-05)
  • real-category-library-lite/tags/4.2.69/README.txt

    r3454640 r3491846  
    22Contributors: devowl, mguenter, jankarres
    33Tags: categories folders, content folders, content management, category management, category library, page folders, page management, post category, post folders, post management, page category, woocommerce folders, woocommerce category, learnpress folders, woocommerce category, bbPress folders, bbPress category, custom post type folders, custom post type management, custom post type category
    4 Stable tag: 4.2.64
     4Stable tag: 4.2.69
    55Requires at least: 5.9
    66Requires PHP: 7.4.0
    7 Tested up to: 6.9
     7Tested up to: 7.0
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.en.html
  • real-category-library-lite/tags/4.2.69/inc/base/others/cachebuster-lib.php

    r3454640 r3491846  
    11<?php
    2 // Cachebusters generated on 2026-02-05 12:53:13
     2// Cachebusters generated on 2026-03-26 11:02:27
    33return [
    44    '@ant-design/icons' => '5.3.7',
  • real-category-library-lite/tags/4.2.69/inc/base/others/cachebuster.php

    r3454640 r3491846  
    11<?php
    2 // Cachebusters generated on 2026-02-05 12:53:28
     2// Cachebusters generated on 2026-03-26 11:02:59
    33return [
    44    'src/public/dist/admin.css'=> 'c2ad85dfbb30ff87afc9e38570b39df1',
    5     'src/public/dist/admin.css.map'=> '89d40d92b6e305ac46437df88479f06f',
     5    'src/public/dist/admin.css.map'=> '16fef61a47f4d38f19cd8cfd34bfc661',
    66    'src/public/dist/admin.lite.js'=> '19751af516eaf4de11a2d37db8d3ed0b',
    7     'src/public/dist/admin.lite.js.map'=> 'cae1cad2010446dffdfb0d9681494f34',
     7    'src/public/dist/admin.lite.js.map'=> 'a5b42a72b1345d9d978c0d77777899bf',
    88    'src/public/dist/admin.lite.js.pot'=> '5922310bf7c28f1408c41c22fdc0b6fa',
    99    'src/public/dist/admin.pro.js'=> 'bce60728d1574e7653174688b941b637',
    10     'src/public/dist/admin.pro.js.map'=> 'dbf3ded163e9de20a7e45123b60d4211',
     10    'src/public/dist/admin.pro.js.map'=> '0379e2d0b93ae2c34db1f9f077248038',
    1111    'src/public/dist/admin.pro.js.pot'=> '662cc7f54e518a03b97feb8f9e43f6da',
    1212    'src/public/dist/i18n-dependency-map-default-lite.json'=> '99914b932bd37a50b983c5e7c90ae93b',
    1313    'src/public/dist/i18n-dependency-map-default-pro.json'=> '99914b932bd37a50b983c5e7c90ae93b',
    1414    'src/public/dist/options.css'=> '6776e55c71abe65fefc05ecaff08b611',
    15     'src/public/dist/options.css.map'=> '6458242f14b643b17f871400b0e1435a',
     15    'src/public/dist/options.css.map'=> '6cbceacd76b2d2e53642d01017b84b26',
    1616    'src/public/dist/options.lite.js'=> 'dc67e8149cc9c870b60134ba82675deb',
    1717    'src/public/dist/options.lite.js.map'=> 'c077861a1074a2855212ab4027da7804',
  • real-category-library-lite/tags/4.2.69/index.php

    r3454640 r3491846  
    99 * Author:          devowl.io
    1010 * Author URI:      https://devowl.io
    11  * Version:                                                                                                      4.2.64
     11 * Version:                                                                                                           4.2.69
    1212 * Text Domain:     real-category-library
    1313 * Domain Path:     /languages
  • real-category-library-lite/tags/4.2.69/languages/meta.json

    r3454640 r3491846  
    11{
    22  "translations": {
    3     "ru_RU": "2596949906b9232578408ae3b4581719",
     3    "es_DO": "4340d0a4ece81e7cbff3eea708bacf73",
     4    "es_UY": "0a71a6e5c7d0c2598773bfd57c966f58",
     5    "fr_FR": "c563c0dc541af05e6d18ad8b831ad3cc",
     6    "nl_NL_formal": "f3d668c79316d8a261baeb1453b31aba",
     7    "fi": "c9175d18012c2a0e86ed6881326f9ce0",
     8    "fr_BE": "83e57e20d14c59f6fb6183c9fa357d98",
     9    "fr_CA": "67c78d84617c2dae580948f48538f464",
     10    "uk": "4eaa26484403da1662fac571d504f21f",
    411    "cs_CZ": "321931298eaaebe2e2d9d02ed9d1c3df",
     12    "de_CH": "86e8d5fa42125875047bf5d626709863",
    513    "de_CH_informal": "7f14685dc2d60fad8bbbdc2df5fb5d63",
    6     "es_DO": "4340d0a4ece81e7cbff3eea708bacf73",
    7     "es_GT": "39cec0ed48325b34c64883847cf87055",
     14    "es_ES": "c42773cc6dd40a4e7db93532484e7ab8",
     15    "es_MX": "0ce891f76a9d41fb67fad557fdb9a711",
     16    "hu_HU": "095ac3c75d3e8698e427d7d8a06c45a2",
     17    "nl_BE": "f03dce248b84de846f2c4636162b2a9c",
     18    "ro_RO": "ff82b71127bb00369ddd38fe81a463d1",
    819    "es_PE": "1673e4439a31984fdf4cd331c20e11f8",
    9     "fi": "c9175d18012c2a0e86ed6881326f9ce0",
    10     "uk": "4eaa26484403da1662fac571d504f21f",
    11     "es_CO": "44040f37274094a38dfe9ae6010a9caa",
    12     "es_VE": "5487e6245bd6b108f6a1db0b57bda412",
    13     "ro_RO": "ff82b71127bb00369ddd38fe81a463d1",
    14     "fr_FR": "c563c0dc541af05e6d18ad8b831ad3cc",
    15     "sl_SI": "c10b76d846a7e7094324a707d43ccc56",
    16     "de_AT": "d9ef74d2317b2fd2bd3559fac999fbd4",
    17     "de_CH": "86e8d5fa42125875047bf5d626709863",
     20    "nb_NO": "3645c5261fe77b8c5f6af86823e7ca9a",
     21    "nl_NL": "fc0b051b9bda4d8641a0cf73e947e1f6",
     22    "pt_PT": "2aff014fa1c9f1052b0befeff854acdd",
     23    "sk_SK": "f08e1418362d40b02134c33660348574",
     24    "sv_SE": "8dd75a2e2250fa3ba77a82103007290b",
     25    "es_EC": "af52baf3aebe537fa8e0f46b35eb7048",
    1826    "de_DE_formal": "1ad593eb36580a30bbb81c14bf556cc8",
    19     "es_AR": "b7697d36eeaaf8509bde7faf3a1a722b",
    20     "fr_BE": "83e57e20d14c59f6fb6183c9fa357d98",
    21     "it_IT": "37850086c9aff7f7027b00dc363f163f",
    22     "da_DK": "46d972a5b443c54a9ca123eda67ffcdf",
     27    "es_PR": "59d7ea6812d2b12aae18853ed6b86f1a",
     28    "hr": "b6fdc1d92333d6516711a44b2f02992f",
     29    "de_DE": "c196cad118c5fefea6b620c686afe015",
    2330    "el": "82b4c5bb95a3a87fbf3b165e24add4d7",
    2431    "es_CL": "00e0f7d23344a4ac165b32bd8977dce7",
     32    "es_GT": "39cec0ed48325b34c64883847cf87055",
     33    "pl_PL": "1aba0c1ee094db7fdc584873a19fc0c1",
     34    "da_DK": "46d972a5b443c54a9ca123eda67ffcdf",
     35    "de_AT": "d9ef74d2317b2fd2bd3559fac999fbd4",
     36    "es_CO": "44040f37274094a38dfe9ae6010a9caa",
    2537    "es_CR": "ccecdcdbd7864db66a430e85895ea707",
    26     "hu_HU": "095ac3c75d3e8698e427d7d8a06c45a2",
    27     "nl_NL_formal": "f3d668c79316d8a261baeb1453b31aba",
    28     "sk_SK": "f08e1418362d40b02134c33660348574",
    29     "es_PR": "59d7ea6812d2b12aae18853ed6b86f1a",
    30     "nl_BE": "f03dce248b84de846f2c4636162b2a9c",
    31     "nl_NL": "fc0b051b9bda4d8641a0cf73e947e1f6",
    32     "pl_PL": "1aba0c1ee094db7fdc584873a19fc0c1",
    33     "sv_SE": "8dd75a2e2250fa3ba77a82103007290b",
    34     "es_EC": "af52baf3aebe537fa8e0f46b35eb7048",
    35     "es_ES": "c42773cc6dd40a4e7db93532484e7ab8",
    36     "nb_NO": "3645c5261fe77b8c5f6af86823e7ca9a",
     38    "es_VE": "5487e6245bd6b108f6a1db0b57bda412",
    3739    "pt_BR": "e085e643605c76414d7977f4254b2f6e",
    38     "pt_PT": "2aff014fa1c9f1052b0befeff854acdd",
    39     "de_DE": "c196cad118c5fefea6b620c686afe015",
    40     "es_MX": "0ce891f76a9d41fb67fad557fdb9a711",
    41     "es_UY": "0a71a6e5c7d0c2598773bfd57c966f58",
    42     "fr_CA": "67c78d84617c2dae580948f48538f464",
    43     "hr": "b6fdc1d92333d6516711a44b2f02992f"
     40    "sl_SI": "c10b76d846a7e7094324a707d43ccc56",
     41    "es_AR": "b7697d36eeaaf8509bde7faf3a1a722b",
     42    "it_IT": "37850086c9aff7f7027b00dc363f163f",
     43    "ru_RU": "2596949906b9232578408ae3b4581719"
    4444  },
    4545  "zipFiles": {
  • real-category-library-lite/tags/4.2.69/public/dist/admin.css

    r3454640 r3491846  
    11body.modal-open .rcl-antd-modal-root{display:none!important}.rcl-antd-app a:not(.button):not(.nav-tab):not(.page-title-action){-webkit-text-decoration:underline;text-decoration:underline}.rcl-antd-dropdown,.rcl-antd-dropdown-menu-submenu-popup,.rcl-antd-image-preview-mask,.rcl-antd-image-preview-wrap,.rcl-antd-message,.rcl-antd-select-dropdown{z-index:105000000!important}.rcl-antd-modal-mask,.rcl-antd-modal-wrap{z-index:99999999!important}.rcl-antd-tooltip{z-index:100000079!important}.rcl-antd-tooltip a{color:inherit!important;-webkit-text-decoration:underline;text-decoration:underline}.rcl-antd-popover{z-index:100000029!important}.rcl-antd-checkbox-input{margin-top:0!important}.rcl-antd-card:not(.rcl-antd-card-bordered){box-shadow:none!important}.rcl-antd-table table{margin:0!important}.rcl-antd-tabs-tabpane-no-margin{margin:0!important;padding:0!important}.rcl-antd-space-compact.rcl-antd-select-addon{display:flex}.rcl-antd-space-compact.rcl-antd-select-addon .rcl-antd-input-group-wrapper{flex:0}.rcl-antd-space-compact.rcl-antd-select-addon .rcl-antd-input{width:0;padding-left:0!important;padding-right:0!important}.rcl-antd-space-compact.rcl-antd-select-addon .rcl-antd-select{flex:1}.rcl-antd-space-compact.rcl-antd-select-addon .rcl-antd-select-selector{border-left:0}.rcl-antd-space-compact.rcl-antd-select-addon .rcl-antd-select-multiple .rcl-antd-select-selector{padding-top:0!important;padding-bottom:0!important}.rcl-antd-radio-disabled>input{opacity:0!important}.rcl-antd-radio-button-wrapper input[type=radio]{opacity:0!important}.rcl-antd-radio-button-card>label{height:auto!important;padding:0;border-radius:0!important;margin:0 5px 5px 0!important}.rcl-antd-radio-button-card>label .rcl-antd-card{background:rgba(0,0,0,0)}.rcl-antd-radio-button-card>label .rcl-antd-card .rcl-antd-card-cover{margin:5px}.rcl-antd-radio-button-card>label.rcl-antd-radio-button-wrapper-checked:not(.rcl-antd-radio-button-wrapper-disabled) .rcl-antd-card-meta-description,.rcl-antd-radio-button-card>label.rcl-antd-radio-button-wrapper-checked:not(.rcl-antd-radio-button-wrapper-disabled) .rcl-antd-card-meta-title{color:#fff}.rcl-antd-form-sticky-submit{position:sticky;bottom:0;background:#f1f1f1;border-top:1px solid #d2b798;margin-top:10px;padding:20px 0;z-index:4}.rcl-antd-modal-root .rcl-antd-form-sticky-submit{background:#fff;margin-bottom:0}.rcl-antd-modal-root .rcl-antd-modal-confirm-body:not(:has(>[role=img])) .rcl-antd-modal-confirm-paragraph{max-width:none;max-width:initial}.rcl-antd-hero-modal{text-align:center}.rcl-antd-hero-modal .rcl-antd-modal-footer{text-align:center}.rcl-antd-hero-modal .rcl-antd-modal-body{padding:0 24px}.rcl-antd-hero-modal .rcl-antd-modal-body img{max-width:90%;max-height:500px;height:auto}.rcl-antd-modal-mount{position:relative;width:100%;background-repeat:no-repeat;background-size:100% auto;background-position:center center}.rcl-antd-modal-mount .rcl-antd-modal-mask,.rcl-antd-modal-mount .rcl-antd-modal-wrap{position:absolute;z-index:auto;z-index:initial}.rcl-antd-modal-mount .rcl-antd-modal-mask{background:0 0}.rcl-antd-modal-mount .rcl-antd-modal-close,.rcl-antd-modal-mount .rcl-antd-modal-footer>button:not(.rcl-antd-btn-primary){display:none!important}.rcl-antd-template-card{width:210px;display:inline-block;padding:10px;margin:5px;vertical-align:top}.rcl-antd-template-card .rcl-antd-card-cover{height:173px;display:flex;align-items:center;justify-content:center}.rcl-antd-template-card .rcl-antd-card-body{padding:20px 5px 10px}.rcl-antd-template-card .rcl-antd-ribbon.rcl-antd-ribbon-placement-end{right:-18px;border:1px solid #fff;box-sizing:content-box}.rcl-antd-template-card .rcl-antd-card-meta-description{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.rcl-antd-template-card .rcl-antd-card-actions{margin-top:10px!important}.rcl-antd-template-card .rcl-antd-card-actions a{-webkit-text-decoration:underline;text-decoration:underline}.rcl-antd-space-vertical{width:100%}.rcl-antd-tabs-nav::before{border-color:#e2e2e2!important}.rcl-antd-select.rcl-antd-select-ellipses-left .rcl-antd-select-selection-item{direction:rtl}.rcl-antd-image-preview-operations{top:32px}.rcl-antd-input{padding:4px 11px!important;line-height:1.5715!important;min-height:auto!important;box-shadow:none!important;border-radius:2px!important;border:1px solid #d9d9d9!important;outline:0!important}.rcl-antd-list-item{background:#fff;padding:15px!important}.rcl-antd-list-item .rcl-antd-badge-count{min-width:9px}.rcl-antd-list-item .rcl-antd-list-item-meta-content{width:auto!important}.rcl-antd-pagination>li{margin-bottom:0!important}.aiot-tree{display:block;position:relative;box-sizing:border-box;transition:opacity .5s ease;opacity:1}.aiot-tree.aiot-wrap-collapse{width:0!important;min-width:0!important}.aiot-tree.aiot-wrap-collapse .aiot-pad>:not(.aiot-split){visibility:hidden}.aiot-tree.aiot-wrap-collapse .aiot-split-collapse:after{content:""}.aiot-tree .clear{clear:both}.aiot-tree .aiot-pad{padding:10px 15px 0 0;margin:0}.aiot-tree .aiot-split-collapse,.aiot-tree .aiot-split-resizer{position:absolute;right:-9px;top:18px;width:16px;height:30px;background:#d6d6d6;border-radius:15px 15px 0 0;cursor:col-resize;touch-action:none}.aiot-tree .aiot-split-collapse:after,.aiot-tree .aiot-split-resizer:after{content:"";font-family:anticon!important;color:#f1f1f1;position:absolute;top:7px;left:-2px;font-size:19px}.aiot-tree .aiot-split-resizer:after{transform:rotate(90deg)}.aiot-tree .aiot-split-collapse{top:49px;border-radius:0 0 15px 15px;cursor:pointer;height:17px}.aiot-tree .aiot-split-collapse:after{content:"";font-size:9px;left:3.5px;top:4px;line-height:9px}.aiot-tree .aiot-toolbar-placeholder{float:left;font-size:15px;padding:5px 4px}.aiot-tree .aiot-toolbar{position:relative;box-sizing:border-box;margin:12px 0 0;padding:12px 15px;width:100%;box-shadow:0 1px 1px rgba(0,0,0,.04);border:1px solid #e5e5e5;background:#fff;color:#555;font-size:13px}.aiot-tree .aiot-toolbar-items{float:right;font-size:15px}.aiot-tree .aiot-toolbar-items>a{padding:4px 3px;display:block!important;float:left;color:#b4b9be;text-align:center;-webkit-text-decoration:none;text-decoration:none;cursor:pointer;font-size:18px}.aiot-tree .aiot-toolbar-items>a:hover{color:#00008b}.aiot-tree .aiot-toolbar-items>a.aiot-border-left{border-left:1px solid #e5e5e5;padding-left:5px;margin-left:5px}.aiot-tree .aiot-fixed-header>div{background:#f1f1f1;z-index:1;border-radius:0 0 5px 5px;overflow:hidden;transition:box-shadow .5s ease}.aiot-tree .aiot-fixed-header .aiot-tree-headline{transition:padding 250ms ease}.aiot-tree .aiot-fixed-header.active>div{box-shadow:0 0 5px -5px #f1f1f1,0 3px 10px 1px rgba(0,0,0,.22)}.aiot-tree .aiot-fixed-header.active>div .aiot-tree-headline{padding-left:5px}.aiot-tree .aiot-fixed-header.active>div .aiot-toolbar{border-color:#fff}.aiot-tree .aiot-search{margin:5px 0 5px 7px;height:24px}.aiot-tree .aiot-nodes{padding-top:5px}.aiot-tree .aiot-nodes .aiot-search-selected:before{content:"";display:block;position:absolute;top:0;left:3px;right:0;bottom:0;box-shadow:0 0 2px 1px #0073aa!important;background:rgba(0,115,170,.1);z-index:999}.aiot-tree .aiot-nodes ul{display:block;margin:0;padding:0;list-style:none;position:relative}.aiot-tree .aiot-nodes ul ul{margin:0 0 0 20px}.aiot-tree .aiot-nodes ul li{display:block;margin:0;padding:0;position:relative}.aiot-tree .aiot-nodes ul:after{content:"";position:absolute;top:20px;left:14px;bottom:12px;border-right:1px solid #ddd;border-left:1px solid #fafafa;transition:border .2s ease-out;width:0;z-index:-2}.aiot-tree .aiot-nodes ul.aiot-disable-links .aiot-node:not(.aiot-forceEnable){opacity:.7;cursor:not-allowed!important}.aiot-tree .aiot-nodes .aiot-node{-webkit-text-decoration:none;text-decoration:none;display:block;padding:4px 10px;box-shadow:none!important;transition:250ms background ease;position:relative;cursor:pointer;color:#0073aa}.aiot-tree .aiot-nodes .aiot-node.aiot-state-hover{background:0 0}.aiot-tree .aiot-nodes .aiot-node.aiot-state-hover:before{position:absolute;left:4px;right:0;bottom:0;top:0;box-shadow:0 0 5px #0073aa!important;border:1px solid #0073aa;z-index:99;clear:both;content:"";display:block}.aiot-tree .aiot-nodes .aiot-node:after{clear:both;content:"";display:block}.aiot-tree .aiot-nodes .aiot-node>div{float:left}.aiot-tree .aiot-nodes .aiot-node .aiot-node-icon{width:20px}.aiot-tree .aiot-nodes .aiot-node .aiot-node-icon>i{background:#fff;border-top:3px solid #fff;border-bottom:3px solid #fff}.aiot-tree .aiot-nodes .aiot-node.aiot-checkable .aiot-node-icon>label{display:none}.aiot-tree .aiot-nodes .aiot-node.aiot-checkable .aiot-node-icon>label .ant-checkbox-inner{width:13px;height:13px}.aiot-tree .aiot-nodes .aiot-node.aiot-checkable .aiot-node-icon>label .ant-checkbox:not(.ant-checkbox-indeterminate) .ant-checkbox-inner:after{left:3px;top:0}.aiot-tree .aiot-nodes .aiot-node .aiot-node-name{display:inline-block;width:calc(100% - 50px);text-overflow:ellipsis;white-space:nowrap;overflow:hidden;padding-bottom:1px}.aiot-tree .aiot-nodes .aiot-node input.aiot-node-name{background:0 0;border:0;box-shadow:0 2px 1px -1px #ababab;padding:0;margin:0;font-size:13px;outline:0!important}.aiot-tree .aiot-nodes .aiot-node .aiot-node-count,.aiot-tree .aiot-nodes .aiot-node button{color:#fff;float:right;background:#9ca1a6;font-size:8px;padding:1px 3px;border-radius:999px;min-width:14px;text-align:center;margin:-1px 0}.aiot-tree .aiot-nodes .aiot-node button{color:#fff;background:#0073aa;padding:5px 4px;border-radius:3px;border:0}.aiot-tree .aiot-nodes .aiot-node button[disabled]{opacity:.5}.aiot-tree .aiot-nodes .aiot-node.aiot-active{cursor:default;background:#e0e0e0;background:linear-gradient(to right,rgba(224,224,224,0) 30px,#e0e0e0 30%,#e0e0e0 100%)}.aiot-tree .aiot-expander{position:absolute;top:0;left:-17px;text-align:center;width:25px;height:21px;padding-top:4px;font-size:11px;color:#000;opacity:.8;font-family:anticon!important}.aiot-tree .aiot-expander.aiot-expander-all{top:-30px}.aiot-tree .aiot-expander.aiot-expander-all:hover{box-shadow:0 -3px 3px 1px rgba(0,115,170,.19)}.aiot-tree .aiot-expander:hover{border-radius:3px;box-shadow:-3px 0 3px 1px rgba(0,115,170,.19)}.aiot-tree .aiot-expander:after{content:"";background:#f1f1f1}.aiot-tree .aiot-expander.aiot-open:after{content:""}.aiot-tree .aiot-disabled{opacity:.7;cursor:not-allowed!important}.aiot-tree .aiot-sortable-chosen .aiot-node-count,.aiot-tree .aiot-sortable-chosen .aiot-node-icon i:after,.aiot-tree .aiot-sortable-chosen .aiot-node-icon i:before,.aiot-tree .aiot-sortable-chosen .aiot-node-name{opacity:.5}.aiot-tree .aiot-sortable-chosen .aiot-expander{visibility:hidden}.aiot-tree .aiot-sortable-drag.sortable-fallback{opacity:0!important}.aiot-tree .aiot-sortable-empty{display:none!important;min-height:10px;margin-top:-10px!important}.aiot-tree .aiot-sortable-empty>li{padding-top:10px!important}.aiot-has-checked .aiot-checkable .aiot-node-icon>:not(label),.aiot-tree:not(.aiot-toolbar-active-button) .aiot-checkable:not(.aiot-state-hover):hover .aiot-node-icon>:not(label){display:none!important}.aiot-has-checked .aiot-checkable .aiot-node-icon>label,.aiot-tree:not(.aiot-toolbar-active-button) .aiot-checkable:not(.aiot-state-hover):hover .aiot-node-icon>label{display:block!important}body.aiot-currently-sorting .aiot-tree .aiot-nodes ul:after{border-left:1px solid #0273aa}body.aiot-currently-sorting .aiot-sortable-empty{display:block!important}body.aiot-currently-sorting ul.aiot-sortable-gets-empty.aiot-sortable-one:after{border-left:none!important}body.aiot-currently-sorting ul.aiot-sortable-gets-empty.aiot-sortable-one>.aiot-sortable-placeholder{height:10px}.ant-popover.aiot-toolbar-menu{padding-left:21px}.ant-popover.aiot-toolbar-menu .ant-popover-arrow{left:17px}.aiot-helper{padding:5px 15px 5px 20px;color:#fff;font-size:12px;border-radius:4px;z-index:9999999;background:#0073aa;box-shadow:0 1px 3px 3px rgba(0,0,0,.2);white-space:nowrap}.aiot-helper p{display:block;margin:0;padding:0;font-size:10px}.aiot-helper .aiot-helper-method-append{display:none}body.aiot-helper-method-append .aiot-helper{background:#159887}body.aiot-helper-method-append .aiot-helper .aiot-helper-method-move{display:none}body.aiot-helper-method-append .aiot-helper .aiot-helper-method-append{display:block}html[dir=rtl] .aiot-tree .aiot-nodes ul ul{margin:0 20px 0 0}html[dir=rtl] .aiot-tree .aiot-nodes .aiot-node>div{float:right}html[dir=rtl] .aiot-tree .aiot-nodes .aiot-node .aiot-node-count,html[dir=rtl] .aiot-tree .aiot-nodes .aiot-node button{float:left}html[dir=rtl] .aiot-tree .aiot-expander{left:auto;left:initial;right:-17px}html[dir=rtl] .aiot-tree .aiot-nodes .aiot-node.aiot-active{background:linear-gradient(to left,rgba(224,224,224,0) 30px,#e0e0e0 30%,#e0e0e0 100%)}html[dir=rtl] .aiot-tree .aiot-nodes ul:after{left:auto;left:initial;right:16px}.aiot-theme-wordpress{border-right:1px solid #e5e5e5}.aiot-theme-wordpress>.aiot-pad.wrap{margin:0 0 15px 0}.aiot-theme-wordpress .aiot-tree-headline{height:31px;font-size:23px;font-weight:400;margin:0;padding:9px 15px 4px 0;line-height:29px}.aiot-theme-wordpress .aiot-nodes{padding-bottom:80px}.aiot-theme-wordpress .aiot-nodes .aiot-node-icon i{background:#f1f1f1!important;border-top:3px solid #f1f1f1!important;border-bottom:3px solid #f1f1f1!important}body.activate-aiot{position:static!important}body.activate-aiot #wpbody-content{float:right;box-sizing:border-box;padding-left:15px}body.activate-aiot.rtl #wpbody-content{padding-left:0}body.activate-aiot.rtl .aiot-theme-wordpress{border-right:1px solid #e5e5e5}body.activate-aiot.rtl .aiot-theme-wordpress>.aiot-pad.wrap{margin-left:15px}body.aiot-wp-dark-mode .aiot-theme-wordpress{border-right-color:#535556}body.aiot-wp-dark-mode .aiot-tree .aiot-split-collapse,body.aiot-wp-dark-mode .aiot-tree .aiot-split-resizer{background:#464646}body.aiot-wp-dark-mode .aiot-tree .aiot-split-collapse:after,body.aiot-wp-dark-mode .aiot-tree .aiot-split-resizer:after{color:#9a9a9a}body.aiot-wp-dark-mode .aiot-tree .aiot-nodes .aiot-node input.aiot-node-name,body.aiot-wp-dark-mode .aiot-tree .aiot-toolbar-items>a:hover{color:#fff}body.aiot-wp-dark-mode .aiot-tree .aiot-fixed-header>div{background:#23282d}body.aiot-wp-dark-mode .aiot-tree .aiot-fixed-header>div .aiot-toolbar{border-color:#191f25}body.aiot-wp-dark-mode .aiot-toolbar{background-color:#32373c;border-color:#191f25;color:#bbc8d4}body.aiot-wp-dark-mode .aiot-tree .aiot-nodes .aiot-node{color:#bbc8d4}body.aiot-wp-dark-mode .aiot-tree .aiot-nodes .aiot-node .aiot-node-count{background:#3e464e}body.aiot-wp-dark-mode .aiot-tree .aiot-nodes .aiot-node.aiot-active{background:#32383e;background:linear-gradient(to right,rgba(224,224,224,0) 30px,#23282d 30%,#4e555d 100%)}body.aiot-wp-dark-mode .aiot-tree hr{border-color:#454c53}body.aiot-wp-dark-mode .aiot-tree .aiot-expander{color:#9ea3a8}body.aiot-wp-dark-mode .aiot-tree .aiot-nodes ul:after{border-right-color:#616161;border-left-color:#424242}body.aiot-wp-dark-mode .aiot-tree .aiot-expander:after{background:#23282d}body.aiot-wp-dark-mode .aiot-theme-wordpress .aiot-nodes .aiot-node-icon i{background-color:#23282d!important;border-top-color:#23282d!important;border-bottom-color:#23282d!important}body.aiot-wp-dark-mode .ant-popover .ant-popover-arrow,body.aiot-wp-dark-mode .ant-popover .ant-popover-inner{background:#23282d}body.aiot-wp-dark-mode .ant-popover .ant-popover-inner{box-shadow:0 2px 8px #000}body.aiot-wp-dark-mode .ant-popover .ant-popover-inner-content,body.aiot-wp-dark-mode .ant-popover .ant-popover-message{color:#fff}@media all and (max-width:700px){.aiot-tree.aiot-full-width .aiot-nodes{padding-bottom:0}#wpbody-content{width:auto!important;float:inherit!important;display:block!important;left:inherit!important;right:inherit!important;bottom:inherit!important;top:inherit!important}}@media only screen and (min-width:700px){body.aiot-wp-material.activate-aiot:not(.wp-customizer) #wpbody-content{margin-left:0!important}body.aiot-wp-material.activate-aiot .aiot-tree{margin-top:30px}body.aiot-wp-material.activate-aiot .aiot-tree .aiot-split-collapse,body.aiot-wp-material.activate-aiot .aiot-tree .aiot-split-resizer{z-index:99}body.aiot-wp-material.activate-aiot .aiot-tree .page-title-action{padding-left:10px!important;padding-right:10px!important}body.aiot-wp-material.activate-aiot .aiot-tree .aiot-fixed-header:not(.active)>div{background:0 0}body.aiot-wp-material.activate-aiot .aiot-tree .aiot-fixed-header:not(.active)>div .aiot-tree-headline{color:#fff;text-shadow:1px 1px 1px rgba(0,0,0,.231372549)}body.aiot-wp-material.activate-aiot .aiot-tree .aiot-fixed-header:not(.active)>div .aiot-toolbar{background:0 0;color:#fff;border:0}body.aiot-wp-material.activate-aiot .aiot-tree .aiot-fixed-header:not(.active)>div .aiot-toolbar .aiot-toolbar-items>a{color:#fff}}body.aiot-wp-material.activate-aiot.mwp-expanded #wpbody>.rml-container{margin-left:15px!important}body.aiot-wp-material.activate-aiot.mwp-expanded #wpbody>#wpbody-content{left:auto!important;left:initial!important}@media only screen and (max-width:699px){body.aiot-wp-material.activate-aiot .rml-container{margin-left:0!important;float:none;background:#ececec}body.aiot-wp-material.activate-aiot .rml-container .aiot-pad{min-height:auto}body.aiot-wp-material.activate-aiot .rml-container .aiot-tree{margin:0 5%!important}}.rcl-container{display:block;float:left}tr.rcl-update-notice th{padding:0}tr.rcl-update-notice .notice{margin:0 20px 10px 26px;border-top:1px solid #ffb900;box-shadow:4px 4px 4px rgba(255,185,0,.1019607843),1px 1px 0 #ffb900}tr.rcl-update-notice .notice p{margin:0}body.woocommerce-feature-enabled-activity-panels.activate-aiot .rcl-container .aiot-pad{margin-top:10px}body.woocommerce-feature-enabled-activity-panels.activate-aiot #wpbody{padding-left:20px}body.woocommerce-feature-enabled-activity-panels.activate-aiot #wpbody #wpbody-content>.wrap{padding-left:0}body.post-type-awsm_job_application.activate-aiot .rcl-container .aiot-pad,body.post-type-awsm_job_openings.activate-aiot .rcl-container .aiot-pad{margin-top:51px}body.post-type-awsm_job_application.activate-aiot #wpbody,body.post-type-awsm_job_openings.activate-aiot #wpbody{padding-left:20px}body.post-type-awsm_job_application.activate-aiot #wpbody #wpbody-content>.wrap,body.post-type-awsm_job_openings.activate-aiot #wpbody #wpbody-content>.wrap{padding-left:0}.e-admin-top-bar--active+#wpbody>.rcl-container{margin-top:60px}.aiot-tree .aiot-node-count{margin:1px 0}@media all and (max-width:700px){body.activate-aiot #wpbody .rcl-container{width:100%!important}}@font-face{font-family:anticon;font-display:fallback;src:url('../lib/@devowl-wp/react-folder-tree/src/legacy/fonts/antd-iconfont.eot');src:url('../lib/@devowl-wp/react-folder-tree/src/legacy/fonts/antd-iconfont.woff') format('woff'),url('../lib/@devowl-wp/react-folder-tree/src/legacy/fonts/antd-iconfont.ttf') format('truetype'),url('../lib/@devowl-wp/react-folder-tree/src/legacy/fonts/antd-iconfont.svg#iconfont') format('svg')}.anticon{display:inline-block;font-style:normal;vertical-align:baseline;text-align:center;text-transform:none;line-height:1;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.anticon:before{display:block;font-family:anticon!important}.anticon-step-forward:before{content:"\e600"}.anticon-step-backward:before{content:"\e601"}.anticon-forward:before{content:"\e602"}.anticon-backward:before{content:"\e603"}.anticon-caret-right:before{content:"\e604"}.anticon-caret-left:before{content:"\e605"}.anticon-caret-down:before{content:"\e606"}.anticon-caret-up:before{content:"\e607"}.anticon-right-circle:before{content:"\e608"}.anticon-circle-right:before{content:"\e608"}.anticon-caret-circle-right:before{content:"\e608"}.anticon-left-circle:before{content:"\e609"}.anticon-circle-left:before{content:"\e609"}.anticon-caret-circle-left:before{content:"\e609"}.anticon-up-circle:before{content:"\e60a"}.anticon-circle-up:before{content:"\e60a"}.anticon-caret-circle-up:before{content:"\e60a"}.anticon-down-circle:before{content:"\e60b"}.anticon-circle-down:before{content:"\e60b"}.anticon-caret-circle-down:before{content:"\e60b"}.anticon-right-circle-o:before{content:"\e60c"}.anticon-circle-o-right:before{content:"\e60c"}.anticon-caret-circle-o-right:before{content:"\e60c"}.anticon-left-circle-o:before{content:"\e60d"}.anticon-circle-o-left:before{content:"\e60d"}.anticon-caret-circle-o-left:before{content:"\e60d"}.anticon-up-circle-o:before{content:"\e60e"}.anticon-circle-o-up:before{content:"\e60e"}.anticon-caret-circle-o-up:before{content:"\e60e"}.anticon-down-circle-o:before{content:"\e60f"}.anticon-circle-o-down:before{content:"\e60f"}.anticon-caret-circle-o-down:before{content:"\e60f"}.anticon-verticle-left:before{content:"\e610"}.anticon-verticle-right:before{content:"\e611"}.anticon-rollback:before{content:"\e612"}.anticon-retweet:before{content:"\e613"}.anticon-shrink:before{content:"\e614"}.anticon-arrows-alt:before{content:"\e615"}.anticon-arrow-salt:before{content:"\e615"}.anticon-reload:before{content:"\e616"}.anticon-double-right:before{content:"\e617"}.anticon-double-left:before{content:"\e618"}.anticon-arrow-down:before{content:"\e619"}.anticon-arrow-up:before{content:"\e61a"}.anticon-arrow-right:before{content:"\e61b"}.anticon-arrow-left:before{content:"\e61c"}.anticon-down:before{content:"\e61d"}.anticon-up:before{content:"\e61e"}.anticon-right:before{content:"\e61f"}.anticon-left:before{content:"\e620"}.anticon-minus-square-o:before{content:"\e621"}.anticon-minus-circle:before{content:"\e622"}.anticon-minus-circle-o:before{content:"\e623"}.anticon-minus:before{content:"\e624"}.anticon-plus-circle-o:before{content:"\e625"}.anticon-plus-circle:before{content:"\e626"}.anticon-plus:before{content:"\e627"}.anticon-info-circle:before{content:"\e628"}.anticon-info-circle-o:before{content:"\e629"}.anticon-info:before{content:"\e62a"}.anticon-exclamation:before{content:"\e62b"}.anticon-exclamation-circle:before{content:"\e62c"}.anticon-exclamation-circle-o:before{content:"\e62d"}.anticon-close-circle:before{content:"\e62e"}.anticon-cross-circle:before{content:"\e62e"}.anticon-close-circle-o:before{content:"\e62f"}.anticon-cross-circle-o:before{content:"\e62f"}.anticon-check-circle:before{content:"\e630"}.anticon-check-circle-o:before{content:"\e631"}.anticon-check:before{content:"\e632"}.anticon-close:before{content:"\e633"}.anticon-cross:before{content:"\e633"}.anticon-customer-service:before{content:"\e634"}.anticon-customerservice:before{content:"\e634"}.anticon-credit-card:before{content:"\e635"}.anticon-code-o:before{content:"\e636"}.anticon-book:before{content:"\e637"}.anticon-bars:before{content:"\e639"}.anticon-question:before{content:"\e63a"}.anticon-question-circle:before{content:"\e63b"}.anticon-question-circle-o:before{content:"\e63c"}.anticon-pause:before{content:"\e63d"}.anticon-pause-circle:before{content:"\e63e"}.anticon-pause-circle-o:before{content:"\e63f"}.anticon-clock-circle:before{content:"\e640"}.anticon-clock-circle-o:before{content:"\e641"}.anticon-swap:before{content:"\e642"}.anticon-swap-left:before{content:"\e643"}.anticon-swap-right:before{content:"\e644"}.anticon-plus-square-o:before{content:"\e645"}.anticon-frown:before{content:"\e646"}.anticon-frown-circle:before{content:"\e646"}.anticon-ellipsis:before{content:"\e647"}.anticon-copy:before{content:"\e648"}.anticon-menu-fold:before{content:"\e9ac"}.anticon-mail:before{content:"\e659"}.anticon-logout:before{content:"\e65a"}.anticon-link:before{content:"\e65b"}.anticon-area-chart:before{content:"\e65c"}.anticon-line-chart:before{content:"\e65d"}.anticon-home:before{content:"\e65e"}.anticon-laptop:before{content:"\e65f"}.anticon-star:before{content:"\e660"}.anticon-star-o:before{content:"\e661"}.anticon-folder:before{content:"\e662"}.anticon-filter:before{content:"\e663"}.anticon-file:before{content:"\e664"}.anticon-exception:before{content:"\e665"}.anticon-meh:before{content:"\e666"}.anticon-meh-circle:before{content:"\e666"}.anticon-meh-o:before{content:"\e667"}.anticon-shopping-cart:before{content:"\e668"}.anticon-save:before{content:"\e669"}.anticon-user:before{content:"\e66a"}.anticon-video-camera:before{content:"\e66b"}.anticon-to-top:before{content:"\e66c"}.anticon-team:before{content:"\e66d"}.anticon-tablet:before{content:"\e66e"}.anticon-solution:before{content:"\e66f"}.anticon-search:before{content:"\e670"}.anticon-share-alt:before{content:"\e671"}.anticon-setting:before{content:"\e672"}.anticon-poweroff:before{content:"\e6d5"}.anticon-picture:before{content:"\e674"}.anticon-phone:before{content:"\e675"}.anticon-paper-clip:before{content:"\e676"}.anticon-notification:before{content:"\e677"}.anticon-mobile:before{content:"\e678"}.anticon-menu-unfold:before{content:"\e9ad"}.anticon-inbox:before{content:"\e67a"}.anticon-lock:before{content:"\e67b"}.anticon-qrcode:before{content:"\e67c"}.anticon-play-circle:before{content:"\e6d0"}.anticon-play-circle-o:before{content:"\e6d1"}.anticon-tag:before{content:"\e6d2"}.anticon-tag-o:before{content:"\e6d3"}.anticon-tags:before{content:"\e67d"}.anticon-tags-o:before{content:"\e67e"}.anticon-cloud-o:before{content:"\e67f"}.anticon-cloud:before{content:"\e680"}.anticon-cloud-upload:before{content:"\e681"}.anticon-cloud-download:before{content:"\e682"}.anticon-cloud-download-o:before{content:"\e683"}.anticon-cloud-upload-o:before{content:"\e684"}.anticon-environment:before{content:"\e685"}.anticon-environment-o:before{content:"\e686"}.anticon-eye:before{content:"\e687"}.anticon-eye-o:before{content:"\e688"}.anticon-camera:before{content:"\e689"}.anticon-camera-o:before{content:"\e68a"}.anticon-windows:before{content:"\e68b"}.anticon-apple:before{content:"\e68c"}.anticon-apple-o:before{content:"\e6d4"}.anticon-android:before{content:"\e938"}.anticon-android-o:before{content:"\e68d"}.anticon-aliwangwang:before{content:"\e68e"}.anticon-aliwangwang-o:before{content:"\e68f"}.anticon-export:before{content:"\e691"}.anticon-edit:before{content:"\e692"}.anticon-appstore-o:before{content:"\e695"}.anticon-appstore:before{content:"\e696"}.anticon-scan:before{content:"\e697"}.anticon-file-text:before{content:"\e698"}.anticon-folder-open:before{content:"\e699"}.anticon-hdd:before{content:"\e69a"}.anticon-ie:before{content:"\e69b"}.anticon-file-jpg:before{content:"\e69c"}.anticon-like:before{content:"\e64c"}.anticon-like-o:before{content:"\e69d"}.anticon-dislike:before{content:"\e64b"}.anticon-dislike-o:before{content:"\e69e"}.anticon-delete:before{content:"\e69f"}.anticon-enter:before{content:"\e6a0"}.anticon-pushpin-o:before{content:"\e6a1"}.anticon-pushpin:before{content:"\e6a2"}.anticon-heart:before{content:"\e6a3"}.anticon-heart-o:before{content:"\e6a4"}.anticon-pay-circle:before{content:"\e6a5"}.anticon-pay-circle-o:before{content:"\e6a6"}.anticon-smile:before{content:"\e6a7"}.anticon-smile-circle:before{content:"\e6a7"}.anticon-smile-o:before{content:"\e6a8"}.anticon-frown-o:before{content:"\e6a9"}.anticon-calculator:before{content:"\e6aa"}.anticon-message:before{content:"\e6ab"}.anticon-chrome:before{content:"\e6ac"}.anticon-github:before{content:"\e6ad"}.anticon-file-unknown:before{content:"\e6af"}.anticon-file-excel:before{content:"\e6b0"}.anticon-file-ppt:before{content:"\e6b1"}.anticon-file-word:before{content:"\e6b2"}.anticon-file-pdf:before{content:"\e6b3"}.anticon-desktop:before{content:"\e6b4"}.anticon-upload:before{content:"\e6b6"}.anticon-download:before{content:"\e6b7"}.anticon-pie-chart:before{content:"\e6b8"}.anticon-unlock:before{content:"\e6ba"}.anticon-calendar:before{content:"\e6bb"}.anticon-windows-o:before{content:"\e6bc"}.anticon-dot-chart:before{content:"\e6bd"}.anticon-bar-chart:before{content:"\e6be"}.anticon-code:before{content:"\e6bf"}.anticon-api:before{content:"\e951"}.anticon-plus-square:before{content:"\e6c0"}.anticon-minus-square:before{content:"\e6c1"}.anticon-close-square:before{content:"\e6c2"}.anticon-close-square-o:before{content:"\e6c3"}.anticon-check-square:before{content:"\e6c4"}.anticon-check-square-o:before{content:"\e6c5"}.anticon-fast-backward:before{content:"\e6c6"}.anticon-fast-forward:before{content:"\e6c7"}.anticon-up-square:before{content:"\e6c8"}.anticon-down-square:before{content:"\e6c9"}.anticon-left-square:before{content:"\e6ca"}.anticon-right-square:before{content:"\e6cb"}.anticon-right-square-o:before{content:"\e6cc"}.anticon-left-square-o:before{content:"\e6cd"}.anticon-down-square-o:before{content:"\e6ce"}.anticon-up-square-o:before{content:"\e6cf"}.anticon-loading:before{content:"\e64d"}.anticon-loading-3-quarters:before{content:"\e6ae"}.anticon-bulb:before{content:"\e649"}.anticon-select:before{content:"\e64a"}.anticon-addfile:before,.anticon-file-add:before{content:"\e910"}.anticon-addfolder:before,.anticon-folder-add:before{content:"\e914"}.anticon-switcher:before{content:"\e913"}.anticon-rocket:before{content:"\e90f"}.anticon-dingding:before{content:"\e923"}.anticon-dingding-o:before{content:"\e925"}.anticon-bell:before{content:"\e64e"}.anticon-disconnect:before{content:"\e64f"}.anticon-database:before{content:"\e650"}.anticon-compass:before{content:"\e6db"}.anticon-barcode:before{content:"\e652"}.anticon-hourglass:before{content:"\e653"}.anticon-key:before{content:"\e654"}.anticon-flag:before{content:"\e655"}.anticon-layout:before{content:"\e656"}.anticon-login:before{content:"\e657"}.anticon-printer:before{content:"\e673"}.anticon-sound:before{content:"\e6e9"}.anticon-usb:before{content:"\e6d7"}.anticon-skin:before{content:"\e6d8"}.anticon-tool:before{content:"\e6d9"}.anticon-sync:before{content:"\e6da"}.anticon-wifi:before{content:"\e6d6"}.anticon-car:before{content:"\e6dc"}.anticon-copyright:before{content:"\e6de"}.anticon-schedule:before{content:"\e6df"}.anticon-user-add:before{content:"\e6ed"}.anticon-user-delete:before{content:"\e6e0"}.anticon-usergroup-add:before{content:"\e6dd"}.anticon-usergroup-delete:before{content:"\e6e1"}.anticon-man:before{content:"\e6e2"}.anticon-woman:before{content:"\e6ec"}.anticon-shop:before{content:"\e6e3"}.anticon-gift:before{content:"\e6e4"}.anticon-idcard:before{content:"\e6e5"}.anticon-medicine-box:before{content:"\e6e6"}.anticon-red-envelope:before{content:"\e6e7"}.anticon-coffee:before{content:"\e6e8"}.anticon-trademark:before{content:"\e651"}.anticon-safety:before{content:"\e6ea"}.anticon-wallet:before{content:"\e6eb"}.anticon-bank:before{content:"\e6ee"}.anticon-trophy:before{content:"\e6ef"}.anticon-contacts:before{content:"\e6f0"}.anticon-global:before{content:"\e6f1"}.anticon-shake:before{content:"\e94f"}.anticon-fork:before{content:"\e6f2"}.anticon-dashboard:before{content:"\e99a"}.anticon-profile:before{content:"\e999"}.anticon-table:before{content:"\e998"}.anticon-warning:before{content:"\e997"}.anticon-form:before{content:"\e996"}.anticon-spin:before{display:inline-block;animation:loadingCircle 1s infinite linear}.anticon-weibo-square:before{content:"\e6f5"}.anticon-weibo-circle:before{content:"\e6f4"}.anticon-taobao-circle:before{content:"\e6f3"}.anticon-html5:before{content:"\e9c7"}.anticon-weibo:before{content:"\e9c6"}.anticon-twitter:before{content:"\e9c5"}.anticon-wechat:before{content:"\e9c4"}.anticon-youtube:before{content:"\e9c3"}.anticon-alipay-circle:before{content:"\e9c2"}.anticon-taobao:before{content:"\e9c1"}.anticon-skype:before{content:"\e9c0"}.anticon-qq:before{content:"\e9bf"}.anticon-medium-workmark:before{content:"\e9be"}.anticon-gitlab:before{content:"\e9bd"}.anticon-medium:before{content:"\e9bc"}.anticon-linkedin:before{content:"\e9bb"}.anticon-google-plus:before{content:"\e9ba"}.anticon-dropbox:before{content:"\e9b9"}.anticon-facebook:before{content:"\e9b8"}.anticon-codepen:before{content:"\e9b7"}.anticon-amazon:before{content:"\e9b6"}.anticon-google:before{content:"\e9b5"}.anticon-codepen-circle:before{content:"\e9b4"}.anticon-alipay:before{content:"\e9b3"}.anticon-ant-design:before{content:"\e9b2"}.anticon-aliyun:before{content:"\e9f4"}.anticon-zhihu:before{content:"\e703"}.anticon-file-markdown:before{content:"\e704"}.anticon-slack:before{content:"\e705"}.anticon-slack-square:before{content:"\e706"}.anticon-behance:before{content:"\e707"}.anticon-behance-square:before{content:"\e708"}.anticon-dribbble:before{content:"\e709"}.anticon-dribbble-square:before{content:"\e70a"}.anticon-instagram:before{content:"\e70b"}.anticon-yuque:before{content:"\e70c"}.fade-appear,.fade-enter{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.fade-leave{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.fade-appear.fade-appear-active,.fade-enter.fade-enter-active{animation-name:antFadeIn;animation-play-state:running}.fade-leave.fade-leave-active{animation-name:antFadeOut;animation-play-state:running;pointer-events:none}.fade-appear,.fade-enter{opacity:0;animation-timing-function:linear}.fade-leave{animation-timing-function:linear}@keyframes antFadeIn{0%{opacity:0}100%{opacity:1}}@keyframes antFadeOut{0%{opacity:1}100%{opacity:0}}.zoom-appear,.zoom-enter{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.zoom-leave{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.zoom-appear.zoom-appear-active,.zoom-enter.zoom-enter-active{animation-name:antZoomIn;animation-play-state:running}.zoom-leave.zoom-leave-active{animation-name:antZoomOut;animation-play-state:running;pointer-events:none}.zoom-appear,.zoom-enter{transform:scale(0);animation-timing-function:cubic-bezier(0.08,0.82,0.17,1)}.zoom-leave{animation-timing-function:cubic-bezier(0.78,0.14,0.15,0.86)}.zoom-big-appear,.zoom-big-enter{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.zoom-big-leave{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.zoom-big-appear.zoom-big-appear-active,.zoom-big-enter.zoom-big-enter-active{animation-name:antZoomBigIn;animation-play-state:running}.zoom-big-leave.zoom-big-leave-active{animation-name:antZoomBigOut;animation-play-state:running;pointer-events:none}.zoom-big-appear,.zoom-big-enter{transform:scale(0);animation-timing-function:cubic-bezier(0.08,0.82,0.17,1)}.zoom-big-leave{animation-timing-function:cubic-bezier(0.78,0.14,0.15,0.86)}.zoom-big-fast-appear,.zoom-big-fast-enter{animation-duration:.1s;animation-fill-mode:both;animation-play-state:paused}.zoom-big-fast-leave{animation-duration:.1s;animation-fill-mode:both;animation-play-state:paused}.zoom-big-fast-appear.zoom-big-fast-appear-active,.zoom-big-fast-enter.zoom-big-fast-enter-active{animation-name:antZoomBigIn;animation-play-state:running}.zoom-big-fast-leave.zoom-big-fast-leave-active{animation-name:antZoomBigOut;animation-play-state:running;pointer-events:none}.zoom-big-fast-appear,.zoom-big-fast-enter{transform:scale(0);animation-timing-function:cubic-bezier(0.08,0.82,0.17,1)}.zoom-big-fast-leave{animation-timing-function:cubic-bezier(0.78,0.14,0.15,0.86)}.zoom-up-appear,.zoom-up-enter{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.zoom-up-leave{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.zoom-up-appear.zoom-up-appear-active,.zoom-up-enter.zoom-up-enter-active{animation-name:antZoomUpIn;animation-play-state:running}.zoom-up-leave.zoom-up-leave-active{animation-name:antZoomUpOut;animation-play-state:running;pointer-events:none}.zoom-up-appear,.zoom-up-enter{transform:scale(0);animation-timing-function:cubic-bezier(0.08,0.82,0.17,1)}.zoom-up-leave{animation-timing-function:cubic-bezier(0.78,0.14,0.15,0.86)}.zoom-down-appear,.zoom-down-enter{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.zoom-down-leave{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.zoom-down-appear.zoom-down-appear-active,.zoom-down-enter.zoom-down-enter-active{animation-name:antZoomDownIn;animation-play-state:running}.zoom-down-leave.zoom-down-leave-active{animation-name:antZoomDownOut;animation-play-state:running;pointer-events:none}.zoom-down-appear,.zoom-down-enter{transform:scale(0);animation-timing-function:cubic-bezier(0.08,0.82,0.17,1)}.zoom-down-leave{animation-timing-function:cubic-bezier(0.78,0.14,0.15,0.86)}.zoom-left-appear,.zoom-left-enter{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.zoom-left-leave{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.zoom-left-appear.zoom-left-appear-active,.zoom-left-enter.zoom-left-enter-active{animation-name:antZoomLeftIn;animation-play-state:running}.zoom-left-leave.zoom-left-leave-active{animation-name:antZoomLeftOut;animation-play-state:running;pointer-events:none}.zoom-left-appear,.zoom-left-enter{transform:scale(0);animation-timing-function:cubic-bezier(0.08,0.82,0.17,1)}.zoom-left-leave{animation-timing-function:cubic-bezier(0.78,0.14,0.15,0.86)}.zoom-right-appear,.zoom-right-enter{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.zoom-right-leave{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.zoom-right-appear.zoom-right-appear-active,.zoom-right-enter.zoom-right-enter-active{animation-name:antZoomRightIn;animation-play-state:running}.zoom-right-leave.zoom-right-leave-active{animation-name:antZoomRightOut;animation-play-state:running;pointer-events:none}.zoom-right-appear,.zoom-right-enter{transform:scale(0);animation-timing-function:cubic-bezier(0.08,0.82,0.17,1)}.zoom-right-leave{animation-timing-function:cubic-bezier(0.78,0.14,0.15,0.86)}@keyframes antZoomIn{0%{opacity:0;transform:scale(.2)}100%{opacity:1;transform:scale(1)}}@keyframes antZoomOut{0%{transform:scale(1)}100%{opacity:0;transform:scale(.2)}}@keyframes antZoomBigIn{0%{opacity:0;transform:scale(.8)}100%{transform:scale(1)}}@keyframes antZoomBigOut{0%{transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes antZoomUpIn{0%{opacity:0;transform-origin:50% 0%;transform:scale(.8)}100%{transform-origin:50% 0%;transform:scale(1)}}@keyframes antZoomUpOut{0%{transform-origin:50% 0%;transform:scale(1)}100%{opacity:0;transform-origin:50% 0%;transform:scale(.8)}}@keyframes antZoomLeftIn{0%{opacity:0;transform-origin:0% 50%;transform:scale(.8)}100%{transform-origin:0% 50%;transform:scale(1)}}@keyframes antZoomLeftOut{0%{transform-origin:0% 50%;transform:scale(1)}100%{opacity:0;transform-origin:0% 50%;transform:scale(.8)}}@keyframes antZoomRightIn{0%{opacity:0;transform-origin:100% 50%;transform:scale(.8)}100%{transform-origin:100% 50%;transform:scale(1)}}@keyframes antZoomRightOut{0%{transform-origin:100% 50%;transform:scale(1)}100%{opacity:0;transform-origin:100% 50%;transform:scale(.8)}}@keyframes antZoomDownIn{0%{opacity:0;transform-origin:50% 100%;transform:scale(.8)}100%{transform-origin:50% 100%;transform:scale(1)}}@keyframes antZoomDownOut{0%{transform-origin:50% 100%;transform:scale(1)}100%{opacity:0;transform-origin:50% 100%;transform:scale(.8)}}@keyframes loadingCircle{100%{transform:rotate(360deg)}}[ant-click-animating-without-extra-node],[ant-click-animating]{position:relative}.ant-click-animating-node,[ant-click-animating-without-extra-node]:after{content:'';position:absolute;top:-1px;left:-1px;bottom:-1px;right:-1px;border-radius:inherit;border:0 solid #1890ff;opacity:.2;animation:fadeEffect 2s cubic-bezier(.08,.82,.17,1),waveEffect .4s cubic-bezier(.08,.82,.17,1);animation-fill-mode:forwards;display:block;pointer-events:none}@keyframes waveEffect{100%{top:-6px;left:-6px;bottom:-6px;right:-6px;border-width:6px}}@keyframes fadeEffect{100%{opacity:0}}.ant-dropdown{font-family:"Chinese Quote",-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei","Helvetica Neue",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-size:14px;font-feature-settings:"tnum";font-variant:tabular-nums;line-height:1.5;color:rgba(0,0,0,.65);box-sizing:border-box;margin:0;padding:0;list-style:none;position:absolute;left:-9999px;top:-9999px;z-index:1050;display:block}.ant-dropdown-wrap{position:relative}.ant-dropdown-wrap .ant-btn>.anticon-down{display:inline-block;font-size:12px;transform:scale(.83333333) rotate(0)}:root .ant-dropdown-wrap .ant-btn>.anticon-down{font-size:12px}.ant-dropdown-wrap .anticon-down:before{transition:transform .2s}.ant-dropdown-wrap-open .anticon-down:before{transform:rotate(180deg)}.ant-dropdown-hidden,.ant-dropdown-menu-hidden{display:none}.ant-dropdown-menu{outline:0;position:relative;list-style-type:none;padding:4px 0;margin:0;text-align:left;background-color:#fff;border-radius:4px;box-shadow:0 2px 8px rgba(0,0,0,.15);background-clip:padding-box}.ant-dropdown-menu-item-group-title{color:rgba(0,0,0,.45);padding:5px 12px;transition:all .3s}.ant-dropdown-menu-submenu-popup{position:absolute;z-index:1050}.ant-dropdown-menu-item,.ant-dropdown-menu-submenu-title{padding:5px 12px;margin:0;clear:both;font-size:14px;font-weight:400;color:rgba(0,0,0,.65);white-space:nowrap;cursor:pointer;transition:all .3s;line-height:22px}.ant-dropdown-menu-item>.anticon:first-child,.ant-dropdown-menu-submenu-title>.anticon:first-child{min-width:12px;margin-right:8px}.ant-dropdown-menu-item>a,.ant-dropdown-menu-submenu-title>a{color:rgba(0,0,0,.65);display:block;padding:5px 12px;margin:-5px -12px;transition:all .3s}.ant-dropdown-menu-item>a:focus,.ant-dropdown-menu-submenu-title>a:focus{-webkit-text-decoration:none;text-decoration:none}.ant-dropdown-menu-item-selected,.ant-dropdown-menu-item-selected>a,.ant-dropdown-menu-submenu-title-selected,.ant-dropdown-menu-submenu-title-selected>a{color:#1890ff;background-color:#e6f7ff}.ant-dropdown-menu-item:hover,.ant-dropdown-menu-submenu-title:hover{background-color:#e6f7ff}.ant-dropdown-menu-item-disabled,.ant-dropdown-menu-submenu-title-disabled{color:rgba(0,0,0,.25);cursor:not-allowed}.ant-dropdown-menu-item-disabled:hover,.ant-dropdown-menu-submenu-title-disabled:hover{color:rgba(0,0,0,.25);background-color:#fff;cursor:not-allowed}.ant-dropdown-menu-item-divider,.ant-dropdown-menu-submenu-title-divider{height:1px;overflow:hidden;background-color:#e8e8e8;line-height:0;margin:4px 0}.ant-dropdown-menu-item .ant-dropdown-menu-submenu-arrow,.ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-arrow{position:absolute;right:8px}.ant-dropdown-menu-item .ant-dropdown-menu-submenu-arrow:after,.ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-arrow:after{font-family:anticon!important;font-style:normal;content:"\e61f";color:rgba(0,0,0,.45);display:inline-block;font-size:12px;transform:scale(.83333333) rotate(0)}:root .ant-dropdown-menu-item .ant-dropdown-menu-submenu-arrow:after,:root .ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-arrow:after{font-size:12px}.ant-dropdown-menu-submenu-title{padding-right:26px}.ant-dropdown-menu-submenu-vertical{position:relative}.ant-dropdown-menu-submenu-vertical>.ant-dropdown-menu{top:0;left:100%;position:absolute;min-width:100%;margin-left:4px;transform-origin:0 0}.ant-dropdown-menu-submenu.ant-dropdown-menu-submenu-disabled .ant-dropdown-menu-submenu-title,.ant-dropdown-menu-submenu.ant-dropdown-menu-submenu-disabled .ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-arrow:after{color:rgba(0,0,0,.25)}.ant-dropdown.slide-down-appear.slide-down-appear-active.ant-dropdown-placement-bottomCenter,.ant-dropdown.slide-down-appear.slide-down-appear-active.ant-dropdown-placement-bottomLeft,.ant-dropdown.slide-down-appear.slide-down-appear-active.ant-dropdown-placement-bottomRight,.ant-dropdown.slide-down-enter.slide-down-enter-active.ant-dropdown-placement-bottomCenter,.ant-dropdown.slide-down-enter.slide-down-enter-active.ant-dropdown-placement-bottomLeft,.ant-dropdown.slide-down-enter.slide-down-enter-active.ant-dropdown-placement-bottomRight{animation-name:antSlideUpIn}.ant-dropdown.slide-up-appear.slide-up-appear-active.ant-dropdown-placement-topCenter,.ant-dropdown.slide-up-appear.slide-up-appear-active.ant-dropdown-placement-topLeft,.ant-dropdown.slide-up-appear.slide-up-appear-active.ant-dropdown-placement-topRight,.ant-dropdown.slide-up-enter.slide-up-enter-active.ant-dropdown-placement-topCenter,.ant-dropdown.slide-up-enter.slide-up-enter-active.ant-dropdown-placement-topLeft,.ant-dropdown.slide-up-enter.slide-up-enter-active.ant-dropdown-placement-topRight{animation-name:antSlideDownIn}.ant-dropdown.slide-down-leave.slide-down-leave-active.ant-dropdown-placement-bottomCenter,.ant-dropdown.slide-down-leave.slide-down-leave-active.ant-dropdown-placement-bottomLeft,.ant-dropdown.slide-down-leave.slide-down-leave-active.ant-dropdown-placement-bottomRight{animation-name:antSlideUpOut}.ant-dropdown.slide-up-leave.slide-up-leave-active.ant-dropdown-placement-topCenter,.ant-dropdown.slide-up-leave.slide-up-leave-active.ant-dropdown-placement-topLeft,.ant-dropdown.slide-up-leave.slide-up-leave-active.ant-dropdown-placement-topRight{animation-name:antSlideDownOut}.ant-dropdown-link .anticon-down,.ant-dropdown-trigger .anticon-down{display:inline-block;font-size:12px;transform:scale(.83333333) rotate(0)}:root .ant-dropdown-link .anticon-down,:root .ant-dropdown-trigger .anticon-down{font-size:12px}.ant-dropdown-link .anticon-ellipsis,.ant-dropdown-trigger .anticon-ellipsis{text-shadow:0 0 currentColor}.ant-dropdown-button{white-space:nowrap}.ant-dropdown-button.ant-btn-group>.ant-btn:last-child:not(:first-child){padding-left:8px;padding-right:8px}.ant-dropdown-button .anticon-down{display:inline-block;font-size:12px;transform:scale(.83333333) rotate(0)}:root .ant-dropdown-button .anticon-down{font-size:12px}.ant-dropdown-menu-dark,.ant-dropdown-menu-dark .ant-dropdown-menu{background:#001529}.ant-dropdown-menu-dark .ant-dropdown-menu-item,.ant-dropdown-menu-dark .ant-dropdown-menu-item>a,.ant-dropdown-menu-dark .ant-dropdown-menu-submenu-title{color:rgba(255,255,255,.65)}.ant-dropdown-menu-dark .ant-dropdown-menu-item .ant-dropdown-menu-submenu-arrow:after,.ant-dropdown-menu-dark .ant-dropdown-menu-item>a .ant-dropdown-menu-submenu-arrow:after,.ant-dropdown-menu-dark .ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-arrow:after{color:rgba(255,255,255,.65)}.ant-dropdown-menu-dark .ant-dropdown-menu-item:hover,.ant-dropdown-menu-dark .ant-dropdown-menu-item>a:hover,.ant-dropdown-menu-dark .ant-dropdown-menu-submenu-title:hover{color:#fff;background:0 0}.ant-dropdown-menu-dark .ant-dropdown-menu-item-selected,.ant-dropdown-menu-dark .ant-dropdown-menu-item-selected:hover,.ant-dropdown-menu-dark .ant-dropdown-menu-item-selected>a{background:#1890ff;color:#fff}@keyframes antCheckboxEffect{0%{transform:scale(1);opacity:.5}100%{transform:scale(1.6);opacity:0}}.ant-checkbox{font-family:"Chinese Quote",-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei","Helvetica Neue",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-size:14px;font-feature-settings:"tnum";font-variant:tabular-nums;line-height:1.5;color:rgba(0,0,0,.65);box-sizing:border-box;margin:0;padding:0;list-style:none;white-space:nowrap;cursor:pointer;outline:0;display:inline-block;line-height:1;position:relative;vertical-align:middle;top:-.09em}.ant-checkbox-input:focus+.ant-checkbox-inner,.ant-checkbox-wrapper:hover .ant-checkbox-inner,.ant-checkbox:hover .ant-checkbox-inner{border-color:#1890ff}.ant-checkbox-checked:after{position:absolute;top:0;left:0;width:100%;height:100%;border-radius:2px;border:1px solid #1890ff;content:'';animation:antCheckboxEffect .36s ease-in-out;animation-fill-mode:both;visibility:hidden}.ant-checkbox-wrapper:hover .ant-checkbox:after,.ant-checkbox:hover:after{visibility:visible}.ant-checkbox-inner{position:relative;top:0;left:0;display:block;width:16px;height:16px;border:1px solid #d9d9d9;border-radius:2px;background-color:#fff;transition:all .3s}.ant-checkbox-inner:after{transform:rotate(45deg) scale(0);position:absolute;left:4.57142857px;top:1.14285714px;display:table;width:5.71428571px;height:9.14285714px;border:2px solid #fff;border-top:0;border-left:0;content:' ';transition:all .1s cubic-bezier(.71, -.46, .88, .6),opacity .1s;opacity:0}.ant-checkbox-input{position:absolute;left:0;z-index:1;cursor:pointer;opacity:0;top:0;bottom:0;right:0;width:100%;height:100%}.ant-checkbox-indeterminate .ant-checkbox-inner:after{content:' ';transform:translate(-50%,-50%) scale(1);border:0;left:50%;top:50%;width:8px;height:8px;background-color:#1890ff;opacity:1}.ant-checkbox-indeterminate.ant-checkbox-disabled .ant-checkbox-inner:after{border-color:rgba(0,0,0,.25)}.ant-checkbox-checked .ant-checkbox-inner:after{transform:rotate(45deg) scale(1);position:absolute;display:table;border:2px solid #fff;border-top:0;border-left:0;content:' ';transition:all .2s cubic-bezier(.12, .4, .29, 1.46) .1s;opacity:1}.ant-checkbox-checked .ant-checkbox-inner{background-color:#1890ff;border-color:#1890ff}.ant-checkbox-disabled{cursor:not-allowed}.ant-checkbox-disabled.ant-checkbox-checked .ant-checkbox-inner:after{animation-name:none;border-color:rgba(0,0,0,.25)}.ant-checkbox-disabled .ant-checkbox-input{cursor:not-allowed}.ant-checkbox-disabled .ant-checkbox-inner{border-color:#d9d9d9!important;background-color:#f5f5f5}.ant-checkbox-disabled .ant-checkbox-inner:after{animation-name:none;border-color:#f5f5f5}.ant-checkbox-disabled+span{color:rgba(0,0,0,.25);cursor:not-allowed}.ant-checkbox-wrapper{font-family:"Chinese Quote",-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei","Helvetica Neue",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-size:14px;font-feature-settings:"tnum";font-variant:tabular-nums;line-height:1.5;color:rgba(0,0,0,.65);box-sizing:border-box;margin:0;padding:0;list-style:none;line-height:inherit;cursor:pointer;display:inline-block}.ant-checkbox-wrapper+.ant-checkbox-wrapper{margin-left:8px}.ant-checkbox+span,.ant-checkbox-wrapper+span{padding-left:8px;padding-right:8px}.ant-checkbox-group{font-family:"Chinese Quote",-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei","Helvetica Neue",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-size:14px;font-feature-settings:"tnum";font-variant:tabular-nums;line-height:1.5;color:rgba(0,0,0,.65);box-sizing:border-box;margin:0;padding:0;list-style:none;display:inline-block}.ant-checkbox-group-item{display:inline-block;margin-right:8px}.ant-checkbox-group-item:last-child{margin-right:0}.ant-checkbox-group-item+.ant-checkbox-group-item{margin-left:0}.ant-menu{font-family:"Chinese Quote",-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei","Helvetica Neue",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-size:14px;font-feature-settings:"tnum";font-variant:tabular-nums;line-height:1.5;box-sizing:border-box;margin:0;padding:0;outline:0;margin-bottom:0;padding-left:0;list-style:none;box-shadow:0 2px 8px rgba(0,0,0,.15);color:rgba(0,0,0,.65);background:#fff;line-height:0;transition:background .3s,width .2s;zoom:1}.ant-menu:after,.ant-menu:before{content:"";display:table}.ant-menu:after{clear:both}.ant-menu ol,.ant-menu ul{list-style:none;margin:0;padding:0}.ant-menu-hidden{display:none}.ant-menu-item-group-title{color:rgba(0,0,0,.45);font-size:14px;line-height:1.5;padding:8px 16px;transition:all .3s}.ant-menu-submenu,.ant-menu-submenu-inline{transition:border-color .3s cubic-bezier(.645, .045, .355, 1),background .3s cubic-bezier(.645, .045, .355, 1),padding .15s cubic-bezier(.645, .045, .355, 1)}.ant-menu-item:active,.ant-menu-submenu-title:active{background:#e6f7ff}.ant-menu-submenu .ant-menu-sub{cursor:auto;cursor:initial;transition:background .3s cubic-bezier(.645, .045, .355, 1),padding .3s cubic-bezier(.645, .045, .355, 1)}.ant-menu-item>a{display:block;color:rgba(0,0,0,.65)}.ant-menu-item>a:hover{color:#1890ff}.ant-menu-item>a:focus{-webkit-text-decoration:none;text-decoration:none}.ant-menu-item>a:before{position:absolute;background-color:transparent;top:0;left:0;bottom:0;right:0;content:''}.ant-menu-item-divider{height:1px;overflow:hidden;background-color:#e8e8e8;line-height:0}.ant-menu-item-active,.ant-menu-item:hover,.ant-menu-submenu-active,.ant-menu-submenu-title:hover,.ant-menu:not(.ant-menu-inline) .ant-menu-submenu-open{color:#1890ff}.ant-menu-horizontal .ant-menu-item,.ant-menu-horizontal .ant-menu-submenu{margin-top:-1px}.ant-menu-horizontal>.ant-menu-item-active,.ant-menu-horizontal>.ant-menu-item:hover,.ant-menu-horizontal>.ant-menu-submenu .ant-menu-submenu-title:hover{background-color:transparent}.ant-menu-item-selected{color:#1890ff}.ant-menu-item-selected>a,.ant-menu-item-selected>a:hover{color:#1890ff}.ant-menu:not(.ant-menu-horizontal) .ant-menu-item-selected{background-color:#e6f7ff}.ant-menu-inline,.ant-menu-vertical,.ant-menu-vertical-left{border-right:1px solid #e8e8e8}.ant-menu-vertical-right{border-left:1px solid #e8e8e8}.ant-menu-vertical-left.ant-menu-sub,.ant-menu-vertical-right.ant-menu-sub,.ant-menu-vertical.ant-menu-sub{border-right:0;padding:0;transform-origin:0 0}.ant-menu-vertical-left.ant-menu-sub .ant-menu-item,.ant-menu-vertical-right.ant-menu-sub .ant-menu-item,.ant-menu-vertical.ant-menu-sub .ant-menu-item{border-right:0;margin-left:0;left:0}.ant-menu-vertical-left.ant-menu-sub .ant-menu-item:after,.ant-menu-vertical-right.ant-menu-sub .ant-menu-item:after,.ant-menu-vertical.ant-menu-sub .ant-menu-item:after{border-right:0}.ant-menu-vertical-left.ant-menu-sub>.ant-menu-item,.ant-menu-vertical-left.ant-menu-sub>.ant-menu-submenu,.ant-menu-vertical-right.ant-menu-sub>.ant-menu-item,.ant-menu-vertical-right.ant-menu-sub>.ant-menu-submenu,.ant-menu-vertical.ant-menu-sub>.ant-menu-item,.ant-menu-vertical.ant-menu-sub>.ant-menu-submenu{transform-origin:0 0}.ant-menu-horizontal.ant-menu-sub,.ant-menu-vertical-left.ant-menu-sub,.ant-menu-vertical-right.ant-menu-sub,.ant-menu-vertical.ant-menu-sub{min-width:160px}.ant-menu-item,.ant-menu-submenu-title{cursor:pointer;margin:0;padding:0 20px;position:relative;display:block;white-space:nowrap;transition:color .3s cubic-bezier(.645, .045, .355, 1),border-color .3s cubic-bezier(.645, .045, .355, 1),background .3s cubic-bezier(.645, .045, .355, 1),padding .15s cubic-bezier(.645, .045, .355, 1)}.ant-menu-item .anticon,.ant-menu-submenu-title .anticon{min-width:14px;margin-right:10px;transition:font-size .15s cubic-bezier(.215, .61, .355, 1),margin .3s cubic-bezier(.645, .045, .355, 1)}.ant-menu-item .anticon+span,.ant-menu-submenu-title .anticon+span{transition:opacity .3s cubic-bezier(.645, .045, .355, 1),width .3s cubic-bezier(.645, .045, .355, 1);opacity:1}.ant-menu>.ant-menu-item-divider{height:1px;margin:1px 0;overflow:hidden;padding:0;line-height:0;background-color:#e8e8e8}.ant-menu-submenu-popup{position:absolute;border-radius:4px;z-index:1050}.ant-menu-submenu-popup:before{position:absolute;top:-7px;left:-6px;right:-6px;bottom:0;content:' ';opacity:.0001}.ant-menu-submenu>.ant-menu{background-color:#fff;border-radius:4px}.ant-menu-submenu>.ant-menu-submenu-title:after{transition:transform .3s cubic-bezier(.645, .045, .355, 1)}.ant-menu-submenu-inline>.ant-menu-submenu-title .ant-menu-submenu-arrow,.ant-menu-submenu-vertical-left>.ant-menu-submenu-title .ant-menu-submenu-arrow,.ant-menu-submenu-vertical-right>.ant-menu-submenu-title .ant-menu-submenu-arrow,.ant-menu-submenu-vertical>.ant-menu-submenu-title .ant-menu-submenu-arrow{transition:transform .3s cubic-bezier(.645, .045, .355, 1);position:absolute;top:50%;right:16px;width:10px}.ant-menu-submenu-inline>.ant-menu-submenu-title .ant-menu-submenu-arrow:after,.ant-menu-submenu-inline>.ant-menu-submenu-title .ant-menu-submenu-arrow:before,.ant-menu-submenu-vertical-left>.ant-menu-submenu-title .ant-menu-submenu-arrow:after,.ant-menu-submenu-vertical-left>.ant-menu-submenu-title .ant-menu-submenu-arrow:before,.ant-menu-submenu-vertical-right>.ant-menu-submenu-title .ant-menu-submenu-arrow:after,.ant-menu-submenu-vertical-right>.ant-menu-submenu-title .ant-menu-submenu-arrow:before,.ant-menu-submenu-vertical>.ant-menu-submenu-title .ant-menu-submenu-arrow:after,.ant-menu-submenu-vertical>.ant-menu-submenu-title .ant-menu-submenu-arrow:before{content:'';position:absolute;vertical-align:baseline;background:#fff;background-image:linear-gradient(to right,rgba(0,0,0,.65),rgba(0,0,0,.65));width:6px;height:1.5px;border-radius:2px;transition:background .3s cubic-bezier(.645, .045, .355, 1),transform .3s cubic-bezier(.645, .045, .355, 1),top .3s cubic-bezier(.645, .045, .355, 1)}.ant-menu-submenu-inline>.ant-menu-submenu-title .ant-menu-submenu-arrow:before,.ant-menu-submenu-vertical-left>.ant-menu-submenu-title .ant-menu-submenu-arrow:before,.ant-menu-submenu-vertical-right>.ant-menu-submenu-title .ant-menu-submenu-arrow:before,.ant-menu-submenu-vertical>.ant-menu-submenu-title .ant-menu-submenu-arrow:before{transform:rotate(45deg) translateY(-2px)}.ant-menu-submenu-inline>.ant-menu-submenu-title .ant-menu-submenu-arrow:after,.ant-menu-submenu-vertical-left>.ant-menu-submenu-title .ant-menu-submenu-arrow:after,.ant-menu-submenu-vertical-right>.ant-menu-submenu-title .ant-menu-submenu-arrow:after,.ant-menu-submenu-vertical>.ant-menu-submenu-title .ant-menu-submenu-arrow:after{transform:rotate(-45deg) translateY(2px)}.ant-menu-submenu-inline>.ant-menu-submenu-title:hover .ant-menu-submenu-arrow:after,.ant-menu-submenu-inline>.ant-menu-submenu-title:hover .ant-menu-submenu-arrow:before,.ant-menu-submenu-vertical-left>.ant-menu-submenu-title:hover .ant-menu-submenu-arrow:after,.ant-menu-submenu-vertical-left>.ant-menu-submenu-title:hover .ant-menu-submenu-arrow:before,.ant-menu-submenu-vertical-right>.ant-menu-submenu-title:hover .ant-menu-submenu-arrow:after,.ant-menu-submenu-vertical-right>.ant-menu-submenu-title:hover .ant-menu-submenu-arrow:before,.ant-menu-submenu-vertical>.ant-menu-submenu-title:hover .ant-menu-submenu-arrow:after,.ant-menu-submenu-vertical>.ant-menu-submenu-title:hover .ant-menu-submenu-arrow:before{background:linear-gradient(to right,#1890ff,#1890ff)}.ant-menu-submenu-inline>.ant-menu-submenu-title .ant-menu-submenu-arrow:before{transform:rotate(-45deg) translateX(2px)}.ant-menu-submenu-inline>.ant-menu-submenu-title .ant-menu-submenu-arrow:after{transform:rotate(45deg) translateX(-2px)}.ant-menu-submenu-open.ant-menu-submenu-inline>.ant-menu-submenu-title .ant-menu-submenu-arrow{transform:translateY(-2px)}.ant-menu-submenu-open.ant-menu-submenu-inline>.ant-menu-submenu-title .ant-menu-submenu-arrow:after{transform:rotate(-45deg) translateX(-2px)}.ant-menu-submenu-open.ant-menu-submenu-inline>.ant-menu-submenu-title .ant-menu-submenu-arrow:before{transform:rotate(45deg) translateX(2px)}.ant-menu-vertical .ant-menu-submenu-selected,.ant-menu-vertical-left .ant-menu-submenu-selected,.ant-menu-vertical-right .ant-menu-submenu-selected{color:#1890ff}.ant-menu-vertical .ant-menu-submenu-selected>a,.ant-menu-vertical-left .ant-menu-submenu-selected>a,.ant-menu-vertical-right .ant-menu-submenu-selected>a{color:#1890ff}.ant-menu-horizontal{border:0;border-bottom:1px solid #e8e8e8;box-shadow:none;line-height:46px}.ant-menu-horizontal>.ant-menu-item,.ant-menu-horizontal>.ant-menu-submenu{position:relative;top:1px;float:left;border-bottom:2px solid transparent}.ant-menu-horizontal>.ant-menu-item-active,.ant-menu-horizontal>.ant-menu-item-open,.ant-menu-horizontal>.ant-menu-item-selected,.ant-menu-horizontal>.ant-menu-item:hover,.ant-menu-horizontal>.ant-menu-submenu-active,.ant-menu-horizontal>.ant-menu-submenu-open,.ant-menu-horizontal>.ant-menu-submenu-selected,.ant-menu-horizontal>.ant-menu-submenu:hover{border-bottom:2px solid #1890ff;color:#1890ff}.ant-menu-horizontal>.ant-menu-item>a{display:block;color:rgba(0,0,0,.65)}.ant-menu-horizontal>.ant-menu-item>a:hover{color:#1890ff}.ant-menu-horizontal>.ant-menu-item>a:before{bottom:-2px}.ant-menu-horizontal>.ant-menu-item-selected>a{color:#1890ff}.ant-menu-horizontal:after{content:"\20";display:block;height:0;clear:both}.ant-menu-inline .ant-menu-item,.ant-menu-vertical .ant-menu-item,.ant-menu-vertical-left .ant-menu-item,.ant-menu-vertical-right .ant-menu-item{position:relative}.ant-menu-inline .ant-menu-item:after,.ant-menu-vertical .ant-menu-item:after,.ant-menu-vertical-left .ant-menu-item:after,.ant-menu-vertical-right .ant-menu-item:after{content:"";position:absolute;right:0;top:0;bottom:0;border-right:3px solid #1890ff;transform:scaleY(.0001);opacity:0;transition:transform .15s cubic-bezier(.215, .61, .355, 1),opacity .15s cubic-bezier(.215, .61, .355, 1)}.ant-menu-inline .ant-menu-item,.ant-menu-inline .ant-menu-submenu-title,.ant-menu-vertical .ant-menu-item,.ant-menu-vertical .ant-menu-submenu-title,.ant-menu-vertical-left .ant-menu-item,.ant-menu-vertical-left .ant-menu-submenu-title,.ant-menu-vertical-right .ant-menu-item,.ant-menu-vertical-right .ant-menu-submenu-title{padding:0 16px;font-size:14px;line-height:40px;height:40px;margin-top:4px;margin-bottom:4px;overflow:hidden;text-overflow:ellipsis}.ant-menu-inline .ant-menu-submenu,.ant-menu-vertical .ant-menu-submenu,.ant-menu-vertical-left .ant-menu-submenu,.ant-menu-vertical-right .ant-menu-submenu{padding-bottom:.01px}.ant-menu-inline .ant-menu-item:not(:last-child),.ant-menu-vertical .ant-menu-item:not(:last-child),.ant-menu-vertical-left .ant-menu-item:not(:last-child),.ant-menu-vertical-right .ant-menu-item:not(:last-child){margin-bottom:8px}.ant-menu-inline>.ant-menu-item,.ant-menu-inline>.ant-menu-submenu>.ant-menu-submenu-title,.ant-menu-vertical-left>.ant-menu-item,.ant-menu-vertical-left>.ant-menu-submenu>.ant-menu-submenu-title,.ant-menu-vertical-right>.ant-menu-item,.ant-menu-vertical-right>.ant-menu-submenu>.ant-menu-submenu-title,.ant-menu-vertical>.ant-menu-item,.ant-menu-vertical>.ant-menu-submenu>.ant-menu-submenu-title{line-height:40px;height:40px}.ant-menu-inline{width:100%}.ant-menu-inline .ant-menu-item-selected:after,.ant-menu-inline .ant-menu-selected:after{transition:transform .15s cubic-bezier(.645, .045, .355, 1),opacity .15s cubic-bezier(.645, .045, .355, 1);opacity:1;transform:scaleY(1)}.ant-menu-inline .ant-menu-item,.ant-menu-inline .ant-menu-submenu-title{width:calc(100% + 1px)}.ant-menu-inline .ant-menu-submenu-title{padding-right:34px}.ant-menu-inline-collapsed{width:80px}.ant-menu-inline-collapsed>.ant-menu-item,.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-item,.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-submenu>.ant-menu-submenu-title,.ant-menu-inline-collapsed>.ant-menu-submenu>.ant-menu-submenu-title{left:0;text-overflow:clip;padding:0 32px!important}.ant-menu-inline-collapsed>.ant-menu-item .ant-menu-submenu-arrow,.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-item .ant-menu-submenu-arrow,.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-submenu>.ant-menu-submenu-title .ant-menu-submenu-arrow,.ant-menu-inline-collapsed>.ant-menu-submenu>.ant-menu-submenu-title .ant-menu-submenu-arrow{display:none}.ant-menu-inline-collapsed>.ant-menu-item .anticon,.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-item .anticon,.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-submenu>.ant-menu-submenu-title .anticon,.ant-menu-inline-collapsed>.ant-menu-submenu>.ant-menu-submenu-title .anticon{font-size:16px;line-height:40px;margin:0}.ant-menu-inline-collapsed>.ant-menu-item .anticon+span,.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-item .anticon+span,.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-submenu>.ant-menu-submenu-title .anticon+span,.ant-menu-inline-collapsed>.ant-menu-submenu>.ant-menu-submenu-title .anticon+span{max-width:0;display:inline-block;opacity:0}.ant-menu-inline-collapsed-tooltip{pointer-events:none}.ant-menu-inline-collapsed-tooltip .anticon{display:none}.ant-menu-inline-collapsed-tooltip a{color:rgba(255,255,255,.85)}.ant-menu-inline-collapsed .ant-menu-item-group-title{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;padding-left:4px;padding-right:4px}.ant-menu-item-group-list{margin:0;padding:0}.ant-menu-item-group-list .ant-menu-item,.ant-menu-item-group-list .ant-menu-submenu-title{padding:0 16px 0 28px}.ant-menu-root.ant-menu-inline,.ant-menu-root.ant-menu-vertical,.ant-menu-root.ant-menu-vertical-left,.ant-menu-root.ant-menu-vertical-right{box-shadow:none}.ant-menu-sub.ant-menu-inline{padding:0;border:0;box-shadow:none;border-radius:0}.ant-menu-sub.ant-menu-inline>.ant-menu-item,.ant-menu-sub.ant-menu-inline>.ant-menu-submenu>.ant-menu-submenu-title{line-height:40px;height:40px;list-style-type:disc;list-style-position:inside}.ant-menu-sub.ant-menu-inline .ant-menu-item-group-title{padding-left:32px}.ant-menu-item-disabled,.ant-menu-submenu-disabled{color:rgba(0,0,0,.25)!important;cursor:not-allowed;background:0 0;border-color:transparent!important}.ant-menu-item-disabled>a,.ant-menu-submenu-disabled>a{color:rgba(0,0,0,.25)!important;pointer-events:none}.ant-menu-item-disabled>.ant-menu-submenu-title,.ant-menu-submenu-disabled>.ant-menu-submenu-title{color:rgba(0,0,0,.25)!important;cursor:not-allowed}.ant-menu-item-disabled>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-item-disabled>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before,.ant-menu-submenu-disabled>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-submenu-disabled>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before{background:rgba(0,0,0,.25)!important}.ant-menu-dark,.ant-menu-dark .ant-menu-sub{color:rgba(255,255,255,.65);background:#001529}.ant-menu-dark .ant-menu-sub .ant-menu-submenu-title .ant-menu-submenu-arrow,.ant-menu-dark .ant-menu-submenu-title .ant-menu-submenu-arrow{opacity:.45;transition:all .3s}.ant-menu-dark .ant-menu-sub .ant-menu-submenu-title .ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-sub .ant-menu-submenu-title .ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-submenu-title .ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-submenu-title .ant-menu-submenu-arrow:before{background:#fff}.ant-menu-dark.ant-menu-submenu-popup{background:0 0}.ant-menu-dark .ant-menu-inline.ant-menu-sub{background:#000c17;box-shadow:0 2px 8px rgba(0,0,0,.45) inset}.ant-menu-dark.ant-menu-horizontal{border-bottom:0}.ant-menu-dark.ant-menu-horizontal>.ant-menu-item,.ant-menu-dark.ant-menu-horizontal>.ant-menu-submenu{border-color:#001529;border-bottom:0;top:0;margin-top:0}.ant-menu-dark.ant-menu-horizontal>.ant-menu-item>a:before{bottom:0}.ant-menu-dark .ant-menu-item,.ant-menu-dark .ant-menu-item-group-title,.ant-menu-dark .ant-menu-item>a{color:rgba(255,255,255,.65)}.ant-menu-dark.ant-menu-inline,.ant-menu-dark.ant-menu-vertical,.ant-menu-dark.ant-menu-vertical-left,.ant-menu-dark.ant-menu-vertical-right{border-right:0}.ant-menu-dark.ant-menu-inline .ant-menu-item,.ant-menu-dark.ant-menu-vertical .ant-menu-item,.ant-menu-dark.ant-menu-vertical-left .ant-menu-item,.ant-menu-dark.ant-menu-vertical-right .ant-menu-item{border-right:0;margin-left:0;left:0}.ant-menu-dark.ant-menu-inline .ant-menu-item:after,.ant-menu-dark.ant-menu-vertical .ant-menu-item:after,.ant-menu-dark.ant-menu-vertical-left .ant-menu-item:after,.ant-menu-dark.ant-menu-vertical-right .ant-menu-item:after{border-right:0}.ant-menu-dark.ant-menu-inline .ant-menu-item,.ant-menu-dark.ant-menu-inline .ant-menu-submenu-title{width:100%}.ant-menu-dark .ant-menu-item-active,.ant-menu-dark .ant-menu-item:hover,.ant-menu-dark .ant-menu-submenu-active,.ant-menu-dark .ant-menu-submenu-open,.ant-menu-dark .ant-menu-submenu-selected,.ant-menu-dark .ant-menu-submenu-title:hover{background-color:transparent;color:#fff}.ant-menu-dark .ant-menu-item-active>a,.ant-menu-dark .ant-menu-item:hover>a,.ant-menu-dark .ant-menu-submenu-active>a,.ant-menu-dark .ant-menu-submenu-open>a,.ant-menu-dark .ant-menu-submenu-selected>a,.ant-menu-dark .ant-menu-submenu-title:hover>a{color:#fff}.ant-menu-dark .ant-menu-item-active>.ant-menu-submenu-title:hover>.ant-menu-submenu-arrow,.ant-menu-dark .ant-menu-item-active>.ant-menu-submenu-title>.ant-menu-submenu-arrow,.ant-menu-dark .ant-menu-item:hover>.ant-menu-submenu-title:hover>.ant-menu-submenu-arrow,.ant-menu-dark .ant-menu-item:hover>.ant-menu-submenu-title>.ant-menu-submenu-arrow,.ant-menu-dark .ant-menu-submenu-active>.ant-menu-submenu-title:hover>.ant-menu-submenu-arrow,.ant-menu-dark .ant-menu-submenu-active>.ant-menu-submenu-title>.ant-menu-submenu-arrow,.ant-menu-dark .ant-menu-submenu-open>.ant-menu-submenu-title:hover>.ant-menu-submenu-arrow,.ant-menu-dark .ant-menu-submenu-open>.ant-menu-submenu-title>.ant-menu-submenu-arrow,.ant-menu-dark .ant-menu-submenu-selected>.ant-menu-submenu-title:hover>.ant-menu-submenu-arrow,.ant-menu-dark .ant-menu-submenu-selected>.ant-menu-submenu-title>.ant-menu-submenu-arrow,.ant-menu-dark .ant-menu-submenu-title:hover>.ant-menu-submenu-title:hover>.ant-menu-submenu-arrow,.ant-menu-dark .ant-menu-submenu-title:hover>.ant-menu-submenu-title>.ant-menu-submenu-arrow{opacity:1}.ant-menu-dark .ant-menu-item-active>.ant-menu-submenu-title:hover>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-item-active>.ant-menu-submenu-title:hover>.ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-item-active>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-item-active>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-item:hover>.ant-menu-submenu-title:hover>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-item:hover>.ant-menu-submenu-title:hover>.ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-item:hover>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-item:hover>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-submenu-active>.ant-menu-submenu-title:hover>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-submenu-active>.ant-menu-submenu-title:hover>.ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-submenu-active>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-submenu-active>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-submenu-open>.ant-menu-submenu-title:hover>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-submenu-open>.ant-menu-submenu-title:hover>.ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-submenu-open>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-submenu-open>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-submenu-selected>.ant-menu-submenu-title:hover>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-submenu-selected>.ant-menu-submenu-title:hover>.ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-submenu-selected>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-submenu-selected>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-submenu-title:hover>.ant-menu-submenu-title:hover>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-submenu-title:hover>.ant-menu-submenu-title:hover>.ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-submenu-title:hover>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-submenu-title:hover>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before{background:#fff}.ant-menu-dark .ant-menu-item-selected{border-right:0;color:#fff}.ant-menu-dark .ant-menu-item-selected:after{border-right:0}.ant-menu-dark .ant-menu-item-selected>a,.ant-menu-dark .ant-menu-item-selected>a:hover{color:#fff}.ant-menu-submenu-popup.ant-menu-dark .ant-menu-item-selected,.ant-menu.ant-menu-dark .ant-menu-item-selected{background-color:#1890ff}.ant-menu-dark .ant-menu-item-disabled,.ant-menu-dark .ant-menu-item-disabled>a,.ant-menu-dark .ant-menu-submenu-disabled,.ant-menu-dark .ant-menu-submenu-disabled>a{opacity:.8;color:rgba(255,255,255,.35)!important}.ant-menu-dark .ant-menu-item-disabled>.ant-menu-submenu-title,.ant-menu-dark .ant-menu-submenu-disabled>.ant-menu-submenu-title{color:rgba(255,255,255,.35)!important}.ant-menu-dark .ant-menu-item-disabled>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-item-disabled>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-submenu-disabled>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-submenu-disabled>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before{background:rgba(255,255,255,.35)!important}.ant-btn{line-height:1.5;display:inline-block;font-weight:400;text-align:center;touch-action:manipulation;cursor:pointer;background-image:none;border:1px solid transparent;white-space:nowrap;padding:0 15px;font-size:14px;border-radius:4px;height:32px;-webkit-user-select:none;-moz-user-select:none;user-select:none;transition:all .3s cubic-bezier(.645, .045, .355, 1);position:relative;color:rgba(0,0,0,.65);background-color:#fff;border-color:#d9d9d9}.ant-btn>.anticon{line-height:1}.ant-btn,.ant-btn:active,.ant-btn:focus{outline:0}.ant-btn:not([disabled]):hover{-webkit-text-decoration:none;text-decoration:none}.ant-btn:not([disabled]):active{outline:0;transition:none}.ant-btn.disabled,.ant-btn[disabled]{cursor:not-allowed}.ant-btn.disabled>*,.ant-btn[disabled]>*{pointer-events:none}.ant-btn-lg{padding:0 15px;font-size:16px;border-radius:4px;height:40px}.ant-btn-sm{padding:0 7px;font-size:14px;border-radius:4px;height:24px}.ant-btn>a:only-child{color:currentColor}.ant-btn>a:only-child:after{content:'';position:absolute;top:0;left:0;bottom:0;right:0;background:0 0}.ant-btn:focus,.ant-btn:hover{color:#40a9ff;background-color:#fff;border-color:#40a9ff}.ant-btn:focus>a:only-child,.ant-btn:hover>a:only-child{color:currentColor}.ant-btn:focus>a:only-child:after,.ant-btn:hover>a:only-child:after{content:'';position:absolute;top:0;left:0;bottom:0;right:0;background:0 0}.ant-btn.active,.ant-btn:active{color:#096dd9;background-color:#fff;border-color:#096dd9}.ant-btn.active>a:only-child,.ant-btn:active>a:only-child{color:currentColor}.ant-btn.active>a:only-child:after,.ant-btn:active>a:only-child:after{content:'';position:absolute;top:0;left:0;bottom:0;right:0;background:0 0}.ant-btn.disabled,.ant-btn.disabled.active,.ant-btn.disabled:active,.ant-btn.disabled:focus,.ant-btn.disabled:hover,.ant-btn[disabled],.ant-btn[disabled].active,.ant-btn[disabled]:active,.ant-btn[disabled]:focus,.ant-btn[disabled]:hover{color:rgba(0,0,0,.25);background-color:#f5f5f5;border-color:#d9d9d9}.ant-btn.disabled.active>a:only-child,.ant-btn.disabled:active>a:only-child,.ant-btn.disabled:focus>a:only-child,.ant-btn.disabled:hover>a:only-child,.ant-btn.disabled>a:only-child,.ant-btn[disabled].active>a:only-child,.ant-btn[disabled]:active>a:only-child,.ant-btn[disabled]:focus>a:only-child,.ant-btn[disabled]:hover>a:only-child,.ant-btn[disabled]>a:only-child{color:currentColor}.ant-btn.disabled.active>a:only-child:after,.ant-btn.disabled:active>a:only-child:after,.ant-btn.disabled:focus>a:only-child:after,.ant-btn.disabled:hover>a:only-child:after,.ant-btn.disabled>a:only-child:after,.ant-btn[disabled].active>a:only-child:after,.ant-btn[disabled]:active>a:only-child:after,.ant-btn[disabled]:focus>a:only-child:after,.ant-btn[disabled]:hover>a:only-child:after,.ant-btn[disabled]>a:only-child:after{content:'';position:absolute;top:0;left:0;bottom:0;right:0;background:0 0}.ant-btn.active,.ant-btn:active,.ant-btn:focus,.ant-btn:hover{background:#fff;-webkit-text-decoration:none;text-decoration:none}.ant-btn>i,.ant-btn>span{pointer-events:none}.ant-btn-primary{color:#fff;background-color:#1890ff;border-color:#1890ff}.ant-btn-primary>a:only-child{color:currentColor}.ant-btn-primary>a:only-child:after{content:'';position:absolute;top:0;left:0;bottom:0;right:0;background:0 0}.ant-btn-primary:focus,.ant-btn-primary:hover{color:#fff;background-color:#40a9ff;border-color:#40a9ff}.ant-btn-primary:focus>a:only-child,.ant-btn-primary:hover>a:only-child{color:currentColor}.ant-btn-primary:focus>a:only-child:after,.ant-btn-primary:hover>a:only-child:after{content:'';position:absolute;top:0;left:0;bottom:0;right:0;background:0 0}.ant-btn-primary.active,.ant-btn-primary:active{color:#fff;background-color:#096dd9;border-color:#096dd9}.ant-btn-primary.active>a:only-child,.ant-btn-primary:active>a:only-child{color:currentColor}.ant-btn-primary.active>a:only-child:after,.ant-btn-primary:active>a:only-child:after{content:'';position:absolute;top:0;left:0;bottom:0;right:0;background:0 0}.ant-btn-primary.disabled,.ant-btn-primary.disabled.active,.ant-btn-primary.disabled:active,.ant-btn-primary.disabled:focus,.ant-btn-primary.disabled:hover,.ant-btn-primary[disabled],.ant-btn-primary[disabled].active,.ant-btn-primary[disabled]:active,.ant-btn-primary[disabled]:focus,.ant-btn-primary[disabled]:hover{color:rgba(0,0,0,.25);background-color:#f5f5f5;border-color:#d9d9d9}.ant-btn-primary.disabled.active>a:only-child,.ant-btn-primary.disabled:active>a:only-child,.ant-btn-primary.disabled:focus>a:only-child,.ant-btn-primary.disabled:hover>a:only-child,.ant-btn-primary.disabled>a:only-child,.ant-btn-primary[disabled].active>a:only-child,.ant-btn-primary[disabled]:active>a:only-child,.ant-btn-primary[disabled]:focus>a:only-child,.ant-btn-primary[disabled]:hover>a:only-child,.ant-btn-primary[disabled]>a:only-child{color:currentColor}.ant-btn-primary.disabled.active>a:only-child:after,.ant-btn-primary.disabled:active>a:only-child:after,.ant-btn-primary.disabled:focus>a:only-child:after,.ant-btn-primary.disabled:hover>a:only-child:after,.ant-btn-primary.disabled>a:only-child:after,.ant-btn-primary[disabled].active>a:only-child:after,.ant-btn-primary[disabled]:active>a:only-child:after,.ant-btn-primary[disabled]:focus>a:only-child:after,.ant-btn-primary[disabled]:hover>a:only-child:after,.ant-btn-primary[disabled]>a:only-child:after{content:'';position:absolute;top:0;left:0;bottom:0;right:0;background:0 0}.ant-btn-group .ant-btn-primary:not(:first-child):not(:last-child){border-right-color:#40a9ff;border-left-color:#40a9ff}.ant-btn-group .ant-btn-primary:not(:first-child):not(:last-child):disabled{border-color:#d9d9d9}.ant-btn-group .ant-btn-primary:first-child:not(:last-child){border-right-color:#40a9ff}.ant-btn-group .ant-btn-primary:first-child:not(:last-child)[disabled]{border-right-color:#d9d9d9}.ant-btn-group .ant-btn-primary+.ant-btn-primary,.ant-btn-group .ant-btn-primary:last-child:not(:first-child){border-left-color:#40a9ff}.ant-btn-group .ant-btn-primary+.ant-btn-primary[disabled],.ant-btn-group .ant-btn-primary:last-child:not(:first-child)[disabled]{border-left-color:#d9d9d9}.ant-btn-ghost{color:rgba(0,0,0,.65);background-color:transparent;border-color:#d9d9d9}.ant-btn-ghost>a:only-child{color:currentColor}.ant-btn-ghost>a:only-child:after{content:'';position:absolute;top:0;left:0;bottom:0;right:0;background:0 0}.ant-btn-ghost:focus,.ant-btn-ghost:hover{color:#40a9ff;background-color:transparent;border-color:#40a9ff}.ant-btn-ghost:focus>a:only-child,.ant-btn-ghost:hover>a:only-child{color:currentColor}.ant-btn-ghost:focus>a:only-child:after,.ant-btn-ghost:hover>a:only-child:after{content:'';position:absolute;top:0;left:0;bottom:0;right:0;background:0 0}.ant-btn-ghost.active,.ant-btn-ghost:active{color:#096dd9;background-color:transparent;border-color:#096dd9}.ant-btn-ghost.active>a:only-child,.ant-btn-ghost:active>a:only-child{color:currentColor}.ant-btn-ghost.active>a:only-child:after,.ant-btn-ghost:active>a:only-child:after{content:'';position:absolute;top:0;left:0;bottom:0;right:0;background:0 0}.ant-btn-ghost.disabled,.ant-btn-ghost.disabled.active,.ant-btn-ghost.disabled:active,.ant-btn-ghost.disabled:focus,.ant-btn-ghost.disabled:hover,.ant-btn-ghost[disabled],.ant-btn-ghost[disabled].active,.ant-btn-ghost[disabled]:active,.ant-btn-ghost[disabled]:focus,.ant-btn-ghost[disabled]:hover{color:rgba(0,0,0,.25);background-color:#f5f5f5;border-color:#d9d9d9}.ant-btn-ghost.disabled.active>a:only-child,.ant-btn-ghost.disabled:active>a:only-child,.ant-btn-ghost.disabled:focus>a:only-child,.ant-btn-ghost.disabled:hover>a:only-child,.ant-btn-ghost.disabled>a:only-child,.ant-btn-ghost[disabled].active>a:only-child,.ant-btn-ghost[disabled]:active>a:only-child,.ant-btn-ghost[disabled]:focus>a:only-child,.ant-btn-ghost[disabled]:hover>a:only-child,.ant-btn-ghost[disabled]>a:only-child{color:currentColor}.ant-btn-ghost.disabled.active>a:only-child:after,.ant-btn-ghost.disabled:active>a:only-child:after,.ant-btn-ghost.disabled:focus>a:only-child:after,.ant-btn-ghost.disabled:hover>a:only-child:after,.ant-btn-ghost.disabled>a:only-child:after,.ant-btn-ghost[disabled].active>a:only-child:after,.ant-btn-ghost[disabled]:active>a:only-child:after,.ant-btn-ghost[disabled]:focus>a:only-child:after,.ant-btn-ghost[disabled]:hover>a:only-child:after,.ant-btn-ghost[disabled]>a:only-child:after{content:'';position:absolute;top:0;left:0;bottom:0;right:0;background:0 0}.ant-btn-dashed{color:rgba(0,0,0,.65);background-color:#fff;border-color:#d9d9d9;border-style:dashed}.ant-btn-dashed>a:only-child{color:currentColor}.ant-btn-dashed>a:only-child:after{content:'';position:absolute;top:0;left:0;bottom:0;right:0;background:0 0}.ant-btn-dashed:focus,.ant-btn-dashed:hover{color:#40a9ff;background-color:#fff;border-color:#40a9ff}.ant-btn-dashed:focus>a:only-child,.ant-btn-dashed:hover>a:only-child{color:currentColor}.ant-btn-dashed:focus>a:only-child:after,.ant-btn-dashed:hover>a:only-child:after{content:'';position:absolute;top:0;left:0;bottom:0;right:0;background:0 0}.ant-btn-dashed.active,.ant-btn-dashed:active{color:#096dd9;background-color:#fff;border-color:#096dd9}.ant-btn-dashed.active>a:only-child,.ant-btn-dashed:active>a:only-child{color:currentColor}.ant-btn-dashed.active>a:only-child:after,.ant-btn-dashed:active>a:only-child:after{content:'';position:absolute;top:0;left:0;bottom:0;right:0;background:0 0}.ant-btn-dashed.disabled,.ant-btn-dashed.disabled.active,.ant-btn-dashed.disabled:active,.ant-btn-dashed.disabled:focus,.ant-btn-dashed.disabled:hover,.ant-btn-dashed[disabled],.ant-btn-dashed[disabled].active,.ant-btn-dashed[disabled]:active,.ant-btn-dashed[disabled]:focus,.ant-btn-dashed[disabled]:hover{color:rgba(0,0,0,.25);background-color:#f5f5f5;border-color:#d9d9d9}.ant-btn-dashed.disabled.active>a:only-child,.ant-btn-dashed.disabled:active>a:only-child,.ant-btn-dashed.disabled:focus>a:only-child,.ant-btn-dashed.disabled:hover>a:only-child,.ant-btn-dashed.disabled>a:only-child,.ant-btn-dashed[disabled].active>a:only-child,.ant-btn-dashed[disabled]:active>a:only-child,.ant-btn-dashed[disabled]:focus>a:only-child,.ant-btn-dashed[disabled]:hover>a:only-child,.ant-btn-dashed[disabled]>a:only-child{color:currentColor}.ant-btn-dashed.disabled.active>a:only-child:after,.ant-btn-dashed.disabled:active>a:only-child:after,.ant-btn-dashed.disabled:focus>a:only-child:after,.ant-btn-dashed.disabled:hover>a:only-child:after,.ant-btn-dashed.disabled>a:only-child:after,.ant-btn-dashed[disabled].active>a:only-child:after,.ant-btn-dashed[disabled]:active>a:only-child:after,.ant-btn-dashed[disabled]:focus>a:only-child:after,.ant-btn-dashed[disabled]:hover>a:only-child:after,.ant-btn-dashed[disabled]>a:only-child:after{content:'';position:absolute;top:0;left:0;bottom:0;right:0;background:0 0}.ant-btn-danger{color:#f5222d;background-color:#f5f5f5;border-color:#d9d9d9}.ant-btn-danger>a:only-child{color:currentColor}.ant-btn-danger>a:only-child:after{content:'';position:absolute;top:0;left:0;bottom:0;right:0;background:0 0}.ant-btn-danger:hover{color:#fff;background-color:#ff4d4f;border-color:#ff4d4f}.ant-btn-danger:hover>a:only-child{color:currentColor}.ant-btn-danger:hover>a:only-child:after{content:'';position:absolute;top:0;left:0;bottom:0;right:0;background:0 0}.ant-btn-danger:focus{color:#ff4d4f;background-color:#fff;border-color:#ff4d4f}.ant-btn-danger:focus>a:only-child{color:currentColor}.ant-btn-danger:focus>a:only-child:after{content:'';position:absolute;top:0;left:0;bottom:0;right:0;background:0 0}.ant-btn-danger.active,.ant-btn-danger:active{color:#fff;background-color:#cf1322;border-color:#cf1322}.ant-btn-danger.active>a:only-child,.ant-btn-danger:active>a:only-child{color:currentColor}.ant-btn-danger.active>a:only-child:after,.ant-btn-danger:active>a:only-child:after{content:'';position:absolute;top:0;left:0;bottom:0;right:0;background:0 0}.ant-btn-danger.disabled,.ant-btn-danger.disabled.active,.ant-btn-danger.disabled:active,.ant-btn-danger.disabled:focus,.ant-btn-danger.disabled:hover,.ant-btn-danger[disabled],.ant-btn-danger[disabled].active,.ant-btn-danger[disabled]:active,.ant-btn-danger[disabled]:focus,.ant-btn-danger[disabled]:hover{color:rgba(0,0,0,.25);background-color:#f5f5f5;border-color:#d9d9d9}.ant-btn-danger.disabled.active>a:only-child,.ant-btn-danger.disabled:active>a:only-child,.ant-btn-danger.disabled:focus>a:only-child,.ant-btn-danger.disabled:hover>a:only-child,.ant-btn-danger.disabled>a:only-child,.ant-btn-danger[disabled].active>a:only-child,.ant-btn-danger[disabled]:active>a:only-child,.ant-btn-danger[disabled]:focus>a:only-child,.ant-btn-danger[disabled]:hover>a:only-child,.ant-btn-danger[disabled]>a:only-child{color:currentColor}.ant-btn-danger.disabled.active>a:only-child:after,.ant-btn-danger.disabled:active>a:only-child:after,.ant-btn-danger.disabled:focus>a:only-child:after,.ant-btn-danger.disabled:hover>a:only-child:after,.ant-btn-danger.disabled>a:only-child:after,.ant-btn-danger[disabled].active>a:only-child:after,.ant-btn-danger[disabled]:active>a:only-child:after,.ant-btn-danger[disabled]:focus>a:only-child:after,.ant-btn-danger[disabled]:hover>a:only-child:after,.ant-btn-danger[disabled]>a:only-child:after{content:'';position:absolute;top:0;left:0;bottom:0;right:0;background:0 0}.ant-btn-circle,.ant-btn-circle-outline{width:32px;padding:0;font-size:16px;border-radius:50%;height:32px}.ant-btn-circle-outline.ant-btn-lg,.ant-btn-circle.ant-btn-lg{width:40px;padding:0;font-size:18px;border-radius:50%;height:40px}.ant-btn-circle-outline.ant-btn-sm,.ant-btn-circle.ant-btn-sm{width:24px;padding:0;font-size:14px;border-radius:50%;height:24px}.ant-btn:before{position:absolute;top:-1px;left:-1px;bottom:-1px;right:-1px;background:#fff;opacity:.35;content:'';border-radius:inherit;z-index:1;transition:opacity .2s;pointer-events:none;display:none}.ant-btn .anticon{transition:margin-left .3s cubic-bezier(.645, .045, .355, 1)}.ant-btn.ant-btn-loading:before{display:block}.ant-btn.ant-btn-loading:not(.ant-btn-circle):not(.ant-btn-circle-outline):not(.ant-btn-icon-only){padding-left:29px;pointer-events:none;position:relative}.ant-btn.ant-btn-loading:not(.ant-btn-circle):not(.ant-btn-circle-outline):not(.ant-btn-icon-only) .anticon{margin-left:-14px}.ant-btn-sm.ant-btn-loading:not(.ant-btn-circle):not(.ant-btn-circle-outline):not(.ant-btn-icon-only){padding-left:24px}.ant-btn-sm.ant-btn-loading:not(.ant-btn-circle):not(.ant-btn-circle-outline):not(.ant-btn-icon-only) .anticon{margin-left:-17px}.ant-btn-group{position:relative;display:inline-block}.ant-btn-group>.ant-btn,.ant-btn-group>span>.ant-btn{position:relative;line-height:30px}.ant-btn-group>.ant-btn.active,.ant-btn-group>.ant-btn:active,.ant-btn-group>.ant-btn:focus,.ant-btn-group>.ant-btn:hover,.ant-btn-group>span>.ant-btn.active,.ant-btn-group>span>.ant-btn:active,.ant-btn-group>span>.ant-btn:focus,.ant-btn-group>span>.ant-btn:hover{z-index:2}.ant-btn-group>.ant-btn:disabled,.ant-btn-group>span>.ant-btn:disabled{z-index:0}.ant-btn-group-lg>.ant-btn,.ant-btn-group-lg>span>.ant-btn{padding:0 15px;font-size:16px;border-radius:0;height:40px;line-height:38px}.ant-btn-group-sm>.ant-btn,.ant-btn-group-sm>span>.ant-btn{padding:0 7px;font-size:14px;border-radius:0;height:24px;line-height:22px}.ant-btn-group-sm>.ant-btn>.anticon,.ant-btn-group-sm>span>.ant-btn>.anticon{font-size:14px}.ant-btn+.ant-btn-group,.ant-btn-group .ant-btn+.ant-btn,.ant-btn-group .ant-btn+span,.ant-btn-group span+.ant-btn,.ant-btn-group+.ant-btn,.ant-btn-group+.ant-btn-group,.ant-btn-group>span+span{margin-left:-1px}.ant-btn-group .ant-btn-primary+.ant-btn:not(.ant-btn-primary):not([disabled]){border-left-color:transparent}.ant-btn-group .ant-btn{border-radius:0}.ant-btn-group>.ant-btn:first-child,.ant-btn-group>span:first-child>.ant-btn{margin-left:0}.ant-btn-group>.ant-btn:only-child{border-radius:4px}.ant-btn-group>span:only-child>.ant-btn{border-radius:4px}.ant-btn-group>.ant-btn:first-child:not(:last-child),.ant-btn-group>span:first-child:not(:last-child)>.ant-btn{border-bottom-left-radius:4px;border-top-left-radius:4px}.ant-btn-group>.ant-btn:last-child:not(:first-child),.ant-btn-group>span:last-child:not(:first-child)>.ant-btn{border-bottom-right-radius:4px;border-top-right-radius:4px}.ant-btn-group-sm>.ant-btn:only-child{border-radius:4px}.ant-btn-group-sm>span:only-child>.ant-btn{border-radius:4px}.ant-btn-group-sm>.ant-btn:first-child:not(:last-child),.ant-btn-group-sm>span:first-child:not(:last-child)>.ant-btn{border-bottom-left-radius:4px;border-top-left-radius:4px}.ant-btn-group-sm>.ant-btn:last-child:not(:first-child),.ant-btn-group-sm>span:last-child:not(:first-child)>.ant-btn{border-bottom-right-radius:4px;border-top-right-radius:4px}.ant-btn-group>.ant-btn-group{float:left}.ant-btn-group>.ant-btn-group:not(:first-child):not(:last-child)>.ant-btn{border-radius:0}.ant-btn-group>.ant-btn-group:first-child:not(:last-child)>.ant-btn:last-child{border-bottom-right-radius:0;border-top-right-radius:0;padding-right:8px}.ant-btn-group>.ant-btn-group:last-child:not(:first-child)>.ant-btn:first-child{border-bottom-left-radius:0;border-top-left-radius:0;padding-left:8px}.ant-btn:not(.ant-btn-circle):not(.ant-btn-circle-outline).ant-btn-icon-only{padding-left:8px;padding-right:8px}.ant-btn:active>span,.ant-btn:focus>span{position:relative}.ant-btn>.anticon+span,.ant-btn>span+.anticon{margin-left:8px}.ant-btn-background-ghost{background:0 0!important;border-color:#fff;color:#fff}.ant-btn-background-ghost.ant-btn-primary{color:#1890ff;background-color:transparent;border-color:#1890ff}.ant-btn-background-ghost.ant-btn-primary>a:only-child{color:currentColor}.ant-btn-background-ghost.ant-btn-primary>a:only-child:after{content:'';position:absolute;top:0;left:0;bottom:0;right:0;background:0 0}.ant-btn-background-ghost.ant-btn-primary:focus,.ant-btn-background-ghost.ant-btn-primary:hover{color:#40a9ff;background-color:transparent;border-color:#40a9ff}.ant-btn-background-ghost.ant-btn-primary:focus>a:only-child,.ant-btn-background-ghost.ant-btn-primary:hover>a:only-child{color:currentColor}.ant-btn-background-ghost.ant-btn-primary:focus>a:only-child:after,.ant-btn-background-ghost.ant-btn-primary:hover>a:only-child:after{content:'';position:absolute;top:0;left:0;bottom:0;right:0;background:0 0}.ant-btn-background-ghost.ant-btn-primary.active,.ant-btn-background-ghost.ant-btn-primary:active{color:#096dd9;background-color:transparent;border-color:#096dd9}.ant-btn-background-ghost.ant-btn-primary.active>a:only-child,.ant-btn-background-ghost.ant-btn-primary:active>a:only-child{color:currentColor}.ant-btn-background-ghost.ant-btn-primary.active>a:only-child:after,.ant-btn-background-ghost.ant-btn-primary:active>a:only-child:after{content:'';position:absolute;top:0;left:0;bottom:0;right:0;background:0 0}.ant-btn-background-ghost.ant-btn-primary.disabled,.ant-btn-background-ghost.ant-btn-primary.disabled.active,.ant-btn-background-ghost.ant-btn-primary.disabled:active,.ant-btn-background-ghost.ant-btn-primary.disabled:focus,.ant-btn-background-ghost.ant-btn-primary.disabled:hover,.ant-btn-background-ghost.ant-btn-primary[disabled],.ant-btn-background-ghost.ant-btn-primary[disabled].active,.ant-btn-background-ghost.ant-btn-primary[disabled]:active,.ant-btn-background-ghost.ant-btn-primary[disabled]:focus,.ant-btn-background-ghost.ant-btn-primary[disabled]:hover{color:rgba(0,0,0,.25);background-color:#f5f5f5;border-color:#d9d9d9}.ant-btn-background-ghost.ant-btn-primary.disabled.active>a:only-child,.ant-btn-background-ghost.ant-btn-primary.disabled:active>a:only-child,.ant-btn-background-ghost.ant-btn-primary.disabled:focus>a:only-child,.ant-btn-background-ghost.ant-btn-primary.disabled:hover>a:only-child,.ant-btn-background-ghost.ant-btn-primary.disabled>a:only-child,.ant-btn-background-ghost.ant-btn-primary[disabled].active>a:only-child,.ant-btn-background-ghost.ant-btn-primary[disabled]:active>a:only-child,.ant-btn-background-ghost.ant-btn-primary[disabled]:focus>a:only-child,.ant-btn-background-ghost.ant-btn-primary[disabled]:hover>a:only-child,.ant-btn-background-ghost.ant-btn-primary[disabled]>a:only-child{color:currentColor}.ant-btn-background-ghost.ant-btn-primary.disabled.active>a:only-child:after,.ant-btn-background-ghost.ant-btn-primary.disabled:active>a:only-child:after,.ant-btn-background-ghost.ant-btn-primary.disabled:focus>a:only-child:after,.ant-btn-background-ghost.ant-btn-primary.disabled:hover>a:only-child:after,.ant-btn-background-ghost.ant-btn-primary.disabled>a:only-child:after,.ant-btn-background-ghost.ant-btn-primary[disabled].active>a:only-child:after,.ant-btn-background-ghost.ant-btn-primary[disabled]:active>a:only-child:after,.ant-btn-background-ghost.ant-btn-primary[disabled]:focus>a:only-child:after,.ant-btn-background-ghost.ant-btn-primary[disabled]:hover>a:only-child:after,.ant-btn-background-ghost.ant-btn-primary[disabled]>a:only-child:after{content:'';position:absolute;top:0;left:0;bottom:0;right:0;background:0 0}.ant-btn-background-ghost.ant-btn-danger{color:#f5222d;background-color:transparent;border-color:#f5222d}.ant-btn-background-ghost.ant-btn-danger>a:only-child{color:currentColor}.ant-btn-background-ghost.ant-btn-danger>a:only-child:after{content:'';position:absolute;top:0;left:0;bottom:0;right:0;background:0 0}.ant-btn-background-ghost.ant-btn-danger:focus,.ant-btn-background-ghost.ant-btn-danger:hover{color:#ff4d4f;background-color:transparent;border-color:#ff4d4f}.ant-btn-background-ghost.ant-btn-danger:focus>a:only-child,.ant-btn-background-ghost.ant-btn-danger:hover>a:only-child{color:currentColor}.ant-btn-background-ghost.ant-btn-danger:focus>a:only-child:after,.ant-btn-background-ghost.ant-btn-danger:hover>a:only-child:after{content:'';position:absolute;top:0;left:0;bottom:0;right:0;background:0 0}.ant-btn-background-ghost.ant-btn-danger.active,.ant-btn-background-ghost.ant-btn-danger:active{color:#cf1322;background-color:transparent;border-color:#cf1322}.ant-btn-background-ghost.ant-btn-danger.active>a:only-child,.ant-btn-background-ghost.ant-btn-danger:active>a:only-child{color:currentColor}.ant-btn-background-ghost.ant-btn-danger.active>a:only-child:after,.ant-btn-background-ghost.ant-btn-danger:active>a:only-child:after{content:'';position:absolute;top:0;left:0;bottom:0;right:0;background:0 0}.ant-btn-background-ghost.ant-btn-danger.disabled,.ant-btn-background-ghost.ant-btn-danger.disabled.active,.ant-btn-background-ghost.ant-btn-danger.disabled:active,.ant-btn-background-ghost.ant-btn-danger.disabled:focus,.ant-btn-background-ghost.ant-btn-danger.disabled:hover,.ant-btn-background-ghost.ant-btn-danger[disabled],.ant-btn-background-ghost.ant-btn-danger[disabled].active,.ant-btn-background-ghost.ant-btn-danger[disabled]:active,.ant-btn-background-ghost.ant-btn-danger[disabled]:focus,.ant-btn-background-ghost.ant-btn-danger[disabled]:hover{color:rgba(0,0,0,.25);background-color:#f5f5f5;border-color:#d9d9d9}.ant-btn-background-ghost.ant-btn-danger.disabled.active>a:only-child,.ant-btn-background-ghost.ant-btn-danger.disabled:active>a:only-child,.ant-btn-background-ghost.ant-btn-danger.disabled:focus>a:only-child,.ant-btn-background-ghost.ant-btn-danger.disabled:hover>a:only-child,.ant-btn-background-ghost.ant-btn-danger.disabled>a:only-child,.ant-btn-background-ghost.ant-btn-danger[disabled].active>a:only-child,.ant-btn-background-ghost.ant-btn-danger[disabled]:active>a:only-child,.ant-btn-background-ghost.ant-btn-danger[disabled]:focus>a:only-child,.ant-btn-background-ghost.ant-btn-danger[disabled]:hover>a:only-child,.ant-btn-background-ghost.ant-btn-danger[disabled]>a:only-child{color:currentColor}.ant-btn-background-ghost.ant-btn-danger.disabled.active>a:only-child:after,.ant-btn-background-ghost.ant-btn-danger.disabled:active>a:only-child:after,.ant-btn-background-ghost.ant-btn-danger.disabled:focus>a:only-child:after,.ant-btn-background-ghost.ant-btn-danger.disabled:hover>a:only-child:after,.ant-btn-background-ghost.ant-btn-danger.disabled>a:only-child:after,.ant-btn-background-ghost.ant-btn-danger[disabled].active>a:only-child:after,.ant-btn-background-ghost.ant-btn-danger[disabled]:active>a:only-child:after,.ant-btn-background-ghost.ant-btn-danger[disabled]:focus>a:only-child:after,.ant-btn-background-ghost.ant-btn-danger[disabled]:hover>a:only-child:after,.ant-btn-background-ghost.ant-btn-danger[disabled]>a:only-child:after{content:'';position:absolute;top:0;left:0;bottom:0;right:0;background:0 0}.ant-btn-two-chinese-chars:first-letter{letter-spacing:.34em}.ant-btn-two-chinese-chars>*{letter-spacing:.34em;margin-right:-.34em}.ant-btn-block{width:100%}a.ant-btn{line-height:30px}a.ant-btn-lg{line-height:38px}a.ant-btn-sm{line-height:22px}.ant-input{font-family:"Chinese Quote",-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei","Helvetica Neue",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-feature-settings:"tnum";font-variant:tabular-nums;box-sizing:border-box;margin:0;padding:0;list-style:none;position:relative;display:inline-block;padding:4px 11px;width:100%;height:32px;font-size:14px;line-height:1.5;color:rgba(0,0,0,.65);background-color:#fff;background-image:none;border:1px solid #d9d9d9;border-radius:4px;transition:all .3s}.ant-input::-moz-placeholder{color:#bfbfbf;opacity:1}.ant-input:-ms-input-placeholder{color:#bfbfbf}.ant-input::-webkit-input-placeholder{color:#bfbfbf}.ant-input:hover{border-color:#40a9ff;border-right-width:1px!important}.ant-input:focus{border-color:#40a9ff;outline:0;box-shadow:0 0 0 2px rgba(24,144,255,.2);border-right-width:1px!important}.ant-input-disabled{background-color:#f5f5f5;opacity:1;cursor:not-allowed;color:rgba(0,0,0,.25)}.ant-input-disabled:hover{border-color:#e6d8d8;border-right-width:1px!important}textarea.ant-input{max-width:100%;height:auto;vertical-align:bottom;transition:all .3s,height 0s;min-height:32px}.ant-input-lg{padding:6px 11px;height:40px;font-size:16px}.ant-input-sm{padding:1px 7px;height:24px}.ant-input-group{font-family:"Chinese Quote",-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei","Helvetica Neue",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-size:14px;font-feature-settings:"tnum";font-variant:tabular-nums;line-height:1.5;color:rgba(0,0,0,.65);box-sizing:border-box;margin:0;padding:0;list-style:none;position:relative;display:table;border-collapse:separate;border-spacing:0;width:100%}.ant-input-group[class*=col-]{float:none;padding-left:0;padding-right:0}.ant-input-group>[class*=col-]{padding-right:8px}.ant-input-group>[class*=col-]:last-child{padding-right:0}.ant-input-group-addon,.ant-input-group-wrap,.ant-input-group>.ant-input{display:table-cell}.ant-input-group-addon:not(:first-child):not(:last-child),.ant-input-group-wrap:not(:first-child):not(:last-child),.ant-input-group>.ant-input:not(:first-child):not(:last-child){border-radius:0}.ant-input-group-addon,.ant-input-group-wrap{width:1px;white-space:nowrap;vertical-align:middle}.ant-input-group-wrap>*{display:block!important}.ant-input-group .ant-input{float:left;width:100%;margin-bottom:0}.ant-input-group .ant-input:focus{z-index:1;border-right-width:1px}.ant-input-group .ant-input:hover{z-index:1;border-right-width:1px}.ant-input-group-addon{padding:0 11px;font-size:14px;font-weight:400;line-height:1;color:rgba(0,0,0,.65);text-align:center;background-color:#fafafa;border:1px solid #d9d9d9;border-radius:4px;position:relative;transition:all .3s}.ant-input-group-addon .ant-select{margin:-5px -11px}.ant-input-group-addon .ant-select .ant-select-selection{background-color:inherit;margin:-1px;border:1px solid transparent;box-shadow:none}.ant-input-group-addon .ant-select-focused .ant-select-selection,.ant-input-group-addon .ant-select-open .ant-select-selection{color:#1890ff}.ant-input-group-addon>i:only-child:after{position:absolute;content:'';top:0;left:0;right:0;bottom:0}.ant-input-group-addon:first-child,.ant-input-group>.ant-input:first-child{border-bottom-right-radius:0;border-top-right-radius:0}.ant-input-group-addon:first-child .ant-select .ant-select-selection,.ant-input-group>.ant-input:first-child .ant-select .ant-select-selection{border-bottom-right-radius:0;border-top-right-radius:0}.ant-input-group>.ant-input-affix-wrapper:not(:first-child) .ant-input{border-bottom-left-radius:0;border-top-left-radius:0}.ant-input-group>.ant-input-affix-wrapper:not(:last-child) .ant-input{border-bottom-right-radius:0;border-top-right-radius:0}.ant-input-group-addon:first-child{border-right:0}.ant-input-group-addon:last-child{border-left:0}.ant-input-group-addon:last-child,.ant-input-group>.ant-input:last-child{border-bottom-left-radius:0;border-top-left-radius:0}.ant-input-group-addon:last-child .ant-select .ant-select-selection,.ant-input-group>.ant-input:last-child .ant-select .ant-select-selection{border-bottom-left-radius:0;border-top-left-radius:0}.ant-input-group-lg .ant-input,.ant-input-group-lg>.ant-input-group-addon{padding:6px 11px;height:40px;font-size:16px}.ant-input-group-sm .ant-input,.ant-input-group-sm>.ant-input-group-addon{padding:1px 7px;height:24px}.ant-input-group-lg .ant-select-selection--single{height:40px}.ant-input-group-sm .ant-select-selection--single{height:24px}.ant-input-group .ant-input-affix-wrapper{display:table-cell;width:100%;float:left}.ant-input-group.ant-input-group-compact{display:block;zoom:1}.ant-input-group.ant-input-group-compact:after,.ant-input-group.ant-input-group-compact:before{content:"";display:table}.ant-input-group.ant-input-group-compact:after{clear:both}.ant-input-group.ant-input-group-compact>*{border-radius:0;border-right-width:0;vertical-align:top;float:none;display:inline-block}.ant-input-group.ant-input-group-compact>span>.ant-input{border-right-width:0}.ant-input-group.ant-input-group-compact .ant-input{float:none}.ant-input-group.ant-input-group-compact>.ant-calendar-picker .ant-input,.ant-input-group.ant-input-group-compact>.ant-cascader-picker .ant-input,.ant-input-group.ant-input-group-compact>.ant-mention-wrapper .ant-mention-editor,.ant-input-group.ant-input-group-compact>.ant-select-auto-complete .ant-input,.ant-input-group.ant-input-group-compact>.ant-select>.ant-select-selection,.ant-input-group.ant-input-group-compact>.ant-time-picker .ant-time-picker-input{border-radius:0;border-right-width:0}.ant-input-group.ant-input-group-compact>.ant-calendar-picker:first-child .ant-input,.ant-input-group.ant-input-group-compact>.ant-cascader-picker:first-child .ant-input,.ant-input-group.ant-input-group-compact>.ant-mention-wrapper:first-child .ant-mention-editor,.ant-input-group.ant-input-group-compact>.ant-select-auto-complete:first-child .ant-input,.ant-input-group.ant-input-group-compact>.ant-select:first-child>.ant-select-selection,.ant-input-group.ant-input-group-compact>.ant-time-picker:first-child .ant-time-picker-input,.ant-input-group.ant-input-group-compact>:first-child{border-top-left-radius:4px;border-bottom-left-radius:4px}.ant-input-group.ant-input-group-compact>.ant-calendar-picker:last-child .ant-input,.ant-input-group.ant-input-group-compact>.ant-cascader-picker:last-child .ant-input,.ant-input-group.ant-input-group-compact>.ant-mention-wrapper:last-child .ant-mention-editor,.ant-input-group.ant-input-group-compact>.ant-select-auto-complete:last-child .ant-input,.ant-input-group.ant-input-group-compact>.ant-select:last-child>.ant-select-selection,.ant-input-group.ant-input-group-compact>.ant-time-picker:last-child .ant-time-picker-input,.ant-input-group.ant-input-group-compact>:last-child{border-top-right-radius:4px;border-bottom-right-radius:4px;border-right-width:1px}.ant-input-group-wrapper{display:inline-block;vertical-align:top;width:100%}.ant-input-affix-wrapper{font-family:"Chinese Quote",-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei","Helvetica Neue",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-size:14px;font-feature-settings:"tnum";font-variant:tabular-nums;line-height:1.5;color:rgba(0,0,0,.65);box-sizing:border-box;margin:0;padding:0;list-style:none;position:relative;display:inline-block;width:100%}.ant-input-affix-wrapper:hover .ant-input:not(.ant-input-disabled){border-color:#40a9ff;border-right-width:1px!important}.ant-input-affix-wrapper .ant-input{position:static}.ant-input-affix-wrapper .ant-input-prefix,.ant-input-affix-wrapper .ant-input-suffix{position:absolute;top:50%;transform:translateY(-50%);line-height:0;color:rgba(0,0,0,.65)}.ant-input-affix-wrapper .ant-input-prefix :not(.anticon),.ant-input-affix-wrapper .ant-input-suffix :not(.anticon){line-height:1.5}.ant-input-affix-wrapper .ant-input-prefix{left:12px}.ant-input-affix-wrapper .ant-input-suffix{right:12px}.ant-input-affix-wrapper .ant-input:not(:first-child){padding-left:30px}.ant-input-affix-wrapper .ant-input:not(:last-child){padding-right:30px}.ant-input-affix-wrapper .ant-input{min-height:100%}.ant-input-search-icon{color:rgba(0,0,0,.45);cursor:pointer;transition:all .3s}.ant-input-search-icon:hover{color:#333}.ant-input-search:not(.ant-input-search-small)>.ant-input-suffix{right:12px}.ant-input-search>.ant-input-suffix>.ant-input-search-button{border-top-left-radius:0;border-bottom-left-radius:0}.ant-input-search>.ant-input-suffix>.ant-input-search-button>.anticon-search{font-size:16px}.ant-input-search.ant-input-search-enter-button>.ant-input{padding-right:46px}.ant-input-search.ant-input-search-enter-button>.ant-input-suffix{right:0}.ant-alert{font-family:"Chinese Quote",-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei","Helvetica Neue",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-size:14px;font-feature-settings:"tnum";font-variant:tabular-nums;line-height:1.5;color:rgba(0,0,0,.65);box-sizing:border-box;margin:0;padding:0;list-style:none;position:relative;padding:8px 15px 8px 37px;border-radius:4px}.ant-alert.ant-alert-no-icon{padding:8px 15px}.ant-alert-icon{top:12.5px;left:16px;position:absolute}.ant-alert-description{font-size:14px;line-height:22px;display:none}.ant-alert-success{border:1px solid #b7eb8f;background-color:#f6ffed}.ant-alert-success .ant-alert-icon{color:#52c41a}.ant-alert-info{border:1px solid #91d5ff;background-color:#e6f7ff}.ant-alert-info .ant-alert-icon{color:#1890ff}.ant-alert-warning{border:1px solid #ffe58f;background-color:#fffbe6}.ant-alert-warning .ant-alert-icon{color:#faad14}.ant-alert-error{border:1px solid #ffa39e;background-color:#fff1f0}.ant-alert-error .ant-alert-icon{color:#f5222d}.ant-alert-close-icon{font-size:12px;position:absolute;right:16px;top:8px;line-height:22px;overflow:hidden;cursor:pointer}.ant-alert-close-icon .anticon-cross{color:rgba(0,0,0,.45);transition:color .3s}.ant-alert-close-icon .anticon-cross:hover{color:#404040}.ant-alert-close-text{position:absolute;right:16px}.ant-alert-with-description{padding:15px 15px 15px 64px;position:relative;border-radius:4px;color:rgba(0,0,0,.65);line-height:1.5}.ant-alert-with-description.ant-alert-no-icon{padding:15px}.ant-alert-with-description .ant-alert-icon{position:absolute;top:16px;left:24px;font-size:24px}.ant-alert-with-description .ant-alert-close-icon{position:absolute;top:16px;right:16px;cursor:pointer;font-size:14px}.ant-alert-with-description .ant-alert-message{font-size:16px;color:rgba(0,0,0,.85);display:block;margin-bottom:4px}.ant-alert-with-description .ant-alert-description{display:block}.ant-alert.ant-alert-close{height:0!important;margin:0;padding-top:0;padding-bottom:0;transition:all .3s cubic-bezier(.78, .14, .15, .86);transform-origin:50% 0}.ant-alert-slide-up-leave{animation:antAlertSlideUpOut .3s cubic-bezier(.78,.14,.15,.86);animation-fill-mode:both}.ant-alert-banner{border-radius:0;border:0;margin-bottom:0}@keyframes antAlertSlideUpIn{0%{opacity:0;transform-origin:0% 0%;transform:scaleY(0)}100%{opacity:1;transform-origin:0% 0%;transform:scaleY(1)}}@keyframes antAlertSlideUpOut{0%{opacity:1;transform-origin:0% 0%;transform:scaleY(1)}100%{opacity:0;transform-origin:0% 0%;transform:scaleY(0)}}.ant-spin{font-family:"Chinese Quote",-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei","Helvetica Neue",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-size:14px;font-feature-settings:"tnum";font-variant:tabular-nums;line-height:1.5;color:rgba(0,0,0,.65);box-sizing:border-box;margin:0;padding:0;list-style:none;color:#1890ff;vertical-align:middle;text-align:center;opacity:0;position:absolute;transition:transform .3s cubic-bezier(.78, .14, .15, .86);display:none}.ant-spin-spinning{opacity:1;position:static;display:inline-block}.ant-spin-nested-loading{position:relative}.ant-spin-nested-loading>div>.ant-spin{display:block;position:absolute;height:100%;max-height:360px;width:100%;z-index:4}.ant-spin-nested-loading>div>.ant-spin .ant-spin-dot{position:absolute;top:50%;left:50%;margin:-10px}.ant-spin-nested-loading>div>.ant-spin .ant-spin-text{position:absolute;top:50%;width:100%;padding-top:5px;text-shadow:0 1px 2px #fff}.ant-spin-nested-loading>div>.ant-spin.ant-spin-show-text .ant-spin-dot{margin-top:-20px}.ant-spin-nested-loading>div>.ant-spin-sm .ant-spin-dot{margin:-7px}.ant-spin-nested-loading>div>.ant-spin-sm .ant-spin-text{padding-top:2px}.ant-spin-nested-loading>div>.ant-spin-sm.ant-spin-show-text .ant-spin-dot{margin-top:-17px}.ant-spin-nested-loading>div>.ant-spin-lg .ant-spin-dot{margin:-16px}.ant-spin-nested-loading>div>.ant-spin-lg .ant-spin-text{padding-top:11px}.ant-spin-nested-loading>div>.ant-spin-lg.ant-spin-show-text .ant-spin-dot{margin-top:-26px}.ant-spin-container{position:relative;transition:opacity .3s;zoom:1}.ant-spin-container:after,.ant-spin-container:before{content:"";display:table}.ant-spin-container:after{clear:both}.ant-spin-blur{pointer-events:none;user-select:none;overflow:hidden;opacity:.5;-webkit-filter:blur(0.5px);filter:blur(.5px)}.ant-spin-blur:after{content:'';position:absolute;left:0;right:0;top:0;bottom:0;background:#fff;opacity:.3;transition:all .3s;z-index:10}.ant-spin-tip{color:rgba(0,0,0,.45)}.ant-spin-dot{position:relative;display:inline-block;font-size:20px;width:20px;height:20px}.ant-spin-dot i{width:9px;height:9px;border-radius:100%;background-color:#1890ff;transform:scale(.75);display:block;position:absolute;opacity:.3;animation:antSpinMove 1s infinite linear alternate;transform-origin:50% 50%}.ant-spin-dot i:first-child{left:0;top:0}.ant-spin-dot i:nth-child(2){right:0;top:0;animation-delay:.4s}.ant-spin-dot i:nth-child(3){right:0;bottom:0;animation-delay:.8s}.ant-spin-dot i:nth-child(4){left:0;bottom:0;animation-delay:1.2s}.ant-spin-dot-spin{transform:rotate(45deg);animation:antRotate 1.2s infinite linear}.ant-spin-sm .ant-spin-dot{font-size:14px;width:14px;height:14px}.ant-spin-sm .ant-spin-dot i{width:6px;height:6px}.ant-spin-lg .ant-spin-dot{font-size:32px;width:32px;height:32px}.ant-spin-lg .ant-spin-dot i{width:14px;height:14px}.ant-spin.ant-spin-show-text .ant-spin-text{display:block}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){.ant-spin-blur{background:#fff;opacity:.5}}@keyframes antSpinMove{to{opacity:1}}@keyframes antRotate{to{transform:rotate(405deg)}}.ant-message{font-family:"Chinese Quote",-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei","Helvetica Neue",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-size:14px;font-feature-settings:"tnum";font-variant:tabular-nums;line-height:1.5;color:rgba(0,0,0,.65);box-sizing:border-box;margin:0;padding:0;list-style:none;position:fixed;z-index:1010;width:100%;top:16px;left:0;pointer-events:none}.ant-message-notice{padding:8px;text-align:center}.ant-message-notice:first-child{margin-top:-8px}.ant-message-notice-content{padding:10px 16px;border-radius:4px;box-shadow:0 4px 12px rgba(0,0,0,.15);background:#fff;display:inline-block;pointer-events:all}.ant-message-success .anticon{color:#52c41a}.ant-message-error .anticon{color:#f5222d}.ant-message-warning .anticon{color:#faad14}.ant-message-info .anticon,.ant-message-loading .anticon{color:#1890ff}.ant-message .anticon{margin-right:8px;font-size:16px;top:1px;position:relative}.ant-message-notice.move-up-leave.move-up-leave-active{animation-name:MessageMoveOut;overflow:hidden;animation-duration:.3s}@keyframes MessageMoveOut{0%{opacity:1;max-height:150px;padding:8px}100%{opacity:0;max-height:0;padding:0}}.ant-popover{font-family:"Chinese Quote",-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei","Helvetica Neue",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-size:14px;font-feature-settings:"tnum";font-variant:tabular-nums;line-height:1.5;color:rgba(0,0,0,.65);box-sizing:border-box;margin:0;padding:0;list-style:none;position:absolute;top:0;left:0;z-index:1030;cursor:auto;-webkit-user-select:text;-moz-user-select:text;user-select:text;white-space:normal;font-weight:400;text-align:left}.ant-popover:after{content:"";position:absolute;background:rgba(255,255,255,.01)}.ant-popover-hidden{display:none}.ant-popover-placement-top,.ant-popover-placement-topLeft,.ant-popover-placement-topRight{padding-bottom:10px}.ant-popover-placement-right,.ant-popover-placement-rightBottom,.ant-popover-placement-rightTop{padding-left:10px}.ant-popover-placement-bottom,.ant-popover-placement-bottomLeft,.ant-popover-placement-bottomRight{padding-top:10px}.ant-popover-placement-left,.ant-popover-placement-leftBottom,.ant-popover-placement-leftTop{padding-right:10px}.ant-popover-inner{background-color:#fff;background-clip:padding-box;border-radius:4px;box-shadow:0 2px 8px rgba(0,0,0,.15)}.ant-popover-title{min-width:177px;margin:0;padding:5px 16px 4px;min-height:32px;border-bottom:1px solid #e8e8e8;color:rgba(0,0,0,.85);font-weight:500}.ant-popover-inner-content{padding:12px 16px;color:rgba(0,0,0,.65)}.ant-popover-message{padding:4px 0 12px;font-size:14px;color:rgba(0,0,0,.65)}.ant-popover-message>.anticon{color:#faad14;line-height:1.6;position:absolute}.ant-popover-message-title{padding-left:22px}.ant-popover-buttons{text-align:right;margin-bottom:4px}.ant-popover-buttons button{margin-left:8px}.ant-popover-arrow{background:#fff;width:8.48528137px;height:8.48528137px;transform:rotate(45deg);position:absolute;display:block;border-color:transparent;border-style:solid}.ant-popover-placement-top>.ant-popover-content>.ant-popover-arrow,.ant-popover-placement-topLeft>.ant-popover-content>.ant-popover-arrow,.ant-popover-placement-topRight>.ant-popover-content>.ant-popover-arrow{bottom:5.5px;box-shadow:3px 3px 7px rgba(0,0,0,.07)}.ant-popover-placement-top>.ant-popover-content>.ant-popover-arrow{left:50%;transform:translateX(-50%) rotate(45deg)}.ant-popover-placement-topLeft>.ant-popover-content>.ant-popover-arrow{left:16px}.ant-popover-placement-topRight>.ant-popover-content>.ant-popover-arrow{right:16px}.ant-popover-placement-right>.ant-popover-content>.ant-popover-arrow,.ant-popover-placement-rightBottom>.ant-popover-content>.ant-popover-arrow,.ant-popover-placement-rightTop>.ant-popover-content>.ant-popover-arrow{left:6px;box-shadow:-3px 3px 7px rgba(0,0,0,.07)}.ant-popover-placement-right>.ant-popover-content>.ant-popover-arrow{top:50%;transform:translateY(-50%) rotate(45deg)}.ant-popover-placement-rightTop>.ant-popover-content>.ant-popover-arrow{top:12px}.ant-popover-placement-rightBottom>.ant-popover-content>.ant-popover-arrow{bottom:12px}.ant-popover-placement-bottom>.ant-popover-content>.ant-popover-arrow,.ant-popover-placement-bottomLeft>.ant-popover-content>.ant-popover-arrow,.ant-popover-placement-bottomRight>.ant-popover-content>.ant-popover-arrow{top:6px;box-shadow:-2px -2px 5px rgba(0,0,0,.06)}.ant-popover-placement-bottom>.ant-popover-content>.ant-popover-arrow{left:50%;transform:translateX(-50%) rotate(45deg)}.ant-popover-placement-bottomLeft>.ant-popover-content>.ant-popover-arrow{left:16px}.ant-popover-placement-bottomRight>.ant-popover-content>.ant-popover-arrow{right:16px}.ant-popover-placement-left>.ant-popover-content>.ant-popover-arrow,.ant-popover-placement-leftBottom>.ant-popover-content>.ant-popover-arrow,.ant-popover-placement-leftTop>.ant-popover-content>.ant-popover-arrow{right:6px;box-shadow:3px -3px 7px rgba(0,0,0,.07)}.ant-popover-placement-left>.ant-popover-content>.ant-popover-arrow{top:50%;transform:translateY(-50%) rotate(45deg)}.ant-popover-placement-leftTop>.ant-popover-content>.ant-popover-arrow{top:12px}.ant-popover-placement-leftBottom>.ant-popover-content>.ant-popover-arrow{bottom:12px}
    2 //# sourceMappingURL=https://sourcemap.devowl.io/real-category-library/4.2.64/89d40d92b6e305ac46437df88479f06f/admin.css.map
     2//# sourceMappingURL=https://sourcemap.devowl.io/real-category-library/4.2.69/16fef61a47f4d38f19cd8cfd34bfc661/admin.css.map
  • real-category-library-lite/tags/4.2.69/public/dist/admin.lite.js

    r3454640 r3491846  
    11var realCategoryLibrary_admin;(()=>{"use strict";var e,t={180:(e,t,o)=>{o.d(t,{Cu:()=>i.C,Cw:()=>l.C,Eb:()=>r.E,PC:()=>s.P,Xk:()=>d.X,el:()=>c.e,gX:()=>n.g,hg:()=>a.h});var s=o(7627),i=o(1324),n=o(9906),r=o(956),a=o(9077),l=o(9336),d=o(4431),c=o(1764)},956:(e,t,o)=>{o.d(t,{E:()=>s});const s={path:"/hierarchy/:id",method:o(8789).RouteHttpVerb.PUT}},1324:(e,t,o)=>{o.d(t,{C:()=>s});const s={path:"/terms/:id",method:o(8789).RouteHttpVerb.PUT}},1594:e=>{e.exports=React},1669:e=>{e.exports=jQuery},1764:(e,t,o)=>{o.d(t,{e:()=>s});const s={path:"/options/:post_type",method:o(8789).RouteHttpVerb.PATCH}},2293:e=>{e.exports=devowlWp_realUtils},2370:(e,t,o)=>{o.r(t),o.d(t,{OptionStore:()=>y.t6,RootStore:()=>y.yd,TreeStore:()=>y.kG,locationRestHierarchyPut:()=>u.Eb,locationRestNoticeLiteDelete:()=>u.Xk,locationRestOptionsPostTypePatch:()=>u.el,locationRestPostsBulkMovePut:()=>u.PC,locationRestTermsDelete:()=>u.gX,locationRestTermsPost:()=>u.hg,locationRestTermsPut:()=>u.Cu,locationRestTreeGet:()=>u.Cw,useStores:()=>y.gy});var s=o(3713),i=(o(6422),o(7572),o(3046),o(7560),o(1669)),n=o.n(i),r=o(8789),a=o(2658),l=o(9907),d=o(7164),c=o(3203),h=o(7710),p={};for(const e in r)"default"!==e&&(p[e]=()=>r[e]);o.d(t,p);var u=o(180),y=o(5773);(0,r.handleCorruptRestApi)({[c.y.get.optionStore.restNamespace]:async()=>{await(0,h.E)({location:{path:"/plugin"}})}}),n()(document).ready(async()=>{const{optionStore:{others:e}}=c.y.get,{typenow:t,screenSettings:{isActive:o}}=e;if(n()("#wpbody").fadeTo(100,1),o){n()("body").addClass("activate-aiot");const e=n()("<div/>").prependTo("body.wp-admin #wpbody").addClass("rcl-container").get(0);(0,r.createRoot)(e).render((0,s.jsx)(l.K,{children:(0,s.jsx)(a.w,{})}))}else(0,d.z)()}),n()("link#dark_mode-css").length&&n()("body").addClass("aiot-wp-dark-mode")},2519:(e,t,o)=>{o.d(t,{k:()=>b});var s=o(1490),i=o(4497),n=o(1669),r=o.n(n),a=o(7710),l=o(9906),d=o(1324);class c{constructor(e,t){this.hash="",this.className="",this.icon="",this.iconActive="",this.childNodes=[],this.title="",this.count=0,this.isTreeLinkDisabled=!1,this.selected=!1,this.$busy=!1,this.$droppable=!0,this.$visible=!0,this.$rename=!1,this.isQueried=!0,this.setTitle=(0,i.flow)(function*(e){this.$busy=!0;try{const t=yield(0,a.E)({location:d.C,params:{id:+this.id},request:{name:e,taxonomy:this.properties.taxonomy}});return this.title=e,this.properties=r().extend({},this.properties,t),t}finally{this.$busy=!1}}),this.trash=(0,i.flow)(function*(){this.$busy=!0;try{yield(0,a.E)({location:l.g,params:{id:+this.id,taxonomy:this.properties.taxonomy}}),this.$visible=!1}finally{this.$busy=!1}}),this.treeStore=t,(0,i.runInAction)(()=>{(0,i.set)(this,e),this.id&&t.refs.set(this.id,this)})}static mapFromRestEndpoint({term_id:e,name:t,count:o,childNodes:s,...i}){return new c({id:e,title:t,count:o,icon:"folder",iconActive:"folder-open",childNodes:s?s.map(c.mapFromRestEndpoint.bind(this)):[],properties:i},this)}overwriteCompletelyFromResponse(e){r().each(e,(e,t)=>(0,i.set)(this,e,t))}addChildNode(e){this.childNodes.push(e)}setSelected(e){this.selected!==e&&(this.selected=e,e&&this.treeStore.setSelected(this))}setBusy(e){this.$busy=e}setRename(e){this.$rename=e}setCreate(e){this.$create=e}}(0,s.Cg)([i.observable,(0,s.Sn)("design:type",Object)],c.prototype,"id",void 0),(0,s.Cg)([i.observable],c.prototype,"hash",void 0),(0,s.Cg)([i.observable],c.prototype,"className",void 0),(0,s.Cg)([i.observable],c.prototype,"icon",void 0),(0,s.Cg)([i.observable],c.prototype,"iconActive",void 0),(0,s.Cg)([i.observable,(0,s.Sn)("design:type",Array)],c.prototype,"childNodes",void 0),(0,s.Cg)([i.observable],c.prototype,"title",void 0),(0,s.Cg)([i.observable],c.prototype,"count",void 0),(0,s.Cg)([i.observable],c.prototype,"isTreeLinkDisabled",void 0),(0,s.Cg)([i.observable],c.prototype,"selected",void 0),(0,s.Cg)([i.observable],c.prototype,"$busy",void 0),(0,s.Cg)([i.observable],c.prototype,"$droppable",void 0),(0,s.Cg)([i.observable],c.prototype,"$visible",void 0),(0,s.Cg)([i.observable],c.prototype,"$rename",void 0),(0,s.Cg)([i.observable,(0,s.Sn)("design:type","undefined"==typeof TreeNodeProps?Object:TreeNodeProps)],c.prototype,"$create",void 0),(0,s.Cg)([i.observable,(0,s.Sn)("design:type",Object)],c.prototype,"properties",void 0),(0,s.Cg)([i.observable],c.prototype,"isQueried",void 0),(0,s.Cg)([i.observable,(0,s.Sn)("design:type",Object)],c.prototype,"parent",void 0),(0,s.Cg)([i.action,(0,s.Sn)("design:type",Function),(0,s.Sn)("design:paramtypes",["undefined"==typeof Partial?Object:Partial]),(0,s.Sn)("design:returntype",void 0)],c.prototype,"overwriteCompletelyFromResponse",null),(0,s.Cg)([i.action,(0,s.Sn)("design:type",Function),(0,s.Sn)("design:paramtypes",[Object]),(0,s.Sn)("design:returntype",void 0)],c.prototype,"addChildNode",null),(0,s.Cg)([i.action,(0,s.Sn)("design:type",Function),(0,s.Sn)("design:paramtypes",[Boolean]),(0,s.Sn)("design:returntype",void 0)],c.prototype,"setSelected",null),(0,s.Cg)([i.action,(0,s.Sn)("design:type",Function),(0,s.Sn)("design:paramtypes",[Boolean]),(0,s.Sn)("design:returntype",void 0)],c.prototype,"setBusy",null),(0,s.Cg)([i.action,(0,s.Sn)("design:type",Function),(0,s.Sn)("design:paramtypes",[Boolean]),(0,s.Sn)("design:returntype",void 0)],c.prototype,"setRename",null),(0,s.Cg)([i.action,(0,s.Sn)("design:type",Function),(0,s.Sn)("design:paramtypes",["undefined"==typeof TreeNodeProps?Object:TreeNodeProps]),(0,s.Sn)("design:returntype",void 0)],c.prototype,"setCreate",null);var h=o(4973),p=o(956),u=o(9077),y=o(9336);class b{static{this.ID_ALL="ALL"}get selectedId(){return this.selected?.id}constructor(e){this.staticTree=[],this.tree=[],this.busy=!1,this.refs=new Map,this.fetchTree=(0,i.flow)(function*(e,t){this.busy=!0;const{taxnow:o,typenow:s}=this.rootStore.optionStore.others;if(!o||!s)return;const i=yield(0,a.E)({location:y.C,sendReferer:!0,params:Object.assign({remember:!1,taxonomy:o,type:s},e)}),{selectedId:n,tree:r}=i;this.tree=r.map(c.mapFromRestEndpoint.bind(this)),this.busy=!1,this.byId(n,!1).setSelected(!0),t?.(i)}),this.persist=(0,i.flow)(function*(e){const t=yield(0,a.E)({location:u.h,request:e}),o=c.mapFromRestEndpoint.apply(this,[{category_name:t.category_name,childNodes:[],count:t.count,editableSlug:t.editableSlug,name:t.name,post_type:t.post_type,queryArgs:t.queryArgs,taxonomy:t.taxonomy,term_id:t.term_id}]),{parent:s}=e;return 0===s?this.tree.push(o):this.byId(s).addChildNode(o),o}),this.sort=(0,i.flow)(function*({id:e,oldIndex:t,newIndex:o,parentFromId:s,parentToId:i,nextId:n,...r}){const l=0===s?this.tree:this.byId(s).childNodes,d=0===i?this.tree:this.byId(i).childNodes,c=l[t];if(l.splice(t,1),d.splice(o,0,c),!r.request)return!0;const{typenow:h,taxnow:u}=this.rootStore.optionStore.others;try{return yield(0,a.E)({location:p.E,params:{id:e},request:{nextId:n,parent:i,type:h,taxonomy:u}}),!0}catch(r){throw yield this.sort({id:e,oldIndex:o,newIndex:t,parentFromId:i,parentToId:s,nextId:n,request:!1}),r}}),this.rootStore=e,(0,i.reaction)(()=>this.rootStore.optionStore.others.taxnow,()=>this.fetchTree({remember:!0})),setTimeout(this.init.bind(this))}setSelected(e){this.selected&&(this.selected.selected=!1),this.selected=e}setCreateRoot(e){this.createRoot=e}init(){this.staticTree.push(new c({id:"ALL",title:(0,h.__)("All posts"),icon:"copy",count:this.rootStore.optionStore.others.allPostCnt},this)),this.rootStore.optionStore.others.screenSettings.isActive&&this.fetchTree()}byId(e,t=!0){const o=this.refs.get(e);if(!(t&&this.staticTree.indexOf(o)>-1))return o}}(0,s.Cg)([i.observable,(0,s.Sn)("design:type",Array)],b.prototype,"staticTree",void 0),(0,s.Cg)([i.observable,(0,s.Sn)("design:type",Array)],b.prototype,"tree",void 0),(0,s.Cg)([i.observable,(0,s.Sn)("design:type",void 0===c?Object:c)],b.prototype,"selected",void 0),(0,s.Cg)([i.observable],b.prototype,"busy",void 0),(0,s.Cg)([i.observable,(0,s.Sn)("design:type","undefined"==typeof TreeNodeProps?Object:TreeNodeProps)],b.prototype,"createRoot",void 0),(0,s.Cg)([i.computed,(0,s.Sn)("design:type",void 0),(0,s.Sn)("design:paramtypes",[])],b.prototype,"selectedId",null),(0,s.Cg)([i.action,(0,s.Sn)("design:type",Function),(0,s.Sn)("design:paramtypes",[void 0===c?Object:c]),(0,s.Sn)("design:returntype",void 0)],b.prototype,"setSelected",null),(0,s.Cg)([i.action,(0,s.Sn)("design:type",Function),(0,s.Sn)("design:paramtypes",["undefined"==typeof TreeNodeProps?Object:TreeNodeProps]),(0,s.Sn)("design:returntype",void 0)],b.prototype,"setCreateRoot",null),(0,s.Cg)([i.action,(0,s.Sn)("design:type",Function),(0,s.Sn)("design:paramtypes",[]),(0,s.Sn)("design:returntype",void 0)],b.prototype,"init",null)},2658:(e,t,o)=>{o.d(t,{w:()=>Fe});var s=o(3713),i=o(480),n=o(2763),r=o(1669),a=o.n(r),l=o(4497),d=o(5085),c=o(9578),h=o(1594),p=o(5285),u=o.n(p),y=o(8039),b=o.n(y),g=o(3434),m=o(5924),f=o.n(m),v=o(2599),x=o(4688),C=o(119),S=o.n(C),w=o(2234),k=o.n(w);function T(e,t=!1){if(t){let t=0;const o={},s=e=>{if(!e.$visible)return;const{childNodes:i=[],checked:n}=e;n&&(o[t]||(o[t]=[]),o[t].push(e)),i.length&&(t++,i.forEach(s),t--)};return e.forEach(s),o}{const t=[],o=e=>{if(!e.$visible)return;const{childNodes:s=[],checked:i}=e;i&&t.push(e),s.length&&s.forEach(o)};return e.forEach(o),t}}function _(){function e(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return`aiot-${e()}${e()}-${e()}-${e()}-${e()}-${e()}${e()}${e()}`}function j(e,t){e.classList?e.classList.add(t):e.className+=` ${t}`}function I(e,t){e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp(`(^|\\b)${t.split(" ").join("|")}(\\b|$)`,"gi")," ")}function N(e,t){const o=[],s=void 0!==t;for(;null!==(e=e.parentElement);)e.nodeType===window.Node.ELEMENT_NODE&&(s&&!e.matches(t)||o.push(e));return o}function R(e,t){const o=(t||"").split(".");for(let t=0;e&&t<o.length;t++)e=e[o[t]];return e}function A(e,t,o){let s;const i=(t||"").split(".");if((s=i.length)>0){for(let t=0;e&&t<s-1;t++)e[i[t]]||(e[i[t]]={}),e=e[i[t]];e[i[s-1]]=o}}class O{setItem(e,t){A(this.cache,e,t)}getItem(e){return e?R(this.cache,e):this.cache}constructor(){this.cache={}}}class P{constructor(e){this.id=e,this.cache=void 0}setItem(e,t){const o=this.getItem();A(o,e,t),window.localStorage.setItem(`AIOT-${this.id}`,JSON.stringify(o)),this.cache=void 0}getItem(e){return this.cache||(this.cache=JSON.parse(window.localStorage.getItem(`AIOT-${this.id}`)||"{}")),e?R(this.cache,e):this.cache}}const $=function(){const e="test";try{const t=window.localStorage;return t.setItem(e,e),t.removeItem(e),!0}catch(e){return!1}}();function E(e,t){try{const o=document.getElementById(e);o&&o.remove();const s=document.createElement("div");return s.id=e,s.style.display="none",s.innerHTML=`&shy;<style>${t}</style>`,document.body.appendChild(s),s}catch(e){return!1}}function L(e,t=[],o,s=0){for(let i=0;i<t.length;i++){if(t[i].id===e){o(t[i],s);break}t[i].childNodes&&L(e,t[i].childNodes,o,t[i].id)}}function D(e,t){let o;return L(e,t,e=>o=e),o}const B=e=>isNaN(parseInt(e))?e:parseInt(e);class F extends h.Component{static{this.defaultProps={id:void 0,hash:"",className:void 0,icon:void 0,iconActive:void 0,childNodes:[],title:"",count:0,attr:{},renameSaveText:"Save",renameAddText:"Add",$busy:!1,$droppable:!0,$visible:!0,$rename:void 0,$create:void 0,$checkable:!1,searchSelected:!1,expandedState:!0,displayChildren:!0,checked:!1,indeterminate:!1,selected:!1,onRenameClose:void 0,onAddClose:void 0,onCheck:void 0,onSelect:void 0,onNodePressF2:void 0,onExpand:void 0,onUlRef:void 0}}static{this.stateKeys="expanded,inputValue,initialInputValue".split(",")}constructor(e){super(e),this.handleInputKeyDown=e=>{"Enter"===e.key?this.handleButtonSave(!0):"Escape"===e.key&&this.handleButtonSave(!1)},this.handleNodeKeyDown=e=>{"F2"!==e.key||this.props.$rename||this.props.onNodePressF2&&this.props.onNodePressF2(this.props)},this.handleButtonSave=e=>{const t="boolean"!=typeof e||e,{inputValue:o}=this.state;(!0!==t||o)&&this.props.onRenameClose&&this.props.onRenameClose(t,o,this.props)},this.handleChange=e=>{this.setState({inputValue:e.target.value})},this.handleSelect=e=>{N(e.target,".aiot-disable-links").length||N(e.target,".ant-checkbox-wrapper").length||this.props.onSelect&&this.props.onSelect(this.props.id)},this.handleToggle=e=>{const t=!this.state.expanded,{onExpand:o}=this.props;this.setState({expanded:t}),o&&o(t,this.props),e.preventDefault()},this.handleRef=e=>{this.refNode=e,this.props.$_create&&this.scrollTo()},this.handleCheck=()=>{this.props.onCheck&&this.props.onCheck(this.props.id)},!F.propKeys&&(F.propKeys=Object.keys(F.defaultProps));const{id:t,expandedState:o}=e,s=!t||"boolean"!=typeof o[t]||o[t];this.state={expanded:s,inputValue:"",initialInputValue:!1}}shouldComponentUpdate(e,t){const o=F.propKeys.filter(t=>this.props[t]!==e[t]),s=F.stateKeys.filter(e=>this.state[e]!==t[e]);return!(!o.length&&!s.length)}componentDidUpdate(){const{id:e,title:t,$rename:o,$_create:s,searchSelected:i,expandedState:n}=this.props;i&&this.scrollTo();const r=!e||"boolean"!=typeof n[e]||n[e];r!==this.state.expanded&&this.setState({expanded:r}),s||(this.state.inputValue!==t&&o&&!this.state.initialInputValue?this.setState({inputValue:t,initialInputValue:!0}):!o&&this.state.initialInputValue&&this.setState({inputValue:"",initialInputValue:!1}))}scrollTo(){const e=this.refNode;e&&(0,x.A)(e,window,{onlyScrollIfNeeded:!0,alignWithTop:!1})}render(){const{icon:e,childNodes:t=[],id:o,title:i,count:n,selected:r,$rename:a,$busy:l,$droppable:d=!0,$create:c,$visible:h=!0,$_create:p,searchSelected:u,attr:y,checked:b,indeterminate:g}=this.props,{expandedState:m,displayChildren:v,renderItem:x,renderIcon:C,$checkable:w,onRenameClose:T,onCheck:_,onAddClose:j,onSelect:I,onNodePressF2:N,onExpand:R,onUlRef:A,renameSaveText:O,renameAddText:P}=this.props,$={expandedState:m,displayChildren:v,renderItem:x,renderIcon:C,$checkable:w,onRenameClose:T,onCheck:_,onAddClose:j,onSelect:I,onNodePressF2:N,onExpand:R,onUlRef:A,renameSaveText:O,renameAddText:P},E=t&&t.filter(({$visible:e=!0})=>!!e),L=!!(v&&E&&E.length),D=this.state.expanded||!!c,B=!c&&(!!p||r),M=f()("aiot-node",this.props.className,{"aiot-active":B,"aiot-forceEnable":!!a,"aiot-togglable":L,"aiot-expanded":this.state.expanded,"aiot-search-selected":u,"aiot-droppable":d&&!p,"aiot-checkable":w,"aiot-checked":b});if(!h)return null;const W=r?this.props.iconActive||this.props.icon:e,z=(0,s.jsxs)("div",{className:"aiot-node-icon",children:[C?C(W,this.props):W,w&&(0,s.jsx)(S(),{checked:b&&!g,indeterminate:g,onChange:this.handleCheck})]}),U=L&&D,H=!!v&&!p,V=e=>v&&e&&A&&A(e,o);!U&&v&&A&&A(void 0,o);const q=(e,t)=>(0,s.jsx)(F,{...e,...$,...t},e.id);return(0,s.jsxs)("li",{className:f()({"aiot-sortable":H}),"data-li-id":o,children:[(0,s.jsx)(k(),{spinning:!!l,size:"small",children:(0,s.jsxs)("div",{"data-id":o,tabIndex:0,className:M,onClick:p?void 0:this.handleSelect,onDoubleClick:p||!L?void 0:this.handleToggle,onKeyDown:this.handleNodeKeyDown,...y,ref:this.handleRef,children:[z,a?(0,s.jsx)("input",{autoFocus:!0,className:"aiot-node-name",value:this.state.inputValue,onChange:this.handleChange,onKeyDown:this.handleInputKeyDown}):(0,s.jsx)("div",{className:"aiot-node-name",title:i,children:i}),n>0&&!a&&(0,s.jsx)("div",{className:"aiot-node-count",children:n}),a&&(0,s.jsx)("button",{disabled:!this.state.inputValue,onClick:this.handleButtonSave,children:O})]})}),U&&(0,s.jsxs)("ul",{className:f()({"aiot-sortable-one":1===t.length}),"data-childs-for":o,ref:V,children:[t.map(e=>x?x(q,F,e):q(e)),1===t.length&&(0,s.jsx)("li",{className:f()("aiot-sortable-placeholder",{"aiot-sortable":H})}),!!c&&(0,s.jsx)(F,{$_create:!0,renderIcon:C,onRenameClose:j,renameSaveText:P,...c})]}),!t.length&&H&&(0,s.jsx)("ul",{"data-childs-for":o,ref:V,className:"aiot-sortable-empty"}),!!c&&!L&&(0,s.jsx)("ul",{children:(0,s.jsx)(F,{$_create:!0,renderIcon:C,onRenameClose:j,renameSaveText:P,...c})}),L&&(0,s.jsx)("div",{onClick:this.handleToggle,className:f()("aiot-expander",{"aiot-open":D})})]})}}var M=o(9582),W=o.n(M);const z=()=>(0,s.jsx)(b(),{type:"loading",spin:!0});var U=o(444),H=o.n(U),V=o(2179),q=o.n(V);const K=({placement:e="bottom",children:t,title:o,content:i,mouseEnterDelay:n=.2,mouseLeaveDelay:r=0,...a})=>{const l=(0,s.jsxs)("div",{style:{fontSize:12,maxWidth:200},children:[(0,s.jsx)("div",{style:{fontWeight:"bold",fontSize:14,paddingBottom:5,marginBottom:3,borderBottom:"1px solid rgba(255,255,255,0.3)"},children:o}),i]});return(0,s.jsx)(q(),{content:l,placement:e,mouseEnterDelay:n,mouseLeaveDelay:r,...a,children:t})},X=({visible:e=!0,type:t,cssClasses:o,isCreatableLinkDisabled:i,toolTipTitle:n,toolTipText:r,icon:a,label:l,onClick:d})=>{if(!e)return null;const c=f()(o,{"aiot-disabled":i}),h=(0,s.jsxs)("button",{"data-aio-type":t,className:c,onClick:()=>d&&d(t),children:[a," ",l]});return n?(0,s.jsx)(K,{title:n,content:r,children:h}):h};var J=o(7913),G=o.n(J),Q=o(7331),Y=o.n(Q);class Z extends h.Component{render(){const{visible:e=!0,content:t,cssClasses:o,toolTipTitle:i,toolTipText:n,disabled:r,menu:a,toolTipPlacement:l,dropdownPlacement:d,modifier:c}=this.props,h={href:"#",className:f()(o,"aiot-tooltip",{"aiot-disabled":r}),disabled:r,onClick:this.handleClick};if(!e)return null;let p=(0,s.jsx)("a",{...h,children:t});if(c&&(p=c(p,this.props)),i&&n&&(p=(0,s.jsx)(K,{placement:l||(a?"rightTop":"bottom"),title:i,content:n,children:p})),a){let e=a;if(a.map){const t=a.map(({key:e,label:t,toolTipTitle:o,toolTipText:i,...n})=>{const r=(0,s.jsx)(G().Item,{...n,children:t},e);return o&&i?(0,s.jsx)(K,{overlayClassName:"aiot-toolbar-menu",placement:"rightTop",title:o,content:i,children:r}):r});e=(0,s.jsx)(G(),{children:t})}p=(0,s.jsx)(Y(),{placement:d||"bottomRight",overlay:e,children:p})}return p}constructor(...e){super(...e),this.handleClick=e=>{this.props.disabled||this.props.onClick&&this.props.onClick(this.props),e.preventDefault()}}}class ee extends h.Component{render(){const{isToolbarActive:e,isToolbarBusy:t,buttons:o,backButton:i,activeButton:n,checkedNodes:r,onCloseMultiToolbar:a}=this.props,l=[],d=n&&o[n].onSave;return n&&l.push((0,s.jsx)(Z,{content:i.label,onClick:this.handleCancelClick},"activeButtonCancel")),d&&l.push((0,s.jsx)(Z,{content:i.save,onClick:d},"activeButtonSave")),(0,s.jsx)(k(),{spinning:t,size:"small",children:(0,s.jsxs)("div",{className:"aiot-toolbar",children:[(0,s.jsxs)("div",{className:"aiot-toolbar-items",children:[n?l:Object.keys(o).map(t=>(0,s.jsx)(Z,{...o[t],disabled:!e||o[t].disabled},t)),r.length>0&&[(0,s.jsx)(Z,{cssClasses:"aiot-border-left",disabled:!0,content:(0,s.jsxs)("span",{children:[(0,s.jsx)(b(),{type:"check"})," ",r.length]})},"multiple-count"),(0,s.jsx)(Z,{content:(0,s.jsx)(b(),{type:"close"}),onClick:a},"multiple-close")]]}),(0,s.jsx)("div",{className:"clear"})]})})}constructor(...e){super(...e),this.handleCancelClick=e=>{const t=this.props.buttons[this.props.activeButton];t&&t.onCancel&&t.onCancel(e,t)}}}const te=({headline:e,creatable:t,isCreatableLinkDisabled:o,isCreatableLinkCancel:i,isToolbarActive:n,isToolbarBusy:r,toolbar:a,multiToolbar:l,toolbarActiveButton:d,isBusyHeader:c,checkedNodes:h,onCloseMultiToolbar:p})=>{const u=h.length?l:a;return(0,s.jsxs)(k(),{spinning:!!c,size:"small",children:[(0,s.jsxs)("div",{className:"aiot-tree-headline",children:[e,i?(0,s.jsx)(X,{...t.backButton,type:"_aio_cancel"}):Object.keys(t.buttons).map(e=>(0,s.jsx)(X,{type:e,...t.buttons[e],isCreatableLinkDisabled:o},e))]}),(!!Object.keys(u.buttons).length||h.length>0)&&(0,s.jsx)(ee,{isToolbarActive:n,isToolbarBusy:r,buttons:u.buttons,backButton:u.backButton,activeButton:d,checkedNodes:h,onCloseMultiToolbar:p})]})};class oe extends h.Component{static{this.stateKeys="defaultRestoreWidth,restoreWidth".split(",")}constructor(e){super(e),this.currentlyResizing=!1,this.handleDoubleClick=()=>{const e=this._getContainerWidth()>0?0:this.state.restoreWidth;this.handleResize(e,null),this.props.onResizeFinished&&this.props.onResizeFinished(e)},this.handleMouseDown=e=>{e.preventDefault(),document.addEventListener("pointermove",this.handleResize),this.currentlyResizing=!0},this.handleMouseUp=e=>{document.removeEventListener("pointermove",this.handleResize),this.currentlyResizing&&this.props.onResizeFinished&&this.props.onResizeFinished(this._getContainerWidth()),this.currentlyResizing=!1},this.handleOpposite=e=>this.props.onResizeOpposite?this.props.onResizeOpposite(this._container.id,this.props.opposite.id,e,E):function(e,t,o){return E(`${e}-styleOpposite`,`#${t}{ width: -webkit-calc(100% - ${o}px);width: -moz-calc(100% - ${o}px);width: calc(100% - ${o}px); }`)}(this._container.id,this.props.opposite.id,e),this.handleResize=(e,t)=>{const{minWidth:o,maxWidth:s}=this.props,i=!(!e||!e.pageX);let n=i?e.pageX-(this._container.getBoundingClientRect().left+document.body.scrollLeft)-15:e,r=n>=o&&n<=s;i&&e.preventDefault(),n<o-50&&(r=n=1);const a=1===r,l=n+this.props.oppositeOffset;window.requestAnimationFrame(()=>{(r||t)&&!1!==this.handleOpposite(a?n:l)&&(this._container.style.width=`${l}px`,!a&&this.setState({restoreWidth:n}),this.props.onResize&&this.props.onResize(n,a))})};const{initialWidth:t,minWidth:o,restoreWidth:s}=e,i="number"==typeof t?t:o;this.state={defaultRestoreWidth:i,restoreWidth:s||i}}shouldComponentUpdate(e,t){const o=oe.stateKeys.filter(e=>this.state[e]!==t[e]);return 1!==o.length||"restoreWidth"!==o[0]}componentDidMount(){this._getContainer(".aiot-split-resizer").addEventListener("pointerdown",this.handleMouseDown),document.addEventListener("pointerup",this.handleMouseUp);const{defaultRestoreWidth:e}=this.state;this.handleResize(e,null),this.props.onResizeFinished&&this.props.onResizeFinished(e)}render(){return(0,s.jsxs)("span",{className:"aiot-split",children:[(0,s.jsx)("div",{className:"aiot-split-resizer"}),(0,s.jsx)("div",{className:"aiot-split-collapse",onClick:this.handleDoubleClick})]})}_getContainer(e,t=!0){const o=document.getElementById(this.props.containerId),s=e?o&&o.querySelectorAll(e):o;return this._container=o,e&&t?s&&s[0]:s}_getContainerWidth(){const e=window.getComputedStyle(this._container);return parseInt(e.width,10)-parseInt(e.borderLeftWidth,10)-parseInt(e.borderRightWidth,10)}}function se(e){const t=("string"==typeof e?e:e.target.value).toLowerCase().trim(),{tree:o,onSearchResult:s}=this.props,i=[],n=e=>{e.title.toLowerCase().indexOf(t)>-1&&i.push(e),e.childNodes&&e.childNodes.forEach(n)};clearTimeout(this.searchTimeout),t?(this.setState({searchTerm:t,resultTreeBusy:!0,resultSelectedNodeIdx:void 0}),this.searchTimeout=setTimeout(()=>{o.forEach(n);const e=i.slice(0,19);this.setState({resultSelectedNodeIdx:-1,resultTreeBusy:!1,resultTree:e}),s&&s(e)},700)):(this.setState({searchTerm:t,resultSelectedNodeIdx:void 0,resultTreeBusy:!1,resultTree:void 0}),s&&s(void 0))}function ie(e){const{onSelect:t}=this.props;if("number"==typeof this.state.resultSelectedNodeIdx&&("ArrowUp"===e.key||"ArrowDown"===e.key)){const t="ArrowDown"===e.key?1:-1;return this.setState(e=>({resultSelectedNodeIdx:e.resultSelectedNodeIdx+t})),e.preventDefault(),!1}if("Enter"===e.key&&t){const o=document.getElementById(this.id()).querySelectorAll(".aiot-search-selected");if(t&&o.length){const e=o[0].attributes["data-id"].value;t(B(e))}return e.preventDefault(),!1}return"Escape"!==e.key||(this.handleSearch(""),e.preventDefault(),!1)}function ne(){this.handleSearch("")}function re(){const{resultSelectedNodeIdx:e}=this.state;this.setState({resultSelectedNodeIdx:"number"==typeof e?-1:void 0})}var ae=o(6498);const le=function(){const e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);if(e.indexOf("Trident/")>0){const t=e.indexOf("rv:");return parseInt(e.substring(t+3,e.indexOf(".",t)),10)}const o=e.indexOf("Edge/");return o>0&&parseInt(e.substring(o+5,e.indexOf(".",o)),10)}(),de="aiot-sortable-gets-empty";function ce(e){const{sortableDelay:t,isSortableDisabled:o,thresholdPx:s}=this.props,i=this._sortables=this._sortables||{};let n=t!==e.sortableDelay;n||o===e.isSortableDisabled||(n=!0),n||s===e.thresholdPx||(n=!0),n&&Object.values(i).forEach(e=>{e.option("delay",t),e.option("disabled",o),e.option("touchStartThreshold",s),e.option("fallbackTolerance",s)})}async function he(e){const{from:t,to:o,oldIndex:s,newIndex:i,item:n}=e,r=B(t.attributes["data-childs-for"].value),a=B(o.attributes["data-childs-for"].value);if(I(t,de),r===a&&s===i)return void I(document.body,"aiot-currently-sorting");const l=B(n.attributes["data-li-id"].value),d=n.nextElementSibling,c=d&&d.attributes["data-li-id"]?d:void 0,h=n.previousElementSibling,p=c&&B(c.attributes["data-li-id"].value),u=h&&B(h.attributes["data-li-id"].value),{onSort:y,onSortEnd:b}=this.props;if(b&&b(e),!y)throw new Error("You have to define a onSort function to enable sorting functionality.");const m=()=>(0,g.Ay)(this.props.tree,e=>{const{rootId:t}=this.props;let o,n;r===t?o=e:(o=D(r,e),o=o.childNodes=o.childNodes||[]),a===t?n=e:(n=D(a,e),n=n.childNodes=n.childNodes||[]);const l=o[s];o.splice(s,1),n.splice(i,0,l)});t!==o&&(t.appendChild(n),n.style.display="none",Object.values(this._sortables).forEach(e=>e._currentOrder&&e.sort(e._currentOrder)));try{await y({evt:e,from:t,to:o,oldIndex:s,newIndex:i,id:l,nextObj:c,prevObj:h,nextId:p,prevId:u,parentFromId:r,parentToId:a,buildTree:m})}catch(e){}finally{I(document.body,"aiot-currently-sorting")}}function pe(e,t=0){if(!this.props.isSortable)return;const o=this._sortables=this._sortables||{};if("destroy"===e)Object.values(o).forEach(e=>e.destroy());else if(e){const{sortableDelay:s,isSortableDisabled:i,onSortStart:n,onSortMove:r,forceSortableFallback:a,thresholdPx:l}=this.props;o[t]=ae.Ay.create(e,{group:this.id("handleSortableTree"),sort:-1===e.className.indexOf("aiot-sortable-one"),delay:s,filter:".aiot-expander",touchStartThreshold:l,fallbackTolerance:l,forceFallback:"boolean"==typeof a?a:!!le,disabled:i,draggable:".aiot-sortable",ghostClass:"aiot-sortable-ghost",chosenClass:"aiot-sortable-chosen",dragClass:"aiot-sortable-drag",dataIdAttr:"data-li-id",setData:e=>{if(e.setDragImage){const t=document.createElement("div");t.style.display="none",document.body.appendChild(t),e.setDragImage(t,0,0)}},onMove:r,onStart:e=>{Object.values(this._sortables).forEach(e=>e._currentOrder=e.toArray()),j(document.body,"aiot-currently-sorting"),j(e.from,de),n&&n(e)},onEnd:he.bind(this),animation:100})}else o[t]&&(o[t].destroy(),delete o[t])}class ue extends h.Component{static{this.defaultProps={theme:"default",style:{},attr:{},isSticky:!1,isStickyHeader:!1,isBusyHeader:!1,treeStickyAttr:{},headerStickyAttr:{},isResizable:!0,isFullWidth:!1,defaultWidth:250,minWidth:250,maxWidth:800,oppositeOffset:16,isCreatableLinkDisabled:!1,isCreatableLinkCancel:!1,isToolbarActive:!0,isToolbarBusy:!1,headline:"Folders",renameSaveText:"Save",renameAddText:"Add",creatable:{buttons:{folder:{icon:'<i class="fa fa-folder-open"></i>'}},backButton:{label:"Cancel"}},toolbar:{buttons:{rename:{content:'<i class="fa fa-pencil"></i>'}},backButton:{label:"Cancel",save:"Done"}},multiToolbar:{buttons:{},backButton:{label:"Cancel"}},rootId:0,sortableDelay:100,thresholdPx:5,noFoldersTitle:"No folders found",noFoldersDescription:"Click the above button to create a new folder.",noSearchResult:"No search results found",searchable:!0,searchInputBusy:!1,toggleExpandAll:!0,isTreeLinkDisabled:!1,isTreeBusy:!1,isSortable:!1,isSortableDisabled:!1,isSortableBusy:!1,forceSortableFallback:!1,staticTree:[],tree:[],ignoreChildNodes:!1,allowMultiSelect:!1}}constructor(e){super(e),this.handleResize=(e,t)=>{this.state.collapsed!==t&&this.setState({collapsed:t}),this.props.onResize&&this.props.onResize(e,t)},this.handleResizeFinished=e=>{this.storage.setItem("width",e),e>0&&this.storage.setItem("rwidth",e),this.props.onResizeFinished&&this.props.onResizeFinished(e)},this.handleNodeExpand=(e,t)=>{const{onNodeExpand:o}=this.props,{id:s}=t;s&&this.storage.setItem(`expandNodes.${t.id}`,e),o&&o(e,t),this.forceUpdate()},this.handleCheck=e=>{const{onCheck:t}=this.props;t&&t(e),this.forceUpdate()},this.handleToggleAll=()=>{const e=this.getExpandedNodes(),t={},o=!e.length,s=({id:e,childNodes:i=[]})=>{i.length&&(t[e]=o,i.forEach(s))};this.props.tree.forEach(s),this.storage.setItem("expandNodes",t),this.forceUpdate()},this.handleCloseMultiToolbar=()=>{const{onCloseMultiToolbar:e}=this.props;e&&e(T(this.props.tree,null)),this.forceUpdate()},this.renderTree=(e,t=!0,o=void 0,i="tree")=>{const{renderItem:n,renderIcon:r,onRenameClose:a,onAddClose:l,onSelect:d,onNodePressF2:c,renameSaveText:h,renameAddText:p,ignoreChildNodes:u}=this.props,y={renderItem:n,renderIcon:r,onRenameClose:a,onAddClose:l,onSelect:d,onNodePressF2:c,renameSaveText:h,renameAddText:p,ignoreChildNodes:u},{isTreeLinkDisabled:b,rootId:g,allowMultiSelect:m}=this.props,{resultSelectedNodeIdx:v}=this.state,x="number"==typeof v&&this.state.resultTree.length,C=this.storage.getItem("expandNodes")||{},S="static"!==i&&m,w=f()({"aiot-disable-links":b,"aiot-sortable-one":1===e.length},`aiot-context-${i}`);let k=-1;const T=e.some(e=>e.childNodes&&e.childNodes.length>0);return["tree"===i&&T&&(0,s.jsx)("div",{onClick:this.handleToggleAll,className:f()("aiot-expander","aiot-expander-all",{"aiot-open":this.getExpandedNodes(C).length})},"all-expander"),(0,s.jsxs)("ul",{className:w,"data-childs-for":g,ref:t?this.handleSortableTree:void 0,children:[e.map(e=>{k++;const o="search"===i?k%x===v%x&&!t:void 0,r=(e,i)=>(0,s.jsx)(F,{searchSelected:o,...e,onExpand:this.handleNodeExpand,onCheck:this.handleCheck,$checkable:S,expandedState:C,...y,onUlRef:t?this.handleSortableTree:void 0,displayChildren:t&&!u,...i},e.id);return n?n(r,F,e):r(e,null)}),!!o&&(0,s.jsx)(F,{$_create:!0,renderIcon:r,onRenameClose:l,renameSaveText:this.props.renameAddText,...o})]},"list-view")]},this.renderTreeWrapper=()=>{const{isCreatableLinkCancel:e,createRoot:t,searchable:o,searchInputBusy:i,isTreeBusy:n,staticTree:r,tree:a,isSortableBusy:l,children:d,noFoldersTitle:c,noFoldersDescription:h,noSearchResult:p,autoFocusSearchInput:u}=this.props,{sortingBusy:y,searchTerm:g,resultTree:m,resultTreeBusy:f}=this.state;return(0,s.jsx)("div",{children:(0,s.jsxs)("div",{className:"aiot-nodes",children:[d,r&&this.renderTree(r,!1,void 0,"static"),r&&(0,s.jsx)("hr",{}),o&&(0,s.jsx)("div",{className:"aiot-search",children:(0,s.jsx)(W(),{autoFocus:u,disabled:!a.length||e||y||l,size:"small",value:g,onChange:this.handleSearch,onBlur:this.handleSearchBlur,onKeyDown:this.handleSearchKeyDown,suffix:i||f?(0,s.jsx)(z,{}):g.length?(0,s.jsx)(b(),{type:"close",style:{cursor:"pointer"},onClick:this.handleSearchClose}):(0,s.jsx)(b(),{type:"search"})})}),(0,s.jsx)(k(),{spinning:!!n||y||l,size:"small",style:{minHeight:50},children:this.renderTree(m||a,!m,m?void 0:t,m?"search":"tree")}),a&&!a.filter(e=>e.$visible).length&&!n&&(0,s.jsx)(H(),{message:c,description:h,type:"info",showIcon:!0}),m&&!m.length&&(0,s.jsx)(H(),{message:p,type:"warning",showIcon:!0})]})})},this.renderWrapper=e=>{const{props:t}=this,{isResizable:o,opposite:i,minWidth:n,maxWidth:r,innerClassName:a,isSticky:l,isStickyHeader:d,isSortableBusy:c,headerStickyAttr:h,oppositeOffset:p,onResizeOpposite:u}=t,{currentlySorting:y,sortingBusy:b,searchTerm:g,stickyTreeCalculatedTop:m,collapsed:x}=this.state,{headline:C,creatable:S,isCreatableLinkDisabled:w,isCreatableLinkCancel:k,isToolbarActive:T,isToolbarBusy:_,toolbar:j,multiToolbar:I,toolbarActiveButton:N,isBusyHeader:R}=t,A={headline:C,creatable:S,isCreatableLinkDisabled:w,isCreatableLinkCancel:k,isToolbarActive:T,isToolbarBusy:_,toolbar:j,multiToolbar:I,toolbarActiveButton:N,isBusyHeader:R},O=(0,s.jsx)(te,{...A,isToolbarActive:!b&&!c&&T,checkedNodes:e,onCloseMultiToolbar:this.handleCloseMultiToolbar,isCreatableLinkDisabled:!!(g||b||c||e.length)||t.isCreatableLinkDisabled}),P=void 0!==m?this.renderTreeWrapper():void 0,$=f()("aiot-pad",a,{"aiot-currently-sorting":y}),E=Object.assign({},{top:m},t.treeStickyAttr);return(0,s.jsxs)("div",{className:$,children:[o&&i&&(0,s.jsx)(oe,{opposite:i,minWidth:n,maxWidth:r,initialWidth:this.storage.getItem("width"),restoreWidth:this.storage.getItem("rwidth"),containerId:this.id(),onResize:this.handleResize,onResizeOpposite:u,onResizeFinished:this.handleResizeFinished,oppositeOffset:p}),!x&&(d?(0,s.jsx)(v.A,{className:"aiot-fixed-header",...h,children:O}):(0,s.jsx)("div",{children:O})),!x&&(l?(0,s.jsx)(v.A,{...E,children:P}):(0,s.jsxs)("div",{children:[P," "]}))]})},this.state={uuid:_(),collapsed:!1,stickyTreeCalculatedTop:void 0,currentlySorting:!1,sortingBusy:!1,searchTerm:"",resultSelectedNodeIdx:void 0,resultTreeBusy:!1,resultTree:void 0},this.props.id&&$?this.storage=new P(this.id()):this.storage=new O,this.handleSearch=se.bind(this),this.handleSearchBlur=re.bind(this),this.handleSearchClose=ne.bind(this),this.handleSearchKeyDown=ie.bind(this),this.handleSortableTree=pe.bind(this),this.handleSortableTreeDidUpdate=ce.bind(this)}componentDidMount(){const{isSticky:e,isStickyHeader:t,treeStickyAttr:o,headerStickyAttr:s}=this.props,i=document.querySelector(`#${this.id()} .aiot-fixed-header > div`);let n=0;if(e&&t&&void 0===o.top&&i){n=i.offsetHeight;const e=s.top;if("string"==typeof e){const t=document.querySelector(e);n+=t?t.offsetHeight:0}else"number"==typeof e&&(n+=e)}this.setState({stickyTreeCalculatedTop:n})}componentDidUpdate(e){this.handleSortableTreeDidUpdate(e)}getExpandedNodes(e=this.storage.getItem("expandNodes")||{}){return(this.props.tree||[]).filter(({id:t,childNodes:o})=>!(!o||!o.length)&&(void 0===e[t]||e[t]))}id(e){const t=this.props.id||this.state.uuid;return e?`${t}--${e}`:t}render(){const{theme:e,attr:t,isFullWidth:o,toolbarActiveButton:i}=this.props,n=T(this.props.tree,!1),r=f()("aiot-tree",this.props.className,`aiot-theme-${e}`,{"aiot-wrap-collapse":this.state.collapsed,"aiot-full-width":o,"aiot-has-checked":n.length>0,"aiot-toolbar-active-button":i}),a=Object.assign({},this.props.style,!o&&{width:`${this.props.defaultWidth}px`,minWidth:`${this.props.minWidth}px`,maxWidth:`${this.props.maxWidth}px`}),l={id:this.id(),style:a,...t,className:r,ref:e=>this.container=e};return(0,s.jsxs)("div",{...l,children:[" ",this.renderWrapper(n)," "]})}}const ye=devowlWp_realProductManagerWpClient;var be=o(2293);const ge=({name:e})=>(0,s.jsx)("span",{className:`dashicons dashicons-${e}`,style:{verticalAlign:"text-top"}});var me=o(2380),fe=o(3978),ve=o(4022),xe=o(3203),Ce=o(4973);const Se=(0,d.PA)(({withinModal:e=!1})=>{const{pluginUpdateStore:{pluginUpdates:t}}=(0,ye.useStores)(),{optionStore:o}=(0,xe.g)(),{slug:i,others:{isPro:r,showLicenseFormImmediate:a},publicUrl:l}=o,d=t.get(i),c=(0,h.useCallback)(()=>{o.setShowLicenseFormImmediate(!1)},[o]),p=(0,h.useCallback)(()=>{o.setShowLicenseFormImmediate(!1),d.skip()},[d,o]);(0,h.useEffect)(()=>{a&&d?.hasInteractedWithFormOnce&&p()},[d,a,p]);const u=(0,Ce._i)((0,Ce.__)("Before we start organizing your categories, you can {{strong}}obtain your free license to enjoy all the benefits{{/strong}} of the free version of Real Category Management. Get started now!"),{strong:(0,s.jsx)("strong",{})});return(0,s.jsxs)(s.Fragment,{children:[a&&(0,s.jsxs)("div",{style:{maxWidth:650,textAlign:"center",margin:"0 auto"},children:[!e&&(0,s.jsx)(n.A,{src:`${l}images/logos/real-category-library.svg`,shape:"square",size:130,style:{backgroundColor:"white",padding:25,borderRadius:999,marginBottom:10}}),!e&&!r&&(0,s.jsx)("p",{style:{fontSize:15,margin:"0 auto 20px"},children:u})]}),(0,s.jsx)(me.A,{title:e||!d?void 0:r||d.isLicensed?(0,Ce.__)("License activation"):(0,Ce.__)("Get your free license"),bordered:!e,bodyStyle:e?{paddingLeft:0,paddingRight:0}:void 0,children:(0,s.jsxs)(fe.A,{direction:"vertical",size:"small",children:[e&&!r&&(0,s.jsx)("p",{className:"description",style:{fontWeight:"bold"},children:u}),(0,s.jsx)(ye.PluginUpdateEmbed,{formProps:{onSave:c,onFailure:a&&!r?p:void 0,footer:(0,s.jsx)(ve.A.Item,{style:{margin:"25px 0 0",textAlign:a?"center":void 0},children:(0,s.jsx)("input",{type:"submit",className:"button button-primary",value:a?r?(0,Ce.__)("Activate license & continue"):(0,Ce.__)("Activate free license & Continue"):(0,Ce.__)("Save")})})},listProps:{onDeactivate:c},slug:i})]})}),d&&a&&(0,s.jsx)("div",{style:{textAlign:"center",marginBottom:e?0:20,marginTop:e?0:20},children:(0,s.jsx)("a",{className:"button-link",onClick:p,children:r?(0,Ce.__)("Continue without regular updates and without any support"):(0,Ce.__)("Continue without any support and without e.g. discount announcements")})})]})});var we=o(7710),ke=o(4431);async function Te(){await(0,we.E)({location:ke.X}),window.location.reload()}const _e=(0,d.PA)(({closeable:e=!1})=>{const{optionStore:{others:{proUrl:t}}}=(0,xe.g)();return(0,s.jsx)(H(),{message:(0,s.jsxs)("span",{children:[(0,Ce.__)("Thanks for using Real Category Management (Free).")," ",(0,s.jsx)("a",{href:`${t}&feature=sidebar`,target:"_blank",rel:"noopener noreferrer",children:(0,Ce.__)("Learn more about PRO")}),e&&(0,s.jsxs)(s.Fragment,{children:[" ","·"," ",(0,s.jsx)("a",{onClick:Te,href:"#",children:(0,Ce.__)("Hide for 30 days")})]})]}),type:"info",style:{marginBottom:"10px"}})});(0,d.PA)(({brackets:e=!1})=>{const{optionStore:{others:{proUrl:t}}}=(0,xe.g)();return(0,s.jsxs)(h.Fragment,{children:[e&&"(",(0,s.jsx)("a",{href:t,target:"_blank",rel:"noopener noreferrer",children:(0,Ce.__)("PRO feature")}),e&&")"]})});var je=o(9907);const Ie=({disabled:e})=>null;async function Ne(e){return!1}var Re=o(2519),Ae=o(8789);function Oe(e,t,o){return(0,Ae.applyQueryString)(new URL(e,window.location.href),[{[t]:o}],!0).toString()}const Pe="aiot-helper-method-append";function $e(e){a()("body").hasClass("aiot-currently-dragging")||(e.target.click?e.target.click():a()(e.target).trigger("click"))}var Ee=o(7627),Le=o(5907),De=o.n(Le);const Be="page-title-action add-new-h2";u().config({top:50});const Fe=(0,d.PA)(()=>{const{modal:e}=i.A.useApp(),{treeStore:t,optionStore:o}=(0,xe.g)(),{tree:r,staticTree:d,selectedId:p,createRoot:y}=t,{busySettings:m,publicUrl:f,others:v}=o,{isDevLicense:x,pluginRcpo:{active:C},typenow:S,taxnow:w,taxos:k,blogId:T,showLiteNotice:j,isPro:I,showProHints:N,sortableTaxos:R}=v,A=`rcl-${T}`,O=function(){const[e,t]=(0,h.useState)({width:window.innerWidth,height:window.innerHeight});return(0,h.useEffect)(()=>{function e(){t({width:window.innerWidth,height:window.innerHeight})}return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),e}().width<700,{isOrderModeActive:P,handleOrderModifier:$,handleOrderClick:E,handleOrderCancel:L}=function(){const{optionStore:e}=(0,xe.g)(),{others:{editOrder:t,editOrderBy:o}}=e,i=(0,h.useCallback)(()=>a()("ul.subsubsub li.byorder"),[]),n=(0,h.useMemo)(()=>!!i().length,[]),r=(0,h.useMemo)(()=>n&&"menu_order title"===o.toLowerCase()&&"asc"===t.toLowerCase(),[]);(0,h.useEffect)(()=>{!r&&a()(".wp-list-table tbody.ui-sortable").sortable("destroy")},[]);const l=(0,h.useCallback)(t=>{if(!n){const{others:{simplePageOrdering:o}}=e;t=o?(0,s.jsx)(De(),{placement:"bottom",overlayStyle:{maxWidth:254},onConfirm:()=>window.open("https://wordpress.org/plugins/simple-page-ordering/#faq-header","_blank"),title:(0,Ce.__)('"Simple Page Ordering" is not available here. You can only reorder post types with hierarchical structure and an "Order" attribute.'),okText:(0,Ce.__)("Learn more"),cancelText:(0,Ce.__)("Cancel"),children:t}):(0,s.jsx)(De(),{placement:"bottom",overlayStyle:{maxWidth:254},onConfirm:async()=>{await e.installAndActivateRealCustomPostOrder(),window.location.reload()},title:(0,Ce.__)('If you want to use the custom order functionality for this post type, you need to install and activate the free plugin "Real Custom Post Order".'),okText:(0,Ce.__)("Install plugin"),cancelText:(0,Ce.__)("Cancel"),children:t})}return t},[n,e]),d=(0,h.useCallback)(()=>{n&&(window.location.href=i().find("a").attr("href"))},[]),c=(0,h.useCallback)(()=>{const e=new URL(window.location.href),{searchParams:t}=e;t.delete("orderby"),t.delete("order"),e.search=`?${t}`,window.location.href=e.toString()},[]);return{isOrderModeAvailable:n,isOrderModeActive:r,handleOrderModifier:l,handleOrderClick:d,handleOrderCancel:c}}(),[D,B]=(0,h.useState)(!O),[F,M]=(0,h.useState)(!O),[W,z]=(0,h.useState)(!O),[U,V]=(0,h.useState)(!O),[q,K]=(0,h.useState)(O?{marginLeft:10}:{}),[X,J]=(0,h.useState)(!0),[G,Q]=(0,h.useState)(!1),[Y,Z]=(0,h.useState)(!0),[ee,te]=(0,h.useState)(!1),[oe,se]=(0,h.useState)(!1),[ie,ne]=(0,h.useState)(!1),[re,ae]=(0,h.useState)(!1),[le,de]=(0,h.useState)(P?"order":void 0),ce=R[w],he=function(e){const{optionStore:{others:{tableCheckboxName:t}}}=(0,xe.g)(),o=(0,h.useCallback)(()=>{const e=()=>a()("body").addClass(Pe),t=()=>a()("body").removeClass(Pe);return a()(document).on("keydown",e),a()(document).on("keyup",t),t(),()=>{a()(document).off("keydown",e),a()(document).off("keyup",t)}},[]),i=(0,h.useCallback)(()=>{if(e)return;let i;a()("#wpbody-content .wp-list-table tbody tr:not(.no-items) > :not(th)").draggable({revert:"invalid",revertDuration:0,appendTo:"body",cursorAt:{top:0,left:0},cancel:'[contenteditable="true"],:input',distance:10,refreshPositions:!0,helper:()=>{const e=_(),o=a()(`<div id="${e}" class="aiot-helper"></div>`),i=a()(`input[name="${t}"]:checked`).length||1;return o.appendTo(a()("body")),(0,Ae.createRoot)(document.getElementById(e)).render((0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{className:"aiot-helper-method-move",children:[(0,s.jsx)(b(),{type:"swap"})," ",(0,Ce._n)("Move","Move %d items",i,[i]),(0,s.jsx)("p",{children:(0,Ce.__)("Hold any key to assign to an additional category")})]}),(0,s.jsxs)("div",{className:Pe,children:[(0,s.jsx)(b(),{type:"copy"})," ",(0,Ce._n)("Copy","Copy %d items",i,[i]),(0,s.jsx)("p",{children:(0,Ce.__)("Release key to move")})]})]})),o},start:()=>{a()("body").addClass("aiot-currently-dragging"),i=o(),a()(document.activeElement).blur()},stop:()=>{a()("body").removeClass("aiot-currently-dragging"),i?.()}}).unbind("touchend",$e).on("touchend",$e)},[e,t]);return(0,h.useEffect)(()=>{i()},[]),i}(P),pe=function(e,t,o){const{optionStore:s,treeStore:i}=(0,xe.g)();return(0,h.useCallback)(async n=>{const{others:{typenow:r,screenSettings:{isFastMode:l}}}=s;if("sort"===e)return;let d=window.location.href;if(n===Re.k.ID_ALL)d=Oe(window.location.pathname,"post_type",r);else{const e=i.byId(+n);a().each(e.properties.queryArgs,(e,t)=>{d=Oe(d,e,t)})}+function(e,t=window.location.href){return new URL(t).searchParams.get(e)}("paged")>1&&(d=Oe(d,"paged",1));const c=i.byId(n,!1);c.setSelected(!0),l&&!t?(c.setBusy(!1),setTimeout(()=>Ne().then(o))):(window.location.href=d,c.setBusy(!0))},[e,s])}(le,P,he),me=function(e,t){const{treeStore:o,optionStore:s}=(0,xe.g)(),{others:{tableCheckboxName:i}}=s,n=(0,h.useCallback)(()=>a()(`#${e} .aiot-node.aiot-droppable`).droppable({activeClass:"aiot-state-default",hoverClass:"aiot-state-hover",tolerance:"pointer",async drop(e,n){const r=[],l=+a()(e.target).attr("data-id"),d=[],c=a()("body").hasClass(Pe),h=a()(e.target).parents(".aiot-tree").attr("data-tax"),p=function(e){for(let t=0;t<d.length;t++)e(d[t])};!function(e,t){const o=a()(`input[name="${i}"]:checked`);o.length?o.each(function(){t(a()(this).parents("tr"))}):t(e)}(n.draggable.parents("tr"),e=>{r.push(parseInt(e.find(`input[name="${i}"]`).attr("value"),10)),d.push(e)}),p(e=>a()(e).fadeTo(250,.3));const y={count:r.length,category:a()(e.target).find(".aiot-node-name").html()},b=u().loading(c?(0,Ce._n)("Copying post to %(category)s...","Copying %(count)d posts to %(category)s...",r.length,y):(0,Ce._n)("Moving post to %(category)s...","Moving %(count)d posts to %(category)s...",r.length,y));try{await(0,we.E)({location:Ee.P,request:{ids:r,isCopy:c,taxonomy:h,to:l}}),b();const{isRatable:i,slug:n}=s;i&&new be.RatingPointer(n,a()(e.target)),u().success(c?(0,Ce._n)("Post successfully copied.","%(count)d posts successfully copied.",r.length,y):(0,Ce._n)("Post successfully moved.","%(count)d posts successfully moved.",r.length,y)),o.fetchTree(),c?a().get(window.location.href,{},e=>{const o=a()(e);if(o.find(".wp-list-table tbody tr").length){let e,s;p(t=>{e=a()(t).attr("id"),s=o.find(`#${e}`),a()(t).replaceWith(s)}),t()}}):p(e=>a()(e).remove()),a()(".wp-list-table tbody tr").length||a()(".wp-list-table tbody").html(`<tr class="no-items"><td class="colspanchange" colspan="6">${(0,Ce.__)("No entries")}</td></tr></tbody>`)}catch(e){console.log(e)}}}),[e,o,s,i]);return(0,h.useLayoutEffect)((0,h.useCallback)(()=>{n()},[n])),n}(A,he),{handleRenameClick:fe,handleRenameCancel:ve,handleNodePressF2:ke,handleRenameClose:Te}=function(e,t,o){const{treeStore:s}=(0,xe.g)(),i=(0,h.useCallback)((i,n,r,a)=>{e?.(n),t?.(r),o?.(i),s.selected.setRename(a)},[s,e,t,o]),n=(0,h.useCallback)(()=>i("rename",!0,!0,!0),[i]),r=(0,h.useCallback)(()=>i(void 0,!1,!1,void 0),[i]),a=(0,h.useCallback)(({id:e})=>e!==Re.k.ID_ALL&&n(void 0),[n]),l=(0,h.useCallback)(async(e,t,{id:o,title:i})=>{if(e&&t.length&&i!==t){const e=u().loading((0,Ce.__)('Renaming "%s"...',t));try{await s.byId(+o).setTitle(t),u().success((0,Ce.__)('"%s" successfully renamed.',t)),r(void 0,void 0)}catch(e){u().error(e.responseJSON.message)}finally{e()}}else r(void 0,void 0)},[s,r]);return{handleRenameClick:n,handleRenameCancel:r,handleNodePressF2:a,handleRenameClose:l}}(se,ae,de),{handleTrashModifier:Le}=function(e){const{treeStore:t}=(0,xe.g)(),o=(0,h.useCallback)(async()=>{const{selected:o}=t;if(o.childNodes.filter(e=>e.$visible).length)return u().error((0,Ce.__)('You can not delete "%s" because it contains subcategories.',[o.title]));const s=u().loading((0,Ce.__)('Deleting "%s"...',o.title));try{await o.trash(),u().success((0,Ce.__)('"%s" successfully deleted.',o.title)),e(o.parent?.id||Re.k.ID_ALL)}catch(e){u().error(e.responseJSON.message)}finally{s()}},[t,e]),i=(0,h.useCallback)(e=>{const{selected:i,selectedId:n}=t;return i&&n!==Re.k.ID_ALL?(0,s.jsx)(De(),{overlayStyle:{maxWidth:254},placement:"bottom",onConfirm:o,title:(0,Ce.__)('Are you sure you want to delete "%s"? Note: The posts in this category will NOT be deleted automatically.',[i.title]),okText:(0,Ce.__)("OK"),cancelText:(0,Ce.__)("Cancel"),children:e}):e},[o]);return{handleTrash:o,handleTrashModifier:i}}(pe);!function(e){const{optionStore:{others:{screenSettings:{isFastMode:t}}}}=(0,xe.g)();t&&(0,h.useEffect)(()=>{const t=function(t){return Ne(a()(this).attr("href")).then(e),t.preventDefault(),!1};return a()(document).on("click",".pagination-links a",t),()=>{a()(document).off("click",".pagination-links a",t)}})}(he);const Fe=(0,h.useCallback)((e,t,o)=>(0,s.jsx)(c.nu,{children:()=>e(o)},o.id),[]),Me=(0,h.useCallback)(e=>(0,s.jsx)(b(),{type:e}),[]);(0,h.useEffect)(()=>{a()(window).resize(()=>{const e=window.innerWidth<700;B(!e),M(!e),z(!e),V(e),K(e?{marginLeft:10}:{})})},[]),(0,h.useEffect)(()=>{if(v.showLicenseFormImmediate&&!window.Playwright){const t=e.info({icon:null,title:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("span",{children:"Real Category Management"}),(0,s.jsx)(je.K,{app:{style:{float:"right"}},children:(0,s.jsx)(n.A,{src:`${f}images/logos/real-category-library.svg`,shape:"square",size:30})})]}),width:800,okButtonProps:{style:{display:"none"}},cancelButtonProps:{style:{display:"none"}},maskClosable:!1,content:(0,s.jsx)(ye.Provider,{children:(0,s.jsx)(Se,{withinModal:!0})})});(0,l.reaction)(()=>v.showLicenseFormImmediate,e=>{e||t.destroy()})}},[]);const We=(0,h.useCallback)(()=>window.location.reload(),[]),ze=(0,h.useCallback)(e=>{let o,s;if(e){const e={$rename:!0,$busy:!1,icon:"folder-open"};t.selectedId===Re.k.ID_ALL?o=e:(s=e,s.parent=t.selectedId)}ae(!!e),ne(!!e),J(!e),t.setCreateRoot(o),t.selected.setCreate(s)},[t,ae,ne,J]),Ue=(0,h.useCallback)(e=>ze(e),[ze]),He=(0,h.useCallback)(()=>ze(),[ze]),Ve=(0,h.useCallback)(e=>{t.createRoot&&t.setCreateRoot(g.jM((0,l.toJS)(t.createRoot),e));const{selected:o}=t;o?.$create&&o.setCreate(g.jM((0,l.toJS)(o.$create),e))},[t,y]),qe=(0,h.useCallback)(async(e,s,i)=>{const n=+(i.parent||0);if(e){Ve(e=>{e.$busy=!0});const e=u().loading((0,Ce.__)('Creating "%s"...',s));try{await t.persist({name:s,parent:n,type:S,taxonomy:w}),He(void 0);const{isRatable:e,slug:i}=o;e&&new be.RatingPointer(i,a()(".aiot-tree-headline")),u().success((0,Ce.__)('"%s" successfully created.',s)),me()}catch(e){u().error(e.responseJSON.message)}finally{Ve(e=>{e.$busy=!1}),e()}}else He(void 0)},[t,o,S,w,He,me,Ve]),Ke=(0,h.useCallback)((e,t)=>{se(!!e),de(e),Z(!e),"boolean"==typeof t&&te(t),"boolean"==typeof t&&Q(t)},[se,de,Z,te,Q]),Xe=(0,h.useCallback)(()=>Ke("sort"),[Ke]),Je=(0,h.useCallback)(()=>Ke(),[Ke]),Ge=(0,h.useCallback)(async({id:e,oldIndex:o,newIndex:s,parentFromId:i,parentToId:n,nextId:r})=>{te(!0),Q(!0);const a=u().loading((0,Ce.__)("Category tree will be reordered soon..."));try{await t.sort({id:+e,oldIndex:o,newIndex:s,parentFromId:+i,parentToId:+n,nextId:+r,request:!0}),u().success((0,Ce.__)("Category tree is successfully reordered."))}catch(e){u().error(e.responseJSON.message)}finally{a(),Ke(le,!1)}},[t,te,Q,Ke,le]),Qe=(0,h.useCallback)(()=>{window.open(`term.php?taxonomy=${w}&tag_ID=${t.selectedId}&post_type=${S}`,"_blank")},[t,S,w]),Ye=(0,h.useRef)(),Ze=(0,h.useCallback)(()=>{clearTimeout(Ye.current),Ye.current=setTimeout(me,200)},[he,Ye]),et={staticTree:d,tree:r,id:A,createRoot:y,isSticky:D,isStickyHeader:F,isResizable:W,isFullWidth:U,style:q,isToolbarActive:X,isToolbarBusy:G||m,isSortable:ce,isSortableDisabled:!1,sortableDelay:Y?150:0,isSortableBusy:ee,isTreeBusy:t.busy,isCreatableLinkDisabled:oe,isCreatableLinkCancel:ie,isTreeLinkDisabled:re,toolbarActiveButton:le};return(0,s.jsxs)(ue,{...et,onSelect:pe,headline:(0,s.jsx)("span",{style:{paddingRight:5},children:(0,Ce.__)("Categories")}),opposite:document.getElementById("wpbody-content"),attr:{"data-type":S,"data-tax":w},renameSaveText:(0,s.jsx)(b(),{type:"save"}),renameAddText:(0,s.jsx)(b(),{type:"save"}),noFoldersTitle:(0,Ce.__)("No category found"),noFoldersDescription:(0,Ce.__)("Click the button above to create a new category."),noSearchResult:(0,Ce.__)("No search results found"),innerClassName:"wrap",theme:"wordpress",headerStickyAttr:{top:"#wpadminbar"},renderItem:Fe,renderIcon:Me,onNodePressF2:ke,onRenameClose:Te,onAddClose:qe,onNodeExpand:Ze,onSearchResult:Ze,onSort:Ge,creatable:{backButton:{cssClasses:Be,label:(0,Ce.__)("Cancel"),onClick:He},buttons:{folder:{icon:(0,s.jsx)(b(),{type:"folder-add"}),cssClasses:Be,toolTipTitle:(0,Ce.__)("Click this to create a new category"),toolTipText:(0,Ce.__)("To create a subcategory, simply select a category from the list and click this button."),label:(0,Ce.__)("New"),onClick:Ue}}},toolbar:{backButton:{label:P||"sort"===le?(0,Ce.__)("Back"):(0,Ce.__)("Cancel"),save:(0,Ce.__)("Save")},buttons:{order:!C&&{content:(0,s.jsx)(ge,{name:"move"}),toolTipTitle:(0,Ce.__)("Reorder entries"),toolTipText:(0,Ce._i)((0,Ce.__)("Start to reorder the entries with the help of the free plugin {{strong}}Real Custom Post Order{{/strong}}."),{strong:(0,s.jsx)("strong",{})}),modifier:$,onClick:E,onCancel:L},reload:{content:(0,s.jsx)(b(),{type:"reload"}),toolTipTitle:(0,Ce.__)("Refresh"),toolTipText:(0,Ce.__)("Refreshes the category view."),onClick:We},rename:{content:(0,s.jsx)(b(),{type:"edit"}),toolTipTitle:(0,Ce.__)("Rename"),toolTipText:(0,Ce.__)("Rename the currently selected category."),disabled:p===Re.k.ID_ALL,onClick:fe,onCancel:ve},trash:{content:(0,s.jsx)(b(),{type:"delete"}),toolTipTitle:(0,Ce.__)("Delete"),toolTipText:(0,Ce.__)("Delete the currently selected category."),disabled:p===Re.k.ID_ALL,modifier:Le},sort:{content:(0,s.jsx)(ge,{name:"sort"}),toolTipTitle:(0,Ce.__)("Rearrange"),toolTipText:(0,Ce.__)("Change the hierarchical order of the categories."),onClick:Xe,onCancel:Je,visible:ce},details:{content:(0,s.jsx)(b(),{type:"ellipsis"}),toolTipTitle:(0,Ce.__)("View and edit category"),toolTipText:(0,Ce.__)("Select a category and see more details about it or edit it."),disabled:p===Re.k.ID_ALL,onClick:Qe}}},forceSortableFallback:!0,children:[x&&(0,s.jsx)(H(),{message:(0,s.jsxs)(s.Fragment,{children:[(0,Ce.__)("Product license not for production use!")," (",(0,s.jsx)("a",{href:(0,Ce.__)("https://devowl.io/knowledge-base/license-installation-type/"),rel:"noreferrer",target:"_blank",children:(0,Ce.__)("Learn more")}),")"]}),type:"warning",style:{marginBottom:"10px"}}),!I&&N&&j&&(0,s.jsx)(_e,{closeable:!0}),Object.keys(k).length>1&&(0,s.jsx)("div",{style:{margin:"2px 0px 9px 0",textAlign:"right"},children:(0,s.jsx)(Ie,{disabled:!!le})})]})})},3046:()=>{},3203:(e,t,o)=>{o.d(t,{g:()=>a,y:()=>r});var s=o(8789),i=o(9261),n=o(2519);class r{get context(){return this.contextMemo?this.contextMemo:this.contextMemo=(0,s.createContextFactory)(this)}constructor(){this.optionStore=new i.t(this),this.treeStore=new n.k(this)}static get StoreProvider(){return r.get.context.StoreProvider}static get get(){return r.me?r.me:r.me=new r}}const a=()=>r.get.context.useStores()},3713:e=>{e.exports=ReactJSXRuntime},4431:(e,t,o)=>{o.d(t,{X:()=>s});const s={path:"/notice/lite",method:o(8789).RouteHttpVerb.DELETE}},4497:e=>{e.exports=mobx},4973:(e,t,o)=>{o.d(t,{__:()=>a,_i:()=>l,_n:()=>r});var s=o(8789);let i;function n(){return i||(i=(0,s.createLocalizationFactory)(s.BaseOptions.getPureSlug("real-category-library")))}const r=(...e)=>n()._n(...e),a=(...e)=>n().__(...e),l=(...e)=>n()._i(...e)},5206:e=>{e.exports=ReactDOM},5773:(e,t,o)=>{o.d(t,{gy:()=>s.g,kG:()=>n.k,t6:()=>i.t,yd:()=>s.y});var s=o(3203),i=o(9261),n=o(2519)},6422:()=>{},7164:(e,t,o)=>{o.d(t,{z:()=>m});var s=o(3713),i=o(1669),n=o.n(i),r=o(8789),a=o(9393),l=o(1594),d=o(5720),c=o(3491),h=o(5085),p=o(3203),u=o(4973);const y=(0,h.PA)(({feature:e})=>{const{optionStore:{others:{isPro:t,proUrl:o}}}=(0,p.g)(),i=(0,l.useCallback)(()=>{window.open(`${o}&feature=${e}`)},[]);return t?null:(0,s.jsx)(c.A,{icon:(0,s.jsx)(d.A,{}),color:"#2db7f5",style:{cursor:"pointer"},onClick:i,children:(0,u.__)("Unlock feature")})}),b=()=>{const[e,t]=(0,l.useState)(!1),{optionStore:o}=(0,p.g)(),{others:{isAvailable:i,isPro:n,typenow:r,canManageOptions:d}}=o;let c=!1;const h=(0,l.useCallback)(async e=>{t(!0),await o.updatePostTypeOptions(r,{active:e}),window.location.reload()},[r,o]);if(!d)return null;if(n||"post"===r){if(!i)return null}else c=!0;return(0,s.jsxs)("div",{style:{paddingTop:3},children:[(0,s.jsx)(a.A,{disabled:c,onChange:h,loading:e}),(0,s.jsxs)("div",{style:{float:"right",padding:c?"0px 10px":"2px 10px"},children:[(0,u.__)("Enable category tree")," ",c&&(0,s.jsx)(y,{feature:"page"===r?"page-tree":"cpt-tree"})]})]})};var g=o(9907);function m(){const e=n()("<div/>").appendTo("#posts-filter > .tablenav.top > .alignleft.actions:not(.bulkactions)").css({float:"right"}).get(0);e&&(0,r.createRoot)(e).render((0,s.jsx)(g.K,{children:(0,s.jsx)(b,{})}))}},7560:()=>{},7572:()=>{},7627:(e,t,o)=>{o.d(t,{P:()=>s});const s={path:"/posts/bulk/move",method:o(8789).RouteHttpVerb.PUT}},7710:(e,t,o)=>{o.d(t,{E:()=>n});var s=o(8789);let i;const n=(...e)=>(i||(i=(0,s.createRequestFactory)(window[s.BaseOptions.getPureSlug("real-category-library",!0)]))).request(...e)},8789:e=>{e.exports=devowlWp_utils},9077:(e,t,o)=>{o.d(t,{h:()=>s});const s={path:"/terms",method:o(8789).RouteHttpVerb.POST}},9261:(e,t,o)=>{o.d(t,{t:()=>u});var s=o(1490),i=o(1669),n=o.n(i),r=o(4497);const a=wp;var l=o.n(a),d=o(2293),c=o(8789),h=o(7710),p=o(1764);class u extends c.BaseOptions{get isRatable(){return(0,d.isRatable)(this.slug)}constructor(e){super(),this.busySettings=!1,this.updatePostTypeOptions=(0,r.flow)(function*(e,{active:t,fastMode:o}){this.busySettings=!0;try{const s=yield(0,h.E)({location:p.e,params:{post_type:e},request:{...void 0===t?{}:{active:t},...void 0===o?{}:{fastMode:o}}});return void 0!==t&&(this.others.postTypes[e].active=t),void 0!==o&&(this.others.postTypes[e].fastMode=o),s}catch(e){throw console.log(e),e}finally{this.busySettings=!1}}),this.installAndActivateCustomPostTypeUI=(0,r.flow)(function*(){this.busySettings=!0;const{others:{pluginCptUi:e,installPluginNonce:t}}=this,{installed:o,installUrl:s,activateUrl:i}=e,r=l()?.ajax?.send;if(o)try{yield n().get(i).promise(),e.active=!0}catch(e){window.location.href=i}else if(r)try{yield r({data:{action:"install-plugin",slug:"custom-post-type-ui",_ajax_nonce:t}}),e.installed=!0,yield this.installAndActivateCustomPostTypeUI()}catch(e){window.location.href=s}else window.location.href=s}),this.installAndActivateRealCustomPostOrder=(0,r.flow)(function*(){this.busySettings=!0;const{others:{pluginRcpo:e,installPluginNonce:t}}=this,{installed:o,installUrl:s,activateUrl:i}=e,r=l()?.ajax?.send;if(o)try{yield n().get(i).promise(),e.active=!0}catch(e){window.location.href=i}else if(r)try{yield r({data:{action:"install-plugin",slug:"real-custom-post-order",_ajax_nonce:t}}),e.installed=!0,yield this.installAndActivateCustomPostTypeUI()}catch(e){window.location.href=s}else window.location.href=s}),this.rootStore=e,this.pureSlug=c.BaseOptions.getPureSlug("real-category-library"),this.pureSlugCamelCased=c.BaseOptions.getPureSlug("real-category-library",!0),(0,r.runInAction)(()=>Object.assign(this,window[this.pureSlugCamelCased]))}setTaxnow(e){this.others.taxnow=e}setShowLicenseFormImmediate(e){this.others.showLicenseFormImmediate=e}}(0,s.Cg)([r.observable],u.prototype,"busySettings",void 0),(0,s.Cg)([r.observable,(0,s.Sn)("design:type",Object)],u.prototype,"others",void 0),(0,s.Cg)([r.action,(0,s.Sn)("design:type",Function),(0,s.Sn)("design:paramtypes",[String]),(0,s.Sn)("design:returntype",void 0)],u.prototype,"setTaxnow",null),(0,s.Cg)([r.action,(0,s.Sn)("design:type",Function),(0,s.Sn)("design:paramtypes",[Boolean]),(0,s.Sn)("design:returntype",void 0)],u.prototype,"setShowLicenseFormImmediate",null)},9336:(e,t,o)=>{o.d(t,{C:()=>s});const s={path:"/tree",method:o(8789).RouteHttpVerb.GET}},9906:(e,t,o)=>{o.d(t,{g:()=>s});const s={path:"/terms/:id",method:o(8789).RouteHttpVerb.DELETE}},9907:(e,t,o)=>{o.d(t,{K:()=>l});var s=o(3713),i=o(4349),n=o(480),r=o(5666),a=o(3203);const l=({children:e,configProvider:t={},app:o={}})=>(0,s.jsx)(r.Ay,{prefixCls:"rcl-antd",iconPrefixCls:"rcl-antd-anticon",theme:{token:{colorPrimary:"#2271b1",borderRadius:3}},...t,children:(0,s.jsx)(i.Z_3,{value:{prefixCls:"rcl-antd-anticon"},children:(0,s.jsx)(n.A,{message:{top:50},...o,children:(0,s.jsx)(a.y.StoreProvider,{children:e})})})})}},o={};function s(e){var i=o[e];if(void 0!==i)return i.exports;var n=o[e]={exports:{}};return t[e].call(n.exports,n,n.exports,s),n.exports}s.m=t,e=[],s.O=(t,o,i,n)=>{if(!o){var r=1/0;for(c=0;c<e.length;c++){for(var[o,i,n]=e[c],a=!0,l=0;l<o.length;l++)(!1&n||r>=n)&&Object.keys(s.O).every(e=>s.O[e](o[l]))?o.splice(l--,1):(a=!1,n<r&&(r=n));if(a){e.splice(c--,1);var d=i();void 0!==d&&(t=d)}}return t}n=n||0;for(var c=e.length;c>0&&e[c-1][2]>n;c--)e[c]=e[c-1];e[c]=[o,i,n]},s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},s.d=(e,t)=>{for(var o in t)s.o(t,o)&&!s.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},s.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e={884:0};s.O.j=t=>0===e[t];var t=(t,o)=>{var i,n,[r,a,l]=o,d=0;if(r.some(t=>0!==e[t])){for(i in a)s.o(a,i)&&(s.m[i]=a[i]);if(l)var c=l(s)}for(t&&t(o);d<r.length;d++)n=r[d],s.o(e,n)&&e[n]&&e[n][0](),e[n]=0;return s.O(c)},o=self.webpackChunkrealCategoryLibrary_=self.webpackChunkrealCategoryLibrary_||[];o.forEach(t.bind(null,0)),o.push=t.bind(null,o.push.bind(o))})();var i=s.O(void 0,[187],()=>s(2370));i=s.O(i),realCategoryLibrary_admin=i})();
    2 //# sourceMappingURL=https://sourcemap.devowl.io/real-category-library/4.2.64/cae1cad2010446dffdfb0d9681494f34/admin.lite.js.map
     2//# sourceMappingURL=https://sourcemap.devowl.io/real-category-library/4.2.69/a5b42a72b1345d9d978c0d77777899bf/admin.lite.js.map
  • real-category-library-lite/tags/4.2.69/public/dist/options.css

    r3454640 r3491846  
    11body.modal-open .rcl-antd-modal-root{display:none!important}.rcl-antd-app a:not(.button):not(.nav-tab):not(.page-title-action){-webkit-text-decoration:underline;text-decoration:underline}.rcl-antd-dropdown,.rcl-antd-dropdown-menu-submenu-popup,.rcl-antd-image-preview-mask,.rcl-antd-image-preview-wrap,.rcl-antd-message,.rcl-antd-select-dropdown{z-index:105000000!important}.rcl-antd-modal-mask,.rcl-antd-modal-wrap{z-index:99999999!important}.rcl-antd-tooltip{z-index:100000079!important}.rcl-antd-tooltip a{color:inherit!important;-webkit-text-decoration:underline;text-decoration:underline}.rcl-antd-popover{z-index:100000029!important}.rcl-antd-checkbox-input{margin-top:0!important}.rcl-antd-card:not(.rcl-antd-card-bordered){box-shadow:none!important}.rcl-antd-table table{margin:0!important}.rcl-antd-tabs-tabpane-no-margin{margin:0!important;padding:0!important}.rcl-antd-space-compact.rcl-antd-select-addon{display:flex}.rcl-antd-space-compact.rcl-antd-select-addon .rcl-antd-input-group-wrapper{flex:0}.rcl-antd-space-compact.rcl-antd-select-addon .rcl-antd-input{width:0;padding-left:0!important;padding-right:0!important}.rcl-antd-space-compact.rcl-antd-select-addon .rcl-antd-select{flex:1}.rcl-antd-space-compact.rcl-antd-select-addon .rcl-antd-select-selector{border-left:0}.rcl-antd-space-compact.rcl-antd-select-addon .rcl-antd-select-multiple .rcl-antd-select-selector{padding-top:0!important;padding-bottom:0!important}.rcl-antd-radio-disabled>input{opacity:0!important}.rcl-antd-radio-button-wrapper input[type=radio]{opacity:0!important}.rcl-antd-radio-button-card>label{height:auto!important;padding:0;border-radius:0!important;margin:0 5px 5px 0!important}.rcl-antd-radio-button-card>label .rcl-antd-card{background:rgba(0,0,0,0)}.rcl-antd-radio-button-card>label .rcl-antd-card .rcl-antd-card-cover{margin:5px}.rcl-antd-radio-button-card>label.rcl-antd-radio-button-wrapper-checked:not(.rcl-antd-radio-button-wrapper-disabled) .rcl-antd-card-meta-description,.rcl-antd-radio-button-card>label.rcl-antd-radio-button-wrapper-checked:not(.rcl-antd-radio-button-wrapper-disabled) .rcl-antd-card-meta-title{color:#fff}.rcl-antd-form-sticky-submit{position:sticky;bottom:0;background:#f1f1f1;border-top:1px solid #d2b798;margin-top:10px;padding:20px 0;z-index:4}.rcl-antd-modal-root .rcl-antd-form-sticky-submit{background:#fff;margin-bottom:0}.rcl-antd-modal-root .rcl-antd-modal-confirm-body:not(:has(>[role=img])) .rcl-antd-modal-confirm-paragraph{max-width:none;max-width:initial}.rcl-antd-hero-modal{text-align:center}.rcl-antd-hero-modal .rcl-antd-modal-footer{text-align:center}.rcl-antd-hero-modal .rcl-antd-modal-body{padding:0 24px}.rcl-antd-hero-modal .rcl-antd-modal-body img{max-width:90%;max-height:500px;height:auto}.rcl-antd-modal-mount{position:relative;width:100%;background-repeat:no-repeat;background-size:100% auto;background-position:center center}.rcl-antd-modal-mount .rcl-antd-modal-mask,.rcl-antd-modal-mount .rcl-antd-modal-wrap{position:absolute;z-index:auto;z-index:initial}.rcl-antd-modal-mount .rcl-antd-modal-mask{background:0 0}.rcl-antd-modal-mount .rcl-antd-modal-close,.rcl-antd-modal-mount .rcl-antd-modal-footer>button:not(.rcl-antd-btn-primary){display:none!important}.rcl-antd-template-card{width:210px;display:inline-block;padding:10px;margin:5px;vertical-align:top}.rcl-antd-template-card .rcl-antd-card-cover{height:173px;display:flex;align-items:center;justify-content:center}.rcl-antd-template-card .rcl-antd-card-body{padding:20px 5px 10px}.rcl-antd-template-card .rcl-antd-ribbon.rcl-antd-ribbon-placement-end{right:-18px;border:1px solid #fff;box-sizing:content-box}.rcl-antd-template-card .rcl-antd-card-meta-description{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.rcl-antd-template-card .rcl-antd-card-actions{margin-top:10px!important}.rcl-antd-template-card .rcl-antd-card-actions a{-webkit-text-decoration:underline;text-decoration:underline}.rcl-antd-space-vertical{width:100%}.rcl-antd-tabs-nav::before{border-color:#e2e2e2!important}.rcl-antd-select.rcl-antd-select-ellipses-left .rcl-antd-select-selection-item{direction:rtl}.rcl-antd-image-preview-operations{top:32px}.rcl-antd-input{padding:4px 11px!important;line-height:1.5715!important;min-height:auto!important;box-shadow:none!important;border-radius:2px!important;border:1px solid #d9d9d9!important;outline:0!important}.rcl-antd-list-item{background:#fff;padding:15px!important}.rcl-antd-list-item .rcl-antd-badge-count{min-width:9px}.rcl-antd-list-item .rcl-antd-list-item-meta-content{width:auto!important}.rcl-antd-pagination>li{margin-bottom:0!important}
    2 //# sourceMappingURL=https://sourcemap.devowl.io/real-category-library/4.2.64/6458242f14b643b17f871400b0e1435a/options.css.map
     2//# sourceMappingURL=https://sourcemap.devowl.io/real-category-library/4.2.69/6cbceacd76b2d2e53642d01017b84b26/options.css.map
  • real-category-library-lite/tags/4.2.69/public/dist/options.lite.js

    r3454640 r3491846  
    11var realCategoryLibrary_options;(()=>{"use strict";var e,t={180:(e,t,o)=>{o.d(t,{Cu:()=>i.C,Cw:()=>l.C,Eb:()=>r.E,PC:()=>s.P,Xk:()=>d.X,el:()=>c.e,gX:()=>n.g,hg:()=>a.h});var s=o(7627),i=o(1324),n=o(9906),r=o(956),a=o(9077),l=o(9336),d=o(4431),c=o(1764)},956:(e,t,o)=>{o.d(t,{E:()=>s});const s={path:"/hierarchy/:id",method:o(8789).RouteHttpVerb.PUT}},1324:(e,t,o)=>{o.d(t,{C:()=>s});const s={path:"/terms/:id",method:o(8789).RouteHttpVerb.PUT}},1594:e=>{e.exports=React},1669:e=>{e.exports=jQuery},1764:(e,t,o)=>{o.d(t,{e:()=>s});const s={path:"/options/:post_type",method:o(8789).RouteHttpVerb.PATCH}},2293:e=>{e.exports=devowlWp_realUtils},2519:(e,t,o)=>{o.d(t,{k:()=>g});var s=o(1490),i=o(4497),n=o(1669),r=o.n(n),a=o(7710),l=o(9906),d=o(1324);class c{constructor(e,t){this.hash="",this.className="",this.icon="",this.iconActive="",this.childNodes=[],this.title="",this.count=0,this.isTreeLinkDisabled=!1,this.selected=!1,this.$busy=!1,this.$droppable=!0,this.$visible=!0,this.$rename=!1,this.isQueried=!0,this.setTitle=(0,i.flow)(function*(e){this.$busy=!0;try{const t=yield(0,a.E)({location:d.C,params:{id:+this.id},request:{name:e,taxonomy:this.properties.taxonomy}});return this.title=e,this.properties=r().extend({},this.properties,t),t}finally{this.$busy=!1}}),this.trash=(0,i.flow)(function*(){this.$busy=!0;try{yield(0,a.E)({location:l.g,params:{id:+this.id,taxonomy:this.properties.taxonomy}}),this.$visible=!1}finally{this.$busy=!1}}),this.treeStore=t,(0,i.runInAction)(()=>{(0,i.set)(this,e),this.id&&t.refs.set(this.id,this)})}static mapFromRestEndpoint({term_id:e,name:t,count:o,childNodes:s,...i}){return new c({id:e,title:t,count:o,icon:"folder",iconActive:"folder-open",childNodes:s?s.map(c.mapFromRestEndpoint.bind(this)):[],properties:i},this)}overwriteCompletelyFromResponse(e){r().each(e,(e,t)=>(0,i.set)(this,e,t))}addChildNode(e){this.childNodes.push(e)}setSelected(e){this.selected!==e&&(this.selected=e,e&&this.treeStore.setSelected(this))}setBusy(e){this.$busy=e}setRename(e){this.$rename=e}setCreate(e){this.$create=e}}(0,s.Cg)([i.observable,(0,s.Sn)("design:type",Object)],c.prototype,"id",void 0),(0,s.Cg)([i.observable],c.prototype,"hash",void 0),(0,s.Cg)([i.observable],c.prototype,"className",void 0),(0,s.Cg)([i.observable],c.prototype,"icon",void 0),(0,s.Cg)([i.observable],c.prototype,"iconActive",void 0),(0,s.Cg)([i.observable,(0,s.Sn)("design:type",Array)],c.prototype,"childNodes",void 0),(0,s.Cg)([i.observable],c.prototype,"title",void 0),(0,s.Cg)([i.observable],c.prototype,"count",void 0),(0,s.Cg)([i.observable],c.prototype,"isTreeLinkDisabled",void 0),(0,s.Cg)([i.observable],c.prototype,"selected",void 0),(0,s.Cg)([i.observable],c.prototype,"$busy",void 0),(0,s.Cg)([i.observable],c.prototype,"$droppable",void 0),(0,s.Cg)([i.observable],c.prototype,"$visible",void 0),(0,s.Cg)([i.observable],c.prototype,"$rename",void 0),(0,s.Cg)([i.observable,(0,s.Sn)("design:type","undefined"==typeof TreeNodeProps?Object:TreeNodeProps)],c.prototype,"$create",void 0),(0,s.Cg)([i.observable,(0,s.Sn)("design:type",Object)],c.prototype,"properties",void 0),(0,s.Cg)([i.observable],c.prototype,"isQueried",void 0),(0,s.Cg)([i.observable,(0,s.Sn)("design:type",Object)],c.prototype,"parent",void 0),(0,s.Cg)([i.action,(0,s.Sn)("design:type",Function),(0,s.Sn)("design:paramtypes",["undefined"==typeof Partial?Object:Partial]),(0,s.Sn)("design:returntype",void 0)],c.prototype,"overwriteCompletelyFromResponse",null),(0,s.Cg)([i.action,(0,s.Sn)("design:type",Function),(0,s.Sn)("design:paramtypes",[Object]),(0,s.Sn)("design:returntype",void 0)],c.prototype,"addChildNode",null),(0,s.Cg)([i.action,(0,s.Sn)("design:type",Function),(0,s.Sn)("design:paramtypes",[Boolean]),(0,s.Sn)("design:returntype",void 0)],c.prototype,"setSelected",null),(0,s.Cg)([i.action,(0,s.Sn)("design:type",Function),(0,s.Sn)("design:paramtypes",[Boolean]),(0,s.Sn)("design:returntype",void 0)],c.prototype,"setBusy",null),(0,s.Cg)([i.action,(0,s.Sn)("design:type",Function),(0,s.Sn)("design:paramtypes",[Boolean]),(0,s.Sn)("design:returntype",void 0)],c.prototype,"setRename",null),(0,s.Cg)([i.action,(0,s.Sn)("design:type",Function),(0,s.Sn)("design:paramtypes",["undefined"==typeof TreeNodeProps?Object:TreeNodeProps]),(0,s.Sn)("design:returntype",void 0)],c.prototype,"setCreate",null);var p=o(4973),h=o(956),u=o(9077),y=o(9336);class g{static{this.ID_ALL="ALL"}get selectedId(){return this.selected?.id}constructor(e){this.staticTree=[],this.tree=[],this.busy=!1,this.refs=new Map,this.fetchTree=(0,i.flow)(function*(e,t){this.busy=!0;const{taxnow:o,typenow:s}=this.rootStore.optionStore.others;if(!o||!s)return;const i=yield(0,a.E)({location:y.C,sendReferer:!0,params:Object.assign({remember:!1,taxonomy:o,type:s},e)}),{selectedId:n,tree:r}=i;this.tree=r.map(c.mapFromRestEndpoint.bind(this)),this.busy=!1,this.byId(n,!1).setSelected(!0),t?.(i)}),this.persist=(0,i.flow)(function*(e){const t=yield(0,a.E)({location:u.h,request:e}),o=c.mapFromRestEndpoint.apply(this,[{category_name:t.category_name,childNodes:[],count:t.count,editableSlug:t.editableSlug,name:t.name,post_type:t.post_type,queryArgs:t.queryArgs,taxonomy:t.taxonomy,term_id:t.term_id}]),{parent:s}=e;return 0===s?this.tree.push(o):this.byId(s).addChildNode(o),o}),this.sort=(0,i.flow)(function*({id:e,oldIndex:t,newIndex:o,parentFromId:s,parentToId:i,nextId:n,...r}){const l=0===s?this.tree:this.byId(s).childNodes,d=0===i?this.tree:this.byId(i).childNodes,c=l[t];if(l.splice(t,1),d.splice(o,0,c),!r.request)return!0;const{typenow:p,taxnow:u}=this.rootStore.optionStore.others;try{return yield(0,a.E)({location:h.E,params:{id:e},request:{nextId:n,parent:i,type:p,taxonomy:u}}),!0}catch(r){throw yield this.sort({id:e,oldIndex:o,newIndex:t,parentFromId:i,parentToId:s,nextId:n,request:!1}),r}}),this.rootStore=e,(0,i.reaction)(()=>this.rootStore.optionStore.others.taxnow,()=>this.fetchTree({remember:!0})),setTimeout(this.init.bind(this))}setSelected(e){this.selected&&(this.selected.selected=!1),this.selected=e}setCreateRoot(e){this.createRoot=e}init(){this.staticTree.push(new c({id:"ALL",title:(0,p.__)("All posts"),icon:"copy",count:this.rootStore.optionStore.others.allPostCnt},this)),this.rootStore.optionStore.others.screenSettings.isActive&&this.fetchTree()}byId(e,t=!0){const o=this.refs.get(e);if(!(t&&this.staticTree.indexOf(o)>-1))return o}}(0,s.Cg)([i.observable,(0,s.Sn)("design:type",Array)],g.prototype,"staticTree",void 0),(0,s.Cg)([i.observable,(0,s.Sn)("design:type",Array)],g.prototype,"tree",void 0),(0,s.Cg)([i.observable,(0,s.Sn)("design:type",void 0===c?Object:c)],g.prototype,"selected",void 0),(0,s.Cg)([i.observable],g.prototype,"busy",void 0),(0,s.Cg)([i.observable,(0,s.Sn)("design:type","undefined"==typeof TreeNodeProps?Object:TreeNodeProps)],g.prototype,"createRoot",void 0),(0,s.Cg)([i.computed,(0,s.Sn)("design:type",void 0),(0,s.Sn)("design:paramtypes",[])],g.prototype,"selectedId",null),(0,s.Cg)([i.action,(0,s.Sn)("design:type",Function),(0,s.Sn)("design:paramtypes",[void 0===c?Object:c]),(0,s.Sn)("design:returntype",void 0)],g.prototype,"setSelected",null),(0,s.Cg)([i.action,(0,s.Sn)("design:type",Function),(0,s.Sn)("design:paramtypes",["undefined"==typeof TreeNodeProps?Object:TreeNodeProps]),(0,s.Sn)("design:returntype",void 0)],g.prototype,"setCreateRoot",null),(0,s.Cg)([i.action,(0,s.Sn)("design:type",Function),(0,s.Sn)("design:paramtypes",[]),(0,s.Sn)("design:returntype",void 0)],g.prototype,"init",null)},3203:(e,t,o)=>{o.d(t,{g:()=>a,y:()=>r});var s=o(8789),i=o(9261),n=o(2519);class r{get context(){return this.contextMemo?this.contextMemo:this.contextMemo=(0,s.createContextFactory)(this)}constructor(){this.optionStore=new i.t(this),this.treeStore=new n.k(this)}static get StoreProvider(){return r.get.context.StoreProvider}static get get(){return r.me?r.me:r.me=new r}}const a=()=>r.get.context.useStores()},3713:e=>{e.exports=ReactJSXRuntime},3933:(e,t,o)=>{o.r(t),o.d(t,{OptionStore:()=>u.t6,RootStore:()=>u.yd,TreeStore:()=>u.kG,locationRestHierarchyPut:()=>h.Eb,locationRestNoticeLiteDelete:()=>h.Xk,locationRestOptionsPostTypePatch:()=>h.el,locationRestPostsBulkMovePut:()=>h.PC,locationRestTermsDelete:()=>h.gX,locationRestTermsPost:()=>h.hg,locationRestTermsPut:()=>h.Cu,locationRestTreeGet:()=>h.Cw,useStores:()=>u.gy});var s=o(3713),i=(o(6422),o(1669)),n=o.n(i),r=o(8789),a=o(9169),l=o(9907),d=o(3203),c=o(7710),p={};for(const e in r)"default"!==e&&(p[e]=()=>r[e]);o.d(t,p);var h=o(180),u=o(5773);(0,r.handleCorruptRestApi)({[d.y.get.optionStore.restNamespace]:async()=>{await(0,c.E)({location:{path:"/plugin"}})}});const y=document.getElementById(`${d.y.get.optionStore.slug}-component`);n()(()=>{y&&(0,r.createRoot)(y).render((0,s.jsx)(l.K,{children:(0,s.jsx)(a.C,{})}))}),n()("link#dark_mode-css").length&&n()("body").addClass("aiot-wp-dark-mode")},4431:(e,t,o)=>{o.d(t,{X:()=>s});const s={path:"/notice/lite",method:o(8789).RouteHttpVerb.DELETE}},4497:e=>{e.exports=mobx},4973:(e,t,o)=>{o.d(t,{__:()=>r,_i:()=>a});var s=o(8789);let i;function n(){return i||(i=(0,s.createLocalizationFactory)(s.BaseOptions.getPureSlug("real-category-library")))}const r=(...e)=>n().__(...e),a=(...e)=>n()._i(...e)},5206:e=>{e.exports=ReactDOM},5773:(e,t,o)=>{o.d(t,{gy:()=>s.g,kG:()=>n.k,t6:()=>i.t,yd:()=>s.y});var s=o(3203),i=o(9261),n=o(2519)},6422:()=>{},7627:(e,t,o)=>{o.d(t,{P:()=>s});const s={path:"/posts/bulk/move",method:o(8789).RouteHttpVerb.PUT}},7710:(e,t,o)=>{o.d(t,{E:()=>n});var s=o(8789);let i;const n=(...e)=>(i||(i=(0,s.createRequestFactory)(window[s.BaseOptions.getPureSlug("real-category-library",!0)]))).request(...e)},8789:e=>{e.exports=devowlWp_utils},9077:(e,t,o)=>{o.d(t,{h:()=>s});const s={path:"/terms",method:o(8789).RouteHttpVerb.POST}},9169:(e,t,o)=>{o.d(t,{C:()=>_});var s=o(3713),i=o(8197),n=o(5085),r=o(480),a=o(9393),l=o(5107),d=o(1594),c=o(3203),p=o(4973),h=o(5720),u=o(3491);const y=(0,n.PA)(({feature:e})=>{const{optionStore:{others:{isPro:t,proUrl:o}}}=(0,c.g)(),i=(0,d.useCallback)(()=>{window.open(`${o}&feature=${e}`)},[]);return t?null:(0,s.jsx)(u.A,{icon:(0,s.jsx)(h.A,{}),color:"#2db7f5",style:{cursor:"pointer"},onClick:i,children:(0,p.__)("Unlock feature")})}),g=(0,n.PA)(({name:e})=>{const{message:t,modal:o}=r.A.useApp(),{optionStore:i}=(0,c.g)(),{others:{postTypes:n,isPro:h,pluginCptUi:u}}=i,{label:g,link:m,available:b,active:v,fastMode:f}=n[e],x=(0,d.useCallback)(async o=>{await i.updatePostTypeOptions(e,{active:o}),t.success(o?(0,p.__)("Category tree enabled for %s.",g):(0,p.__)("Category tree disabled for %s.",g))},[i,g]),S=(0,d.useCallback)(async o=>{await i.updatePostTypeOptions(e,{fastMode:o}),t.success(o?(0,p.__)("Pagination without reloading the page enabled for %s.",g):(0,p.__)("Pagination without reloading the page disabled for %s.",g))},[i,g]),C=(0,d.useCallback)(async()=>{u.active?window.location.href=u.manageTaxonomiesUrl:o.confirm({cancelText:(0,p.__)("Cancel"),okText:"Continue",title:(0,p.__)("Custom Post Type UI"),content:(0,p.__)("To create custom taxonomies we highly recommend to use the 3rd party plugin Custom Post Type UI. Would you like to install and activate it now?"),onOk:async()=>{await i.installAndActivateCustomPostTypeUI(),window.location.href=u.manageTaxonomiesUrl}})},[i,u]);return(0,s.jsxs)("tr",{children:[(0,s.jsxs)("td",{children:[(0,s.jsx)("strong",{children:g})," •"," ",(0,s.jsx)("a",{href:m,target:"_blank",rel:"noreferrer",children:(0,p.__)("Open")})]}),(0,s.jsx)("td",{children:"post"===e||h?b?(0,s.jsx)(a.A,{checked:v,onChange:x}):(0,s.jsx)(l.A,{transitionName:null,placement:"top",title:(0,p.__)("There are no taxonomies available for this post type. You need to register your own taxonomy so that you can organize your content into its categories."),children:(0,s.jsx)("button",{className:"button",onClick:C,children:(0,p.__)("Create custom taxonomy")})}):(0,s.jsx)(y,{feature:"options-active"})}),(0,s.jsx)("td",{children:(0,s.jsx)(a.A,{checked:v&&f,disabled:!v||!h,onChange:S})})]})}),m=(0,n.PA)(()=>{const{optionStore:{others:{postTypes:e}}}=(0,c.g)();return(0,s.jsxs)("table",{className:"wp-list-table widefat fixed striped table-view-list",children:[(0,s.jsx)("thead",{children:(0,s.jsxs)("tr",{children:[(0,s.jsx)("td",{children:(0,p.__)("Post type")}),(0,s.jsx)("td",{width:250,align:"right",children:(0,p.__)("Show category tree")}),(0,s.jsxs)("td",{width:350,align:"right",children:[(0,p.__)("Pagination without page reload")," ",(0,s.jsx)(y,{feature:"options-fast-mode"})]})]})}),(0,s.jsxs)("tbody",{children:[Object.keys(e).map(e=>(0,s.jsx)(g,{name:e},e)),(0,s.jsxs)("tr",{children:[(0,s.jsx)("td",{children:(0,s.jsx)("strong",{children:(0,p.__)("Media")})}),(0,s.jsx)("td",{colSpan:2,children:(0,s.jsx)("a",{href:(0,p.__)("https://devowl.io/go/real-media-library?source=cross-rcm&feature=media-folders"),target:"_blank",rel:"noreferrer",children:(0,p.__)("Use Real Media Library to enable folder management")})})]})]})]})}),b=devowlWp_realProductManagerWpClient;var v=o(2763),f=o(2380),x=o(3978),S=o(4022);const C=(0,n.PA)(({withinModal:e=!1})=>{const{pluginUpdateStore:{pluginUpdates:t}}=(0,b.useStores)(),{optionStore:o}=(0,c.g)(),{slug:i,others:{isPro:n,showLicenseFormImmediate:r},publicUrl:a}=o,l=t.get(i),h=(0,d.useCallback)(()=>{o.setShowLicenseFormImmediate(!1)},[o]),u=(0,d.useCallback)(()=>{o.setShowLicenseFormImmediate(!1),l.skip()},[l,o]);(0,d.useEffect)(()=>{r&&l?.hasInteractedWithFormOnce&&u()},[l,r,u]);const y=(0,p._i)((0,p.__)("Before we start organizing your categories, you can {{strong}}obtain your free license to enjoy all the benefits{{/strong}} of the free version of Real Category Management. Get started now!"),{strong:(0,s.jsx)("strong",{})});return(0,s.jsxs)(s.Fragment,{children:[r&&(0,s.jsxs)("div",{style:{maxWidth:650,textAlign:"center",margin:"0 auto"},children:[!e&&(0,s.jsx)(v.A,{src:`${a}images/logos/real-category-library.svg`,shape:"square",size:130,style:{backgroundColor:"white",padding:25,borderRadius:999,marginBottom:10}}),!e&&!n&&(0,s.jsx)("p",{style:{fontSize:15,margin:"0 auto 20px"},children:y})]}),(0,s.jsx)(f.A,{title:e||!l?void 0:n||l.isLicensed?(0,p.__)("License activation"):(0,p.__)("Get your free license"),bordered:!e,bodyStyle:e?{paddingLeft:0,paddingRight:0}:void 0,children:(0,s.jsxs)(x.A,{direction:"vertical",size:"small",children:[e&&!n&&(0,s.jsx)("p",{className:"description",style:{fontWeight:"bold"},children:y}),(0,s.jsx)(b.PluginUpdateEmbed,{formProps:{onSave:h,onFailure:r&&!n?u:void 0,footer:(0,s.jsx)(S.A.Item,{style:{margin:"25px 0 0",textAlign:r?"center":void 0},children:(0,s.jsx)("input",{type:"submit",className:"button button-primary",value:r?n?(0,p.__)("Activate license & continue"):(0,p.__)("Activate free license & Continue"):(0,p.__)("Save")})})},listProps:{onDeactivate:h},slug:i})]})}),l&&r&&(0,s.jsx)("div",{style:{textAlign:"center",marginBottom:e?0:20,marginTop:e?0:20},children:(0,s.jsx)("a",{className:"button-link",onClick:u,children:n?(0,p.__)("Continue without regular updates and without any support"):(0,p.__)("Continue without any support and without e.g. discount announcements")})})]})}),w=(0,n.PA)(()=>(0,s.jsx)("div",{style:{maxWidth:800,margin:"auto",padding:"20px 0"},children:(0,s.jsx)(b.Provider,{children:(0,s.jsx)(C,{})})})),_=(0,n.PA)(()=>{const{optionStore:{busySettings:e,others:{showLicenseFormImmediate:t}}}=(0,c.g)();return t?(0,s.jsx)(w,{}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("h1",{className:"wp-heading-inline",style:{marginBottom:10},children:(0,p.__)("Category Management")}),(0,s.jsxs)(i.A,{spinning:e,children:[(0,s.jsx)("p",{className:"description",style:{marginBottom:15},children:(0,p.__)("You can decide for which post types the additional features of Real Category Management should apply.")}),(0,s.jsx)(m,{})]})]})})},9261:(e,t,o)=>{o.d(t,{t:()=>u});var s=o(1490),i=o(1669),n=o.n(i),r=o(4497);const a=wp;var l=o.n(a),d=o(2293),c=o(8789),p=o(7710),h=o(1764);class u extends c.BaseOptions{get isRatable(){return(0,d.isRatable)(this.slug)}constructor(e){super(),this.busySettings=!1,this.updatePostTypeOptions=(0,r.flow)(function*(e,{active:t,fastMode:o}){this.busySettings=!0;try{const s=yield(0,p.E)({location:h.e,params:{post_type:e},request:{...void 0===t?{}:{active:t},...void 0===o?{}:{fastMode:o}}});return void 0!==t&&(this.others.postTypes[e].active=t),void 0!==o&&(this.others.postTypes[e].fastMode=o),s}catch(e){throw console.log(e),e}finally{this.busySettings=!1}}),this.installAndActivateCustomPostTypeUI=(0,r.flow)(function*(){this.busySettings=!0;const{others:{pluginCptUi:e,installPluginNonce:t}}=this,{installed:o,installUrl:s,activateUrl:i}=e,r=l()?.ajax?.send;if(o)try{yield n().get(i).promise(),e.active=!0}catch(e){window.location.href=i}else if(r)try{yield r({data:{action:"install-plugin",slug:"custom-post-type-ui",_ajax_nonce:t}}),e.installed=!0,yield this.installAndActivateCustomPostTypeUI()}catch(e){window.location.href=s}else window.location.href=s}),this.installAndActivateRealCustomPostOrder=(0,r.flow)(function*(){this.busySettings=!0;const{others:{pluginRcpo:e,installPluginNonce:t}}=this,{installed:o,installUrl:s,activateUrl:i}=e,r=l()?.ajax?.send;if(o)try{yield n().get(i).promise(),e.active=!0}catch(e){window.location.href=i}else if(r)try{yield r({data:{action:"install-plugin",slug:"real-custom-post-order",_ajax_nonce:t}}),e.installed=!0,yield this.installAndActivateCustomPostTypeUI()}catch(e){window.location.href=s}else window.location.href=s}),this.rootStore=e,this.pureSlug=c.BaseOptions.getPureSlug("real-category-library"),this.pureSlugCamelCased=c.BaseOptions.getPureSlug("real-category-library",!0),(0,r.runInAction)(()=>Object.assign(this,window[this.pureSlugCamelCased]))}setTaxnow(e){this.others.taxnow=e}setShowLicenseFormImmediate(e){this.others.showLicenseFormImmediate=e}}(0,s.Cg)([r.observable],u.prototype,"busySettings",void 0),(0,s.Cg)([r.observable,(0,s.Sn)("design:type",Object)],u.prototype,"others",void 0),(0,s.Cg)([r.action,(0,s.Sn)("design:type",Function),(0,s.Sn)("design:paramtypes",[String]),(0,s.Sn)("design:returntype",void 0)],u.prototype,"setTaxnow",null),(0,s.Cg)([r.action,(0,s.Sn)("design:type",Function),(0,s.Sn)("design:paramtypes",[Boolean]),(0,s.Sn)("design:returntype",void 0)],u.prototype,"setShowLicenseFormImmediate",null)},9336:(e,t,o)=>{o.d(t,{C:()=>s});const s={path:"/tree",method:o(8789).RouteHttpVerb.GET}},9906:(e,t,o)=>{o.d(t,{g:()=>s});const s={path:"/terms/:id",method:o(8789).RouteHttpVerb.DELETE}},9907:(e,t,o)=>{o.d(t,{K:()=>l});var s=o(3713),i=o(4349),n=o(480),r=o(5666),a=o(3203);const l=({children:e,configProvider:t={},app:o={}})=>(0,s.jsx)(r.Ay,{prefixCls:"rcl-antd",iconPrefixCls:"rcl-antd-anticon",theme:{token:{colorPrimary:"#2271b1",borderRadius:3}},...t,children:(0,s.jsx)(i.Z_3,{value:{prefixCls:"rcl-antd-anticon"},children:(0,s.jsx)(n.A,{message:{top:50},...o,children:(0,s.jsx)(a.y.StoreProvider,{children:e})})})})}},o={};function s(e){var i=o[e];if(void 0!==i)return i.exports;var n=o[e]={exports:{}};return t[e](n,n.exports,s),n.exports}s.m=t,e=[],s.O=(t,o,i,n)=>{if(!o){var r=1/0;for(c=0;c<e.length;c++){for(var[o,i,n]=e[c],a=!0,l=0;l<o.length;l++)(!1&n||r>=n)&&Object.keys(s.O).every(e=>s.O[e](o[l]))?o.splice(l--,1):(a=!1,n<r&&(r=n));if(a){e.splice(c--,1);var d=i();void 0!==d&&(t=d)}}return t}n=n||0;for(var c=e.length;c>0&&e[c-1][2]>n;c--)e[c]=e[c-1];e[c]=[o,i,n]},s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},s.d=(e,t)=>{for(var o in t)s.o(t,o)&&!s.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},s.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e={575:0};s.O.j=t=>0===e[t];var t=(t,o)=>{var i,n,[r,a,l]=o,d=0;if(r.some(t=>0!==e[t])){for(i in a)s.o(a,i)&&(s.m[i]=a[i]);if(l)var c=l(s)}for(t&&t(o);d<r.length;d++)n=r[d],s.o(e,n)&&e[n]&&e[n][0](),e[n]=0;return s.O(c)},o=self.webpackChunkrealCategoryLibrary_=self.webpackChunkrealCategoryLibrary_||[];o.forEach(t.bind(null,0)),o.push=t.bind(null,o.push.bind(o))})();var i=s.O(void 0,[644],()=>s(3933));i=s.O(i),realCategoryLibrary_options=i})();
    2 //# sourceMappingURL=https://sourcemap.devowl.io/real-category-library/4.2.64/c077861a1074a2855212ab4027da7804/options.lite.js.map
     2//# sourceMappingURL=https://sourcemap.devowl.io/real-category-library/4.2.69/c077861a1074a2855212ab4027da7804/options.lite.js.map
  • real-category-library-lite/tags/4.2.69/vendor/composer/installed.php

    r3454640 r3491846  
    33namespace DevOwl\RealCategoryLibrary\Vendor;
    44
    5 return array('root' => array('name' => 'devowl-wp/real-category-library', 'pretty_version' => 'dev-master', 'version' => 'dev-master', 'reference' => '107fd1001f55f5ec3d5c72d4774f0db7319bd721', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev' => \false), 'versions' => array('colinodell/json5' => array('pretty_version' => 'v2.3.0', 'version' => '2.3.0.0', 'reference' => '15b063f8cb5e6deb15f0cd39123264ec0d19c710', 'type' => 'library', 'install_path' => __DIR__ . '/../colinodell/json5', 'aliases' => array(), 'dev_requirement' => \false), 'devowl-wp/freemium' => array('pretty_version' => 'dev-wordpress', 'version' => 'dev-wordpress', 'reference' => '4980f2b3afdffa8f8b8f33bacc36ca456de46cc5', 'type' => 'library', 'install_path' => __DIR__ . '/../devowl-wp/freemium', 'aliases' => array(), 'dev_requirement' => \false), 'devowl-wp/multilingual' => array('pretty_version' => 'dev-wordpress', 'version' => 'dev-wordpress', 'reference' => 'a8823309d17a435a364e7790424313c3add5e115', 'type' => 'library', 'install_path' => __DIR__ . '/../devowl-wp/multilingual', 'aliases' => array(), 'dev_requirement' => \false), 'devowl-wp/real-category-library' => array('pretty_version' => 'dev-master', 'version' => 'dev-master', 'reference' => '107fd1001f55f5ec3d5c72d4774f0db7319bd721', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev_requirement' => \false), 'devowl-wp/real-product-manager-wp-client' => array('pretty_version' => 'dev-wordpress', 'version' => 'dev-wordpress', 'reference' => 'd1082267c398f7d4f2885db62036f553af286c22', 'type' => 'library', 'install_path' => __DIR__ . '/../devowl-wp/real-product-manager-wp-client', 'aliases' => array(), 'dev_requirement' => \false), 'devowl-wp/real-utils' => array('pretty_version' => 'dev-wordpress', 'version' => 'dev-wordpress', 'reference' => '138a765b49f80d627eb39f688d3fc85f6e244a3c', 'type' => 'library', 'install_path' => __DIR__ . '/../devowl-wp/real-utils', 'aliases' => array(), 'dev_requirement' => \false), 'devowl-wp/utils' => array('pretty_version' => 'dev-wordpress', 'version' => 'dev-wordpress', 'reference' => 'a28a8596f040847fc6864da4602d0e4e1d09a351', 'type' => 'library', 'install_path' => __DIR__ . '/../devowl-wp/utils', 'aliases' => array(), 'dev_requirement' => \false), 'matthiasweb/wpdb-batch' => array('pretty_version' => 'dev-master', 'version' => 'dev-master', 'reference' => '8558c8c07763cd01d2c89744f65da4880b4e38a0', 'type' => 'library', 'install_path' => __DIR__ . '/../matthiasweb/wpdb-batch', 'aliases' => array(0 => '9999999-dev'), 'dev_requirement' => \false), 'yahnis-elsts/plugin-update-checker' => array('pretty_version' => 'v5.6', 'version' => '5.6.0.0', 'reference' => 'a2db6871deec989a74e1f90fafc6d58ae526a879', 'type' => 'library', 'install_path' => __DIR__ . '/../yahnis-elsts/plugin-update-checker', 'aliases' => array(), 'dev_requirement' => \false)));
     5return array('root' => array('name' => 'devowl-wp/real-category-library', 'pretty_version' => 'dev-master', 'version' => 'dev-master', 'reference' => '09951dd908843e51d9427e1b80aeb54d56ddd00c', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev' => \false), 'versions' => array('colinodell/json5' => array('pretty_version' => 'v2.3.0', 'version' => '2.3.0.0', 'reference' => '15b063f8cb5e6deb15f0cd39123264ec0d19c710', 'type' => 'library', 'install_path' => __DIR__ . '/../colinodell/json5', 'aliases' => array(), 'dev_requirement' => \false), 'devowl-wp/freemium' => array('pretty_version' => 'dev-wordpress', 'version' => 'dev-wordpress', 'reference' => '4980f2b3afdffa8f8b8f33bacc36ca456de46cc5', 'type' => 'library', 'install_path' => __DIR__ . '/../devowl-wp/freemium', 'aliases' => array(), 'dev_requirement' => \false), 'devowl-wp/multilingual' => array('pretty_version' => 'dev-wordpress', 'version' => 'dev-wordpress', 'reference' => 'a8823309d17a435a364e7790424313c3add5e115', 'type' => 'library', 'install_path' => __DIR__ . '/../devowl-wp/multilingual', 'aliases' => array(), 'dev_requirement' => \false), 'devowl-wp/real-category-library' => array('pretty_version' => 'dev-master', 'version' => 'dev-master', 'reference' => '09951dd908843e51d9427e1b80aeb54d56ddd00c', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev_requirement' => \false), 'devowl-wp/real-product-manager-wp-client' => array('pretty_version' => 'dev-wordpress', 'version' => 'dev-wordpress', 'reference' => 'd1082267c398f7d4f2885db62036f553af286c22', 'type' => 'library', 'install_path' => __DIR__ . '/../devowl-wp/real-product-manager-wp-client', 'aliases' => array(), 'dev_requirement' => \false), 'devowl-wp/real-utils' => array('pretty_version' => 'dev-wordpress', 'version' => 'dev-wordpress', 'reference' => '138a765b49f80d627eb39f688d3fc85f6e244a3c', 'type' => 'library', 'install_path' => __DIR__ . '/../devowl-wp/real-utils', 'aliases' => array(), 'dev_requirement' => \false), 'devowl-wp/utils' => array('pretty_version' => 'dev-wordpress', 'version' => 'dev-wordpress', 'reference' => 'a28a8596f040847fc6864da4602d0e4e1d09a351', 'type' => 'library', 'install_path' => __DIR__ . '/../devowl-wp/utils', 'aliases' => array(), 'dev_requirement' => \false), 'matthiasweb/wpdb-batch' => array('pretty_version' => 'dev-master', 'version' => 'dev-master', 'reference' => '8558c8c07763cd01d2c89744f65da4880b4e38a0', 'type' => 'library', 'install_path' => __DIR__ . '/../matthiasweb/wpdb-batch', 'aliases' => array(0 => '9999999-dev'), 'dev_requirement' => \false), 'yahnis-elsts/plugin-update-checker' => array('pretty_version' => 'v5.6', 'version' => '5.6.0.0', 'reference' => 'a2db6871deec989a74e1f90fafc6d58ae526a879', 'type' => 'library', 'install_path' => __DIR__ . '/../yahnis-elsts/plugin-update-checker', 'aliases' => array(), 'dev_requirement' => \false)));
  • real-category-library-lite/tags/4.2.69/vendor/devowl-wp/freemium/dist/index.js

    r3454640 r3491846  
    11var devowlWp_freemium;(()=>{"use strict";var e={};(e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})})(e),devowlWp_freemium=e})();
    2 //# sourceMappingURL=https://sourcemap.devowl.io/real-category-library/4.2.64/df3d1ea0b5a4f74321193409a0f71b74/index.js.map
     2//# sourceMappingURL=https://sourcemap.devowl.io/real-category-library/4.2.69/df3d1ea0b5a4f74321193409a0f71b74/index.js.map
  • real-category-library-lite/tags/4.2.69/vendor/devowl-wp/freemium/package.json

    r3454640 r3491846  
    11{
    22    "name": "@devowl-wp/freemium",
    3     "version": "1.3.130",
     3    "version": "1.3.135",
    44    "private": true,
    55    "description": "Make your plugin to a freemium plugin with predefined Envato support",
  • real-category-library-lite/tags/4.2.69/vendor/devowl-wp/multilingual/dist/index.js

    r3454640 r3491846  
    11var devowlWp_multilingual;(()=>{"use strict";var e={d:(t,o)=>{for(var r in o)e.o(o,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:o[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{createCopy:()=>n,locationRestCopyPost:()=>r});const o=devowlWp_utils,r={path:"/:objectType/multilingual/copy",namespace:"wp/v2",method:o.RouteHttpVerb.POST};async function n(e,t,n){const{root:a,nonce:l}=window.wpApiSettings,{translations:i}=await(0,o.commonRequest)({location:r,options:{restRoot:a,restNonce:l,restNamespace:"wp/v2",restQuery:{}},request:{id:t,targetLocale:n},params:{objectType:e}});return i[n]}devowlWp_multilingual=t})();
    2 //# sourceMappingURL=https://sourcemap.devowl.io/real-category-library/4.2.64/ff904a6dab39524751eb8bf817ab7135/index.js.map
     2//# sourceMappingURL=https://sourcemap.devowl.io/real-category-library/4.2.69/ff904a6dab39524751eb8bf817ab7135/index.js.map
  • real-category-library-lite/tags/4.2.69/vendor/devowl-wp/multilingual/package.json

    r3454640 r3491846  
    11{
    22    "name": "@devowl-wp/multilingual",
    3     "version": "1.14.13",
     3    "version": "1.14.18",
    44    "private": true,
    55    "description": "Provide helper functionality for multilingual plugins like WPML and PolyLang",
  • real-category-library-lite/tags/4.2.69/vendor/devowl-wp/multilingual/src/AbstractLanguagePlugin.php

    r3454640 r3491846  
    346346        $this->snapshotCurrentTranslations(\true);
    347347        $this->createTemporaryTextDomain($useLocale, \true);
    348         $expandedContent = Utils::expandKeys($content, $skipKeys, function ($key, &$value) {
    349             if (\is_string($value) && !empty($value) && !\is_numeric($value) && isset($this->translateArrayCache[$value])) {
    350                 $value = $this->translateArrayCache[$value];
     348        $cache =& $this->translateArrayCache[$useLocale];
     349        if (!\is_array($cache)) {
     350            $cache = [];
     351        }
     352        $expandedContent = Utils::expandKeys($content, $skipKeys, function ($key, &$value) use(&$cache) {
     353            if (\is_string($value) && !empty($value) && !\is_numeric($value) && isset($cache[$value])) {
     354                $value = $cache[$value];
    351355                return \true;
    352356            }
  • real-category-library-lite/tags/4.2.69/vendor/devowl-wp/multilingual/src/AbstractOutputBufferPlugin.php

    r3454640 r3491846  
    183183    protected function remapResultToReference(&$content, $result, $locale, $context = null)
    184184    {
     185        $cacheLocale = empty($locale) ? $this->getCurrentLanguageFallback() : $locale;
     186        $cache =& $this->translateArrayCache[$cacheLocale];
     187        if (!\is_array($cache)) {
     188            $cache = [];
     189        }
    185190        foreach ($content as $i => &$untranslated) {
    186191            $previousContent = $untranslated;
     
    194199                list(, $translation) = $this->translateStringFromMo($translation, $locale, $context);
    195200            }
    196             $this->translateArrayCache[$untranslated] = $translation;
     201            $cache[$untranslated] = $translation;
    197202            $untranslated = $translation;
    198203        }
  • real-category-library-lite/tags/4.2.69/vendor/devowl-wp/multilingual/src/TranslatePress.php

    r3407658 r3491846  
    9898                        continue;
    9999                    }
    100                     $updates[] = ['id' => \intval($row['id']), 'translated' => $found_string_row[1] === null ? '' : $found_string_row[1], 'status' => $found_string_row[1] === null ? 0 : 2, 'original' => $row['original']];
     100                    if ($found_string_row !== null) {
     101                        $updates[] = ['id' => \intval($row['id']), 'translated' => $found_string_row[1] === null ? '' : $found_string_row[1], 'status' => $found_string_row[1] === null ? 0 : 2, 'original' => $row['original']];
     102                    }
    101103                }
    102104            }
     
    236238        global $wpdb;
    237239        if (!$this->useRawQueryForRead) {
     240            return \false;
     241        }
     242        $defaultLanguage = $this->getDefaultLanguage();
     243        // A database table like `wp_trp_dictionary_en_us_en_us` does not exist, so we can skip the translation
     244        if ($locale === null || \strtolower($defaultLanguage) === \strtolower($locale)) {
    238245            return \false;
    239246        }
  • real-category-library-lite/tags/4.2.69/vendor/devowl-wp/real-product-manager-wp-client/dist/index.css

    r3454640 r3491846  
    11body.modal-open .rpm-wpc-antd-modal-root{display:none!important}.rpm-wpc-antd-app a:not(.button):not(.nav-tab):not(.page-title-action){-webkit-text-decoration:underline;text-decoration:underline}.rpm-wpc-antd-dropdown,.rpm-wpc-antd-dropdown-menu-submenu-popup,.rpm-wpc-antd-image-preview-mask,.rpm-wpc-antd-image-preview-wrap,.rpm-wpc-antd-message,.rpm-wpc-antd-select-dropdown{z-index:105000000!important}.rpm-wpc-antd-modal-mask,.rpm-wpc-antd-modal-wrap{z-index:99999999!important}.rpm-wpc-antd-tooltip{z-index:100000079!important}.rpm-wpc-antd-tooltip a{color:inherit!important;-webkit-text-decoration:underline;text-decoration:underline}.rpm-wpc-antd-popover{z-index:100000029!important}.rpm-wpc-antd-checkbox-input{margin-top:0!important}.rpm-wpc-antd-card:not(.rpm-wpc-antd-card-bordered){box-shadow:none!important}.rpm-wpc-antd-table table{margin:0!important}.rpm-wpc-antd-tabs-tabpane-no-margin{margin:0!important;padding:0!important}.rpm-wpc-antd-space-compact.rpm-wpc-antd-select-addon{display:flex}.rpm-wpc-antd-space-compact.rpm-wpc-antd-select-addon .rpm-wpc-antd-input-group-wrapper{flex:0}.rpm-wpc-antd-space-compact.rpm-wpc-antd-select-addon .rpm-wpc-antd-input{width:0;padding-left:0!important;padding-right:0!important}.rpm-wpc-antd-space-compact.rpm-wpc-antd-select-addon .rpm-wpc-antd-select{flex:1}.rpm-wpc-antd-space-compact.rpm-wpc-antd-select-addon .rpm-wpc-antd-select-selector{border-left:0}.rpm-wpc-antd-space-compact.rpm-wpc-antd-select-addon .rpm-wpc-antd-select-multiple .rpm-wpc-antd-select-selector{padding-top:0!important;padding-bottom:0!important}.rpm-wpc-antd-radio-disabled>input{opacity:0!important}.rpm-wpc-antd-radio-button-wrapper input[type=radio]{opacity:0!important}.rpm-wpc-antd-radio-button-card>label{height:auto!important;padding:0;border-radius:0!important;margin:0 5px 5px 0!important}.rpm-wpc-antd-radio-button-card>label .rpm-wpc-antd-card{background:rgba(0,0,0,0)}.rpm-wpc-antd-radio-button-card>label .rpm-wpc-antd-card .rpm-wpc-antd-card-cover{margin:5px}.rpm-wpc-antd-radio-button-card>label.rpm-wpc-antd-radio-button-wrapper-checked:not(.rpm-wpc-antd-radio-button-wrapper-disabled) .rpm-wpc-antd-card-meta-description,.rpm-wpc-antd-radio-button-card>label.rpm-wpc-antd-radio-button-wrapper-checked:not(.rpm-wpc-antd-radio-button-wrapper-disabled) .rpm-wpc-antd-card-meta-title{color:#fff}.rpm-wpc-antd-form-sticky-submit{position:sticky;bottom:0;background:#f1f1f1;border-top:1px solid #d2b798;margin-top:10px;padding:20px 0;z-index:4}.rpm-wpc-antd-modal-root .rpm-wpc-antd-form-sticky-submit{background:#fff;margin-bottom:0}.rpm-wpc-antd-modal-root .rpm-wpc-antd-modal-confirm-body:not(:has(>[role=img])) .rpm-wpc-antd-modal-confirm-paragraph{max-width:none;max-width:initial}.rpm-wpc-antd-hero-modal{text-align:center}.rpm-wpc-antd-hero-modal .rpm-wpc-antd-modal-footer{text-align:center}.rpm-wpc-antd-hero-modal .rpm-wpc-antd-modal-body{padding:0 24px}.rpm-wpc-antd-hero-modal .rpm-wpc-antd-modal-body img{max-width:90%;max-height:500px;height:auto}.rpm-wpc-antd-modal-mount{position:relative;width:100%;background-repeat:no-repeat;background-size:100% auto;background-position:center center}.rpm-wpc-antd-modal-mount .rpm-wpc-antd-modal-mask,.rpm-wpc-antd-modal-mount .rpm-wpc-antd-modal-wrap{position:absolute;z-index:auto;z-index:initial}.rpm-wpc-antd-modal-mount .rpm-wpc-antd-modal-mask{background:0 0}.rpm-wpc-antd-modal-mount .rpm-wpc-antd-modal-close,.rpm-wpc-antd-modal-mount .rpm-wpc-antd-modal-footer>button:not(.rpm-wpc-antd-btn-primary){display:none!important}.rpm-wpc-antd-template-card{width:210px;display:inline-block;padding:10px;margin:5px;vertical-align:top}.rpm-wpc-antd-template-card .rpm-wpc-antd-card-cover{height:173px;display:flex;align-items:center;justify-content:center}.rpm-wpc-antd-template-card .rpm-wpc-antd-card-body{padding:20px 5px 10px}.rpm-wpc-antd-template-card .rpm-wpc-antd-ribbon.rpm-wpc-antd-ribbon-placement-end{right:-18px;border:1px solid #fff;box-sizing:content-box}.rpm-wpc-antd-template-card .rpm-wpc-antd-card-meta-description{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.rpm-wpc-antd-template-card .rpm-wpc-antd-card-actions{margin-top:10px!important}.rpm-wpc-antd-template-card .rpm-wpc-antd-card-actions a{-webkit-text-decoration:underline;text-decoration:underline}.rpm-wpc-antd-space-vertical{width:100%}.rpm-wpc-antd-tabs-nav::before{border-color:#e2e2e2!important}.rpm-wpc-antd-select.rpm-wpc-antd-select-ellipses-left .rpm-wpc-antd-select-selection-item{direction:rtl}.rpm-wpc-antd-image-preview-operations{top:32px}.rpm-wpc-antd-input{padding:4px 11px!important;line-height:1.5715!important;min-height:auto!important;box-shadow:none!important;border-radius:2px!important;border:1px solid #d9d9d9!important;outline:0!important}.rpm-wpc-antd-list-item{background:#fff;padding:15px!important}.rpm-wpc-antd-list-item .rpm-wpc-antd-badge-count{min-width:9px}.rpm-wpc-antd-list-item .rpm-wpc-antd-list-item-meta-content{width:auto!important}.rpm-wpc-antd-pagination>li{margin-bottom:0!important}
    2 //# sourceMappingURL=https://sourcemap.devowl.io/real-category-library/4.2.64/dac40a5bed701d16ba1195cc1484a602/index.css.map
     2//# sourceMappingURL=https://sourcemap.devowl.io/real-category-library/4.2.69/2f184d4e5d8822eb172b9b76b1eb872b/index.css.map
  • real-category-library-lite/tags/4.2.69/vendor/devowl-wp/real-product-manager-wp-client/dist/index.js

    r3454640 r3491846  
    11var devowlWp_realProductManagerWpClient;(()=>{"use strict";var e,t={1594:e=>{e.exports=React},4266:(e,t,n)=>{n.r(t),n.d(t,{Avatar:()=>i.A,CLICK_HANDLER_PLUGIN_UPDATE_MODAL_ATTRIBUTE:()=>je,Card:()=>o.A,FeedbackModal:()=>xe,Form:()=>a.A,HASH_HANDLER_PLUGIN_UPDATE_MODAL_PREFIX:()=>ue,LearnMoreTag:()=>E,OptionStore:()=>H,PLUGIN_UPDATE_FORM_LAYOUT:()=>N,PLUGIN_UPDATE_FORM_LAYOUT_MARGIN_BOTTOM:()=>F,PluginUpdateEmbed:()=>re,PluginUpdateErrorNotice:()=>ae,PluginUpdateForm:()=>L,PluginUpdateLicenseList:()=>q,PluginUpdateLicenseListItem:()=>W,PluginUpdateLicenseTelemetryDataModal:()=>O,PluginUpdateModal:()=>le,PluginUpdateStore:()=>se,PluginUpdateTermFields:()=>U,Provider:()=>pe,RootStore:()=>ie,Space:()=>r.A,listenHashPluginUpdate:()=>he,listenPluginDeactivation:()=>we,listenPluginUpdateLinkClick:()=>Ae,locationRestAnnouncementActive:()=>Z,locationRestLicenseDelete:()=>G,locationRestLicenseRetry:()=>J,locationRestLicenseTelemetryGet:()=>z,locationRestPluginFeedbackPost:()=>be,locationRestPluginUpdateGet:()=>ne,locationRestPluginUpdatePatch:()=>Q,locationRestPluginUpdateSkipPost:()=>ee,useStores:()=>oe});const s=ReactJSXRuntime;var i=n(6086),o=n(5685),a=n(9530),r=n(3978);const l=devowlWp_utils,c=()=>{let e;return[!1,new Promise(t=>e=t),e]},d={loading:c(),complete:c(),interactive:c()},p=["readystatechange","rocket-readystatechange","DOMContentLoaded","rocket-DOMContentLoaded","rocket-allScriptsLoaded"];var u=n(8915),h=n(8197),g=n(9991),m=n(7922),y=n(1594),b=n(9117),v=n(782),f=n(1767),x=n(4529),w=n(4936),j=n(8116);let A;function P(){return A||(A=(0,l.createLocalizationFactory)("devowl-wp-real-product-manager-wp-client"))}const S=(...e)=>P()._x(...e),k=(...e)=>P().__(...e),C=(...e)=>P()._i(...e),O=(0,m.PA)(({license:e,linkWrapper:t,disabled:n,children:i})=>{const{busy:o,telemetryData:a,telemetryDataSharingOptIn:r}=e,[l,c]=(0,y.useState)(!1);return(0,y.useEffect)(()=>{l&&!a&&e.fetchTelemetryData()},[l,a,e]),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(u.A,{title:k("Telemetry data preview"),open:l&&!n,onCancel:()=>c(!1),cancelText:k("Close"),okButtonProps:{style:{display:"none"}},children:[r&&(0,s.jsx)("p",{style:{marginTop:0,marginBottom:10},children:S("At the time of activating the license, you agreed that we may send telemetry data from your installation to our server. You can revoke this at any time by deactivating and reactivating the licence.","legal-text")}),(0,s.jsx)("p",{style:{marginTop:0},children:k("The following data (raw) will be sent to our server:")}),(0,s.jsx)(h.A,{spinning:o,children:(0,s.jsx)("textarea",{readOnly:!0,style:{width:"100%",height:300},value:a?JSON.stringify(a,null,4):""})})]}),(0,s.jsx)("span",{onClick:e=>{n||c(!0),e.preventDefault()},children:t?(0,s.jsx)("a",{children:i}):i})]})}),U=(0,m.PA)(({pluginUpdate:e})=>{const t={...F,zoom:.8},{privacyProvider:n,privacyPolicy:i,allowsTelemetry:o,allowsAutoUpdates:r,allowsNewsletter:l,additionalCheckboxes:c,licenses:[d]}=e;return(0,s.jsxs)(s.Fragment,{children:[r&&(0,s.jsx)(a.A.Item,{name:"autoUpdates",valuePropName:"checked",style:t,children:(0,s.jsx)(w.A,{children:C(k("Updates containing bug fixes and new features will be downloaded and installed automatically."),{a:(0,s.jsx)("a",{href:i,target:"_blank",rel:"noreferrer"})})})}),(0,s.jsx)(a.A.Item,{name:"terms",valuePropName:"checked",required:!0,rules:[{type:"boolean",required:!0,transform:e=>e||void 0,message:k("Please confirm the transfer of technical data as this is required for license activation and update functionality.")}],style:t,children:(0,s.jsx)(w.A,{children:S("I allow to transfer technical data about this WordPress installation to the update server of %1$s and get latest announcements. This data is required for license activation and update functionality.","legal-text",n)})}),o&&(0,s.jsx)(a.A.Item,{name:"telemetry",valuePropName:"checked",style:t,children:(0,s.jsx)(w.A,{children:C(S("I allow telemetry data about the use of this WordPress plugin to be collected in accordance with the %1$s {{a}}privacy policy{{/a}}. This data does not include any personal information about users of the plugin. Collected data ({{aDataExample}}open example of transmitted data{{/aDataExample}}) will be used to provide you with the best possible support and to improve the plugin.","legal-text",n),{a:(0,s.jsx)("a",{href:i,target:"_blank",rel:"noreferrer"}),aDataExample:(0,s.jsx)(O,{license:d,linkWrapper:!0})})})}),c.map(({id:e,text:n})=>(0,s.jsx)(a.A.Item,{name:e,valuePropName:"checked",style:t,children:(0,s.jsx)(w.A,{children:n})},e)),l&&(0,s.jsx)(a.A.Item,{name:"newsletter",valuePropName:"checked",style:t,children:(0,s.jsx)(w.A,{children:S("I would like to receive the %1$s newsletter with WordPress news, sales and product offers (approx. 1-2 per month) via email. I know that I can withdraw my consent for the newsletter at any time.","legal-text",n)})}),(0,s.jsx)(a.A.Item,{noStyle:!0,shouldUpdate:(e,t)=>e.newsletter!==t.newsletter,children:({getFieldValue:e})=>e("newsletter")&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(a.A.Item,{label:k("First name"),name:"firstName",style:F,required:!0,rules:[{required:!0,message:k("Please enter your first name!")}],children:(0,s.jsx)(v.A,{})}),(0,s.jsx)(a.A.Item,{label:k("Email"),name:"email",style:F,required:!0,rules:[{type:"email",required:!0,message:k("Please enter your email address!")}],children:(0,s.jsx)(v.A,{})}),(0,s.jsx)("div",{className:"notice notice-info inline below-h2 notice-alt",style:{margin:0},children:(0,s.jsx)("p",{children:k("Please note that we will send you a confirmation e-mail. Only when you have clicked on the activation link in the email will you receive the newsletter.")})})]})}),(0,s.jsx)(a.A.Item,{style:t,children:C(k("Information on the processing of your personal data can be found in our {{a}}privacy policy{{/a}}."),{a:(0,s.jsx)("a",{href:i,target:"_blank",rel:"noreferrer"})})})]})});var I=n(28),T=n(3491);const E=({url:e,style:t,label:n=k("Learn more")})=>{const i={cursor:"pointer",...t};return(0,s.jsxs)(T.A,{style:i,onClick:()=>window.open(e,"_blank"),children:[(0,s.jsx)(I.A,{})," ",n]})},N={labelCol:{span:24},wrapperCol:{span:24}},F={marginBottom:8},L=(0,m.PA)(({onSave:e,onFailure:t,footer:n,pluginUpdate:i})=>{const{message:o}=b.A.useApp(),[r,l]=(0,y.useState)(!1),{busy:c,slug:d,allowsAutoUpdates:p,needsLicenseKeys:u,licenses:m,unlicensedEntries:A,noUsageEntries:P,modifiableEntries:S,invalidKeysError:O,accountSiteUrl:I,additionalCheckboxes:T,licenseKeyHelpUrl:L,name:D,potentialNewsletterUser:{firstName:R,email:_},showBlogName:M,showNetworkWideUpdateIssueNotice:X}=i,W=m.length>1,q={licenses:m.map(({blog:e,code:t,installationType:n,hint:s,noUsage:i})=>({blog:e,code:t||(s?s.help.match(/(\w{8}-\w{4}-\w{4}-\w{4}-\w{12})|(\w{32})/)?.[0]:"")||"",installationType:n||"",noUsage:i})),autoUpdates:p,terms:!1,telemetry:!1,newsletter:!1,firstName:R,email:_,...T.reduce((e,t)=>(e[t.id]=!1,e),{})},[B]=a.A.useForm(),[V,H]=(0,y.useState)(P.length!==A.length),K=(0,y.useCallback)(async n=>{const{licenses:s,...a}=n,r={...a,licenses:JSON.stringify(u?s.filter(({blog:e})=>{const[t]=m.filter(t=>t.blog===e);return A.indexOf(t)>-1}):void 0)};try{await i.update(r),B.setFieldsValue({terms:!1,telemetry:!1,newsletter:!1}),o.success(k("Your license has been activated!")),e?.()}catch(e){throw i.invalidKeysError||o.error(e.responseJSON.message),t?.(),e}},[i,e,m,A,u]),$=(0,y.useCallback)(async e=>{try{await K(e)}catch(e){}finally{l(!1)}},[B,K,l]),G=(0,y.useCallback)(()=>{l(!0),H(!0)},[]);return(0,s.jsxs)(h.A,{spinning:c,children:[X&&(0,s.jsxs)("div",{className:"notice notice-error inline below-h2 notice-alt",style:{margin:"0 0 10px 0"},children:[(0,s.jsx)("p",{children:k("You are using a WordPress mulisite. Due to technical limitations of WordPress core, %s can receive automatic updates in WordPress multisites only if the plugin is enabled network-wide. You can enable the plugin network-wide, but still only license it for specific sites.",D)}),(0,s.jsx)("p",{children:k("Please enable %s network-wide or take care of regular updates manually!",D)})]}),A.length>0&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("p",{className:"description",style:{marginBottom:15},children:u?k("Activate your %s PRO license to receive regular updates and support.",D):C(k("To use all advantages of %s {{strong}}you need a free license{{/strong}}. After license activation you will receive answers to support requests and announcements in your plugin (e.g. also notices for discount actions of the PRO version).",D),{strong:(0,s.jsx)("strong",{})})}),(0,s.jsxs)(a.A,{name:`license-form-${d}`,id:`license-form-${d}`,form:B,...N,initialValues:q,onFinish:$,onFinishFailed:G,onChange:()=>{H(!0)},labelWrap:!0,children:[u&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(a.A.List,{name:"licenses",children:e=>e.map(e=>{const{blog:t}=B.getFieldValue(["licenses",e.name]),[n]=m.filter(e=>e.blog===t);if(-1===A.indexOf(n))return null;const{busy:i,blogName:l,programmatically:c,host:d}=n,p=O?.[t],u=r?{}:p||n.hint,g=!!p?.debug.errors.LicenseMaxUsagesReached;return(0,s.jsxs)(h.A,{spinning:i,children:[(0,s.jsx)(a.A.Item,{noStyle:!0,shouldUpdate:(t,n)=>t.licenses[e.key].noUsage!==n.licenses[e.key].noUsage,children:({getFieldValue:t})=>{const n=t(["licenses",e.key,"noUsage"]);return(0,s.jsxs)(a.A.Item,{label:(0,s.jsxs)("span",{children:[A.length>1||M?C(k("Installation type and license key for {{strong}}%s{{/strong}}",l),{strong:(0,s.jsx)("strong",{})}):k("Installation type and license key")," ",(0,s.jsx)(E,{url:L})]}),...u,required:!0,style:F,children:[!n&&(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(a.A.Item,{name:[e.name,"code"],noStyle:!0,rules:[{pattern:/(^\w{8}-\w{4}-\w{4}-\w{4}-\w{12}$)|(^\w{32}$)/,required:!0,message:k("Please enter a valid license key!")}],normalize:e=>e?.trim(),children:(0,s.jsx)(v.A,{placeholder:c?c.code:"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX",disabled:!!c,addonBefore:(0,s.jsx)(f.A,{destroyTooltipOnHide:!0,overlayStyle:{maxWidth:"370px"},content:(0,s.jsxs)("div",{className:"wp-clearfix",children:[(0,s.jsx)("p",{style:{marginTop:0},children:C(k("{{strong}}Production:{{/strong}} Use this, when your site is {{i}}live{{/i}} and {{i}}publicly available{{/i}} to your website visitors."),{strong:(0,s.jsx)("strong",{}),i:(0,s.jsx)("i",{})})}),(0,s.jsx)("p",{children:C(k("{{strong}}Development:{{/strong}} Use this, when your site is {{i}}not yet live{{/i}}, or it is a {{i}}staging environment{{/i}} of your site."),{strong:(0,s.jsx)("strong",{}),i:(0,s.jsx)("i",{})})}),(0,s.jsx)("p",{style:{marginBottom:0},children:k("You can change the installation-type at any time by deactivating the license and activate it again.")})]}),title:(0,s.jsxs)(s.Fragment,{children:[k("What is an installation type?")," ",(0,s.jsx)(E,{url:k("https://devowl.io/knowledge-base/license-installation-type/")})]}),placement:"topLeft",trigger:"hover",children:(0,s.jsx)("div",{children:(0,s.jsx)(a.A.Item,{name:[e.name,"installationType"],noStyle:!0,rules:[{required:!0,message:k("Please choose an installation type!")}],children:(0,s.jsxs)(x.A,{placeholder:k("Installation type"),disabled:!!c,children:[(0,s.jsx)(x.A.Option,{value:"",disabled:!0,children:c?"development"===c.type?k("Development"):k("Production"):k("Select installation type...")}),(0,s.jsx)(x.A.Option,{value:"production",children:k("Production")}),(0,s.jsx)(x.A.Option,{value:"development",children:k("Development")})]})})})})})})}),W&&(0,s.jsx)(a.A.Item,{name:[e.name,"noUsage"],valuePropName:"checked",style:{marginTop:n?-25:0,marginBottom:0},children:(0,s.jsx)(w.A,{children:k("I do not want to license and use the plugin for this site within my multisite.")})})]})}}),c&&(0,s.jsx)("div",{className:"notice notice-warning inline below-h2 notice-alt",style:{margin:"0 0 10px 0"},children:(0,s.jsxs)("p",{children:[C(k("This license cannot be activated manually because it is configured programmatically. That means you have used the {{a}}activation filter{{/a}} for host {{code}}%s{{/code}} (Blog ID: %d). Unfortunately, something went wrong during the license activation.",d,t),{code:(0,s.jsx)("code",{}),a:(0,s.jsx)("a",{href:"https://docs.devowl.io/real-cookie-banner/hooks/DevOwl_RealProductManager_License_Programmatic_$slug.html",target:"_blank",rel:"noreferrer"})})," ","•"," ",(0,s.jsx)("a",{className:"button-link",onClick:async()=>{try{await n.retry(),n.hint&&o.error(n.hint.help)}catch(e){o.error(e.responseJSON.message)}},children:k("Retry activation")})]})}),g&&(0,s.jsx)(j.A,{type:"info",showIcon:!0,message:k("I have purchased a license that can be used on multiple websites! What can I do?"),description:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("p",{children:C(k("After purchasing one of our products, only one license key is generated by default, even if your purchase covers multiple websites. This license key can be used for only one website by default. To add more websites to your purchase, you can generate additional license keys within your quota in the {{a}}Customer Center{{/a}}."),{a:(0,s.jsx)("a",{href:I,target:"_blank",rel:"noreferrer"})})}),(0,s.jsx)("a",{className:"button button-primary",href:I,target:"_blank",rel:"noreferrer",children:k("Add licenses in the customer center now")})," ",(0,s.jsx)("a",{className:"button",target:"_blank",href:k("https://devowl.io/knowledge-base/the-limit-of-activated-clients-for-this-license-has-already-been-reached/"),rel:"noreferrer",children:k("Learn more")})]})})]},e.key)})}),(0,s.jsx)(g.A,{type:"horizontal",style:{margin:"10px 0"}})]}),S.length>0&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{style:{display:V?"block":"none"},children:(0,s.jsx)(U,{pluginUpdate:i})}),n]})]})]})]})});var D=n(7481),R=n(8107),_=n(1569),M=n(4568),X=n(5107);const W=(0,m.PA)(({license:e,onDeactivate:t})=>{const{message:n}=b.A.useApp(),{busy:i,uuid:o,installationType:a,telemetryDataSharingOptIn:l,blogName:c,code:d,remote:p,programmatically:u,host:g,blog:m,store:{needsLicenseKeys:y}}=e;return(0,s.jsx)(h.A,{spinning:i,children:(0,s.jsxs)(D.A.Item,{style:{paddingLeft:0,paddingRight:0},actions:[y&&(0,s.jsxs)(r.A,{children:[(0,s.jsx)(X.A,{title:k("Client UUID: %s, click to copy.",o),children:(0,s.jsx)(R.A,{style:{cursor:"pointer"},onClick:()=>{!function(e){const t=document.createElement("textarea");t.innerHTML=e,document.body.appendChild(t),t.select(),document.execCommand("copy"),t.remove()}(o),n.success("Successfully copied client UUID key to clipboard!")}})}),"production"===a?k("Production"):"development"===a?k("Development"):"n/a"]},"installationType"),p&&(0,s.jsxs)(r.A,{children:[(0,s.jsx)(_.A,{}),k("Activated %s",new Date(p.licenseActivation.activatedAt).toLocaleString(document.documentElement.lang))]},"activatedAt"),(0,s.jsx)(O,{license:e,disabled:!l,children:(0,s.jsxs)(r.A,{style:{cursor:"pointer"},children:[(0,s.jsx)(M.A,{}),k(l?"Telemetry data sharing enabled":"Telemetry data sharing disabled")]},"telemetryDataSharingOptIn")},"telemetryModal"),!u&&(0,s.jsx)("a",{className:"button-link",onClick:async()=>{try{await e.deactivate()}catch(e){n.error(e.responseJSON.message)}t?.(e)},children:k("Deactivate")},"deactivate")].filter(Boolean),children:[(0,s.jsx)(D.A.Item.Meta,{title:c,description:y?(0,s.jsxs)(s.Fragment,{children:[k("Your license key"),": ",(0,s.jsx)("code",{children:d})]}):(0,s.jsxs)(s.Fragment,{children:[k("Your installation is fully activated."),(0,s.jsx)("div",{style:{marginTop:15},children:(0,s.jsx)("a",{rel:"noreferrer",href:k("https://devowl.io/knowledge-base/upgrade-free-to-pro-version/"),className:"button",target:"_blank",children:k("Enter license key to unlock PRO features")})})]})}),u&&(0,s.jsx)("div",{className:"notice notice-info inline below-h2 notice-alt",style:{margin:"0 0 10px 0"},children:(0,s.jsx)("p",{children:C(k("This license cannot be deactivated manually because it is configured programmatically. That means you have used the {{a}}activation filter{{/a}} for host {{code}}%s{{/code}} (Blog ID: %d). Please remove the filter to deactivate the license!",g,m),{code:(0,s.jsx)("code",{}),a:(0,s.jsx)("a",{href:"https://docs.devowl.io/real-cookie-banner/hooks/DevOwl_RealProductManager_License_Programmatic_$slug.html",target:"_blank",rel:"noreferrer"})})})})]})})}),q=(0,m.PA)(({onDeactivate:e,pluginUpdate:t})=>{const{licensedEntries:n}=t;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(D.A,{itemLayout:"vertical",size:"small",dataSource:n,renderItem:t=>(0,s.jsx)(W,{license:t,onDeactivate:e})}),(0,s.jsx)("p",{style:{textAlign:"right"},children:(0,s.jsx)(w.A,{disabled:t.busy,checked:t.announcementsActive,onChange:e=>t.setAnnouncementActive(e.target.checked),children:k("Show announcements for this plugin")})})]})});var B=n(1490),V=n(4497);class H extends l.BaseOptions{constructor(e){super(),this.rootStore=e,this.pureSlug=l.BaseOptions.getPureSlug("real-product-manager-wp-client"),this.pureSlugCamelCased=l.BaseOptions.getPureSlug("real-product-manager-wp-client",!0),(0,V.runInAction)(()=>Object.assign(this,window[this.pureSlugCamelCased]))}}let K;(0,B.Cg)([V.observable,(0,B.Sn)("design:type",Object)],H.prototype,"others",void 0);const $=(...e)=>(K||(K=(0,l.createRequestFactory)(window[l.BaseOptions.getPureSlug("real-product-manager-wp-client",!0)]))).request(...e),G={path:"/plugin-update/:slug/license/:blogId",method:l.RouteHttpVerb.DELETE},J={path:"/plugin-update/:slug/license/:blogId/retry",method:l.RouteHttpVerb.POST},z={path:"/plugin-update/:slug/telemetry/:blogId",method:l.RouteHttpVerb.GET};class Y{constructor(e,t){this.busy=!1,this.retry=(0,V.flow)(function*(){this.busy=!0;try{const e=yield $({location:J,params:{slug:this.store.slug,blogId:this.blog}});(0,V.set)(this,e)}catch(e){throw console.log(e),e}finally{this.busy=!1}}),this.deactivate=(0,V.flow)(function*(){this.busy=!0;try{const e=yield $({location:G,params:{slug:this.store.slug,blogId:this.blog}});(0,V.set)(this,e)}catch(e){throw console.log(e),e}finally{this.busy=!1}}),this.fetchTelemetryData=(0,V.flow)(function*(){this.busy=!0;try{const e=yield $({location:z,params:{slug:this.store.slug,blogId:this.blog}});this.telemetryData=e}catch(e){throw console.log(e),e}finally{this.busy=!1}}),(0,V.runInAction)(()=>(0,V.set)(this,e)),this.store=t}}(0,B.Cg)([V.observable],Y.prototype,"busy",void 0),(0,B.Cg)([V.observable,(0,B.Sn)("design:type",Object)],Y.prototype,"uuid",void 0),(0,B.Cg)([V.observable,(0,B.Sn)("design:type",Object)],Y.prototype,"blog",void 0),(0,B.Cg)([V.observable,(0,B.Sn)("design:type",Object)],Y.prototype,"host",void 0),(0,B.Cg)([V.observable,(0,B.Sn)("design:type",Object)],Y.prototype,"programmatically",void 0),(0,B.Cg)([V.observable,(0,B.Sn)("design:type",Object)],Y.prototype,"blogName",void 0),(0,B.Cg)([V.observable,(0,B.Sn)("design:type",Object)],Y.prototype,"installationType",void 0),(0,B.Cg)([V.observable,(0,B.Sn)("design:type",Object)],Y.prototype,"telemetryDataSharingOptIn",void 0),(0,B.Cg)([V.observable,(0,B.Sn)("design:type",Object)],Y.prototype,"code",void 0),(0,B.Cg)([V.observable,(0,B.Sn)("design:type",Object)],Y.prototype,"hint",void 0),(0,B.Cg)([V.observable,(0,B.Sn)("design:type",Object)],Y.prototype,"remote",void 0),(0,B.Cg)([V.observable,(0,B.Sn)("design:type",Object)],Y.prototype,"noUsage",void 0),(0,B.Cg)([V.observable,(0,B.Sn)("design:type","undefined"==typeof ResponseRouteLicenseTelemetryGet?Object:ResponseRouteLicenseTelemetryGet)],Y.prototype,"telemetryData",void 0);const Z={path:"/announcement/:slug/active",method:l.RouteHttpVerb.POST},Q={path:"/plugin-update/:slug",method:l.RouteHttpVerb.PATCH},ee={path:"/plugin-update/:slug/skip",method:l.RouteHttpVerb.POST};class te{get licensedEntries(){return this.licenses.filter(({code:e})=>e)}get unlicensedEntries(){return this.licenses.filter(({code:e})=>!e)}get noUsageEntries(){return this.unlicensedEntries.filter(({noUsage:e})=>e)}get modifiableEntries(){return this.unlicensedEntries.filter(({programmatically:e})=>!e)}get isLicensed(){return 0===this.unlicensedEntries.length}constructor(e,t){this.busy=!1,this.additionalCheckboxes=[],this.showBlogName=!1,this.showNetworkWideUpdateIssueNotice=!1,this.setAnnouncementActive=(0,V.flow)(function*(e){this.busy=!0;try{const t=yield $({location:Z,params:{slug:this.slug},request:{state:e}});return t.success&&(this.announcementsActive=e),t.success}catch(e){throw console.log(e),e}finally{this.busy=!1}}),this.update=(0,V.flow)(function*(e){this.busy=!0,this.invalidKeysError=void 0;try{const t=yield $({location:Q,params:{slug:this.slug},request:e});this.fromResponse(t)}catch(e){throw console.log(e),e.responseJSON?.data?.invalidKeys&&(this.invalidKeysError=e.responseJSON.data.invalidKeys),e}finally{this.busy=!1}}),this.skip=(0,V.flow)(function*(){this.busy=!0;try{yield $({location:ee,params:{slug:this.slug}})}catch(e){throw console.log(e),e.responseJSON?.data?.invalidKeys&&(this.invalidKeysError=e.responseJSON.data.invalidKeysError),e}finally{this.busy=!1}}),this.fromResponse(e),this.store=t}fromResponse({licenses:e,...t}){(0,V.set)(this,t),this.licenses=[],e?.forEach(e=>{this.licenses.push(new Y(e,this))})}}(0,B.Cg)([V.observable],te.prototype,"busy",void 0),(0,B.Cg)([V.observable,(0,B.Sn)("design:type",Object)],te.prototype,"slug",void 0),(0,B.Cg)([V.observable,(0,B.Sn)("design:type",Array)],te.prototype,"licenses",void 0),(0,B.Cg)([V.observable,(0,B.Sn)("design:type",Object)],te.prototype,"hasInteractedWithFormOnce",void 0),(0,B.Cg)([V.observable,(0,B.Sn)("design:type",Object)],te.prototype,"name",void 0),(0,B.Cg)([V.observable,(0,B.Sn)("design:type",Object)],te.prototype,"needsLicenseKeys",void 0),(0,B.Cg)([V.observable,(0,B.Sn)("design:type",Object)],te.prototype,"announcementsActive",void 0),(0,B.Cg)([V.observable,(0,B.Sn)("design:type",Object)],te.prototype,"allowsAutoUpdates",void 0),(0,B.Cg)([V.observable,(0,B.Sn)("design:type",Object)],te.prototype,"allowsTelemetry",void 0),(0,B.Cg)([V.observable,(0,B.Sn)("design:type",Object)],te.prototype,"allowsNewsletter",void 0),(0,B.Cg)([V.observable,(0,B.Sn)("design:type",Object)],te.prototype,"potentialNewsletterUser",void 0),(0,B.Cg)([V.observable,(0,B.Sn)("design:type",Object)],te.prototype,"privacyProvider",void 0),(0,B.Cg)([V.observable,(0,B.Sn)("design:type",Object)],te.prototype,"privacyPolicy",void 0),(0,B.Cg)([V.observable,(0,B.Sn)("design:type",Object)],te.prototype,"accountSiteUrl",void 0),(0,B.Cg)([V.observable,(0,B.Sn)("design:type",Object)],te.prototype,"additionalCheckboxes",void 0),(0,B.Cg)([V.observable,(0,B.Sn)("design:type",Object)],te.prototype,"licenseKeyHelpUrl",void 0),(0,B.Cg)([V.observable,(0,B.Sn)("design:type",Object)],te.prototype,"checkUpdateLink",void 0),(0,B.Cg)([V.observable,(0,B.Sn)("design:type","undefined"==typeof ResponseRoutePluginUpdatePatchErrorInvalidKeysData?Object:ResponseRoutePluginUpdatePatchErrorInvalidKeysData)],te.prototype,"invalidKeysError",void 0),(0,B.Cg)([V.observable,(0,B.Sn)("design:type",Object)],te.prototype,"showBlogName",void 0),(0,B.Cg)([V.observable,(0,B.Sn)("design:type",Object)],te.prototype,"showNetworkWideUpdateIssueNotice",void 0),(0,B.Cg)([V.computed,(0,B.Sn)("design:type",void 0),(0,B.Sn)("design:paramtypes",[])],te.prototype,"licensedEntries",null),(0,B.Cg)([V.computed,(0,B.Sn)("design:type",void 0),(0,B.Sn)("design:paramtypes",[])],te.prototype,"unlicensedEntries",null),(0,B.Cg)([V.computed,(0,B.Sn)("design:type",void 0),(0,B.Sn)("design:paramtypes",[])],te.prototype,"noUsageEntries",null),(0,B.Cg)([V.computed,(0,B.Sn)("design:type",void 0),(0,B.Sn)("design:paramtypes",[])],te.prototype,"modifiableEntries",null),(0,B.Cg)([V.computed,(0,B.Sn)("design:type",void 0),(0,B.Sn)("design:paramtypes",[])],te.prototype,"isLicensed",null),(0,B.Cg)([V.action,(0,B.Sn)("design:type",Function),(0,B.Sn)("design:paramtypes",["undefined"==typeof Partial?Object:Partial]),(0,B.Sn)("design:returntype",void 0)],te.prototype,"fromResponse",null);const ne={path:"/plugin-update/:slug",method:l.RouteHttpVerb.GET};class se{constructor(e){this.busy=!1,this.pluginUpdates=new Map,this.pluginUpdateFetchErrors=new Map,this.showInModal=(0,V.flow)(function*(e){this.modalPlugin=e;try{yield this.fetchPluginUpdate(e)}catch(e){throw console.log(e),e}}),this.fetchPluginUpdate=(0,V.flow)(function*(e){this.busy=!0;try{const t=yield $({location:ne,params:{slug:e}}),n=new te(t,this);return this.pluginUpdates.set(e,n),this.pluginUpdateFetchErrors.delete(e),n}catch(t){throw console.log(t),this.pluginUpdateFetchErrors.set(e,t),t}finally{this.busy=!1}}),this.rootStore=e}hideModal(){this.modalPlugin=void 0}}(0,B.Cg)([V.observable],se.prototype,"busy",void 0),(0,B.Cg)([V.observable,(0,B.Sn)("design:type",String)],se.prototype,"modalPlugin",void 0),(0,B.Cg)([V.observable],se.prototype,"pluginUpdates",void 0),(0,B.Cg)([V.observable],se.prototype,"pluginUpdateFetchErrors",void 0),(0,B.Cg)([V.action,(0,B.Sn)("design:type",Function),(0,B.Sn)("design:paramtypes",[]),(0,B.Sn)("design:returntype",void 0)],se.prototype,"hideModal",null);class ie{get context(){return this.contextMemo?this.contextMemo:this.contextMemo=(0,l.createContextFactory)(this)}constructor(){this.optionStore=new H(this),this.pluginUpdateStore=new se(this)}static get StoreProvider(){return ie.get.context.StoreProvider}static get get(){return ie.me?ie.me:ie.me=new ie}}const oe=()=>ie.get.context.useStores(),ae=(0,m.PA)(({slug:e})=>{const t=oe().pluginUpdateStore.pluginUpdateFetchErrors.get(e),n=t?.responseJSON?.message;return(0,s.jsx)("div",{className:"notice notice-error inline below-h2 notice-alt",style:{margin:"20px 0"},children:(0,s.jsx)("p",{children:C(k("Something has gone wrong%s. It could be that you have configured your WordPress instance in such a way that you have blocked the WordPress REST API. Find out how to deal with this {{a}}here{{/a}}.",n?` (${n})`:""),{a:(0,s.jsx)("a",{href:k("https://devowl.io/knowledge-base/wordpress-rest-api-does-not-respond/"),target:"_blank",rel:"noreferrer"})})})})}),re=(0,m.PA)(({formProps:e={},listProps:t={},slug:n})=>{const{pluginUpdateStore:i}=oe(),{busy:o,pluginUpdates:a,pluginUpdateFetchErrors:r}=i,l=a.get(n),c=l?.unlicensedEntries.length>0&&l?.licensedEntries.length>0;return(0,y.useEffect)(()=>{try{i.fetchPluginUpdate(n)}catch(e){}},[n]),r.get(n)?(0,s.jsx)(ae,{slug:n}):o||!l?(0,s.jsx)(h.A,{spinning:!0}):(0,s.jsxs)("div",{children:[c&&(0,s.jsx)(g.A,{type:"horizontal",orientation:"left",style:{marginTop:0},children:k("Not yet licensed")}),(0,s.jsx)(L,{...e,pluginUpdate:l}),c&&(0,s.jsx)(g.A,{type:"horizontal",orientation:"left",children:k("Already licensed")}),l.licensedEntries.length>0&&(0,s.jsx)(q,{...t,pluginUpdate:l})]})}),le=(0,m.PA)(()=>{const[e,t]=(0,y.useState)(!1),{pluginUpdateStore:n}=oe(),{busy:i,modalPlugin:o,pluginUpdates:a,pluginUpdateFetchErrors:r}=n,l=o?a.get(o):void 0,c=l?.unlicensedEntries.length>0&&l?.licensedEntries.length>0,d=(0,y.useCallback)(()=>{if(e){const{checkUpdateLink:e}=l;e?window.location.href=e:window.location.reload()}else n.hideModal()},[e,n,l]),p=(0,y.useCallback)(()=>t(!0),[t]),m=r.get(o);return(0,y.useEffect)(()=>{document.body.classList[o?"add":"remove"]("rpm-wpc-antd-modal-open")},[o]),o?(0,s.jsx)(u.A,{open:!0,okButtonProps:{form:`license-form-${l?.slug}`,htmlType:"submit",style:{display:0===l?.unlicensedEntries.length||m?"none":void 0}},cancelButtonProps:{style:{display:"none"}},onCancel:d,okText:k("Save"),title:l?(0,s.jsxs)("span",{style:{fontWeight:"normal"},children:[(0,s.jsxs)("strong",{children:[l.name,":"]})," ",k("License settings")]}):"",width:800,children:m?(0,s.jsx)(ae,{slug:o}):i||!l?(0,s.jsx)(h.A,{spinning:!0}):(0,s.jsxs)("div",{children:[c&&(0,s.jsx)(g.A,{type:"horizontal",orientation:"left",style:{marginTop:0},children:k("Not yet licensed")}),(0,s.jsx)(L,{onSave:p,pluginUpdate:l}),c&&(0,s.jsx)(g.A,{type:"horizontal",orientation:"left",children:k("Already licensed")}),l.licensedEntries.length>0&&(0,s.jsx)(q,{onDeactivate:p,pluginUpdate:l})]})}):null});var ce=n(4349),de=n(5666);const pe=({children:e,configProvider:t={},app:n={}})=>(0,s.jsx)(de.Ay,{prefixCls:"rpm-wpc-antd",iconPrefixCls:"rpm-wpc-antd-anticon",theme:{token:{colorPrimary:"#2271b1",borderRadius:3}},...t,children:(0,s.jsx)(ce.Z_3,{value:{prefixCls:"rpm-wpc-antd-anticon"},children:(0,s.jsx)(b.A,{message:{top:50},...n,children:(0,s.jsx)(ie.StoreProvider,{children:e})})})}),ue="rpm-wp-client-plugin-update-";function he(){const{hash:e}=window.location;if(e.startsWith(`#${ue}`)){const t=e.substr(ue.length+1);ie.get.pluginUpdateStore.showInModal(t),window.location.hash=""}}var ge=n(1269),me=n(7333),ye=n(1533);const be={path:"/feedback/:slug",method:l.RouteHttpVerb.POST},ve={labelCol:{span:24},wrapperCol:{span:24}},fe={marginBottom:8},xe=({initialValues:e={},plugin:t,name:n,hasAtLeastOneActiveLicense:i,isPluginActiveForNetwork:o,privacyPolicy:r,privacyProvider:l,onClose:c,onDeactivate:d})=>{const{message:p}=b.A.useApp(),m=(0,y.useMemo)(()=>({"upgrade-to-pro":k("Upgrade to PRO Version"),"not-working":k("Plugin does not work"),"missing-features":k("Not the features I want"),incompatible:k("Incompatible with themes/plugins"),"missing-doc":k("Lack of documentation"),"found-better-plugin":k("Found a better plugin"),temp:k("Temporary deactivation"),other:k("Other")}),[]),[f]=a.A.useForm(),x=`license-form-${t}`,[j,A]=(0,y.useState)(!0),[P,S]=(0,y.useState)(!1),O=(0,y.useCallback)(()=>{window.confirm(k("Are you sure you want to leave the feedback form?"))&&A(!1)},[]),U=(0,y.useCallback)(async({skip:e=!1,reason:n="other",note:s="",email:i="",name:o="",deactivateLicense:a=!1})=>{try{S(!0),await $({location:be,params:{slug:t},request:{skip:e,reason:n,note:s,email:i,name:i?o:"",deactivateLicense:a}}),d?.()}catch(e){const{responseJSON:t}=e,n=t?.data?.body?.[0]?.code;if(["DeactivationFeedbackAlreadyGiven","DeactivationFeedbackMightBeSpam"].indexOf(n)>-1||!n)return void d?.();p.error(t?.data?.body?.[0]?.message)}finally{S(!1)}},[f,t]),I=(0,y.useCallback)(()=>{const e=f.getFieldValue("deactivateLicense");e?U({skip:!0,deactivateLicense:e}):d?.()},[U]);return(0,s.jsx)(u.A,{afterClose:c,onCancel:O,open:j,footer:[(0,s.jsx)(me.Ay,{type:"default",onClick:I,className:"alignleft",disabled:P,children:(0,s.jsx)("b",{children:k("Skip & Deactivate")})},"skip"),(0,s.jsx)(me.Ay,{type:"primary",htmlType:"submit",form:x,disabled:P,children:k("Deactivate")},"submit")],title:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(ge.A,{twoToneColor:"#eb2f96"})," ",k("Too bad you are leaving")]}),children:(0,s.jsx)(h.A,{spinning:P,children:(0,s.jsxs)(a.A,{name:x,id:x,form:f,...ve,onFinish:U,initialValues:e,layout:"vertical",labelWrap:!0,children:[(0,s.jsx)(a.A.Item,{name:"reason",label:(0,s.jsx)(s.Fragment,{children:k("Please give us feedback why you deactivate %s.",n)}),style:fe,required:!0,rules:[{required:!0,message:k("Please provide a reason!")}],children:(0,s.jsx)(ye.Ay.Group,{children:Object.keys(m).map(e=>(0,s.jsx)(ye.Ay,{value:e,style:{width:"calc(50% - 8px)",float:"left"},children:m[e]},e))})}),(0,s.jsx)(a.A.Item,{noStyle:!0,shouldUpdate:(e,t)=>e.reason!==t.reason,children:({getFieldValue:e})=>!!e("reason")&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(a.A.Item,{label:k("What could we do better?"),name:"note",style:fe,children:(0,s.jsx)(v.A.TextArea,{autoSize:{minRows:3}})}),(0,s.jsx)(a.A.Item,{noStyle:!0,shouldUpdate:(e,t)=>e.answerTerms!==t.answerTerms,children:({getFieldValue:e})=>!!e("reason")&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(a.A.Item,{name:"email",label:k("Email for answer/solution"),style:fe,rules:[{type:"email",required:e("answerTerms"),message:k("Please provide a valid e-mail address!")}],children:(0,s.jsx)(v.A,{})}),(0,s.jsx)(a.A.Item,{noStyle:!0,shouldUpdate:(e,t)=>e.email!==t.email,children:({getFieldValue:e})=>(0,s.jsxs)(s.Fragment,{children:[!!e("email")&&(0,s.jsx)(a.A.Item,{name:"name",label:k("Name"),required:!0,style:fe,rules:[{required:!0,message:k("Please provide a name!")}],children:(0,s.jsx)(v.A,{})}),(0,s.jsx)(a.A.Item,{name:"answerTerms",valuePropName:"checked",required:!0,rules:[{type:"boolean",required:!!e("email"),transform:e=>e||void 0,message:k("Please confirm that you have checked the privacy policy.")}],style:fe,children:(0,s.jsx)(w.A,{style:{zoom:.8},children:C(k("I would like to receive a response to my request. For this purpose, I agree to the data processing of my feedback and my e-mail address. I have read and acknowledge the %s {{a}}Privacy Policy{{/a}}.",l),{a:(0,s.jsx)("a",{href:r,target:"_blank",rel:"noreferrer"})})})})]})})]})})]})}),(0,s.jsx)(a.A.Item,{noStyle:!0,shouldUpdate:(e,t)=>e.note!==t.note||e.answerTerms!==t.answerTerms,children:({getFieldValue:e})=>{const t=e("answerTerms")||!1,n=e("note")||"";return t?null:n.split(" ").length>=5?(0,s.jsx)("div",{className:"notice notice-info inline below-h2 notice-alt",style:{margin:0},children:(0,s.jsx)("p",{children:k("Allow us to reply to you by email and we will get back to you as soon as possible!")})}):(0,s.jsx)("p",{className:"description",style:{marginTop:5},children:C(k("Are there any problems with the setup or use of the plugin? Maybe we can help you in the support. {{a}}Contact support{{/a}}."),{a:(0,s.jsx)("a",{href:k("https://devowl.io/support/"),target:"_blank",rel:"noreferrer"})})})}}),i&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(g.A,{style:{margin:"12px 0"}}),(0,s.jsx)(a.A.Item,{style:{marginBottom:0},name:"deactivateLicense",valuePropName:"checked",label:k("Do you want to deactivate your active license so that you can use it again on another site?"),children:(0,s.jsx)(w.A,{children:k(o?"Yes, deactivate all active licenses for all sites within this multisite":"Yes, deactivate license")})})]})]})})})};function we(){document.addEventListener("click",e=>{const{names:t,currentUserFullName:n}=ie.get.optionStore.others,i=e?.target;for(const o in t){const{plugin:a,hasAtLeastOneActiveLicense:r,isPluginActiveForNetwork:c}=t[o];if(i.matches(`tr[data-plugin="${a}"] a[href*="action=deactivate"]`)){const a=document.createElement("div");document.body.appendChild(a);const d=(0,l.createRoot)(a);d.render((0,s.jsx)(pe,{children:(0,s.jsx)(xe,{...t[o],initialValues:{name:n},plugin:o,hasAtLeastOneActiveLicense:r,isPluginActiveForNetwork:c,onClose:()=>{d.unmount()},onDeactivate:()=>{window.location.href=i.href}})})),e.preventDefault(),e.stopImmediatePropagation();break}}},!0)}const je="data-rpm-wp-client-plugin-update";function Ae(){document.addEventListener("click",e=>{const t=e.target?.getAttribute(je);t&&(ie.get.pluginUpdateStore.showInModal(t),e.preventDefault())})}we(),((e,t="complete")=>{new Promise(n=>{let s=!1;const i=()=>{(()=>{const{readyState:e}=document,[t,,n]=d[e];if(!t){d[e][0]=!0,n();const[t,,s]=d.interactive;"complete"!==e||t||(d.interactive[0]=!0,s())}})(),!s&&d[t][0]&&(s=!0,e?.(),setTimeout(n,0))};i();for(const e of p)document.addEventListener(e,i);d[t][1].then(i)})})(()=>{const e=document.createElement("div");document.body.appendChild(e),(0,l.createRoot)(e).render((0,s.jsx)(pe,{children:(0,s.jsx)(le,{})})),Ae(),he()})},4497:e=>{e.exports=mobx},5206:e=>{e.exports=ReactDOM}},n={};function s(e){var i=n[e];if(void 0!==i)return i.exports;var o=n[e]={exports:{}};return t[e](o,o.exports,s),o.exports}s.m=t,e=[],s.O=(t,n,i,o)=>{if(!n){var a=1/0;for(d=0;d<e.length;d++){for(var[n,i,o]=e[d],r=!0,l=0;l<n.length;l++)(!1&o||a>=o)&&Object.keys(s.O).every(e=>s.O[e](n[l]))?n.splice(l--,1):(r=!1,o<a&&(a=o));if(r){e.splice(d--,1);var c=i();void 0!==c&&(t=c)}}return t}o=o||0;for(var d=e.length;d>0&&e[d-1][2]>o;d--)e[d]=e[d-1];e[d]=[n,i,o]},s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},s.d=(e,t)=>{for(var n in t)s.o(t,n)&&!s.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},s.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e={57:0};s.O.j=t=>0===e[t];var t=(t,n)=>{var i,o,[a,r,l]=n,c=0;if(a.some(t=>0!==e[t])){for(i in r)s.o(r,i)&&(s.m[i]=r[i]);if(l)var d=l(s)}for(t&&t(n);c<a.length;c++)o=a[c],s.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return s.O(d)},n=self.webpackChunkdevowlWp_realProductManagerWpClient=self.webpackChunkdevowlWp_realProductManagerWpClient||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})();var i=s.O(void 0,[26],()=>s(4266));i=s.O(i),devowlWp_realProductManagerWpClient=i})();
    2 //# sourceMappingURL=https://sourcemap.devowl.io/real-category-library/4.2.64/0af2466faafb0139b8abb3c8ab714869/index.js.map
     2//# sourceMappingURL=https://sourcemap.devowl.io/real-category-library/4.2.69/03bd6174f753afd59d5f7af48a374064/index.js.map
  • real-category-library-lite/tags/4.2.69/vendor/devowl-wp/real-product-manager-wp-client/package.json

    r3454640 r3491846  
    11{
    22    "name": "@devowl-wp/real-product-manager-wp-client",
    3     "version": "1.20.13",
     3    "version": "1.20.18",
    44    "private": true,
    55    "description": "A WordPress client for Real Product Manager",
  • real-category-library-lite/tags/4.2.69/vendor/devowl-wp/real-product-manager-wp-client/src/Utils.php

    r3105044 r3491846  
    115115    public static function getCurrentHostname()
    116116    {
    117         // Multisite subdomain installations are forced to use the `home_url` option
    118         // See also https://github.com/WordPress/WordPress/blob/4e4016f61fa40abda4c0a0711496f2ba50a10563/wp-includes/ms-blogs.php#L249
    119         $isMultisiteSubdomainInstallation = \is_multisite() && \defined('SUBDOMAIN_INSTALL') && \constant('SUBDOMAIN_INSTALL');
    120         if (!$isMultisiteSubdomainInstallation && \defined('WP_SITEURL')) {
     117        // In multisite, `switch_to_blog()` must resolve the hostname from the current blog's
     118        // persisted options. A global `WP_SITEURL` constant can be request-dependent and would
     119        // otherwise make every subsite look like the same host.
     120        if (!\is_multisite() && \defined('WP_SITEURL')) {
    121121            // Constant is defined (https://wordpress.org/support/article/changing-the-site-url/#edit-wp-config-php)
    122122            $site_url = \constant('WP_SITEURL');
  • real-category-library-lite/tags/4.2.69/vendor/devowl-wp/real-utils/dist/cross.css

    r3454640 r3491846  
    11.real-utils-cross-pointer{z-index:999999!important}.real-utils-cross-pointer img{display:block;max-width:100%;margin-bottom:8px}.real-utils-cross-pointer label{zoom:.9;display:block;opacity:.8;margin-top:5px}.real-utils-cross-pointer h3:before{content:"";top:50%;margin-top:-16px}.real-utils-pointer-buttons .button{margin-left:5px}
    2 //# sourceMappingURL=https://sourcemap.devowl.io/real-category-library/4.2.64/b16ac2e468216ccb452036c0c3639c47/cross.css.map
     2//# sourceMappingURL=https://sourcemap.devowl.io/real-category-library/4.2.69/b16ac2e468216ccb452036c0c3639c47/cross.css.map
  • real-category-library-lite/tags/4.2.69/vendor/devowl-wp/real-utils/dist/cross.js

    r3454640 r3491846  
    11(()=>{"use strict";var t={n:i=>{var e=i&&i.__esModule?()=>i.default:()=>i;return t.d(e,{a:e}),e},d:(i,e)=>{for(var o in e)t.o(e,o)&&!t.o(i,o)&&Object.defineProperty(i,o,{enumerable:!0,get:e[o]})},o:(t,i)=>Object.prototype.hasOwnProperty.call(t,i)};const i=jQuery;var e=t.n(i);const o=devowlWp_utils;let n;const a=(...t)=>(n||(n=(0,o.createLocalizationFactory)("devowl-wp-real-utils"))).__(...t),s=()=>window[o.BaseOptions.getPureSlug("real-utils",!0)].others;let l;const r={path:"/cross/:slug/:action/dismiss",method:o.RouteHttpVerb.DELETE},c="crossSellingPointer";class p{constructor(t,i,e,o){this.slug=i,this.action=e,this.position=o,this.$handler=t,this.init()}static waitForVisibleElement(t,i,o,n){if(!this.isActionAvailable(i,o))return!1;const a=e()(t);return a.length&&!a.data(c)&&(a.data(c,!0),new p(a,i,o,n)),a.length>0}static isActionAvailable(t,i){return!!s().cross?.[t]?.[i]}close(t,i){t.preventDefault();const e=this.$handler.pointer("widget").find('input[type="checkbox"]').is(":checked");if(this.$handler.pointer("close"),this.$handler.pointer("destroy"),i){const{link:t}=this.getAction();window.open(t,"_blank")}((...t)=>{(l||(l=(0,o.createRequestFactory)(window[o.BaseOptions.getPureSlug("real-utils",!0)]))).request(...t)})({location:r,params:{slug:this.slug,action:this.action,force:e}})}buttons(){const t=e()(`<a class="button" href="#">${a("Not now")}</a>`).click(t=>{this.close(t,!1)}),i=e()(`<a class="button button-primary" href="#">${a("Learn more!")}</a>`).click(t=>{this.close(t,!0)});return e()('<div class="real-utils-pointer-buttons" />').append(i,t)}getAction(){return s().cross?.[this.slug][this.action]}init(){const{position:t}=this,{title:i,description:e,image:o}=this.getAction(),n=`<label><input type="checkbox" /> ${a("Never show this popup again")}</label>`;this.$handler.pointer({pointerClass:"wp-pointer real-utils-cross-pointer",content:`<h3>${i}</h3><p><img src="${o}" />${e}${n}</p>`,buttons:this.buttons.bind(this),position:t}).pointer("open").pointer("widget").find("img").get(0).onload=()=>this.$handler.pointer("reposition")}}const d="real-category-library",h="real-media-library",b="real-physical-media",m=()=>e()("select#parent").length&&p.isActionAvailable(d,"add-category")&&e()("body.wp-admin.edit-tags-php:not(.woocommerce-page,.post-type-attachment) form#addtag #submit").one("click",function(){new p(e()(this),d,"add-category","bottom")}),u=()=>e()("select#parent").length&&p.isActionAvailable(d,"add-wc-category")&&e()("body.wp-admin.edit-tags-php.woocommerce-page form#addtag #submit").one("click",function(){new p(e()(this),d,"add-wc-category","bottom")});class g{static{this.SELECTOR='body.wp-admin.post-php:not(.post-type-attachment) #categorychecklist input[type="checkbox"]'}static onChange(){new p(e()(this),d,"assign"),e()(g.SELECTOR).off("change",g.onChange)}static bind(){p.isActionAvailable(d,"assign")&&e()(this.SELECTOR).one("change",this.onChange)}}class w{static{this.SELECTOR="body.wp-admin.edit-php:not(.post-type-attachment) .tablenav-pages .pagination-links a"}static onClick(t){const i=e()(this).attr("href");return new p(e()(this),d,"pagination"),e()(this).pointer("widget").find(".button").click(()=>{setTimeout(()=>window.open(i,"_self"),1e3)}),e()(w.SELECTOR).off("click",w.onClick),t.preventDefault(),!1}static bind(){p.isActionAvailable(d,"pagination")&&e()(this.SELECTOR).one("click",this.onClick)}}e()(document).ready(()=>{setTimeout(function t(){let i=!1;!i&&(i=p.waitForVisibleElement("body.wp-admin.upload-php .attachment-info > .details:visible, body.wp-admin.post-php.post-type-attachment #post-body-content #titlewrap:visible",h,"attachment-details")),!i&&(i=p.waitForVisibleElement("body.wp-admin.plugins-php #wpbody-content > div.wrap > h1:first","real-cookie-banner","gdpr-compliant")),!i&&(i=p.waitForVisibleElement('body > div > .media-modal.wp-core-ui .media-frame-router button[role="tab"]:eq(1).active',h,"insert-dialog")),!i&&(i=p.waitForVisibleElement("body.wp-admin .editor-post-taxonomies__hierarchical-terms-list:visible",d,"assign","bottom")),!i&&(i=p.waitForVisibleElement("body.wp-admin.upload-php #wpbody-content .upload-ui .button-hero:visible, body.wp-admin.media-new-php #media-items .media-item:first:visible",b,"upload")),!i&&setTimeout(t,1e3)},1e3),m(),u(),p.isActionAvailable(b,"move")&&window.rml?.hooks.register("attachment/move/finished",(t,i)=>{new p(e()(`.rml-container:visible li[data-li-id="${i}"]`),b,"move")}),g.bind(),w.bind()})})();
    2 //# sourceMappingURL=https://sourcemap.devowl.io/real-category-library/4.2.64/2a5b12458bf7c6f61d42ac955d4d8cd8/cross.js.map
     2//# sourceMappingURL=https://sourcemap.devowl.io/real-category-library/4.2.69/2a5b12458bf7c6f61d42ac955d4d8cd8/cross.js.map
  • real-category-library-lite/tags/4.2.69/vendor/devowl-wp/real-utils/dist/feedback.css

    r3454640 r3491846  
    11.real-utils-feedback-pointer{min-width:640px}.real-utils-feedback-pointer .notice{margin:5px 0!important}.real-utils-feedback-pointer .notice>p{padding:0!important}.real-utils-feedback-pointer fieldset{padding:0 20px 10px}.real-utils-feedback-pointer fieldset label{display:block;margin-top:5px}.real-utils-feedback-pointer fieldset label.col-2{width:50%;float:left}.real-utils-feedback-pointer fieldset .regular-text{display:block;width:100%;margin-bottom:10px}.real-utils-feedback-pointer h3:before{content:"";top:50%;margin-top:-16px}.real-utils-feedback-pointer .wp-pointer-arrow{left:15px!important}
    2 //# sourceMappingURL=https://sourcemap.devowl.io/real-category-library/4.2.64/a7ddfe44ee62f0645f97e87b5a174204/feedback.css.map
     2//# sourceMappingURL=https://sourcemap.devowl.io/real-category-library/4.2.69/a7ddfe44ee62f0645f97e87b5a174204/feedback.css.map
  • real-category-library-lite/tags/4.2.69/vendor/devowl-wp/real-utils/dist/feedback.js

    r3454640 r3491846  
    11(()=>{"use strict";var e={n:t=>{var i=t&&t.__esModule?()=>t.default:()=>t;return e.d(i,{a:i}),i},d:(t,i)=>{for(var n in i)e.o(i,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:i[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)};const t=jQuery;var i=e.n(t);const n=devowlWp_utils;let s;const a=(...e)=>(s||(s=(0,n.createLocalizationFactory)("devowl-wp-real-utils"))).__(...e),o=()=>window[n.BaseOptions.getPureSlug("real-utils",!0)].others;let l;const c={path:"/feedback/:slug",method:n.RouteHttpVerb.POST};class r{constructor(e,t,i){this.slug=e,this.$handler=i,this.href=t,this.init()}async close(e,t=!1){if(e.preventDefault(),this.$handler.pointer("widget").find("input, .button").attr("disabled","disabled"),t)window.open(this.href,"_self");else{const{choice:t,note:i,email:s}=this.getValidInput();try{"none"!==t&&await((...e)=>(l||(l=(0,n.createRequestFactory)(window[n.BaseOptions.getPureSlug("real-utils",!0)]))).request(...e))({location:c,request:{reason:t,note:i,email:s},params:{slug:this.slug}})}catch(e){}finally{window.open(this.href,"_self")}}}buttons(){const e=i()(`<a class="button" href="#">${a("Contact support")}</a>`).click(()=>{window.open("https://devowl.io/support/","_blank")}),t=i()(`<a class="button" href="#">${a("Skip & Deactivate")}</a>`).click(e=>{this.close(e,!0)}),n=i()(`<a class="hidden button button-primary" href="#">${a("Deactivate")}</a>`).click(e=>{this.validate()&&this.close(e,!1)});return i()('<div class="real-utils-pointer-buttons" />').append(n,t,e)}validate(){return this.validateNote()&&this.validatePrivacy()&&this.validateEmail()}validateNote(){const e=i()(`[name="${this.slug}-skip-note"]`).is(":checked"),t=i()(`.notice-${this.slug}-note`),{choice:n,note:s}=this.getValidInput();return e||s||-1!==["upgrade-to-pro","temp","none"].indexOf(n)?(t.hide(),!0):(t.show(),!1)}validatePrivacy(){const e=i()(`[name="${this.slug}-privacy"]`).is(":checked"),t=i()(`.notice-${this.slug}-privacy`),{email:n}=this.getValidInput();return n&&!e?(t.show(),!1):(t.hide(),!0)}validateEmail(){const e=i()(`.notice-${this.slug}-email`),{email:t}=this.getValidInput();return t&&!/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(t.toLowerCase())?(e.show(),!1):(e.hide(),!0)}getValidInput(){const e=i()(`[name="${this.slug}-deactivate-choice"]:checked`).val(),t=i()(`[name="${this.slug}-note"]`).val(),n=t?i()(`[name="${this.slug}-email"]`).val():"";return!e&&t?{choice:"other",note:t,email:n}:e?{choice:e,note:t,email:n}:void 0}init(){const e=a("Too bad you are leaving"),t=o().names[this.slug],n=a("Please give us feedback why you deactivate <strong>%s</strong>.",t),s={"upgrade-to-pro":a("Upgrade to PRO Version"),"not-working":a("Plugin did not work"),"missing-features":a("Not the features I want"),incompatible:a("Incompatible with other themes or plugins"),"missing-doc":a("Lack of documentation"),"found-better-plugin":a("Found a better plugin"),temp:a("Temporary deactivation"),none:a("I do not want to give feedback"),other:a("Other")},l=this.$handler.pointer({pointerClass:"wp-pointer real-utils-feedback-pointer",content:`<h3>${e}</h3><p>${n}</p>\n<fieldset>\n    ${Object.keys(s).map(e=>`<label class="col-2"><input type="radio" name="${this.slug}-deactivate-choice" value="${e}" /> ${s[e]}</label>`).join("")}\n        <div class="clear"></div>\n        <br />\n    <label class="${this.slug}-section-note">\n        <strong>${a("What could we do better?")}</strong>\n        <input type="text" class="regular-text" name="${this.slug}-note" />\n        <div class="notice notice-${this.slug}-note notice-error notice-alt hidden"><p>${a("Please enter a text here or check the box below.")}</p></div>\n    </label>\n    <label class="${this.slug}-section-note">\n        <input type="checkbox" name="${this.slug}-skip-note" /> ${a("I don't want to add a comment and hence not help to make %s better.",t)}\n    </label>\n    <label class="${this.slug}-section-email" style="display:none">\n        <br /><strong>${a("Email for answer/solution (optional)?")}</strong>\n        <input type="text" class="regular-text" name="${this.slug}-email" />\n        <div class="notice notice-${this.slug}-email notice-error notice-alt hidden"><p>${a("Please provide a valid email.")}</p></div>\n    </label>\n    <label class="${this.slug}-section-email" style="display:none">\n        <input type="checkbox" name="${this.slug}-privacy" /> ${a('I would like to receive an answer for my issue. For this purpose I agree to the data processing of my feedback and my email address. I have read the devowl.io <a href="https://devowl.io/privacy-policy/" target="_blank">privacy policy</a> and agree to it.',t)}\n        <div class="notice notice-${this.slug}-privacy notice-error notice-alt hidden"><p>${a("If you would like to be contacted by us, please accept the privacy policy. If you prefer not to be contacted, leave the email field blank.")}</p></div>\n    </label>\n</fieldset>`,buttons:this.buttons.bind(this)}).pointer("open").pointer("widget");l.find("input").on("input",()=>{const e=this.getValidInput(),t="none"===e?.choice;l.find(".button:eq(0)").css("display",e?"inline-block":"none"),l.find(".button:eq(1)").css("display",e?"none":"inline-block"),l.find(".button:eq(1)").css("display",e?"none":"inline-block"),i()(`[name="${this.slug}-skip-note"]`).parent().css("display",e?.note?"none":"block"),i()(`.${this.slug}-section-email`).css("display",e?.note&&!t?"block":"none"),i()(`.${this.slug}-section-note`).css("display",t?"none":"block")})}}i()(document).on("click","tr.active .row-actions .deactivate a",function(e){const[t]=i()(this).parents("tr.active").data("plugin").split("/");if(o().names[t]){const n=i()(this).attr("href");return new r(t,n,i()(this)),e.preventDefault(),!1}return!0})})();
    2 //# sourceMappingURL=https://sourcemap.devowl.io/real-category-library/4.2.64/63ecb88d93e94514342e994460a61dce/feedback.js.map
     2//# sourceMappingURL=https://sourcemap.devowl.io/real-category-library/4.2.69/63ecb88d93e94514342e994460a61dce/feedback.js.map
  • real-category-library-lite/tags/4.2.69/vendor/devowl-wp/real-utils/dist/helper.css

    r3454640 r3491846  
    11.real-utils-rate-pointer{z-index:999999!important}.real-utils-rate-pointer h3:before{content:""}.real-utils-pointer-buttons .button{margin-left:5px}
    2 //# sourceMappingURL=https://sourcemap.devowl.io/real-category-library/4.2.64/8eba699b5570a0abfeeff229e4e1240b/helper.css.map
     2//# sourceMappingURL=https://sourcemap.devowl.io/real-category-library/4.2.69/8eba699b5570a0abfeeff229e4e1240b/helper.css.map
  • real-category-library-lite/tags/4.2.69/vendor/devowl-wp/real-utils/dist/helper.js

    r3454640 r3491846  
    11var devowlWp_realUtils;(()=>{"use strict";var t={n:e=>{var s=e&&e.__esModule?()=>e.default:()=>e;return t.d(s,{a:s}),s},d:(e,s)=>{for(var o in s)t.o(s,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:s[o]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r:t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}},e={};t.r(e),t.d(e,{RatingPointer:()=>d,isRatable:()=>i});const s=devowlWp_utils,o=()=>window[s.BaseOptions.getPureSlug("real-utils",!0)].others;function i(t){return o().canBeRated.indexOf(t)>-1}const n=jQuery;var a=t.n(n);let r;const l=(...t)=>(r||(r=(0,s.createLocalizationFactory)("devowl-wp-real-utils"))).__(...t);let u;const c={path:"/rating/:slug/dismiss",method:s.RouteHttpVerb.DELETE};class d{constructor(t,e,s,o){this.slug=t,this.$handler=e,this.description=s,this.className=o,this.init()}close(t,e){if(t.preventDefault(),this.$handler.pointer("close"),this.$handler.pointer("destroy"),e){const t=o().rateLinks[this.slug];window.open(t,"_blank")}((...t)=>{(u||(u=(0,s.createRequestFactory)(window[s.BaseOptions.getPureSlug("real-utils",!0)]))).request(...t)})({location:c,params:{slug:this.slug,force:e}})}buttons(){const t=a()(`<a class="button" href="#">${l("Not now")}</a>`).click(t=>{this.close(t,!1)}),e=a()(`<a class="button button-primary" href="#">${l("Give it a rating")}</a>`).click(t=>{this.close(t,!0)});return a()('<div class="real-utils-pointer-buttons" />').append(e,t)}init(){const{canBeRated:t}=o();t.splice(t.indexOf(this.slug),1);const e=l("Do us a favor!"),s=this.description||l("Awesome, you have just used a functionality of <strong>%s</strong>. Do you like it? Please do us a favor and rate us!",o().names[this.slug]);this.$handler.pointer({pointerClass:`wp-pointer real-utils-rate-pointer ${this.className?this.className:""}`,content:`<h3>${e}</h3><p>${s}</p>`,buttons:this.buttons.bind(this)}).pointer("open")}}devowlWp_realUtils=e})();
    2 //# sourceMappingURL=https://sourcemap.devowl.io/real-category-library/4.2.64/dedd07dd749e491737179f9f3bfc8332/helper.js.map
     2//# sourceMappingURL=https://sourcemap.devowl.io/real-category-library/4.2.69/dedd07dd749e491737179f9f3bfc8332/helper.js.map
  • real-category-library-lite/tags/4.2.69/vendor/devowl-wp/real-utils/dist/welcome.css

    r3454640 r3491846  
    11.about-wrap .about-text cite{background:url(https://assets.devowl.io/in-app/devowl.io-logo.svg) no-repeat top left;padding:5px 0 5px 55px;display:block;margin-top:12px}.about-wrap .wp-badge{color:#000;background-repeat:no-repeat;background-position:center 25px;background-size:90px auto;background-color:#fff}.about-wrap .about-wrap-content{max-width:none;max-width:initial}.about-wrap .button-hero{font-size:1.2em!important}.about-wrap .column.key-feature>p:first-of-type{margin:15px 0 0 0;height:200px;overflow:hidden;text-align:center}.about-wrap .column.key-feature>p:first-of-type img{width:100%;height:auto;border-radius:3px;max-width:400px}.about-wrap .error-msg{margin:10px;color:red}.tablenav-pages{display:none}
    2 //# sourceMappingURL=https://sourcemap.devowl.io/real-category-library/4.2.64/8463be16a77bfee932befd19f2e8a2b0/welcome.css.map
     2//# sourceMappingURL=https://sourcemap.devowl.io/real-category-library/4.2.69/8463be16a77bfee932befd19f2e8a2b0/welcome.css.map
  • real-category-library-lite/tags/4.2.69/vendor/devowl-wp/real-utils/package.json

    r3454640 r3491846  
    11{
    22    "name": "@devowl-wp/real-utils",
    3     "version": "1.14.13",
     3    "version": "1.14.18",
    44    "private": true,
    55    "description": "Create cross-selling ads, about page, rating and newsletter input for WP Real plugins.",
  • real-category-library-lite/tags/4.2.69/vendor/devowl-wp/utils/dist/index.js

    r3454640 r3491846  
    1 var devowlWp_utils;(()=>{"use strict";var t,e={206:t=>{t.exports=ReactDOM},403:(t,e,n)=>{n.r(e),n.d(e,{AbstractCategory:()=>rt,AbstractCategoryCollection:()=>at,AbstractPost:()=>ot,AbstractPostCollection:()=>st,BATCH_MAX_CHUNK_SIZE:()=>O,BaseOptions:()=>o,ClientCollection:()=>et,ClientModel:()=>nt,RouteHttpVerb:()=>H,SuspenseChunkTranslation:()=>lt,addCorruptRestApi:()=>j,addCorruptRestApiLog:()=>N,applyQueryString:()=>w,batchRequest:()=>k,commonRequest:()=>G,commonUrlBuilder:()=>y,createContextFactory:()=>h,createLocalizationFactory:()=>K,createRequestFactory:()=>J,createRoot:()=>i,getAnonymousLocalizedScript:()=>ut,handleCorrupRestApi:()=>F,handleCorruptRestApi:()=>D,locationRestKeyValueMapPatch:()=>it,locationRestPluginGet:()=>Y,nonceDeprecationPool:()=>$,obfuscatePath:()=>f,parseResult:()=>I,removeCorruptRestApi:()=>_,simpleHash:()=>m,simpleObfuscate:()=>p,sprintf:()=>X,trailingslashit:()=>a,untrailingslashit:()=>r,useChunkTranslation:()=>ct,waitForValidLogin:()=>U});class o{static slugCamelCase(t){return t.replace(/-([a-z])/g,t=>t[1].toUpperCase())}static getPureSlug(t,e=!1){return e?o.slugCamelCase(t):t}}var s=n(578);const r=t=>t.endsWith("/")||t.endsWith("\\")?r(t.slice(0,-1)):t,a=t=>`${r(t)}/`;function i(t){try{return(0,s.H)(t)}catch(e){return{render:e=>window.ReactDOM?.render?.(e,t),unmount:()=>window.ReactDOM?.unmountComponentAtNode?.(t)}}}const c=ReactJSXRuntime;var l=n(594);function h(t){const e=(0,l.createContext)(t);return{StoreContext:e,StoreProvider:({children:n})=>(0,c.jsx)(e.Provider,{value:t,children:n}),useStores:()=>(0,l.useContext)(e)}}var u=n(177),d=function(t){return t.GET="GET",t.POST="POST",t.PUT="PUT",t.PATCH="PATCH",t.DELETE="DELETE",t}(d||{});function p(t,e,n){const o=e.length;if(!/^[a-z0-9]+$/i.test(e))return"";let s="",r=0;const a=t.length;for(let i=0;i<a;i++)if(/[a-z]/i.test(t[i])){const a=t[i]===t[i].toUpperCase()?"A".charCodeAt(0):"a".charCodeAt(0),c=e[(i-r)%o];let l;l=isNaN(parseInt(c,10))?(c.toLowerCase().charCodeAt(0)-a)%26:parseInt(c,10),l=n?l:-l,s+=String.fromCharCode(((t.charCodeAt(i)+l-a)%26+26)%26+a)}else s+=t[i],r++;return s}function f(t,e,n="keep-last-part"){const o=e.split("/").map((e,o,s)=>"keep-last-part"===n&&o===s.length-1?e:p(e,t,!0));return o.splice(o.length-1,0,`${"full"===n?1:0}${t.toString()}`),o.join("/")}function m(t){let e=0;for(const n of t)e=(e<<5>>>0)-e+n.charCodeAt(0),e&=2147483647;return e}function w(t,e,n){const o=n?t.searchParams:new URLSearchParams,s=Array.isArray(e)?e:[e];for(const t of s)for(const[e,n]of Object.entries(t||{}))o.delete(e),Array.isArray(n)?n.forEach(t=>{null!=t&&o.append(`${e}[]`,String(t))}):null!=n&&o.set(e,String(n));return t.search=o.toString(),t}function y({location:t,params:e={},nonce:n=!0,options:o,cookieValueAsParam:s}){const{obfuscatePath:i}=t,{origin:c}=window.location,{restPathObfuscateOffset:l}=o,h=new URL(o.restRoot,c),p=Object.fromEntries(h.searchParams.entries()),y=p.rest_route||h.pathname,{searchParams:g,pathname:b}=new URL(t.path,c),v=Object.fromEntries(g.entries()),P=[],O=b.replace(/:([A-Za-z0-9-_]+)/g,(t,n)=>(P.push(n),e[n]));for(const t of Object.keys(e))-1===P.indexOf(t)&&(v[t]=e[t]);s&&(v._httpCookieInvalidate=`${m(JSON.stringify(s.map(u.A.get)))}`),h.protocol=window.location.protocol;const C=a(y);let S=r(t.namespace||o.restNamespace)+O;l&&i&&(S=f(l,S,i));const E=`${C}${S}`;return p.rest_route?p.rest_route=E:h.pathname=E,n&&o.restNonce&&(p._wpnonce=o.restNonce),w(h,p),["wp-json/","rest_route="].filter(t=>h.toString().indexOf(t)>-1).length>0&&t.method&&t.method!==d.GET&&w(h,[{_method:t.method}],!0),w(h,[o.restQuery,v],!0),h.toString()}var g=n(976),b=n.n(g),v=n(984),P=n.n(v);const O=25;let C,S=[];const E=Promise.resolve();async function T(){S=S.filter(({options:{signal:t,onQueueItemFinished:e,waitForPromise:n=E},reject:o})=>!t?.aborted||(e?.(!1),n.then(()=>o(t.reason)),!1));const t=S.splice(0,O);if(0!==t.length){try{const[{options:e}]=t,{signal:n,onQueueItemFinished:o,waitForPromise:s=E}=e,{responses:r}=await G({location:{path:"/",method:d.POST,namespace:"batch/v1"},options:e,request:{requests:t.map(({request:t})=>t)},settings:{signal:n}});for(let e=0;e<r.length;e++){const{resolve:n,reject:a}=t[e],{body:i,status:c}=r[e],l=c>=200&&c<400;o?.(l),s.then(()=>{l?n(i):a({responseJSON:i})})}}catch(e){for(const{reject:n,options:{onQueueItemFinished:o,waitForPromise:s=E}}of t)o?.(!1),s.then(()=>n(e))}S.length>0&&T()}}function k(t,e){return new Promise((n,o)=>{S.push({resolve:n,reject:o,request:t,options:e}),clearTimeout(C),C=setTimeout(T,100)})}const R="notice-corrupt-rest-api",x="data-namespace";async function A(t,e=async()=>{}){const n=document.getElementById(R);if(n&&window.navigator.onLine){if(n.querySelector(`li[${x}="${t}"]`))return;try{await e()}catch(e){n.style.display="block";const o=document.createElement("li");o.setAttribute(x,t),o.innerHTML=`<code>${t}</code>`,n.childNodes[1].appendChild(o),n.scrollIntoView({behavior:"smooth",block:"end",inline:"nearest"})}}}async function _(t){const e=document.getElementById(R);if(e){const n=e.querySelector(`li[${x}="${t}"]`);if(n?.remove(),!e.childNodes[1].childNodes.length){e.style.display="none";const t=e.querySelector("textarea");t&&(t.value="")}}}function j({method:t},e){t===d.GET&&(e?A(e,()=>{throw new Error}):(window.detectCorruptRestApiFailed=(window.detectCorruptRestApiFailed||0)+1,window.dispatchEvent(new CustomEvent(R))))}function N({route:t,method:e,ms:n,response:o}){const s=document.querySelector(`#${R} textarea`);if(s){const r=s.value.split("\n").slice(0,9);r.unshift(`[${(new Date).toLocaleTimeString()}] [${e||"GET"}] [${n}ms] ${t}; ${o?.substr(0,999)}`),s.value=r.join("\n")}}function D(t){window.detectCorruptRestApiFailed=window.detectCorruptRestApiFailed||0,window.addEventListener("pageshow",({persisted:t})=>{const e=document.getElementById(R);e&&t&&0===window.detectCorruptRestApiFailed&&(e.style.display="none")});const e=async()=>{if(window.detectCorruptRestApiFailed>0)for(const e of Object.keys(t))A(e,t[e])};let n;const o=()=>{clearTimeout(n),n=setTimeout(e,1e3)};o(),window.addEventListener(R,o)}const F=D,L={},q={};async function $(t,e){if(void 0!==e){const n=q[t]||new Promise(async(n,o)=>{try{const s=await window.fetch(e,{method:"POST"});if(s.ok){const e=await s.text();t===e?o():(L[t]=e,n(e))}else o()}catch(t){o()}});return q[t]=n,n.finally(()=>{delete q[t]}),n}{if(void 0===t)return;await Promise.all(Object.values(q));let e=t;for(;L[e]&&(e=L[e],L[e]!==t););return Promise.resolve(e)}}async function I(t,e,n){if(204===e.status)return{};const o=e.clone();try{return await e.json()}catch(e){const s=await o.text();if(""===s&&[d.DELETE,d.PUT].indexOf(n)>-1)return;let r;console.warn(`The response of ${t} contains unexpected JSON, try to resolve the JSON line by line...`,{body:s});for(const t of s.split("\n"))if(t.startsWith("[")||t.startsWith("{"))try{return JSON.parse(t)}catch(t){r=t}throw r}}let M=!1;function U(){const t=window.jQuery;return window.wp?.heartbeat&&t?(t(document).trigger("heartbeat-tick",[{"wp-auth-check":!1},"error",null]),M||(M=!0,t(document).ajaxSend((e,n,{url:o,data:s})=>{o?.endsWith("/admin-ajax.php")&&s?.indexOf("action=heartbeat")>-1&&t("#wp-auth-check:visible").length>0&&n.abort()})),new Promise(e=>{const n=setInterval(()=>{0===t("#wp-auth-check:visible").length&&(clearInterval(n),e())},100)})):new Promise(()=>{})}const z="application/json;charset=utf-8";async function G({location:t,options:e,request:n,params:o,settings:s={},cookieValueAsParam:r,multipart:a=!1,sendRestNonce:i=!0,sendReferer:c,replayReason:l,allowBatchRequest:h}){const{href:u}=window.location,p=t.namespace||e.restNamespace,f=y({location:t,params:o,nonce:!1,options:e,cookieValueAsParam:r});["wp-json/","rest_route="].filter(t=>f.indexOf(t)>-1).length>0&&t.method&&t.method!==d.GET?s.method=d.POST:s.method=t.method||d.GET;const m=new URL(f,u),g=-1===["HEAD","GET"].indexOf(s.method);c&&(g?Object.assign(n,{_wp_http_referer:u}):m.searchParams.set("_wp_http_referer",u)),!g&&n&&w(m,[n],!0);const v=m.toString();let O;g&&(a?(O=P()(n,"boolean"==typeof a?{}:a),Array.from(O.values()).filter(t=>t instanceof File).length>0||(O=JSON.stringify(n))):O=JSON.stringify(n));const C=await $(e.restNonce),S=void 0!==C,E=b().all([s,{headers:{..."string"==typeof O?{"Content-Type":z}:{},...S&&i?{"X-WP-Nonce":C}:{},Accept:"application/json, */*;q=0.1"}}],{isMergeableObject:t=>"[object Object]"===Object.prototype.toString.call(t)});if(E.body=O,h&&t.method!==d.GET&&!(O instanceof FormData))return k({method:t.method,path:y({location:t,params:o,nonce:!1,options:{...e,restRoot:"https://a.de/wp-json"},cookieValueAsParam:r}).substring(20),body:n},{...e,signal:s.signal,..."boolean"==typeof h?{}:h});let T,R=!1;const x=()=>{R=!0};window.addEventListener("pagehide",x),window.addEventListener("beforeunload",x);const A=(new Date).getTime();let D;try{T=await window.fetch(v,E),D=(new Date).getTime()-A,_(p)}catch(e){throw D=(new Date).getTime()-A,R||(N({method:t.method,route:m.pathname,ms:D,response:`${e}`}),j(s,p)),console.error(e),e}finally{window.removeEventListener("pagehide",x),window.removeEventListener("beforeunload",x)}if(!T.ok){let r,c,h=!1;try{if(r=await I(v,T,t.method),"private_site"===r.code&&403===T.status&&S&&!i&&(h=!0,c=1),"rest_cookie_invalid_nonce"===r.code&&S){const{restRecreateNonceEndpoint:t}=e;try{h=!0,2===l?(c=4,await U()):c=2,await $(C,t)}catch(t){}}const n=T.headers.get("retry-after");[503,429,301].includes(T.status)&&n?.match(/^\d+$/)&&(h=1e3*+n,c=3)}catch(t){}if(h){const r={location:t,options:e,multipart:a,params:o,request:n,sendRestNonce:!0,settings:s,replayReason:c};return"number"==typeof h?new Promise(t=>setTimeout(()=>G(r).then(t),h)):await G(r)}N({method:t.method,route:m.pathname,ms:D,response:JSON.stringify(r)}),j(s);const u=T;throw u.responseJSON=r,u}return I(v,T,t.method)}function J(t){return{urlBuilder:e=>y({...e,options:{restNamespace:t.restNamespace,restNonce:t.restNonce,restQuery:t.restQuery,restRoot:t.restRoot,restPathObfuscateOffset:t.restPathObfuscateOffset}}),request:e=>G({...e,options:{restNamespace:t.restNamespace,restNonce:t.restNonce,restQuery:t.restQuery,restRoot:t.restRoot,restRecreateNonceEndpoint:t.restRecreateNonceEndpoint,restPathObfuscateOffset:t.restPathObfuscateOffset}})}}const H=d;var B=n(263);const W=wp.i18n,Q=wp;var V=n.n(Q);function X(t,...e){return W.sprintf(t,...e)}function K(t){const{wpi18nLazy:e}=window;if(e&&e[t]&&V()&&V().i18n)for(const n of e[t])V().i18n.setLocaleData(n,t);return{_n:function(e,n,o,...s){return X(W._n(e,n,o,t),...s)},_nx:function(e,n,o,s,...r){return X(W._nx(e,n,s,o,t),...r)},_x:function(e,n,...o){return X(W._x(e,n,t),...o)},__:function(e,...n){return X(W.__(e,t),...n)},_i:function(t,e){return(0,B.A)({mixedString:t,components:e})}}}const Y={path:"/plugin",method:d.GET};var Z=n(490);const tt=mobx;class et{constructor(){this.entries=new Map,this.busy=!1,this.get=(0,tt.flow)(function*(t){const{request:e,params:n,clear:o=!1}=t||{};this.busy=!0;try{const{path:t,namespace:s}=this.annotated,r=yield this.annotated.request({location:{path:t,method:d.GET,namespace:s},request:e,params:n});o&&this.entries.clear();for(const t of r){const e=this.instance(t),n=this.entries.get(e.key);n?n.data=e.data:this.entries.set(e.key,e)}}catch(t){throw console.log(t),t}finally{this.busy=!1}}),this.getSingle=(0,tt.flow)(function*(t){if(!this.annotated.singlePath)throw new Error("There is no getSingle method allowed");const{request:e,params:n}=t||{};this.busy=!0;try{const{singlePath:t,namespace:o}=this.annotated,s=yield this.annotated.request({location:{path:t,method:d.GET,namespace:o},request:e,params:n}),r=this.instance(s);this.entries.set(r.key,r)}catch(t){throw console.log(t),t}finally{this.busy=!1}}),setTimeout(()=>{this.annotated||console.error("You have not used the @ClientCollection.annotate annoation together with this class!")},0)}static{this.annotate=t=>e=>class extends e{constructor(...e){super(...e),this.annotated=t}}}}(0,Z.Cg)([tt.observable],et.prototype,"entries",void 0),(0,Z.Cg)([tt.observable],et.prototype,"busy",void 0);class nt{get key(){return this.data?.[this.annotated.keyId]}constructor(t,e={}){this.data={},this.busy=!1,this.persist=(0,tt.flow)(function*(t,e){if(!this.annotated.create)throw new Error("There is no persist method allowed");this.busy=!0;try{const{create:{path:n,method:o},namespace:s}=this.annotated,r=yield this.annotated.request({location:{path:n,method:o||d.POST,namespace:s},request:this.transformDataForPersist(),params:t||{},...e||{}});this.fromResponse(r),e?.allowBatchRequest||(this.collection.entries.set(this.key,this),this.afterPersist())}catch(t){throw console.log(t),t}finally{this.busy=!1}}),this.patch=(0,tt.flow)(function*(t){if(!this.annotated.patch)throw new Error("There is no patch method allowed");this.busy=!0;try{const{patch:{path:e,method:n},namespace:o}=this.annotated,s=yield this.annotated.request({location:{path:e,method:n||d.PATCH,namespace:o},request:this.transformDataForPatch(),params:{[this.annotated.keyId]:this.key,...t||{}}});this.fromResponse(s),this.afterPatch()}catch(t){throw console.log(t),t}finally{this.busy=!1}}),this.delete=(0,tt.flow)(function*(t,e){if(!this.annotated.delete)throw new Error("There is no delete method allowed");this.busy=!0;try{const{delete:{path:n,method:o},namespace:s}=this.annotated,r=yield this.annotated.request({location:{path:n,method:o||d.DELETE,namespace:s},params:{[this.annotated.keyId]:this.key,...t||{}},...e||{}});return e?.allowBatchRequest||(this.collection.entries.delete(this.key),this.afterDelete()),r}catch(t){throw console.log(t),t}finally{this.busy=!1}}),setTimeout(()=>{this.annotated||console.error("You have not used the @ClientModel.annotate annoation together with this class!")},0),(0,tt.runInAction)(()=>{this.collection=t,this.data=e})}static{this.annotate=t=>e=>class extends e{constructor(...e){super(...e),this.annotated=t}}}fromResponse(t){return(0,tt.set)(this.data,t),this}transformDataForPersist(){return this.data}transformDataForPatch(){throw new Error("If you want to use patch method, you need to implement transformDataForPatch!")}afterPersist(){}afterPatch(){}afterDelete(){}}(0,Z.Cg)([tt.observable,(0,Z.Sn)("design:type",Object)],nt.prototype,"data",void 0),(0,Z.Cg)([tt.observable,(0,Z.Sn)("design:type",Object)],nt.prototype,"collection",void 0),(0,Z.Cg)([tt.observable],nt.prototype,"busy",void 0),(0,Z.Cg)([tt.computed,(0,Z.Sn)("design:type",Object),(0,Z.Sn)("design:paramtypes",[])],nt.prototype,"key",null);class ot extends nt{transformDataForPersist(){const t={...super.transformDataForPersist()};return t.title="string"==typeof t.title?.raw?t.title.raw:t.title?.rendered,t.content="string"==typeof t.content?.raw?t.content.raw:t.content?.rendered,delete t._links,delete t.link,t}transformDataForPatch(){return this.transformDataForPersist()}}class st extends et{}class rt extends nt{transformDataForPersist(){const t={...super.transformDataForPersist()};return delete t._links,delete t.link,t}transformDataForPatch(){return this.transformDataForPersist()}}class at extends et{}const it={path:"/key-value-map/:name/:key",method:d.PATCH};function ct(t,{chunks:e,chunksLanguageFolder:n,textDomain:o,version:s}){const r=e[t.split("?")[0]],a=!!r,[i,c]=(0,l.useState)(!1),h=(0,l.useCallback)(async t=>{const e=window;e.wpi18nLazy=e.wpi18nLazy||{},e.wpi18nLazy.chunkUrls=e.wpi18nLazy.chunkUrls||[];const{chunkUrls:r}=e.wpi18nLazy,i=`${n}${o}-${t}.json`;if(a&&-1===r.indexOf(i)){r.push(i);try{const t=await window.fetch(`${i}?ver=${s}`),{locale_data:{messages:e}}=await t.json();V().i18n.setLocaleData(e,o)}catch{}}},[n,o]);return(0,l.useEffect)(()=>{a?Promise.all(r.map(h)).then(()=>{c(!0)}):c(!0)},[a,h]),i}const lt=({children:t,chunkFile:e,fallback:n,options:o})=>{const s=ct(e,o());return(0,c.jsx)(c.Fragment,{children:s?t:n})},ht={};function ut(t,e){const n=window[t.replace(/-([a-z])/g,t=>t[1].toUpperCase())],o=ht[t];if(!n){if(o)return window[o];for(const e in window)try{const n=window[e];if(n?.textDomain===t)return ht[t]=e,n}catch(t){}if(e){const{makeBase64Encoded:n,lazyParse:o=()=>{}}=e,s=Math.random().toString(36),r=function(t,e){return n.indexOf(t)>-1&&"string"==typeof e&&e.startsWith("base64-encoded:")?window.atob(e.substr(15)):e},a=(t,e)=>new Proxy(t,{get(t,n){let o=Reflect.get(t,n);return n===e&&"string"==typeof o&&(o=JSON.parse(o,r),Reflect.set(t,n,o)),o}}),i=document.querySelectorAll('script[type="application/json"][id^="a"][id$="1-js-extra"]');try{for(const e of i){const n=e.innerHTML,i=JSON.parse(n,r);if(i.textDomain===t)return window[s]=i,ht[t]=s,o&&o(i,(t,e,n)=>{try{const o=t[e]?.[n];"string"==typeof o&&(window.Proxy?t[e]=a(t[e],n):t[e][n]=JSON.parse(o,r))}catch(t){}}),i}}catch(t){}}}return n}},594:t=>{t.exports=React}},n={};function o(t){var s=n[t];if(void 0!==s)return s.exports;var r=n[t]={exports:{}};return e[t].call(r.exports,r,r.exports,o),r.exports}o.m=e,t=[],o.O=(e,n,s,r)=>{if(!n){var a=1/0;for(h=0;h<t.length;h++){for(var[n,s,r]=t[h],i=!0,c=0;c<n.length;c++)(!1&r||a>=r)&&Object.keys(o.O).every(t=>o.O[t](n[c]))?n.splice(c--,1):(i=!1,r<a&&(a=r));if(i){t.splice(h--,1);var l=s();void 0!==l&&(e=l)}}return e}r=r||0;for(var h=t.length;h>0&&t[h-1][2]>r;h--)t[h]=t[h-1];t[h]=[n,s,r]},o.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return o.d(e,{a:e}),e},o.d=(t,e)=>{for(var n in e)o.o(e,n)&&!o.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},o.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),o.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},(()=>{var t={57:0};o.O.j=e=>0===t[e];var e=(e,n)=>{var s,r,[a,i,c]=n,l=0;if(a.some(e=>0!==t[e])){for(s in i)o.o(i,s)&&(o.m[s]=i[s]);if(c)var h=c(o)}for(e&&e(n);l<a.length;l++)r=a[l],o.o(t,r)&&t[r]&&t[r][0](),t[r]=0;return o.O(h)},n=self.webpackChunkdevowlWp_utils=self.webpackChunkdevowlWp_utils||[];n.forEach(e.bind(null,0)),n.push=e.bind(null,n.push.bind(n))})();var s=o.O(void 0,[26],()=>o(403));s=o.O(s),devowlWp_utils=s})();
    2 //# sourceMappingURL=https://sourcemap.devowl.io/real-category-library/4.2.64/7928037aba3950d6ea23a35c1df31b03/index.js.map
     1var devowlWp_utils;(()=>{"use strict";var t,e={206:t=>{t.exports=ReactDOM},403:(t,e,n)=>{n.r(e),n.d(e,{AbstractCategory:()=>rt,AbstractCategoryCollection:()=>at,AbstractPost:()=>ot,AbstractPostCollection:()=>st,BATCH_MAX_CHUNK_SIZE:()=>O,BaseOptions:()=>o,ClientCollection:()=>et,ClientModel:()=>nt,RouteHttpVerb:()=>H,SuspenseChunkTranslation:()=>lt,addCorruptRestApi:()=>j,addCorruptRestApiLog:()=>N,applyQueryString:()=>w,batchRequest:()=>k,commonRequest:()=>G,commonUrlBuilder:()=>y,createContextFactory:()=>h,createLocalizationFactory:()=>K,createRequestFactory:()=>J,createRoot:()=>i,getAnonymousLocalizedScript:()=>ut,handleCorrupRestApi:()=>F,handleCorruptRestApi:()=>D,locationRestKeyValueMapPatch:()=>it,locationRestPluginGet:()=>Y,nonceDeprecationPool:()=>$,obfuscatePath:()=>f,parseResult:()=>I,removeCorruptRestApi:()=>_,simpleHash:()=>m,simpleObfuscate:()=>p,sprintf:()=>X,trailingslashit:()=>a,untrailingslashit:()=>r,useChunkTranslation:()=>ct,waitForValidLogin:()=>U});class o{static slugCamelCase(t){return t.replace(/-([a-z])/g,t=>t[1].toUpperCase())}static getPureSlug(t,e=!1){return e?o.slugCamelCase(t):t}}var s=n(578);const r=t=>t.endsWith("/")||t.endsWith("\\")?r(t.slice(0,-1)):t,a=t=>`${r(t)}/`;function i(t){try{return(0,s.H)(t)}catch(e){return{render:e=>window.ReactDOM?.render?.(e,t),unmount:()=>window.ReactDOM?.unmountComponentAtNode?.(t)}}}const c=ReactJSXRuntime;var l=n(594);function h(t){const e=(0,l.createContext)(t);return{StoreContext:e,StoreProvider:({children:n})=>(0,c.jsx)(e.Provider,{value:t,children:n}),useStores:()=>(0,l.useContext)(e)}}var u=n(177),d=function(t){return t.GET="GET",t.POST="POST",t.PUT="PUT",t.PATCH="PATCH",t.DELETE="DELETE",t}(d||{});function p(t,e,n){const o=e.length;if(!/^[a-z0-9]+$/i.test(e))return"";let s="",r=0;const a=t.length;for(let i=0;i<a;i++)if(/[a-z]/i.test(t[i])){const a=t[i]===t[i].toUpperCase()?"A".charCodeAt(0):"a".charCodeAt(0),c=e[(i-r)%o];let l;l=isNaN(parseInt(c,10))?(c.toLowerCase().charCodeAt(0)-a)%26:parseInt(c,10),l=n?l:-l,s+=String.fromCharCode(((t.charCodeAt(i)+l-a)%26+26)%26+a)}else s+=t[i],r++;return s}function f(t,e,n="keep-last-part"){const o=e.split("/").map((e,o,s)=>"keep-last-part"===n&&o===s.length-1?e:p(e,t,!0));return o.splice(o.length-1,0,`${"full"===n?1:0}${t.toString()}`),o.join("/")}function m(t){let e=0;for(const n of t)e=(e<<5>>>0)-e+n.charCodeAt(0),e&=2147483647;return e}function w(t,e,n){const o=n?t.searchParams:new URLSearchParams,s=Array.isArray(e)?e:[e];for(const t of s)for(const[e,n]of Object.entries(t||{}))o.delete(e),Array.isArray(n)?n.forEach(t=>{null!=t&&o.append(`${e}[]`,String(t))}):null!=n&&o.set(e,String(n));return t.search=o.toString(),t}function y({location:t,params:e={},nonce:n=!0,options:o,cookieValueAsParam:s}){const{obfuscatePath:i}=t,{origin:c}=window.location,{restPathObfuscateOffset:l}=o,h=new URL(o.restRoot,c),p=Object.fromEntries(h.searchParams.entries()),y=p.rest_route||h.pathname,{searchParams:g,pathname:b}=new URL(t.path,c),v=Object.fromEntries(g.entries()),P=[],O=b.replace(/:([A-Za-z0-9-_]+)/g,(t,n)=>(P.push(n),e[n]));for(const t of Object.keys(e))-1===P.indexOf(t)&&(v[t]=e[t]);s&&(v._httpCookieInvalidate=`${m(JSON.stringify(s.map(u.A.get)))}`),h.protocol=window.location.protocol;const C=a(y);let S=r(t.namespace||o.restNamespace)+O;l&&i&&(S=f(l,S,i));const E=`${C}${S}`;return p.rest_route?p.rest_route=E:h.pathname=E,n&&o.restNonce&&(p._wpnonce=o.restNonce),w(h,p),["wp-json/","rest_route="].filter(t=>h.toString().indexOf(t)>-1).length>0&&t.method&&t.method!==d.GET&&w(h,[{_method:t.method}],!0),w(h,[o.restQuery,v],!0),h.toString()}var g=n(976),b=n.n(g),v=n(984),P=n.n(v);const O=25;let C,S=[];const E=Promise.resolve();async function T(){S=S.filter(({options:{signal:t,onQueueItemFinished:e,waitForPromise:n=E},reject:o})=>!t?.aborted||(e?.(!1),n.then(()=>o(t.reason)),!1));const t=S.splice(0,O);if(0!==t.length){try{const[{options:e}]=t,{signal:n,onQueueItemFinished:o,waitForPromise:s=E}=e,{responses:r}=await G({location:{path:"/",method:d.POST,namespace:"batch/v1"},options:e,request:{requests:t.map(({request:t})=>t)},settings:{signal:n}});for(let e=0;e<r.length;e++){const{resolve:n,reject:a}=t[e],{body:i,status:c}=r[e],l=c>=200&&c<400;o?.(l),s.then(()=>{l?n(i):a({responseJSON:i})})}}catch(e){for(const{reject:n,options:{onQueueItemFinished:o,waitForPromise:s=E}}of t)o?.(!1),s.then(()=>n(e))}S.length>0&&T()}}function k(t,e){return new Promise((n,o)=>{S.push({resolve:n,reject:o,request:t,options:e}),clearTimeout(C),C=setTimeout(T,100)})}const R="notice-corrupt-rest-api",x="data-namespace";async function A(t,e=async()=>{}){const n=document.getElementById(R);if(n&&window.navigator.onLine){if(n.querySelector(`li[${x}="${t}"]`))return;try{await e()}catch(e){n.style.display="block";const o=document.createElement("li");o.setAttribute(x,t),o.innerHTML=`<code>${t}</code>`,n.childNodes[1].appendChild(o),n.scrollIntoView({behavior:"smooth",block:"end",inline:"nearest"})}}}async function _(t){const e=document.getElementById(R);if(e){const n=e.querySelector(`li[${x}="${t}"]`);if(n?.remove(),!e.childNodes[1].childNodes.length){e.style.display="none";const t=e.querySelector("textarea");t&&(t.value="")}}}function j({method:t},e){t===d.GET&&(e?A(e,()=>{throw new Error}):(window.detectCorruptRestApiFailed=(window.detectCorruptRestApiFailed||0)+1,window.dispatchEvent(new CustomEvent(R))))}function N({route:t,method:e,ms:n,response:o}){const s=document.querySelector(`#${R} textarea`);if(s){const r=s.value.split("\n").slice(0,9);r.unshift(`[${(new Date).toLocaleTimeString()}] [${e||"GET"}] [${n}ms] ${t}; ${o?.substr(0,999)}`),s.value=r.join("\n")}}function D(t){window.detectCorruptRestApiFailed=window.detectCorruptRestApiFailed||0,window.addEventListener("pageshow",({persisted:t})=>{const e=document.getElementById(R);e&&t&&0===window.detectCorruptRestApiFailed&&(e.style.display="none")});const e=async()=>{if(window.detectCorruptRestApiFailed>0)for(const e of Object.keys(t))A(e,t[e])};let n;const o=()=>{clearTimeout(n),n=setTimeout(e,1e3)};o(),window.addEventListener(R,o)}const F=D,L={},q={};async function $(t,e){if(void 0!==e){const n=q[t]||new Promise(async(n,o)=>{try{const s=await window.fetch(e,{method:"POST"});if(s.ok){const e=await s.text();t===e?o():(L[t]=e,n(e))}else o()}catch(t){o()}});return q[t]=n,n.finally(()=>{delete q[t]}),n}{if(void 0===t)return;await Promise.all(Object.values(q));let e=t;for(;L[e]&&(e=L[e],L[e]!==t););return Promise.resolve(e)}}async function I(t,e,n){if(204===e.status)return{};const o=e.clone();try{return await e.json()}catch(e){const s=await o.text();if(""===s&&[d.DELETE,d.PUT].indexOf(n)>-1)return;let r;console.warn(`The response of ${t} contains unexpected JSON, try to resolve the JSON line by line...`,{body:s});for(const t of s.split("\n"))if(t.startsWith("[")||t.startsWith("{"))try{return JSON.parse(t)}catch(t){r=t}throw r}}let M=!1;function U(){const t=window.jQuery;return window.wp?.heartbeat&&t?(t(document).trigger("heartbeat-tick",[{"wp-auth-check":!1},"error",null]),M||(M=!0,t(document).ajaxSend((e,n,{url:o,data:s})=>{o?.endsWith("/admin-ajax.php")&&s?.indexOf("action=heartbeat")>-1&&t("#wp-auth-check:visible").length>0&&n.abort()})),new Promise(e=>{const n=setInterval(()=>{0===t("#wp-auth-check:visible").length&&(clearInterval(n),e())},100)})):new Promise(()=>{})}const z="application/json;charset=utf-8";async function G({location:t,options:e,request:n,params:o,settings:s={},cookieValueAsParam:r,multipart:a=!1,sendRestNonce:i=!0,sendReferer:c,replayReason:l,allowBatchRequest:h}){const{href:u}=window.location,p=t.namespace||e.restNamespace,f=y({location:t,params:o,nonce:!1,options:e,cookieValueAsParam:r});["wp-json/","rest_route="].filter(t=>f.indexOf(t)>-1).length>0&&t.method&&t.method!==d.GET?s.method=d.POST:s.method=t.method||d.GET;const m=new URL(f,u),g=-1===["HEAD","GET"].indexOf(s.method);c&&(g?Object.assign(n,{_wp_http_referer:u}):m.searchParams.set("_wp_http_referer",u)),!g&&n&&w(m,[n],!0);const v=m.toString();let O;g&&(a?(O=P()(n,"boolean"==typeof a?{}:a),Array.from(O.values()).filter(t=>t instanceof File).length>0||(O=JSON.stringify(n))):O=JSON.stringify(n));const C=await $(e.restNonce),S=void 0!==C,E=b().all([s,{headers:{..."string"==typeof O?{"Content-Type":z}:{},...S&&i?{"X-WP-Nonce":C}:{},Accept:"application/json, */*;q=0.1"}}],{isMergeableObject:t=>"[object Object]"===Object.prototype.toString.call(t)});if(E.body=O,h&&t.method!==d.GET&&!(O instanceof FormData))return k({method:t.method,path:y({location:t,params:o,nonce:!1,options:{...e,restRoot:"https://a.de/wp-json"},cookieValueAsParam:r}).substring(20),body:n},{...e,signal:s.signal,..."boolean"==typeof h?{}:h});let T,R=!1;const x=()=>{R=!0};window.addEventListener("pagehide",x),window.addEventListener("beforeunload",x);const A=(new Date).getTime();let D;try{T=await window.fetch(v,E),D=(new Date).getTime()-A,_(p)}catch(e){throw D=(new Date).getTime()-A,R||(N({method:t.method,route:m.pathname,ms:D,response:`${e}`}),j(s,p)),console.error(e),e}finally{window.removeEventListener("pagehide",x),window.removeEventListener("beforeunload",x)}if(!T.ok){let r,c,h=!1;try{if(r=await I(v,T,t.method),"private_site"===r.code&&403===T.status&&S&&!i&&(h=!0,c=1),"rest_cookie_invalid_nonce"===r.code&&S){const{restRecreateNonceEndpoint:t}=e;try{h=!0,2===l?(c=4,await U()):c=2,await $(C,t)}catch(t){}}const n=T.headers.get("retry-after");[503,429,301].includes(T.status)&&n?.match(/^\d+$/)&&(h=1e3*+n,c=3)}catch(t){}if(h){const r={location:t,options:e,multipart:a,params:o,request:n,sendRestNonce:!0,settings:s,replayReason:c};return"number"==typeof h?new Promise(t=>setTimeout(()=>G(r).then(t),h)):await G(r)}N({method:t.method,route:m.pathname,ms:D,response:JSON.stringify(r)}),j(s);const u=T;throw u.responseJSON=r,u}return I(v,T,t.method)}function J(t){return{urlBuilder:e=>y({...e,options:{restNamespace:t.restNamespace,restNonce:t.restNonce,restQuery:t.restQuery,restRoot:t.restRoot,restPathObfuscateOffset:t.restPathObfuscateOffset}}),request:e=>G({...e,options:{restNamespace:t.restNamespace,restNonce:t.restNonce,restQuery:t.restQuery,restRoot:t.restRoot,restRecreateNonceEndpoint:t.restRecreateNonceEndpoint,restPathObfuscateOffset:t.restPathObfuscateOffset}})}}const H=d;var B=n(263);const W=wp.i18n,Q=wp;var V=n.n(Q);function X(t,...e){return W.sprintf(t,...e)}function K(t){const{wpi18nLazy:e}=window;if(e&&e[t]&&V()&&V().i18n)for(const n of e[t])V().i18n.setLocaleData(n,t);return{_n:function(e,n,o,...s){return X(W._n(e,n,o,t),...s)},_nx:function(e,n,o,s,...r){return X(W._nx(e,n,s,o,t),...r)},_x:function(e,n,...o){return X(W._x(e,n,t),...o)},__:function(e,...n){return X(W.__(e,t),...n)},_i:function(t,e){return(0,B.A)({mixedString:t,components:e})}}}const Y={path:"/plugin",method:d.GET};var Z=n(490);const tt=mobx;class et{constructor(){this.entries=new Map,this.busy=!1,this.get=(0,tt.flow)(function*(t){const{request:e,params:n,clear:o=!1}=t||{};this.busy=!0;try{const{path:t,namespace:s}=this.annotated,r=yield this.annotated.request({location:{path:t,method:d.GET,namespace:s},request:e,params:n});o&&this.entries.clear();for(const t of r){const e=this.instance(t),n=this.entries.get(e.key);n?n.data=e.data:this.entries.set(e.key,e)}}catch(t){throw console.log(t),t}finally{this.busy=!1}}),this.getSingle=(0,tt.flow)(function*(t){if(!this.annotated.singlePath)throw new Error("There is no getSingle method allowed");const{request:e,params:n}=t||{};this.busy=!0;try{const{singlePath:t,namespace:o}=this.annotated,s=yield this.annotated.request({location:{path:t,method:d.GET,namespace:o},request:e,params:n}),r=this.instance(s);this.entries.set(r.key,r)}catch(t){throw console.log(t),t}finally{this.busy=!1}}),setTimeout(()=>{this.annotated||console.error("You have not used the @ClientCollection.annotate annoation together with this class!")},0)}static{this.annotate=t=>e=>class extends e{constructor(...e){super(...e),this.annotated=t}}}}(0,Z.Cg)([tt.observable],et.prototype,"entries",void 0),(0,Z.Cg)([tt.observable],et.prototype,"busy",void 0);class nt{get key(){return this.data?.[this.annotated.keyId]}constructor(t,e={}){this.data={},this.busy=!1,this.persist=(0,tt.flow)(function*(t,e){if(!this.annotated.create)throw new Error("There is no persist method allowed");this.busy=!0;try{const{create:{path:n,method:o},namespace:s}=this.annotated,r=yield this.annotated.request({location:{path:n,method:o||d.POST,namespace:s},request:this.transformDataForPersist(),params:t||{},...e||{}});this.fromResponse(r),e?.allowBatchRequest||(this.collection.entries.set(this.key,this),this.afterPersist())}catch(t){throw console.log(t),t}finally{this.busy=!1}}),this.patch=(0,tt.flow)(function*(t){if(!this.annotated.patch)throw new Error("There is no patch method allowed");this.busy=!0;try{const{patch:{path:e,method:n},namespace:o}=this.annotated,s=yield this.annotated.request({location:{path:e,method:n||d.PATCH,namespace:o},request:this.transformDataForPatch(),params:{[this.annotated.keyId]:this.key,...t||{}}});this.fromResponse(s),this.afterPatch()}catch(t){throw console.log(t),t}finally{this.busy=!1}}),this.delete=(0,tt.flow)(function*(t,e){if(!this.annotated.delete)throw new Error("There is no delete method allowed");this.busy=!0;try{const{delete:{path:n,method:o},namespace:s}=this.annotated,r=yield this.annotated.request({location:{path:n,method:o||d.DELETE,namespace:s},params:{[this.annotated.keyId]:this.key,...t||{}},...e||{}});return e?.allowBatchRequest||(this.collection.entries.delete(this.key),this.afterDelete()),r}catch(t){throw console.log(t),t}finally{this.busy=!1}}),setTimeout(()=>{this.annotated||console.error("You have not used the @ClientModel.annotate annoation together with this class!")},0),(0,tt.runInAction)(()=>{this.collection=t,this.data=e})}static{this.annotate=t=>e=>class extends e{constructor(...e){super(...e),this.annotated=t}}}fromResponse(t){return(0,tt.set)(this.data,t),this}transformDataForPersist(){return this.data}transformDataForPatch(){throw new Error("If you want to use patch method, you need to implement transformDataForPatch!")}afterPersist(){}afterPatch(){}afterDelete(){}}(0,Z.Cg)([tt.observable,(0,Z.Sn)("design:type",Object)],nt.prototype,"data",void 0),(0,Z.Cg)([tt.observable,(0,Z.Sn)("design:type",Object)],nt.prototype,"collection",void 0),(0,Z.Cg)([tt.observable],nt.prototype,"busy",void 0),(0,Z.Cg)([tt.computed,(0,Z.Sn)("design:type",Object),(0,Z.Sn)("design:paramtypes",[])],nt.prototype,"key",null);class ot extends nt{transformDataForPersist(){const t={...super.transformDataForPersist()};return t.title="string"==typeof t.title?.raw?t.title.raw:t.title?.rendered,t.content="string"==typeof t.content?.raw?t.content.raw:t.content?.rendered,delete t._links,delete t.link,t}transformDataForPatch(){return this.transformDataForPersist()}}class st extends et{}class rt extends nt{transformDataForPersist(){const t={...super.transformDataForPersist()};return delete t._links,delete t.link,t}transformDataForPatch(){return this.transformDataForPersist()}}class at extends et{}const it={path:"/key-value-map/:name/:key",method:d.PATCH};function ct(t,{chunks:e,chunksLanguageFolder:n,textDomain:o,version:s}){const r=e[t.split("?")[0]],a=!!r,[i,c]=(0,l.useState)(!1),h=(0,l.useCallback)(async t=>{const e=window;e.wpi18nLazy=e.wpi18nLazy||{},e.wpi18nLazy.chunkUrls=e.wpi18nLazy.chunkUrls||[];const{chunkUrls:r}=e.wpi18nLazy,i=`${n}${o}-${t}.json`;if(a&&-1===r.indexOf(i)){r.push(i);try{const t=await window.fetch(`${i}?ver=${s}`),{locale_data:{messages:e}}=await t.json();V().i18n.setLocaleData(e,o)}catch{}}},[n,o]);return(0,l.useEffect)(()=>{a?Promise.all(r.map(h)).then(()=>{c(!0)}):c(!0)},[a,h]),i}const lt=({children:t,chunkFile:e,fallback:n,options:o})=>{const s=ct(e,o());return(0,c.jsx)(c.Fragment,{children:s?t:n})},ht={};function ut(t,e){const n=window[t.replace(/-([a-z])/g,t=>t[1].toUpperCase())],o=ht[t];if(!n){if(o)return window[o];for(const e in window)if(!["sharedStorage"].includes(e))try{const n=window[e];if(n?.textDomain===t)return ht[t]=e,n}catch(t){}if(e){const{makeBase64Encoded:n,lazyParse:o=()=>{}}=e,s=Math.random().toString(36),r=function(t,e){return n.indexOf(t)>-1&&"string"==typeof e&&e.startsWith("base64-encoded:")?window.atob(e.substr(15)):e},a=(t,e)=>new Proxy(t,{get(t,n){let o=Reflect.get(t,n);return n===e&&"string"==typeof o&&(o=JSON.parse(o,r),Reflect.set(t,n,o)),o}}),i=document.querySelectorAll('script[type="application/json"][id^="a"][id$="1-js-extra"]');try{for(const e of i){const n=e.innerHTML,i=JSON.parse(n,r);if(i.textDomain===t)return window[s]=i,ht[t]=s,o&&o(i,(t,e,n)=>{try{const o=t[e]?.[n];"string"==typeof o&&(window.Proxy?t[e]=a(t[e],n):t[e][n]=JSON.parse(o,r))}catch(t){}}),i}}catch(t){}}}return n}},594:t=>{t.exports=React}},n={};function o(t){var s=n[t];if(void 0!==s)return s.exports;var r=n[t]={exports:{}};return e[t].call(r.exports,r,r.exports,o),r.exports}o.m=e,t=[],o.O=(e,n,s,r)=>{if(!n){var a=1/0;for(h=0;h<t.length;h++){for(var[n,s,r]=t[h],i=!0,c=0;c<n.length;c++)(!1&r||a>=r)&&Object.keys(o.O).every(t=>o.O[t](n[c]))?n.splice(c--,1):(i=!1,r<a&&(a=r));if(i){t.splice(h--,1);var l=s();void 0!==l&&(e=l)}}return e}r=r||0;for(var h=t.length;h>0&&t[h-1][2]>r;h--)t[h]=t[h-1];t[h]=[n,s,r]},o.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return o.d(e,{a:e}),e},o.d=(t,e)=>{for(var n in e)o.o(e,n)&&!o.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},o.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),o.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},(()=>{var t={57:0};o.O.j=e=>0===t[e];var e=(e,n)=>{var s,r,[a,i,c]=n,l=0;if(a.some(e=>0!==t[e])){for(s in i)o.o(i,s)&&(o.m[s]=i[s]);if(c)var h=c(o)}for(e&&e(n);l<a.length;l++)r=a[l],o.o(t,r)&&t[r]&&t[r][0](),t[r]=0;return o.O(h)},n=self.webpackChunkdevowlWp_utils=self.webpackChunkdevowlWp_utils||[];n.forEach(e.bind(null,0)),n.push=e.bind(null,n.push.bind(n))})();var s=o.O(void 0,[26],()=>o(403));s=o.O(s),devowlWp_utils=s})();
     2//# sourceMappingURL=https://sourcemap.devowl.io/real-category-library/4.2.69/c0009f4149707e7f0953baad9a53f916/index.js.map
  • real-category-library-lite/tags/4.2.69/vendor/devowl-wp/utils/package.json

    r3454640 r3491846  
    11{
    22    "name": "@devowl-wp/utils",
    3     "version": "1.20.13",
     3    "version": "1.20.18",
    44    "private": true,
    55    "description": "Utility functionality for all your WordPress plugins.",
  • real-category-library-lite/tags/4.2.69/vendor/devowl-wp/utils/src/Assets.php

    r3454640 r3491846  
    9898     * @param string[] $features See $ADVANCED_ENQUEUE_FEATURE_* constants or `null` for all features
    9999     * @param string $type Can be `script` or `style`
    100      */
    101     public function enableAdvancedEnqueue($handles, $features = null, $type = 'script')
     100     * @param string[] $preloadChunks Chunks to preload by name
     101     */
     102    public function enableAdvancedEnqueue($handles, $features = null, $type = 'script', $preloadChunks = [])
    102103    {
    103104        $handles = \is_array($handles) ? $handles : [$handles];
     
    114115        }
    115116        if ($features === null || \in_array(Constants::ASSETS_ADVANCED_ENQUEUE_FEATURE_PRELOADING, $features, \true)) {
    116             $this->enablePreloadEnqueue($handles, $type);
     117            $this->enablePreloadEnqueue($handles, $type, $preloadChunks);
    117118        }
    118119        if ($features === null || \in_array(Constants::ASSETS_ADVANCED_ENQUEUE_FEATURE_PRIORITY_QUEUE, $features, \true)) {
     
    179180     * @param string|string[] $handles
    180181     * @param string $type Can be `script` or `style`
     182     * @param string[] $preloadChunks Chunks to preload by name
    181183     * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Preloading_content
    182184     */
    183     public function enablePreloadEnqueue($handles, $type = 'script')
    184     {
     185    public function enablePreloadEnqueue($handles, $type = 'script', $preloadChunks = [])
     186    {
     187        static $preloadedChunks = [];
    185188        $handles = \is_array($handles) ? $handles : [$handles];
    186189        $wp_dependencies = $type === 'script' ? \wp_scripts() : \wp_styles();
     
    188191            $this->handleToFeatures[$handle] = \array_merge($this->handleToFeatures[$handle] ?? [], [Constants::ASSETS_ADVANCED_ENQUEUE_FEATURE_PRELOADING]);
    189192        }
    190         \add_action('wp_head', function () use($handles, $type, $wp_dependencies) {
     193        \add_action('wp_head', function () use($handles, $type, $wp_dependencies, $preloadChunks, &$preloadedChunks) {
    191194            foreach ($handles as $handle) {
    192195                $script = $wp_dependencies->query($handle);
     
    203206                    \printf('<link rel="preload" href="%s" as="%s" />
    204207', \esc_url($src), $type);
     208                    // Add chunk preloads if desired
     209                    $chunks = $wp_dependencies->get_data($handle, 'chunks');
     210                    if ($chunks) {
     211                        foreach ($chunks as $chunkName => $chunkUrl) {
     212                            if (!\in_array($chunkName, $preloadChunks, \true) || \in_array($chunkUrl, $preloadedChunks, \true)) {
     213                                continue;
     214                            }
     215                            $chunkUrl = \apply_filters('script_loader_src', $chunkUrl, $handle);
     216                            $preloadedChunks[] = $chunkUrl;
     217                            \printf('<link rel="preload" href="%s" as="%s" />
     218', \esc_url($chunkUrl), 'script');
     219                        }
     220                    }
    205221                }
    206222            }
     
    258274        }
    259275        return (object) $result;
     276    }
     277    /**
     278     * Get a map of all entry chunks manifests for all entry points.
     279     */
     280    public function getChunkEntryChunksManifest()
     281    {
     282        $path = \trailingslashit($this->getPluginConstant(Constants::PLUGIN_CONST_PATH));
     283        static $chunkEntryChunksManifest = null;
     284        if ($chunkEntryChunksManifest === null) {
     285            $chunkEntryChunksManifest = [];
     286            $chunkEntryChunksManifestFiles = \glob($path . $this->getPublicFolder() . '*-entry-chunks-manifest.json');
     287            if ($chunkEntryChunksManifestFiles !== \false) {
     288                foreach ($chunkEntryChunksManifestFiles as $chunkEntryChunksManifestFile) {
     289                    $decoded = \json_decode(\file_get_contents($chunkEntryChunksManifestFile), ARRAY_A);
     290                    if (\is_array($decoded)) {
     291                        $chunkEntryChunksManifest = \array_merge($chunkEntryChunksManifest, $decoded);
     292                    }
     293                }
     294            }
     295        }
     296        return $chunkEntryChunksManifest ?? [];
    260297    }
    261298    /**
     
    418455                    if (!$isLib) {
    419456                        $this->setLazyScriptTranslations($useHandle, $this->getPluginConstant(Constants::PLUGIN_CONST_TEXT_DOMAIN), \trailingslashit($this->getPluginConstant(Constants::PLUGIN_CONST_PATH)) . Constants::LOCALIZATION_PUBLIC_JSON_I18N);
     457                        // Add data about the available chunks for this entry point
     458                        $chunkEntryChunksManifest = $this->getChunkEntryChunksManifest()[\basename($useSrc)] ?? [];
     459                        if (\count($chunkEntryChunksManifest) > 0) {
     460                            $resolvedUrls = [];
     461                            foreach ($chunkEntryChunksManifest as $chunkName => $chunks) {
     462                                foreach ($chunks as $chunk) {
     463                                    // Can be e. g. `banner_tcf-pro-banner-lazy.pro.js?ver=cc803dc7507dbd12` or a `.css` file
     464                                    if (\strpos($chunk, '.js') !== \false) {
     465                                        $resolvedUrls[$chunkName] = \plugins_url($publicFolder . $chunk, $this->getPluginConstant(Constants::PLUGIN_CONST_FILE));
     466                                        break;
     467                                        // Only keep the first .js file per chunk name
     468                                    }
     469                                }
     470                            }
     471                            \wp_script_add_data($useHandle, 'chunks', $resolvedUrls);
     472                        }
    420473                    }
    421474                } else {
  • real-category-library-lite/tags/4.2.69/vendor/devowl-wp/utils/src/FixInvalidJsonInDb.php

    r3288243 r3491846  
    114114            }
    115115            if ($changed) {
    116                 return $check;
     116                return $single ? [$check] : $check;
    117117            }
    118118        }
  • real-category-library-lite/trunk/CHANGELOG.md

    r3454640 r3491846  
    33All notable changes to this project will be documented in this file.
    44See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
     5
     6## 4.2.69 (2026-03-26)
     7
     8
     9### Maintenance
     10
     11* compatibility with WordPress 7.0 (CU-869ck49rt)
     12
     13
     14<details><summary>Dependency updates @devowl-wp/real-product-manager-wp-client 1.20.18</summary>
     15
     16
     17**_Purpose of dependency:_** _A WordPress client for Real Product Manager_
     18##### Bug Fixes
     19
     20* prevent wrong multisite license target selection with WP_SITEURL (CU-869chrw97)</details>
     21
     22<details><summary>Dependency updates @devowl-wp/utils 1.20.18</summary>
     23
     24
     25**_Purpose of dependency:_** _Utility functionality for all your WordPress plugins._
     26##### Bug Fixes
     27
     28* compatibility with WP Travel Engine (CU-869ccgymq)
     29* prevent Google PageSpeed Insights warnings by excluding deprecated APIs (CU-869cbmc6b)
     30
     31
     32##### Performance Improvements
     33
     34* preload chunks and not wait for resources before rendering the cookie banner to improve Google PageSpeed Insights score (CU-869ccahh5)</details>
     35
     36<details><summary>Development dependency update @devowl-wp/api 1.8.0</summary>
     37
     38
     39**_Purpose of dependency:_** _Shared typings for all Node.js backends and frontends._
     40##### Bug Fixes
     41
     42* flaky tests (CU-8699ywv2h)
     43
     44
     45##### Code Refactoring
     46
     47* enhance translatable properties schema with refinable structure (CU-869c8thkx)
     48
     49
     50##### Features
     51
     52* add versionless contracts,  interpolated params and fix GET request ContentType (CU-8699ywv2h)
     53* implement cursor-based pagination for orders retrieval and add reusable pagination metadata schema (CU-869c8thkx)</details>
     54
     55<details><summary>Development dependency update @devowl-wp/continuous-integration 0.8.1</summary>
     56
     57
     58**_Purpose of dependency:_** _DevOps macros, job templates and jobs for Gitlab CI and @devowl-wp/node-gitlab-ci._
     59##### Maintenance
     60
     61* correctly use peer dependencies (CU-8699tgzbd)
     62* introduce complyforce-proxy with OVHcloud storage (CU-8699tgzbd)</details>
     63
     64<details><summary>Development dependency update @devowl-wp/eslint-config 0.2.23</summary>
     65
     66
     67**_Purpose of dependency:_** _Provide eslint configuration for our complete monorepo._
     68##### Performance Improvements
     69
     70* improve CPU/memory usage in development environment (CU-869cjmbyz)</details>
     71
     72<details><summary>Development dependency update @devowl-wp/monorepo-utils 0.2.25</summary>
     73
     74
     75**_Purpose of dependency:_** _Predefined monorepo utilities and tasks._
     76##### Bug Fixes
     77
     78* changelog dependencies were not processed correctly and broke (CU-869ckaf4m)</details>
     79
     80<details><summary>Development dependency update @devowl-wp/ts-config 0.1.20</summary>
     81
     82
     83**_Purpose of dependency:_** _Predefined compiler options for our backends._
     84##### Code Refactoring
     85
     86* make backend package more side-effect-free, concurrent-aware and allow to regsiter shutdown callbacks (CU-869cb1mbz)</details>
     87
     88<details><summary>Development dependency update @devowl-wp/webpack-config 0.2.55</summary>
     89
     90
     91**_Purpose of dependency:_** _Webpack config builder for multiple ecosystems like standalone React frontends, Antd, Preact and WordPress._
     92##### Performance Improvements
     93
     94* preload chunks and not wait for resources before rendering the cookie banner to improve Google PageSpeed Insights score (CU-869ccahh5)</details>
     95
     96
     97
     98
     99
     100## 4.2.68 (2026-03-18) (not released)
     101
     102**Note:** This version of the package has not (yet) been released publicly. This happens if changes have been made in dependencies that do not affect this package (e.g. changes for the development of the package). The changes will be rolled out with the next official update.
     103
     104**Note:** This package (@devowl-wp/real-category-library) has been updated because a dependency, which is also shipped with this package, has changed.
     105
     106
     107
     108
     109
     110
     111## 4.2.67 (2026-03-04) (not released)
     112
     113**Note:** This version of the package has not (yet) been released publicly. This happens if changes have been made in dependencies that do not affect this package (e.g. changes for the development of the package). The changes will be rolled out with the next official update.
     114
     115**Note:** This package (@devowl-wp/real-category-library) has been updated because a dependency, which is also shipped with this package, has changed.
     116
     117
     118
     119
     120
     121
     122## 4.2.66 (2026-02-24) (not released)
     123
     124**Note:** This version of the package has not (yet) been released publicly. This happens if changes have been made in dependencies that do not affect this package (e.g. changes for the development of the package). The changes will be rolled out with the next official update.
     125
     126**Note:** This package (@devowl-wp/real-category-library) has been updated because a dependency, which is also shipped with this package, has changed.
     127
     128
     129<details><summary>Development dependency update @devowl-wp/continuous-localization 0.8.34</summary>
     130
     131
     132**_Purpose of dependency:_** _Provide a CLI to push and pull localization files from different translation management systems._
     133##### Bug Fixes
     134
     135* add compatibilityJSON v4 flag to i18next conversion commands to correctly create plural form in POT file (CU-869bu5atn)
     136* correctly set msgstr for generate POT file from i18next JSON (CU-869bu5atn)</details>
     137
     138
     139
     140
     141
     142## 4.2.65 (2026-02-11) (not released)
     143
     144**Note:** This version of the package has not (yet) been released publicly. This happens if changes have been made in dependencies that do not affect this package (e.g. changes for the development of the package). The changes will be rolled out with the next official update.
     145
     146**Note:** This package (@devowl-wp/real-category-library) has been updated because a dependency, which is also shipped with this package, has changed.
     147
     148
     149<details><summary>Development dependency update @devowl-wp/api 1.6.4</summary>
     150
     151
     152**_Purpose of dependency:_** _Shared typings for all Node.js backends and frontends._
     153##### Bug Fixes
     154
     155* flatten Zod issues when request body, params and headers are parsed (CU-869bdvdfh)
     156* update OpenAPI requestBody to indicate required status based on schema (CU-869bdvdfh)</details>
     157
     158<details><summary>Development dependency update @devowl-wp/continuous-integration 0.8.0</summary>
     159
     160
     161**_Purpose of dependency:_** _DevOps macros, job templates and jobs for Gitlab CI and @devowl-wp/node-gitlab-ci._
     162##### Build System
     163
     164* automatically generate OpenAPI SDK for PHP and TypeScript (CU-869bdvdfh)
     165
     166
     167##### Features
     168
     169* add support for Postman collection publishing (CU-869bdvdfh)</details>
     170
     171<details><summary>Development dependency update @devowl-wp/continuous-localization 0.8.33</summary>
     172
     173
     174**_Purpose of dependency:_** _Provide a CLI to push and pull localization files from different translation management systems._
     175##### Build System
     176
     177* set defaultValue to an empty string in i18next extraction config (CU-869bu5atn)</details>
     178
     179<details><summary>Development dependency update @devowl-wp/eslint-config 0.2.22</summary>
     180
     181
     182**_Purpose of dependency:_** _Provide eslint configuration for our complete monorepo._
     183##### Build System
     184
     185* automatically generate OpenAPI SDK for PHP and TypeScript (CU-869bdvdfh)</details>
     186
     187
     188
     189
    5190
    6191## 4.2.64 (2026-02-05)
  • real-category-library-lite/trunk/README.txt

    r3454640 r3491846  
    22Contributors: devowl, mguenter, jankarres
    33Tags: categories folders, content folders, content management, category management, category library, page folders, page management, post category, post folders, post management, page category, woocommerce folders, woocommerce category, learnpress folders, woocommerce category, bbPress folders, bbPress category, custom post type folders, custom post type management, custom post type category
    4 Stable tag: 4.2.64
     4Stable tag: 4.2.69
    55Requires at least: 5.9
    66Requires PHP: 7.4.0
    7 Tested up to: 6.9
     7Tested up to: 7.0
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.en.html
  • real-category-library-lite/trunk/inc/base/others/cachebuster-lib.php

    r3454640 r3491846  
    11<?php
    2 // Cachebusters generated on 2026-02-05 12:53:13
     2// Cachebusters generated on 2026-03-26 11:02:27
    33return [
    44    '@ant-design/icons' => '5.3.7',
  • real-category-library-lite/trunk/inc/base/others/cachebuster.php

    r3454640 r3491846  
    11<?php
    2 // Cachebusters generated on 2026-02-05 12:53:28
     2// Cachebusters generated on 2026-03-26 11:02:59
    33return [
    44    'src/public/dist/admin.css'=> 'c2ad85dfbb30ff87afc9e38570b39df1',
    5     'src/public/dist/admin.css.map'=> '89d40d92b6e305ac46437df88479f06f',
     5    'src/public/dist/admin.css.map'=> '16fef61a47f4d38f19cd8cfd34bfc661',
    66    'src/public/dist/admin.lite.js'=> '19751af516eaf4de11a2d37db8d3ed0b',
    7     'src/public/dist/admin.lite.js.map'=> 'cae1cad2010446dffdfb0d9681494f34',
     7    'src/public/dist/admin.lite.js.map'=> 'a5b42a72b1345d9d978c0d77777899bf',
    88    'src/public/dist/admin.lite.js.pot'=> '5922310bf7c28f1408c41c22fdc0b6fa',
    99    'src/public/dist/admin.pro.js'=> 'bce60728d1574e7653174688b941b637',
    10     'src/public/dist/admin.pro.js.map'=> 'dbf3ded163e9de20a7e45123b60d4211',
     10    'src/public/dist/admin.pro.js.map'=> '0379e2d0b93ae2c34db1f9f077248038',
    1111    'src/public/dist/admin.pro.js.pot'=> '662cc7f54e518a03b97feb8f9e43f6da',
    1212    'src/public/dist/i18n-dependency-map-default-lite.json'=> '99914b932bd37a50b983c5e7c90ae93b',
    1313    'src/public/dist/i18n-dependency-map-default-pro.json'=> '99914b932bd37a50b983c5e7c90ae93b',
    1414    'src/public/dist/options.css'=> '6776e55c71abe65fefc05ecaff08b611',
    15     'src/public/dist/options.css.map'=> '6458242f14b643b17f871400b0e1435a',
     15    'src/public/dist/options.css.map'=> '6cbceacd76b2d2e53642d01017b84b26',
    1616    'src/public/dist/options.lite.js'=> 'dc67e8149cc9c870b60134ba82675deb',
    1717    'src/public/dist/options.lite.js.map'=> 'c077861a1074a2855212ab4027da7804',
  • real-category-library-lite/trunk/index.php

    r3454640 r3491846  
    99 * Author:          devowl.io
    1010 * Author URI:      https://devowl.io
    11  * Version:                                                                                                      4.2.64
     11 * Version:                                                                                                           4.2.69
    1212 * Text Domain:     real-category-library
    1313 * Domain Path:     /languages
  • real-category-library-lite/trunk/languages/meta.json

    r3454640 r3491846  
    11{
    22  "translations": {
    3     "ru_RU": "2596949906b9232578408ae3b4581719",
     3    "es_DO": "4340d0a4ece81e7cbff3eea708bacf73",
     4    "es_UY": "0a71a6e5c7d0c2598773bfd57c966f58",
     5    "fr_FR": "c563c0dc541af05e6d18ad8b831ad3cc",
     6    "nl_NL_formal": "f3d668c79316d8a261baeb1453b31aba",
     7    "fi": "c9175d18012c2a0e86ed6881326f9ce0",
     8    "fr_BE": "83e57e20d14c59f6fb6183c9fa357d98",
     9    "fr_CA": "67c78d84617c2dae580948f48538f464",
     10    "uk": "4eaa26484403da1662fac571d504f21f",
    411    "cs_CZ": "321931298eaaebe2e2d9d02ed9d1c3df",
     12    "de_CH": "86e8d5fa42125875047bf5d626709863",
    513    "de_CH_informal": "7f14685dc2d60fad8bbbdc2df5fb5d63",
    6     "es_DO": "4340d0a4ece81e7cbff3eea708bacf73",
    7     "es_GT": "39cec0ed48325b34c64883847cf87055",
     14    "es_ES": "c42773cc6dd40a4e7db93532484e7ab8",
     15    "es_MX": "0ce891f76a9d41fb67fad557fdb9a711",
     16    "hu_HU": "095ac3c75d3e8698e427d7d8a06c45a2",
     17    "nl_BE": "f03dce248b84de846f2c4636162b2a9c",
     18    "ro_RO": "ff82b71127bb00369ddd38fe81a463d1",
    819    "es_PE": "1673e4439a31984fdf4cd331c20e11f8",
    9     "fi": "c9175d18012c2a0e86ed6881326f9ce0",
    10     "uk": "4eaa26484403da1662fac571d504f21f",
    11     "es_CO": "44040f37274094a38dfe9ae6010a9caa",
    12     "es_VE": "5487e6245bd6b108f6a1db0b57bda412",
    13     "ro_RO": "ff82b71127bb00369ddd38fe81a463d1",
    14     "fr_FR": "c563c0dc541af05e6d18ad8b831ad3cc",
    15     "sl_SI": "c10b76d846a7e7094324a707d43ccc56",
    16     "de_AT": "d9ef74d2317b2fd2bd3559fac999fbd4",
    17     "de_CH": "86e8d5fa42125875047bf5d626709863",
     20    "nb_NO": "3645c5261fe77b8c5f6af86823e7ca9a",
     21    "nl_NL": "fc0b051b9bda4d8641a0cf73e947e1f6",
     22    "pt_PT": "2aff014fa1c9f1052b0befeff854acdd",
     23    "sk_SK": "f08e1418362d40b02134c33660348574",
     24    "sv_SE": "8dd75a2e2250fa3ba77a82103007290b",
     25    "es_EC": "af52baf3aebe537fa8e0f46b35eb7048",
    1826    "de_DE_formal": "1ad593eb36580a30bbb81c14bf556cc8",
    19     "es_AR": "b7697d36eeaaf8509bde7faf3a1a722b",
    20     "fr_BE": "83e57e20d14c59f6fb6183c9fa357d98",
    21     "it_IT": "37850086c9aff7f7027b00dc363f163f",
    22     "da_DK": "46d972a5b443c54a9ca123eda67ffcdf",
     27    "es_PR": "59d7ea6812d2b12aae18853ed6b86f1a",
     28    "hr": "b6fdc1d92333d6516711a44b2f02992f",
     29    "de_DE": "c196cad118c5fefea6b620c686afe015",
    2330    "el": "82b4c5bb95a3a87fbf3b165e24add4d7",
    2431    "es_CL": "00e0f7d23344a4ac165b32bd8977dce7",
     32    "es_GT": "39cec0ed48325b34c64883847cf87055",
     33    "pl_PL": "1aba0c1ee094db7fdc584873a19fc0c1",
     34    "da_DK": "46d972a5b443c54a9ca123eda67ffcdf",
     35    "de_AT": "d9ef74d2317b2fd2bd3559fac999fbd4",
     36    "es_CO": "44040f37274094a38dfe9ae6010a9caa",
    2537    "es_CR": "ccecdcdbd7864db66a430e85895ea707",
    26     "hu_HU": "095ac3c75d3e8698e427d7d8a06c45a2",
    27     "nl_NL_formal": "f3d668c79316d8a261baeb1453b31aba",
    28     "sk_SK": "f08e1418362d40b02134c33660348574",
    29     "es_PR": "59d7ea6812d2b12aae18853ed6b86f1a",
    30     "nl_BE": "f03dce248b84de846f2c4636162b2a9c",
    31     "nl_NL": "fc0b051b9bda4d8641a0cf73e947e1f6",
    32     "pl_PL": "1aba0c1ee094db7fdc584873a19fc0c1",
    33     "sv_SE": "8dd75a2e2250fa3ba77a82103007290b",
    34     "es_EC": "af52baf3aebe537fa8e0f46b35eb7048",
    35     "es_ES": "c42773cc6dd40a4e7db93532484e7ab8",
    36     "nb_NO": "3645c5261fe77b8c5f6af86823e7ca9a",
     38    "es_VE": "5487e6245bd6b108f6a1db0b57bda412",
    3739    "pt_BR": "e085e643605c76414d7977f4254b2f6e",
    38     "pt_PT": "2aff014fa1c9f1052b0befeff854acdd",
    39     "de_DE": "c196cad118c5fefea6b620c686afe015",
    40     "es_MX": "0ce891f76a9d41fb67fad557fdb9a711",
    41     "es_UY": "0a71a6e5c7d0c2598773bfd57c966f58",
    42     "fr_CA": "67c78d84617c2dae580948f48538f464",
    43     "hr": "b6fdc1d92333d6516711a44b2f02992f"
     40    "sl_SI": "c10b76d846a7e7094324a707d43ccc56",
     41    "es_AR": "b7697d36eeaaf8509bde7faf3a1a722b",
     42    "it_IT": "37850086c9aff7f7027b00dc363f163f",
     43    "ru_RU": "2596949906b9232578408ae3b4581719"
    4444  },
    4545  "zipFiles": {
  • real-category-library-lite/trunk/public/dist/admin.css

    r3454640 r3491846  
    11body.modal-open .rcl-antd-modal-root{display:none!important}.rcl-antd-app a:not(.button):not(.nav-tab):not(.page-title-action){-webkit-text-decoration:underline;text-decoration:underline}.rcl-antd-dropdown,.rcl-antd-dropdown-menu-submenu-popup,.rcl-antd-image-preview-mask,.rcl-antd-image-preview-wrap,.rcl-antd-message,.rcl-antd-select-dropdown{z-index:105000000!important}.rcl-antd-modal-mask,.rcl-antd-modal-wrap{z-index:99999999!important}.rcl-antd-tooltip{z-index:100000079!important}.rcl-antd-tooltip a{color:inherit!important;-webkit-text-decoration:underline;text-decoration:underline}.rcl-antd-popover{z-index:100000029!important}.rcl-antd-checkbox-input{margin-top:0!important}.rcl-antd-card:not(.rcl-antd-card-bordered){box-shadow:none!important}.rcl-antd-table table{margin:0!important}.rcl-antd-tabs-tabpane-no-margin{margin:0!important;padding:0!important}.rcl-antd-space-compact.rcl-antd-select-addon{display:flex}.rcl-antd-space-compact.rcl-antd-select-addon .rcl-antd-input-group-wrapper{flex:0}.rcl-antd-space-compact.rcl-antd-select-addon .rcl-antd-input{width:0;padding-left:0!important;padding-right:0!important}.rcl-antd-space-compact.rcl-antd-select-addon .rcl-antd-select{flex:1}.rcl-antd-space-compact.rcl-antd-select-addon .rcl-antd-select-selector{border-left:0}.rcl-antd-space-compact.rcl-antd-select-addon .rcl-antd-select-multiple .rcl-antd-select-selector{padding-top:0!important;padding-bottom:0!important}.rcl-antd-radio-disabled>input{opacity:0!important}.rcl-antd-radio-button-wrapper input[type=radio]{opacity:0!important}.rcl-antd-radio-button-card>label{height:auto!important;padding:0;border-radius:0!important;margin:0 5px 5px 0!important}.rcl-antd-radio-button-card>label .rcl-antd-card{background:rgba(0,0,0,0)}.rcl-antd-radio-button-card>label .rcl-antd-card .rcl-antd-card-cover{margin:5px}.rcl-antd-radio-button-card>label.rcl-antd-radio-button-wrapper-checked:not(.rcl-antd-radio-button-wrapper-disabled) .rcl-antd-card-meta-description,.rcl-antd-radio-button-card>label.rcl-antd-radio-button-wrapper-checked:not(.rcl-antd-radio-button-wrapper-disabled) .rcl-antd-card-meta-title{color:#fff}.rcl-antd-form-sticky-submit{position:sticky;bottom:0;background:#f1f1f1;border-top:1px solid #d2b798;margin-top:10px;padding:20px 0;z-index:4}.rcl-antd-modal-root .rcl-antd-form-sticky-submit{background:#fff;margin-bottom:0}.rcl-antd-modal-root .rcl-antd-modal-confirm-body:not(:has(>[role=img])) .rcl-antd-modal-confirm-paragraph{max-width:none;max-width:initial}.rcl-antd-hero-modal{text-align:center}.rcl-antd-hero-modal .rcl-antd-modal-footer{text-align:center}.rcl-antd-hero-modal .rcl-antd-modal-body{padding:0 24px}.rcl-antd-hero-modal .rcl-antd-modal-body img{max-width:90%;max-height:500px;height:auto}.rcl-antd-modal-mount{position:relative;width:100%;background-repeat:no-repeat;background-size:100% auto;background-position:center center}.rcl-antd-modal-mount .rcl-antd-modal-mask,.rcl-antd-modal-mount .rcl-antd-modal-wrap{position:absolute;z-index:auto;z-index:initial}.rcl-antd-modal-mount .rcl-antd-modal-mask{background:0 0}.rcl-antd-modal-mount .rcl-antd-modal-close,.rcl-antd-modal-mount .rcl-antd-modal-footer>button:not(.rcl-antd-btn-primary){display:none!important}.rcl-antd-template-card{width:210px;display:inline-block;padding:10px;margin:5px;vertical-align:top}.rcl-antd-template-card .rcl-antd-card-cover{height:173px;display:flex;align-items:center;justify-content:center}.rcl-antd-template-card .rcl-antd-card-body{padding:20px 5px 10px}.rcl-antd-template-card .rcl-antd-ribbon.rcl-antd-ribbon-placement-end{right:-18px;border:1px solid #fff;box-sizing:content-box}.rcl-antd-template-card .rcl-antd-card-meta-description{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.rcl-antd-template-card .rcl-antd-card-actions{margin-top:10px!important}.rcl-antd-template-card .rcl-antd-card-actions a{-webkit-text-decoration:underline;text-decoration:underline}.rcl-antd-space-vertical{width:100%}.rcl-antd-tabs-nav::before{border-color:#e2e2e2!important}.rcl-antd-select.rcl-antd-select-ellipses-left .rcl-antd-select-selection-item{direction:rtl}.rcl-antd-image-preview-operations{top:32px}.rcl-antd-input{padding:4px 11px!important;line-height:1.5715!important;min-height:auto!important;box-shadow:none!important;border-radius:2px!important;border:1px solid #d9d9d9!important;outline:0!important}.rcl-antd-list-item{background:#fff;padding:15px!important}.rcl-antd-list-item .rcl-antd-badge-count{min-width:9px}.rcl-antd-list-item .rcl-antd-list-item-meta-content{width:auto!important}.rcl-antd-pagination>li{margin-bottom:0!important}.aiot-tree{display:block;position:relative;box-sizing:border-box;transition:opacity .5s ease;opacity:1}.aiot-tree.aiot-wrap-collapse{width:0!important;min-width:0!important}.aiot-tree.aiot-wrap-collapse .aiot-pad>:not(.aiot-split){visibility:hidden}.aiot-tree.aiot-wrap-collapse .aiot-split-collapse:after{content:""}.aiot-tree .clear{clear:both}.aiot-tree .aiot-pad{padding:10px 15px 0 0;margin:0}.aiot-tree .aiot-split-collapse,.aiot-tree .aiot-split-resizer{position:absolute;right:-9px;top:18px;width:16px;height:30px;background:#d6d6d6;border-radius:15px 15px 0 0;cursor:col-resize;touch-action:none}.aiot-tree .aiot-split-collapse:after,.aiot-tree .aiot-split-resizer:after{content:"";font-family:anticon!important;color:#f1f1f1;position:absolute;top:7px;left:-2px;font-size:19px}.aiot-tree .aiot-split-resizer:after{transform:rotate(90deg)}.aiot-tree .aiot-split-collapse{top:49px;border-radius:0 0 15px 15px;cursor:pointer;height:17px}.aiot-tree .aiot-split-collapse:after{content:"";font-size:9px;left:3.5px;top:4px;line-height:9px}.aiot-tree .aiot-toolbar-placeholder{float:left;font-size:15px;padding:5px 4px}.aiot-tree .aiot-toolbar{position:relative;box-sizing:border-box;margin:12px 0 0;padding:12px 15px;width:100%;box-shadow:0 1px 1px rgba(0,0,0,.04);border:1px solid #e5e5e5;background:#fff;color:#555;font-size:13px}.aiot-tree .aiot-toolbar-items{float:right;font-size:15px}.aiot-tree .aiot-toolbar-items>a{padding:4px 3px;display:block!important;float:left;color:#b4b9be;text-align:center;-webkit-text-decoration:none;text-decoration:none;cursor:pointer;font-size:18px}.aiot-tree .aiot-toolbar-items>a:hover{color:#00008b}.aiot-tree .aiot-toolbar-items>a.aiot-border-left{border-left:1px solid #e5e5e5;padding-left:5px;margin-left:5px}.aiot-tree .aiot-fixed-header>div{background:#f1f1f1;z-index:1;border-radius:0 0 5px 5px;overflow:hidden;transition:box-shadow .5s ease}.aiot-tree .aiot-fixed-header .aiot-tree-headline{transition:padding 250ms ease}.aiot-tree .aiot-fixed-header.active>div{box-shadow:0 0 5px -5px #f1f1f1,0 3px 10px 1px rgba(0,0,0,.22)}.aiot-tree .aiot-fixed-header.active>div .aiot-tree-headline{padding-left:5px}.aiot-tree .aiot-fixed-header.active>div .aiot-toolbar{border-color:#fff}.aiot-tree .aiot-search{margin:5px 0 5px 7px;height:24px}.aiot-tree .aiot-nodes{padding-top:5px}.aiot-tree .aiot-nodes .aiot-search-selected:before{content:"";display:block;position:absolute;top:0;left:3px;right:0;bottom:0;box-shadow:0 0 2px 1px #0073aa!important;background:rgba(0,115,170,.1);z-index:999}.aiot-tree .aiot-nodes ul{display:block;margin:0;padding:0;list-style:none;position:relative}.aiot-tree .aiot-nodes ul ul{margin:0 0 0 20px}.aiot-tree .aiot-nodes ul li{display:block;margin:0;padding:0;position:relative}.aiot-tree .aiot-nodes ul:after{content:"";position:absolute;top:20px;left:14px;bottom:12px;border-right:1px solid #ddd;border-left:1px solid #fafafa;transition:border .2s ease-out;width:0;z-index:-2}.aiot-tree .aiot-nodes ul.aiot-disable-links .aiot-node:not(.aiot-forceEnable){opacity:.7;cursor:not-allowed!important}.aiot-tree .aiot-nodes .aiot-node{-webkit-text-decoration:none;text-decoration:none;display:block;padding:4px 10px;box-shadow:none!important;transition:250ms background ease;position:relative;cursor:pointer;color:#0073aa}.aiot-tree .aiot-nodes .aiot-node.aiot-state-hover{background:0 0}.aiot-tree .aiot-nodes .aiot-node.aiot-state-hover:before{position:absolute;left:4px;right:0;bottom:0;top:0;box-shadow:0 0 5px #0073aa!important;border:1px solid #0073aa;z-index:99;clear:both;content:"";display:block}.aiot-tree .aiot-nodes .aiot-node:after{clear:both;content:"";display:block}.aiot-tree .aiot-nodes .aiot-node>div{float:left}.aiot-tree .aiot-nodes .aiot-node .aiot-node-icon{width:20px}.aiot-tree .aiot-nodes .aiot-node .aiot-node-icon>i{background:#fff;border-top:3px solid #fff;border-bottom:3px solid #fff}.aiot-tree .aiot-nodes .aiot-node.aiot-checkable .aiot-node-icon>label{display:none}.aiot-tree .aiot-nodes .aiot-node.aiot-checkable .aiot-node-icon>label .ant-checkbox-inner{width:13px;height:13px}.aiot-tree .aiot-nodes .aiot-node.aiot-checkable .aiot-node-icon>label .ant-checkbox:not(.ant-checkbox-indeterminate) .ant-checkbox-inner:after{left:3px;top:0}.aiot-tree .aiot-nodes .aiot-node .aiot-node-name{display:inline-block;width:calc(100% - 50px);text-overflow:ellipsis;white-space:nowrap;overflow:hidden;padding-bottom:1px}.aiot-tree .aiot-nodes .aiot-node input.aiot-node-name{background:0 0;border:0;box-shadow:0 2px 1px -1px #ababab;padding:0;margin:0;font-size:13px;outline:0!important}.aiot-tree .aiot-nodes .aiot-node .aiot-node-count,.aiot-tree .aiot-nodes .aiot-node button{color:#fff;float:right;background:#9ca1a6;font-size:8px;padding:1px 3px;border-radius:999px;min-width:14px;text-align:center;margin:-1px 0}.aiot-tree .aiot-nodes .aiot-node button{color:#fff;background:#0073aa;padding:5px 4px;border-radius:3px;border:0}.aiot-tree .aiot-nodes .aiot-node button[disabled]{opacity:.5}.aiot-tree .aiot-nodes .aiot-node.aiot-active{cursor:default;background:#e0e0e0;background:linear-gradient(to right,rgba(224,224,224,0) 30px,#e0e0e0 30%,#e0e0e0 100%)}.aiot-tree .aiot-expander{position:absolute;top:0;left:-17px;text-align:center;width:25px;height:21px;padding-top:4px;font-size:11px;color:#000;opacity:.8;font-family:anticon!important}.aiot-tree .aiot-expander.aiot-expander-all{top:-30px}.aiot-tree .aiot-expander.aiot-expander-all:hover{box-shadow:0 -3px 3px 1px rgba(0,115,170,.19)}.aiot-tree .aiot-expander:hover{border-radius:3px;box-shadow:-3px 0 3px 1px rgba(0,115,170,.19)}.aiot-tree .aiot-expander:after{content:"";background:#f1f1f1}.aiot-tree .aiot-expander.aiot-open:after{content:""}.aiot-tree .aiot-disabled{opacity:.7;cursor:not-allowed!important}.aiot-tree .aiot-sortable-chosen .aiot-node-count,.aiot-tree .aiot-sortable-chosen .aiot-node-icon i:after,.aiot-tree .aiot-sortable-chosen .aiot-node-icon i:before,.aiot-tree .aiot-sortable-chosen .aiot-node-name{opacity:.5}.aiot-tree .aiot-sortable-chosen .aiot-expander{visibility:hidden}.aiot-tree .aiot-sortable-drag.sortable-fallback{opacity:0!important}.aiot-tree .aiot-sortable-empty{display:none!important;min-height:10px;margin-top:-10px!important}.aiot-tree .aiot-sortable-empty>li{padding-top:10px!important}.aiot-has-checked .aiot-checkable .aiot-node-icon>:not(label),.aiot-tree:not(.aiot-toolbar-active-button) .aiot-checkable:not(.aiot-state-hover):hover .aiot-node-icon>:not(label){display:none!important}.aiot-has-checked .aiot-checkable .aiot-node-icon>label,.aiot-tree:not(.aiot-toolbar-active-button) .aiot-checkable:not(.aiot-state-hover):hover .aiot-node-icon>label{display:block!important}body.aiot-currently-sorting .aiot-tree .aiot-nodes ul:after{border-left:1px solid #0273aa}body.aiot-currently-sorting .aiot-sortable-empty{display:block!important}body.aiot-currently-sorting ul.aiot-sortable-gets-empty.aiot-sortable-one:after{border-left:none!important}body.aiot-currently-sorting ul.aiot-sortable-gets-empty.aiot-sortable-one>.aiot-sortable-placeholder{height:10px}.ant-popover.aiot-toolbar-menu{padding-left:21px}.ant-popover.aiot-toolbar-menu .ant-popover-arrow{left:17px}.aiot-helper{padding:5px 15px 5px 20px;color:#fff;font-size:12px;border-radius:4px;z-index:9999999;background:#0073aa;box-shadow:0 1px 3px 3px rgba(0,0,0,.2);white-space:nowrap}.aiot-helper p{display:block;margin:0;padding:0;font-size:10px}.aiot-helper .aiot-helper-method-append{display:none}body.aiot-helper-method-append .aiot-helper{background:#159887}body.aiot-helper-method-append .aiot-helper .aiot-helper-method-move{display:none}body.aiot-helper-method-append .aiot-helper .aiot-helper-method-append{display:block}html[dir=rtl] .aiot-tree .aiot-nodes ul ul{margin:0 20px 0 0}html[dir=rtl] .aiot-tree .aiot-nodes .aiot-node>div{float:right}html[dir=rtl] .aiot-tree .aiot-nodes .aiot-node .aiot-node-count,html[dir=rtl] .aiot-tree .aiot-nodes .aiot-node button{float:left}html[dir=rtl] .aiot-tree .aiot-expander{left:auto;left:initial;right:-17px}html[dir=rtl] .aiot-tree .aiot-nodes .aiot-node.aiot-active{background:linear-gradient(to left,rgba(224,224,224,0) 30px,#e0e0e0 30%,#e0e0e0 100%)}html[dir=rtl] .aiot-tree .aiot-nodes ul:after{left:auto;left:initial;right:16px}.aiot-theme-wordpress{border-right:1px solid #e5e5e5}.aiot-theme-wordpress>.aiot-pad.wrap{margin:0 0 15px 0}.aiot-theme-wordpress .aiot-tree-headline{height:31px;font-size:23px;font-weight:400;margin:0;padding:9px 15px 4px 0;line-height:29px}.aiot-theme-wordpress .aiot-nodes{padding-bottom:80px}.aiot-theme-wordpress .aiot-nodes .aiot-node-icon i{background:#f1f1f1!important;border-top:3px solid #f1f1f1!important;border-bottom:3px solid #f1f1f1!important}body.activate-aiot{position:static!important}body.activate-aiot #wpbody-content{float:right;box-sizing:border-box;padding-left:15px}body.activate-aiot.rtl #wpbody-content{padding-left:0}body.activate-aiot.rtl .aiot-theme-wordpress{border-right:1px solid #e5e5e5}body.activate-aiot.rtl .aiot-theme-wordpress>.aiot-pad.wrap{margin-left:15px}body.aiot-wp-dark-mode .aiot-theme-wordpress{border-right-color:#535556}body.aiot-wp-dark-mode .aiot-tree .aiot-split-collapse,body.aiot-wp-dark-mode .aiot-tree .aiot-split-resizer{background:#464646}body.aiot-wp-dark-mode .aiot-tree .aiot-split-collapse:after,body.aiot-wp-dark-mode .aiot-tree .aiot-split-resizer:after{color:#9a9a9a}body.aiot-wp-dark-mode .aiot-tree .aiot-nodes .aiot-node input.aiot-node-name,body.aiot-wp-dark-mode .aiot-tree .aiot-toolbar-items>a:hover{color:#fff}body.aiot-wp-dark-mode .aiot-tree .aiot-fixed-header>div{background:#23282d}body.aiot-wp-dark-mode .aiot-tree .aiot-fixed-header>div .aiot-toolbar{border-color:#191f25}body.aiot-wp-dark-mode .aiot-toolbar{background-color:#32373c;border-color:#191f25;color:#bbc8d4}body.aiot-wp-dark-mode .aiot-tree .aiot-nodes .aiot-node{color:#bbc8d4}body.aiot-wp-dark-mode .aiot-tree .aiot-nodes .aiot-node .aiot-node-count{background:#3e464e}body.aiot-wp-dark-mode .aiot-tree .aiot-nodes .aiot-node.aiot-active{background:#32383e;background:linear-gradient(to right,rgba(224,224,224,0) 30px,#23282d 30%,#4e555d 100%)}body.aiot-wp-dark-mode .aiot-tree hr{border-color:#454c53}body.aiot-wp-dark-mode .aiot-tree .aiot-expander{color:#9ea3a8}body.aiot-wp-dark-mode .aiot-tree .aiot-nodes ul:after{border-right-color:#616161;border-left-color:#424242}body.aiot-wp-dark-mode .aiot-tree .aiot-expander:after{background:#23282d}body.aiot-wp-dark-mode .aiot-theme-wordpress .aiot-nodes .aiot-node-icon i{background-color:#23282d!important;border-top-color:#23282d!important;border-bottom-color:#23282d!important}body.aiot-wp-dark-mode .ant-popover .ant-popover-arrow,body.aiot-wp-dark-mode .ant-popover .ant-popover-inner{background:#23282d}body.aiot-wp-dark-mode .ant-popover .ant-popover-inner{box-shadow:0 2px 8px #000}body.aiot-wp-dark-mode .ant-popover .ant-popover-inner-content,body.aiot-wp-dark-mode .ant-popover .ant-popover-message{color:#fff}@media all and (max-width:700px){.aiot-tree.aiot-full-width .aiot-nodes{padding-bottom:0}#wpbody-content{width:auto!important;float:inherit!important;display:block!important;left:inherit!important;right:inherit!important;bottom:inherit!important;top:inherit!important}}@media only screen and (min-width:700px){body.aiot-wp-material.activate-aiot:not(.wp-customizer) #wpbody-content{margin-left:0!important}body.aiot-wp-material.activate-aiot .aiot-tree{margin-top:30px}body.aiot-wp-material.activate-aiot .aiot-tree .aiot-split-collapse,body.aiot-wp-material.activate-aiot .aiot-tree .aiot-split-resizer{z-index:99}body.aiot-wp-material.activate-aiot .aiot-tree .page-title-action{padding-left:10px!important;padding-right:10px!important}body.aiot-wp-material.activate-aiot .aiot-tree .aiot-fixed-header:not(.active)>div{background:0 0}body.aiot-wp-material.activate-aiot .aiot-tree .aiot-fixed-header:not(.active)>div .aiot-tree-headline{color:#fff;text-shadow:1px 1px 1px rgba(0,0,0,.231372549)}body.aiot-wp-material.activate-aiot .aiot-tree .aiot-fixed-header:not(.active)>div .aiot-toolbar{background:0 0;color:#fff;border:0}body.aiot-wp-material.activate-aiot .aiot-tree .aiot-fixed-header:not(.active)>div .aiot-toolbar .aiot-toolbar-items>a{color:#fff}}body.aiot-wp-material.activate-aiot.mwp-expanded #wpbody>.rml-container{margin-left:15px!important}body.aiot-wp-material.activate-aiot.mwp-expanded #wpbody>#wpbody-content{left:auto!important;left:initial!important}@media only screen and (max-width:699px){body.aiot-wp-material.activate-aiot .rml-container{margin-left:0!important;float:none;background:#ececec}body.aiot-wp-material.activate-aiot .rml-container .aiot-pad{min-height:auto}body.aiot-wp-material.activate-aiot .rml-container .aiot-tree{margin:0 5%!important}}.rcl-container{display:block;float:left}tr.rcl-update-notice th{padding:0}tr.rcl-update-notice .notice{margin:0 20px 10px 26px;border-top:1px solid #ffb900;box-shadow:4px 4px 4px rgba(255,185,0,.1019607843),1px 1px 0 #ffb900}tr.rcl-update-notice .notice p{margin:0}body.woocommerce-feature-enabled-activity-panels.activate-aiot .rcl-container .aiot-pad{margin-top:10px}body.woocommerce-feature-enabled-activity-panels.activate-aiot #wpbody{padding-left:20px}body.woocommerce-feature-enabled-activity-panels.activate-aiot #wpbody #wpbody-content>.wrap{padding-left:0}body.post-type-awsm_job_application.activate-aiot .rcl-container .aiot-pad,body.post-type-awsm_job_openings.activate-aiot .rcl-container .aiot-pad{margin-top:51px}body.post-type-awsm_job_application.activate-aiot #wpbody,body.post-type-awsm_job_openings.activate-aiot #wpbody{padding-left:20px}body.post-type-awsm_job_application.activate-aiot #wpbody #wpbody-content>.wrap,body.post-type-awsm_job_openings.activate-aiot #wpbody #wpbody-content>.wrap{padding-left:0}.e-admin-top-bar--active+#wpbody>.rcl-container{margin-top:60px}.aiot-tree .aiot-node-count{margin:1px 0}@media all and (max-width:700px){body.activate-aiot #wpbody .rcl-container{width:100%!important}}@font-face{font-family:anticon;font-display:fallback;src:url('../lib/@devowl-wp/react-folder-tree/src/legacy/fonts/antd-iconfont.eot');src:url('../lib/@devowl-wp/react-folder-tree/src/legacy/fonts/antd-iconfont.woff') format('woff'),url('../lib/@devowl-wp/react-folder-tree/src/legacy/fonts/antd-iconfont.ttf') format('truetype'),url('../lib/@devowl-wp/react-folder-tree/src/legacy/fonts/antd-iconfont.svg#iconfont') format('svg')}.anticon{display:inline-block;font-style:normal;vertical-align:baseline;text-align:center;text-transform:none;line-height:1;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.anticon:before{display:block;font-family:anticon!important}.anticon-step-forward:before{content:"\e600"}.anticon-step-backward:before{content:"\e601"}.anticon-forward:before{content:"\e602"}.anticon-backward:before{content:"\e603"}.anticon-caret-right:before{content:"\e604"}.anticon-caret-left:before{content:"\e605"}.anticon-caret-down:before{content:"\e606"}.anticon-caret-up:before{content:"\e607"}.anticon-right-circle:before{content:"\e608"}.anticon-circle-right:before{content:"\e608"}.anticon-caret-circle-right:before{content:"\e608"}.anticon-left-circle:before{content:"\e609"}.anticon-circle-left:before{content:"\e609"}.anticon-caret-circle-left:before{content:"\e609"}.anticon-up-circle:before{content:"\e60a"}.anticon-circle-up:before{content:"\e60a"}.anticon-caret-circle-up:before{content:"\e60a"}.anticon-down-circle:before{content:"\e60b"}.anticon-circle-down:before{content:"\e60b"}.anticon-caret-circle-down:before{content:"\e60b"}.anticon-right-circle-o:before{content:"\e60c"}.anticon-circle-o-right:before{content:"\e60c"}.anticon-caret-circle-o-right:before{content:"\e60c"}.anticon-left-circle-o:before{content:"\e60d"}.anticon-circle-o-left:before{content:"\e60d"}.anticon-caret-circle-o-left:before{content:"\e60d"}.anticon-up-circle-o:before{content:"\e60e"}.anticon-circle-o-up:before{content:"\e60e"}.anticon-caret-circle-o-up:before{content:"\e60e"}.anticon-down-circle-o:before{content:"\e60f"}.anticon-circle-o-down:before{content:"\e60f"}.anticon-caret-circle-o-down:before{content:"\e60f"}.anticon-verticle-left:before{content:"\e610"}.anticon-verticle-right:before{content:"\e611"}.anticon-rollback:before{content:"\e612"}.anticon-retweet:before{content:"\e613"}.anticon-shrink:before{content:"\e614"}.anticon-arrows-alt:before{content:"\e615"}.anticon-arrow-salt:before{content:"\e615"}.anticon-reload:before{content:"\e616"}.anticon-double-right:before{content:"\e617"}.anticon-double-left:before{content:"\e618"}.anticon-arrow-down:before{content:"\e619"}.anticon-arrow-up:before{content:"\e61a"}.anticon-arrow-right:before{content:"\e61b"}.anticon-arrow-left:before{content:"\e61c"}.anticon-down:before{content:"\e61d"}.anticon-up:before{content:"\e61e"}.anticon-right:before{content:"\e61f"}.anticon-left:before{content:"\e620"}.anticon-minus-square-o:before{content:"\e621"}.anticon-minus-circle:before{content:"\e622"}.anticon-minus-circle-o:before{content:"\e623"}.anticon-minus:before{content:"\e624"}.anticon-plus-circle-o:before{content:"\e625"}.anticon-plus-circle:before{content:"\e626"}.anticon-plus:before{content:"\e627"}.anticon-info-circle:before{content:"\e628"}.anticon-info-circle-o:before{content:"\e629"}.anticon-info:before{content:"\e62a"}.anticon-exclamation:before{content:"\e62b"}.anticon-exclamation-circle:before{content:"\e62c"}.anticon-exclamation-circle-o:before{content:"\e62d"}.anticon-close-circle:before{content:"\e62e"}.anticon-cross-circle:before{content:"\e62e"}.anticon-close-circle-o:before{content:"\e62f"}.anticon-cross-circle-o:before{content:"\e62f"}.anticon-check-circle:before{content:"\e630"}.anticon-check-circle-o:before{content:"\e631"}.anticon-check:before{content:"\e632"}.anticon-close:before{content:"\e633"}.anticon-cross:before{content:"\e633"}.anticon-customer-service:before{content:"\e634"}.anticon-customerservice:before{content:"\e634"}.anticon-credit-card:before{content:"\e635"}.anticon-code-o:before{content:"\e636"}.anticon-book:before{content:"\e637"}.anticon-bars:before{content:"\e639"}.anticon-question:before{content:"\e63a"}.anticon-question-circle:before{content:"\e63b"}.anticon-question-circle-o:before{content:"\e63c"}.anticon-pause:before{content:"\e63d"}.anticon-pause-circle:before{content:"\e63e"}.anticon-pause-circle-o:before{content:"\e63f"}.anticon-clock-circle:before{content:"\e640"}.anticon-clock-circle-o:before{content:"\e641"}.anticon-swap:before{content:"\e642"}.anticon-swap-left:before{content:"\e643"}.anticon-swap-right:before{content:"\e644"}.anticon-plus-square-o:before{content:"\e645"}.anticon-frown:before{content:"\e646"}.anticon-frown-circle:before{content:"\e646"}.anticon-ellipsis:before{content:"\e647"}.anticon-copy:before{content:"\e648"}.anticon-menu-fold:before{content:"\e9ac"}.anticon-mail:before{content:"\e659"}.anticon-logout:before{content:"\e65a"}.anticon-link:before{content:"\e65b"}.anticon-area-chart:before{content:"\e65c"}.anticon-line-chart:before{content:"\e65d"}.anticon-home:before{content:"\e65e"}.anticon-laptop:before{content:"\e65f"}.anticon-star:before{content:"\e660"}.anticon-star-o:before{content:"\e661"}.anticon-folder:before{content:"\e662"}.anticon-filter:before{content:"\e663"}.anticon-file:before{content:"\e664"}.anticon-exception:before{content:"\e665"}.anticon-meh:before{content:"\e666"}.anticon-meh-circle:before{content:"\e666"}.anticon-meh-o:before{content:"\e667"}.anticon-shopping-cart:before{content:"\e668"}.anticon-save:before{content:"\e669"}.anticon-user:before{content:"\e66a"}.anticon-video-camera:before{content:"\e66b"}.anticon-to-top:before{content:"\e66c"}.anticon-team:before{content:"\e66d"}.anticon-tablet:before{content:"\e66e"}.anticon-solution:before{content:"\e66f"}.anticon-search:before{content:"\e670"}.anticon-share-alt:before{content:"\e671"}.anticon-setting:before{content:"\e672"}.anticon-poweroff:before{content:"\e6d5"}.anticon-picture:before{content:"\e674"}.anticon-phone:before{content:"\e675"}.anticon-paper-clip:before{content:"\e676"}.anticon-notification:before{content:"\e677"}.anticon-mobile:before{content:"\e678"}.anticon-menu-unfold:before{content:"\e9ad"}.anticon-inbox:before{content:"\e67a"}.anticon-lock:before{content:"\e67b"}.anticon-qrcode:before{content:"\e67c"}.anticon-play-circle:before{content:"\e6d0"}.anticon-play-circle-o:before{content:"\e6d1"}.anticon-tag:before{content:"\e6d2"}.anticon-tag-o:before{content:"\e6d3"}.anticon-tags:before{content:"\e67d"}.anticon-tags-o:before{content:"\e67e"}.anticon-cloud-o:before{content:"\e67f"}.anticon-cloud:before{content:"\e680"}.anticon-cloud-upload:before{content:"\e681"}.anticon-cloud-download:before{content:"\e682"}.anticon-cloud-download-o:before{content:"\e683"}.anticon-cloud-upload-o:before{content:"\e684"}.anticon-environment:before{content:"\e685"}.anticon-environment-o:before{content:"\e686"}.anticon-eye:before{content:"\e687"}.anticon-eye-o:before{content:"\e688"}.anticon-camera:before{content:"\e689"}.anticon-camera-o:before{content:"\e68a"}.anticon-windows:before{content:"\e68b"}.anticon-apple:before{content:"\e68c"}.anticon-apple-o:before{content:"\e6d4"}.anticon-android:before{content:"\e938"}.anticon-android-o:before{content:"\e68d"}.anticon-aliwangwang:before{content:"\e68e"}.anticon-aliwangwang-o:before{content:"\e68f"}.anticon-export:before{content:"\e691"}.anticon-edit:before{content:"\e692"}.anticon-appstore-o:before{content:"\e695"}.anticon-appstore:before{content:"\e696"}.anticon-scan:before{content:"\e697"}.anticon-file-text:before{content:"\e698"}.anticon-folder-open:before{content:"\e699"}.anticon-hdd:before{content:"\e69a"}.anticon-ie:before{content:"\e69b"}.anticon-file-jpg:before{content:"\e69c"}.anticon-like:before{content:"\e64c"}.anticon-like-o:before{content:"\e69d"}.anticon-dislike:before{content:"\e64b"}.anticon-dislike-o:before{content:"\e69e"}.anticon-delete:before{content:"\e69f"}.anticon-enter:before{content:"\e6a0"}.anticon-pushpin-o:before{content:"\e6a1"}.anticon-pushpin:before{content:"\e6a2"}.anticon-heart:before{content:"\e6a3"}.anticon-heart-o:before{content:"\e6a4"}.anticon-pay-circle:before{content:"\e6a5"}.anticon-pay-circle-o:before{content:"\e6a6"}.anticon-smile:before{content:"\e6a7"}.anticon-smile-circle:before{content:"\e6a7"}.anticon-smile-o:before{content:"\e6a8"}.anticon-frown-o:before{content:"\e6a9"}.anticon-calculator:before{content:"\e6aa"}.anticon-message:before{content:"\e6ab"}.anticon-chrome:before{content:"\e6ac"}.anticon-github:before{content:"\e6ad"}.anticon-file-unknown:before{content:"\e6af"}.anticon-file-excel:before{content:"\e6b0"}.anticon-file-ppt:before{content:"\e6b1"}.anticon-file-word:before{content:"\e6b2"}.anticon-file-pdf:before{content:"\e6b3"}.anticon-desktop:before{content:"\e6b4"}.anticon-upload:before{content:"\e6b6"}.anticon-download:before{content:"\e6b7"}.anticon-pie-chart:before{content:"\e6b8"}.anticon-unlock:before{content:"\e6ba"}.anticon-calendar:before{content:"\e6bb"}.anticon-windows-o:before{content:"\e6bc"}.anticon-dot-chart:before{content:"\e6bd"}.anticon-bar-chart:before{content:"\e6be"}.anticon-code:before{content:"\e6bf"}.anticon-api:before{content:"\e951"}.anticon-plus-square:before{content:"\e6c0"}.anticon-minus-square:before{content:"\e6c1"}.anticon-close-square:before{content:"\e6c2"}.anticon-close-square-o:before{content:"\e6c3"}.anticon-check-square:before{content:"\e6c4"}.anticon-check-square-o:before{content:"\e6c5"}.anticon-fast-backward:before{content:"\e6c6"}.anticon-fast-forward:before{content:"\e6c7"}.anticon-up-square:before{content:"\e6c8"}.anticon-down-square:before{content:"\e6c9"}.anticon-left-square:before{content:"\e6ca"}.anticon-right-square:before{content:"\e6cb"}.anticon-right-square-o:before{content:"\e6cc"}.anticon-left-square-o:before{content:"\e6cd"}.anticon-down-square-o:before{content:"\e6ce"}.anticon-up-square-o:before{content:"\e6cf"}.anticon-loading:before{content:"\e64d"}.anticon-loading-3-quarters:before{content:"\e6ae"}.anticon-bulb:before{content:"\e649"}.anticon-select:before{content:"\e64a"}.anticon-addfile:before,.anticon-file-add:before{content:"\e910"}.anticon-addfolder:before,.anticon-folder-add:before{content:"\e914"}.anticon-switcher:before{content:"\e913"}.anticon-rocket:before{content:"\e90f"}.anticon-dingding:before{content:"\e923"}.anticon-dingding-o:before{content:"\e925"}.anticon-bell:before{content:"\e64e"}.anticon-disconnect:before{content:"\e64f"}.anticon-database:before{content:"\e650"}.anticon-compass:before{content:"\e6db"}.anticon-barcode:before{content:"\e652"}.anticon-hourglass:before{content:"\e653"}.anticon-key:before{content:"\e654"}.anticon-flag:before{content:"\e655"}.anticon-layout:before{content:"\e656"}.anticon-login:before{content:"\e657"}.anticon-printer:before{content:"\e673"}.anticon-sound:before{content:"\e6e9"}.anticon-usb:before{content:"\e6d7"}.anticon-skin:before{content:"\e6d8"}.anticon-tool:before{content:"\e6d9"}.anticon-sync:before{content:"\e6da"}.anticon-wifi:before{content:"\e6d6"}.anticon-car:before{content:"\e6dc"}.anticon-copyright:before{content:"\e6de"}.anticon-schedule:before{content:"\e6df"}.anticon-user-add:before{content:"\e6ed"}.anticon-user-delete:before{content:"\e6e0"}.anticon-usergroup-add:before{content:"\e6dd"}.anticon-usergroup-delete:before{content:"\e6e1"}.anticon-man:before{content:"\e6e2"}.anticon-woman:before{content:"\e6ec"}.anticon-shop:before{content:"\e6e3"}.anticon-gift:before{content:"\e6e4"}.anticon-idcard:before{content:"\e6e5"}.anticon-medicine-box:before{content:"\e6e6"}.anticon-red-envelope:before{content:"\e6e7"}.anticon-coffee:before{content:"\e6e8"}.anticon-trademark:before{content:"\e651"}.anticon-safety:before{content:"\e6ea"}.anticon-wallet:before{content:"\e6eb"}.anticon-bank:before{content:"\e6ee"}.anticon-trophy:before{content:"\e6ef"}.anticon-contacts:before{content:"\e6f0"}.anticon-global:before{content:"\e6f1"}.anticon-shake:before{content:"\e94f"}.anticon-fork:before{content:"\e6f2"}.anticon-dashboard:before{content:"\e99a"}.anticon-profile:before{content:"\e999"}.anticon-table:before{content:"\e998"}.anticon-warning:before{content:"\e997"}.anticon-form:before{content:"\e996"}.anticon-spin:before{display:inline-block;animation:loadingCircle 1s infinite linear}.anticon-weibo-square:before{content:"\e6f5"}.anticon-weibo-circle:before{content:"\e6f4"}.anticon-taobao-circle:before{content:"\e6f3"}.anticon-html5:before{content:"\e9c7"}.anticon-weibo:before{content:"\e9c6"}.anticon-twitter:before{content:"\e9c5"}.anticon-wechat:before{content:"\e9c4"}.anticon-youtube:before{content:"\e9c3"}.anticon-alipay-circle:before{content:"\e9c2"}.anticon-taobao:before{content:"\e9c1"}.anticon-skype:before{content:"\e9c0"}.anticon-qq:before{content:"\e9bf"}.anticon-medium-workmark:before{content:"\e9be"}.anticon-gitlab:before{content:"\e9bd"}.anticon-medium:before{content:"\e9bc"}.anticon-linkedin:before{content:"\e9bb"}.anticon-google-plus:before{content:"\e9ba"}.anticon-dropbox:before{content:"\e9b9"}.anticon-facebook:before{content:"\e9b8"}.anticon-codepen:before{content:"\e9b7"}.anticon-amazon:before{content:"\e9b6"}.anticon-google:before{content:"\e9b5"}.anticon-codepen-circle:before{content:"\e9b4"}.anticon-alipay:before{content:"\e9b3"}.anticon-ant-design:before{content:"\e9b2"}.anticon-aliyun:before{content:"\e9f4"}.anticon-zhihu:before{content:"\e703"}.anticon-file-markdown:before{content:"\e704"}.anticon-slack:before{content:"\e705"}.anticon-slack-square:before{content:"\e706"}.anticon-behance:before{content:"\e707"}.anticon-behance-square:before{content:"\e708"}.anticon-dribbble:before{content:"\e709"}.anticon-dribbble-square:before{content:"\e70a"}.anticon-instagram:before{content:"\e70b"}.anticon-yuque:before{content:"\e70c"}.fade-appear,.fade-enter{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.fade-leave{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.fade-appear.fade-appear-active,.fade-enter.fade-enter-active{animation-name:antFadeIn;animation-play-state:running}.fade-leave.fade-leave-active{animation-name:antFadeOut;animation-play-state:running;pointer-events:none}.fade-appear,.fade-enter{opacity:0;animation-timing-function:linear}.fade-leave{animation-timing-function:linear}@keyframes antFadeIn{0%{opacity:0}100%{opacity:1}}@keyframes antFadeOut{0%{opacity:1}100%{opacity:0}}.zoom-appear,.zoom-enter{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.zoom-leave{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.zoom-appear.zoom-appear-active,.zoom-enter.zoom-enter-active{animation-name:antZoomIn;animation-play-state:running}.zoom-leave.zoom-leave-active{animation-name:antZoomOut;animation-play-state:running;pointer-events:none}.zoom-appear,.zoom-enter{transform:scale(0);animation-timing-function:cubic-bezier(0.08,0.82,0.17,1)}.zoom-leave{animation-timing-function:cubic-bezier(0.78,0.14,0.15,0.86)}.zoom-big-appear,.zoom-big-enter{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.zoom-big-leave{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.zoom-big-appear.zoom-big-appear-active,.zoom-big-enter.zoom-big-enter-active{animation-name:antZoomBigIn;animation-play-state:running}.zoom-big-leave.zoom-big-leave-active{animation-name:antZoomBigOut;animation-play-state:running;pointer-events:none}.zoom-big-appear,.zoom-big-enter{transform:scale(0);animation-timing-function:cubic-bezier(0.08,0.82,0.17,1)}.zoom-big-leave{animation-timing-function:cubic-bezier(0.78,0.14,0.15,0.86)}.zoom-big-fast-appear,.zoom-big-fast-enter{animation-duration:.1s;animation-fill-mode:both;animation-play-state:paused}.zoom-big-fast-leave{animation-duration:.1s;animation-fill-mode:both;animation-play-state:paused}.zoom-big-fast-appear.zoom-big-fast-appear-active,.zoom-big-fast-enter.zoom-big-fast-enter-active{animation-name:antZoomBigIn;animation-play-state:running}.zoom-big-fast-leave.zoom-big-fast-leave-active{animation-name:antZoomBigOut;animation-play-state:running;pointer-events:none}.zoom-big-fast-appear,.zoom-big-fast-enter{transform:scale(0);animation-timing-function:cubic-bezier(0.08,0.82,0.17,1)}.zoom-big-fast-leave{animation-timing-function:cubic-bezier(0.78,0.14,0.15,0.86)}.zoom-up-appear,.zoom-up-enter{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.zoom-up-leave{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.zoom-up-appear.zoom-up-appear-active,.zoom-up-enter.zoom-up-enter-active{animation-name:antZoomUpIn;animation-play-state:running}.zoom-up-leave.zoom-up-leave-active{animation-name:antZoomUpOut;animation-play-state:running;pointer-events:none}.zoom-up-appear,.zoom-up-enter{transform:scale(0);animation-timing-function:cubic-bezier(0.08,0.82,0.17,1)}.zoom-up-leave{animation-timing-function:cubic-bezier(0.78,0.14,0.15,0.86)}.zoom-down-appear,.zoom-down-enter{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.zoom-down-leave{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.zoom-down-appear.zoom-down-appear-active,.zoom-down-enter.zoom-down-enter-active{animation-name:antZoomDownIn;animation-play-state:running}.zoom-down-leave.zoom-down-leave-active{animation-name:antZoomDownOut;animation-play-state:running;pointer-events:none}.zoom-down-appear,.zoom-down-enter{transform:scale(0);animation-timing-function:cubic-bezier(0.08,0.82,0.17,1)}.zoom-down-leave{animation-timing-function:cubic-bezier(0.78,0.14,0.15,0.86)}.zoom-left-appear,.zoom-left-enter{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.zoom-left-leave{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.zoom-left-appear.zoom-left-appear-active,.zoom-left-enter.zoom-left-enter-active{animation-name:antZoomLeftIn;animation-play-state:running}.zoom-left-leave.zoom-left-leave-active{animation-name:antZoomLeftOut;animation-play-state:running;pointer-events:none}.zoom-left-appear,.zoom-left-enter{transform:scale(0);animation-timing-function:cubic-bezier(0.08,0.82,0.17,1)}.zoom-left-leave{animation-timing-function:cubic-bezier(0.78,0.14,0.15,0.86)}.zoom-right-appear,.zoom-right-enter{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.zoom-right-leave{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}.zoom-right-appear.zoom-right-appear-active,.zoom-right-enter.zoom-right-enter-active{animation-name:antZoomRightIn;animation-play-state:running}.zoom-right-leave.zoom-right-leave-active{animation-name:antZoomRightOut;animation-play-state:running;pointer-events:none}.zoom-right-appear,.zoom-right-enter{transform:scale(0);animation-timing-function:cubic-bezier(0.08,0.82,0.17,1)}.zoom-right-leave{animation-timing-function:cubic-bezier(0.78,0.14,0.15,0.86)}@keyframes antZoomIn{0%{opacity:0;transform:scale(.2)}100%{opacity:1;transform:scale(1)}}@keyframes antZoomOut{0%{transform:scale(1)}100%{opacity:0;transform:scale(.2)}}@keyframes antZoomBigIn{0%{opacity:0;transform:scale(.8)}100%{transform:scale(1)}}@keyframes antZoomBigOut{0%{transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes antZoomUpIn{0%{opacity:0;transform-origin:50% 0%;transform:scale(.8)}100%{transform-origin:50% 0%;transform:scale(1)}}@keyframes antZoomUpOut{0%{transform-origin:50% 0%;transform:scale(1)}100%{opacity:0;transform-origin:50% 0%;transform:scale(.8)}}@keyframes antZoomLeftIn{0%{opacity:0;transform-origin:0% 50%;transform:scale(.8)}100%{transform-origin:0% 50%;transform:scale(1)}}@keyframes antZoomLeftOut{0%{transform-origin:0% 50%;transform:scale(1)}100%{opacity:0;transform-origin:0% 50%;transform:scale(.8)}}@keyframes antZoomRightIn{0%{opacity:0;transform-origin:100% 50%;transform:scale(.8)}100%{transform-origin:100% 50%;transform:scale(1)}}@keyframes antZoomRightOut{0%{transform-origin:100% 50%;transform:scale(1)}100%{opacity:0;transform-origin:100% 50%;transform:scale(.8)}}@keyframes antZoomDownIn{0%{opacity:0;transform-origin:50% 100%;transform:scale(.8)}100%{transform-origin:50% 100%;transform:scale(1)}}@keyframes antZoomDownOut{0%{transform-origin:50% 100%;transform:scale(1)}100%{opacity:0;transform-origin:50% 100%;transform:scale(.8)}}@keyframes loadingCircle{100%{transform:rotate(360deg)}}[ant-click-animating-without-extra-node],[ant-click-animating]{position:relative}.ant-click-animating-node,[ant-click-animating-without-extra-node]:after{content:'';position:absolute;top:-1px;left:-1px;bottom:-1px;right:-1px;border-radius:inherit;border:0 solid #1890ff;opacity:.2;animation:fadeEffect 2s cubic-bezier(.08,.82,.17,1),waveEffect .4s cubic-bezier(.08,.82,.17,1);animation-fill-mode:forwards;display:block;pointer-events:none}@keyframes waveEffect{100%{top:-6px;left:-6px;bottom:-6px;right:-6px;border-width:6px}}@keyframes fadeEffect{100%{opacity:0}}.ant-dropdown{font-family:"Chinese Quote",-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei","Helvetica Neue",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-size:14px;font-feature-settings:"tnum";font-variant:tabular-nums;line-height:1.5;color:rgba(0,0,0,.65);box-sizing:border-box;margin:0;padding:0;list-style:none;position:absolute;left:-9999px;top:-9999px;z-index:1050;display:block}.ant-dropdown-wrap{position:relative}.ant-dropdown-wrap .ant-btn>.anticon-down{display:inline-block;font-size:12px;transform:scale(.83333333) rotate(0)}:root .ant-dropdown-wrap .ant-btn>.anticon-down{font-size:12px}.ant-dropdown-wrap .anticon-down:before{transition:transform .2s}.ant-dropdown-wrap-open .anticon-down:before{transform:rotate(180deg)}.ant-dropdown-hidden,.ant-dropdown-menu-hidden{display:none}.ant-dropdown-menu{outline:0;position:relative;list-style-type:none;padding:4px 0;margin:0;text-align:left;background-color:#fff;border-radius:4px;box-shadow:0 2px 8px rgba(0,0,0,.15);background-clip:padding-box}.ant-dropdown-menu-item-group-title{color:rgba(0,0,0,.45);padding:5px 12px;transition:all .3s}.ant-dropdown-menu-submenu-popup{position:absolute;z-index:1050}.ant-dropdown-menu-item,.ant-dropdown-menu-submenu-title{padding:5px 12px;margin:0;clear:both;font-size:14px;font-weight:400;color:rgba(0,0,0,.65);white-space:nowrap;cursor:pointer;transition:all .3s;line-height:22px}.ant-dropdown-menu-item>.anticon:first-child,.ant-dropdown-menu-submenu-title>.anticon:first-child{min-width:12px;margin-right:8px}.ant-dropdown-menu-item>a,.ant-dropdown-menu-submenu-title>a{color:rgba(0,0,0,.65);display:block;padding:5px 12px;margin:-5px -12px;transition:all .3s}.ant-dropdown-menu-item>a:focus,.ant-dropdown-menu-submenu-title>a:focus{-webkit-text-decoration:none;text-decoration:none}.ant-dropdown-menu-item-selected,.ant-dropdown-menu-item-selected>a,.ant-dropdown-menu-submenu-title-selected,.ant-dropdown-menu-submenu-title-selected>a{color:#1890ff;background-color:#e6f7ff}.ant-dropdown-menu-item:hover,.ant-dropdown-menu-submenu-title:hover{background-color:#e6f7ff}.ant-dropdown-menu-item-disabled,.ant-dropdown-menu-submenu-title-disabled{color:rgba(0,0,0,.25);cursor:not-allowed}.ant-dropdown-menu-item-disabled:hover,.ant-dropdown-menu-submenu-title-disabled:hover{color:rgba(0,0,0,.25);background-color:#fff;cursor:not-allowed}.ant-dropdown-menu-item-divider,.ant-dropdown-menu-submenu-title-divider{height:1px;overflow:hidden;background-color:#e8e8e8;line-height:0;margin:4px 0}.ant-dropdown-menu-item .ant-dropdown-menu-submenu-arrow,.ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-arrow{position:absolute;right:8px}.ant-dropdown-menu-item .ant-dropdown-menu-submenu-arrow:after,.ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-arrow:after{font-family:anticon!important;font-style:normal;content:"\e61f";color:rgba(0,0,0,.45);display:inline-block;font-size:12px;transform:scale(.83333333) rotate(0)}:root .ant-dropdown-menu-item .ant-dropdown-menu-submenu-arrow:after,:root .ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-arrow:after{font-size:12px}.ant-dropdown-menu-submenu-title{padding-right:26px}.ant-dropdown-menu-submenu-vertical{position:relative}.ant-dropdown-menu-submenu-vertical>.ant-dropdown-menu{top:0;left:100%;position:absolute;min-width:100%;margin-left:4px;transform-origin:0 0}.ant-dropdown-menu-submenu.ant-dropdown-menu-submenu-disabled .ant-dropdown-menu-submenu-title,.ant-dropdown-menu-submenu.ant-dropdown-menu-submenu-disabled .ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-arrow:after{color:rgba(0,0,0,.25)}.ant-dropdown.slide-down-appear.slide-down-appear-active.ant-dropdown-placement-bottomCenter,.ant-dropdown.slide-down-appear.slide-down-appear-active.ant-dropdown-placement-bottomLeft,.ant-dropdown.slide-down-appear.slide-down-appear-active.ant-dropdown-placement-bottomRight,.ant-dropdown.slide-down-enter.slide-down-enter-active.ant-dropdown-placement-bottomCenter,.ant-dropdown.slide-down-enter.slide-down-enter-active.ant-dropdown-placement-bottomLeft,.ant-dropdown.slide-down-enter.slide-down-enter-active.ant-dropdown-placement-bottomRight{animation-name:antSlideUpIn}.ant-dropdown.slide-up-appear.slide-up-appear-active.ant-dropdown-placement-topCenter,.ant-dropdown.slide-up-appear.slide-up-appear-active.ant-dropdown-placement-topLeft,.ant-dropdown.slide-up-appear.slide-up-appear-active.ant-dropdown-placement-topRight,.ant-dropdown.slide-up-enter.slide-up-enter-active.ant-dropdown-placement-topCenter,.ant-dropdown.slide-up-enter.slide-up-enter-active.ant-dropdown-placement-topLeft,.ant-dropdown.slide-up-enter.slide-up-enter-active.ant-dropdown-placement-topRight{animation-name:antSlideDownIn}.ant-dropdown.slide-down-leave.slide-down-leave-active.ant-dropdown-placement-bottomCenter,.ant-dropdown.slide-down-leave.slide-down-leave-active.ant-dropdown-placement-bottomLeft,.ant-dropdown.slide-down-leave.slide-down-leave-active.ant-dropdown-placement-bottomRight{animation-name:antSlideUpOut}.ant-dropdown.slide-up-leave.slide-up-leave-active.ant-dropdown-placement-topCenter,.ant-dropdown.slide-up-leave.slide-up-leave-active.ant-dropdown-placement-topLeft,.ant-dropdown.slide-up-leave.slide-up-leave-active.ant-dropdown-placement-topRight{animation-name:antSlideDownOut}.ant-dropdown-link .anticon-down,.ant-dropdown-trigger .anticon-down{display:inline-block;font-size:12px;transform:scale(.83333333) rotate(0)}:root .ant-dropdown-link .anticon-down,:root .ant-dropdown-trigger .anticon-down{font-size:12px}.ant-dropdown-link .anticon-ellipsis,.ant-dropdown-trigger .anticon-ellipsis{text-shadow:0 0 currentColor}.ant-dropdown-button{white-space:nowrap}.ant-dropdown-button.ant-btn-group>.ant-btn:last-child:not(:first-child){padding-left:8px;padding-right:8px}.ant-dropdown-button .anticon-down{display:inline-block;font-size:12px;transform:scale(.83333333) rotate(0)}:root .ant-dropdown-button .anticon-down{font-size:12px}.ant-dropdown-menu-dark,.ant-dropdown-menu-dark .ant-dropdown-menu{background:#001529}.ant-dropdown-menu-dark .ant-dropdown-menu-item,.ant-dropdown-menu-dark .ant-dropdown-menu-item>a,.ant-dropdown-menu-dark .ant-dropdown-menu-submenu-title{color:rgba(255,255,255,.65)}.ant-dropdown-menu-dark .ant-dropdown-menu-item .ant-dropdown-menu-submenu-arrow:after,.ant-dropdown-menu-dark .ant-dropdown-menu-item>a .ant-dropdown-menu-submenu-arrow:after,.ant-dropdown-menu-dark .ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-arrow:after{color:rgba(255,255,255,.65)}.ant-dropdown-menu-dark .ant-dropdown-menu-item:hover,.ant-dropdown-menu-dark .ant-dropdown-menu-item>a:hover,.ant-dropdown-menu-dark .ant-dropdown-menu-submenu-title:hover{color:#fff;background:0 0}.ant-dropdown-menu-dark .ant-dropdown-menu-item-selected,.ant-dropdown-menu-dark .ant-dropdown-menu-item-selected:hover,.ant-dropdown-menu-dark .ant-dropdown-menu-item-selected>a{background:#1890ff;color:#fff}@keyframes antCheckboxEffect{0%{transform:scale(1);opacity:.5}100%{transform:scale(1.6);opacity:0}}.ant-checkbox{font-family:"Chinese Quote",-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei","Helvetica Neue",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-size:14px;font-feature-settings:"tnum";font-variant:tabular-nums;line-height:1.5;color:rgba(0,0,0,.65);box-sizing:border-box;margin:0;padding:0;list-style:none;white-space:nowrap;cursor:pointer;outline:0;display:inline-block;line-height:1;position:relative;vertical-align:middle;top:-.09em}.ant-checkbox-input:focus+.ant-checkbox-inner,.ant-checkbox-wrapper:hover .ant-checkbox-inner,.ant-checkbox:hover .ant-checkbox-inner{border-color:#1890ff}.ant-checkbox-checked:after{position:absolute;top:0;left:0;width:100%;height:100%;border-radius:2px;border:1px solid #1890ff;content:'';animation:antCheckboxEffect .36s ease-in-out;animation-fill-mode:both;visibility:hidden}.ant-checkbox-wrapper:hover .ant-checkbox:after,.ant-checkbox:hover:after{visibility:visible}.ant-checkbox-inner{position:relative;top:0;left:0;display:block;width:16px;height:16px;border:1px solid #d9d9d9;border-radius:2px;background-color:#fff;transition:all .3s}.ant-checkbox-inner:after{transform:rotate(45deg) scale(0);position:absolute;left:4.57142857px;top:1.14285714px;display:table;width:5.71428571px;height:9.14285714px;border:2px solid #fff;border-top:0;border-left:0;content:' ';transition:all .1s cubic-bezier(.71, -.46, .88, .6),opacity .1s;opacity:0}.ant-checkbox-input{position:absolute;left:0;z-index:1;cursor:pointer;opacity:0;top:0;bottom:0;right:0;width:100%;height:100%}.ant-checkbox-indeterminate .ant-checkbox-inner:after{content:' ';transform:translate(-50%,-50%) scale(1);border:0;left:50%;top:50%;width:8px;height:8px;background-color:#1890ff;opacity:1}.ant-checkbox-indeterminate.ant-checkbox-disabled .ant-checkbox-inner:after{border-color:rgba(0,0,0,.25)}.ant-checkbox-checked .ant-checkbox-inner:after{transform:rotate(45deg) scale(1);position:absolute;display:table;border:2px solid #fff;border-top:0;border-left:0;content:' ';transition:all .2s cubic-bezier(.12, .4, .29, 1.46) .1s;opacity:1}.ant-checkbox-checked .ant-checkbox-inner{background-color:#1890ff;border-color:#1890ff}.ant-checkbox-disabled{cursor:not-allowed}.ant-checkbox-disabled.ant-checkbox-checked .ant-checkbox-inner:after{animation-name:none;border-color:rgba(0,0,0,.25)}.ant-checkbox-disabled .ant-checkbox-input{cursor:not-allowed}.ant-checkbox-disabled .ant-checkbox-inner{border-color:#d9d9d9!important;background-color:#f5f5f5}.ant-checkbox-disabled .ant-checkbox-inner:after{animation-name:none;border-color:#f5f5f5}.ant-checkbox-disabled+span{color:rgba(0,0,0,.25);cursor:not-allowed}.ant-checkbox-wrapper{font-family:"Chinese Quote",-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei","Helvetica Neue",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-size:14px;font-feature-settings:"tnum";font-variant:tabular-nums;line-height:1.5;color:rgba(0,0,0,.65);box-sizing:border-box;margin:0;padding:0;list-style:none;line-height:inherit;cursor:pointer;display:inline-block}.ant-checkbox-wrapper+.ant-checkbox-wrapper{margin-left:8px}.ant-checkbox+span,.ant-checkbox-wrapper+span{padding-left:8px;padding-right:8px}.ant-checkbox-group{font-family:"Chinese Quote",-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei","Helvetica Neue",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-size:14px;font-feature-settings:"tnum";font-variant:tabular-nums;line-height:1.5;color:rgba(0,0,0,.65);box-sizing:border-box;margin:0;padding:0;list-style:none;display:inline-block}.ant-checkbox-group-item{display:inline-block;margin-right:8px}.ant-checkbox-group-item:last-child{margin-right:0}.ant-checkbox-group-item+.ant-checkbox-group-item{margin-left:0}.ant-menu{font-family:"Chinese Quote",-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei","Helvetica Neue",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-size:14px;font-feature-settings:"tnum";font-variant:tabular-nums;line-height:1.5;box-sizing:border-box;margin:0;padding:0;outline:0;margin-bottom:0;padding-left:0;list-style:none;box-shadow:0 2px 8px rgba(0,0,0,.15);color:rgba(0,0,0,.65);background:#fff;line-height:0;transition:background .3s,width .2s;zoom:1}.ant-menu:after,.ant-menu:before{content:"";display:table}.ant-menu:after{clear:both}.ant-menu ol,.ant-menu ul{list-style:none;margin:0;padding:0}.ant-menu-hidden{display:none}.ant-menu-item-group-title{color:rgba(0,0,0,.45);font-size:14px;line-height:1.5;padding:8px 16px;transition:all .3s}.ant-menu-submenu,.ant-menu-submenu-inline{transition:border-color .3s cubic-bezier(.645, .045, .355, 1),background .3s cubic-bezier(.645, .045, .355, 1),padding .15s cubic-bezier(.645, .045, .355, 1)}.ant-menu-item:active,.ant-menu-submenu-title:active{background:#e6f7ff}.ant-menu-submenu .ant-menu-sub{cursor:auto;cursor:initial;transition:background .3s cubic-bezier(.645, .045, .355, 1),padding .3s cubic-bezier(.645, .045, .355, 1)}.ant-menu-item>a{display:block;color:rgba(0,0,0,.65)}.ant-menu-item>a:hover{color:#1890ff}.ant-menu-item>a:focus{-webkit-text-decoration:none;text-decoration:none}.ant-menu-item>a:before{position:absolute;background-color:transparent;top:0;left:0;bottom:0;right:0;content:''}.ant-menu-item-divider{height:1px;overflow:hidden;background-color:#e8e8e8;line-height:0}.ant-menu-item-active,.ant-menu-item:hover,.ant-menu-submenu-active,.ant-menu-submenu-title:hover,.ant-menu:not(.ant-menu-inline) .ant-menu-submenu-open{color:#1890ff}.ant-menu-horizontal .ant-menu-item,.ant-menu-horizontal .ant-menu-submenu{margin-top:-1px}.ant-menu-horizontal>.ant-menu-item-active,.ant-menu-horizontal>.ant-menu-item:hover,.ant-menu-horizontal>.ant-menu-submenu .ant-menu-submenu-title:hover{background-color:transparent}.ant-menu-item-selected{color:#1890ff}.ant-menu-item-selected>a,.ant-menu-item-selected>a:hover{color:#1890ff}.ant-menu:not(.ant-menu-horizontal) .ant-menu-item-selected{background-color:#e6f7ff}.ant-menu-inline,.ant-menu-vertical,.ant-menu-vertical-left{border-right:1px solid #e8e8e8}.ant-menu-vertical-right{border-left:1px solid #e8e8e8}.ant-menu-vertical-left.ant-menu-sub,.ant-menu-vertical-right.ant-menu-sub,.ant-menu-vertical.ant-menu-sub{border-right:0;padding:0;transform-origin:0 0}.ant-menu-vertical-left.ant-menu-sub .ant-menu-item,.ant-menu-vertical-right.ant-menu-sub .ant-menu-item,.ant-menu-vertical.ant-menu-sub .ant-menu-item{border-right:0;margin-left:0;left:0}.ant-menu-vertical-left.ant-menu-sub .ant-menu-item:after,.ant-menu-vertical-right.ant-menu-sub .ant-menu-item:after,.ant-menu-vertical.ant-menu-sub .ant-menu-item:after{border-right:0}.ant-menu-vertical-left.ant-menu-sub>.ant-menu-item,.ant-menu-vertical-left.ant-menu-sub>.ant-menu-submenu,.ant-menu-vertical-right.ant-menu-sub>.ant-menu-item,.ant-menu-vertical-right.ant-menu-sub>.ant-menu-submenu,.ant-menu-vertical.ant-menu-sub>.ant-menu-item,.ant-menu-vertical.ant-menu-sub>.ant-menu-submenu{transform-origin:0 0}.ant-menu-horizontal.ant-menu-sub,.ant-menu-vertical-left.ant-menu-sub,.ant-menu-vertical-right.ant-menu-sub,.ant-menu-vertical.ant-menu-sub{min-width:160px}.ant-menu-item,.ant-menu-submenu-title{cursor:pointer;margin:0;padding:0 20px;position:relative;display:block;white-space:nowrap;transition:color .3s cubic-bezier(.645, .045, .355, 1),border-color .3s cubic-bezier(.645, .045, .355, 1),background .3s cubic-bezier(.645, .045, .355, 1),padding .15s cubic-bezier(.645, .045, .355, 1)}.ant-menu-item .anticon,.ant-menu-submenu-title .anticon{min-width:14px;margin-right:10px;transition:font-size .15s cubic-bezier(.215, .61, .355, 1),margin .3s cubic-bezier(.645, .045, .355, 1)}.ant-menu-item .anticon+span,.ant-menu-submenu-title .anticon+span{transition:opacity .3s cubic-bezier(.645, .045, .355, 1),width .3s cubic-bezier(.645, .045, .355, 1);opacity:1}.ant-menu>.ant-menu-item-divider{height:1px;margin:1px 0;overflow:hidden;padding:0;line-height:0;background-color:#e8e8e8}.ant-menu-submenu-popup{position:absolute;border-radius:4px;z-index:1050}.ant-menu-submenu-popup:before{position:absolute;top:-7px;left:-6px;right:-6px;bottom:0;content:' ';opacity:.0001}.ant-menu-submenu>.ant-menu{background-color:#fff;border-radius:4px}.ant-menu-submenu>.ant-menu-submenu-title:after{transition:transform .3s cubic-bezier(.645, .045, .355, 1)}.ant-menu-submenu-inline>.ant-menu-submenu-title .ant-menu-submenu-arrow,.ant-menu-submenu-vertical-left>.ant-menu-submenu-title .ant-menu-submenu-arrow,.ant-menu-submenu-vertical-right>.ant-menu-submenu-title .ant-menu-submenu-arrow,.ant-menu-submenu-vertical>.ant-menu-submenu-title .ant-menu-submenu-arrow{transition:transform .3s cubic-bezier(.645, .045, .355, 1);position:absolute;top:50%;right:16px;width:10px}.ant-menu-submenu-inline>.ant-menu-submenu-title .ant-menu-submenu-arrow:after,.ant-menu-submenu-inline>.ant-menu-submenu-title .ant-menu-submenu-arrow:before,.ant-menu-submenu-vertical-left>.ant-menu-submenu-title .ant-menu-submenu-arrow:after,.ant-menu-submenu-vertical-left>.ant-menu-submenu-title .ant-menu-submenu-arrow:before,.ant-menu-submenu-vertical-right>.ant-menu-submenu-title .ant-menu-submenu-arrow:after,.ant-menu-submenu-vertical-right>.ant-menu-submenu-title .ant-menu-submenu-arrow:before,.ant-menu-submenu-vertical>.ant-menu-submenu-title .ant-menu-submenu-arrow:after,.ant-menu-submenu-vertical>.ant-menu-submenu-title .ant-menu-submenu-arrow:before{content:'';position:absolute;vertical-align:baseline;background:#fff;background-image:linear-gradient(to right,rgba(0,0,0,.65),rgba(0,0,0,.65));width:6px;height:1.5px;border-radius:2px;transition:background .3s cubic-bezier(.645, .045, .355, 1),transform .3s cubic-bezier(.645, .045, .355, 1),top .3s cubic-bezier(.645, .045, .355, 1)}.ant-menu-submenu-inline>.ant-menu-submenu-title .ant-menu-submenu-arrow:before,.ant-menu-submenu-vertical-left>.ant-menu-submenu-title .ant-menu-submenu-arrow:before,.ant-menu-submenu-vertical-right>.ant-menu-submenu-title .ant-menu-submenu-arrow:before,.ant-menu-submenu-vertical>.ant-menu-submenu-title .ant-menu-submenu-arrow:before{transform:rotate(45deg) translateY(-2px)}.ant-menu-submenu-inline>.ant-menu-submenu-title .ant-menu-submenu-arrow:after,.ant-menu-submenu-vertical-left>.ant-menu-submenu-title .ant-menu-submenu-arrow:after,.ant-menu-submenu-vertical-right>.ant-menu-submenu-title .ant-menu-submenu-arrow:after,.ant-menu-submenu-vertical>.ant-menu-submenu-title .ant-menu-submenu-arrow:after{transform:rotate(-45deg) translateY(2px)}.ant-menu-submenu-inline>.ant-menu-submenu-title:hover .ant-menu-submenu-arrow:after,.ant-menu-submenu-inline>.ant-menu-submenu-title:hover .ant-menu-submenu-arrow:before,.ant-menu-submenu-vertical-left>.ant-menu-submenu-title:hover .ant-menu-submenu-arrow:after,.ant-menu-submenu-vertical-left>.ant-menu-submenu-title:hover .ant-menu-submenu-arrow:before,.ant-menu-submenu-vertical-right>.ant-menu-submenu-title:hover .ant-menu-submenu-arrow:after,.ant-menu-submenu-vertical-right>.ant-menu-submenu-title:hover .ant-menu-submenu-arrow:before,.ant-menu-submenu-vertical>.ant-menu-submenu-title:hover .ant-menu-submenu-arrow:after,.ant-menu-submenu-vertical>.ant-menu-submenu-title:hover .ant-menu-submenu-arrow:before{background:linear-gradient(to right,#1890ff,#1890ff)}.ant-menu-submenu-inline>.ant-menu-submenu-title .ant-menu-submenu-arrow:before{transform:rotate(-45deg) translateX(2px)}.ant-menu-submenu-inline>.ant-menu-submenu-title .ant-menu-submenu-arrow:after{transform:rotate(45deg) translateX(-2px)}.ant-menu-submenu-open.ant-menu-submenu-inline>.ant-menu-submenu-title .ant-menu-submenu-arrow{transform:translateY(-2px)}.ant-menu-submenu-open.ant-menu-submenu-inline>.ant-menu-submenu-title .ant-menu-submenu-arrow:after{transform:rotate(-45deg) translateX(-2px)}.ant-menu-submenu-open.ant-menu-submenu-inline>.ant-menu-submenu-title .ant-menu-submenu-arrow:before{transform:rotate(45deg) translateX(2px)}.ant-menu-vertical .ant-menu-submenu-selected,.ant-menu-vertical-left .ant-menu-submenu-selected,.ant-menu-vertical-right .ant-menu-submenu-selected{color:#1890ff}.ant-menu-vertical .ant-menu-submenu-selected>a,.ant-menu-vertical-left .ant-menu-submenu-selected>a,.ant-menu-vertical-right .ant-menu-submenu-selected>a{color:#1890ff}.ant-menu-horizontal{border:0;border-bottom:1px solid #e8e8e8;box-shadow:none;line-height:46px}.ant-menu-horizontal>.ant-menu-item,.ant-menu-horizontal>.ant-menu-submenu{position:relative;top:1px;float:left;border-bottom:2px solid transparent}.ant-menu-horizontal>.ant-menu-item-active,.ant-menu-horizontal>.ant-menu-item-open,.ant-menu-horizontal>.ant-menu-item-selected,.ant-menu-horizontal>.ant-menu-item:hover,.ant-menu-horizontal>.ant-menu-submenu-active,.ant-menu-horizontal>.ant-menu-submenu-open,.ant-menu-horizontal>.ant-menu-submenu-selected,.ant-menu-horizontal>.ant-menu-submenu:hover{border-bottom:2px solid #1890ff;color:#1890ff}.ant-menu-horizontal>.ant-menu-item>a{display:block;color:rgba(0,0,0,.65)}.ant-menu-horizontal>.ant-menu-item>a:hover{color:#1890ff}.ant-menu-horizontal>.ant-menu-item>a:before{bottom:-2px}.ant-menu-horizontal>.ant-menu-item-selected>a{color:#1890ff}.ant-menu-horizontal:after{content:"\20";display:block;height:0;clear:both}.ant-menu-inline .ant-menu-item,.ant-menu-vertical .ant-menu-item,.ant-menu-vertical-left .ant-menu-item,.ant-menu-vertical-right .ant-menu-item{position:relative}.ant-menu-inline .ant-menu-item:after,.ant-menu-vertical .ant-menu-item:after,.ant-menu-vertical-left .ant-menu-item:after,.ant-menu-vertical-right .ant-menu-item:after{content:"";position:absolute;right:0;top:0;bottom:0;border-right:3px solid #1890ff;transform:scaleY(.0001);opacity:0;transition:transform .15s cubic-bezier(.215, .61, .355, 1),opacity .15s cubic-bezier(.215, .61, .355, 1)}.ant-menu-inline .ant-menu-item,.ant-menu-inline .ant-menu-submenu-title,.ant-menu-vertical .ant-menu-item,.ant-menu-vertical .ant-menu-submenu-title,.ant-menu-vertical-left .ant-menu-item,.ant-menu-vertical-left .ant-menu-submenu-title,.ant-menu-vertical-right .ant-menu-item,.ant-menu-vertical-right .ant-menu-submenu-title{padding:0 16px;font-size:14px;line-height:40px;height:40px;margin-top:4px;margin-bottom:4px;overflow:hidden;text-overflow:ellipsis}.ant-menu-inline .ant-menu-submenu,.ant-menu-vertical .ant-menu-submenu,.ant-menu-vertical-left .ant-menu-submenu,.ant-menu-vertical-right .ant-menu-submenu{padding-bottom:.01px}.ant-menu-inline .ant-menu-item:not(:last-child),.ant-menu-vertical .ant-menu-item:not(:last-child),.ant-menu-vertical-left .ant-menu-item:not(:last-child),.ant-menu-vertical-right .ant-menu-item:not(:last-child){margin-bottom:8px}.ant-menu-inline>.ant-menu-item,.ant-menu-inline>.ant-menu-submenu>.ant-menu-submenu-title,.ant-menu-vertical-left>.ant-menu-item,.ant-menu-vertical-left>.ant-menu-submenu>.ant-menu-submenu-title,.ant-menu-vertical-right>.ant-menu-item,.ant-menu-vertical-right>.ant-menu-submenu>.ant-menu-submenu-title,.ant-menu-vertical>.ant-menu-item,.ant-menu-vertical>.ant-menu-submenu>.ant-menu-submenu-title{line-height:40px;height:40px}.ant-menu-inline{width:100%}.ant-menu-inline .ant-menu-item-selected:after,.ant-menu-inline .ant-menu-selected:after{transition:transform .15s cubic-bezier(.645, .045, .355, 1),opacity .15s cubic-bezier(.645, .045, .355, 1);opacity:1;transform:scaleY(1)}.ant-menu-inline .ant-menu-item,.ant-menu-inline .ant-menu-submenu-title{width:calc(100% + 1px)}.ant-menu-inline .ant-menu-submenu-title{padding-right:34px}.ant-menu-inline-collapsed{width:80px}.ant-menu-inline-collapsed>.ant-menu-item,.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-item,.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-submenu>.ant-menu-submenu-title,.ant-menu-inline-collapsed>.ant-menu-submenu>.ant-menu-submenu-title{left:0;text-overflow:clip;padding:0 32px!important}.ant-menu-inline-collapsed>.ant-menu-item .ant-menu-submenu-arrow,.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-item .ant-menu-submenu-arrow,.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-submenu>.ant-menu-submenu-title .ant-menu-submenu-arrow,.ant-menu-inline-collapsed>.ant-menu-submenu>.ant-menu-submenu-title .ant-menu-submenu-arrow{display:none}.ant-menu-inline-collapsed>.ant-menu-item .anticon,.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-item .anticon,.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-submenu>.ant-menu-submenu-title .anticon,.ant-menu-inline-collapsed>.ant-menu-submenu>.ant-menu-submenu-title .anticon{font-size:16px;line-height:40px;margin:0}.ant-menu-inline-collapsed>.ant-menu-item .anticon+span,.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-item .anticon+span,.ant-menu-inline-collapsed>.ant-menu-item-group>.ant-menu-item-group-list>.ant-menu-submenu>.ant-menu-submenu-title .anticon+span,.ant-menu-inline-collapsed>.ant-menu-submenu>.ant-menu-submenu-title .anticon+span{max-width:0;display:inline-block;opacity:0}.ant-menu-inline-collapsed-tooltip{pointer-events:none}.ant-menu-inline-collapsed-tooltip .anticon{display:none}.ant-menu-inline-collapsed-tooltip a{color:rgba(255,255,255,.85)}.ant-menu-inline-collapsed .ant-menu-item-group-title{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;padding-left:4px;padding-right:4px}.ant-menu-item-group-list{margin:0;padding:0}.ant-menu-item-group-list .ant-menu-item,.ant-menu-item-group-list .ant-menu-submenu-title{padding:0 16px 0 28px}.ant-menu-root.ant-menu-inline,.ant-menu-root.ant-menu-vertical,.ant-menu-root.ant-menu-vertical-left,.ant-menu-root.ant-menu-vertical-right{box-shadow:none}.ant-menu-sub.ant-menu-inline{padding:0;border:0;box-shadow:none;border-radius:0}.ant-menu-sub.ant-menu-inline>.ant-menu-item,.ant-menu-sub.ant-menu-inline>.ant-menu-submenu>.ant-menu-submenu-title{line-height:40px;height:40px;list-style-type:disc;list-style-position:inside}.ant-menu-sub.ant-menu-inline .ant-menu-item-group-title{padding-left:32px}.ant-menu-item-disabled,.ant-menu-submenu-disabled{color:rgba(0,0,0,.25)!important;cursor:not-allowed;background:0 0;border-color:transparent!important}.ant-menu-item-disabled>a,.ant-menu-submenu-disabled>a{color:rgba(0,0,0,.25)!important;pointer-events:none}.ant-menu-item-disabled>.ant-menu-submenu-title,.ant-menu-submenu-disabled>.ant-menu-submenu-title{color:rgba(0,0,0,.25)!important;cursor:not-allowed}.ant-menu-item-disabled>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-item-disabled>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before,.ant-menu-submenu-disabled>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-submenu-disabled>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before{background:rgba(0,0,0,.25)!important}.ant-menu-dark,.ant-menu-dark .ant-menu-sub{color:rgba(255,255,255,.65);background:#001529}.ant-menu-dark .ant-menu-sub .ant-menu-submenu-title .ant-menu-submenu-arrow,.ant-menu-dark .ant-menu-submenu-title .ant-menu-submenu-arrow{opacity:.45;transition:all .3s}.ant-menu-dark .ant-menu-sub .ant-menu-submenu-title .ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-sub .ant-menu-submenu-title .ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-submenu-title .ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-submenu-title .ant-menu-submenu-arrow:before{background:#fff}.ant-menu-dark.ant-menu-submenu-popup{background:0 0}.ant-menu-dark .ant-menu-inline.ant-menu-sub{background:#000c17;box-shadow:0 2px 8px rgba(0,0,0,.45) inset}.ant-menu-dark.ant-menu-horizontal{border-bottom:0}.ant-menu-dark.ant-menu-horizontal>.ant-menu-item,.ant-menu-dark.ant-menu-horizontal>.ant-menu-submenu{border-color:#001529;border-bottom:0;top:0;margin-top:0}.ant-menu-dark.ant-menu-horizontal>.ant-menu-item>a:before{bottom:0}.ant-menu-dark .ant-menu-item,.ant-menu-dark .ant-menu-item-group-title,.ant-menu-dark .ant-menu-item>a{color:rgba(255,255,255,.65)}.ant-menu-dark.ant-menu-inline,.ant-menu-dark.ant-menu-vertical,.ant-menu-dark.ant-menu-vertical-left,.ant-menu-dark.ant-menu-vertical-right{border-right:0}.ant-menu-dark.ant-menu-inline .ant-menu-item,.ant-menu-dark.ant-menu-vertical .ant-menu-item,.ant-menu-dark.ant-menu-vertical-left .ant-menu-item,.ant-menu-dark.ant-menu-vertical-right .ant-menu-item{border-right:0;margin-left:0;left:0}.ant-menu-dark.ant-menu-inline .ant-menu-item:after,.ant-menu-dark.ant-menu-vertical .ant-menu-item:after,.ant-menu-dark.ant-menu-vertical-left .ant-menu-item:after,.ant-menu-dark.ant-menu-vertical-right .ant-menu-item:after{border-right:0}.ant-menu-dark.ant-menu-inline .ant-menu-item,.ant-menu-dark.ant-menu-inline .ant-menu-submenu-title{width:100%}.ant-menu-dark .ant-menu-item-active,.ant-menu-dark .ant-menu-item:hover,.ant-menu-dark .ant-menu-submenu-active,.ant-menu-dark .ant-menu-submenu-open,.ant-menu-dark .ant-menu-submenu-selected,.ant-menu-dark .ant-menu-submenu-title:hover{background-color:transparent;color:#fff}.ant-menu-dark .ant-menu-item-active>a,.ant-menu-dark .ant-menu-item:hover>a,.ant-menu-dark .ant-menu-submenu-active>a,.ant-menu-dark .ant-menu-submenu-open>a,.ant-menu-dark .ant-menu-submenu-selected>a,.ant-menu-dark .ant-menu-submenu-title:hover>a{color:#fff}.ant-menu-dark .ant-menu-item-active>.ant-menu-submenu-title:hover>.ant-menu-submenu-arrow,.ant-menu-dark .ant-menu-item-active>.ant-menu-submenu-title>.ant-menu-submenu-arrow,.ant-menu-dark .ant-menu-item:hover>.ant-menu-submenu-title:hover>.ant-menu-submenu-arrow,.ant-menu-dark .ant-menu-item:hover>.ant-menu-submenu-title>.ant-menu-submenu-arrow,.ant-menu-dark .ant-menu-submenu-active>.ant-menu-submenu-title:hover>.ant-menu-submenu-arrow,.ant-menu-dark .ant-menu-submenu-active>.ant-menu-submenu-title>.ant-menu-submenu-arrow,.ant-menu-dark .ant-menu-submenu-open>.ant-menu-submenu-title:hover>.ant-menu-submenu-arrow,.ant-menu-dark .ant-menu-submenu-open>.ant-menu-submenu-title>.ant-menu-submenu-arrow,.ant-menu-dark .ant-menu-submenu-selected>.ant-menu-submenu-title:hover>.ant-menu-submenu-arrow,.ant-menu-dark .ant-menu-submenu-selected>.ant-menu-submenu-title>.ant-menu-submenu-arrow,.ant-menu-dark .ant-menu-submenu-title:hover>.ant-menu-submenu-title:hover>.ant-menu-submenu-arrow,.ant-menu-dark .ant-menu-submenu-title:hover>.ant-menu-submenu-title>.ant-menu-submenu-arrow{opacity:1}.ant-menu-dark .ant-menu-item-active>.ant-menu-submenu-title:hover>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-item-active>.ant-menu-submenu-title:hover>.ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-item-active>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-item-active>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-item:hover>.ant-menu-submenu-title:hover>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-item:hover>.ant-menu-submenu-title:hover>.ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-item:hover>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-item:hover>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-submenu-active>.ant-menu-submenu-title:hover>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-submenu-active>.ant-menu-submenu-title:hover>.ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-submenu-active>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-submenu-active>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-submenu-open>.ant-menu-submenu-title:hover>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-submenu-open>.ant-menu-submenu-title:hover>.ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-submenu-open>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-submenu-open>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-submenu-selected>.ant-menu-submenu-title:hover>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-submenu-selected>.ant-menu-submenu-title:hover>.ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-submenu-selected>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-submenu-selected>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-submenu-title:hover>.ant-menu-submenu-title:hover>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-submenu-title:hover>.ant-menu-submenu-title:hover>.ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-submenu-title:hover>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-submenu-title:hover>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before{background:#fff}.ant-menu-dark .ant-menu-item-selected{border-right:0;color:#fff}.ant-menu-dark .ant-menu-item-selected:after{border-right:0}.ant-menu-dark .ant-menu-item-selected>a,.ant-menu-dark .ant-menu-item-selected>a:hover{color:#fff}.ant-menu-submenu-popup.ant-menu-dark .ant-menu-item-selected,.ant-menu.ant-menu-dark .ant-menu-item-selected{background-color:#1890ff}.ant-menu-dark .ant-menu-item-disabled,.ant-menu-dark .ant-menu-item-disabled>a,.ant-menu-dark .ant-menu-submenu-disabled,.ant-menu-dark .ant-menu-submenu-disabled>a{opacity:.8;color:rgba(255,255,255,.35)!important}.ant-menu-dark .ant-menu-item-disabled>.ant-menu-submenu-title,.ant-menu-dark .ant-menu-submenu-disabled>.ant-menu-submenu-title{color:rgba(255,255,255,.35)!important}.ant-menu-dark .ant-menu-item-disabled>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-item-disabled>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before,.ant-menu-dark .ant-menu-submenu-disabled>.ant-menu-submenu-title>.ant-menu-submenu-arrow:after,.ant-menu-dark .ant-menu-submenu-disabled>.ant-menu-submenu-title>.ant-menu-submenu-arrow:before{background:rgba(255,255,255,.35)!important}.ant-btn{line-height:1.5;display:inline-block;font-weight:400;text-align:center;touch-action:manipulation;cursor:pointer;background-image:none;border:1px solid transparent;white-space:nowrap;padding:0 15px;font-size:14px;border-radius:4px;height:32px;-webkit-user-select:none;-moz-user-select:none;user-select:none;transition:all .3s cubic-bezier(.645, .045, .355, 1);position:relative;color:rgba(0,0,0,.65);background-color:#fff;border-color:#d9d9d9}.ant-btn>.anticon{line-height:1}.ant-btn,.ant-btn:active,.ant-btn:focus{outline:0}.ant-btn:not([disabled]):hover{-webkit-text-decoration:none;text-decoration:none}.ant-btn:not([disabled]):active{outline:0;transition:none}.ant-btn.disabled,.ant-btn[disabled]{cursor:not-allowed}.ant-btn.disabled>*,.ant-btn[disabled]>*{pointer-events:none}.ant-btn-lg{padding:0 15px;font-size:16px;border-radius:4px;height:40px}.ant-btn-sm{padding:0 7px;font-size:14px;border-radius:4px;height:24px}.ant-btn>a:only-child{color:currentColor}.ant-btn>a:only-child:after{content:'';position:absolute;top:0;left:0;bottom:0;right:0;background:0 0}.ant-btn:focus,.ant-btn:hover{color:#40a9ff;background-color:#fff;border-color:#40a9ff}.ant-btn:focus>a:only-child,.ant-btn:hover>a:only-child{color:currentColor}.ant-btn:focus>a:only-child:after,.ant-btn:hover>a:only-child:after{content:'';position:absolute;top:0;left:0;bottom:0;right:0;background:0 0}.ant-btn.active,.ant-btn:active{color:#096dd9;background-color:#fff;border-color:#096dd9}.ant-btn.active>a:only-child,.ant-btn:active>a:only-child{color:currentColor}.ant-btn.active>a:only-child:after,.ant-btn:active>a:only-child:after{content:'';position:absolute;top:0;left:0;bottom:0;right:0;background:0 0}.ant-btn.disabled,.ant-btn.disabled.active,.ant-btn.disabled:active,.ant-btn.disabled:focus,.ant-btn.disabled:hover,.ant-btn[disabled],.ant-btn[disabled].active,.ant-btn[disabled]:active,.ant-btn[disabled]:focus,.ant-btn[disabled]:hover{color:rgba(0,0,0,.25);background-color:#f5f5f5;border-color:#d9d9d9}.ant-btn.disabled.active>a:only-child,.ant-btn.disabled:active>a:only-child,.ant-btn.disabled:focus>a:only-child,.ant-btn.disabled:hover>a:only-child,.ant-btn.disabled>a:only-child,.ant-btn[disabled].active>a:only-child,.ant-btn[disabled]:active>a:only-child,.ant-btn[disabled]:focus>a:only-child,.ant-btn[disabled]:hover>a:only-child,.ant-btn[disabled]>a:only-child{color:currentColor}.ant-btn.disabled.active>a:only-child:after,.ant-btn.disabled:active>a:only-child:after,.ant-btn.disabled:focus>a:only-child:after,.ant-btn.disabled:hover>a:only-child:after,.ant-btn.disabled>a:only-child:after,.ant-btn[disabled].active>a:only-child:after,.ant-btn[disabled]:active>a:only-child:after,.ant-btn[disabled]:focus>a:only-child:after,.ant-btn[disabled]:hover>a:only-child:after,.ant-btn[disabled]>a:only-child:after{content:'';position:absolute;top:0;left:0;bottom:0;right:0;background:0 0}.ant-btn.active,.ant-btn:active,.ant-btn:focus,.ant-btn:hover{background:#fff;-webkit-text-decoration:none;text-decoration:none}.ant-btn>i,.ant-btn>span{pointer-events:none}.ant-btn-primary{color:#fff;background-color:#1890ff;border-color:#1890ff}.ant-btn-primary>a:only-child{color:currentColor}.ant-btn-primary>a:only-child:after{content:'';position:absolute;top:0;left:0;bottom:0;right:0;background:0 0}.ant-btn-primary:focus,.ant-btn-primary:hover{color:#fff;background-color:#40a9ff;border-color:#40a9ff}.ant-btn-primary:focus>a:only-child,.ant-btn-primary:hover>a:only-child{color:currentColor}.ant-btn-primary:focus>a:only-child:after,.ant-btn-primary:hover>a:only-child:after{content:'';position:absolute;top:0;left:0;bottom:0;right:0;background:0 0}.ant-btn-primary.active,.ant-btn-primary:active{color:#fff;background-color:#096dd9;border-color:#096dd9}.ant-btn-primary.active>a:only-child,.ant-btn-primary:active>a:only-child{color:currentColor}.ant-btn-primary.active>a:only-child:after,.ant-btn-primary:active>a:only-child:after{content:'';position:absolute;top:0;left:0;bottom:0;right:0;background:0 0}.ant-btn-primary.disabled,.ant-btn-primary.disabled.active,.ant-btn-primary.disabled:active,.ant-btn-primary.disabled:focus,.ant-btn-primary.disabled:hover,.ant-btn-primary[disabled],.ant-btn-primary[disabled].active,.ant-btn-primary[disabled]:active,.ant-btn-primary[disabled]:focus,.ant-btn-primary[disabled]:hover{color:rgba(0,0,0,.25);background-color:#f5f5f5;border-color:#d9d9d9}.ant-btn-primary.disabled.active>a:only-child,.ant-btn-primary.disabled:active>a:only-child,.ant-btn-primary.disabled:focus>a:only-child,.ant-btn-primary.disabled:hover>a:only-child,.ant-btn-primary.disabled>a:only-child,.ant-btn-primary[disabled].active>a:only-child,.ant-btn-primary[disabled]:active>a:only-child,.ant-btn-primary[disabled]:focus>a:only-child,.ant-btn-primary[disabled]:hover>a:only-child,.ant-btn-primary[disabled]>a:only-child{color:currentColor}.ant-btn-primary.disabled.active>a:only-child:after,.ant-btn-primary.disabled:active>a:only-child:after,.ant-btn-primary.disabled:focus>a:only-child:after,.ant-btn-primary.disabled:hover>a:only-child:after,.ant-btn-primary.disabled>a:only-child:after,.ant-btn-primary[disabled].active>a:only-child:after,.ant-btn-primary[disabled]:active>a:only-child:after,.ant-btn-primary[disabled]:focus>a:only-child:after,.ant-btn-primary[disabled]:hover>a:only-child:after,.ant-btn-primary[disabled]>a:only-child:after{content:'';position:absolute;top:0;left:0;bottom:0;right:0;background:0 0}.ant-btn-group .ant-btn-primary:not(:first-child):not(:last-child){border-right-color:#40a9ff;border-left-color:#40a9ff}.ant-btn-group .ant-btn-primary:not(:first-child):not(:last-child):disabled{border-color:#d9d9d9}.ant-btn-group .ant-btn-primary:first-child:not(:last-child){border-right-color:#40a9ff}.ant-btn-group .ant-btn-primary:first-child:not(:last-child)[disabled]{border-right-color:#d9d9d9}.ant-btn-group .ant-btn-primary+.ant-btn-primary,.ant-btn-group .ant-btn-primary:last-child:not(:first-child){border-left-color:#40a9ff}.ant-btn-group .ant-btn-primary+.ant-btn-primary[disabled],.ant-btn-group .ant-btn-primary:last-child:not(:first-child)[disabled]{border-left-color:#d9d9d9}.ant-btn-ghost{color:rgba(0,0,0,.65);background-color:transparent;border-color:#d9d9d9}.ant-btn-ghost>a:only-child{color:currentColor}.ant-btn-ghost>a:only-child:after{content:'';position:absolute;top:0;left:0;bottom:0;right:0;background:0 0}.ant-btn-ghost:focus,.ant-btn-ghost:hover{color:#40a9ff;background-color:transparent;border-color:#40a9ff}.ant-btn-ghost:focus>a:only-child,.ant-btn-ghost:hover>a:only-child{color:currentColor}.ant-btn-ghost:focus>a:only-child:after,.ant-btn-ghost:hover>a:only-child:after{content:'';position:absolute;top:0;left:0;bottom:0;right:0;background:0 0}.ant-btn-ghost.active,.ant-btn-ghost:active{color:#096dd9;background-color:transparent;border-color:#096dd9}.ant-btn-ghost.active>a:only-child,.ant-btn-ghost:active>a:only-child{color:currentColor}.ant-btn-ghost.active>a:only-child:after,.ant-btn-ghost:active>a:only-child:after{content:'';position:absolute;top:0;left:0;bottom:0;right:0;background:0 0}.ant-btn-ghost.disabled,.ant-btn-ghost.disabled.active,.ant-btn-ghost.disabled:active,.ant-btn-ghost.disabled:focus,.ant-btn-ghost.disabled:hover,.ant-btn-ghost[disabled],.ant-btn-ghost[disabled].active,.ant-btn-ghost[disabled]:active,.ant-btn-ghost[disabled]:focus,.ant-btn-ghost[disabled]:hover{color:rgba(0,0,0,.25);background-color:#f5f5f5;border-color:#d9d9d9}.ant-btn-ghost.disabled.active>a:only-child,.ant-btn-ghost.disabled:active>a:only-child,.ant-btn-ghost.disabled:focus>a:only-child,.ant-btn-ghost.disabled:hover>a:only-child,.ant-btn-ghost.disabled>a:only-child,.ant-btn-ghost[disabled].active>a:only-child,.ant-btn-ghost[disabled]:active>a:only-child,.ant-btn-ghost[disabled]:focus>a:only-child,.ant-btn-ghost[disabled]:hover>a:only-child,.ant-btn-ghost[disabled]>a:only-child{color:currentColor}.ant-btn-ghost.disabled.active>a:only-child:after,.ant-btn-ghost.disabled:active>a:only-child:after,.ant-btn-ghost.disabled:focus>a:only-child:after,.ant-btn-ghost.disabled:hover>a:only-child:after,.ant-btn-ghost.disabled>a:only-child:after,.ant-btn-ghost[disabled].active>a:only-child:after,.ant-btn-ghost[disabled]:active>a:only-child:after,.ant-btn-ghost[disabled]:focus>a:only-child:after,.ant-btn-ghost[disabled]:hover>a:only-child:after,.ant-btn-ghost[disabled]>a:only-child:after{content:'';position:absolute;top:0;left:0;bottom:0;right:0;background:0 0}.ant-btn-dashed{color:rgba(0,0,0,.65);background-color:#fff;border-color:#d9d9d9;border-style:dashed}.ant-btn-dashed>a:only-child{color:currentColor}.ant-btn-dashed>a:only-child:after{content:'';position:absolute;top:0;left:0;bottom:0;right:0;background:0 0}.ant-btn-dashed:focus,.ant-btn-dashed:hover{color:#40a9ff;background-color:#fff;border-color:#40a9ff}.ant-btn-dashed:focus>a:only-child,.ant-btn-dashed:hover>a:only-child{color:currentColor}.ant-btn-dashed:focus>a:only-child:after,.ant-btn-dashed:hover>a:only-child:after{content:'';position:absolute;top:0;left:0;bottom:0;right:0;background:0 0}.ant-btn-dashed.active,.ant-btn-dashed:active{color:#096dd9;background-color:#fff;border-color:#096dd9}.ant-btn-dashed.active>a:only-child,.ant-btn-dashed:active>a:only-child{color:currentColor}.ant-btn-dashed.active>a:only-child:after,.ant-btn-dashed:active>a:only-child:after{content:'';position:absolute;top:0;left:0;bottom:0;right:0;background:0 0}.ant-btn-dashed.disabled,.ant-btn-dashed.disabled.active,.ant-btn-dashed.disabled:active,.ant-btn-dashed.disabled:focus,.ant-btn-dashed.disabled:hover,.ant-btn-dashed[disabled],.ant-btn-dashed[disabled].active,.ant-btn-dashed[disabled]:active,.ant-btn-dashed[disabled]:focus,.ant-btn-dashed[disabled]:hover{color:rgba(0,0,0,.25);background-color:#f5f5f5;border-color:#d9d9d9}.ant-btn-dashed.disabled.active>a:only-child,.ant-btn-dashed.disabled:active>a:only-child,.ant-btn-dashed.disabled:focus>a:only-child,.ant-btn-dashed.disabled:hover>a:only-child,.ant-btn-dashed.disabled>a:only-child,.ant-btn-dashed[disabled].active>a:only-child,.ant-btn-dashed[disabled]:active>a:only-child,.ant-btn-dashed[disabled]:focus>a:only-child,.ant-btn-dashed[disabled]:hover>a:only-child,.ant-btn-dashed[disabled]>a:only-child{color:currentColor}.ant-btn-dashed.disabled.active>a:only-child:after,.ant-btn-dashed.disabled:active>a:only-child:after,.ant-btn-dashed.disabled:focus>a:only-child:after,.ant-btn-dashed.disabled:hover>a:only-child:after,.ant-btn-dashed.disabled>a:only-child:after,.ant-btn-dashed[disabled].active>a:only-child:after,.ant-btn-dashed[disabled]:active>a:only-child:after,.ant-btn-dashed[disabled]:focus>a:only-child:after,.ant-btn-dashed[disabled]:hover>a:only-child:after,.ant-btn-dashed[disabled]>a:only-child:after{content:'';position:absolute;top:0;left:0;bottom:0;right:0;background:0 0}.ant-btn-danger{color:#f5222d;background-color:#f5f5f5;border-color:#d9d9d9}.ant-btn-danger>a:only-child{color:currentColor}.ant-btn-danger>a:only-child:after{content:'';position:absolute;top:0;left:0;bottom:0;right:0;background:0 0}.ant-btn-danger:hover{color:#fff;background-color:#ff4d4f;border-color:#ff4d4f}.ant-btn-danger:hover>a:only-child{color:currentColor}.ant-btn-danger:hover>a:only-child:after{content:'';position:absolute;top:0;left:0;bottom:0;right:0;background:0 0}.ant-btn-danger:focus{color:#ff4d4f;background-color:#fff;border-color:#ff4d4f}.ant-btn-danger:focus>a:only-child{color:currentColor}.ant-btn-danger:focus>a:only-child:after{content:'';position:absolute;top:0;left:0;bottom:0;right:0;background:0 0}.ant-btn-danger.active,.ant-btn-danger:active{color:#fff;background-color:#cf1322;border-color:#cf1322}.ant-btn-danger.active>a:only-child,.ant-btn-danger:active>a:only-child{color:currentColor}.ant-btn-danger.active>a:only-child:after,.ant-btn-danger:active>a:only-child:after{content:'';position:absolute;top:0;left:0;bottom:0;right:0;background:0 0}.ant-btn-danger.disabled,.ant-btn-danger.disabled.active,.ant-btn-danger.disabled:active,.ant-btn-danger.disabled:focus,.ant-btn-danger.disabled:hover,.ant-btn-danger[disabled],.ant-btn-danger[disabled].active,.ant-btn-danger[disabled]:active,.ant-btn-danger[disabled]:focus,.ant-btn-danger[disabled]:hover{color:rgba(0,0,0,.25);background-color:#f5f5f5;border-color:#d9d9d9}.ant-btn-danger.disabled.active>a:only-child,.ant-btn-danger.disabled:active>a:only-child,.ant-btn-danger.disabled:focus>a:only-child,.ant-btn-danger.disabled:hover>a:only-child,.ant-btn-danger.disabled>a:only-child,.ant-btn-danger[disabled].active>a:only-child,.ant-btn-danger[disabled]:active>a:only-child,.ant-btn-danger[disabled]:focus>a:only-child,.ant-btn-danger[disabled]:hover>a:only-child,.ant-btn-danger[disabled]>a:only-child{color:currentColor}.ant-btn-danger.disabled.active>a:only-child:after,.ant-btn-danger.disabled:active>a:only-child:after,.ant-btn-danger.disabled:focus>a:only-child:after,.ant-btn-danger.disabled:hover>a:only-child:after,.ant-btn-danger.disabled>a:only-child:after,.ant-btn-danger[disabled].active>a:only-child:after,.ant-btn-danger[disabled]:active>a:only-child:after,.ant-btn-danger[disabled]:focus>a:only-child:after,.ant-btn-danger[disabled]:hover>a:only-child:after,.ant-btn-danger[disabled]>a:only-child:after{content:'';position:absolute;top:0;left:0;bottom:0;right:0;background:0 0}.ant-btn-circle,.ant-btn-circle-outline{width:32px;padding:0;font-size:16px;border-radius:50%;height:32px}.ant-btn-circle-outline.ant-btn-lg,.ant-btn-circle.ant-btn-lg{width:40px;padding:0;font-size:18px;border-radius:50%;height:40px}.ant-btn-circle-outline.ant-btn-sm,.ant-btn-circle.ant-btn-sm{width:24px;padding:0;font-size:14px;border-radius:50%;height:24px}.ant-btn:before{position:absolute;top:-1px;left:-1px;bottom:-1px;right:-1px;background:#fff;opacity:.35;content:'';border-radius:inherit;z-index:1;transition:opacity .2s;pointer-events:none;display:none}.ant-btn .anticon{transition:margin-left .3s cubic-bezier(.645, .045, .355, 1)}.ant-btn.ant-btn-loading:before{display:block}.ant-btn.ant-btn-loading:not(.ant-btn-circle):not(.ant-btn-circle-outline):not(.ant-btn-icon-only){padding-left:29px;pointer-events:none;position:relative}.ant-btn.ant-btn-loading:not(.ant-btn-circle):not(.ant-btn-circle-outline):not(.ant-btn-icon-only) .anticon{margin-left:-14px}.ant-btn-sm.ant-btn-loading:not(.ant-btn-circle):not(.ant-btn-circle-outline):not(.ant-btn-icon-only){padding-left:24px}.ant-btn-sm.ant-btn-loading:not(.ant-btn-circle):not(.ant-btn-circle-outline):not(.ant-btn-icon-only) .anticon{margin-left:-17px}.ant-btn-group{position:relative;display:inline-block}.ant-btn-group>.ant-btn,.ant-btn-group>span>.ant-btn{position:relative;line-height:30px}.ant-btn-group>.ant-btn.active,.ant-btn-group>.ant-btn:active,.ant-btn-group>.ant-btn:focus,.ant-btn-group>.ant-btn:hover,.ant-btn-group>span>.ant-btn.active,.ant-btn-group>span>.ant-btn:active,.ant-btn-group>span>.ant-btn:focus,.ant-btn-group>span>.ant-btn:hover{z-index:2}.ant-btn-group>.ant-btn:disabled,.ant-btn-group>span>.ant-btn:disabled{z-index:0}.ant-btn-group-lg>.ant-btn,.ant-btn-group-lg>span>.ant-btn{padding:0 15px;font-size:16px;border-radius:0;height:40px;line-height:38px}.ant-btn-group-sm>.ant-btn,.ant-btn-group-sm>span>.ant-btn{padding:0 7px;font-size:14px;border-radius:0;height:24px;line-height:22px}.ant-btn-group-sm>.ant-btn>.anticon,.ant-btn-group-sm>span>.ant-btn>.anticon{font-size:14px}.ant-btn+.ant-btn-group,.ant-btn-group .ant-btn+.ant-btn,.ant-btn-group .ant-btn+span,.ant-btn-group span+.ant-btn,.ant-btn-group+.ant-btn,.ant-btn-group+.ant-btn-group,.ant-btn-group>span+span{margin-left:-1px}.ant-btn-group .ant-btn-primary+.ant-btn:not(.ant-btn-primary):not([disabled]){border-left-color:transparent}.ant-btn-group .ant-btn{border-radius:0}.ant-btn-group>.ant-btn:first-child,.ant-btn-group>span:first-child>.ant-btn{margin-left:0}.ant-btn-group>.ant-btn:only-child{border-radius:4px}.ant-btn-group>span:only-child>.ant-btn{border-radius:4px}.ant-btn-group>.ant-btn:first-child:not(:last-child),.ant-btn-group>span:first-child:not(:last-child)>.ant-btn{border-bottom-left-radius:4px;border-top-left-radius:4px}.ant-btn-group>.ant-btn:last-child:not(:first-child),.ant-btn-group>span:last-child:not(:first-child)>.ant-btn{border-bottom-right-radius:4px;border-top-right-radius:4px}.ant-btn-group-sm>.ant-btn:only-child{border-radius:4px}.ant-btn-group-sm>span:only-child>.ant-btn{border-radius:4px}.ant-btn-group-sm>.ant-btn:first-child:not(:last-child),.ant-btn-group-sm>span:first-child:not(:last-child)>.ant-btn{border-bottom-left-radius:4px;border-top-left-radius:4px}.ant-btn-group-sm>.ant-btn:last-child:not(:first-child),.ant-btn-group-sm>span:last-child:not(:first-child)>.ant-btn{border-bottom-right-radius:4px;border-top-right-radius:4px}.ant-btn-group>.ant-btn-group{float:left}.ant-btn-group>.ant-btn-group:not(:first-child):not(:last-child)>.ant-btn{border-radius:0}.ant-btn-group>.ant-btn-group:first-child:not(:last-child)>.ant-btn:last-child{border-bottom-right-radius:0;border-top-right-radius:0;padding-right:8px}.ant-btn-group>.ant-btn-group:last-child:not(:first-child)>.ant-btn:first-child{border-bottom-left-radius:0;border-top-left-radius:0;padding-left:8px}.ant-btn:not(.ant-btn-circle):not(.ant-btn-circle-outline).ant-btn-icon-only{padding-left:8px;padding-right:8px}.ant-btn:active>span,.ant-btn:focus>span{position:relative}.ant-btn>.anticon+span,.ant-btn>span+.anticon{margin-left:8px}.ant-btn-background-ghost{background:0 0!important;border-color:#fff;color:#fff}.ant-btn-background-ghost.ant-btn-primary{color:#1890ff;background-color:transparent;border-color:#1890ff}.ant-btn-background-ghost.ant-btn-primary>a:only-child{color:currentColor}.ant-btn-background-ghost.ant-btn-primary>a:only-child:after{content:'';position:absolute;top:0;left:0;bottom:0;right:0;background:0 0}.ant-btn-background-ghost.ant-btn-primary:focus,.ant-btn-background-ghost.ant-btn-primary:hover{color:#40a9ff;background-color:transparent;border-color:#40a9ff}.ant-btn-background-ghost.ant-btn-primary:focus>a:only-child,.ant-btn-background-ghost.ant-btn-primary:hover>a:only-child{color:currentColor}.ant-btn-background-ghost.ant-btn-primary:focus>a:only-child:after,.ant-btn-background-ghost.ant-btn-primary:hover>a:only-child:after{content:'';position:absolute;top:0;left:0;bottom:0;right:0;background:0 0}.ant-btn-background-ghost.ant-btn-primary.active,.ant-btn-background-ghost.ant-btn-primary:active{color:#096dd9;background-color:transparent;border-color:#096dd9}.ant-btn-background-ghost.ant-btn-primary.active>a:only-child,.ant-btn-background-ghost.ant-btn-primary:active>a:only-child{color:currentColor}.ant-btn-background-ghost.ant-btn-primary.active>a:only-child:after,.ant-btn-background-ghost.ant-btn-primary:active>a:only-child:after{content:'';position:absolute;top:0;left:0;bottom:0;right:0;background:0 0}.ant-btn-background-ghost.ant-btn-primary.disabled,.ant-btn-background-ghost.ant-btn-primary.disabled.active,.ant-btn-background-ghost.ant-btn-primary.disabled:active,.ant-btn-background-ghost.ant-btn-primary.disabled:focus,.ant-btn-background-ghost.ant-btn-primary.disabled:hover,.ant-btn-background-ghost.ant-btn-primary[disabled],.ant-btn-background-ghost.ant-btn-primary[disabled].active,.ant-btn-background-ghost.ant-btn-primary[disabled]:active,.ant-btn-background-ghost.ant-btn-primary[disabled]:focus,.ant-btn-background-ghost.ant-btn-primary[disabled]:hover{color:rgba(0,0,0,.25);background-color:#f5f5f5;border-color:#d9d9d9}.ant-btn-background-ghost.ant-btn-primary.disabled.active>a:only-child,.ant-btn-background-ghost.ant-btn-primary.disabled:active>a:only-child,.ant-btn-background-ghost.ant-btn-primary.disabled:focus>a:only-child,.ant-btn-background-ghost.ant-btn-primary.disabled:hover>a:only-child,.ant-btn-background-ghost.ant-btn-primary.disabled>a:only-child,.ant-btn-background-ghost.ant-btn-primary[disabled].active>a:only-child,.ant-btn-background-ghost.ant-btn-primary[disabled]:active>a:only-child,.ant-btn-background-ghost.ant-btn-primary[disabled]:focus>a:only-child,.ant-btn-background-ghost.ant-btn-primary[disabled]:hover>a:only-child,.ant-btn-background-ghost.ant-btn-primary[disabled]>a:only-child{color:currentColor}.ant-btn-background-ghost.ant-btn-primary.disabled.active>a:only-child:after,.ant-btn-background-ghost.ant-btn-primary.disabled:active>a:only-child:after,.ant-btn-background-ghost.ant-btn-primary.disabled:focus>a:only-child:after,.ant-btn-background-ghost.ant-btn-primary.disabled:hover>a:only-child:after,.ant-btn-background-ghost.ant-btn-primary.disabled>a:only-child:after,.ant-btn-background-ghost.ant-btn-primary[disabled].active>a:only-child:after,.ant-btn-background-ghost.ant-btn-primary[disabled]:active>a:only-child:after,.ant-btn-background-ghost.ant-btn-primary[disabled]:focus>a:only-child:after,.ant-btn-background-ghost.ant-btn-primary[disabled]:hover>a:only-child:after,.ant-btn-background-ghost.ant-btn-primary[disabled]>a:only-child:after{content:'';position:absolute;top:0;left:0;bottom:0;right:0;background:0 0}.ant-btn-background-ghost.ant-btn-danger{color:#f5222d;background-color:transparent;border-color:#f5222d}.ant-btn-background-ghost.ant-btn-danger>a:only-child{color:currentColor}.ant-btn-background-ghost.ant-btn-danger>a:only-child:after{content:'';position:absolute;top:0;left:0;bottom:0;right:0;background:0 0}.ant-btn-background-ghost.ant-btn-danger:focus,.ant-btn-background-ghost.ant-btn-danger:hover{color:#ff4d4f;background-color:transparent;border-color:#ff4d4f}.ant-btn-background-ghost.ant-btn-danger:focus>a:only-child,.ant-btn-background-ghost.ant-btn-danger:hover>a:only-child{color:currentColor}.ant-btn-background-ghost.ant-btn-danger:focus>a:only-child:after,.ant-btn-background-ghost.ant-btn-danger:hover>a:only-child:after{content:'';position:absolute;top:0;left:0;bottom:0;right:0;background:0 0}.ant-btn-background-ghost.ant-btn-danger.active,.ant-btn-background-ghost.ant-btn-danger:active{color:#cf1322;background-color:transparent;border-color:#cf1322}.ant-btn-background-ghost.ant-btn-danger.active>a:only-child,.ant-btn-background-ghost.ant-btn-danger:active>a:only-child{color:currentColor}.ant-btn-background-ghost.ant-btn-danger.active>a:only-child:after,.ant-btn-background-ghost.ant-btn-danger:active>a:only-child:after{content:'';position:absolute;top:0;left:0;bottom:0;right:0;background:0 0}.ant-btn-background-ghost.ant-btn-danger.disabled,.ant-btn-background-ghost.ant-btn-danger.disabled.active,.ant-btn-background-ghost.ant-btn-danger.disabled:active,.ant-btn-background-ghost.ant-btn-danger.disabled:focus,.ant-btn-background-ghost.ant-btn-danger.disabled:hover,.ant-btn-background-ghost.ant-btn-danger[disabled],.ant-btn-background-ghost.ant-btn-danger[disabled].active,.ant-btn-background-ghost.ant-btn-danger[disabled]:active,.ant-btn-background-ghost.ant-btn-danger[disabled]:focus,.ant-btn-background-ghost.ant-btn-danger[disabled]:hover{color:rgba(0,0,0,.25);background-color:#f5f5f5;border-color:#d9d9d9}.ant-btn-background-ghost.ant-btn-danger.disabled.active>a:only-child,.ant-btn-background-ghost.ant-btn-danger.disabled:active>a:only-child,.ant-btn-background-ghost.ant-btn-danger.disabled:focus>a:only-child,.ant-btn-background-ghost.ant-btn-danger.disabled:hover>a:only-child,.ant-btn-background-ghost.ant-btn-danger.disabled>a:only-child,.ant-btn-background-ghost.ant-btn-danger[disabled].active>a:only-child,.ant-btn-background-ghost.ant-btn-danger[disabled]:active>a:only-child,.ant-btn-background-ghost.ant-btn-danger[disabled]:focus>a:only-child,.ant-btn-background-ghost.ant-btn-danger[disabled]:hover>a:only-child,.ant-btn-background-ghost.ant-btn-danger[disabled]>a:only-child{color:currentColor}.ant-btn-background-ghost.ant-btn-danger.disabled.active>a:only-child:after,.ant-btn-background-ghost.ant-btn-danger.disabled:active>a:only-child:after,.ant-btn-background-ghost.ant-btn-danger.disabled:focus>a:only-child:after,.ant-btn-background-ghost.ant-btn-danger.disabled:hover>a:only-child:after,.ant-btn-background-ghost.ant-btn-danger.disabled>a:only-child:after,.ant-btn-background-ghost.ant-btn-danger[disabled].active>a:only-child:after,.ant-btn-background-ghost.ant-btn-danger[disabled]:active>a:only-child:after,.ant-btn-background-ghost.ant-btn-danger[disabled]:focus>a:only-child:after,.ant-btn-background-ghost.ant-btn-danger[disabled]:hover>a:only-child:after,.ant-btn-background-ghost.ant-btn-danger[disabled]>a:only-child:after{content:'';position:absolute;top:0;left:0;bottom:0;right:0;background:0 0}.ant-btn-two-chinese-chars:first-letter{letter-spacing:.34em}.ant-btn-two-chinese-chars>*{letter-spacing:.34em;margin-right:-.34em}.ant-btn-block{width:100%}a.ant-btn{line-height:30px}a.ant-btn-lg{line-height:38px}a.ant-btn-sm{line-height:22px}.ant-input{font-family:"Chinese Quote",-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei","Helvetica Neue",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-feature-settings:"tnum";font-variant:tabular-nums;box-sizing:border-box;margin:0;padding:0;list-style:none;position:relative;display:inline-block;padding:4px 11px;width:100%;height:32px;font-size:14px;line-height:1.5;color:rgba(0,0,0,.65);background-color:#fff;background-image:none;border:1px solid #d9d9d9;border-radius:4px;transition:all .3s}.ant-input::-moz-placeholder{color:#bfbfbf;opacity:1}.ant-input:-ms-input-placeholder{color:#bfbfbf}.ant-input::-webkit-input-placeholder{color:#bfbfbf}.ant-input:hover{border-color:#40a9ff;border-right-width:1px!important}.ant-input:focus{border-color:#40a9ff;outline:0;box-shadow:0 0 0 2px rgba(24,144,255,.2);border-right-width:1px!important}.ant-input-disabled{background-color:#f5f5f5;opacity:1;cursor:not-allowed;color:rgba(0,0,0,.25)}.ant-input-disabled:hover{border-color:#e6d8d8;border-right-width:1px!important}textarea.ant-input{max-width:100%;height:auto;vertical-align:bottom;transition:all .3s,height 0s;min-height:32px}.ant-input-lg{padding:6px 11px;height:40px;font-size:16px}.ant-input-sm{padding:1px 7px;height:24px}.ant-input-group{font-family:"Chinese Quote",-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei","Helvetica Neue",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-size:14px;font-feature-settings:"tnum";font-variant:tabular-nums;line-height:1.5;color:rgba(0,0,0,.65);box-sizing:border-box;margin:0;padding:0;list-style:none;position:relative;display:table;border-collapse:separate;border-spacing:0;width:100%}.ant-input-group[class*=col-]{float:none;padding-left:0;padding-right:0}.ant-input-group>[class*=col-]{padding-right:8px}.ant-input-group>[class*=col-]:last-child{padding-right:0}.ant-input-group-addon,.ant-input-group-wrap,.ant-input-group>.ant-input{display:table-cell}.ant-input-group-addon:not(:first-child):not(:last-child),.ant-input-group-wrap:not(:first-child):not(:last-child),.ant-input-group>.ant-input:not(:first-child):not(:last-child){border-radius:0}.ant-input-group-addon,.ant-input-group-wrap{width:1px;white-space:nowrap;vertical-align:middle}.ant-input-group-wrap>*{display:block!important}.ant-input-group .ant-input{float:left;width:100%;margin-bottom:0}.ant-input-group .ant-input:focus{z-index:1;border-right-width:1px}.ant-input-group .ant-input:hover{z-index:1;border-right-width:1px}.ant-input-group-addon{padding:0 11px;font-size:14px;font-weight:400;line-height:1;color:rgba(0,0,0,.65);text-align:center;background-color:#fafafa;border:1px solid #d9d9d9;border-radius:4px;position:relative;transition:all .3s}.ant-input-group-addon .ant-select{margin:-5px -11px}.ant-input-group-addon .ant-select .ant-select-selection{background-color:inherit;margin:-1px;border:1px solid transparent;box-shadow:none}.ant-input-group-addon .ant-select-focused .ant-select-selection,.ant-input-group-addon .ant-select-open .ant-select-selection{color:#1890ff}.ant-input-group-addon>i:only-child:after{position:absolute;content:'';top:0;left:0;right:0;bottom:0}.ant-input-group-addon:first-child,.ant-input-group>.ant-input:first-child{border-bottom-right-radius:0;border-top-right-radius:0}.ant-input-group-addon:first-child .ant-select .ant-select-selection,.ant-input-group>.ant-input:first-child .ant-select .ant-select-selection{border-bottom-right-radius:0;border-top-right-radius:0}.ant-input-group>.ant-input-affix-wrapper:not(:first-child) .ant-input{border-bottom-left-radius:0;border-top-left-radius:0}.ant-input-group>.ant-input-affix-wrapper:not(:last-child) .ant-input{border-bottom-right-radius:0;border-top-right-radius:0}.ant-input-group-addon:first-child{border-right:0}.ant-input-group-addon:last-child{border-left:0}.ant-input-group-addon:last-child,.ant-input-group>.ant-input:last-child{border-bottom-left-radius:0;border-top-left-radius:0}.ant-input-group-addon:last-child .ant-select .ant-select-selection,.ant-input-group>.ant-input:last-child .ant-select .ant-select-selection{border-bottom-left-radius:0;border-top-left-radius:0}.ant-input-group-lg .ant-input,.ant-input-group-lg>.ant-input-group-addon{padding:6px 11px;height:40px;font-size:16px}.ant-input-group-sm .ant-input,.ant-input-group-sm>.ant-input-group-addon{padding:1px 7px;height:24px}.ant-input-group-lg .ant-select-selection--single{height:40px}.ant-input-group-sm .ant-select-selection--single{height:24px}.ant-input-group .ant-input-affix-wrapper{display:table-cell;width:100%;float:left}.ant-input-group.ant-input-group-compact{display:block;zoom:1}.ant-input-group.ant-input-group-compact:after,.ant-input-group.ant-input-group-compact:before{content:"";display:table}.ant-input-group.ant-input-group-compact:after{clear:both}.ant-input-group.ant-input-group-compact>*{border-radius:0;border-right-width:0;vertical-align:top;float:none;display:inline-block}.ant-input-group.ant-input-group-compact>span>.ant-input{border-right-width:0}.ant-input-group.ant-input-group-compact .ant-input{float:none}.ant-input-group.ant-input-group-compact>.ant-calendar-picker .ant-input,.ant-input-group.ant-input-group-compact>.ant-cascader-picker .ant-input,.ant-input-group.ant-input-group-compact>.ant-mention-wrapper .ant-mention-editor,.ant-input-group.ant-input-group-compact>.ant-select-auto-complete .ant-input,.ant-input-group.ant-input-group-compact>.ant-select>.ant-select-selection,.ant-input-group.ant-input-group-compact>.ant-time-picker .ant-time-picker-input{border-radius:0;border-right-width:0}.ant-input-group.ant-input-group-compact>.ant-calendar-picker:first-child .ant-input,.ant-input-group.ant-input-group-compact>.ant-cascader-picker:first-child .ant-input,.ant-input-group.ant-input-group-compact>.ant-mention-wrapper:first-child .ant-mention-editor,.ant-input-group.ant-input-group-compact>.ant-select-auto-complete:first-child .ant-input,.ant-input-group.ant-input-group-compact>.ant-select:first-child>.ant-select-selection,.ant-input-group.ant-input-group-compact>.ant-time-picker:first-child .ant-time-picker-input,.ant-input-group.ant-input-group-compact>:first-child{border-top-left-radius:4px;border-bottom-left-radius:4px}.ant-input-group.ant-input-group-compact>.ant-calendar-picker:last-child .ant-input,.ant-input-group.ant-input-group-compact>.ant-cascader-picker:last-child .ant-input,.ant-input-group.ant-input-group-compact>.ant-mention-wrapper:last-child .ant-mention-editor,.ant-input-group.ant-input-group-compact>.ant-select-auto-complete:last-child .ant-input,.ant-input-group.ant-input-group-compact>.ant-select:last-child>.ant-select-selection,.ant-input-group.ant-input-group-compact>.ant-time-picker:last-child .ant-time-picker-input,.ant-input-group.ant-input-group-compact>:last-child{border-top-right-radius:4px;border-bottom-right-radius:4px;border-right-width:1px}.ant-input-group-wrapper{display:inline-block;vertical-align:top;width:100%}.ant-input-affix-wrapper{font-family:"Chinese Quote",-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei","Helvetica Neue",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-size:14px;font-feature-settings:"tnum";font-variant:tabular-nums;line-height:1.5;color:rgba(0,0,0,.65);box-sizing:border-box;margin:0;padding:0;list-style:none;position:relative;display:inline-block;width:100%}.ant-input-affix-wrapper:hover .ant-input:not(.ant-input-disabled){border-color:#40a9ff;border-right-width:1px!important}.ant-input-affix-wrapper .ant-input{position:static}.ant-input-affix-wrapper .ant-input-prefix,.ant-input-affix-wrapper .ant-input-suffix{position:absolute;top:50%;transform:translateY(-50%);line-height:0;color:rgba(0,0,0,.65)}.ant-input-affix-wrapper .ant-input-prefix :not(.anticon),.ant-input-affix-wrapper .ant-input-suffix :not(.anticon){line-height:1.5}.ant-input-affix-wrapper .ant-input-prefix{left:12px}.ant-input-affix-wrapper .ant-input-suffix{right:12px}.ant-input-affix-wrapper .ant-input:not(:first-child){padding-left:30px}.ant-input-affix-wrapper .ant-input:not(:last-child){padding-right:30px}.ant-input-affix-wrapper .ant-input{min-height:100%}.ant-input-search-icon{color:rgba(0,0,0,.45);cursor:pointer;transition:all .3s}.ant-input-search-icon:hover{color:#333}.ant-input-search:not(.ant-input-search-small)>.ant-input-suffix{right:12px}.ant-input-search>.ant-input-suffix>.ant-input-search-button{border-top-left-radius:0;border-bottom-left-radius:0}.ant-input-search>.ant-input-suffix>.ant-input-search-button>.anticon-search{font-size:16px}.ant-input-search.ant-input-search-enter-button>.ant-input{padding-right:46px}.ant-input-search.ant-input-search-enter-button>.ant-input-suffix{right:0}.ant-alert{font-family:"Chinese Quote",-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei","Helvetica Neue",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-size:14px;font-feature-settings:"tnum";font-variant:tabular-nums;line-height:1.5;color:rgba(0,0,0,.65);box-sizing:border-box;margin:0;padding:0;list-style:none;position:relative;padding:8px 15px 8px 37px;border-radius:4px}.ant-alert.ant-alert-no-icon{padding:8px 15px}.ant-alert-icon{top:12.5px;left:16px;position:absolute}.ant-alert-description{font-size:14px;line-height:22px;display:none}.ant-alert-success{border:1px solid #b7eb8f;background-color:#f6ffed}.ant-alert-success .ant-alert-icon{color:#52c41a}.ant-alert-info{border:1px solid #91d5ff;background-color:#e6f7ff}.ant-alert-info .ant-alert-icon{color:#1890ff}.ant-alert-warning{border:1px solid #ffe58f;background-color:#fffbe6}.ant-alert-warning .ant-alert-icon{color:#faad14}.ant-alert-error{border:1px solid #ffa39e;background-color:#fff1f0}.ant-alert-error .ant-alert-icon{color:#f5222d}.ant-alert-close-icon{font-size:12px;position:absolute;right:16px;top:8px;line-height:22px;overflow:hidden;cursor:pointer}.ant-alert-close-icon .anticon-cross{color:rgba(0,0,0,.45);transition:color .3s}.ant-alert-close-icon .anticon-cross:hover{color:#404040}.ant-alert-close-text{position:absolute;right:16px}.ant-alert-with-description{padding:15px 15px 15px 64px;position:relative;border-radius:4px;color:rgba(0,0,0,.65);line-height:1.5}.ant-alert-with-description.ant-alert-no-icon{padding:15px}.ant-alert-with-description .ant-alert-icon{position:absolute;top:16px;left:24px;font-size:24px}.ant-alert-with-description .ant-alert-close-icon{position:absolute;top:16px;right:16px;cursor:pointer;font-size:14px}.ant-alert-with-description .ant-alert-message{font-size:16px;color:rgba(0,0,0,.85);display:block;margin-bottom:4px}.ant-alert-with-description .ant-alert-description{display:block}.ant-alert.ant-alert-close{height:0!important;margin:0;padding-top:0;padding-bottom:0;transition:all .3s cubic-bezier(.78, .14, .15, .86);transform-origin:50% 0}.ant-alert-slide-up-leave{animation:antAlertSlideUpOut .3s cubic-bezier(.78,.14,.15,.86);animation-fill-mode:both}.ant-alert-banner{border-radius:0;border:0;margin-bottom:0}@keyframes antAlertSlideUpIn{0%{opacity:0;transform-origin:0% 0%;transform:scaleY(0)}100%{opacity:1;transform-origin:0% 0%;transform:scaleY(1)}}@keyframes antAlertSlideUpOut{0%{opacity:1;transform-origin:0% 0%;transform:scaleY(1)}100%{opacity:0;transform-origin:0% 0%;transform:scaleY(0)}}.ant-spin{font-family:"Chinese Quote",-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei","Helvetica Neue",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-size:14px;font-feature-settings:"tnum";font-variant:tabular-nums;line-height:1.5;color:rgba(0,0,0,.65);box-sizing:border-box;margin:0;padding:0;list-style:none;color:#1890ff;vertical-align:middle;text-align:center;opacity:0;position:absolute;transition:transform .3s cubic-bezier(.78, .14, .15, .86);display:none}.ant-spin-spinning{opacity:1;position:static;display:inline-block}.ant-spin-nested-loading{position:relative}.ant-spin-nested-loading>div>.ant-spin{display:block;position:absolute;height:100%;max-height:360px;width:100%;z-index:4}.ant-spin-nested-loading>div>.ant-spin .ant-spin-dot{position:absolute;top:50%;left:50%;margin:-10px}.ant-spin-nested-loading>div>.ant-spin .ant-spin-text{position:absolute;top:50%;width:100%;padding-top:5px;text-shadow:0 1px 2px #fff}.ant-spin-nested-loading>div>.ant-spin.ant-spin-show-text .ant-spin-dot{margin-top:-20px}.ant-spin-nested-loading>div>.ant-spin-sm .ant-spin-dot{margin:-7px}.ant-spin-nested-loading>div>.ant-spin-sm .ant-spin-text{padding-top:2px}.ant-spin-nested-loading>div>.ant-spin-sm.ant-spin-show-text .ant-spin-dot{margin-top:-17px}.ant-spin-nested-loading>div>.ant-spin-lg .ant-spin-dot{margin:-16px}.ant-spin-nested-loading>div>.ant-spin-lg .ant-spin-text{padding-top:11px}.ant-spin-nested-loading>div>.ant-spin-lg.ant-spin-show-text .ant-spin-dot{margin-top:-26px}.ant-spin-container{position:relative;transition:opacity .3s;zoom:1}.ant-spin-container:after,.ant-spin-container:before{content:"";display:table}.ant-spin-container:after{clear:both}.ant-spin-blur{pointer-events:none;user-select:none;overflow:hidden;opacity:.5;-webkit-filter:blur(0.5px);filter:blur(.5px)}.ant-spin-blur:after{content:'';position:absolute;left:0;right:0;top:0;bottom:0;background:#fff;opacity:.3;transition:all .3s;z-index:10}.ant-spin-tip{color:rgba(0,0,0,.45)}.ant-spin-dot{position:relative;display:inline-block;font-size:20px;width:20px;height:20px}.ant-spin-dot i{width:9px;height:9px;border-radius:100%;background-color:#1890ff;transform:scale(.75);display:block;position:absolute;opacity:.3;animation:antSpinMove 1s infinite linear alternate;transform-origin:50% 50%}.ant-spin-dot i:first-child{left:0;top:0}.ant-spin-dot i:nth-child(2){right:0;top:0;animation-delay:.4s}.ant-spin-dot i:nth-child(3){right:0;bottom:0;animation-delay:.8s}.ant-spin-dot i:nth-child(4){left:0;bottom:0;animation-delay:1.2s}.ant-spin-dot-spin{transform:rotate(45deg);animation:antRotate 1.2s infinite linear}.ant-spin-sm .ant-spin-dot{font-size:14px;width:14px;height:14px}.ant-spin-sm .ant-spin-dot i{width:6px;height:6px}.ant-spin-lg .ant-spin-dot{font-size:32px;width:32px;height:32px}.ant-spin-lg .ant-spin-dot i{width:14px;height:14px}.ant-spin.ant-spin-show-text .ant-spin-text{display:block}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){.ant-spin-blur{background:#fff;opacity:.5}}@keyframes antSpinMove{to{opacity:1}}@keyframes antRotate{to{transform:rotate(405deg)}}.ant-message{font-family:"Chinese Quote",-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei","Helvetica Neue",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-size:14px;font-feature-settings:"tnum";font-variant:tabular-nums;line-height:1.5;color:rgba(0,0,0,.65);box-sizing:border-box;margin:0;padding:0;list-style:none;position:fixed;z-index:1010;width:100%;top:16px;left:0;pointer-events:none}.ant-message-notice{padding:8px;text-align:center}.ant-message-notice:first-child{margin-top:-8px}.ant-message-notice-content{padding:10px 16px;border-radius:4px;box-shadow:0 4px 12px rgba(0,0,0,.15);background:#fff;display:inline-block;pointer-events:all}.ant-message-success .anticon{color:#52c41a}.ant-message-error .anticon{color:#f5222d}.ant-message-warning .anticon{color:#faad14}.ant-message-info .anticon,.ant-message-loading .anticon{color:#1890ff}.ant-message .anticon{margin-right:8px;font-size:16px;top:1px;position:relative}.ant-message-notice.move-up-leave.move-up-leave-active{animation-name:MessageMoveOut;overflow:hidden;animation-duration:.3s}@keyframes MessageMoveOut{0%{opacity:1;max-height:150px;padding:8px}100%{opacity:0;max-height:0;padding:0}}.ant-popover{font-family:"Chinese Quote",-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei","Helvetica Neue",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-size:14px;font-feature-settings:"tnum";font-variant:tabular-nums;line-height:1.5;color:rgba(0,0,0,.65);box-sizing:border-box;margin:0;padding:0;list-style:none;position:absolute;top:0;left:0;z-index:1030;cursor:auto;-webkit-user-select:text;-moz-user-select:text;user-select:text;white-space:normal;font-weight:400;text-align:left}.ant-popover:after{content:"";position:absolute;background:rgba(255,255,255,.01)}.ant-popover-hidden{display:none}.ant-popover-placement-top,.ant-popover-placement-topLeft,.ant-popover-placement-topRight{padding-bottom:10px}.ant-popover-placement-right,.ant-popover-placement-rightBottom,.ant-popover-placement-rightTop{padding-left:10px}.ant-popover-placement-bottom,.ant-popover-placement-bottomLeft,.ant-popover-placement-bottomRight{padding-top:10px}.ant-popover-placement-left,.ant-popover-placement-leftBottom,.ant-popover-placement-leftTop{padding-right:10px}.ant-popover-inner{background-color:#fff;background-clip:padding-box;border-radius:4px;box-shadow:0 2px 8px rgba(0,0,0,.15)}.ant-popover-title{min-width:177px;margin:0;padding:5px 16px 4px;min-height:32px;border-bottom:1px solid #e8e8e8;color:rgba(0,0,0,.85);font-weight:500}.ant-popover-inner-content{padding:12px 16px;color:rgba(0,0,0,.65)}.ant-popover-message{padding:4px 0 12px;font-size:14px;color:rgba(0,0,0,.65)}.ant-popover-message>.anticon{color:#faad14;line-height:1.6;position:absolute}.ant-popover-message-title{padding-left:22px}.ant-popover-buttons{text-align:right;margin-bottom:4px}.ant-popover-buttons button{margin-left:8px}.ant-popover-arrow{background:#fff;width:8.48528137px;height:8.48528137px;transform:rotate(45deg);position:absolute;display:block;border-color:transparent;border-style:solid}.ant-popover-placement-top>.ant-popover-content>.ant-popover-arrow,.ant-popover-placement-topLeft>.ant-popover-content>.ant-popover-arrow,.ant-popover-placement-topRight>.ant-popover-content>.ant-popover-arrow{bottom:5.5px;box-shadow:3px 3px 7px rgba(0,0,0,.07)}.ant-popover-placement-top>.ant-popover-content>.ant-popover-arrow{left:50%;transform:translateX(-50%) rotate(45deg)}.ant-popover-placement-topLeft>.ant-popover-content>.ant-popover-arrow{left:16px}.ant-popover-placement-topRight>.ant-popover-content>.ant-popover-arrow{right:16px}.ant-popover-placement-right>.ant-popover-content>.ant-popover-arrow,.ant-popover-placement-rightBottom>.ant-popover-content>.ant-popover-arrow,.ant-popover-placement-rightTop>.ant-popover-content>.ant-popover-arrow{left:6px;box-shadow:-3px 3px 7px rgba(0,0,0,.07)}.ant-popover-placement-right>.ant-popover-content>.ant-popover-arrow{top:50%;transform:translateY(-50%) rotate(45deg)}.ant-popover-placement-rightTop>.ant-popover-content>.ant-popover-arrow{top:12px}.ant-popover-placement-rightBottom>.ant-popover-content>.ant-popover-arrow{bottom:12px}.ant-popover-placement-bottom>.ant-popover-content>.ant-popover-arrow,.ant-popover-placement-bottomLeft>.ant-popover-content>.ant-popover-arrow,.ant-popover-placement-bottomRight>.ant-popover-content>.ant-popover-arrow{top:6px;box-shadow:-2px -2px 5px rgba(0,0,0,.06)}.ant-popover-placement-bottom>.ant-popover-content>.ant-popover-arrow{left:50%;transform:translateX(-50%) rotate(45deg)}.ant-popover-placement-bottomLeft>.ant-popover-content>.ant-popover-arrow{left:16px}.ant-popover-placement-bottomRight>.ant-popover-content>.ant-popover-arrow{right:16px}.ant-popover-placement-left>.ant-popover-content>.ant-popover-arrow,.ant-popover-placement-leftBottom>.ant-popover-content>.ant-popover-arrow,.ant-popover-placement-leftTop>.ant-popover-content>.ant-popover-arrow{right:6px;box-shadow:3px -3px 7px rgba(0,0,0,.07)}.ant-popover-placement-left>.ant-popover-content>.ant-popover-arrow{top:50%;transform:translateY(-50%) rotate(45deg)}.ant-popover-placement-leftTop>.ant-popover-content>.ant-popover-arrow{top:12px}.ant-popover-placement-leftBottom>.ant-popover-content>.ant-popover-arrow{bottom:12px}
    2 //# sourceMappingURL=https://sourcemap.devowl.io/real-category-library/4.2.64/89d40d92b6e305ac46437df88479f06f/admin.css.map
     2//# sourceMappingURL=https://sourcemap.devowl.io/real-category-library/4.2.69/16fef61a47f4d38f19cd8cfd34bfc661/admin.css.map
  • real-category-library-lite/trunk/public/dist/admin.lite.js

    r3454640 r3491846  
    11var realCategoryLibrary_admin;(()=>{"use strict";var e,t={180:(e,t,o)=>{o.d(t,{Cu:()=>i.C,Cw:()=>l.C,Eb:()=>r.E,PC:()=>s.P,Xk:()=>d.X,el:()=>c.e,gX:()=>n.g,hg:()=>a.h});var s=o(7627),i=o(1324),n=o(9906),r=o(956),a=o(9077),l=o(9336),d=o(4431),c=o(1764)},956:(e,t,o)=>{o.d(t,{E:()=>s});const s={path:"/hierarchy/:id",method:o(8789).RouteHttpVerb.PUT}},1324:(e,t,o)=>{o.d(t,{C:()=>s});const s={path:"/terms/:id",method:o(8789).RouteHttpVerb.PUT}},1594:e=>{e.exports=React},1669:e=>{e.exports=jQuery},1764:(e,t,o)=>{o.d(t,{e:()=>s});const s={path:"/options/:post_type",method:o(8789).RouteHttpVerb.PATCH}},2293:e=>{e.exports=devowlWp_realUtils},2370:(e,t,o)=>{o.r(t),o.d(t,{OptionStore:()=>y.t6,RootStore:()=>y.yd,TreeStore:()=>y.kG,locationRestHierarchyPut:()=>u.Eb,locationRestNoticeLiteDelete:()=>u.Xk,locationRestOptionsPostTypePatch:()=>u.el,locationRestPostsBulkMovePut:()=>u.PC,locationRestTermsDelete:()=>u.gX,locationRestTermsPost:()=>u.hg,locationRestTermsPut:()=>u.Cu,locationRestTreeGet:()=>u.Cw,useStores:()=>y.gy});var s=o(3713),i=(o(6422),o(7572),o(3046),o(7560),o(1669)),n=o.n(i),r=o(8789),a=o(2658),l=o(9907),d=o(7164),c=o(3203),h=o(7710),p={};for(const e in r)"default"!==e&&(p[e]=()=>r[e]);o.d(t,p);var u=o(180),y=o(5773);(0,r.handleCorruptRestApi)({[c.y.get.optionStore.restNamespace]:async()=>{await(0,h.E)({location:{path:"/plugin"}})}}),n()(document).ready(async()=>{const{optionStore:{others:e}}=c.y.get,{typenow:t,screenSettings:{isActive:o}}=e;if(n()("#wpbody").fadeTo(100,1),o){n()("body").addClass("activate-aiot");const e=n()("<div/>").prependTo("body.wp-admin #wpbody").addClass("rcl-container").get(0);(0,r.createRoot)(e).render((0,s.jsx)(l.K,{children:(0,s.jsx)(a.w,{})}))}else(0,d.z)()}),n()("link#dark_mode-css").length&&n()("body").addClass("aiot-wp-dark-mode")},2519:(e,t,o)=>{o.d(t,{k:()=>b});var s=o(1490),i=o(4497),n=o(1669),r=o.n(n),a=o(7710),l=o(9906),d=o(1324);class c{constructor(e,t){this.hash="",this.className="",this.icon="",this.iconActive="",this.childNodes=[],this.title="",this.count=0,this.isTreeLinkDisabled=!1,this.selected=!1,this.$busy=!1,this.$droppable=!0,this.$visible=!0,this.$rename=!1,this.isQueried=!0,this.setTitle=(0,i.flow)(function*(e){this.$busy=!0;try{const t=yield(0,a.E)({location:d.C,params:{id:+this.id},request:{name:e,taxonomy:this.properties.taxonomy}});return this.title=e,this.properties=r().extend({},this.properties,t),t}finally{this.$busy=!1}}),this.trash=(0,i.flow)(function*(){this.$busy=!0;try{yield(0,a.E)({location:l.g,params:{id:+this.id,taxonomy:this.properties.taxonomy}}),this.$visible=!1}finally{this.$busy=!1}}),this.treeStore=t,(0,i.runInAction)(()=>{(0,i.set)(this,e),this.id&&t.refs.set(this.id,this)})}static mapFromRestEndpoint({term_id:e,name:t,count:o,childNodes:s,...i}){return new c({id:e,title:t,count:o,icon:"folder",iconActive:"folder-open",childNodes:s?s.map(c.mapFromRestEndpoint.bind(this)):[],properties:i},this)}overwriteCompletelyFromResponse(e){r().each(e,(e,t)=>(0,i.set)(this,e,t))}addChildNode(e){this.childNodes.push(e)}setSelected(e){this.selected!==e&&(this.selected=e,e&&this.treeStore.setSelected(this))}setBusy(e){this.$busy=e}setRename(e){this.$rename=e}setCreate(e){this.$create=e}}(0,s.Cg)([i.observable,(0,s.Sn)("design:type",Object)],c.prototype,"id",void 0),(0,s.Cg)([i.observable],c.prototype,"hash",void 0),(0,s.Cg)([i.observable],c.prototype,"className",void 0),(0,s.Cg)([i.observable],c.prototype,"icon",void 0),(0,s.Cg)([i.observable],c.prototype,"iconActive",void 0),(0,s.Cg)([i.observable,(0,s.Sn)("design:type",Array)],c.prototype,"childNodes",void 0),(0,s.Cg)([i.observable],c.prototype,"title",void 0),(0,s.Cg)([i.observable],c.prototype,"count",void 0),(0,s.Cg)([i.observable],c.prototype,"isTreeLinkDisabled",void 0),(0,s.Cg)([i.observable],c.prototype,"selected",void 0),(0,s.Cg)([i.observable],c.prototype,"$busy",void 0),(0,s.Cg)([i.observable],c.prototype,"$droppable",void 0),(0,s.Cg)([i.observable],c.prototype,"$visible",void 0),(0,s.Cg)([i.observable],c.prototype,"$rename",void 0),(0,s.Cg)([i.observable,(0,s.Sn)("design:type","undefined"==typeof TreeNodeProps?Object:TreeNodeProps)],c.prototype,"$create",void 0),(0,s.Cg)([i.observable,(0,s.Sn)("design:type",Object)],c.prototype,"properties",void 0),(0,s.Cg)([i.observable],c.prototype,"isQueried",void 0),(0,s.Cg)([i.observable,(0,s.Sn)("design:type",Object)],c.prototype,"parent",void 0),(0,s.Cg)([i.action,(0,s.Sn)("design:type",Function),(0,s.Sn)("design:paramtypes",["undefined"==typeof Partial?Object:Partial]),(0,s.Sn)("design:returntype",void 0)],c.prototype,"overwriteCompletelyFromResponse",null),(0,s.Cg)([i.action,(0,s.Sn)("design:type",Function),(0,s.Sn)("design:paramtypes",[Object]),(0,s.Sn)("design:returntype",void 0)],c.prototype,"addChildNode",null),(0,s.Cg)([i.action,(0,s.Sn)("design:type",Function),(0,s.Sn)("design:paramtypes",[Boolean]),(0,s.Sn)("design:returntype",void 0)],c.prototype,"setSelected",null),(0,s.Cg)([i.action,(0,s.Sn)("design:type",Function),(0,s.Sn)("design:paramtypes",[Boolean]),(0,s.Sn)("design:returntype",void 0)],c.prototype,"setBusy",null),(0,s.Cg)([i.action,(0,s.Sn)("design:type",Function),(0,s.Sn)("design:paramtypes",[Boolean]),(0,s.Sn)("design:returntype",void 0)],c.prototype,"setRename",null),(0,s.Cg)([i.action,(0,s.Sn)("design:type",Function),(0,s.Sn)("design:paramtypes",["undefined"==typeof TreeNodeProps?Object:TreeNodeProps]),(0,s.Sn)("design:returntype",void 0)],c.prototype,"setCreate",null);var h=o(4973),p=o(956),u=o(9077),y=o(9336);class b{static{this.ID_ALL="ALL"}get selectedId(){return this.selected?.id}constructor(e){this.staticTree=[],this.tree=[],this.busy=!1,this.refs=new Map,this.fetchTree=(0,i.flow)(function*(e,t){this.busy=!0;const{taxnow:o,typenow:s}=this.rootStore.optionStore.others;if(!o||!s)return;const i=yield(0,a.E)({location:y.C,sendReferer:!0,params:Object.assign({remember:!1,taxonomy:o,type:s},e)}),{selectedId:n,tree:r}=i;this.tree=r.map(c.mapFromRestEndpoint.bind(this)),this.busy=!1,this.byId(n,!1).setSelected(!0),t?.(i)}),this.persist=(0,i.flow)(function*(e){const t=yield(0,a.E)({location:u.h,request:e}),o=c.mapFromRestEndpoint.apply(this,[{category_name:t.category_name,childNodes:[],count:t.count,editableSlug:t.editableSlug,name:t.name,post_type:t.post_type,queryArgs:t.queryArgs,taxonomy:t.taxonomy,term_id:t.term_id}]),{parent:s}=e;return 0===s?this.tree.push(o):this.byId(s).addChildNode(o),o}),this.sort=(0,i.flow)(function*({id:e,oldIndex:t,newIndex:o,parentFromId:s,parentToId:i,nextId:n,...r}){const l=0===s?this.tree:this.byId(s).childNodes,d=0===i?this.tree:this.byId(i).childNodes,c=l[t];if(l.splice(t,1),d.splice(o,0,c),!r.request)return!0;const{typenow:h,taxnow:u}=this.rootStore.optionStore.others;try{return yield(0,a.E)({location:p.E,params:{id:e},request:{nextId:n,parent:i,type:h,taxonomy:u}}),!0}catch(r){throw yield this.sort({id:e,oldIndex:o,newIndex:t,parentFromId:i,parentToId:s,nextId:n,request:!1}),r}}),this.rootStore=e,(0,i.reaction)(()=>this.rootStore.optionStore.others.taxnow,()=>this.fetchTree({remember:!0})),setTimeout(this.init.bind(this))}setSelected(e){this.selected&&(this.selected.selected=!1),this.selected=e}setCreateRoot(e){this.createRoot=e}init(){this.staticTree.push(new c({id:"ALL",title:(0,h.__)("All posts"),icon:"copy",count:this.rootStore.optionStore.others.allPostCnt},this)),this.rootStore.optionStore.others.screenSettings.isActive&&this.fetchTree()}byId(e,t=!0){const o=this.refs.get(e);if(!(t&&this.staticTree.indexOf(o)>-1))return o}}(0,s.Cg)([i.observable,(0,s.Sn)("design:type",Array)],b.prototype,"staticTree",void 0),(0,s.Cg)([i.observable,(0,s.Sn)("design:type",Array)],b.prototype,"tree",void 0),(0,s.Cg)([i.observable,(0,s.Sn)("design:type",void 0===c?Object:c)],b.prototype,"selected",void 0),(0,s.Cg)([i.observable],b.prototype,"busy",void 0),(0,s.Cg)([i.observable,(0,s.Sn)("design:type","undefined"==typeof TreeNodeProps?Object:TreeNodeProps)],b.prototype,"createRoot",void 0),(0,s.Cg)([i.computed,(0,s.Sn)("design:type",void 0),(0,s.Sn)("design:paramtypes",[])],b.prototype,"selectedId",null),(0,s.Cg)([i.action,(0,s.Sn)("design:type",Function),(0,s.Sn)("design:paramtypes",[void 0===c?Object:c]),(0,s.Sn)("design:returntype",void 0)],b.prototype,"setSelected",null),(0,s.Cg)([i.action,(0,s.Sn)("design:type",Function),(0,s.Sn)("design:paramtypes",["undefined"==typeof TreeNodeProps?Object:TreeNodeProps]),(0,s.Sn)("design:returntype",void 0)],b.prototype,"setCreateRoot",null),(0,s.Cg)([i.action,(0,s.Sn)("design:type",Function),(0,s.Sn)("design:paramtypes",[]),(0,s.Sn)("design:returntype",void 0)],b.prototype,"init",null)},2658:(e,t,o)=>{o.d(t,{w:()=>Fe});var s=o(3713),i=o(480),n=o(2763),r=o(1669),a=o.n(r),l=o(4497),d=o(5085),c=o(9578),h=o(1594),p=o(5285),u=o.n(p),y=o(8039),b=o.n(y),g=o(3434),m=o(5924),f=o.n(m),v=o(2599),x=o(4688),C=o(119),S=o.n(C),w=o(2234),k=o.n(w);function T(e,t=!1){if(t){let t=0;const o={},s=e=>{if(!e.$visible)return;const{childNodes:i=[],checked:n}=e;n&&(o[t]||(o[t]=[]),o[t].push(e)),i.length&&(t++,i.forEach(s),t--)};return e.forEach(s),o}{const t=[],o=e=>{if(!e.$visible)return;const{childNodes:s=[],checked:i}=e;i&&t.push(e),s.length&&s.forEach(o)};return e.forEach(o),t}}function _(){function e(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return`aiot-${e()}${e()}-${e()}-${e()}-${e()}-${e()}${e()}${e()}`}function j(e,t){e.classList?e.classList.add(t):e.className+=` ${t}`}function I(e,t){e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp(`(^|\\b)${t.split(" ").join("|")}(\\b|$)`,"gi")," ")}function N(e,t){const o=[],s=void 0!==t;for(;null!==(e=e.parentElement);)e.nodeType===window.Node.ELEMENT_NODE&&(s&&!e.matches(t)||o.push(e));return o}function R(e,t){const o=(t||"").split(".");for(let t=0;e&&t<o.length;t++)e=e[o[t]];return e}function A(e,t,o){let s;const i=(t||"").split(".");if((s=i.length)>0){for(let t=0;e&&t<s-1;t++)e[i[t]]||(e[i[t]]={}),e=e[i[t]];e[i[s-1]]=o}}class O{setItem(e,t){A(this.cache,e,t)}getItem(e){return e?R(this.cache,e):this.cache}constructor(){this.cache={}}}class P{constructor(e){this.id=e,this.cache=void 0}setItem(e,t){const o=this.getItem();A(o,e,t),window.localStorage.setItem(`AIOT-${this.id}`,JSON.stringify(o)),this.cache=void 0}getItem(e){return this.cache||(this.cache=JSON.parse(window.localStorage.getItem(`AIOT-${this.id}`)||"{}")),e?R(this.cache,e):this.cache}}const $=function(){const e="test";try{const t=window.localStorage;return t.setItem(e,e),t.removeItem(e),!0}catch(e){return!1}}();function E(e,t){try{const o=document.getElementById(e);o&&o.remove();const s=document.createElement("div");return s.id=e,s.style.display="none",s.innerHTML=`&shy;<style>${t}</style>`,document.body.appendChild(s),s}catch(e){return!1}}function L(e,t=[],o,s=0){for(let i=0;i<t.length;i++){if(t[i].id===e){o(t[i],s);break}t[i].childNodes&&L(e,t[i].childNodes,o,t[i].id)}}function D(e,t){let o;return L(e,t,e=>o=e),o}const B=e=>isNaN(parseInt(e))?e:parseInt(e);class F extends h.Component{static{this.defaultProps={id:void 0,hash:"",className:void 0,icon:void 0,iconActive:void 0,childNodes:[],title:"",count:0,attr:{},renameSaveText:"Save",renameAddText:"Add",$busy:!1,$droppable:!0,$visible:!0,$rename:void 0,$create:void 0,$checkable:!1,searchSelected:!1,expandedState:!0,displayChildren:!0,checked:!1,indeterminate:!1,selected:!1,onRenameClose:void 0,onAddClose:void 0,onCheck:void 0,onSelect:void 0,onNodePressF2:void 0,onExpand:void 0,onUlRef:void 0}}static{this.stateKeys="expanded,inputValue,initialInputValue".split(",")}constructor(e){super(e),this.handleInputKeyDown=e=>{"Enter"===e.key?this.handleButtonSave(!0):"Escape"===e.key&&this.handleButtonSave(!1)},this.handleNodeKeyDown=e=>{"F2"!==e.key||this.props.$rename||this.props.onNodePressF2&&this.props.onNodePressF2(this.props)},this.handleButtonSave=e=>{const t="boolean"!=typeof e||e,{inputValue:o}=this.state;(!0!==t||o)&&this.props.onRenameClose&&this.props.onRenameClose(t,o,this.props)},this.handleChange=e=>{this.setState({inputValue:e.target.value})},this.handleSelect=e=>{N(e.target,".aiot-disable-links").length||N(e.target,".ant-checkbox-wrapper").length||this.props.onSelect&&this.props.onSelect(this.props.id)},this.handleToggle=e=>{const t=!this.state.expanded,{onExpand:o}=this.props;this.setState({expanded:t}),o&&o(t,this.props),e.preventDefault()},this.handleRef=e=>{this.refNode=e,this.props.$_create&&this.scrollTo()},this.handleCheck=()=>{this.props.onCheck&&this.props.onCheck(this.props.id)},!F.propKeys&&(F.propKeys=Object.keys(F.defaultProps));const{id:t,expandedState:o}=e,s=!t||"boolean"!=typeof o[t]||o[t];this.state={expanded:s,inputValue:"",initialInputValue:!1}}shouldComponentUpdate(e,t){const o=F.propKeys.filter(t=>this.props[t]!==e[t]),s=F.stateKeys.filter(e=>this.state[e]!==t[e]);return!(!o.length&&!s.length)}componentDidUpdate(){const{id:e,title:t,$rename:o,$_create:s,searchSelected:i,expandedState:n}=this.props;i&&this.scrollTo();const r=!e||"boolean"!=typeof n[e]||n[e];r!==this.state.expanded&&this.setState({expanded:r}),s||(this.state.inputValue!==t&&o&&!this.state.initialInputValue?this.setState({inputValue:t,initialInputValue:!0}):!o&&this.state.initialInputValue&&this.setState({inputValue:"",initialInputValue:!1}))}scrollTo(){const e=this.refNode;e&&(0,x.A)(e,window,{onlyScrollIfNeeded:!0,alignWithTop:!1})}render(){const{icon:e,childNodes:t=[],id:o,title:i,count:n,selected:r,$rename:a,$busy:l,$droppable:d=!0,$create:c,$visible:h=!0,$_create:p,searchSelected:u,attr:y,checked:b,indeterminate:g}=this.props,{expandedState:m,displayChildren:v,renderItem:x,renderIcon:C,$checkable:w,onRenameClose:T,onCheck:_,onAddClose:j,onSelect:I,onNodePressF2:N,onExpand:R,onUlRef:A,renameSaveText:O,renameAddText:P}=this.props,$={expandedState:m,displayChildren:v,renderItem:x,renderIcon:C,$checkable:w,onRenameClose:T,onCheck:_,onAddClose:j,onSelect:I,onNodePressF2:N,onExpand:R,onUlRef:A,renameSaveText:O,renameAddText:P},E=t&&t.filter(({$visible:e=!0})=>!!e),L=!!(v&&E&&E.length),D=this.state.expanded||!!c,B=!c&&(!!p||r),M=f()("aiot-node",this.props.className,{"aiot-active":B,"aiot-forceEnable":!!a,"aiot-togglable":L,"aiot-expanded":this.state.expanded,"aiot-search-selected":u,"aiot-droppable":d&&!p,"aiot-checkable":w,"aiot-checked":b});if(!h)return null;const W=r?this.props.iconActive||this.props.icon:e,z=(0,s.jsxs)("div",{className:"aiot-node-icon",children:[C?C(W,this.props):W,w&&(0,s.jsx)(S(),{checked:b&&!g,indeterminate:g,onChange:this.handleCheck})]}),U=L&&D,H=!!v&&!p,V=e=>v&&e&&A&&A(e,o);!U&&v&&A&&A(void 0,o);const q=(e,t)=>(0,s.jsx)(F,{...e,...$,...t},e.id);return(0,s.jsxs)("li",{className:f()({"aiot-sortable":H}),"data-li-id":o,children:[(0,s.jsx)(k(),{spinning:!!l,size:"small",children:(0,s.jsxs)("div",{"data-id":o,tabIndex:0,className:M,onClick:p?void 0:this.handleSelect,onDoubleClick:p||!L?void 0:this.handleToggle,onKeyDown:this.handleNodeKeyDown,...y,ref:this.handleRef,children:[z,a?(0,s.jsx)("input",{autoFocus:!0,className:"aiot-node-name",value:this.state.inputValue,onChange:this.handleChange,onKeyDown:this.handleInputKeyDown}):(0,s.jsx)("div",{className:"aiot-node-name",title:i,children:i}),n>0&&!a&&(0,s.jsx)("div",{className:"aiot-node-count",children:n}),a&&(0,s.jsx)("button",{disabled:!this.state.inputValue,onClick:this.handleButtonSave,children:O})]})}),U&&(0,s.jsxs)("ul",{className:f()({"aiot-sortable-one":1===t.length}),"data-childs-for":o,ref:V,children:[t.map(e=>x?x(q,F,e):q(e)),1===t.length&&(0,s.jsx)("li",{className:f()("aiot-sortable-placeholder",{"aiot-sortable":H})}),!!c&&(0,s.jsx)(F,{$_create:!0,renderIcon:C,onRenameClose:j,renameSaveText:P,...c})]}),!t.length&&H&&(0,s.jsx)("ul",{"data-childs-for":o,ref:V,className:"aiot-sortable-empty"}),!!c&&!L&&(0,s.jsx)("ul",{children:(0,s.jsx)(F,{$_create:!0,renderIcon:C,onRenameClose:j,renameSaveText:P,...c})}),L&&(0,s.jsx)("div",{onClick:this.handleToggle,className:f()("aiot-expander",{"aiot-open":D})})]})}}var M=o(9582),W=o.n(M);const z=()=>(0,s.jsx)(b(),{type:"loading",spin:!0});var U=o(444),H=o.n(U),V=o(2179),q=o.n(V);const K=({placement:e="bottom",children:t,title:o,content:i,mouseEnterDelay:n=.2,mouseLeaveDelay:r=0,...a})=>{const l=(0,s.jsxs)("div",{style:{fontSize:12,maxWidth:200},children:[(0,s.jsx)("div",{style:{fontWeight:"bold",fontSize:14,paddingBottom:5,marginBottom:3,borderBottom:"1px solid rgba(255,255,255,0.3)"},children:o}),i]});return(0,s.jsx)(q(),{content:l,placement:e,mouseEnterDelay:n,mouseLeaveDelay:r,...a,children:t})},X=({visible:e=!0,type:t,cssClasses:o,isCreatableLinkDisabled:i,toolTipTitle:n,toolTipText:r,icon:a,label:l,onClick:d})=>{if(!e)return null;const c=f()(o,{"aiot-disabled":i}),h=(0,s.jsxs)("button",{"data-aio-type":t,className:c,onClick:()=>d&&d(t),children:[a," ",l]});return n?(0,s.jsx)(K,{title:n,content:r,children:h}):h};var J=o(7913),G=o.n(J),Q=o(7331),Y=o.n(Q);class Z extends h.Component{render(){const{visible:e=!0,content:t,cssClasses:o,toolTipTitle:i,toolTipText:n,disabled:r,menu:a,toolTipPlacement:l,dropdownPlacement:d,modifier:c}=this.props,h={href:"#",className:f()(o,"aiot-tooltip",{"aiot-disabled":r}),disabled:r,onClick:this.handleClick};if(!e)return null;let p=(0,s.jsx)("a",{...h,children:t});if(c&&(p=c(p,this.props)),i&&n&&(p=(0,s.jsx)(K,{placement:l||(a?"rightTop":"bottom"),title:i,content:n,children:p})),a){let e=a;if(a.map){const t=a.map(({key:e,label:t,toolTipTitle:o,toolTipText:i,...n})=>{const r=(0,s.jsx)(G().Item,{...n,children:t},e);return o&&i?(0,s.jsx)(K,{overlayClassName:"aiot-toolbar-menu",placement:"rightTop",title:o,content:i,children:r}):r});e=(0,s.jsx)(G(),{children:t})}p=(0,s.jsx)(Y(),{placement:d||"bottomRight",overlay:e,children:p})}return p}constructor(...e){super(...e),this.handleClick=e=>{this.props.disabled||this.props.onClick&&this.props.onClick(this.props),e.preventDefault()}}}class ee extends h.Component{render(){const{isToolbarActive:e,isToolbarBusy:t,buttons:o,backButton:i,activeButton:n,checkedNodes:r,onCloseMultiToolbar:a}=this.props,l=[],d=n&&o[n].onSave;return n&&l.push((0,s.jsx)(Z,{content:i.label,onClick:this.handleCancelClick},"activeButtonCancel")),d&&l.push((0,s.jsx)(Z,{content:i.save,onClick:d},"activeButtonSave")),(0,s.jsx)(k(),{spinning:t,size:"small",children:(0,s.jsxs)("div",{className:"aiot-toolbar",children:[(0,s.jsxs)("div",{className:"aiot-toolbar-items",children:[n?l:Object.keys(o).map(t=>(0,s.jsx)(Z,{...o[t],disabled:!e||o[t].disabled},t)),r.length>0&&[(0,s.jsx)(Z,{cssClasses:"aiot-border-left",disabled:!0,content:(0,s.jsxs)("span",{children:[(0,s.jsx)(b(),{type:"check"})," ",r.length]})},"multiple-count"),(0,s.jsx)(Z,{content:(0,s.jsx)(b(),{type:"close"}),onClick:a},"multiple-close")]]}),(0,s.jsx)("div",{className:"clear"})]})})}constructor(...e){super(...e),this.handleCancelClick=e=>{const t=this.props.buttons[this.props.activeButton];t&&t.onCancel&&t.onCancel(e,t)}}}const te=({headline:e,creatable:t,isCreatableLinkDisabled:o,isCreatableLinkCancel:i,isToolbarActive:n,isToolbarBusy:r,toolbar:a,multiToolbar:l,toolbarActiveButton:d,isBusyHeader:c,checkedNodes:h,onCloseMultiToolbar:p})=>{const u=h.length?l:a;return(0,s.jsxs)(k(),{spinning:!!c,size:"small",children:[(0,s.jsxs)("div",{className:"aiot-tree-headline",children:[e,i?(0,s.jsx)(X,{...t.backButton,type:"_aio_cancel"}):Object.keys(t.buttons).map(e=>(0,s.jsx)(X,{type:e,...t.buttons[e],isCreatableLinkDisabled:o},e))]}),(!!Object.keys(u.buttons).length||h.length>0)&&(0,s.jsx)(ee,{isToolbarActive:n,isToolbarBusy:r,buttons:u.buttons,backButton:u.backButton,activeButton:d,checkedNodes:h,onCloseMultiToolbar:p})]})};class oe extends h.Component{static{this.stateKeys="defaultRestoreWidth,restoreWidth".split(",")}constructor(e){super(e),this.currentlyResizing=!1,this.handleDoubleClick=()=>{const e=this._getContainerWidth()>0?0:this.state.restoreWidth;this.handleResize(e,null),this.props.onResizeFinished&&this.props.onResizeFinished(e)},this.handleMouseDown=e=>{e.preventDefault(),document.addEventListener("pointermove",this.handleResize),this.currentlyResizing=!0},this.handleMouseUp=e=>{document.removeEventListener("pointermove",this.handleResize),this.currentlyResizing&&this.props.onResizeFinished&&this.props.onResizeFinished(this._getContainerWidth()),this.currentlyResizing=!1},this.handleOpposite=e=>this.props.onResizeOpposite?this.props.onResizeOpposite(this._container.id,this.props.opposite.id,e,E):function(e,t,o){return E(`${e}-styleOpposite`,`#${t}{ width: -webkit-calc(100% - ${o}px);width: -moz-calc(100% - ${o}px);width: calc(100% - ${o}px); }`)}(this._container.id,this.props.opposite.id,e),this.handleResize=(e,t)=>{const{minWidth:o,maxWidth:s}=this.props,i=!(!e||!e.pageX);let n=i?e.pageX-(this._container.getBoundingClientRect().left+document.body.scrollLeft)-15:e,r=n>=o&&n<=s;i&&e.preventDefault(),n<o-50&&(r=n=1);const a=1===r,l=n+this.props.oppositeOffset;window.requestAnimationFrame(()=>{(r||t)&&!1!==this.handleOpposite(a?n:l)&&(this._container.style.width=`${l}px`,!a&&this.setState({restoreWidth:n}),this.props.onResize&&this.props.onResize(n,a))})};const{initialWidth:t,minWidth:o,restoreWidth:s}=e,i="number"==typeof t?t:o;this.state={defaultRestoreWidth:i,restoreWidth:s||i}}shouldComponentUpdate(e,t){const o=oe.stateKeys.filter(e=>this.state[e]!==t[e]);return 1!==o.length||"restoreWidth"!==o[0]}componentDidMount(){this._getContainer(".aiot-split-resizer").addEventListener("pointerdown",this.handleMouseDown),document.addEventListener("pointerup",this.handleMouseUp);const{defaultRestoreWidth:e}=this.state;this.handleResize(e,null),this.props.onResizeFinished&&this.props.onResizeFinished(e)}render(){return(0,s.jsxs)("span",{className:"aiot-split",children:[(0,s.jsx)("div",{className:"aiot-split-resizer"}),(0,s.jsx)("div",{className:"aiot-split-collapse",onClick:this.handleDoubleClick})]})}_getContainer(e,t=!0){const o=document.getElementById(this.props.containerId),s=e?o&&o.querySelectorAll(e):o;return this._container=o,e&&t?s&&s[0]:s}_getContainerWidth(){const e=window.getComputedStyle(this._container);return parseInt(e.width,10)-parseInt(e.borderLeftWidth,10)-parseInt(e.borderRightWidth,10)}}function se(e){const t=("string"==typeof e?e:e.target.value).toLowerCase().trim(),{tree:o,onSearchResult:s}=this.props,i=[],n=e=>{e.title.toLowerCase().indexOf(t)>-1&&i.push(e),e.childNodes&&e.childNodes.forEach(n)};clearTimeout(this.searchTimeout),t?(this.setState({searchTerm:t,resultTreeBusy:!0,resultSelectedNodeIdx:void 0}),this.searchTimeout=setTimeout(()=>{o.forEach(n);const e=i.slice(0,19);this.setState({resultSelectedNodeIdx:-1,resultTreeBusy:!1,resultTree:e}),s&&s(e)},700)):(this.setState({searchTerm:t,resultSelectedNodeIdx:void 0,resultTreeBusy:!1,resultTree:void 0}),s&&s(void 0))}function ie(e){const{onSelect:t}=this.props;if("number"==typeof this.state.resultSelectedNodeIdx&&("ArrowUp"===e.key||"ArrowDown"===e.key)){const t="ArrowDown"===e.key?1:-1;return this.setState(e=>({resultSelectedNodeIdx:e.resultSelectedNodeIdx+t})),e.preventDefault(),!1}if("Enter"===e.key&&t){const o=document.getElementById(this.id()).querySelectorAll(".aiot-search-selected");if(t&&o.length){const e=o[0].attributes["data-id"].value;t(B(e))}return e.preventDefault(),!1}return"Escape"!==e.key||(this.handleSearch(""),e.preventDefault(),!1)}function ne(){this.handleSearch("")}function re(){const{resultSelectedNodeIdx:e}=this.state;this.setState({resultSelectedNodeIdx:"number"==typeof e?-1:void 0})}var ae=o(6498);const le=function(){const e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);if(e.indexOf("Trident/")>0){const t=e.indexOf("rv:");return parseInt(e.substring(t+3,e.indexOf(".",t)),10)}const o=e.indexOf("Edge/");return o>0&&parseInt(e.substring(o+5,e.indexOf(".",o)),10)}(),de="aiot-sortable-gets-empty";function ce(e){const{sortableDelay:t,isSortableDisabled:o,thresholdPx:s}=this.props,i=this._sortables=this._sortables||{};let n=t!==e.sortableDelay;n||o===e.isSortableDisabled||(n=!0),n||s===e.thresholdPx||(n=!0),n&&Object.values(i).forEach(e=>{e.option("delay",t),e.option("disabled",o),e.option("touchStartThreshold",s),e.option("fallbackTolerance",s)})}async function he(e){const{from:t,to:o,oldIndex:s,newIndex:i,item:n}=e,r=B(t.attributes["data-childs-for"].value),a=B(o.attributes["data-childs-for"].value);if(I(t,de),r===a&&s===i)return void I(document.body,"aiot-currently-sorting");const l=B(n.attributes["data-li-id"].value),d=n.nextElementSibling,c=d&&d.attributes["data-li-id"]?d:void 0,h=n.previousElementSibling,p=c&&B(c.attributes["data-li-id"].value),u=h&&B(h.attributes["data-li-id"].value),{onSort:y,onSortEnd:b}=this.props;if(b&&b(e),!y)throw new Error("You have to define a onSort function to enable sorting functionality.");const m=()=>(0,g.Ay)(this.props.tree,e=>{const{rootId:t}=this.props;let o,n;r===t?o=e:(o=D(r,e),o=o.childNodes=o.childNodes||[]),a===t?n=e:(n=D(a,e),n=n.childNodes=n.childNodes||[]);const l=o[s];o.splice(s,1),n.splice(i,0,l)});t!==o&&(t.appendChild(n),n.style.display="none",Object.values(this._sortables).forEach(e=>e._currentOrder&&e.sort(e._currentOrder)));try{await y({evt:e,from:t,to:o,oldIndex:s,newIndex:i,id:l,nextObj:c,prevObj:h,nextId:p,prevId:u,parentFromId:r,parentToId:a,buildTree:m})}catch(e){}finally{I(document.body,"aiot-currently-sorting")}}function pe(e,t=0){if(!this.props.isSortable)return;const o=this._sortables=this._sortables||{};if("destroy"===e)Object.values(o).forEach(e=>e.destroy());else if(e){const{sortableDelay:s,isSortableDisabled:i,onSortStart:n,onSortMove:r,forceSortableFallback:a,thresholdPx:l}=this.props;o[t]=ae.Ay.create(e,{group:this.id("handleSortableTree"),sort:-1===e.className.indexOf("aiot-sortable-one"),delay:s,filter:".aiot-expander",touchStartThreshold:l,fallbackTolerance:l,forceFallback:"boolean"==typeof a?a:!!le,disabled:i,draggable:".aiot-sortable",ghostClass:"aiot-sortable-ghost",chosenClass:"aiot-sortable-chosen",dragClass:"aiot-sortable-drag",dataIdAttr:"data-li-id",setData:e=>{if(e.setDragImage){const t=document.createElement("div");t.style.display="none",document.body.appendChild(t),e.setDragImage(t,0,0)}},onMove:r,onStart:e=>{Object.values(this._sortables).forEach(e=>e._currentOrder=e.toArray()),j(document.body,"aiot-currently-sorting"),j(e.from,de),n&&n(e)},onEnd:he.bind(this),animation:100})}else o[t]&&(o[t].destroy(),delete o[t])}class ue extends h.Component{static{this.defaultProps={theme:"default",style:{},attr:{},isSticky:!1,isStickyHeader:!1,isBusyHeader:!1,treeStickyAttr:{},headerStickyAttr:{},isResizable:!0,isFullWidth:!1,defaultWidth:250,minWidth:250,maxWidth:800,oppositeOffset:16,isCreatableLinkDisabled:!1,isCreatableLinkCancel:!1,isToolbarActive:!0,isToolbarBusy:!1,headline:"Folders",renameSaveText:"Save",renameAddText:"Add",creatable:{buttons:{folder:{icon:'<i class="fa fa-folder-open"></i>'}},backButton:{label:"Cancel"}},toolbar:{buttons:{rename:{content:'<i class="fa fa-pencil"></i>'}},backButton:{label:"Cancel",save:"Done"}},multiToolbar:{buttons:{},backButton:{label:"Cancel"}},rootId:0,sortableDelay:100,thresholdPx:5,noFoldersTitle:"No folders found",noFoldersDescription:"Click the above button to create a new folder.",noSearchResult:"No search results found",searchable:!0,searchInputBusy:!1,toggleExpandAll:!0,isTreeLinkDisabled:!1,isTreeBusy:!1,isSortable:!1,isSortableDisabled:!1,isSortableBusy:!1,forceSortableFallback:!1,staticTree:[],tree:[],ignoreChildNodes:!1,allowMultiSelect:!1}}constructor(e){super(e),this.handleResize=(e,t)=>{this.state.collapsed!==t&&this.setState({collapsed:t}),this.props.onResize&&this.props.onResize(e,t)},this.handleResizeFinished=e=>{this.storage.setItem("width",e),e>0&&this.storage.setItem("rwidth",e),this.props.onResizeFinished&&this.props.onResizeFinished(e)},this.handleNodeExpand=(e,t)=>{const{onNodeExpand:o}=this.props,{id:s}=t;s&&this.storage.setItem(`expandNodes.${t.id}`,e),o&&o(e,t),this.forceUpdate()},this.handleCheck=e=>{const{onCheck:t}=this.props;t&&t(e),this.forceUpdate()},this.handleToggleAll=()=>{const e=this.getExpandedNodes(),t={},o=!e.length,s=({id:e,childNodes:i=[]})=>{i.length&&(t[e]=o,i.forEach(s))};this.props.tree.forEach(s),this.storage.setItem("expandNodes",t),this.forceUpdate()},this.handleCloseMultiToolbar=()=>{const{onCloseMultiToolbar:e}=this.props;e&&e(T(this.props.tree,null)),this.forceUpdate()},this.renderTree=(e,t=!0,o=void 0,i="tree")=>{const{renderItem:n,renderIcon:r,onRenameClose:a,onAddClose:l,onSelect:d,onNodePressF2:c,renameSaveText:h,renameAddText:p,ignoreChildNodes:u}=this.props,y={renderItem:n,renderIcon:r,onRenameClose:a,onAddClose:l,onSelect:d,onNodePressF2:c,renameSaveText:h,renameAddText:p,ignoreChildNodes:u},{isTreeLinkDisabled:b,rootId:g,allowMultiSelect:m}=this.props,{resultSelectedNodeIdx:v}=this.state,x="number"==typeof v&&this.state.resultTree.length,C=this.storage.getItem("expandNodes")||{},S="static"!==i&&m,w=f()({"aiot-disable-links":b,"aiot-sortable-one":1===e.length},`aiot-context-${i}`);let k=-1;const T=e.some(e=>e.childNodes&&e.childNodes.length>0);return["tree"===i&&T&&(0,s.jsx)("div",{onClick:this.handleToggleAll,className:f()("aiot-expander","aiot-expander-all",{"aiot-open":this.getExpandedNodes(C).length})},"all-expander"),(0,s.jsxs)("ul",{className:w,"data-childs-for":g,ref:t?this.handleSortableTree:void 0,children:[e.map(e=>{k++;const o="search"===i?k%x===v%x&&!t:void 0,r=(e,i)=>(0,s.jsx)(F,{searchSelected:o,...e,onExpand:this.handleNodeExpand,onCheck:this.handleCheck,$checkable:S,expandedState:C,...y,onUlRef:t?this.handleSortableTree:void 0,displayChildren:t&&!u,...i},e.id);return n?n(r,F,e):r(e,null)}),!!o&&(0,s.jsx)(F,{$_create:!0,renderIcon:r,onRenameClose:l,renameSaveText:this.props.renameAddText,...o})]},"list-view")]},this.renderTreeWrapper=()=>{const{isCreatableLinkCancel:e,createRoot:t,searchable:o,searchInputBusy:i,isTreeBusy:n,staticTree:r,tree:a,isSortableBusy:l,children:d,noFoldersTitle:c,noFoldersDescription:h,noSearchResult:p,autoFocusSearchInput:u}=this.props,{sortingBusy:y,searchTerm:g,resultTree:m,resultTreeBusy:f}=this.state;return(0,s.jsx)("div",{children:(0,s.jsxs)("div",{className:"aiot-nodes",children:[d,r&&this.renderTree(r,!1,void 0,"static"),r&&(0,s.jsx)("hr",{}),o&&(0,s.jsx)("div",{className:"aiot-search",children:(0,s.jsx)(W(),{autoFocus:u,disabled:!a.length||e||y||l,size:"small",value:g,onChange:this.handleSearch,onBlur:this.handleSearchBlur,onKeyDown:this.handleSearchKeyDown,suffix:i||f?(0,s.jsx)(z,{}):g.length?(0,s.jsx)(b(),{type:"close",style:{cursor:"pointer"},onClick:this.handleSearchClose}):(0,s.jsx)(b(),{type:"search"})})}),(0,s.jsx)(k(),{spinning:!!n||y||l,size:"small",style:{minHeight:50},children:this.renderTree(m||a,!m,m?void 0:t,m?"search":"tree")}),a&&!a.filter(e=>e.$visible).length&&!n&&(0,s.jsx)(H(),{message:c,description:h,type:"info",showIcon:!0}),m&&!m.length&&(0,s.jsx)(H(),{message:p,type:"warning",showIcon:!0})]})})},this.renderWrapper=e=>{const{props:t}=this,{isResizable:o,opposite:i,minWidth:n,maxWidth:r,innerClassName:a,isSticky:l,isStickyHeader:d,isSortableBusy:c,headerStickyAttr:h,oppositeOffset:p,onResizeOpposite:u}=t,{currentlySorting:y,sortingBusy:b,searchTerm:g,stickyTreeCalculatedTop:m,collapsed:x}=this.state,{headline:C,creatable:S,isCreatableLinkDisabled:w,isCreatableLinkCancel:k,isToolbarActive:T,isToolbarBusy:_,toolbar:j,multiToolbar:I,toolbarActiveButton:N,isBusyHeader:R}=t,A={headline:C,creatable:S,isCreatableLinkDisabled:w,isCreatableLinkCancel:k,isToolbarActive:T,isToolbarBusy:_,toolbar:j,multiToolbar:I,toolbarActiveButton:N,isBusyHeader:R},O=(0,s.jsx)(te,{...A,isToolbarActive:!b&&!c&&T,checkedNodes:e,onCloseMultiToolbar:this.handleCloseMultiToolbar,isCreatableLinkDisabled:!!(g||b||c||e.length)||t.isCreatableLinkDisabled}),P=void 0!==m?this.renderTreeWrapper():void 0,$=f()("aiot-pad",a,{"aiot-currently-sorting":y}),E=Object.assign({},{top:m},t.treeStickyAttr);return(0,s.jsxs)("div",{className:$,children:[o&&i&&(0,s.jsx)(oe,{opposite:i,minWidth:n,maxWidth:r,initialWidth:this.storage.getItem("width"),restoreWidth:this.storage.getItem("rwidth"),containerId:this.id(),onResize:this.handleResize,onResizeOpposite:u,onResizeFinished:this.handleResizeFinished,oppositeOffset:p}),!x&&(d?(0,s.jsx)(v.A,{className:"aiot-fixed-header",...h,children:O}):(0,s.jsx)("div",{children:O})),!x&&(l?(0,s.jsx)(v.A,{...E,children:P}):(0,s.jsxs)("div",{children:[P," "]}))]})},this.state={uuid:_(),collapsed:!1,stickyTreeCalculatedTop:void 0,currentlySorting:!1,sortingBusy:!1,searchTerm:"",resultSelectedNodeIdx:void 0,resultTreeBusy:!1,resultTree:void 0},this.props.id&&$?this.storage=new P(this.id()):this.storage=new O,this.handleSearch=se.bind(this),this.handleSearchBlur=re.bind(this),this.handleSearchClose=ne.bind(this),this.handleSearchKeyDown=ie.bind(this),this.handleSortableTree=pe.bind(this),this.handleSortableTreeDidUpdate=ce.bind(this)}componentDidMount(){const{isSticky:e,isStickyHeader:t,treeStickyAttr:o,headerStickyAttr:s}=this.props,i=document.querySelector(`#${this.id()} .aiot-fixed-header > div`);let n=0;if(e&&t&&void 0===o.top&&i){n=i.offsetHeight;const e=s.top;if("string"==typeof e){const t=document.querySelector(e);n+=t?t.offsetHeight:0}else"number"==typeof e&&(n+=e)}this.setState({stickyTreeCalculatedTop:n})}componentDidUpdate(e){this.handleSortableTreeDidUpdate(e)}getExpandedNodes(e=this.storage.getItem("expandNodes")||{}){return(this.props.tree||[]).filter(({id:t,childNodes:o})=>!(!o||!o.length)&&(void 0===e[t]||e[t]))}id(e){const t=this.props.id||this.state.uuid;return e?`${t}--${e}`:t}render(){const{theme:e,attr:t,isFullWidth:o,toolbarActiveButton:i}=this.props,n=T(this.props.tree,!1),r=f()("aiot-tree",this.props.className,`aiot-theme-${e}`,{"aiot-wrap-collapse":this.state.collapsed,"aiot-full-width":o,"aiot-has-checked":n.length>0,"aiot-toolbar-active-button":i}),a=Object.assign({},this.props.style,!o&&{width:`${this.props.defaultWidth}px`,minWidth:`${this.props.minWidth}px`,maxWidth:`${this.props.maxWidth}px`}),l={id:this.id(),style:a,...t,className:r,ref:e=>this.container=e};return(0,s.jsxs)("div",{...l,children:[" ",this.renderWrapper(n)," "]})}}const ye=devowlWp_realProductManagerWpClient;var be=o(2293);const ge=({name:e})=>(0,s.jsx)("span",{className:`dashicons dashicons-${e}`,style:{verticalAlign:"text-top"}});var me=o(2380),fe=o(3978),ve=o(4022),xe=o(3203),Ce=o(4973);const Se=(0,d.PA)(({withinModal:e=!1})=>{const{pluginUpdateStore:{pluginUpdates:t}}=(0,ye.useStores)(),{optionStore:o}=(0,xe.g)(),{slug:i,others:{isPro:r,showLicenseFormImmediate:a},publicUrl:l}=o,d=t.get(i),c=(0,h.useCallback)(()=>{o.setShowLicenseFormImmediate(!1)},[o]),p=(0,h.useCallback)(()=>{o.setShowLicenseFormImmediate(!1),d.skip()},[d,o]);(0,h.useEffect)(()=>{a&&d?.hasInteractedWithFormOnce&&p()},[d,a,p]);const u=(0,Ce._i)((0,Ce.__)("Before we start organizing your categories, you can {{strong}}obtain your free license to enjoy all the benefits{{/strong}} of the free version of Real Category Management. Get started now!"),{strong:(0,s.jsx)("strong",{})});return(0,s.jsxs)(s.Fragment,{children:[a&&(0,s.jsxs)("div",{style:{maxWidth:650,textAlign:"center",margin:"0 auto"},children:[!e&&(0,s.jsx)(n.A,{src:`${l}images/logos/real-category-library.svg`,shape:"square",size:130,style:{backgroundColor:"white",padding:25,borderRadius:999,marginBottom:10}}),!e&&!r&&(0,s.jsx)("p",{style:{fontSize:15,margin:"0 auto 20px"},children:u})]}),(0,s.jsx)(me.A,{title:e||!d?void 0:r||d.isLicensed?(0,Ce.__)("License activation"):(0,Ce.__)("Get your free license"),bordered:!e,bodyStyle:e?{paddingLeft:0,paddingRight:0}:void 0,children:(0,s.jsxs)(fe.A,{direction:"vertical",size:"small",children:[e&&!r&&(0,s.jsx)("p",{className:"description",style:{fontWeight:"bold"},children:u}),(0,s.jsx)(ye.PluginUpdateEmbed,{formProps:{onSave:c,onFailure:a&&!r?p:void 0,footer:(0,s.jsx)(ve.A.Item,{style:{margin:"25px 0 0",textAlign:a?"center":void 0},children:(0,s.jsx)("input",{type:"submit",className:"button button-primary",value:a?r?(0,Ce.__)("Activate license & continue"):(0,Ce.__)("Activate free license & Continue"):(0,Ce.__)("Save")})})},listProps:{onDeactivate:c},slug:i})]})}),d&&a&&(0,s.jsx)("div",{style:{textAlign:"center",marginBottom:e?0:20,marginTop:e?0:20},children:(0,s.jsx)("a",{className:"button-link",onClick:p,children:r?(0,Ce.__)("Continue without regular updates and without any support"):(0,Ce.__)("Continue without any support and without e.g. discount announcements")})})]})});var we=o(7710),ke=o(4431);async function Te(){await(0,we.E)({location:ke.X}),window.location.reload()}const _e=(0,d.PA)(({closeable:e=!1})=>{const{optionStore:{others:{proUrl:t}}}=(0,xe.g)();return(0,s.jsx)(H(),{message:(0,s.jsxs)("span",{children:[(0,Ce.__)("Thanks for using Real Category Management (Free).")," ",(0,s.jsx)("a",{href:`${t}&feature=sidebar`,target:"_blank",rel:"noopener noreferrer",children:(0,Ce.__)("Learn more about PRO")}),e&&(0,s.jsxs)(s.Fragment,{children:[" ","·"," ",(0,s.jsx)("a",{onClick:Te,href:"#",children:(0,Ce.__)("Hide for 30 days")})]})]}),type:"info",style:{marginBottom:"10px"}})});(0,d.PA)(({brackets:e=!1})=>{const{optionStore:{others:{proUrl:t}}}=(0,xe.g)();return(0,s.jsxs)(h.Fragment,{children:[e&&"(",(0,s.jsx)("a",{href:t,target:"_blank",rel:"noopener noreferrer",children:(0,Ce.__)("PRO feature")}),e&&")"]})});var je=o(9907);const Ie=({disabled:e})=>null;async function Ne(e){return!1}var Re=o(2519),Ae=o(8789);function Oe(e,t,o){return(0,Ae.applyQueryString)(new URL(e,window.location.href),[{[t]:o}],!0).toString()}const Pe="aiot-helper-method-append";function $e(e){a()("body").hasClass("aiot-currently-dragging")||(e.target.click?e.target.click():a()(e.target).trigger("click"))}var Ee=o(7627),Le=o(5907),De=o.n(Le);const Be="page-title-action add-new-h2";u().config({top:50});const Fe=(0,d.PA)(()=>{const{modal:e}=i.A.useApp(),{treeStore:t,optionStore:o}=(0,xe.g)(),{tree:r,staticTree:d,selectedId:p,createRoot:y}=t,{busySettings:m,publicUrl:f,others:v}=o,{isDevLicense:x,pluginRcpo:{active:C},typenow:S,taxnow:w,taxos:k,blogId:T,showLiteNotice:j,isPro:I,showProHints:N,sortableTaxos:R}=v,A=`rcl-${T}`,O=function(){const[e,t]=(0,h.useState)({width:window.innerWidth,height:window.innerHeight});return(0,h.useEffect)(()=>{function e(){t({width:window.innerWidth,height:window.innerHeight})}return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),e}().width<700,{isOrderModeActive:P,handleOrderModifier:$,handleOrderClick:E,handleOrderCancel:L}=function(){const{optionStore:e}=(0,xe.g)(),{others:{editOrder:t,editOrderBy:o}}=e,i=(0,h.useCallback)(()=>a()("ul.subsubsub li.byorder"),[]),n=(0,h.useMemo)(()=>!!i().length,[]),r=(0,h.useMemo)(()=>n&&"menu_order title"===o.toLowerCase()&&"asc"===t.toLowerCase(),[]);(0,h.useEffect)(()=>{!r&&a()(".wp-list-table tbody.ui-sortable").sortable("destroy")},[]);const l=(0,h.useCallback)(t=>{if(!n){const{others:{simplePageOrdering:o}}=e;t=o?(0,s.jsx)(De(),{placement:"bottom",overlayStyle:{maxWidth:254},onConfirm:()=>window.open("https://wordpress.org/plugins/simple-page-ordering/#faq-header","_blank"),title:(0,Ce.__)('"Simple Page Ordering" is not available here. You can only reorder post types with hierarchical structure and an "Order" attribute.'),okText:(0,Ce.__)("Learn more"),cancelText:(0,Ce.__)("Cancel"),children:t}):(0,s.jsx)(De(),{placement:"bottom",overlayStyle:{maxWidth:254},onConfirm:async()=>{await e.installAndActivateRealCustomPostOrder(),window.location.reload()},title:(0,Ce.__)('If you want to use the custom order functionality for this post type, you need to install and activate the free plugin "Real Custom Post Order".'),okText:(0,Ce.__)("Install plugin"),cancelText:(0,Ce.__)("Cancel"),children:t})}return t},[n,e]),d=(0,h.useCallback)(()=>{n&&(window.location.href=i().find("a").attr("href"))},[]),c=(0,h.useCallback)(()=>{const e=new URL(window.location.href),{searchParams:t}=e;t.delete("orderby"),t.delete("order"),e.search=`?${t}`,window.location.href=e.toString()},[]);return{isOrderModeAvailable:n,isOrderModeActive:r,handleOrderModifier:l,handleOrderClick:d,handleOrderCancel:c}}(),[D,B]=(0,h.useState)(!O),[F,M]=(0,h.useState)(!O),[W,z]=(0,h.useState)(!O),[U,V]=(0,h.useState)(!O),[q,K]=(0,h.useState)(O?{marginLeft:10}:{}),[X,J]=(0,h.useState)(!0),[G,Q]=(0,h.useState)(!1),[Y,Z]=(0,h.useState)(!0),[ee,te]=(0,h.useState)(!1),[oe,se]=(0,h.useState)(!1),[ie,ne]=(0,h.useState)(!1),[re,ae]=(0,h.useState)(!1),[le,de]=(0,h.useState)(P?"order":void 0),ce=R[w],he=function(e){const{optionStore:{others:{tableCheckboxName:t}}}=(0,xe.g)(),o=(0,h.useCallback)(()=>{const e=()=>a()("body").addClass(Pe),t=()=>a()("body").removeClass(Pe);return a()(document).on("keydown",e),a()(document).on("keyup",t),t(),()=>{a()(document).off("keydown",e),a()(document).off("keyup",t)}},[]),i=(0,h.useCallback)(()=>{if(e)return;let i;a()("#wpbody-content .wp-list-table tbody tr:not(.no-items) > :not(th)").draggable({revert:"invalid",revertDuration:0,appendTo:"body",cursorAt:{top:0,left:0},cancel:'[contenteditable="true"],:input',distance:10,refreshPositions:!0,helper:()=>{const e=_(),o=a()(`<div id="${e}" class="aiot-helper"></div>`),i=a()(`input[name="${t}"]:checked`).length||1;return o.appendTo(a()("body")),(0,Ae.createRoot)(document.getElementById(e)).render((0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{className:"aiot-helper-method-move",children:[(0,s.jsx)(b(),{type:"swap"})," ",(0,Ce._n)("Move","Move %d items",i,[i]),(0,s.jsx)("p",{children:(0,Ce.__)("Hold any key to assign to an additional category")})]}),(0,s.jsxs)("div",{className:Pe,children:[(0,s.jsx)(b(),{type:"copy"})," ",(0,Ce._n)("Copy","Copy %d items",i,[i]),(0,s.jsx)("p",{children:(0,Ce.__)("Release key to move")})]})]})),o},start:()=>{a()("body").addClass("aiot-currently-dragging"),i=o(),a()(document.activeElement).blur()},stop:()=>{a()("body").removeClass("aiot-currently-dragging"),i?.()}}).unbind("touchend",$e).on("touchend",$e)},[e,t]);return(0,h.useEffect)(()=>{i()},[]),i}(P),pe=function(e,t,o){const{optionStore:s,treeStore:i}=(0,xe.g)();return(0,h.useCallback)(async n=>{const{others:{typenow:r,screenSettings:{isFastMode:l}}}=s;if("sort"===e)return;let d=window.location.href;if(n===Re.k.ID_ALL)d=Oe(window.location.pathname,"post_type",r);else{const e=i.byId(+n);a().each(e.properties.queryArgs,(e,t)=>{d=Oe(d,e,t)})}+function(e,t=window.location.href){return new URL(t).searchParams.get(e)}("paged")>1&&(d=Oe(d,"paged",1));const c=i.byId(n,!1);c.setSelected(!0),l&&!t?(c.setBusy(!1),setTimeout(()=>Ne().then(o))):(window.location.href=d,c.setBusy(!0))},[e,s])}(le,P,he),me=function(e,t){const{treeStore:o,optionStore:s}=(0,xe.g)(),{others:{tableCheckboxName:i}}=s,n=(0,h.useCallback)(()=>a()(`#${e} .aiot-node.aiot-droppable`).droppable({activeClass:"aiot-state-default",hoverClass:"aiot-state-hover",tolerance:"pointer",async drop(e,n){const r=[],l=+a()(e.target).attr("data-id"),d=[],c=a()("body").hasClass(Pe),h=a()(e.target).parents(".aiot-tree").attr("data-tax"),p=function(e){for(let t=0;t<d.length;t++)e(d[t])};!function(e,t){const o=a()(`input[name="${i}"]:checked`);o.length?o.each(function(){t(a()(this).parents("tr"))}):t(e)}(n.draggable.parents("tr"),e=>{r.push(parseInt(e.find(`input[name="${i}"]`).attr("value"),10)),d.push(e)}),p(e=>a()(e).fadeTo(250,.3));const y={count:r.length,category:a()(e.target).find(".aiot-node-name").html()},b=u().loading(c?(0,Ce._n)("Copying post to %(category)s...","Copying %(count)d posts to %(category)s...",r.length,y):(0,Ce._n)("Moving post to %(category)s...","Moving %(count)d posts to %(category)s...",r.length,y));try{await(0,we.E)({location:Ee.P,request:{ids:r,isCopy:c,taxonomy:h,to:l}}),b();const{isRatable:i,slug:n}=s;i&&new be.RatingPointer(n,a()(e.target)),u().success(c?(0,Ce._n)("Post successfully copied.","%(count)d posts successfully copied.",r.length,y):(0,Ce._n)("Post successfully moved.","%(count)d posts successfully moved.",r.length,y)),o.fetchTree(),c?a().get(window.location.href,{},e=>{const o=a()(e);if(o.find(".wp-list-table tbody tr").length){let e,s;p(t=>{e=a()(t).attr("id"),s=o.find(`#${e}`),a()(t).replaceWith(s)}),t()}}):p(e=>a()(e).remove()),a()(".wp-list-table tbody tr").length||a()(".wp-list-table tbody").html(`<tr class="no-items"><td class="colspanchange" colspan="6">${(0,Ce.__)("No entries")}</td></tr></tbody>`)}catch(e){console.log(e)}}}),[e,o,s,i]);return(0,h.useLayoutEffect)((0,h.useCallback)(()=>{n()},[n])),n}(A,he),{handleRenameClick:fe,handleRenameCancel:ve,handleNodePressF2:ke,handleRenameClose:Te}=function(e,t,o){const{treeStore:s}=(0,xe.g)(),i=(0,h.useCallback)((i,n,r,a)=>{e?.(n),t?.(r),o?.(i),s.selected.setRename(a)},[s,e,t,o]),n=(0,h.useCallback)(()=>i("rename",!0,!0,!0),[i]),r=(0,h.useCallback)(()=>i(void 0,!1,!1,void 0),[i]),a=(0,h.useCallback)(({id:e})=>e!==Re.k.ID_ALL&&n(void 0),[n]),l=(0,h.useCallback)(async(e,t,{id:o,title:i})=>{if(e&&t.length&&i!==t){const e=u().loading((0,Ce.__)('Renaming "%s"...',t));try{await s.byId(+o).setTitle(t),u().success((0,Ce.__)('"%s" successfully renamed.',t)),r(void 0,void 0)}catch(e){u().error(e.responseJSON.message)}finally{e()}}else r(void 0,void 0)},[s,r]);return{handleRenameClick:n,handleRenameCancel:r,handleNodePressF2:a,handleRenameClose:l}}(se,ae,de),{handleTrashModifier:Le}=function(e){const{treeStore:t}=(0,xe.g)(),o=(0,h.useCallback)(async()=>{const{selected:o}=t;if(o.childNodes.filter(e=>e.$visible).length)return u().error((0,Ce.__)('You can not delete "%s" because it contains subcategories.',[o.title]));const s=u().loading((0,Ce.__)('Deleting "%s"...',o.title));try{await o.trash(),u().success((0,Ce.__)('"%s" successfully deleted.',o.title)),e(o.parent?.id||Re.k.ID_ALL)}catch(e){u().error(e.responseJSON.message)}finally{s()}},[t,e]),i=(0,h.useCallback)(e=>{const{selected:i,selectedId:n}=t;return i&&n!==Re.k.ID_ALL?(0,s.jsx)(De(),{overlayStyle:{maxWidth:254},placement:"bottom",onConfirm:o,title:(0,Ce.__)('Are you sure you want to delete "%s"? Note: The posts in this category will NOT be deleted automatically.',[i.title]),okText:(0,Ce.__)("OK"),cancelText:(0,Ce.__)("Cancel"),children:e}):e},[o]);return{handleTrash:o,handleTrashModifier:i}}(pe);!function(e){const{optionStore:{others:{screenSettings:{isFastMode:t}}}}=(0,xe.g)();t&&(0,h.useEffect)(()=>{const t=function(t){return Ne(a()(this).attr("href")).then(e),t.preventDefault(),!1};return a()(document).on("click",".pagination-links a",t),()=>{a()(document).off("click",".pagination-links a",t)}})}(he);const Fe=(0,h.useCallback)((e,t,o)=>(0,s.jsx)(c.nu,{children:()=>e(o)},o.id),[]),Me=(0,h.useCallback)(e=>(0,s.jsx)(b(),{type:e}),[]);(0,h.useEffect)(()=>{a()(window).resize(()=>{const e=window.innerWidth<700;B(!e),M(!e),z(!e),V(e),K(e?{marginLeft:10}:{})})},[]),(0,h.useEffect)(()=>{if(v.showLicenseFormImmediate&&!window.Playwright){const t=e.info({icon:null,title:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("span",{children:"Real Category Management"}),(0,s.jsx)(je.K,{app:{style:{float:"right"}},children:(0,s.jsx)(n.A,{src:`${f}images/logos/real-category-library.svg`,shape:"square",size:30})})]}),width:800,okButtonProps:{style:{display:"none"}},cancelButtonProps:{style:{display:"none"}},maskClosable:!1,content:(0,s.jsx)(ye.Provider,{children:(0,s.jsx)(Se,{withinModal:!0})})});(0,l.reaction)(()=>v.showLicenseFormImmediate,e=>{e||t.destroy()})}},[]);const We=(0,h.useCallback)(()=>window.location.reload(),[]),ze=(0,h.useCallback)(e=>{let o,s;if(e){const e={$rename:!0,$busy:!1,icon:"folder-open"};t.selectedId===Re.k.ID_ALL?o=e:(s=e,s.parent=t.selectedId)}ae(!!e),ne(!!e),J(!e),t.setCreateRoot(o),t.selected.setCreate(s)},[t,ae,ne,J]),Ue=(0,h.useCallback)(e=>ze(e),[ze]),He=(0,h.useCallback)(()=>ze(),[ze]),Ve=(0,h.useCallback)(e=>{t.createRoot&&t.setCreateRoot(g.jM((0,l.toJS)(t.createRoot),e));const{selected:o}=t;o?.$create&&o.setCreate(g.jM((0,l.toJS)(o.$create),e))},[t,y]),qe=(0,h.useCallback)(async(e,s,i)=>{const n=+(i.parent||0);if(e){Ve(e=>{e.$busy=!0});const e=u().loading((0,Ce.__)('Creating "%s"...',s));try{await t.persist({name:s,parent:n,type:S,taxonomy:w}),He(void 0);const{isRatable:e,slug:i}=o;e&&new be.RatingPointer(i,a()(".aiot-tree-headline")),u().success((0,Ce.__)('"%s" successfully created.',s)),me()}catch(e){u().error(e.responseJSON.message)}finally{Ve(e=>{e.$busy=!1}),e()}}else He(void 0)},[t,o,S,w,He,me,Ve]),Ke=(0,h.useCallback)((e,t)=>{se(!!e),de(e),Z(!e),"boolean"==typeof t&&te(t),"boolean"==typeof t&&Q(t)},[se,de,Z,te,Q]),Xe=(0,h.useCallback)(()=>Ke("sort"),[Ke]),Je=(0,h.useCallback)(()=>Ke(),[Ke]),Ge=(0,h.useCallback)(async({id:e,oldIndex:o,newIndex:s,parentFromId:i,parentToId:n,nextId:r})=>{te(!0),Q(!0);const a=u().loading((0,Ce.__)("Category tree will be reordered soon..."));try{await t.sort({id:+e,oldIndex:o,newIndex:s,parentFromId:+i,parentToId:+n,nextId:+r,request:!0}),u().success((0,Ce.__)("Category tree is successfully reordered."))}catch(e){u().error(e.responseJSON.message)}finally{a(),Ke(le,!1)}},[t,te,Q,Ke,le]),Qe=(0,h.useCallback)(()=>{window.open(`term.php?taxonomy=${w}&tag_ID=${t.selectedId}&post_type=${S}`,"_blank")},[t,S,w]),Ye=(0,h.useRef)(),Ze=(0,h.useCallback)(()=>{clearTimeout(Ye.current),Ye.current=setTimeout(me,200)},[he,Ye]),et={staticTree:d,tree:r,id:A,createRoot:y,isSticky:D,isStickyHeader:F,isResizable:W,isFullWidth:U,style:q,isToolbarActive:X,isToolbarBusy:G||m,isSortable:ce,isSortableDisabled:!1,sortableDelay:Y?150:0,isSortableBusy:ee,isTreeBusy:t.busy,isCreatableLinkDisabled:oe,isCreatableLinkCancel:ie,isTreeLinkDisabled:re,toolbarActiveButton:le};return(0,s.jsxs)(ue,{...et,onSelect:pe,headline:(0,s.jsx)("span",{style:{paddingRight:5},children:(0,Ce.__)("Categories")}),opposite:document.getElementById("wpbody-content"),attr:{"data-type":S,"data-tax":w},renameSaveText:(0,s.jsx)(b(),{type:"save"}),renameAddText:(0,s.jsx)(b(),{type:"save"}),noFoldersTitle:(0,Ce.__)("No category found"),noFoldersDescription:(0,Ce.__)("Click the button above to create a new category."),noSearchResult:(0,Ce.__)("No search results found"),innerClassName:"wrap",theme:"wordpress",headerStickyAttr:{top:"#wpadminbar"},renderItem:Fe,renderIcon:Me,onNodePressF2:ke,onRenameClose:Te,onAddClose:qe,onNodeExpand:Ze,onSearchResult:Ze,onSort:Ge,creatable:{backButton:{cssClasses:Be,label:(0,Ce.__)("Cancel"),onClick:He},buttons:{folder:{icon:(0,s.jsx)(b(),{type:"folder-add"}),cssClasses:Be,toolTipTitle:(0,Ce.__)("Click this to create a new category"),toolTipText:(0,Ce.__)("To create a subcategory, simply select a category from the list and click this button."),label:(0,Ce.__)("New"),onClick:Ue}}},toolbar:{backButton:{label:P||"sort"===le?(0,Ce.__)("Back"):(0,Ce.__)("Cancel"),save:(0,Ce.__)("Save")},buttons:{order:!C&&{content:(0,s.jsx)(ge,{name:"move"}),toolTipTitle:(0,Ce.__)("Reorder entries"),toolTipText:(0,Ce._i)((0,Ce.__)("Start to reorder the entries with the help of the free plugin {{strong}}Real Custom Post Order{{/strong}}."),{strong:(0,s.jsx)("strong",{})}),modifier:$,onClick:E,onCancel:L},reload:{content:(0,s.jsx)(b(),{type:"reload"}),toolTipTitle:(0,Ce.__)("Refresh"),toolTipText:(0,Ce.__)("Refreshes the category view."),onClick:We},rename:{content:(0,s.jsx)(b(),{type:"edit"}),toolTipTitle:(0,Ce.__)("Rename"),toolTipText:(0,Ce.__)("Rename the currently selected category."),disabled:p===Re.k.ID_ALL,onClick:fe,onCancel:ve},trash:{content:(0,s.jsx)(b(),{type:"delete"}),toolTipTitle:(0,Ce.__)("Delete"),toolTipText:(0,Ce.__)("Delete the currently selected category."),disabled:p===Re.k.ID_ALL,modifier:Le},sort:{content:(0,s.jsx)(ge,{name:"sort"}),toolTipTitle:(0,Ce.__)("Rearrange"),toolTipText:(0,Ce.__)("Change the hierarchical order of the categories."),onClick:Xe,onCancel:Je,visible:ce},details:{content:(0,s.jsx)(b(),{type:"ellipsis"}),toolTipTitle:(0,Ce.__)("View and edit category"),toolTipText:(0,Ce.__)("Select a category and see more details about it or edit it."),disabled:p===Re.k.ID_ALL,onClick:Qe}}},forceSortableFallback:!0,children:[x&&(0,s.jsx)(H(),{message:(0,s.jsxs)(s.Fragment,{children:[(0,Ce.__)("Product license not for production use!")," (",(0,s.jsx)("a",{href:(0,Ce.__)("https://devowl.io/knowledge-base/license-installation-type/"),rel:"noreferrer",target:"_blank",children:(0,Ce.__)("Learn more")}),")"]}),type:"warning",style:{marginBottom:"10px"}}),!I&&N&&j&&(0,s.jsx)(_e,{closeable:!0}),Object.keys(k).length>1&&(0,s.jsx)("div",{style:{margin:"2px 0px 9px 0",textAlign:"right"},children:(0,s.jsx)(Ie,{disabled:!!le})})]})})},3046:()=>{},3203:(e,t,o)=>{o.d(t,{g:()=>a,y:()=>r});var s=o(8789),i=o(9261),n=o(2519);class r{get context(){return this.contextMemo?this.contextMemo:this.contextMemo=(0,s.createContextFactory)(this)}constructor(){this.optionStore=new i.t(this),this.treeStore=new n.k(this)}static get StoreProvider(){return r.get.context.StoreProvider}static get get(){return r.me?r.me:r.me=new r}}const a=()=>r.get.context.useStores()},3713:e=>{e.exports=ReactJSXRuntime},4431:(e,t,o)=>{o.d(t,{X:()=>s});const s={path:"/notice/lite",method:o(8789).RouteHttpVerb.DELETE}},4497:e=>{e.exports=mobx},4973:(e,t,o)=>{o.d(t,{__:()=>a,_i:()=>l,_n:()=>r});var s=o(8789);let i;function n(){return i||(i=(0,s.createLocalizationFactory)(s.BaseOptions.getPureSlug("real-category-library")))}const r=(...e)=>n()._n(...e),a=(...e)=>n().__(...e),l=(...e)=>n()._i(...e)},5206:e=>{e.exports=ReactDOM},5773:(e,t,o)=>{o.d(t,{gy:()=>s.g,kG:()=>n.k,t6:()=>i.t,yd:()=>s.y});var s=o(3203),i=o(9261),n=o(2519)},6422:()=>{},7164:(e,t,o)=>{o.d(t,{z:()=>m});var s=o(3713),i=o(1669),n=o.n(i),r=o(8789),a=o(9393),l=o(1594),d=o(5720),c=o(3491),h=o(5085),p=o(3203),u=o(4973);const y=(0,h.PA)(({feature:e})=>{const{optionStore:{others:{isPro:t,proUrl:o}}}=(0,p.g)(),i=(0,l.useCallback)(()=>{window.open(`${o}&feature=${e}`)},[]);return t?null:(0,s.jsx)(c.A,{icon:(0,s.jsx)(d.A,{}),color:"#2db7f5",style:{cursor:"pointer"},onClick:i,children:(0,u.__)("Unlock feature")})}),b=()=>{const[e,t]=(0,l.useState)(!1),{optionStore:o}=(0,p.g)(),{others:{isAvailable:i,isPro:n,typenow:r,canManageOptions:d}}=o;let c=!1;const h=(0,l.useCallback)(async e=>{t(!0),await o.updatePostTypeOptions(r,{active:e}),window.location.reload()},[r,o]);if(!d)return null;if(n||"post"===r){if(!i)return null}else c=!0;return(0,s.jsxs)("div",{style:{paddingTop:3},children:[(0,s.jsx)(a.A,{disabled:c,onChange:h,loading:e}),(0,s.jsxs)("div",{style:{float:"right",padding:c?"0px 10px":"2px 10px"},children:[(0,u.__)("Enable category tree")," ",c&&(0,s.jsx)(y,{feature:"page"===r?"page-tree":"cpt-tree"})]})]})};var g=o(9907);function m(){const e=n()("<div/>").appendTo("#posts-filter > .tablenav.top > .alignleft.actions:not(.bulkactions)").css({float:"right"}).get(0);e&&(0,r.createRoot)(e).render((0,s.jsx)(g.K,{children:(0,s.jsx)(b,{})}))}},7560:()=>{},7572:()=>{},7627:(e,t,o)=>{o.d(t,{P:()=>s});const s={path:"/posts/bulk/move",method:o(8789).RouteHttpVerb.PUT}},7710:(e,t,o)=>{o.d(t,{E:()=>n});var s=o(8789);let i;const n=(...e)=>(i||(i=(0,s.createRequestFactory)(window[s.BaseOptions.getPureSlug("real-category-library",!0)]))).request(...e)},8789:e=>{e.exports=devowlWp_utils},9077:(e,t,o)=>{o.d(t,{h:()=>s});const s={path:"/terms",method:o(8789).RouteHttpVerb.POST}},9261:(e,t,o)=>{o.d(t,{t:()=>u});var s=o(1490),i=o(1669),n=o.n(i),r=o(4497);const a=wp;var l=o.n(a),d=o(2293),c=o(8789),h=o(7710),p=o(1764);class u extends c.BaseOptions{get isRatable(){return(0,d.isRatable)(this.slug)}constructor(e){super(),this.busySettings=!1,this.updatePostTypeOptions=(0,r.flow)(function*(e,{active:t,fastMode:o}){this.busySettings=!0;try{const s=yield(0,h.E)({location:p.e,params:{post_type:e},request:{...void 0===t?{}:{active:t},...void 0===o?{}:{fastMode:o}}});return void 0!==t&&(this.others.postTypes[e].active=t),void 0!==o&&(this.others.postTypes[e].fastMode=o),s}catch(e){throw console.log(e),e}finally{this.busySettings=!1}}),this.installAndActivateCustomPostTypeUI=(0,r.flow)(function*(){this.busySettings=!0;const{others:{pluginCptUi:e,installPluginNonce:t}}=this,{installed:o,installUrl:s,activateUrl:i}=e,r=l()?.ajax?.send;if(o)try{yield n().get(i).promise(),e.active=!0}catch(e){window.location.href=i}else if(r)try{yield r({data:{action:"install-plugin",slug:"custom-post-type-ui",_ajax_nonce:t}}),e.installed=!0,yield this.installAndActivateCustomPostTypeUI()}catch(e){window.location.href=s}else window.location.href=s}),this.installAndActivateRealCustomPostOrder=(0,r.flow)(function*(){this.busySettings=!0;const{others:{pluginRcpo:e,installPluginNonce:t}}=this,{installed:o,installUrl:s,activateUrl:i}=e,r=l()?.ajax?.send;if(o)try{yield n().get(i).promise(),e.active=!0}catch(e){window.location.href=i}else if(r)try{yield r({data:{action:"install-plugin",slug:"real-custom-post-order",_ajax_nonce:t}}),e.installed=!0,yield this.installAndActivateCustomPostTypeUI()}catch(e){window.location.href=s}else window.location.href=s}),this.rootStore=e,this.pureSlug=c.BaseOptions.getPureSlug("real-category-library"),this.pureSlugCamelCased=c.BaseOptions.getPureSlug("real-category-library",!0),(0,r.runInAction)(()=>Object.assign(this,window[this.pureSlugCamelCased]))}setTaxnow(e){this.others.taxnow=e}setShowLicenseFormImmediate(e){this.others.showLicenseFormImmediate=e}}(0,s.Cg)([r.observable],u.prototype,"busySettings",void 0),(0,s.Cg)([r.observable,(0,s.Sn)("design:type",Object)],u.prototype,"others",void 0),(0,s.Cg)([r.action,(0,s.Sn)("design:type",Function),(0,s.Sn)("design:paramtypes",[String]),(0,s.Sn)("design:returntype",void 0)],u.prototype,"setTaxnow",null),(0,s.Cg)([r.action,(0,s.Sn)("design:type",Function),(0,s.Sn)("design:paramtypes",[Boolean]),(0,s.Sn)("design:returntype",void 0)],u.prototype,"setShowLicenseFormImmediate",null)},9336:(e,t,o)=>{o.d(t,{C:()=>s});const s={path:"/tree",method:o(8789).RouteHttpVerb.GET}},9906:(e,t,o)=>{o.d(t,{g:()=>s});const s={path:"/terms/:id",method:o(8789).RouteHttpVerb.DELETE}},9907:(e,t,o)=>{o.d(t,{K:()=>l});var s=o(3713),i=o(4349),n=o(480),r=o(5666),a=o(3203);const l=({children:e,configProvider:t={},app:o={}})=>(0,s.jsx)(r.Ay,{prefixCls:"rcl-antd",iconPrefixCls:"rcl-antd-anticon",theme:{token:{colorPrimary:"#2271b1",borderRadius:3}},...t,children:(0,s.jsx)(i.Z_3,{value:{prefixCls:"rcl-antd-anticon"},children:(0,s.jsx)(n.A,{message:{top:50},...o,children:(0,s.jsx)(a.y.StoreProvider,{children:e})})})})}},o={};function s(e){var i=o[e];if(void 0!==i)return i.exports;var n=o[e]={exports:{}};return t[e].call(n.exports,n,n.exports,s),n.exports}s.m=t,e=[],s.O=(t,o,i,n)=>{if(!o){var r=1/0;for(c=0;c<e.length;c++){for(var[o,i,n]=e[c],a=!0,l=0;l<o.length;l++)(!1&n||r>=n)&&Object.keys(s.O).every(e=>s.O[e](o[l]))?o.splice(l--,1):(a=!1,n<r&&(r=n));if(a){e.splice(c--,1);var d=i();void 0!==d&&(t=d)}}return t}n=n||0;for(var c=e.length;c>0&&e[c-1][2]>n;c--)e[c]=e[c-1];e[c]=[o,i,n]},s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},s.d=(e,t)=>{for(var o in t)s.o(t,o)&&!s.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},s.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e={884:0};s.O.j=t=>0===e[t];var t=(t,o)=>{var i,n,[r,a,l]=o,d=0;if(r.some(t=>0!==e[t])){for(i in a)s.o(a,i)&&(s.m[i]=a[i]);if(l)var c=l(s)}for(t&&t(o);d<r.length;d++)n=r[d],s.o(e,n)&&e[n]&&e[n][0](),e[n]=0;return s.O(c)},o=self.webpackChunkrealCategoryLibrary_=self.webpackChunkrealCategoryLibrary_||[];o.forEach(t.bind(null,0)),o.push=t.bind(null,o.push.bind(o))})();var i=s.O(void 0,[187],()=>s(2370));i=s.O(i),realCategoryLibrary_admin=i})();
    2 //# sourceMappingURL=https://sourcemap.devowl.io/real-category-library/4.2.64/cae1cad2010446dffdfb0d9681494f34/admin.lite.js.map
     2//# sourceMappingURL=https://sourcemap.devowl.io/real-category-library/4.2.69/a5b42a72b1345d9d978c0d77777899bf/admin.lite.js.map
  • real-category-library-lite/trunk/public/dist/options.css

    r3454640 r3491846  
    11body.modal-open .rcl-antd-modal-root{display:none!important}.rcl-antd-app a:not(.button):not(.nav-tab):not(.page-title-action){-webkit-text-decoration:underline;text-decoration:underline}.rcl-antd-dropdown,.rcl-antd-dropdown-menu-submenu-popup,.rcl-antd-image-preview-mask,.rcl-antd-image-preview-wrap,.rcl-antd-message,.rcl-antd-select-dropdown{z-index:105000000!important}.rcl-antd-modal-mask,.rcl-antd-modal-wrap{z-index:99999999!important}.rcl-antd-tooltip{z-index:100000079!important}.rcl-antd-tooltip a{color:inherit!important;-webkit-text-decoration:underline;text-decoration:underline}.rcl-antd-popover{z-index:100000029!important}.rcl-antd-checkbox-input{margin-top:0!important}.rcl-antd-card:not(.rcl-antd-card-bordered){box-shadow:none!important}.rcl-antd-table table{margin:0!important}.rcl-antd-tabs-tabpane-no-margin{margin:0!important;padding:0!important}.rcl-antd-space-compact.rcl-antd-select-addon{display:flex}.rcl-antd-space-compact.rcl-antd-select-addon .rcl-antd-input-group-wrapper{flex:0}.rcl-antd-space-compact.rcl-antd-select-addon .rcl-antd-input{width:0;padding-left:0!important;padding-right:0!important}.rcl-antd-space-compact.rcl-antd-select-addon .rcl-antd-select{flex:1}.rcl-antd-space-compact.rcl-antd-select-addon .rcl-antd-select-selector{border-left:0}.rcl-antd-space-compact.rcl-antd-select-addon .rcl-antd-select-multiple .rcl-antd-select-selector{padding-top:0!important;padding-bottom:0!important}.rcl-antd-radio-disabled>input{opacity:0!important}.rcl-antd-radio-button-wrapper input[type=radio]{opacity:0!important}.rcl-antd-radio-button-card>label{height:auto!important;padding:0;border-radius:0!important;margin:0 5px 5px 0!important}.rcl-antd-radio-button-card>label .rcl-antd-card{background:rgba(0,0,0,0)}.rcl-antd-radio-button-card>label .rcl-antd-card .rcl-antd-card-cover{margin:5px}.rcl-antd-radio-button-card>label.rcl-antd-radio-button-wrapper-checked:not(.rcl-antd-radio-button-wrapper-disabled) .rcl-antd-card-meta-description,.rcl-antd-radio-button-card>label.rcl-antd-radio-button-wrapper-checked:not(.rcl-antd-radio-button-wrapper-disabled) .rcl-antd-card-meta-title{color:#fff}.rcl-antd-form-sticky-submit{position:sticky;bottom:0;background:#f1f1f1;border-top:1px solid #d2b798;margin-top:10px;padding:20px 0;z-index:4}.rcl-antd-modal-root .rcl-antd-form-sticky-submit{background:#fff;margin-bottom:0}.rcl-antd-modal-root .rcl-antd-modal-confirm-body:not(:has(>[role=img])) .rcl-antd-modal-confirm-paragraph{max-width:none;max-width:initial}.rcl-antd-hero-modal{text-align:center}.rcl-antd-hero-modal .rcl-antd-modal-footer{text-align:center}.rcl-antd-hero-modal .rcl-antd-modal-body{padding:0 24px}.rcl-antd-hero-modal .rcl-antd-modal-body img{max-width:90%;max-height:500px;height:auto}.rcl-antd-modal-mount{position:relative;width:100%;background-repeat:no-repeat;background-size:100% auto;background-position:center center}.rcl-antd-modal-mount .rcl-antd-modal-mask,.rcl-antd-modal-mount .rcl-antd-modal-wrap{position:absolute;z-index:auto;z-index:initial}.rcl-antd-modal-mount .rcl-antd-modal-mask{background:0 0}.rcl-antd-modal-mount .rcl-antd-modal-close,.rcl-antd-modal-mount .rcl-antd-modal-footer>button:not(.rcl-antd-btn-primary){display:none!important}.rcl-antd-template-card{width:210px;display:inline-block;padding:10px;margin:5px;vertical-align:top}.rcl-antd-template-card .rcl-antd-card-cover{height:173px;display:flex;align-items:center;justify-content:center}.rcl-antd-template-card .rcl-antd-card-body{padding:20px 5px 10px}.rcl-antd-template-card .rcl-antd-ribbon.rcl-antd-ribbon-placement-end{right:-18px;border:1px solid #fff;box-sizing:content-box}.rcl-antd-template-card .rcl-antd-card-meta-description{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.rcl-antd-template-card .rcl-antd-card-actions{margin-top:10px!important}.rcl-antd-template-card .rcl-antd-card-actions a{-webkit-text-decoration:underline;text-decoration:underline}.rcl-antd-space-vertical{width:100%}.rcl-antd-tabs-nav::before{border-color:#e2e2e2!important}.rcl-antd-select.rcl-antd-select-ellipses-left .rcl-antd-select-selection-item{direction:rtl}.rcl-antd-image-preview-operations{top:32px}.rcl-antd-input{padding:4px 11px!important;line-height:1.5715!important;min-height:auto!important;box-shadow:none!important;border-radius:2px!important;border:1px solid #d9d9d9!important;outline:0!important}.rcl-antd-list-item{background:#fff;padding:15px!important}.rcl-antd-list-item .rcl-antd-badge-count{min-width:9px}.rcl-antd-list-item .rcl-antd-list-item-meta-content{width:auto!important}.rcl-antd-pagination>li{margin-bottom:0!important}
    2 //# sourceMappingURL=https://sourcemap.devowl.io/real-category-library/4.2.64/6458242f14b643b17f871400b0e1435a/options.css.map
     2//# sourceMappingURL=https://sourcemap.devowl.io/real-category-library/4.2.69/6cbceacd76b2d2e53642d01017b84b26/options.css.map
  • real-category-library-lite/trunk/public/dist/options.lite.js

    r3454640 r3491846  
    11var realCategoryLibrary_options;(()=>{"use strict";var e,t={180:(e,t,o)=>{o.d(t,{Cu:()=>i.C,Cw:()=>l.C,Eb:()=>r.E,PC:()=>s.P,Xk:()=>d.X,el:()=>c.e,gX:()=>n.g,hg:()=>a.h});var s=o(7627),i=o(1324),n=o(9906),r=o(956),a=o(9077),l=o(9336),d=o(4431),c=o(1764)},956:(e,t,o)=>{o.d(t,{E:()=>s});const s={path:"/hierarchy/:id",method:o(8789).RouteHttpVerb.PUT}},1324:(e,t,o)=>{o.d(t,{C:()=>s});const s={path:"/terms/:id",method:o(8789).RouteHttpVerb.PUT}},1594:e=>{e.exports=React},1669:e=>{e.exports=jQuery},1764:(e,t,o)=>{o.d(t,{e:()=>s});const s={path:"/options/:post_type",method:o(8789).RouteHttpVerb.PATCH}},2293:e=>{e.exports=devowlWp_realUtils},2519:(e,t,o)=>{o.d(t,{k:()=>g});var s=o(1490),i=o(4497),n=o(1669),r=o.n(n),a=o(7710),l=o(9906),d=o(1324);class c{constructor(e,t){this.hash="",this.className="",this.icon="",this.iconActive="",this.childNodes=[],this.title="",this.count=0,this.isTreeLinkDisabled=!1,this.selected=!1,this.$busy=!1,this.$droppable=!0,this.$visible=!0,this.$rename=!1,this.isQueried=!0,this.setTitle=(0,i.flow)(function*(e){this.$busy=!0;try{const t=yield(0,a.E)({location:d.C,params:{id:+this.id},request:{name:e,taxonomy:this.properties.taxonomy}});return this.title=e,this.properties=r().extend({},this.properties,t),t}finally{this.$busy=!1}}),this.trash=(0,i.flow)(function*(){this.$busy=!0;try{yield(0,a.E)({location:l.g,params:{id:+this.id,taxonomy:this.properties.taxonomy}}),this.$visible=!1}finally{this.$busy=!1}}),this.treeStore=t,(0,i.runInAction)(()=>{(0,i.set)(this,e),this.id&&t.refs.set(this.id,this)})}static mapFromRestEndpoint({term_id:e,name:t,count:o,childNodes:s,...i}){return new c({id:e,title:t,count:o,icon:"folder",iconActive:"folder-open",childNodes:s?s.map(c.mapFromRestEndpoint.bind(this)):[],properties:i},this)}overwriteCompletelyFromResponse(e){r().each(e,(e,t)=>(0,i.set)(this,e,t))}addChildNode(e){this.childNodes.push(e)}setSelected(e){this.selected!==e&&(this.selected=e,e&&this.treeStore.setSelected(this))}setBusy(e){this.$busy=e}setRename(e){this.$rename=e}setCreate(e){this.$create=e}}(0,s.Cg)([i.observable,(0,s.Sn)("design:type",Object)],c.prototype,"id",void 0),(0,s.Cg)([i.observable],c.prototype,"hash",void 0),(0,s.Cg)([i.observable],c.prototype,"className",void 0),(0,s.Cg)([i.observable],c.prototype,"icon",void 0),(0,s.Cg)([i.observable],c.prototype,"iconActive",void 0),(0,s.Cg)([i.observable,(0,s.Sn)("design:type",Array)],c.prototype,"childNodes",void 0),(0,s.Cg)([i.observable],c.prototype,"title",void 0),(0,s.Cg)([i.observable],c.prototype,"count",void 0),(0,s.Cg)([i.observable],c.prototype,"isTreeLinkDisabled",void 0),(0,s.Cg)([i.observable],c.prototype,"selected",void 0),(0,s.Cg)([i.observable],c.prototype,"$busy",void 0),(0,s.Cg)([i.observable],c.prototype,"$droppable",void 0),(0,s.Cg)([i.observable],c.prototype,"$visible",void 0),(0,s.Cg)([i.observable],c.prototype,"$rename",void 0),(0,s.Cg)([i.observable,(0,s.Sn)("design:type","undefined"==typeof TreeNodeProps?Object:TreeNodeProps)],c.prototype,"$create",void 0),(0,s.Cg)([i.observable,(0,s.Sn)("design:type",Object)],c.prototype,"properties",void 0),(0,s.Cg)([i.observable],c.prototype,"isQueried",void 0),(0,s.Cg)([i.observable,(0,s.Sn)("design:type",Object)],c.prototype,"parent",void 0),(0,s.Cg)([i.action,(0,s.Sn)("design:type",Function),(0,s.Sn)("design:paramtypes",["undefined"==typeof Partial?Object:Partial]),(0,s.Sn)("design:returntype",void 0)],c.prototype,"overwriteCompletelyFromResponse",null),(0,s.Cg)([i.action,(0,s.Sn)("design:type",Function),(0,s.Sn)("design:paramtypes",[Object]),(0,s.Sn)("design:returntype",void 0)],c.prototype,"addChildNode",null),(0,s.Cg)([i.action,(0,s.Sn)("design:type",Function),(0,s.Sn)("design:paramtypes",[Boolean]),(0,s.Sn)("design:returntype",void 0)],c.prototype,"setSelected",null),(0,s.Cg)([i.action,(0,s.Sn)("design:type",Function),(0,s.Sn)("design:paramtypes",[Boolean]),(0,s.Sn)("design:returntype",void 0)],c.prototype,"setBusy",null),(0,s.Cg)([i.action,(0,s.Sn)("design:type",Function),(0,s.Sn)("design:paramtypes",[Boolean]),(0,s.Sn)("design:returntype",void 0)],c.prototype,"setRename",null),(0,s.Cg)([i.action,(0,s.Sn)("design:type",Function),(0,s.Sn)("design:paramtypes",["undefined"==typeof TreeNodeProps?Object:TreeNodeProps]),(0,s.Sn)("design:returntype",void 0)],c.prototype,"setCreate",null);var p=o(4973),h=o(956),u=o(9077),y=o(9336);class g{static{this.ID_ALL="ALL"}get selectedId(){return this.selected?.id}constructor(e){this.staticTree=[],this.tree=[],this.busy=!1,this.refs=new Map,this.fetchTree=(0,i.flow)(function*(e,t){this.busy=!0;const{taxnow:o,typenow:s}=this.rootStore.optionStore.others;if(!o||!s)return;const i=yield(0,a.E)({location:y.C,sendReferer:!0,params:Object.assign({remember:!1,taxonomy:o,type:s},e)}),{selectedId:n,tree:r}=i;this.tree=r.map(c.mapFromRestEndpoint.bind(this)),this.busy=!1,this.byId(n,!1).setSelected(!0),t?.(i)}),this.persist=(0,i.flow)(function*(e){const t=yield(0,a.E)({location:u.h,request:e}),o=c.mapFromRestEndpoint.apply(this,[{category_name:t.category_name,childNodes:[],count:t.count,editableSlug:t.editableSlug,name:t.name,post_type:t.post_type,queryArgs:t.queryArgs,taxonomy:t.taxonomy,term_id:t.term_id}]),{parent:s}=e;return 0===s?this.tree.push(o):this.byId(s).addChildNode(o),o}),this.sort=(0,i.flow)(function*({id:e,oldIndex:t,newIndex:o,parentFromId:s,parentToId:i,nextId:n,...r}){const l=0===s?this.tree:this.byId(s).childNodes,d=0===i?this.tree:this.byId(i).childNodes,c=l[t];if(l.splice(t,1),d.splice(o,0,c),!r.request)return!0;const{typenow:p,taxnow:u}=this.rootStore.optionStore.others;try{return yield(0,a.E)({location:h.E,params:{id:e},request:{nextId:n,parent:i,type:p,taxonomy:u}}),!0}catch(r){throw yield this.sort({id:e,oldIndex:o,newIndex:t,parentFromId:i,parentToId:s,nextId:n,request:!1}),r}}),this.rootStore=e,(0,i.reaction)(()=>this.rootStore.optionStore.others.taxnow,()=>this.fetchTree({remember:!0})),setTimeout(this.init.bind(this))}setSelected(e){this.selected&&(this.selected.selected=!1),this.selected=e}setCreateRoot(e){this.createRoot=e}init(){this.staticTree.push(new c({id:"ALL",title:(0,p.__)("All posts"),icon:"copy",count:this.rootStore.optionStore.others.allPostCnt},this)),this.rootStore.optionStore.others.screenSettings.isActive&&this.fetchTree()}byId(e,t=!0){const o=this.refs.get(e);if(!(t&&this.staticTree.indexOf(o)>-1))return o}}(0,s.Cg)([i.observable,(0,s.Sn)("design:type",Array)],g.prototype,"staticTree",void 0),(0,s.Cg)([i.observable,(0,s.Sn)("design:type",Array)],g.prototype,"tree",void 0),(0,s.Cg)([i.observable,(0,s.Sn)("design:type",void 0===c?Object:c)],g.prototype,"selected",void 0),(0,s.Cg)([i.observable],g.prototype,"busy",void 0),(0,s.Cg)([i.observable,(0,s.Sn)("design:type","undefined"==typeof TreeNodeProps?Object:TreeNodeProps)],g.prototype,"createRoot",void 0),(0,s.Cg)([i.computed,(0,s.Sn)("design:type",void 0),(0,s.Sn)("design:paramtypes",[])],g.prototype,"selectedId",null),(0,s.Cg)([i.action,(0,s.Sn)("design:type",Function),(0,s.Sn)("design:paramtypes",[void 0===c?Object:c]),(0,s.Sn)("design:returntype",void 0)],g.prototype,"setSelected",null),(0,s.Cg)([i.action,(0,s.Sn)("design:type",Function),(0,s.Sn)("design:paramtypes",["undefined"==typeof TreeNodeProps?Object:TreeNodeProps]),(0,s.Sn)("design:returntype",void 0)],g.prototype,"setCreateRoot",null),(0,s.Cg)([i.action,(0,s.Sn)("design:type",Function),(0,s.Sn)("design:paramtypes",[]),(0,s.Sn)("design:returntype",void 0)],g.prototype,"init",null)},3203:(e,t,o)=>{o.d(t,{g:()=>a,y:()=>r});var s=o(8789),i=o(9261),n=o(2519);class r{get context(){return this.contextMemo?this.contextMemo:this.contextMemo=(0,s.createContextFactory)(this)}constructor(){this.optionStore=new i.t(this),this.treeStore=new n.k(this)}static get StoreProvider(){return r.get.context.StoreProvider}static get get(){return r.me?r.me:r.me=new r}}const a=()=>r.get.context.useStores()},3713:e=>{e.exports=ReactJSXRuntime},3933:(e,t,o)=>{o.r(t),o.d(t,{OptionStore:()=>u.t6,RootStore:()=>u.yd,TreeStore:()=>u.kG,locationRestHierarchyPut:()=>h.Eb,locationRestNoticeLiteDelete:()=>h.Xk,locationRestOptionsPostTypePatch:()=>h.el,locationRestPostsBulkMovePut:()=>h.PC,locationRestTermsDelete:()=>h.gX,locationRestTermsPost:()=>h.hg,locationRestTermsPut:()=>h.Cu,locationRestTreeGet:()=>h.Cw,useStores:()=>u.gy});var s=o(3713),i=(o(6422),o(1669)),n=o.n(i),r=o(8789),a=o(9169),l=o(9907),d=o(3203),c=o(7710),p={};for(const e in r)"default"!==e&&(p[e]=()=>r[e]);o.d(t,p);var h=o(180),u=o(5773);(0,r.handleCorruptRestApi)({[d.y.get.optionStore.restNamespace]:async()=>{await(0,c.E)({location:{path:"/plugin"}})}});const y=document.getElementById(`${d.y.get.optionStore.slug}-component`);n()(()=>{y&&(0,r.createRoot)(y).render((0,s.jsx)(l.K,{children:(0,s.jsx)(a.C,{})}))}),n()("link#dark_mode-css").length&&n()("body").addClass("aiot-wp-dark-mode")},4431:(e,t,o)=>{o.d(t,{X:()=>s});const s={path:"/notice/lite",method:o(8789).RouteHttpVerb.DELETE}},4497:e=>{e.exports=mobx},4973:(e,t,o)=>{o.d(t,{__:()=>r,_i:()=>a});var s=o(8789);let i;function n(){return i||(i=(0,s.createLocalizationFactory)(s.BaseOptions.getPureSlug("real-category-library")))}const r=(...e)=>n().__(...e),a=(...e)=>n()._i(...e)},5206:e=>{e.exports=ReactDOM},5773:(e,t,o)=>{o.d(t,{gy:()=>s.g,kG:()=>n.k,t6:()=>i.t,yd:()=>s.y});var s=o(3203),i=o(9261),n=o(2519)},6422:()=>{},7627:(e,t,o)=>{o.d(t,{P:()=>s});const s={path:"/posts/bulk/move",method:o(8789).RouteHttpVerb.PUT}},7710:(e,t,o)=>{o.d(t,{E:()=>n});var s=o(8789);let i;const n=(...e)=>(i||(i=(0,s.createRequestFactory)(window[s.BaseOptions.getPureSlug("real-category-library",!0)]))).request(...e)},8789:e=>{e.exports=devowlWp_utils},9077:(e,t,o)=>{o.d(t,{h:()=>s});const s={path:"/terms",method:o(8789).RouteHttpVerb.POST}},9169:(e,t,o)=>{o.d(t,{C:()=>_});var s=o(3713),i=o(8197),n=o(5085),r=o(480),a=o(9393),l=o(5107),d=o(1594),c=o(3203),p=o(4973),h=o(5720),u=o(3491);const y=(0,n.PA)(({feature:e})=>{const{optionStore:{others:{isPro:t,proUrl:o}}}=(0,c.g)(),i=(0,d.useCallback)(()=>{window.open(`${o}&feature=${e}`)},[]);return t?null:(0,s.jsx)(u.A,{icon:(0,s.jsx)(h.A,{}),color:"#2db7f5",style:{cursor:"pointer"},onClick:i,children:(0,p.__)("Unlock feature")})}),g=(0,n.PA)(({name:e})=>{const{message:t,modal:o}=r.A.useApp(),{optionStore:i}=(0,c.g)(),{others:{postTypes:n,isPro:h,pluginCptUi:u}}=i,{label:g,link:m,available:b,active:v,fastMode:f}=n[e],x=(0,d.useCallback)(async o=>{await i.updatePostTypeOptions(e,{active:o}),t.success(o?(0,p.__)("Category tree enabled for %s.",g):(0,p.__)("Category tree disabled for %s.",g))},[i,g]),S=(0,d.useCallback)(async o=>{await i.updatePostTypeOptions(e,{fastMode:o}),t.success(o?(0,p.__)("Pagination without reloading the page enabled for %s.",g):(0,p.__)("Pagination without reloading the page disabled for %s.",g))},[i,g]),C=(0,d.useCallback)(async()=>{u.active?window.location.href=u.manageTaxonomiesUrl:o.confirm({cancelText:(0,p.__)("Cancel"),okText:"Continue",title:(0,p.__)("Custom Post Type UI"),content:(0,p.__)("To create custom taxonomies we highly recommend to use the 3rd party plugin Custom Post Type UI. Would you like to install and activate it now?"),onOk:async()=>{await i.installAndActivateCustomPostTypeUI(),window.location.href=u.manageTaxonomiesUrl}})},[i,u]);return(0,s.jsxs)("tr",{children:[(0,s.jsxs)("td",{children:[(0,s.jsx)("strong",{children:g})," •"," ",(0,s.jsx)("a",{href:m,target:"_blank",rel:"noreferrer",children:(0,p.__)("Open")})]}),(0,s.jsx)("td",{children:"post"===e||h?b?(0,s.jsx)(a.A,{checked:v,onChange:x}):(0,s.jsx)(l.A,{transitionName:null,placement:"top",title:(0,p.__)("There are no taxonomies available for this post type. You need to register your own taxonomy so that you can organize your content into its categories."),children:(0,s.jsx)("button",{className:"button",onClick:C,children:(0,p.__)("Create custom taxonomy")})}):(0,s.jsx)(y,{feature:"options-active"})}),(0,s.jsx)("td",{children:(0,s.jsx)(a.A,{checked:v&&f,disabled:!v||!h,onChange:S})})]})}),m=(0,n.PA)(()=>{const{optionStore:{others:{postTypes:e}}}=(0,c.g)();return(0,s.jsxs)("table",{className:"wp-list-table widefat fixed striped table-view-list",children:[(0,s.jsx)("thead",{children:(0,s.jsxs)("tr",{children:[(0,s.jsx)("td",{children:(0,p.__)("Post type")}),(0,s.jsx)("td",{width:250,align:"right",children:(0,p.__)("Show category tree")}),(0,s.jsxs)("td",{width:350,align:"right",children:[(0,p.__)("Pagination without page reload")," ",(0,s.jsx)(y,{feature:"options-fast-mode"})]})]})}),(0,s.jsxs)("tbody",{children:[Object.keys(e).map(e=>(0,s.jsx)(g,{name:e},e)),(0,s.jsxs)("tr",{children:[(0,s.jsx)("td",{children:(0,s.jsx)("strong",{children:(0,p.__)("Media")})}),(0,s.jsx)("td",{colSpan:2,children:(0,s.jsx)("a",{href:(0,p.__)("https://devowl.io/go/real-media-library?source=cross-rcm&feature=media-folders"),target:"_blank",rel:"noreferrer",children:(0,p.__)("Use Real Media Library to enable folder management")})})]})]})]})}),b=devowlWp_realProductManagerWpClient;var v=o(2763),f=o(2380),x=o(3978),S=o(4022);const C=(0,n.PA)(({withinModal:e=!1})=>{const{pluginUpdateStore:{pluginUpdates:t}}=(0,b.useStores)(),{optionStore:o}=(0,c.g)(),{slug:i,others:{isPro:n,showLicenseFormImmediate:r},publicUrl:a}=o,l=t.get(i),h=(0,d.useCallback)(()=>{o.setShowLicenseFormImmediate(!1)},[o]),u=(0,d.useCallback)(()=>{o.setShowLicenseFormImmediate(!1),l.skip()},[l,o]);(0,d.useEffect)(()=>{r&&l?.hasInteractedWithFormOnce&&u()},[l,r,u]);const y=(0,p._i)((0,p.__)("Before we start organizing your categories, you can {{strong}}obtain your free license to enjoy all the benefits{{/strong}} of the free version of Real Category Management. Get started now!"),{strong:(0,s.jsx)("strong",{})});return(0,s.jsxs)(s.Fragment,{children:[r&&(0,s.jsxs)("div",{style:{maxWidth:650,textAlign:"center",margin:"0 auto"},children:[!e&&(0,s.jsx)(v.A,{src:`${a}images/logos/real-category-library.svg`,shape:"square",size:130,style:{backgroundColor:"white",padding:25,borderRadius:999,marginBottom:10}}),!e&&!n&&(0,s.jsx)("p",{style:{fontSize:15,margin:"0 auto 20px"},children:y})]}),(0,s.jsx)(f.A,{title:e||!l?void 0:n||l.isLicensed?(0,p.__)("License activation"):(0,p.__)("Get your free license"),bordered:!e,bodyStyle:e?{paddingLeft:0,paddingRight:0}:void 0,children:(0,s.jsxs)(x.A,{direction:"vertical",size:"small",children:[e&&!n&&(0,s.jsx)("p",{className:"description",style:{fontWeight:"bold"},children:y}),(0,s.jsx)(b.PluginUpdateEmbed,{formProps:{onSave:h,onFailure:r&&!n?u:void 0,footer:(0,s.jsx)(S.A.Item,{style:{margin:"25px 0 0",textAlign:r?"center":void 0},children:(0,s.jsx)("input",{type:"submit",className:"button button-primary",value:r?n?(0,p.__)("Activate license & continue"):(0,p.__)("Activate free license & Continue"):(0,p.__)("Save")})})},listProps:{onDeactivate:h},slug:i})]})}),l&&r&&(0,s.jsx)("div",{style:{textAlign:"center",marginBottom:e?0:20,marginTop:e?0:20},children:(0,s.jsx)("a",{className:"button-link",onClick:u,children:n?(0,p.__)("Continue without regular updates and without any support"):(0,p.__)("Continue without any support and without e.g. discount announcements")})})]})}),w=(0,n.PA)(()=>(0,s.jsx)("div",{style:{maxWidth:800,margin:"auto",padding:"20px 0"},children:(0,s.jsx)(b.Provider,{children:(0,s.jsx)(C,{})})})),_=(0,n.PA)(()=>{const{optionStore:{busySettings:e,others:{showLicenseFormImmediate:t}}}=(0,c.g)();return t?(0,s.jsx)(w,{}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("h1",{className:"wp-heading-inline",style:{marginBottom:10},children:(0,p.__)("Category Management")}),(0,s.jsxs)(i.A,{spinning:e,children:[(0,s.jsx)("p",{className:"description",style:{marginBottom:15},children:(0,p.__)("You can decide for which post types the additional features of Real Category Management should apply.")}),(0,s.jsx)(m,{})]})]})})},9261:(e,t,o)=>{o.d(t,{t:()=>u});var s=o(1490),i=o(1669),n=o.n(i),r=o(4497);const a=wp;var l=o.n(a),d=o(2293),c=o(8789),p=o(7710),h=o(1764);class u extends c.BaseOptions{get isRatable(){return(0,d.isRatable)(this.slug)}constructor(e){super(),this.busySettings=!1,this.updatePostTypeOptions=(0,r.flow)(function*(e,{active:t,fastMode:o}){this.busySettings=!0;try{const s=yield(0,p.E)({location:h.e,params:{post_type:e},request:{...void 0===t?{}:{active:t},...void 0===o?{}:{fastMode:o}}});return void 0!==t&&(this.others.postTypes[e].active=t),void 0!==o&&(this.others.postTypes[e].fastMode=o),s}catch(e){throw console.log(e),e}finally{this.busySettings=!1}}),this.installAndActivateCustomPostTypeUI=(0,r.flow)(function*(){this.busySettings=!0;const{others:{pluginCptUi:e,installPluginNonce:t}}=this,{installed:o,installUrl:s,activateUrl:i}=e,r=l()?.ajax?.send;if(o)try{yield n().get(i).promise(),e.active=!0}catch(e){window.location.href=i}else if(r)try{yield r({data:{action:"install-plugin",slug:"custom-post-type-ui",_ajax_nonce:t}}),e.installed=!0,yield this.installAndActivateCustomPostTypeUI()}catch(e){window.location.href=s}else window.location.href=s}),this.installAndActivateRealCustomPostOrder=(0,r.flow)(function*(){this.busySettings=!0;const{others:{pluginRcpo:e,installPluginNonce:t}}=this,{installed:o,installUrl:s,activateUrl:i}=e,r=l()?.ajax?.send;if(o)try{yield n().get(i).promise(),e.active=!0}catch(e){window.location.href=i}else if(r)try{yield r({data:{action:"install-plugin",slug:"real-custom-post-order",_ajax_nonce:t}}),e.installed=!0,yield this.installAndActivateCustomPostTypeUI()}catch(e){window.location.href=s}else window.location.href=s}),this.rootStore=e,this.pureSlug=c.BaseOptions.getPureSlug("real-category-library"),this.pureSlugCamelCased=c.BaseOptions.getPureSlug("real-category-library",!0),(0,r.runInAction)(()=>Object.assign(this,window[this.pureSlugCamelCased]))}setTaxnow(e){this.others.taxnow=e}setShowLicenseFormImmediate(e){this.others.showLicenseFormImmediate=e}}(0,s.Cg)([r.observable],u.prototype,"busySettings",void 0),(0,s.Cg)([r.observable,(0,s.Sn)("design:type",Object)],u.prototype,"others",void 0),(0,s.Cg)([r.action,(0,s.Sn)("design:type",Function),(0,s.Sn)("design:paramtypes",[String]),(0,s.Sn)("design:returntype",void 0)],u.prototype,"setTaxnow",null),(0,s.Cg)([r.action,(0,s.Sn)("design:type",Function),(0,s.Sn)("design:paramtypes",[Boolean]),(0,s.Sn)("design:returntype",void 0)],u.prototype,"setShowLicenseFormImmediate",null)},9336:(e,t,o)=>{o.d(t,{C:()=>s});const s={path:"/tree",method:o(8789).RouteHttpVerb.GET}},9906:(e,t,o)=>{o.d(t,{g:()=>s});const s={path:"/terms/:id",method:o(8789).RouteHttpVerb.DELETE}},9907:(e,t,o)=>{o.d(t,{K:()=>l});var s=o(3713),i=o(4349),n=o(480),r=o(5666),a=o(3203);const l=({children:e,configProvider:t={},app:o={}})=>(0,s.jsx)(r.Ay,{prefixCls:"rcl-antd",iconPrefixCls:"rcl-antd-anticon",theme:{token:{colorPrimary:"#2271b1",borderRadius:3}},...t,children:(0,s.jsx)(i.Z_3,{value:{prefixCls:"rcl-antd-anticon"},children:(0,s.jsx)(n.A,{message:{top:50},...o,children:(0,s.jsx)(a.y.StoreProvider,{children:e})})})})}},o={};function s(e){var i=o[e];if(void 0!==i)return i.exports;var n=o[e]={exports:{}};return t[e](n,n.exports,s),n.exports}s.m=t,e=[],s.O=(t,o,i,n)=>{if(!o){var r=1/0;for(c=0;c<e.length;c++){for(var[o,i,n]=e[c],a=!0,l=0;l<o.length;l++)(!1&n||r>=n)&&Object.keys(s.O).every(e=>s.O[e](o[l]))?o.splice(l--,1):(a=!1,n<r&&(r=n));if(a){e.splice(c--,1);var d=i();void 0!==d&&(t=d)}}return t}n=n||0;for(var c=e.length;c>0&&e[c-1][2]>n;c--)e[c]=e[c-1];e[c]=[o,i,n]},s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},s.d=(e,t)=>{for(var o in t)s.o(t,o)&&!s.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},s.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e={575:0};s.O.j=t=>0===e[t];var t=(t,o)=>{var i,n,[r,a,l]=o,d=0;if(r.some(t=>0!==e[t])){for(i in a)s.o(a,i)&&(s.m[i]=a[i]);if(l)var c=l(s)}for(t&&t(o);d<r.length;d++)n=r[d],s.o(e,n)&&e[n]&&e[n][0](),e[n]=0;return s.O(c)},o=self.webpackChunkrealCategoryLibrary_=self.webpackChunkrealCategoryLibrary_||[];o.forEach(t.bind(null,0)),o.push=t.bind(null,o.push.bind(o))})();var i=s.O(void 0,[644],()=>s(3933));i=s.O(i),realCategoryLibrary_options=i})();
    2 //# sourceMappingURL=https://sourcemap.devowl.io/real-category-library/4.2.64/c077861a1074a2855212ab4027da7804/options.lite.js.map
     2//# sourceMappingURL=https://sourcemap.devowl.io/real-category-library/4.2.69/c077861a1074a2855212ab4027da7804/options.lite.js.map
  • real-category-library-lite/trunk/vendor/composer/installed.php

    r3454640 r3491846  
    33namespace DevOwl\RealCategoryLibrary\Vendor;
    44
    5 return array('root' => array('name' => 'devowl-wp/real-category-library', 'pretty_version' => 'dev-master', 'version' => 'dev-master', 'reference' => '107fd1001f55f5ec3d5c72d4774f0db7319bd721', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev' => \false), 'versions' => array('colinodell/json5' => array('pretty_version' => 'v2.3.0', 'version' => '2.3.0.0', 'reference' => '15b063f8cb5e6deb15f0cd39123264ec0d19c710', 'type' => 'library', 'install_path' => __DIR__ . '/../colinodell/json5', 'aliases' => array(), 'dev_requirement' => \false), 'devowl-wp/freemium' => array('pretty_version' => 'dev-wordpress', 'version' => 'dev-wordpress', 'reference' => '4980f2b3afdffa8f8b8f33bacc36ca456de46cc5', 'type' => 'library', 'install_path' => __DIR__ . '/../devowl-wp/freemium', 'aliases' => array(), 'dev_requirement' => \false), 'devowl-wp/multilingual' => array('pretty_version' => 'dev-wordpress', 'version' => 'dev-wordpress', 'reference' => 'a8823309d17a435a364e7790424313c3add5e115', 'type' => 'library', 'install_path' => __DIR__ . '/../devowl-wp/multilingual', 'aliases' => array(), 'dev_requirement' => \false), 'devowl-wp/real-category-library' => array('pretty_version' => 'dev-master', 'version' => 'dev-master', 'reference' => '107fd1001f55f5ec3d5c72d4774f0db7319bd721', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev_requirement' => \false), 'devowl-wp/real-product-manager-wp-client' => array('pretty_version' => 'dev-wordpress', 'version' => 'dev-wordpress', 'reference' => 'd1082267c398f7d4f2885db62036f553af286c22', 'type' => 'library', 'install_path' => __DIR__ . '/../devowl-wp/real-product-manager-wp-client', 'aliases' => array(), 'dev_requirement' => \false), 'devowl-wp/real-utils' => array('pretty_version' => 'dev-wordpress', 'version' => 'dev-wordpress', 'reference' => '138a765b49f80d627eb39f688d3fc85f6e244a3c', 'type' => 'library', 'install_path' => __DIR__ . '/../devowl-wp/real-utils', 'aliases' => array(), 'dev_requirement' => \false), 'devowl-wp/utils' => array('pretty_version' => 'dev-wordpress', 'version' => 'dev-wordpress', 'reference' => 'a28a8596f040847fc6864da4602d0e4e1d09a351', 'type' => 'library', 'install_path' => __DIR__ . '/../devowl-wp/utils', 'aliases' => array(), 'dev_requirement' => \false), 'matthiasweb/wpdb-batch' => array('pretty_version' => 'dev-master', 'version' => 'dev-master', 'reference' => '8558c8c07763cd01d2c89744f65da4880b4e38a0', 'type' => 'library', 'install_path' => __DIR__ . '/../matthiasweb/wpdb-batch', 'aliases' => array(0 => '9999999-dev'), 'dev_requirement' => \false), 'yahnis-elsts/plugin-update-checker' => array('pretty_version' => 'v5.6', 'version' => '5.6.0.0', 'reference' => 'a2db6871deec989a74e1f90fafc6d58ae526a879', 'type' => 'library', 'install_path' => __DIR__ . '/../yahnis-elsts/plugin-update-checker', 'aliases' => array(), 'dev_requirement' => \false)));
     5return array('root' => array('name' => 'devowl-wp/real-category-library', 'pretty_version' => 'dev-master', 'version' => 'dev-master', 'reference' => '09951dd908843e51d9427e1b80aeb54d56ddd00c', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev' => \false), 'versions' => array('colinodell/json5' => array('pretty_version' => 'v2.3.0', 'version' => '2.3.0.0', 'reference' => '15b063f8cb5e6deb15f0cd39123264ec0d19c710', 'type' => 'library', 'install_path' => __DIR__ . '/../colinodell/json5', 'aliases' => array(), 'dev_requirement' => \false), 'devowl-wp/freemium' => array('pretty_version' => 'dev-wordpress', 'version' => 'dev-wordpress', 'reference' => '4980f2b3afdffa8f8b8f33bacc36ca456de46cc5', 'type' => 'library', 'install_path' => __DIR__ . '/../devowl-wp/freemium', 'aliases' => array(), 'dev_requirement' => \false), 'devowl-wp/multilingual' => array('pretty_version' => 'dev-wordpress', 'version' => 'dev-wordpress', 'reference' => 'a8823309d17a435a364e7790424313c3add5e115', 'type' => 'library', 'install_path' => __DIR__ . '/../devowl-wp/multilingual', 'aliases' => array(), 'dev_requirement' => \false), 'devowl-wp/real-category-library' => array('pretty_version' => 'dev-master', 'version' => 'dev-master', 'reference' => '09951dd908843e51d9427e1b80aeb54d56ddd00c', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev_requirement' => \false), 'devowl-wp/real-product-manager-wp-client' => array('pretty_version' => 'dev-wordpress', 'version' => 'dev-wordpress', 'reference' => 'd1082267c398f7d4f2885db62036f553af286c22', 'type' => 'library', 'install_path' => __DIR__ . '/../devowl-wp/real-product-manager-wp-client', 'aliases' => array(), 'dev_requirement' => \false), 'devowl-wp/real-utils' => array('pretty_version' => 'dev-wordpress', 'version' => 'dev-wordpress', 'reference' => '138a765b49f80d627eb39f688d3fc85f6e244a3c', 'type' => 'library', 'install_path' => __DIR__ . '/../devowl-wp/real-utils', 'aliases' => array(), 'dev_requirement' => \false), 'devowl-wp/utils' => array('pretty_version' => 'dev-wordpress', 'version' => 'dev-wordpress', 'reference' => 'a28a8596f040847fc6864da4602d0e4e1d09a351', 'type' => 'library', 'install_path' => __DIR__ . '/../devowl-wp/utils', 'aliases' => array(), 'dev_requirement' => \false), 'matthiasweb/wpdb-batch' => array('pretty_version' => 'dev-master', 'version' => 'dev-master', 'reference' => '8558c8c07763cd01d2c89744f65da4880b4e38a0', 'type' => 'library', 'install_path' => __DIR__ . '/../matthiasweb/wpdb-batch', 'aliases' => array(0 => '9999999-dev'), 'dev_requirement' => \false), 'yahnis-elsts/plugin-update-checker' => array('pretty_version' => 'v5.6', 'version' => '5.6.0.0', 'reference' => 'a2db6871deec989a74e1f90fafc6d58ae526a879', 'type' => 'library', 'install_path' => __DIR__ . '/../yahnis-elsts/plugin-update-checker', 'aliases' => array(), 'dev_requirement' => \false)));
  • real-category-library-lite/trunk/vendor/devowl-wp/freemium/dist/index.js

    r3454640 r3491846  
    11var devowlWp_freemium;(()=>{"use strict";var e={};(e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})})(e),devowlWp_freemium=e})();
    2 //# sourceMappingURL=https://sourcemap.devowl.io/real-category-library/4.2.64/df3d1ea0b5a4f74321193409a0f71b74/index.js.map
     2//# sourceMappingURL=https://sourcemap.devowl.io/real-category-library/4.2.69/df3d1ea0b5a4f74321193409a0f71b74/index.js.map
  • real-category-library-lite/trunk/vendor/devowl-wp/freemium/package.json

    r3454640 r3491846  
    11{
    22    "name": "@devowl-wp/freemium",
    3     "version": "1.3.130",
     3    "version": "1.3.135",
    44    "private": true,
    55    "description": "Make your plugin to a freemium plugin with predefined Envato support",
  • real-category-library-lite/trunk/vendor/devowl-wp/multilingual/dist/index.js

    r3454640 r3491846  
    11var devowlWp_multilingual;(()=>{"use strict";var e={d:(t,o)=>{for(var r in o)e.o(o,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:o[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{createCopy:()=>n,locationRestCopyPost:()=>r});const o=devowlWp_utils,r={path:"/:objectType/multilingual/copy",namespace:"wp/v2",method:o.RouteHttpVerb.POST};async function n(e,t,n){const{root:a,nonce:l}=window.wpApiSettings,{translations:i}=await(0,o.commonRequest)({location:r,options:{restRoot:a,restNonce:l,restNamespace:"wp/v2",restQuery:{}},request:{id:t,targetLocale:n},params:{objectType:e}});return i[n]}devowlWp_multilingual=t})();
    2 //# sourceMappingURL=https://sourcemap.devowl.io/real-category-library/4.2.64/ff904a6dab39524751eb8bf817ab7135/index.js.map
     2//# sourceMappingURL=https://sourcemap.devowl.io/real-category-library/4.2.69/ff904a6dab39524751eb8bf817ab7135/index.js.map
  • real-category-library-lite/trunk/vendor/devowl-wp/multilingual/package.json

    r3454640 r3491846  
    11{
    22    "name": "@devowl-wp/multilingual",
    3     "version": "1.14.13",
     3    "version": "1.14.18",
    44    "private": true,
    55    "description": "Provide helper functionality for multilingual plugins like WPML and PolyLang",
  • real-category-library-lite/trunk/vendor/devowl-wp/multilingual/src/AbstractLanguagePlugin.php

    r3454640 r3491846  
    346346        $this->snapshotCurrentTranslations(\true);
    347347        $this->createTemporaryTextDomain($useLocale, \true);
    348         $expandedContent = Utils::expandKeys($content, $skipKeys, function ($key, &$value) {
    349             if (\is_string($value) && !empty($value) && !\is_numeric($value) && isset($this->translateArrayCache[$value])) {
    350                 $value = $this->translateArrayCache[$value];
     348        $cache =& $this->translateArrayCache[$useLocale];
     349        if (!\is_array($cache)) {
     350            $cache = [];
     351        }
     352        $expandedContent = Utils::expandKeys($content, $skipKeys, function ($key, &$value) use(&$cache) {
     353            if (\is_string($value) && !empty($value) && !\is_numeric($value) && isset($cache[$value])) {
     354                $value = $cache[$value];
    351355                return \true;
    352356            }
  • real-category-library-lite/trunk/vendor/devowl-wp/multilingual/src/AbstractOutputBufferPlugin.php

    r3454640 r3491846  
    183183    protected function remapResultToReference(&$content, $result, $locale, $context = null)
    184184    {
     185        $cacheLocale = empty($locale) ? $this->getCurrentLanguageFallback() : $locale;
     186        $cache =& $this->translateArrayCache[$cacheLocale];
     187        if (!\is_array($cache)) {
     188            $cache = [];
     189        }
    185190        foreach ($content as $i => &$untranslated) {
    186191            $previousContent = $untranslated;
     
    194199                list(, $translation) = $this->translateStringFromMo($translation, $locale, $context);
    195200            }
    196             $this->translateArrayCache[$untranslated] = $translation;
     201            $cache[$untranslated] = $translation;
    197202            $untranslated = $translation;
    198203        }
  • real-category-library-lite/trunk/vendor/devowl-wp/multilingual/src/TranslatePress.php

    r3407658 r3491846  
    9898                        continue;
    9999                    }
    100                     $updates[] = ['id' => \intval($row['id']), 'translated' => $found_string_row[1] === null ? '' : $found_string_row[1], 'status' => $found_string_row[1] === null ? 0 : 2, 'original' => $row['original']];
     100                    if ($found_string_row !== null) {
     101                        $updates[] = ['id' => \intval($row['id']), 'translated' => $found_string_row[1] === null ? '' : $found_string_row[1], 'status' => $found_string_row[1] === null ? 0 : 2, 'original' => $row['original']];
     102                    }
    101103                }
    102104            }
     
    236238        global $wpdb;
    237239        if (!$this->useRawQueryForRead) {
     240            return \false;
     241        }
     242        $defaultLanguage = $this->getDefaultLanguage();
     243        // A database table like `wp_trp_dictionary_en_us_en_us` does not exist, so we can skip the translation
     244        if ($locale === null || \strtolower($defaultLanguage) === \strtolower($locale)) {
    238245            return \false;
    239246        }
  • real-category-library-lite/trunk/vendor/devowl-wp/real-product-manager-wp-client/dist/index.css

    r3454640 r3491846  
    11body.modal-open .rpm-wpc-antd-modal-root{display:none!important}.rpm-wpc-antd-app a:not(.button):not(.nav-tab):not(.page-title-action){-webkit-text-decoration:underline;text-decoration:underline}.rpm-wpc-antd-dropdown,.rpm-wpc-antd-dropdown-menu-submenu-popup,.rpm-wpc-antd-image-preview-mask,.rpm-wpc-antd-image-preview-wrap,.rpm-wpc-antd-message,.rpm-wpc-antd-select-dropdown{z-index:105000000!important}.rpm-wpc-antd-modal-mask,.rpm-wpc-antd-modal-wrap{z-index:99999999!important}.rpm-wpc-antd-tooltip{z-index:100000079!important}.rpm-wpc-antd-tooltip a{color:inherit!important;-webkit-text-decoration:underline;text-decoration:underline}.rpm-wpc-antd-popover{z-index:100000029!important}.rpm-wpc-antd-checkbox-input{margin-top:0!important}.rpm-wpc-antd-card:not(.rpm-wpc-antd-card-bordered){box-shadow:none!important}.rpm-wpc-antd-table table{margin:0!important}.rpm-wpc-antd-tabs-tabpane-no-margin{margin:0!important;padding:0!important}.rpm-wpc-antd-space-compact.rpm-wpc-antd-select-addon{display:flex}.rpm-wpc-antd-space-compact.rpm-wpc-antd-select-addon .rpm-wpc-antd-input-group-wrapper{flex:0}.rpm-wpc-antd-space-compact.rpm-wpc-antd-select-addon .rpm-wpc-antd-input{width:0;padding-left:0!important;padding-right:0!important}.rpm-wpc-antd-space-compact.rpm-wpc-antd-select-addon .rpm-wpc-antd-select{flex:1}.rpm-wpc-antd-space-compact.rpm-wpc-antd-select-addon .rpm-wpc-antd-select-selector{border-left:0}.rpm-wpc-antd-space-compact.rpm-wpc-antd-select-addon .rpm-wpc-antd-select-multiple .rpm-wpc-antd-select-selector{padding-top:0!important;padding-bottom:0!important}.rpm-wpc-antd-radio-disabled>input{opacity:0!important}.rpm-wpc-antd-radio-button-wrapper input[type=radio]{opacity:0!important}.rpm-wpc-antd-radio-button-card>label{height:auto!important;padding:0;border-radius:0!important;margin:0 5px 5px 0!important}.rpm-wpc-antd-radio-button-card>label .rpm-wpc-antd-card{background:rgba(0,0,0,0)}.rpm-wpc-antd-radio-button-card>label .rpm-wpc-antd-card .rpm-wpc-antd-card-cover{margin:5px}.rpm-wpc-antd-radio-button-card>label.rpm-wpc-antd-radio-button-wrapper-checked:not(.rpm-wpc-antd-radio-button-wrapper-disabled) .rpm-wpc-antd-card-meta-description,.rpm-wpc-antd-radio-button-card>label.rpm-wpc-antd-radio-button-wrapper-checked:not(.rpm-wpc-antd-radio-button-wrapper-disabled) .rpm-wpc-antd-card-meta-title{color:#fff}.rpm-wpc-antd-form-sticky-submit{position:sticky;bottom:0;background:#f1f1f1;border-top:1px solid #d2b798;margin-top:10px;padding:20px 0;z-index:4}.rpm-wpc-antd-modal-root .rpm-wpc-antd-form-sticky-submit{background:#fff;margin-bottom:0}.rpm-wpc-antd-modal-root .rpm-wpc-antd-modal-confirm-body:not(:has(>[role=img])) .rpm-wpc-antd-modal-confirm-paragraph{max-width:none;max-width:initial}.rpm-wpc-antd-hero-modal{text-align:center}.rpm-wpc-antd-hero-modal .rpm-wpc-antd-modal-footer{text-align:center}.rpm-wpc-antd-hero-modal .rpm-wpc-antd-modal-body{padding:0 24px}.rpm-wpc-antd-hero-modal .rpm-wpc-antd-modal-body img{max-width:90%;max-height:500px;height:auto}.rpm-wpc-antd-modal-mount{position:relative;width:100%;background-repeat:no-repeat;background-size:100% auto;background-position:center center}.rpm-wpc-antd-modal-mount .rpm-wpc-antd-modal-mask,.rpm-wpc-antd-modal-mount .rpm-wpc-antd-modal-wrap{position:absolute;z-index:auto;z-index:initial}.rpm-wpc-antd-modal-mount .rpm-wpc-antd-modal-mask{background:0 0}.rpm-wpc-antd-modal-mount .rpm-wpc-antd-modal-close,.rpm-wpc-antd-modal-mount .rpm-wpc-antd-modal-footer>button:not(.rpm-wpc-antd-btn-primary){display:none!important}.rpm-wpc-antd-template-card{width:210px;display:inline-block;padding:10px;margin:5px;vertical-align:top}.rpm-wpc-antd-template-card .rpm-wpc-antd-card-cover{height:173px;display:flex;align-items:center;justify-content:center}.rpm-wpc-antd-template-card .rpm-wpc-antd-card-body{padding:20px 5px 10px}.rpm-wpc-antd-template-card .rpm-wpc-antd-ribbon.rpm-wpc-antd-ribbon-placement-end{right:-18px;border:1px solid #fff;box-sizing:content-box}.rpm-wpc-antd-template-card .rpm-wpc-antd-card-meta-description{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.rpm-wpc-antd-template-card .rpm-wpc-antd-card-actions{margin-top:10px!important}.rpm-wpc-antd-template-card .rpm-wpc-antd-card-actions a{-webkit-text-decoration:underline;text-decoration:underline}.rpm-wpc-antd-space-vertical{width:100%}.rpm-wpc-antd-tabs-nav::before{border-color:#e2e2e2!important}.rpm-wpc-antd-select.rpm-wpc-antd-select-ellipses-left .rpm-wpc-antd-select-selection-item{direction:rtl}.rpm-wpc-antd-image-preview-operations{top:32px}.rpm-wpc-antd-input{padding:4px 11px!important;line-height:1.5715!important;min-height:auto!important;box-shadow:none!important;border-radius:2px!important;border:1px solid #d9d9d9!important;outline:0!important}.rpm-wpc-antd-list-item{background:#fff;padding:15px!important}.rpm-wpc-antd-list-item .rpm-wpc-antd-badge-count{min-width:9px}.rpm-wpc-antd-list-item .rpm-wpc-antd-list-item-meta-content{width:auto!important}.rpm-wpc-antd-pagination>li{margin-bottom:0!important}
    2 //# sourceMappingURL=https://sourcemap.devowl.io/real-category-library/4.2.64/dac40a5bed701d16ba1195cc1484a602/index.css.map
     2//# sourceMappingURL=https://sourcemap.devowl.io/real-category-library/4.2.69/2f184d4e5d8822eb172b9b76b1eb872b/index.css.map
  • real-category-library-lite/trunk/vendor/devowl-wp/real-product-manager-wp-client/dist/index.js

    r3454640 r3491846  
    11var devowlWp_realProductManagerWpClient;(()=>{"use strict";var e,t={1594:e=>{e.exports=React},4266:(e,t,n)=>{n.r(t),n.d(t,{Avatar:()=>i.A,CLICK_HANDLER_PLUGIN_UPDATE_MODAL_ATTRIBUTE:()=>je,Card:()=>o.A,FeedbackModal:()=>xe,Form:()=>a.A,HASH_HANDLER_PLUGIN_UPDATE_MODAL_PREFIX:()=>ue,LearnMoreTag:()=>E,OptionStore:()=>H,PLUGIN_UPDATE_FORM_LAYOUT:()=>N,PLUGIN_UPDATE_FORM_LAYOUT_MARGIN_BOTTOM:()=>F,PluginUpdateEmbed:()=>re,PluginUpdateErrorNotice:()=>ae,PluginUpdateForm:()=>L,PluginUpdateLicenseList:()=>q,PluginUpdateLicenseListItem:()=>W,PluginUpdateLicenseTelemetryDataModal:()=>O,PluginUpdateModal:()=>le,PluginUpdateStore:()=>se,PluginUpdateTermFields:()=>U,Provider:()=>pe,RootStore:()=>ie,Space:()=>r.A,listenHashPluginUpdate:()=>he,listenPluginDeactivation:()=>we,listenPluginUpdateLinkClick:()=>Ae,locationRestAnnouncementActive:()=>Z,locationRestLicenseDelete:()=>G,locationRestLicenseRetry:()=>J,locationRestLicenseTelemetryGet:()=>z,locationRestPluginFeedbackPost:()=>be,locationRestPluginUpdateGet:()=>ne,locationRestPluginUpdatePatch:()=>Q,locationRestPluginUpdateSkipPost:()=>ee,useStores:()=>oe});const s=ReactJSXRuntime;var i=n(6086),o=n(5685),a=n(9530),r=n(3978);const l=devowlWp_utils,c=()=>{let e;return[!1,new Promise(t=>e=t),e]},d={loading:c(),complete:c(),interactive:c()},p=["readystatechange","rocket-readystatechange","DOMContentLoaded","rocket-DOMContentLoaded","rocket-allScriptsLoaded"];var u=n(8915),h=n(8197),g=n(9991),m=n(7922),y=n(1594),b=n(9117),v=n(782),f=n(1767),x=n(4529),w=n(4936),j=n(8116);let A;function P(){return A||(A=(0,l.createLocalizationFactory)("devowl-wp-real-product-manager-wp-client"))}const S=(...e)=>P()._x(...e),k=(...e)=>P().__(...e),C=(...e)=>P()._i(...e),O=(0,m.PA)(({license:e,linkWrapper:t,disabled:n,children:i})=>{const{busy:o,telemetryData:a,telemetryDataSharingOptIn:r}=e,[l,c]=(0,y.useState)(!1);return(0,y.useEffect)(()=>{l&&!a&&e.fetchTelemetryData()},[l,a,e]),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(u.A,{title:k("Telemetry data preview"),open:l&&!n,onCancel:()=>c(!1),cancelText:k("Close"),okButtonProps:{style:{display:"none"}},children:[r&&(0,s.jsx)("p",{style:{marginTop:0,marginBottom:10},children:S("At the time of activating the license, you agreed that we may send telemetry data from your installation to our server. You can revoke this at any time by deactivating and reactivating the licence.","legal-text")}),(0,s.jsx)("p",{style:{marginTop:0},children:k("The following data (raw) will be sent to our server:")}),(0,s.jsx)(h.A,{spinning:o,children:(0,s.jsx)("textarea",{readOnly:!0,style:{width:"100%",height:300},value:a?JSON.stringify(a,null,4):""})})]}),(0,s.jsx)("span",{onClick:e=>{n||c(!0),e.preventDefault()},children:t?(0,s.jsx)("a",{children:i}):i})]})}),U=(0,m.PA)(({pluginUpdate:e})=>{const t={...F,zoom:.8},{privacyProvider:n,privacyPolicy:i,allowsTelemetry:o,allowsAutoUpdates:r,allowsNewsletter:l,additionalCheckboxes:c,licenses:[d]}=e;return(0,s.jsxs)(s.Fragment,{children:[r&&(0,s.jsx)(a.A.Item,{name:"autoUpdates",valuePropName:"checked",style:t,children:(0,s.jsx)(w.A,{children:C(k("Updates containing bug fixes and new features will be downloaded and installed automatically."),{a:(0,s.jsx)("a",{href:i,target:"_blank",rel:"noreferrer"})})})}),(0,s.jsx)(a.A.Item,{name:"terms",valuePropName:"checked",required:!0,rules:[{type:"boolean",required:!0,transform:e=>e||void 0,message:k("Please confirm the transfer of technical data as this is required for license activation and update functionality.")}],style:t,children:(0,s.jsx)(w.A,{children:S("I allow to transfer technical data about this WordPress installation to the update server of %1$s and get latest announcements. This data is required for license activation and update functionality.","legal-text",n)})}),o&&(0,s.jsx)(a.A.Item,{name:"telemetry",valuePropName:"checked",style:t,children:(0,s.jsx)(w.A,{children:C(S("I allow telemetry data about the use of this WordPress plugin to be collected in accordance with the %1$s {{a}}privacy policy{{/a}}. This data does not include any personal information about users of the plugin. Collected data ({{aDataExample}}open example of transmitted data{{/aDataExample}}) will be used to provide you with the best possible support and to improve the plugin.","legal-text",n),{a:(0,s.jsx)("a",{href:i,target:"_blank",rel:"noreferrer"}),aDataExample:(0,s.jsx)(O,{license:d,linkWrapper:!0})})})}),c.map(({id:e,text:n})=>(0,s.jsx)(a.A.Item,{name:e,valuePropName:"checked",style:t,children:(0,s.jsx)(w.A,{children:n})},e)),l&&(0,s.jsx)(a.A.Item,{name:"newsletter",valuePropName:"checked",style:t,children:(0,s.jsx)(w.A,{children:S("I would like to receive the %1$s newsletter with WordPress news, sales and product offers (approx. 1-2 per month) via email. I know that I can withdraw my consent for the newsletter at any time.","legal-text",n)})}),(0,s.jsx)(a.A.Item,{noStyle:!0,shouldUpdate:(e,t)=>e.newsletter!==t.newsletter,children:({getFieldValue:e})=>e("newsletter")&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(a.A.Item,{label:k("First name"),name:"firstName",style:F,required:!0,rules:[{required:!0,message:k("Please enter your first name!")}],children:(0,s.jsx)(v.A,{})}),(0,s.jsx)(a.A.Item,{label:k("Email"),name:"email",style:F,required:!0,rules:[{type:"email",required:!0,message:k("Please enter your email address!")}],children:(0,s.jsx)(v.A,{})}),(0,s.jsx)("div",{className:"notice notice-info inline below-h2 notice-alt",style:{margin:0},children:(0,s.jsx)("p",{children:k("Please note that we will send you a confirmation e-mail. Only when you have clicked on the activation link in the email will you receive the newsletter.")})})]})}),(0,s.jsx)(a.A.Item,{style:t,children:C(k("Information on the processing of your personal data can be found in our {{a}}privacy policy{{/a}}."),{a:(0,s.jsx)("a",{href:i,target:"_blank",rel:"noreferrer"})})})]})});var I=n(28),T=n(3491);const E=({url:e,style:t,label:n=k("Learn more")})=>{const i={cursor:"pointer",...t};return(0,s.jsxs)(T.A,{style:i,onClick:()=>window.open(e,"_blank"),children:[(0,s.jsx)(I.A,{})," ",n]})},N={labelCol:{span:24},wrapperCol:{span:24}},F={marginBottom:8},L=(0,m.PA)(({onSave:e,onFailure:t,footer:n,pluginUpdate:i})=>{const{message:o}=b.A.useApp(),[r,l]=(0,y.useState)(!1),{busy:c,slug:d,allowsAutoUpdates:p,needsLicenseKeys:u,licenses:m,unlicensedEntries:A,noUsageEntries:P,modifiableEntries:S,invalidKeysError:O,accountSiteUrl:I,additionalCheckboxes:T,licenseKeyHelpUrl:L,name:D,potentialNewsletterUser:{firstName:R,email:_},showBlogName:M,showNetworkWideUpdateIssueNotice:X}=i,W=m.length>1,q={licenses:m.map(({blog:e,code:t,installationType:n,hint:s,noUsage:i})=>({blog:e,code:t||(s?s.help.match(/(\w{8}-\w{4}-\w{4}-\w{4}-\w{12})|(\w{32})/)?.[0]:"")||"",installationType:n||"",noUsage:i})),autoUpdates:p,terms:!1,telemetry:!1,newsletter:!1,firstName:R,email:_,...T.reduce((e,t)=>(e[t.id]=!1,e),{})},[B]=a.A.useForm(),[V,H]=(0,y.useState)(P.length!==A.length),K=(0,y.useCallback)(async n=>{const{licenses:s,...a}=n,r={...a,licenses:JSON.stringify(u?s.filter(({blog:e})=>{const[t]=m.filter(t=>t.blog===e);return A.indexOf(t)>-1}):void 0)};try{await i.update(r),B.setFieldsValue({terms:!1,telemetry:!1,newsletter:!1}),o.success(k("Your license has been activated!")),e?.()}catch(e){throw i.invalidKeysError||o.error(e.responseJSON.message),t?.(),e}},[i,e,m,A,u]),$=(0,y.useCallback)(async e=>{try{await K(e)}catch(e){}finally{l(!1)}},[B,K,l]),G=(0,y.useCallback)(()=>{l(!0),H(!0)},[]);return(0,s.jsxs)(h.A,{spinning:c,children:[X&&(0,s.jsxs)("div",{className:"notice notice-error inline below-h2 notice-alt",style:{margin:"0 0 10px 0"},children:[(0,s.jsx)("p",{children:k("You are using a WordPress mulisite. Due to technical limitations of WordPress core, %s can receive automatic updates in WordPress multisites only if the plugin is enabled network-wide. You can enable the plugin network-wide, but still only license it for specific sites.",D)}),(0,s.jsx)("p",{children:k("Please enable %s network-wide or take care of regular updates manually!",D)})]}),A.length>0&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("p",{className:"description",style:{marginBottom:15},children:u?k("Activate your %s PRO license to receive regular updates and support.",D):C(k("To use all advantages of %s {{strong}}you need a free license{{/strong}}. After license activation you will receive answers to support requests and announcements in your plugin (e.g. also notices for discount actions of the PRO version).",D),{strong:(0,s.jsx)("strong",{})})}),(0,s.jsxs)(a.A,{name:`license-form-${d}`,id:`license-form-${d}`,form:B,...N,initialValues:q,onFinish:$,onFinishFailed:G,onChange:()=>{H(!0)},labelWrap:!0,children:[u&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(a.A.List,{name:"licenses",children:e=>e.map(e=>{const{blog:t}=B.getFieldValue(["licenses",e.name]),[n]=m.filter(e=>e.blog===t);if(-1===A.indexOf(n))return null;const{busy:i,blogName:l,programmatically:c,host:d}=n,p=O?.[t],u=r?{}:p||n.hint,g=!!p?.debug.errors.LicenseMaxUsagesReached;return(0,s.jsxs)(h.A,{spinning:i,children:[(0,s.jsx)(a.A.Item,{noStyle:!0,shouldUpdate:(t,n)=>t.licenses[e.key].noUsage!==n.licenses[e.key].noUsage,children:({getFieldValue:t})=>{const n=t(["licenses",e.key,"noUsage"]);return(0,s.jsxs)(a.A.Item,{label:(0,s.jsxs)("span",{children:[A.length>1||M?C(k("Installation type and license key for {{strong}}%s{{/strong}}",l),{strong:(0,s.jsx)("strong",{})}):k("Installation type and license key")," ",(0,s.jsx)(E,{url:L})]}),...u,required:!0,style:F,children:[!n&&(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(a.A.Item,{name:[e.name,"code"],noStyle:!0,rules:[{pattern:/(^\w{8}-\w{4}-\w{4}-\w{4}-\w{12}$)|(^\w{32}$)/,required:!0,message:k("Please enter a valid license key!")}],normalize:e=>e?.trim(),children:(0,s.jsx)(v.A,{placeholder:c?c.code:"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX",disabled:!!c,addonBefore:(0,s.jsx)(f.A,{destroyTooltipOnHide:!0,overlayStyle:{maxWidth:"370px"},content:(0,s.jsxs)("div",{className:"wp-clearfix",children:[(0,s.jsx)("p",{style:{marginTop:0},children:C(k("{{strong}}Production:{{/strong}} Use this, when your site is {{i}}live{{/i}} and {{i}}publicly available{{/i}} to your website visitors."),{strong:(0,s.jsx)("strong",{}),i:(0,s.jsx)("i",{})})}),(0,s.jsx)("p",{children:C(k("{{strong}}Development:{{/strong}} Use this, when your site is {{i}}not yet live{{/i}}, or it is a {{i}}staging environment{{/i}} of your site."),{strong:(0,s.jsx)("strong",{}),i:(0,s.jsx)("i",{})})}),(0,s.jsx)("p",{style:{marginBottom:0},children:k("You can change the installation-type at any time by deactivating the license and activate it again.")})]}),title:(0,s.jsxs)(s.Fragment,{children:[k("What is an installation type?")," ",(0,s.jsx)(E,{url:k("https://devowl.io/knowledge-base/license-installation-type/")})]}),placement:"topLeft",trigger:"hover",children:(0,s.jsx)("div",{children:(0,s.jsx)(a.A.Item,{name:[e.name,"installationType"],noStyle:!0,rules:[{required:!0,message:k("Please choose an installation type!")}],children:(0,s.jsxs)(x.A,{placeholder:k("Installation type"),disabled:!!c,children:[(0,s.jsx)(x.A.Option,{value:"",disabled:!0,children:c?"development"===c.type?k("Development"):k("Production"):k("Select installation type...")}),(0,s.jsx)(x.A.Option,{value:"production",children:k("Production")}),(0,s.jsx)(x.A.Option,{value:"development",children:k("Development")})]})})})})})})}),W&&(0,s.jsx)(a.A.Item,{name:[e.name,"noUsage"],valuePropName:"checked",style:{marginTop:n?-25:0,marginBottom:0},children:(0,s.jsx)(w.A,{children:k("I do not want to license and use the plugin for this site within my multisite.")})})]})}}),c&&(0,s.jsx)("div",{className:"notice notice-warning inline below-h2 notice-alt",style:{margin:"0 0 10px 0"},children:(0,s.jsxs)("p",{children:[C(k("This license cannot be activated manually because it is configured programmatically. That means you have used the {{a}}activation filter{{/a}} for host {{code}}%s{{/code}} (Blog ID: %d). Unfortunately, something went wrong during the license activation.",d,t),{code:(0,s.jsx)("code",{}),a:(0,s.jsx)("a",{href:"https://docs.devowl.io/real-cookie-banner/hooks/DevOwl_RealProductManager_License_Programmatic_$slug.html",target:"_blank",rel:"noreferrer"})})," ","•"," ",(0,s.jsx)("a",{className:"button-link",onClick:async()=>{try{await n.retry(),n.hint&&o.error(n.hint.help)}catch(e){o.error(e.responseJSON.message)}},children:k("Retry activation")})]})}),g&&(0,s.jsx)(j.A,{type:"info",showIcon:!0,message:k("I have purchased a license that can be used on multiple websites! What can I do?"),description:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("p",{children:C(k("After purchasing one of our products, only one license key is generated by default, even if your purchase covers multiple websites. This license key can be used for only one website by default. To add more websites to your purchase, you can generate additional license keys within your quota in the {{a}}Customer Center{{/a}}."),{a:(0,s.jsx)("a",{href:I,target:"_blank",rel:"noreferrer"})})}),(0,s.jsx)("a",{className:"button button-primary",href:I,target:"_blank",rel:"noreferrer",children:k("Add licenses in the customer center now")})," ",(0,s.jsx)("a",{className:"button",target:"_blank",href:k("https://devowl.io/knowledge-base/the-limit-of-activated-clients-for-this-license-has-already-been-reached/"),rel:"noreferrer",children:k("Learn more")})]})})]},e.key)})}),(0,s.jsx)(g.A,{type:"horizontal",style:{margin:"10px 0"}})]}),S.length>0&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{style:{display:V?"block":"none"},children:(0,s.jsx)(U,{pluginUpdate:i})}),n]})]})]})]})});var D=n(7481),R=n(8107),_=n(1569),M=n(4568),X=n(5107);const W=(0,m.PA)(({license:e,onDeactivate:t})=>{const{message:n}=b.A.useApp(),{busy:i,uuid:o,installationType:a,telemetryDataSharingOptIn:l,blogName:c,code:d,remote:p,programmatically:u,host:g,blog:m,store:{needsLicenseKeys:y}}=e;return(0,s.jsx)(h.A,{spinning:i,children:(0,s.jsxs)(D.A.Item,{style:{paddingLeft:0,paddingRight:0},actions:[y&&(0,s.jsxs)(r.A,{children:[(0,s.jsx)(X.A,{title:k("Client UUID: %s, click to copy.",o),children:(0,s.jsx)(R.A,{style:{cursor:"pointer"},onClick:()=>{!function(e){const t=document.createElement("textarea");t.innerHTML=e,document.body.appendChild(t),t.select(),document.execCommand("copy"),t.remove()}(o),n.success("Successfully copied client UUID key to clipboard!")}})}),"production"===a?k("Production"):"development"===a?k("Development"):"n/a"]},"installationType"),p&&(0,s.jsxs)(r.A,{children:[(0,s.jsx)(_.A,{}),k("Activated %s",new Date(p.licenseActivation.activatedAt).toLocaleString(document.documentElement.lang))]},"activatedAt"),(0,s.jsx)(O,{license:e,disabled:!l,children:(0,s.jsxs)(r.A,{style:{cursor:"pointer"},children:[(0,s.jsx)(M.A,{}),k(l?"Telemetry data sharing enabled":"Telemetry data sharing disabled")]},"telemetryDataSharingOptIn")},"telemetryModal"),!u&&(0,s.jsx)("a",{className:"button-link",onClick:async()=>{try{await e.deactivate()}catch(e){n.error(e.responseJSON.message)}t?.(e)},children:k("Deactivate")},"deactivate")].filter(Boolean),children:[(0,s.jsx)(D.A.Item.Meta,{title:c,description:y?(0,s.jsxs)(s.Fragment,{children:[k("Your license key"),": ",(0,s.jsx)("code",{children:d})]}):(0,s.jsxs)(s.Fragment,{children:[k("Your installation is fully activated."),(0,s.jsx)("div",{style:{marginTop:15},children:(0,s.jsx)("a",{rel:"noreferrer",href:k("https://devowl.io/knowledge-base/upgrade-free-to-pro-version/"),className:"button",target:"_blank",children:k("Enter license key to unlock PRO features")})})]})}),u&&(0,s.jsx)("div",{className:"notice notice-info inline below-h2 notice-alt",style:{margin:"0 0 10px 0"},children:(0,s.jsx)("p",{children:C(k("This license cannot be deactivated manually because it is configured programmatically. That means you have used the {{a}}activation filter{{/a}} for host {{code}}%s{{/code}} (Blog ID: %d). Please remove the filter to deactivate the license!",g,m),{code:(0,s.jsx)("code",{}),a:(0,s.jsx)("a",{href:"https://docs.devowl.io/real-cookie-banner/hooks/DevOwl_RealProductManager_License_Programmatic_$slug.html",target:"_blank",rel:"noreferrer"})})})})]})})}),q=(0,m.PA)(({onDeactivate:e,pluginUpdate:t})=>{const{licensedEntries:n}=t;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(D.A,{itemLayout:"vertical",size:"small",dataSource:n,renderItem:t=>(0,s.jsx)(W,{license:t,onDeactivate:e})}),(0,s.jsx)("p",{style:{textAlign:"right"},children:(0,s.jsx)(w.A,{disabled:t.busy,checked:t.announcementsActive,onChange:e=>t.setAnnouncementActive(e.target.checked),children:k("Show announcements for this plugin")})})]})});var B=n(1490),V=n(4497);class H extends l.BaseOptions{constructor(e){super(),this.rootStore=e,this.pureSlug=l.BaseOptions.getPureSlug("real-product-manager-wp-client"),this.pureSlugCamelCased=l.BaseOptions.getPureSlug("real-product-manager-wp-client",!0),(0,V.runInAction)(()=>Object.assign(this,window[this.pureSlugCamelCased]))}}let K;(0,B.Cg)([V.observable,(0,B.Sn)("design:type",Object)],H.prototype,"others",void 0);const $=(...e)=>(K||(K=(0,l.createRequestFactory)(window[l.BaseOptions.getPureSlug("real-product-manager-wp-client",!0)]))).request(...e),G={path:"/plugin-update/:slug/license/:blogId",method:l.RouteHttpVerb.DELETE},J={path:"/plugin-update/:slug/license/:blogId/retry",method:l.RouteHttpVerb.POST},z={path:"/plugin-update/:slug/telemetry/:blogId",method:l.RouteHttpVerb.GET};class Y{constructor(e,t){this.busy=!1,this.retry=(0,V.flow)(function*(){this.busy=!0;try{const e=yield $({location:J,params:{slug:this.store.slug,blogId:this.blog}});(0,V.set)(this,e)}catch(e){throw console.log(e),e}finally{this.busy=!1}}),this.deactivate=(0,V.flow)(function*(){this.busy=!0;try{const e=yield $({location:G,params:{slug:this.store.slug,blogId:this.blog}});(0,V.set)(this,e)}catch(e){throw console.log(e),e}finally{this.busy=!1}}),this.fetchTelemetryData=(0,V.flow)(function*(){this.busy=!0;try{const e=yield $({location:z,params:{slug:this.store.slug,blogId:this.blog}});this.telemetryData=e}catch(e){throw console.log(e),e}finally{this.busy=!1}}),(0,V.runInAction)(()=>(0,V.set)(this,e)),this.store=t}}(0,B.Cg)([V.observable],Y.prototype,"busy",void 0),(0,B.Cg)([V.observable,(0,B.Sn)("design:type",Object)],Y.prototype,"uuid",void 0),(0,B.Cg)([V.observable,(0,B.Sn)("design:type",Object)],Y.prototype,"blog",void 0),(0,B.Cg)([V.observable,(0,B.Sn)("design:type",Object)],Y.prototype,"host",void 0),(0,B.Cg)([V.observable,(0,B.Sn)("design:type",Object)],Y.prototype,"programmatically",void 0),(0,B.Cg)([V.observable,(0,B.Sn)("design:type",Object)],Y.prototype,"blogName",void 0),(0,B.Cg)([V.observable,(0,B.Sn)("design:type",Object)],Y.prototype,"installationType",void 0),(0,B.Cg)([V.observable,(0,B.Sn)("design:type",Object)],Y.prototype,"telemetryDataSharingOptIn",void 0),(0,B.Cg)([V.observable,(0,B.Sn)("design:type",Object)],Y.prototype,"code",void 0),(0,B.Cg)([V.observable,(0,B.Sn)("design:type",Object)],Y.prototype,"hint",void 0),(0,B.Cg)([V.observable,(0,B.Sn)("design:type",Object)],Y.prototype,"remote",void 0),(0,B.Cg)([V.observable,(0,B.Sn)("design:type",Object)],Y.prototype,"noUsage",void 0),(0,B.Cg)([V.observable,(0,B.Sn)("design:type","undefined"==typeof ResponseRouteLicenseTelemetryGet?Object:ResponseRouteLicenseTelemetryGet)],Y.prototype,"telemetryData",void 0);const Z={path:"/announcement/:slug/active",method:l.RouteHttpVerb.POST},Q={path:"/plugin-update/:slug",method:l.RouteHttpVerb.PATCH},ee={path:"/plugin-update/:slug/skip",method:l.RouteHttpVerb.POST};class te{get licensedEntries(){return this.licenses.filter(({code:e})=>e)}get unlicensedEntries(){return this.licenses.filter(({code:e})=>!e)}get noUsageEntries(){return this.unlicensedEntries.filter(({noUsage:e})=>e)}get modifiableEntries(){return this.unlicensedEntries.filter(({programmatically:e})=>!e)}get isLicensed(){return 0===this.unlicensedEntries.length}constructor(e,t){this.busy=!1,this.additionalCheckboxes=[],this.showBlogName=!1,this.showNetworkWideUpdateIssueNotice=!1,this.setAnnouncementActive=(0,V.flow)(function*(e){this.busy=!0;try{const t=yield $({location:Z,params:{slug:this.slug},request:{state:e}});return t.success&&(this.announcementsActive=e),t.success}catch(e){throw console.log(e),e}finally{this.busy=!1}}),this.update=(0,V.flow)(function*(e){this.busy=!0,this.invalidKeysError=void 0;try{const t=yield $({location:Q,params:{slug:this.slug},request:e});this.fromResponse(t)}catch(e){throw console.log(e),e.responseJSON?.data?.invalidKeys&&(this.invalidKeysError=e.responseJSON.data.invalidKeys),e}finally{this.busy=!1}}),this.skip=(0,V.flow)(function*(){this.busy=!0;try{yield $({location:ee,params:{slug:this.slug}})}catch(e){throw console.log(e),e.responseJSON?.data?.invalidKeys&&(this.invalidKeysError=e.responseJSON.data.invalidKeysError),e}finally{this.busy=!1}}),this.fromResponse(e),this.store=t}fromResponse({licenses:e,...t}){(0,V.set)(this,t),this.licenses=[],e?.forEach(e=>{this.licenses.push(new Y(e,this))})}}(0,B.Cg)([V.observable],te.prototype,"busy",void 0),(0,B.Cg)([V.observable,(0,B.Sn)("design:type",Object)],te.prototype,"slug",void 0),(0,B.Cg)([V.observable,(0,B.Sn)("design:type",Array)],te.prototype,"licenses",void 0),(0,B.Cg)([V.observable,(0,B.Sn)("design:type",Object)],te.prototype,"hasInteractedWithFormOnce",void 0),(0,B.Cg)([V.observable,(0,B.Sn)("design:type",Object)],te.prototype,"name",void 0),(0,B.Cg)([V.observable,(0,B.Sn)("design:type",Object)],te.prototype,"needsLicenseKeys",void 0),(0,B.Cg)([V.observable,(0,B.Sn)("design:type",Object)],te.prototype,"announcementsActive",void 0),(0,B.Cg)([V.observable,(0,B.Sn)("design:type",Object)],te.prototype,"allowsAutoUpdates",void 0),(0,B.Cg)([V.observable,(0,B.Sn)("design:type",Object)],te.prototype,"allowsTelemetry",void 0),(0,B.Cg)([V.observable,(0,B.Sn)("design:type",Object)],te.prototype,"allowsNewsletter",void 0),(0,B.Cg)([V.observable,(0,B.Sn)("design:type",Object)],te.prototype,"potentialNewsletterUser",void 0),(0,B.Cg)([V.observable,(0,B.Sn)("design:type",Object)],te.prototype,"privacyProvider",void 0),(0,B.Cg)([V.observable,(0,B.Sn)("design:type",Object)],te.prototype,"privacyPolicy",void 0),(0,B.Cg)([V.observable,(0,B.Sn)("design:type",Object)],te.prototype,"accountSiteUrl",void 0),(0,B.Cg)([V.observable,(0,B.Sn)("design:type",Object)],te.prototype,"additionalCheckboxes",void 0),(0,B.Cg)([V.observable,(0,B.Sn)("design:type",Object)],te.prototype,"licenseKeyHelpUrl",void 0),(0,B.Cg)([V.observable,(0,B.Sn)("design:type",Object)],te.prototype,"checkUpdateLink",void 0),(0,B.Cg)([V.observable,(0,B.Sn)("design:type","undefined"==typeof ResponseRoutePluginUpdatePatchErrorInvalidKeysData?Object:ResponseRoutePluginUpdatePatchErrorInvalidKeysData)],te.prototype,"invalidKeysError",void 0),(0,B.Cg)([V.observable,(0,B.Sn)("design:type",Object)],te.prototype,"showBlogName",void 0),(0,B.Cg)([V.observable,(0,B.Sn)("design:type",Object)],te.prototype,"showNetworkWideUpdateIssueNotice",void 0),(0,B.Cg)([V.computed,(0,B.Sn)("design:type",void 0),(0,B.Sn)("design:paramtypes",[])],te.prototype,"licensedEntries",null),(0,B.Cg)([V.computed,(0,B.Sn)("design:type",void 0),(0,B.Sn)("design:paramtypes",[])],te.prototype,"unlicensedEntries",null),(0,B.Cg)([V.computed,(0,B.Sn)("design:type",void 0),(0,B.Sn)("design:paramtypes",[])],te.prototype,"noUsageEntries",null),(0,B.Cg)([V.computed,(0,B.Sn)("design:type",void 0),(0,B.Sn)("design:paramtypes",[])],te.prototype,"modifiableEntries",null),(0,B.Cg)([V.computed,(0,B.Sn)("design:type",void 0),(0,B.Sn)("design:paramtypes",[])],te.prototype,"isLicensed",null),(0,B.Cg)([V.action,(0,B.Sn)("design:type",Function),(0,B.Sn)("design:paramtypes",["undefined"==typeof Partial?Object:Partial]),(0,B.Sn)("design:returntype",void 0)],te.prototype,"fromResponse",null);const ne={path:"/plugin-update/:slug",method:l.RouteHttpVerb.GET};class se{constructor(e){this.busy=!1,this.pluginUpdates=new Map,this.pluginUpdateFetchErrors=new Map,this.showInModal=(0,V.flow)(function*(e){this.modalPlugin=e;try{yield this.fetchPluginUpdate(e)}catch(e){throw console.log(e),e}}),this.fetchPluginUpdate=(0,V.flow)(function*(e){this.busy=!0;try{const t=yield $({location:ne,params:{slug:e}}),n=new te(t,this);return this.pluginUpdates.set(e,n),this.pluginUpdateFetchErrors.delete(e),n}catch(t){throw console.log(t),this.pluginUpdateFetchErrors.set(e,t),t}finally{this.busy=!1}}),this.rootStore=e}hideModal(){this.modalPlugin=void 0}}(0,B.Cg)([V.observable],se.prototype,"busy",void 0),(0,B.Cg)([V.observable,(0,B.Sn)("design:type",String)],se.prototype,"modalPlugin",void 0),(0,B.Cg)([V.observable],se.prototype,"pluginUpdates",void 0),(0,B.Cg)([V.observable],se.prototype,"pluginUpdateFetchErrors",void 0),(0,B.Cg)([V.action,(0,B.Sn)("design:type",Function),(0,B.Sn)("design:paramtypes",[]),(0,B.Sn)("design:returntype",void 0)],se.prototype,"hideModal",null);class ie{get context(){return this.contextMemo?this.contextMemo:this.contextMemo=(0,l.createContextFactory)(this)}constructor(){this.optionStore=new H(this),this.pluginUpdateStore=new se(this)}static get StoreProvider(){return ie.get.context.StoreProvider}static get get(){return ie.me?ie.me:ie.me=new ie}}const oe=()=>ie.get.context.useStores(),ae=(0,m.PA)(({slug:e})=>{const t=oe().pluginUpdateStore.pluginUpdateFetchErrors.get(e),n=t?.responseJSON?.message;return(0,s.jsx)("div",{className:"notice notice-error inline below-h2 notice-alt",style:{margin:"20px 0"},children:(0,s.jsx)("p",{children:C(k("Something has gone wrong%s. It could be that you have configured your WordPress instance in such a way that you have blocked the WordPress REST API. Find out how to deal with this {{a}}here{{/a}}.",n?` (${n})`:""),{a:(0,s.jsx)("a",{href:k("https://devowl.io/knowledge-base/wordpress-rest-api-does-not-respond/"),target:"_blank",rel:"noreferrer"})})})})}),re=(0,m.PA)(({formProps:e={},listProps:t={},slug:n})=>{const{pluginUpdateStore:i}=oe(),{busy:o,pluginUpdates:a,pluginUpdateFetchErrors:r}=i,l=a.get(n),c=l?.unlicensedEntries.length>0&&l?.licensedEntries.length>0;return(0,y.useEffect)(()=>{try{i.fetchPluginUpdate(n)}catch(e){}},[n]),r.get(n)?(0,s.jsx)(ae,{slug:n}):o||!l?(0,s.jsx)(h.A,{spinning:!0}):(0,s.jsxs)("div",{children:[c&&(0,s.jsx)(g.A,{type:"horizontal",orientation:"left",style:{marginTop:0},children:k("Not yet licensed")}),(0,s.jsx)(L,{...e,pluginUpdate:l}),c&&(0,s.jsx)(g.A,{type:"horizontal",orientation:"left",children:k("Already licensed")}),l.licensedEntries.length>0&&(0,s.jsx)(q,{...t,pluginUpdate:l})]})}),le=(0,m.PA)(()=>{const[e,t]=(0,y.useState)(!1),{pluginUpdateStore:n}=oe(),{busy:i,modalPlugin:o,pluginUpdates:a,pluginUpdateFetchErrors:r}=n,l=o?a.get(o):void 0,c=l?.unlicensedEntries.length>0&&l?.licensedEntries.length>0,d=(0,y.useCallback)(()=>{if(e){const{checkUpdateLink:e}=l;e?window.location.href=e:window.location.reload()}else n.hideModal()},[e,n,l]),p=(0,y.useCallback)(()=>t(!0),[t]),m=r.get(o);return(0,y.useEffect)(()=>{document.body.classList[o?"add":"remove"]("rpm-wpc-antd-modal-open")},[o]),o?(0,s.jsx)(u.A,{open:!0,okButtonProps:{form:`license-form-${l?.slug}`,htmlType:"submit",style:{display:0===l?.unlicensedEntries.length||m?"none":void 0}},cancelButtonProps:{style:{display:"none"}},onCancel:d,okText:k("Save"),title:l?(0,s.jsxs)("span",{style:{fontWeight:"normal"},children:[(0,s.jsxs)("strong",{children:[l.name,":"]})," ",k("License settings")]}):"",width:800,children:m?(0,s.jsx)(ae,{slug:o}):i||!l?(0,s.jsx)(h.A,{spinning:!0}):(0,s.jsxs)("div",{children:[c&&(0,s.jsx)(g.A,{type:"horizontal",orientation:"left",style:{marginTop:0},children:k("Not yet licensed")}),(0,s.jsx)(L,{onSave:p,pluginUpdate:l}),c&&(0,s.jsx)(g.A,{type:"horizontal",orientation:"left",children:k("Already licensed")}),l.licensedEntries.length>0&&(0,s.jsx)(q,{onDeactivate:p,pluginUpdate:l})]})}):null});var ce=n(4349),de=n(5666);const pe=({children:e,configProvider:t={},app:n={}})=>(0,s.jsx)(de.Ay,{prefixCls:"rpm-wpc-antd",iconPrefixCls:"rpm-wpc-antd-anticon",theme:{token:{colorPrimary:"#2271b1",borderRadius:3}},...t,children:(0,s.jsx)(ce.Z_3,{value:{prefixCls:"rpm-wpc-antd-anticon"},children:(0,s.jsx)(b.A,{message:{top:50},...n,children:(0,s.jsx)(ie.StoreProvider,{children:e})})})}),ue="rpm-wp-client-plugin-update-";function he(){const{hash:e}=window.location;if(e.startsWith(`#${ue}`)){const t=e.substr(ue.length+1);ie.get.pluginUpdateStore.showInModal(t),window.location.hash=""}}var ge=n(1269),me=n(7333),ye=n(1533);const be={path:"/feedback/:slug",method:l.RouteHttpVerb.POST},ve={labelCol:{span:24},wrapperCol:{span:24}},fe={marginBottom:8},xe=({initialValues:e={},plugin:t,name:n,hasAtLeastOneActiveLicense:i,isPluginActiveForNetwork:o,privacyPolicy:r,privacyProvider:l,onClose:c,onDeactivate:d})=>{const{message:p}=b.A.useApp(),m=(0,y.useMemo)(()=>({"upgrade-to-pro":k("Upgrade to PRO Version"),"not-working":k("Plugin does not work"),"missing-features":k("Not the features I want"),incompatible:k("Incompatible with themes/plugins"),"missing-doc":k("Lack of documentation"),"found-better-plugin":k("Found a better plugin"),temp:k("Temporary deactivation"),other:k("Other")}),[]),[f]=a.A.useForm(),x=`license-form-${t}`,[j,A]=(0,y.useState)(!0),[P,S]=(0,y.useState)(!1),O=(0,y.useCallback)(()=>{window.confirm(k("Are you sure you want to leave the feedback form?"))&&A(!1)},[]),U=(0,y.useCallback)(async({skip:e=!1,reason:n="other",note:s="",email:i="",name:o="",deactivateLicense:a=!1})=>{try{S(!0),await $({location:be,params:{slug:t},request:{skip:e,reason:n,note:s,email:i,name:i?o:"",deactivateLicense:a}}),d?.()}catch(e){const{responseJSON:t}=e,n=t?.data?.body?.[0]?.code;if(["DeactivationFeedbackAlreadyGiven","DeactivationFeedbackMightBeSpam"].indexOf(n)>-1||!n)return void d?.();p.error(t?.data?.body?.[0]?.message)}finally{S(!1)}},[f,t]),I=(0,y.useCallback)(()=>{const e=f.getFieldValue("deactivateLicense");e?U({skip:!0,deactivateLicense:e}):d?.()},[U]);return(0,s.jsx)(u.A,{afterClose:c,onCancel:O,open:j,footer:[(0,s.jsx)(me.Ay,{type:"default",onClick:I,className:"alignleft",disabled:P,children:(0,s.jsx)("b",{children:k("Skip & Deactivate")})},"skip"),(0,s.jsx)(me.Ay,{type:"primary",htmlType:"submit",form:x,disabled:P,children:k("Deactivate")},"submit")],title:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(ge.A,{twoToneColor:"#eb2f96"})," ",k("Too bad you are leaving")]}),children:(0,s.jsx)(h.A,{spinning:P,children:(0,s.jsxs)(a.A,{name:x,id:x,form:f,...ve,onFinish:U,initialValues:e,layout:"vertical",labelWrap:!0,children:[(0,s.jsx)(a.A.Item,{name:"reason",label:(0,s.jsx)(s.Fragment,{children:k("Please give us feedback why you deactivate %s.",n)}),style:fe,required:!0,rules:[{required:!0,message:k("Please provide a reason!")}],children:(0,s.jsx)(ye.Ay.Group,{children:Object.keys(m).map(e=>(0,s.jsx)(ye.Ay,{value:e,style:{width:"calc(50% - 8px)",float:"left"},children:m[e]},e))})}),(0,s.jsx)(a.A.Item,{noStyle:!0,shouldUpdate:(e,t)=>e.reason!==t.reason,children:({getFieldValue:e})=>!!e("reason")&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(a.A.Item,{label:k("What could we do better?"),name:"note",style:fe,children:(0,s.jsx)(v.A.TextArea,{autoSize:{minRows:3}})}),(0,s.jsx)(a.A.Item,{noStyle:!0,shouldUpdate:(e,t)=>e.answerTerms!==t.answerTerms,children:({getFieldValue:e})=>!!e("reason")&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(a.A.Item,{name:"email",label:k("Email for answer/solution"),style:fe,rules:[{type:"email",required:e("answerTerms"),message:k("Please provide a valid e-mail address!")}],children:(0,s.jsx)(v.A,{})}),(0,s.jsx)(a.A.Item,{noStyle:!0,shouldUpdate:(e,t)=>e.email!==t.email,children:({getFieldValue:e})=>(0,s.jsxs)(s.Fragment,{children:[!!e("email")&&(0,s.jsx)(a.A.Item,{name:"name",label:k("Name"),required:!0,style:fe,rules:[{required:!0,message:k("Please provide a name!")}],children:(0,s.jsx)(v.A,{})}),(0,s.jsx)(a.A.Item,{name:"answerTerms",valuePropName:"checked",required:!0,rules:[{type:"boolean",required:!!e("email"),transform:e=>e||void 0,message:k("Please confirm that you have checked the privacy policy.")}],style:fe,children:(0,s.jsx)(w.A,{style:{zoom:.8},children:C(k("I would like to receive a response to my request. For this purpose, I agree to the data processing of my feedback and my e-mail address. I have read and acknowledge the %s {{a}}Privacy Policy{{/a}}.",l),{a:(0,s.jsx)("a",{href:r,target:"_blank",rel:"noreferrer"})})})})]})})]})})]})}),(0,s.jsx)(a.A.Item,{noStyle:!0,shouldUpdate:(e,t)=>e.note!==t.note||e.answerTerms!==t.answerTerms,children:({getFieldValue:e})=>{const t=e("answerTerms")||!1,n=e("note")||"";return t?null:n.split(" ").length>=5?(0,s.jsx)("div",{className:"notice notice-info inline below-h2 notice-alt",style:{margin:0},children:(0,s.jsx)("p",{children:k("Allow us to reply to you by email and we will get back to you as soon as possible!")})}):(0,s.jsx)("p",{className:"description",style:{marginTop:5},children:C(k("Are there any problems with the setup or use of the plugin? Maybe we can help you in the support. {{a}}Contact support{{/a}}."),{a:(0,s.jsx)("a",{href:k("https://devowl.io/support/"),target:"_blank",rel:"noreferrer"})})})}}),i&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(g.A,{style:{margin:"12px 0"}}),(0,s.jsx)(a.A.Item,{style:{marginBottom:0},name:"deactivateLicense",valuePropName:"checked",label:k("Do you want to deactivate your active license so that you can use it again on another site?"),children:(0,s.jsx)(w.A,{children:k(o?"Yes, deactivate all active licenses for all sites within this multisite":"Yes, deactivate license")})})]})]})})})};function we(){document.addEventListener("click",e=>{const{names:t,currentUserFullName:n}=ie.get.optionStore.others,i=e?.target;for(const o in t){const{plugin:a,hasAtLeastOneActiveLicense:r,isPluginActiveForNetwork:c}=t[o];if(i.matches(`tr[data-plugin="${a}"] a[href*="action=deactivate"]`)){const a=document.createElement("div");document.body.appendChild(a);const d=(0,l.createRoot)(a);d.render((0,s.jsx)(pe,{children:(0,s.jsx)(xe,{...t[o],initialValues:{name:n},plugin:o,hasAtLeastOneActiveLicense:r,isPluginActiveForNetwork:c,onClose:()=>{d.unmount()},onDeactivate:()=>{window.location.href=i.href}})})),e.preventDefault(),e.stopImmediatePropagation();break}}},!0)}const je="data-rpm-wp-client-plugin-update";function Ae(){document.addEventListener("click",e=>{const t=e.target?.getAttribute(je);t&&(ie.get.pluginUpdateStore.showInModal(t),e.preventDefault())})}we(),((e,t="complete")=>{new Promise(n=>{let s=!1;const i=()=>{(()=>{const{readyState:e}=document,[t,,n]=d[e];if(!t){d[e][0]=!0,n();const[t,,s]=d.interactive;"complete"!==e||t||(d.interactive[0]=!0,s())}})(),!s&&d[t][0]&&(s=!0,e?.(),setTimeout(n,0))};i();for(const e of p)document.addEventListener(e,i);d[t][1].then(i)})})(()=>{const e=document.createElement("div");document.body.appendChild(e),(0,l.createRoot)(e).render((0,s.jsx)(pe,{children:(0,s.jsx)(le,{})})),Ae(),he()})},4497:e=>{e.exports=mobx},5206:e=>{e.exports=ReactDOM}},n={};function s(e){var i=n[e];if(void 0!==i)return i.exports;var o=n[e]={exports:{}};return t[e](o,o.exports,s),o.exports}s.m=t,e=[],s.O=(t,n,i,o)=>{if(!n){var a=1/0;for(d=0;d<e.length;d++){for(var[n,i,o]=e[d],r=!0,l=0;l<n.length;l++)(!1&o||a>=o)&&Object.keys(s.O).every(e=>s.O[e](n[l]))?n.splice(l--,1):(r=!1,o<a&&(a=o));if(r){e.splice(d--,1);var c=i();void 0!==c&&(t=c)}}return t}o=o||0;for(var d=e.length;d>0&&e[d-1][2]>o;d--)e[d]=e[d-1];e[d]=[n,i,o]},s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},s.d=(e,t)=>{for(var n in t)s.o(t,n)&&!s.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},s.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e={57:0};s.O.j=t=>0===e[t];var t=(t,n)=>{var i,o,[a,r,l]=n,c=0;if(a.some(t=>0!==e[t])){for(i in r)s.o(r,i)&&(s.m[i]=r[i]);if(l)var d=l(s)}for(t&&t(n);c<a.length;c++)o=a[c],s.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return s.O(d)},n=self.webpackChunkdevowlWp_realProductManagerWpClient=self.webpackChunkdevowlWp_realProductManagerWpClient||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})();var i=s.O(void 0,[26],()=>s(4266));i=s.O(i),devowlWp_realProductManagerWpClient=i})();
    2 //# sourceMappingURL=https://sourcemap.devowl.io/real-category-library/4.2.64/0af2466faafb0139b8abb3c8ab714869/index.js.map
     2//# sourceMappingURL=https://sourcemap.devowl.io/real-category-library/4.2.69/03bd6174f753afd59d5f7af48a374064/index.js.map
  • real-category-library-lite/trunk/vendor/devowl-wp/real-product-manager-wp-client/package.json

    r3454640 r3491846  
    11{
    22    "name": "@devowl-wp/real-product-manager-wp-client",
    3     "version": "1.20.13",
     3    "version": "1.20.18",
    44    "private": true,
    55    "description": "A WordPress client for Real Product Manager",
  • real-category-library-lite/trunk/vendor/devowl-wp/real-product-manager-wp-client/src/Utils.php

    r3105044 r3491846  
    115115    public static function getCurrentHostname()
    116116    {
    117         // Multisite subdomain installations are forced to use the `home_url` option
    118         // See also https://github.com/WordPress/WordPress/blob/4e4016f61fa40abda4c0a0711496f2ba50a10563/wp-includes/ms-blogs.php#L249
    119         $isMultisiteSubdomainInstallation = \is_multisite() && \defined('SUBDOMAIN_INSTALL') && \constant('SUBDOMAIN_INSTALL');
    120         if (!$isMultisiteSubdomainInstallation && \defined('WP_SITEURL')) {
     117        // In multisite, `switch_to_blog()` must resolve the hostname from the current blog's
     118        // persisted options. A global `WP_SITEURL` constant can be request-dependent and would
     119        // otherwise make every subsite look like the same host.
     120        if (!\is_multisite() && \defined('WP_SITEURL')) {
    121121            // Constant is defined (https://wordpress.org/support/article/changing-the-site-url/#edit-wp-config-php)
    122122            $site_url = \constant('WP_SITEURL');
  • real-category-library-lite/trunk/vendor/devowl-wp/real-utils/dist/cross.css

    r3454640 r3491846  
    11.real-utils-cross-pointer{z-index:999999!important}.real-utils-cross-pointer img{display:block;max-width:100%;margin-bottom:8px}.real-utils-cross-pointer label{zoom:.9;display:block;opacity:.8;margin-top:5px}.real-utils-cross-pointer h3:before{content:"";top:50%;margin-top:-16px}.real-utils-pointer-buttons .button{margin-left:5px}
    2 //# sourceMappingURL=https://sourcemap.devowl.io/real-category-library/4.2.64/b16ac2e468216ccb452036c0c3639c47/cross.css.map
     2//# sourceMappingURL=https://sourcemap.devowl.io/real-category-library/4.2.69/b16ac2e468216ccb452036c0c3639c47/cross.css.map
  • real-category-library-lite/trunk/vendor/devowl-wp/real-utils/dist/cross.js

    r3454640 r3491846  
    11(()=>{"use strict";var t={n:i=>{var e=i&&i.__esModule?()=>i.default:()=>i;return t.d(e,{a:e}),e},d:(i,e)=>{for(var o in e)t.o(e,o)&&!t.o(i,o)&&Object.defineProperty(i,o,{enumerable:!0,get:e[o]})},o:(t,i)=>Object.prototype.hasOwnProperty.call(t,i)};const i=jQuery;var e=t.n(i);const o=devowlWp_utils;let n;const a=(...t)=>(n||(n=(0,o.createLocalizationFactory)("devowl-wp-real-utils"))).__(...t),s=()=>window[o.BaseOptions.getPureSlug("real-utils",!0)].others;let l;const r={path:"/cross/:slug/:action/dismiss",method:o.RouteHttpVerb.DELETE},c="crossSellingPointer";class p{constructor(t,i,e,o){this.slug=i,this.action=e,this.position=o,this.$handler=t,this.init()}static waitForVisibleElement(t,i,o,n){if(!this.isActionAvailable(i,o))return!1;const a=e()(t);return a.length&&!a.data(c)&&(a.data(c,!0),new p(a,i,o,n)),a.length>0}static isActionAvailable(t,i){return!!s().cross?.[t]?.[i]}close(t,i){t.preventDefault();const e=this.$handler.pointer("widget").find('input[type="checkbox"]').is(":checked");if(this.$handler.pointer("close"),this.$handler.pointer("destroy"),i){const{link:t}=this.getAction();window.open(t,"_blank")}((...t)=>{(l||(l=(0,o.createRequestFactory)(window[o.BaseOptions.getPureSlug("real-utils",!0)]))).request(...t)})({location:r,params:{slug:this.slug,action:this.action,force:e}})}buttons(){const t=e()(`<a class="button" href="#">${a("Not now")}</a>`).click(t=>{this.close(t,!1)}),i=e()(`<a class="button button-primary" href="#">${a("Learn more!")}</a>`).click(t=>{this.close(t,!0)});return e()('<div class="real-utils-pointer-buttons" />').append(i,t)}getAction(){return s().cross?.[this.slug][this.action]}init(){const{position:t}=this,{title:i,description:e,image:o}=this.getAction(),n=`<label><input type="checkbox" /> ${a("Never show this popup again")}</label>`;this.$handler.pointer({pointerClass:"wp-pointer real-utils-cross-pointer",content:`<h3>${i}</h3><p><img src="${o}" />${e}${n}</p>`,buttons:this.buttons.bind(this),position:t}).pointer("open").pointer("widget").find("img").get(0).onload=()=>this.$handler.pointer("reposition")}}const d="real-category-library",h="real-media-library",b="real-physical-media",m=()=>e()("select#parent").length&&p.isActionAvailable(d,"add-category")&&e()("body.wp-admin.edit-tags-php:not(.woocommerce-page,.post-type-attachment) form#addtag #submit").one("click",function(){new p(e()(this),d,"add-category","bottom")}),u=()=>e()("select#parent").length&&p.isActionAvailable(d,"add-wc-category")&&e()("body.wp-admin.edit-tags-php.woocommerce-page form#addtag #submit").one("click",function(){new p(e()(this),d,"add-wc-category","bottom")});class g{static{this.SELECTOR='body.wp-admin.post-php:not(.post-type-attachment) #categorychecklist input[type="checkbox"]'}static onChange(){new p(e()(this),d,"assign"),e()(g.SELECTOR).off("change",g.onChange)}static bind(){p.isActionAvailable(d,"assign")&&e()(this.SELECTOR).one("change",this.onChange)}}class w{static{this.SELECTOR="body.wp-admin.edit-php:not(.post-type-attachment) .tablenav-pages .pagination-links a"}static onClick(t){const i=e()(this).attr("href");return new p(e()(this),d,"pagination"),e()(this).pointer("widget").find(".button").click(()=>{setTimeout(()=>window.open(i,"_self"),1e3)}),e()(w.SELECTOR).off("click",w.onClick),t.preventDefault(),!1}static bind(){p.isActionAvailable(d,"pagination")&&e()(this.SELECTOR).one("click",this.onClick)}}e()(document).ready(()=>{setTimeout(function t(){let i=!1;!i&&(i=p.waitForVisibleElement("body.wp-admin.upload-php .attachment-info > .details:visible, body.wp-admin.post-php.post-type-attachment #post-body-content #titlewrap:visible",h,"attachment-details")),!i&&(i=p.waitForVisibleElement("body.wp-admin.plugins-php #wpbody-content > div.wrap > h1:first","real-cookie-banner","gdpr-compliant")),!i&&(i=p.waitForVisibleElement('body > div > .media-modal.wp-core-ui .media-frame-router button[role="tab"]:eq(1).active',h,"insert-dialog")),!i&&(i=p.waitForVisibleElement("body.wp-admin .editor-post-taxonomies__hierarchical-terms-list:visible",d,"assign","bottom")),!i&&(i=p.waitForVisibleElement("body.wp-admin.upload-php #wpbody-content .upload-ui .button-hero:visible, body.wp-admin.media-new-php #media-items .media-item:first:visible",b,"upload")),!i&&setTimeout(t,1e3)},1e3),m(),u(),p.isActionAvailable(b,"move")&&window.rml?.hooks.register("attachment/move/finished",(t,i)=>{new p(e()(`.rml-container:visible li[data-li-id="${i}"]`),b,"move")}),g.bind(),w.bind()})})();
    2 //# sourceMappingURL=https://sourcemap.devowl.io/real-category-library/4.2.64/2a5b12458bf7c6f61d42ac955d4d8cd8/cross.js.map
     2//# sourceMappingURL=https://sourcemap.devowl.io/real-category-library/4.2.69/2a5b12458bf7c6f61d42ac955d4d8cd8/cross.js.map
  • real-category-library-lite/trunk/vendor/devowl-wp/real-utils/dist/feedback.css

    r3454640 r3491846  
    11.real-utils-feedback-pointer{min-width:640px}.real-utils-feedback-pointer .notice{margin:5px 0!important}.real-utils-feedback-pointer .notice>p{padding:0!important}.real-utils-feedback-pointer fieldset{padding:0 20px 10px}.real-utils-feedback-pointer fieldset label{display:block;margin-top:5px}.real-utils-feedback-pointer fieldset label.col-2{width:50%;float:left}.real-utils-feedback-pointer fieldset .regular-text{display:block;width:100%;margin-bottom:10px}.real-utils-feedback-pointer h3:before{content:"";top:50%;margin-top:-16px}.real-utils-feedback-pointer .wp-pointer-arrow{left:15px!important}
    2 //# sourceMappingURL=https://sourcemap.devowl.io/real-category-library/4.2.64/a7ddfe44ee62f0645f97e87b5a174204/feedback.css.map
     2//# sourceMappingURL=https://sourcemap.devowl.io/real-category-library/4.2.69/a7ddfe44ee62f0645f97e87b5a174204/feedback.css.map
  • real-category-library-lite/trunk/vendor/devowl-wp/real-utils/dist/feedback.js

    r3454640 r3491846  
    11(()=>{"use strict";var e={n:t=>{var i=t&&t.__esModule?()=>t.default:()=>t;return e.d(i,{a:i}),i},d:(t,i)=>{for(var n in i)e.o(i,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:i[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)};const t=jQuery;var i=e.n(t);const n=devowlWp_utils;let s;const a=(...e)=>(s||(s=(0,n.createLocalizationFactory)("devowl-wp-real-utils"))).__(...e),o=()=>window[n.BaseOptions.getPureSlug("real-utils",!0)].others;let l;const c={path:"/feedback/:slug",method:n.RouteHttpVerb.POST};class r{constructor(e,t,i){this.slug=e,this.$handler=i,this.href=t,this.init()}async close(e,t=!1){if(e.preventDefault(),this.$handler.pointer("widget").find("input, .button").attr("disabled","disabled"),t)window.open(this.href,"_self");else{const{choice:t,note:i,email:s}=this.getValidInput();try{"none"!==t&&await((...e)=>(l||(l=(0,n.createRequestFactory)(window[n.BaseOptions.getPureSlug("real-utils",!0)]))).request(...e))({location:c,request:{reason:t,note:i,email:s},params:{slug:this.slug}})}catch(e){}finally{window.open(this.href,"_self")}}}buttons(){const e=i()(`<a class="button" href="#">${a("Contact support")}</a>`).click(()=>{window.open("https://devowl.io/support/","_blank")}),t=i()(`<a class="button" href="#">${a("Skip & Deactivate")}</a>`).click(e=>{this.close(e,!0)}),n=i()(`<a class="hidden button button-primary" href="#">${a("Deactivate")}</a>`).click(e=>{this.validate()&&this.close(e,!1)});return i()('<div class="real-utils-pointer-buttons" />').append(n,t,e)}validate(){return this.validateNote()&&this.validatePrivacy()&&this.validateEmail()}validateNote(){const e=i()(`[name="${this.slug}-skip-note"]`).is(":checked"),t=i()(`.notice-${this.slug}-note`),{choice:n,note:s}=this.getValidInput();return e||s||-1!==["upgrade-to-pro","temp","none"].indexOf(n)?(t.hide(),!0):(t.show(),!1)}validatePrivacy(){const e=i()(`[name="${this.slug}-privacy"]`).is(":checked"),t=i()(`.notice-${this.slug}-privacy`),{email:n}=this.getValidInput();return n&&!e?(t.show(),!1):(t.hide(),!0)}validateEmail(){const e=i()(`.notice-${this.slug}-email`),{email:t}=this.getValidInput();return t&&!/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(t.toLowerCase())?(e.show(),!1):(e.hide(),!0)}getValidInput(){const e=i()(`[name="${this.slug}-deactivate-choice"]:checked`).val(),t=i()(`[name="${this.slug}-note"]`).val(),n=t?i()(`[name="${this.slug}-email"]`).val():"";return!e&&t?{choice:"other",note:t,email:n}:e?{choice:e,note:t,email:n}:void 0}init(){const e=a("Too bad you are leaving"),t=o().names[this.slug],n=a("Please give us feedback why you deactivate <strong>%s</strong>.",t),s={"upgrade-to-pro":a("Upgrade to PRO Version"),"not-working":a("Plugin did not work"),"missing-features":a("Not the features I want"),incompatible:a("Incompatible with other themes or plugins"),"missing-doc":a("Lack of documentation"),"found-better-plugin":a("Found a better plugin"),temp:a("Temporary deactivation"),none:a("I do not want to give feedback"),other:a("Other")},l=this.$handler.pointer({pointerClass:"wp-pointer real-utils-feedback-pointer",content:`<h3>${e}</h3><p>${n}</p>\n<fieldset>\n    ${Object.keys(s).map(e=>`<label class="col-2"><input type="radio" name="${this.slug}-deactivate-choice" value="${e}" /> ${s[e]}</label>`).join("")}\n        <div class="clear"></div>\n        <br />\n    <label class="${this.slug}-section-note">\n        <strong>${a("What could we do better?")}</strong>\n        <input type="text" class="regular-text" name="${this.slug}-note" />\n        <div class="notice notice-${this.slug}-note notice-error notice-alt hidden"><p>${a("Please enter a text here or check the box below.")}</p></div>\n    </label>\n    <label class="${this.slug}-section-note">\n        <input type="checkbox" name="${this.slug}-skip-note" /> ${a("I don't want to add a comment and hence not help to make %s better.",t)}\n    </label>\n    <label class="${this.slug}-section-email" style="display:none">\n        <br /><strong>${a("Email for answer/solution (optional)?")}</strong>\n        <input type="text" class="regular-text" name="${this.slug}-email" />\n        <div class="notice notice-${this.slug}-email notice-error notice-alt hidden"><p>${a("Please provide a valid email.")}</p></div>\n    </label>\n    <label class="${this.slug}-section-email" style="display:none">\n        <input type="checkbox" name="${this.slug}-privacy" /> ${a('I would like to receive an answer for my issue. For this purpose I agree to the data processing of my feedback and my email address. I have read the devowl.io <a href="https://devowl.io/privacy-policy/" target="_blank">privacy policy</a> and agree to it.',t)}\n        <div class="notice notice-${this.slug}-privacy notice-error notice-alt hidden"><p>${a("If you would like to be contacted by us, please accept the privacy policy. If you prefer not to be contacted, leave the email field blank.")}</p></div>\n    </label>\n</fieldset>`,buttons:this.buttons.bind(this)}).pointer("open").pointer("widget");l.find("input").on("input",()=>{const e=this.getValidInput(),t="none"===e?.choice;l.find(".button:eq(0)").css("display",e?"inline-block":"none"),l.find(".button:eq(1)").css("display",e?"none":"inline-block"),l.find(".button:eq(1)").css("display",e?"none":"inline-block"),i()(`[name="${this.slug}-skip-note"]`).parent().css("display",e?.note?"none":"block"),i()(`.${this.slug}-section-email`).css("display",e?.note&&!t?"block":"none"),i()(`.${this.slug}-section-note`).css("display",t?"none":"block")})}}i()(document).on("click","tr.active .row-actions .deactivate a",function(e){const[t]=i()(this).parents("tr.active").data("plugin").split("/");if(o().names[t]){const n=i()(this).attr("href");return new r(t,n,i()(this)),e.preventDefault(),!1}return!0})})();
    2 //# sourceMappingURL=https://sourcemap.devowl.io/real-category-library/4.2.64/63ecb88d93e94514342e994460a61dce/feedback.js.map
     2//# sourceMappingURL=https://sourcemap.devowl.io/real-category-library/4.2.69/63ecb88d93e94514342e994460a61dce/feedback.js.map
  • real-category-library-lite/trunk/vendor/devowl-wp/real-utils/dist/helper.css

    r3454640 r3491846  
    11.real-utils-rate-pointer{z-index:999999!important}.real-utils-rate-pointer h3:before{content:""}.real-utils-pointer-buttons .button{margin-left:5px}
    2 //# sourceMappingURL=https://sourcemap.devowl.io/real-category-library/4.2.64/8eba699b5570a0abfeeff229e4e1240b/helper.css.map
     2//# sourceMappingURL=https://sourcemap.devowl.io/real-category-library/4.2.69/8eba699b5570a0abfeeff229e4e1240b/helper.css.map
  • real-category-library-lite/trunk/vendor/devowl-wp/real-utils/dist/helper.js

    r3454640 r3491846  
    11var devowlWp_realUtils;(()=>{"use strict";var t={n:e=>{var s=e&&e.__esModule?()=>e.default:()=>e;return t.d(s,{a:s}),s},d:(e,s)=>{for(var o in s)t.o(s,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:s[o]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r:t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}},e={};t.r(e),t.d(e,{RatingPointer:()=>d,isRatable:()=>i});const s=devowlWp_utils,o=()=>window[s.BaseOptions.getPureSlug("real-utils",!0)].others;function i(t){return o().canBeRated.indexOf(t)>-1}const n=jQuery;var a=t.n(n);let r;const l=(...t)=>(r||(r=(0,s.createLocalizationFactory)("devowl-wp-real-utils"))).__(...t);let u;const c={path:"/rating/:slug/dismiss",method:s.RouteHttpVerb.DELETE};class d{constructor(t,e,s,o){this.slug=t,this.$handler=e,this.description=s,this.className=o,this.init()}close(t,e){if(t.preventDefault(),this.$handler.pointer("close"),this.$handler.pointer("destroy"),e){const t=o().rateLinks[this.slug];window.open(t,"_blank")}((...t)=>{(u||(u=(0,s.createRequestFactory)(window[s.BaseOptions.getPureSlug("real-utils",!0)]))).request(...t)})({location:c,params:{slug:this.slug,force:e}})}buttons(){const t=a()(`<a class="button" href="#">${l("Not now")}</a>`).click(t=>{this.close(t,!1)}),e=a()(`<a class="button button-primary" href="#">${l("Give it a rating")}</a>`).click(t=>{this.close(t,!0)});return a()('<div class="real-utils-pointer-buttons" />').append(e,t)}init(){const{canBeRated:t}=o();t.splice(t.indexOf(this.slug),1);const e=l("Do us a favor!"),s=this.description||l("Awesome, you have just used a functionality of <strong>%s</strong>. Do you like it? Please do us a favor and rate us!",o().names[this.slug]);this.$handler.pointer({pointerClass:`wp-pointer real-utils-rate-pointer ${this.className?this.className:""}`,content:`<h3>${e}</h3><p>${s}</p>`,buttons:this.buttons.bind(this)}).pointer("open")}}devowlWp_realUtils=e})();
    2 //# sourceMappingURL=https://sourcemap.devowl.io/real-category-library/4.2.64/dedd07dd749e491737179f9f3bfc8332/helper.js.map
     2//# sourceMappingURL=https://sourcemap.devowl.io/real-category-library/4.2.69/dedd07dd749e491737179f9f3bfc8332/helper.js.map
  • real-category-library-lite/trunk/vendor/devowl-wp/real-utils/dist/welcome.css

    r3454640 r3491846  
    11.about-wrap .about-text cite{background:url(https://assets.devowl.io/in-app/devowl.io-logo.svg) no-repeat top left;padding:5px 0 5px 55px;display:block;margin-top:12px}.about-wrap .wp-badge{color:#000;background-repeat:no-repeat;background-position:center 25px;background-size:90px auto;background-color:#fff}.about-wrap .about-wrap-content{max-width:none;max-width:initial}.about-wrap .button-hero{font-size:1.2em!important}.about-wrap .column.key-feature>p:first-of-type{margin:15px 0 0 0;height:200px;overflow:hidden;text-align:center}.about-wrap .column.key-feature>p:first-of-type img{width:100%;height:auto;border-radius:3px;max-width:400px}.about-wrap .error-msg{margin:10px;color:red}.tablenav-pages{display:none}
    2 //# sourceMappingURL=https://sourcemap.devowl.io/real-category-library/4.2.64/8463be16a77bfee932befd19f2e8a2b0/welcome.css.map
     2//# sourceMappingURL=https://sourcemap.devowl.io/real-category-library/4.2.69/8463be16a77bfee932befd19f2e8a2b0/welcome.css.map
  • real-category-library-lite/trunk/vendor/devowl-wp/real-utils/package.json

    r3454640 r3491846  
    11{
    22    "name": "@devowl-wp/real-utils",
    3     "version": "1.14.13",
     3    "version": "1.14.18",
    44    "private": true,
    55    "description": "Create cross-selling ads, about page, rating and newsletter input for WP Real plugins.",
  • real-category-library-lite/trunk/vendor/devowl-wp/utils/dist/index.js

    r3454640 r3491846  
    1 var devowlWp_utils;(()=>{"use strict";var t,e={206:t=>{t.exports=ReactDOM},403:(t,e,n)=>{n.r(e),n.d(e,{AbstractCategory:()=>rt,AbstractCategoryCollection:()=>at,AbstractPost:()=>ot,AbstractPostCollection:()=>st,BATCH_MAX_CHUNK_SIZE:()=>O,BaseOptions:()=>o,ClientCollection:()=>et,ClientModel:()=>nt,RouteHttpVerb:()=>H,SuspenseChunkTranslation:()=>lt,addCorruptRestApi:()=>j,addCorruptRestApiLog:()=>N,applyQueryString:()=>w,batchRequest:()=>k,commonRequest:()=>G,commonUrlBuilder:()=>y,createContextFactory:()=>h,createLocalizationFactory:()=>K,createRequestFactory:()=>J,createRoot:()=>i,getAnonymousLocalizedScript:()=>ut,handleCorrupRestApi:()=>F,handleCorruptRestApi:()=>D,locationRestKeyValueMapPatch:()=>it,locationRestPluginGet:()=>Y,nonceDeprecationPool:()=>$,obfuscatePath:()=>f,parseResult:()=>I,removeCorruptRestApi:()=>_,simpleHash:()=>m,simpleObfuscate:()=>p,sprintf:()=>X,trailingslashit:()=>a,untrailingslashit:()=>r,useChunkTranslation:()=>ct,waitForValidLogin:()=>U});class o{static slugCamelCase(t){return t.replace(/-([a-z])/g,t=>t[1].toUpperCase())}static getPureSlug(t,e=!1){return e?o.slugCamelCase(t):t}}var s=n(578);const r=t=>t.endsWith("/")||t.endsWith("\\")?r(t.slice(0,-1)):t,a=t=>`${r(t)}/`;function i(t){try{return(0,s.H)(t)}catch(e){return{render:e=>window.ReactDOM?.render?.(e,t),unmount:()=>window.ReactDOM?.unmountComponentAtNode?.(t)}}}const c=ReactJSXRuntime;var l=n(594);function h(t){const e=(0,l.createContext)(t);return{StoreContext:e,StoreProvider:({children:n})=>(0,c.jsx)(e.Provider,{value:t,children:n}),useStores:()=>(0,l.useContext)(e)}}var u=n(177),d=function(t){return t.GET="GET",t.POST="POST",t.PUT="PUT",t.PATCH="PATCH",t.DELETE="DELETE",t}(d||{});function p(t,e,n){const o=e.length;if(!/^[a-z0-9]+$/i.test(e))return"";let s="",r=0;const a=t.length;for(let i=0;i<a;i++)if(/[a-z]/i.test(t[i])){const a=t[i]===t[i].toUpperCase()?"A".charCodeAt(0):"a".charCodeAt(0),c=e[(i-r)%o];let l;l=isNaN(parseInt(c,10))?(c.toLowerCase().charCodeAt(0)-a)%26:parseInt(c,10),l=n?l:-l,s+=String.fromCharCode(((t.charCodeAt(i)+l-a)%26+26)%26+a)}else s+=t[i],r++;return s}function f(t,e,n="keep-last-part"){const o=e.split("/").map((e,o,s)=>"keep-last-part"===n&&o===s.length-1?e:p(e,t,!0));return o.splice(o.length-1,0,`${"full"===n?1:0}${t.toString()}`),o.join("/")}function m(t){let e=0;for(const n of t)e=(e<<5>>>0)-e+n.charCodeAt(0),e&=2147483647;return e}function w(t,e,n){const o=n?t.searchParams:new URLSearchParams,s=Array.isArray(e)?e:[e];for(const t of s)for(const[e,n]of Object.entries(t||{}))o.delete(e),Array.isArray(n)?n.forEach(t=>{null!=t&&o.append(`${e}[]`,String(t))}):null!=n&&o.set(e,String(n));return t.search=o.toString(),t}function y({location:t,params:e={},nonce:n=!0,options:o,cookieValueAsParam:s}){const{obfuscatePath:i}=t,{origin:c}=window.location,{restPathObfuscateOffset:l}=o,h=new URL(o.restRoot,c),p=Object.fromEntries(h.searchParams.entries()),y=p.rest_route||h.pathname,{searchParams:g,pathname:b}=new URL(t.path,c),v=Object.fromEntries(g.entries()),P=[],O=b.replace(/:([A-Za-z0-9-_]+)/g,(t,n)=>(P.push(n),e[n]));for(const t of Object.keys(e))-1===P.indexOf(t)&&(v[t]=e[t]);s&&(v._httpCookieInvalidate=`${m(JSON.stringify(s.map(u.A.get)))}`),h.protocol=window.location.protocol;const C=a(y);let S=r(t.namespace||o.restNamespace)+O;l&&i&&(S=f(l,S,i));const E=`${C}${S}`;return p.rest_route?p.rest_route=E:h.pathname=E,n&&o.restNonce&&(p._wpnonce=o.restNonce),w(h,p),["wp-json/","rest_route="].filter(t=>h.toString().indexOf(t)>-1).length>0&&t.method&&t.method!==d.GET&&w(h,[{_method:t.method}],!0),w(h,[o.restQuery,v],!0),h.toString()}var g=n(976),b=n.n(g),v=n(984),P=n.n(v);const O=25;let C,S=[];const E=Promise.resolve();async function T(){S=S.filter(({options:{signal:t,onQueueItemFinished:e,waitForPromise:n=E},reject:o})=>!t?.aborted||(e?.(!1),n.then(()=>o(t.reason)),!1));const t=S.splice(0,O);if(0!==t.length){try{const[{options:e}]=t,{signal:n,onQueueItemFinished:o,waitForPromise:s=E}=e,{responses:r}=await G({location:{path:"/",method:d.POST,namespace:"batch/v1"},options:e,request:{requests:t.map(({request:t})=>t)},settings:{signal:n}});for(let e=0;e<r.length;e++){const{resolve:n,reject:a}=t[e],{body:i,status:c}=r[e],l=c>=200&&c<400;o?.(l),s.then(()=>{l?n(i):a({responseJSON:i})})}}catch(e){for(const{reject:n,options:{onQueueItemFinished:o,waitForPromise:s=E}}of t)o?.(!1),s.then(()=>n(e))}S.length>0&&T()}}function k(t,e){return new Promise((n,o)=>{S.push({resolve:n,reject:o,request:t,options:e}),clearTimeout(C),C=setTimeout(T,100)})}const R="notice-corrupt-rest-api",x="data-namespace";async function A(t,e=async()=>{}){const n=document.getElementById(R);if(n&&window.navigator.onLine){if(n.querySelector(`li[${x}="${t}"]`))return;try{await e()}catch(e){n.style.display="block";const o=document.createElement("li");o.setAttribute(x,t),o.innerHTML=`<code>${t}</code>`,n.childNodes[1].appendChild(o),n.scrollIntoView({behavior:"smooth",block:"end",inline:"nearest"})}}}async function _(t){const e=document.getElementById(R);if(e){const n=e.querySelector(`li[${x}="${t}"]`);if(n?.remove(),!e.childNodes[1].childNodes.length){e.style.display="none";const t=e.querySelector("textarea");t&&(t.value="")}}}function j({method:t},e){t===d.GET&&(e?A(e,()=>{throw new Error}):(window.detectCorruptRestApiFailed=(window.detectCorruptRestApiFailed||0)+1,window.dispatchEvent(new CustomEvent(R))))}function N({route:t,method:e,ms:n,response:o}){const s=document.querySelector(`#${R} textarea`);if(s){const r=s.value.split("\n").slice(0,9);r.unshift(`[${(new Date).toLocaleTimeString()}] [${e||"GET"}] [${n}ms] ${t}; ${o?.substr(0,999)}`),s.value=r.join("\n")}}function D(t){window.detectCorruptRestApiFailed=window.detectCorruptRestApiFailed||0,window.addEventListener("pageshow",({persisted:t})=>{const e=document.getElementById(R);e&&t&&0===window.detectCorruptRestApiFailed&&(e.style.display="none")});const e=async()=>{if(window.detectCorruptRestApiFailed>0)for(const e of Object.keys(t))A(e,t[e])};let n;const o=()=>{clearTimeout(n),n=setTimeout(e,1e3)};o(),window.addEventListener(R,o)}const F=D,L={},q={};async function $(t,e){if(void 0!==e){const n=q[t]||new Promise(async(n,o)=>{try{const s=await window.fetch(e,{method:"POST"});if(s.ok){const e=await s.text();t===e?o():(L[t]=e,n(e))}else o()}catch(t){o()}});return q[t]=n,n.finally(()=>{delete q[t]}),n}{if(void 0===t)return;await Promise.all(Object.values(q));let e=t;for(;L[e]&&(e=L[e],L[e]!==t););return Promise.resolve(e)}}async function I(t,e,n){if(204===e.status)return{};const o=e.clone();try{return await e.json()}catch(e){const s=await o.text();if(""===s&&[d.DELETE,d.PUT].indexOf(n)>-1)return;let r;console.warn(`The response of ${t} contains unexpected JSON, try to resolve the JSON line by line...`,{body:s});for(const t of s.split("\n"))if(t.startsWith("[")||t.startsWith("{"))try{return JSON.parse(t)}catch(t){r=t}throw r}}let M=!1;function U(){const t=window.jQuery;return window.wp?.heartbeat&&t?(t(document).trigger("heartbeat-tick",[{"wp-auth-check":!1},"error",null]),M||(M=!0,t(document).ajaxSend((e,n,{url:o,data:s})=>{o?.endsWith("/admin-ajax.php")&&s?.indexOf("action=heartbeat")>-1&&t("#wp-auth-check:visible").length>0&&n.abort()})),new Promise(e=>{const n=setInterval(()=>{0===t("#wp-auth-check:visible").length&&(clearInterval(n),e())},100)})):new Promise(()=>{})}const z="application/json;charset=utf-8";async function G({location:t,options:e,request:n,params:o,settings:s={},cookieValueAsParam:r,multipart:a=!1,sendRestNonce:i=!0,sendReferer:c,replayReason:l,allowBatchRequest:h}){const{href:u}=window.location,p=t.namespace||e.restNamespace,f=y({location:t,params:o,nonce:!1,options:e,cookieValueAsParam:r});["wp-json/","rest_route="].filter(t=>f.indexOf(t)>-1).length>0&&t.method&&t.method!==d.GET?s.method=d.POST:s.method=t.method||d.GET;const m=new URL(f,u),g=-1===["HEAD","GET"].indexOf(s.method);c&&(g?Object.assign(n,{_wp_http_referer:u}):m.searchParams.set("_wp_http_referer",u)),!g&&n&&w(m,[n],!0);const v=m.toString();let O;g&&(a?(O=P()(n,"boolean"==typeof a?{}:a),Array.from(O.values()).filter(t=>t instanceof File).length>0||(O=JSON.stringify(n))):O=JSON.stringify(n));const C=await $(e.restNonce),S=void 0!==C,E=b().all([s,{headers:{..."string"==typeof O?{"Content-Type":z}:{},...S&&i?{"X-WP-Nonce":C}:{},Accept:"application/json, */*;q=0.1"}}],{isMergeableObject:t=>"[object Object]"===Object.prototype.toString.call(t)});if(E.body=O,h&&t.method!==d.GET&&!(O instanceof FormData))return k({method:t.method,path:y({location:t,params:o,nonce:!1,options:{...e,restRoot:"https://a.de/wp-json"},cookieValueAsParam:r}).substring(20),body:n},{...e,signal:s.signal,..."boolean"==typeof h?{}:h});let T,R=!1;const x=()=>{R=!0};window.addEventListener("pagehide",x),window.addEventListener("beforeunload",x);const A=(new Date).getTime();let D;try{T=await window.fetch(v,E),D=(new Date).getTime()-A,_(p)}catch(e){throw D=(new Date).getTime()-A,R||(N({method:t.method,route:m.pathname,ms:D,response:`${e}`}),j(s,p)),console.error(e),e}finally{window.removeEventListener("pagehide",x),window.removeEventListener("beforeunload",x)}if(!T.ok){let r,c,h=!1;try{if(r=await I(v,T,t.method),"private_site"===r.code&&403===T.status&&S&&!i&&(h=!0,c=1),"rest_cookie_invalid_nonce"===r.code&&S){const{restRecreateNonceEndpoint:t}=e;try{h=!0,2===l?(c=4,await U()):c=2,await $(C,t)}catch(t){}}const n=T.headers.get("retry-after");[503,429,301].includes(T.status)&&n?.match(/^\d+$/)&&(h=1e3*+n,c=3)}catch(t){}if(h){const r={location:t,options:e,multipart:a,params:o,request:n,sendRestNonce:!0,settings:s,replayReason:c};return"number"==typeof h?new Promise(t=>setTimeout(()=>G(r).then(t),h)):await G(r)}N({method:t.method,route:m.pathname,ms:D,response:JSON.stringify(r)}),j(s);const u=T;throw u.responseJSON=r,u}return I(v,T,t.method)}function J(t){return{urlBuilder:e=>y({...e,options:{restNamespace:t.restNamespace,restNonce:t.restNonce,restQuery:t.restQuery,restRoot:t.restRoot,restPathObfuscateOffset:t.restPathObfuscateOffset}}),request:e=>G({...e,options:{restNamespace:t.restNamespace,restNonce:t.restNonce,restQuery:t.restQuery,restRoot:t.restRoot,restRecreateNonceEndpoint:t.restRecreateNonceEndpoint,restPathObfuscateOffset:t.restPathObfuscateOffset}})}}const H=d;var B=n(263);const W=wp.i18n,Q=wp;var V=n.n(Q);function X(t,...e){return W.sprintf(t,...e)}function K(t){const{wpi18nLazy:e}=window;if(e&&e[t]&&V()&&V().i18n)for(const n of e[t])V().i18n.setLocaleData(n,t);return{_n:function(e,n,o,...s){return X(W._n(e,n,o,t),...s)},_nx:function(e,n,o,s,...r){return X(W._nx(e,n,s,o,t),...r)},_x:function(e,n,...o){return X(W._x(e,n,t),...o)},__:function(e,...n){return X(W.__(e,t),...n)},_i:function(t,e){return(0,B.A)({mixedString:t,components:e})}}}const Y={path:"/plugin",method:d.GET};var Z=n(490);const tt=mobx;class et{constructor(){this.entries=new Map,this.busy=!1,this.get=(0,tt.flow)(function*(t){const{request:e,params:n,clear:o=!1}=t||{};this.busy=!0;try{const{path:t,namespace:s}=this.annotated,r=yield this.annotated.request({location:{path:t,method:d.GET,namespace:s},request:e,params:n});o&&this.entries.clear();for(const t of r){const e=this.instance(t),n=this.entries.get(e.key);n?n.data=e.data:this.entries.set(e.key,e)}}catch(t){throw console.log(t),t}finally{this.busy=!1}}),this.getSingle=(0,tt.flow)(function*(t){if(!this.annotated.singlePath)throw new Error("There is no getSingle method allowed");const{request:e,params:n}=t||{};this.busy=!0;try{const{singlePath:t,namespace:o}=this.annotated,s=yield this.annotated.request({location:{path:t,method:d.GET,namespace:o},request:e,params:n}),r=this.instance(s);this.entries.set(r.key,r)}catch(t){throw console.log(t),t}finally{this.busy=!1}}),setTimeout(()=>{this.annotated||console.error("You have not used the @ClientCollection.annotate annoation together with this class!")},0)}static{this.annotate=t=>e=>class extends e{constructor(...e){super(...e),this.annotated=t}}}}(0,Z.Cg)([tt.observable],et.prototype,"entries",void 0),(0,Z.Cg)([tt.observable],et.prototype,"busy",void 0);class nt{get key(){return this.data?.[this.annotated.keyId]}constructor(t,e={}){this.data={},this.busy=!1,this.persist=(0,tt.flow)(function*(t,e){if(!this.annotated.create)throw new Error("There is no persist method allowed");this.busy=!0;try{const{create:{path:n,method:o},namespace:s}=this.annotated,r=yield this.annotated.request({location:{path:n,method:o||d.POST,namespace:s},request:this.transformDataForPersist(),params:t||{},...e||{}});this.fromResponse(r),e?.allowBatchRequest||(this.collection.entries.set(this.key,this),this.afterPersist())}catch(t){throw console.log(t),t}finally{this.busy=!1}}),this.patch=(0,tt.flow)(function*(t){if(!this.annotated.patch)throw new Error("There is no patch method allowed");this.busy=!0;try{const{patch:{path:e,method:n},namespace:o}=this.annotated,s=yield this.annotated.request({location:{path:e,method:n||d.PATCH,namespace:o},request:this.transformDataForPatch(),params:{[this.annotated.keyId]:this.key,...t||{}}});this.fromResponse(s),this.afterPatch()}catch(t){throw console.log(t),t}finally{this.busy=!1}}),this.delete=(0,tt.flow)(function*(t,e){if(!this.annotated.delete)throw new Error("There is no delete method allowed");this.busy=!0;try{const{delete:{path:n,method:o},namespace:s}=this.annotated,r=yield this.annotated.request({location:{path:n,method:o||d.DELETE,namespace:s},params:{[this.annotated.keyId]:this.key,...t||{}},...e||{}});return e?.allowBatchRequest||(this.collection.entries.delete(this.key),this.afterDelete()),r}catch(t){throw console.log(t),t}finally{this.busy=!1}}),setTimeout(()=>{this.annotated||console.error("You have not used the @ClientModel.annotate annoation together with this class!")},0),(0,tt.runInAction)(()=>{this.collection=t,this.data=e})}static{this.annotate=t=>e=>class extends e{constructor(...e){super(...e),this.annotated=t}}}fromResponse(t){return(0,tt.set)(this.data,t),this}transformDataForPersist(){return this.data}transformDataForPatch(){throw new Error("If you want to use patch method, you need to implement transformDataForPatch!")}afterPersist(){}afterPatch(){}afterDelete(){}}(0,Z.Cg)([tt.observable,(0,Z.Sn)("design:type",Object)],nt.prototype,"data",void 0),(0,Z.Cg)([tt.observable,(0,Z.Sn)("design:type",Object)],nt.prototype,"collection",void 0),(0,Z.Cg)([tt.observable],nt.prototype,"busy",void 0),(0,Z.Cg)([tt.computed,(0,Z.Sn)("design:type",Object),(0,Z.Sn)("design:paramtypes",[])],nt.prototype,"key",null);class ot extends nt{transformDataForPersist(){const t={...super.transformDataForPersist()};return t.title="string"==typeof t.title?.raw?t.title.raw:t.title?.rendered,t.content="string"==typeof t.content?.raw?t.content.raw:t.content?.rendered,delete t._links,delete t.link,t}transformDataForPatch(){return this.transformDataForPersist()}}class st extends et{}class rt extends nt{transformDataForPersist(){const t={...super.transformDataForPersist()};return delete t._links,delete t.link,t}transformDataForPatch(){return this.transformDataForPersist()}}class at extends et{}const it={path:"/key-value-map/:name/:key",method:d.PATCH};function ct(t,{chunks:e,chunksLanguageFolder:n,textDomain:o,version:s}){const r=e[t.split("?")[0]],a=!!r,[i,c]=(0,l.useState)(!1),h=(0,l.useCallback)(async t=>{const e=window;e.wpi18nLazy=e.wpi18nLazy||{},e.wpi18nLazy.chunkUrls=e.wpi18nLazy.chunkUrls||[];const{chunkUrls:r}=e.wpi18nLazy,i=`${n}${o}-${t}.json`;if(a&&-1===r.indexOf(i)){r.push(i);try{const t=await window.fetch(`${i}?ver=${s}`),{locale_data:{messages:e}}=await t.json();V().i18n.setLocaleData(e,o)}catch{}}},[n,o]);return(0,l.useEffect)(()=>{a?Promise.all(r.map(h)).then(()=>{c(!0)}):c(!0)},[a,h]),i}const lt=({children:t,chunkFile:e,fallback:n,options:o})=>{const s=ct(e,o());return(0,c.jsx)(c.Fragment,{children:s?t:n})},ht={};function ut(t,e){const n=window[t.replace(/-([a-z])/g,t=>t[1].toUpperCase())],o=ht[t];if(!n){if(o)return window[o];for(const e in window)try{const n=window[e];if(n?.textDomain===t)return ht[t]=e,n}catch(t){}if(e){const{makeBase64Encoded:n,lazyParse:o=()=>{}}=e,s=Math.random().toString(36),r=function(t,e){return n.indexOf(t)>-1&&"string"==typeof e&&e.startsWith("base64-encoded:")?window.atob(e.substr(15)):e},a=(t,e)=>new Proxy(t,{get(t,n){let o=Reflect.get(t,n);return n===e&&"string"==typeof o&&(o=JSON.parse(o,r),Reflect.set(t,n,o)),o}}),i=document.querySelectorAll('script[type="application/json"][id^="a"][id$="1-js-extra"]');try{for(const e of i){const n=e.innerHTML,i=JSON.parse(n,r);if(i.textDomain===t)return window[s]=i,ht[t]=s,o&&o(i,(t,e,n)=>{try{const o=t[e]?.[n];"string"==typeof o&&(window.Proxy?t[e]=a(t[e],n):t[e][n]=JSON.parse(o,r))}catch(t){}}),i}}catch(t){}}}return n}},594:t=>{t.exports=React}},n={};function o(t){var s=n[t];if(void 0!==s)return s.exports;var r=n[t]={exports:{}};return e[t].call(r.exports,r,r.exports,o),r.exports}o.m=e,t=[],o.O=(e,n,s,r)=>{if(!n){var a=1/0;for(h=0;h<t.length;h++){for(var[n,s,r]=t[h],i=!0,c=0;c<n.length;c++)(!1&r||a>=r)&&Object.keys(o.O).every(t=>o.O[t](n[c]))?n.splice(c--,1):(i=!1,r<a&&(a=r));if(i){t.splice(h--,1);var l=s();void 0!==l&&(e=l)}}return e}r=r||0;for(var h=t.length;h>0&&t[h-1][2]>r;h--)t[h]=t[h-1];t[h]=[n,s,r]},o.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return o.d(e,{a:e}),e},o.d=(t,e)=>{for(var n in e)o.o(e,n)&&!o.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},o.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),o.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},(()=>{var t={57:0};o.O.j=e=>0===t[e];var e=(e,n)=>{var s,r,[a,i,c]=n,l=0;if(a.some(e=>0!==t[e])){for(s in i)o.o(i,s)&&(o.m[s]=i[s]);if(c)var h=c(o)}for(e&&e(n);l<a.length;l++)r=a[l],o.o(t,r)&&t[r]&&t[r][0](),t[r]=0;return o.O(h)},n=self.webpackChunkdevowlWp_utils=self.webpackChunkdevowlWp_utils||[];n.forEach(e.bind(null,0)),n.push=e.bind(null,n.push.bind(n))})();var s=o.O(void 0,[26],()=>o(403));s=o.O(s),devowlWp_utils=s})();
    2 //# sourceMappingURL=https://sourcemap.devowl.io/real-category-library/4.2.64/7928037aba3950d6ea23a35c1df31b03/index.js.map
     1var devowlWp_utils;(()=>{"use strict";var t,e={206:t=>{t.exports=ReactDOM},403:(t,e,n)=>{n.r(e),n.d(e,{AbstractCategory:()=>rt,AbstractCategoryCollection:()=>at,AbstractPost:()=>ot,AbstractPostCollection:()=>st,BATCH_MAX_CHUNK_SIZE:()=>O,BaseOptions:()=>o,ClientCollection:()=>et,ClientModel:()=>nt,RouteHttpVerb:()=>H,SuspenseChunkTranslation:()=>lt,addCorruptRestApi:()=>j,addCorruptRestApiLog:()=>N,applyQueryString:()=>w,batchRequest:()=>k,commonRequest:()=>G,commonUrlBuilder:()=>y,createContextFactory:()=>h,createLocalizationFactory:()=>K,createRequestFactory:()=>J,createRoot:()=>i,getAnonymousLocalizedScript:()=>ut,handleCorrupRestApi:()=>F,handleCorruptRestApi:()=>D,locationRestKeyValueMapPatch:()=>it,locationRestPluginGet:()=>Y,nonceDeprecationPool:()=>$,obfuscatePath:()=>f,parseResult:()=>I,removeCorruptRestApi:()=>_,simpleHash:()=>m,simpleObfuscate:()=>p,sprintf:()=>X,trailingslashit:()=>a,untrailingslashit:()=>r,useChunkTranslation:()=>ct,waitForValidLogin:()=>U});class o{static slugCamelCase(t){return t.replace(/-([a-z])/g,t=>t[1].toUpperCase())}static getPureSlug(t,e=!1){return e?o.slugCamelCase(t):t}}var s=n(578);const r=t=>t.endsWith("/")||t.endsWith("\\")?r(t.slice(0,-1)):t,a=t=>`${r(t)}/`;function i(t){try{return(0,s.H)(t)}catch(e){return{render:e=>window.ReactDOM?.render?.(e,t),unmount:()=>window.ReactDOM?.unmountComponentAtNode?.(t)}}}const c=ReactJSXRuntime;var l=n(594);function h(t){const e=(0,l.createContext)(t);return{StoreContext:e,StoreProvider:({children:n})=>(0,c.jsx)(e.Provider,{value:t,children:n}),useStores:()=>(0,l.useContext)(e)}}var u=n(177),d=function(t){return t.GET="GET",t.POST="POST",t.PUT="PUT",t.PATCH="PATCH",t.DELETE="DELETE",t}(d||{});function p(t,e,n){const o=e.length;if(!/^[a-z0-9]+$/i.test(e))return"";let s="",r=0;const a=t.length;for(let i=0;i<a;i++)if(/[a-z]/i.test(t[i])){const a=t[i]===t[i].toUpperCase()?"A".charCodeAt(0):"a".charCodeAt(0),c=e[(i-r)%o];let l;l=isNaN(parseInt(c,10))?(c.toLowerCase().charCodeAt(0)-a)%26:parseInt(c,10),l=n?l:-l,s+=String.fromCharCode(((t.charCodeAt(i)+l-a)%26+26)%26+a)}else s+=t[i],r++;return s}function f(t,e,n="keep-last-part"){const o=e.split("/").map((e,o,s)=>"keep-last-part"===n&&o===s.length-1?e:p(e,t,!0));return o.splice(o.length-1,0,`${"full"===n?1:0}${t.toString()}`),o.join("/")}function m(t){let e=0;for(const n of t)e=(e<<5>>>0)-e+n.charCodeAt(0),e&=2147483647;return e}function w(t,e,n){const o=n?t.searchParams:new URLSearchParams,s=Array.isArray(e)?e:[e];for(const t of s)for(const[e,n]of Object.entries(t||{}))o.delete(e),Array.isArray(n)?n.forEach(t=>{null!=t&&o.append(`${e}[]`,String(t))}):null!=n&&o.set(e,String(n));return t.search=o.toString(),t}function y({location:t,params:e={},nonce:n=!0,options:o,cookieValueAsParam:s}){const{obfuscatePath:i}=t,{origin:c}=window.location,{restPathObfuscateOffset:l}=o,h=new URL(o.restRoot,c),p=Object.fromEntries(h.searchParams.entries()),y=p.rest_route||h.pathname,{searchParams:g,pathname:b}=new URL(t.path,c),v=Object.fromEntries(g.entries()),P=[],O=b.replace(/:([A-Za-z0-9-_]+)/g,(t,n)=>(P.push(n),e[n]));for(const t of Object.keys(e))-1===P.indexOf(t)&&(v[t]=e[t]);s&&(v._httpCookieInvalidate=`${m(JSON.stringify(s.map(u.A.get)))}`),h.protocol=window.location.protocol;const C=a(y);let S=r(t.namespace||o.restNamespace)+O;l&&i&&(S=f(l,S,i));const E=`${C}${S}`;return p.rest_route?p.rest_route=E:h.pathname=E,n&&o.restNonce&&(p._wpnonce=o.restNonce),w(h,p),["wp-json/","rest_route="].filter(t=>h.toString().indexOf(t)>-1).length>0&&t.method&&t.method!==d.GET&&w(h,[{_method:t.method}],!0),w(h,[o.restQuery,v],!0),h.toString()}var g=n(976),b=n.n(g),v=n(984),P=n.n(v);const O=25;let C,S=[];const E=Promise.resolve();async function T(){S=S.filter(({options:{signal:t,onQueueItemFinished:e,waitForPromise:n=E},reject:o})=>!t?.aborted||(e?.(!1),n.then(()=>o(t.reason)),!1));const t=S.splice(0,O);if(0!==t.length){try{const[{options:e}]=t,{signal:n,onQueueItemFinished:o,waitForPromise:s=E}=e,{responses:r}=await G({location:{path:"/",method:d.POST,namespace:"batch/v1"},options:e,request:{requests:t.map(({request:t})=>t)},settings:{signal:n}});for(let e=0;e<r.length;e++){const{resolve:n,reject:a}=t[e],{body:i,status:c}=r[e],l=c>=200&&c<400;o?.(l),s.then(()=>{l?n(i):a({responseJSON:i})})}}catch(e){for(const{reject:n,options:{onQueueItemFinished:o,waitForPromise:s=E}}of t)o?.(!1),s.then(()=>n(e))}S.length>0&&T()}}function k(t,e){return new Promise((n,o)=>{S.push({resolve:n,reject:o,request:t,options:e}),clearTimeout(C),C=setTimeout(T,100)})}const R="notice-corrupt-rest-api",x="data-namespace";async function A(t,e=async()=>{}){const n=document.getElementById(R);if(n&&window.navigator.onLine){if(n.querySelector(`li[${x}="${t}"]`))return;try{await e()}catch(e){n.style.display="block";const o=document.createElement("li");o.setAttribute(x,t),o.innerHTML=`<code>${t}</code>`,n.childNodes[1].appendChild(o),n.scrollIntoView({behavior:"smooth",block:"end",inline:"nearest"})}}}async function _(t){const e=document.getElementById(R);if(e){const n=e.querySelector(`li[${x}="${t}"]`);if(n?.remove(),!e.childNodes[1].childNodes.length){e.style.display="none";const t=e.querySelector("textarea");t&&(t.value="")}}}function j({method:t},e){t===d.GET&&(e?A(e,()=>{throw new Error}):(window.detectCorruptRestApiFailed=(window.detectCorruptRestApiFailed||0)+1,window.dispatchEvent(new CustomEvent(R))))}function N({route:t,method:e,ms:n,response:o}){const s=document.querySelector(`#${R} textarea`);if(s){const r=s.value.split("\n").slice(0,9);r.unshift(`[${(new Date).toLocaleTimeString()}] [${e||"GET"}] [${n}ms] ${t}; ${o?.substr(0,999)}`),s.value=r.join("\n")}}function D(t){window.detectCorruptRestApiFailed=window.detectCorruptRestApiFailed||0,window.addEventListener("pageshow",({persisted:t})=>{const e=document.getElementById(R);e&&t&&0===window.detectCorruptRestApiFailed&&(e.style.display="none")});const e=async()=>{if(window.detectCorruptRestApiFailed>0)for(const e of Object.keys(t))A(e,t[e])};let n;const o=()=>{clearTimeout(n),n=setTimeout(e,1e3)};o(),window.addEventListener(R,o)}const F=D,L={},q={};async function $(t,e){if(void 0!==e){const n=q[t]||new Promise(async(n,o)=>{try{const s=await window.fetch(e,{method:"POST"});if(s.ok){const e=await s.text();t===e?o():(L[t]=e,n(e))}else o()}catch(t){o()}});return q[t]=n,n.finally(()=>{delete q[t]}),n}{if(void 0===t)return;await Promise.all(Object.values(q));let e=t;for(;L[e]&&(e=L[e],L[e]!==t););return Promise.resolve(e)}}async function I(t,e,n){if(204===e.status)return{};const o=e.clone();try{return await e.json()}catch(e){const s=await o.text();if(""===s&&[d.DELETE,d.PUT].indexOf(n)>-1)return;let r;console.warn(`The response of ${t} contains unexpected JSON, try to resolve the JSON line by line...`,{body:s});for(const t of s.split("\n"))if(t.startsWith("[")||t.startsWith("{"))try{return JSON.parse(t)}catch(t){r=t}throw r}}let M=!1;function U(){const t=window.jQuery;return window.wp?.heartbeat&&t?(t(document).trigger("heartbeat-tick",[{"wp-auth-check":!1},"error",null]),M||(M=!0,t(document).ajaxSend((e,n,{url:o,data:s})=>{o?.endsWith("/admin-ajax.php")&&s?.indexOf("action=heartbeat")>-1&&t("#wp-auth-check:visible").length>0&&n.abort()})),new Promise(e=>{const n=setInterval(()=>{0===t("#wp-auth-check:visible").length&&(clearInterval(n),e())},100)})):new Promise(()=>{})}const z="application/json;charset=utf-8";async function G({location:t,options:e,request:n,params:o,settings:s={},cookieValueAsParam:r,multipart:a=!1,sendRestNonce:i=!0,sendReferer:c,replayReason:l,allowBatchRequest:h}){const{href:u}=window.location,p=t.namespace||e.restNamespace,f=y({location:t,params:o,nonce:!1,options:e,cookieValueAsParam:r});["wp-json/","rest_route="].filter(t=>f.indexOf(t)>-1).length>0&&t.method&&t.method!==d.GET?s.method=d.POST:s.method=t.method||d.GET;const m=new URL(f,u),g=-1===["HEAD","GET"].indexOf(s.method);c&&(g?Object.assign(n,{_wp_http_referer:u}):m.searchParams.set("_wp_http_referer",u)),!g&&n&&w(m,[n],!0);const v=m.toString();let O;g&&(a?(O=P()(n,"boolean"==typeof a?{}:a),Array.from(O.values()).filter(t=>t instanceof File).length>0||(O=JSON.stringify(n))):O=JSON.stringify(n));const C=await $(e.restNonce),S=void 0!==C,E=b().all([s,{headers:{..."string"==typeof O?{"Content-Type":z}:{},...S&&i?{"X-WP-Nonce":C}:{},Accept:"application/json, */*;q=0.1"}}],{isMergeableObject:t=>"[object Object]"===Object.prototype.toString.call(t)});if(E.body=O,h&&t.method!==d.GET&&!(O instanceof FormData))return k({method:t.method,path:y({location:t,params:o,nonce:!1,options:{...e,restRoot:"https://a.de/wp-json"},cookieValueAsParam:r}).substring(20),body:n},{...e,signal:s.signal,..."boolean"==typeof h?{}:h});let T,R=!1;const x=()=>{R=!0};window.addEventListener("pagehide",x),window.addEventListener("beforeunload",x);const A=(new Date).getTime();let D;try{T=await window.fetch(v,E),D=(new Date).getTime()-A,_(p)}catch(e){throw D=(new Date).getTime()-A,R||(N({method:t.method,route:m.pathname,ms:D,response:`${e}`}),j(s,p)),console.error(e),e}finally{window.removeEventListener("pagehide",x),window.removeEventListener("beforeunload",x)}if(!T.ok){let r,c,h=!1;try{if(r=await I(v,T,t.method),"private_site"===r.code&&403===T.status&&S&&!i&&(h=!0,c=1),"rest_cookie_invalid_nonce"===r.code&&S){const{restRecreateNonceEndpoint:t}=e;try{h=!0,2===l?(c=4,await U()):c=2,await $(C,t)}catch(t){}}const n=T.headers.get("retry-after");[503,429,301].includes(T.status)&&n?.match(/^\d+$/)&&(h=1e3*+n,c=3)}catch(t){}if(h){const r={location:t,options:e,multipart:a,params:o,request:n,sendRestNonce:!0,settings:s,replayReason:c};return"number"==typeof h?new Promise(t=>setTimeout(()=>G(r).then(t),h)):await G(r)}N({method:t.method,route:m.pathname,ms:D,response:JSON.stringify(r)}),j(s);const u=T;throw u.responseJSON=r,u}return I(v,T,t.method)}function J(t){return{urlBuilder:e=>y({...e,options:{restNamespace:t.restNamespace,restNonce:t.restNonce,restQuery:t.restQuery,restRoot:t.restRoot,restPathObfuscateOffset:t.restPathObfuscateOffset}}),request:e=>G({...e,options:{restNamespace:t.restNamespace,restNonce:t.restNonce,restQuery:t.restQuery,restRoot:t.restRoot,restRecreateNonceEndpoint:t.restRecreateNonceEndpoint,restPathObfuscateOffset:t.restPathObfuscateOffset}})}}const H=d;var B=n(263);const W=wp.i18n,Q=wp;var V=n.n(Q);function X(t,...e){return W.sprintf(t,...e)}function K(t){const{wpi18nLazy:e}=window;if(e&&e[t]&&V()&&V().i18n)for(const n of e[t])V().i18n.setLocaleData(n,t);return{_n:function(e,n,o,...s){return X(W._n(e,n,o,t),...s)},_nx:function(e,n,o,s,...r){return X(W._nx(e,n,s,o,t),...r)},_x:function(e,n,...o){return X(W._x(e,n,t),...o)},__:function(e,...n){return X(W.__(e,t),...n)},_i:function(t,e){return(0,B.A)({mixedString:t,components:e})}}}const Y={path:"/plugin",method:d.GET};var Z=n(490);const tt=mobx;class et{constructor(){this.entries=new Map,this.busy=!1,this.get=(0,tt.flow)(function*(t){const{request:e,params:n,clear:o=!1}=t||{};this.busy=!0;try{const{path:t,namespace:s}=this.annotated,r=yield this.annotated.request({location:{path:t,method:d.GET,namespace:s},request:e,params:n});o&&this.entries.clear();for(const t of r){const e=this.instance(t),n=this.entries.get(e.key);n?n.data=e.data:this.entries.set(e.key,e)}}catch(t){throw console.log(t),t}finally{this.busy=!1}}),this.getSingle=(0,tt.flow)(function*(t){if(!this.annotated.singlePath)throw new Error("There is no getSingle method allowed");const{request:e,params:n}=t||{};this.busy=!0;try{const{singlePath:t,namespace:o}=this.annotated,s=yield this.annotated.request({location:{path:t,method:d.GET,namespace:o},request:e,params:n}),r=this.instance(s);this.entries.set(r.key,r)}catch(t){throw console.log(t),t}finally{this.busy=!1}}),setTimeout(()=>{this.annotated||console.error("You have not used the @ClientCollection.annotate annoation together with this class!")},0)}static{this.annotate=t=>e=>class extends e{constructor(...e){super(...e),this.annotated=t}}}}(0,Z.Cg)([tt.observable],et.prototype,"entries",void 0),(0,Z.Cg)([tt.observable],et.prototype,"busy",void 0);class nt{get key(){return this.data?.[this.annotated.keyId]}constructor(t,e={}){this.data={},this.busy=!1,this.persist=(0,tt.flow)(function*(t,e){if(!this.annotated.create)throw new Error("There is no persist method allowed");this.busy=!0;try{const{create:{path:n,method:o},namespace:s}=this.annotated,r=yield this.annotated.request({location:{path:n,method:o||d.POST,namespace:s},request:this.transformDataForPersist(),params:t||{},...e||{}});this.fromResponse(r),e?.allowBatchRequest||(this.collection.entries.set(this.key,this),this.afterPersist())}catch(t){throw console.log(t),t}finally{this.busy=!1}}),this.patch=(0,tt.flow)(function*(t){if(!this.annotated.patch)throw new Error("There is no patch method allowed");this.busy=!0;try{const{patch:{path:e,method:n},namespace:o}=this.annotated,s=yield this.annotated.request({location:{path:e,method:n||d.PATCH,namespace:o},request:this.transformDataForPatch(),params:{[this.annotated.keyId]:this.key,...t||{}}});this.fromResponse(s),this.afterPatch()}catch(t){throw console.log(t),t}finally{this.busy=!1}}),this.delete=(0,tt.flow)(function*(t,e){if(!this.annotated.delete)throw new Error("There is no delete method allowed");this.busy=!0;try{const{delete:{path:n,method:o},namespace:s}=this.annotated,r=yield this.annotated.request({location:{path:n,method:o||d.DELETE,namespace:s},params:{[this.annotated.keyId]:this.key,...t||{}},...e||{}});return e?.allowBatchRequest||(this.collection.entries.delete(this.key),this.afterDelete()),r}catch(t){throw console.log(t),t}finally{this.busy=!1}}),setTimeout(()=>{this.annotated||console.error("You have not used the @ClientModel.annotate annoation together with this class!")},0),(0,tt.runInAction)(()=>{this.collection=t,this.data=e})}static{this.annotate=t=>e=>class extends e{constructor(...e){super(...e),this.annotated=t}}}fromResponse(t){return(0,tt.set)(this.data,t),this}transformDataForPersist(){return this.data}transformDataForPatch(){throw new Error("If you want to use patch method, you need to implement transformDataForPatch!")}afterPersist(){}afterPatch(){}afterDelete(){}}(0,Z.Cg)([tt.observable,(0,Z.Sn)("design:type",Object)],nt.prototype,"data",void 0),(0,Z.Cg)([tt.observable,(0,Z.Sn)("design:type",Object)],nt.prototype,"collection",void 0),(0,Z.Cg)([tt.observable],nt.prototype,"busy",void 0),(0,Z.Cg)([tt.computed,(0,Z.Sn)("design:type",Object),(0,Z.Sn)("design:paramtypes",[])],nt.prototype,"key",null);class ot extends nt{transformDataForPersist(){const t={...super.transformDataForPersist()};return t.title="string"==typeof t.title?.raw?t.title.raw:t.title?.rendered,t.content="string"==typeof t.content?.raw?t.content.raw:t.content?.rendered,delete t._links,delete t.link,t}transformDataForPatch(){return this.transformDataForPersist()}}class st extends et{}class rt extends nt{transformDataForPersist(){const t={...super.transformDataForPersist()};return delete t._links,delete t.link,t}transformDataForPatch(){return this.transformDataForPersist()}}class at extends et{}const it={path:"/key-value-map/:name/:key",method:d.PATCH};function ct(t,{chunks:e,chunksLanguageFolder:n,textDomain:o,version:s}){const r=e[t.split("?")[0]],a=!!r,[i,c]=(0,l.useState)(!1),h=(0,l.useCallback)(async t=>{const e=window;e.wpi18nLazy=e.wpi18nLazy||{},e.wpi18nLazy.chunkUrls=e.wpi18nLazy.chunkUrls||[];const{chunkUrls:r}=e.wpi18nLazy,i=`${n}${o}-${t}.json`;if(a&&-1===r.indexOf(i)){r.push(i);try{const t=await window.fetch(`${i}?ver=${s}`),{locale_data:{messages:e}}=await t.json();V().i18n.setLocaleData(e,o)}catch{}}},[n,o]);return(0,l.useEffect)(()=>{a?Promise.all(r.map(h)).then(()=>{c(!0)}):c(!0)},[a,h]),i}const lt=({children:t,chunkFile:e,fallback:n,options:o})=>{const s=ct(e,o());return(0,c.jsx)(c.Fragment,{children:s?t:n})},ht={};function ut(t,e){const n=window[t.replace(/-([a-z])/g,t=>t[1].toUpperCase())],o=ht[t];if(!n){if(o)return window[o];for(const e in window)if(!["sharedStorage"].includes(e))try{const n=window[e];if(n?.textDomain===t)return ht[t]=e,n}catch(t){}if(e){const{makeBase64Encoded:n,lazyParse:o=()=>{}}=e,s=Math.random().toString(36),r=function(t,e){return n.indexOf(t)>-1&&"string"==typeof e&&e.startsWith("base64-encoded:")?window.atob(e.substr(15)):e},a=(t,e)=>new Proxy(t,{get(t,n){let o=Reflect.get(t,n);return n===e&&"string"==typeof o&&(o=JSON.parse(o,r),Reflect.set(t,n,o)),o}}),i=document.querySelectorAll('script[type="application/json"][id^="a"][id$="1-js-extra"]');try{for(const e of i){const n=e.innerHTML,i=JSON.parse(n,r);if(i.textDomain===t)return window[s]=i,ht[t]=s,o&&o(i,(t,e,n)=>{try{const o=t[e]?.[n];"string"==typeof o&&(window.Proxy?t[e]=a(t[e],n):t[e][n]=JSON.parse(o,r))}catch(t){}}),i}}catch(t){}}}return n}},594:t=>{t.exports=React}},n={};function o(t){var s=n[t];if(void 0!==s)return s.exports;var r=n[t]={exports:{}};return e[t].call(r.exports,r,r.exports,o),r.exports}o.m=e,t=[],o.O=(e,n,s,r)=>{if(!n){var a=1/0;for(h=0;h<t.length;h++){for(var[n,s,r]=t[h],i=!0,c=0;c<n.length;c++)(!1&r||a>=r)&&Object.keys(o.O).every(t=>o.O[t](n[c]))?n.splice(c--,1):(i=!1,r<a&&(a=r));if(i){t.splice(h--,1);var l=s();void 0!==l&&(e=l)}}return e}r=r||0;for(var h=t.length;h>0&&t[h-1][2]>r;h--)t[h]=t[h-1];t[h]=[n,s,r]},o.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return o.d(e,{a:e}),e},o.d=(t,e)=>{for(var n in e)o.o(e,n)&&!o.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},o.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),o.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},(()=>{var t={57:0};o.O.j=e=>0===t[e];var e=(e,n)=>{var s,r,[a,i,c]=n,l=0;if(a.some(e=>0!==t[e])){for(s in i)o.o(i,s)&&(o.m[s]=i[s]);if(c)var h=c(o)}for(e&&e(n);l<a.length;l++)r=a[l],o.o(t,r)&&t[r]&&t[r][0](),t[r]=0;return o.O(h)},n=self.webpackChunkdevowlWp_utils=self.webpackChunkdevowlWp_utils||[];n.forEach(e.bind(null,0)),n.push=e.bind(null,n.push.bind(n))})();var s=o.O(void 0,[26],()=>o(403));s=o.O(s),devowlWp_utils=s})();
     2//# sourceMappingURL=https://sourcemap.devowl.io/real-category-library/4.2.69/c0009f4149707e7f0953baad9a53f916/index.js.map
  • real-category-library-lite/trunk/vendor/devowl-wp/utils/package.json

    r3454640 r3491846  
    11{
    22    "name": "@devowl-wp/utils",
    3     "version": "1.20.13",
     3    "version": "1.20.18",
    44    "private": true,
    55    "description": "Utility functionality for all your WordPress plugins.",
  • real-category-library-lite/trunk/vendor/devowl-wp/utils/src/Assets.php

    r3454640 r3491846  
    9898     * @param string[] $features See $ADVANCED_ENQUEUE_FEATURE_* constants or `null` for all features
    9999     * @param string $type Can be `script` or `style`
    100      */
    101     public function enableAdvancedEnqueue($handles, $features = null, $type = 'script')
     100     * @param string[] $preloadChunks Chunks to preload by name
     101     */
     102    public function enableAdvancedEnqueue($handles, $features = null, $type = 'script', $preloadChunks = [])
    102103    {
    103104        $handles = \is_array($handles) ? $handles : [$handles];
     
    114115        }
    115116        if ($features === null || \in_array(Constants::ASSETS_ADVANCED_ENQUEUE_FEATURE_PRELOADING, $features, \true)) {
    116             $this->enablePreloadEnqueue($handles, $type);
     117            $this->enablePreloadEnqueue($handles, $type, $preloadChunks);
    117118        }
    118119        if ($features === null || \in_array(Constants::ASSETS_ADVANCED_ENQUEUE_FEATURE_PRIORITY_QUEUE, $features, \true)) {
     
    179180     * @param string|string[] $handles
    180181     * @param string $type Can be `script` or `style`
     182     * @param string[] $preloadChunks Chunks to preload by name
    181183     * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Preloading_content
    182184     */
    183     public function enablePreloadEnqueue($handles, $type = 'script')
    184     {
     185    public function enablePreloadEnqueue($handles, $type = 'script', $preloadChunks = [])
     186    {
     187        static $preloadedChunks = [];
    185188        $handles = \is_array($handles) ? $handles : [$handles];
    186189        $wp_dependencies = $type === 'script' ? \wp_scripts() : \wp_styles();
     
    188191            $this->handleToFeatures[$handle] = \array_merge($this->handleToFeatures[$handle] ?? [], [Constants::ASSETS_ADVANCED_ENQUEUE_FEATURE_PRELOADING]);
    189192        }
    190         \add_action('wp_head', function () use($handles, $type, $wp_dependencies) {
     193        \add_action('wp_head', function () use($handles, $type, $wp_dependencies, $preloadChunks, &$preloadedChunks) {
    191194            foreach ($handles as $handle) {
    192195                $script = $wp_dependencies->query($handle);
     
    203206                    \printf('<link rel="preload" href="%s" as="%s" />
    204207', \esc_url($src), $type);
     208                    // Add chunk preloads if desired
     209                    $chunks = $wp_dependencies->get_data($handle, 'chunks');
     210                    if ($chunks) {
     211                        foreach ($chunks as $chunkName => $chunkUrl) {
     212                            if (!\in_array($chunkName, $preloadChunks, \true) || \in_array($chunkUrl, $preloadedChunks, \true)) {
     213                                continue;
     214                            }
     215                            $chunkUrl = \apply_filters('script_loader_src', $chunkUrl, $handle);
     216                            $preloadedChunks[] = $chunkUrl;
     217                            \printf('<link rel="preload" href="%s" as="%s" />
     218', \esc_url($chunkUrl), 'script');
     219                        }
     220                    }
    205221                }
    206222            }
     
    258274        }
    259275        return (object) $result;
     276    }
     277    /**
     278     * Get a map of all entry chunks manifests for all entry points.
     279     */
     280    public function getChunkEntryChunksManifest()
     281    {
     282        $path = \trailingslashit($this->getPluginConstant(Constants::PLUGIN_CONST_PATH));
     283        static $chunkEntryChunksManifest = null;
     284        if ($chunkEntryChunksManifest === null) {
     285            $chunkEntryChunksManifest = [];
     286            $chunkEntryChunksManifestFiles = \glob($path . $this->getPublicFolder() . '*-entry-chunks-manifest.json');
     287            if ($chunkEntryChunksManifestFiles !== \false) {
     288                foreach ($chunkEntryChunksManifestFiles as $chunkEntryChunksManifestFile) {
     289                    $decoded = \json_decode(\file_get_contents($chunkEntryChunksManifestFile), ARRAY_A);
     290                    if (\is_array($decoded)) {
     291                        $chunkEntryChunksManifest = \array_merge($chunkEntryChunksManifest, $decoded);
     292                    }
     293                }
     294            }
     295        }
     296        return $chunkEntryChunksManifest ?? [];
    260297    }
    261298    /**
     
    418455                    if (!$isLib) {
    419456                        $this->setLazyScriptTranslations($useHandle, $this->getPluginConstant(Constants::PLUGIN_CONST_TEXT_DOMAIN), \trailingslashit($this->getPluginConstant(Constants::PLUGIN_CONST_PATH)) . Constants::LOCALIZATION_PUBLIC_JSON_I18N);
     457                        // Add data about the available chunks for this entry point
     458                        $chunkEntryChunksManifest = $this->getChunkEntryChunksManifest()[\basename($useSrc)] ?? [];
     459                        if (\count($chunkEntryChunksManifest) > 0) {
     460                            $resolvedUrls = [];
     461                            foreach ($chunkEntryChunksManifest as $chunkName => $chunks) {
     462                                foreach ($chunks as $chunk) {
     463                                    // Can be e. g. `banner_tcf-pro-banner-lazy.pro.js?ver=cc803dc7507dbd12` or a `.css` file
     464                                    if (\strpos($chunk, '.js') !== \false) {
     465                                        $resolvedUrls[$chunkName] = \plugins_url($publicFolder . $chunk, $this->getPluginConstant(Constants::PLUGIN_CONST_FILE));
     466                                        break;
     467                                        // Only keep the first .js file per chunk name
     468                                    }
     469                                }
     470                            }
     471                            \wp_script_add_data($useHandle, 'chunks', $resolvedUrls);
     472                        }
    420473                    }
    421474                } else {
  • real-category-library-lite/trunk/vendor/devowl-wp/utils/src/FixInvalidJsonInDb.php

    r3288243 r3491846  
    114114            }
    115115            if ($changed) {
    116                 return $check;
     116                return $single ? [$check] : $check;
    117117            }
    118118        }
Note: See TracChangeset for help on using the changeset viewer.