1import { b as g } from "./chunk-i2pl4wu9.js"; 2import { $i as h, Co as u, Fo as c, Gi as l, W as n, _r as r, et as p, q as m, ro as t, rt as s, zi as i } from "./chunk-ql746sly.js"; 3import { j as f } from "./chunk-hcheit1f.js"; 4import { p as k } from "./chunk-b11o3szq.js"; 5import { D as C, ut as w } from "./chunk-fz42rx6r.js"; 6import { r as v } from "./chunk-icjzvqcx.js"; 7import { t as M } from "./chunk-jbaamz4y.js"; 8import { A as b, b as x } from "./chunk-c01xxjhs.js"; 9import { J as O, gt as D } from "./chunk-jtpxiaxj.js"; 10import { o as y } from "./chunk-jaxwt8s1.js"; 11import { j as S } from "./chunk-nhl74n6z.js"; 12import { o as N } from "./chunk-br9ckdzm.js"; 13import { p as P } from "./chunk-bl09vhvv.js"; 14import { ot as z } from "./chunk-f0xko016.js"; 15import { c as L } from "./chunk-n63cutws.js"; 16import { Dn as B, jr as A } from "./chunk-eu7ozsb7.js"; 17import { a as E } from "./chunk-lt7tziae.js"; 18import { n as G } from "./chunk-gpn04stg.js"; 19import { t as I } from "./chunk-lf77xnpz.js"; 20import { i as U, p as V } from "./chunk-bnt36dw9.js"; 21import { n as F, r as J } from "./chunk-d6iooz3w.js"; 22import { r as Y } from "./chunk-jouxu15i.js"; 23import { n as j } from "./chunk-c8btpjog.js"; 24import { tt as q } from "./chunk-dkzazc5t.js"; 25import { c as R, h as T, mn as H } from "./chunk-b0owf95e.js"; 26import { i as K } from "./chunk-hv7vgf8e.js"; 27import { r as W, t as Z } from "./chunk-e73ndlg5.js"; 28import { n as Q, t as X } from "./chunk-gd9lkrcj.js"; 29import { In as $, Ln as oo, Ua as no } from "./chunk-jrsxruoz.js"; 30import { $n as to, Yr as io } from "./chunk-mbdbb8r5.js"; 31import { t as eo } from "./chunk-o4f8w5yc.js"; 32var _; 33function d() { 34 return (d = eo((() => { 35 g(), h(), f(), k(), w(), v(), M(), b(), D(), y(), S(), N(), x(), P(), z(), O(), L(), A(), E(), G(), I(), V(), U(), F(), Y(), j(), q(), B(), H(), K(), no(), oo(), W(), Q(), to(), _ = (() => { 36 class e { 37 geoLocationCoordinatorService = n(io); 38 geolocationConfig = n(R); 39 sitecore = n(T); 40 activeModal = n($); 41 downloadMessage; 42 _window = n(C); 43 continue() { 44 this.geoLocationCoordinatorService.initialize(), this.activeModal.close(); 45 } 46 download() {
47 this._window.open(this.formDownloadUrl(), "_self"); 48 } 49 close() { 50 this.activeModal.close(); 51 } 52 formDownloadUrl() { 53 return this.geolocationConfig.installerSettings.downloadUrl && this.geolocationConfig.installerSettings.downloadUrl.replace("{installerkey}", this.geolocationConfig.installerSettings.installerKey).replace("{os}", this.getOSVersion()).replace("{version}", this.geolocationConfig.installerSettings.version); 54 } 55 getOSVersion() { 56 return this._window.navigator.appVersion.indexOf("Win") !== -1 ? "win" : this._window.navigator.appVersion.indexOf("Mac") !== -1 ? "mac" : "NotSupported"; 57 } 58 static ɵfac = function(a) { 59 return new (a || e)(); 60 }; 61 static ɵcmp = u({ 62 type: e, 63 selectors: [["ms-geo-location-installer"]], 64 decls: 15, 65 vars: 4, 66 consts: [ 67 [1, "geo-location-header"], 68 [1, "geo-location-header-text"], 69 [ 70 "ds-button-icon", 71 "", 72 "variant", 73 "flat-reduced", 74 "kind", 75 "tertiary", 76 "size", 77 "medium", 78 3, 79 "click" 80 ], 81 ["name", "theme-close"], 82 [1, "geo-installer-dialog"], 83 [1, "geo-location-text"], 84 [1, "buttons"], 85 [ 86 "ds-button", 87 "", 88 "variant", 89 "outline", 90 "kind", 91 "secondary", 92 "size", 93 "large", 94 3, 95 "click" 96 ], 97 [ 98 "ds-button", 99 "", 100 "variant", 101 "filled", 102 "kind", 103 "primary", 104 "size", 105 "large", 106 3, 107 "click" 108 ] 109 ], 110 template: function(a, o) { 111 a & 1 && (i(0, "div", 0)(1, "div", 1)(2, "span"), r(3), t()(), i(4, "button", 2), c("click", function() { 112 return o.close(); 113 }), p(5, "vn-icon", 3), t()(), i(6, "div")(7, "div", 4)(8, "div", 5), r(9), t(), i(10, "div", 6)(11, "button", 7), c("click", function() { 114 return o.continue(); 115 }), r(12), t(), i(13, "button", 8), c("click", function() { 116 return o.download(); 117 }), r(14), t()()()()), a & 2 && (s(3), m(o.sitecore.globalMessages.GeoLocationHeader), s(6), m(o.sitecore.globalMessages.GeoLocationText), s(3), l(" ", o.sitecore.globalMessages.Continue, " "), s(2), l(" ", o.sitecore.globalMessages.Download, " ")); 118 }, 119 dependencies: [ 120 J, 121 X, 122 Z 123 ], 124 styles: ["@charset \"UTF-8\";.geo-location-header[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:.625em;height:2.4em;background-color:var(--%NS%location-header-background)}.geo-location-header[_ngcontent-%COMP%] .geo-location-header-text[_ngcontent-%COMP%]{font-size:1em;font-weight:700;color:var(--%NS%location-header-color)}.geo-location-header[_ngcontent-%COMP%] .close[_ngcontent-%COMP%]{color:var(--%NS%location-header-color)}.geo-location-header[_ngcontent-%COMP%] .theme-close[_ngcontent-%COMP%]{font-size:1.2em}.geo-installer-dialog[_ngcontent-%COMP%] .geo-location-text[_ngcontent-%COMP%]{padding:.625em;text-align:left}.buttons[_ngcontent-%COMP%]{display:flex;padding:.3125em .625em;gap:12px}.buttons[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{flex:1} .geo-location-popup .modal-content{width:90%;padding-bottom:.625em}@media(min-width:960px){ .geo-location-popup .modal-content{width:28%}}"], 125 changeDetection: 1 126 }); 127 } 128 return e; 129 })(); 130 })))(); 131} 132d(); 133export { _ as GeoLocationInstallerComponent }; 134 135//# sourceMappingURL=chunk-o79013a5.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.