PageSourceSearch

https://www.halloweencostumes.com/Views/Shared/_Chat/hc/SiteOptions.js

js halloweencostumes.com collected 2026-10-09 23:02:31 UTC 3,414 bytes, 76 lines download raw bytes

1var Fun;
2(function (Fun_1) {
3    var Chat;
4    (function (Chat) {
5        var HalloweenCostumesCom;
6        (function (HalloweenCostumesCom) {
7            class Instance {
8                GetOptions() {
9                    const primary = "#490199";
10                    const primaryBorder = `1px solid ${primary}`;
11                    const secondary = "#900";
12                    /*
13                    * These options are provided to the Quiq chat object on initialization.
14                    * NOTE: Chat options can be overridden at the site level for various look-and-feel details.
15                    *
16                    * See the full list of available options that can be configured for Quiq chat:
17                    * https://developers.goquiq.com/docs/webchat/#/reference/types
18                    */
19                    let siteOptions = {
20                        contactPoint: "halloweencostumescom",
21                        colors: {
22                            primary: primary,
23                            agentMessageDropdownButtonBackground: primary,
24                            agentMessageLinkText: primary
25                        },
26                        styles: {
27                            HeaderMenu: {
28                                backgroundColor: secondary
29                            },
30                            WelcomeFormSubmitButton: {
31                                borderColor: secondary,
32                                backgroundColor: secondary
33                            },
34                            AgentRichMessage: {
35                                button: {
36                                    borderColor: primary,
37                                    color: primary
38                                }
39                            },
40                            InlineActionButton: {
41                                border: primaryBorder,
42                                color: primary
43                            },
44                            MessageFormSend: {
45                                backgroundColor: secondary
46                            },
47                            OptionsMenuLineItem: {
48                                color: primary
49                            },
50                            OptionsMenuLineItemIcon: {
51                                color: primary
52                            }
53                        },
54                        messages: {
55                            headerText: textResource.GetTextByCulture("Feature_Chat_AskAnythingSpooky")
56                        }
57                    };
58                    if (textResource.GetLanguage() === "es") {
59                        siteOptions.language = "es";
60                    }
61                    return siteOptions;
62                }
63            }
64            HalloweenCostumesCom.Instance = Instance;
65        })(HalloweenCostumesCom = Chat.HalloweenCostumesCom || (Chat.HalloweenCostumesCom = {}));
66    })(Chat = Fun_1.Chat || (Fun_1.Chat = {}));
67})(Fun || (Fun = {}));
68$(() => {
69    if ($("div[data-chatid='quiq']").length) {
70        if (typeof chatInstance !== "undefined" && chatInstance !== null) {
71            chatInstance.SiteInstance = new Fun.Chat.HalloweenCostumesCom.Instance();
72            chatInstance.ConfigureChat();
73        }
74    }
75});
76//# sourceMappingURL=SiteOptions.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.