cob-cli 2.25.0 → 2.26.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (215) hide show
  1. package/bin/cob-cli.js +3 -1
  2. package/bin/handleAutoComplete.js +1 -4
  3. package/lib/commands/customize.js +213 -66
  4. package/package.json +3 -2
  5. package/.vscode/launch.json +0 -106
  6. package/customizations/backend.email.js +0 -10
  7. package/customizations/backend.js +0 -14
  8. package/customizations/backend.updateField.js +0 -11
  9. package/customizations/backend.vuepress.js +0 -35
  10. package/customizations/dashboard.dash.js +0 -14
  11. package/customizations/dashboard.js +0 -14
  12. package/customizations/dashboard.simple.js +0 -12
  13. package/customizations/dashboard.vue.empty.js +0 -12
  14. package/customizations/dashboard.vue.grid.js +0 -10
  15. package/customizations/dashboard.vue.js +0 -14
  16. package/customizations/dashboard.vue.menuAndGrid.js +0 -10
  17. package/customizations/frontend.common.js +0 -16
  18. package/customizations/frontend.easy.js +0 -16
  19. package/customizations/frontend.formatList.currency.js +0 -17
  20. package/customizations/frontend.formatList.js +0 -13
  21. package/customizations/frontend.js +0 -14
  22. package/customizations/importer.js +0 -10
  23. package/customizations/keywords.audit.js +0 -18
  24. package/customizations/keywords.calc.js +0 -18
  25. package/customizations/keywords.image.js +0 -16
  26. package/customizations/keywords.js +0 -17
  27. package/customizations/keywords.kibana.js +0 -16
  28. package/customizations/keywords.log.js +0 -18
  29. package/customizations/keywords.styleResults.js +0 -18
  30. package/templates/backend/vuepress/integrationm/actions/getVuePressDoc.groovy +0 -74
  31. package/templates/backend/vuepress/integrationm/actions/getVuePressSidebarConfig.groovy +0 -42
  32. package/templates/backend/vuepress/integrationm/actions/getVuePressSidebarRootElements.groovy +0 -17
  33. package/templates/backend/vuepress/others/vuepress/definition_contents_v234.json +0 -619
  34. package/templates/backend/vuepress/others/vuepress/nginx/README.md +0 -28
  35. package/templates/backend/vuepress/others/vuepress/package-lock.json +0 -29656
  36. package/templates/backend/vuepress/others/vuepress/package.json +0 -24
  37. package/templates/backend/vuepress/others/vuepress/src/.vuepress/components/DescriptVideo.vue +0 -22
  38. package/templates/backend/vuepress/others/vuepress/src/.vuepress/components/Graph.vue +0 -124
  39. package/templates/backend/vuepress/others/vuepress/src/.vuepress/components/ReadingTime.vue +0 -26
  40. package/templates/backend/vuepress/others/vuepress/src/.vuepress/components/References.vue +0 -228
  41. package/templates/backend/vuepress/others/vuepress/src/.vuepress/components/RestrictedContent.vue +0 -77
  42. package/templates/backend/vuepress/others/vuepress/src/.vuepress/config.js +0 -101
  43. package/templates/backend/vuepress/others/vuepress/src/.vuepress/config.json +0 -31
  44. package/templates/backend/vuepress/others/vuepress/src/.vuepress/enhanceApp.js +0 -14
  45. package/templates/backend/vuepress/others/vuepress/src/.vuepress/nav/getNavTranslated.js +0 -52
  46. package/templates/backend/vuepress/others/vuepress/src/.vuepress/plugins/References.js +0 -96
  47. package/templates/backend/vuepress/others/vuepress/src/.vuepress/public/Logo-Cult-of-Bits-400x400-1.png +0 -0
  48. package/templates/backend/vuepress/others/vuepress/src/.vuepress/public/favicon-cob.png +0 -0
  49. package/templates/backend/vuepress/others/vuepress/src/.vuepress/public/logo.png +0 -0
  50. package/templates/backend/vuepress/others/vuepress/src/.vuepress/styles/index.styl +0 -39
  51. package/templates/backend/vuepress/others/vuepress/src/.vuepress/styles/palette.styl +0 -17
  52. package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/LICENSE +0 -21
  53. package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/README.md +0 -11
  54. package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/components/AlgoliaSearchBox.vue +0 -172
  55. package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/components/DropdownLink.vue +0 -252
  56. package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/components/DropdownTransition.vue +0 -33
  57. package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/components/Home.vue +0 -134
  58. package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/components/NavLink.vue +0 -98
  59. package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/components/NavLinks.vue +0 -165
  60. package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/components/Navbar.vue +0 -140
  61. package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/components/Page.vue +0 -31
  62. package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/components/PageEdit.vue +0 -119
  63. package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/components/PageNav.vue +0 -163
  64. package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/components/Sidebar.vue +0 -64
  65. package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/components/SidebarButton.vue +0 -40
  66. package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/components/SidebarGroup.vue +0 -144
  67. package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/components/SidebarLink.vue +0 -140
  68. package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/components/SidebarLinks.vue +0 -114
  69. package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/global-components/Badge.vue +0 -44
  70. package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/global-components/CodeBlock.vue +0 -41
  71. package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/global-components/CodeGroup.vue +0 -120
  72. package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/index.js +0 -59
  73. package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/layouts/404.vue +0 -30
  74. package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/layouts/Layout.vue +0 -151
  75. package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/noopModule.js +0 -1
  76. package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/package.json +0 -44
  77. package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/styles/arrow.styl +0 -22
  78. package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/styles/code.styl +0 -137
  79. package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/styles/config.styl +0 -1
  80. package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/styles/custom-blocks.styl +0 -44
  81. package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/styles/index.styl +0 -202
  82. package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/styles/mobile.styl +0 -37
  83. package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/styles/toc.styl +0 -3
  84. package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/styles/wrapper.styl +0 -10
  85. package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/util/index.js +0 -244
  86. package/templates/dashboards/cob-dashboard-html/demoDashboard.html +0 -18
  87. package/templates/dashboards/cob-dashboard-vue/package-lock.json +0 -25020
  88. package/templates/dashboards/cob-dashboard-vue/package.json +0 -21
  89. package/templates/dashboards/cob-dashboard-vue/src/App.vue +0 -26
  90. package/templates/dashboards/cob-dashboard-vue/src/dashboard.html +0 -31
  91. package/templates/dashboards/cob-dashboard-vue/src/main.js +0 -12
  92. package/templates/dashboards/cob-dashboard-vue/src/plugins/cobUiVueComponents.js +0 -6
  93. package/templates/dashboards/cob-dashboard-vue/src/plugins/vuetify.js +0 -9
  94. package/templates/dashboards/cob-dashboard-vue/vue.config.js +0 -104
  95. package/templates/dashboards/dash/dist/css/app.7b16c01a.css +0 -11
  96. package/templates/dashboards/dash/dist/dashboard.html +0 -25
  97. package/templates/dashboards/dash/dist/fonts/fa-brands-400.a78ffbbe.ttf +0 -0
  98. package/templates/dashboards/dash/dist/fonts/fa-brands-400.cd2b4095.woff2 +0 -0
  99. package/templates/dashboards/dash/dist/fonts/fa-regular-400.b1a1bebb.ttf +0 -0
  100. package/templates/dashboards/dash/dist/fonts/fa-regular-400.e8a1ba41.woff2 +0 -0
  101. package/templates/dashboards/dash/dist/fonts/fa-solid-900.55b416a8.woff2 +0 -0
  102. package/templates/dashboards/dash/dist/fonts/fa-solid-900.73820155.ttf +0 -0
  103. package/templates/dashboards/dash/dist/fonts/fa-v4compatibility.0d6f5f18.ttf +0 -0
  104. package/templates/dashboards/dash/dist/fonts/fa-v4compatibility.786e6b33.woff2 +0 -0
  105. package/templates/dashboards/dash/dist/js/app.13b950c8.js +0 -199
  106. package/templates/dashboards/dash/dist/js/app.13b950c8.js.map +0 -1
  107. package/templates/dashboards/dash/package-lock.json +0 -22646
  108. package/templates/dashboards/dash/package.json +0 -27
  109. package/templates/dashboards/dash/src/App.vue +0 -124
  110. package/templates/dashboards/dash/src/assets/css/all.min.css +0 -6
  111. package/templates/dashboards/dash/src/assets/webfonts/fa-brands-400.ttf +0 -0
  112. package/templates/dashboards/dash/src/assets/webfonts/fa-brands-400.woff2 +0 -0
  113. package/templates/dashboards/dash/src/assets/webfonts/fa-regular-400.ttf +0 -0
  114. package/templates/dashboards/dash/src/assets/webfonts/fa-regular-400.woff2 +0 -0
  115. package/templates/dashboards/dash/src/assets/webfonts/fa-solid-900.ttf +0 -0
  116. package/templates/dashboards/dash/src/assets/webfonts/fa-solid-900.woff2 +0 -0
  117. package/templates/dashboards/dash/src/assets/webfonts/fa-v4compatibility.ttf +0 -0
  118. package/templates/dashboards/dash/src/assets/webfonts/fa-v4compatibility.woff2 +0 -0
  119. package/templates/dashboards/dash/src/collector.js +0 -222
  120. package/templates/dashboards/dash/src/components/Attention.vue +0 -30
  121. package/templates/dashboards/dash/src/components/Board.vue +0 -35
  122. package/templates/dashboards/dash/src/components/Calendar.vue +0 -422
  123. package/templates/dashboards/dash/src/components/Dashboard.vue +0 -27
  124. package/templates/dashboards/dash/src/components/Filter.vue +0 -68
  125. package/templates/dashboards/dash/src/components/Kibana.vue +0 -138
  126. package/templates/dashboards/dash/src/components/Label.vue +0 -15
  127. package/templates/dashboards/dash/src/components/Menu.vue +0 -44
  128. package/templates/dashboards/dash/src/components/Totals.vue +0 -49
  129. package/templates/dashboards/dash/src/components/TotalsValue.vue +0 -59
  130. package/templates/dashboards/dash/src/components/shared/Instance.vue +0 -64
  131. package/templates/dashboards/dash/src/components/shared/Waiting.vue +0 -25
  132. package/templates/dashboards/dash/src/dashboard.html +0 -39
  133. package/templates/dashboards/dash/src/definition_dashboard_v0.json +0 -924
  134. package/templates/dashboards/dash/src/definition_dashboard_v1.json +0 -1
  135. package/templates/dashboards/dash/src/input.css +0 -9
  136. package/templates/dashboards/dash/src/main.js +0 -11
  137. package/templates/dashboards/dash/src/model/ComponentStatePersistence.js +0 -66
  138. package/templates/dashboards/dash/src/output.css +0 -314245
  139. package/templates/dashboards/dash/src/test_collector.js +0 -3719
  140. package/templates/dashboards/dash/src/utils/EsInstanceUtils.js +0 -8
  141. package/templates/dashboards/dash/tailwind.config.js +0 -12
  142. package/templates/dashboards/dash/vue.config.js +0 -104
  143. package/templates/frontend/common/templates/frontend/common/css/_dualColumn.css +0 -46
  144. package/templates/frontend/common/templates/frontend/common/css/_global.css +0 -19
  145. package/templates/frontend/common/templates/frontend/common/css/_hidden.css +0 -13
  146. package/templates/frontend/common/templates/frontend/common/css/_history.css +0 -13
  147. package/templates/frontend/common/templates/frontend/common/css/_mobile.css +0 -125
  148. package/templates/frontend/common/templates/frontend/common/css/customizations.__MERGE__.css +0 -5
  149. package/templates/frontend/common/templates/frontend/common/js/cob/_disable_save_onSubdetail.js +0 -11
  150. package/templates/frontend/common/templates/frontend/common/js/cob/_group_references.js +0 -22
  151. package/templates/frontend/common/templates/frontend/common/js/cob/_show_hidden.js +0 -35
  152. package/templates/frontend/common/templates/frontend/common/js/customizations2.__MERGE__.js +0 -3
  153. package/templates/frontend/common/templates/frontend/common/package.json +0 -3
  154. package/templates/frontend/easy/css/_easy/googlefonts.css +0 -360
  155. package/templates/frontend/easy/css/_easy/vuetify.cob-scoped.css +0 -10488
  156. package/templates/frontend/easy/js/_easy/lib/axios.min.js +0 -9
  157. package/templates/frontend/easy/js/_easy/lib/marked.min.js +0 -6
  158. package/templates/frontend/easy/js/_easy/lib/vue.js +0 -11912
  159. package/templates/frontend/easy/js/_easy/lib/vue.min.js +0 -6
  160. package/templates/frontend/easy/js/_easy/lib/vuetify.min.js +0 -6
  161. package/templates/frontend/easy/js/customizations2.__MERGE__.js +0 -22
  162. package/templates/frontend/easy/webapp/.browserslistrc +0 -2
  163. package/templates/frontend/easy/webapp/.eslintrc.js +0 -17
  164. package/templates/frontend/easy/webapp/README.md +0 -60
  165. package/templates/frontend/easy/webapp/babel.config.js +0 -5
  166. package/templates/frontend/easy/webapp/dist/css/app.a4fb91f8.css +0 -1
  167. package/templates/frontend/easy/webapp/dist/dashboard.html +0 -13
  168. package/templates/frontend/easy/webapp/dist/js/app.63a57dcd.js +0 -2
  169. package/templates/frontend/easy/webapp/dist/js/app.63a57dcd.js.map +0 -1
  170. package/templates/frontend/easy/webapp/package-lock.json +0 -32986
  171. package/templates/frontend/easy/webapp/package.json +0 -32
  172. package/templates/frontend/easy/webapp/postcss.config.js +0 -5
  173. package/templates/frontend/easy/webapp/public/dashboard.html +0 -13
  174. package/templates/frontend/easy/webapp/src/App.vue +0 -181
  175. package/templates/frontend/easy/webapp/src/assets/logo.png +0 -0
  176. package/templates/frontend/easy/webapp/src/components/HelloWorld.vue +0 -59
  177. package/templates/frontend/easy/webapp/src/components/PermBuilder.vue +0 -163
  178. package/templates/frontend/easy/webapp/src/components/PlanExecutor.vue +0 -225
  179. package/templates/frontend/easy/webapp/src/components/ProductPermBuilder.vue +0 -95
  180. package/templates/frontend/easy/webapp/src/components/RmDefinitionChooser.vue +0 -59
  181. package/templates/frontend/easy/webapp/src/components/RmDomainChooser.vue +0 -60
  182. package/templates/frontend/easy/webapp/src/components/RoleBuilder.vue +0 -73
  183. package/templates/frontend/easy/webapp/src/main.js +0 -19
  184. package/templates/frontend/easy/webapp/src/perm-templates.js +0 -189
  185. package/templates/frontend/easy/webapp/src/perms.js +0 -197
  186. package/templates/frontend/easy/webapp/vue.config.js +0 -66
  187. package/templates/frontend/formatList/currency/css/_format_currency.css +0 -11
  188. package/templates/frontend/formatList/currency/css/customizations.__MERGE__.css +0 -1
  189. package/templates/frontend/formatList/currency/js/cob/_format_currency.js +0 -11
  190. package/templates/frontend/formatList/currency/js/customizations2.__MERGE__.js +0 -1
  191. package/templates/frontend/formatList/currency/package.json +0 -3
  192. package/templates/gitignore +0 -14
  193. package/templates/keywords/audit/backend/scripts/_audit.groovy +0 -78
  194. package/templates/keywords/audit/frontend/js/cob/_audit.js +0 -24
  195. package/templates/keywords/audit/frontend/js/customizations2.__MERGE__.js +0 -1
  196. package/templates/keywords/audit/package.json +0 -3
  197. package/templates/keywords/calc/backend/scripts/_calc.groovy +0 -151
  198. package/templates/keywords/calc/frontend/js/cob/_calc.js +0 -193
  199. package/templates/keywords/calc/frontend/js/customizations2.__MERGE__.js +0 -1
  200. package/templates/keywords/calc/package.json +0 -3
  201. package/templates/keywords/image/frontend/js/cob/_image.js +0 -30
  202. package/templates/keywords/image/frontend/js/customizations2.__MERGE__.js +0 -1
  203. package/templates/keywords/image/package.json +0 -3
  204. package/templates/keywords/kibana/frontend/js/cob/_kibana.js +0 -58
  205. package/templates/keywords/kibana/frontend/js/customizations2.__MERGE__.js +0 -1
  206. package/templates/keywords/kibana/package.json +0 -3
  207. package/templates/keywords/log/backend/scripts/_log.groovy +0 -95
  208. package/templates/keywords/log/frontend/css/_log.css +0 -5
  209. package/templates/keywords/log/frontend/css/customizations.__MERGE__.css +0 -1
  210. package/templates/keywords/log/package.json +0 -3
  211. package/templates/keywords/styleResults/frontend/css/_styleResults.css +0 -86
  212. package/templates/keywords/styleResults/frontend/css/customizations.__MERGE__.css +0 -1
  213. package/templates/keywords/styleResults/frontend/js/cob/_styleResults.js +0 -38
  214. package/templates/keywords/styleResults/frontend/js/customizations2.__MERGE__.js +0 -1
  215. package/templates/keywords/styleResults/package.json +0 -3
