PageSourceSearch

https://slaask.help/hc/

html slaask.help collected 2026-10-03 21:29:57 UTC 23,241 bytes, 372 lines download raw bytes

1<!DOCTYPE html><html lang="en"><head><meta charset="utf-8" /><meta content="width=device-width, initial-scale=1.0, maximum-scale=1, user-scalable=0" name="viewport" /><meta content="#e01765" name="theme-color" /><meta content="https://ask-assets.com/avatars/950a97a3-bafe-4d3d-9e7a-a8fa71247e9b-32dff57a-96e4-4006-b50b-7a82d6ed6f04.png" property="og:image" /><meta content="Knowledge Base | Knowledge Base" name="title" /><meta content="" name="description" /><meta content="Knowledge Base | Knowledge Base" property="og:title" /><meta content="" property="og:description" /><meta content="Knowledge Base | Knowledge Base" property="og:site_name" /><meta content="article" property="og:type" /><meta content="summary" name="twitter:card" /><meta content="all" name="robots" /><style type="text/css">a { border: none }</style><title>Knowledge Base | Knowledge Base</title><link rel="shortcut icon" type="image/x-icon" href="https://ask-assets.com/avatars/950a97a3-bafe-4d3d-9e7a-a8fa71247e9b-32dff57a-96e4-4006-b50b-7a82d6ed6f04.png" /><link rel="stylesheet" media="all" href="/assets/application-b17954aef30d5d9b3253a0e47393943407cee8f0a990e7f7ebd6d75550c29885.css" /><link rel="stylesheet" media="all" href="/assets/help_center-c088faa4b375e3dc0e132d4c46e0be3032395e2f012303fc4479b844df364dbc.css" /><style type="text/css">.header-content, .header-fixed {
2  background: #e01765
3}
4
5.hit-name svg {
6  fill: #e01765
7}
8
9.help-center-breadcrumb-step a:hover, .help-center-breadcrumb-step a:focus, .help-center-hit a:hover, .help-center-hit a:focus, .hit-content mark, .help-category-box:hover h2, footer a:hover, footer a:focus, .ais-Pagination-item__active a.ais-Pagination-link {
10  color: #e01765!important
11}</style><link href="https://cdn.jsdelivr.net/instantsearch.js/1/instantsearch.min.css" rel="stylesheet" /><style type="text/css">.header-content, .header-fixed {
12  background: #e01765
13}
14
15.UI__SlaaskBox svg, .hit-image svg {
16  fill: #e01765
17}
18
19.help-center-breadcrumb-step a:hover, .help-center-breadcrumb-step a:focus, .help-center-hit a:hover, .help-center-hit a:focus, .hit-content mark, .faq-content-size h2, .help-category-box:hover h2, .help-category-box:focus h2, footer a:hover, footer a:focus, .ais-Pagination--item__active a.ais-pagination--link, .ais-Pagination-item--selected a, .ais-Pagination-item a:hover {
20  color: #e01765
21}
22
23.header-content, .link-hc, .languages-dropdown a {
24  color: #ffffff;
25}
26
27.header-content, .header-fixed, .help-center-container .separator {
28  background: #e01765
29}
30
31.show-header svg {
32  fill: #e01765
33}
34
35.help-center-breadcrumb-step a:hover, .help-center-breadcrumb-step a:focus, .help-center-hit a:hover, .help-center-hit a:focus, .hit-content mark, .faq-content-size h2, .help-category-box:hover h2, .help-category-box:focus h2, footer a:hover, footer a:focus, .help-center-container code, .ais-Pagination--item__active a.ais-pagination--link, .faq-content-size blockquote:before, .languages .btn-group .btn.active {
36  color: #e01765!important
37}
38
39.help-center-hit blockquote {
40  border-left: 3px solid #e01765!important;
41}
42
43.help-center-hit ol li:before {
44  background-color: #e01765!important;
45  color: #ffffff!important;
46}
47
48.help-center-hit ul li:before {
49  background-color: #e01765!important;
50}
51
52.help-center-hit-post img {
53  cursor: zoom-in;
54}
55
56.help-center-hit-post img:hover:not(.kb-emoji) {
57  filter: brightness(60%);
58}
59
60#myModal {
61  display: none; /* Hidden by default */
62  position: fixed; /* Stay in place */
63  z-index: 1000; /* Sit on top */
64  padding-top: 100px; /* Location of the box */
65  left: 0;
66  top: 0;
67  width: 100%; /* Full width */
68  height: 100%; /* Full height */
69  overflow: auto; /* Enable scroll if needed */
70  background-color: rgb(0,0,0); /* Fallback color */
71  background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
72}
73
74/* Modal Content (Image) */
75.modal-content {
76  margin: auto;
77  display: block;
78  max-width: 90%;
79}
80
81/* Caption of Modal Image (Image Text) - Same Width as the Image */
82#caption {
83  margin: auto;
84  display: block;
85  width: 80%;
86  max-width: 700px;
87  text-align: center;
88  color: #ccc;
89  padding: 10px 0;
90  height: 150px;
91}
92
93/* Add Animation - Zoom in the Modal */
94.modal-content, #caption {
95  -webkit-animation-name: zoom;
96  -webkit-animation-duration: 0.6s;
97  animation-name: zoom;
98  animation-duration: 0.6s;
99}
100
101@-webkit-keyframes zoom {
102  from {-webkit-transform:scale(0)}
103  to {-webkit-transform:scale(1)}
104}
105
106@keyframes zoom {
107  from {transform:scale(0)}
108  to {transform:scale(1)}
109}
110
111/* The Close Button */
112.close {
113  position: absolute;
114  top: 15px;
115  right: 35px;
116  color: #f1f1f1;
117  font-size: 40px;
118  font-weight: bold;
119  transition: 0.3s;
120  opacity: 1
121}
122
123.close:hover,
124.close:focus {
125  color: #bbb;
126  text-decoration: none;
127  cursor: pointer;
128}
129
130/* 100% Image Width on Smaller Screens */
131@media only screen and (max-width: 700px){
132  .modal-content {
133    width: 100%;
134  }
135}</style><style type="text/css">.header-content, .header-fixed {
136  background: #e01765
137}
138
139.hit-name svg {
140  fill: #e01765
141}
142
143.help-center-breadcrumb-step a:hover, .help-center-breadcrumb-step a:focus, .help-center-hit a:hover, .help-center-hit a:focus, .hit-content mark, .help-category-box:hover h2, footer a:hover, footer a:focus, .ais-Pagination-item__active a.ais-Pagination-link {
144  color: #e01765!important
145}</style></head><body class="admin slaask"><style type="text/css">.help-center-overlay {
146  background: url(https://cdn.xeno.app/patterns/neww.png);
147  background-position: bottom;
148}</style><header><div class="header-content"><div class="help-center-overlay"><div class="help-center-padding"><div class="help-center-container"><div class="branding hc"><div class="logo"><span>Find answers fast</span><a class="link-hc" href="/" target="_blank">Need some help?</a></div><div class="go-to dropdown languages-dropdown"><a aria-expanded="false" aria-haspopup="true" data-toggle="dropdown" href="#" id="dLabel" role="button"><i class="fal fa-globe">&nbsp;&nbsp;</i>English</a></div></div><div class="search"><div class="search-input"></div><div class="search-filters" id="all-filters"><div class="search-icons"><div class="search-submit-btn"></div><div class="search-caret-down"><div class="fa fa-caret-down"></div></div></div></div><input id="category-input" placeholder="Search in this category..." /><div class="search-filters" id="category-filters" style="display: none"><div class="search-icons"><div class="search-submit-btn"></div><div class="search-caret-down"><div class="fa fa-caret-up"></div></div></div></div><div class="select-container"><div class="search-select">Do you want to search in <a href="#" id="all-categories" class="select-border">all categories</a> or in <a href="#" id="inside-category" class="select-border"> this category</a> ?</div></div></div></div></div></div></div></header><section class="help-center-container"><div class="scrolling"></div><div class="help-center-breadcrumb"><div class="help-center-breadcrumb-step"><a href="/">Home</a></div><div class="help-center-breadcrumb-end"><span>All Categories</span></div></div><div class="help-center-hit"><div class="show-header"><h1>Slaask&#39;s Knowledge Base</h1></div><div class="help-center-categories ais-Hits-list"><div class="ais-Hits-item"><a class="help-category-box" href="/hc/general-documentation"><div style="position:relative"><div class="hit-content"><h2 class="hit-name"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" viewBox="0 0 512 512" enable-background="new 0 0 512 512" xml:space="preserve"><g><path d="M488.1,454.1L407,372.9l-17.4,17.4l-11.9-11.9c16.6-19.3,25.7-43.5,25.7-69.2c0-28.5-11.1-55.2-31.2-75.3   c-4.3-4.3-9-8.1-13.8-11.6V2H109.2L14.3,96.9V510h344.1V396c2.6-1.9,5.2-3.9,7.7-6l11.9,11.9l-17.4,17.4l81.1,81.1   c6.4,6.4,14.8,9.6,23.2,9.6s16.8-3.2,23.2-9.6C500.9,487.6,500.9,466.8,488.1,454.1z M387.1,309.2c0,24.1-9.4,46.7-26.4,63.7   c-35.1,35.1-92.3,35.1-127.5,0c-17-17-26.4-39.7-26.4-63.7c0-24.1,9.4-46.7,26.4-63.7s39.7-26.4,63.7-26.4   c24.1,0,46.7,9.4,63.7,26.4S387.1,285.1,387.1,309.2z M104.4,30v62.2H42.3L104.4,30z M342,493.6H30.7V108.5h90.1V18.4H342v194.4   c-14-6.5-29.2-10.1-45.1-10.1c-28.5,0-55.2,11.1-75.3,31.2c-6.7,6.7-12.3,14.1-16.9,22.1H71.7v16.4H197c-4.3,11.6-6.6,24-6.6,36.8   c0,9.9,1.4,19.5,4,28.7H71.7v16.4h128.9c5.2,11.1,12.2,21.3,21.1,30.2c20.8,20.8,48,31.1,75.3,31.1c15.4,0,30.8-3.5,45.1-10.1   V493.6z M476.5,488.8c-6.4,6.4-16.8,6.4-23.2,0l-69.5-69.5l23.2-23.2l69.5,69.5C482.9,472,482.9,482.4,476.5,488.8z"></path><path d="M259.8,260.5c-3.2-3.2-8.4-3.2-11.6,0c-13,13-20.2,30.3-20.2,48.7c0,18.4,7.2,35.7,20.2,48.7c1.6,1.6,3.7,2.4,5.8,2.4   c2.1,0,4.2-0.8,5.8-2.4c3.2-3.2,3.2-8.4,0-11.6c-9.9-9.9-15.4-23.1-15.4-37.1s5.5-27.2,15.4-37.1C263,268.9,263,263.7,259.8,260.5z   "></path><rect x="71.7" y="174.1" width="229.4" height="16.4"></rect><rect x="71.7" y="428.1" width="229.4" height="16.4"></rect><rect x="219.1" y="67.5" width="16.4" height="16.4"></rect><rect x="251.9" y="67.5" width="16.4" height="16.4"></rect><rect x="284.7" y="67.5" width="16.4" height="16.4"></rect></g></svg>General documentation</h2><p>A curated list of the most commonly asked questions by our customers</p></div><div class="hit-content articles-count"><div class="hit-content-description"><span class="darker">5 sub-categories in this category.</span></div></div></div></a></div><div class="ais-Hits-item"><a class="help-category-box" href="/hc/developers-documentation"><div style="position:relative"><div class="hit-content"><h2 class="hit-name"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" viewBox="0 0 512 512" enable-background="new 0 0 512 512" xml:space="preserve"><g><path d="M108.5,256h6.2c0.4,1.1,0.9,2.3,1.4,3.4l-4.4,4.4c-3.1,3.1-4.8,7.2-4.8,11.6c0,4.4,1.7,8.5,4.8,11.6l23.2,23.2   c6.2,6.2,17,6.2,23.2,0l4.4-4.4c1.1,0.5,2.3,1,3.4,1.4v6.2c0,9,7.3,16.4,16.4,16.4H215c9,0,16.4-7.3,16.4-16.4v-6.2   c1.1-0.4,2.3-0.9,3.4-1.4l4.4,4.4c6.4,6.4,16.8,6.4,23.2,0l23.2-23.2c3.1-3.1,4.8-7.2,4.8-11.6c0-4.4-1.7-8.5-4.8-11.6l-4.4-4.4   c0.5-1.1,1-2.3,1.4-3.4h6.2c9,0,16.4-7.3,16.4-16.4v-32.8c0-9-7.3-16.4-16.4-16.4h-6.2c-0.4-1.1-0.9-2.3-1.4-3.4l4.4-4.4   c6.4-6.4,6.4-16.8,0-23.2l-23.2-23.2c-6.4-6.4-16.8-6.4-23.2,0l-4.4,4.4c-1.1-0.5-2.3-1-3.4-1.4v-6.2c0-9-7.3-16.4-16.4-16.4h-32.8   c-9,0-16.4,7.3-16.4,16.4v6.2c-1.1,0.5-2.3,0.9-3.4,1.4l-4.4-4.4c-6.2-6.2-17-6.2-23.2,0l-23.2,23.2c-6.4,6.4-6.4,16.8,0,23.2   l4.4,4.4c-0.5,1.1-1,2.3-1.4,3.4h-6.2c-9,0-16.4,7.3-16.4,16.4v32.8C92.1,248.7,99.5,256,108.5,256z M108.5,206.8h18l1.8-5.7   c1.2-4,2.9-8,5-11.9l2.8-5.3l-12.7-12.7l23.2-23.2l12.7,12.7l5.3-2.8c3.9-2.1,8-3.7,11.9-5l5.7-1.8v-18H215v18l5.7,1.8   c4,1.3,8,2.9,11.9,5l5.3,2.8l12.8-12.7l23.2,23.2l-12.7,12.7l2.8,5.3c2.1,4,3.8,8,5,11.9l1.8,5.7h18v32.8h-18l-1.8,5.7   c-1.2,4-2.9,8-5,11.9l-2.8,5.3l12.7,12.7l-23.2,23.2L238,285.8l-5.3,2.8c-3.9,2.1-8,3.7-11.9,5l-5.7,1.8v18h-32.8v-18l-5.7-1.8   c-4-1.2-8-2.9-11.9-5l-5.3-2.8l-12.7,12.7l-23.2-23.2l12.7-12.7l-2.8-5.3c-2.1-4-3.8-8-5-11.9l-1.8-5.7h-18V206.8z"></path><path d="M198.6,280.6c31.6,0,57.4-25.7,57.4-57.4s-25.7-57.4-57.4-57.4s-57.4,25.7-57.4,57.4S167,280.6,198.6,280.6z M198.6,182.3   c22.6,0,41,18.4,41,41s-18.4,41-41,41s-41-18.4-41-41S176.1,182.3,198.6,182.3z"></path><path d="M346.1,124.9c18.1,0,32.8-14.7,32.8-32.8s-14.7-32.8-32.8-32.8s-32.8,14.7-32.8,32.8S328.1,124.9,346.1,124.9z M346.1,75.7   c9,0,16.4,7.3,16.4,16.4
148s-7.3,16.4-16.4,16.4c-9,0-16.4-7.3-16.4-16.4S337.1,75.7,346.1,75.7z"></path><path d="M510,428.1V83.9h-90.1v-2.7c0-7.5-6.1-13.7-13.7-13.7h-0.7L406,67c2.6-2.6,4-6,4-9.7s-1.4-7.1-4-9.7l-15.5-15.5   c-5.3-5.3-14-5.3-19.3,0l-0.5,0.5V32c0-7.5-6.1-13.7-13.7-13.7h-21.9c-7.5,0-13.7,6.1-13.7,13.7v0.7l-0.5-0.5   c-5.3-5.3-14-5.3-19.3,0l-15.5,15.5c-2.6,2.6-4,6-4,9.7s1.4,7.1,4,9.7l0.5,0.5H286c-7.5,0-13.7,6.1-13.7,13.7v2.7H2v344.1h155.7   v49.2H92.1v16.4h65.5h196.6h65.5v-16.4h-65.5v-49.2H510z M299.8,57.4l11.6-11.6l8,8l5.3-2.8c2.5-1.3,5-2.4,7.5-3.1l5.7-1.8V34.8   h16.4V46l5.7,1.8c2.5,0.8,5,1.8,7.5,3.1l5.3,2.8l8-8l11.6,11.6l-8,8l2.8,5.3c1.3,2.5,2.4,5,3.2,7.5l1.8,5.7h11.2v16.4h-11.2   l-1.8,5.7c-0.8,2.5-1.8,5-3.2,7.5l-2.8,5.3l8,8l-11.6,11.6l-8-8l-5.3,2.8c-2.5,1.3-5,2.4-7.5,3.1l-5.7,1.8v11.3h-16.4v-11.3   l-5.7-1.8c-2.5-0.8-5-1.8-7.5-3.1l-5.3-2.8l-8,8l-11.6-11.6l8-8l-2.8-5.3c-1.3-2.5-2.4-5-3.1-7.5l-1.8-5.7h-11.3V83.9H300l1.8-5.7   c0.8-2.5,1.8-5,3.1-7.5l2.8-5.3L299.8,57.4z M272.4,100.3v2.7c0,7.5,6.1,13.7,13.7,13.7h0.7l-0.5,0.5c-5.3,5.3-5.3,14,0,19.3   l15.5,15.5c5.3,5.3,14,5.3,19.3,0l0.5-0.5v0.7c0,7.5,6.1,13.7,13.7,13.7h21.9c7.5,0,13.7-6.1,13.7-13.7v-0.7l0.5,0.5   c5.3,5.3,14,5.3,19.3,0l15.4-15.5c5.3-5.3,5.3-14,0-19.3l-0.5-0.5h0.7c7.5,0,13.7-6.1,13.7-13.7v-2.7h73.7v245.8H18.4V100.3H272.4z    M18.4,411.7v-49.2h475.2v49.2H354.3H157.7H18.4z M337.9,477.2H174.1v-49.2h163.9V477.2z"></path><rect x="247.8" y="378.9" width="16.4" height="16.4"></rect><rect x="280.6" y="378.9" width="16.4" height="16.4"></rect><rect x="215" y="378.9" width="16.4" height="16.4"></rect></g></svg>Developers documentation</h2><p>Learn how to get started building on our API&#39;s, whether you’re building an app or a custom integration.</p></div><div class="hit-content articles-count"><div class="hit-content-images"><img src="https://avatars.slack-edge.com/2018-12-19/507167122928_05309c3d28cd3bf6e32f_72.png" /></div><div class="hit-content-description"><span class="darker">7 sub-categories in this category.</span><br />Written by <span class="darker">Grace Williamson.</div></div></div></a></div></div></div><div id="hits"></div><div id="pagination"></div>
148<script id="hit-template" type="text/html"><a class="hit help-category-box UI__SlaaskBox" href="/hc/{{{category_slug}}}/{{{slug}}}?searched=true" data-object-id="{{{objectID}}}"><div class="hit-image"></div><div class="hit-content"><h2 class="hit-name">{{{_highlightResult.title.value}}}</h2><p>{{{_highlightResult.description.value}}}</p></div><div class="hit-content articles-count"><div class="hit-content-images"><img src="{{{author_image}}}"></div><div class="hit-content-description"><span class="hit-content-written-by">Written by <span class="darker">{{{author_name}}}</span><br/></span><span class="darker">Last update:{{{last_update}}}</span></div></div></a></script>
148</section><footer><div class="container"><div class="col-sm-12 text-center"><a href="https://get.slaask.com?utm_source=&utm_medium=livechat&utm_campaign=livechat-referral" target="_blank">Powered by <i style="color: #E01765!important; font-style: normal!important;">Slaask</i></a></div></div></footer>
148<script type="decdc65233b75a0e36e5452c-text/javascript">var allowMobileView         = true
149var currentLanguage         = "en"
150window.i18nLocale           = currentLanguage
151window.i18nDefaultLocale    = "en"
152var allowMobileView         = true
153var replaced_brand_name     = "Slaask"
154var replaced_brand_name_low = "slaask"
155var replaced_base_url       = "https://slaask.com"
156var replaced_base_domain    = "slaask.com"
157var replaced_cdn_url        = "https://cdn.slaask.com"
158var replaced_js_element     = "_slaask"
159var replaced_api_key        = "spk-..."
160var replaced_secret_key     = "ssk-..."
161var replaced_slack          = "Slack"
162var shouldAutoTranslate     = true
163// var shouldAutoTranslate     = false
164var facetsRefinements       = {
165  widget_ids: [21529],
166  is_draft: [false],
167  ai_only: [false]
168}
169
170if (!shouldAutoTranslate) {
171  facetsRefinements['translated_in'] = ['en']
172}
173
174function replaceBrandElements(text) {
175  if(text && text.value != null) { text = text.value }
176  if(text && text != '') {
177    if(text.replace(/<mark>/gi, '').replace(/<\/mark>/gi, '').match(/%{brand_name}/gm)) {
178      text = text.replace(/<mark>/gi, '').replace(/<\/mark>/gi, '')
179    }
180    text = text.replace(/%{brand_name}/gm, replaced_brand_name)
181    text = text.replace(/%{brand_name_low}/gm, replaced_brand_name_low)
182    text = text.replace(/%{base_url}/gm, replaced_base_url)
183    text = text.replace(/%{base_domain}/gm, replaced_base_domain)
184    text = text.replace(/%{cdn_url}/gm, replaced_cdn_url)
185    text = text.replace(/%{js_element}/gm, replaced_js_element)
186    text = text.replace(/%{api_key_placeholder}/gm, replaced_api_key)
187    text = text.replace(/%{secret_key_placeholder}/gm, replaced_secret_key)
188    text = text.replace(/%{brand_slack}/gm, replaced_slack)
189
190    if(replaced_brand_name_low == 'slaask') {
191      text = text.replace(/ *%{xeno-begin}[^)]*%{xeno-end} */, '')
192    } else {
193      text = text.replace(/ *%{slaask-begin}[^)]*%{slaask-end} */, '')
194    }
195
196    text = text.replace(/%{slaask-begin}/gm, '')
197    text = text.replace(/%{slaask-end}/gm, '')
198    text = text.replace(/%{xeno-begin}/gm, '')
199    text = text.replace(/%{xeno-end}/gm, '')
200  }
201
202  return text;
203}
204
205function replaceBrandForAlgolia(obj) {
206  obj.title                           = replaceBrandElements(hitAttributeOrDefault('title', obj, false))
207  obj.description                     = replaceBrandElements(hitAttributeOrDefault('description', obj, false))
208
209  if(obj._highlightResult) {
210    obj._highlightResult.title        = { value: replaceBrandElements(hitAttributeOrDefault('title', obj, true)) }
211    obj._highlightResult.description  = { value : replaceBrandElements(hitAttributeOrDefault('description', obj, true)) }
212  } else {
213    obj._highlightResult             = {
214      title: { value: obj.title },
215      description: { value: obj.description }
216    }
217  }
218
219  return obj;
220}
221
222function hitAttributeOrDefault(attribute, object, highlight) {
223  if (highlight) {
224    return object._highlightResult[attribute + '_' + currentLanguage] || object._highlightResult[attribute + '_' + object.language] || object._highlightResult[attribute + '_en']
225  } else {
226    return object[attribute + '_' + currentLanguage] || object[attribute + '_' + object.language] || object[attribute + '_en']
227  }
228}</script>
228<script src="https://cdn.slaask.com/javascripts/i18n.js" type="decdc65233b75a0e36e5452c-text/javascript"></script>
228<script src="/assets/i18n/en-c42dc0b3572037d6c6e186239ae85c9088ec91879143a3cb814233469502d95f.js" type="decdc65233b75a0e36e5452c-text/javascript"></script>
228<script src="/assets/i18n_override-2b54d52a3ecaadc80b56dabd74af3860156645f63d68ab595d959c1dcb66996f.js" type="decdc65233b75a0e36e5452c-text/javascript"></script>
228<script src="/assets/application-839ad5a52092f9147b8099c81250bfc00e0f0a29590cdea0eb52bc525eb973fb.js" type="decdc65233b75a0e36e5452c-text/javascript"></script>
228<script src="/assets/help_center_scrolling-aa3cf3631435bf1f2b1edde4f9209a99d8eb0e4bb1f8f273e3698e541583b0f3.js" type="decdc65233b75a0e36e5452c-text/javascript"></script>
228<script src="/assets/packs/js/runtime-9037c90bf2736a54c585.js" type="decdc65233b75a0e36e5452c-text/javascript"></script>
vendor: 1 bytes, line 228
228
229<script src="/assets/packs/js/AskFetch-b986b5012b77b3d53c6f.js" type="decdc65233b75a0e36e5452c-text/javascript"></script>
229<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/algoliasearchLite.min.js" type="decdc65233b75a0e36e5452c-text/javascript"></script>
229<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/instantsearch.production.min.js" type="decdc65233b75a0e36e5452c-text/javascript"></script>
229<script type="decdc65233b75a0e36e5452c-text/javascript">$('#search-input').on('focus', function() {
230  $('.search-icons').addClass('search-icons-focused')
231});
232
233$('#search-input').on('focusout', function() {
234  $('.search-icons').removeClass('search-icons-focused')
235});
236
237$('img.svg').each(function(){
238  var $img      = $(this);
239  var imgID     = $img.attr('id');
240  var imgClass  = $img.attr('class');
241  var imgURL    = $img.attr('src');
242
243  $.get(imgURL, function(data) {
244    var $svg = $(data).find('svg');
245
246    if (typeof imgID !== 'undefined') {
247      $svg = $svg.attr('id', imgID);
248    }
249
250    if (typeof imgClass !== 'undefined') {
251      $svg = $svg.attr('class', imgClass+' replaced-svg');
252    }
253
254    $svg = $svg.removeAttr('xmlns:a');
255
256    if (!$svg.attr('viewBox') && $svg.attr('height') && $svg.attr('width')) {
257      $svg.attr('viewBox', '0 0 ' + $svg.attr('height') + ' ' + $svg.attr('width'))
258    }
259
260    $img.replaceWith($svg);
261  }, 'xml');
262});
263
264var searchClient = algoliasearch('H6K4UUMYOA', '355ec495bca1d1bc93c5008768a442d7');
265
266let timer
267const delay = 2000
268function saveSearch (query) {
269  clearTimeout(timer)
270  timer = setTimeout(() => {
271    let app = undefined
272    if (window._xeno && window._xeno.didEventHappen('ready')) {
273      app = window._xeno
274    }
275
276    if (window._slaask && window._slaask.didEventHappen('ready')) {
277      app = window._slaask
278    }
279
280    if (window._sarbacane && window._sarbacane.didEventHappen('ready')) {
281      app = window._sarbacane
282    }
283
284    if (app) {
285      firstResult = document.querySelector('#hits li > a')
286      if (firstResult) {
287        indexId = firstResult.dataset.objectId
288      } else {
289        indexId = undefined
290      }
291      AskFetch.post('/api/save_faq_search', {
292        guest_token: app.getGuestToken(),
293        key: app.getPublicKey(),
294        search: query,
295        index_id: indexId
296      })
297    }
298  }, delay)
299}
300
301var search = instantsearch({
302  indexName: "production_faq_5986",
303  searchClient: searchClient,
304  searchFunction: function(helper) {
305    var categories = $('.help-center-hit')
306    var hit = $('.hit')
307    var pagination = $('#pagination')
308    var searchResults = $('.search-results');
309    if (helper.state.query === '') {
310      clearTimeout(timer)
311      searchResults.hide();
312      hit.css("display", "none")
313      pagination.css("display", "none")
314      categories.css("display", "block")
315      return;
316    } else {
317      helper.search()
318      categories.css("display", "none")
319      hit.css("display", "block")
320      pagination.css("display", "block")
321      searchResults.show()
322      saveSearch(helper.state.query)
323    }
324  }
325});
326
327search.addWidget(
328  instantsearch.widgets.searchBox({
329    container: '.search-input',
330    placeholder: "Search..."
331  })
332);
333
334search.addWidget(
335  instantsearch.widgets.configure({
336    facetsRefinements: facetsRefinements
337  })
338);
339
340search.addWidget(
341  instantsearch.widgets.hits({
342    container: '#hits',
343    hitsPerPage: 10,
344    templates: {
345      item: document.getElementById('hit-template').innerHTML,
346      empty: "We didn&#39;t find any results for your search" + " <em>\"{{query}}\"</em>"
347    },
348    transformItems: function(items) {
349      if (items.length < 10) {
350        $('#pagination').css('display', 'none')
351      } else {
352        $('#pagination').css('display', 'block')
353      }
354
355      items.map(function(item) {
356        item.last_update = I18n.l("time.formats.help_center", item.last_update)
357        return replaceBrandForAlgolia(item)
358      })
359
360      return items
361    }
362  })
363);
364
365search.addWidget(
366  instantsearch.widgets.pagination({
367    container: '#pagination'
368  })
369);
370
371search.start();</script>
vendor: 142 bytes, line 371
371<script src="/cdn-cgi/scripts/7d0fa10a/cloudflare-static/rocket-loader.min.js" data-cf-settings="decdc65233b75a0e36e5452c-|49" defer></script>
371<script type="module" src="https://static.cloudflareinsights.com/beacon.min.js/v31edd6df95cf4e85bb4c19e7a9bdbcba1788362987495" integrity="sha512-iIg7k2xntmwu6/uSb5tpc/hySgZc4eoL31yB29W6tJFo2akwjPWcEqnCEdJvGexCL0KEQwVYv5BlowfhVz26hg==" data-cf-beacon='{"version":"2024.11.0","token":"87b651702adf4d89a6ac103c25deab62","r":1,"spa":2}' crossorigin="anonymous"></script>
371
372</body></html>

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.