From 2abbe3747e98f4fec4abf0767c8c1503ec8cc4e1 Mon Sep 17 00:00:00 2001 From: Marco Collovati Date: Sat, 31 Aug 2024 14:53:07 +0200 Subject: [PATCH] chore: bump vert.x to 4.5.9 (#123) Fixes #122 --- .gitignore | 1 + pom.xml | 2 +- .../frontend/generated/vaadin.ts | 34 - .../communication/SockJSPushHandler.java | 5 + .../generated/jar-resources/Flow.d.ts | 75 -- .../frontend/generated/jar-resources/Flow.js | 356 ------ .../generated/jar-resources/Flow.js.map | 1 - .../jar-resources/FlowBootstrap.d.ts | 1 - .../generated/jar-resources/FlowBootstrap.js | 262 ---- .../generated/jar-resources/FlowClient.d.ts | 1 - .../generated/jar-resources/FlowClient.js | 1118 ----------------- .../generated/jar-resources/dndConnector.js | 110 -- .../generated/jar-resources/index.d.ts | 1 - .../frontend/generated/jar-resources/index.js | 2 - .../generated/jar-resources/index.js.map | 1 - .../generated/jar-resources/tooltip.ts | 23 - .../production/frontend/generated/index.ts | 32 - .../generated/jar-resources/Flow.d.ts | 75 -- .../frontend/generated/jar-resources/Flow.js | 356 ------ .../generated/jar-resources/Flow.js.map | 1 - .../jar-resources/FlowBootstrap.d.ts | 1 - .../generated/jar-resources/FlowBootstrap.js | 262 ---- .../generated/jar-resources/FlowClient.d.ts | 1 - .../generated/jar-resources/FlowClient.js | 1118 ----------------- .../generated/jar-resources/dndConnector.js | 110 -- .../generated/jar-resources/index.d.ts | 1 - .../frontend/generated/jar-resources/index.js | 2 - .../generated/jar-resources/index.js.map | 1 - .../jar-resources/src/hello-world-jandex.ts | 15 - .../jar-resources/src/hello-world.ts | 15 - .../themes/reusable-theme/styles.css | 13 - .../generated/jar-resources/tooltip.ts | 23 - .../production/frontend/generated/theme.d.ts | 1 - .../production/frontend/generated/theme.js | 2 - .../production/frontend/generated/vaadin.ts | 7 - vertx-vaadin-quarkus-extension/pom.xml | 2 +- 36 files changed, 8 insertions(+), 4023 deletions(-) delete mode 100644 vertx-vaadin-flow/frontend/generated/vaadin.ts delete mode 100644 vertx-vaadin-quarkus-extension/integration-tests/development/frontend/generated/jar-resources/Flow.d.ts delete mode 100644 vertx-vaadin-quarkus-extension/integration-tests/development/frontend/generated/jar-resources/Flow.js delete mode 100644 vertx-vaadin-quarkus-extension/integration-tests/development/frontend/generated/jar-resources/Flow.js.map delete mode 100644 vertx-vaadin-quarkus-extension/integration-tests/development/frontend/generated/jar-resources/FlowBootstrap.d.ts delete mode 100644 vertx-vaadin-quarkus-extension/integration-tests/development/frontend/generated/jar-resources/FlowBootstrap.js delete mode 100644 vertx-vaadin-quarkus-extension/integration-tests/development/frontend/generated/jar-resources/FlowClient.d.ts delete mode 100644 vertx-vaadin-quarkus-extension/integration-tests/development/frontend/generated/jar-resources/FlowClient.js delete mode 100644 vertx-vaadin-quarkus-extension/integration-tests/development/frontend/generated/jar-resources/dndConnector.js delete mode 100644 vertx-vaadin-quarkus-extension/integration-tests/development/frontend/generated/jar-resources/index.d.ts delete mode 100644 vertx-vaadin-quarkus-extension/integration-tests/development/frontend/generated/jar-resources/index.js delete mode 100644 vertx-vaadin-quarkus-extension/integration-tests/development/frontend/generated/jar-resources/index.js.map delete mode 100644 vertx-vaadin-quarkus-extension/integration-tests/development/frontend/generated/jar-resources/tooltip.ts delete mode 100644 vertx-vaadin-quarkus-extension/integration-tests/production/frontend/generated/index.ts delete mode 100644 vertx-vaadin-quarkus-extension/integration-tests/production/frontend/generated/jar-resources/Flow.d.ts delete mode 100644 vertx-vaadin-quarkus-extension/integration-tests/production/frontend/generated/jar-resources/Flow.js delete mode 100644 vertx-vaadin-quarkus-extension/integration-tests/production/frontend/generated/jar-resources/Flow.js.map delete mode 100644 vertx-vaadin-quarkus-extension/integration-tests/production/frontend/generated/jar-resources/FlowBootstrap.d.ts delete mode 100644 vertx-vaadin-quarkus-extension/integration-tests/production/frontend/generated/jar-resources/FlowBootstrap.js delete mode 100644 vertx-vaadin-quarkus-extension/integration-tests/production/frontend/generated/jar-resources/FlowClient.d.ts delete mode 100644 vertx-vaadin-quarkus-extension/integration-tests/production/frontend/generated/jar-resources/FlowClient.js delete mode 100644 vertx-vaadin-quarkus-extension/integration-tests/production/frontend/generated/jar-resources/dndConnector.js delete mode 100644 vertx-vaadin-quarkus-extension/integration-tests/production/frontend/generated/jar-resources/index.d.ts delete mode 100644 vertx-vaadin-quarkus-extension/integration-tests/production/frontend/generated/jar-resources/index.js delete mode 100644 vertx-vaadin-quarkus-extension/integration-tests/production/frontend/generated/jar-resources/index.js.map delete mode 100644 vertx-vaadin-quarkus-extension/integration-tests/production/frontend/generated/jar-resources/src/hello-world-jandex.ts delete mode 100644 vertx-vaadin-quarkus-extension/integration-tests/production/frontend/generated/jar-resources/src/hello-world.ts delete mode 100644 vertx-vaadin-quarkus-extension/integration-tests/production/frontend/generated/jar-resources/themes/reusable-theme/styles.css delete mode 100644 vertx-vaadin-quarkus-extension/integration-tests/production/frontend/generated/jar-resources/tooltip.ts delete mode 100644 vertx-vaadin-quarkus-extension/integration-tests/production/frontend/generated/theme.d.ts delete mode 100644 vertx-vaadin-quarkus-extension/integration-tests/production/frontend/generated/theme.js delete mode 100644 vertx-vaadin-quarkus-extension/integration-tests/production/frontend/generated/vaadin.ts diff --git a/.gitignore b/.gitignore index 2f994670..df621cd5 100644 --- a/.gitignore +++ b/.gitignore @@ -17,6 +17,7 @@ types.d.ts .flow-node-tasks.lock **/src/main/bundles/ +vertx-vaadin-flow/frontend/generated/ vertx-vaadin-flow-parent/vertx-vaadin-flow/frontend/ vertx-vaadin-flow-parent/vertx-vaadin-quarkus-extension/integration-tests/development/frontend/ vertx-vaadin-flow-parent/vertx-vaadin-quarkus-extension/integration-tests/production/frontend/ diff --git a/pom.xml b/pom.xml index 9f0d59f7..ce469577 100644 --- a/pom.xml +++ b/pom.xml @@ -108,7 +108,7 @@ 1.9.0 2.41.1 - 4.3.8 + 4.5.9 24.4.10 24.4.6 24.4.6 diff --git a/vertx-vaadin-flow/frontend/generated/vaadin.ts b/vertx-vaadin-flow/frontend/generated/vaadin.ts deleted file mode 100644 index 84f32926..00000000 --- a/vertx-vaadin-flow/frontend/generated/vaadin.ts +++ /dev/null @@ -1,34 +0,0 @@ -import 'Frontend/generated/jar-resources/copilot/copilot.js'; -// @ts-ignore -if (import.meta.hot) { - // @ts-ignore - import.meta.hot.on('vite:afterUpdate', () => { - const eventbus = (window as any).Vaadin.copilot.eventbus; - if (eventbus) { - eventbus.emit('vite-after-update',{}); - } - }); -} - -import '@vaadin/vertical-layout/theme/lumo/vaadin-vertical-layout.js'; -import '@vaadin/horizontal-layout/theme/lumo/vaadin-horizontal-layout.js'; -import '@vaadin/context-menu/theme/lumo/vaadin-context-menu.js'; -import '@vaadin/text-field/theme/lumo/vaadin-text-field.js'; -import '@vaadin/text-area/theme/lumo/vaadin-text-area.js'; -import '@vaadin/menu-bar/theme/lumo/vaadin-menu-bar.js'; -import '@vaadin/grid/theme/lumo/vaadin-grid.js'; -import '@vaadin/grid/theme/lumo/vaadin-grid-tree-column.js'; -import '@vaadin/details/theme/lumo/vaadin-details.js'; -import '@vaadin/select/theme/lumo/vaadin-select.js'; -import '@vaadin/overlay/theme/lumo/vaadin-overlay.js'; -import '@vaadin/list-box/theme/lumo/vaadin-list-box.js'; -import '@vaadin/combo-box/theme/lumo/vaadin-combo-box.js'; -import '@vaadin/item/theme/lumo/vaadin-item.js'; -import '@vaadin/dialog/theme/lumo/vaadin-dialog.js'; -import '@vaadin/icons/vaadin-iconset.js'; -import '@vaadin/icon/vaadin-icon.js'; -import './vaadin-featureflags.js'; - -import './index'; - -import 'Frontend/generated/jar-resources/vaadin-dev-tools/vaadin-dev-tools.js'; diff --git a/vertx-vaadin-flow/src/main/java/com/github/mcollovati/vertx/vaadin/sockjs/communication/SockJSPushHandler.java b/vertx-vaadin-flow/src/main/java/com/github/mcollovati/vertx/vaadin/sockjs/communication/SockJSPushHandler.java index fe8ae092..d214b714 100644 --- a/vertx-vaadin-flow/src/main/java/com/github/mcollovati/vertx/vaadin/sockjs/communication/SockJSPushHandler.java +++ b/vertx-vaadin-flow/src/main/java/com/github/mcollovati/vertx/vaadin/sockjs/communication/SockJSPushHandler.java @@ -733,6 +733,11 @@ public List fileUploads() { return decoratedContext.fileUploads(); } + @Override + public void cancelAndCleanupFileUploads() { + decoratedContext.cancelAndCleanupFileUploads(); + } + @Override public T get(String key) { return decoratedContext.get(key); diff --git a/vertx-vaadin-quarkus-extension/integration-tests/development/frontend/generated/jar-resources/Flow.d.ts b/vertx-vaadin-quarkus-extension/integration-tests/development/frontend/generated/jar-resources/Flow.d.ts deleted file mode 100644 index a6b01dff..00000000 --- a/vertx-vaadin-quarkus-extension/integration-tests/development/frontend/generated/jar-resources/Flow.d.ts +++ /dev/null @@ -1,75 +0,0 @@ -export interface FlowConfig { - imports?: () => void; -} -interface AppConfig { - productionMode: boolean; - appId: string; - uidl: any; -} -interface AppInitResponse { - appConfig: AppConfig; - pushScript?: string; -} -interface Router { - render: (ctx: NavigationParameters, shouldUpdateHistory: boolean) => Promise; -} -interface HTMLRouterContainer extends HTMLElement { - onBeforeEnter?: (ctx: NavigationParameters, cmd: PreventAndRedirectCommands, router: Router) => void | Promise; - onBeforeLeave?: (ctx: NavigationParameters, cmd: PreventCommands, router: Router) => void | Promise; - serverConnected?: (cancel: boolean, url?: NavigationParameters) => void; - serverPaused?: () => void; -} -interface FlowRoute { - action: (params: NavigationParameters) => Promise; - path: string; -} -export interface NavigationParameters { - pathname: string; - search: string; -} -export interface PreventCommands { - prevent: () => any; -} -export interface PreventAndRedirectCommands extends PreventCommands { - redirect: (route: string) => any; -} -/** - * Client API for flow UI operations. - */ -export declare class Flow { - config: FlowConfig; - response?: AppInitResponse; - pathname: string; - container: HTMLRouterContainer; - private isActive; - private baseRegex; - private appShellTitle; - private navigation; - constructor(config?: FlowConfig); - /** - * Return a `route` object for vaadin-router in an one-element array. - * - * The `FlowRoute` object `path` property handles any route, - * and the `action` returns the flow container without updating the content, - * delaying the actual Flow server call to the `onBeforeEnter` phase. - * - * This is a specific API for its use with `vaadin-router`. - */ - get serverSideRoutes(): [FlowRoute]; - loadingStarted(): void; - loadingFinished(): void; - private get action(); - private flowLeave; - private flowNavigate; - private getFlowRoutePath; - private getFlowRouteQuery; - private flowInit; - private loadScript; - private injectAppIdScript; - private flowInitClient; - private flowInitUi; - private addConnectionIndicator; - private offlineStubAction; - private isFlowClientLoaded; -} -export {}; diff --git a/vertx-vaadin-quarkus-extension/integration-tests/development/frontend/generated/jar-resources/Flow.js b/vertx-vaadin-quarkus-extension/integration-tests/development/frontend/generated/jar-resources/Flow.js deleted file mode 100644 index 999afb2f..00000000 --- a/vertx-vaadin-quarkus-extension/integration-tests/development/frontend/generated/jar-resources/Flow.js +++ /dev/null @@ -1,356 +0,0 @@ -import { ConnectionIndicator, ConnectionState } from '@vaadin/common-frontend'; -class FlowUiInitializationError extends Error { -} -// flow uses body for keeping references -const flowRoot = window.document.body; -const $wnd = window; -/** - * Client API for flow UI operations. - */ -export class Flow { - constructor(config) { - this.response = undefined; - this.pathname = ''; - // flag used to inform Testbench whether a server route is in progress - this.isActive = false; - this.baseRegex = /^\//; - this.navigation = ''; - flowRoot.$ = flowRoot.$ || []; - this.config = config || {}; - // TB checks for the existence of window.Vaadin.Flow in order - // to consider that TB needs to wait for `initFlow()`. - $wnd.Vaadin = $wnd.Vaadin || {}; - $wnd.Vaadin.Flow = $wnd.Vaadin.Flow || {}; - $wnd.Vaadin.Flow.clients = { - TypeScript: { - isActive: () => this.isActive - } - }; - // Regular expression used to remove the app-context - const elm = document.head.querySelector('base'); - this.baseRegex = new RegExp(`^${ - // IE11 does not support document.baseURI - (document.baseURI || (elm && elm.href) || '/').replace(/^https?:\/\/[^/]+/i, '')}`); - this.appShellTitle = document.title; - // Put a vaadin-connection-indicator in the dom - this.addConnectionIndicator(); - } - /** - * Return a `route` object for vaadin-router in an one-element array. - * - * The `FlowRoute` object `path` property handles any route, - * and the `action` returns the flow container without updating the content, - * delaying the actual Flow server call to the `onBeforeEnter` phase. - * - * This is a specific API for its use with `vaadin-router`. - */ - get serverSideRoutes() { - return [ - { - path: '(.*)', - action: this.action - } - ]; - } - loadingStarted() { - // Make Testbench know that server request is in progress - this.isActive = true; - $wnd.Vaadin.connectionState.loadingStarted(); - } - loadingFinished() { - // Make Testbench know that server request has finished - this.isActive = false; - $wnd.Vaadin.connectionState.loadingFinished(); - if ($wnd.Vaadin.listener) { - // Listeners registered, do not register again. - return; - } - $wnd.Vaadin.listener = {}; - // Listen for click on router-links -> 'link' navigation trigger - // and on nodes -> 'client' navigation trigger. - // Use capture phase to detect prevented / stopped events. - document.addEventListener('click', (_e) => { - if (_e.target) { - // eslint-disable-next-line @typescript-eslint/ban-ts-comment - // @ts-ignore - if (_e.target.hasAttribute('router-link')) { - this.navigation = 'link'; - // eslint-disable-next-line @typescript-eslint/ban-ts-comment - // @ts-ignore - } - else if (_e.composedPath().some((node) => node.nodeName === 'A')) { - this.navigation = 'client'; - } - } - }, { - capture: true - }); - } - get action() { - // Return a function which is bound to the flow instance, thus we can use - // the syntax `...serverSideRoutes` in vaadin-router. - return async (params) => { - // Store last action pathname so as we can check it in events - this.pathname = params.pathname; - if ($wnd.Vaadin.connectionState.online) { - try { - await this.flowInit(); - } - catch (error) { - if (error instanceof FlowUiInitializationError) { - // error initializing Flow: assume connection lost - $wnd.Vaadin.connectionState.state = ConnectionState.CONNECTION_LOST; - return this.offlineStubAction(); - } - else { - throw error; - } - } - } - else { - // insert an offline stub - return this.offlineStubAction(); - } - // When an action happens, navigation will be resolved `onBeforeEnter` - this.container.onBeforeEnter = (ctx, cmd) => this.flowNavigate(ctx, cmd); - // For covering the 'server -> client' use case - this.container.onBeforeLeave = (ctx, cmd) => this.flowLeave(ctx, cmd); - return this.container; - }; - } - // Send a remote call to `JavaScriptBootstrapUI` to check - // whether navigation has to be cancelled. - async flowLeave(ctx, cmd) { - // server -> server, viewing offline stub, or browser is offline - const { connectionState } = $wnd.Vaadin; - if (this.pathname === ctx.pathname || !this.isFlowClientLoaded() || connectionState.offline) { - return Promise.resolve({}); - } - // 'server -> client' - return new Promise((resolve) => { - this.loadingStarted(); - // The callback to run from server side to cancel navigation - this.container.serverConnected = (cancel) => { - resolve(cmd && cancel ? cmd.prevent() : {}); - this.loadingFinished(); - }; - // Call server side to check whether we can leave the view - flowRoot.$server.leaveNavigation(this.getFlowRoutePath(ctx), this.getFlowRouteQuery(ctx)); - }); - } - // Send the remote call to `JavaScriptBootstrapUI` to render the flow - // route specified by the context - async flowNavigate(ctx, cmd) { - if (this.response) { - return new Promise((resolve) => { - this.loadingStarted(); - // The callback to run from server side once the view is ready - this.container.serverConnected = (cancel, redirectContext) => { - if (cmd && cancel) { - resolve(cmd.prevent()); - } - else if (cmd && cmd.redirect && redirectContext) { - resolve(cmd.redirect(redirectContext.pathname)); - } - else { - this.container.style.display = ''; - resolve(this.container); - } - this.loadingFinished(); - }; - this.container.serverPaused = () => { - this.loadingFinished(); - }; - // Call server side to navigate to the given route - flowRoot.$server.connectClient(this.getFlowRoutePath(ctx), this.getFlowRouteQuery(ctx), this.appShellTitle, history.state, this.navigation); - // Default to history navigation trigger. - // Link and client cases are handled by click listener in loadingFinished(). - this.navigation = 'history'; - }); - } - else { - // No server response => offline or erroneous connection - return Promise.resolve(this.container); - } - } - getFlowRoutePath(context) { - return decodeURIComponent(context.pathname).replace(this.baseRegex, ''); - } - getFlowRouteQuery(context) { - return (context.search && context.search.substring(1)) || ''; - } - // import flow client modules and initialize UI in server side. - async flowInit() { - // Do not start flow twice - if (!this.isFlowClientLoaded()) { - // show flow progress indicator - this.loadingStarted(); - // Initialize server side UI - this.response = await this.flowInitUi(); - const { pushScript, appConfig } = this.response; - if (typeof pushScript === 'string') { - await this.loadScript(pushScript); - } - const { appId } = appConfig; - // Load bootstrap script with server side parameters - const bootstrapMod = await import('./FlowBootstrap'); - await bootstrapMod.init(this.response); - // Load custom modules defined by user - if (typeof this.config.imports === 'function') { - this.injectAppIdScript(appId); - await this.config.imports(); - } - // we use a custom tag for the flow app container - const tag = `flow-container-${appId.toLowerCase()}`; - const serverCreatedContainer = document.querySelector(tag); - if (serverCreatedContainer) { - this.container = serverCreatedContainer; - } - else { - this.container = document.createElement(tag); - this.container.id = appId; - } - flowRoot.$[appId] = this.container; - // Load flow-client module - const clientMod = await import('./FlowClient'); - await this.flowInitClient(clientMod); - // hide flow progress indicator - this.loadingFinished(); - } - // It might be that components created from server expect that their content has been rendered. - // Appending eagerly the container we avoid these kind of errors. - // Note that the client router will move this container to the outlet if the navigation succeed - if (this.container && !this.container.isConnected) { - this.container.style.display = 'none'; - document.body.appendChild(this.container); - } - return this.response; - } - async loadScript(url) { - return new Promise((resolve, reject) => { - const script = document.createElement('script'); - script.onload = () => resolve(); - script.onerror = reject; - script.src = url; - document.body.appendChild(script); - }); - } - injectAppIdScript(appId) { - const appIdWithoutHashCode = appId.substring(0, appId.lastIndexOf('-')); - const scriptAppId = document.createElement('script'); - scriptAppId.type = 'module'; - scriptAppId.setAttribute('data-app-id', appIdWithoutHashCode); - document.body.append(scriptAppId); - } - // After the flow-client javascript module has been loaded, this initializes flow UI - // in the browser. - async flowInitClient(clientMod) { - clientMod.init(); - // client init is async, we need to loop until initialized - return new Promise((resolve) => { - const intervalId = setInterval(() => { - // client `isActive() == true` while initializing or processing - const initializing = Object.keys($wnd.Vaadin.Flow.clients) - .filter((key) => key !== 'TypeScript') - .reduce((prev, id) => prev || $wnd.Vaadin.Flow.clients[id].isActive(), false); - if (!initializing) { - clearInterval(intervalId); - resolve(); - } - }, 5); - }); - } - // Returns the `appConfig` object - async flowInitUi() { - // appConfig was sent in the index.html request - const initial = $wnd.Vaadin && $wnd.Vaadin.TypeScript && $wnd.Vaadin.TypeScript.initial; - if (initial) { - $wnd.Vaadin.TypeScript.initial = undefined; - return Promise.resolve(initial); - } - // send a request to the `JavaScriptBootstrapHandler` - return new Promise((resolve, reject) => { - const xhr = new XMLHttpRequest(); - const httpRequest = xhr; - const requestPath = `?v-r=init&location=${encodeURIComponent(this.getFlowRoutePath(location))}&query=${encodeURIComponent(this.getFlowRouteQuery(location))}`; - httpRequest.open('GET', requestPath); - httpRequest.onerror = () => reject(new FlowUiInitializationError(`Invalid server response when initializing Flow UI. - ${httpRequest.status} - ${httpRequest.responseText}`)); - httpRequest.onload = () => { - const contentType = httpRequest.getResponseHeader('content-type'); - if (contentType && contentType.indexOf('application/json') !== -1) { - resolve(JSON.parse(httpRequest.responseText)); - } - else { - httpRequest.onerror(); - } - }; - httpRequest.send(); - }); - } - // Create shared connection state store and connection indicator - addConnectionIndicator() { - // add connection indicator to DOM - ConnectionIndicator.create(); - // Listen to browser online/offline events and update the loading indicator accordingly. - // Note: if flow-client is loaded, it instead handles the state transitions. - $wnd.addEventListener('online', () => { - if (!this.isFlowClientLoaded()) { - // Send an HTTP HEAD request for sw.js to verify server reachability. - // We do not expect sw.js to be cached, so the request goes to the - // server rather than being served from local cache. - // Require network-level failure to revert the state to CONNECTION_LOST - // (HTTP error code is ok since it still verifies server's presence). - $wnd.Vaadin.connectionState.state = ConnectionState.RECONNECTING; - const http = new XMLHttpRequest(); - http.open('HEAD', 'sw.js'); - http.onload = () => { - $wnd.Vaadin.connectionState.state = ConnectionState.CONNECTED; - }; - http.onerror = () => { - $wnd.Vaadin.connectionState.state = ConnectionState.CONNECTION_LOST; - }; - // Postpone request to reduce potential net::ERR_INTERNET_DISCONNECTED - // errors that sometimes occurs even if browser says it is online - setTimeout(() => http.send(), 50); - } - }); - $wnd.addEventListener('offline', () => { - if (!this.isFlowClientLoaded()) { - $wnd.Vaadin.connectionState.state = ConnectionState.CONNECTION_LOST; - } - }); - } - async offlineStubAction() { - const offlineStub = document.createElement('iframe'); - const offlineStubPath = './offline-stub.html'; - offlineStub.setAttribute('src', offlineStubPath); - offlineStub.setAttribute('style', 'width: 100%; height: 100%; border: 0'); - this.response = undefined; - let onlineListener; - const removeOfflineStubAndOnlineListener = () => { - if (onlineListener !== undefined) { - $wnd.Vaadin.connectionState.removeStateChangeListener(onlineListener); - onlineListener = undefined; - } - }; - offlineStub.onBeforeEnter = (ctx, _cmds, router) => { - onlineListener = () => { - if ($wnd.Vaadin.connectionState.online) { - removeOfflineStubAndOnlineListener(); - router.render(ctx, false); - } - }; - $wnd.Vaadin.connectionState.addStateChangeListener(onlineListener); - }; - offlineStub.onBeforeLeave = (_ctx, _cmds, _router) => { - removeOfflineStubAndOnlineListener(); - }; - return offlineStub; - } - isFlowClientLoaded() { - return this.response !== undefined; - } -} -//# sourceMappingURL=Flow.js.map \ No newline at end of file diff --git a/vertx-vaadin-quarkus-extension/integration-tests/development/frontend/generated/jar-resources/Flow.js.map b/vertx-vaadin-quarkus-extension/integration-tests/development/frontend/generated/jar-resources/Flow.js.map deleted file mode 100644 index beea9485..00000000 --- a/vertx-vaadin-quarkus-extension/integration-tests/development/frontend/generated/jar-resources/Flow.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Flow.js","sourceRoot":"","sources":["../../../../src/main/frontend/Flow.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,EACnB,eAAe,EAGhB,MAAM,yBAAyB,CAAC;AAMjC,MAAM,yBAA0B,SAAQ,KAAK;CAAG;AA+ChD,wCAAwC;AACxC,MAAM,QAAQ,GAAa,MAAM,CAAC,QAAQ,CAAC,IAAW,CAAC;AACvD,MAAM,IAAI,GAAG,MAOE,CAAC;AAEhB;;GAEG;AACH,MAAM,OAAO,IAAI;IAef,YAAY,MAAmB;QAb/B,aAAQ,GAAqB,SAAS,CAAC;QACvC,aAAQ,GAAG,EAAE,CAAC;QAId,sEAAsE;QAC9D,aAAQ,GAAG,KAAK,CAAC;QAEjB,cAAS,GAAG,KAAK,CAAC;QAGlB,eAAU,GAAW,EAAE,CAAC;QAG9B,QAAQ,CAAC,CAAC,GAAG,QAAQ,CAAC,CAAC,IAAI,EAAE,CAAC;QAC9B,IAAI,CAAC,MAAM,GAAG,MAAM,IAAI,EAAE,CAAC;QAE3B,6DAA6D;QAC7D,sDAAsD;QACtD,IAAI,CAAC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ateChangeListener,\n ConnectionStateStore\n} from '@vaadin/common-frontend';\n\nexport interface FlowConfig {\n imports?: () => void;\n}\n\nclass FlowUiInitializationError extends Error {}\n\ninterface AppConfig {\n productionMode: boolean;\n appId: string;\n uidl: any;\n}\n\ninterface AppInitResponse {\n appConfig: AppConfig;\n pushScript?: string;\n}\n\ninterface Router {\n render: (ctx: NavigationParameters, shouldUpdateHistory: boolean) => Promise;\n}\n\ninterface HTMLRouterContainer extends HTMLElement {\n onBeforeEnter?: (ctx: NavigationParameters, cmd: PreventAndRedirectCommands, router: Router) => void | Promise;\n onBeforeLeave?: (ctx: NavigationParameters, cmd: PreventCommands, router: Router) => void | Promise;\n serverConnected?: (cancel: boolean, url?: NavigationParameters) => void;\n serverPaused?: () => void;\n}\n\ninterface FlowRoute {\n action: (params: NavigationParameters) => Promise;\n path: string;\n}\n\ninterface FlowRoot {\n $: any;\n $server: any;\n}\n\nexport interface NavigationParameters {\n pathname: string;\n search: string;\n}\n\nexport interface PreventCommands {\n prevent: () => any;\n}\n\nexport interface PreventAndRedirectCommands extends PreventCommands {\n redirect: (route: string) => any;\n}\n\n// flow uses body for keeping references\nconst flowRoot: FlowRoot = window.document.body as any;\nconst $wnd = window as any as {\n Vaadin: {\n Flow: any;\n TypeScript: any;\n connectionState: ConnectionStateStore;\n listener: any;\n };\n} & EventTarget;\n\n/**\n * Client API for flow UI operations.\n */\nexport class Flow {\n config: FlowConfig;\n response?: AppInitResponse = undefined;\n pathname = '';\n\n container!: HTMLRouterContainer;\n\n // flag used to inform Testbench whether a server route is in progress\n private isActive = false;\n\n private baseRegex = /^\\//;\n private appShellTitle: string;\n\n private navigation: string = '';\n\n constructor(config?: FlowConfig) {\n flowRoot.$ = flowRoot.$ || [];\n this.config = config || {};\n\n // TB checks for the existence of window.Vaadin.Flow in order\n // to consider that TB needs to wait for `initFlow()`.\n $wnd.Vaadin = $wnd.Vaadin || {};\n $wnd.Vaadin.Flow = $wnd.Vaadin.Flow || {};\n $wnd.Vaadin.Flow.clients = {\n TypeScript: {\n isActive: () => this.isActive\n }\n };\n\n // Regular expression used to remove the app-context\n const elm = document.head.querySelector('base');\n this.baseRegex = new RegExp(\n `^${\n // IE11 does not support document.baseURI\n (document.baseURI || (elm && elm.href) || '/').replace(/^https?:\\/\\/[^/]+/i, '')\n }`\n );\n this.appShellTitle = document.title;\n // Put a vaadin-connection-indicator in the dom\n this.addConnectionIndicator();\n }\n\n /**\n * Return a `route` object for vaadin-router in an one-element array.\n *\n * The `FlowRoute` object `path` property handles any route,\n * and the `action` returns the flow container without updating the content,\n * delaying the actual Flow server call to the `onBeforeEnter` phase.\n *\n * This is a specific API for its use with `vaadin-router`.\n */\n get serverSideRoutes(): [FlowRoute] {\n return [\n {\n path: '(.*)',\n action: this.action\n }\n ];\n }\n\n loadingStarted() {\n // Make Testbench know that server request is in progress\n this.isActive = true;\n $wnd.Vaadin.connectionState.loadingStarted();\n }\n\n loadingFinished() {\n // Make Testbench know that server request has finished\n this.isActive = false;\n $wnd.Vaadin.connectionState.loadingFinished();\n\n if ($wnd.Vaadin.listener) {\n // Listeners registered, do not register again.\n return;\n }\n $wnd.Vaadin.listener = {};\n // Listen for click on router-links -> 'link' navigation trigger\n // and on nodes -> 'client' navigation trigger.\n // Use capture phase to detect prevented / stopped events.\n document.addEventListener(\n 'click',\n (_e) => {\n if (_e.target) {\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n if (_e.target.hasAttribute('router-link')) {\n this.navigation = 'link';\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n } else if (_e.composedPath().some((node) => node.nodeName === 'A')) {\n this.navigation = 'client';\n }\n }\n },\n {\n capture: true\n }\n );\n }\n\n private get action(): (params: NavigationParameters) => Promise {\n // Return a function which is bound to the flow instance, thus we can use\n // the syntax `...serverSideRoutes` in vaadin-router.\n return async (params: NavigationParameters) => {\n // Store last action pathname so as we can check it in events\n this.pathname = params.pathname;\n\n if ($wnd.Vaadin.connectionState.online) {\n try {\n await this.flowInit();\n } catch (error) {\n if (error instanceof FlowUiInitializationError) {\n // error initializing Flow: assume connection lost\n $wnd.Vaadin.connectionState.state = ConnectionState.CONNECTION_LOST;\n return this.offlineStubAction();\n } else {\n throw error;\n }\n }\n } else {\n // insert an offline stub\n return this.offlineStubAction();\n }\n\n // When an action happens, navigation will be resolved `onBeforeEnter`\n this.container.onBeforeEnter = (ctx, cmd) => this.flowNavigate(ctx, cmd);\n // For covering the 'server -> client' use case\n this.container.onBeforeLeave = (ctx, cmd) => this.flowLeave(ctx, cmd);\n return this.container;\n };\n }\n\n // Send a remote call to `JavaScriptBootstrapUI` to check\n // whether navigation has to be cancelled.\n private async flowLeave(ctx: NavigationParameters, cmd?: PreventCommands): Promise {\n // server -> server, viewing offline stub, or browser is offline\n const { connectionState } = $wnd.Vaadin;\n if (this.pathname === ctx.pathname || !this.isFlowClientLoaded() || connectionState.offline) {\n return Promise.resolve({});\n }\n // 'server -> client'\n return new Promise((resolve) => {\n this.loadingStarted();\n // The callback to run from server side to cancel navigation\n this.container.serverConnected = (cancel) => {\n resolve(cmd && cancel ? cmd.prevent() : {});\n this.loadingFinished();\n };\n\n // Call server side to check whether we can leave the view\n flowRoot.$server.leaveNavigation(this.getFlowRoutePath(ctx), this.getFlowRouteQuery(ctx));\n });\n }\n\n // Send the remote call to `JavaScriptBootstrapUI` to render the flow\n // route specified by the context\n private async flowNavigate(ctx: NavigationParameters, cmd?: PreventAndRedirectCommands): Promise {\n if (this.response) {\n return new Promise((resolve) => {\n this.loadingStarted();\n // The callback to run from server side once the view is ready\n this.container.serverConnected = (cancel, redirectContext?: NavigationParameters) => {\n if (cmd && cancel) {\n resolve(cmd.prevent());\n } else if (cmd && cmd.redirect && redirectContext) {\n resolve(cmd.redirect(redirectContext.pathname));\n } else {\n this.container.style.display = '';\n resolve(this.container);\n }\n this.loadingFinished();\n };\n\n this.container.serverPaused = () => {\n this.loadingFinished();\n };\n\n // Call server side to navigate to the given route\n flowRoot.$server.connectClient(\n this.getFlowRoutePath(ctx),\n this.getFlowRouteQuery(ctx),\n this.appShellTitle,\n history.state,\n this.navigation\n );\n // Default to history navigation trigger.\n // Link and client cases are handled by click listener in loadingFinished().\n this.navigation = 'history';\n });\n } else {\n // No server response => offline or erroneous connection\n return Promise.resolve(this.container);\n }\n }\n\n private getFlowRoutePath(context: NavigationParameters | Location): string {\n return decodeURIComponent(context.pathname).replace(this.baseRegex, '');\n }\n private getFlowRouteQuery(context: NavigationParameters | Location): string {\n return (context.search && context.search.substring(1)) || '';\n }\n\n // import flow client modules and initialize UI in server side.\n private async flowInit(): Promise {\n // Do not start flow twice\n if (!this.isFlowClientLoaded()) {\n // show flow progress indicator\n this.loadingStarted();\n\n // Initialize server side UI\n this.response = await this.flowInitUi();\n\n const { pushScript, appConfig } = this.response;\n\n if (typeof pushScript === 'string') {\n await this.loadScript(pushScript);\n }\n const { appId } = appConfig;\n\n // Load bootstrap script with server side parameters\n const bootstrapMod = await import('./FlowBootstrap');\n await bootstrapMod.init(this.response);\n\n // Load custom modules defined by user\n if (typeof this.config.imports === 'function') {\n this.injectAppIdScript(appId);\n await this.config.imports();\n }\n\n // we use a custom tag for the flow app container\n const tag = `flow-container-${appId.toLowerCase()}`;\n const serverCreatedContainer = document.querySelector(tag);\n if (serverCreatedContainer) {\n this.container = serverCreatedContainer as HTMLElement;\n } else {\n this.container = document.createElement(tag);\n this.container.id = appId;\n }\n flowRoot.$[appId] = this.container;\n\n // Load flow-client module\n const clientMod = await import('./FlowClient');\n await this.flowInitClient(clientMod);\n\n // hide flow progress indicator\n this.loadingFinished();\n }\n\n // It might be that components created from server expect that their content has been rendered.\n // Appending eagerly the container we avoid these kind of errors.\n // Note that the client router will move this container to the outlet if the navigation succeed\n if (this.container && !this.container.isConnected) {\n this.container.style.display = 'none';\n document.body.appendChild(this.container);\n }\n return this.response!;\n }\n\n private async loadScript(url: string): Promise {\n return new Promise((resolve, reject) => {\n const script = document.createElement('script');\n script.onload = () => resolve();\n script.onerror = reject;\n script.src = url;\n document.body.appendChild(script);\n });\n }\n\n private injectAppIdScript(appId: string) {\n const appIdWithoutHashCode = appId.substring(0, appId.lastIndexOf('-'));\n const scriptAppId = document.createElement('script');\n scriptAppId.type = 'module';\n scriptAppId.setAttribute('data-app-id', appIdWithoutHashCode);\n document.body.append(scriptAppId);\n }\n\n // After the flow-client javascript module has been loaded, this initializes flow UI\n // in the browser.\n private async flowInitClient(clientMod: any): Promise {\n clientMod.init();\n // client init is async, we need to loop until initialized\n return new Promise((resolve) => {\n const intervalId = setInterval(() => {\n // client `isActive() == true` while initializing or processing\n const initializing = Object.keys($wnd.Vaadin.Flow.clients)\n .filter((key) => key !== 'TypeScript')\n .reduce((prev, id) => prev || $wnd.Vaadin.Flow.clients[id].isActive(), false);\n if (!initializing) {\n clearInterval(intervalId);\n resolve();\n }\n }, 5);\n });\n }\n\n // Returns the `appConfig` object\n private async flowInitUi(): Promise {\n // appConfig was sent in the index.html request\n const initial = $wnd.Vaadin && $wnd.Vaadin.TypeScript && $wnd.Vaadin.TypeScript.initial;\n if (initial) {\n $wnd.Vaadin.TypeScript.initial = undefined;\n return Promise.resolve(initial);\n }\n\n // send a request to the `JavaScriptBootstrapHandler`\n return new Promise((resolve, reject) => {\n const xhr = new XMLHttpRequest();\n const httpRequest = xhr as any;\n const requestPath = `?v-r=init&location=${encodeURIComponent(\n this.getFlowRoutePath(location)\n )}&query=${encodeURIComponent(this.getFlowRouteQuery(location))}`;\n\n httpRequest.open('GET', requestPath);\n\n httpRequest.onerror = () =>\n reject(\n new FlowUiInitializationError(\n `Invalid server response when initializing Flow UI.\n ${httpRequest.status}\n ${httpRequest.responseText}`\n )\n );\n\n httpRequest.onload = () => {\n const contentType = httpRequest.getResponseHeader('content-type');\n if (contentType && contentType.indexOf('application/json') !== -1) {\n resolve(JSON.parse(httpRequest.responseText));\n } else {\n httpRequest.onerror();\n }\n };\n httpRequest.send();\n });\n }\n\n // Create shared connection state store and connection indicator\n private addConnectionIndicator() {\n // add connection indicator to DOM\n ConnectionIndicator.create();\n\n // Listen to browser online/offline events and update the loading indicator accordingly.\n // Note: if flow-client is loaded, it instead handles the state transitions.\n $wnd.addEventListener('online', () => {\n if (!this.isFlowClientLoaded()) {\n // Send an HTTP HEAD request for sw.js to verify server reachability.\n // We do not expect sw.js to be cached, so the request goes to the\n // server rather than being served from local cache.\n // Require network-level failure to revert the state to CONNECTION_LOST\n // (HTTP error code is ok since it still verifies server's presence).\n $wnd.Vaadin.connectionState.state = ConnectionState.RECONNECTING;\n const http = new XMLHttpRequest();\n http.open('HEAD', 'sw.js');\n http.onload = () => {\n $wnd.Vaadin.connectionState.state = ConnectionState.CONNECTED;\n };\n http.onerror = () => {\n $wnd.Vaadin.connectionState.state = ConnectionState.CONNECTION_LOST;\n };\n // Postpone request to reduce potential net::ERR_INTERNET_DISCONNECTED\n // errors that sometimes occurs even if browser says it is online\n setTimeout(() => http.send(), 50);\n }\n });\n $wnd.addEventListener('offline', () => {\n if (!this.isFlowClientLoaded()) {\n $wnd.Vaadin.connectionState.state = ConnectionState.CONNECTION_LOST;\n }\n });\n }\n\n private async offlineStubAction() {\n const offlineStub = document.createElement('iframe') as HTMLRouterContainer;\n const offlineStubPath = './offline-stub.html';\n offlineStub.setAttribute('src', offlineStubPath);\n offlineStub.setAttribute('style', 'width: 100%; height: 100%; border: 0');\n this.response = undefined;\n\n let onlineListener: ConnectionStateChangeListener | undefined;\n const removeOfflineStubAndOnlineListener = () => {\n if (onlineListener !== undefined) {\n $wnd.Vaadin.connectionState.removeStateChangeListener(onlineListener);\n onlineListener = undefined;\n }\n };\n\n offlineStub.onBeforeEnter = (ctx, _cmds, router) => {\n onlineListener = () => {\n if ($wnd.Vaadin.connectionState.online) {\n removeOfflineStubAndOnlineListener();\n router.render(ctx, false);\n }\n };\n $wnd.Vaadin.connectionState.addStateChangeListener(onlineListener);\n };\n offlineStub.onBeforeLeave = (_ctx, _cmds, _router) => {\n removeOfflineStubAndOnlineListener();\n };\n return offlineStub;\n }\n\n private isFlowClientLoaded(): boolean {\n return this.response !== undefined;\n }\n}\n"]} \ No newline at end of file diff --git a/vertx-vaadin-quarkus-extension/integration-tests/development/frontend/generated/jar-resources/FlowBootstrap.d.ts b/vertx-vaadin-quarkus-extension/integration-tests/development/frontend/generated/jar-resources/FlowBootstrap.d.ts deleted file mode 100644 index 0398d576..00000000 --- a/vertx-vaadin-quarkus-extension/integration-tests/development/frontend/generated/jar-resources/FlowBootstrap.d.ts +++ /dev/null @@ -1 +0,0 @@ -export const init: (appInitResponse: any) => void; diff --git a/vertx-vaadin-quarkus-extension/integration-tests/development/frontend/generated/jar-resources/FlowBootstrap.js b/vertx-vaadin-quarkus-extension/integration-tests/development/frontend/generated/jar-resources/FlowBootstrap.js deleted file mode 100644 index a8d94854..00000000 --- a/vertx-vaadin-quarkus-extension/integration-tests/development/frontend/generated/jar-resources/FlowBootstrap.js +++ /dev/null @@ -1,262 +0,0 @@ -/* This is a copy of the regular `BootstrapHandler.js` in the flow-server - module, but with the following modifications: - - The main function is exported as an ES module for lazy initialization. - - Application configuration is passed as a parameter instead of using - replacement placeholders as in the regular bootstrapping. - - It reuses `Vaadin.Flow.clients` if exists. - - Fixed lint errors. - */ -const init = function (appInitResponse) { - window.Vaadin = window.Vaadin || {}; - window.Vaadin.Flow = window.Vaadin.Flow || {}; - - var apps = {}; - var widgetsets = {}; - - var log; - if (typeof window.console === undefined || !window.location.search.match(/[&?]debug(&|$)/)) { - /* If no console.log present, just use a no-op */ - log = function () {}; - } else if (typeof window.console.log === 'function') { - /* If it's a function, use it with apply */ - log = function () { - window.console.log.apply(window.console, arguments); - }; - } else { - /* In IE, its a native function for which apply is not defined, but it works - without a proper 'this' reference */ - log = window.console.log; - } - - var isInitializedInDom = function (appId) { - var appDiv = document.getElementById(appId); - if (!appDiv) { - return false; - } - for (var i = 0; i < appDiv.childElementCount; i++) { - var className = appDiv.childNodes[i].className; - /* If the app div contains a child with the class - 'v-app-loading' we have only received the HTML - but not yet started the widget set - (UIConnector removes the v-app-loading div). */ - if (className && className.indexOf('v-app-loading') != -1) { - return false; - } - } - return true; - }; - - /* - * Needed for Testbench compatibility, but prevents any Vaadin 7 app from - * bootstrapping unless the legacy vaadinBootstrap.js file is loaded before - * this script. - */ - window.Vaadin = window.Vaadin || {}; - window.Vaadin.Flow = window.Vaadin.Flow || {}; - - /* - * Needed for wrapping custom javascript functionality in the components (i.e. connectors) - */ - window.Vaadin.Flow.tryCatchWrapper = function (originalFunction, component) { - return function () { - try { - // eslint-disable-next-line - const result = originalFunction.apply(this, arguments); - return result; - } catch (error) { - console.error( - `There seems to be an error in ${component}: -${error.message} -Please submit an issue to https://github.com/vaadin/flow-components/issues/new/choose` - ); - } - }; - }; - - if (!window.Vaadin.Flow.initApplication) { - window.Vaadin.Flow.clients = window.Vaadin.Flow.clients || {}; - - window.Vaadin.Flow.initApplication = function (appId, config) { - var testbenchId = appId.replace(/-\d+$/, ''); - - if (apps[appId]) { - if ( - window.Vaadin && - window.Vaadin.Flow && - window.Vaadin.Flow.clients && - window.Vaadin.Flow.clients[testbenchId] && - window.Vaadin.Flow.clients[testbenchId].initializing - ) { - throw new Error('Application ' + appId + ' is already being initialized'); - } - if (isInitializedInDom(appId)) { - throw new Error('Application ' + appId + ' already initialized'); - } - } - - log('init application', appId, config); - - window.Vaadin.Flow.clients[testbenchId] = { - isActive: function () { - return true; - }, - initializing: true, - productionMode: mode - }; - - var getConfig = function (name) { - var value = config[name]; - return value; - }; - - /* Export public data */ - var app = { - getConfig: getConfig - }; - apps[appId] = app; - - if (!window.name) { - window.name = appId + '-' + Math.random(); - } - - var widgetset = 'client'; - widgetsets[widgetset] = { - pendingApps: [] - }; - if (widgetsets[widgetset].callback) { - log('Starting from bootstrap', appId); - widgetsets[widgetset].callback(appId); - } else { - log('Setting pending startup', appId); - widgetsets[widgetset].pendingApps.push(appId); - } - - return app; - }; - window.Vaadin.Flow.getAppIds = function () { - var ids = []; - for (var id in apps) { - if (Object.prototype.hasOwnProperty.call(apps, id)) { - ids.push(id); - } - } - return ids; - }; - window.Vaadin.Flow.getApp = function (appId) { - return apps[appId]; - }; - window.Vaadin.Flow.registerWidgetset = function (widgetset, callback) { - log('Widgetset registered', widgetset); - var ws = widgetsets[widgetset]; - if (ws && ws.pendingApps) { - ws.callback = callback; - for (var i = 0; i < ws.pendingApps.length; i++) { - var appId = ws.pendingApps[i]; - log('Starting from register widgetset', appId); - callback(appId); - } - ws.pendingApps = null; - } - }; - window.Vaadin.Flow.getBrowserDetailsParameters = function () { - var params = {}; - - /* Screen height and width */ - params['v-sh'] = window.screen.height; - params['v-sw'] = window.screen.width; - /* Browser window dimensions */ - params['v-wh'] = window.innerHeight; - params['v-ww'] = window.innerWidth; - /* Body element dimensions */ - params['v-bh'] = document.body.clientHeight; - params['v-bw'] = document.body.clientWidth; - - /* Current time */ - var date = new Date(); - params['v-curdate'] = date.getTime(); - - /* Current timezone offset (including DST shift) */ - var tzo1 = date.getTimezoneOffset(); - - /* Compare the current tz offset with the first offset from the end - of the year that differs --- if less that, we are in DST, otherwise - we are in normal time */ - var dstDiff = 0; - var rawTzo = tzo1; - for (var m = 12; m > 0; m--) { - date.setUTCMonth(m); - var tzo2 = date.getTimezoneOffset(); - if (tzo1 != tzo2) { - dstDiff = tzo1 > tzo2 ? tzo1 - tzo2 : tzo2 - tzo1; - rawTzo = tzo1 > tzo2 ? tzo1 : tzo2; - break; - } - } - - /* Time zone offset */ - params['v-tzo'] = tzo1; - - /* DST difference */ - params['v-dstd'] = dstDiff; - - /* Time zone offset without DST */ - params['v-rtzo'] = rawTzo; - - /* DST in effect? */ - params['v-dston'] = tzo1 != rawTzo; - - /* Time zone id (if available) */ - try { - params['v-tzid'] = Intl.DateTimeFormat().resolvedOptions().timeZone; - } catch (err) { - params['v-tzid'] = ''; - } - - /* Window name */ - if (window.name) { - params['v-wn'] = window.name; - } - - /* Detect touch device support */ - var supportsTouch = false; - try { - document.createEvent('TouchEvent'); - supportsTouch = true; - } catch (e) { - /* Chrome and IE10 touch detection */ - supportsTouch = 'ontouchstart' in window || typeof navigator.msMaxTouchPoints !== 'undefined'; - } - params['v-td'] = supportsTouch; - - /* Device Pixel Ratio */ - params['v-pr'] = window.devicePixelRatio; - - if (navigator.platform) { - params['v-np'] = navigator.platform; - } - - /* Stringify each value (they are parsed on the server side) */ - Object.keys(params).forEach(function (key) { - var value = params[key]; - if (typeof value !== 'undefined') { - params[key] = value.toString(); - } - }); - return params; - }; - } - - log('Flow bootstrap loaded'); - if (appInitResponse.appConfig.productionMode && typeof window.__gwtStatsEvent != 'function') { - window.Vaadin.Flow.gwtStatsEvents = []; - window.__gwtStatsEvent = function (event) { - window.Vaadin.Flow.gwtStatsEvents.push(event); - return true; - }; - } - var config = appInitResponse.appConfig; - var mode = appInitResponse.appConfig.productionMode; - window.Vaadin.Flow.initApplication(config.appId, config); -}; - -export { init }; diff --git a/vertx-vaadin-quarkus-extension/integration-tests/development/frontend/generated/jar-resources/FlowClient.d.ts b/vertx-vaadin-quarkus-extension/integration-tests/development/frontend/generated/jar-resources/FlowClient.d.ts deleted file mode 100644 index 7b21f908..00000000 --- a/vertx-vaadin-quarkus-extension/integration-tests/development/frontend/generated/jar-resources/FlowClient.d.ts +++ /dev/null @@ -1 +0,0 @@ -export const init: () => void; diff --git a/vertx-vaadin-quarkus-extension/integration-tests/development/frontend/generated/jar-resources/FlowClient.js b/vertx-vaadin-quarkus-extension/integration-tests/development/frontend/generated/jar-resources/FlowClient.js deleted file mode 100644 index 2fb9e139..00000000 --- a/vertx-vaadin-quarkus-extension/integration-tests/development/frontend/generated/jar-resources/FlowClient.js +++ /dev/null @@ -1,1118 +0,0 @@ -// Vertx-Vaadin FLowClient -const init = function(){ -function client(){var Jb='',Kb=0,Lb='gwt.codesvr=',Mb='gwt.hosted=',Nb='gwt.hybrid',Ob='client',Pb='#',Qb='?',Rb='/',Sb=1,Tb='img',Ub='clear.cache.gif',Vb='baseUrl',Wb='script',Xb='client.nocache.js',Yb='base',Zb='//',$b='meta',_b='name',ac='gwt:property',bc='content',cc='=',dc='gwt:onPropertyErrorFn',ec='Bad handler "',fc='" for "gwt:onPropertyErrorFn"',gc='gwt:onLoadErrorFn',hc='" for "gwt:onLoadErrorFn"',ic='user.agent',jc='webkit',kc='safari',lc='msie',mc=10,nc=11,oc='ie10',pc=9,qc='ie9',rc=8,sc='ie8',tc='gecko',uc='gecko1_8',vc=2,wc=3,xc=4,yc='Single-script hosted mode not yet implemented. See issue ',zc='http://code.google.com/p/google-web-toolkit/issues/detail?id=2079',Ac='54E807181CC95598D9E4541FB4E73A76',Bc=':1',Cc=':',Dc='DOMContentLoaded',Ec=50;var l=Jb,m=Kb,n=Lb,o=Mb,p=Nb,q=Ob,r=Pb,s=Qb,t=Rb,u=Sb,v=Tb,w=Ub,A=Vb,B=Wb,C=Xb,D=Yb,F=Zb,G=$b,H=_b,I=ac,J=bc,K=cc,L=dc,M=ec,N=fc,O=gc,P=hc,Q=ic,R=jc,S=kc,T=lc,U=mc,V=nc,W=oc,X=pc,Y=qc,Z=rc,$=sc,_=tc,ab=uc,bb=vc,cb=wc,db=xc,eb=yc,fb=zc,gb=Ac,hb=Bc,ib=Cc,jb=Dc,kb=Ec;var lb=window,mb=document,nb,ob,pb=l,qb={},rb=[],sb=[],tb=[],ub=m,vb,wb;if(!lb.__gwt_stylesLoaded){lb.__gwt_stylesLoaded={}}if(!lb.__gwt_scriptsLoaded){lb.__gwt_scriptsLoaded={}}function xb(){var b=false;try{var c=lb.location.search;return (c.indexOf(n)!=-1||(c.indexOf(o)!=-1||lb.external&&lb.external.gwtOnLoad))&&c.indexOf(p)==-1}catch(a){}xb=function(){return b};return b} -function yb(){if(nb&&ob){nb(vb,q,pb,ub)}} -function zb(){function e(a){var b=a.lastIndexOf(r);if(b==-1){b=a.length}var c=a.indexOf(s);if(c==-1){c=a.length}var d=a.lastIndexOf(t,Math.min(c,b));return d>=m?a.substring(m,d+u):l} -function f(a){if(a.match(/^\w+:\/\//)){}else{var b=mb.createElement(v);b.src=a+w;a=e(b.src)}return a} -function g(){var a=Cb(A);if(a!=null){return a}return l} -function h(){var a=mb.getElementsByTagName(B);for(var b=m;bm){return a[a.length-u].href}return l} -function j(){var a=mb.location;return a.href==a.protocol+F+a.host+a.pathname+a.search+a.hash} -var k=g();if(k==l){k=h()}if(k==l){k=i()}if(k==l&&j()){k=e(mb.location.href)}k=f(k);return k} -function Ab(){var b=document.getElementsByTagName(G);for(var c=m,d=b.length;c=m){f=g.substring(m,i);h=g.substring(i+u)}else{f=g;h=l}qb[f]=h}}else if(f==L){g=e.getAttribute(J);if(g){try{wb=eval(g)}catch(a){alert(M+g+N)}}}else if(f==O){g=e.getAttribute(J);if(g){try{vb=eval(g)}catch(a){alert(M+g+P)}}}}}} -var Bb=function(a,b){return b in rb[a]};var Cb=function(a){var b=qb[a];return b==null?null:b};function Db(a,b){var c=tb;for(var d=m,e=a.length-u;d=U&&b=X&&b=Z&&b=V}())return ab;return S};rb[Q]={'gecko1_8':m,'ie10':u,'ie8':bb,'ie9':cb,'safari':db};client.onScriptLoad=function(a){client=null;nb=a;yb()};if(xb()){alert(eb+fb);return}zb();Ab();try{var Fb;Db([ab],gb);Db([S],gb+hb);Fb=tb[Eb(Q)];var Gb=Fb.indexOf(ib);if(Gb!=-1){ub=Number(Fb.substring(Gb+u))}}catch(a){return}var Hb;function Ib(){if(!ob){ob=true;yb();if(mb.removeEventListener){mb.removeEventListener(jb,Ib,false)}if(Hb){clearInterval(Hb)}}} -if(mb.addEventListener){mb.addEventListener(jb,function(){Ib()},false)}var Hb=setInterval(function(){if(/loaded|complete/.test(mb.readyState)){Ib()}},kb)} -client();(function () {var $gwt_version = "2.9.0";var $wnd = window;var $doc = $wnd.document;var $moduleName, $moduleBase;var $stats = $wnd.__gwtStatsEvent ? function(a) {$wnd.__gwtStatsEvent(a)} : null;var $strongName = '54E807181CC95598D9E4541FB4E73A76';function I(){} -function Ib(){} -function sk(){} -function ok(){} -function yk(){} -function Xk(){} -function Xl(){} -function gl(){} -function kl(){} -function kd(){} -function rd(){} -function Tl(){} -function Vl(){} -function Vn(){} -function Xn(){} -function Zn(){} -function qm(){} -function vm(){} -function Am(){} -function Cm(){} -function Mm(){} -function wo(){} -function yo(){} -function yp(){} -function Hp(){} -function wr(){} -function yr(){} -function Ar(){} -function Cr(){} -function _r(){} -function ds(){} -function ot(){} -function st(){} -function vt(){} -function Qt(){} -function zu(){} -function sv(){} -function wv(){} -function Lv(){} -function Uv(){} -function Bx(){} -function $x(){} -function ay(){} -function Oy(){} -function Sy(){} -function Xz(){} -function XH(){} -function sH(){} -function yH(){} -function FA(){} -function LB(){} -function lC(){} -function CD(){} -function gF(){} -function gI(){} -function iI(){} -function kI(){} -function BI(){} -function KI(){} -function Dz(){Az()} -function Nk(a,b){a.c=b} -function Ok(a,b){a.d=b} -function Pk(a,b){a.e=b} -function Rk(a,b){a.g=b} -function Sk(a,b){a.i=b} -function Tk(a,b){a.j=b} -function Uk(a,b){a.k=b} -function Vk(a,b){a.n=b} -function Wk(a,b){a.o=b} -function $t(a,b){a.b=b} -function AI(a,b){a.a=b} -function jb(a){this.a=a} -function Gb(a){this.a=a} -function Kb(a){this.a=a} -function Mb(a){this.a=a} -function Zc(a){this.a=a} -function _c(a){this.a=a} -function il(a){this.a=a} -function Dl(a){this.a=a} -function Fl(a){this.a=a} -function om(a){this.a=a} -function tm(a){this.a=a} -function ym(a){this.a=a} -function Gm(a){this.a=a} -function Im(a){this.a=a} -function Km(a){this.a=a} -function Om(a){this.a=a} -function Qm(a){this.a=a} -function tn(a){this.a=a} -function _n(a){this.a=a} -function eo(a){this.a=a} -function qo(a){this.a=a} -function Ao(a){this.a=a} -function Zo(a){this.a=a} -function ap(a){this.a=a} -function bp(a){this.a=a} -function hp(a){this.a=a} -function tp(a){this.a=a} -function vp(a){this.a=a} -function Ap(a){this.a=a} -function Cp(a){this.a=a} -function Ep(a){this.a=a} -function Ip(a){this.a=a} -function Op(a){this.a=a} -function _p(a){this.a=a} -function qq(a){this.a=a} -function br(a){this.a=a} -function dr(a){this.a=a} -function fr(a){this.a=a} -function or(a){this.a=a} -function rr(a){this.a=a} -function fs(a){this.a=a} -function ms(a){this.a=a} -function os(a){this.a=a} -function Cs(a){this.a=a} -function Gs(a){this.a=a} -function Ps(a){this.a=a} -function Xs(a){this.a=a} -function Zs(a){this.a=a} -function _s(a){this.a=a} -function As(a){this.c=a} -function _t(a){this.c=a} -function bt(a){this.a=a} -function dt(a){this.a=a} -function et(a){this.a=a} -function mt(a){this.a=a} -function Ft(a){this.a=a} -function Ot(a){this.a=a} -function St(a){this.a=a} -function Su(a){this.a=a} -function cu(a){this.a=a} -function eu(a){this.a=a} -function ru(a){this.a=a} -function xu(a){this.a=a} -function Wu(a){this.a=a} -function uv(a){this.a=a} -function $v(a){this.a=a} -function cw(a){this.a=a} -function gw(a){this.a=a} -function iw(a){this.a=a} -function kw(a){this.a=a} -function pw(a){this.a=a} -function ey(a){this.a=a} -function gy(a){this.a=a} -function uy(a){this.a=a} -function yy(a){this.a=a} -function Cy(a){this.a=a} -function Qy(a){this.a=a} -function Wy(a){this.a=a} -function Yy(a){this.a=a} -function dy(a){this.b=a} -function az(a){this.a=a} -function gz(a){this.a=a} -function iz(a){this.a=a} -function kz(a){this.a=a} -function mz(a){this.a=a} -function oz(a){this.a=a} -function vz(a){this.a=a} -function xz(a){this.a=a} -function Oz(a){this.a=a} -function Rz(a){this.a=a} -function Zz(a){this.a=a} -function _z(a){this.e=a} -function DA(a){this.a=a} -function HA(a){this.a=a} -function JA(a){this.a=a} -function JB(a){this.a=a} -function dB(a){this.a=a} -function sB(a){this.a=a} -function uB(a){this.a=a} -function wB(a){this.a=a} -function HB(a){this.a=a} -function ZB(a){this.a=a} -function rC(a){this.a=a} -function yD(a){this.a=a} -function AD(a){this.a=a} -function DD(a){this.a=a} -function sE(a){this.a=a} -function zF(a){this.a=a} -function MF(a){this.b=a} -function hG(a){this.c=a} -function XG(a){this.a=a} -function EI(a){this.a=a} -function yl(a){throw a} -function dk(a){return a.e} -function tk(){hq();lq()} -function Rb(a){Qb=a;Fc()} -function Pb(){this.a=tc()} -function Jk(){this.a=++Ik} -function hq(){hq=ok;gq=[]} -function kD(b,a){b.log(a)} -function lD(b,a){b.warn(a)} -function eD(b,a){b.data=a} -function Pu(a,b){b.pb(a)} -function ex(a,b){xx(b,a)} -function kx(a,b){wx(b,a)} -function ox(a,b){ax(b,a)} -function nA(a,b){lv(b,a)} -function it(a,b){gC(a.a,b)} -function WB(a){wA(a.a,a.b)} -function Uc(a){return a.Q()} -function Un(a){return zn(a)} -function dd(a){cd();bd.R(a)} -function us(a){ts(a)&&ws(a)} -function Gr(a){a.j||Hr(a.a)} -function jD(b,a){b.error(a)} -function iD(b,a){b.debug(a)} -function T(a,b){a.send(b)} -function hc(){Zb.call(this)} -function JD(){Zb.call(this)} -function HD(){hc.call(this)} -function zE(){hc.call(this)} -function rG(){hc.call(this)} -function RG(){hc.call(this)} -function AG(){AG=ok;zG=CG()} -function Az(){Az=ok;zz=Mz()} -function mc(){mc=ok;lc=new I} -function Mc(){Mc=ok;Lc=new Hp} -function Jt(){Jt=ok;It=new Qt} -function DH(){this.a=new sG} -function eA(){eA=ok;dA=new FA} -function Al(a){Qb=a;!!a&&Fc()} -function km(a){bm();this.a=a} -function $C(b,a){b.display=a} -function Rx(a,b){b.forEach(a)} -function Qk(a,b){a.f=b;ul=!b} -function Xb(a,b){a.e=b;Ub(a,b)} -function xA(a,b,c){a.Nb(c,b)} -function kn(a,b,c){en(a,c,b)} -function Sn(a,b,c){a.set(b,c)} -function ln(a,b){a.a.add(b.d)} -function qz(a){qx(a.b,a.a,a.c)} -function AA(a){zA.call(this,a)} -function aB(a){zA.call(this,a)} -function pB(a){zA.call(this,a)} -function FD(a){ic.call(this,a)} -function qE(a){ic.call(this,a)} -function rE(a){ic.call(this,a)} -function BE(a){ic.call(this,a)} -function AE(a){kc.call(this,a)} -function DE(a){qE.call(this,a)} -function GD(a){FD.call(this,a)} -function cF(a){FD.call(this,a)} -function iF(a){ic.call(this,a)} -function aF(){DD.call(this,'')} -function _E(){DD.call(this,'')} -function ik(){gk==null&&(gk=[])} -function zc(){zc=ok;!!(cd(),bd)} -function eF(){eF=ok;dF=new CD} -function vH(){vH=ok;uH=new yH} -function TD(a){SD(a);return a.j} -function OD(a){return QI(a),a} -function nE(a){return QI(a),a} -function Ob(a){return tc()-a.a} -function fF(a){return Md(a,5).e} -function $d(a,b){return ce(a,b)} -function ud(a,b){return _D(a,b)} -function $q(a,b){return a.a>b.a} -function wD(b,a){return a in b} -function vD(a){return Object(a)} -function vI(a,b,c){b.nb(fF(c))} -function lH(a,b,c){b.nb(a.a[c])} -function Nx(a,b,c){FB(Dx(a,c,b))} -function Nn(a,b){RB(new oo(b,a))} -function hx(a,b){RB(new wy(b,a))} -function ix(a,b){RB(new Ay(b,a))} -function im(a,b){++am;b.H(a,Zl)} -function pI(a,b){lI(a);a.a.hc(b)} -function fI(a,b){Md(a,87).Yb(b)} -function Mo(a,b){a.d?Oo(b):lm()} -function Cu(a,b){a.c.forEach(b)} -function DB(a,b){a.e||a.c.add(b)} -function aH(a,b){while(a.ic(b));} -function Qx(a,b){return Sm(a.b,b)} -function fA(a,b){return tA(a.a,b)} -function TA(a,b){return tA(a.a,b)} -function fB(a,b){return tA(a.a,b)} -function mx(a,b){return Ow(b.a,a)} -function uk(b,a){return b.exec(a)} -function vF(a){return a.a.c+a.b.c} -function mA(a){yA(a.a);return a.c} -function iA(a){yA(a.a);return a.g} -function EG(){AG();return new zG} -function Bw(b,a){uw();delete b[a]} -function Eb(a,b){tb.call(this,a,b)} -function jE(){ic.call(this,null)} -function ju(){this.a=new $wnd.Map} -function kC(){this.c=new $wnd.Map} -function tb(a,b){this.b=a;this.c=b} -function ml(a,b){this.b=a;this.a=b} -function bo(a,b){this.b=a;this.a=b} -function go(a,b){this.a=a;this.b=b} -function io(a,b){this.a=a;this.b=b} -function ko(a,b){this.a=a;this.b=b} -function mo(a,b){this.a=a;this.b=b} -function oo(a,b){this.a=a;this.b=b} -function Em(a,b){this.a=a;this.b=b} -function Zm(a,b){this.a=a;this.b=b} -function _m(a,b){this.a=a;this.b=b} -function pn(a,b){this.a=a;this.b=b} -function rn(a,b){this.a=a;this.b=b} -function ep(a,b){this.a=a;this.b=b} -function is(a,b){this.a=a;this.b=b} -function ks(a,b){this.a=a;this.b=b} -function jp(a,b){this.b=a;this.a=b} -function lp(a,b){this.b=a;this.a=b} -function Er(a,b){this.b=a;this.a=b} -function fu(a,b){this.b=a;this.a=b} -function tu(a,b){this.a=a;this.b=b} -function vu(a,b){this.a=a;this.b=b} -function Qu(a,b){this.a=a;this.b=b} -function Uu(a,b){this.a=a;this.b=b} -function Yu(a,b){this.a=a;this.b=b} -function aw(a,b){this.a=a;this.b=b} -function iy(a,b){this.b=a;this.a=b} -function ky(a,b){this.b=a;this.a=b} -function qy(a,b){this.b=a;this.a=b} -function wy(a,b){this.b=a;this.a=b} -function Ay(a,b){this.b=a;this.a=b} -function Ky(a,b){this.a=a;this.b=b} -function My(a,b){this.a=a;this.b=b} -function cz(a,b){this.a=a;this.b=b} -function tz(a,b){this.a=a;this.b=b} -function Hz(a,b){this.a=a;this.b=b} -function LA(a,b){this.a=a;this.b=b} -function SA(a,b){this.d=a;this.e=b} -function Jz(a,b){this.b=a;this.a=b} -function yB(a,b){this.a=a;this.b=b} -function XB(a,b){this.a=a;this.b=b} -function $B(a,b){this.a=a;this.b=b} -function Vp(a,b){tb.call(this,a,b)} -function JC(a,b){tb.call(this,a,b)} -function RC(a,b){tb.call(this,a,b)} -function cI(a,b){tb.call(this,a,b)} -function eI(a,b){this.a=a;this.b=b} -function yI(a,b){this.a=a;this.b=b} -function FI(a,b){this.b=a;this.a=b} -function gx(a,b,c){ux(a,b);Xw(c.e)} -function zt(a,b,c,d){yt(a,b.d,c,d)} -function HI(a,b,c){a.splice(b,0,c)} -function Iq(a,b){Aq(a,(Zq(),Xq),b)} -function GG(a,b){return a.a.get(b)} -function bn(a,b){return Rd(a.b[b])} -function $p(a,b){return Yp(b,Zp(a))} -function Qc(a){return !!a.b||!!a.g} -function ae(a){return typeof a===fJ} -function Lz(a){a.length=0;return a} -function fe(a){TI(a==null);return a} -function Jc(a){$wnd.clearTimeout(a)} -function Ak(a){$wnd.clearTimeout(a)} -function nD(b,a){b.clearTimeout(a)} -function mD(b,a){b.clearInterval(a)} -function Cz(a,b){GB(b);zz.delete(a)} -function SE(a,b){return a.substr(b)} -function oE(a){return ee((QI(a),a))} -function vG(a){this.a=EG();this.b=a} -function IG(a){this.a=EG();this.b=a} -function VF(a){this.a=null;this.b=a} -function de(a){return a==null?null:a} -function H(a,b){return de(a)===de(b)} -function jn(a,b){return a.a.has(b.d)} -function Pq(a,b){Aq(a,(Zq(),Yq),b.a)} -function YE(a,b){a.a+=''+b;return a} -function ZE(a,b){a.a+=''+b;return a} -function $E(a,b){a.a+=''+b;return a} -function tI(a,b,c){fI(b,c);return b} -function LE(a,b){return a.indexOf(b)} -function tD(a){return a&&a.valueOf()} -function uD(a){return a&&a.valueOf()} -function qF(a){return !a?null:a.dc()} -function TG(a){return a!=null?O(a):0} -function zk(a){$wnd.clearInterval(a)} -function Y(a){Gp((Mc(),Lc),new jb(a))} -function VG(){VG=ok;UG=new XG(null)} -function Nv(){Nv=ok;Mv=new $wnd.Map} -function uw(){uw=ok;tw=new $wnd.Map} -function ND(){ND=ok;LD=false;MD=true} -function Kc(){uc!=0&&(uc=0);yc=-1} -function Eq(a){!!a.b&&Nq(a,(Zq(),Wq))} -function Jq(a){!!a.b&&Nq(a,(Zq(),Xq))} -function Sq(a){!!a.b&&Nq(a,(Zq(),Yq))} -function Sb(a){a.i=wd(aj,vJ,28,0,0,1)} -function uI(a,b,c){AI(a,DI(b,a.a,c))} -function SH(a,b){if(IH){return}a.b=b} -function Hu(a,b){return a.i.delete(b)} -function Ju(a,b){return a.b.delete(b)} -function Ox(a,b,c){return Dx(a,c.a,b)} -function Mz(){return new $wnd.WeakMap} -function wA(a,b){return a.a.delete(b)} -function DI(a,b,c){return tI(a.a,b,c)} -function vl(a){ul&&iD($wnd.console,a)} -function xl(a){ul&&jD($wnd.console,a)} -function Bl(a){ul&&kD($wnd.console,a)} -function Cl(a){ul&&lD($wnd.console,a)} -function np(a){ul&&jD($wnd.console,a)} -function mr(a){this.a=a;yk.call(this)} -function bs(a){this.a=a;yk.call(this)} -function Ns(a){this.a=a;yk.call(this)} -function lt(a){this.a=new kC;this.c=a} -function $I(){$I=ok;XI=new I;ZI=new I} -function Jr(a){return jK in a?a[jK]:-1} -function XE(a){return a==null?AJ:rk(a)} -function Px(a,b){return Fn(a.b.root,b)} -function Cd(a,b,c){return {l:a,m:b,h:c}} -function aD(a,b,c,d){return UC(a,b,c,d)} -function WG(a,b){return a.a!=null?a.a:b} -function VA(a,b){yA(a.a);a.c.forEach(b)} -function gB(a,b){yA(a.a);a.b.forEach(b)} -function lx(a,b){var c;c=Ow(b,a);FB(c)} -function Tx(a){Gp((Mc(),Lc),new oz(a))} -function Rr(a){Gp((Mc(),Lc),new os(a))} -function fm(a){Gp((Mc(),Lc),new Km(a))} -function pq(a){Gp((Mc(),Lc),new qq(a))} -function bF(a){DD.call(this,(QI(a),a))} -function bG(){this.a=wd($i,vJ,1,0,5,1)} -function Zb(){Sb(this);Tb(this);this.O()} -function Ks(a){if(a.a){vk(a.a);a.a=null}} -function MI(a){if(!a){throw dk(new HD)}} -function NI(a){if(!a){throw dk(new RG)}} -function TI(a){if(!a){throw dk(new jE)}} -function EB(a){if(a.d||a.e){return}CB(a)} -function NH(a,b){if(IH){return}ZF(a.a,b)} -function Wd(a,b){return a!=null&&Ld(a,b)} -function bD(a,b){return a.appendChild(b)} -function cD(b,a){return b.appendChild(a)} -function NE(a,b){return a.lastIndexOf(b)} -function ME(a,b,c){return a.indexOf(b,c)} -function mm(a,b,c){bm();return a.set(c,b)} -function _C(d,a,b,c){d.setProperty(a,b,c)} -function TE(a,b,c){return a.substr(b,c-b)} -function WI(a){return a.$H||(a.$H=++VI)} -function uo(a){return ''+vo(so.sb()-a,3)} -function Yd(a){return typeof a==='number'} -function _d(a){return typeof a==='string'} -function qc(a){return a==null?null:a.name} -function Xd(a){return typeof a==='boolean'} -function sb(a){return a.b!=null?a.b:''+a.c} -function SD(a){if(a.j!=null){return}dE(a)} -function Nd(a){TI(a==null||Xd(a));return a} -function Od(a){TI(a==null||Yd(a));return a} -function Td(a){TI(a==null||_d(a));return a} -function Pd(a){TI(a==null||ae(a));return a} -function nm(a){bm();am==0?a.C():_l.push(a)} -function Is(a,b){b.a.b==(Up(),Tp)&&Ks(a)} -function hr(a,b){b.a.b==(Up(),Tp)&&kr(a,-1)} -function yA(a){var b;b=NB;!!b&&AB(b,a.b)} -function NA(a,b){_z.call(this,a);this.a=b} -function sI(a,b){nI.call(this,a);this.a=b} -function zA(a){this.a=new $wnd.Set;this.b=a} -function dn(){this.a=new $wnd.Map;this.b=[]} -function FH(a){this.a=a;eF();fk(Date.now())} -function RB(a){OB==null&&(OB=[]);OB.push(a)} -function SB(a){QB==null&&(QB=[]);QB.push(a)} -function fD(b,a){return b.createElement(a)} -function PD(a,b){return QI(a),de(a)===de(b)} -function JE(a,b){return QI(a),de(a)===de(b)} -function Ek(a,b){return $wnd.setTimeout(a,b)} -function ce(a,b){return a&&b&&a instanceof b} -function OE(a,b,c){return a.lastIndexOf(b,c)} -function Ac(a,b,c){return a.apply(b,c);var d} -function Dk(a,b){return $wnd.setInterval(a,b)} -function gd(a){cd();return parseInt(a)||-1} -function TH(a,b){if(IH){return}!!b&&(a.d=b)} -function pp(a,b){qp(a,b,Md(Hl(a.a,De),9).k)} -function ur(a,b,c){a.nb(wE(jA(Md(c.e,13),b)))} -function Ws(a,b,c){a.set(c,(yA(b.a),Td(b.g)))} -function Tc(a,b){a.b=Vc(a.b,[b,false]);Rc(a)} -function Wv(a){a.c?mD($wnd,a.d):nD($wnd,a.d)} -function yE(){yE=ok;xE=wd(Vi,vJ,23,256,0,1)} -function bm(){bm=ok;_l=[];Zl=new qm;$l=new vm} -function Mp(){this.b=(Up(),Rp);this.a=new kC} -function oy(a,b,c){this.b=a;this.c=b;this.a=c} -function my(a,b,c){this.c=a;this.b=b;this.a=c} -function Uy(a,b,c){this.c=a;this.b=b;this.a=c} -function sy(a,b,c){this.a=a;this.b=b;this.c=c} -function Ey(a,b,c){this.a=a;this.b=b;this.c=c} -function Gy(a,b,c){this.a=a;this.b=b;this.c=c} -function Iy(a,b,c){this.a=a;this.b=b;this.c=c} -function $y(a,b,c){this.b=a;this.a=b;this.c=c} -function rw(a,b,c){this.b=a;this.a=b;this.c=c} -function rz(a,b,c){this.b=a;this.a=b;this.c=c} -function ez(a,b,c){this.b=a;this.c=b;this.a=c} -function lb(a,b,c){this.a=a;this.c=b;this.b=c} -function NG(a,b,c){this.a=a;this.b=b;this.c=c} -function Qv(a,b,c){this.c=a;this.d=b;this.k=c} -function _q(a,b,c){tb.call(this,a,b);this.a=c} -function Ll(a,b,c){Kl(a,b,c.lb());a.b.set(b,c)} -function dD(c,a,b){return c.insertBefore(a,b)} -function ZC(b,a){return b.getPropertyValue(a)} -function pc(a){return a==null?null:a.message} -function Bk(a,b){return cJ(function(){a.U(b)})} -function Bu(a,b){a.i.add(b);return new Uu(a,b)} -function Au(a,b){a.b.add(b);return new Yu(a,b)} -function QH(a,b){if(!HH){return}RH(a,(vH(),b))} -function qD(a){if(a==null){return 0}return +a} -function Sd(a,b){TI(a==null||ce(a,b));return a} -function Md(a,b){TI(a==null||Ld(a,b));return a} -function ZD(a,b){var c;c=WD(a,b);c.e=2;return c} -function ZF(a,b){a.a[a.a.length]=b;return true} -function $F(a,b){OI(b,a.a.length);return a.a[b]} -function Bs(a,b){$wnd.navigator.sendBeacon(a,b)} -function pA(a,b){a.d=true;gA(a,b);SB(new HA(a))} -function GB(a){a.e=true;CB(a);a.c.clear();BB(a)} -function $G(a){VG();return !a?UG:new XG(QI(a))} -function on(a,b,c){return a.set(c,(yA(b.a),b.g))} -function mw(a,b){return nw(new pw(a),b,19,true)} -function YC(b,a){return b.getPropertyPriority(a)} -function kq(a){return $wnd.Vaadin.Flow.getApp(a)} -function yd(a){return Array.isArray(a)&&a.lc===sk} -function mG(a){return new sI(null,lG(a,a.length))} -function FG(a,b){return !(a.a.get(b)===undefined)} -function Vd(a){return !Array.isArray(a)&&a.lc===sk} -function Zd(a){return a!=null&&be(a)&&!(a.lc===sk)} -function dC(a,b){a.a==null&&(a.a=[]);a.a.push(b)} -function fC(a,b,c,d){var e;e=hC(a,b,c);e.push(d)} -function XC(a,b,c,d){a.removeEventListener(b,c,d)} -function Es(a,b){var c;c=ee(nE(Od(b.a)));Js(a,c)} -function Uq(a,b){this.a=a;this.b=b;yk.call(this)} -function Yt(a,b){this.a=a;this.b=b;yk.call(this)} -function Nt(a){Jt();this.c=[];this.a=It;this.d=a} -function ic(a){Sb(this);this.g=a;Tb(this);this.O()} -function Vc(a,b){!a&&(a=[]);a[a.length]=b;return a} -function XD(a,b,c){var d;d=WD(a,b);hE(c,d);return d} -function av(a,b){var c;c=b;return Md(a.a.get(c),6)} -function Il(a,b,c){a.a.delete(c);a.a.set(c,b.lb())} -function Pn(a,b,c){return a.push(fA(c,new mo(c,b)))} -function lG(a,b){return bH(b,a.length),new mH(a,b)} -function be(a){return typeof a===dJ||typeof a===fJ} -function Fk(a){a.onreadystatechange=function(){}} -function wl(a){$wnd.setTimeout(function(){a.V()},0)} -function Xw(a){var b;b=a.a;Ku(a,null);Ku(a,b);Kv(a)} -function jm(a){++am;Mo(Md(Hl(a.a,Df),58),new Cm)} -function Qr(a,b){ku(Md(Hl(a.j,Ug),92),b['execute'])} -function gH(a,b){QI(b);while(a.c=0){a.a=new Ns(a);xk(a.a,b)}} -function nI(a){if(!a){this.b=null;new bG}else{this.b=a}} -function gs(a,b,c,d){this.a=a;this.d=b;this.b=c;this.c=d} -function Ls(a){this.b=a;Kp(Md(Hl(a,Of),12),new Ps(this))} -function Ct(a,b){var c;c=Md(Hl(a.a,Jg),36);Kt(c,b);Mt(c)} -function zq(a,b){rp(Md(Hl(a.c,Jf),25),'',b,'',null,null)} -function qp(a,b,c){rp(a,c.caption,c.message,b,c.url,null)} -function IE(a,b){SI(b,a.length);return a.charCodeAt(b)} -function Hc(a){$wnd.setTimeout(function(){throw a},0)} -function Jl(a){a.b.forEach(pk(Ao.prototype.H,Ao,[a]))} -function Vx(a){return PD((ND(),LD),iA(hB(Fu(a,0),wK)))} -function Wp(){Up();return Ad(ud(Nf,1),vJ,61,0,[Rp,Sp,Tp])} -function ar(){Zq();return Ad(ud(Tf,1),vJ,64,0,[Wq,Xq,Yq])} -function SC(){QC();return Ad(ud(yi,1),vJ,42,0,[OC,NC,PC])} -function dI(){bI();return Ad(ud(Qj,1),vJ,48,0,[ZH,_H,aI])} -function iv(a,b,c,d){dv(a,b)&&zt(Md(Hl(a.c,Fg),32),b,c,d)} -function gD(a,b,c,d){this.b=a;this.c=b;this.a=c;this.d=d} -function mC(a,b,c){this.a=a;this.d=b;this.c=null;this.b=c} -function mH(a,b){this.c=0;this.d=b;this.b=17488;this.a=a} -function UB(a,b){var c;c=NB;NB=a;try{b.C()}finally{NB=c}} -function Gn(a){var b;b=a.f;while(!!b&&!b.a){b=b.f}return b} -function Rd(a){TI(a==null||be(a)&&!(a.lc===sk));return a} -function Tb(a){if(a.k){a.e!==yJ&&a.O();a.i=null}return a} -function Wz(a){if(!Uz){return a}return $wnd.Polymer.dom(a)} -function pD(c,a,b){return c.setTimeout(cJ(a.Rb).bind(a),b)} -function Ud(a){return a.jc||Array.isArray(a)&&ud(pe,1)||pe} -function vr(a){sl('applyDefaultTheme',(ND(),a?true:false))} -function Tn(a,b,c,d,e){a.splice.apply(a,[b,c,d].concat(e))} -function Vo(a,b,c){this.a=a;this.c=b;this.b=c;yk.call(this)} -function Xo(a,b,c){this.a=a;this.c=b;this.b=c;yk.call(this)} -function To(a,b,c){this.b=a;this.d=b;this.c=c;this.a=new Pb} -function Iu(a,b){de(b.eb(a))===de((ND(),MD))&&a.b.delete(b)} -function oF(a,b){return b===a?'(this Map)':b==null?AJ:rk(b)} -function Yb(a,b){var c;c=TD(a.jc);return b==null?c:c+': '+b} -function oI(a,b){var c;return rI(a,new bG,(c=new EI(b),c))} -function RI(a,b){if(a<0||a>b){throw dk(new FD(jL+a+kL+b))}} -function OI(a,b){if(a<0||a>=b){throw dk(new FD(jL+a+kL+b))}} -function SI(a,b){if(a<0||a>=b){throw dk(new cF(jL+a+kL+b))}} -function WC(a,b){Vd(a)?a.db(b):(a.handleEvent(b),undefined)} -function ew(a,b){Qz(b).forEach(pk(iw.prototype.nb,iw,[a]))} -function bw(a,b){Qz(b).forEach(pk(gw.prototype.nb,gw,[a.a]))} -function qk(a){function b(){} -;b.prototype=a||{};return new b} -function bE(a){if(a.Xb()){return null}var b=a.i;return lk[b]} -function Lt(a){a.a=It;if(!a.b){return}ws(Md(Hl(a.d,pg),18))} -function px(a,b,c){return a.set(c,hA(hB(Fu(b.e,1),c),b.b[c]))} -function Tz(a,b,c,d){return a.splice.apply(a,[b,c].concat(d))} -function oD(c,a,b){return c.setInterval(cJ(a.Rb).bind(a),b)} -function Fb(){Db();return Ad(ud(ie,1),vJ,52,0,[Bb,Cb,Ab,zb])} -function KC(){IC();return Ad(ud(xi,1),vJ,43,0,[HC,FC,GC,EC])} -function cb(){return $wnd.vaadinPush&&$wnd.vaadinPush.SockJS} -function cq(a){a?($wnd.location=a):$wnd.location.reload(false)} -function VB(a){this.a=a;this.b=[];this.c=new $wnd.Set;CB(this)} -function sG(){this.a=new vG(this);this.b=new IG(this);qG(this)} -function ID(a,b){Sb(this);this.f=b;this.g=a;Tb(this);this.O()} -function wn(a,b){a.updateComplete.then(cJ(function(){b.V()}))} -function _D(a,b){var c=a.a=a.a||[];return c[b]||(c[b]=a.Sb(b))} -function qG(a){var b,c;c=a;b=c.$modCount|0;c.$modCount=b+1} -function pG(a,b){if(b.$modCount!=a.$modCount){throw dk(new rG)}} -function oA(a){if(a.c){a.d=true;qA(a,null,false);SB(new JA(a))}} -function vC(a){if(a.length>2){zC(a[0],'OS major');zC(a[1],WK)}} -function gA(a,b){if(!a.b&&a.c&&SG(b,a.g)){return}qA(a,b,true)} -function vs(a,b){!!a.b&&V(a.b)?$(a.b,b):Vt(Md(Hl(a.c,Pg),76),b)} -function qA(a,b,c){var d;d=a.g;a.c=c;a.g=b;vA(a.a,new PA(a,d,b))} -function ku(a,b){var c,d;for(c=0;c-1} -function ee(a){return Math.max(Math.min(a,2147483647),-2147483648)|0} -function Cc(b){zc();return function(){return Dc(b,this,arguments);var a}} -function tc(){if(Date.now){return Date.now()}return (new Date).getTime()} -function gu(a,b){if(b==null){debugger;throw dk(new JD)}return a.a.get(b)} -function hu(a,b){if(b==null){debugger;throw dk(new JD)}return a.a.has(b)} -function iB(a,b){if(!a.b.has(b)){return false}return mA(Md(a.b.get(b),13))} -function hH(a,b){QI(b);if(a.c>22&GJ;d=a<0?1048575:0;return Cd(b,c,d)} -function DF(a){var b;pG(a.d,a);NI(a.b);b=Md(a.a.ac(),45);a.b=CF(a);return b} -function rI(a,b,c){var d;lI(a);d=new BI;d.a=b;a.a.hc(new FI(d,c));return d.a} -function wd(a,b,c,d,e,f){var g;g=xd(e,d);e!=10&&Ad(ud(a,f),b,c,e,g);return g} -function qu(a){Md(Hl(a.a,Of),12).b==(Up(),Tp)||Lp(Md(Hl(a.a,Of),12),Tp)} -function Gq(a){kr(Md(Hl(a.c,_f),57),Md(Hl(a.c,De),9).d);Aq(a,(Zq(),Wq),null)} -function MC(){MC=ok;LC=ub((IC(),Ad(ud(xi,1),vJ,43,0,[HC,FC,GC,EC])))} -function Hv(){var a;Hv=ok;Gv=(a=[],a.push(new Bx),a.push(new Dz),a);Fv=new Lv} -function sx(a){var b;b=Wz(a);while(b.firstChild){b.removeChild(b.firstChild)}} -function Yz(a){this.a=new $wnd.Set;a.forEach(pk(Zz.prototype.nb,Zz,[this.a]))} -function jc(a){Sb(this);this.g=!a?null:Yb(a,a.N());this.f=a;Tb(this);this.O()} -function kc(a){Sb(this);Tb(this);this.e=a;Ub(this,a);this.g=a==null?AJ:rk(a)} -function mq(a){hq();!$wnd.WebComponents||$wnd.WebComponents.ready?jq(a):iq(a)} -function Kn(a,b){$wnd.customElements.whenDefined(a).then(function(){b.V()})} -function eq(a,b,c){c==null?Wz(a).removeAttribute(b):Wz(a).setAttribute(b,c)} -function _F(a,b,c){for(;ca||a>b){throw dk(new GD('fromIndex: 0, toIndex: '+a+', length: '+b))}} -function EE(a,b,c){if(a==null){debugger;throw dk(new JD)}this.a=FJ;this.d=a;this.b=b;this.c=c} -function kv(a,b,c,d,e){if(!$u(a,b)){debugger;throw dk(new JD)}Bt(Md(Hl(a.c,Fg),32),b,c,d,e)} -function jv(a,b,c,d,e,f){if(!$u(a,b)){debugger;throw dk(new JD)}At(Md(Hl(a.c,Fg),32),b,c,d,e,f)} -function dx(a,b,c,d){var e,f,g;g=c[xK];e="path='"+ob(g)+"'";f=new Ky(a,g);Ww(a,b,d,f,null,e)} -function fv(a,b){var c;if(b!=a.e){c=b.a;!!c&&(uw(),!!c[DK])&&Aw((uw(),c[DK]));nv(a,b);b.f=null}} -function tx(a,b){var c;c=Md(b.d.get(a),44);b.d.delete(a);if(!c){debugger;throw dk(new JD)}c.Cb()} -function Pw(a,b,c,d){var e;e=Fu(d,a);gB(e,pk(iy.prototype.H,iy,[b,c]));return fB(e,new ky(b,c))} -function aC(b,c,d){return cJ(function(){var a=Array.prototype.slice.call(arguments);d.yb(b,c,a)})} -function Xc(b,c){Mc();function d(){var a=cJ(Uc)(b);a&&$wnd.setTimeout(d,c)} -$wnd.setTimeout(d,c)} -function Sv(a,b,c){Nv();b==(eA(),dA)&&a!=null&&c!=null&&a.has(c)?Md(a.get(c),14).V():b.V()} -function qv(a,b){var c;if(Wd(a,27)){c=Md(a,27);ee((QI(b),b))==2?WA(c,(yA(c.a),c.c.length)):UA(c)}} -function VC(b){var c=b.handler;if(!c){c=cJ(function(a){WC(b,a)});c.listener=b;b.handler=c}return c} -function ek(a){var b;b=a.h;if(b==0){return a.l+a.m*IJ}if(b==1048575){return a.l+a.m*IJ-HJ}return a} -function ck(a){var b;if(Wd(a,5)){return a}b=a&&a.__java$exception;if(!b){b=new oc(a);dd(b)}return b} -function Yp(a,b){var c;if(a==null){return null}c=Xp('context://',b,a);c=Xp('base://','',c);return c} -function Xt(b){if(b.readyState!=1){return false}try{b.send();return true}catch(a){return false}} -function Mt(a){if(It!=a.a||a.c.length==0){return}a.b=true;a.a=new Ot(a);Gp((Mc(),Lc),new St(a))} -function Wt(a){this.a=a;UC($wnd,'beforeunload',new cu(this),false);gt(Md(Hl(a,Bg),16),new eu(this))} -function Jo(a,b){var c,d;c=new ap(a);d=new $wnd.Function(a);So(a,new hp(d),new jp(b,c),new lp(b,c))} -function uq(c,a){var b=c.getConfig(a);if(b===null||b===undefined){return null}else{return wE(b)}} -function Or(a,b){if(b==-1){return true}if(b==a.f+1){return true}if(a.f==-1){return true}return false} -function CF(a){if(a.a._b()){return true}if(a.a!=a.c){return false}a.a=new wG(a.d.a);return a.a._b()} -function PH(a){if(IH){return wd(Jj,hL,85,0,0,1)}return Md(aG(a.a,wd(Jj,hL,85,a.a.a.length,0,1)),327)} -function Hq(a,b,c){V(b)&&ht(Md(Hl(a.c,Bg),16));Mq(c)||Bq(a,'Invalid JSON from server: '+c,null)} -function Lq(a,b){rp(Md(Hl(a.c,Jf),25),'',b+' could not be loaded. Push will not work.','',null,null)} -function kr(a,b){ul&&kD($wnd.console,'Setting heartbeat interval to '+b+'sec.');a.a=b;ir(a)} -function Yc(b,c){Mc();var d=$wnd.setInterval(function(){var a=cJ(Uc)(b);!a&&$wnd.clearInterval(d)},c)} -function sD(c){return $wnd.JSON.stringify(c,function(a,b){if(a=='$H'){return undefined}return b},0)} -function jF(a,b){var c,d;QI(b);for(d=new EF(b.a);d.b;){c=DF(d);if(!yF(a,c)){return false}}return true} -function DC(a,b,c){var d,e;b<0?(e=0):(e=b);c<0||c>a.length?(d=a.length):(d=c);return a.substr(e,d-e)} -function yt(a,b,c,d){var e;e={};e[OJ]=rK;e[sK]=Object(b);e[rK]=c;!!d&&(e['data']=d,undefined);Ct(a,e)} -function Ad(a,b,c,d,e){e.jc=a;e.kc=b;e.lc=sk;e.__elementTypeId$=c;e.__elementTypeCategory$=d;return e} -function X(a,b,c){KE(b,'true')||KE(b,'false')?(a.a[c]=KE(b,'true'),undefined):(a.a[c]=b,undefined)} -function Wb(a){var b,c,d,e;for(b=(a.i==null&&(a.i=(cd(),e=bd.S(a),ed(e))),a.i),c=0,d=b.length;c-129&&a<128){b=a+128;c=(yE(),xE)[b];!c&&(c=xE[b]=new sE(a));return c}return new sE(a)} -function Kv(a){var b,c;c=Jv(a);b=a.a;if(!a.a){b=c.Gb(a);if(!b){debugger;throw dk(new JD)}Ku(a,b)}Iv(a,b);return b} -function oG(a){var b,c,d;d=1;for(c=new hG(a);c.a0){c=Md(a.b.splice(0,1)[0],13);mn(c,b)||lv(Md(Hl(a.c,Zg),10),c);TB()}} -function Fq(a,b){var c;if(b.a.b==(Up(),Tp)){if(a.b){yq(a);c=Md(Hl(a.c,Of),12);c.b!=Tp&&Lp(c,Tp)}!!a.d&&!!a.d.f&&vk(a.d)}} -function Bq(a,b,c){var d,e;c&&(e=c.b);rp(Md(Hl(a.c,Jf),25),'',b,'',null,null);d=Md(Hl(a.c,Of),12);d.b!=(Up(),Tp)&&Lp(d,Tp)} -function jq(a){var b,c,d,e;b=(e=new Xk,e.a=a,nq(e,kq(a)),e);c=new al(b);gq.push(c);d=kq(a).getConfig('uidl');_k(c,d)} -function mn(a,b){var c,d;c=Sd(b.get(a.e.e.d),$wnd.Map);if(c!=null&&c.has(a.f)){d=c.get(a.f);pA(a,d);return true}return false} -function HG(a,b,c){var d;d=a.a.get(b);a.a.set(b,c===undefined?null:c);if(d===undefined){++a.c;qG(a.b)}else{++a.d}return d} -function OH(a){var b,c;if(a.b){return a.b}c=IH?null:a.d;while(c){b=IH?null:c.b;if(b){return b}c=IH?null:c.d}return vH(),uH} -function rk(a){var b;if(Array.isArray(a)&&a.lc===sk){return TD(M(a))+'@'+(b=O(a)>>>0,b.toString(16))}return a.toString()} -function Mw(a,b){var c,d;c=Eu(b,11);for(d=0;d<(yA(c.a),c.c.length);d++){Wz(a).classList.add(Td(c.c[d]))}return TA(c,new gz(a))} -function Zp(a){var b,c;b=Md(Hl(a.a,De),9).b;c='/'.length;if(!JE(b.substr(b.length-c,c),'/')){debugger;throw dk(new JD)}return b} -function yw(a,b){if(typeof a.get===fJ){var c=a.get(b);if(typeof c===dJ&&typeof c[WJ]!==sJ){return {nodeId:c[WJ]}}}return null} -function Aw(c){uw();var b=c['}p'].promises;b!==undefined&&b.forEach(function(a){a[1](Error('Client is resynchronizing'))})} -function Ic(a,b){zc();var c;c=Qb;if(c){if(c==wc){return}c.I(a);return}if(b){Hc(Wd(a,31)?Md(a,31).P():a)}else{eF();Vb(a,dF,'')}} -function Dn(a){var b;if(xn==null){return}b=Sd(xn.get(a),$wnd.Set);if(b!=null){xn.delete(a);b.forEach(pk(Zn.prototype.nb,Zn,[]))}} -function Tv(a,b,c,d){Nv();JE(HK,a)?c.forEach(pk(kw.prototype.H,kw,[d])):Qz(c).forEach(pk(Uv.prototype.nb,Uv,[]));Yx(b.b,b.c,b.a,a)} -function rb(a){qb();a[nJ]=Td(nF(pb,a[nJ],a[nJ]));a[uJ]=Td(nF(pb,a[uJ],a[uJ]));a.transports=[a.transport,a.fallbackTransport]} -function _v(a){if(a.a.b){Tv(IK,a.a.b,a.a.a,null);if(a.b.has(HK)){a.a.g=a.a.b;a.a.i=a.a.a}a.a.b=null;a.a.a=null}else{Pv(a.a)}} -function Zv(a){if(a.a.b){Tv(HK,a.a.b,a.a.a,a.a.j);a.a.b=null;a.a.a=null;a.a.j=null}else !!a.a.g&&Tv(HK,a.a.g,a.a.i,null);Pv(a.a)} -function rl(){return /iPad|iPhone|iPod/.test(navigator.platform)||navigator.platform==='MacIntel'&&navigator.maxTouchPoints>1} -function ql(){this.a=new BC($wnd.navigator.userAgent);this.a.b?'ontouchstart' in window:this.a.f?!!navigator.msMaxTouchPoints:pl()} -function No(a){this.b=new $wnd.Set;this.a=new $wnd.Map;this.d=!!($wnd.HTMLImports&&$wnd.HTMLImports.whenReady);this.c=a;Go(this)} -function Tq(a){this.c=a;Kp(Md(Hl(a,Of),12),new br(this));UC($wnd,'offline',new dr(this),false);UC($wnd,'online',new fr(this),false)} -function IC(){IC=ok;HC=new JC('STYLESHEET',0);FC=new JC('JAVASCRIPT',1);GC=new JC('JS_MODULE',2);EC=new JC('DYNAMIC_IMPORT',3)} -function Dt(a,b,c,d,e){var f;f={};f[OJ]='mSync';f[sK]=vD(b.d);f['feature']=Object(c);f['property']=d;f[TJ]=e==null?null:e;Ct(a,f)} -function fl(a,b,c){var d;if(a==c.d){d=new $wnd.Function('callback','callback();');d.call(null,b);return ND(),true}return ND(),false} -function hB(a,b){var c;c=Md(a.b.get(b),13);if(!c){c=new rA(b,a,JE('innerHTML',b)&&a.d==1);a.b.set(b,c);vA(a.a,new NA(a,c))}return c} -function gE(a,b){var c=0;while(!b[c]||b[c]==''){c++}var d=b[c++];for(;c3.4028234663852886E38){return Infinity}else if(b<-3.4028234663852886E38){return -Infinity}return b} -function QD(a){if(a>=48&&a<48+$wnd.Math.min(10,10)){return a-48}if(a>=97&&a<97){return a-97+10}if(a>=65&&a<65){return a-65+10}return -1} -function jd(){if(Error.stackTraceLimit>0){$wnd.Error.stackTraceLimit=Error.stackTraceLimit=64;return true}return 'stack' in new Error} -function Uw(a){var b;b=Td(iA(hB(Fu(a,0),'tag')));if(b==null){debugger;throw dk(new KD('New child must have a tag'))}return fD($doc,b)} -function Rw(a){var b;if(!a.b){debugger;throw dk(new KD('Cannot bind shadow root to a Node'))}b=Fu(a.e,20);Jw(a);return fB(b,new vz(a))} -function Wm(a,b){var c,d;d=Fu(a,1);if(!a.a){Kn(Td(iA(hB(Fu(a,0),'tag'))),new Zm(a,b));return}for(c=0;cd&&zd(b,d,null);return b} -function vx(a,b){var c,d;d=hB(b,OK);yA(d.a);d.c||pA(d,a.getAttribute(OK));c=hB(b,PK);Ln(a)&&(yA(c.a),!c.c)&&!!a.style&&pA(c,a.style.display)} -function KE(a,b){QI(a);if(b==null){return false}if(JE(a,b)){return true}return a.length==b.length&&JE(a.toLowerCase(),b.toLowerCase())} -function Nq(a,b){if(a.b!=b){return}a.b=null;a.a=0;tl('connected');ul&&($wnd.console.log('Re-established connection to server'),undefined)} -function Bt(a,b,c,d,e){var f;f={};f[OJ]='attachExistingElementById';f[sK]=vD(b.d);f[tK]=Object(c);f[uK]=Object(d);f['attachId']=e;Ct(a,f)} -function fw(a,b){if(b.e){!!b.b&&Tv(HK,b.b,b.a,null)}else{Tv(IK,b.b,b.a,null);Yv(b.f,ee(b.k))}if(b.b){ZF(a,b.b);b.b=null;b.a=null;b.j=null}} -function aJ(a){$I();var b,c,d;c=':'+a;d=ZI[c];if(d!=null){return ee((QI(d),d))}d=XI[c];b=d==null?_I(a):ee((QI(d),d));bJ();ZI[c]=b;return b} -function O(a){return _d(a)?aJ(a):Yd(a)?ee((QI(a),a)):Xd(a)?(QI(a),a)?1231:1237:Vd(a)?a.r():yd(a)?WI(a):!!a&&!!a.hashCode?a.hashCode():WI(a)} -function Kl(a,b,c){if(a.a.has(b)){debugger;throw dk(new KD((SD(b),'Registry already has a class of type '+b.j+' registered')))}a.a.set(b,c)} -function Iv(a,b){Hv();var c;if(a.g.f){debugger;throw dk(new KD('Binding state node while processing state tree changes'))}c=Jv(a);c.Fb(a,b,Fv)} -function bA(a,b,c,d,e){this.e=a;if(c==null){debugger;throw dk(new JD)}if(d==null){debugger;throw dk(new JD)}this.c=b;this.d=c;this.a=d;this.b=e} -function jr(a){vk(a.c);ul&&($wnd.console.debug('Sending heartbeat request...'),undefined);oC(a.d,null,'text/plain; charset=utf-8',new or(a))} -function Um(a,b,c,d){var e,f;if(!d){f=Md(Hl(a.g.c,df),60);e=Md(f.a.get(c),23);if(!e){f.b[b]=c;f.a.set(c,wE(b));return wE(b)}return e}return d} -function Ix(a,b){var c,d;while(b!=null){for(c=a.length-1;c>-1;c--){d=Md(a[c],6);if(b.isSameNode(d.a)){return d.d}}b=Wz(b.parentNode)}return -1} -function Xm(a,b,c){var d;if(Vm(a.a,c)){d=Md(a.e.get(Rh),82);if(!d||!d.a.has(c)){return}hA(hB(b,c),a.a[c]).V()}else{iB(b,c)||pA(hB(b,c),null)}} -function en(a,b,c){var d,e;e=av(Md(Hl(a.c,Zg),10),ee((QI(b),b)));if(e.c.has(1)){d=new $wnd.Map;gB(Fu(e,1),pk(tn.prototype.H,tn,[d]));c.set(b,d)}} -function hC(a,b,c){var d,e;e=Sd(a.c.get(b),$wnd.Map);if(e==null){e=new $wnd.Map;a.c.set(b,e)}d=Qd(e.get(c));if(d==null){d=[];e.set(c,d)}return d} -function Hx(a){var b;Fw==null&&(Fw=new $wnd.Map);b=Pd(Fw.get(a));if(b==null){b=Pd(new $wnd.Function(rK,KK,'return ('+a+')'));Fw.set(a,b)}return b} -function Xr(){if($wnd.performance&&$wnd.performance.timing){return (new Date).getTime()-$wnd.performance.timing.responseStart}else{return -1}} -function ow(a,b,c,d){var e,f,g,h,i;i=Rd(a.lb());h=d.d;for(g=0;g=1000?'error':d>=900?'warn':d>=800?'info':'log');JI(c,a.a)} -function Ld(a,b){if(_d(a)){return !!Kd[b]}else if(a.kc){return !!a.kc[b]}else if(Yd(a)){return !!Jd[b]}else if(Xd(a)){return !!Id[b]}return false} -function K(a,b){return _d(a)?JE(a,b):Yd(a)?(QI(a),de(a)===de(b)):Xd(a)?PD(a,b):Vd(a)?a.p(b):yd(a)?H(a,b):!!a&&!!a.equals?a.equals(b):de(a)===de(b)} -function yC(a){var b,c;a.length>=1&&zC(a[0],'OS major');if(a.length>=2){b=LE(a[1],VE(45));if(b>-1){c=a[1].substr(0,b-0);zC(c,WK)}else{zC(a[1],WK)}}} -function nv(a,b){if(!$u(a,b)){debugger;throw dk(new JD)}if(b==a.e){debugger;throw dk(new KD("Root node can't be unregistered"))}a.a.delete(b.d);Lu(b)} -function $u(a,b){if(!b){debugger;throw dk(new KD(AK))}if(b.g!=a){debugger;throw dk(new KD(BK))}if(b!=av(a,b.d)){debugger;throw dk(new KD(CK))}return true} -function Dx(a,b,c){var d,e;e=b.f;if(c.has(e)){debugger;throw dk(new KD("There's already a binding for "+e))}d=new VB(new qy(a,b));c.set(e,d);return d} -function Ku(a,b){var c;if(!(!a.a||!b)){debugger;throw dk(new KD('StateNode already has a DOM node'))}a.a=b;c=Nz(a.b);c.forEach(pk(Wu.prototype.nb,Wu,[a]))} -function Hl(a,b){if(!a.a.has(b)){debugger;throw dk(new KD((SD(b),'Tried to lookup type '+b.j+' but no instance has been registered')))}return a.a.get(b)} -function zC(b,c){var d;try{return mE(b)}catch(a){a=ck(a);if(Wd(a,7)){d=a;eF();c+' version parsing failed for: '+b+' '+d.N()}else throw dk(a)}return -1} -function Vb(a,b,c){var d,e,f,g,h;Wb(a);for(e=(a.j==null&&(a.j=wd(fj,vJ,5,0,0,1)),a.j),f=0,g=e.length;f0?dC(a,new mC(a,b,c)):(d=hC(a,b,null),d.push(c));return new lC} -function Cn(a,b){var c,d,e,f,g;f=a.f;d=a.e.e;g=Gn(d);if(!g){Cl(XJ+d.d+YJ);return}c=zn((yA(a.a),a.g));if(Mn(g.a)){e=In(g,d,f);e!=null&&Sn(g.a,e,c);return}b[f]=c} -function ir(a){if(a.a>0){vl('Scheduling heartbeat in '+a.a+' seconds');wk(a.c,a.a*1000)}else{ul&&($wnd.console.debug('Disabling heartbeat'),undefined);vk(a.c)}} -function Rs(a){var b,c,d,e;b=hB(Fu(Md(Hl(a.a,Zg),10).e,5),'parameters');e=(yA(b.a),Md(b.g,6));d=Fu(e,6);c=new $wnd.Map;gB(d,pk(bt.prototype.H,bt,[c]));return c} -function Ww(a,b,c,d,e,f){var g,h;if(!zx(a.e,b,e,f)){return}g=Rd(d.lb());if(Ax(g,b,e,f,a)){if(!c){h=Md(Hl(b.g.c,ff),51);h.a.add(b.d);gn(h)}Ku(b,g);Kv(b)}c||TB()} -function lv(a,b){var c,d;if(!b){debugger;throw dk(new JD)}d=b.e;c=d.e;if(hn(Md(Hl(a.c,ff),51),b)||!dv(a,c)){return}Dt(Md(Hl(a.c,Fg),32),c,d.d,b.f,(yA(b.a),b.g))} -function Do(){var a,b,c,d;b=$doc.head.childNodes;c=b.length;for(d=0;d=0;d--){if(JE(a[d].d,b)||JE(a[d].d,c)){a.length>=d+1&&a.splice(0,d+1);break}}return a} -function At(a,b,c,d,e,f){var g;g={};g[OJ]='attachExistingElement';g[sK]=vD(b.d);g[tK]=Object(c);g[uK]=Object(d);g['attachTagName']=e;g['attachIndex']=Object(f);Ct(a,g)} -function Mn(a){var b=typeof $wnd.Polymer===fJ&&$wnd.Polymer.Element&&a instanceof $wnd.Polymer.Element;var c=a.constructor.polymerElementVersion!==undefined;return b||c} -function nw(a,b,c,d){var e,f,g,h;h=Eu(b,c);yA(h.a);if(h.c.length>0){f=Rd(a.lb());for(e=0;e<(yA(h.a),h.c.length);e++){g=Td(h.c[e]);vw(f,g,b,d)}}return TA(h,new rw(a,b,d))} -function Gx(a,b){var c,d,e,f,g;c=Wz(b).childNodes;for(e=0;e but none was found. Appending instead."),undefined);dD($doc.head,a,b)} -function MH(a,b){var c,d,e,f,g,h,i;for(d=PH(a),f=0,h=d.length;fd&&(SI(b-1,a.length),a.charCodeAt(b-1)<=32)){--b}return d>0||b=65536){b=55296+(a-65536>>10&1023)&65535;c=56320+(a-65536&1023)&65535;return String.fromCharCode(b)+(''+String.fromCharCode(c))}else{return String.fromCharCode(a&65535)}} -function Ec(a){a&&Oc((Mc(),Lc));--uc;if(uc<0){debugger;throw dk(new KD('Negative entryDepth value at exit '+uc))}if(a){if(uc!=0){debugger;throw dk(new KD('Depth not 0'+uc))}if(yc!=-1){Jc(yc);yc=-1}}} -function bC(a,b){var c,d,e,f;if(rD(b)==1){c=b;f=ee(uD(c[0]));switch(f){case 0:{e=ee(uD(c[1]));return d=e,Md(a.a.get(d),6)}case 1:case 2:return null;default:throw dk(new qE(UK+sD(c)));}}else{return null}} -function Ko(a,b,c,d,e){var f,g,h;h=bq(b);f=new ap(h);if(a.b.has(h)){!!c&&c.F(f);return}if(Po(h,c,a.a)){g=$doc.createElement(bK);g.src=h;g.type=e;g.async=false;g.defer=d;Qo(g,new bp(a),f);cD($doc.head,g)}} -function lr(a){this.c=new mr(this);this.b=a;kr(this,Md(Hl(a,De),9).d);this.d=Md(Hl(a,De),9).i;this.d=TC(this.d,'v-r=heartbeat');this.d=TC(this.d,hJ+(''+Md(Hl(a,De),9).n));Kp(Md(Hl(a,Of),12),new rr(this))} -function Wx(a,b,c,d,e){var f,g,h,i,j,k,l;f=false;for(i=0;i2000){xc=a;yc=$wnd.setTimeout(Kc,10)}}if(uc++==0){Nc((Mc(),Lc));return true}return false} -function Zk(f,b,c){var d=f;var e=$wnd.Vaadin.Flow.clients[b];e.isActive=cJ(function(){return d.cb()});e.getVersionInfo=cJ(function(a){return {'flow':c}});e.debug=cJ(function(){var a=d.a;return a.jb().Db().Ab()})} -function Nr(a){var b,c,d,e;if(a.g.length==0){return false}e=-1;for(b=0;b=f&&(SI(b,a.length),a.charCodeAt(b)!=32)){--b}if(b==f){return}d=a.substr(b+1,c-(b+1));e=RE(d,'\\.');vC(e)} -function iu(a,b){var c,d,e,f,g,h;if(!b){debugger;throw dk(new JD)}for(d=(g=xD(b),g),e=0,f=d.length;e=0;d--){$E((g.a+=i,g),Td(c[d]));i='.'}return g.a} -function ab(a,b){var c,d,e,f,g;if(cb()){Y(b.a)}else{f=(Md(Hl(a.c,De),9).f?(e='vaadinPushSockJS-min.js'):(e='vaadinPushSockJS.js'),'VAADIN/static/push/'+e);ul&&kD($wnd.console,'Loading sockJS '+f);d=Md(Hl(a.c,Df),58);g=Md(Hl(a.c,De),9).b+f;c=new lb(a,f,b);Ko(d,g,c,false,jJ)}} -function cC(a,b){var c,d,e,f,g,h;if(rD(b)==1){c=b;h=ee(uD(c[0]));switch(h){case 0:{g=ee(uD(c[1]));d=(f=g,Md(a.a.get(f),6)).a;return d}case 1:return e=Qd(c[1]),e;case 2:return aC(ee(uD(c[1])),ee(uD(c[2])),Md(Hl(a.c,Fg),32));default:throw dk(new qE(UK+sD(c)));}}else{return b}} -function Kr(a,b){var c,d,e,f,g;ul&&($wnd.console.log('Handling dependencies'),undefined);c=new $wnd.Map;for(e=(QC(),Ad(ud(yi,1),vJ,42,0,[OC,NC,PC])),f=0,g=e.length;fa.a){a.a==0?ul&&kD($wnd.console,'Updating client-to-server id to '+b+' based on server'):Cl('Server expects next client-to-server id to be '+b+' but we were going to use '+a.a+'. Will use '+b+'.');a.a=b}} -function Lo(a,b,c){var d,e,f;f=bq(b);d=new ap(f);if(a.b.has(f)){!!c&&c.F(d);return}if(Po(f,c,a.a)){e=$doc.createElement('link');e.rel=cK;e.type='text/css';e.href=f;if((!ol&&(ol=new ql),ol).a.k||rl()){Yc((Mc(),new To(a,f,d)),10)}else{Qo(e,new ep(a,f),d);(!ol&&(ol=new ql),ol).a.j&&wk(new Vo(a,f,d),5000)}Co(e)}} -function R(a,b){if(!b){debugger;throw dk(new JD)}switch(a.e.c){case 0:a.e=(Db(),Ab);a.b=b;break;case 1:ul&&($wnd.console.log('Closing push connection'),undefined);a.d.close();a.e=(Db(),zb);b.C();break;case 2:case 3:throw dk(new rE('Can not disconnect more than once'));default:throw dk(new rE('Invalid state'));}} -function xx(a,b){var c,d,e,f,g,h;c=a.f;d=b.style;yA(a.a);if(a.c){h=(yA(a.a),Td(a.g));e=false;if(h.indexOf('!important')!=-1){f=fD($doc,b.tagName);g=f.style;g.cssText=c+': '+h+';';if(JE('important',YC(f.style,c))){_C(d,c,ZC(f.style,c),'important');e=true}}e||(d.setProperty(c,h),undefined)}else{d.removeProperty(c)}} -function wq(a){var b,c,d,e;kA((c=Fu(Md(Hl(Md(Hl(a.c,zg),37).a,Zg),10).e,9),hB(c,hK)))!=null&&sl('reconnectingText',kA((d=Fu(Md(Hl(Md(Hl(a.c,zg),37).a,Zg),10).e,9),hB(d,hK))));kA((e=Fu(Md(Hl(Md(Hl(a.c,zg),37).a,Zg),10).e,9),hB(e,iK)))!=null&&sl('offlineText',kA((b=Fu(Md(Hl(Md(Hl(a.c,zg),37).a,Zg),10).e,9),hB(b,iK))))} -function BG(){if(!Object.create||!Object.getOwnPropertyNames){return false}var a='__proto__';var b=Object.create(null);if(b[a]!==undefined){return false}var c=Object.getOwnPropertyNames(b);if(c.length!=0){return false}b[a]=42;if(b[a]!==42){return false}if(Object.getOwnPropertyNames(b).length==0){return false}return true} -function En(a,b){var c,d,e,f,g;c=Wz(a).children;e=-1;for(f=0;f0){k=$w(a,b);d=!k?null:Wz(k.a).nextSibling}else{d=null}for(g=0;g0){e=i.length;while(e>0&&i[e-1]==''){--e}e=9223372036854775807){return Hd(),Ed}e=false;if(a<0){e=true;a=-a}d=0;if(a>=HJ){d=ee(a/HJ);a-=d*HJ}c=0;if(a>=IJ){c=ee(a/IJ);a-=c*IJ}b=ee(a);f=Cd(b,c,d);e&&(g=~f.l+1&GJ,h=~f.m+(g==0?1:0)&GJ,i=~f.h+(g==0&&h==0?1:0)&1048575,f.l=g,f.m=h,f.h=i,undefined);return f} -function xq(a,b){if(Md(Hl(a.c,Of),12).b!=(Up(),Sp)){ul&&($wnd.console.warn('Trying to reconnect after application has been stopped. Giving up'),undefined);return}if(b){ul&&($wnd.console.log('Re-sending last message to the server...'),undefined);vs(Md(Hl(a.c,pg),18),b)}else{ul&&($wnd.console.log('Trying to re-establish server connection...'),undefined);jr(Md(Hl(a.c,_f),57))}} -function mE(a){var b,c,d,e,f;if(a==null){throw dk(new DE(AJ))}d=a.length;e=d>0&&(SI(0,a.length),a.charCodeAt(0)==45||(SI(0,a.length),a.charCodeAt(0)==43))?1:0;for(b=e;b2147483647){throw dk(new DE(dL+a+'"'))}return f} -function zx(a,b,c,d){var e,f,g,h,i;i=Eu(a,24);for(f=0;f<(yA(i.a),i.c.length);f++){e=Md(i.c[f],6);if(e==b){continue}if(JE((h=Fu(b,0),sD(Rd(iA(hB(h,xK))))),(g=Fu(e,0),sD(Rd(iA(hB(g,xK))))))){Cl('There is already a request to attach element addressed by the '+d+". The existing request's node id='"+e.d+"'. Cannot attach the same element twice.");kv(b.g,a,b.d,e.d,c);return false}}return true} -function qs(a){var b,c,d;d=Md(Hl(a.c,Jg),36);if(d.c.length==0&&a.d!=1){return}c=d.c;d.c=[];d.b=false;d.a=It;if(c.length==0&&a.d!=1){ul&&($wnd.console.warn('All RPCs filtered out, not sending anything to the server'),undefined);return}b={};if(a.d==1){a.d=2;ul&&($wnd.console.log('Resynchronizing from server'),undefined);b[kK]=Object(true)}tl('loading');kt(Md(Hl(a.c,Bg),16));vs(a,ss(a,c,b))} -function td(a,b){var c;switch(vd(a)){case 6:return _d(b);case 7:return Yd(b);case 8:return Xd(b);case 3:return Array.isArray(b)&&(c=vd(b),!(c>=14&&c<=16));case 11:return b!=null&&ae(b);case 12:return b!=null&&(typeof b===dJ||typeof b==fJ);case 0:return Ld(b,a.__elementTypeId$);case 2:return be(b)&&!(b.lc===sk);case 1:return be(b)&&!(b.lc===sk)||Ld(b,a.__elementTypeId$);default:return true;}} -function Sm(b,c){if(document.body.$&&document.body.$.hasOwnProperty&&document.body.$.hasOwnProperty(c)){return document.body.$[c]}else if(b.shadowRoot){return b.shadowRoot.getElementById(c)}else if(b.getElementById){return b.getElementById(c)}else if(c&&c.match('^[a-zA-Z0-9-_]*$')){return b.querySelector('#'+c)}else{return Array.from(b.querySelectorAll('[id]')).find(function(a){return a.id==c})}} -function Aq(a,b,c){var d;if(Md(Hl(a.c,Of),12).b!=(Up(),Sp)){return}tl('reconnecting');if(a.b){if($q(b,a.b)){ul&&lD($wnd.console,'Now reconnecting because of '+b+' failure');a.b=b}}else{a.b=b;ul&&lD($wnd.console,'Reconnecting because of '+b+' failure')}if(a.b!=b){return}++a.a;Bl('Reconnect attempt '+a.a+' for '+b);a.a>=jA((d=Fu(Md(Hl(Md(Hl(a.c,zg),37).a,Zg),10).e,9),hB(d,'reconnectAttempts')),10000)?yq(a):Oq(a,c)} -function Tm(a,b,c,d){var e,f,g,h,i,j,k,l,m,n,o,p,q,r;j=null;g=Wz(a.a).childNodes;o=new $wnd.Map;e=!b;i=-1;for(m=0;m=f){debugger;throw dk(new JD)}return g.length==0?null:g}else{return a}} -function Jx(a,b,c,d,e){var f,g,h;h=av(e,ee(a));if(!h.c.has(1)){return}if(!Ex(h,b)){debugger;throw dk(new KD('Host element is not a parent of the node whose property has changed. This is an implementation error. Most likely it means that there are several StateTrees on the same page (might be possible with portlets) and the target StateTree should not be passed into the method as an argument but somehow detected from the host element. Another option is that host element is calculated incorrectly.'))}f=Fu(h,1);g=hB(f,c);hA(g,d).V()} -function op(a,b,c,d){var e,f,g,h,i,j;h=$doc;j=h.createElement('div');j.className='v-system-error';if(a!=null){f=h.createElement('div');f.className='caption';f.textContent=a;j.appendChild(f);ul&&jD($wnd.console,a)}if(b!=null){i=h.createElement('div');i.className='message';i.textContent=b;j.appendChild(i);ul&&jD($wnd.console,b)}if(c!=null){g=h.createElement('div');g.className='details';g.textContent=c;j.appendChild(g);ul&&jD($wnd.console,c)}if(d!=null){e=h.querySelector(d);!!e&&bD(Rd(WG($G(e.shadowRoot),e)),j)}else{cD(h.body,j)}return j} -function nq(a,b){var c,d,e;c=vq(b,'serviceUrl');Wk(a,tq(b,'webComponentMode'));if(c==null){Sk(a,bq('.'));Mk(a,bq(vq(b,eK)))}else{a.i=c;Mk(a,bq(c+(''+vq(b,eK))))}Vk(a,uq(b,'v-uiId').a);Ok(a,uq(b,'heartbeatInterval').a);Pk(a,uq(b,'maxMessageSuspendTimeout').a);Tk(a,(d=b.getConfig(fK),d?d.vaadinVersion:null));e=b.getConfig(fK);sq();Uk(a,b.getConfig('sessExpMsg'));Qk(a,!tq(b,'debug'));Rk(a,tq(b,'requestTiming'));Nk(a,b.getConfig('webcomponents'));tq(b,'devToolsEnabled');vq(b,'liveReloadUrl');vq(b,'liveReloadBackend');vq(b,'springBootLiveReloadPort')} -function nd(a,b){var c,d,e,f,g,h,i,j,k;j='';if(b.length==0){return a.T(FJ,DJ,-1,-1)}k=UE(b);JE(k.substr(0,3),'at ')&&(k=k.substr(3));k=k.replace(/\[.*?\]/g,'');g=k.indexOf('(');if(g==-1){g=k.indexOf('@');if(g==-1){j=k;k=''}else{j=UE(k.substr(g+1));k=UE(k.substr(0,g))}}else{c=k.indexOf(')',g);j=k.substr(g+1,c-(g+1));k=UE(k.substr(0,g))}g=LE(k,VE(46));g!=-1&&(k=k.substr(g+1));(k.length==0||JE(k,'Anonymous function'))&&(k=DJ);h=NE(j,VE(58));e=OE(j,VE(58),h-1);i=-1;d=-1;f=FJ;if(h!=-1&&e!=-1){f=j.substr(0,e);i=gd(j.substr(e+1,h-(e+1)));d=gd(j.substr(h+1))}return a.T(f,k,i,d)} -function Sl(a,b){this.a=new $wnd.Map;this.b=new $wnd.Map;Kl(this,Ie,a);Kl(this,De,b);Kl(this,Df,new No(this));Kl(this,Pf,new _p(this));Kl(this,af,new km(this));Kl(this,Jf,new tp(this));Ll(this,Of,new Tl);Kl(this,Zg,new ov(this));Kl(this,Bg,new lt(this));Kl(this,ng,new Wr(this));Kl(this,pg,new As(this));Kl(this,Jg,new Nt(this));Kl(this,Fg,new Ft(this));Kl(this,Ug,new ru(this));Ll(this,Qg,new Vl);Ll(this,df,new Xl);Kl(this,ff,new nn(this));Kl(this,_f,new lr(this));Kl(this,Rf,new Tq(this));Kl(this,Pg,new Wt(this));Kl(this,xg,new Us(this));Kl(this,zg,new dt(this));Kl(this,tg,new Ls(this))} -function ob(b){var c=function(a){return typeof a!=sJ};var d=function(a){return a.replace(/\r\n/g,'')};if(c(b.outerHTML))return d(b.outerHTML);c(b.innerHTML)&&b.cloneNode&&$doc.createElement('div').appendChild(b.cloneNode(true)).innerHTML;if(c(b.nodeType)&&b.nodeType==3){return "'"+b.data.replace(/ /g,'\u25AB').replace(/\u00A0/,'\u25AA')+"'"}if(typeof c(b.htmlText)&&b.collapse){var e=b.htmlText;if(e){return 'IETextRange ['+d(e)+']'}else{var f=b.duplicate();f.pasteHTML('|');var g='IETextRange '+d(b.parentElement().outerHTML);f.moveStart('character',-1);f.pasteHTML('');return g}}return b.toString?b.toString():'[JavaScriptObject]'} -function Rn(a,b,c){var d,e,f;f=[];if(a.c.has(1)){if(!Wd(b,41)){debugger;throw dk(new KD('Received an inconsistent NodeFeature for a node that has a ELEMENT_PROPERTIES feature. It should be NodeMap, but it is: '+b))}e=Md(b,41);gB(e,pk(ko.prototype.H,ko,[f,c]));f.push(fB(e,new go(f,c)))}else if(a.c.has(16)){if(!Wd(b,27)){debugger;throw dk(new KD('Received an inconsistent NodeFeature for a node that has a TEMPLATE_MODELLIST feature. It should be NodeList, but it is: '+b))}d=Md(b,27);f.push(TA(d,new _n(c)))}if(f.length==0){debugger;throw dk(new KD('Node should have ELEMENT_PROPERTIES or TEMPLATE_MODELLIST feature'))}f.push(Bu(a,new eo(f)))} -function bb(a){var b,c,d,e;this.e=(Db(),Bb);this.c=a;Kp(Md(Hl(a,Of),12),new Gb(this));this.a={transport:iJ,fallbackTransport:kJ,transports:[iJ,kJ,lJ],reconnectInterval:5000,maxReconnectAttempts:10,timeout:5000};this.a['logLevel']='debug';Rs(Md(Hl(this.c,xg),49)).forEach(pk(Kb.prototype.H,Kb,[this]));rb(this.a);c=Ss(Md(Hl(this.c,xg),49));if(c==null||UE(c).length==0||JE('/',c)){this.g=mJ;d=Md(Hl(a,De),9).i;JE('.',d)||(e='/'.length,JE(d.substr(d.length-e,e),'/')||(d+='/'));this.g=d+(''+this.g)}else{b=Md(Hl(a,De),9).b;e='/'.length;JE(b.substr(b.length-e,e),'/')&&JE(c.substr(0,1),'/')&&(c=c.substr(1));this.g=b+(''+c)+mJ}ab(this,new Mb(this))} -function Ax(a,b,c,d,e){var f,g,h,i,j,k,l,m,n,o;l=e.e;o=Td(iA(hB(Fu(b,0),'tag')));h=false;if(!a){h=true;ul&&lD($wnd.console,QK+d+" is not found. The requested tag name is '"+o+"'")}else if(!(!!a&&KE(o,a.tagName))){h=true;Cl(QK+d+" has the wrong tag name '"+a.tagName+"', the requested tag name is '"+o+"'")}if(h){kv(l.g,l,b.d,-1,c);return false}if(!l.c.has(20)){return true}k=Fu(l,20);m=Md(iA(hB(k,LK)),6);if(!m){return true}j=Eu(m,2);g=null;for(i=0;i<(yA(j.a),j.c.length);i++){n=Md(j.c[i],6);f=n.a;if(K(f,a)){g=wE(n.d);break}}if(g){ul&&lD($wnd.console,QK+d+" has been already attached previously via the node id='"+g+"'");kv(l.g,l,b.d,g.a,c);return false}return true} -function nu(b,c,d,e){var f,g,h,i,j,k,l,m,n;if(c.length!=d.length+1){debugger;throw dk(new JD)}try{j=new ($wnd.Function.bind.apply($wnd.Function,[null].concat(c)));j.apply(lu(b,e,new xu(b)),d)}catch(a){a=ck(a);if(Wd(a,7)){i=a;wl(new Dl(i));ul&&($wnd.console.error('Exception is thrown during JavaScript execution. Stacktrace will be dumped separately.'),undefined);if(!Md(Hl(b.a,De),9).f){g=new bF('[');h='';for(l=c,m=0,n=l.length;m=b.length)return {done:true};var a=b[d++];return {value:[a,c.get(a)],done:false}}}};if(!BG()){e.prototype.createObject=function(){return {}};e.prototype.get=function(a){return this.obj[':'+a]};e.prototype.set=function(a,b){this.obj[':'+a]=b};e.prototype['delete']=function(a){delete this.obj[':'+a]};e.prototype.keys=function(){var a=[];for(var b in this.obj){b.charCodeAt(0)==58&&a.push(b.substring(1))}return a}}return e} -function ax(a,b){var c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,A,B,C,D,F,G;if(!b){debugger;throw dk(new JD)}f=b.b;t=b.e;if(!f){debugger;throw dk(new KD('Cannot handle DOM event for a Node'))}D=a.type;s=Fu(t,4);e=Md(Hl(t.g.c,Qg),59);i=Td(iA(hB(s,D)));if(i==null){debugger;throw dk(new JD)}if(!hu(e,i)){debugger;throw dk(new JD)}j=Rd(gu(e,i));p=(A=xD(j),A);B=new $wnd.Set;p.length==0?(g=null):(g={});for(l=p,m=0,n=l.length;m=0){g=b.substr(f+3);g=QE(g,_K,'$1');this.a=pE(g)}}else if(this.o){g=SE(b,b.indexOf('webkit/')+7);g=QE(g,aL,'$1');this.a=pE(g)}else if(this.n){g=SE(b,b.indexOf(YK)+8);g=QE(g,aL,'$1');this.a=pE(g);this.a>7&&(this.a=7)}else this.c&&(this.a=0)}catch(a){a=ck(a);if(Wd(a,7)){c=a;eF();'Browser engine version parsing failed for: '+b+' '+c.N()}else throw dk(a)}try{if(this.f){if(b.indexOf('msie')!=-1){if(this.n);else{e=SE(b,b.indexOf('msie ')+5);e=DC(e,0,LE(e,VE(59)));AC(e)}}else{f=b.indexOf('rv:');if(f>=0){g=b.substr(f+3);g=QE(g,_K,'$1');AC(g)}}}else if(this.d){d=b.indexOf(' firefox/')+9;AC(DC(b,d,d+5))}else if(this.b){wC(b)}else if(this.k){d=b.indexOf(' version/');if(d>=0){d+=9;AC(DC(b,d,d+5))}}else if(this.j){d=b.indexOf(' version/');d!=-1?(d+=9):(d=b.indexOf('opera/')+6);AC(DC(b,d,d+5))}else if(this.c){d=b.indexOf(' edge/')+6;b.indexOf(' edg/')!=-1?(d=b.indexOf(' edg/')+5):b.indexOf(ZK)!=-1?(d=b.indexOf(ZK)+6):b.indexOf($K)!=-1&&(d=b.indexOf($K)+8);AC(DC(b,d,d+8))}}catch(a){a=ck(a);if(Wd(a,7)){c=a;eF();'Browser version parsing failed for: '+b+' '+c.N()}else throw dk(a)}if(b.indexOf('windows ')!=-1){b.indexOf('windows phone')!=-1}else if(b.indexOf('android')!=-1){tC(b)}else if(b.indexOf('linux')!=-1);else if(b.indexOf('macintosh')!=-1||b.indexOf('mac osx')!=-1||b.indexOf('mac os x')!=-1){this.g=b.indexOf('ipad')!=-1;this.i=b.indexOf('iphone')!=-1;(this.g||this.i)&&xC(b)}else b.indexOf('; cros ')!=-1&&uC(b)} -var dJ='object',eJ='[object Array]',fJ='function',gJ='java.lang',hJ='v-uiId=',iJ='websocket',jJ='text/javascript',kJ='xhr-polling',lJ='xhr-streaming',mJ='VAADIN/push',nJ='transport',oJ='Received push (',pJ='com.github.mcollovati.vertx.vaadin.sockjs.client',qJ='com.vaadin.client',rJ={22:1},sJ='undefined',tJ='com.google.gwt.core.client',uJ='fallbackTransport',vJ={4:1},wJ={97:1},xJ={26:1},yJ='__noinit__',zJ={4:1,7:1,8:1,5:1},AJ='null',BJ='com.google.gwt.core.client.impl',CJ='Working array length changed ',DJ='anonymous',EJ='fnStack',FJ='Unknown',GJ=4194303,HJ=17592186044416,IJ=4194304,JJ='must be non-negative',KJ='must be positive',LJ='com.google.web.bindery.event.shared',MJ={71:1},NJ={30:1},OJ='type',PJ={47:1},QJ={14:1},RJ='constructor',SJ='properties',TJ='value',UJ='com.vaadin.client.flow.reactive',VJ={15:1},WJ='nodeId',XJ='Root node for node ',YJ=' could not be found',ZJ=' is not an Element',$J={69:1},_J={89:1},aK={46:1},bK='script',cK='stylesheet',dK='com.vaadin.flow.shared',eK='contextRootUrl',fK='versionInfo',gK='com.vaadin.client.communication',hK='dialogText',iK='dialogTextGaveUp',jK='syncId',kK='resynchronize',lK='Received message with server id ',mK='clientId',nK='Vaadin-Security-Key',oK='Vaadin-Push-ID',pK='sessionExpired',qK='pushServletMapping',rK='event',sK='node',tK='attachReqId',uK='attachAssignedId',vK='com.vaadin.client.flow',wK='bound',xK='payload',yK='subTemplate',zK={44:1},AK='Node is null',BK='Node is not created for this tree',CK='Node id is not registered with this tree',DK='$server',EK='feat',FK='remove',GK='com.vaadin.client.flow.binding',HK='trailing',IK='intermediate',JK='elemental.util',KK='element',LK='shadowRoot',MK='The HTML node for the StateNode with id=',NK='An error occurred when Flow tried to find a state node matching the element ',OK='hidden',PK='styleDisplay',QK='Element addressed by the ',RK='dom-repeat',SK='dom-change',TK='com.vaadin.client.flow.nodefeature',UK='Unsupported complex type in ',VK='com.vaadin.client.gwt.com.google.web.bindery.event.shared',WK='OS minor',XK=' headlesschrome/',YK='trident/',ZK=' edga/',$K=' edgios/',_K='(\\.[0-9]+).+',aL='([0-9]+\\.[0-9]+).*',bL='com.vaadin.flow.shared.ui',cL='java.io',dL='For input string: "',eL='java.util',fL={45:1},gL='java.util.logging',hL={4:1,327:1},iL='java.util.stream',jL='Index: ',kL=', Size: ',lL='user.agent';var _,lk,gk,bk=-1;$wnd.goog=$wnd.goog||{};$wnd.goog.global=$wnd.goog.global||$wnd;mk();nk(1,null,{},I);_.p=function J(a){return H(this,a)};_.q=function L(){return this.jc};_.r=function N(){return WI(this)};_.s=function P(){var a;return TD(M(this))+'@'+(a=O(this)>>>0,a.toString(16))};_.equals=function(a){return this.p(a)};_.hashCode=function(){return this.r()};_.toString=function(){return this.s()};var Id,Jd,Kd;nk(72,1,{72:1},UD);_.Sb=function VD(a){var b;b=new UD;b.e=4;a>1?(b.c=_D(this,a-1)):(b.c=this);return b};_.Tb=function $D(){SD(this);return this.b};_.Ub=function aE(){return TD(this)};_.Vb=function cE(){SD(this);return this.g};_.Wb=function eE(){return (this.e&4)!=0};_.Xb=function fE(){return (this.e&1)!=0};_.s=function iE(){return ((this.e&2)!=0?'interface ':(this.e&1)!=0?'':'class ')+(SD(this),this.j)};_.e=0;var RD=1;var $i=XD(gJ,'Object',1);var Ni=XD(gJ,'Class',72);nk(108,1,{},bb);_.t=function db(a){this.e=(Db(),Bb);Md(Hl(this.c,Rf),19);ul&&($wnd.console.log('Push connection closed'),undefined)};_.u=function eb(a){this.e=(Db(),zb);zq(Md(Hl(this.c,Rf),19),'Push connection using '+a[nJ]+' failed!')};_.v=function fb(a){var b,c;c=a['data'];b=Zr($r(c));if(!b){Hq(Md(Hl(this.c,Rf),19),this,c)}else{Bl(oJ+this.f+') message: '+c);Md(Hl(this.c,Of),12).b==(Up(),Tp)?Cl(oJ+this.f+') message, but ui is already terminated: '+c):Mr(Md(Hl(this.c,ng),24),b)}};_.w=function gb(a){QH(VH((SD(me),me.j)),'Push connection established using '+this.d.getTransport());Z(this,this.d)};_.A=function hb(a){this.e==(Db(),Cb)&&(this.e=Bb);Kq(Md(Hl(this.c,Rf),19),this)};_.B=function ib(a){QH(VH((SD(me),me.j)),'Push connection re-established using '+this.d.getTransport());Z(this,this.d)};var me=XD(pJ,'SockJSPushConnection',108);nk(252,1,{},jb);_.C=function kb(){Q(this.a)};var ge=XD(pJ,'SockJSPushConnection/0methodref$connect$Type',252);var xf=ZD(qJ,'ResourceLoader/ResourceLoadListener');nk(254,1,rJ,lb);_.D=function mb(a){Lq(Md(Hl(this.a.c,Rf),19),a.a)};_.F=function nb(a){if(cb()){Bl(this.c+' loaded');Y(this.b.a)}else{ul&&($wnd.console.log('SockJS not loaded???????'),undefined);Lq(Md(Hl(this.a.c,Rf),19),a.a)}};var he=XD(pJ,'SockJSPushConnection/1',254);var pe=XD(tJ,'JavaScriptObject$',0);var pb;nk(20,1,{4:1,29:1,20:1});_.p=function vb(a){return this===a};_.r=function wb(){return WI(this)};_.s=function xb(){return this.b!=null?this.b:''+this.c};_.c=0;var Pi=XD(gJ,'Enum',20);nk(52,20,{52:1,4:1,29:1,20:1},Eb);var zb,Ab,Bb,Cb;var ie=YD(pJ,'SockJSPushConnection/State',52,Fb);nk(251,1,wJ,Gb);_.G=function Hb(a){W(this.a,a)};var je=XD(pJ,'SockJSPushConnection/lambda$0$Type',251);var Ke=ZD(qJ,'Command');nk(250,1,xJ,Ib);_.C=function Jb(){};var ke=XD(pJ,'SockJSPushConnection/lambda$1$Type',250);nk(379,$wnd.Function,{},Kb);_.H=function Lb(a,b){X(this.a,Td(a),Td(b))};nk(253,1,xJ,Mb);_.C=function Nb(){Y(this.a)};var le=XD(pJ,'SockJSPushConnection/lambda$3$Type',253);nk(103,1,{},Pb);_.a=0;var ne=XD(tJ,'Duration',103);var Qb=null;nk(5,1,{4:1,5:1});_.J=function $b(a){return new Error(a)};_.K=function ac(){return this.e};_.L=function bc(){var a;return a=Md(oI(qI(mG((this.j==null&&(this.j=wd(fj,vJ,5,0,0,1)),this.j)),new gF),YH(new iI,new gI,new kI,Ad(ud(Qj,1),vJ,48,0,[(bI(),_H)]))),98),aG(a,wd($i,vJ,1,a.a.length,5,1))};_.M=function cc(){return this.f};_.N=function dc(){return this.g};_.O=function ec(){Xb(this,_b(this.J(Yb(this,this.g))));dd(this)};_.s=function gc(){return Yb(this,this.N())};_.e=yJ;_.k=true;var fj=XD(gJ,'Throwable',5);nk(7,5,{4:1,7:1,5:1});var Ri=XD(gJ,'Exception',7);nk(8,7,zJ,jc);var _i=XD(gJ,'RuntimeException',8);nk(55,8,zJ,kc);var Wi=XD(gJ,'JsException',55);nk(129,55,zJ);var re=XD(BJ,'JavaScriptExceptionBase',129);nk(31,129,{31:1,4:1,7:1,8:1,5:1},oc);_.N=function rc(){return nc(this),this.c};_.P=function sc(){return de(this.b)===de(lc)?null:this.b};var lc;var oe=XD(tJ,'JavaScriptException',31);nk(328,1,{});var qe=XD(tJ,'Scheduler',328);var uc=0,vc=false,wc,xc=0,yc=-1;nk(138,328,{});_.e=false;_.j=false;var Lc;var ue=XD(BJ,'SchedulerImpl',138);nk(139,1,{},Zc);_.Q=function $c(){this.a.e=true;Pc(this.a);this.a.e=false;return this.a.j=Qc(this.a)};var se=XD(BJ,'SchedulerImpl/Flusher',139);nk(140,1,{},_c);_.Q=function ad(){this.a.e&&Xc(this.a.f,1);return this.a.j};var te=XD(BJ,'SchedulerImpl/Rescuer',140);var bd;nk(338,1,{});var ye=XD(BJ,'StackTraceCreator/Collector',338);nk(130,338,{},kd);_.R=function ld(a){var b={},j;var c=[];a[EJ]=c;var d=arguments.callee.caller;while(d){var e=(cd(),d.name||(d.name=fd(d.toString())));c.push(e);var f=':'+e;var g=b[f];if(g){var h,i;for(h=0,i=g.length;h0){Fo(this.b,this.c);return false}else if(a==0){Eo(this.b,this.c);return true}else if(Ob(this.a)>60000){Eo(this.b,this.c);return false}else{return true}};var sf=XD(qJ,'ResourceLoader/1',196);nk(197,40,{},Vo);_.V=function Wo(){this.a.b.has(this.c)||Eo(this.a,this.b)};var tf=XD(qJ,'ResourceLoader/2',197);nk(201,40,{},Xo);_.V=function Yo(){this.a.b.has(this.c)?Fo(this.a,this.b):Eo(this.a,this.b)};var uf=XD(qJ,'ResourceLoader/3',201);nk(202,1,rJ,Zo);_.D=function $o(a){Eo(this.a,a)};_.F=function _o(a){Fo(this.a,a)};var vf=XD(qJ,'ResourceLoader/4',202);nk(63,1,{},ap);var wf=XD(qJ,'ResourceLoader/ResourceLoadEvent',63);nk(107,1,rJ,bp);_.D=function cp(a){Eo(this.a,a)};_.F=function dp(a){Fo(this.a,a)};var yf=XD(qJ,'ResourceLoader/SimpleLoadListener',107);nk(195,1,rJ,ep);_.D=function fp(a){Eo(this.a,a)};_.F=function gp(a){var b;if((!ol&&(ol=new ql),ol).a.b||(!ol&&(ol=new ql),ol).a.f||(!ol&&(ol=new ql),ol).a.c){b=Ro(this.b);if(b==0){Eo(this.a,a);return}}Fo(this.a,a)};var zf=XD(qJ,'ResourceLoader/StyleSheetLoadListener',195);nk(198,1,NJ,hp);_.lb=function ip(){return this.a.call(null)};var Af=XD(qJ,'ResourceLoader/lambda$0$Type',198);nk(199,1,QJ,jp);_.V=function kp(){this.b.F(this.a)};var Bf=XD(qJ,'ResourceLoader/lambda$1$Type',199);nk(200,1,QJ,lp);_.V=function mp(){this.b.D(this.a)};var Cf=XD(qJ,'ResourceLoader/lambda$2$Type',200);nk(25,1,{25:1},tp);var Jf=XD(qJ,'SystemErrorHandler',25);nk(171,1,{},vp);_.tb=function wp(a,b){var c;c=b;np(c.N())};_.ub=function xp(a){var b;Bl('Received xhr HTTP session resynchronization message: '+a.responseText);Jl(this.a.a);Lp(Md(Hl(this.a.a,Of),12),(Up(),Sp));b=Zr($r(a.responseText));Mr(Md(Hl(this.a.a,ng),24),b);Vk(Md(Hl(this.a.a,De),9),b['uiId']);Gp((Mc(),Lc),new Ap(this))};var Gf=XD(qJ,'SystemErrorHandler/1',171);nk(172,1,{},yp);_.nb=function zp(a){sp(Td(a))};var Ef=XD(qJ,'SystemErrorHandler/1/0methodref$recreateNodes$Type',172);nk(173,1,{},Ap);_.C=function Bp(){pI(mG(Md(Hl(this.a.a.a,De),9).c),new yp)};var Ff=XD(qJ,'SystemErrorHandler/1/lambda$0$Type',173);nk(169,1,{},Cp);_.db=function Dp(a){cq(this.a)};var Hf=XD(qJ,'SystemErrorHandler/lambda$0$Type',169);nk(170,1,{},Ep);_.db=function Fp(a){up(this.a,a)};var If=XD(qJ,'SystemErrorHandler/lambda$1$Type',170);nk(142,138,{},Hp);_.a=0;var Lf=XD(qJ,'TrackingScheduler',142);nk(143,1,{},Ip);_.C=function Jp(){this.a.a--};var Kf=XD(qJ,'TrackingScheduler/lambda$0$Type',143);nk(12,1,{12:1},Mp);var Of=XD(qJ,'UILifecycle',12);nk(177,347,{},Op);_.X=function Pp(a){Md(a,97).G(this)};_.Y=function Qp(){return Np};var Np=null;var Mf=XD(qJ,'UILifecycle/StateChangeEvent',177);nk(61,20,{61:1,4:1,29:1,20:1},Vp);var Rp,Sp,Tp;var Nf=YD(qJ,'UILifecycle/UIState',61,Wp);nk(346,1,vJ);var wi=XD(dK,'VaadinUriResolver',346);nk(50,346,{50:1,4:1},_p);_.vb=function aq(a){return $p(this,a)};var Pf=XD(qJ,'URIResolver',50);var fq=false,gq;nk(123,1,{},qq);_.C=function rq(){mq(this.a)};var Qf=XD('com.vaadin.client.bootstrap','Bootstrapper/lambda$0$Type',123);var Rf=ZD(gK,'ConnectionStateHandler');nk(224,1,{19:1},Tq);_.a=0;_.b=null;var Xf=XD(gK,'DefaultConnectionStateHandler',224);nk(226,40,{},Uq);_.V=function Vq(){this.a.d=null;xq(this.a,this.b)};var Sf=XD(gK,'DefaultConnectionStateHandler/1',226);nk(64,20,{64:1,4:1,29:1,20:1},_q);_.a=0;var Wq,Xq,Yq;var Tf=YD(gK,'DefaultConnectionStateHandler/Type',64,ar);nk(225,1,wJ,br);_.G=function cr(a){Fq(this.a,a)};var Uf=XD(gK,'DefaultConnectionStateHandler/lambda$0$Type',225);nk(227,1,{},dr);_.db=function er(a){yq(this.a)};var Vf=XD(gK,'DefaultConnectionStateHandler/lambda$1$Type',227);nk(228,1,{},fr);_.db=function gr(a){Gq(this.a)};var Wf=XD(gK,'DefaultConnectionStateHandler/lambda$2$Type',228);nk(57,1,{57:1},lr);_.a=-1;var _f=XD(gK,'Heartbeat',57);nk(221,40,{},mr);_.V=function nr(){jr(this.a)};var Yf=XD(gK,'Heartbeat/1',221);nk(223,1,{},or);_.tb=function pr(a,b){!b?Dq(Md(Hl(this.a.b,Rf),19),a):Cq(Md(Hl(this.a.b,Rf),19),b);ir(this.a)};_.ub=function qr(a){Eq(Md(Hl(this.a.b,Rf),19));ir(this.a)};var Zf=XD(gK,'Heartbeat/2',223);nk(222,1,wJ,rr);_.G=function sr(a){hr(this.a,a)};var $f=XD(gK,'Heartbeat/lambda$0$Type',222);nk(179,1,{},wr);_.nb=function xr(a){sl('firstDelay',wE(Md(a,23).a))};var ag=XD(gK,'LoadingIndicatorConfigurator/0methodref$setFirstDelay$Type',179);nk(180,1,{},yr);_.nb=function zr(a){sl('secondDelay',wE(Md(a,23).a))};var bg=XD(gK,'LoadingIndicatorConfigurator/1methodref$setSecondDelay$Type',180);nk(181,1,{},Ar);_.nb=function Br(a){sl('thirdDelay',wE(Md(a,23).a))};var cg=XD(gK,'LoadingIndicatorConfigurator/2methodref$setThirdDelay$Type',181);nk(182,1,aK,Cr);_.rb=function Dr(a){vr(lA(Md(a.e,13)))};var dg=XD(gK,'LoadingIndicatorConfigurator/lambda$3$Type',182);nk(183,1,aK,Er);_.rb=function Fr(a){ur(this.b,this.a,a)};_.a=0;var eg=XD(gK,'LoadingIndicatorConfigurator/lambda$4$Type',183);nk(24,1,{24:1},Wr);_.a=0;_.b='init';_.d=false;_.e=0;_.f=-1;_.i=null;_.o=0;var ng=XD(gK,'MessageHandler',24);nk(188,1,xJ,_r);_.C=function as(){!Vz&&$wnd.Polymer!=null&&JE($wnd.Polymer.version.substr(0,'1.'.length),'1.')&&(Vz=true,ul&&($wnd.console.log('Polymer micro is now loaded, using Polymer DOM API'),undefined),Uz=new Xz,undefined)};var fg=XD(gK,'MessageHandler/0methodref$updateApiImplementation$Type',188);nk(187,40,{},bs);_.V=function cs(){Ir(this.a)};var gg=XD(gK,'MessageHandler/1',187);nk(367,$wnd.Function,{},ds);_.nb=function es(a){Gr(Md(a,6))};nk(62,1,{62:1},fs);var hg=XD(gK,'MessageHandler/PendingUIDLMessage',62);nk(189,1,xJ,gs);_.C=function hs(){Tr(this.a,this.d,this.b,this.c)};_.c=0;var ig=XD(gK,'MessageHandler/lambda$1$Type',189);nk(191,1,VJ,is);_.mb=function js(){SB(new ks(this.a,this.b))};var jg=XD(gK,'MessageHandler/lambda$3$Type',191);nk(190,1,VJ,ks);_.mb=function ls(){Qr(this.a,this.b)};var kg=XD(gK,'MessageHandler/lambda$4$Type',190);nk(193,1,VJ,ms);_.mb=function ns(){Rr(this.a)};var lg=XD(gK,'MessageHandler/lambda$5$Type',193);nk(192,1,{},os);_.C=function ps(){this.a.forEach(pk(ds.prototype.nb,ds,[]))};var mg=XD(gK,'MessageHandler/lambda$6$Type',192);nk(18,1,{18:1},As);_.a=0;_.d=0;var pg=XD(gK,'MessageSender',18);nk(185,1,xJ,Cs);_.C=function Ds(){rs(this.a)};var og=XD(gK,'MessageSender/lambda$0$Type',185);nk(174,1,aK,Gs);_.rb=function Hs(a){Es(this.a,a)};var qg=XD(gK,'PollConfigurator/lambda$0$Type',174);nk(78,1,{78:1},Ls);_.wb=function Ms(){var a;a=Md(Hl(this.b,Zg),10);iv(a,a.e,'ui-poll',null)};_.a=null;var tg=XD(gK,'Poller',78);nk(176,40,{},Ns);_.V=function Os(){var a;a=Md(Hl(this.a.b,Zg),10);iv(a,a.e,'ui-poll',null)};var rg=XD(gK,'Poller/1',176);nk(175,1,wJ,Ps);_.G=function Qs(a){Is(this.a,a)};var sg=XD(gK,'Poller/lambda$0$Type',175);nk(49,1,{49:1},Us);var xg=XD(gK,'PushConfiguration',49);nk(234,1,aK,Xs);_.rb=function Ys(a){Ts(this.a,a)};var ug=XD(gK,'PushConfiguration/0methodref$onPushModeChange$Type',234);nk(235,1,VJ,Zs);_.mb=function $s(){zs(Md(Hl(this.a.a,pg),18),true)};var vg=XD(gK,'PushConfiguration/lambda$1$Type',235);nk(236,1,VJ,_s);_.mb=function at(){zs(Md(Hl(this.a.a,pg),18),false)};var wg=XD(gK,'PushConfiguration/lambda$2$Type',236);nk(373,$wnd.Function,{},bt);_.H=function ct(a,b){Ws(this.a,Md(a,13),Td(b))};nk(37,1,{37:1},dt);var zg=XD(gK,'ReconnectConfiguration',37);nk(178,1,xJ,et);_.C=function ft(){wq(this.a)};var yg=XD(gK,'ReconnectConfiguration/lambda$0$Type',178);nk(16,1,{16:1},lt);_.b=false;var Bg=XD(gK,'RequestResponseTracker',16);nk(186,1,{},mt);_.C=function nt(){jt(this.a)};var Ag=XD(gK,'RequestResponseTracker/lambda$0$Type',186);nk(249,347,{},ot);_.X=function pt(a){fe(a);null.mc()};_.Y=function qt(){return null};var Cg=XD(gK,'RequestStartingEvent',249);nk(233,347,{},st);_.X=function tt(a){Md(a,353).a.b=false};_.Y=function ut(){return rt};var rt;var Dg=XD(gK,'ResponseHandlingEndedEvent',233);nk(289,347,{},vt);_.X=function wt(a){fe(a);null.mc()};_.Y=function xt(){return null};var Eg=XD(gK,'ResponseHandlingStartedEvent',289);nk(32,1,{32:1},Ft);_.xb=function Gt(a,b,c){yt(this,a,b,c)};_.yb=function Ht(a,b,c){var d;d={};d[OJ]='channel';d[sK]=Object(a);d['channel']=Object(b);d['args']=c;Ct(this,d)};var Fg=XD(gK,'ServerConnector',32);nk(36,1,{36:1},Nt);_.b=false;var It;var Jg=XD(gK,'ServerRpcQueue',36);nk(215,1,QJ,Ot);_.V=function Pt(){Lt(this.a)};var Gg=XD(gK,'ServerRpcQueue/0methodref$doFlush$Type',215);nk(214,1,QJ,Qt);_.V=function Rt(){Jt()};var Hg=XD(gK,'ServerRpcQueue/lambda$0$Type',214);nk(216,1,{},St);_.C=function Tt(){this.a.a.V()};var Ig=XD(gK,'ServerRpcQueue/lambda$2$Type',216);nk(76,1,{76:1},Wt);_.b=false;var Pg=XD(gK,'XhrConnection',76);nk(232,40,{},Yt);_.V=function Zt(){Xt(this.b)&&this.a.b&&wk(this,250)};var Kg=XD(gK,'XhrConnection/1',232);nk(229,1,{},_t);_.tb=function au(a,b){var c;c=new fu(a,this.a);if(!b){Rq(Md(Hl(this.c.a,Rf),19),c);return}else{Pq(Md(Hl(this.c.a,Rf),19),c)}};_.ub=function bu(a){var b,c;Bl('Server visit took '+uo(this.b)+'ms');c=a.responseText;b=Zr($r(c));if(!b){Qq(Md(Hl(this.c.a,Rf),19),new fu(a,this.a));return}Sq(Md(Hl(this.c.a,Rf),19));ul&&kD($wnd.console,'Received xhr message: '+c);Mr(Md(Hl(this.c.a,ng),24),b)};_.b=0;var Lg=XD(gK,'XhrConnection/XhrResponseHandler',229);nk(230,1,{},cu);_.db=function du(a){this.a.b=true};var Mg=XD(gK,'XhrConnection/lambda$0$Type',230);nk(231,1,{353:1},eu);var Ng=XD(gK,'XhrConnection/lambda$1$Type',231);nk(111,1,{},fu);var Og=XD(gK,'XhrConnectionError',111);nk(59,1,{59:1},ju);var Qg=XD(vK,'ConstantPool',59);nk(92,1,{92:1},ru);_.zb=function su(){return Md(Hl(this.a,De),9).a};var Ug=XD(vK,'ExecuteJavaScriptProcessor',92);nk(218,1,MJ,tu);_.eb=function uu(a){var b;return SB(new vu(this.a,(b=this.b,b))),ND(),true};var Rg=XD(vK,'ExecuteJavaScriptProcessor/lambda$0$Type',218);nk(217,1,VJ,vu);_.mb=function wu(){mu(this.a,this.b)};var Sg=XD(vK,'ExecuteJavaScriptProcessor/lambda$1$Type',217);nk(219,1,QJ,xu);_.V=function yu(){qu(this.a)};var Tg=XD(vK,'ExecuteJavaScriptProcessor/lambda$2$Type',219);nk(312,1,{},zu);var Vg=XD(vK,'NodeUnregisterEvent',312);nk(6,1,{6:1},Mu);_.Ab=function Nu(){return Du(this)};_.Bb=function Ou(){return this.g};_.d=0;_.j=false;var Yg=XD(vK,'StateNode',6);nk(360,$wnd.Function,{},Qu);_.H=function Ru(a,b){Gu(this.a,this.b,Md(a,33),Od(b))};nk(361,$wnd.Function,{},Su);_.nb=function Tu(a){Pu(this.a,Md(a,114))};var zi=ZD('elemental.events','EventRemover');nk(162,1,zK,Uu);_.Cb=function Vu(){Hu(this.a,this.b)};var Wg=XD(vK,'StateNode/lambda$2$Type',162);nk(362,$wnd.Function,{},Wu);_.nb=function Xu(a){Iu(this.a,Md(a,71))};nk(163,1,zK,Yu);_.Cb=function Zu(){Ju(this.a,this.b)};var Xg=XD(vK,'StateNode/lambda$4$Type',163);nk(10,1,{10:1},ov);_.Db=function pv(){return this.e};_.Eb=function rv(a,b,c,d){var e;if(dv(this,a)){e=Rd(c);Et(Md(Hl(this.c,Fg),32),a,b,e,d)}};_.d=false;_.f=false;var Zg=XD(vK,'StateTree',10);nk(365,$wnd.Function,{},sv);_.nb=function tv(a){Cu(Md(a,6),pk(wv.prototype.H,wv,[]))};nk(366,$wnd.Function,{},uv);_.H=function vv(a,b){var c;fv(this.a,(c=Md(a,6),Od(b),c))};nk(352,$wnd.Function,{},wv);_.H=function xv(a,b){qv(Md(a,33),Od(b))};var Fv,Gv;nk(184,1,{},Lv);var $g=XD(GK,'Binder/BinderContextImpl',184);var _g=ZD(GK,'BindingStrategy');nk(86,1,{86:1},Qv);_.k=0;var Mv;var dh=XD(GK,'Debouncer',86);nk(395,$wnd.Function,{},Uv);_.nb=function Vv(a){Md(a,14).V()};nk(351,1,{});_.c=false;_.d=0;var Di=XD(JK,'Timer',351);nk(317,351,{},$v);var ah=XD(GK,'Debouncer/1',317);nk(318,351,{},aw);var bh=XD(GK,'Debouncer/2',318);nk(396,$wnd.Function,{},cw);_.H=function dw(a,b){var c;bw(this,(c=Sd(a,$wnd.Map),Rd(b),c))};nk(397,$wnd.Function,{},gw);_.nb=function hw(a){ew(this.a,Sd(a,$wnd.Map))};nk(398,$wnd.Function,{},iw);_.nb=function jw(a){fw(this.a,Md(a,86))};nk(394,$wnd.Function,{},kw);_.H=function lw(a,b){Sv(this.a,Md(a,14),Td(b))};nk(309,1,NJ,pw);_.lb=function qw(){return Cw(this.a)};var eh=XD(GK,'ServerEventHandlerBinder/lambda$0$Type',309);nk(310,1,$J,rw);_.ob=function sw(a){ow(this.b,this.a,this.c,a)};_.c=false;var fh=XD(GK,'ServerEventHandlerBinder/lambda$1$Type',310);var tw;nk(255,1,{325:1},Bx);_.Fb=function Cx(a,b,c){Kw(this,a,b,c)};_.Gb=function Fx(a){return Uw(a)};_.Ib=function Kx(a,b){var c,d,e;d=Object.keys(a);e=new rz(d,a,b);c=Md(b.e.get(hh),81);!c?qx(e.b,e.a,e.c):(c.a=e)};_.Jb=function Lx(r,s){var t=this;var u=s._propertiesChanged;u&&(s._propertiesChanged=function(a,b,c){cJ(function(){t.Ib(b,r)})();u.apply(this,arguments)});var v=r.Bb();var w=s.ready;s.ready=function(){w.apply(this,arguments);Dn(s);var q=function(){var o=s.root.querySelector(RK);if(o){s.removeEventListener(SK,q)}else{return}if(!o.constructor.prototype.$propChangedModified){o.constructor.prototype.$propChangedModified=true;var p=o.constructor.prototype._propertiesChanged;o.constructor.prototype._propertiesChanged=function(a,b,c){p.apply(this,arguments);var d=Object.getOwnPropertyNames(b);var e='items.';var f;for(f=0;f0){var i=h.substr(0,g);var j=h.substr(g+1);var k=a.items[i];if(k&&k.nodeId){var l=k.nodeId;var m=k[j];var n=this.__dataHost;while(!n.localName||n.__dataHost){n=n.__dataHost}cJ(function(){Jx(l,n,j,m,v)})()}}}}}}};s.root&&s.root.querySelector(RK)?q():s.addEventListener(SK,q)}};_.Hb=function Mx(a){if(a.c.has(0)){return true}return !!a.g&&K(a,a.g.e)};var Ew,Fw;var Mh=XD(GK,'SimpleElementBindingStrategy',255);nk(384,$wnd.Function,{},$x);_.nb=function _x(a){Md(a,44).Cb()};nk(387,$wnd.Function,{},ay);_.nb=function by(a){Md(a,14).V()};nk(109,1,{},cy);var gh=XD(GK,'SimpleElementBindingStrategy/BindingContext',109);nk(81,1,{81:1},dy);var hh=XD(GK,'SimpleElementBindingStrategy/InitialPropertyUpdate',81);nk(256,1,{},ey);_.Kb=function fy(a){ex(this.a,a)};var ih=XD(GK,'SimpleElementBindingStrategy/lambda$0$Type',256);nk(257,1,{},gy);_.Kb=function hy(a){fx(this.a,a)};var jh=XD(GK,'SimpleElementBindingStrategy/lambda$1$Type',257);nk(380,$wnd.Function,{},iy);_.H=function jy(a,b){var c;Nx(this.b,this.a,(c=Md(a,13),Td(b),c))};nk(266,1,_J,ky);_.qb=function ly(a){Ox(this.b,this.a,a)};var kh=XD(GK,'SimpleElementBindingStrategy/lambda$11$Type',266);nk(267,1,aK,my);_.rb=function ny(a){yx(this.c,this.b,this.a)};var lh=XD(GK,'SimpleElementBindingStrategy/lambda$12$Type',267);nk(268,1,VJ,oy);_.mb=function py(){gx(this.b,this.c,this.a)};var mh=XD(GK,'SimpleElementBindingStrategy/lambda$13$Type',268);nk(269,1,xJ,qy);_.C=function ry(){this.b.Kb(this.a)};var nh=XD(GK,'SimpleElementBindingStrategy/lambda$14$Type',269);nk(270,1,xJ,sy);_.C=function ty(){this.a[this.b]=zn(this.c)};var oh=XD(GK,'SimpleElementBindingStrategy/lambda$15$Type',270);nk(272,1,$J,uy);_.ob=function vy(a){hx(this.a,a)};var ph=XD(GK,'SimpleElementBindingStrategy/lambda$16$Type',272);nk(271,1,VJ,wy);_.mb=function xy(){_w(this.b,this.a)};var qh=XD(GK,'SimpleElementBindingStrategy/lambda$17$Type',271);nk(274,1,$J,yy);_.ob=function zy(a){ix(this.a,a)};var rh=XD(GK,'SimpleElementBindingStrategy/lambda$18$Type',274);nk(273,1,VJ,Ay);_.mb=function By(){jx(this.b,this.a)};var sh=XD(GK,'SimpleElementBindingStrategy/lambda$19$Type',273);nk(258,1,{},Cy);_.Kb=function Dy(a){kx(this.a,a)};var th=XD(GK,'SimpleElementBindingStrategy/lambda$2$Type',258);nk(275,1,QJ,Ey);_.V=function Fy(){bx(this.a,this.b,this.c,false)};var uh=XD(GK,'SimpleElementBindingStrategy/lambda$20$Type',275);nk(276,1,QJ,Gy);_.V=function Hy(){bx(this.a,this.b,this.c,false)};var vh=XD(GK,'SimpleElementBindingStrategy/lambda$21$Type',276);nk(277,1,QJ,Iy);_.V=function Jy(){dx(this.a,this.b,this.c,false)};var wh=XD(GK,'SimpleElementBindingStrategy/lambda$22$Type',277);nk(278,1,NJ,Ky);_.lb=function Ly(){return Px(this.a,this.b)};var xh=XD(GK,'SimpleElementBindingStrategy/lambda$23$Type',278);nk(279,1,NJ,My);_.lb=function Ny(){return Qx(this.a,this.b)};var yh=XD(GK,'SimpleElementBindingStrategy/lambda$24$Type',279);nk(381,$wnd.Function,{},Oy);_.H=function Py(a,b){var c;GB((c=Md(a,79),Td(b),c))};nk(382,$wnd.Function,{},Qy);_.nb=function Ry(a){Rx(this.a,Sd(a,$wnd.Map))};nk(383,$wnd.Function,{},Sy);_.H=function Ty(a,b){var c;(c=Md(a,44),Td(b),c).Cb()};nk(259,1,{114:1},Uy);_.pb=function Vy(a){rx(this.c,this.b,this.a)};var zh=XD(GK,'SimpleElementBindingStrategy/lambda$3$Type',259);nk(385,$wnd.Function,{},Wy);_.H=function Xy(a,b){var c;lx(this.a,(c=Md(a,13),Td(b),c))};nk(280,1,_J,Yy);_.qb=function Zy(a){mx(this.a,a)};var Ah=XD(GK,'SimpleElementBindingStrategy/lambda$31$Type',280);nk(281,1,xJ,$y);_.C=function _y(){nx(this.b,this.a,this.c)};var Bh=XD(GK,'SimpleElementBindingStrategy/lambda$32$Type',281);nk(282,1,{},az);_.db=function bz(a){ox(this.a,a)};var Ch=XD(GK,'SimpleElementBindingStrategy/lambda$33$Type',282);nk(386,$wnd.Function,{},cz);_.nb=function dz(a){px(this.a,this.b,Td(a))};nk(283,1,{},ez);_.nb=function fz(a){Yx(this.b,this.c,this.a,Td(a))};var Dh=XD(GK,'SimpleElementBindingStrategy/lambda$35$Type',283);nk(284,1,$J,gz);_.ob=function hz(a){Sx(this.a,a)};var Eh=XD(GK,'SimpleElementBindingStrategy/lambda$37$Type',284);nk(285,1,NJ,iz);_.lb=function jz(){return this.a.b};var Fh=XD(GK,'SimpleElementBindingStrategy/lambda$38$Type',285);nk(388,$wnd.Function,{},kz);_.nb=function lz(a){this.a.push(Md(a,6))};nk(261,1,VJ,mz);_.mb=function nz(){Tx(this.a)};var Gh=XD(GK,'SimpleElementBindingStrategy/lambda$4$Type',261);nk(260,1,{},oz);_.C=function pz(){Ux(this.a)};var Hh=XD(GK,'SimpleElementBindingStrategy/lambda$5$Type',260);nk(263,1,QJ,rz);_.V=function sz(){qz(this)};var Ih=XD(GK,'SimpleElementBindingStrategy/lambda$6$Type',263);nk(262,1,NJ,tz);_.lb=function uz(){return this.a[this.b]};var Jh=XD(GK,'SimpleElementBindingStrategy/lambda$7$Type',262);nk(265,1,_J,vz);_.qb=function wz(a){RB(new xz(this.a))};var Kh=XD(GK,'SimpleElementBindingStrategy/lambda$8$Type',265);nk(264,1,VJ,xz);_.mb=function yz(){Jw(this.a)};var Lh=XD(GK,'SimpleElementBindingStrategy/lambda$9$Type',264);nk(286,1,{325:1},Dz);_.Fb=function Ez(a,b,c){Bz(a,b)};_.Gb=function Fz(a){return $doc.createTextNode('')};_.Hb=function Gz(a){return a.c.has(7)};var zz;var Ph=XD(GK,'TextBindingStrategy',286);nk(287,1,xJ,Hz);_.C=function Iz(){Az();eD(this.a,Td(iA(this.b)))};var Nh=XD(GK,'TextBindingStrategy/lambda$0$Type',287);nk(288,1,{114:1},Jz);_.pb=function Kz(a){Cz(this.b,this.a)};var Oh=XD(GK,'TextBindingStrategy/lambda$1$Type',288);nk(359,$wnd.Function,{},Oz);_.nb=function Pz(a){this.a.add(a)};nk(363,$wnd.Function,{},Rz);_.H=function Sz(a,b){this.a.push(a)};var Uz,Vz=false;nk(301,1,{},Xz);var Qh=XD('com.vaadin.client.flow.dom','PolymerDomApiImpl',301);nk(82,1,{82:1},Yz);var Rh=XD('com.vaadin.client.flow.model','UpdatableModelProperties',82);nk(393,$wnd.Function,{},Zz);_.nb=function $z(a){this.a.add(Td(a))};nk(94,1,{});_.Lb=function aA(){return this.e};var pi=XD(UJ,'ReactiveValueChangeEvent',94);nk(53,94,{53:1},bA);_.Lb=function cA(){return Md(this.e,27)};_.b=false;_.c=0;var Sh=XD(TK,'ListSpliceEvent',53);nk(13,1,{13:1,326:1},rA);_.Mb=function sA(a){return uA(this.a,a)};_.b=false;_.c=false;_.d=false;var dA;var _h=XD(TK,'MapProperty',13);nk(93,1,{});var oi=XD(UJ,'ReactiveEventRouter',93);nk(242,93,{},AA);_.Nb=function BA(a,b){Md(a,46).rb(Md(b,84))};_.Ob=function CA(a){return new DA(a)};var Uh=XD(TK,'MapProperty/1',242);nk(243,1,aK,DA);_.rb=function EA(a){EB(this.a)};var Th=XD(TK,'MapProperty/1/0methodref$onValueChange$Type',243);nk(241,1,QJ,FA);_.V=function GA(){eA()};var Vh=XD(TK,'MapProperty/lambda$0$Type',241);nk(244,1,VJ,HA);_.mb=function IA(){this.a.d=false};var Wh=XD(TK,'MapProperty/lambda$1$Type',244);nk(245,1,VJ,JA);_.mb=function KA(){this.a.d=false};var Xh=XD(TK,'MapProperty/lambda$2$Type',245);nk(246,1,QJ,LA);_.V=function MA(){nA(this.a,this.b)};var Yh=XD(TK,'MapProperty/lambda$3$Type',246);nk(95,94,{95:1},NA);_.Lb=function OA(){return Md(this.e,41)};var Zh=XD(TK,'MapPropertyAddEvent',95);nk(84,94,{84:1},PA);_.Lb=function QA(){return Md(this.e,13)};var $h=XD(TK,'MapPropertyChangeEvent',84);nk(33,1,{33:1});_.d=0;var ai=XD(TK,'NodeFeature',33);nk(27,33,{33:1,27:1,326:1},YA);_.Mb=function ZA(a){return uA(this.a,a)};_.Pb=function $A(a){var b,c,d;c=[];for(b=0;b=0?':'+this.c:'')+')'};_.c=0;var aj=XD(gJ,'StackTraceElement',28);Kd={4:1,120:1,29:1,2:1};var dj=XD(gJ,'String',2);nk(73,91,{120:1},_E,aF,bF);var bj=XD(gJ,'StringBuilder',73);nk(132,74,zJ,cF);var cj=XD(gJ,'StringIndexOutOfBoundsException',132);nk(502,1,{});var dF;nk(115,1,MJ,gF);_.eb=function hF(a){return fF(a)};var ej=XD(gJ,'Throwable/lambda$0$Type',115);nk(102,8,zJ,iF);var gj=XD(gJ,'UnsupportedOperationException',102);nk(342,1,{87:1});_.Yb=function kF(a){throw dk(new iF('Add not supported on this collection'))};_.s=function lF(){var a,b,c;c=new qH('[',']');for(b=this.Zb();b._b();){a=b.ac();pH(c,a===this?'(this Collection)':a==null?AJ:rk(a))}return !c.a?c.c:c.e.length==0?c.a.a:c.a.a+(''+c.e)};var hj=XD(eL,'AbstractCollection',342);nk(345,1,{113:1});_.p=function pF(a){var b,c,d;if(a===this){return true}if(!Wd(a,83)){return false}d=Md(a,113);if(this.a.c+this.b.c!=d.a.c+d.b.c){return false}for(c=new EF((new zF(d)).a);c.b;){b=DF(c);if(!mF(this,b)){return false}}return true};_.r=function rF(){return nG(new zF(this))};_.s=function sF(){var a,b,c;c=new qH('{','}');for(b=new EF((new zF(this)).a);b.b;){a=DF(b);pH(c,oF(this,a.cc())+'='+oF(this,a.dc()))}return !c.a?c.c:c.e.length==0?c.a.a:c.a.a+(''+c.e)};var qj=XD(eL,'AbstractMap',345);nk(292,345,{113:1});var kj=XD(eL,'AbstractHashMap',292);nk(344,342,{87:1,324:1});_.p=function wF(a){var b;if(a===this){return true}if(!Wd(a,65)){return false}b=Md(a,324);if(vF(b.a)!=this.$b()){return false}return jF(this,b)};_.r=function xF(){return nG(this)};var rj=XD(eL,'AbstractSet',344);nk(65,344,{65:1,87:1,324:1},zF);_.Zb=function AF(){return new EF(this.a)};_.$b=function BF(){return vF(this.a)};var jj=XD(eL,'AbstractHashMap/EntrySet',65);nk(66,1,{},EF);_.ac=function GF(){return DF(this)};_._b=function FF(){return this.b};_.b=false;var ij=XD(eL,'AbstractHashMap/EntrySetIterator',66);nk(343,342,{87:1,98:1});_.bc=function HF(a,b){throw dk(new iF('Add not supported on this list'))};_.Yb=function IF(a){this.bc(this.$b(),a);return true};_.p=function JF(a){var b,c,d,e,f;if(a===this){return true}if(!Wd(a,35)){return false}f=Md(a,98);if(this.$b()!=f.a.length){return false}e=new hG(f);for(c=new hG(this);c.a Tooltip.setDefaultHideDelay(hideDelay), - setDefaultFocusDelay: (focusDelay: number) => Tooltip.setDefaultFocusDelay(focusDelay), - setDefaultHoverDelay: (hoverDelay: number) => Tooltip.setDefaultHoverDelay(hoverDelay) -}); - -const { defaultHideDelay, defaultFocusDelay, defaultHoverDelay } = _window.Vaadin.Flow.tooltip; -if (defaultHideDelay) { - Tooltip.setDefaultHideDelay(defaultHideDelay); -} -if (defaultFocusDelay) { - Tooltip.setDefaultFocusDelay(defaultFocusDelay); -} -if (defaultHoverDelay) { - Tooltip.setDefaultHoverDelay(defaultHoverDelay); -} diff --git a/vertx-vaadin-quarkus-extension/integration-tests/production/frontend/generated/index.ts b/vertx-vaadin-quarkus-extension/integration-tests/production/frontend/generated/index.ts deleted file mode 100644 index 1b1823bb..00000000 --- a/vertx-vaadin-quarkus-extension/integration-tests/production/frontend/generated/index.ts +++ /dev/null @@ -1,32 +0,0 @@ -/****************************************************************************** - * This file is auto-generated by Vaadin. - * If you want to customize the entry point, you can copy this file or create - * your own `index.ts` in your frontend directory. - * By default, the `index.ts` file should be in `./frontend/` folder. - * - * NOTE: - * - You need to restart the dev-server after adding the new `index.ts` file. - * After that, all modifications to `index.ts` are recompiled automatically. - * - `index.js` is also supported if you don't want to use TypeScript. - ******************************************************************************/ - -// import Vaadin client-router to handle client-side and server-side navigation -import { Router } from '@vaadin/router'; - -// import Flow module to enable navigation to Vaadin server-side views -import { Flow } from 'Frontend/generated/jar-resources/Flow.js'; - -const { serverSideRoutes } = new Flow({ - imports: () => import('Frontend/generated/flow/generated-flow-imports.js') -}); - -const routes = [ - // for client-side, place routes below (more info https://hilla.dev/docs/lit/guides/routing#initializing-the-router) - - // for server-side, the next magic line sends all unmatched routes: - ...serverSideRoutes // IMPORTANT: this must be the last entry in the array -]; - -// Vaadin router needs an outlet in the index.html page to display views -const router = new Router(document.querySelector('#outlet')); -router.setRoutes(routes); diff --git a/vertx-vaadin-quarkus-extension/integration-tests/production/frontend/generated/jar-resources/Flow.d.ts b/vertx-vaadin-quarkus-extension/integration-tests/production/frontend/generated/jar-resources/Flow.d.ts deleted file mode 100644 index a6b01dff..00000000 --- a/vertx-vaadin-quarkus-extension/integration-tests/production/frontend/generated/jar-resources/Flow.d.ts +++ /dev/null @@ -1,75 +0,0 @@ -export interface FlowConfig { - imports?: () => void; -} -interface AppConfig { - productionMode: boolean; - appId: string; - uidl: any; -} -interface AppInitResponse { - appConfig: AppConfig; - pushScript?: string; -} -interface Router { - render: (ctx: NavigationParameters, shouldUpdateHistory: boolean) => Promise; -} -interface HTMLRouterContainer extends HTMLElement { - onBeforeEnter?: (ctx: NavigationParameters, cmd: PreventAndRedirectCommands, router: Router) => void | Promise; - onBeforeLeave?: (ctx: NavigationParameters, cmd: PreventCommands, router: Router) => void | Promise; - serverConnected?: (cancel: boolean, url?: NavigationParameters) => void; - serverPaused?: () => void; -} -interface FlowRoute { - action: (params: NavigationParameters) => Promise; - path: string; -} -export interface NavigationParameters { - pathname: string; - search: string; -} -export interface PreventCommands { - prevent: () => any; -} -export interface PreventAndRedirectCommands extends PreventCommands { - redirect: (route: string) => any; -} -/** - * Client API for flow UI operations. - */ -export declare class Flow { - config: FlowConfig; - response?: AppInitResponse; - pathname: string; - container: HTMLRouterContainer; - private isActive; - private baseRegex; - private appShellTitle; - private navigation; - constructor(config?: FlowConfig); - /** - * Return a `route` object for vaadin-router in an one-element array. - * - * The `FlowRoute` object `path` property handles any route, - * and the `action` returns the flow container without updating the content, - * delaying the actual Flow server call to the `onBeforeEnter` phase. - * - * This is a specific API for its use with `vaadin-router`. - */ - get serverSideRoutes(): [FlowRoute]; - loadingStarted(): void; - loadingFinished(): void; - private get action(); - private flowLeave; - private flowNavigate; - private getFlowRoutePath; - private getFlowRouteQuery; - private flowInit; - private loadScript; - private injectAppIdScript; - private flowInitClient; - private flowInitUi; - private addConnectionIndicator; - private offlineStubAction; - private isFlowClientLoaded; -} -export {}; diff --git a/vertx-vaadin-quarkus-extension/integration-tests/production/frontend/generated/jar-resources/Flow.js b/vertx-vaadin-quarkus-extension/integration-tests/production/frontend/generated/jar-resources/Flow.js deleted file mode 100644 index 999afb2f..00000000 --- a/vertx-vaadin-quarkus-extension/integration-tests/production/frontend/generated/jar-resources/Flow.js +++ /dev/null @@ -1,356 +0,0 @@ -import { ConnectionIndicator, ConnectionState } from '@vaadin/common-frontend'; -class FlowUiInitializationError extends Error { -} -// flow uses body for keeping references -const flowRoot = window.document.body; -const $wnd = window; -/** - * Client API for flow UI operations. - */ -export class Flow { - constructor(config) { - this.response = undefined; - this.pathname = ''; - // flag used to inform Testbench whether a server route is in progress - this.isActive = false; - this.baseRegex = /^\//; - this.navigation = ''; - flowRoot.$ = flowRoot.$ || []; - this.config = config || {}; - // TB checks for the existence of window.Vaadin.Flow in order - // to consider that TB needs to wait for `initFlow()`. - $wnd.Vaadin = $wnd.Vaadin || {}; - $wnd.Vaadin.Flow = $wnd.Vaadin.Flow || {}; - $wnd.Vaadin.Flow.clients = { - TypeScript: { - isActive: () => this.isActive - } - }; - // Regular expression used to remove the app-context - const elm = document.head.querySelector('base'); - this.baseRegex = new RegExp(`^${ - // IE11 does not support document.baseURI - (document.baseURI || (elm && elm.href) || '/').replace(/^https?:\/\/[^/]+/i, '')}`); - this.appShellTitle = document.title; - // Put a vaadin-connection-indicator in the dom - this.addConnectionIndicator(); - } - /** - * Return a `route` object for vaadin-router in an one-element array. - * - * The `FlowRoute` object `path` property handles any route, - * and the `action` returns the flow container without updating the content, - * delaying the actual Flow server call to the `onBeforeEnter` phase. - * - * This is a specific API for its use with `vaadin-router`. - */ - get serverSideRoutes() { - return [ - { - path: '(.*)', - action: this.action - } - ]; - } - loadingStarted() { - // Make Testbench know that server request is in progress - this.isActive = true; - $wnd.Vaadin.connectionState.loadingStarted(); - } - loadingFinished() { - // Make Testbench know that server request has finished - this.isActive = false; - $wnd.Vaadin.connectionState.loadingFinished(); - if ($wnd.Vaadin.listener) { - // Listeners registered, do not register again. - return; - } - $wnd.Vaadin.listener = {}; - // Listen for click on router-links -> 'link' navigation trigger - // and on nodes -> 'client' navigation trigger. - // Use capture phase to detect prevented / stopped events. - document.addEventListener('click', (_e) => { - if (_e.target) { - // eslint-disable-next-line @typescript-eslint/ban-ts-comment - // @ts-ignore - if (_e.target.hasAttribute('router-link')) { - this.navigation = 'link'; - // eslint-disable-next-line @typescript-eslint/ban-ts-comment - // @ts-ignore - } - else if (_e.composedPath().some((node) => node.nodeName === 'A')) { - this.navigation = 'client'; - } - } - }, { - capture: true - }); - } - get action() { - // Return a function which is bound to the flow instance, thus we can use - // the syntax `...serverSideRoutes` in vaadin-router. - return async (params) => { - // Store last action pathname so as we can check it in events - this.pathname = params.pathname; - if ($wnd.Vaadin.connectionState.online) { - try { - await this.flowInit(); - } - catch (error) { - if (error instanceof FlowUiInitializationError) { - // error initializing Flow: assume connection lost - $wnd.Vaadin.connectionState.state = ConnectionState.CONNECTION_LOST; - return this.offlineStubAction(); - } - else { - throw error; - } - } - } - else { - // insert an offline stub - return this.offlineStubAction(); - } - // When an action happens, navigation will be resolved `onBeforeEnter` - this.container.onBeforeEnter = (ctx, cmd) => this.flowNavigate(ctx, cmd); - // For covering the 'server -> client' use case - this.container.onBeforeLeave = (ctx, cmd) => this.flowLeave(ctx, cmd); - return this.container; - }; - } - // Send a remote call to `JavaScriptBootstrapUI` to check - // whether navigation has to be cancelled. - async flowLeave(ctx, cmd) { - // server -> server, viewing offline stub, or browser is offline - const { connectionState } = $wnd.Vaadin; - if (this.pathname === ctx.pathname || !this.isFlowClientLoaded() || connectionState.offline) { - return Promise.resolve({}); - } - // 'server -> client' - return new Promise((resolve) => { - this.loadingStarted(); - // The callback to run from server side to cancel navigation - this.container.serverConnected = (cancel) => { - resolve(cmd && cancel ? cmd.prevent() : {}); - this.loadingFinished(); - }; - // Call server side to check whether we can leave the view - flowRoot.$server.leaveNavigation(this.getFlowRoutePath(ctx), this.getFlowRouteQuery(ctx)); - }); - } - // Send the remote call to `JavaScriptBootstrapUI` to render the flow - // route specified by the context - async flowNavigate(ctx, cmd) { - if (this.response) { - return new Promise((resolve) => { - this.loadingStarted(); - // The callback to run from server side once the view is ready - this.container.serverConnected = (cancel, redirectContext) => { - if (cmd && cancel) { - resolve(cmd.prevent()); - } - else if (cmd && cmd.redirect && redirectContext) { - resolve(cmd.redirect(redirectContext.pathname)); - } - else { - this.container.style.display = ''; - resolve(this.container); - } - this.loadingFinished(); - }; - this.container.serverPaused = () => { - this.loadingFinished(); - }; - // Call server side to navigate to the given route - flowRoot.$server.connectClient(this.getFlowRoutePath(ctx), this.getFlowRouteQuery(ctx), this.appShellTitle, history.state, this.navigation); - // Default to history navigation trigger. - // Link and client cases are handled by click listener in loadingFinished(). - this.navigation = 'history'; - }); - } - else { - // No server response => offline or erroneous connection - return Promise.resolve(this.container); - } - } - getFlowRoutePath(context) { - return decodeURIComponent(context.pathname).replace(this.baseRegex, ''); - } - getFlowRouteQuery(context) { - return (context.search && context.search.substring(1)) || ''; - } - // import flow client modules and initialize UI in server side. - async flowInit() { - // Do not start flow twice - if (!this.isFlowClientLoaded()) { - // show flow progress indicator - this.loadingStarted(); - // Initialize server side UI - this.response = await this.flowInitUi(); - const { pushScript, appConfig } = this.response; - if (typeof pushScript === 'string') { - await this.loadScript(pushScript); - } - const { appId } = appConfig; - // Load bootstrap script with server side parameters - const bootstrapMod = await import('./FlowBootstrap'); - await bootstrapMod.init(this.response); - // Load custom modules defined by user - if (typeof this.config.imports === 'function') { - this.injectAppIdScript(appId); - await this.config.imports(); - } - // we use a custom tag for the flow app container - const tag = `flow-container-${appId.toLowerCase()}`; - const serverCreatedContainer = document.querySelector(tag); - if (serverCreatedContainer) { - this.container = serverCreatedContainer; - } - else { - this.container = document.createElement(tag); - this.container.id = appId; - } - flowRoot.$[appId] = this.container; - // Load flow-client module - const clientMod = await import('./FlowClient'); - await this.flowInitClient(clientMod); - // hide flow progress indicator - this.loadingFinished(); - } - // It might be that components created from server expect that their content has been rendered. - // Appending eagerly the container we avoid these kind of errors. - // Note that the client router will move this container to the outlet if the navigation succeed - if (this.container && !this.container.isConnected) { - this.container.style.display = 'none'; - document.body.appendChild(this.container); - } - return this.response; - } - async loadScript(url) { - return new Promise((resolve, reject) => { - const script = document.createElement('script'); - script.onload = () => resolve(); - script.onerror = reject; - script.src = url; - document.body.appendChild(script); - }); - } - injectAppIdScript(appId) { - const appIdWithoutHashCode = appId.substring(0, appId.lastIndexOf('-')); - const scriptAppId = document.createElement('script'); - scriptAppId.type = 'module'; - scriptAppId.setAttribute('data-app-id', appIdWithoutHashCode); - document.body.append(scriptAppId); - } - // After the flow-client javascript module has been loaded, this initializes flow UI - // in the browser. - async flowInitClient(clientMod) { - clientMod.init(); - // client init is async, we need to loop until initialized - return new Promise((resolve) => { - const intervalId = setInterval(() => { - // client `isActive() == true` while initializing or processing - const initializing = Object.keys($wnd.Vaadin.Flow.clients) - .filter((key) => key !== 'TypeScript') - .reduce((prev, id) => prev || $wnd.Vaadin.Flow.clients[id].isActive(), false); - if (!initializing) { - clearInterval(intervalId); - resolve(); - } - }, 5); - }); - } - // Returns the `appConfig` object - async flowInitUi() { - // appConfig was sent in the index.html request - const initial = $wnd.Vaadin && $wnd.Vaadin.TypeScript && $wnd.Vaadin.TypeScript.initial; - if (initial) { - $wnd.Vaadin.TypeScript.initial = undefined; - return Promise.resolve(initial); - } - // send a request to the `JavaScriptBootstrapHandler` - return new Promise((resolve, reject) => { - const xhr = new XMLHttpRequest(); - const httpRequest = xhr; - const requestPath = `?v-r=init&location=${encodeURIComponent(this.getFlowRoutePath(location))}&query=${encodeURIComponent(this.getFlowRouteQuery(location))}`; - httpRequest.open('GET', requestPath); - httpRequest.onerror = () => reject(new FlowUiInitializationError(`Invalid server response when initializing Flow UI. - ${httpRequest.status} - ${httpRequest.responseText}`)); - httpRequest.onload = () => { - const contentType = httpRequest.getResponseHeader('content-type'); - if (contentType && contentType.indexOf('application/json') !== -1) { - resolve(JSON.parse(httpRequest.responseText)); - } - else { - httpRequest.onerror(); - } - }; - httpRequest.send(); - }); - } - // Create shared connection state store and connection indicator - addConnectionIndicator() { - // add connection indicator to DOM - ConnectionIndicator.create(); - // Listen to browser online/offline events and update the loading indicator accordingly. - // Note: if flow-client is loaded, it instead handles the state transitions. - $wnd.addEventListener('online', () => { - if (!this.isFlowClientLoaded()) { - // Send an HTTP HEAD request for sw.js to verify server reachability. - // We do not expect sw.js to be cached, so the request goes to the - // server rather than being served from local cache. - // Require network-level failure to revert the state to CONNECTION_LOST - // (HTTP error code is ok since it still verifies server's presence). - $wnd.Vaadin.connectionState.state = ConnectionState.RECONNECTING; - const http = new XMLHttpRequest(); - http.open('HEAD', 'sw.js'); - http.onload = () => { - $wnd.Vaadin.connectionState.state = ConnectionState.CONNECTED; - }; - http.onerror = () => { - $wnd.Vaadin.connectionState.state = ConnectionState.CONNECTION_LOST; - }; - // Postpone request to reduce potential net::ERR_INTERNET_DISCONNECTED - // errors that sometimes occurs even if browser says it is online - setTimeout(() => http.send(), 50); - } - }); - $wnd.addEventListener('offline', () => { - if (!this.isFlowClientLoaded()) { - $wnd.Vaadin.connectionState.state = ConnectionState.CONNECTION_LOST; - } - }); - } - async offlineStubAction() { - const offlineStub = document.createElement('iframe'); - const offlineStubPath = './offline-stub.html'; - offlineStub.setAttribute('src', offlineStubPath); - offlineStub.setAttribute('style', 'width: 100%; height: 100%; border: 0'); - this.response = undefined; - let onlineListener; - const removeOfflineStubAndOnlineListener = () => { - if (onlineListener !== undefined) { - $wnd.Vaadin.connectionState.removeStateChangeListener(onlineListener); - onlineListener = undefined; - } - }; - offlineStub.onBeforeEnter = (ctx, _cmds, router) => { - onlineListener = () => { - if ($wnd.Vaadin.connectionState.online) { - removeOfflineStubAndOnlineListener(); - router.render(ctx, false); - } - }; - $wnd.Vaadin.connectionState.addStateChangeListener(onlineListener); - }; - offlineStub.onBeforeLeave = (_ctx, _cmds, _router) => { - removeOfflineStubAndOnlineListener(); - }; - return offlineStub; - } - isFlowClientLoaded() { - return this.response !== undefined; - } -} -//# sourceMappingURL=Flow.js.map \ No newline at end of file diff --git a/vertx-vaadin-quarkus-extension/integration-tests/production/frontend/generated/jar-resources/Flow.js.map b/vertx-vaadin-quarkus-extension/integration-tests/production/frontend/generated/jar-resources/Flow.js.map deleted file mode 100644 index beea9485..00000000 --- a/vertx-vaadin-quarkus-extension/integration-tests/production/frontend/generated/jar-resources/Flow.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Flow.js","sourceRoot":"","sources":["../../../../src/main/frontend/Flow.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,EACnB,eAAe,EAGhB,MAAM,yBAAyB,CAAC;AAMjC,MAAM,yBAA0B,SAAQ,KAAK;CAAG;AA+ChD,wCAAwC;AACxC,MAAM,QAAQ,GAAa,MAAM,CAAC,QAAQ,CAAC,IAAW,CAAC;AACvD,MAAM,IAAI,GAAG,MAOE,CAAC;AAEhB;;GAEG;AACH,MAAM,OAAO,IAAI;IAef,YAAY,MAAmB;QAb/B,aAAQ,GAAqB,SAAS,CAAC;QACvC,aAAQ,GAAG,EAAE,CAAC;QAId,sEAAsE;QAC9D,aAAQ,GAAG,KAAK,CAAC;QAEjB,cAAS,GAAG,KAAK,CAAC;QAGlB,eAAU,GAAW,EAAE,CAAC;QAG9B,QAAQ,CAAC,CAAC,GAAG,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;IACrB,CAAC;IAEO,kBAAkB;QACxB,OAAO,IAAI,CAAC,QAAQ,KAAK,SAAS,CAAC;IACrC,CAAC;CACF","sourcesContent":["import {\n ConnectionIndicator,\n ConnectionState,\n ConnectionStateChangeListener,\n ConnectionStateStore\n} from '@vaadin/common-frontend';\n\nexport interface FlowConfig {\n imports?: () => void;\n}\n\nclass FlowUiInitializationError extends Error {}\n\ninterface AppConfig {\n productionMode: boolean;\n appId: string;\n uidl: any;\n}\n\ninterface AppInitResponse {\n appConfig: AppConfig;\n pushScript?: string;\n}\n\ninterface Router {\n render: (ctx: NavigationParameters, shouldUpdateHistory: boolean) => Promise;\n}\n\ninterface HTMLRouterContainer extends HTMLElement {\n onBeforeEnter?: (ctx: NavigationParameters, cmd: PreventAndRedirectCommands, router: Router) => void | Promise;\n onBeforeLeave?: (ctx: NavigationParameters, cmd: PreventCommands, router: Router) => void | Promise;\n serverConnected?: (cancel: boolean, url?: NavigationParameters) => void;\n serverPaused?: () => void;\n}\n\ninterface FlowRoute {\n action: (params: NavigationParameters) => Promise;\n path: string;\n}\n\ninterface FlowRoot {\n $: any;\n $server: any;\n}\n\nexport interface NavigationParameters {\n pathname: string;\n search: string;\n}\n\nexport interface PreventCommands {\n prevent: () => any;\n}\n\nexport interface PreventAndRedirectCommands extends PreventCommands {\n redirect: (route: string) => any;\n}\n\n// flow uses body for keeping references\nconst flowRoot: FlowRoot = window.document.body as any;\nconst $wnd = window as any as {\n Vaadin: {\n Flow: any;\n TypeScript: any;\n connectionState: ConnectionStateStore;\n listener: any;\n };\n} & EventTarget;\n\n/**\n * Client API for flow UI operations.\n */\nexport class Flow {\n config: FlowConfig;\n response?: AppInitResponse = undefined;\n pathname = '';\n\n container!: HTMLRouterContainer;\n\n // flag used to inform Testbench whether a server route is in progress\n private isActive = false;\n\n private baseRegex = /^\\//;\n private appShellTitle: string;\n\n private navigation: string = '';\n\n constructor(config?: FlowConfig) {\n flowRoot.$ = flowRoot.$ || [];\n this.config = config || {};\n\n // TB checks for the existence of window.Vaadin.Flow in order\n // to consider that TB needs to wait for `initFlow()`.\n $wnd.Vaadin = $wnd.Vaadin || {};\n $wnd.Vaadin.Flow = $wnd.Vaadin.Flow || {};\n $wnd.Vaadin.Flow.clients = {\n TypeScript: {\n isActive: () => this.isActive\n }\n };\n\n // Regular expression used to remove the app-context\n const elm = document.head.querySelector('base');\n this.baseRegex = new RegExp(\n `^${\n // IE11 does not support document.baseURI\n (document.baseURI || (elm && elm.href) || '/').replace(/^https?:\\/\\/[^/]+/i, '')\n }`\n );\n this.appShellTitle = document.title;\n // Put a vaadin-connection-indicator in the dom\n this.addConnectionIndicator();\n }\n\n /**\n * Return a `route` object for vaadin-router in an one-element array.\n *\n * The `FlowRoute` object `path` property handles any route,\n * and the `action` returns the flow container without updating the content,\n * delaying the actual Flow server call to the `onBeforeEnter` phase.\n *\n * This is a specific API for its use with `vaadin-router`.\n */\n get serverSideRoutes(): [FlowRoute] {\n return [\n {\n path: '(.*)',\n action: this.action\n }\n ];\n }\n\n loadingStarted() {\n // Make Testbench know that server request is in progress\n this.isActive = true;\n $wnd.Vaadin.connectionState.loadingStarted();\n }\n\n loadingFinished() {\n // Make Testbench know that server request has finished\n this.isActive = false;\n $wnd.Vaadin.connectionState.loadingFinished();\n\n if ($wnd.Vaadin.listener) {\n // Listeners registered, do not register again.\n return;\n }\n $wnd.Vaadin.listener = {};\n // Listen for click on router-links -> 'link' navigation trigger\n // and on nodes -> 'client' navigation trigger.\n // Use capture phase to detect prevented / stopped events.\n document.addEventListener(\n 'click',\n (_e) => {\n if (_e.target) {\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n if (_e.target.hasAttribute('router-link')) {\n this.navigation = 'link';\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n } else if (_e.composedPath().some((node) => node.nodeName === 'A')) {\n this.navigation = 'client';\n }\n }\n },\n {\n capture: true\n }\n );\n }\n\n private get action(): (params: NavigationParameters) => Promise {\n // Return a function which is bound to the flow instance, thus we can use\n // the syntax `...serverSideRoutes` in vaadin-router.\n return async (params: NavigationParameters) => {\n // Store last action pathname so as we can check it in events\n this.pathname = params.pathname;\n\n if ($wnd.Vaadin.connectionState.online) {\n try {\n await this.flowInit();\n } catch (error) {\n if (error instanceof FlowUiInitializationError) {\n // error initializing Flow: assume connection lost\n $wnd.Vaadin.connectionState.state = ConnectionState.CONNECTION_LOST;\n return this.offlineStubAction();\n } else {\n throw error;\n }\n }\n } else {\n // insert an offline stub\n return this.offlineStubAction();\n }\n\n // When an action happens, navigation will be resolved `onBeforeEnter`\n this.container.onBeforeEnter = (ctx, cmd) => this.flowNavigate(ctx, cmd);\n // For covering the 'server -> client' use case\n this.container.onBeforeLeave = (ctx, cmd) => this.flowLeave(ctx, cmd);\n return this.container;\n };\n }\n\n // Send a remote call to `JavaScriptBootstrapUI` to check\n // whether navigation has to be cancelled.\n private async flowLeave(ctx: NavigationParameters, cmd?: PreventCommands): Promise {\n // server -> server, viewing offline stub, or browser is offline\n const { connectionState } = $wnd.Vaadin;\n if (this.pathname === ctx.pathname || !this.isFlowClientLoaded() || connectionState.offline) {\n return Promise.resolve({});\n }\n // 'server -> client'\n return new Promise((resolve) => {\n this.loadingStarted();\n // The callback to run from server side to cancel navigation\n this.container.serverConnected = (cancel) => {\n resolve(cmd && cancel ? cmd.prevent() : {});\n this.loadingFinished();\n };\n\n // Call server side to check whether we can leave the view\n flowRoot.$server.leaveNavigation(this.getFlowRoutePath(ctx), this.getFlowRouteQuery(ctx));\n });\n }\n\n // Send the remote call to `JavaScriptBootstrapUI` to render the flow\n // route specified by the context\n private async flowNavigate(ctx: NavigationParameters, cmd?: PreventAndRedirectCommands): Promise {\n if (this.response) {\n return new Promise((resolve) => {\n this.loadingStarted();\n // The callback to run from server side once the view is ready\n this.container.serverConnected = (cancel, redirectContext?: NavigationParameters) => {\n if (cmd && cancel) {\n resolve(cmd.prevent());\n } else if (cmd && cmd.redirect && redirectContext) {\n resolve(cmd.redirect(redirectContext.pathname));\n } else {\n this.container.style.display = '';\n resolve(this.container);\n }\n this.loadingFinished();\n };\n\n this.container.serverPaused = () => {\n this.loadingFinished();\n };\n\n // Call server side to navigate to the given route\n flowRoot.$server.connectClient(\n this.getFlowRoutePath(ctx),\n this.getFlowRouteQuery(ctx),\n this.appShellTitle,\n history.state,\n this.navigation\n );\n // Default to history navigation trigger.\n // Link and client cases are handled by click listener in loadingFinished().\n this.navigation = 'history';\n });\n } else {\n // No server response => offline or erroneous connection\n return Promise.resolve(this.container);\n }\n }\n\n private getFlowRoutePath(context: NavigationParameters | Location): string {\n return decodeURIComponent(context.pathname).replace(this.baseRegex, '');\n }\n private getFlowRouteQuery(context: NavigationParameters | Location): string {\n return (context.search && context.search.substring(1)) || '';\n }\n\n // import flow client modules and initialize UI in server side.\n private async flowInit(): Promise {\n // Do not start flow twice\n if (!this.isFlowClientLoaded()) {\n // show flow progress indicator\n this.loadingStarted();\n\n // Initialize server side UI\n this.response = await this.flowInitUi();\n\n const { pushScript, appConfig } = this.response;\n\n if (typeof pushScript === 'string') {\n await this.loadScript(pushScript);\n }\n const { appId } = appConfig;\n\n // Load bootstrap script with server side parameters\n const bootstrapMod = await import('./FlowBootstrap');\n await bootstrapMod.init(this.response);\n\n // Load custom modules defined by user\n if (typeof this.config.imports === 'function') {\n this.injectAppIdScript(appId);\n await this.config.imports();\n }\n\n // we use a custom tag for the flow app container\n const tag = `flow-container-${appId.toLowerCase()}`;\n const serverCreatedContainer = document.querySelector(tag);\n if (serverCreatedContainer) {\n this.container = serverCreatedContainer as HTMLElement;\n } else {\n this.container = document.createElement(tag);\n this.container.id = appId;\n }\n flowRoot.$[appId] = this.container;\n\n // Load flow-client module\n const clientMod = await import('./FlowClient');\n await this.flowInitClient(clientMod);\n\n // hide flow progress indicator\n this.loadingFinished();\n }\n\n // It might be that components created from server expect that their content has been rendered.\n // Appending eagerly the container we avoid these kind of errors.\n // Note that the client router will move this container to the outlet if the navigation succeed\n if (this.container && !this.container.isConnected) {\n this.container.style.display = 'none';\n document.body.appendChild(this.container);\n }\n return this.response!;\n }\n\n private async loadScript(url: string): Promise {\n return new Promise((resolve, reject) => {\n const script = document.createElement('script');\n script.onload = () => resolve();\n script.onerror = reject;\n script.src = url;\n document.body.appendChild(script);\n });\n }\n\n private injectAppIdScript(appId: string) {\n const appIdWithoutHashCode = appId.substring(0, appId.lastIndexOf('-'));\n const scriptAppId = document.createElement('script');\n scriptAppId.type = 'module';\n scriptAppId.setAttribute('data-app-id', appIdWithoutHashCode);\n document.body.append(scriptAppId);\n }\n\n // After the flow-client javascript module has been loaded, this initializes flow UI\n // in the browser.\n private async flowInitClient(clientMod: any): Promise {\n clientMod.init();\n // client init is async, we need to loop until initialized\n return new Promise((resolve) => {\n const intervalId = setInterval(() => {\n // client `isActive() == true` while initializing or processing\n const initializing = Object.keys($wnd.Vaadin.Flow.clients)\n .filter((key) => key !== 'TypeScript')\n .reduce((prev, id) => prev || $wnd.Vaadin.Flow.clients[id].isActive(), false);\n if (!initializing) {\n clearInterval(intervalId);\n resolve();\n }\n }, 5);\n });\n }\n\n // Returns the `appConfig` object\n private async flowInitUi(): Promise {\n // appConfig was sent in the index.html request\n const initial = $wnd.Vaadin && $wnd.Vaadin.TypeScript && $wnd.Vaadin.TypeScript.initial;\n if (initial) {\n $wnd.Vaadin.TypeScript.initial = undefined;\n return Promise.resolve(initial);\n }\n\n // send a request to the `JavaScriptBootstrapHandler`\n return new Promise((resolve, reject) => {\n const xhr = new XMLHttpRequest();\n const httpRequest = xhr as any;\n const requestPath = `?v-r=init&location=${encodeURIComponent(\n this.getFlowRoutePath(location)\n )}&query=${encodeURIComponent(this.getFlowRouteQuery(location))}`;\n\n httpRequest.open('GET', requestPath);\n\n httpRequest.onerror = () =>\n reject(\n new FlowUiInitializationError(\n `Invalid server response when initializing Flow UI.\n ${httpRequest.status}\n ${httpRequest.responseText}`\n )\n );\n\n httpRequest.onload = () => {\n const contentType = httpRequest.getResponseHeader('content-type');\n if (contentType && contentType.indexOf('application/json') !== -1) {\n resolve(JSON.parse(httpRequest.responseText));\n } else {\n httpRequest.onerror();\n }\n };\n httpRequest.send();\n });\n }\n\n // Create shared connection state store and connection indicator\n private addConnectionIndicator() {\n // add connection indicator to DOM\n ConnectionIndicator.create();\n\n // Listen to browser online/offline events and update the loading indicator accordingly.\n // Note: if flow-client is loaded, it instead handles the state transitions.\n $wnd.addEventListener('online', () => {\n if (!this.isFlowClientLoaded()) {\n // Send an HTTP HEAD request for sw.js to verify server reachability.\n // We do not expect sw.js to be cached, so the request goes to the\n // server rather than being served from local cache.\n // Require network-level failure to revert the state to CONNECTION_LOST\n // (HTTP error code is ok since it still verifies server's presence).\n $wnd.Vaadin.connectionState.state = ConnectionState.RECONNECTING;\n const http = new XMLHttpRequest();\n http.open('HEAD', 'sw.js');\n http.onload = () => {\n $wnd.Vaadin.connectionState.state = ConnectionState.CONNECTED;\n };\n http.onerror = () => {\n $wnd.Vaadin.connectionState.state = ConnectionState.CONNECTION_LOST;\n };\n // Postpone request to reduce potential net::ERR_INTERNET_DISCONNECTED\n // errors that sometimes occurs even if browser says it is online\n setTimeout(() => http.send(), 50);\n }\n });\n $wnd.addEventListener('offline', () => {\n if (!this.isFlowClientLoaded()) {\n $wnd.Vaadin.connectionState.state = ConnectionState.CONNECTION_LOST;\n }\n });\n }\n\n private async offlineStubAction() {\n const offlineStub = document.createElement('iframe') as HTMLRouterContainer;\n const offlineStubPath = './offline-stub.html';\n offlineStub.setAttribute('src', offlineStubPath);\n offlineStub.setAttribute('style', 'width: 100%; height: 100%; border: 0');\n this.response = undefined;\n\n let onlineListener: ConnectionStateChangeListener | undefined;\n const removeOfflineStubAndOnlineListener = () => {\n if (onlineListener !== undefined) {\n $wnd.Vaadin.connectionState.removeStateChangeListener(onlineListener);\n onlineListener = undefined;\n }\n };\n\n offlineStub.onBeforeEnter = (ctx, _cmds, router) => {\n onlineListener = () => {\n if ($wnd.Vaadin.connectionState.online) {\n removeOfflineStubAndOnlineListener();\n router.render(ctx, false);\n }\n };\n $wnd.Vaadin.connectionState.addStateChangeListener(onlineListener);\n };\n offlineStub.onBeforeLeave = (_ctx, _cmds, _router) => {\n removeOfflineStubAndOnlineListener();\n };\n return offlineStub;\n }\n\n private isFlowClientLoaded(): boolean {\n return this.response !== undefined;\n }\n}\n"]} \ No newline at end of file diff --git a/vertx-vaadin-quarkus-extension/integration-tests/production/frontend/generated/jar-resources/FlowBootstrap.d.ts b/vertx-vaadin-quarkus-extension/integration-tests/production/frontend/generated/jar-resources/FlowBootstrap.d.ts deleted file mode 100644 index 0398d576..00000000 --- a/vertx-vaadin-quarkus-extension/integration-tests/production/frontend/generated/jar-resources/FlowBootstrap.d.ts +++ /dev/null @@ -1 +0,0 @@ -export const init: (appInitResponse: any) => void; diff --git a/vertx-vaadin-quarkus-extension/integration-tests/production/frontend/generated/jar-resources/FlowBootstrap.js b/vertx-vaadin-quarkus-extension/integration-tests/production/frontend/generated/jar-resources/FlowBootstrap.js deleted file mode 100644 index a8d94854..00000000 --- a/vertx-vaadin-quarkus-extension/integration-tests/production/frontend/generated/jar-resources/FlowBootstrap.js +++ /dev/null @@ -1,262 +0,0 @@ -/* This is a copy of the regular `BootstrapHandler.js` in the flow-server - module, but with the following modifications: - - The main function is exported as an ES module for lazy initialization. - - Application configuration is passed as a parameter instead of using - replacement placeholders as in the regular bootstrapping. - - It reuses `Vaadin.Flow.clients` if exists. - - Fixed lint errors. - */ -const init = function (appInitResponse) { - window.Vaadin = window.Vaadin || {}; - window.Vaadin.Flow = window.Vaadin.Flow || {}; - - var apps = {}; - var widgetsets = {}; - - var log; - if (typeof window.console === undefined || !window.location.search.match(/[&?]debug(&|$)/)) { - /* If no console.log present, just use a no-op */ - log = function () {}; - } else if (typeof window.console.log === 'function') { - /* If it's a function, use it with apply */ - log = function () { - window.console.log.apply(window.console, arguments); - }; - } else { - /* In IE, its a native function for which apply is not defined, but it works - without a proper 'this' reference */ - log = window.console.log; - } - - var isInitializedInDom = function (appId) { - var appDiv = document.getElementById(appId); - if (!appDiv) { - return false; - } - for (var i = 0; i < appDiv.childElementCount; i++) { - var className = appDiv.childNodes[i].className; - /* If the app div contains a child with the class - 'v-app-loading' we have only received the HTML - but not yet started the widget set - (UIConnector removes the v-app-loading div). */ - if (className && className.indexOf('v-app-loading') != -1) { - return false; - } - } - return true; - }; - - /* - * Needed for Testbench compatibility, but prevents any Vaadin 7 app from - * bootstrapping unless the legacy vaadinBootstrap.js file is loaded before - * this script. - */ - window.Vaadin = window.Vaadin || {}; - window.Vaadin.Flow = window.Vaadin.Flow || {}; - - /* - * Needed for wrapping custom javascript functionality in the components (i.e. connectors) - */ - window.Vaadin.Flow.tryCatchWrapper = function (originalFunction, component) { - return function () { - try { - // eslint-disable-next-line - const result = originalFunction.apply(this, arguments); - return result; - } catch (error) { - console.error( - `There seems to be an error in ${component}: -${error.message} -Please submit an issue to https://github.com/vaadin/flow-components/issues/new/choose` - ); - } - }; - }; - - if (!window.Vaadin.Flow.initApplication) { - window.Vaadin.Flow.clients = window.Vaadin.Flow.clients || {}; - - window.Vaadin.Flow.initApplication = function (appId, config) { - var testbenchId = appId.replace(/-\d+$/, ''); - - if (apps[appId]) { - if ( - window.Vaadin && - window.Vaadin.Flow && - window.Vaadin.Flow.clients && - window.Vaadin.Flow.clients[testbenchId] && - window.Vaadin.Flow.clients[testbenchId].initializing - ) { - throw new Error('Application ' + appId + ' is already being initialized'); - } - if (isInitializedInDom(appId)) { - throw new Error('Application ' + appId + ' already initialized'); - } - } - - log('init application', appId, config); - - window.Vaadin.Flow.clients[testbenchId] = { - isActive: function () { - return true; - }, - initializing: true, - productionMode: mode - }; - - var getConfig = function (name) { - var value = config[name]; - return value; - }; - - /* Export public data */ - var app = { - getConfig: getConfig - }; - apps[appId] = app; - - if (!window.name) { - window.name = appId + '-' + Math.random(); - } - - var widgetset = 'client'; - widgetsets[widgetset] = { - pendingApps: [] - }; - if (widgetsets[widgetset].callback) { - log('Starting from bootstrap', appId); - widgetsets[widgetset].callback(appId); - } else { - log('Setting pending startup', appId); - widgetsets[widgetset].pendingApps.push(appId); - } - - return app; - }; - window.Vaadin.Flow.getAppIds = function () { - var ids = []; - for (var id in apps) { - if (Object.prototype.hasOwnProperty.call(apps, id)) { - ids.push(id); - } - } - return ids; - }; - window.Vaadin.Flow.getApp = function (appId) { - return apps[appId]; - }; - window.Vaadin.Flow.registerWidgetset = function (widgetset, callback) { - log('Widgetset registered', widgetset); - var ws = widgetsets[widgetset]; - if (ws && ws.pendingApps) { - ws.callback = callback; - for (var i = 0; i < ws.pendingApps.length; i++) { - var appId = ws.pendingApps[i]; - log('Starting from register widgetset', appId); - callback(appId); - } - ws.pendingApps = null; - } - }; - window.Vaadin.Flow.getBrowserDetailsParameters = function () { - var params = {}; - - /* Screen height and width */ - params['v-sh'] = window.screen.height; - params['v-sw'] = window.screen.width; - /* Browser window dimensions */ - params['v-wh'] = window.innerHeight; - params['v-ww'] = window.innerWidth; - /* Body element dimensions */ - params['v-bh'] = document.body.clientHeight; - params['v-bw'] = document.body.clientWidth; - - /* Current time */ - var date = new Date(); - params['v-curdate'] = date.getTime(); - - /* Current timezone offset (including DST shift) */ - var tzo1 = date.getTimezoneOffset(); - - /* Compare the current tz offset with the first offset from the end - of the year that differs --- if less that, we are in DST, otherwise - we are in normal time */ - var dstDiff = 0; - var rawTzo = tzo1; - for (var m = 12; m > 0; m--) { - date.setUTCMonth(m); - var tzo2 = date.getTimezoneOffset(); - if (tzo1 != tzo2) { - dstDiff = tzo1 > tzo2 ? tzo1 - tzo2 : tzo2 - tzo1; - rawTzo = tzo1 > tzo2 ? tzo1 : tzo2; - break; - } - } - - /* Time zone offset */ - params['v-tzo'] = tzo1; - - /* DST difference */ - params['v-dstd'] = dstDiff; - - /* Time zone offset without DST */ - params['v-rtzo'] = rawTzo; - - /* DST in effect? */ - params['v-dston'] = tzo1 != rawTzo; - - /* Time zone id (if available) */ - try { - params['v-tzid'] = Intl.DateTimeFormat().resolvedOptions().timeZone; - } catch (err) { - params['v-tzid'] = ''; - } - - /* Window name */ - if (window.name) { - params['v-wn'] = window.name; - } - - /* Detect touch device support */ - var supportsTouch = false; - try { - document.createEvent('TouchEvent'); - supportsTouch = true; - } catch (e) { - /* Chrome and IE10 touch detection */ - supportsTouch = 'ontouchstart' in window || typeof navigator.msMaxTouchPoints !== 'undefined'; - } - params['v-td'] = supportsTouch; - - /* Device Pixel Ratio */ - params['v-pr'] = window.devicePixelRatio; - - if (navigator.platform) { - params['v-np'] = navigator.platform; - } - - /* Stringify each value (they are parsed on the server side) */ - Object.keys(params).forEach(function (key) { - var value = params[key]; - if (typeof value !== 'undefined') { - params[key] = value.toString(); - } - }); - return params; - }; - } - - log('Flow bootstrap loaded'); - if (appInitResponse.appConfig.productionMode && typeof window.__gwtStatsEvent != 'function') { - window.Vaadin.Flow.gwtStatsEvents = []; - window.__gwtStatsEvent = function (event) { - window.Vaadin.Flow.gwtStatsEvents.push(event); - return true; - }; - } - var config = appInitResponse.appConfig; - var mode = appInitResponse.appConfig.productionMode; - window.Vaadin.Flow.initApplication(config.appId, config); -}; - -export { init }; diff --git a/vertx-vaadin-quarkus-extension/integration-tests/production/frontend/generated/jar-resources/FlowClient.d.ts b/vertx-vaadin-quarkus-extension/integration-tests/production/frontend/generated/jar-resources/FlowClient.d.ts deleted file mode 100644 index 7b21f908..00000000 --- a/vertx-vaadin-quarkus-extension/integration-tests/production/frontend/generated/jar-resources/FlowClient.d.ts +++ /dev/null @@ -1 +0,0 @@ -export const init: () => void; diff --git a/vertx-vaadin-quarkus-extension/integration-tests/production/frontend/generated/jar-resources/FlowClient.js b/vertx-vaadin-quarkus-extension/integration-tests/production/frontend/generated/jar-resources/FlowClient.js deleted file mode 100644 index 2fb9e139..00000000 --- a/vertx-vaadin-quarkus-extension/integration-tests/production/frontend/generated/jar-resources/FlowClient.js +++ /dev/null @@ -1,1118 +0,0 @@ -// Vertx-Vaadin FLowClient -const init = function(){ -function client(){var Jb='',Kb=0,Lb='gwt.codesvr=',Mb='gwt.hosted=',Nb='gwt.hybrid',Ob='client',Pb='#',Qb='?',Rb='/',Sb=1,Tb='img',Ub='clear.cache.gif',Vb='baseUrl',Wb='script',Xb='client.nocache.js',Yb='base',Zb='//',$b='meta',_b='name',ac='gwt:property',bc='content',cc='=',dc='gwt:onPropertyErrorFn',ec='Bad handler "',fc='" for "gwt:onPropertyErrorFn"',gc='gwt:onLoadErrorFn',hc='" for "gwt:onLoadErrorFn"',ic='user.agent',jc='webkit',kc='safari',lc='msie',mc=10,nc=11,oc='ie10',pc=9,qc='ie9',rc=8,sc='ie8',tc='gecko',uc='gecko1_8',vc=2,wc=3,xc=4,yc='Single-script hosted mode not yet implemented. See issue ',zc='http://code.google.com/p/google-web-toolkit/issues/detail?id=2079',Ac='54E807181CC95598D9E4541FB4E73A76',Bc=':1',Cc=':',Dc='DOMContentLoaded',Ec=50;var l=Jb,m=Kb,n=Lb,o=Mb,p=Nb,q=Ob,r=Pb,s=Qb,t=Rb,u=Sb,v=Tb,w=Ub,A=Vb,B=Wb,C=Xb,D=Yb,F=Zb,G=$b,H=_b,I=ac,J=bc,K=cc,L=dc,M=ec,N=fc,O=gc,P=hc,Q=ic,R=jc,S=kc,T=lc,U=mc,V=nc,W=oc,X=pc,Y=qc,Z=rc,$=sc,_=tc,ab=uc,bb=vc,cb=wc,db=xc,eb=yc,fb=zc,gb=Ac,hb=Bc,ib=Cc,jb=Dc,kb=Ec;var lb=window,mb=document,nb,ob,pb=l,qb={},rb=[],sb=[],tb=[],ub=m,vb,wb;if(!lb.__gwt_stylesLoaded){lb.__gwt_stylesLoaded={}}if(!lb.__gwt_scriptsLoaded){lb.__gwt_scriptsLoaded={}}function xb(){var b=false;try{var c=lb.location.search;return (c.indexOf(n)!=-1||(c.indexOf(o)!=-1||lb.external&&lb.external.gwtOnLoad))&&c.indexOf(p)==-1}catch(a){}xb=function(){return b};return b} -function yb(){if(nb&&ob){nb(vb,q,pb,ub)}} -function zb(){function e(a){var b=a.lastIndexOf(r);if(b==-1){b=a.length}var c=a.indexOf(s);if(c==-1){c=a.length}var d=a.lastIndexOf(t,Math.min(c,b));return d>=m?a.substring(m,d+u):l} -function f(a){if(a.match(/^\w+:\/\//)){}else{var b=mb.createElement(v);b.src=a+w;a=e(b.src)}return a} -function g(){var a=Cb(A);if(a!=null){return a}return l} -function h(){var a=mb.getElementsByTagName(B);for(var b=m;bm){return a[a.length-u].href}return l} -function j(){var a=mb.location;return a.href==a.protocol+F+a.host+a.pathname+a.search+a.hash} -var k=g();if(k==l){k=h()}if(k==l){k=i()}if(k==l&&j()){k=e(mb.location.href)}k=f(k);return k} -function Ab(){var b=document.getElementsByTagName(G);for(var c=m,d=b.length;c=m){f=g.substring(m,i);h=g.substring(i+u)}else{f=g;h=l}qb[f]=h}}else if(f==L){g=e.getAttribute(J);if(g){try{wb=eval(g)}catch(a){alert(M+g+N)}}}else if(f==O){g=e.getAttribute(J);if(g){try{vb=eval(g)}catch(a){alert(M+g+P)}}}}}} -var Bb=function(a,b){return b in rb[a]};var Cb=function(a){var b=qb[a];return b==null?null:b};function Db(a,b){var c=tb;for(var d=m,e=a.length-u;d=U&&b=X&&b=Z&&b=V}())return ab;return S};rb[Q]={'gecko1_8':m,'ie10':u,'ie8':bb,'ie9':cb,'safari':db};client.onScriptLoad=function(a){client=null;nb=a;yb()};if(xb()){alert(eb+fb);return}zb();Ab();try{var Fb;Db([ab],gb);Db([S],gb+hb);Fb=tb[Eb(Q)];var Gb=Fb.indexOf(ib);if(Gb!=-1){ub=Number(Fb.substring(Gb+u))}}catch(a){return}var Hb;function Ib(){if(!ob){ob=true;yb();if(mb.removeEventListener){mb.removeEventListener(jb,Ib,false)}if(Hb){clearInterval(Hb)}}} -if(mb.addEventListener){mb.addEventListener(jb,function(){Ib()},false)}var Hb=setInterval(function(){if(/loaded|complete/.test(mb.readyState)){Ib()}},kb)} -client();(function () {var $gwt_version = "2.9.0";var $wnd = window;var $doc = $wnd.document;var $moduleName, $moduleBase;var $stats = $wnd.__gwtStatsEvent ? function(a) {$wnd.__gwtStatsEvent(a)} : null;var $strongName = '54E807181CC95598D9E4541FB4E73A76';function I(){} -function Ib(){} -function sk(){} -function ok(){} -function yk(){} -function Xk(){} -function Xl(){} -function gl(){} -function kl(){} -function kd(){} -function rd(){} -function Tl(){} -function Vl(){} -function Vn(){} -function Xn(){} -function Zn(){} -function qm(){} -function vm(){} -function Am(){} -function Cm(){} -function Mm(){} -function wo(){} -function yo(){} -function yp(){} -function Hp(){} -function wr(){} -function yr(){} -function Ar(){} -function Cr(){} -function _r(){} -function ds(){} -function ot(){} -function st(){} -function vt(){} -function Qt(){} -function zu(){} -function sv(){} -function wv(){} -function Lv(){} -function Uv(){} -function Bx(){} -function $x(){} -function ay(){} -function Oy(){} -function Sy(){} -function Xz(){} -function XH(){} -function sH(){} -function yH(){} -function FA(){} -function LB(){} -function lC(){} -function CD(){} -function gF(){} -function gI(){} -function iI(){} -function kI(){} -function BI(){} -function KI(){} -function Dz(){Az()} -function Nk(a,b){a.c=b} -function Ok(a,b){a.d=b} -function Pk(a,b){a.e=b} -function Rk(a,b){a.g=b} -function Sk(a,b){a.i=b} -function Tk(a,b){a.j=b} -function Uk(a,b){a.k=b} -function Vk(a,b){a.n=b} -function Wk(a,b){a.o=b} -function $t(a,b){a.b=b} -function AI(a,b){a.a=b} -function jb(a){this.a=a} -function Gb(a){this.a=a} -function Kb(a){this.a=a} -function Mb(a){this.a=a} -function Zc(a){this.a=a} -function _c(a){this.a=a} -function il(a){this.a=a} -function Dl(a){this.a=a} -function Fl(a){this.a=a} -function om(a){this.a=a} -function tm(a){this.a=a} -function ym(a){this.a=a} -function Gm(a){this.a=a} -function Im(a){this.a=a} -function Km(a){this.a=a} -function Om(a){this.a=a} -function Qm(a){this.a=a} -function tn(a){this.a=a} -function _n(a){this.a=a} -function eo(a){this.a=a} -function qo(a){this.a=a} -function Ao(a){this.a=a} -function Zo(a){this.a=a} -function ap(a){this.a=a} -function bp(a){this.a=a} -function hp(a){this.a=a} -function tp(a){this.a=a} -function vp(a){this.a=a} -function Ap(a){this.a=a} -function Cp(a){this.a=a} -function Ep(a){this.a=a} -function Ip(a){this.a=a} -function Op(a){this.a=a} -function _p(a){this.a=a} -function qq(a){this.a=a} -function br(a){this.a=a} -function dr(a){this.a=a} -function fr(a){this.a=a} -function or(a){this.a=a} -function rr(a){this.a=a} -function fs(a){this.a=a} -function ms(a){this.a=a} -function os(a){this.a=a} -function Cs(a){this.a=a} -function Gs(a){this.a=a} -function Ps(a){this.a=a} -function Xs(a){this.a=a} -function Zs(a){this.a=a} -function _s(a){this.a=a} -function As(a){this.c=a} -function _t(a){this.c=a} -function bt(a){this.a=a} -function dt(a){this.a=a} -function et(a){this.a=a} -function mt(a){this.a=a} -function Ft(a){this.a=a} -function Ot(a){this.a=a} -function St(a){this.a=a} -function Su(a){this.a=a} -function cu(a){this.a=a} -function eu(a){this.a=a} -function ru(a){this.a=a} -function xu(a){this.a=a} -function Wu(a){this.a=a} -function uv(a){this.a=a} -function $v(a){this.a=a} -function cw(a){this.a=a} -function gw(a){this.a=a} -function iw(a){this.a=a} -function kw(a){this.a=a} -function pw(a){this.a=a} -function ey(a){this.a=a} -function gy(a){this.a=a} -function uy(a){this.a=a} -function yy(a){this.a=a} -function Cy(a){this.a=a} -function Qy(a){this.a=a} -function Wy(a){this.a=a} -function Yy(a){this.a=a} -function dy(a){this.b=a} -function az(a){this.a=a} -function gz(a){this.a=a} -function iz(a){this.a=a} -function kz(a){this.a=a} -function mz(a){this.a=a} -function oz(a){this.a=a} -function vz(a){this.a=a} -function xz(a){this.a=a} -function Oz(a){this.a=a} -function Rz(a){this.a=a} -function Zz(a){this.a=a} -function _z(a){this.e=a} -function DA(a){this.a=a} -function HA(a){this.a=a} -function JA(a){this.a=a} -function JB(a){this.a=a} -function dB(a){this.a=a} -function sB(a){this.a=a} -function uB(a){this.a=a} -function wB(a){this.a=a} -function HB(a){this.a=a} -function ZB(a){this.a=a} -function rC(a){this.a=a} -function yD(a){this.a=a} -function AD(a){this.a=a} -function DD(a){this.a=a} -function sE(a){this.a=a} -function zF(a){this.a=a} -function MF(a){this.b=a} -function hG(a){this.c=a} -function XG(a){this.a=a} -function EI(a){this.a=a} -function yl(a){throw a} -function dk(a){return a.e} -function tk(){hq();lq()} -function Rb(a){Qb=a;Fc()} -function Pb(){this.a=tc()} -function Jk(){this.a=++Ik} -function hq(){hq=ok;gq=[]} -function kD(b,a){b.log(a)} -function lD(b,a){b.warn(a)} -function eD(b,a){b.data=a} -function Pu(a,b){b.pb(a)} -function ex(a,b){xx(b,a)} -function kx(a,b){wx(b,a)} -function ox(a,b){ax(b,a)} -function nA(a,b){lv(b,a)} -function it(a,b){gC(a.a,b)} -function WB(a){wA(a.a,a.b)} -function Uc(a){return a.Q()} -function Un(a){return zn(a)} -function dd(a){cd();bd.R(a)} -function us(a){ts(a)&&ws(a)} -function Gr(a){a.j||Hr(a.a)} -function jD(b,a){b.error(a)} -function iD(b,a){b.debug(a)} -function T(a,b){a.send(b)} -function hc(){Zb.call(this)} -function JD(){Zb.call(this)} -function HD(){hc.call(this)} -function zE(){hc.call(this)} -function rG(){hc.call(this)} -function RG(){hc.call(this)} -function AG(){AG=ok;zG=CG()} -function Az(){Az=ok;zz=Mz()} -function mc(){mc=ok;lc=new I} -function Mc(){Mc=ok;Lc=new Hp} -function Jt(){Jt=ok;It=new Qt} -function DH(){this.a=new sG} -function eA(){eA=ok;dA=new FA} -function Al(a){Qb=a;!!a&&Fc()} -function km(a){bm();this.a=a} -function $C(b,a){b.display=a} -function Rx(a,b){b.forEach(a)} -function Qk(a,b){a.f=b;ul=!b} -function Xb(a,b){a.e=b;Ub(a,b)} -function xA(a,b,c){a.Nb(c,b)} -function kn(a,b,c){en(a,c,b)} -function Sn(a,b,c){a.set(b,c)} -function ln(a,b){a.a.add(b.d)} -function qz(a){qx(a.b,a.a,a.c)} -function AA(a){zA.call(this,a)} -function aB(a){zA.call(this,a)} -function pB(a){zA.call(this,a)} -function FD(a){ic.call(this,a)} -function qE(a){ic.call(this,a)} -function rE(a){ic.call(this,a)} -function BE(a){ic.call(this,a)} -function AE(a){kc.call(this,a)} -function DE(a){qE.call(this,a)} -function GD(a){FD.call(this,a)} -function cF(a){FD.call(this,a)} -function iF(a){ic.call(this,a)} -function aF(){DD.call(this,'')} -function _E(){DD.call(this,'')} -function ik(){gk==null&&(gk=[])} -function zc(){zc=ok;!!(cd(),bd)} -function eF(){eF=ok;dF=new CD} -function vH(){vH=ok;uH=new yH} -function TD(a){SD(a);return a.j} -function OD(a){return QI(a),a} -function nE(a){return QI(a),a} -function Ob(a){return tc()-a.a} -function fF(a){return Md(a,5).e} -function $d(a,b){return ce(a,b)} -function ud(a,b){return _D(a,b)} -function $q(a,b){return a.a>b.a} -function wD(b,a){return a in b} -function vD(a){return Object(a)} -function vI(a,b,c){b.nb(fF(c))} -function lH(a,b,c){b.nb(a.a[c])} -function Nx(a,b,c){FB(Dx(a,c,b))} -function Nn(a,b){RB(new oo(b,a))} -function hx(a,b){RB(new wy(b,a))} -function ix(a,b){RB(new Ay(b,a))} -function im(a,b){++am;b.H(a,Zl)} -function pI(a,b){lI(a);a.a.hc(b)} -function fI(a,b){Md(a,87).Yb(b)} -function Mo(a,b){a.d?Oo(b):lm()} -function Cu(a,b){a.c.forEach(b)} -function DB(a,b){a.e||a.c.add(b)} -function aH(a,b){while(a.ic(b));} -function Qx(a,b){return Sm(a.b,b)} -function fA(a,b){return tA(a.a,b)} -function TA(a,b){return tA(a.a,b)} -function fB(a,b){return tA(a.a,b)} -function mx(a,b){return Ow(b.a,a)} -function uk(b,a){return b.exec(a)} -function vF(a){return a.a.c+a.b.c} -function mA(a){yA(a.a);return a.c} -function iA(a){yA(a.a);return a.g} -function EG(){AG();return new zG} -function Bw(b,a){uw();delete b[a]} -function Eb(a,b){tb.call(this,a,b)} -function jE(){ic.call(this,null)} -function ju(){this.a=new $wnd.Map} -function kC(){this.c=new $wnd.Map} -function tb(a,b){this.b=a;this.c=b} -function ml(a,b){this.b=a;this.a=b} -function bo(a,b){this.b=a;this.a=b} -function go(a,b){this.a=a;this.b=b} -function io(a,b){this.a=a;this.b=b} -function ko(a,b){this.a=a;this.b=b} -function mo(a,b){this.a=a;this.b=b} -function oo(a,b){this.a=a;this.b=b} -function Em(a,b){this.a=a;this.b=b} -function Zm(a,b){this.a=a;this.b=b} -function _m(a,b){this.a=a;this.b=b} -function pn(a,b){this.a=a;this.b=b} -function rn(a,b){this.a=a;this.b=b} -function ep(a,b){this.a=a;this.b=b} -function is(a,b){this.a=a;this.b=b} -function ks(a,b){this.a=a;this.b=b} -function jp(a,b){this.b=a;this.a=b} -function lp(a,b){this.b=a;this.a=b} -function Er(a,b){this.b=a;this.a=b} -function fu(a,b){this.b=a;this.a=b} -function tu(a,b){this.a=a;this.b=b} -function vu(a,b){this.a=a;this.b=b} -function Qu(a,b){this.a=a;this.b=b} -function Uu(a,b){this.a=a;this.b=b} -function Yu(a,b){this.a=a;this.b=b} -function aw(a,b){this.a=a;this.b=b} -function iy(a,b){this.b=a;this.a=b} -function ky(a,b){this.b=a;this.a=b} -function qy(a,b){this.b=a;this.a=b} -function wy(a,b){this.b=a;this.a=b} -function Ay(a,b){this.b=a;this.a=b} -function Ky(a,b){this.a=a;this.b=b} -function My(a,b){this.a=a;this.b=b} -function cz(a,b){this.a=a;this.b=b} -function tz(a,b){this.a=a;this.b=b} -function Hz(a,b){this.a=a;this.b=b} -function LA(a,b){this.a=a;this.b=b} -function SA(a,b){this.d=a;this.e=b} -function Jz(a,b){this.b=a;this.a=b} -function yB(a,b){this.a=a;this.b=b} -function XB(a,b){this.a=a;this.b=b} -function $B(a,b){this.a=a;this.b=b} -function Vp(a,b){tb.call(this,a,b)} -function JC(a,b){tb.call(this,a,b)} -function RC(a,b){tb.call(this,a,b)} -function cI(a,b){tb.call(this,a,b)} -function eI(a,b){this.a=a;this.b=b} -function yI(a,b){this.a=a;this.b=b} -function FI(a,b){this.b=a;this.a=b} -function gx(a,b,c){ux(a,b);Xw(c.e)} -function zt(a,b,c,d){yt(a,b.d,c,d)} -function HI(a,b,c){a.splice(b,0,c)} -function Iq(a,b){Aq(a,(Zq(),Xq),b)} -function GG(a,b){return a.a.get(b)} -function bn(a,b){return Rd(a.b[b])} -function $p(a,b){return Yp(b,Zp(a))} -function Qc(a){return !!a.b||!!a.g} -function ae(a){return typeof a===fJ} -function Lz(a){a.length=0;return a} -function fe(a){TI(a==null);return a} -function Jc(a){$wnd.clearTimeout(a)} -function Ak(a){$wnd.clearTimeout(a)} -function nD(b,a){b.clearTimeout(a)} -function mD(b,a){b.clearInterval(a)} -function Cz(a,b){GB(b);zz.delete(a)} -function SE(a,b){return a.substr(b)} -function oE(a){return ee((QI(a),a))} -function vG(a){this.a=EG();this.b=a} -function IG(a){this.a=EG();this.b=a} -function VF(a){this.a=null;this.b=a} -function de(a){return a==null?null:a} -function H(a,b){return de(a)===de(b)} -function jn(a,b){return a.a.has(b.d)} -function Pq(a,b){Aq(a,(Zq(),Yq),b.a)} -function YE(a,b){a.a+=''+b;return a} -function ZE(a,b){a.a+=''+b;return a} -function $E(a,b){a.a+=''+b;return a} -function tI(a,b,c){fI(b,c);return b} -function LE(a,b){return a.indexOf(b)} -function tD(a){return a&&a.valueOf()} -function uD(a){return a&&a.valueOf()} -function qF(a){return !a?null:a.dc()} -function TG(a){return a!=null?O(a):0} -function zk(a){$wnd.clearInterval(a)} -function Y(a){Gp((Mc(),Lc),new jb(a))} -function VG(){VG=ok;UG=new XG(null)} -function Nv(){Nv=ok;Mv=new $wnd.Map} -function uw(){uw=ok;tw=new $wnd.Map} -function ND(){ND=ok;LD=false;MD=true} -function Kc(){uc!=0&&(uc=0);yc=-1} -function Eq(a){!!a.b&&Nq(a,(Zq(),Wq))} -function Jq(a){!!a.b&&Nq(a,(Zq(),Xq))} -function Sq(a){!!a.b&&Nq(a,(Zq(),Yq))} -function Sb(a){a.i=wd(aj,vJ,28,0,0,1)} -function uI(a,b,c){AI(a,DI(b,a.a,c))} -function SH(a,b){if(IH){return}a.b=b} -function Hu(a,b){return a.i.delete(b)} -function Ju(a,b){return a.b.delete(b)} -function Ox(a,b,c){return Dx(a,c.a,b)} -function Mz(){return new $wnd.WeakMap} -function wA(a,b){return a.a.delete(b)} -function DI(a,b,c){return tI(a.a,b,c)} -function vl(a){ul&&iD($wnd.console,a)} -function xl(a){ul&&jD($wnd.console,a)} -function Bl(a){ul&&kD($wnd.console,a)} -function Cl(a){ul&&lD($wnd.console,a)} -function np(a){ul&&jD($wnd.console,a)} -function mr(a){this.a=a;yk.call(this)} -function bs(a){this.a=a;yk.call(this)} -function Ns(a){this.a=a;yk.call(this)} -function lt(a){this.a=new kC;this.c=a} -function $I(){$I=ok;XI=new I;ZI=new I} -function Jr(a){return jK in a?a[jK]:-1} -function XE(a){return a==null?AJ:rk(a)} -function Px(a,b){return Fn(a.b.root,b)} -function Cd(a,b,c){return {l:a,m:b,h:c}} -function aD(a,b,c,d){return UC(a,b,c,d)} -function WG(a,b){return a.a!=null?a.a:b} -function VA(a,b){yA(a.a);a.c.forEach(b)} -function gB(a,b){yA(a.a);a.b.forEach(b)} -function lx(a,b){var c;c=Ow(b,a);FB(c)} -function Tx(a){Gp((Mc(),Lc),new oz(a))} -function Rr(a){Gp((Mc(),Lc),new os(a))} -function fm(a){Gp((Mc(),Lc),new Km(a))} -function pq(a){Gp((Mc(),Lc),new qq(a))} -function bF(a){DD.call(this,(QI(a),a))} -function bG(){this.a=wd($i,vJ,1,0,5,1)} -function Zb(){Sb(this);Tb(this);this.O()} -function Ks(a){if(a.a){vk(a.a);a.a=null}} -function MI(a){if(!a){throw dk(new HD)}} -function NI(a){if(!a){throw dk(new RG)}} -function TI(a){if(!a){throw dk(new jE)}} -function EB(a){if(a.d||a.e){return}CB(a)} -function NH(a,b){if(IH){return}ZF(a.a,b)} -function Wd(a,b){return a!=null&&Ld(a,b)} -function bD(a,b){return a.appendChild(b)} -function cD(b,a){return b.appendChild(a)} -function NE(a,b){return a.lastIndexOf(b)} -function ME(a,b,c){return a.indexOf(b,c)} -function mm(a,b,c){bm();return a.set(c,b)} -function _C(d,a,b,c){d.setProperty(a,b,c)} -function TE(a,b,c){return a.substr(b,c-b)} -function WI(a){return a.$H||(a.$H=++VI)} -function uo(a){return ''+vo(so.sb()-a,3)} -function Yd(a){return typeof a==='number'} -function _d(a){return typeof a==='string'} -function qc(a){return a==null?null:a.name} -function Xd(a){return typeof a==='boolean'} -function sb(a){return a.b!=null?a.b:''+a.c} -function SD(a){if(a.j!=null){return}dE(a)} -function Nd(a){TI(a==null||Xd(a));return a} -function Od(a){TI(a==null||Yd(a));return a} -function Td(a){TI(a==null||_d(a));return a} -function Pd(a){TI(a==null||ae(a));return a} -function nm(a){bm();am==0?a.C():_l.push(a)} -function Is(a,b){b.a.b==(Up(),Tp)&&Ks(a)} -function hr(a,b){b.a.b==(Up(),Tp)&&kr(a,-1)} -function yA(a){var b;b=NB;!!b&&AB(b,a.b)} -function NA(a,b){_z.call(this,a);this.a=b} -function sI(a,b){nI.call(this,a);this.a=b} -function zA(a){this.a=new $wnd.Set;this.b=a} -function dn(){this.a=new $wnd.Map;this.b=[]} -function FH(a){this.a=a;eF();fk(Date.now())} -function RB(a){OB==null&&(OB=[]);OB.push(a)} -function SB(a){QB==null&&(QB=[]);QB.push(a)} -function fD(b,a){return b.createElement(a)} -function PD(a,b){return QI(a),de(a)===de(b)} -function JE(a,b){return QI(a),de(a)===de(b)} -function Ek(a,b){return $wnd.setTimeout(a,b)} -function ce(a,b){return a&&b&&a instanceof b} -function OE(a,b,c){return a.lastIndexOf(b,c)} -function Ac(a,b,c){return a.apply(b,c);var d} -function Dk(a,b){return $wnd.setInterval(a,b)} -function gd(a){cd();return parseInt(a)||-1} -function TH(a,b){if(IH){return}!!b&&(a.d=b)} -function pp(a,b){qp(a,b,Md(Hl(a.a,De),9).k)} -function ur(a,b,c){a.nb(wE(jA(Md(c.e,13),b)))} -function Ws(a,b,c){a.set(c,(yA(b.a),Td(b.g)))} -function Tc(a,b){a.b=Vc(a.b,[b,false]);Rc(a)} -function Wv(a){a.c?mD($wnd,a.d):nD($wnd,a.d)} -function yE(){yE=ok;xE=wd(Vi,vJ,23,256,0,1)} -function bm(){bm=ok;_l=[];Zl=new qm;$l=new vm} -function Mp(){this.b=(Up(),Rp);this.a=new kC} -function oy(a,b,c){this.b=a;this.c=b;this.a=c} -function my(a,b,c){this.c=a;this.b=b;this.a=c} -function Uy(a,b,c){this.c=a;this.b=b;this.a=c} -function sy(a,b,c){this.a=a;this.b=b;this.c=c} -function Ey(a,b,c){this.a=a;this.b=b;this.c=c} -function Gy(a,b,c){this.a=a;this.b=b;this.c=c} -function Iy(a,b,c){this.a=a;this.b=b;this.c=c} -function $y(a,b,c){this.b=a;this.a=b;this.c=c} -function rw(a,b,c){this.b=a;this.a=b;this.c=c} -function rz(a,b,c){this.b=a;this.a=b;this.c=c} -function ez(a,b,c){this.b=a;this.c=b;this.a=c} -function lb(a,b,c){this.a=a;this.c=b;this.b=c} -function NG(a,b,c){this.a=a;this.b=b;this.c=c} -function Qv(a,b,c){this.c=a;this.d=b;this.k=c} -function _q(a,b,c){tb.call(this,a,b);this.a=c} -function Ll(a,b,c){Kl(a,b,c.lb());a.b.set(b,c)} -function dD(c,a,b){return c.insertBefore(a,b)} -function ZC(b,a){return b.getPropertyValue(a)} -function pc(a){return a==null?null:a.message} -function Bk(a,b){return cJ(function(){a.U(b)})} -function Bu(a,b){a.i.add(b);return new Uu(a,b)} -function Au(a,b){a.b.add(b);return new Yu(a,b)} -function QH(a,b){if(!HH){return}RH(a,(vH(),b))} -function qD(a){if(a==null){return 0}return +a} -function Sd(a,b){TI(a==null||ce(a,b));return a} -function Md(a,b){TI(a==null||Ld(a,b));return a} -function ZD(a,b){var c;c=WD(a,b);c.e=2;return c} -function ZF(a,b){a.a[a.a.length]=b;return true} -function $F(a,b){OI(b,a.a.length);return a.a[b]} -function Bs(a,b){$wnd.navigator.sendBeacon(a,b)} -function pA(a,b){a.d=true;gA(a,b);SB(new HA(a))} -function GB(a){a.e=true;CB(a);a.c.clear();BB(a)} -function $G(a){VG();return !a?UG:new XG(QI(a))} -function on(a,b,c){return a.set(c,(yA(b.a),b.g))} -function mw(a,b){return nw(new pw(a),b,19,true)} -function YC(b,a){return b.getPropertyPriority(a)} -function kq(a){return $wnd.Vaadin.Flow.getApp(a)} -function yd(a){return Array.isArray(a)&&a.lc===sk} -function mG(a){return new sI(null,lG(a,a.length))} -function FG(a,b){return !(a.a.get(b)===undefined)} -function Vd(a){return !Array.isArray(a)&&a.lc===sk} -function Zd(a){return a!=null&&be(a)&&!(a.lc===sk)} -function dC(a,b){a.a==null&&(a.a=[]);a.a.push(b)} -function fC(a,b,c,d){var e;e=hC(a,b,c);e.push(d)} -function XC(a,b,c,d){a.removeEventListener(b,c,d)} -function Es(a,b){var c;c=ee(nE(Od(b.a)));Js(a,c)} -function Uq(a,b){this.a=a;this.b=b;yk.call(this)} -function Yt(a,b){this.a=a;this.b=b;yk.call(this)} -function Nt(a){Jt();this.c=[];this.a=It;this.d=a} -function ic(a){Sb(this);this.g=a;Tb(this);this.O()} -function Vc(a,b){!a&&(a=[]);a[a.length]=b;return a} -function XD(a,b,c){var d;d=WD(a,b);hE(c,d);return d} -function av(a,b){var c;c=b;return Md(a.a.get(c),6)} -function Il(a,b,c){a.a.delete(c);a.a.set(c,b.lb())} -function Pn(a,b,c){return a.push(fA(c,new mo(c,b)))} -function lG(a,b){return bH(b,a.length),new mH(a,b)} -function be(a){return typeof a===dJ||typeof a===fJ} -function Fk(a){a.onreadystatechange=function(){}} -function wl(a){$wnd.setTimeout(function(){a.V()},0)} -function Xw(a){var b;b=a.a;Ku(a,null);Ku(a,b);Kv(a)} -function jm(a){++am;Mo(Md(Hl(a.a,Df),58),new Cm)} -function Qr(a,b){ku(Md(Hl(a.j,Ug),92),b['execute'])} -function gH(a,b){QI(b);while(a.c=0){a.a=new Ns(a);xk(a.a,b)}} -function nI(a){if(!a){this.b=null;new bG}else{this.b=a}} -function gs(a,b,c,d){this.a=a;this.d=b;this.b=c;this.c=d} -function Ls(a){this.b=a;Kp(Md(Hl(a,Of),12),new Ps(this))} -function Ct(a,b){var c;c=Md(Hl(a.a,Jg),36);Kt(c,b);Mt(c)} -function zq(a,b){rp(Md(Hl(a.c,Jf),25),'',b,'',null,null)} -function qp(a,b,c){rp(a,c.caption,c.message,b,c.url,null)} -function IE(a,b){SI(b,a.length);return a.charCodeAt(b)} -function Hc(a){$wnd.setTimeout(function(){throw a},0)} -function Jl(a){a.b.forEach(pk(Ao.prototype.H,Ao,[a]))} -function Vx(a){return PD((ND(),LD),iA(hB(Fu(a,0),wK)))} -function Wp(){Up();return Ad(ud(Nf,1),vJ,61,0,[Rp,Sp,Tp])} -function ar(){Zq();return Ad(ud(Tf,1),vJ,64,0,[Wq,Xq,Yq])} -function SC(){QC();return Ad(ud(yi,1),vJ,42,0,[OC,NC,PC])} -function dI(){bI();return Ad(ud(Qj,1),vJ,48,0,[ZH,_H,aI])} -function iv(a,b,c,d){dv(a,b)&&zt(Md(Hl(a.c,Fg),32),b,c,d)} -function gD(a,b,c,d){this.b=a;this.c=b;this.a=c;this.d=d} -function mC(a,b,c){this.a=a;this.d=b;this.c=null;this.b=c} -function mH(a,b){this.c=0;this.d=b;this.b=17488;this.a=a} -function UB(a,b){var c;c=NB;NB=a;try{b.C()}finally{NB=c}} -function Gn(a){var b;b=a.f;while(!!b&&!b.a){b=b.f}return b} -function Rd(a){TI(a==null||be(a)&&!(a.lc===sk));return a} -function Tb(a){if(a.k){a.e!==yJ&&a.O();a.i=null}return a} -function Wz(a){if(!Uz){return a}return $wnd.Polymer.dom(a)} -function pD(c,a,b){return c.setTimeout(cJ(a.Rb).bind(a),b)} -function Ud(a){return a.jc||Array.isArray(a)&&ud(pe,1)||pe} -function vr(a){sl('applyDefaultTheme',(ND(),a?true:false))} -function Tn(a,b,c,d,e){a.splice.apply(a,[b,c,d].concat(e))} -function Vo(a,b,c){this.a=a;this.c=b;this.b=c;yk.call(this)} -function Xo(a,b,c){this.a=a;this.c=b;this.b=c;yk.call(this)} -function To(a,b,c){this.b=a;this.d=b;this.c=c;this.a=new Pb} -function Iu(a,b){de(b.eb(a))===de((ND(),MD))&&a.b.delete(b)} -function oF(a,b){return b===a?'(this Map)':b==null?AJ:rk(b)} -function Yb(a,b){var c;c=TD(a.jc);return b==null?c:c+': '+b} -function oI(a,b){var c;return rI(a,new bG,(c=new EI(b),c))} -function RI(a,b){if(a<0||a>b){throw dk(new FD(jL+a+kL+b))}} -function OI(a,b){if(a<0||a>=b){throw dk(new FD(jL+a+kL+b))}} -function SI(a,b){if(a<0||a>=b){throw dk(new cF(jL+a+kL+b))}} -function WC(a,b){Vd(a)?a.db(b):(a.handleEvent(b),undefined)} -function ew(a,b){Qz(b).forEach(pk(iw.prototype.nb,iw,[a]))} -function bw(a,b){Qz(b).forEach(pk(gw.prototype.nb,gw,[a.a]))} -function qk(a){function b(){} -;b.prototype=a||{};return new b} -function bE(a){if(a.Xb()){return null}var b=a.i;return lk[b]} -function Lt(a){a.a=It;if(!a.b){return}ws(Md(Hl(a.d,pg),18))} -function px(a,b,c){return a.set(c,hA(hB(Fu(b.e,1),c),b.b[c]))} -function Tz(a,b,c,d){return a.splice.apply(a,[b,c].concat(d))} -function oD(c,a,b){return c.setInterval(cJ(a.Rb).bind(a),b)} -function Fb(){Db();return Ad(ud(ie,1),vJ,52,0,[Bb,Cb,Ab,zb])} -function KC(){IC();return Ad(ud(xi,1),vJ,43,0,[HC,FC,GC,EC])} -function cb(){return $wnd.vaadinPush&&$wnd.vaadinPush.SockJS} -function cq(a){a?($wnd.location=a):$wnd.location.reload(false)} -function VB(a){this.a=a;this.b=[];this.c=new $wnd.Set;CB(this)} -function sG(){this.a=new vG(this);this.b=new IG(this);qG(this)} -function ID(a,b){Sb(this);this.f=b;this.g=a;Tb(this);this.O()} -function wn(a,b){a.updateComplete.then(cJ(function(){b.V()}))} -function _D(a,b){var c=a.a=a.a||[];return c[b]||(c[b]=a.Sb(b))} -function qG(a){var b,c;c=a;b=c.$modCount|0;c.$modCount=b+1} -function pG(a,b){if(b.$modCount!=a.$modCount){throw dk(new rG)}} -function oA(a){if(a.c){a.d=true;qA(a,null,false);SB(new JA(a))}} -function vC(a){if(a.length>2){zC(a[0],'OS major');zC(a[1],WK)}} -function gA(a,b){if(!a.b&&a.c&&SG(b,a.g)){return}qA(a,b,true)} -function vs(a,b){!!a.b&&V(a.b)?$(a.b,b):Vt(Md(Hl(a.c,Pg),76),b)} -function qA(a,b,c){var d;d=a.g;a.c=c;a.g=b;vA(a.a,new PA(a,d,b))} -function ku(a,b){var c,d;for(c=0;c-1} -function ee(a){return Math.max(Math.min(a,2147483647),-2147483648)|0} -function Cc(b){zc();return function(){return Dc(b,this,arguments);var a}} -function tc(){if(Date.now){return Date.now()}return (new Date).getTime()} -function gu(a,b){if(b==null){debugger;throw dk(new JD)}return a.a.get(b)} -function hu(a,b){if(b==null){debugger;throw dk(new JD)}return a.a.has(b)} -function iB(a,b){if(!a.b.has(b)){return false}return mA(Md(a.b.get(b),13))} -function hH(a,b){QI(b);if(a.c>22&GJ;d=a<0?1048575:0;return Cd(b,c,d)} -function DF(a){var b;pG(a.d,a);NI(a.b);b=Md(a.a.ac(),45);a.b=CF(a);return b} -function rI(a,b,c){var d;lI(a);d=new BI;d.a=b;a.a.hc(new FI(d,c));return d.a} -function wd(a,b,c,d,e,f){var g;g=xd(e,d);e!=10&&Ad(ud(a,f),b,c,e,g);return g} -function qu(a){Md(Hl(a.a,Of),12).b==(Up(),Tp)||Lp(Md(Hl(a.a,Of),12),Tp)} -function Gq(a){kr(Md(Hl(a.c,_f),57),Md(Hl(a.c,De),9).d);Aq(a,(Zq(),Wq),null)} -function MC(){MC=ok;LC=ub((IC(),Ad(ud(xi,1),vJ,43,0,[HC,FC,GC,EC])))} -function Hv(){var a;Hv=ok;Gv=(a=[],a.push(new Bx),a.push(new Dz),a);Fv=new Lv} -function sx(a){var b;b=Wz(a);while(b.firstChild){b.removeChild(b.firstChild)}} -function Yz(a){this.a=new $wnd.Set;a.forEach(pk(Zz.prototype.nb,Zz,[this.a]))} -function jc(a){Sb(this);this.g=!a?null:Yb(a,a.N());this.f=a;Tb(this);this.O()} -function kc(a){Sb(this);Tb(this);this.e=a;Ub(this,a);this.g=a==null?AJ:rk(a)} -function mq(a){hq();!$wnd.WebComponents||$wnd.WebComponents.ready?jq(a):iq(a)} -function Kn(a,b){$wnd.customElements.whenDefined(a).then(function(){b.V()})} -function eq(a,b,c){c==null?Wz(a).removeAttribute(b):Wz(a).setAttribute(b,c)} -function _F(a,b,c){for(;ca||a>b){throw dk(new GD('fromIndex: 0, toIndex: '+a+', length: '+b))}} -function EE(a,b,c){if(a==null){debugger;throw dk(new JD)}this.a=FJ;this.d=a;this.b=b;this.c=c} -function kv(a,b,c,d,e){if(!$u(a,b)){debugger;throw dk(new JD)}Bt(Md(Hl(a.c,Fg),32),b,c,d,e)} -function jv(a,b,c,d,e,f){if(!$u(a,b)){debugger;throw dk(new JD)}At(Md(Hl(a.c,Fg),32),b,c,d,e,f)} -function dx(a,b,c,d){var e,f,g;g=c[xK];e="path='"+ob(g)+"'";f=new Ky(a,g);Ww(a,b,d,f,null,e)} -function fv(a,b){var c;if(b!=a.e){c=b.a;!!c&&(uw(),!!c[DK])&&Aw((uw(),c[DK]));nv(a,b);b.f=null}} -function tx(a,b){var c;c=Md(b.d.get(a),44);b.d.delete(a);if(!c){debugger;throw dk(new JD)}c.Cb()} -function Pw(a,b,c,d){var e;e=Fu(d,a);gB(e,pk(iy.prototype.H,iy,[b,c]));return fB(e,new ky(b,c))} -function aC(b,c,d){return cJ(function(){var a=Array.prototype.slice.call(arguments);d.yb(b,c,a)})} -function Xc(b,c){Mc();function d(){var a=cJ(Uc)(b);a&&$wnd.setTimeout(d,c)} -$wnd.setTimeout(d,c)} -function Sv(a,b,c){Nv();b==(eA(),dA)&&a!=null&&c!=null&&a.has(c)?Md(a.get(c),14).V():b.V()} -function qv(a,b){var c;if(Wd(a,27)){c=Md(a,27);ee((QI(b),b))==2?WA(c,(yA(c.a),c.c.length)):UA(c)}} -function VC(b){var c=b.handler;if(!c){c=cJ(function(a){WC(b,a)});c.listener=b;b.handler=c}return c} -function ek(a){var b;b=a.h;if(b==0){return a.l+a.m*IJ}if(b==1048575){return a.l+a.m*IJ-HJ}return a} -function ck(a){var b;if(Wd(a,5)){return a}b=a&&a.__java$exception;if(!b){b=new oc(a);dd(b)}return b} -function Yp(a,b){var c;if(a==null){return null}c=Xp('context://',b,a);c=Xp('base://','',c);return c} -function Xt(b){if(b.readyState!=1){return false}try{b.send();return true}catch(a){return false}} -function Mt(a){if(It!=a.a||a.c.length==0){return}a.b=true;a.a=new Ot(a);Gp((Mc(),Lc),new St(a))} -function Wt(a){this.a=a;UC($wnd,'beforeunload',new cu(this),false);gt(Md(Hl(a,Bg),16),new eu(this))} -function Jo(a,b){var c,d;c=new ap(a);d=new $wnd.Function(a);So(a,new hp(d),new jp(b,c),new lp(b,c))} -function uq(c,a){var b=c.getConfig(a);if(b===null||b===undefined){return null}else{return wE(b)}} -function Or(a,b){if(b==-1){return true}if(b==a.f+1){return true}if(a.f==-1){return true}return false} -function CF(a){if(a.a._b()){return true}if(a.a!=a.c){return false}a.a=new wG(a.d.a);return a.a._b()} -function PH(a){if(IH){return wd(Jj,hL,85,0,0,1)}return Md(aG(a.a,wd(Jj,hL,85,a.a.a.length,0,1)),327)} -function Hq(a,b,c){V(b)&&ht(Md(Hl(a.c,Bg),16));Mq(c)||Bq(a,'Invalid JSON from server: '+c,null)} -function Lq(a,b){rp(Md(Hl(a.c,Jf),25),'',b+' could not be loaded. Push will not work.','',null,null)} -function kr(a,b){ul&&kD($wnd.console,'Setting heartbeat interval to '+b+'sec.');a.a=b;ir(a)} -function Yc(b,c){Mc();var d=$wnd.setInterval(function(){var a=cJ(Uc)(b);!a&&$wnd.clearInterval(d)},c)} -function sD(c){return $wnd.JSON.stringify(c,function(a,b){if(a=='$H'){return undefined}return b},0)} -function jF(a,b){var c,d;QI(b);for(d=new EF(b.a);d.b;){c=DF(d);if(!yF(a,c)){return false}}return true} -function DC(a,b,c){var d,e;b<0?(e=0):(e=b);c<0||c>a.length?(d=a.length):(d=c);return a.substr(e,d-e)} -function yt(a,b,c,d){var e;e={};e[OJ]=rK;e[sK]=Object(b);e[rK]=c;!!d&&(e['data']=d,undefined);Ct(a,e)} -function Ad(a,b,c,d,e){e.jc=a;e.kc=b;e.lc=sk;e.__elementTypeId$=c;e.__elementTypeCategory$=d;return e} -function X(a,b,c){KE(b,'true')||KE(b,'false')?(a.a[c]=KE(b,'true'),undefined):(a.a[c]=b,undefined)} -function Wb(a){var b,c,d,e;for(b=(a.i==null&&(a.i=(cd(),e=bd.S(a),ed(e))),a.i),c=0,d=b.length;c-129&&a<128){b=a+128;c=(yE(),xE)[b];!c&&(c=xE[b]=new sE(a));return c}return new sE(a)} -function Kv(a){var b,c;c=Jv(a);b=a.a;if(!a.a){b=c.Gb(a);if(!b){debugger;throw dk(new JD)}Ku(a,b)}Iv(a,b);return b} -function oG(a){var b,c,d;d=1;for(c=new hG(a);c.a0){c=Md(a.b.splice(0,1)[0],13);mn(c,b)||lv(Md(Hl(a.c,Zg),10),c);TB()}} -function Fq(a,b){var c;if(b.a.b==(Up(),Tp)){if(a.b){yq(a);c=Md(Hl(a.c,Of),12);c.b!=Tp&&Lp(c,Tp)}!!a.d&&!!a.d.f&&vk(a.d)}} -function Bq(a,b,c){var d,e;c&&(e=c.b);rp(Md(Hl(a.c,Jf),25),'',b,'',null,null);d=Md(Hl(a.c,Of),12);d.b!=(Up(),Tp)&&Lp(d,Tp)} -function jq(a){var b,c,d,e;b=(e=new Xk,e.a=a,nq(e,kq(a)),e);c=new al(b);gq.push(c);d=kq(a).getConfig('uidl');_k(c,d)} -function mn(a,b){var c,d;c=Sd(b.get(a.e.e.d),$wnd.Map);if(c!=null&&c.has(a.f)){d=c.get(a.f);pA(a,d);return true}return false} -function HG(a,b,c){var d;d=a.a.get(b);a.a.set(b,c===undefined?null:c);if(d===undefined){++a.c;qG(a.b)}else{++a.d}return d} -function OH(a){var b,c;if(a.b){return a.b}c=IH?null:a.d;while(c){b=IH?null:c.b;if(b){return b}c=IH?null:c.d}return vH(),uH} -function rk(a){var b;if(Array.isArray(a)&&a.lc===sk){return TD(M(a))+'@'+(b=O(a)>>>0,b.toString(16))}return a.toString()} -function Mw(a,b){var c,d;c=Eu(b,11);for(d=0;d<(yA(c.a),c.c.length);d++){Wz(a).classList.add(Td(c.c[d]))}return TA(c,new gz(a))} -function Zp(a){var b,c;b=Md(Hl(a.a,De),9).b;c='/'.length;if(!JE(b.substr(b.length-c,c),'/')){debugger;throw dk(new JD)}return b} -function yw(a,b){if(typeof a.get===fJ){var c=a.get(b);if(typeof c===dJ&&typeof c[WJ]!==sJ){return {nodeId:c[WJ]}}}return null} -function Aw(c){uw();var b=c['}p'].promises;b!==undefined&&b.forEach(function(a){a[1](Error('Client is resynchronizing'))})} -function Ic(a,b){zc();var c;c=Qb;if(c){if(c==wc){return}c.I(a);return}if(b){Hc(Wd(a,31)?Md(a,31).P():a)}else{eF();Vb(a,dF,'')}} -function Dn(a){var b;if(xn==null){return}b=Sd(xn.get(a),$wnd.Set);if(b!=null){xn.delete(a);b.forEach(pk(Zn.prototype.nb,Zn,[]))}} -function Tv(a,b,c,d){Nv();JE(HK,a)?c.forEach(pk(kw.prototype.H,kw,[d])):Qz(c).forEach(pk(Uv.prototype.nb,Uv,[]));Yx(b.b,b.c,b.a,a)} -function rb(a){qb();a[nJ]=Td(nF(pb,a[nJ],a[nJ]));a[uJ]=Td(nF(pb,a[uJ],a[uJ]));a.transports=[a.transport,a.fallbackTransport]} -function _v(a){if(a.a.b){Tv(IK,a.a.b,a.a.a,null);if(a.b.has(HK)){a.a.g=a.a.b;a.a.i=a.a.a}a.a.b=null;a.a.a=null}else{Pv(a.a)}} -function Zv(a){if(a.a.b){Tv(HK,a.a.b,a.a.a,a.a.j);a.a.b=null;a.a.a=null;a.a.j=null}else !!a.a.g&&Tv(HK,a.a.g,a.a.i,null);Pv(a.a)} -function rl(){return /iPad|iPhone|iPod/.test(navigator.platform)||navigator.platform==='MacIntel'&&navigator.maxTouchPoints>1} -function ql(){this.a=new BC($wnd.navigator.userAgent);this.a.b?'ontouchstart' in window:this.a.f?!!navigator.msMaxTouchPoints:pl()} -function No(a){this.b=new $wnd.Set;this.a=new $wnd.Map;this.d=!!($wnd.HTMLImports&&$wnd.HTMLImports.whenReady);this.c=a;Go(this)} -function Tq(a){this.c=a;Kp(Md(Hl(a,Of),12),new br(this));UC($wnd,'offline',new dr(this),false);UC($wnd,'online',new fr(this),false)} -function IC(){IC=ok;HC=new JC('STYLESHEET',0);FC=new JC('JAVASCRIPT',1);GC=new JC('JS_MODULE',2);EC=new JC('DYNAMIC_IMPORT',3)} -function Dt(a,b,c,d,e){var f;f={};f[OJ]='mSync';f[sK]=vD(b.d);f['feature']=Object(c);f['property']=d;f[TJ]=e==null?null:e;Ct(a,f)} -function fl(a,b,c){var d;if(a==c.d){d=new $wnd.Function('callback','callback();');d.call(null,b);return ND(),true}return ND(),false} -function hB(a,b){var c;c=Md(a.b.get(b),13);if(!c){c=new rA(b,a,JE('innerHTML',b)&&a.d==1);a.b.set(b,c);vA(a.a,new NA(a,c))}return c} -function gE(a,b){var c=0;while(!b[c]||b[c]==''){c++}var d=b[c++];for(;c3.4028234663852886E38){return Infinity}else if(b<-3.4028234663852886E38){return -Infinity}return b} -function QD(a){if(a>=48&&a<48+$wnd.Math.min(10,10)){return a-48}if(a>=97&&a<97){return a-97+10}if(a>=65&&a<65){return a-65+10}return -1} -function jd(){if(Error.stackTraceLimit>0){$wnd.Error.stackTraceLimit=Error.stackTraceLimit=64;return true}return 'stack' in new Error} -function Uw(a){var b;b=Td(iA(hB(Fu(a,0),'tag')));if(b==null){debugger;throw dk(new KD('New child must have a tag'))}return fD($doc,b)} -function Rw(a){var b;if(!a.b){debugger;throw dk(new KD('Cannot bind shadow root to a Node'))}b=Fu(a.e,20);Jw(a);return fB(b,new vz(a))} -function Wm(a,b){var c,d;d=Fu(a,1);if(!a.a){Kn(Td(iA(hB(Fu(a,0),'tag'))),new Zm(a,b));return}for(c=0;cd&&zd(b,d,null);return b} -function vx(a,b){var c,d;d=hB(b,OK);yA(d.a);d.c||pA(d,a.getAttribute(OK));c=hB(b,PK);Ln(a)&&(yA(c.a),!c.c)&&!!a.style&&pA(c,a.style.display)} -function KE(a,b){QI(a);if(b==null){return false}if(JE(a,b)){return true}return a.length==b.length&&JE(a.toLowerCase(),b.toLowerCase())} -function Nq(a,b){if(a.b!=b){return}a.b=null;a.a=0;tl('connected');ul&&($wnd.console.log('Re-established connection to server'),undefined)} -function Bt(a,b,c,d,e){var f;f={};f[OJ]='attachExistingElementById';f[sK]=vD(b.d);f[tK]=Object(c);f[uK]=Object(d);f['attachId']=e;Ct(a,f)} -function fw(a,b){if(b.e){!!b.b&&Tv(HK,b.b,b.a,null)}else{Tv(IK,b.b,b.a,null);Yv(b.f,ee(b.k))}if(b.b){ZF(a,b.b);b.b=null;b.a=null;b.j=null}} -function aJ(a){$I();var b,c,d;c=':'+a;d=ZI[c];if(d!=null){return ee((QI(d),d))}d=XI[c];b=d==null?_I(a):ee((QI(d),d));bJ();ZI[c]=b;return b} -function O(a){return _d(a)?aJ(a):Yd(a)?ee((QI(a),a)):Xd(a)?(QI(a),a)?1231:1237:Vd(a)?a.r():yd(a)?WI(a):!!a&&!!a.hashCode?a.hashCode():WI(a)} -function Kl(a,b,c){if(a.a.has(b)){debugger;throw dk(new KD((SD(b),'Registry already has a class of type '+b.j+' registered')))}a.a.set(b,c)} -function Iv(a,b){Hv();var c;if(a.g.f){debugger;throw dk(new KD('Binding state node while processing state tree changes'))}c=Jv(a);c.Fb(a,b,Fv)} -function bA(a,b,c,d,e){this.e=a;if(c==null){debugger;throw dk(new JD)}if(d==null){debugger;throw dk(new JD)}this.c=b;this.d=c;this.a=d;this.b=e} -function jr(a){vk(a.c);ul&&($wnd.console.debug('Sending heartbeat request...'),undefined);oC(a.d,null,'text/plain; charset=utf-8',new or(a))} -function Um(a,b,c,d){var e,f;if(!d){f=Md(Hl(a.g.c,df),60);e=Md(f.a.get(c),23);if(!e){f.b[b]=c;f.a.set(c,wE(b));return wE(b)}return e}return d} -function Ix(a,b){var c,d;while(b!=null){for(c=a.length-1;c>-1;c--){d=Md(a[c],6);if(b.isSameNode(d.a)){return d.d}}b=Wz(b.parentNode)}return -1} -function Xm(a,b,c){var d;if(Vm(a.a,c)){d=Md(a.e.get(Rh),82);if(!d||!d.a.has(c)){return}hA(hB(b,c),a.a[c]).V()}else{iB(b,c)||pA(hB(b,c),null)}} -function en(a,b,c){var d,e;e=av(Md(Hl(a.c,Zg),10),ee((QI(b),b)));if(e.c.has(1)){d=new $wnd.Map;gB(Fu(e,1),pk(tn.prototype.H,tn,[d]));c.set(b,d)}} -function hC(a,b,c){var d,e;e=Sd(a.c.get(b),$wnd.Map);if(e==null){e=new $wnd.Map;a.c.set(b,e)}d=Qd(e.get(c));if(d==null){d=[];e.set(c,d)}return d} -function Hx(a){var b;Fw==null&&(Fw=new $wnd.Map);b=Pd(Fw.get(a));if(b==null){b=Pd(new $wnd.Function(rK,KK,'return ('+a+')'));Fw.set(a,b)}return b} -function Xr(){if($wnd.performance&&$wnd.performance.timing){return (new Date).getTime()-$wnd.performance.timing.responseStart}else{return -1}} -function ow(a,b,c,d){var e,f,g,h,i;i=Rd(a.lb());h=d.d;for(g=0;g=1000?'error':d>=900?'warn':d>=800?'info':'log');JI(c,a.a)} -function Ld(a,b){if(_d(a)){return !!Kd[b]}else if(a.kc){return !!a.kc[b]}else if(Yd(a)){return !!Jd[b]}else if(Xd(a)){return !!Id[b]}return false} -function K(a,b){return _d(a)?JE(a,b):Yd(a)?(QI(a),de(a)===de(b)):Xd(a)?PD(a,b):Vd(a)?a.p(b):yd(a)?H(a,b):!!a&&!!a.equals?a.equals(b):de(a)===de(b)} -function yC(a){var b,c;a.length>=1&&zC(a[0],'OS major');if(a.length>=2){b=LE(a[1],VE(45));if(b>-1){c=a[1].substr(0,b-0);zC(c,WK)}else{zC(a[1],WK)}}} -function nv(a,b){if(!$u(a,b)){debugger;throw dk(new JD)}if(b==a.e){debugger;throw dk(new KD("Root node can't be unregistered"))}a.a.delete(b.d);Lu(b)} -function $u(a,b){if(!b){debugger;throw dk(new KD(AK))}if(b.g!=a){debugger;throw dk(new KD(BK))}if(b!=av(a,b.d)){debugger;throw dk(new KD(CK))}return true} -function Dx(a,b,c){var d,e;e=b.f;if(c.has(e)){debugger;throw dk(new KD("There's already a binding for "+e))}d=new VB(new qy(a,b));c.set(e,d);return d} -function Ku(a,b){var c;if(!(!a.a||!b)){debugger;throw dk(new KD('StateNode already has a DOM node'))}a.a=b;c=Nz(a.b);c.forEach(pk(Wu.prototype.nb,Wu,[a]))} -function Hl(a,b){if(!a.a.has(b)){debugger;throw dk(new KD((SD(b),'Tried to lookup type '+b.j+' but no instance has been registered')))}return a.a.get(b)} -function zC(b,c){var d;try{return mE(b)}catch(a){a=ck(a);if(Wd(a,7)){d=a;eF();c+' version parsing failed for: '+b+' '+d.N()}else throw dk(a)}return -1} -function Vb(a,b,c){var d,e,f,g,h;Wb(a);for(e=(a.j==null&&(a.j=wd(fj,vJ,5,0,0,1)),a.j),f=0,g=e.length;f0?dC(a,new mC(a,b,c)):(d=hC(a,b,null),d.push(c));return new lC} -function Cn(a,b){var c,d,e,f,g;f=a.f;d=a.e.e;g=Gn(d);if(!g){Cl(XJ+d.d+YJ);return}c=zn((yA(a.a),a.g));if(Mn(g.a)){e=In(g,d,f);e!=null&&Sn(g.a,e,c);return}b[f]=c} -function ir(a){if(a.a>0){vl('Scheduling heartbeat in '+a.a+' seconds');wk(a.c,a.a*1000)}else{ul&&($wnd.console.debug('Disabling heartbeat'),undefined);vk(a.c)}} -function Rs(a){var b,c,d,e;b=hB(Fu(Md(Hl(a.a,Zg),10).e,5),'parameters');e=(yA(b.a),Md(b.g,6));d=Fu(e,6);c=new $wnd.Map;gB(d,pk(bt.prototype.H,bt,[c]));return c} -function Ww(a,b,c,d,e,f){var g,h;if(!zx(a.e,b,e,f)){return}g=Rd(d.lb());if(Ax(g,b,e,f,a)){if(!c){h=Md(Hl(b.g.c,ff),51);h.a.add(b.d);gn(h)}Ku(b,g);Kv(b)}c||TB()} -function lv(a,b){var c,d;if(!b){debugger;throw dk(new JD)}d=b.e;c=d.e;if(hn(Md(Hl(a.c,ff),51),b)||!dv(a,c)){return}Dt(Md(Hl(a.c,Fg),32),c,d.d,b.f,(yA(b.a),b.g))} -function Do(){var a,b,c,d;b=$doc.head.childNodes;c=b.length;for(d=0;d=0;d--){if(JE(a[d].d,b)||JE(a[d].d,c)){a.length>=d+1&&a.splice(0,d+1);break}}return a} -function At(a,b,c,d,e,f){var g;g={};g[OJ]='attachExistingElement';g[sK]=vD(b.d);g[tK]=Object(c);g[uK]=Object(d);g['attachTagName']=e;g['attachIndex']=Object(f);Ct(a,g)} -function Mn(a){var b=typeof $wnd.Polymer===fJ&&$wnd.Polymer.Element&&a instanceof $wnd.Polymer.Element;var c=a.constructor.polymerElementVersion!==undefined;return b||c} -function nw(a,b,c,d){var e,f,g,h;h=Eu(b,c);yA(h.a);if(h.c.length>0){f=Rd(a.lb());for(e=0;e<(yA(h.a),h.c.length);e++){g=Td(h.c[e]);vw(f,g,b,d)}}return TA(h,new rw(a,b,d))} -function Gx(a,b){var c,d,e,f,g;c=Wz(b).childNodes;for(e=0;e but none was found. Appending instead."),undefined);dD($doc.head,a,b)} -function MH(a,b){var c,d,e,f,g,h,i;for(d=PH(a),f=0,h=d.length;fd&&(SI(b-1,a.length),a.charCodeAt(b-1)<=32)){--b}return d>0||b=65536){b=55296+(a-65536>>10&1023)&65535;c=56320+(a-65536&1023)&65535;return String.fromCharCode(b)+(''+String.fromCharCode(c))}else{return String.fromCharCode(a&65535)}} -function Ec(a){a&&Oc((Mc(),Lc));--uc;if(uc<0){debugger;throw dk(new KD('Negative entryDepth value at exit '+uc))}if(a){if(uc!=0){debugger;throw dk(new KD('Depth not 0'+uc))}if(yc!=-1){Jc(yc);yc=-1}}} -function bC(a,b){var c,d,e,f;if(rD(b)==1){c=b;f=ee(uD(c[0]));switch(f){case 0:{e=ee(uD(c[1]));return d=e,Md(a.a.get(d),6)}case 1:case 2:return null;default:throw dk(new qE(UK+sD(c)));}}else{return null}} -function Ko(a,b,c,d,e){var f,g,h;h=bq(b);f=new ap(h);if(a.b.has(h)){!!c&&c.F(f);return}if(Po(h,c,a.a)){g=$doc.createElement(bK);g.src=h;g.type=e;g.async=false;g.defer=d;Qo(g,new bp(a),f);cD($doc.head,g)}} -function lr(a){this.c=new mr(this);this.b=a;kr(this,Md(Hl(a,De),9).d);this.d=Md(Hl(a,De),9).i;this.d=TC(this.d,'v-r=heartbeat');this.d=TC(this.d,hJ+(''+Md(Hl(a,De),9).n));Kp(Md(Hl(a,Of),12),new rr(this))} -function Wx(a,b,c,d,e){var f,g,h,i,j,k,l;f=false;for(i=0;i2000){xc=a;yc=$wnd.setTimeout(Kc,10)}}if(uc++==0){Nc((Mc(),Lc));return true}return false} -function Zk(f,b,c){var d=f;var e=$wnd.Vaadin.Flow.clients[b];e.isActive=cJ(function(){return d.cb()});e.getVersionInfo=cJ(function(a){return {'flow':c}});e.debug=cJ(function(){var a=d.a;return a.jb().Db().Ab()})} -function Nr(a){var b,c,d,e;if(a.g.length==0){return false}e=-1;for(b=0;b=f&&(SI(b,a.length),a.charCodeAt(b)!=32)){--b}if(b==f){return}d=a.substr(b+1,c-(b+1));e=RE(d,'\\.');vC(e)} -function iu(a,b){var c,d,e,f,g,h;if(!b){debugger;throw dk(new JD)}for(d=(g=xD(b),g),e=0,f=d.length;e=0;d--){$E((g.a+=i,g),Td(c[d]));i='.'}return g.a} -function ab(a,b){var c,d,e,f,g;if(cb()){Y(b.a)}else{f=(Md(Hl(a.c,De),9).f?(e='vaadinPushSockJS-min.js'):(e='vaadinPushSockJS.js'),'VAADIN/static/push/'+e);ul&&kD($wnd.console,'Loading sockJS '+f);d=Md(Hl(a.c,Df),58);g=Md(Hl(a.c,De),9).b+f;c=new lb(a,f,b);Ko(d,g,c,false,jJ)}} -function cC(a,b){var c,d,e,f,g,h;if(rD(b)==1){c=b;h=ee(uD(c[0]));switch(h){case 0:{g=ee(uD(c[1]));d=(f=g,Md(a.a.get(f),6)).a;return d}case 1:return e=Qd(c[1]),e;case 2:return aC(ee(uD(c[1])),ee(uD(c[2])),Md(Hl(a.c,Fg),32));default:throw dk(new qE(UK+sD(c)));}}else{return b}} -function Kr(a,b){var c,d,e,f,g;ul&&($wnd.console.log('Handling dependencies'),undefined);c=new $wnd.Map;for(e=(QC(),Ad(ud(yi,1),vJ,42,0,[OC,NC,PC])),f=0,g=e.length;fa.a){a.a==0?ul&&kD($wnd.console,'Updating client-to-server id to '+b+' based on server'):Cl('Server expects next client-to-server id to be '+b+' but we were going to use '+a.a+'. Will use '+b+'.');a.a=b}} -function Lo(a,b,c){var d,e,f;f=bq(b);d=new ap(f);if(a.b.has(f)){!!c&&c.F(d);return}if(Po(f,c,a.a)){e=$doc.createElement('link');e.rel=cK;e.type='text/css';e.href=f;if((!ol&&(ol=new ql),ol).a.k||rl()){Yc((Mc(),new To(a,f,d)),10)}else{Qo(e,new ep(a,f),d);(!ol&&(ol=new ql),ol).a.j&&wk(new Vo(a,f,d),5000)}Co(e)}} -function R(a,b){if(!b){debugger;throw dk(new JD)}switch(a.e.c){case 0:a.e=(Db(),Ab);a.b=b;break;case 1:ul&&($wnd.console.log('Closing push connection'),undefined);a.d.close();a.e=(Db(),zb);b.C();break;case 2:case 3:throw dk(new rE('Can not disconnect more than once'));default:throw dk(new rE('Invalid state'));}} -function xx(a,b){var c,d,e,f,g,h;c=a.f;d=b.style;yA(a.a);if(a.c){h=(yA(a.a),Td(a.g));e=false;if(h.indexOf('!important')!=-1){f=fD($doc,b.tagName);g=f.style;g.cssText=c+': '+h+';';if(JE('important',YC(f.style,c))){_C(d,c,ZC(f.style,c),'important');e=true}}e||(d.setProperty(c,h),undefined)}else{d.removeProperty(c)}} -function wq(a){var b,c,d,e;kA((c=Fu(Md(Hl(Md(Hl(a.c,zg),37).a,Zg),10).e,9),hB(c,hK)))!=null&&sl('reconnectingText',kA((d=Fu(Md(Hl(Md(Hl(a.c,zg),37).a,Zg),10).e,9),hB(d,hK))));kA((e=Fu(Md(Hl(Md(Hl(a.c,zg),37).a,Zg),10).e,9),hB(e,iK)))!=null&&sl('offlineText',kA((b=Fu(Md(Hl(Md(Hl(a.c,zg),37).a,Zg),10).e,9),hB(b,iK))))} -function BG(){if(!Object.create||!Object.getOwnPropertyNames){return false}var a='__proto__';var b=Object.create(null);if(b[a]!==undefined){return false}var c=Object.getOwnPropertyNames(b);if(c.length!=0){return false}b[a]=42;if(b[a]!==42){return false}if(Object.getOwnPropertyNames(b).length==0){return false}return true} -function En(a,b){var c,d,e,f,g;c=Wz(a).children;e=-1;for(f=0;f0){k=$w(a,b);d=!k?null:Wz(k.a).nextSibling}else{d=null}for(g=0;g0){e=i.length;while(e>0&&i[e-1]==''){--e}e=9223372036854775807){return Hd(),Ed}e=false;if(a<0){e=true;a=-a}d=0;if(a>=HJ){d=ee(a/HJ);a-=d*HJ}c=0;if(a>=IJ){c=ee(a/IJ);a-=c*IJ}b=ee(a);f=Cd(b,c,d);e&&(g=~f.l+1&GJ,h=~f.m+(g==0?1:0)&GJ,i=~f.h+(g==0&&h==0?1:0)&1048575,f.l=g,f.m=h,f.h=i,undefined);return f} -function xq(a,b){if(Md(Hl(a.c,Of),12).b!=(Up(),Sp)){ul&&($wnd.console.warn('Trying to reconnect after application has been stopped. Giving up'),undefined);return}if(b){ul&&($wnd.console.log('Re-sending last message to the server...'),undefined);vs(Md(Hl(a.c,pg),18),b)}else{ul&&($wnd.console.log('Trying to re-establish server connection...'),undefined);jr(Md(Hl(a.c,_f),57))}} -function mE(a){var b,c,d,e,f;if(a==null){throw dk(new DE(AJ))}d=a.length;e=d>0&&(SI(0,a.length),a.charCodeAt(0)==45||(SI(0,a.length),a.charCodeAt(0)==43))?1:0;for(b=e;b2147483647){throw dk(new DE(dL+a+'"'))}return f} -function zx(a,b,c,d){var e,f,g,h,i;i=Eu(a,24);for(f=0;f<(yA(i.a),i.c.length);f++){e=Md(i.c[f],6);if(e==b){continue}if(JE((h=Fu(b,0),sD(Rd(iA(hB(h,xK))))),(g=Fu(e,0),sD(Rd(iA(hB(g,xK))))))){Cl('There is already a request to attach element addressed by the '+d+". The existing request's node id='"+e.d+"'. Cannot attach the same element twice.");kv(b.g,a,b.d,e.d,c);return false}}return true} -function qs(a){var b,c,d;d=Md(Hl(a.c,Jg),36);if(d.c.length==0&&a.d!=1){return}c=d.c;d.c=[];d.b=false;d.a=It;if(c.length==0&&a.d!=1){ul&&($wnd.console.warn('All RPCs filtered out, not sending anything to the server'),undefined);return}b={};if(a.d==1){a.d=2;ul&&($wnd.console.log('Resynchronizing from server'),undefined);b[kK]=Object(true)}tl('loading');kt(Md(Hl(a.c,Bg),16));vs(a,ss(a,c,b))} -function td(a,b){var c;switch(vd(a)){case 6:return _d(b);case 7:return Yd(b);case 8:return Xd(b);case 3:return Array.isArray(b)&&(c=vd(b),!(c>=14&&c<=16));case 11:return b!=null&&ae(b);case 12:return b!=null&&(typeof b===dJ||typeof b==fJ);case 0:return Ld(b,a.__elementTypeId$);case 2:return be(b)&&!(b.lc===sk);case 1:return be(b)&&!(b.lc===sk)||Ld(b,a.__elementTypeId$);default:return true;}} -function Sm(b,c){if(document.body.$&&document.body.$.hasOwnProperty&&document.body.$.hasOwnProperty(c)){return document.body.$[c]}else if(b.shadowRoot){return b.shadowRoot.getElementById(c)}else if(b.getElementById){return b.getElementById(c)}else if(c&&c.match('^[a-zA-Z0-9-_]*$')){return b.querySelector('#'+c)}else{return Array.from(b.querySelectorAll('[id]')).find(function(a){return a.id==c})}} -function Aq(a,b,c){var d;if(Md(Hl(a.c,Of),12).b!=(Up(),Sp)){return}tl('reconnecting');if(a.b){if($q(b,a.b)){ul&&lD($wnd.console,'Now reconnecting because of '+b+' failure');a.b=b}}else{a.b=b;ul&&lD($wnd.console,'Reconnecting because of '+b+' failure')}if(a.b!=b){return}++a.a;Bl('Reconnect attempt '+a.a+' for '+b);a.a>=jA((d=Fu(Md(Hl(Md(Hl(a.c,zg),37).a,Zg),10).e,9),hB(d,'reconnectAttempts')),10000)?yq(a):Oq(a,c)} -function Tm(a,b,c,d){var e,f,g,h,i,j,k,l,m,n,o,p,q,r;j=null;g=Wz(a.a).childNodes;o=new $wnd.Map;e=!b;i=-1;for(m=0;m=f){debugger;throw dk(new JD)}return g.length==0?null:g}else{return a}} -function Jx(a,b,c,d,e){var f,g,h;h=av(e,ee(a));if(!h.c.has(1)){return}if(!Ex(h,b)){debugger;throw dk(new KD('Host element is not a parent of the node whose property has changed. This is an implementation error. Most likely it means that there are several StateTrees on the same page (might be possible with portlets) and the target StateTree should not be passed into the method as an argument but somehow detected from the host element. Another option is that host element is calculated incorrectly.'))}f=Fu(h,1);g=hB(f,c);hA(g,d).V()} -function op(a,b,c,d){var e,f,g,h,i,j;h=$doc;j=h.createElement('div');j.className='v-system-error';if(a!=null){f=h.createElement('div');f.className='caption';f.textContent=a;j.appendChild(f);ul&&jD($wnd.console,a)}if(b!=null){i=h.createElement('div');i.className='message';i.textContent=b;j.appendChild(i);ul&&jD($wnd.console,b)}if(c!=null){g=h.createElement('div');g.className='details';g.textContent=c;j.appendChild(g);ul&&jD($wnd.console,c)}if(d!=null){e=h.querySelector(d);!!e&&bD(Rd(WG($G(e.shadowRoot),e)),j)}else{cD(h.body,j)}return j} -function nq(a,b){var c,d,e;c=vq(b,'serviceUrl');Wk(a,tq(b,'webComponentMode'));if(c==null){Sk(a,bq('.'));Mk(a,bq(vq(b,eK)))}else{a.i=c;Mk(a,bq(c+(''+vq(b,eK))))}Vk(a,uq(b,'v-uiId').a);Ok(a,uq(b,'heartbeatInterval').a);Pk(a,uq(b,'maxMessageSuspendTimeout').a);Tk(a,(d=b.getConfig(fK),d?d.vaadinVersion:null));e=b.getConfig(fK);sq();Uk(a,b.getConfig('sessExpMsg'));Qk(a,!tq(b,'debug'));Rk(a,tq(b,'requestTiming'));Nk(a,b.getConfig('webcomponents'));tq(b,'devToolsEnabled');vq(b,'liveReloadUrl');vq(b,'liveReloadBackend');vq(b,'springBootLiveReloadPort')} -function nd(a,b){var c,d,e,f,g,h,i,j,k;j='';if(b.length==0){return a.T(FJ,DJ,-1,-1)}k=UE(b);JE(k.substr(0,3),'at ')&&(k=k.substr(3));k=k.replace(/\[.*?\]/g,'');g=k.indexOf('(');if(g==-1){g=k.indexOf('@');if(g==-1){j=k;k=''}else{j=UE(k.substr(g+1));k=UE(k.substr(0,g))}}else{c=k.indexOf(')',g);j=k.substr(g+1,c-(g+1));k=UE(k.substr(0,g))}g=LE(k,VE(46));g!=-1&&(k=k.substr(g+1));(k.length==0||JE(k,'Anonymous function'))&&(k=DJ);h=NE(j,VE(58));e=OE(j,VE(58),h-1);i=-1;d=-1;f=FJ;if(h!=-1&&e!=-1){f=j.substr(0,e);i=gd(j.substr(e+1,h-(e+1)));d=gd(j.substr(h+1))}return a.T(f,k,i,d)} -function Sl(a,b){this.a=new $wnd.Map;this.b=new $wnd.Map;Kl(this,Ie,a);Kl(this,De,b);Kl(this,Df,new No(this));Kl(this,Pf,new _p(this));Kl(this,af,new km(this));Kl(this,Jf,new tp(this));Ll(this,Of,new Tl);Kl(this,Zg,new ov(this));Kl(this,Bg,new lt(this));Kl(this,ng,new Wr(this));Kl(this,pg,new As(this));Kl(this,Jg,new Nt(this));Kl(this,Fg,new Ft(this));Kl(this,Ug,new ru(this));Ll(this,Qg,new Vl);Ll(this,df,new Xl);Kl(this,ff,new nn(this));Kl(this,_f,new lr(this));Kl(this,Rf,new Tq(this));Kl(this,Pg,new Wt(this));Kl(this,xg,new Us(this));Kl(this,zg,new dt(this));Kl(this,tg,new Ls(this))} -function ob(b){var c=function(a){return typeof a!=sJ};var d=function(a){return a.replace(/\r\n/g,'')};if(c(b.outerHTML))return d(b.outerHTML);c(b.innerHTML)&&b.cloneNode&&$doc.createElement('div').appendChild(b.cloneNode(true)).innerHTML;if(c(b.nodeType)&&b.nodeType==3){return "'"+b.data.replace(/ /g,'\u25AB').replace(/\u00A0/,'\u25AA')+"'"}if(typeof c(b.htmlText)&&b.collapse){var e=b.htmlText;if(e){return 'IETextRange ['+d(e)+']'}else{var f=b.duplicate();f.pasteHTML('|');var g='IETextRange '+d(b.parentElement().outerHTML);f.moveStart('character',-1);f.pasteHTML('');return g}}return b.toString?b.toString():'[JavaScriptObject]'} -function Rn(a,b,c){var d,e,f;f=[];if(a.c.has(1)){if(!Wd(b,41)){debugger;throw dk(new KD('Received an inconsistent NodeFeature for a node that has a ELEMENT_PROPERTIES feature. It should be NodeMap, but it is: '+b))}e=Md(b,41);gB(e,pk(ko.prototype.H,ko,[f,c]));f.push(fB(e,new go(f,c)))}else if(a.c.has(16)){if(!Wd(b,27)){debugger;throw dk(new KD('Received an inconsistent NodeFeature for a node that has a TEMPLATE_MODELLIST feature. It should be NodeList, but it is: '+b))}d=Md(b,27);f.push(TA(d,new _n(c)))}if(f.length==0){debugger;throw dk(new KD('Node should have ELEMENT_PROPERTIES or TEMPLATE_MODELLIST feature'))}f.push(Bu(a,new eo(f)))} -function bb(a){var b,c,d,e;this.e=(Db(),Bb);this.c=a;Kp(Md(Hl(a,Of),12),new Gb(this));this.a={transport:iJ,fallbackTransport:kJ,transports:[iJ,kJ,lJ],reconnectInterval:5000,maxReconnectAttempts:10,timeout:5000};this.a['logLevel']='debug';Rs(Md(Hl(this.c,xg),49)).forEach(pk(Kb.prototype.H,Kb,[this]));rb(this.a);c=Ss(Md(Hl(this.c,xg),49));if(c==null||UE(c).length==0||JE('/',c)){this.g=mJ;d=Md(Hl(a,De),9).i;JE('.',d)||(e='/'.length,JE(d.substr(d.length-e,e),'/')||(d+='/'));this.g=d+(''+this.g)}else{b=Md(Hl(a,De),9).b;e='/'.length;JE(b.substr(b.length-e,e),'/')&&JE(c.substr(0,1),'/')&&(c=c.substr(1));this.g=b+(''+c)+mJ}ab(this,new Mb(this))} -function Ax(a,b,c,d,e){var f,g,h,i,j,k,l,m,n,o;l=e.e;o=Td(iA(hB(Fu(b,0),'tag')));h=false;if(!a){h=true;ul&&lD($wnd.console,QK+d+" is not found. The requested tag name is '"+o+"'")}else if(!(!!a&&KE(o,a.tagName))){h=true;Cl(QK+d+" has the wrong tag name '"+a.tagName+"', the requested tag name is '"+o+"'")}if(h){kv(l.g,l,b.d,-1,c);return false}if(!l.c.has(20)){return true}k=Fu(l,20);m=Md(iA(hB(k,LK)),6);if(!m){return true}j=Eu(m,2);g=null;for(i=0;i<(yA(j.a),j.c.length);i++){n=Md(j.c[i],6);f=n.a;if(K(f,a)){g=wE(n.d);break}}if(g){ul&&lD($wnd.console,QK+d+" has been already attached previously via the node id='"+g+"'");kv(l.g,l,b.d,g.a,c);return false}return true} -function nu(b,c,d,e){var f,g,h,i,j,k,l,m,n;if(c.length!=d.length+1){debugger;throw dk(new JD)}try{j=new ($wnd.Function.bind.apply($wnd.Function,[null].concat(c)));j.apply(lu(b,e,new xu(b)),d)}catch(a){a=ck(a);if(Wd(a,7)){i=a;wl(new Dl(i));ul&&($wnd.console.error('Exception is thrown during JavaScript execution. Stacktrace will be dumped separately.'),undefined);if(!Md(Hl(b.a,De),9).f){g=new bF('[');h='';for(l=c,m=0,n=l.length;m=b.length)return {done:true};var a=b[d++];return {value:[a,c.get(a)],done:false}}}};if(!BG()){e.prototype.createObject=function(){return {}};e.prototype.get=function(a){return this.obj[':'+a]};e.prototype.set=function(a,b){this.obj[':'+a]=b};e.prototype['delete']=function(a){delete this.obj[':'+a]};e.prototype.keys=function(){var a=[];for(var b in this.obj){b.charCodeAt(0)==58&&a.push(b.substring(1))}return a}}return e} -function ax(a,b){var c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,A,B,C,D,F,G;if(!b){debugger;throw dk(new JD)}f=b.b;t=b.e;if(!f){debugger;throw dk(new KD('Cannot handle DOM event for a Node'))}D=a.type;s=Fu(t,4);e=Md(Hl(t.g.c,Qg),59);i=Td(iA(hB(s,D)));if(i==null){debugger;throw dk(new JD)}if(!hu(e,i)){debugger;throw dk(new JD)}j=Rd(gu(e,i));p=(A=xD(j),A);B=new $wnd.Set;p.length==0?(g=null):(g={});for(l=p,m=0,n=l.length;m=0){g=b.substr(f+3);g=QE(g,_K,'$1');this.a=pE(g)}}else if(this.o){g=SE(b,b.indexOf('webkit/')+7);g=QE(g,aL,'$1');this.a=pE(g)}else if(this.n){g=SE(b,b.indexOf(YK)+8);g=QE(g,aL,'$1');this.a=pE(g);this.a>7&&(this.a=7)}else this.c&&(this.a=0)}catch(a){a=ck(a);if(Wd(a,7)){c=a;eF();'Browser engine version parsing failed for: '+b+' '+c.N()}else throw dk(a)}try{if(this.f){if(b.indexOf('msie')!=-1){if(this.n);else{e=SE(b,b.indexOf('msie ')+5);e=DC(e,0,LE(e,VE(59)));AC(e)}}else{f=b.indexOf('rv:');if(f>=0){g=b.substr(f+3);g=QE(g,_K,'$1');AC(g)}}}else if(this.d){d=b.indexOf(' firefox/')+9;AC(DC(b,d,d+5))}else if(this.b){wC(b)}else if(this.k){d=b.indexOf(' version/');if(d>=0){d+=9;AC(DC(b,d,d+5))}}else if(this.j){d=b.indexOf(' version/');d!=-1?(d+=9):(d=b.indexOf('opera/')+6);AC(DC(b,d,d+5))}else if(this.c){d=b.indexOf(' edge/')+6;b.indexOf(' edg/')!=-1?(d=b.indexOf(' edg/')+5):b.indexOf(ZK)!=-1?(d=b.indexOf(ZK)+6):b.indexOf($K)!=-1&&(d=b.indexOf($K)+8);AC(DC(b,d,d+8))}}catch(a){a=ck(a);if(Wd(a,7)){c=a;eF();'Browser version parsing failed for: '+b+' '+c.N()}else throw dk(a)}if(b.indexOf('windows ')!=-1){b.indexOf('windows phone')!=-1}else if(b.indexOf('android')!=-1){tC(b)}else if(b.indexOf('linux')!=-1);else if(b.indexOf('macintosh')!=-1||b.indexOf('mac osx')!=-1||b.indexOf('mac os x')!=-1){this.g=b.indexOf('ipad')!=-1;this.i=b.indexOf('iphone')!=-1;(this.g||this.i)&&xC(b)}else b.indexOf('; cros ')!=-1&&uC(b)} -var dJ='object',eJ='[object Array]',fJ='function',gJ='java.lang',hJ='v-uiId=',iJ='websocket',jJ='text/javascript',kJ='xhr-polling',lJ='xhr-streaming',mJ='VAADIN/push',nJ='transport',oJ='Received push (',pJ='com.github.mcollovati.vertx.vaadin.sockjs.client',qJ='com.vaadin.client',rJ={22:1},sJ='undefined',tJ='com.google.gwt.core.client',uJ='fallbackTransport',vJ={4:1},wJ={97:1},xJ={26:1},yJ='__noinit__',zJ={4:1,7:1,8:1,5:1},AJ='null',BJ='com.google.gwt.core.client.impl',CJ='Working array length changed ',DJ='anonymous',EJ='fnStack',FJ='Unknown',GJ=4194303,HJ=17592186044416,IJ=4194304,JJ='must be non-negative',KJ='must be positive',LJ='com.google.web.bindery.event.shared',MJ={71:1},NJ={30:1},OJ='type',PJ={47:1},QJ={14:1},RJ='constructor',SJ='properties',TJ='value',UJ='com.vaadin.client.flow.reactive',VJ={15:1},WJ='nodeId',XJ='Root node for node ',YJ=' could not be found',ZJ=' is not an Element',$J={69:1},_J={89:1},aK={46:1},bK='script',cK='stylesheet',dK='com.vaadin.flow.shared',eK='contextRootUrl',fK='versionInfo',gK='com.vaadin.client.communication',hK='dialogText',iK='dialogTextGaveUp',jK='syncId',kK='resynchronize',lK='Received message with server id ',mK='clientId',nK='Vaadin-Security-Key',oK='Vaadin-Push-ID',pK='sessionExpired',qK='pushServletMapping',rK='event',sK='node',tK='attachReqId',uK='attachAssignedId',vK='com.vaadin.client.flow',wK='bound',xK='payload',yK='subTemplate',zK={44:1},AK='Node is null',BK='Node is not created for this tree',CK='Node id is not registered with this tree',DK='$server',EK='feat',FK='remove',GK='com.vaadin.client.flow.binding',HK='trailing',IK='intermediate',JK='elemental.util',KK='element',LK='shadowRoot',MK='The HTML node for the StateNode with id=',NK='An error occurred when Flow tried to find a state node matching the element ',OK='hidden',PK='styleDisplay',QK='Element addressed by the ',RK='dom-repeat',SK='dom-change',TK='com.vaadin.client.flow.nodefeature',UK='Unsupported complex type in ',VK='com.vaadin.client.gwt.com.google.web.bindery.event.shared',WK='OS minor',XK=' headlesschrome/',YK='trident/',ZK=' edga/',$K=' edgios/',_K='(\\.[0-9]+).+',aL='([0-9]+\\.[0-9]+).*',bL='com.vaadin.flow.shared.ui',cL='java.io',dL='For input string: "',eL='java.util',fL={45:1},gL='java.util.logging',hL={4:1,327:1},iL='java.util.stream',jL='Index: ',kL=', Size: ',lL='user.agent';var _,lk,gk,bk=-1;$wnd.goog=$wnd.goog||{};$wnd.goog.global=$wnd.goog.global||$wnd;mk();nk(1,null,{},I);_.p=function J(a){return H(this,a)};_.q=function L(){return this.jc};_.r=function N(){return WI(this)};_.s=function P(){var a;return TD(M(this))+'@'+(a=O(this)>>>0,a.toString(16))};_.equals=function(a){return this.p(a)};_.hashCode=function(){return this.r()};_.toString=function(){return this.s()};var Id,Jd,Kd;nk(72,1,{72:1},UD);_.Sb=function VD(a){var b;b=new UD;b.e=4;a>1?(b.c=_D(this,a-1)):(b.c=this);return b};_.Tb=function $D(){SD(this);return this.b};_.Ub=function aE(){return TD(this)};_.Vb=function cE(){SD(this);return this.g};_.Wb=function eE(){return (this.e&4)!=0};_.Xb=function fE(){return (this.e&1)!=0};_.s=function iE(){return ((this.e&2)!=0?'interface ':(this.e&1)!=0?'':'class ')+(SD(this),this.j)};_.e=0;var RD=1;var $i=XD(gJ,'Object',1);var Ni=XD(gJ,'Class',72);nk(108,1,{},bb);_.t=function db(a){this.e=(Db(),Bb);Md(Hl(this.c,Rf),19);ul&&($wnd.console.log('Push connection closed'),undefined)};_.u=function eb(a){this.e=(Db(),zb);zq(Md(Hl(this.c,Rf),19),'Push connection using '+a[nJ]+' failed!')};_.v=function fb(a){var b,c;c=a['data'];b=Zr($r(c));if(!b){Hq(Md(Hl(this.c,Rf),19),this,c)}else{Bl(oJ+this.f+') message: '+c);Md(Hl(this.c,Of),12).b==(Up(),Tp)?Cl(oJ+this.f+') message, but ui is already terminated: '+c):Mr(Md(Hl(this.c,ng),24),b)}};_.w=function gb(a){QH(VH((SD(me),me.j)),'Push connection established using '+this.d.getTransport());Z(this,this.d)};_.A=function hb(a){this.e==(Db(),Cb)&&(this.e=Bb);Kq(Md(Hl(this.c,Rf),19),this)};_.B=function ib(a){QH(VH((SD(me),me.j)),'Push connection re-established using '+this.d.getTransport());Z(this,this.d)};var me=XD(pJ,'SockJSPushConnection',108);nk(252,1,{},jb);_.C=function kb(){Q(this.a)};var ge=XD(pJ,'SockJSPushConnection/0methodref$connect$Type',252);var xf=ZD(qJ,'ResourceLoader/ResourceLoadListener');nk(254,1,rJ,lb);_.D=function mb(a){Lq(Md(Hl(this.a.c,Rf),19),a.a)};_.F=function nb(a){if(cb()){Bl(this.c+' loaded');Y(this.b.a)}else{ul&&($wnd.console.log('SockJS not loaded???????'),undefined);Lq(Md(Hl(this.a.c,Rf),19),a.a)}};var he=XD(pJ,'SockJSPushConnection/1',254);var pe=XD(tJ,'JavaScriptObject$',0);var pb;nk(20,1,{4:1,29:1,20:1});_.p=function vb(a){return this===a};_.r=function wb(){return WI(this)};_.s=function xb(){return this.b!=null?this.b:''+this.c};_.c=0;var Pi=XD(gJ,'Enum',20);nk(52,20,{52:1,4:1,29:1,20:1},Eb);var zb,Ab,Bb,Cb;var ie=YD(pJ,'SockJSPushConnection/State',52,Fb);nk(251,1,wJ,Gb);_.G=function Hb(a){W(this.a,a)};var je=XD(pJ,'SockJSPushConnection/lambda$0$Type',251);var Ke=ZD(qJ,'Command');nk(250,1,xJ,Ib);_.C=function Jb(){};var ke=XD(pJ,'SockJSPushConnection/lambda$1$Type',250);nk(379,$wnd.Function,{},Kb);_.H=function Lb(a,b){X(this.a,Td(a),Td(b))};nk(253,1,xJ,Mb);_.C=function Nb(){Y(this.a)};var le=XD(pJ,'SockJSPushConnection/lambda$3$Type',253);nk(103,1,{},Pb);_.a=0;var ne=XD(tJ,'Duration',103);var Qb=null;nk(5,1,{4:1,5:1});_.J=function $b(a){return new Error(a)};_.K=function ac(){return this.e};_.L=function bc(){var a;return a=Md(oI(qI(mG((this.j==null&&(this.j=wd(fj,vJ,5,0,0,1)),this.j)),new gF),YH(new iI,new gI,new kI,Ad(ud(Qj,1),vJ,48,0,[(bI(),_H)]))),98),aG(a,wd($i,vJ,1,a.a.length,5,1))};_.M=function cc(){return this.f};_.N=function dc(){return this.g};_.O=function ec(){Xb(this,_b(this.J(Yb(this,this.g))));dd(this)};_.s=function gc(){return Yb(this,this.N())};_.e=yJ;_.k=true;var fj=XD(gJ,'Throwable',5);nk(7,5,{4:1,7:1,5:1});var Ri=XD(gJ,'Exception',7);nk(8,7,zJ,jc);var _i=XD(gJ,'RuntimeException',8);nk(55,8,zJ,kc);var Wi=XD(gJ,'JsException',55);nk(129,55,zJ);var re=XD(BJ,'JavaScriptExceptionBase',129);nk(31,129,{31:1,4:1,7:1,8:1,5:1},oc);_.N=function rc(){return nc(this),this.c};_.P=function sc(){return de(this.b)===de(lc)?null:this.b};var lc;var oe=XD(tJ,'JavaScriptException',31);nk(328,1,{});var qe=XD(tJ,'Scheduler',328);var uc=0,vc=false,wc,xc=0,yc=-1;nk(138,328,{});_.e=false;_.j=false;var Lc;var ue=XD(BJ,'SchedulerImpl',138);nk(139,1,{},Zc);_.Q=function $c(){this.a.e=true;Pc(this.a);this.a.e=false;return this.a.j=Qc(this.a)};var se=XD(BJ,'SchedulerImpl/Flusher',139);nk(140,1,{},_c);_.Q=function ad(){this.a.e&&Xc(this.a.f,1);return this.a.j};var te=XD(BJ,'SchedulerImpl/Rescuer',140);var bd;nk(338,1,{});var ye=XD(BJ,'StackTraceCreator/Collector',338);nk(130,338,{},kd);_.R=function ld(a){var b={},j;var c=[];a[EJ]=c;var d=arguments.callee.caller;while(d){var e=(cd(),d.name||(d.name=fd(d.toString())));c.push(e);var f=':'+e;var g=b[f];if(g){var h,i;for(h=0,i=g.length;h0){Fo(this.b,this.c);return false}else if(a==0){Eo(this.b,this.c);return true}else if(Ob(this.a)>60000){Eo(this.b,this.c);return false}else{return true}};var sf=XD(qJ,'ResourceLoader/1',196);nk(197,40,{},Vo);_.V=function Wo(){this.a.b.has(this.c)||Eo(this.a,this.b)};var tf=XD(qJ,'ResourceLoader/2',197);nk(201,40,{},Xo);_.V=function Yo(){this.a.b.has(this.c)?Fo(this.a,this.b):Eo(this.a,this.b)};var uf=XD(qJ,'ResourceLoader/3',201);nk(202,1,rJ,Zo);_.D=function $o(a){Eo(this.a,a)};_.F=function _o(a){Fo(this.a,a)};var vf=XD(qJ,'ResourceLoader/4',202);nk(63,1,{},ap);var wf=XD(qJ,'ResourceLoader/ResourceLoadEvent',63);nk(107,1,rJ,bp);_.D=function cp(a){Eo(this.a,a)};_.F=function dp(a){Fo(this.a,a)};var yf=XD(qJ,'ResourceLoader/SimpleLoadListener',107);nk(195,1,rJ,ep);_.D=function fp(a){Eo(this.a,a)};_.F=function gp(a){var b;if((!ol&&(ol=new ql),ol).a.b||(!ol&&(ol=new ql),ol).a.f||(!ol&&(ol=new ql),ol).a.c){b=Ro(this.b);if(b==0){Eo(this.a,a);return}}Fo(this.a,a)};var zf=XD(qJ,'ResourceLoader/StyleSheetLoadListener',195);nk(198,1,NJ,hp);_.lb=function ip(){return this.a.call(null)};var Af=XD(qJ,'ResourceLoader/lambda$0$Type',198);nk(199,1,QJ,jp);_.V=function kp(){this.b.F(this.a)};var Bf=XD(qJ,'ResourceLoader/lambda$1$Type',199);nk(200,1,QJ,lp);_.V=function mp(){this.b.D(this.a)};var Cf=XD(qJ,'ResourceLoader/lambda$2$Type',200);nk(25,1,{25:1},tp);var Jf=XD(qJ,'SystemErrorHandler',25);nk(171,1,{},vp);_.tb=function wp(a,b){var c;c=b;np(c.N())};_.ub=function xp(a){var b;Bl('Received xhr HTTP session resynchronization message: '+a.responseText);Jl(this.a.a);Lp(Md(Hl(this.a.a,Of),12),(Up(),Sp));b=Zr($r(a.responseText));Mr(Md(Hl(this.a.a,ng),24),b);Vk(Md(Hl(this.a.a,De),9),b['uiId']);Gp((Mc(),Lc),new Ap(this))};var Gf=XD(qJ,'SystemErrorHandler/1',171);nk(172,1,{},yp);_.nb=function zp(a){sp(Td(a))};var Ef=XD(qJ,'SystemErrorHandler/1/0methodref$recreateNodes$Type',172);nk(173,1,{},Ap);_.C=function Bp(){pI(mG(Md(Hl(this.a.a.a,De),9).c),new yp)};var Ff=XD(qJ,'SystemErrorHandler/1/lambda$0$Type',173);nk(169,1,{},Cp);_.db=function Dp(a){cq(this.a)};var Hf=XD(qJ,'SystemErrorHandler/lambda$0$Type',169);nk(170,1,{},Ep);_.db=function Fp(a){up(this.a,a)};var If=XD(qJ,'SystemErrorHandler/lambda$1$Type',170);nk(142,138,{},Hp);_.a=0;var Lf=XD(qJ,'TrackingScheduler',142);nk(143,1,{},Ip);_.C=function Jp(){this.a.a--};var Kf=XD(qJ,'TrackingScheduler/lambda$0$Type',143);nk(12,1,{12:1},Mp);var Of=XD(qJ,'UILifecycle',12);nk(177,347,{},Op);_.X=function Pp(a){Md(a,97).G(this)};_.Y=function Qp(){return Np};var Np=null;var Mf=XD(qJ,'UILifecycle/StateChangeEvent',177);nk(61,20,{61:1,4:1,29:1,20:1},Vp);var Rp,Sp,Tp;var Nf=YD(qJ,'UILifecycle/UIState',61,Wp);nk(346,1,vJ);var wi=XD(dK,'VaadinUriResolver',346);nk(50,346,{50:1,4:1},_p);_.vb=function aq(a){return $p(this,a)};var Pf=XD(qJ,'URIResolver',50);var fq=false,gq;nk(123,1,{},qq);_.C=function rq(){mq(this.a)};var Qf=XD('com.vaadin.client.bootstrap','Bootstrapper/lambda$0$Type',123);var Rf=ZD(gK,'ConnectionStateHandler');nk(224,1,{19:1},Tq);_.a=0;_.b=null;var Xf=XD(gK,'DefaultConnectionStateHandler',224);nk(226,40,{},Uq);_.V=function Vq(){this.a.d=null;xq(this.a,this.b)};var Sf=XD(gK,'DefaultConnectionStateHandler/1',226);nk(64,20,{64:1,4:1,29:1,20:1},_q);_.a=0;var Wq,Xq,Yq;var Tf=YD(gK,'DefaultConnectionStateHandler/Type',64,ar);nk(225,1,wJ,br);_.G=function cr(a){Fq(this.a,a)};var Uf=XD(gK,'DefaultConnectionStateHandler/lambda$0$Type',225);nk(227,1,{},dr);_.db=function er(a){yq(this.a)};var Vf=XD(gK,'DefaultConnectionStateHandler/lambda$1$Type',227);nk(228,1,{},fr);_.db=function gr(a){Gq(this.a)};var Wf=XD(gK,'DefaultConnectionStateHandler/lambda$2$Type',228);nk(57,1,{57:1},lr);_.a=-1;var _f=XD(gK,'Heartbeat',57);nk(221,40,{},mr);_.V=function nr(){jr(this.a)};var Yf=XD(gK,'Heartbeat/1',221);nk(223,1,{},or);_.tb=function pr(a,b){!b?Dq(Md(Hl(this.a.b,Rf),19),a):Cq(Md(Hl(this.a.b,Rf),19),b);ir(this.a)};_.ub=function qr(a){Eq(Md(Hl(this.a.b,Rf),19));ir(this.a)};var Zf=XD(gK,'Heartbeat/2',223);nk(222,1,wJ,rr);_.G=function sr(a){hr(this.a,a)};var $f=XD(gK,'Heartbeat/lambda$0$Type',222);nk(179,1,{},wr);_.nb=function xr(a){sl('firstDelay',wE(Md(a,23).a))};var ag=XD(gK,'LoadingIndicatorConfigurator/0methodref$setFirstDelay$Type',179);nk(180,1,{},yr);_.nb=function zr(a){sl('secondDelay',wE(Md(a,23).a))};var bg=XD(gK,'LoadingIndicatorConfigurator/1methodref$setSecondDelay$Type',180);nk(181,1,{},Ar);_.nb=function Br(a){sl('thirdDelay',wE(Md(a,23).a))};var cg=XD(gK,'LoadingIndicatorConfigurator/2methodref$setThirdDelay$Type',181);nk(182,1,aK,Cr);_.rb=function Dr(a){vr(lA(Md(a.e,13)))};var dg=XD(gK,'LoadingIndicatorConfigurator/lambda$3$Type',182);nk(183,1,aK,Er);_.rb=function Fr(a){ur(this.b,this.a,a)};_.a=0;var eg=XD(gK,'LoadingIndicatorConfigurator/lambda$4$Type',183);nk(24,1,{24:1},Wr);_.a=0;_.b='init';_.d=false;_.e=0;_.f=-1;_.i=null;_.o=0;var ng=XD(gK,'MessageHandler',24);nk(188,1,xJ,_r);_.C=function as(){!Vz&&$wnd.Polymer!=null&&JE($wnd.Polymer.version.substr(0,'1.'.length),'1.')&&(Vz=true,ul&&($wnd.console.log('Polymer micro is now loaded, using Polymer DOM API'),undefined),Uz=new Xz,undefined)};var fg=XD(gK,'MessageHandler/0methodref$updateApiImplementation$Type',188);nk(187,40,{},bs);_.V=function cs(){Ir(this.a)};var gg=XD(gK,'MessageHandler/1',187);nk(367,$wnd.Function,{},ds);_.nb=function es(a){Gr(Md(a,6))};nk(62,1,{62:1},fs);var hg=XD(gK,'MessageHandler/PendingUIDLMessage',62);nk(189,1,xJ,gs);_.C=function hs(){Tr(this.a,this.d,this.b,this.c)};_.c=0;var ig=XD(gK,'MessageHandler/lambda$1$Type',189);nk(191,1,VJ,is);_.mb=function js(){SB(new ks(this.a,this.b))};var jg=XD(gK,'MessageHandler/lambda$3$Type',191);nk(190,1,VJ,ks);_.mb=function ls(){Qr(this.a,this.b)};var kg=XD(gK,'MessageHandler/lambda$4$Type',190);nk(193,1,VJ,ms);_.mb=function ns(){Rr(this.a)};var lg=XD(gK,'MessageHandler/lambda$5$Type',193);nk(192,1,{},os);_.C=function ps(){this.a.forEach(pk(ds.prototype.nb,ds,[]))};var mg=XD(gK,'MessageHandler/lambda$6$Type',192);nk(18,1,{18:1},As);_.a=0;_.d=0;var pg=XD(gK,'MessageSender',18);nk(185,1,xJ,Cs);_.C=function Ds(){rs(this.a)};var og=XD(gK,'MessageSender/lambda$0$Type',185);nk(174,1,aK,Gs);_.rb=function Hs(a){Es(this.a,a)};var qg=XD(gK,'PollConfigurator/lambda$0$Type',174);nk(78,1,{78:1},Ls);_.wb=function Ms(){var a;a=Md(Hl(this.b,Zg),10);iv(a,a.e,'ui-poll',null)};_.a=null;var tg=XD(gK,'Poller',78);nk(176,40,{},Ns);_.V=function Os(){var a;a=Md(Hl(this.a.b,Zg),10);iv(a,a.e,'ui-poll',null)};var rg=XD(gK,'Poller/1',176);nk(175,1,wJ,Ps);_.G=function Qs(a){Is(this.a,a)};var sg=XD(gK,'Poller/lambda$0$Type',175);nk(49,1,{49:1},Us);var xg=XD(gK,'PushConfiguration',49);nk(234,1,aK,Xs);_.rb=function Ys(a){Ts(this.a,a)};var ug=XD(gK,'PushConfiguration/0methodref$onPushModeChange$Type',234);nk(235,1,VJ,Zs);_.mb=function $s(){zs(Md(Hl(this.a.a,pg),18),true)};var vg=XD(gK,'PushConfiguration/lambda$1$Type',235);nk(236,1,VJ,_s);_.mb=function at(){zs(Md(Hl(this.a.a,pg),18),false)};var wg=XD(gK,'PushConfiguration/lambda$2$Type',236);nk(373,$wnd.Function,{},bt);_.H=function ct(a,b){Ws(this.a,Md(a,13),Td(b))};nk(37,1,{37:1},dt);var zg=XD(gK,'ReconnectConfiguration',37);nk(178,1,xJ,et);_.C=function ft(){wq(this.a)};var yg=XD(gK,'ReconnectConfiguration/lambda$0$Type',178);nk(16,1,{16:1},lt);_.b=false;var Bg=XD(gK,'RequestResponseTracker',16);nk(186,1,{},mt);_.C=function nt(){jt(this.a)};var Ag=XD(gK,'RequestResponseTracker/lambda$0$Type',186);nk(249,347,{},ot);_.X=function pt(a){fe(a);null.mc()};_.Y=function qt(){return null};var Cg=XD(gK,'RequestStartingEvent',249);nk(233,347,{},st);_.X=function tt(a){Md(a,353).a.b=false};_.Y=function ut(){return rt};var rt;var Dg=XD(gK,'ResponseHandlingEndedEvent',233);nk(289,347,{},vt);_.X=function wt(a){fe(a);null.mc()};_.Y=function xt(){return null};var Eg=XD(gK,'ResponseHandlingStartedEvent',289);nk(32,1,{32:1},Ft);_.xb=function Gt(a,b,c){yt(this,a,b,c)};_.yb=function Ht(a,b,c){var d;d={};d[OJ]='channel';d[sK]=Object(a);d['channel']=Object(b);d['args']=c;Ct(this,d)};var Fg=XD(gK,'ServerConnector',32);nk(36,1,{36:1},Nt);_.b=false;var It;var Jg=XD(gK,'ServerRpcQueue',36);nk(215,1,QJ,Ot);_.V=function Pt(){Lt(this.a)};var Gg=XD(gK,'ServerRpcQueue/0methodref$doFlush$Type',215);nk(214,1,QJ,Qt);_.V=function Rt(){Jt()};var Hg=XD(gK,'ServerRpcQueue/lambda$0$Type',214);nk(216,1,{},St);_.C=function Tt(){this.a.a.V()};var Ig=XD(gK,'ServerRpcQueue/lambda$2$Type',216);nk(76,1,{76:1},Wt);_.b=false;var Pg=XD(gK,'XhrConnection',76);nk(232,40,{},Yt);_.V=function Zt(){Xt(this.b)&&this.a.b&&wk(this,250)};var Kg=XD(gK,'XhrConnection/1',232);nk(229,1,{},_t);_.tb=function au(a,b){var c;c=new fu(a,this.a);if(!b){Rq(Md(Hl(this.c.a,Rf),19),c);return}else{Pq(Md(Hl(this.c.a,Rf),19),c)}};_.ub=function bu(a){var b,c;Bl('Server visit took '+uo(this.b)+'ms');c=a.responseText;b=Zr($r(c));if(!b){Qq(Md(Hl(this.c.a,Rf),19),new fu(a,this.a));return}Sq(Md(Hl(this.c.a,Rf),19));ul&&kD($wnd.console,'Received xhr message: '+c);Mr(Md(Hl(this.c.a,ng),24),b)};_.b=0;var Lg=XD(gK,'XhrConnection/XhrResponseHandler',229);nk(230,1,{},cu);_.db=function du(a){this.a.b=true};var Mg=XD(gK,'XhrConnection/lambda$0$Type',230);nk(231,1,{353:1},eu);var Ng=XD(gK,'XhrConnection/lambda$1$Type',231);nk(111,1,{},fu);var Og=XD(gK,'XhrConnectionError',111);nk(59,1,{59:1},ju);var Qg=XD(vK,'ConstantPool',59);nk(92,1,{92:1},ru);_.zb=function su(){return Md(Hl(this.a,De),9).a};var Ug=XD(vK,'ExecuteJavaScriptProcessor',92);nk(218,1,MJ,tu);_.eb=function uu(a){var b;return SB(new vu(this.a,(b=this.b,b))),ND(),true};var Rg=XD(vK,'ExecuteJavaScriptProcessor/lambda$0$Type',218);nk(217,1,VJ,vu);_.mb=function wu(){mu(this.a,this.b)};var Sg=XD(vK,'ExecuteJavaScriptProcessor/lambda$1$Type',217);nk(219,1,QJ,xu);_.V=function yu(){qu(this.a)};var Tg=XD(vK,'ExecuteJavaScriptProcessor/lambda$2$Type',219);nk(312,1,{},zu);var Vg=XD(vK,'NodeUnregisterEvent',312);nk(6,1,{6:1},Mu);_.Ab=function Nu(){return Du(this)};_.Bb=function Ou(){return this.g};_.d=0;_.j=false;var Yg=XD(vK,'StateNode',6);nk(360,$wnd.Function,{},Qu);_.H=function Ru(a,b){Gu(this.a,this.b,Md(a,33),Od(b))};nk(361,$wnd.Function,{},Su);_.nb=function Tu(a){Pu(this.a,Md(a,114))};var zi=ZD('elemental.events','EventRemover');nk(162,1,zK,Uu);_.Cb=function Vu(){Hu(this.a,this.b)};var Wg=XD(vK,'StateNode/lambda$2$Type',162);nk(362,$wnd.Function,{},Wu);_.nb=function Xu(a){Iu(this.a,Md(a,71))};nk(163,1,zK,Yu);_.Cb=function Zu(){Ju(this.a,this.b)};var Xg=XD(vK,'StateNode/lambda$4$Type',163);nk(10,1,{10:1},ov);_.Db=function pv(){return this.e};_.Eb=function rv(a,b,c,d){var e;if(dv(this,a)){e=Rd(c);Et(Md(Hl(this.c,Fg),32),a,b,e,d)}};_.d=false;_.f=false;var Zg=XD(vK,'StateTree',10);nk(365,$wnd.Function,{},sv);_.nb=function tv(a){Cu(Md(a,6),pk(wv.prototype.H,wv,[]))};nk(366,$wnd.Function,{},uv);_.H=function vv(a,b){var c;fv(this.a,(c=Md(a,6),Od(b),c))};nk(352,$wnd.Function,{},wv);_.H=function xv(a,b){qv(Md(a,33),Od(b))};var Fv,Gv;nk(184,1,{},Lv);var $g=XD(GK,'Binder/BinderContextImpl',184);var _g=ZD(GK,'BindingStrategy');nk(86,1,{86:1},Qv);_.k=0;var Mv;var dh=XD(GK,'Debouncer',86);nk(395,$wnd.Function,{},Uv);_.nb=function Vv(a){Md(a,14).V()};nk(351,1,{});_.c=false;_.d=0;var Di=XD(JK,'Timer',351);nk(317,351,{},$v);var ah=XD(GK,'Debouncer/1',317);nk(318,351,{},aw);var bh=XD(GK,'Debouncer/2',318);nk(396,$wnd.Function,{},cw);_.H=function dw(a,b){var c;bw(this,(c=Sd(a,$wnd.Map),Rd(b),c))};nk(397,$wnd.Function,{},gw);_.nb=function hw(a){ew(this.a,Sd(a,$wnd.Map))};nk(398,$wnd.Function,{},iw);_.nb=function jw(a){fw(this.a,Md(a,86))};nk(394,$wnd.Function,{},kw);_.H=function lw(a,b){Sv(this.a,Md(a,14),Td(b))};nk(309,1,NJ,pw);_.lb=function qw(){return Cw(this.a)};var eh=XD(GK,'ServerEventHandlerBinder/lambda$0$Type',309);nk(310,1,$J,rw);_.ob=function sw(a){ow(this.b,this.a,this.c,a)};_.c=false;var fh=XD(GK,'ServerEventHandlerBinder/lambda$1$Type',310);var tw;nk(255,1,{325:1},Bx);_.Fb=function Cx(a,b,c){Kw(this,a,b,c)};_.Gb=function Fx(a){return Uw(a)};_.Ib=function Kx(a,b){var c,d,e;d=Object.keys(a);e=new rz(d,a,b);c=Md(b.e.get(hh),81);!c?qx(e.b,e.a,e.c):(c.a=e)};_.Jb=function Lx(r,s){var t=this;var u=s._propertiesChanged;u&&(s._propertiesChanged=function(a,b,c){cJ(function(){t.Ib(b,r)})();u.apply(this,arguments)});var v=r.Bb();var w=s.ready;s.ready=function(){w.apply(this,arguments);Dn(s);var q=function(){var o=s.root.querySelector(RK);if(o){s.removeEventListener(SK,q)}else{return}if(!o.constructor.prototype.$propChangedModified){o.constructor.prototype.$propChangedModified=true;var p=o.constructor.prototype._propertiesChanged;o.constructor.prototype._propertiesChanged=function(a,b,c){p.apply(this,arguments);var d=Object.getOwnPropertyNames(b);var e='items.';var f;for(f=0;f0){var i=h.substr(0,g);var j=h.substr(g+1);var k=a.items[i];if(k&&k.nodeId){var l=k.nodeId;var m=k[j];var n=this.__dataHost;while(!n.localName||n.__dataHost){n=n.__dataHost}cJ(function(){Jx(l,n,j,m,v)})()}}}}}}};s.root&&s.root.querySelector(RK)?q():s.addEventListener(SK,q)}};_.Hb=function Mx(a){if(a.c.has(0)){return true}return !!a.g&&K(a,a.g.e)};var Ew,Fw;var Mh=XD(GK,'SimpleElementBindingStrategy',255);nk(384,$wnd.Function,{},$x);_.nb=function _x(a){Md(a,44).Cb()};nk(387,$wnd.Function,{},ay);_.nb=function by(a){Md(a,14).V()};nk(109,1,{},cy);var gh=XD(GK,'SimpleElementBindingStrategy/BindingContext',109);nk(81,1,{81:1},dy);var hh=XD(GK,'SimpleElementBindingStrategy/InitialPropertyUpdate',81);nk(256,1,{},ey);_.Kb=function fy(a){ex(this.a,a)};var ih=XD(GK,'SimpleElementBindingStrategy/lambda$0$Type',256);nk(257,1,{},gy);_.Kb=function hy(a){fx(this.a,a)};var jh=XD(GK,'SimpleElementBindingStrategy/lambda$1$Type',257);nk(380,$wnd.Function,{},iy);_.H=function jy(a,b){var c;Nx(this.b,this.a,(c=Md(a,13),Td(b),c))};nk(266,1,_J,ky);_.qb=function ly(a){Ox(this.b,this.a,a)};var kh=XD(GK,'SimpleElementBindingStrategy/lambda$11$Type',266);nk(267,1,aK,my);_.rb=function ny(a){yx(this.c,this.b,this.a)};var lh=XD(GK,'SimpleElementBindingStrategy/lambda$12$Type',267);nk(268,1,VJ,oy);_.mb=function py(){gx(this.b,this.c,this.a)};var mh=XD(GK,'SimpleElementBindingStrategy/lambda$13$Type',268);nk(269,1,xJ,qy);_.C=function ry(){this.b.Kb(this.a)};var nh=XD(GK,'SimpleElementBindingStrategy/lambda$14$Type',269);nk(270,1,xJ,sy);_.C=function ty(){this.a[this.b]=zn(this.c)};var oh=XD(GK,'SimpleElementBindingStrategy/lambda$15$Type',270);nk(272,1,$J,uy);_.ob=function vy(a){hx(this.a,a)};var ph=XD(GK,'SimpleElementBindingStrategy/lambda$16$Type',272);nk(271,1,VJ,wy);_.mb=function xy(){_w(this.b,this.a)};var qh=XD(GK,'SimpleElementBindingStrategy/lambda$17$Type',271);nk(274,1,$J,yy);_.ob=function zy(a){ix(this.a,a)};var rh=XD(GK,'SimpleElementBindingStrategy/lambda$18$Type',274);nk(273,1,VJ,Ay);_.mb=function By(){jx(this.b,this.a)};var sh=XD(GK,'SimpleElementBindingStrategy/lambda$19$Type',273);nk(258,1,{},Cy);_.Kb=function Dy(a){kx(this.a,a)};var th=XD(GK,'SimpleElementBindingStrategy/lambda$2$Type',258);nk(275,1,QJ,Ey);_.V=function Fy(){bx(this.a,this.b,this.c,false)};var uh=XD(GK,'SimpleElementBindingStrategy/lambda$20$Type',275);nk(276,1,QJ,Gy);_.V=function Hy(){bx(this.a,this.b,this.c,false)};var vh=XD(GK,'SimpleElementBindingStrategy/lambda$21$Type',276);nk(277,1,QJ,Iy);_.V=function Jy(){dx(this.a,this.b,this.c,false)};var wh=XD(GK,'SimpleElementBindingStrategy/lambda$22$Type',277);nk(278,1,NJ,Ky);_.lb=function Ly(){return Px(this.a,this.b)};var xh=XD(GK,'SimpleElementBindingStrategy/lambda$23$Type',278);nk(279,1,NJ,My);_.lb=function Ny(){return Qx(this.a,this.b)};var yh=XD(GK,'SimpleElementBindingStrategy/lambda$24$Type',279);nk(381,$wnd.Function,{},Oy);_.H=function Py(a,b){var c;GB((c=Md(a,79),Td(b),c))};nk(382,$wnd.Function,{},Qy);_.nb=function Ry(a){Rx(this.a,Sd(a,$wnd.Map))};nk(383,$wnd.Function,{},Sy);_.H=function Ty(a,b){var c;(c=Md(a,44),Td(b),c).Cb()};nk(259,1,{114:1},Uy);_.pb=function Vy(a){rx(this.c,this.b,this.a)};var zh=XD(GK,'SimpleElementBindingStrategy/lambda$3$Type',259);nk(385,$wnd.Function,{},Wy);_.H=function Xy(a,b){var c;lx(this.a,(c=Md(a,13),Td(b),c))};nk(280,1,_J,Yy);_.qb=function Zy(a){mx(this.a,a)};var Ah=XD(GK,'SimpleElementBindingStrategy/lambda$31$Type',280);nk(281,1,xJ,$y);_.C=function _y(){nx(this.b,this.a,this.c)};var Bh=XD(GK,'SimpleElementBindingStrategy/lambda$32$Type',281);nk(282,1,{},az);_.db=function bz(a){ox(this.a,a)};var Ch=XD(GK,'SimpleElementBindingStrategy/lambda$33$Type',282);nk(386,$wnd.Function,{},cz);_.nb=function dz(a){px(this.a,this.b,Td(a))};nk(283,1,{},ez);_.nb=function fz(a){Yx(this.b,this.c,this.a,Td(a))};var Dh=XD(GK,'SimpleElementBindingStrategy/lambda$35$Type',283);nk(284,1,$J,gz);_.ob=function hz(a){Sx(this.a,a)};var Eh=XD(GK,'SimpleElementBindingStrategy/lambda$37$Type',284);nk(285,1,NJ,iz);_.lb=function jz(){return this.a.b};var Fh=XD(GK,'SimpleElementBindingStrategy/lambda$38$Type',285);nk(388,$wnd.Function,{},kz);_.nb=function lz(a){this.a.push(Md(a,6))};nk(261,1,VJ,mz);_.mb=function nz(){Tx(this.a)};var Gh=XD(GK,'SimpleElementBindingStrategy/lambda$4$Type',261);nk(260,1,{},oz);_.C=function pz(){Ux(this.a)};var Hh=XD(GK,'SimpleElementBindingStrategy/lambda$5$Type',260);nk(263,1,QJ,rz);_.V=function sz(){qz(this)};var Ih=XD(GK,'SimpleElementBindingStrategy/lambda$6$Type',263);nk(262,1,NJ,tz);_.lb=function uz(){return this.a[this.b]};var Jh=XD(GK,'SimpleElementBindingStrategy/lambda$7$Type',262);nk(265,1,_J,vz);_.qb=function wz(a){RB(new xz(this.a))};var Kh=XD(GK,'SimpleElementBindingStrategy/lambda$8$Type',265);nk(264,1,VJ,xz);_.mb=function yz(){Jw(this.a)};var Lh=XD(GK,'SimpleElementBindingStrategy/lambda$9$Type',264);nk(286,1,{325:1},Dz);_.Fb=function Ez(a,b,c){Bz(a,b)};_.Gb=function Fz(a){return $doc.createTextNode('')};_.Hb=function Gz(a){return a.c.has(7)};var zz;var Ph=XD(GK,'TextBindingStrategy',286);nk(287,1,xJ,Hz);_.C=function Iz(){Az();eD(this.a,Td(iA(this.b)))};var Nh=XD(GK,'TextBindingStrategy/lambda$0$Type',287);nk(288,1,{114:1},Jz);_.pb=function Kz(a){Cz(this.b,this.a)};var Oh=XD(GK,'TextBindingStrategy/lambda$1$Type',288);nk(359,$wnd.Function,{},Oz);_.nb=function Pz(a){this.a.add(a)};nk(363,$wnd.Function,{},Rz);_.H=function Sz(a,b){this.a.push(a)};var Uz,Vz=false;nk(301,1,{},Xz);var Qh=XD('com.vaadin.client.flow.dom','PolymerDomApiImpl',301);nk(82,1,{82:1},Yz);var Rh=XD('com.vaadin.client.flow.model','UpdatableModelProperties',82);nk(393,$wnd.Function,{},Zz);_.nb=function $z(a){this.a.add(Td(a))};nk(94,1,{});_.Lb=function aA(){return this.e};var pi=XD(UJ,'ReactiveValueChangeEvent',94);nk(53,94,{53:1},bA);_.Lb=function cA(){return Md(this.e,27)};_.b=false;_.c=0;var Sh=XD(TK,'ListSpliceEvent',53);nk(13,1,{13:1,326:1},rA);_.Mb=function sA(a){return uA(this.a,a)};_.b=false;_.c=false;_.d=false;var dA;var _h=XD(TK,'MapProperty',13);nk(93,1,{});var oi=XD(UJ,'ReactiveEventRouter',93);nk(242,93,{},AA);_.Nb=function BA(a,b){Md(a,46).rb(Md(b,84))};_.Ob=function CA(a){return new DA(a)};var Uh=XD(TK,'MapProperty/1',242);nk(243,1,aK,DA);_.rb=function EA(a){EB(this.a)};var Th=XD(TK,'MapProperty/1/0methodref$onValueChange$Type',243);nk(241,1,QJ,FA);_.V=function GA(){eA()};var Vh=XD(TK,'MapProperty/lambda$0$Type',241);nk(244,1,VJ,HA);_.mb=function IA(){this.a.d=false};var Wh=XD(TK,'MapProperty/lambda$1$Type',244);nk(245,1,VJ,JA);_.mb=function KA(){this.a.d=false};var Xh=XD(TK,'MapProperty/lambda$2$Type',245);nk(246,1,QJ,LA);_.V=function MA(){nA(this.a,this.b)};var Yh=XD(TK,'MapProperty/lambda$3$Type',246);nk(95,94,{95:1},NA);_.Lb=function OA(){return Md(this.e,41)};var Zh=XD(TK,'MapPropertyAddEvent',95);nk(84,94,{84:1},PA);_.Lb=function QA(){return Md(this.e,13)};var $h=XD(TK,'MapPropertyChangeEvent',84);nk(33,1,{33:1});_.d=0;var ai=XD(TK,'NodeFeature',33);nk(27,33,{33:1,27:1,326:1},YA);_.Mb=function ZA(a){return uA(this.a,a)};_.Pb=function $A(a){var b,c,d;c=[];for(b=0;b=0?':'+this.c:'')+')'};_.c=0;var aj=XD(gJ,'StackTraceElement',28);Kd={4:1,120:1,29:1,2:1};var dj=XD(gJ,'String',2);nk(73,91,{120:1},_E,aF,bF);var bj=XD(gJ,'StringBuilder',73);nk(132,74,zJ,cF);var cj=XD(gJ,'StringIndexOutOfBoundsException',132);nk(502,1,{});var dF;nk(115,1,MJ,gF);_.eb=function hF(a){return fF(a)};var ej=XD(gJ,'Throwable/lambda$0$Type',115);nk(102,8,zJ,iF);var gj=XD(gJ,'UnsupportedOperationException',102);nk(342,1,{87:1});_.Yb=function kF(a){throw dk(new iF('Add not supported on this collection'))};_.s=function lF(){var a,b,c;c=new qH('[',']');for(b=this.Zb();b._b();){a=b.ac();pH(c,a===this?'(this Collection)':a==null?AJ:rk(a))}return !c.a?c.c:c.e.length==0?c.a.a:c.a.a+(''+c.e)};var hj=XD(eL,'AbstractCollection',342);nk(345,1,{113:1});_.p=function pF(a){var b,c,d;if(a===this){return true}if(!Wd(a,83)){return false}d=Md(a,113);if(this.a.c+this.b.c!=d.a.c+d.b.c){return false}for(c=new EF((new zF(d)).a);c.b;){b=DF(c);if(!mF(this,b)){return false}}return true};_.r=function rF(){return nG(new zF(this))};_.s=function sF(){var a,b,c;c=new qH('{','}');for(b=new EF((new zF(this)).a);b.b;){a=DF(b);pH(c,oF(this,a.cc())+'='+oF(this,a.dc()))}return !c.a?c.c:c.e.length==0?c.a.a:c.a.a+(''+c.e)};var qj=XD(eL,'AbstractMap',345);nk(292,345,{113:1});var kj=XD(eL,'AbstractHashMap',292);nk(344,342,{87:1,324:1});_.p=function wF(a){var b;if(a===this){return true}if(!Wd(a,65)){return false}b=Md(a,324);if(vF(b.a)!=this.$b()){return false}return jF(this,b)};_.r=function xF(){return nG(this)};var rj=XD(eL,'AbstractSet',344);nk(65,344,{65:1,87:1,324:1},zF);_.Zb=function AF(){return new EF(this.a)};_.$b=function BF(){return vF(this.a)};var jj=XD(eL,'AbstractHashMap/EntrySet',65);nk(66,1,{},EF);_.ac=function GF(){return DF(this)};_._b=function FF(){return this.b};_.b=false;var ij=XD(eL,'AbstractHashMap/EntrySetIterator',66);nk(343,342,{87:1,98:1});_.bc=function HF(a,b){throw dk(new iF('Add not supported on this list'))};_.Yb=function IF(a){this.bc(this.$b(),a);return true};_.p=function JF(a){var b,c,d,e,f;if(a===this){return true}if(!Wd(a,35)){return false}f=Md(a,98);if(this.$b()!=f.a.length){return false}e=new hG(f);for(c=new hG(this);c.a - Addon with Jandex index - - `; - } -} - -customElements.define('hello-world-jandex', HelloWorldJandex); diff --git a/vertx-vaadin-quarkus-extension/integration-tests/production/frontend/generated/jar-resources/src/hello-world.ts b/vertx-vaadin-quarkus-extension/integration-tests/production/frontend/generated/jar-resources/src/hello-world.ts deleted file mode 100644 index 9a850e1c..00000000 --- a/vertx-vaadin-quarkus-extension/integration-tests/production/frontend/generated/jar-resources/src/hello-world.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { html, LitElement } from 'lit'; -import '@axa-ch/input-text'; - -class HelloWorld extends LitElement { - - render() { - return html` -
- Addon without Jandex index - -
`; - } -} - -customElements.define('hello-world', HelloWorld); diff --git a/vertx-vaadin-quarkus-extension/integration-tests/production/frontend/generated/jar-resources/themes/reusable-theme/styles.css b/vertx-vaadin-quarkus-extension/integration-tests/production/frontend/generated/jar-resources/themes/reusable-theme/styles.css deleted file mode 100644 index 699c70e0..00000000 --- a/vertx-vaadin-quarkus-extension/integration-tests/production/frontend/generated/jar-resources/themes/reusable-theme/styles.css +++ /dev/null @@ -1,13 +0,0 @@ - -/* - CSS styling examples for the Vaadin app. - This is the style entrypoint for the theme and together with css in ./components/ included - automatically into the theme. - Visit https://vaadin.com/docs-beta/latest/theming/application-theme/ for more information. -*/ - -/* Example: CSS class name to center align the content . */ -.centered-content { - margin: 0 auto; - max-width: 250px; -} diff --git a/vertx-vaadin-quarkus-extension/integration-tests/production/frontend/generated/jar-resources/tooltip.ts b/vertx-vaadin-quarkus-extension/integration-tests/production/frontend/generated/jar-resources/tooltip.ts deleted file mode 100644 index 351527ce..00000000 --- a/vertx-vaadin-quarkus-extension/integration-tests/production/frontend/generated/jar-resources/tooltip.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { Tooltip } from '@vaadin/tooltip/src/vaadin-tooltip.js'; - -const _window = window as any; -_window.Vaadin ||= {}; -_window.Vaadin.Flow ||= {}; -_window.Vaadin.Flow.tooltip ||= {}; - -Object.assign(_window.Vaadin.Flow.tooltip, { - setDefaultHideDelay: (hideDelay: number) => Tooltip.setDefaultHideDelay(hideDelay), - setDefaultFocusDelay: (focusDelay: number) => Tooltip.setDefaultFocusDelay(focusDelay), - setDefaultHoverDelay: (hoverDelay: number) => Tooltip.setDefaultHoverDelay(hoverDelay) -}); - -const { defaultHideDelay, defaultFocusDelay, defaultHoverDelay } = _window.Vaadin.Flow.tooltip; -if (defaultHideDelay) { - Tooltip.setDefaultHideDelay(defaultHideDelay); -} -if (defaultFocusDelay) { - Tooltip.setDefaultFocusDelay(defaultFocusDelay); -} -if (defaultHoverDelay) { - Tooltip.setDefaultHoverDelay(defaultHoverDelay); -} diff --git a/vertx-vaadin-quarkus-extension/integration-tests/production/frontend/generated/theme.d.ts b/vertx-vaadin-quarkus-extension/integration-tests/production/frontend/generated/theme.d.ts deleted file mode 100644 index 94ce92d6..00000000 --- a/vertx-vaadin-quarkus-extension/integration-tests/production/frontend/generated/theme.d.ts +++ /dev/null @@ -1 +0,0 @@ -export declare const applyTheme: (target: Node) => void; \ No newline at end of file diff --git a/vertx-vaadin-quarkus-extension/integration-tests/production/frontend/generated/theme.js b/vertx-vaadin-quarkus-extension/integration-tests/production/frontend/generated/theme.js deleted file mode 100644 index a39a3c4f..00000000 --- a/vertx-vaadin-quarkus-extension/integration-tests/production/frontend/generated/theme.js +++ /dev/null @@ -1,2 +0,0 @@ -import {applyTheme as _applyTheme} from './theme-reusable-theme.generated.js'; -export const applyTheme = _applyTheme; diff --git a/vertx-vaadin-quarkus-extension/integration-tests/production/frontend/generated/vaadin.ts b/vertx-vaadin-quarkus-extension/integration-tests/production/frontend/generated/vaadin.ts deleted file mode 100644 index b1725bb6..00000000 --- a/vertx-vaadin-quarkus-extension/integration-tests/production/frontend/generated/vaadin.ts +++ /dev/null @@ -1,7 +0,0 @@ -import './vaadin-featureflags.js'; - -import './index'; - -import './theme-reusable-theme.global.generated.js'; -import { applyTheme } from './theme.js'; -applyTheme(document); diff --git a/vertx-vaadin-quarkus-extension/pom.xml b/vertx-vaadin-quarkus-extension/pom.xml index 9119785f..711b4d77 100644 --- a/vertx-vaadin-quarkus-extension/pom.xml +++ b/vertx-vaadin-quarkus-extension/pom.xml @@ -24,7 +24,7 @@ 11 UTF-8 UTF-8 - 3.6.4 + 3.8.6 3.1.2 ${surefire-plugin.version}