1import { y as d } from "./chunk-xgti9j2t.js"; 2import { $ as r, $r as f, Aa as o, Ai as C, Ea as s, Hn as k, Na as u, Pi as g, Pt as a, fa as e, gt as c, sa as l, t as m, tn as w, zr as _ } from "./chunk-c97c17u8.js"; 3import { M as T } from "./chunk-l3jkbhly.js"; 4import { p as D } from "./chunk-k52vj1ic.js"; 5import { o as x } from "./chunk-l24fzhmb.js"; 6import { A as v } from "./chunk-jrtaqqwj.js"; 7import { o as A } from "./chunk-pesy0vb6.js"; 8import { D as I, o as O } from "./chunk-llc8ry2a.js"; 9import { D as B, ut as M } from "./chunk-fbjoug0d.js"; 10import { a as S } from "./chunk-ewplex8i.js"; 11import { n as b } from "./chunk-c18gpzrj.js"; 12import { r as L } from "./chunk-c9rg1mp5.js"; 13import { t as y } from "./chunk-kyqvtgtk.js"; 14import { Y as F, gt as q } from "./chunk-w0x32net.js"; 15import { p as z } from "./chunk-bhnvkbxx.js"; 16import { ot as H } from "./chunk-f2v2cgea.js"; 17import { c as R } from "./chunk-og5uebri.js"; 18import { Dn as W, jr as E } from "./chunk-go6pvd0a.js"; 19import { t as G } from "./chunk-k4et3zlq.js"; 20import { i as N, p as V } from "./chunk-hul0ult7.js"; 21import { n as J, r as K } from "./chunk-lmnwxprc.js"; 22import { r as P } from "./chunk-ilfhy0in.js"; 23import { n as X } from "./chunk-ohg30iel.js"; 24import { $ } from "./chunk-iuhjzybw.js"; 25import { r as Q } from "./chunk-i1knml6i.js"; 26import { n as U, t as Y } from "./chunk-ga84h9wi.js"; 27import { t as Z } from "./chunk-bwsrvyqb.js"; 28import { Sn as j, xn as tt } from "./chunk-g8mtbi19.js"; 29import { n as it, r as nt } from "./chunk-h0085uyy.js"; 30import { n as ot, t as st } from "./chunk-my4pllpb.js"; 31import { t as et } from "./chunk-o4f8w5yc.js"; 32var h; 33function p() { 34 return (p = et((() => { 35 d(), g(), T(), D(), x(), v(), A(), I(), M(), S(), b(), L(), y(), O(), q(), z(), H(), F(), R(), E(), G(), V(), N(), J(), P(), X(), $(), W(), Q(), Y(), j(), Z(), it(), ot(), h = (() => { 36 let i = class extends st { 37 constructor() { 38 super(...arguments), this.windowRef = c(B), this.geoCoordinatorClientConfig = c(U), this.geoLocationCoordinatorService = c(tt), this.title = o(""), this.instructionText = o(""), this.continueCTAText = o(""), this.downloadCTAText = o(""); 39 } 40 ngOnInit() { 41 this.title.set(this.geoCoordinatorClientConfig.textMappings.messages?.DesktopInstallerTitle ?? ""), this.instructionText.set(this.geoCoordinatorClientConfig.textMappings.messages?.DesktopInstallerInstructionText ?? ""), this.continueCTAText.set(this.geoCoordinatorClientConfig.textMappings.messages?.DesktopInstallerContinueCTAText ?? ""), this.downloadCTAText.set(this.geoCoordinatorClientConfig.textMappings.messages?.DesktopInstallerDownloadCTAText ?? ""); 42 } 43 continue() { 44 this.geoLocationCoordinatorService.initialize(), this.closeOverlay(); 45 } 46 download() {
47 this.windowRef.open(this.formDownloadUrl(), "_self"); 48 } 49 close() { 50 this.closeOverlay(); 51 } 52 formDownloadUrl() { 53 return this.geoCoordinatorClientConfig.installerSettings.plc?.downloadUrl?.replace("{installerkey}", this.geoCoordinatorClientConfig.installerSettings.plc?.installerKey ?? "{installerkey}")?.replace("{os}", this.getOSVersion())?.replace("{version}", this.geoCoordinatorClientConfig.installerSettings.plc?.version ?? "{version}") ?? ""; 54 } 55 getOSVersion() { 56 return this.windowRef.navigator.userAgent.includes("Win") === !0 ? "win" : this.windowRef.navigator.userAgent.includes("Mac") === !0 ? "NotSupported" : "mac"; 57 } 58 }; 59 return i.ɵfac = (() => { 60 let n; 61 return function(t) { 62 return (n || (n = C(i)))(t || i); 63 }; 64 })(), i.ɵcmp = k({ 65 type: i, 66 selectors: [["vn-geo-coordination-desktop-launch-widget"]], 67 features: [f], 68 decls: 11, 69 vars: 5, 70 consts: [ 71 [ 72 3, 73 "onClose", 74 "showHeaderCloseIcon", 75 "headerTitle" 76 ], 77 ["content", ""], 78 [1, "geo-installer-dialog"], 79 [1, "geo-location-text"], 80 ["actions", ""], 81 [1, "buttons-row"], 82 [ 83 "ds-button", 84 "", 85 "size", 86 "medium", 87 "variant", 88 "outline", 89 "kind", 90 "secondary", 91 1, 92 "w-100", 93 3, 94 "click" 95 ], 96 [ 97 "ds-button", 98 "", 99 "size", 100 "medium", 101 "variant", 102 "filled", 103 "kind", 104 "primary", 105 1, 106 "w-100", 107 3, 108 "click" 109 ] 110 ], 111 template: function(n, t) { 112 n & 1 && (s(0, "vn-dialog", 0), m("onClose", function() { 113 return t.close(); 114 }), _(1, 1), s(2, "div", 2)(3, "div", 3), r(4), e()(), u(), _(5, 4), s(6, "div", 5)(7, "button", 6), m("click", function() { 115 return t.continue(); 116 }), r(8), e(), s(9, "button", 7), m("click", function() { 117 return t.download(); 118 }), r(10), e()(), u(), e()), n & 2 && (w("showHeaderCloseIcon", !0)("headerTitle", t.title()), a(4), l(t.instructionText()), a(4), l(t.continueCTAText()), a(2), l(t.downloadCTAText())); 119 }, 120 dependencies: [nt, K], 121 encapsulation: 2, 122 changeDetection: 1 123 }), i; 124 })(); 125 })))(); 126} 127p(); 128export { h as GeoCoordinationDesktopLaunchWidgetComponent }; 129 130//# sourceMappingURL=chunk-ovfyfvcy.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.