ably-ui 8.7.0.dev.7021bee → 8.7.0.dev.7072b07
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +6 -6
- data/README.md +15 -4
- data/lib/ably_ui/core/code/component.css +2 -0
- data/lib/ably_ui/core/code/component.js +739 -1
- data/lib/ably_ui/core/company_autocomplete/component.css +2 -0
- data/lib/ably_ui/core/company_autocomplete/component.js +1161 -1
- data/lib/ably_ui/core/connect_state_wrapper/component.js +22 -1
- data/lib/ably_ui/core/contact_footer/component.css +2 -0
- data/lib/ably_ui/core/contact_footer/component.js +211 -1
- data/lib/ably_ui/core/cookie_message/component.css +2 -0
- data/lib/ably_ui/core/cookie_message/component.js +82 -1
- data/lib/ably_ui/core/core.rb +12 -4
- data/lib/ably_ui/core/customer_logos/component.js +22 -1
- data/lib/ably_ui/core/dropdown_menu/component.js +22 -1
- data/lib/ably_ui/core/feature_footer/component.css +2 -0
- data/lib/ably_ui/core/feature_footer/component.js +211 -1
- data/lib/ably_ui/core/featured_link/component.css +2 -0
- data/lib/ably_ui/core/featured_link/component.js +82 -1
- data/lib/ably_ui/core/flash/component.css +2 -0
- data/lib/ably_ui/core/flash/component.js +82 -1
- data/lib/ably_ui/core/footer/component.css +23 -1
- data/lib/ably_ui/core/footer/component.js +82 -1
- data/lib/ably_ui/core/footer/footer.html.erb +120 -63
- data/lib/ably_ui/core/icon/component.js +22 -1
- data/lib/ably_ui/core/images/best-support-2023.svg +1 -0
- data/lib/ably_ui/core/images/fastest-implementation-2023.svg +1 -0
- data/lib/ably_ui/core/images/high-performer-2022.png +0 -0
- data/lib/ably_ui/core/images/high-performer-2023.svg +1 -0
- data/lib/ably_ui/core/images/highest-user-adoption-2022.png +0 -0
- data/lib/ably_ui/core/images/highest-user-adoption-2023.svg +1 -0
- data/lib/ably_ui/core/images/users-love-us-2022.png +0 -0
- data/lib/ably_ui/core/loader/component.js +22 -1
- data/lib/ably_ui/core/logo/component.js +22 -1
- data/lib/ably_ui/core/meganav/component.css +3 -3
- data/lib/ably_ui/core/meganav/component.js +992 -1
- data/lib/ably_ui/core/meganav/component.json +2 -2
- data/lib/ably_ui/core/meganav/meganav.rb +6 -6
- data/lib/ably_ui/core/meganav_blog_posts_list/component.js +1159 -1
- data/lib/ably_ui/core/meganav_content_company/component.js +22 -1
- data/lib/ably_ui/core/meganav_content_company/meganav_content_company.html.erb +9 -0
- data/lib/ably_ui/core/meganav_content_developers/component.js +22 -1
- data/lib/ably_ui/core/meganav_content_developers/meganav_content_developers.html.erb +30 -14
- data/lib/ably_ui/core/meganav_content_products/component.js +22 -0
- data/lib/ably_ui/core/{meganav_content_platform/meganav_content_platform.html.erb → meganav_content_products/meganav_content_products.html.erb} +15 -33
- data/lib/ably_ui/core/{meganav_content_platform/meganav_content_platform.rb → meganav_content_products/meganav_content_products.rb} +1 -1
- data/lib/ably_ui/core/meganav_content_use_cases/component.js +22 -1
- data/lib/ably_ui/core/meganav_content_use_cases/meganav_content_use_cases.html.erb +42 -38
- data/lib/ably_ui/core/meganav_control/component.js +241 -1
- data/lib/ably_ui/core/meganav_control_mobile_dropdown/component.js +180 -1
- data/lib/ably_ui/core/meganav_control_mobile_panel_close/component.js +142 -1
- data/lib/ably_ui/core/meganav_control_mobile_panel_open/component.js +170 -1
- data/lib/ably_ui/core/meganav_items_desktop/component.js +22 -1
- data/lib/ably_ui/core/meganav_items_desktop/meganav_items_desktop.rb +1 -1
- data/lib/ably_ui/core/meganav_items_mobile/component.js +22 -1
- data/lib/ably_ui/core/meganav_items_signed_in/component.js +22 -1
- data/lib/ably_ui/core/meganav_search/component.js +22 -1
- data/lib/ably_ui/core/meganav_search_autocomplete/component.js +295 -1
- data/lib/ably_ui/core/meganav_search_panel/component.js +22 -1
- data/lib/ably_ui/core/meganav_search_suggestions/component.js +258 -1
- data/lib/ably_ui/core/notice/component.css +2 -0
- data/lib/ably_ui/core/notice/component.js +872 -1
- data/lib/ably_ui/core/scripts.js +1465 -1
- data/lib/ably_ui/core/showcase/component.css +2 -0
- data/lib/ably_ui/core/showcase/component.js +343 -1
- data/lib/ably_ui/core/sign_out_link/component.js +22 -1
- data/lib/ably_ui/core/slider/component.css +2 -0
- data/lib/ably_ui/core/slider/component.js +255 -1
- data/lib/ably_ui/core/sprites.svg +99 -0
- data/lib/ably_ui/core/styles.css +3 -7
- data/lib/ably_ui/core/uptime/component.css +2 -0
- data/lib/ably_ui/core/uptime/component.js +82 -1
- data/lib/ably_ui/reset/scripts.js +1 -1
- data/lib/ably_ui/reset/styles.css +1 -11
- data/lib/ably_ui/version.rb +1 -1
- metadata +12 -7
- data/lib/ably_ui/core/meganav_content_platform/component.js +0 -1
- data/lib/ably_ui/react/connect_state_wrapper/component.js +0 -1
- data/lib/ably_ui/react/scripts.js +0 -1
@@ -1 +1,295 @@
|
|
1
|
-
|
1
|
+
(function webpackUniversalModuleDefinition(root, factory) {
|
2
|
+
if(typeof exports === 'object' && typeof module === 'object')
|
3
|
+
module.exports = factory(require("addsearch-js-client"));
|
4
|
+
else if(typeof define === 'function' && define.amd)
|
5
|
+
define([], factory);
|
6
|
+
else if(typeof exports === 'object')
|
7
|
+
exports["AblyUi"] = factory(require("addsearch-js-client"));
|
8
|
+
else
|
9
|
+
root["AblyUi"] = root["AblyUi"] || {}, root["AblyUi"]["Core"] = root["AblyUi"]["Core"] || {}, root["AblyUi"]["Core"]["MeganavSearchAutocomplete"] = factory(root[undefined]);
|
10
|
+
})(this, (__WEBPACK_EXTERNAL_MODULE_addsearch_js_client__) => {
|
11
|
+
return /******/ (() => { // webpackBootstrap
|
12
|
+
/******/ "use strict";
|
13
|
+
/******/ var __webpack_modules__ = ({
|
14
|
+
|
15
|
+
/***/ "./src/core/dom-query.js":
|
16
|
+
/*!*******************************!*\
|
17
|
+
!*** ./src/core/dom-query.js ***!
|
18
|
+
\*******************************/
|
19
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
20
|
+
|
21
|
+
__webpack_require__.r(__webpack_exports__);
|
22
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
23
|
+
/* harmony export */ "queryId": () => (/* binding */ queryId),
|
24
|
+
/* harmony export */ "queryIdAll": () => (/* binding */ queryIdAll)
|
25
|
+
/* harmony export */ });
|
26
|
+
var queryId = function queryId(val) {
|
27
|
+
var root = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : document;
|
28
|
+
return root.querySelector("[data-id=".concat(val, "]"));
|
29
|
+
};
|
30
|
+
var queryIdAll = function queryIdAll(val) {
|
31
|
+
var root = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : document;
|
32
|
+
return root.querySelectorAll("[data-id=".concat(val, "]"));
|
33
|
+
};
|
34
|
+
|
35
|
+
/***/ }),
|
36
|
+
|
37
|
+
/***/ "addsearch-js-client":
|
38
|
+
/*!*************************************************************************************!*\
|
39
|
+
!*** external {"commonjs":"addsearch-js-client","commonjs2":"addsearch-js-client"} ***!
|
40
|
+
\*************************************************************************************/
|
41
|
+
/***/ ((module) => {
|
42
|
+
|
43
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE_addsearch_js_client__;
|
44
|
+
|
45
|
+
/***/ })
|
46
|
+
|
47
|
+
/******/ });
|
48
|
+
/************************************************************************/
|
49
|
+
/******/ // The module cache
|
50
|
+
/******/ var __webpack_module_cache__ = {};
|
51
|
+
/******/
|
52
|
+
/******/ // The require function
|
53
|
+
/******/ function __webpack_require__(moduleId) {
|
54
|
+
/******/ // Check if module is in cache
|
55
|
+
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
56
|
+
/******/ if (cachedModule !== undefined) {
|
57
|
+
/******/ return cachedModule.exports;
|
58
|
+
/******/ }
|
59
|
+
/******/ // Create a new module (and put it into the cache)
|
60
|
+
/******/ var module = __webpack_module_cache__[moduleId] = {
|
61
|
+
/******/ // no module.id needed
|
62
|
+
/******/ // no module.loaded needed
|
63
|
+
/******/ exports: {}
|
64
|
+
/******/ };
|
65
|
+
/******/
|
66
|
+
/******/ // Execute the module function
|
67
|
+
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
68
|
+
/******/
|
69
|
+
/******/ // Return the exports of the module
|
70
|
+
/******/ return module.exports;
|
71
|
+
/******/ }
|
72
|
+
/******/
|
73
|
+
/************************************************************************/
|
74
|
+
/******/ /* webpack/runtime/compat get default export */
|
75
|
+
/******/ (() => {
|
76
|
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
77
|
+
/******/ __webpack_require__.n = (module) => {
|
78
|
+
/******/ var getter = module && module.__esModule ?
|
79
|
+
/******/ () => (module['default']) :
|
80
|
+
/******/ () => (module);
|
81
|
+
/******/ __webpack_require__.d(getter, { a: getter });
|
82
|
+
/******/ return getter;
|
83
|
+
/******/ };
|
84
|
+
/******/ })();
|
85
|
+
/******/
|
86
|
+
/******/ /* webpack/runtime/define property getters */
|
87
|
+
/******/ (() => {
|
88
|
+
/******/ // define getter functions for harmony exports
|
89
|
+
/******/ __webpack_require__.d = (exports, definition) => {
|
90
|
+
/******/ for(var key in definition) {
|
91
|
+
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
92
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
93
|
+
/******/ }
|
94
|
+
/******/ }
|
95
|
+
/******/ };
|
96
|
+
/******/ })();
|
97
|
+
/******/
|
98
|
+
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
99
|
+
/******/ (() => {
|
100
|
+
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
101
|
+
/******/ })();
|
102
|
+
/******/
|
103
|
+
/******/ /* webpack/runtime/make namespace object */
|
104
|
+
/******/ (() => {
|
105
|
+
/******/ // define __esModule on exports
|
106
|
+
/******/ __webpack_require__.r = (exports) => {
|
107
|
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
108
|
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
109
|
+
/******/ }
|
110
|
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
111
|
+
/******/ };
|
112
|
+
/******/ })();
|
113
|
+
/******/
|
114
|
+
/************************************************************************/
|
115
|
+
var __webpack_exports__ = {};
|
116
|
+
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
117
|
+
(() => {
|
118
|
+
/*!*********************************************************!*\
|
119
|
+
!*** ./src/core/MeganavSearchAutocomplete/component.js ***!
|
120
|
+
\*********************************************************/
|
121
|
+
__webpack_require__.r(__webpack_exports__);
|
122
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
123
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
124
|
+
/* harmony export */ });
|
125
|
+
/* harmony import */ var _dom_query__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../dom-query */ "./src/core/dom-query.js");
|
126
|
+
/* harmony import */ var addsearch_js_client__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! addsearch-js-client */ "addsearch-js-client");
|
127
|
+
/* harmony import */ var addsearch_js_client__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(addsearch_js_client__WEBPACK_IMPORTED_MODULE_1__);
|
128
|
+
|
129
|
+
|
130
|
+
|
131
|
+
var init = function init(_ref) {
|
132
|
+
var input = _ref.input,
|
133
|
+
container = _ref.container,
|
134
|
+
listContainer = _ref.listContainer,
|
135
|
+
clear = _ref.clear,
|
136
|
+
client = _ref.client;
|
137
|
+
client.setAnalyticsTag("Meganav autocomplete");
|
138
|
+
client.setThrottleTime(400);
|
139
|
+
|
140
|
+
var clearResults = function clearResults() {
|
141
|
+
container.classList.add("hidden");
|
142
|
+
listContainer.innerHTML = "";
|
143
|
+
};
|
144
|
+
|
145
|
+
var toggleClearBtn = function toggleClearBtn(query) {
|
146
|
+
if ((query || "").length > 0 && clear) {
|
147
|
+
clear.classList.remove("invisible");
|
148
|
+
} else if (clear) {
|
149
|
+
clear.classList.add("invisible");
|
150
|
+
}
|
151
|
+
};
|
152
|
+
|
153
|
+
var markQueryInSuggestion = function markQueryInSuggestion(suggestionValue, query) {
|
154
|
+
return suggestionValue.replace(query.toLowerCase(), "<span class=\"font-light\">".concat(query, "</span>"));
|
155
|
+
};
|
156
|
+
|
157
|
+
var navigateToUrl = function navigateToUrl(q) {
|
158
|
+
return window.location = "/search?q=".concat(q);
|
159
|
+
};
|
160
|
+
|
161
|
+
var focusNext = function focusNext(index) {
|
162
|
+
var nextSuggestion = listContainer.querySelector("[data-suggestion-index=\"".concat(index + 1, "\"]"));
|
163
|
+
if (!nextSuggestion) return;
|
164
|
+
nextSuggestion.focus();
|
165
|
+
};
|
166
|
+
|
167
|
+
var focusPrevious = function focusPrevious(index) {
|
168
|
+
var previousIndex = index - 1;
|
169
|
+
var previousSuggestion = listContainer.querySelector("[data-suggestion-index=\"".concat(previousIndex, "\"]"));
|
170
|
+
if (!previousSuggestion) return;
|
171
|
+
previousSuggestion.focus();
|
172
|
+
};
|
173
|
+
|
174
|
+
var renderResults = function renderResults(query) {
|
175
|
+
return function () {
|
176
|
+
var results = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
177
|
+
toggleClearBtn(query); // Prevent invalid access error when key is invalid
|
178
|
+
|
179
|
+
if (!Array.isArray(results.suggestions)) {
|
180
|
+
clearResults();
|
181
|
+
return;
|
182
|
+
} // Prevent key error from invalid key
|
183
|
+
|
184
|
+
|
185
|
+
if (results.suggestions.length === 0) {
|
186
|
+
clearResults();
|
187
|
+
return;
|
188
|
+
}
|
189
|
+
|
190
|
+
var items = results.suggestions.map(function (suggestion, index) {
|
191
|
+
var li = document.createElement("li");
|
192
|
+
var button = document.createElement("button");
|
193
|
+
button.type = "button";
|
194
|
+
button.classList.add("ui-text-menu2", "font-medium", "p-8", "w-full", "text-left", "rounded", "hover:text-gui-hover", "focus:outline-gui-focus", "hover:bg-light-grey");
|
195
|
+
button.innerHTML = markQueryInSuggestion(suggestion.value, query);
|
196
|
+
button.dataset.suggestionIndex = index;
|
197
|
+
button.addEventListener("click", function () {
|
198
|
+
navigateToUrl(suggestion.value);
|
199
|
+
});
|
200
|
+
button.addEventListener("keydown", function (e) {
|
201
|
+
var key = e.key;
|
202
|
+
|
203
|
+
if (key === "ArrowDown") {
|
204
|
+
focusNext(index);
|
205
|
+
} else if (key === "ArrowUp" && index - 1 < 0) {
|
206
|
+
input.focus();
|
207
|
+
} else if (key === "ArrowUp" && index - 1 >= 0) {
|
208
|
+
focusPrevious(index);
|
209
|
+
} else if (key === "Enter" || key === "Space") {
|
210
|
+
navigateToUrl(suggestion.value);
|
211
|
+
}
|
212
|
+
});
|
213
|
+
li.appendChild(button);
|
214
|
+
return li;
|
215
|
+
});
|
216
|
+
listContainer.innerHTML = "";
|
217
|
+
items.forEach(function (item) {
|
218
|
+
return listContainer.appendChild(item);
|
219
|
+
});
|
220
|
+
container.classList.remove("hidden");
|
221
|
+
};
|
222
|
+
};
|
223
|
+
|
224
|
+
var keyupHandler = function keyupHandler(e) {
|
225
|
+
var query = e.target.value;
|
226
|
+
var key = e.key;
|
227
|
+
|
228
|
+
if (key === "ArrowDown") {
|
229
|
+
focusNext(0);
|
230
|
+
return;
|
231
|
+
}
|
232
|
+
|
233
|
+
if (!query) {
|
234
|
+
clearResults();
|
235
|
+
} else {
|
236
|
+
client.suggestions(query, renderResults(query));
|
237
|
+
}
|
238
|
+
};
|
239
|
+
|
240
|
+
var clearHandler;
|
241
|
+
|
242
|
+
if (clear) {
|
243
|
+
clearHandler = function clearHandler() {
|
244
|
+
input.value = "";
|
245
|
+
clear.classList.add("invisible");
|
246
|
+
clearResults();
|
247
|
+
};
|
248
|
+
|
249
|
+
clear.addEventListener("click", clearHandler);
|
250
|
+
}
|
251
|
+
|
252
|
+
input.addEventListener("keyup", keyupHandler);
|
253
|
+
return {
|
254
|
+
teardown: function teardown() {
|
255
|
+
input.removeEventListener("keyup", keyupHandler);
|
256
|
+
if (clear) clear.removeEventListener("click", clearHandler);
|
257
|
+
},
|
258
|
+
clear: function clear() {
|
259
|
+
input.value = "";
|
260
|
+
clearResults();
|
261
|
+
}
|
262
|
+
};
|
263
|
+
};
|
264
|
+
|
265
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (function (apiKey) {
|
266
|
+
if (!apiKey) {
|
267
|
+
console.log("No AddSearch API key provided, skipping search suggestions.");
|
268
|
+
return [];
|
269
|
+
}
|
270
|
+
|
271
|
+
var client = new (addsearch_js_client__WEBPACK_IMPORTED_MODULE_1___default())(apiKey);
|
272
|
+
return [(0,_dom_query__WEBPACK_IMPORTED_MODULE_0__.queryId)("meganav-search-input"), (0,_dom_query__WEBPACK_IMPORTED_MODULE_0__.queryId)("meganav-mobile-search-input")].filter(function (i) {
|
273
|
+
return i;
|
274
|
+
}).map(function (input) {
|
275
|
+
var parent = input.parentNode;
|
276
|
+
var container = (0,_dom_query__WEBPACK_IMPORTED_MODULE_0__.queryId)("meganav-search-autocomplete-container", parent);
|
277
|
+
var listContainer = (0,_dom_query__WEBPACK_IMPORTED_MODULE_0__.queryId)("meganav-search-autocomplete-list", parent);
|
278
|
+
var clear = (0,_dom_query__WEBPACK_IMPORTED_MODULE_0__.queryId)("meganav-search-input-clear", parent);
|
279
|
+
return init({
|
280
|
+
input: input,
|
281
|
+
container: container,
|
282
|
+
listContainer: listContainer,
|
283
|
+
client: client,
|
284
|
+
clear: clear
|
285
|
+
});
|
286
|
+
});
|
287
|
+
});
|
288
|
+
})();
|
289
|
+
|
290
|
+
__webpack_exports__ = __webpack_exports__["default"];
|
291
|
+
/******/ return __webpack_exports__;
|
292
|
+
/******/ })()
|
293
|
+
;
|
294
|
+
});
|
295
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29yZS9NZWdhbmF2U2VhcmNoQXV0b2NvbXBsZXRlL2NvbXBvbmVudC5qcyIsIm1hcHBpbmdzIjoiQUFBQTtBQUNBO0FBQ0E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VJvb3QiOiIifQ==
|
@@ -1 +1,22 @@
|
|
1
|
-
|
1
|
+
(function webpackUniversalModuleDefinition(root, factory) {
|
2
|
+
if(typeof exports === 'object' && typeof module === 'object')
|
3
|
+
module.exports = factory();
|
4
|
+
else if(typeof define === 'function' && define.amd)
|
5
|
+
define([], factory);
|
6
|
+
else if(typeof exports === 'object')
|
7
|
+
exports["AblyUi"] = factory();
|
8
|
+
else
|
9
|
+
root["AblyUi"] = root["AblyUi"] || {}, root["AblyUi"]["Core"] = root["AblyUi"]["Core"] || {}, root["AblyUi"]["Core"]["MeganavSearchPanel"] = factory();
|
10
|
+
})(this, () => {
|
11
|
+
return /******/ (() => { // webpackBootstrap
|
12
|
+
var __webpack_exports__ = {};
|
13
|
+
/*!**************************************************!*\
|
14
|
+
!*** ./src/core/MeganavSearchPanel/component.js ***!
|
15
|
+
\**************************************************/
|
16
|
+
|
17
|
+
__webpack_exports__ = __webpack_exports__["default"];
|
18
|
+
/******/ return __webpack_exports__;
|
19
|
+
/******/ })()
|
20
|
+
;
|
21
|
+
});
|
22
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29yZS9NZWdhbmF2U2VhcmNoUGFuZWwvY29tcG9uZW50LmpzIiwibWFwcGluZ3MiOiJBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSx1Q0FBdUMsdURBQXVEO0FBQzlGLENBQUM7QUFDRCxPIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vQWJseVVpLkNvcmUvd2VicGFjay91bml2ZXJzYWxNb2R1bGVEZWZpbml0aW9uIl0sInNvdXJjZXNDb250ZW50IjpbIihmdW5jdGlvbiB3ZWJwYWNrVW5pdmVyc2FsTW9kdWxlRGVmaW5pdGlvbihyb290LCBmYWN0b3J5KSB7XG5cdGlmKHR5cGVvZiBleHBvcnRzID09PSAnb2JqZWN0JyAmJiB0eXBlb2Ygb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