@@ -1,22 +0,0 @@
1
- cob.custom.customize.push(function(core, utils, ui){
2
- function loadComponents() {
3
- cob.custom.loaded = true;
4
-
5
- utils.loadCSS("localresource/css/_easy/vuetify.cob-scoped.css");
6
- utils.loadCSS("localresource/css/_easy/googlefonts.css");
7
-
8
- utils.loadScript("localresource/js/_easy/lib/axios.min.js", function () { });
9
- utils.loadScript("localresource/js/_easy/lib/marked.min.js", function () {} );
10
- utils.loadScript("localresource/js/_easy/lib/vue.js", function () {
11
- // tem que ser carregado depois de já haver Vue
12
- utils.loadScript("localresource/js/_easy/lib/vuetify.min.js", function () {});
13
- });
14
- }
15
-
16
- if(core.getGroups() && core.getGroups().length > 0){
17
- if(!cob.custom.loaded) loadComponents();
18
- } else core.subscribe("updated-app-info", function () {
19
- if(core.getGroups() && !cob.custom.loaded) loadComponents();
20
- });
21
-
22
- });
@@ -1,2 +0,0 @@
1
- > 1%
2
- last 2 versions
@@ -1,17 +0,0 @@
1
- module.exports = {
2
- root: true,
3
- env: {
4
- node: true
5
- },
6
- 'extends': [
7
- 'plugin:vue/essential',
8
- 'eslint:recommended'
9
- ],
10
- rules: {
11
- 'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
12
- 'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off'
13
- },
14
- parserOptions: {
15
- parser: 'babel-eslint'
16
- }
17
- }
@@ -1,60 +0,0 @@
1
- # userm-easy
2
-
3
- Dashboard experimental para testar formas simplificadas de configurar perms e roles no UserM.
4
-
5
- ## Instalar numa nova máquina
6
-
7
- 1. upgrade UserM
8
-
9
- Acrescenta a permissão que permite consultar dashboards.
10
-
11
- Tem que ser uma versão depois do `007966a3bae` (2019-10-23)
12
-
13
-
14
- 2. upgrade ui-userm
15
-
16
- Acrescenta arranque do módulo CustomResource.
17
-
18
- Tem que ser posterior ao `beddabc55` (2019-10-30)
19
-
20
-
21
- 3. configuração UserM
22
-
23
- O UserM, ao contrário do RecordM, não vem com as CustomUI ligadas por default.
24
-
25
- É necessário editar o `/etc/userm/services/com.cultofbits.web.integration.properties` e acrescentar:
26
-
27
- custom-ui.base-path=/etc/userm/customUI
28
-
29
-
30
- 4. deploy dos ui-vue-componentes
31
-
32
- ver https://github.com/cob/ui-vue-components sem esquecer a parte de criar o `customizations2.js`
33
-
34
- Nota: como algumas das directorias de destino não devem existir no UserM, é normalmente necessário ir correndo e criando as directorias que faltam até que deixe de dar erro.
35
-
36
-
37
- 5. deploy do dashboard
38
-
39
- Neste momento é necessário alterar o `package.json` para colocar o servidor destino.
40
-
41
- Antes do deploy, será preciso:
42
-
43
- * instalar as dependências, caso ainda não o tenham feito, com o `npm install`
44
- * fazer build com `npm run build`
45
-
46
- Por fim:
47
-
48
- `npm run dist`
49
-
50
-
51
- ## Correr localmente
52
-
53
- Nota: mesmo para correr localmente, os pontos 1 a 4 da instalação numa máquina nova têm que ser seguidos.
54
-
55
- 1. executar `npm run serve --remote-server=https://<um-servidos-qualquer>.cultofbits.com`
56
-
57
- 2. aceder a http://localhost:8080/userm/index.html#/cob.custom-resource/easy/easy
58
-
59
-
60
-
@@ -1,5 +0,0 @@
1
- module.exports = {
2
- presets: [
3
- '@vue/app'
4
- ]
5
- }
@@ -1 +0,0 @@
1
- .state-new[data-v-29520b54]{color:green}.state-existing[data-v-29520b54]{color:grey}.state-error[data-v-29520b54]{color:red}code[data-v-29520b54],div[data-v-29520b54],span[data-v-29520b54]{font-size:1em}#app{font-family:Avenir,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;//text-align:center;color:#2c3e50;font-size:1.2em}#app .v-input .v-select__selection,#app .v-input input,#app .v-input textarea{font-size:.9em;min-height:-webkit-fit-content;min-height:-moz-fit-content;min-height:fit-content}.cobcomponent.board{text-align:left;background-color:#fffcfc;border-style:solid;border-color:#bbb;border-width:1px;display:grid;grid-template-columns:20px auto auto;-ms-flex-line-pack:start;align-content:start;padding:5px;color:#474747;-webkit-transition:background-color .5s linear;transition:background-color .5s linear}.cobcomponent.board.flash{background-color:#fdeac0!important;-webkit-transition:background-color .2s linear;transition:background-color .2s linear}span .cob-cell{overflow:hidden;text-overflow:ellipsis;line-height:23px}[class*=center_]{grid-column:1/-1}[class*=action_]{grid-column:1;padding-top:1px}[class*=left_]{text-align:left;white-space:nowrap;grid-column:2}[class*=right_]{text-align:right;grid-column:3}[class*=right_]>span{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;padding:2px 4px 1px 4px;margin-right:4px;font-size:11px;font-weight:700;line-height:14px;vertical-align:baseline;width:-webkit-min-content;width:-moz-min-content;width:min-content;border-radius:3px;text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#aaa}.center_Header{text-align:center;font-size:20px;font-weight:500;line-height:27px;letter-spacing:.02em;margin-bottom:3px}.left_Title{font-size:larger;font-weight:400}.left_Subtitle{font-size:smaller;font-weight:300;margin-left:25px}.action_Add i{color:#468847}.material-icons.md-18{font-size:18px}.right_Info>span{background-color:#3a87ad}.right_Warning>span{background-color:#f89406}.right_Important>span{background-color:#b94a48}.right_Success>span{background-color:#468847}.right_Success1>span{background-color:#5b892c}.right_Success2>span{background-color:#70b02d}.right_Success3>span{background-color:#75c720}.right_Success4>span{background-color:#71da02}.right_Success5>span{background-color:#71fa02}.right_Plain>span{background-color:transparent;margin-right:0}[class*=right_]>span>a{color:#fff;text-decoration:none}.right_Plain>span>a{color:#888;text-decoration:none;font-size:14px;font-weight:400}.fade-enter-active,.fade-leave-active{-webkit-transition:opacity .9s;transition:opacity .9s}.fade-enter,.fade-leave-to{opacity:0}.active_alert{position:absolute;margin-top:-13px;margin-left:6px;font-weight:700;font-size:12px}.v-progress-circular{position:relative;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;vertical-align:middle}.v-progress-circular svg{width:100%;height:100%;margin:auto;position:absolute;top:0;bottom:0;left:0;right:0;z-index:0}.v-progress-circular--indeterminate svg{-webkit-animation:progress-circular-rotate 1.4s linear infinite;animation:progress-circular-rotate 1.4s linear infinite;-webkit-transform-origin:center center;transform-origin:center center;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.v-progress-circular--indeterminate .v-progress-circular__overlay{-webkit-animation:progress-circular-dash 1.4s ease-in-out infinite;animation:progress-circular-dash 1.4s ease-in-out infinite;stroke-linecap:round;stroke-dasharray:80,200;stroke-dashoffset:0px}.v-progress-circular__underlay{stroke:rgba(0,0,0,.1);z-index:1}.v-progress-circular__overlay{stroke:currentColor;z-index:2;-webkit-transition:all .6s ease-in-out;transition:all .6s ease-in-out}.v-progress-circular__info{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}@-webkit-keyframes progress-circular-dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0px}50%{stroke-dasharray:100,200;stroke-dashoffset:-15px}to{stroke-dasharray:100,200;stroke-dashoffset:-125px}}@keyframes progress-circular-dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0px}50%{stroke-dasharray:100,200;stroke-dashoffset:-15px}to{stroke-dasharray:100,200;stroke-dashoffset:-125px}}@-webkit-keyframes progress-circular-rotate{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes progress-circular-rotate{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.v-progress-circular[data-v-5a807bbe]{font-size:8px;border-radius:9px;cursor:pointer}.gridlast[data-v-5a807bbe]{grid-row-end:-1/1}
@@ -1,13 +0,0 @@
1
-
2
- <link href="localresource/easy/dist/css/app.a4fb91f8.css" rel="stylesheet">
3
-
4
-
5
- <div id="userm-easy"></div>
6
-
7
- <script>
8
- cob.utils.afterDeps([ 'Vue', 'Vuetify', 'axios', 'marked' ], function() {
9
-
10
- cob.utils.loadScript('localresource/easy/dist/js/app.63a57dcd.js');
11
-
12
- })
13
- </script>
@@ -1,2 +0,0 @@
1
- (function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="localresource/easy/dist/",n(n.s=0)})({0:function(e,t,n){e.exports=n("56d7")},"014b":function(e,t,n){"use strict";var r=n("e53d"),i=n("07e3"),o=n("8e60"),a=n("63b6"),s=n("9138"),c=n("ebfd").KEY,u=n("294c"),l=n("dbdb"),f=n("45f2"),d=n("62a0"),p=n("5168"),m=n("ccb9"),h=n("6718"),v=n("47ee"),b=n("9003"),y=n("e4ae"),g=n("f772"),_=n("241e"),x=n("36c3"),$=n("1bc3"),w=n("aebd"),E=n("a159"),S=n("0395"),D=n("bf0b"),I=n("9aa9"),R=n("d9f6"),T=n("c3a1"),M=D.f,O=R.f,P=S.f,k=r.Symbol,N=r.JSON,F=N&&N.stringify,A="prototype",L=p("_hidden"),j=p("toPrimitive"),C={}.propertyIsEnumerable,U=l("symbol-registry"),B=l("symbols"),q=l("op-symbols"),V=Object[A],G="function"==typeof k&&!!I.f,z=r.QObject,Q=!z||!z[A]||!z[A].findChild,Y=o&&u((function(){return 7!=E(O({},"a",{get:function(){return O(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=M(V,t);r&&delete V[t],O(e,t,n),r&&e!==V&&O(V,t,r)}:O,W=function(e){var t=B[e]=E(k[A]);return t._k=e,t},J=G&&"symbol"==typeof k.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof k},H=function(e,t,n){return e===V&&H(q,t,n),y(e),t=$(t,!0),y(n),i(B,t)?(n.enumerable?(i(e,L)&&e[L][t]&&(e[L][t]=!1),n=E(n,{enumerable:w(0,!1)})):(i(e,L)||O(e,L,w(1,{})),e[L][t]=!0),Y(e,t,n)):O(e,t,n)},X=function(e,t){y(e);var n,r=v(t=x(t)),i=0,o=r.length;while(o>i)H(e,n=r[i++],t[n]);return e},K=function(e,t){return void 0===t?E(e):X(E(e),t)},Z=function(e){var t=C.call(this,e=$(e,!0));return!(this===V&&i(B,e)&&!i(q,e))&&(!(t||!i(this,e)||!i(B,e)||i(this,L)&&this[L][e])||t)},ee=function(e,t){if(e=x(e),t=$(t,!0),e!==V||!i(B,t)||i(q,t)){var n=M(e,t);return!n||!i(B,t)||i(e,L)&&e[L][t]||(n.enumerable=!0),n}},te=function(e){var t,n=P(x(e)),r=[],o=0;while(n.length>o)i(B,t=n[o++])||t==L||t==c||r.push(t);return r},ne=function(e){var t,n=e===V,r=P(n?q:x(e)),o=[],a=0;while(r.length>a)!i(B,t=r[a++])||n&&!i(V,t)||o.push(B[t]);return o};G||(k=function(){if(this instanceof k)throw TypeError("Symbol is not a constructor!");var e=d(arguments.length>0?arguments[0]:void 0),t=function(n){this===V&&t.call(q,n),i(this,L)&&i(this[L],e)&&(this[L][e]=!1),Y(this,e,w(1,n))};return o&&Q&&Y(V,e,{configurable:!0,set:t}),W(e)},s(k[A],"toString",(function(){return this._k})),D.f=ee,R.f=H,n("6abf").f=S.f=te,n("355d").f=Z,I.f=ne,o&&!n("b8e3")&&s(V,"propertyIsEnumerable",Z,!0),m.f=function(e){return W(p(e))}),a(a.G+a.W+a.F*!G,{Symbol:k});for(var re="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ie=0;re.length>ie;)p(re[ie++]);for(var oe=T(p.store),ae=0;oe.length>ae;)h(oe[ae++]);a(a.S+a.F*!G,"Symbol",{for:function(e){return i(U,e+="")?U[e]:U[e]=k(e)},keyFor:function(e){if(!J(e))throw TypeError(e+" is not a symbol!");for(var t in U)if(U[t]===e)return t},useSetter:function(){Q=!0},useSimple:function(){Q=!1}}),a(a.S+a.F*!G,"Object",{create:K,defineProperty:H,defineProperties:X,getOwnPropertyDescriptor:ee,getOwnPropertyNames:te,getOwnPropertySymbols:ne});var se=u((function(){I.f(1)}));a(a.S+a.F*se,"Object",{getOwnPropertySymbols:function(e){return I.f(_(e))}}),N&&a(a.S+a.F*(!G||u((function(){var e=k();return"[null]"!=F([e])||"{}"!=F({a:e})||"{}"!=F(Object(e))}))),"JSON",{stringify:function(e){var t,n,r=[e],i=1;while(arguments.length>i)r.push(arguments[i++]);if(n=t=r[1],(g(t)||void 0!==e)&&!J(e))return b(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!J(t))return t}),r[1]=t,F.apply(N,r)}}),k[A][j]||n("35e8")(k[A],j,k[A].valueOf),f(k,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},"01f9":function(e,t,n){"use strict";var r=n("2d00"),i=n("5ca1"),o=n("2aba"),a=n("32e9"),s=n("84f2"),c=n("41a0"),u=n("7f20"),l=n("38fd"),f=n("2b4c")("iterator"),d=!([].keys&&"next"in[].keys()),p="@@iterator",m="keys",h="values",v=function(){return this};e.exports=function(e,t,n,b,y,g,_){c(n,t,b);var x,$,w,E=function(e){if(!d&&e in R)return R[e];switch(e){case m:return function(){return new n(this,e)};case h:return function(){return new n(this,e)}}return function(){return new n(this,e)}},S=t+" Iterator",D=y==h,I=!1,R=e.prototype,T=R[f]||R[p]||y&&R[y],M=T||E(y),O=y?D?E("entries"):M:void 0,P="Array"==t&&R.entries||T;if(P&&(w=l(P.call(new e)),w!==Object.prototype&&w.next&&(u(w,S,!0),r||"function"==typeof w[f]||a(w,f,v))),D&&T&&T.name!==h&&(I=!0,M=function(){return T.call(this)}),r&&!_||!d&&!I&&R[f]||a(R,f,M),s[t]=M,s[S]=v,y)if(x={values:D?M:E(h),keys:g?M:E(m),entries:O},_)for($ in x)$ in R||o(R,$,x[$]);else i(i.P+i.F*(d||I),t,x);return x}},"02f4":function(e,t,n){var r=n("4588"),i=n("be13");e.exports=function(e){return function(t,n){var o,a,s=String(i(t)),c=r(n),u=s.length;return c<0||c>=u?e?"":void 0:(o=s.charCodeAt(c),o<55296||o>56319||c+1===u||(a=s.charCodeAt(c+1))<56320||a>57343?e?s.charAt(c):o:e?s.slice(c,c+2):a-56320+(o-55296<<10)+65536)}}},"034f":function(e,t,n){"use strict";var r=n("64a9"),i=n.n(r);i.a},"0390":function(e,t,n){"use strict";var r=n("02f4")(!0);e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},"0395":function(e,t,n){var r=n("36c3"),i=n("6abf").f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return i(e)}catch(t){return a.slice()}};e.exports.f=function(e){return a&&"[object Window]"==o.call(e)?s(e):i(r(e))}},"07e3":function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},"097d":function(e,t,n){"use strict";var r=n("5ca1"),i=n("8378"),o=n("7726"),a=n("ebd6"),s=n("bcaa");r(r.P+r.R,"Promise",{finally:function(e){var t=a(this,i.Promise||o.Promise),n="function"==typeof e;return this.then(n?function(n){return s(t,e()).then((function(){return n}))}:e,n?function(n){return s(t,e()).then((function(){throw n}))}:e)}})},"0a49":function(e,t,n){var r=n("9b43"),i=n("626a"),o=n("4bf8"),a=n("9def"),s=n("cd1c");e.exports=function(e,t){var n=1==e,c=2==e,u=3==e,l=4==e,f=6==e,d=5==e||f,p=t||s;return function(t,s,m){for(var h,v,b=o(t),y=i(b),g=r(s,m,3),_=a(y.length),x=0,$=n?p(t,_):c?p(t,0):void 0;_>x;x++)if((d||x in y)&&(h=y[x],v=g(h,x,b),e))if(n)$[x]=v;else if(v)switch(e){case 3:return!0;case 5:return h;case 6:return x;case 2:$.push(h)}else if(l)return!1;return f?-1:u||l?l:$}}},"0bfb":function(e,t,n){"use strict";var r=n("cb7c");e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},"0d58":function(e,t,n){var r=n("ce10"),i=n("e11e");e.exports=Object.keys||function(e){return r(e,i)}},"0fc2":function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return cacheableMixin}));const cacheableMixin={props:{validity:{type:Number,default:60}},data(){return{value:Object,valueName:String,updater:String,myID:String,updateTime:Date}},computed:{cacheId(){let e=this.$root.$children[0].loginUser;return e+"-"+this.valueName}},mounted(){let e=sessionStorage.tabID?sessionStorage.tabID:sessionStorage.tabID=Math.random();this.myID=Math.floor(1e3*e)+"-"+this._uid,this.updateValue();for(var t=0,n=localStorage.length;t<n;++t){let e=localStorage.key(t),n=Date.now();if(e&&e.endsWith("_ExpirationTime")){let t=localStorage.getItem(e);if(t<n-432e6){let t=e.substr(0,e.indexOf("_ExpirationTime"));localStorage.removeItem(e),localStorage.removeItem(t+"_Value"),localStorage.removeItem(t+"_Updater")}}}},watch:{query:function(){this.valueName=this.getCacheId(),this.queryUrl=this.getQueryUrl(),this.forceRefresh()},value(e){this.$emit("input",e)}},methods:{updateValue(){let e=Date.now();if(!this.$el)return;var t=localStorage.getItem(this.cacheId+"_Value");null!=t&&"undefined"!==t&&(this.value=JSON.parse(t)),this.updater=localStorage.getItem(this.cacheId+"_Updater")||0;let n=localStorage.getItem(this.cacheId+"_ExpirationTime")||0;e>n||n-e>1e3*this.validity||null==t?(localStorage.setItem(this.cacheId+"_ExpirationTime",e+1e3*this.validity),localStorage.setItem(this.cacheId+"_Updater",this.updater=this.myID),this.getNewValue().then(t=>{this.updateTime=new Date(e+1e3*this.validity).toISOString(),JSON.stringify(this.value)!=JSON.stringify(t)&&(this.value=t,this.$emit("value-changed"),this.$parent.$emit("value-changed"))}).catch(e=>{this.errors=e}).finally(()=>{"undefined"!==typeof this.value&&"function"!==typeof this.value&&localStorage.setItem(this.cacheId+"_Value",JSON.stringify(this.value))})):this.updateTime=new Date(1*n).toISOString()},forceRefresh(){localStorage&&localStorage.setItem(this.cacheId+"_ExpirationTime",0),this.updateValue()},getNewValue(){return new Promise(e=>{e(Math.floor(100*Math.random()))})},waitFor(variableName){let variable=eval(variableName);return new Promise(function(e){if(!("function"===typeof variable||"string"===typeof variable&&variable.indexOf("native code")>0))return e();setTimeout(()=>this.waitFor(variableName),200)}.bind(this))}}}},"0fc9":function(e,t,n){var r=n("3a38"),i=Math.max,o=Math.min;e.exports=function(e,t){return e=r(e),e<0?i(e+t,0):o(e,t)}},1169:function(e,t,n){var r=n("2d95");e.exports=Array.isArray||function(e){return"Array"==r(e)}},"11e9":function(e,t,n){var r=n("52a7"),i=n("4630"),o=n("6821"),a=n("6a99"),s=n("69a8"),c=n("c69a"),u=Object.getOwnPropertyDescriptor;t.f=n("9e1e")?u:function(e,t){if(e=o(e),t=a(t,!0),c)try{return u(e,t)}catch(n){}if(s(e,t))return i(!r.f.call(e,t),e[t])}},1495:function(e,t,n){var r=n("86cc"),i=n("cb7c"),o=n("0d58");e.exports=n("9e1e")?Object.defineProperties:function(e,t){i(e);var n,a=o(t),s=a.length,c=0;while(s>c)r.f(e,n=a[c++],t[n]);return e}},1654:function(e,t,n){"use strict";var r=n("71c1")(!0);n("30f1")(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})}))},1691:function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},1991:function(e,t,n){var r,i,o,a=n("9b43"),s=n("31f4"),c=n("fab2"),u=n("230e"),l=n("7726"),f=l.process,d=l.setImmediate,p=l.clearImmediate,m=l.MessageChannel,h=l.Dispatch,v=0,b={},y="onreadystatechange",g=function(){var e=+this;if(b.hasOwnProperty(e)){var t=b[e];delete b[e],t()}},_=function(e){g.call(e.data)};d&&p||(d=function(e){var t=[],n=1;while(arguments.length>n)t.push(arguments[n++]);return b[++v]=function(){s("function"==typeof e?e:Function(e),t)},r(v),v},p=function(e){delete b[e]},"process"==n("2d95")(f)?r=function(e){f.nextTick(a(g,e,1))}:h&&h.now?r=function(e){h.now(a(g,e,1))}:m?(i=new m,o=i.port2,i.port1.onmessage=_,r=a(o.postMessage,o,1)):l.addEventListener&&"function"==typeof postMessage&&!l.importScripts?(r=function(e){l.postMessage(e+"","*")},l.addEventListener("message",_,!1)):r=y in u("script")?function(e){c.appendChild(u("script"))[y]=function(){c.removeChild(this),g.call(e)}}:function(e){setTimeout(a(g,e,1),0)}),e.exports={set:d,clear:p}},"1bc3":function(e,t,n){var r=n("f772");e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},"1ec9":function(e,t,n){var r=n("f772"),i=n("e53d").document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},"1fa8":function(e,t,n){var r=n("cb7c");e.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(a){var o=e["return"];throw void 0!==o&&r(o.call(e)),a}}},2074:function(e,t,n){},"214f":function(e,t,n){"use strict";n("b0c5");var r=n("2aba"),i=n("32e9"),o=n("79e5"),a=n("be13"),s=n("2b4c"),c=n("520a"),u=s("species"),l=!o((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),f=function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();e.exports=function(e,t,n){var d=s(e),p=!o((function(){var t={};return t[d]=function(){return 7},7!=""[e](t)})),m=p?!o((function(){var t=!1,n=/a/;return n.exec=function(){return t=!0,null},"split"===e&&(n.constructor={},n.constructor[u]=function(){return n}),n[d](""),!t})):void 0;if(!p||!m||"replace"===e&&!l||"split"===e&&!f){var h=/./[d],v=n(a,d,""[e],(function(e,t,n,r,i){return t.exec===c?p&&!i?{done:!0,value:h.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}})),b=v[0],y=v[1];r(String.prototype,e,b),i(RegExp.prototype,d,2==t?function(e,t){return y.call(e,this,t)}:function(e){return y.call(e,this)})}}},"230e":function(e,t,n){var r=n("d3f4"),i=n("7726").document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},"23c6":function(e,t,n){var r=n("2d95"),i=n("2b4c")("toStringTag"),o="Arguments"==r(function(){return arguments}()),a=function(e,t){try{return e[t]}catch(n){}};e.exports=function(e){var t,n,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=a(t=Object(e),i))?n:o?r(t):"Object"==(s=r(t))&&"function"==typeof t.callee?"Arguments":s}},"241e":function(e,t,n){var r=n("25eb");e.exports=function(e){return Object(r(e))}},"25eb":function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},2621:function(e,t){t.f=Object.getOwnPropertySymbols},"27ee":function(e,t,n){var r=n("23c6"),i=n("2b4c")("iterator"),o=n("84f2");e.exports=n("8378").getIteratorMethod=function(e){if(void 0!=e)return e[i]||e["@@iterator"]||o[r(e)]}},"289e":function(e,t,n){"use strict";var r=n("dc66"),i=n.n(r);i.a},"28a5":function(e,t,n){"use strict";var r=n("aae3"),i=n("cb7c"),o=n("ebd6"),a=n("0390"),s=n("9def"),c=n("5f1b"),u=n("520a"),l=n("79e5"),f=Math.min,d=[].push,p="split",m="length",h="lastIndex",v=4294967295,b=!l((function(){RegExp(v,"y")}));n("214f")("split",2,(function(e,t,n,l){var y;return y="c"=="abbc"[p](/(b)*/)[1]||4!="test"[p](/(?:)/,-1)[m]||2!="ab"[p](/(?:ab)*/)[m]||4!="."[p](/(.?)(.?)/)[m]||"."[p](/()()/)[m]>1||""[p](/.?/)[m]?function(e,t){var i=String(this);if(void 0===e&&0===t)return[];if(!r(e))return n.call(i,e,t);var o,a,s,c=[],l=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),f=0,p=void 0===t?v:t>>>0,b=new RegExp(e.source,l+"g");while(o=u.call(b,i)){if(a=b[h],a>f&&(c.push(i.slice(f,o.index)),o[m]>1&&o.index<i[m]&&d.apply(c,o.slice(1)),s=o[0][m],f=a,c[m]>=p))break;b[h]===o.index&&b[h]++}return f===i[m]?!s&&b.test("")||c.push(""):c.push(i.slice(f)),c[m]>p?c.slice(0,p):c}:"0"[p](void 0,0)[m]?function(e,t){return void 0===e&&0===t?[]:n.call(this,e,t)}:n,[function(n,r){var i=e(this),o=void 0==n?void 0:n[t];return void 0!==o?o.call(n,i,r):y.call(String(i),n,r)},function(e,t){var r=l(y,e,this,t,y!==n);if(r.done)return r.value;var u=i(e),d=String(this),p=o(u,RegExp),m=u.unicode,h=(u.ignoreCase?"i":"")+(u.multiline?"m":"")+(u.unicode?"u":"")+(b?"y":"g"),g=new p(b?u:"^(?:"+u.source+")",h),_=void 0===t?v:t>>>0;if(0===_)return[];if(0===d.length)return null===c(g,d)?[d]:[];var x=0,$=0,w=[];while($<d.length){g.lastIndex=b?$:0;var E,S=c(g,b?d:d.slice($));if(null===S||(E=f(s(g.lastIndex+(b?0:$)),d.length))===x)$=a(d,$,m);else{if(w.push(d.slice(x,$)),w.length===_)return w;for(var D=1;D<=S.length-1;D++)if(w.push(S[D]),w.length===_)return w;$=x=E}}return w.push(d.slice(x)),w}]}))},"294c":function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},"2aba":function(e,t,n){var r=n("7726"),i=n("32e9"),o=n("69a8"),a=n("ca5a")("src"),s=n("fa5b"),c="toString",u=(""+s).split(c);n("8378").inspectSource=function(e){return s.call(e)},(e.exports=function(e,t,n,s){var c="function"==typeof n;c&&(o(n,"name")||i(n,"name",t)),e[t]!==n&&(c&&(o(n,a)||i(n,a,e[t]?""+e[t]:u.join(String(t)))),e===r?e[t]=n:s?e[t]?e[t]=n:i(e,t,n):(delete e[t],i(e,t,n)))})(Function.prototype,c,(function(){return"function"==typeof this&&this[a]||s.call(this)}))},"2aeb":function(e,t,n){var r=n("cb7c"),i=n("1495"),o=n("e11e"),a=n("613b")("IE_PROTO"),s=function(){},c="prototype",u=function(){var e,t=n("230e")("iframe"),r=o.length,i="<",a=">";t.style.display="none",n("fab2").appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write(i+"script"+a+"document.F=Object"+i+"/script"+a),e.close(),u=e.F;while(r--)delete u[c][o[r]];return u()};e.exports=Object.create||function(e,t){var n;return null!==e?(s[c]=r(e),n=new s,s[c]=null,n[a]=e):n=u(),void 0===t?n:i(n,t)}},"2b4c":function(e,t,n){var r=n("5537")("wks"),i=n("ca5a"),o=n("7726").Symbol,a="function"==typeof o,s=e.exports=function(e){return r[e]||(r[e]=a&&o[e]||(a?o:i)("Symbol."+e))};s.store=r},"2d00":function(e,t){e.exports=!1},"2d95":function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},"2fdb":function(e,t,n){"use strict";var r=n("5ca1"),i=n("d2c8"),o="includes";r(r.P+r.F*n("5147")(o),"String",{includes:function(e){return!!~i(this,e,o).indexOf(e,arguments.length>1?arguments[1]:void 0)}})},"30f1":function(e,t,n){"use strict";var r=n("b8e3"),i=n("63b6"),o=n("9138"),a=n("35e8"),s=n("481b"),c=n("8f60"),u=n("45f2"),l=n("53e2"),f=n("5168")("iterator"),d=!([].keys&&"next"in[].keys()),p="@@iterator",m="keys",h="values",v=function(){return this};e.exports=function(e,t,n,b,y,g,_){c(n,t,b);var x,$,w,E=function(e){if(!d&&e in R)return R[e];switch(e){case m:return function(){return new n(this,e)};case h:return function(){return new n(this,e)}}return function(){return new n(this,e)}},S=t+" Iterator",D=y==h,I=!1,R=e.prototype,T=R[f]||R[p]||y&&R[y],M=T||E(y),O=y?D?E("entries"):M:void 0,P="Array"==t&&R.entries||T;if(P&&(w=l(P.call(new e)),w!==Object.prototype&&w.next&&(u(w,S,!0),r||"function"==typeof w[f]||a(w,f,v))),D&&T&&T.name!==h&&(I=!0,M=function(){return T.call(this)}),r&&!_||!d&&!I&&R[f]||a(R,f,M),s[t]=M,s[S]=v,y)if(x={values:D?M:E(h),keys:g?M:E(m),entries:O},_)for($ in x)$ in R||o(R,$,x[$]);else i(i.P+i.F*(d||I),t,x);return x}},"31f4":function(e,t){e.exports=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},"32e9":function(e,t,n){var r=n("86cc"),i=n("4630");e.exports=n("9e1e")?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},"32fc":function(e,t,n){var r=n("e53d").document;e.exports=r&&r.documentElement},"335c":function(e,t,n){var r=n("6b4c");e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},"33a4":function(e,t,n){var r=n("84f2"),i=n("2b4c")("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||o[i]===e)}},"355d":function(e,t){t.f={}.propertyIsEnumerable},"35e8":function(e,t,n){var r=n("d9f6"),i=n("aebd");e.exports=n("8e60")?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},"36c3":function(e,t,n){var r=n("335c"),i=n("25eb");e.exports=function(e){return r(i(e))}},"38fd":function(e,t,n){var r=n("69a8"),i=n("4bf8"),o=n("613b")("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),r(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},"3a38":function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},"41a0":function(e,t,n){"use strict";var r=n("2aeb"),i=n("4630"),o=n("7f20"),a={};n("32e9")(a,n("2b4c")("iterator"),(function(){return this})),e.exports=function(e,t,n){e.prototype=r(a,{next:i(1,n)}),o(e,t+" Iterator")}},"456d":function(e,t,n){var r=n("4bf8"),i=n("0d58");n("5eda")("keys",(function(){return function(e){return i(r(e))}}))},4588:function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},"45f2":function(e,t,n){var r=n("d9f6").f,i=n("07e3"),o=n("5168")("toStringTag");e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,o)&&r(e,o,{configurable:!0,value:t})}},4630:function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"47ee":function(e,t,n){var r=n("c3a1"),i=n("9aa9"),o=n("355d");e.exports=function(e){var t=r(e),n=i.f;if(n){var a,s=n(e),c=o.f,u=0;while(s.length>u)c.call(e,a=s[u++])&&t.push(a)}return t}},"481b":function(e,t){e.exports={}},"498b":function(e,t,n){"use strict";var r=n("cdf2"),i=n.n(r);i.a},"4a59":function(e,t,n){var r=n("9b43"),i=n("1fa8"),o=n("33a4"),a=n("cb7c"),s=n("9def"),c=n("27ee"),u={},l={};t=e.exports=function(e,t,n,f,d){var p,m,h,v,b=d?function(){return e}:c(e),y=r(n,f,t?2:1),g=0;if("function"!=typeof b)throw TypeError(e+" is not iterable!");if(o(b)){for(p=s(e.length);p>g;g++)if(v=t?y(a(m=e[g])[0],m[1]):y(e[g]),v===u||v===l)return v}else for(h=b.call(e);!(m=h.next()).done;)if(v=i(h,y,m.value,t),v===u||v===l)return v};t.BREAK=u,t.RETURN=l},"4bf8":function(e,t,n){var r=n("be13");e.exports=function(e){return Object(r(e))}},"50ed":function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},5147:function(e,t,n){var r=n("2b4c")("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,!"/./"[e](t)}catch(i){}}return!0}},5168:function(e,t,n){var r=n("dbdb")("wks"),i=n("62a0"),o=n("e53d").Symbol,a="function"==typeof o,s=e.exports=function(e){return r[e]||(r[e]=a&&o[e]||(a?o:i)("Symbol."+e))};s.store=r},"520a":function(e,t,n){"use strict";var r=n("0bfb"),i=RegExp.prototype.exec,o=String.prototype.replace,a=i,s="lastIndex",c=function(){var e=/a/,t=/b*/g;return i.call(e,"a"),i.call(t,"a"),0!==e[s]||0!==t[s]}(),u=void 0!==/()??/.exec("")[1],l=c||u;l&&(a=function(e){var t,n,a,l,f=this;return u&&(n=new RegExp("^"+f.source+"$(?!\\s)",r.call(f))),c&&(t=f[s]),a=i.call(f,e),c&&a&&(f[s]=f.global?a.index+a[0].length:t),u&&a&&a.length>1&&o.call(a[0],n,(function(){for(l=1;l<arguments.length-2;l++)void 0===arguments[l]&&(a[l]=void 0)})),a}),e.exports=a},"52a7":function(e,t){t.f={}.propertyIsEnumerable},"53e2":function(e,t,n){var r=n("07e3"),i=n("241e"),o=n("5559")("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),r(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},"551c":function(e,t,n){"use strict";var r,i,o,a,s=n("2d00"),c=n("7726"),u=n("9b43"),l=n("23c6"),f=n("5ca1"),d=n("d3f4"),p=n("d8e8"),m=n("f605"),h=n("4a59"),v=n("ebd6"),b=n("1991").set,y=n("8079")(),g=n("a5b8"),_=n("9c80"),x=n("a25f"),$=n("bcaa"),w="Promise",E=c.TypeError,S=c.process,D=S&&S.versions,I=D&&D.v8||"",R=c[w],T="process"==l(S),M=function(){},O=i=g.f,P=!!function(){try{var e=R.resolve(1),t=(e.constructor={})[n("2b4c")("species")]=function(e){e(M,M)};return(T||"function"==typeof PromiseRejectionEvent)&&e.then(M)instanceof t&&0!==I.indexOf("6.6")&&-1===x.indexOf("Chrome/66")}catch(r){}}(),k=function(e){var t;return!(!d(e)||"function"!=typeof(t=e.then))&&t},N=function(e,t){if(!e._n){e._n=!0;var n=e._c;y((function(){var r=e._v,i=1==e._s,o=0,a=function(t){var n,o,a,s=i?t.ok:t.fail,c=t.resolve,u=t.reject,l=t.domain;try{s?(i||(2==e._h&&L(e),e._h=1),!0===s?n=r:(l&&l.enter(),n=s(r),l&&(l.exit(),a=!0)),n===t.promise?u(E("Promise-chain cycle")):(o=k(n))?o.call(n,c,u):c(n)):u(r)}catch(f){l&&!a&&l.exit(),u(f)}};while(n.length>o)a(n[o++]);e._c=[],e._n=!1,t&&!e._h&&F(e)}))}},F=function(e){b.call(c,(function(){var t,n,r,i=e._v,o=A(e);if(o&&(t=_((function(){T?S.emit("unhandledRejection",i,e):(n=c.onunhandledrejection)?n({promise:e,reason:i}):(r=c.console)&&r.error&&r.error("Unhandled promise rejection",i)})),e._h=T||A(e)?2:1),e._a=void 0,o&&t.e)throw t.v}))},A=function(e){return 1!==e._h&&0===(e._a||e._c).length},L=function(e){b.call(c,(function(){var t;T?S.emit("rejectionHandled",e):(t=c.onrejectionhandled)&&t({promise:e,reason:e._v})}))},j=function(e){var t=this;t._d||(t._d=!0,t=t._w||t,t._v=e,t._s=2,t._a||(t._a=t._c.slice()),N(t,!0))},C=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw E("Promise can't be resolved itself");(t=k(e))?y((function(){var r={_w:n,_d:!1};try{t.call(e,u(C,r,1),u(j,r,1))}catch(i){j.call(r,i)}})):(n._v=e,n._s=1,N(n,!1))}catch(r){j.call({_w:n,_d:!1},r)}}};P||(R=function(e){m(this,R,w,"_h"),p(e),r.call(this);try{e(u(C,this,1),u(j,this,1))}catch(t){j.call(this,t)}},r=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},r.prototype=n("dcbc")(R.prototype,{then:function(e,t){var n=O(v(this,R));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=T?S.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&N(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),o=function(){var e=new r;this.promise=e,this.resolve=u(C,e,1),this.reject=u(j,e,1)},g.f=O=function(e){return e===R||e===a?new o(e):i(e)}),f(f.G+f.W+f.F*!P,{Promise:R}),n("7f20")(R,w),n("7a56")(w),a=n("8378")[w],f(f.S+f.F*!P,w,{reject:function(e){var t=O(this),n=t.reject;return n(e),t.promise}}),f(f.S+f.F*(s||!P),w,{resolve:function(e){return $(s&&this===a?R:this,e)}}),f(f.S+f.F*!(P&&n("5cc5")((function(e){R.all(e)["catch"](M)}))),w,{all:function(e){var t=this,n=O(t),r=n.resolve,i=n.reject,o=_((function(){var n=[],o=0,a=1;h(e,!1,(function(e){var s=o++,c=!1;n.push(void 0),a++,t.resolve(e).then((function(e){c||(c=!0,n[s]=e,--a||r(n))}),i)})),--a||r(n)}));return o.e&&i(o.v),n.promise},race:function(e){var t=this,n=O(t),r=n.reject,i=_((function(){h(e,!1,(function(e){t.resolve(e).then(n.resolve,r)}))}));return i.e&&r(i.v),n.promise}})},5537:function(e,t,n){var r=n("8378"),i=n("7726"),o="__core-js_shared__",a=i[o]||(i[o]={});(e.exports=function(e,t){return a[e]||(a[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n("2d00")?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},5559:function(e,t,n){var r=n("dbdb")("keys"),i=n("62a0");e.exports=function(e){return r[e]||(r[e]=i(e))}},"56d7":function(e,t,n){"use strict";n.r(t);n("7f7f"),n("456d"),n("ac6a"),n("cadf"),n("551c"),n("f751"),n("097d");var r=n("8bbf"),i=n.n(r),o=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-app",[n("v-container",{attrs:{fluid:"","grid-list-sm":""}},[n("v-layout",{attrs:{row:"",wrap:""}},[n("v-flex",{attrs:{m12:"",xs12:""}},[n("h3",{staticStyle:{"text-align":"center","margin-top":"10px"}},[e._v("Easy Perms")])]),n("v-flex",{attrs:{md3:"",sm6:"",xs12:""}},[n("v-switch",{attrs:{label:"Templates","hide-details":""},model:{value:e.showTemplates,callback:function(t){e.showTemplates=t},expression:"showTemplates"}})],1),n("v-flex",{attrs:{md3:"",sm6:"",xs12:""}},[n("v-switch",{attrs:{label:"Builder","hide-details":""},model:{value:e.showBuilder,callback:function(t){e.showBuilder=t},expression:"showBuilder"}})],1),n("v-flex",{attrs:{md3:"",sm6:"",xs12:""}},[n("v-switch",{attrs:{label:"Plan","hide-details":""},model:{value:e.showPlan,callback:function(t){e.showPlan=t},expression:"showPlan"}})],1),n("v-flex",{attrs:{md3:"",sm6:"",xs12:""}},[n("v-switch",{attrs:{label:"debug","hide-details":""},model:{value:e.debug,callback:function(t){e.debug=t},expression:"debug"}})],1)],1),e.showTemplates?n("v-layout",{attrs:{row:"",wrap:""}},[n("v-flex",{attrs:{xs12:""}},[n("v-select",{attrs:{items:e.permTemplates,"item-text":"name","return-object":"",label:"Escolha um template",clearable:"",dense:"",solo:""},model:{value:e.selectedTemplate,callback:function(t){e.selectedTemplate=t},expression:"selectedTemplate"}})],1),e.selectedTemplate?n("v-layout",{attrs:{xs12:"",column:""}},[e.debug?n("v-flex",{attrs:{xs12:""}},[e._v("\n "+e._s(e.selectedTemplate)+"\n ")]):e._e(),e._l(e.selectedTemplate.vars,(function(t){return n("v-layout",{key:t.name,attrs:{xs12:"",row:"",wrap:"","align-center":""}},[n("v-flex",{attrs:{md2:"",sm3:"",xs12:""}},[e._v(e._s(t.name)+" : "+e._s(t.type))]),n("v-flex",{attrs:{md10:"",sm9:"",xs12:""}},["simple"===t.type?n("v-text-field",{model:{value:t.value,callback:function(n){e.$set(t,"value",n)},expression:"tmplVar.value"}}):e._e(),"RM-DEF"===t.type?n("RmDefinitionChooser",{model:{value:t.value,callback:function(n){e.$set(t,"value",n)},expression:"tmplVar.value"}}):e._e(),"RM-DOMAIN-ID"===t.type?n("RmDomainChooser",{model:{value:t.value,callback:function(n){e.$set(t,"value",n)},expression:"tmplVar.value"}}):e._e()],1)],1)}))],2):e._e(),n("v-flex",{attrs:{xs12:""}},[n("v-btn",{attrs:{color:"primary",disabled:null==e.selectedTemplate},on:{click:e.applyTemplate}},[e._v("Apply Template")])],1)],1):e._e(),e.showBuilder?n("v-flex",{attrs:{xs12:""}},[n("ProductPermBuilder",{attrs:{perms:e.perms,debug:e.debug},model:{value:e.rmPerms,callback:function(t){e.rmPerms=t},expression:"rmPerms"}})],1):e._e(),e.showBuilder?n("v-flex",{attrs:{md1:"",xs12:""}},[n("v-btn",{attrs:{color:"primary"},on:{click:e.plan}},[e._v("Planear")])],1):e._e(),e.showPlan?n("PlanExecutor",{attrs:{value:e.rmPerms,debug:e.debug}}):e._e()],1)],1)},a=[],s=(n("a481"),n("5d58")),c=n.n(s),u=n("67bb"),l=n.n(u);function f(e){return f="function"===typeof l.a&&"symbol"===typeof c.a?function(e){return typeof e}:function(e){return e&&"function"===typeof l.a&&e.constructor===l.a&&e!==l.a.prototype?"symbol":typeof e},f(e)}function d(e){return d="function"===typeof l.a&&"symbol"===f(c.a)?function(e){return f(e)}:function(e){return e&&"function"===typeof l.a&&e.constructor===l.a&&e!==l.a.prototype?"symbol":f(e)},d(e)}var p=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-layout",{attrs:{column:"",wrap:""}},[e.debug?n("v-flex",{attrs:{sm12:"",xs12:""}},[e._v("\n "+e._s(e.value)+"\n "),n("br"),e._v("\n "+e._s(e.productPerms)+"\n ")]):e._e(),n("v-flex",[n("h3",[e._v("Produto")]),n("v-combobox",{attrs:{xs1:"",items:e.products,label:"Produto",dense:"",solo:""},on:{change:function(t){e.value.perms=[],e.updateParent}},model:{value:e.product,callback:function(t){e.product=t},expression:"product"}})],1),n("v-flex",{attrs:{sm12:"",xs12:""}},[n("h3",[e._v("Permissões")]),e._l(e.productPerms,(function(t,r){return n("v-layout",{key:t.id,attrs:{row:""}},[n("v-btn",{attrs:{small:"",fab:"",color:"error"},on:{click:function(t){return e.value.perms.splice(r,1)}}},[e._v("-")]),n("PermBuilder",{attrs:{perms:e.possiblePerms,debug:e.debug},on:{input:function(n){return e.updateParent(r,t.perm)}},model:{value:t.perm,callback:function(n){e.$set(t,"perm",n)},expression:"perm.perm"}})],1)}))],2),n("v-flex",{attrs:{sm2:"",xs12:"","text-left":""}},[n("v-btn",{attrs:{color:"primary"},on:{click:e.addPerm}},[e._v("+")])],1),n("v-flex",{attrs:{sm12:"",xs12:""}},[n("h3",[e._v("Roles")]),n("RoleBuilder",{attrs:{debug:e.debug},on:{input:e.updateParent},model:{value:this.value.roles,callback:function(t){e.$set(this.value,"roles",t)},expression:"this.value.roles"}})],1)],1)},m=[],h=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-layout",{attrs:{column:""}},[n("v-layout",{attrs:{row:"",wrap:""}},[n("v-flex",{attrs:{sm3:"",xs12:""}},[n("v-combobox",{attrs:{items:e.selectableDomains,label:"Domain",dense:"",clearable:""},on:{change:function(t){e.actions=[]}},model:{value:e.domain,callback:function(t){e.domain=t},expression:"domain"}})],1),n("v-flex",{attrs:{sm4:"",xs12:""}},[n("v-combobox",{attrs:{items:e.selectableActions,label:"Action",dense:"",multiple:"",clearable:""},on:{change:function(t){e.entities=[]}},model:{value:e.actions,callback:function(t){e.actions=t},expression:"actions"}})],1),n("v-flex",{attrs:{sm5:"",xs12:""}},[e.customEntityType?e._e():n("v-combobox",{attrs:{items:e.selectableEntities,label:"Entity",dense:"",multiple:"",clearable:""},model:{value:e.entities,callback:function(t){e.entities=t},expression:"entities"}}),"RM-DOMAIN-ID"===e.customEntityType?n("RmDomainChooser",{model:{value:e.customEntity,callback:function(t){e.customEntity=t},expression:"customEntity"}}):e._e(),"RM-DEF"===e.customEntityType?n("RmDefinitionChooser",{model:{value:e.customEntity,callback:function(t){e.customEntity=t},expression:"customEntity"}}):e._e()],1)],1),n("v-flex",{attrs:{xs12:""}},[n("v-textarea",{attrs:{md3:"",label:"Description",rows:"1","auto-grow":""},model:{value:e.description,callback:function(t){e.description=t},expression:"description"}})],1),e.debug?n("v-layout",{attrs:{row:"",wrap:""}},[n("v-flex",{attrs:{sm2:"",xs12:""}},[e._v("\n domain: "+e._s(e.domain)+"\n ")]),n("v-flex",{staticStyle:{"background-color":"#efe"},attrs:{sm4:"",xs12:""}},[e._v("\n actions: "+e._s(e.actions)+"\n ")]),n("v-flex",{attrs:{sm3:"",xs12:""}},[e._v("\n entities: "+e._s(e.customEntityType?"custom":"normal")+" "+e._s(e.customEntityType?e.customEntity:e.entities)+"\n ")])],1):e._e(),n("span",{staticStyle:{display:"none"}},[e._v(e._s(e.resultingPerm))])],1)},v=[],b=(n("6762"),n("2fdb"),n("7514"),n("28a5"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-autocomplete",{attrs:{items:e.domains,loading:e.isLoading,"item-text":"name","item-value":"id","return-object":!1,"hide-no-data":""},on:{input:e.updateParent},model:{value:e.rmid,callback:function(t){e.rmid=t},expression:"rmid"}})}),y=[],g={name:"RmDomainsChooser",props:{value:String,debug:Boolean},data:function(){return{rmid:this.value,isLoading:!1,domains:[],search:null}},created:function(){var e=this;this.domains.length>0||this.isLoading||(this.isLoading=!0,fetch("/recordm/recordm/domains").then((function(e){return e.json()})).then((function(t){e.domains=t.map((function(e){return{id:String(e.id),name:e.name}}))})).catch((function(e){console.log(e)})).finally((function(){return e.isLoading=!1})))},methods:{updateParent:function(){this.$emit("input",this.rmid)}}},_=g;function x(e,t,n,r,i,o,a,s){var c,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(c=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=c):i&&(c=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),c)if(u.functional){u._injectStyles=c;var l=u.render;u.render=function(e,t){return c.call(t),l(e,t)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,c):[c]}return{exports:e,options:u}}var $=x(_,b,y,!1,null,null,null),w=$.exports,E=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-autocomplete",{attrs:{items:e.definitions,loading:e.isLoading,"hide-no-data":"","item-text":"name","item-value":"id","return-object":!1},on:{input:e.updateParent},model:{value:e.rmid,callback:function(t){e.rmid=t},expression:"rmid"}})},S=[],D={name:"RmDefinitionChooser",props:{value:Object,debug:Boolean},data:function(){return{rmid:this.value,isLoading:!1,definitions:[],search:null}},created:function(){var e=this;this.definitions.length>0||this.isLoading||(this.isLoading=!0,fetch("/recordm/recordm/definitions?includeDisabled=false").then((function(e){return e.json()})).then((function(t){e.definitions=t.map((function(e){return{id:String(e.id),name:e.name}}))})).catch((function(e){console.log(e)})).finally((function(){return e.isLoading=!1})))},methods:{updateParent:function(){var e=this;this.$emit("input",{id:this.rmid,name:this.definitions.find((function(t){return t.id==e.rmid})).name})}}},I=D,R=x(I,E,S,!1,null,null,null),T=R.exports,M={name:"PermBuilder",components:{RmDomainChooser:w,RmDefinitionChooser:T},props:{perms:Array,value:Object,debug:Boolean},data:function(){var e=this.value.name.split(":");return{domain:e[0]||"",components:e,actions:e.length>1?e[1].split(","):[],entities:e.length>2?e[2].split(","):[]}},computed:{selectableDomains:function(){return this.perms.map((function(e){return e.domain}))},selectableActions:function(){var e=this,t=this.perms.find((function(t){return t.domain===e.domain})),n=(t||{}).actions||[];return n.map((function(e){return e.name}))},customEntityType:function(){var e=this,t=this.perms.find((function(t){return t.domain===e.domain}));if("undefined"===typeof t)return!1;var n=t.actions.filter((function(t){return e.actions.includes(t.name)})).flatMap((function(e){return e.entities||[]}));return n.length>0&&n[0].type},customEntity:{get:function(){return this.customEntityType&&this.components.length>2?{id:this.components[2]}:{id:null}},set:function(e){this.entities=[e]}},selectableEntities:function(){var e=this,t=this.perms.find((function(t){return t.domain===e.domain}));if("undefined"===typeof t)return[];var n=t.actions.filter((function(t){return e.actions.includes(t.name)})),r=n.flatMap((function(e){return e.entities||[]})).map((function(e){return e.name}));return r||["*"]},description:{get:function(){return this.value.description},set:function(e){this.value.description=e}},resultingPerm:function(){var e=this.buildName();return this.value.name!==e&&this.$emit("input",{name:e,description:this.description}),e}},methods:{buildName:function(){var e="";return this.domain&&""!=this.domain&&(e+=this.domain),this.actions.length>0&&(e+=":"+this.actions.join(",")),this.entities.length>0&&(this.customEntityType?e+=":"+this.entities.map((function(e){return e.id||e})).join(","):e+=":"+this.entities.join(",")),e}}},O=M,P=x(O,h,v,!1,null,null,null),k=P.exports,N=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-layout",{attrs:{column:""}},[e._l(e.productRoles,(function(t,r){return n("v-layout",{key:t.id,attrs:{row:"",wrap:""}},[n("v-flex",{attrs:{sm1:"",xs12:"","text-left":""}},[n("v-btn",{attrs:{small:"",fab:"",color:"error"},on:{click:function(t){return e.value.splice(r,1)}}},[e._v("-")])],1),n("v-flex",{attrs:{md3:"",sm12:"",xs12:"","text-left":""}},[n("v-text-field",{attrs:{label:"nome"},on:{input:function(n){return e.updateParentRole(r,"name",t.role.name)}},model:{value:t.role.name,callback:function(n){e.$set(t.role,"name",n)},expression:"role.role.name"}})],1),n("v-flex",{attrs:{md8:"",sm12:"",xs12:"","text-left":""}},[n("v-layout",{attrs:{column:""}},[n("v-flex",{attrs:{"text-left":""}},[n("v-textarea",{attrs:{label:"description",rows:"1","auto-grow":""},on:{input:function(n){return e.updateParentRole(r,"description",t.role.description)}},model:{value:t.role.description,callback:function(n){e.$set(t.role,"description",n)},expression:"role.role.description"}})],1),n("v-flex",{attrs:{"text-left":""}},[n("v-combobox",{attrs:{label:"perms",dense:"",multiple:"",chips:""},on:{input:function(n){return e.updateParentRole(r,"perms",t.role.perms)}},model:{value:t.role.perms,callback:function(n){e.$set(t.role,"perms",n)},expression:"role.role.perms"}})],1)],1)],1)],1)})),n("v-flex",{staticStyle:{"text-align":"left"},attrs:{sm2:"",xs12:""}},[n("v-btn",{attrs:{color:"primary"},on:{click:e.addRole}},[e._v("+")])],1)],2)},F=[],A=1,L={name:"RoleBuilder",props:{value:Array,debug:Boolean},computed:{productRoles:function(){return(this.value||[]).map((function(e){return{id:A++,role:e}}))}},methods:{addRole:function(){this.value.push({name:"",description:"",perms:[]})},updateParentRole:function(e,t,n){var r=this.value[e];r[t]=n}}},j=L,C=x(j,N,F,!1,null,null,null),U=C.exports,B=1,q={name:"ProductPermBuilder",components:{PermBuilder:k,RoleBuilder:U},props:{perms:Object,value:Object,debug:Boolean},computed:{products:function(){return Object.keys(this.perms)},product:{get:function(){return this.value.product||""},set:function(e){this.value.product=e}},possiblePerms:function(){return this.perms[this.value.product]},productPerms:function(){return(this.value.perms||[]).map((function(e){return{id:B++,perm:e}}))}},methods:{addPerm:function(){this.value.perms.push({name:"",description:""})},updateParent:function(e,t){this.$set(this.value.perms,e,t)}}},V=q,G=x(V,p,m,!1,null,null,null),z=G.exports,Q=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-layout",{attrs:{xs12:"",row:"",wrap:"","align-center":""}},[n("v-flex",{attrs:{xs12:""}},[n("h3",[e._v("Plano")])]),e.debug?n("v-flex",{staticStyle:{"text-align":"left"},attrs:{xs12:""}},[n("code",[e._v(e._s(e.value))])]):e._e(),n("v-flex",{attrs:{md5:"",xs12:""}},[n("v-layout",{attrs:{column:""}},[n("v-flex",{attrs:{xs12:"","text-center":""}},[n("h4",[e._v("Permissões")])]),e._l(e.perms,(function(t){return n("v-layout",{key:t.name,attrs:{row:""}},[n("v-flex",{class:"state-"+t.state,attrs:{xs3:"","text-right":""}},[e._v("\n "+e._s(t.state)+"\n "),"existing"===t.state?n("span",[e._v("\n ["),n("a",{attrs:{href:"#/permission/"+t.id,target:"_blank"}},[e._v(e._s(t.id))]),e._v("]\n ")]):e._e(),"error"===t.state?n("span",[n("pre",[e._v(e._s(t.error))])]):e._e()]),n("v-flex",{attrs:{xs12:"","text-left":""}},[n("code",[e._v(e._s(t.name))])])],1)}))],2)],1),n("v-flex",{attrs:{md7:"",xs12:""}},[n("v-layout",{attrs:{column:""}},[n("v-flex",{attrs:{xs12:"","text-center":""}},[n("h4",[e._v("Roles")])]),e._l(e.roles,(function(t){return n("v-layout",{key:t.name,attrs:{row:"","align-start":"","fill-height":""}},[n("v-flex",{class:"state-"+t.state,attrs:{xs2:"","text-right":""}},[e._v("\n "+e._s(t.state)+"\n "),"existing"===t.state?n("span",[e._v("\n ["),n("a",{attrs:{href:"#/role/"+t.id,target:"_blank"}},[e._v(e._s(t.id))]),e._v("]\n ")]):e._e(),"error"===t.state?n("span",[n("pre",[e._v(e._s(t.error))])]):e._e()]),n("v-flex",{attrs:{md4:"",xs12:"","text-left":""}},[n("code",[e._v(e._s(t.name))])]),n("v-flex",{attrs:{md6:"",xs12:"","text-left":""}},[e._v("\n com perms: "+e._s(t.perms)+"\n ")])],1)}))],2)],1),n("v-flex",{staticStyle:{"padding-top":"20px"},attrs:{xs12:""}},[n("v-btn",{on:{click:e.refresh}},[e._v("Refresh Cache")]),n("v-btn",{attrs:{color:"primary"},on:{click:e.execute}},[e._v("Executar")])],1)],1)},Y=[],W=n("cebe"),J=n.n(W),H={name:"PlanExecutor",props:{value:Object,debug:Boolean},data:function(){return{waitingToCreateRoles:!1}},computed:{plan:function(){return this.value},perms:function(){return this.find("permission",this.plan.perms),this.plan.perms},roles:function(){return this.find("role",this.plan.roles||[]),this.plan.roles||[]}},watch:{waitingToCreateRoles:function(){this.waitingToCreateRoles&&this.perms.every((function(e){return"new"!==e.state}))&&this.createRoles()},perms:function(){this.waitingToCreateRoles&&this.perms.every((function(e){return"new"!==e.state}))&&this.createRoles()}},methods:{find:function(e,t,n){var r=this;t.forEach((function(i,o){!n&&i.state||J.a.get("/userm/userm/"+e+"/product/recordm/name/"+encodeURIComponent(i.name)).then((function(e){r.$set(t[o],"state","existing"),r.$set(t[o],"id",e.data.id)})).catch((function(){r.$set(t[o],"state","new")}))}))},refresh:function(){this.find("permission",this.plan.perms,!0),this.find("role",this.plan.roles||[],!0)},execute:function(){this.waitingToCreateRoles=!0,this.createPerms()},createPerms:function(){var e=this,t=this.plan.product,n=this.perms,r="userm/permission",i=n.filter((function(e){return"new"===e.state}));i.forEach((function(n){var i={product:t,name:n.name,description:n.description};J.a.post(r,i).then(function(e){this.$set(n,"state","existing"),this.$set(n,"id",e.data.id)}.bind(e)).catch(function(e){window.console.error("JN perm",e),this.$set(n,"state","error"),this.$set(n,"error",e.response.data)}.bind(e))}))},createRoles:function(){var e=this;this.waitingToCreateRoles=!1;var t=this.plan.product,n=this.roles,r="userm/role",i=n.filter((function(e){return"new"===e.state||"error"===e.state}));0===i.length&&n.forEach((function(t){return e.associateRoles(t.id,t.perms)})),i.forEach((function(n){var i={product:t,name:n.name,description:n.description};J.a.post(r,i).then(function(e){this.$set(n,"state","existing"),this.$set(n,"id",e.data.id),this.associateRoles(n.id,n.perms)}.bind(e)).catch(function(e){window.console.error("JN role",e),this.$set(n,"state","error"),this.$set(n,"error",e.response.data)}.bind(e))}))},associateRoles:function(e,t){var n=this,r=t.map((function(e){return n.perms.find((function(t){return t.name===e})).id}));window.console.debug("JN","associate",e,t,r),J.a.put("userm/role/"+e+"/permissions",r).then((function(e){window.console.debug("JN","associar",e)}))}}},X=H,K=(n("b4af"),x(X,Q,Y,!1,null,"29520b54",null)),Z=K.exports,ee=[{name:"Perms base acesso ao RM",vars:[{name:"MSG",type:"simple",value:"mensagem para acrescentar na descrição"}],productPerms:[{product:"recordm",perms:[{name:"module:view:custom-resource",description:""},{name:"module:view:gestaoocurrencias-importacao",description:""},{name:"module:view:instance.create",description:""},{name:"module:view:instance.detail",description:""},{name:"module:view:instance.duplicate",description:""},{name:"module:view:instance.groupedit",description:""},{name:"module:view:search-definition",description:""},{name:"module:view:search-domain",description:""},{name:"instances:export",description:""},{name:"process:instantiate",description:""},{name:"rm-importer-stats:read",description:""},{name:"view:share",description:""}],roles:[{name:"RM BASE Access",description:"Perfil base para aceder ao RM",perms:["module:view:custom-resource ","module:view:gestaoocurrencias-importacao","module:view:instance.create ","module:view:instance.detail ","module:view:instance.duplicate ","module:view:instance.groupedit ","module:view:search-definition ","module:view:search-domain ","instances:export ","process:instantiate ","rm-importer-stats:read ","view:share "]}]}]},{name:"Perms base Definição RM",vars:[{name:"DEF",type:"RM-DEF",value:{}},{name:"MSG",type:"simple",value:"mensagem para acrescentar na descrição"}],productPerms:[{product:"recordm",perms:[{name:"definitions:read:$$DEF.ID$$",description:"$$DEF.NAME$$ - ler definição $$MSG$$"},{name:"definitions:instantiate:$$DEF.ID$$",description:"$$DEF.NAME$$ - criar novas instâncias $$MSG$$"},{name:"instances:read:$$DEF.ID$$",description:"$$DEF.NAME$$ - ler instâncias $$MSG$$"},{name:"instances:update:$$DEF.ID$$",description:"$$DEF.NAME$$ - update de instâncias $$MSG$$"},{name:"tasks:*:$$DEF.ID$$",description:"$$DEF.NAME$$ - todas perms sobre tasks $$MSG$$"},{name:"instances:delete:$$DEF.ID$$",description:"$$DEF.NAME$$ - apagar instâncias $$MSG$$"}],roles:[{name:"rm - $$DEF.NAME$$ - read",description:"consultar $$MSG$$ ",perms:["definitions:read:$$DEF.ID$$","instances:read:$$DEF.ID$$"]},{name:"rm - $$DEF.NAME$$ - change",description:"criar e alterar instâncias $$MSG$$",perms:["definitions:instantiate:$$DEF.ID$$","instances:update:$$DEF.ID$$","tasks:*:$$DEF.ID$$","instances:delete:$$DEF.ID$$"]}]}]},{name:"Perms base Definição RM com delete separado",vars:[{name:"DEF",type:"RM-DEF",value:""},{name:"MSG",type:"simple",value:"mensagem para acrescentar na descrição"}],productPerms:[{product:"recordm",perms:[{name:"definitions:read:$$DEF.ID$$",description:"$$DEF.NAME$$ - ler Definição $$MSG$$"},{name:"definitions:instantiate:$$DEF.ID$$",description:"$$DEF.NAME$$ - criar novas instâncias $$MSG$$"},{name:"instances:read:$$DEF.ID$$",description:"$$DEF.NAME$$ - ler instâncias $$MSG$$"},{name:"instances:update:$$DEF.ID$$",description:"$$DEF.NAME$$ - update de instãncias $$MSG$$"},{name:"tasks:*:$$DEF.ID$$",description:"$$DEF.NAME$$ - todas perms sobre tasks $$MSG$$"},{name:"instances:delete:$$DEF.ID$$",description:"$$DEF.NAME$$ - apagar instâncias $$MSG$$"}],roles:[{name:"rm - $$DEF.NAME$$ - read",description:"consultar instâncias de $$DEF.NAME$$",perms:["definitions:read:$$DEF.ID$$","instances:read:$$DEF.ID$$"]},{name:"rm - $$DEF.NAME$$ - change",description:"criar e alterar instâncias de $$DEF.NAME$$",perms:["definitions:instantiate:$$DEF.ID$$","instances:update:$$DEF.ID$$","tasks:*:$$DEF.ID$$"]},{name:"rm - $$DEF.NAME$$ - delete",description:"apagar instâncias de $$DEF.NAME$$",perms:["instances:delete:$$DEF.ID$$"]}]}]},{name:"Perms separadas de $tasks para Definição RM",vars:[{name:"DEF",type:"RM-DEF",value:""}],productPerms:[{product:"recordm",perms:[{name:"tasks:create:$$DEF.ID$$",description:"$$DEF.NAME$$ - tasks - create"},{name:"tasks:assign:$$DEF.ID$$",description:"$$DEF.NAME$$ - tasks - assign"},{name:"tasks:complete:$$DEF.ID$$",description:"$$DEF.NAME$$ - tasks - complete"},{name:"tasks:delete:$$DEF.ID$$",description:"$$DEF.NAME$$ - tasks - delete"}],roles:[{name:"rm - $$DEF.NAME$$ - tasks create and delete",description:"criar e apagar tarefas",perms:["tasks:create:$$DEF.ID$$","tasks:delete:$$DEF.ID$$"]},{name:"rm - $$DEF.NAME$$ - tasks assign",description:"assignar tarefas",perms:["tasks:assign:$$DEF.ID$$"]},{name:"rm - $$DEF.NAME$$ - tasks complete",description:"completar tarefas",perms:["tasks:complete:$$DEF.ID$$"]}]}]},{name:"Perms base Domínio RM",vars:[{name:"ID",type:"RM-DOMAIN-ID",value:""},{name:"NAME",type:"simple",value:"nome do dominio"},{name:"MSG",type:"simple",value:"mensagem para acrescentar na descrição"}],productPerms:[{product:"recordm",perms:[{name:"domains:read:$$ID$$",description:"$$NAME$$ - consultar $$MSG$$"}],roles:[{name:"rm - $$NAME$$ - domain",description:"consultar domínio $$MSG$$",perms:["domains:read:$$ID$$"]}]}]}],te={userm:[{domain:"module",actions:[{name:"view",entities:[{name:"group"},{name:"role"},{name:"permission"},{name:"create.user"},{name:"details.user"},{name:"create.group"},{name:"details.group"},{name:"create.role"},{name:"details.role"},{name:"create.permission"},{name:"details.permission"},{name:"custom-resource"}]}]},{domain:"user",actions:[{name:"create"},{name:"read"},{name:"update"},{name:"delete"},{name:"assign-substitute"}]},{domain:"group",actions:[{name:"create"},{name:"read"},{name:"update"},{name:"delete"},{name:"add-user"},{name:"add-role"},{name:"remove-user"},{name:"remove-role"}]},{domain:"role",actions:[{name:"create"},{name:"read"},{name:"update"},{name:"delete"},{name:"add-permission"},{name:"remove-permission"}]},{domain:"permission",actions:[{name:"create"},{name:"read"},{name:"update"},{name:"delete"}]}],confm:[{domain:"module",actions:[{name:"view",entities:[{name:"dashboard "},{name:"search "},{name:"cpedetails "},{name:"cpestatus "},{name:"bulkcommands"},{name:"jobs "},{name:"jobdetails "},{name:"jobstatus "},{name:"templates "},{name:"reports "},{name:"reportdetail"},{name:"custom-resource"}]}]},{domain:"equips",actions:[{name:"create"},{name:"read"},{name:"update"},{name:"delete"},{name:"import"},{name:"configuration"},{name:"command"}]},{domain:"jobreqs",actions:[{name:"read"}]},{domain:"templates",actions:[{name:"read"},{name:"update"},{name:"generate"},{name:"zonereorder"},{name:"zonedelete"}]}],recordm:[{domain:"module",help:"",actions:[{name:"view",help:"",entities:[{name:"domains"},{name:"definition.create"},{name:"definition.edit"},{name:"search-domain"},{name:"search-definition"},{name:"instance.create"},{name:"instance.detail"},{name:"instance.duplicate"},{name:"instance.groupedit"},{name:"reports"},{name:"reportdetail"},{name:"custom-resource"}]}]},{domain:"view",actions:[{name:"share"}]},{domain:"domains",actions:[{name:"create"},{name:"read",entities:[{type:"RM-DOMAIN-ID"}]},{name:"update"},{name:"delete"}]},{domain:"definitions",actions:[{name:"create"},{name:"read",entities:[{type:"RM-DEF"}]},{name:"instantiate",entities:[{type:"RM-DEF"}],help:"para criar novas instâncias"},{name:"update"},{name:"delete"},{name:"bulkrequest",entities:[{type:"RM-DEF"}],help:""},{name:"instance.add-log",help:""},{name:"instance.validate-for-user",help:""}]},{domain:"instances",actions:[{name:"read",entities:[{type:"RM-DEF"}]},{name:"update",entities:[{type:"RM-DEF"}]},{name:"delete",entities:[{type:"RM-DEF"}]},{name:"import",entities:[{type:"RM-DEF"}]},{name:"export",entities:[{type:"RM-DEF"}]}]},{domain:"tasks",actions:[{name:"*",entities:[{type:"RM-DEF"}]},{name:"create",entities:[{type:"RM-DEF"}]},{name:"assign",entities:[{type:"RM-DEF"}]},{name:"complete",entities:[{type:"RM-DEF"}]},{name:"delete",entities:[{type:"RM-DEF"}]}]},{domain:"workitem",help:"para poder criar tarefas nos $tasklist",actions:[{name:"create"}]},{domain:"process",help:"para poder lançar processos nos $tasklist",actions:[{name:"instantiate"}]}]},ne=function(e,t){return t.reduce((function(e,t){return"object"===d(t.value)?(e=e.replace("$$".concat(t.name,".ID$$"),t.value.id),e=e.replace("$$".concat(t.name,".NAME$$"),t.value.name)):e=e.replace("$$".concat(t.name,"$$"),t.value),e}),e)},re={name:"app",components:{ProductPermBuilder:z,RmDomainChooser:w,RmDefinitionChooser:T,PlanExecutor:Z},data:function(){return{debug:!1,showTemplates:!1,showBuilder:!0,showPlan:!1,permTemplates:ee,selectedTemplate:null,perms:te,rmPerms:{product:"recordm",perms:[{name:"",description:""}],roles:[]}}},methods:{applyTemplate:function(){var e=this.selectedTemplate.vars,t=JSON.parse(JSON.stringify(this.selectedTemplate.productPerms[0]));t.perms=t.perms.map((function(t){return{name:ne(t.name,e),description:ne(t.description,e)}})),t.roles=t.roles.map((function(t){return{name:ne(t.name,e),description:ne(t.description,e),perms:t.perms.map((function(t){return ne(t,e)}))}})),this.rmPerms=t,this.showTemplates=!1,this.showBuilder=!0},plan:function(){this.showBuilder=!1,this.showPlan=!0}}},ie=re,oe=(n("034f"),x(ie,o,a,!1,null,null,null)),ae=oe.exports,se=n("a2c9"),ce=n.n(se),ue=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-flex",e._b({},"v-flex",e.$attrs,!1),[n("div",{class:{cobcomponent:!0,board:!0,flash:e.flash},on:{dblclick:e.toggleDebug}},[e._t("default")],2)])},le=[];const fe={data(){return{cobDebug:!1,errors:""}},methods:{recursiveToggleDebug(e){let t=this.recursiveToggleDebug;void 0!==e.cobDebug&&(e.cobDebug=!e.cobDebug),e.$children.forEach(e=>t(e))},toggleDebug(e){e.altKey&&this.recursiveToggleDebug(this)}}};var de,pe,me={name:"c-board",mixins:[fe],data:function(){return{flash:!1}},created:function(){var e=this;this.$on("value-changed",e.signalChange)},methods:{signalChange:function(){var e=this;setTimeout((function(){return e.flash=!0}),300),setTimeout((function(){return e.flash=!1}),1300)}}},he=me,ve=(n("6e26"),x(he,ue,le,!1,null,null,null)),be=ve.exports,ye=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"fade"}},[e.show?n("span",{staticClass:"cob-cell",class:{center_Header:e.header,center_Line:e.line,action_Add:e.add,left_Title:e.title,left_Subtitle:e.subtitle,right_Plain:e.plain,right_Info:e.info,right_Success:e.success,right_Warning:e.warning,right_Important:e.important,right_Success1:e.success1,right_Success2:e.success2,right_Success3:e.success3,right_Success4:e.success4,right_Success5:e.success5}},[e._t("default")],2):e._e()])},ge=[],_e={name:"c",props:{header:Boolean,line:Boolean,add:Boolean,title:Boolean,subtitle:Boolean,plain:Boolean,info:Boolean,success:Boolean,success1:Boolean,success2:Boolean,success3:Boolean,success4:Boolean,success5:Boolean,warning:Boolean,important:Boolean},data:function(){return{show:!0}},created:function(){var e=this;this.$on("value-changed",e.signalChange)},methods:{signalChange:function(){var e=this;setTimeout((function(){return e.show=!1}),10),setTimeout((function(){return e.show=!0}),1e3),setTimeout((function(){return e.show=!1}),2e3),setTimeout((function(){return e.show=!0}),3e3),setTimeout((function(){return e.show=!1}),4e3),setTimeout((function(){return e.show=!0}),5e3),this.$parent.$emit("value-changed")}}},xe=_e,$e=(n("289e"),x(xe,ye,ge,!1,null,null,null)),we=$e.exports,Ee=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",[n("a",{attrs:{href:e.resultsURL}},[e._v(" "+e._s(e.displayValue)+" ")]),n("div",{directives:[{name:"show",rawName:"v-show",value:e.cobDebug,expression:"cobDebug"}],staticStyle:{display:"inline","vertical-align":"middle"}},[n("v-tooltip",{attrs:{bottom:""},scopedSlots:e._u([{key:"activator",fn:function(t){var r=t.on;return[n("span",e._g({staticClass:"active_alert",style:e.myID==e.updater?"color:red":"color:blue"},r),[e._v(" i")])]}}])},[n("span",[e._v("\n AgentID: "+e._s(e.myID)+" "),n("br"),e._v("\n Updated by: "+e._s(e.updater)+" "),n("br"),e._v("\n Expiration: "+e._s(e.updateTime)+" "),n("br"),e._v("\n Product: "+e._s(e.product)+" "),n("br"),e._v("\n Def: "+e._s(e.def)+" "),n("br"),e._v("\n DomainId: "+e._s(e.domainId)+" "),n("br"),e._v("\n Query: "+e._s(e.query)+"\n "),n("span",{directives:[{name:"show",rawName:"v-show",value:e.errors,expression:"errors"}],staticStyle:{color:"#FBB"}},[n("br"),e._v(e._s(e.errors))])])])],1)])},Se=[],De=(n("c5f6"),n("0fc2")),Ie={recordm:{resultsURLTemplate:"/recordm/#/definitions/__DEF_ID__/q=__QUERY__",queryURLTemplate:"/recordm/recordm/definitions/search/name/__DEF_NAME__?from=0&size=0&q=__QUERY__",cacheIdTemplate:"count-__DEF_NAME__-__QUERY__",resultsURLTemplate_domain:"/recordm/#/domain/__DOMAIN_ID__/q=__QUERY__",queryURLTemplate_domain:"/recordm/recordm/domains/search/__DOMAIN_ID__?from=0&size=0&q=__QUERY__",cacheIdTemplate_domain:"count-domain-__DOMAIN_ID__-__QUERY__"},confm:{resultsURLTemplate:"/confm/#/search/q=__QUERY__",queryURLTemplate:"/confm/confm/search?from=0&size=0&q=__QUERY__",cacheIdTemplate:"count-confm-__QUERY__"},devicem:{resultsURLTemplate:"/devicem/#/search/q=__QUERY__",queryURLTemplate:"/devicem/devicem/search?from=0&size=0&q=__QUERY__",cacheIdTemplate:"count-devicem-__QUERY__"},workm:{resultsURLTemplate:"/workm/#/workm.search.tasks/q=__QUERY__",queryURLTemplate:"/workm/workm/search?from=0&size=0&q=__QUERY__",cacheIdTemplate:"count-workm-__QUERY__"}},Re={name:"c-count",mixins:[De["a"],fe],props:{product:{type:String,default:"recordm"},def:String,domainId:Number,query:{type:String,default:"*"},view:Number},data:function(){return{defId:Number,queryUrl:String,resultsURL:String}},created:function(){var e=this;this.valueName=this.getCacheId(),this.queryUrl=this.getQueryUrl(),"recordm"===this.product.toLowerCase()&&J.a.get("/recordm/recordm/definitions/name/"+this.def).then((function(t){e.defId=t.data.id,e.updateResultsUrl()})).catch((function(t){e.errors=t}))},computed:{displayValue:function(){return"number"==typeof this.value?new Intl.NumberFormat("pt-BR",{}).format(this.value):"string"==typeof this.value?this.value:"..."}},methods:{getCacheId:function(){var e;return this.domainId>0?(e=Ie[this.product.toLowerCase()].cacheIdTemplate_domain,e=e.replace("__DOMAIN_ID__",this.domainId)):(e=Ie[this.product.toLowerCase()].cacheIdTemplate,e=e.replace("__DEF_NAME__",this.def)),e=e.replace("__QUERY__",this.query),e},getQueryUrl:function(){var e;return this.domainId>0?(e=Ie[this.product.toLowerCase()].queryURLTemplate_domain,e=e.replace("__DOMAIN_ID__",this.domainId)):(e=Ie[this.product.toLowerCase()].queryURLTemplate,e=e.replace("__DEF_NAME__",this.def)),e=e.replace("__QUERY__",this.query),this.updateResultsUrl(),e},updateResultsUrl:function(){this.domainId>0?(this.resultsURL=Ie[this.product.toLowerCase()].resultsURLTemplate_domain,this.resultsURL=this.resultsURL.replace("__DOMAIN_ID__",this.domainId)):(this.resultsURL=Ie[this.product.toLowerCase()].resultsURLTemplate,this.resultsURL=this.resultsURL.replace("__DEF_ID__",this.defId),this.resultsURL+=this.view?"&av="+this.view:""),this.resultsURL=this.resultsURL.replace("__QUERY__",this.query)},getNewValue:function(){return J.a.get(this.queryUrl).then((function(e){return e.data.hits.total}))}}},Te=Re,Me=x(Te,Ee,Se,!1,null,null,null),Oe=Me.exports,Pe=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",{staticStyle:{overflow:"unset","grid-column":"1 / -1"}},[n("ul",{directives:[{name:"show",rawName:"v-show",value:e.cobDebug,expression:"cobDebug"}]},e._l(e.value,(function(t,r){return n("li",{key:r},[e._v("\n "+e._s(t)+"\n ")])})),0),n("div",{directives:[{name:"show",rawName:"v-show",value:e.cobDebug,expression:"cobDebug"}]},[n("v-tooltip",{attrs:{bottom:""},scopedSlots:e._u([{key:"activator",fn:function(t){var r=t.on;return[n("span",e._g({staticClass:"active_alert",style:e.myID==e.updater?"color:red":"color:blue"},r),[e._v(" i")])]}}])},[n("span",[e._v("\n AgentID: "+e._s(e.myID)+" "),n("br"),e._v("\n Updated by: "+e._s(e.updater)+" "),n("br"),e._v("\n Expiration: "+e._s(e.updateTime)+" "),n("br"),e._v("\n Index: "+e._s(e.index)+"\n "),n("span",{directives:[{name:"show",rawName:"v-show",value:e.errors,expression:"errors"}],staticStyle:{color:"#FBB"}},[n("br"),e._v(e._s(e.errors))])])])],1),e._t("default",null,{value:e.value})],2)},ke=[],Ne={name:"c-es",mixins:[De["a"],fe],props:{index:String,query:{type:String,default:"*"}},data:function(){return{queryUrl:String}},created:function(){this.valueName=this.getCacheId(),this.queryUrl=this.getQueryUrl()},computed:{displayValue:function(){return"object"==d(this.value)?JSON.stringify(this.value):"..."}},methods:{getCacheId:function(){return"es-"+this.index+"-"+this.query},getQueryUrl:function(){return this.index&&this.index.includes("*")?"/es/"+this.index+"/_search?from=0&size=0":"/recordm/recordm/definitions/search/advanced/"+this.index},getNewValue:function(){var e=this,t={query:{query_string:{query:this.query,analyze_wildcard:!0}},aggs:{definicoes:{terms:{field:"definitionName.raw"}}}};return this.waitFor("this.queryUrl").then((function(){return J.a.post(e.queryUrl,t)})).then((function(e){return e.data.aggregations.definicoes.buckets}))}}},Fe=Ne,Ae=x(Fe,Pe,ke,!1,null,null,null),Le=Ae.exports,je={name:"c-distincts",mixins:[Le],props:{field:String},methods:{getCacheId:function(){return"distincts-"+this.index+"-"+this.query+this.field},getNewValue:function(){var e=this,t={query:{query_string:{query:this.query,analyze_wildcard:!0}},aggs:{distinct:{terms:{field:this.field,size:50}}}};return this.waitFor("this.queryUrl").then((function(){return J.a.post(e.queryUrl,t)})).then((function(e){return e.data.aggregations.distinct.buckets.map((function(e){return e.key}))}))}}},Ce=je,Ue=x(Ce,de,pe,!1,null,null,null),Be=Ue.exports,qe=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",{staticStyle:{overflow:"unset","grid-column":"1 / -1"}},[e.cobDebug?n("ul",e._l(e.value,(function(t,r){return n("li",{key:r},[e._v("\n "+e._s(t)+"\n ")])})),0):e._e(),n("div",{directives:[{name:"show",rawName:"v-show",value:e.cobDebug,expression:"cobDebug"}],staticStyle:{display:"inline","vertical-align":"middle"}},[n("v-tooltip",{attrs:{bottom:""},scopedSlots:e._u([{key:"activator",fn:function(t){var r=t.on;return[n("span",e._g({staticClass:"active_alert",style:e.myID==e.updater?"color:red":"color:blue"},r),[e._v(" i")])]}}])},[n("span",[e._v("\n AgentID: "+e._s(e.myID)+" "),n("br"),e._v("\n Updated by: "+e._s(e.updater)+" "),n("br"),e._v("\n Expiration: "+e._s(e.updateTime)+" "),n("br"),e._v("\n Def: "+e._s(e.def)+" "),n("br"),e._v("\n Query: "+e._s(e.query)+" \n "),n("span",{directives:[{name:"show",rawName:"v-show",value:e.errors,expression:"errors"}],staticStyle:{color:"#FBB"}},[n("br"),e._v(e._s(e.errors))])])])],1),e._t("default",null,{value:e.value})],2)},Ve=[],Ge={name:"c-records",mixins:[Oe],data:function(){return{size:100}},methods:{getCacheId:function(){return"records-"+this.def+"-"+this.query},getQueryUrl:function(){return"/recordm/recordm/definitions/search/name/"+this.def+"?from=0&size=500&q="+this.query},getNewValue:function(){return J.a.get(this.queryUrl).then((function(e){return e.data.hits.hits.map((function(e){return e._source}))}))}}},ze=Ge,Qe=x(ze,qe,Ve,!1,null,null,null),Ye=Qe.exports,We=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"show",rawName:"v-show",value:e.cobDebug||e.show,expression:"cobDebug || show"}],staticClass:"text-xs-left gridlast"},[n("v-progress-circular",{directives:[{name:"ripple",rawName:"v-ripple"}],attrs:{rotate:360,size:e.size,width:e.width,value:e.value,color:e.color},on:{click:function(t){return e.resetCountDown()}}},[e._v("\n "+e._s(e.progressDisplay)+e._s(e.progressUnit)+"\n ")])],1)},Je=[],He=(n("2074"),function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done);r=!0)if(n.push(a.value),t&&n.length===t)break}catch(c){i=!0,o=c}finally{try{!r&&s["return"]&&s["return"]()}finally{if(i)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}()),Xe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function Ke(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ze(e){return!!e&&!!e.match(/^(#|(rgb|hsl)a?\()/)}var et=i.a.extend({name:"colorable",props:{color:String},methods:{setBackgroundColor:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Ze(e)?t.style=Xe({},t.style,{"background-color":""+e,"border-color":""+e}):e&&(t.class=Xe({},t.class,Ke({},e,!0))),t},setTextColor:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Ze(e))t.style=Xe({},t.style,{color:""+e,"caret-color":""+e});else if(e){var n=e.toString().trim().split(" ",2),r=He(n,2),i=r[0],o=r[1];t.class=Xe({},t.class,Ke({},i+"--text",!0)),o&&(t.class["text--"+o]=!0)}return t}}});function tt(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return i.a.extend({mixins:t})}var nt=tt(et).extend({name:"v-progress-circular",props:{button:Boolean,indeterminate:Boolean,rotate:{type:[Number,String],default:0},size:{type:[Number,String],default:32},width:{type:[Number,String],default:4},value:{type:[Number,String],default:0}},computed:{calculatedSize:function(){return Number(this.size)+(this.button?8:0)},circumference:function(){return 2*Math.PI*this.radius},classes:function(){return{"v-progress-circular--indeterminate":this.indeterminate,"v-progress-circular--button":this.button}},normalizedValue:function(){return this.value<0?0:this.value>100?100:parseFloat(this.value)},radius:function(){return 20},strokeDashArray:function(){return Math.round(1e3*this.circumference)/1e3},strokeDashOffset:function(){return(100-this.normalizedValue)/100*this.circumference+"px"},strokeWidth:function(){return Number(this.width)/+this.size*this.viewBoxSize*2},styles:function(){return{height:this.calculatedSize+"px",width:this.calculatedSize+"px"}},svgStyles:function(){return{transform:"rotate("+Number(this.rotate)+"deg)"}},viewBoxSize:function(){return this.radius/(1-Number(this.width)/+this.size)}},methods:{genCircle:function(e,t,n){return e("circle",{class:"v-progress-circular__"+t,attrs:{fill:"transparent",cx:2*this.viewBoxSize,cy:2*this.viewBoxSize,r:this.radius,"stroke-width":this.strokeWidth,"stroke-dasharray":this.strokeDashArray,"stroke-dashoffset":n}})},genSvg:function(e){var t=[this.indeterminate||this.genCircle(e,"underlay",0),this.genCircle(e,"overlay",this.strokeDashOffset)];return e("svg",{style:this.svgStyles,attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:this.viewBoxSize+" "+this.viewBoxSize+" "+2*this.viewBoxSize+" "+2*this.viewBoxSize}},t)}},render:function(e){var t=e("div",{staticClass:"v-progress-circular__info"},this.$slots.default),n=this.genSvg(e);return e("div",this.setTextColor(this.color,{staticClass:"v-progress-circular",attrs:{role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":this.indeterminate?void 0:this.normalizedValue},class:this.classes,style:this.styles,on:this.$listeners}),[n,t])}}),rt=nt;function it(e,t,n){if(n&&(t={_isVue:!0,$parent:n,$options:t}),t){if(t.$_alreadyWarned=t.$_alreadyWarned||[],t.$_alreadyWarned.includes(e))return;t.$_alreadyWarned.push(e)}return"[Vuetify] "+e+(t?ut(t):"")}function ot(e,t,n){var r=it(e,t,n);null!=r&&console.warn(r)}var at=/(?:^|[-_])(\w)/g,st=function(e){return e.replace(at,(function(e){return e.toUpperCase()})).replace(/[-_]/g,"")};function ct(e,t){if(e.$root===e)return"<Root>";var n="function"===typeof e&&null!=e.cid?e.options:e._isVue?e.$options||e.constructor.options:e||{},r=n.name||n._componentTag,i=n.__file;if(!r&&i){var o=i.match(/([^/\\]+)\.vue$/);r=o&&o[1]}return(r?"<"+st(r)+">":"<Anonymous>")+(i&&!1!==t?" at "+i:"")}function ut(e){if(e._isVue&&e.$parent){var t=[],n=0;while(e){if(t.length>0){var r=t[t.length-1];if(r.constructor===e.constructor){n++,e=e.$parent;continue}n>0&&(t[t.length-1]=[r,n],n=0)}t.push(e),e=e.$parent}return"\n\nfound in\n\n"+t.map((function(e,t){return""+(0===t?"---\x3e ":" ".repeat(5+2*t))+(Array.isArray(e)?ct(e[0])+"... ("+e[1]+" recursive calls)":ct(e))})).join("\n")}return"\n\n(found in "+ct(e)+")"}function lt(e,t){e.style["transform"]=t,e.style["webkitTransform"]=t}function ft(e,t){e.style["opacity"]=t.toString()}function dt(e){return"TouchEvent"===e.constructor.name}var pt=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=t.getBoundingClientRect(),i=dt(e)?e.touches[e.touches.length-1]:e,o=i.clientX-r.left,a=i.clientY-r.top,s=0,c=.3;t._ripple&&t._ripple.circle?(c=.15,s=t.clientWidth/2,s=n.center?s:s+Math.sqrt(Math.pow(o-s,2)+Math.pow(a-s,2))/4):s=Math.sqrt(Math.pow(t.clientWidth,2)+Math.pow(t.clientHeight,2))/2;var u=(t.clientWidth-2*s)/2+"px",l=(t.clientHeight-2*s)/2+"px",f=n.center?u:o-s+"px",d=n.center?l:a-s+"px";return{radius:s,scale:c,x:f,y:d,centerX:u,centerY:l}},mt={show:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(t._ripple&&t._ripple.enabled){var r=document.createElement("span"),i=document.createElement("span");r.appendChild(i),r.className="v-ripple__container",n.class&&(r.className+=" "+n.class);var o=pt(e,t,n),a=o.radius,s=o.scale,c=o.x,u=o.y,l=o.centerX,f=o.centerY,d=2*a+"px";i.className="v-ripple__animation",i.style.width=d,i.style.height=d,t.appendChild(r);var p=window.getComputedStyle(t);p&&"static"===p.position&&(t.style.position="relative",t.dataset.previousPosition="static"),i.classList.add("v-ripple__animation--enter"),i.classList.add("v-ripple__animation--visible"),lt(i,"translate("+c+", "+u+") scale3d("+s+","+s+","+s+")"),ft(i,0),i.dataset.activated=String(performance.now()),setTimeout((function(){i.classList.remove("v-ripple__animation--enter"),i.classList.add("v-ripple__animation--in"),lt(i,"translate("+l+", "+f+") scale3d(1,1,1)"),ft(i,.25)}),0)}},hide:function(e){if(e&&e._ripple&&e._ripple.enabled){var t=e.getElementsByClassName("v-ripple__animation");if(0!==t.length){var n=t[t.length-1];if(!n.dataset.isHiding){n.dataset.isHiding="true";var r=performance.now()-Number(n.dataset.activated),i=Math.max(250-r,0);setTimeout((function(){n.classList.remove("v-ripple__animation--in"),n.classList.add("v-ripple__animation--out"),ft(n,0),setTimeout((function(){var t=e.getElementsByClassName("v-ripple__animation");1===t.length&&e.dataset.previousPosition&&(e.style.position=e.dataset.previousPosition,delete e.dataset.previousPosition),n.parentNode&&e.removeChild(n.parentNode)}),300)}),i)}}}}};function ht(e){return"undefined"===typeof e||!!e}function vt(e){var t={},n=e.currentTarget;n&&n._ripple&&!n._ripple.touched&&(dt(e)&&(n._ripple.touched=!0),t.center=n._ripple.centered,n._ripple.class&&(t.class=n._ripple.class),mt.show(e,n,t))}function bt(e){var t=e.currentTarget;t&&(window.setTimeout((function(){t._ripple&&(t._ripple.touched=!1)})),mt.hide(t))}function yt(e,t,n){var r=ht(t.value);r||mt.hide(e),e._ripple=e._ripple||{},e._ripple.enabled=r;var i=t.value||{};i.center&&(e._ripple.centered=!0),i.class&&(e._ripple.class=t.value.class),i.circle&&(e._ripple.circle=i.circle),r&&!n?(e.addEventListener("touchstart",vt,{passive:!0}),e.addEventListener("touchend",bt,{passive:!0}),e.addEventListener("touchcancel",bt),e.addEventListener("mousedown",vt),e.addEventListener("mouseup",bt),e.addEventListener("mouseleave",bt),e.addEventListener("dragstart",bt,{passive:!0})):!r&&n&&gt(e)}function gt(e){e.removeEventListener("mousedown",vt),e.removeEventListener("touchstart",bt),e.removeEventListener("touchend",bt),e.removeEventListener("touchcancel",bt),e.removeEventListener("mouseup",bt),e.removeEventListener("mouseleave",bt),e.removeEventListener("dragstart",bt)}function _t(e,t,n){yt(e,t,!1),n.context&&n.context.$nextTick((function(){var t=window.getComputedStyle(e);if(t&&"inline"===t.display){var r=n.fnOptions?[n.fnOptions,n.context]:[n.componentInstance];ot.apply(void 0,["v-ripple can only be used on block-level elements"].concat(r))}}))}function xt(e){delete e._ripple,gt(e)}function $t(e,t){if(t.value!==t.oldValue){var n=ht(t.oldValue);yt(e,t,n)}}var wt={bind:_t,unbind:xt,update:$t},Et={name:"CRefresh",mixins:[fe],components:{VProgressCircular:rt},directives:{Ripple:wt},props:{time:{type:Number,default:60},step:{type:Number,default:1},show:{type:Boolean,default:!1},size:{type:Number,default:23},width:{type:Number,default:3},color:{type:String,default:"#999"}},data:function(){return{timer:{},value:0,running:!0}},mounted:function(){this.initCountDown()},computed:{remainingTime:function(){return this.time*this.value/100},scale:function(){return this.remainingTime>=3600?3600:this.remainingTime>=60?60:1},progressDisplay:function(){return Math.floor(this.remainingTime/this.scale)},progressUnit:function(){return 3600===this.scale?"h":60===this.scale?"m":""}},methods:{initCountDown:function(){this.value=0,this.timer=setInterval(this.countDown,1e3*this.step)},recursiveForceRefresh:function(e){var t=this;void 0!==e.forceRefresh&&e.forceRefresh(),e.$children.forEach((function(e){return t.recursiveForceRefresh(e)}))},recursiveUpdateValue:function(e){var t=this;void 0!==e.updateValue&&e.updateValue(),e.$children.forEach((function(e){return t.recursiveUpdateValue(e)}))},resetCountDown:function(){clearInterval(this.timer),this.initCountDown(),this.recursiveForceRefresh(this.$parent)},countDown:function(){if(this.running&&this.$el&&this.$el.isConnected){var e=100*this.step/this.time;this.value>0?this.value-=e:(this.value=100,this.recursiveUpdateValue(this.$parent))}}}},St=Et,Dt=(n("498b"),x(St,We,Je,!1,null,"5a807bbe",null)),It=Dt.exports,Rt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",[n("a",{attrs:{href:e.resultsURL}},[e._v(" "+e._s(e.displayValue)+" ")]),n("div",{directives:[{name:"show",rawName:"v-show",value:e.cobDebug,expression:"cobDebug"}],staticStyle:{display:"inline","vertical-align":"middle"}},[n("v-tooltip",{attrs:{bottom:""},scopedSlots:e._u([{key:"activator",fn:function(t){var r=t.on;return[n("span",e._g({staticClass:"active_alert",style:e.myID==e.updater?"color:red":"color:blue"},r),[e._v(" i")])]}}])},[n("span",[e._v("\n AgentID: "+e._s(e.myID)+" "),n("br"),e._v("\n Updated by: "+e._s(e.updater)+" "),n("br"),e._v("\n Expiration: "+e._s(e.updateTime)+" "),n("br"),e._v("\n Query: "+e._s(e.query)+" \n "),n("span",{directives:[{name:"show",rawName:"v-show",value:e.errors,expression:"errors"}],staticStyle:{color:"#FBB"}},[n("br"),e._v(e._s(e.errors))])])])],1)])},Tt=[],Mt={name:"c-sum",mixins:[Le],props:{field:String},data:function(){return{resultsURL:String}},created:function(){this.resultsURL="#/definitions/"+this.index.substring(this.index.indexOf("-")+1)+"/q="+this.query},computed:{displayValue:function(){return"number"==typeof this.value?new Intl.NumberFormat("pt-BR",{style:"currency",currency:"EUR"}).format(this.value):"string"==typeof this.value?this.value:"..."}},methods:{getCacheId:function(){return"sum-"+this.index+"-"+this.query+this.field},getNewValue:function(){var e=this,t={query:{bool:{must:[{query_string:{query:this.query,analyze_wildcard:!0}}],must_not:[]}},aggs:{soma:{sum:{field:this.field}}}};return this.waitFor("this.queryUrl").then((function(){return J.a.post(e.queryUrl,t).then((function(e){return e.data.aggregations.soma.value}))}))}}},Ot=Mt,Pt=x(Ot,Rt,Tt,!1,null,null,null),kt=Pt.exports;const Nt={CBoard:be,C:we,CCount:Oe,CEs:Le,CDistinct:Be,CRecords:Ye,CRefresh:It,CSum:kt};var Ft=Nt;i.a.config.productionTip=!1,i.a.config.devtools=!0,i.a.use(ce.a,{iconfont:"md"}),Object.keys(Ft).forEach((function(e){i.a.component(e,Ft[e])})),new i.a({render:function(e){return e(ae)}}).$mount("#userm-easy")},"584a":function(e,t){var n=e.exports={version:"2.6.10"};"number"==typeof __e&&(__e=n)},"5b4e":function(e,t,n){var r=n("36c3"),i=n("b447"),o=n("0fc9");e.exports=function(e){return function(t,n,a){var s,c=r(t),u=i(c.length),l=o(a,u);if(e&&n!=n){while(u>l)if(s=c[l++],s!=s)return!0}else for(;u>l;l++)if((e||l in c)&&c[l]===n)return e||l||0;return!e&&-1}}},"5ca1":function(e,t,n){var r=n("7726"),i=n("8378"),o=n("32e9"),a=n("2aba"),s=n("9b43"),c="prototype",u=function(e,t,n){var l,f,d,p,m=e&u.F,h=e&u.G,v=e&u.S,b=e&u.P,y=e&u.B,g=h?r:v?r[t]||(r[t]={}):(r[t]||{})[c],_=h?i:i[t]||(i[t]={}),x=_[c]||(_[c]={});for(l in h&&(n=t),n)f=!m&&g&&void 0!==g[l],d=(f?g:n)[l],p=y&&f?s(d,r):b&&"function"==typeof d?s(Function.call,d):d,g&&a(g,l,d,e&u.U),_[l]!=d&&o(_,l,p),b&&x[l]!=d&&(x[l]=d)};r.core=i,u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,e.exports=u},"5cc5":function(e,t,n){var r=n("2b4c")("iterator"),i=!1;try{var o=[7][r]();o["return"]=function(){i=!0},Array.from(o,(function(){throw 2}))}catch(a){}e.exports=function(e,t){if(!t&&!i)return!1;var n=!1;try{var o=[7],s=o[r]();s.next=function(){return{done:n=!0}},o[r]=function(){return s},e(o)}catch(a){}return n}},"5d58":function(e,t,n){e.exports=n("d8d6")},"5dbc":function(e,t,n){var r=n("d3f4"),i=n("8b97").set;e.exports=function(e,t,n){var o,a=t.constructor;return a!==n&&"function"==typeof a&&(o=a.prototype)!==n.prototype&&r(o)&&i&&i(e,o),e}},"5eda":function(e,t,n){var r=n("5ca1"),i=n("8378"),o=n("79e5");e.exports=function(e,t){var n=(i.Object||{})[e]||Object[e],a={};a[e]=t(n),r(r.S+r.F*o((function(){n(1)})),"Object",a)}},"5f1b":function(e,t,n){"use strict";var r=n("23c6"),i=RegExp.prototype.exec;e.exports=function(e,t){var n=e.exec;if("function"===typeof n){var o=n.call(e,t);if("object"!==typeof o)throw new TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==r(e))throw new TypeError("RegExp#exec called on incompatible receiver");return i.call(e,t)}},6111:function(e,t,n){},"613b":function(e,t,n){var r=n("5537")("keys"),i=n("ca5a");e.exports=function(e){return r[e]||(r[e]=i(e))}},"626a":function(e,t,n){var r=n("2d95");e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},"62a0":function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},"63b6":function(e,t,n){var r=n("e53d"),i=n("584a"),o=n("d864"),a=n("35e8"),s=n("07e3"),c="prototype",u=function(e,t,n){var l,f,d,p=e&u.F,m=e&u.G,h=e&u.S,v=e&u.P,b=e&u.B,y=e&u.W,g=m?i:i[t]||(i[t]={}),_=g[c],x=m?r:h?r[t]:(r[t]||{})[c];for(l in m&&(n=t),n)f=!p&&x&&void 0!==x[l],f&&s(g,l)||(d=f?x[l]:n[l],g[l]=m&&"function"!=typeof x[l]?n[l]:b&&f?o(d,r):y&&x[l]==d?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t[c]=e[c],t}(d):v&&"function"==typeof d?o(Function.call,d):d,v&&((g.virtual||(g.virtual={}))[l]=d,e&u.R&&_&&!_[l]&&a(_,l,d)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,e.exports=u},"64a9":function(e,t,n){},6718:function(e,t,n){var r=n("e53d"),i=n("584a"),o=n("b8e3"),a=n("ccb9"),s=n("d9f6").f;e.exports=function(e){var t=i.Symbol||(i.Symbol=o?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},6762:function(e,t,n){"use strict";var r=n("5ca1"),i=n("c366")(!0);r(r.P,"Array",{includes:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),n("9c6c")("includes")},"67bb":function(e,t,n){e.exports=n("f921")},6821:function(e,t,n){var r=n("626a"),i=n("be13");e.exports=function(e){return r(i(e))}},"69a8":function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},"69d3":function(e,t,n){n("6718")("asyncIterator")},"6a99":function(e,t,n){var r=n("d3f4");e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},"6abf":function(e,t,n){var r=n("e6f3"),i=n("1691").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},"6b4c":function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},"6c1c":function(e,t,n){n("c367");for(var r=n("e53d"),i=n("35e8"),o=n("481b"),a=n("5168")("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),c=0;c<s.length;c++){var u=s[c],l=r[u],f=l&&l.prototype;f&&!f[a]&&i(f,a,u),o[u]=o.Array}},"6e26":function(e,t,n){"use strict";var r=n("7bec"),i=n.n(r);i.a},"71c1":function(e,t,n){var r=n("3a38"),i=n("25eb");e.exports=function(e){return function(t,n){var o,a,s=String(i(t)),c=r(n),u=s.length;return c<0||c>=u?e?"":void 0:(o=s.charCodeAt(c),o<55296||o>56319||c+1===u||(a=s.charCodeAt(c+1))<56320||a>57343?e?s.charAt(c):o:e?s.slice(c,c+2):a-56320+(o-55296<<10)+65536)}}},7333:function(e,t,n){"use strict";var r=n("9e1e"),i=n("0d58"),o=n("2621"),a=n("52a7"),s=n("4bf8"),c=n("626a"),u=Object.assign;e.exports=!u||n("79e5")((function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=u({},e)[n]||Object.keys(u({},t)).join("")!=r}))?function(e,t){var n=s(e),u=arguments.length,l=1,f=o.f,d=a.f;while(u>l){var p,m=c(arguments[l++]),h=f?i(m).concat(f(m)):i(m),v=h.length,b=0;while(v>b)p=h[b++],r&&!d.call(m,p)||(n[p]=m[p])}return n}:u},7514:function(e,t,n){"use strict";var r=n("5ca1"),i=n("0a49")(5),o="find",a=!0;o in[]&&Array(1)[o]((function(){a=!1})),r(r.P+r.F*a,"Array",{find:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),n("9c6c")(o)},"765d":function(e,t,n){n("6718")("observable")},7726:function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},"77f1":function(e,t,n){var r=n("4588"),i=Math.max,o=Math.min;e.exports=function(e,t){return e=r(e),e<0?i(e+t,0):o(e,t)}},"794b":function(e,t,n){e.exports=!n("8e60")&&!n("294c")((function(){return 7!=Object.defineProperty(n("1ec9")("div"),"a",{get:function(){return 7}}).a}))},"79aa":function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},"79e5":function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},"7a56":function(e,t,n){"use strict";var r=n("7726"),i=n("86cc"),o=n("9e1e"),a=n("2b4c")("species");e.exports=function(e){var t=r[e];o&&t&&!t[a]&&i.f(t,a,{configurable:!0,get:function(){return this}})}},"7bec":function(e,t,n){},"7e90":function(e,t,n){var r=n("d9f6"),i=n("e4ae"),o=n("c3a1");e.exports=n("8e60")?Object.defineProperties:function(e,t){i(e);var n,a=o(t),s=a.length,c=0;while(s>c)r.f(e,n=a[c++],t[n]);return e}},"7f20":function(e,t,n){var r=n("86cc").f,i=n("69a8"),o=n("2b4c")("toStringTag");e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,o)&&r(e,o,{configurable:!0,value:t})}},"7f7f":function(e,t,n){var r=n("86cc").f,i=Function.prototype,o=/^\s*function ([^ (]*)/,a="name";a in i||n("9e1e")&&r(i,a,{configurable:!0,get:function(){try{return(""+this).match(o)[1]}catch(e){return""}}})},8079:function(e,t,n){var r=n("7726"),i=n("1991").set,o=r.MutationObserver||r.WebKitMutationObserver,a=r.process,s=r.Promise,c="process"==n("2d95")(a);e.exports=function(){var e,t,n,u=function(){var r,i;c&&(r=a.domain)&&r.exit();while(e){i=e.fn,e=e.next;try{i()}catch(o){throw e?n():t=void 0,o}}t=void 0,r&&r.enter()};if(c)n=function(){a.nextTick(u)};else if(!o||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var l=s.resolve(void 0);n=function(){l.then(u)}}else n=function(){i.call(r,u)};else{var f=!0,d=document.createTextNode("");new o(u).observe(d,{characterData:!0}),n=function(){d.data=f=!f}}return function(r){var i={fn:r,next:void 0};t&&(t.next=i),e||(e=i,n()),t=i}}},8378:function(e,t){var n=e.exports={version:"2.6.10"};"number"==typeof __e&&(__e=n)},8436:function(e,t){e.exports=function(){}},"84f2":function(e,t){e.exports={}},"86cc":function(e,t,n){var r=n("cb7c"),i=n("c69a"),o=n("6a99"),a=Object.defineProperty;t.f=n("9e1e")?Object.defineProperty:function(e,t,n){if(r(e),t=o(t,!0),r(n),i)try{return a(e,t,n)}catch(s){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},"8b97":function(e,t,n){var r=n("d3f4"),i=n("cb7c"),o=function(e,t){if(i(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{r=n("9b43")(Function.call,n("11e9").f(Object.prototype,"__proto__").set,2),r(e,[]),t=!(e instanceof Array)}catch(i){t=!0}return function(e,n){return o(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:o}},"8bbf":function(e,t){e.exports=Vue},"8e60":function(e,t,n){e.exports=!n("294c")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},"8f60":function(e,t,n){"use strict";var r=n("a159"),i=n("aebd"),o=n("45f2"),a={};n("35e8")(a,n("5168")("iterator"),(function(){return this})),e.exports=function(e,t,n){e.prototype=r(a,{next:i(1,n)}),o(e,t+" Iterator")}},9003:function(e,t,n){var r=n("6b4c");e.exports=Array.isArray||function(e){return"Array"==r(e)}},9093:function(e,t,n){var r=n("ce10"),i=n("e11e").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},9138:function(e,t,n){e.exports=n("35e8")},"9aa9":function(e,t){t.f=Object.getOwnPropertySymbols},"9b43":function(e,t,n){var r=n("d8e8");e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},"9c6c":function(e,t,n){var r=n("2b4c")("unscopables"),i=Array.prototype;void 0==i[r]&&n("32e9")(i,r,{}),e.exports=function(e){i[r][e]=!0}},"9c80":function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(t){return{e:!0,v:t}}}},"9def":function(e,t,n){var r=n("4588"),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},"9e1e":function(e,t,n){e.exports=!n("79e5")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},a159:function(e,t,n){var r=n("e4ae"),i=n("7e90"),o=n("1691"),a=n("5559")("IE_PROTO"),s=function(){},c="prototype",u=function(){var e,t=n("1ec9")("iframe"),r=o.length,i="<",a=">";t.style.display="none",n("32fc").appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write(i+"script"+a+"document.F=Object"+i+"/script"+a),e.close(),u=e.F;while(r--)delete u[c][o[r]];return u()};e.exports=Object.create||function(e,t){var n;return null!==e?(s[c]=r(e),n=new s,s[c]=null,n[a]=e):n=u(),void 0===t?n:i(n,t)}},a25f:function(e,t,n){var r=n("7726"),i=r.navigator;e.exports=i&&i.userAgent||""},a2c9:function(e,t){e.exports=Vuetify},a481:function(e,t,n){"use strict";var r=n("cb7c"),i=n("4bf8"),o=n("9def"),a=n("4588"),s=n("0390"),c=n("5f1b"),u=Math.max,l=Math.min,f=Math.floor,d=/\$([$&`']|\d\d?|<[^>]*>)/g,p=/\$([$&`']|\d\d?)/g,m=function(e){return void 0===e?e:String(e)};n("214f")("replace",2,(function(e,t,n,h){return[function(r,i){var o=e(this),a=void 0==r?void 0:r[t];return void 0!==a?a.call(r,o,i):n.call(String(o),r,i)},function(e,t){var i=h(n,e,this,t);if(i.done)return i.value;var f=r(e),d=String(this),p="function"===typeof t;p||(t=String(t));var b=f.global;if(b){var y=f.unicode;f.lastIndex=0}var g=[];while(1){var _=c(f,d);if(null===_)break;if(g.push(_),!b)break;var x=String(_[0]);""===x&&(f.lastIndex=s(d,o(f.lastIndex),y))}for(var $="",w=0,E=0;E<g.length;E++){_=g[E];for(var S=String(_[0]),D=u(l(a(_.index),d.length),0),I=[],R=1;R<_.length;R++)I.push(m(_[R]));var T=_.groups;if(p){var M=[S].concat(I,D,d);void 0!==T&&M.push(T);var O=String(t.apply(void 0,M))}else O=v(S,d,D,I,T,t);D>=w&&($+=d.slice(w,D)+O,w=D+S.length)}return $+d.slice(w)}];function v(e,t,r,o,a,s){var c=r+e.length,u=o.length,l=p;return void 0!==a&&(a=i(a),l=d),n.call(s,l,(function(n,i){var s;switch(i.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,r);case"'":return t.slice(c);case"<":s=a[i.slice(1,-1)];break;default:var l=+i;if(0===l)return n;if(l>u){var d=f(l/10);return 0===d?n:d<=u?void 0===o[d-1]?i.charAt(1):o[d-1]+i.charAt(1):n}s=o[l-1]}return void 0===s?"":s}))}}))},a5b8:function(e,t,n){"use strict";var r=n("d8e8");function i(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)}e.exports.f=function(e){return new i(e)}},aa77:function(e,t,n){var r=n("5ca1"),i=n("be13"),o=n("79e5"),a=n("fdef"),s="["+a+"]",c="​…",u=RegExp("^"+s+s+"*"),l=RegExp(s+s+"*$"),f=function(e,t,n){var i={},s=o((function(){return!!a[e]()||c[e]()!=c})),u=i[e]=s?t(d):a[e];n&&(i[n]=u),r(r.P+r.F*s,"String",i)},d=f.trim=function(e,t){return e=String(i(e)),1&t&&(e=e.replace(u,"")),2&t&&(e=e.replace(l,"")),e};e.exports=f},aae3:function(e,t,n){var r=n("d3f4"),i=n("2d95"),o=n("2b4c")("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[o])?!!t:"RegExp"==i(e))}},ac6a:function(e,t,n){for(var r=n("cadf"),i=n("0d58"),o=n("2aba"),a=n("7726"),s=n("32e9"),c=n("84f2"),u=n("2b4c"),l=u("iterator"),f=u("toStringTag"),d=c.Array,p={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},m=i(p),h=0;h<m.length;h++){var v,b=m[h],y=p[b],g=a[b],_=g&&g.prototype;if(_&&(_[l]||s(_,l,d),_[f]||s(_,f,b),c[b]=d,y))for(v in r)_[v]||o(_,v,r[v],!0)}},aebd:function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},b0c5:function(e,t,n){"use strict";var r=n("520a");n("5ca1")({target:"RegExp",proto:!0,forced:r!==/./.exec},{exec:r})},b447:function(e,t,n){var r=n("3a38"),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},b4af:function(e,t,n){"use strict";var r=n("6111"),i=n.n(r);i.a},b8e3:function(e,t){e.exports=!0},bcaa:function(e,t,n){var r=n("cb7c"),i=n("d3f4"),o=n("a5b8");e.exports=function(e,t){if(r(e),i(t)&&t.constructor===e)return t;var n=o.f(e),a=n.resolve;return a(t),n.promise}},be13:function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},bf0b:function(e,t,n){var r=n("355d"),i=n("aebd"),o=n("36c3"),a=n("1bc3"),s=n("07e3"),c=n("794b"),u=Object.getOwnPropertyDescriptor;t.f=n("8e60")?u:function(e,t){if(e=o(e),t=a(t,!0),c)try{return u(e,t)}catch(n){}if(s(e,t))return i(!r.f.call(e,t),e[t])}},c207:function(e,t){},c366:function(e,t,n){var r=n("6821"),i=n("9def"),o=n("77f1");e.exports=function(e){return function(t,n,a){var s,c=r(t),u=i(c.length),l=o(a,u);if(e&&n!=n){while(u>l)if(s=c[l++],s!=s)return!0}else for(;u>l;l++)if((e||l in c)&&c[l]===n)return e||l||0;return!e&&-1}}},c367:function(e,t,n){"use strict";var r=n("8436"),i=n("50ed"),o=n("481b"),a=n("36c3");e.exports=n("30f1")(Array,"Array",(function(e,t){this._t=a(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,i(1)):i(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},c3a1:function(e,t,n){var r=n("e6f3"),i=n("1691");e.exports=Object.keys||function(e){return r(e,i)}},c5f6:function(e,t,n){"use strict";var r=n("7726"),i=n("69a8"),o=n("2d95"),a=n("5dbc"),s=n("6a99"),c=n("79e5"),u=n("9093").f,l=n("11e9").f,f=n("86cc").f,d=n("aa77").trim,p="Number",m=r[p],h=m,v=m.prototype,b=o(n("2aeb")(v))==p,y="trim"in String.prototype,g=function(e){var t=s(e,!1);if("string"==typeof t&&t.length>2){t=y?t.trim():d(t,3);var n,r,i,o=t.charCodeAt(0);if(43===o||45===o){if(n=t.charCodeAt(2),88===n||120===n)return NaN}else if(48===o){switch(t.charCodeAt(1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+t}for(var a,c=t.slice(2),u=0,l=c.length;u<l;u++)if(a=c.charCodeAt(u),a<48||a>i)return NaN;return parseInt(c,r)}}return+t};if(!m(" 0o1")||!m("0b1")||m("+0x1")){m=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof m&&(b?c((function(){v.valueOf.call(n)})):o(n)!=p)?a(new h(g(t)),n,m):g(t)};for(var _,x=n("9e1e")?u(h):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),$=0;x.length>$;$++)i(h,_=x[$])&&!i(m,_)&&f(m,_,l(h,_));m.prototype=v,v.constructor=m,n("2aba")(r,p,m)}},c69a:function(e,t,n){e.exports=!n("9e1e")&&!n("79e5")((function(){return 7!=Object.defineProperty(n("230e")("div"),"a",{get:function(){return 7}}).a}))},ca5a:function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},cadf:function(e,t,n){"use strict";var r=n("9c6c"),i=n("d53b"),o=n("84f2"),a=n("6821");e.exports=n("01f9")(Array,"Array",(function(e,t){this._t=a(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,i(1)):i(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},cb7c:function(e,t,n){var r=n("d3f4");e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},ccb9:function(e,t,n){t.f=n("5168")},cd1c:function(e,t,n){var r=n("e853");e.exports=function(e,t){return new(r(e))(t)}},cdf2:function(e,t,n){},ce10:function(e,t,n){var r=n("69a8"),i=n("6821"),o=n("c366")(!1),a=n("613b")("IE_PROTO");e.exports=function(e,t){var n,s=i(e),c=0,u=[];for(n in s)n!=a&&r(s,n)&&u.push(n);while(t.length>c)r(s,n=t[c++])&&(~o(u,n)||u.push(n));return u}},cebe:function(e,t){e.exports=axios},d2c8:function(e,t,n){var r=n("aae3"),i=n("be13");e.exports=function(e,t,n){if(r(t))throw TypeError("String#"+n+" doesn't accept regex!");return String(i(e))}},d3f4:function(e,t){e.exports=function(e){return"object"===typeof e?null!==e:"function"===typeof e}},d53b:function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},d864:function(e,t,n){var r=n("79aa");e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},d8d6:function(e,t,n){n("1654"),n("6c1c"),e.exports=n("ccb9").f("iterator")},d8e8:function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},d9f6:function(e,t,n){var r=n("e4ae"),i=n("794b"),o=n("1bc3"),a=Object.defineProperty;t.f=n("8e60")?Object.defineProperty:function(e,t,n){if(r(e),t=o(t,!0),r(n),i)try{return a(e,t,n)}catch(s){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},dbdb:function(e,t,n){var r=n("584a"),i=n("e53d"),o="__core-js_shared__",a=i[o]||(i[o]={});(e.exports=function(e,t){return a[e]||(a[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n("b8e3")?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},dc66:function(e,t,n){},dcbc:function(e,t,n){var r=n("2aba");e.exports=function(e,t,n){for(var i in t)r(e,i,t[i],n);return e}},e11e:function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},e4ae:function(e,t,n){var r=n("f772");e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},e53d:function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},e6f3:function(e,t,n){var r=n("07e3"),i=n("36c3"),o=n("5b4e")(!1),a=n("5559")("IE_PROTO");e.exports=function(e,t){var n,s=i(e),c=0,u=[];for(n in s)n!=a&&r(s,n)&&u.push(n);while(t.length>c)r(s,n=t[c++])&&(~o(u,n)||u.push(n));return u}},e853:function(e,t,n){var r=n("d3f4"),i=n("1169"),o=n("2b4c")("species");e.exports=function(e){var t;return i(e)&&(t=e.constructor,"function"!=typeof t||t!==Array&&!i(t.prototype)||(t=void 0),r(t)&&(t=t[o],null===t&&(t=void 0))),void 0===t?Array:t}},ebd6:function(e,t,n){var r=n("cb7c"),i=n("d8e8"),o=n("2b4c")("species");e.exports=function(e,t){var n,a=r(e).constructor;return void 0===a||void 0==(n=r(a)[o])?t:i(n)}},ebfd:function(e,t,n){var r=n("62a0")("meta"),i=n("f772"),o=n("07e3"),a=n("d9f6").f,s=0,c=Object.isExtensible||function(){return!0},u=!n("294c")((function(){return c(Object.preventExtensions({}))})),l=function(e){a(e,r,{value:{i:"O"+ ++s,w:{}}})},f=function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,r)){if(!c(e))return"F";if(!t)return"E";l(e)}return e[r].i},d=function(e,t){if(!o(e,r)){if(!c(e))return!0;if(!t)return!1;l(e)}return e[r].w},p=function(e){return u&&m.NEED&&c(e)&&!o(e,r)&&l(e),e},m=e.exports={KEY:r,NEED:!1,fastKey:f,getWeak:d,onFreeze:p}},f605:function(e,t){e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},f751:function(e,t,n){var r=n("5ca1");r(r.S+r.F,"Object",{assign:n("7333")})},f772:function(e,t){e.exports=function(e){return"object"===typeof e?null!==e:"function"===typeof e}},f921:function(e,t,n){n("014b"),n("c207"),n("69d3"),n("765d"),e.exports=n("584a").Symbol},fa5b:function(e,t,n){e.exports=n("5537")("native-function-to-string",Function.toString)},fab2:function(e,t,n){var r=n("7726").document;e.exports=r&&r.documentElement},fdef:function(e,t){e.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"}});
2
- //# sourceMappingURL=app.63a57dcd.js.map