@rocketspark/domain-checker 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github-test/FUNDING.yml +1 -0
- package/.github-test/dependabot.yml +10 -0
- package/.github-test/workflows/main.yml +28 -0
- package/.github-test/workflows/publish.yml +49 -0
- package/.github-test/workflows/pull_request.yml +24 -0
- package/.github-test/workflows/pull_request_dependabot.yml +48 -0
- package/.idea/domain-checker.iml +8 -0
- package/.idea/git_toolbox_prj.xml +15 -0
- package/.idea/inspectionProfiles/Project_Default.xml +6 -0
- package/.idea/modules.xml +8 -0
- package/.idea/vcs.xml +6 -0
- package/CODE_OF_CONDUCT.md +76 -0
- package/CONTRIBUTING.md +15 -0
- package/LICENSE +21 -0
- package/README.md +67 -0
- package/build/130.index.js +13 -0
- package/build/130.index.js.map +1 -0
- package/build/145.index.js +13 -0
- package/build/145.index.js.map +1 -0
- package/build/171.index.js +13 -0
- package/build/171.index.js.map +1 -0
- package/build/190.index.js +13 -0
- package/build/190.index.js.map +1 -0
- package/build/228.index.js +13 -0
- package/build/228.index.js.map +1 -0
- package/build/23.index.js +13 -0
- package/build/23.index.js.map +1 -0
- package/build/253.index.js +13 -0
- package/build/253.index.js.map +1 -0
- package/build/269.index.js +13 -0
- package/build/269.index.js.map +1 -0
- package/build/307.index.js +13 -0
- package/build/307.index.js.map +1 -0
- package/build/314.index.js +13 -0
- package/build/314.index.js.map +1 -0
- package/build/330.index.js +13 -0
- package/build/330.index.js.map +1 -0
- package/build/346.index.js +13 -0
- package/build/346.index.js.map +1 -0
- package/build/385.index.js +13 -0
- package/build/385.index.js.map +1 -0
- package/build/3cce2bffb56fb72f4f99.svg +521 -0
- package/build/431.index.js +13 -0
- package/build/431.index.js.map +1 -0
- package/build/447.index.js +13 -0
- package/build/447.index.js.map +1 -0
- package/build/482.index.js +13 -0
- package/build/482.index.js.map +1 -0
- package/build/525.index.js +13 -0
- package/build/525.index.js.map +1 -0
- package/build/536.index.js +13 -0
- package/build/536.index.js.map +1 -0
- package/build/548.index.js +13 -0
- package/build/548.index.js.map +1 -0
- package/build/565.index.js +13 -0
- package/build/565.index.js.map +1 -0
- package/build/577.index.js +13 -0
- package/build/577.index.js.map +1 -0
- package/build/5798190b27b26600fb18.svg +266 -0
- package/build/655.index.js +13 -0
- package/build/655.index.js.map +1 -0
- package/build/66.index.js +13 -0
- package/build/66.index.js.map +1 -0
- package/build/669.index.js +13 -0
- package/build/669.index.js.map +1 -0
- package/build/677.index.js +13 -0
- package/build/677.index.js.map +1 -0
- package/build/678.index.js +13 -0
- package/build/678.index.js.map +1 -0
- package/build/69.index.js +13 -0
- package/build/69.index.js.map +1 -0
- package/build/690.index.js +13 -0
- package/build/690.index.js.map +1 -0
- package/build/694.index.js +13 -0
- package/build/694.index.js.map +1 -0
- package/build/698.index.js +13 -0
- package/build/698.index.js.map +1 -0
- package/build/716.index.js +13 -0
- package/build/716.index.js.map +1 -0
- package/build/717.index.js +13 -0
- package/build/717.index.js.map +1 -0
- package/build/724.index.js +13 -0
- package/build/724.index.js.map +1 -0
- package/build/738.index.js +13 -0
- package/build/738.index.js.map +1 -0
- package/build/799.index.js +13 -0
- package/build/799.index.js.map +1 -0
- package/build/82.index.js +13 -0
- package/build/82.index.js.map +1 -0
- package/build/858.index.js +13 -0
- package/build/858.index.js.map +1 -0
- package/build/882.index.js +13 -0
- package/build/882.index.js.map +1 -0
- package/build/895.index.js +13 -0
- package/build/895.index.js.map +1 -0
- package/build/903.index.js +13 -0
- package/build/903.index.js.map +1 -0
- package/build/911.index.js +13 -0
- package/build/911.index.js.map +1 -0
- package/build/912.index.js +13 -0
- package/build/912.index.js.map +1 -0
- package/build/927.index.js +13 -0
- package/build/927.index.js.map +1 -0
- package/build/953.index.js +13 -0
- package/build/953.index.js.map +1 -0
- package/build/955.index.js +13 -0
- package/build/955.index.js.map +1 -0
- package/build/994.index.js +13 -0
- package/build/994.index.js.map +1 -0
- package/build/css/index.css +11 -0
- package/build/css/index.css.map +1 -0
- package/build/index.js +13 -0
- package/build/index.js.map +1 -0
- package/build/types/Components/DomainSearch.d.ts +20 -0
- package/build/types/Components/PopupContainer.d.ts +30 -0
- package/build/types/Components/SearchHeading.d.ts +8 -0
- package/build/types/Components/SearchResultCaption.d.ts +12 -0
- package/build/types/Components/SearchStatus.d.ts +13 -0
- package/build/types/Helpers/Fetch.d.ts +6 -0
- package/build/types/Helpers/defaults.d.ts +2 -0
- package/build/types/Helpers/templates.d.ts +13 -0
- package/build/types/Helpers/wrap.d.ts +1 -0
- package/build/types/index.d.ts +21 -0
- package/build/types/interfaces/class-names.d.ts +19 -0
- package/build/types/interfaces/options.d.ts +9 -0
- package/package.json +91 -0
- package/tsconfig.json +17 -0
- package/webpack.config.demo.js +64 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","mappings":";;;;;;;;;;;CAAA,SAA2CA,EAAMC,GAC1B,iBAAZC,SAA0C,iBAAXC,OACxCA,OAAOD,QAAUD,IACQ,mBAAXG,QAAyBA,OAAOC,IAC9CD,OAAO,GAAIH,GACe,iBAAZC,QACdA,QAAuB,cAAID,IAE3BD,EAAoB,cAAIC,IAR1B,CASGK,MAAM,WACT,kB,ICVIC,EACAC,E,gQCCJ,IAAIC,EACAC,EACAC,EACAC,GAAqB,EACrBC,GAA8B,EAC9BC,GAAoB,EACpBC,GAAY,EACZC,GAAe,EACnB,MAAMC,EAAwB,oBAAXC,OAAyBA,OAAS,GAC/CC,EAAMF,EAAIG,UAAY,CAAEC,KAAM,IAC9BC,EAAM,CACRC,QAAS,EACTC,eAAgB,GAChBC,IAAKC,GAAKA,IACVC,IAAKD,GAAKE,sBAAsBF,GAChCG,IAAK,CAACC,EAAIC,EAAWC,EAAUC,IAASH,EAAGI,iBAAiBH,EAAWC,EAAUC,GACjFE,IAAK,CAACL,EAAIC,EAAWC,EAAUC,IAASH,EAAGM,oBAAoBL,EAAWC,EAAUC,GACpFI,GAAI,CAACN,EA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oBACjBhc,SAAS4V,IACN,IAAIuF,EAAcvF,S,KzBnG9B","sources":["webpack://DomainChecker/webpack/universalModuleDefinition","webpack://DomainChecker/webpack/runtime/load script","webpack://DomainChecker/./node_modules/@rocketspark/flint-ui/dist/esm/index-d4fae449.js","webpack://DomainChecker/./node_modules/@rocketspark/flint-ui/dist/esm/ lazy ^\\.\\/.*\\.entry\\.js$ include: \\.entry\\.js$ exclude: \\.system\\.entry\\.js$ namespace object","webpack://DomainChecker/webpack/bootstrap","webpack://DomainChecker/webpack/runtime/define property getters","webpack://DomainChecker/webpack/runtime/ensure chunk","webpack://DomainChecker/webpack/runtime/get javascript chunk filename","webpack://DomainChecker/webpack/runtime/get mini-css chunk filename","webpack://DomainChecker/webpack/runtime/global","webpack://DomainChecker/webpack/runtime/hasOwnProperty shorthand","webpack://DomainChecker/webpack/runtime/make namespace object","webpack://DomainChecker/webpack/runtime/publicPath","webpack://DomainChecker/webpack/runtime/jsonp chunk loading","webpack://DomainChecker/./src/lib/Helpers/wrap.ts","webpack://DomainChecker/./src/lib/Helpers/templates.ts","webpack://DomainChecker/./src/lib/Helpers/defaults.ts","webpack://DomainChecker/./src/lib/Components/DomainSearch.ts","webpack://DomainChecker/./src/lib/Helpers/Fetch.ts","webpack://DomainChecker/./node_modules/@rocketspark/flint-ui/loader/index.js","webpack://DomainChecker/./src/lib/Components/SearchHeading.ts","webpack://DomainChecker/./src/lib/Components/SearchStatus.ts","webpack://DomainChecker/./src/lib/Components/SearchResultCaption.ts","webpack://DomainChecker/./src/lib/Components/PopupContainer.ts","webpack://DomainChecker/./node_modules/@rocketspark/flint-ui/dist/esm/loader.js","webpack://DomainChecker/./src/lib/index.ts"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"DomainChecker\"] = factory();\n\telse\n\t\troot[\"DomainChecker\"] = factory();\n})(self, function() {\nreturn ","var inProgress = {};\nvar dataWebpackPrefix = \"DomainChecker:\";\n// loadScript function to load a script via script tag\n__webpack_require__.l = function(url, done, key, chunkId) {\n\tif(inProgress[url]) { inProgress[url].push(done); return; }\n\tvar script, needAttach;\n\tif(key !== undefined) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tfor(var i = 0; i < scripts.length; i++) {\n\t\t\tvar s = scripts[i];\n\t\t\tif(s.getAttribute(\"src\") == url || s.getAttribute(\"data-webpack\") == dataWebpackPrefix + key) { script = s; break; }\n\t\t}\n\t}\n\tif(!script) {\n\t\tneedAttach = true;\n\t\tscript = document.createElement('script');\n\n\t\tscript.charset = 'utf-8';\n\t\tscript.timeout = 120;\n\t\tif (__webpack_require__.nc) {\n\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n\t\t}\n\t\tscript.setAttribute(\"data-webpack\", dataWebpackPrefix + key);\n\t\tscript.src = url;\n\t}\n\tinProgress[url] = [done];\n\tvar onScriptComplete = function(prev, event) {\n\t\t// avoid mem leaks in IE.\n\t\tscript.onerror = script.onload = null;\n\t\tclearTimeout(timeout);\n\t\tvar doneFns = inProgress[url];\n\t\tdelete inProgress[url];\n\t\tscript.parentNode && script.parentNode.removeChild(script);\n\t\tdoneFns && doneFns.forEach(function(fn) { return fn(event); });\n\t\tif(prev) return prev(event);\n\t}\n\t;\n\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\n\tscript.onerror = onScriptComplete.bind(null, script.onerror);\n\tscript.onload = onScriptComplete.bind(null, script.onload);\n\tneedAttach && document.head.appendChild(script);\n};","const NAMESPACE = 'rocketspark';\n\nlet scopeId;\nlet contentRef;\nlet hostTagName;\nlet useNativeShadowDom = false;\nlet checkSlotFallbackVisibility = false;\nlet checkSlotRelocate = false;\nlet isSvgMode = false;\nlet queuePending = false;\nconst win = typeof window !== 'undefined' ? window : {};\nconst doc = win.document || { head: {} };\nconst plt = {\n $flags$: 0,\n $resourcesUrl$: '',\n jmp: h => h(),\n raf: h => requestAnimationFrame(h),\n ael: (el, eventName, listener, opts) => el.addEventListener(eventName, listener, opts),\n rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),\n ce: (eventName, opts) => new CustomEvent(eventName, opts),\n};\nconst promiseResolve = (v) => Promise.resolve(v);\nconst supportsConstructibleStylesheets = /*@__PURE__*/ (() => {\n try {\n new CSSStyleSheet();\n return typeof (new CSSStyleSheet()).replace === 'function';\n }\n catch (e) { }\n return false;\n })()\n ;\nconst addHostEventListeners = (elm, hostRef, listeners, attachParentListeners) => {\n if (listeners) {\n listeners.map(([flags, name, method]) => {\n const target = getHostListenerTarget(elm, flags) ;\n const handler = hostListenerProxy(hostRef, method);\n const opts = hostListenerOpts(flags);\n plt.ael(target, name, handler, opts);\n (hostRef.$rmListeners$ = hostRef.$rmListeners$ || []).push(() => plt.rel(target, name, handler, opts));\n });\n }\n};\nconst hostListenerProxy = (hostRef, methodName) => (ev) => {\n try {\n {\n if (hostRef.$flags$ & 256 /* isListenReady */) {\n // instance is ready, let's call it's member method for this event\n hostRef.$lazyInstance$[methodName](ev);\n }\n else {\n (hostRef.$queuedListeners$ = hostRef.$queuedListeners$ || []).push([methodName, ev]);\n }\n }\n }\n catch (e) {\n consoleError(e);\n }\n};\nconst getHostListenerTarget = (elm, flags) => {\n if (flags & 4 /* TargetDocument */)\n return doc;\n return elm;\n};\n// prettier-ignore\nconst hostListenerOpts = (flags) => (flags & 2 /* Capture */) !== 0;\nconst HYDRATED_CSS = '{visibility:hidden}.hydrated{visibility:inherit}';\nconst XLINK_NS = 'http://www.w3.org/1999/xlink';\nconst createTime = (fnName, tagName = '') => {\n {\n return () => {\n return;\n };\n }\n};\nconst uniqueTime = (key, measureText) => {\n {\n return () => {\n return;\n };\n }\n};\nconst rootAppliedStyles = new WeakMap();\nconst registerStyle = (scopeId, cssText, allowCS) => {\n let style = styles.get(scopeId);\n if (supportsConstructibleStylesheets && allowCS) {\n style = (style || new CSSStyleSheet());\n style.replace(cssText);\n }\n else {\n style = cssText;\n }\n styles.set(scopeId, style);\n};\nconst addStyle = (styleContainerNode, cmpMeta, mode, hostElm) => {\n let scopeId = getScopeId(cmpMeta);\n let style = styles.get(scopeId);\n // if an element is NOT connected then getRootNode() will return the wrong root node\n // so the fallback is to always use the document for the root node in those cases\n styleContainerNode = styleContainerNode.nodeType === 11 /* DocumentFragment */ ? styleContainerNode : doc;\n if (style) {\n if (typeof style === 'string') {\n styleContainerNode = styleContainerNode.head || styleContainerNode;\n let appliedStyles = rootAppliedStyles.get(styleContainerNode);\n let styleElm;\n if (!appliedStyles) {\n rootAppliedStyles.set(styleContainerNode, (appliedStyles = new Set()));\n }\n if (!appliedStyles.has(scopeId)) {\n {\n {\n styleElm = doc.createElement('style');\n styleElm.innerHTML = style;\n }\n styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector('link'));\n }\n if (appliedStyles) {\n appliedStyles.add(scopeId);\n }\n }\n }\n else if (!styleContainerNode.adoptedStyleSheets.includes(style)) {\n styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, style];\n }\n }\n return scopeId;\n};\nconst attachStyles = (hostRef) => {\n const cmpMeta = hostRef.$cmpMeta$;\n const elm = hostRef.$hostElement$;\n const flags = cmpMeta.$flags$;\n const endAttachStyles = createTime('attachStyles', cmpMeta.$tagName$);\n const scopeId = addStyle(elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(), cmpMeta);\n if (flags & 10 /* needsScopedEncapsulation */) {\n // only required when we're NOT using native shadow dom (slot)\n // or this browser doesn't support native shadow dom\n // and this host element was NOT created with SSR\n // let's pick out the inner content for slot projection\n // create a node to represent where the original\n // content was first placed, which is useful later on\n // DOM WRITE!!\n elm['s-sc'] = scopeId;\n elm.classList.add(scopeId + '-h');\n if (flags & 2 /* scopedCssEncapsulation */) {\n elm.classList.add(scopeId + '-s');\n }\n }\n endAttachStyles();\n};\nconst getScopeId = (cmp, mode) => 'sc-' + (cmp.$tagName$);\n/**\n * Default style mode id\n */\n/**\n * Reusable empty obj/array\n * Don't add values to these!!\n */\nconst EMPTY_OBJ = {};\n/**\n * Namespaces\n */\nconst SVG_NS = 'http://www.w3.org/2000/svg';\nconst HTML_NS = 'http://www.w3.org/1999/xhtml';\nconst isDef = (v) => v != null;\nconst isComplexType = (o) => {\n // https://jsperf.com/typeof-fn-object/5\n o = typeof o;\n return o === 'object' || o === 'function';\n};\n/**\n * Production h() function based on Preact by\n * Jason Miller (@developit)\n * Licensed under the MIT License\n * https://github.com/developit/preact/blob/master/LICENSE\n *\n * Modified for Stencil's compiler and vdom\n */\n// const stack: any[] = [];\n// export function h(nodeName: string | d.FunctionalComponent, vnodeData: d.PropsType, child?: d.ChildType): d.VNode;\n// export function h(nodeName: string | d.FunctionalComponent, vnodeData: d.PropsType, ...children: d.ChildType[]): d.VNode;\nconst h = (nodeName, vnodeData, ...children) => {\n let child = null;\n let key = null;\n let slotName = null;\n let simple = false;\n let lastSimple = false;\n let vNodeChildren = [];\n const walk = (c) => {\n for (let i = 0; i < c.length; i++) {\n child = c[i];\n if (Array.isArray(child)) {\n walk(child);\n }\n else if (child != null && typeof child !== 'boolean') {\n if ((simple = typeof nodeName !== 'function' && !isComplexType(child))) {\n child = String(child);\n }\n if (simple && lastSimple) {\n // If the previous child was simple (string), we merge both\n vNodeChildren[vNodeChildren.length - 1].$text$ += child;\n }\n else {\n // Append a new vNode, if it's text, we create a text vNode\n vNodeChildren.push(simple ? newVNode(null, child) : child);\n }\n lastSimple = simple;\n }\n }\n };\n walk(children);\n if (vnodeData) {\n // normalize class / classname attributes\n if (vnodeData.key) {\n key = vnodeData.key;\n }\n if (vnodeData.name) {\n slotName = vnodeData.name;\n }\n {\n const classData = vnodeData.className || vnodeData.class;\n if (classData) {\n vnodeData.class =\n typeof classData !== 'object'\n ? classData\n : Object.keys(classData)\n .filter(k => classData[k])\n .join(' ');\n }\n }\n }\n if (typeof nodeName === 'function') {\n // nodeName is a functional component\n return nodeName(vnodeData === null ? {} : vnodeData, vNodeChildren, vdomFnUtils);\n }\n const vnode = newVNode(nodeName, null);\n vnode.$attrs$ = vnodeData;\n if (vNodeChildren.length > 0) {\n vnode.$children$ = vNodeChildren;\n }\n {\n vnode.$key$ = key;\n }\n {\n vnode.$name$ = slotName;\n }\n return vnode;\n};\nconst newVNode = (tag, text) => {\n const vnode = {\n $flags$: 0,\n $tag$: tag,\n $text$: text,\n $elm$: null,\n $children$: null,\n };\n {\n vnode.$attrs$ = null;\n }\n {\n vnode.$key$ = null;\n }\n {\n vnode.$name$ = null;\n }\n return vnode;\n};\nconst Host = {};\nconst isHost = (node) => node && node.$tag$ === Host;\nconst vdomFnUtils = {\n forEach: (children, cb) => children.map(convertToPublic).forEach(cb),\n map: (children, cb) => children.map(convertToPublic).map(cb).map(convertToPrivate),\n};\nconst convertToPublic = (node) => ({\n vattrs: node.$attrs$,\n vchildren: node.$children$,\n vkey: node.$key$,\n vname: node.$name$,\n vtag: node.$tag$,\n vtext: node.$text$,\n});\nconst convertToPrivate = (node) => {\n if (typeof node.vtag === 'function') {\n const vnodeData = Object.assign({}, node.vattrs);\n if (node.vkey) {\n vnodeData.key = node.vkey;\n }\n if (node.vname) {\n vnodeData.name = node.vname;\n }\n return h(node.vtag, vnodeData, ...(node.vchildren || []));\n }\n const vnode = newVNode(node.vtag, node.vtext);\n vnode.$attrs$ = node.vattrs;\n vnode.$children$ = node.vchildren;\n vnode.$key$ = node.vkey;\n vnode.$name$ = node.vname;\n return vnode;\n};\n/**\n * Production setAccessor() function based on Preact by\n * Jason Miller (@developit)\n * Licensed under the MIT License\n * https://github.com/developit/preact/blob/master/LICENSE\n *\n * Modified for Stencil's compiler and vdom\n */\nconst setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {\n if (oldValue !== newValue) {\n let isProp = isMemberInElement(elm, memberName);\n let ln = memberName.toLowerCase();\n if (memberName === 'class') {\n const classList = elm.classList;\n const oldClasses = parseClassList(oldValue);\n const newClasses = parseClassList(newValue);\n classList.remove(...oldClasses.filter(c => c && !newClasses.includes(c)));\n classList.add(...newClasses.filter(c => c && !oldClasses.includes(c)));\n }\n else if (memberName === 'style') {\n // update style attribute, css properties and values\n {\n for (const prop in oldValue) {\n if (!newValue || newValue[prop] == null) {\n if (prop.includes('-')) {\n elm.style.removeProperty(prop);\n }\n else {\n elm.style[prop] = '';\n }\n }\n }\n }\n for (const prop in newValue) {\n if (!oldValue || newValue[prop] !== oldValue[prop]) {\n if (prop.includes('-')) {\n elm.style.setProperty(prop, newValue[prop]);\n }\n else {\n elm.style[prop] = newValue[prop];\n }\n }\n }\n }\n else if (memberName === 'key')\n ;\n else if (memberName === 'ref') {\n // minifier will clean this up\n if (newValue) {\n newValue(elm);\n }\n }\n else if ((!isProp ) && memberName[0] === 'o' && memberName[1] === 'n') {\n // Event Handlers\n // so if the member name starts with \"on\" and the 3rd characters is\n // a capital letter, and it's not already a member on the element,\n // then we're assuming it's an event listener\n if (memberName[2] === '-') {\n // on- prefixed events\n // allows to be explicit about the dom event to listen without any magic\n // under the hood:\n // <my-cmp on-click> // listens for \"click\"\n // <my-cmp on-Click> // listens for \"Click\"\n // <my-cmp on-ionChange> // listens for \"ionChange\"\n // <my-cmp on-EVENTS> // listens for \"EVENTS\"\n memberName = memberName.slice(3);\n }\n else if (isMemberInElement(win, ln)) {\n // standard event\n // the JSX attribute could have been \"onMouseOver\" and the\n // member name \"onmouseover\" is on the window's prototype\n // so let's add the listener \"mouseover\", which is all lowercased\n memberName = ln.slice(2);\n }\n else {\n // custom event\n // the JSX attribute could have been \"onMyCustomEvent\"\n // so let's trim off the \"on\" prefix and lowercase the first character\n // and add the listener \"myCustomEvent\"\n // except for the first character, we keep the event name case\n memberName = ln[2] + memberName.slice(3);\n }\n if (oldValue) {\n plt.rel(elm, memberName, oldValue, false);\n }\n if (newValue) {\n plt.ael(elm, memberName, newValue, false);\n }\n }\n else {\n // Set property if it exists and it's not a SVG\n const isComplex = isComplexType(newValue);\n if ((isProp || (isComplex && newValue !== null)) && !isSvg) {\n try {\n if (!elm.tagName.includes('-')) {\n let n = newValue == null ? '' : newValue;\n // Workaround for Safari, moving the <input> caret when re-assigning the same valued\n if (memberName === 'list') {\n isProp = false;\n // tslint:disable-next-line: triple-equals\n }\n else if (oldValue == null || elm[memberName] != n) {\n elm[memberName] = n;\n }\n }\n else {\n elm[memberName] = newValue;\n }\n }\n catch (e) { }\n }\n /**\n * Need to manually update attribute if:\n * - memberName is not an attribute\n * - if we are rendering the host element in order to reflect attribute\n * - if it's a SVG, since properties might not work in <svg>\n * - if the newValue is null/undefined or 'false'.\n */\n let xlink = false;\n {\n if (ln !== (ln = ln.replace(/^xlink\\:?/, ''))) {\n memberName = ln;\n xlink = true;\n }\n }\n if (newValue == null || newValue === false) {\n if (newValue !== false || elm.getAttribute(memberName) === '') {\n if (xlink) {\n elm.removeAttributeNS(XLINK_NS, memberName);\n }\n else {\n elm.removeAttribute(memberName);\n }\n }\n }\n else if ((!isProp || flags & 4 /* isHost */ || isSvg) && !isComplex) {\n newValue = newValue === true ? '' : newValue;\n if (xlink) {\n elm.setAttributeNS(XLINK_NS, memberName, newValue);\n }\n else {\n elm.setAttribute(memberName, newValue);\n }\n }\n }\n }\n};\nconst parseClassListRegex = /\\s/;\nconst parseClassList = (value) => (!value ? [] : value.split(parseClassListRegex));\nconst updateElement = (oldVnode, newVnode, isSvgMode, memberName) => {\n // if the element passed in is a shadow root, which is a document fragment\n // then we want to be adding attrs/props to the shadow root's \"host\" element\n // if it's not a shadow root, then we add attrs/props to the same element\n const elm = newVnode.$elm$.nodeType === 11 /* DocumentFragment */ && newVnode.$elm$.host ? newVnode.$elm$.host : newVnode.$elm$;\n const oldVnodeAttrs = (oldVnode && oldVnode.$attrs$) || EMPTY_OBJ;\n const newVnodeAttrs = newVnode.$attrs$ || EMPTY_OBJ;\n {\n // remove attributes no longer present on the vnode by setting them to undefined\n for (memberName in oldVnodeAttrs) {\n if (!(memberName in newVnodeAttrs)) {\n setAccessor(elm, memberName, oldVnodeAttrs[memberName], undefined, isSvgMode, newVnode.$flags$);\n }\n }\n }\n // add new & update changed attributes\n for (memberName in newVnodeAttrs) {\n setAccessor(elm, memberName, oldVnodeAttrs[memberName], newVnodeAttrs[memberName], isSvgMode, newVnode.$flags$);\n }\n};\nconst createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {\n // tslint:disable-next-line: prefer-const\n let newVNode = newParentVNode.$children$[childIndex];\n let i = 0;\n let elm;\n let childNode;\n let oldVNode;\n if (!useNativeShadowDom) {\n // remember for later we need to check to relocate nodes\n checkSlotRelocate = true;\n if (newVNode.$tag$ === 'slot') {\n if (scopeId) {\n // scoped css needs to add its scoped id to the parent element\n parentElm.classList.add(scopeId + '-s');\n }\n newVNode.$flags$ |= newVNode.$children$\n ? // slot element has fallback content\n 2 /* isSlotFallback */\n : // slot element does not have fallback content\n 1 /* isSlotReference */;\n }\n }\n if (newVNode.$text$ !== null) {\n // create text node\n elm = newVNode.$elm$ = doc.createTextNode(newVNode.$text$);\n }\n else if (newVNode.$flags$ & 1 /* isSlotReference */) {\n // create a slot reference node\n elm = newVNode.$elm$ = doc.createTextNode('');\n }\n else {\n if (!isSvgMode) {\n isSvgMode = newVNode.$tag$ === 'svg';\n }\n // create element\n elm = newVNode.$elm$ = (doc.createElementNS(isSvgMode ? SVG_NS : HTML_NS, newVNode.$flags$ & 2 /* isSlotFallback */ ? 'slot-fb' : newVNode.$tag$)\n );\n if (isSvgMode && newVNode.$tag$ === 'foreignObject') {\n isSvgMode = false;\n }\n // add css classes, attrs, props, listeners, etc.\n {\n updateElement(null, newVNode, isSvgMode);\n }\n if (isDef(scopeId) && elm['s-si'] !== scopeId) {\n // if there is a scopeId and this is the initial render\n // then let's add the scopeId as a css class\n elm.classList.add((elm['s-si'] = scopeId));\n }\n if (newVNode.$children$) {\n for (i = 0; i < newVNode.$children$.length; ++i) {\n // create the node\n childNode = createElm(oldParentVNode, newVNode, i, elm);\n // return node could have been null\n if (childNode) {\n // append our new node\n elm.appendChild(childNode);\n }\n }\n }\n {\n if (newVNode.$tag$ === 'svg') {\n // Only reset the SVG context when we're exiting <svg> element\n isSvgMode = false;\n }\n else if (elm.tagName === 'foreignObject') {\n // Reenter SVG context when we're exiting <foreignObject> element\n isSvgMode = true;\n }\n }\n }\n {\n elm['s-hn'] = hostTagName;\n if (newVNode.$flags$ & (2 /* isSlotFallback */ | 1 /* isSlotReference */)) {\n // remember the content reference comment\n elm['s-sr'] = true;\n // remember the content reference comment\n elm['s-cr'] = contentRef;\n // remember the slot name, or empty string for default slot\n elm['s-sn'] = newVNode.$name$ || '';\n // check if we've got an old vnode for this slot\n oldVNode = oldParentVNode && oldParentVNode.$children$ && oldParentVNode.$children$[childIndex];\n if (oldVNode && oldVNode.$tag$ === newVNode.$tag$ && oldParentVNode.$elm$) {\n // we've got an old slot vnode and the wrapper is being replaced\n // so let's move the old slot content back to it's original location\n putBackInOriginalLocation(oldParentVNode.$elm$, false);\n }\n }\n }\n return elm;\n};\nconst putBackInOriginalLocation = (parentElm, recursive) => {\n plt.$flags$ |= 1 /* isTmpDisconnected */;\n const oldSlotChildNodes = parentElm.childNodes;\n for (let i = oldSlotChildNodes.length - 1; i >= 0; i--) {\n const childNode = oldSlotChildNodes[i];\n if (childNode['s-hn'] !== hostTagName && childNode['s-ol']) {\n // // this child node in the old element is from another component\n // // remove this node from the old slot's parent\n // childNode.remove();\n // and relocate it back to it's original location\n parentReferenceNode(childNode).insertBefore(childNode, referenceNode(childNode));\n // remove the old original location comment entirely\n // later on the patch function will know what to do\n // and move this to the correct spot in need be\n childNode['s-ol'].remove();\n childNode['s-ol'] = undefined;\n checkSlotRelocate = true;\n }\n if (recursive) {\n putBackInOriginalLocation(childNode, recursive);\n }\n }\n plt.$flags$ &= ~1 /* isTmpDisconnected */;\n};\nconst addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) => {\n let containerElm = ((parentElm['s-cr'] && parentElm['s-cr'].parentNode) || parentElm);\n let childNode;\n if (containerElm.shadowRoot && containerElm.tagName === hostTagName) {\n containerElm = containerElm.shadowRoot;\n }\n for (; startIdx <= endIdx; ++startIdx) {\n if (vnodes[startIdx]) {\n childNode = createElm(null, parentVNode, startIdx, parentElm);\n if (childNode) {\n vnodes[startIdx].$elm$ = childNode;\n containerElm.insertBefore(childNode, referenceNode(before) );\n }\n }\n }\n};\nconst removeVnodes = (vnodes, startIdx, endIdx, vnode, elm) => {\n for (; startIdx <= endIdx; ++startIdx) {\n if ((vnode = vnodes[startIdx])) {\n elm = vnode.$elm$;\n callNodeRefs(vnode);\n {\n // we're removing this element\n // so it's possible we need to show slot fallback content now\n checkSlotFallbackVisibility = true;\n if (elm['s-ol']) {\n // remove the original location comment\n elm['s-ol'].remove();\n }\n else {\n // it's possible that child nodes of the node\n // that's being removed are slot nodes\n putBackInOriginalLocation(elm, true);\n }\n }\n // remove the vnode's element from the dom\n elm.remove();\n }\n }\n};\nconst updateChildren = (parentElm, oldCh, newVNode, newCh) => {\n let oldStartIdx = 0;\n let newStartIdx = 0;\n let idxInOld = 0;\n let i = 0;\n let oldEndIdx = oldCh.length - 1;\n let oldStartVnode = oldCh[0];\n let oldEndVnode = oldCh[oldEndIdx];\n let newEndIdx = newCh.length - 1;\n let newStartVnode = newCh[0];\n let newEndVnode = newCh[newEndIdx];\n let node;\n let elmToMove;\n while (oldStartIdx <= oldEndIdx && newStartIdx <= newEndIdx) {\n if (oldStartVnode == null) {\n // Vnode might have been moved left\n oldStartVnode = oldCh[++oldStartIdx];\n }\n else if (oldEndVnode == null) {\n oldEndVnode = oldCh[--oldEndIdx];\n }\n else if (newStartVnode == null) {\n newStartVnode = newCh[++newStartIdx];\n }\n else if (newEndVnode == null) {\n newEndVnode = newCh[--newEndIdx];\n }\n else if (isSameVnode(oldStartVnode, newStartVnode)) {\n patch(oldStartVnode, newStartVnode);\n oldStartVnode = oldCh[++oldStartIdx];\n newStartVnode = newCh[++newStartIdx];\n }\n else if (isSameVnode(oldEndVnode, newEndVnode)) {\n patch(oldEndVnode, newEndVnode);\n oldEndVnode = oldCh[--oldEndIdx];\n newEndVnode = newCh[--newEndIdx];\n }\n else if (isSameVnode(oldStartVnode, newEndVnode)) {\n // Vnode moved right\n if ((oldStartVnode.$tag$ === 'slot' || newEndVnode.$tag$ === 'slot')) {\n putBackInOriginalLocation(oldStartVnode.$elm$.parentNode, false);\n }\n patch(oldStartVnode, newEndVnode);\n parentElm.insertBefore(oldStartVnode.$elm$, oldEndVnode.$elm$.nextSibling);\n oldStartVnode = oldCh[++oldStartIdx];\n newEndVnode = newCh[--newEndIdx];\n }\n else if (isSameVnode(oldEndVnode, newStartVnode)) {\n // Vnode moved left\n if ((oldStartVnode.$tag$ === 'slot' || newEndVnode.$tag$ === 'slot')) {\n putBackInOriginalLocation(oldEndVnode.$elm$.parentNode, false);\n }\n patch(oldEndVnode, newStartVnode);\n parentElm.insertBefore(oldEndVnode.$elm$, oldStartVnode.$elm$);\n oldEndVnode = oldCh[--oldEndIdx];\n newStartVnode = newCh[++newStartIdx];\n }\n else {\n // createKeyToOldIdx\n idxInOld = -1;\n {\n for (i = oldStartIdx; i <= oldEndIdx; ++i) {\n if (oldCh[i] && oldCh[i].$key$ !== null && oldCh[i].$key$ === newStartVnode.$key$) {\n idxInOld = i;\n break;\n }\n }\n }\n if (idxInOld >= 0) {\n elmToMove = oldCh[idxInOld];\n if (elmToMove.$tag$ !== newStartVnode.$tag$) {\n node = createElm(oldCh && oldCh[newStartIdx], newVNode, idxInOld, parentElm);\n }\n else {\n patch(elmToMove, newStartVnode);\n oldCh[idxInOld] = undefined;\n node = elmToMove.$elm$;\n }\n newStartVnode = newCh[++newStartIdx];\n }\n else {\n // new element\n node = createElm(oldCh && oldCh[newStartIdx], newVNode, newStartIdx, parentElm);\n newStartVnode = newCh[++newStartIdx];\n }\n if (node) {\n {\n parentReferenceNode(oldStartVnode.$elm$).insertBefore(node, referenceNode(oldStartVnode.$elm$));\n }\n }\n }\n }\n if (oldStartIdx > oldEndIdx) {\n addVnodes(parentElm, newCh[newEndIdx + 1] == null ? null : newCh[newEndIdx + 1].$elm$, newVNode, newCh, newStartIdx, newEndIdx);\n }\n else if (newStartIdx > newEndIdx) {\n removeVnodes(oldCh, oldStartIdx, oldEndIdx);\n }\n};\nconst isSameVnode = (vnode1, vnode2) => {\n // compare if two vnode to see if they're \"technically\" the same\n // need to have the same element tag, and same key to be the same\n if (vnode1.$tag$ === vnode2.$tag$) {\n if (vnode1.$tag$ === 'slot') {\n return vnode1.$name$ === vnode2.$name$;\n }\n {\n return vnode1.$key$ === vnode2.$key$;\n }\n }\n return false;\n};\nconst referenceNode = (node) => {\n // this node was relocated to a new location in the dom\n // because of some other component's slot\n // but we still have an html comment in place of where\n // it's original location was according to it's original vdom\n return (node && node['s-ol']) || node;\n};\nconst parentReferenceNode = (node) => (node['s-ol'] ? node['s-ol'] : node).parentNode;\nconst patch = (oldVNode, newVNode) => {\n const elm = (newVNode.$elm$ = oldVNode.$elm$);\n const oldChildren = oldVNode.$children$;\n const newChildren = newVNode.$children$;\n const tag = newVNode.$tag$;\n const text = newVNode.$text$;\n let defaultHolder;\n if (text === null) {\n {\n // test if we're rendering an svg element, or still rendering nodes inside of one\n // only add this to the when the compiler sees we're using an svg somewhere\n isSvgMode = tag === 'svg' ? true : tag === 'foreignObject' ? false : isSvgMode;\n }\n // element node\n {\n if (tag === 'slot')\n ;\n else {\n // either this is the first render of an element OR it's an update\n // AND we already know it's possible it could have changed\n // this updates the element's css classes, attrs, props, listeners, etc.\n updateElement(oldVNode, newVNode, isSvgMode);\n }\n }\n if (oldChildren !== null && newChildren !== null) {\n // looks like there's child vnodes for both the old and new vnodes\n updateChildren(elm, oldChildren, newVNode, newChildren);\n }\n else if (newChildren !== null) {\n // no old child vnodes, but there are new child vnodes to add\n if (oldVNode.$text$ !== null) {\n // the old vnode was text, so be sure to clear it out\n elm.textContent = '';\n }\n // add the new vnode children\n addVnodes(elm, null, newVNode, newChildren, 0, newChildren.length - 1);\n }\n else if (oldChildren !== null) {\n // no new child vnodes, but there are old child vnodes to remove\n removeVnodes(oldChildren, 0, oldChildren.length - 1);\n }\n if (isSvgMode && tag === 'svg') {\n isSvgMode = false;\n }\n }\n else if ((defaultHolder = elm['s-cr'])) {\n // this element has slotted content\n defaultHolder.parentNode.textContent = text;\n }\n else if (oldVNode.$text$ !== text) {\n // update the text content for the text only vnode\n // and also only if the text is different than before\n elm.data = text;\n }\n};\nconst updateFallbackSlotVisibility = (elm) => {\n // tslint:disable-next-line: prefer-const\n let childNodes = elm.childNodes;\n let childNode;\n let i;\n let ilen;\n let j;\n let slotNameAttr;\n let nodeType;\n for (i = 0, ilen = childNodes.length; i < ilen; i++) {\n childNode = childNodes[i];\n if (childNode.nodeType === 1 /* ElementNode */) {\n if (childNode['s-sr']) {\n // this is a slot fallback node\n // get the slot name for this slot reference node\n slotNameAttr = childNode['s-sn'];\n // by default always show a fallback slot node\n // then hide it if there are other slots in the light dom\n childNode.hidden = false;\n for (j = 0; j < ilen; j++) {\n nodeType = childNodes[j].nodeType;\n if (childNodes[j]['s-hn'] !== childNode['s-hn'] || slotNameAttr !== '') {\n // this sibling node is from a different component OR is a named fallback slot node\n if (nodeType === 1 /* ElementNode */ && slotNameAttr === childNodes[j].getAttribute('slot')) {\n childNode.hidden = true;\n break;\n }\n }\n else {\n // this is a default fallback slot node\n // any element or text node (with content)\n // should hide the default fallback slot node\n if (nodeType === 1 /* ElementNode */ ||\n (nodeType === 3 /* TextNode */ && childNodes[j].textContent.trim() !== '')) {\n childNode.hidden = true;\n break;\n }\n }\n }\n }\n // keep drilling down\n updateFallbackSlotVisibility(childNode);\n }\n }\n};\nconst relocateNodes = [];\nconst relocateSlotContent = (elm) => {\n // tslint:disable-next-line: prefer-const\n let childNode;\n let node;\n let hostContentNodes;\n let slotNameAttr;\n let relocateNodeData;\n let j;\n let i = 0;\n let childNodes = elm.childNodes;\n let ilen = childNodes.length;\n for (; i < ilen; i++) {\n childNode = childNodes[i];\n if (childNode['s-sr'] && (node = childNode['s-cr']) && node.parentNode) {\n // first got the content reference comment node\n // then we got it's parent, which is where all the host content is in now\n hostContentNodes = node.parentNode.childNodes;\n slotNameAttr = childNode['s-sn'];\n for (j = hostContentNodes.length - 1; j >= 0; j--) {\n node = hostContentNodes[j];\n if (!node['s-cn'] && !node['s-nr'] && node['s-hn'] !== childNode['s-hn']) {\n // let's do some relocating to its new home\n // but never relocate a content reference node\n // that is suppose to always represent the original content location\n if (isNodeLocatedInSlot(node, slotNameAttr)) {\n // it's possible we've already decided to relocate this node\n relocateNodeData = relocateNodes.find(r => r.$nodeToRelocate$ === node);\n // made some changes to slots\n // let's make sure we also double check\n // fallbacks are correctly hidden or shown\n checkSlotFallbackVisibility = true;\n node['s-sn'] = node['s-sn'] || slotNameAttr;\n if (relocateNodeData) {\n // previously we never found a slot home for this node\n // but turns out we did, so let's remember it now\n relocateNodeData.$slotRefNode$ = childNode;\n }\n else {\n // add to our list of nodes to relocate\n relocateNodes.push({\n $slotRefNode$: childNode,\n $nodeToRelocate$: node,\n });\n }\n if (node['s-sr']) {\n relocateNodes.map(relocateNode => {\n if (isNodeLocatedInSlot(relocateNode.$nodeToRelocate$, node['s-sn'])) {\n relocateNodeData = relocateNodes.find(r => r.$nodeToRelocate$ === node);\n if (relocateNodeData && !relocateNode.$slotRefNode$) {\n relocateNode.$slotRefNode$ = relocateNodeData.$slotRefNode$;\n }\n }\n });\n }\n }\n else if (!relocateNodes.some(r => r.$nodeToRelocate$ === node)) {\n // so far this element does not have a slot home, not setting slotRefNode on purpose\n // if we never find a home for this element then we'll need to hide it\n relocateNodes.push({\n $nodeToRelocate$: node,\n });\n }\n }\n }\n }\n if (childNode.nodeType === 1 /* ElementNode */) {\n relocateSlotContent(childNode);\n }\n }\n};\nconst isNodeLocatedInSlot = (nodeToRelocate, slotNameAttr) => {\n if (nodeToRelocate.nodeType === 1 /* ElementNode */) {\n if (nodeToRelocate.getAttribute('slot') === null && slotNameAttr === '') {\n return true;\n }\n if (nodeToRelocate.getAttribute('slot') === slotNameAttr) {\n return true;\n }\n return false;\n }\n if (nodeToRelocate['s-sn'] === slotNameAttr) {\n return true;\n }\n return slotNameAttr === '';\n};\nconst callNodeRefs = (vNode) => {\n {\n vNode.$attrs$ && vNode.$attrs$.ref && vNode.$attrs$.ref(null);\n vNode.$children$ && vNode.$children$.map(callNodeRefs);\n }\n};\nconst renderVdom = (hostRef, renderFnResults) => {\n const hostElm = hostRef.$hostElement$;\n const cmpMeta = hostRef.$cmpMeta$;\n const oldVNode = hostRef.$vnode$ || newVNode(null, null);\n const rootVnode = isHost(renderFnResults) ? renderFnResults : h(null, null, renderFnResults);\n hostTagName = hostElm.tagName;\n rootVnode.$tag$ = null;\n rootVnode.$flags$ |= 4 /* isHost */;\n hostRef.$vnode$ = rootVnode;\n rootVnode.$elm$ = oldVNode.$elm$ = (hostElm.shadowRoot || hostElm );\n {\n scopeId = hostElm['s-sc'];\n }\n {\n contentRef = hostElm['s-cr'];\n useNativeShadowDom = (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) !== 0;\n // always reset\n checkSlotFallbackVisibility = false;\n }\n // synchronous patch\n patch(oldVNode, rootVnode);\n {\n // while we're moving nodes around existing nodes, temporarily disable\n // the disconnectCallback from working\n plt.$flags$ |= 1 /* isTmpDisconnected */;\n if (checkSlotRelocate) {\n relocateSlotContent(rootVnode.$elm$);\n let relocateData;\n let nodeToRelocate;\n let orgLocationNode;\n let parentNodeRef;\n let insertBeforeNode;\n let refNode;\n let i = 0;\n for (; i < relocateNodes.length; i++) {\n relocateData = relocateNodes[i];\n nodeToRelocate = relocateData.$nodeToRelocate$;\n if (!nodeToRelocate['s-ol']) {\n // add a reference node marking this node's original location\n // keep a reference to this node for later lookups\n orgLocationNode = doc.createTextNode('');\n orgLocationNode['s-nr'] = nodeToRelocate;\n nodeToRelocate.parentNode.insertBefore((nodeToRelocate['s-ol'] = orgLocationNode), nodeToRelocate);\n }\n }\n for (i = 0; i < relocateNodes.length; i++) {\n relocateData = relocateNodes[i];\n nodeToRelocate = relocateData.$nodeToRelocate$;\n if (relocateData.$slotRefNode$) {\n // by default we're just going to insert it directly\n // after the slot reference node\n parentNodeRef = relocateData.$slotRefNode$.parentNode;\n insertBeforeNode = relocateData.$slotRefNode$.nextSibling;\n orgLocationNode = nodeToRelocate['s-ol'];\n while ((orgLocationNode = orgLocationNode.previousSibling)) {\n refNode = orgLocationNode['s-nr'];\n if (refNode && refNode['s-sn'] === nodeToRelocate['s-sn'] && parentNodeRef === refNode.parentNode) {\n refNode = refNode.nextSibling;\n if (!refNode || !refNode['s-nr']) {\n insertBeforeNode = refNode;\n break;\n }\n }\n }\n if ((!insertBeforeNode && parentNodeRef !== nodeToRelocate.parentNode) || nodeToRelocate.nextSibling !== insertBeforeNode) {\n // we've checked that it's worth while to relocate\n // since that the node to relocate\n // has a different next sibling or parent relocated\n if (nodeToRelocate !== insertBeforeNode) {\n if (!nodeToRelocate['s-hn'] && nodeToRelocate['s-ol']) {\n // probably a component in the index.html that doesn't have it's hostname set\n nodeToRelocate['s-hn'] = nodeToRelocate['s-ol'].parentNode.nodeName;\n }\n // add it back to the dom but in its new home\n parentNodeRef.insertBefore(nodeToRelocate, insertBeforeNode);\n }\n }\n }\n else {\n // this node doesn't have a slot home to go to, so let's hide it\n if (nodeToRelocate.nodeType === 1 /* ElementNode */) {\n nodeToRelocate.hidden = true;\n }\n }\n }\n }\n if (checkSlotFallbackVisibility) {\n updateFallbackSlotVisibility(rootVnode.$elm$);\n }\n // done moving nodes around\n // allow the disconnect callback to work again\n plt.$flags$ &= ~1 /* isTmpDisconnected */;\n // always reset\n relocateNodes.length = 0;\n }\n};\nconst getElement = (ref) => (getHostRef(ref).$hostElement$ );\nconst createEvent = (ref, name, flags) => {\n const elm = getElement(ref);\n return {\n emit: (detail) => {\n return emitEvent(elm, name, {\n bubbles: !!(flags & 4 /* Bubbles */),\n composed: !!(flags & 2 /* Composed */),\n cancelable: !!(flags & 1 /* Cancellable */),\n detail,\n });\n },\n };\n};\nconst emitEvent = (elm, name, opts) => {\n const ev = plt.ce(name, opts);\n elm.dispatchEvent(ev);\n return ev;\n};\nconst attachToAncestor = (hostRef, ancestorComponent) => {\n if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent['s-p']) {\n ancestorComponent['s-p'].push(new Promise(r => (hostRef.$onRenderResolve$ = r)));\n }\n};\nconst scheduleUpdate = (hostRef, isInitialLoad) => {\n {\n hostRef.$flags$ |= 16 /* isQueuedForUpdate */;\n }\n if (hostRef.$flags$ & 4 /* isWaitingForChildren */) {\n hostRef.$flags$ |= 512 /* needsRerender */;\n return;\n }\n attachToAncestor(hostRef, hostRef.$ancestorComponent$);\n // there is no ancestor component or the ancestor component\n // has already fired off its lifecycle update then\n // fire off the initial update\n const dispatch = () => dispatchHooks(hostRef, isInitialLoad);\n return writeTask(dispatch) ;\n};\nconst dispatchHooks = (hostRef, isInitialLoad) => {\n const endSchedule = createTime('scheduleUpdate', hostRef.$cmpMeta$.$tagName$);\n const instance = hostRef.$lazyInstance$ ;\n let promise;\n if (isInitialLoad) {\n {\n hostRef.$flags$ |= 256 /* isListenReady */;\n if (hostRef.$queuedListeners$) {\n hostRef.$queuedListeners$.map(([methodName, event]) => safeCall(instance, methodName, event));\n hostRef.$queuedListeners$ = null;\n }\n }\n {\n promise = safeCall(instance, 'componentWillLoad');\n }\n }\n {\n promise = then(promise, () => safeCall(instance, 'componentWillRender'));\n }\n endSchedule();\n return then(promise, () => updateComponent(hostRef, instance, isInitialLoad));\n};\nconst updateComponent = async (hostRef, instance, isInitialLoad) => {\n // updateComponent\n const elm = hostRef.$hostElement$;\n const endUpdate = createTime('update', hostRef.$cmpMeta$.$tagName$);\n const rc = elm['s-rc'];\n if (isInitialLoad) {\n // DOM WRITE!\n attachStyles(hostRef);\n }\n const endRender = createTime('render', hostRef.$cmpMeta$.$tagName$);\n {\n callRender(hostRef, instance);\n }\n if (rc) {\n // ok, so turns out there are some child host elements\n // waiting on this parent element to load\n // let's fire off all update callbacks waiting\n rc.map(cb => cb());\n elm['s-rc'] = undefined;\n }\n endRender();\n endUpdate();\n {\n const childrenPromises = elm['s-p'];\n const postUpdate = () => postUpdateComponent(hostRef);\n if (childrenPromises.length === 0) {\n postUpdate();\n }\n else {\n Promise.all(childrenPromises).then(postUpdate);\n hostRef.$flags$ |= 4 /* isWaitingForChildren */;\n childrenPromises.length = 0;\n }\n }\n};\nconst callRender = (hostRef, instance, elm) => {\n try {\n instance = instance.render() ;\n {\n hostRef.$flags$ &= ~16 /* isQueuedForUpdate */;\n }\n {\n hostRef.$flags$ |= 2 /* hasRendered */;\n }\n {\n {\n // looks like we've got child nodes to render into this host element\n // or we need to update the css class/attrs on the host element\n // DOM WRITE!\n {\n renderVdom(hostRef, instance);\n }\n }\n }\n }\n catch (e) {\n consoleError(e, hostRef.$hostElement$);\n }\n return null;\n};\nconst postUpdateComponent = (hostRef) => {\n const tagName = hostRef.$cmpMeta$.$tagName$;\n const elm = hostRef.$hostElement$;\n const endPostUpdate = createTime('postUpdate', tagName);\n const instance = hostRef.$lazyInstance$ ;\n const ancestorComponent = hostRef.$ancestorComponent$;\n {\n safeCall(instance, 'componentDidRender');\n }\n if (!(hostRef.$flags$ & 64 /* hasLoadedComponent */)) {\n hostRef.$flags$ |= 64 /* hasLoadedComponent */;\n {\n // DOM WRITE!\n addHydratedFlag(elm);\n }\n {\n safeCall(instance, 'componentDidLoad');\n }\n endPostUpdate();\n {\n hostRef.$onReadyResolve$(elm);\n if (!ancestorComponent) {\n appDidLoad();\n }\n }\n }\n else {\n {\n safeCall(instance, 'componentDidUpdate');\n }\n endPostUpdate();\n }\n {\n hostRef.$onInstanceResolve$(elm);\n }\n // load events fire from bottom to top\n // the deepest elements load first then bubbles up\n {\n if (hostRef.$onRenderResolve$) {\n hostRef.$onRenderResolve$();\n hostRef.$onRenderResolve$ = undefined;\n }\n if (hostRef.$flags$ & 512 /* needsRerender */) {\n nextTick(() => scheduleUpdate(hostRef, false));\n }\n hostRef.$flags$ &= ~(4 /* isWaitingForChildren */ | 512 /* needsRerender */);\n }\n // ( •_•)\n // ( •_•)>⌐■-■\n // (⌐■_■)\n};\nconst forceUpdate = (ref) => {\n {\n const hostRef = getHostRef(ref);\n const isConnected = hostRef.$hostElement$.isConnected;\n if (isConnected && (hostRef.$flags$ & (2 /* hasRendered */ | 16 /* isQueuedForUpdate */)) === 2 /* hasRendered */) {\n scheduleUpdate(hostRef, false);\n }\n // Returns \"true\" when the forced update was successfully scheduled\n return isConnected;\n }\n};\nconst appDidLoad = (who) => {\n // on appload\n // we have finish the first big initial render\n {\n addHydratedFlag(doc.documentElement);\n }\n nextTick(() => emitEvent(win, 'appload', { detail: { namespace: NAMESPACE } }));\n};\nconst safeCall = (instance, method, arg) => {\n if (instance && instance[method]) {\n try {\n return instance[method](arg);\n }\n catch (e) {\n consoleError(e);\n }\n }\n return undefined;\n};\nconst then = (promise, thenFn) => {\n return promise && promise.then ? promise.then(thenFn) : thenFn();\n};\nconst addHydratedFlag = (elm) => (elm.classList.add('hydrated') );\nconst parsePropertyValue = (propValue, propType) => {\n // ensure this value is of the correct prop type\n if (propValue != null && !isComplexType(propValue)) {\n if (propType & 4 /* Boolean */) {\n // per the HTML spec, any string value means it is a boolean true value\n // but we'll cheat here and say that the string \"false\" is the boolean false\n return propValue === 'false' ? false : propValue === '' || !!propValue;\n }\n if (propType & 2 /* Number */) {\n // force it to be a number\n return parseFloat(propValue);\n }\n if (propType & 1 /* String */) {\n // could have been passed as a number or boolean\n // but we still want it as a string\n return String(propValue);\n }\n // redundant return here for better minification\n return propValue;\n }\n // not sure exactly what type we want\n // so no need to change to a different type\n return propValue;\n};\nconst getValue = (ref, propName) => getHostRef(ref).$instanceValues$.get(propName);\nconst setValue = (ref, propName, newVal, cmpMeta) => {\n // check our new property value against our internal value\n const hostRef = getHostRef(ref);\n const elm = hostRef.$hostElement$ ;\n const oldVal = hostRef.$instanceValues$.get(propName);\n const flags = hostRef.$flags$;\n const instance = hostRef.$lazyInstance$ ;\n newVal = parsePropertyValue(newVal, cmpMeta.$members$[propName][0]);\n if ((!(flags & 8 /* isConstructingInstance */) || oldVal === undefined) && newVal !== oldVal) {\n // gadzooks! the property's value has changed!!\n // set our new value!\n hostRef.$instanceValues$.set(propName, newVal);\n if (instance) {\n // get an array of method names of watch functions to call\n if (cmpMeta.$watchers$ && flags & 128 /* isWatchReady */) {\n const watchMethods = cmpMeta.$watchers$[propName];\n if (watchMethods) {\n // this instance is watching for when this property changed\n watchMethods.map(watchMethodName => {\n try {\n // fire off each of the watch methods that are watching this property\n instance[watchMethodName](newVal, oldVal, propName);\n }\n catch (e) {\n consoleError(e, elm);\n }\n });\n }\n }\n if ((flags & (2 /* hasRendered */ | 16 /* isQueuedForUpdate */)) === 2 /* hasRendered */) {\n // looks like this value actually changed, so we've got work to do!\n // but only if we've already rendered, otherwise just chill out\n // queue that we need to do an update, but don't worry about queuing\n // up millions cuz this function ensures it only runs once\n scheduleUpdate(hostRef, false);\n }\n }\n }\n};\nconst proxyComponent = (Cstr, cmpMeta, flags) => {\n if (cmpMeta.$members$) {\n if (Cstr.watchers) {\n cmpMeta.$watchers$ = Cstr.watchers;\n }\n // It's better to have a const than two Object.entries()\n const members = Object.entries(cmpMeta.$members$);\n const prototype = Cstr.prototype;\n members.map(([memberName, [memberFlags]]) => {\n if ((memberFlags & 31 /* Prop */ || ((flags & 2 /* proxyState */) && memberFlags & 32 /* State */))) {\n // proxyComponent - prop\n Object.defineProperty(prototype, memberName, {\n get() {\n // proxyComponent, get value\n return getValue(this, memberName);\n },\n set(newValue) {\n // proxyComponent, set value\n setValue(this, memberName, newValue, cmpMeta);\n },\n configurable: true,\n enumerable: true,\n });\n }\n else if (flags & 1 /* isElementConstructor */ && memberFlags & 64 /* Method */) {\n // proxyComponent - method\n Object.defineProperty(prototype, memberName, {\n value(...args) {\n const ref = getHostRef(this);\n return ref.$onInstancePromise$.then(() => ref.$lazyInstance$[memberName](...args));\n },\n });\n }\n });\n if ((flags & 1 /* isElementConstructor */)) {\n const attrNameToPropName = new Map();\n prototype.attributeChangedCallback = function (attrName, _oldValue, newValue) {\n plt.jmp(() => {\n const propName = attrNameToPropName.get(attrName);\n this[propName] = newValue === null && typeof this[propName] === 'boolean' ? false : newValue;\n });\n };\n // create an array of attributes to observe\n // and also create a map of html attribute name to js property name\n Cstr.observedAttributes = members\n .filter(([_, m]) => m[0] & 15 /* HasAttribute */) // filter to only keep props that should match attributes\n .map(([propName, m]) => {\n const attrName = m[1] || propName;\n attrNameToPropName.set(attrName, propName);\n return attrName;\n });\n }\n }\n return Cstr;\n};\nconst initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) => {\n // initializeComponent\n if ((hostRef.$flags$ & 32 /* hasInitializedComponent */) === 0) {\n {\n // we haven't initialized this element yet\n hostRef.$flags$ |= 32 /* hasInitializedComponent */;\n // lazy loaded components\n // request the component's implementation to be\n // wired up with the host element\n Cstr = loadModule(cmpMeta);\n if (Cstr.then) {\n // Await creates a micro-task avoid if possible\n const endLoad = uniqueTime();\n Cstr = await Cstr;\n endLoad();\n }\n if (!Cstr.isProxied) {\n // we'eve never proxied this Constructor before\n // let's add the getters/setters to its prototype before\n // the first time we create an instance of the implementation\n {\n cmpMeta.$watchers$ = Cstr.watchers;\n }\n proxyComponent(Cstr, cmpMeta, 2 /* proxyState */);\n Cstr.isProxied = true;\n }\n const endNewInstance = createTime('createInstance', cmpMeta.$tagName$);\n // ok, time to construct the instance\n // but let's keep track of when we start and stop\n // so that the getters/setters don't incorrectly step on data\n {\n hostRef.$flags$ |= 8 /* isConstructingInstance */;\n }\n // construct the lazy-loaded component implementation\n // passing the hostRef is very important during\n // construction in order to directly wire together the\n // host element and the lazy-loaded instance\n try {\n new Cstr(hostRef);\n }\n catch (e) {\n consoleError(e);\n }\n {\n hostRef.$flags$ &= ~8 /* isConstructingInstance */;\n }\n {\n hostRef.$flags$ |= 128 /* isWatchReady */;\n }\n endNewInstance();\n fireConnectedCallback(hostRef.$lazyInstance$);\n }\n if (Cstr.style) {\n // this component has styles but we haven't registered them yet\n let style = Cstr.style;\n const scopeId = getScopeId(cmpMeta);\n if (!styles.has(scopeId)) {\n const endRegisterStyles = createTime('registerStyles', cmpMeta.$tagName$);\n registerStyle(scopeId, style, !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */));\n endRegisterStyles();\n }\n }\n }\n // we've successfully created a lazy instance\n const ancestorComponent = hostRef.$ancestorComponent$;\n const schedule = () => scheduleUpdate(hostRef, true);\n if (ancestorComponent && ancestorComponent['s-rc']) {\n // this is the intial load and this component it has an ancestor component\n // but the ancestor component has NOT fired its will update lifecycle yet\n // so let's just cool our jets and wait for the ancestor to continue first\n // this will get fired off when the ancestor component\n // finally gets around to rendering its lazy self\n // fire off the initial update\n ancestorComponent['s-rc'].push(schedule);\n }\n else {\n schedule();\n }\n};\nconst fireConnectedCallback = (instance) => {\n {\n safeCall(instance, 'connectedCallback');\n }\n};\nconst connectedCallback = (elm) => {\n if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {\n const hostRef = getHostRef(elm);\n const cmpMeta = hostRef.$cmpMeta$;\n const endConnected = createTime('connectedCallback', cmpMeta.$tagName$);\n if (!(hostRef.$flags$ & 1 /* hasConnected */)) {\n // first time this component has connected\n hostRef.$flags$ |= 1 /* hasConnected */;\n {\n // initUpdate\n // if the slot polyfill is required we'll need to put some nodes\n // in here to act as original content anchors as we move nodes around\n // host element has been connected to the DOM\n if ((cmpMeta.$flags$ & (4 /* hasSlotRelocation */ | 8 /* needsShadowDomShim */))) {\n setContentReference(elm);\n }\n }\n {\n // find the first ancestor component (if there is one) and register\n // this component as one of the actively loading child components for its ancestor\n let ancestorComponent = elm;\n while ((ancestorComponent = ancestorComponent.parentNode || ancestorComponent.host)) {\n // climb up the ancestors looking for the first\n // component that hasn't finished its lifecycle update yet\n if (ancestorComponent['s-p']) {\n // we found this components first ancestor component\n // keep a reference to this component's ancestor component\n attachToAncestor(hostRef, (hostRef.$ancestorComponent$ = ancestorComponent));\n break;\n }\n }\n }\n // Lazy properties\n // https://developers.google.com/web/fundamentals/web-components/best-practices#lazy-properties\n if (cmpMeta.$members$) {\n Object.entries(cmpMeta.$members$).map(([memberName, [memberFlags]]) => {\n if (memberFlags & 31 /* Prop */ && elm.hasOwnProperty(memberName)) {\n const value = elm[memberName];\n delete elm[memberName];\n elm[memberName] = value;\n }\n });\n }\n {\n initializeComponent(elm, hostRef, cmpMeta);\n }\n }\n else {\n // not the first time this has connected\n // reattach any event listeners to the host\n // since they would have been removed when disconnected\n addHostEventListeners(elm, hostRef, cmpMeta.$listeners$);\n // fire off connectedCallback() on component instance\n fireConnectedCallback(hostRef.$lazyInstance$);\n }\n endConnected();\n }\n};\nconst setContentReference = (elm) => {\n // only required when we're NOT using native shadow dom (slot)\n // or this browser doesn't support native shadow dom\n // and this host element was NOT created with SSR\n // let's pick out the inner content for slot projection\n // create a node to represent where the original\n // content was first placed, which is useful later on\n const contentRefElm = (elm['s-cr'] = doc.createComment(''));\n contentRefElm['s-cn'] = true;\n elm.insertBefore(contentRefElm, elm.firstChild);\n};\nconst disconnectedCallback = (elm) => {\n if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {\n const hostRef = getHostRef(elm);\n const instance = hostRef.$lazyInstance$ ;\n {\n if (hostRef.$rmListeners$) {\n hostRef.$rmListeners$.map(rmListener => rmListener());\n hostRef.$rmListeners$ = undefined;\n }\n }\n {\n safeCall(instance, 'disconnectedCallback');\n }\n }\n};\nconst bootstrapLazy = (lazyBundles, options = {}) => {\n const endBootstrap = createTime();\n const cmpTags = [];\n const exclude = options.exclude || [];\n const customElements = win.customElements;\n const head = doc.head;\n const metaCharset = /*@__PURE__*/ head.querySelector('meta[charset]');\n const visibilityStyle = /*@__PURE__*/ doc.createElement('style');\n const deferredConnectedCallbacks = [];\n let appLoadFallback;\n let isBootstrapping = true;\n Object.assign(plt, options);\n plt.$resourcesUrl$ = new URL(options.resourcesUrl || './', doc.baseURI).href;\n lazyBundles.map(lazyBundle => lazyBundle[1].map(compactMeta => {\n const cmpMeta = {\n $flags$: compactMeta[0],\n $tagName$: compactMeta[1],\n $members$: compactMeta[2],\n $listeners$: compactMeta[3],\n };\n {\n cmpMeta.$members$ = compactMeta[2];\n }\n {\n cmpMeta.$listeners$ = compactMeta[3];\n }\n {\n cmpMeta.$watchers$ = {};\n }\n const tagName = cmpMeta.$tagName$;\n const HostElement = class extends HTMLElement {\n // StencilLazyHost\n constructor(self) {\n // @ts-ignore\n super(self);\n self = this;\n registerHost(self, cmpMeta);\n if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {\n // this component is using shadow dom\n // and this browser supports shadow dom\n // add the read-only property \"shadowRoot\" to the host element\n // adding the shadow root build conditionals to minimize runtime\n {\n {\n self.attachShadow({ mode: 'open' });\n }\n }\n }\n }\n connectedCallback() {\n if (appLoadFallback) {\n clearTimeout(appLoadFallback);\n appLoadFallback = null;\n }\n if (isBootstrapping) {\n // connectedCallback will be processed once all components have been registered\n deferredConnectedCallbacks.push(this);\n }\n else {\n plt.jmp(() => connectedCallback(this));\n }\n }\n disconnectedCallback() {\n plt.jmp(() => disconnectedCallback(this));\n }\n componentOnReady() {\n return getHostRef(this).$onReadyPromise$;\n }\n };\n cmpMeta.$lazyBundleId$ = lazyBundle[0];\n if (!exclude.includes(tagName) && !customElements.get(tagName)) {\n cmpTags.push(tagName);\n customElements.define(tagName, proxyComponent(HostElement, cmpMeta, 1 /* isElementConstructor */));\n }\n }));\n {\n visibilityStyle.innerHTML = cmpTags + HYDRATED_CSS;\n visibilityStyle.setAttribute('data-styles', '');\n head.insertBefore(visibilityStyle, metaCharset ? metaCharset.nextSibling : head.firstChild);\n }\n // Process deferred connectedCallbacks now all components have been registered\n isBootstrapping = false;\n if (deferredConnectedCallbacks.length) {\n deferredConnectedCallbacks.map(host => host.connectedCallback());\n }\n else {\n {\n plt.jmp(() => (appLoadFallback = setTimeout(appDidLoad, 30)));\n }\n }\n // Fallback appLoad event\n endBootstrap();\n};\nconst getAssetPath = (path) => {\n const assetUrl = new URL(path, plt.$resourcesUrl$);\n return assetUrl.origin !== win.location.origin ? assetUrl.href : assetUrl.pathname;\n};\nconst hostRefs = new WeakMap();\nconst getHostRef = (ref) => hostRefs.get(ref);\nconst registerInstance = (lazyInstance, hostRef) => hostRefs.set((hostRef.$lazyInstance$ = lazyInstance), hostRef);\nconst registerHost = (elm, cmpMeta) => {\n const hostRef = {\n $flags$: 0,\n $hostElement$: elm,\n $cmpMeta$: cmpMeta,\n $instanceValues$: new Map(),\n };\n {\n hostRef.$onInstancePromise$ = new Promise(r => (hostRef.$onInstanceResolve$ = r));\n }\n {\n hostRef.$onReadyPromise$ = new Promise(r => (hostRef.$onReadyResolve$ = r));\n elm['s-p'] = [];\n elm['s-rc'] = [];\n }\n addHostEventListeners(elm, hostRef, cmpMeta.$listeners$);\n return hostRefs.set(elm, hostRef);\n};\nconst isMemberInElement = (elm, memberName) => memberName in elm;\nconst consoleError = (e, el) => (0, console.error)(e, el);\nconst cmpModules = /*@__PURE__*/ new Map();\nconst loadModule = (cmpMeta, hostRef, hmrVersionId) => {\n // loadModuleImport\n const exportName = cmpMeta.$tagName$.replace(/-/g, '_');\n const bundleId = cmpMeta.$lazyBundleId$;\n const module = cmpModules.get(bundleId) ;\n if (module) {\n return module[exportName];\n }\n return import(\n /* webpackInclude: /\\.entry\\.js$/ */\n /* webpackExclude: /\\.system\\.entry\\.js$/ */\n /* webpackMode: \"lazy\" */\n `./${bundleId}.entry.js${''}`).then(importedModule => {\n {\n cmpModules.set(bundleId, importedModule);\n }\n return importedModule[exportName];\n }, consoleError);\n};\nconst styles = new Map();\nconst queueDomReads = [];\nconst queueDomWrites = [];\nconst queueTask = (queue, write) => (cb) => {\n queue.push(cb);\n if (!queuePending) {\n queuePending = true;\n if (write && plt.$flags$ & 4 /* queueSync */) {\n nextTick(flush);\n }\n else {\n plt.raf(flush);\n }\n }\n};\nconst consume = (queue) => {\n for (let i = 0; i < queue.length; i++) {\n try {\n queue[i](performance.now());\n }\n catch (e) {\n consoleError(e);\n }\n }\n queue.length = 0;\n};\nconst flush = () => {\n // always force a bunch of medium callbacks to run, but still have\n // a throttle on how many can run in a certain time\n // DOM READS!!!\n consume(queueDomReads);\n // DOM WRITES!!!\n {\n consume(queueDomWrites);\n if ((queuePending = queueDomReads.length > 0)) {\n // still more to do yet, but we've run out of time\n // let's let this thing cool off and try again in the next tick\n plt.raf(flush);\n }\n }\n};\nconst nextTick = /*@__PURE__*/ (cb) => promiseResolve().then(cb);\nconst writeTask = /*@__PURE__*/ queueTask(queueDomWrites, true);\n\nexport { Host as H, getAssetPath as a, bootstrapLazy as b, createEvent as c, forceUpdate as f, getElement as g, h, promiseResolve as p, registerInstance as r };\n","var map = {\n\t\"./color-picker_4.entry.js\": [\n\t\t4678,\n\t\t678\n\t],\n\t\"./rs-accordion.entry.js\": [\n\t\t8253,\n\t\t253\n\t],\n\t\"./rs-alert.entry.js\": [\n\t\t8994,\n\t\t994\n\t],\n\t\"./rs-button_2.entry.js\": [\n\t\t2314,\n\t\t314\n\t],\n\t\"./rs-caption_2.entry.js\": [\n\t\t4912,\n\t\t912\n\t],\n\t\"./rs-card-content.entry.js\": [\n\t\t7228,\n\t\t228\n\t],\n\t\"./rs-card-header.entry.js\": [\n\t\t5799,\n\t\t799\n\t],\n\t\"./rs-card.entry.js\": [\n\t\t2903,\n\t\t903\n\t],\n\t\"./rs-checkbox.entry.js\": [\n\t\t5911,\n\t\t911\n\t],\n\t\"./rs-col.entry.js\": [\n\t\t7882,\n\t\t882\n\t],\n\t\"./rs-color-swatch.entry.js\": [\n\t\t9082,\n\t\t82\n\t],\n\t\"./rs-column-header_4.entry.js\": [\n\t\t8536,\n\t\t536\n\t],\n\t\"./rs-content-placeholder.entry.js\": [\n\t\t7269,\n\t\t269\n\t],\n\t\"./rs-content.entry.js\": [\n\t\t5716,\n\t\t716\n\t],\n\t\"./rs-flint-popup-content.entry.js\": [\n\t\t4069,\n\t\t69\n\t],\n\t\"./rs-flint-popup.entry.js\": [\n\t\t7677,\n\t\t677\n\t],\n\t\"./rs-grid.entry.js\": [\n\t\t3190,\n\t\t190\n\t],\n\t\"./rs-header.entry.js\": [\n\t\t2130,\n\t\t130\n\t],\n\t\"./rs-icon.entry.js\": [\n\t\t3738,\n\t\t738\n\t],\n\t\"./rs-incrementer-option.entry.js\": [\n\t\t4927,\n\t\t927\n\t],\n\t\"./rs-incrementer.entry.js\": [\n\t\t4385,\n\t\t385\n\t],\n\t\"./rs-input.entry.js\": [\n\t\t6955,\n\t\t955\n\t],\n\t\"./rs-item-group.entry.js\": [\n\t\t330,\n\t\t330\n\t],\n\t\"./rs-item.entry.js\": [\n\t\t577,\n\t\t577\n\t],\n\t\"./rs-label.entry.js\": [\n\t\t2525,\n\t\t525\n\t],\n\t\"./rs-list-item.entry.js\": [\n\t\t9482,\n\t\t482\n\t],\n\t\"./rs-list-select.entry.js\": [\n\t\t8895,\n\t\t895\n\t],\n\t\"./rs-loader.entry.js\": [\n\t\t4171,\n\t\t171\n\t],\n\t\"./rs-multi-select-item.entry.js\": [\n\t\t9565,\n\t\t565\n\t],\n\t\"./rs-multi-select.entry.js\": [\n\t\t655,\n\t\t655\n\t],\n\t\"./rs-overline.entry.js\": [\n\t\t2698,\n\t\t698\n\t],\n\t\"./rs-popup.entry.js\": [\n\t\t1548,\n\t\t548\n\t],\n\t\"./rs-progress-bar.entry.js\": [\n\t\t6066,\n\t\t66\n\t],\n\t\"./rs-progress-circle.entry.js\": [\n\t\t2724,\n\t\t724\n\t],\n\t\"./rs-progress-step.entry.js\": [\n\t\t9023,\n\t\t23\n\t],\n\t\"./rs-radio-group.entry.js\": [\n\t\t717,\n\t\t717\n\t],\n\t\"./rs-radio.entry.js\": [\n\t\t2690,\n\t\t690\n\t],\n\t\"./rs-row.entry.js\": [\n\t\t8669,\n\t\t669\n\t],\n\t\"./rs-side-drawer.entry.js\": [\n\t\t4307,\n\t\t307\n\t],\n\t\"./rs-sidebar-incrementer.entry.js\": [\n\t\t7858,\n\t\t858\n\t],\n\t\"./rs-spinner.entry.js\": [\n\t\t1346,\n\t\t346\n\t],\n\t\"./rs-switch.entry.js\": [\n\t\t9431,\n\t\t431\n\t],\n\t\"./rs-textarea.entry.js\": [\n\t\t9145,\n\t\t145\n\t],\n\t\"./rs-toggle-item.entry.js\": [\n\t\t694,\n\t\t694\n\t],\n\t\"./rs-toggle.entry.js\": [\n\t\t2953,\n\t\t953\n\t],\n\t\"./rs-tool-tip.entry.js\": [\n\t\t5447,\n\t\t447\n\t]\n};\nfunction webpackAsyncContext(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\treturn Promise.resolve().then(function() {\n\t\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t});\n\t}\n\n\tvar ids = map[req], id = ids[0];\n\treturn __webpack_require__.e(ids[1]).then(function() {\n\t\treturn __webpack_require__(id);\n\t});\n}\nwebpackAsyncContext.keys = function() { return Object.keys(map); };\nwebpackAsyncContext.id = 7171;\nmodule.exports = webpackAsyncContext;","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = function(chunkId) {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce(function(promises, key) {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks\n__webpack_require__.u = function(chunkId) {\n\t// return url for filenames based on template\n\treturn \"\" + chunkId + \".index.js\";\n};","// This function allow to reference async chunks\n__webpack_require__.miniCssF = function(chunkId) {\n\t// return url for filenames based on template\n\treturn undefined;\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","var scriptUrl;\nif (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + \"\";\nvar document = __webpack_require__.g.document;\nif (!scriptUrl && document) {\n\tif (document.currentScript)\n\t\tscriptUrl = document.currentScript.src\n\tif (!scriptUrl) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tif(scripts.length) scriptUrl = scripts[scripts.length - 1].src\n\t}\n}\n// When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration\n// or pass an empty string (\"\") and set the __webpack_public_path__ variable from your code to use your own logic.\nif (!scriptUrl) throw new Error(\"Automatic publicPath is not supported in this browser\");\nscriptUrl = scriptUrl.replace(/#.*$/, \"\").replace(/\\?.*$/, \"\").replace(/\\/[^\\/]+$/, \"/\");\n__webpack_require__.p = scriptUrl;","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t179: 0\n};\n\n__webpack_require__.f.j = function(chunkId, promises) {\n\t\t// JSONP chunk loading for javascript\n\t\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\n\t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n\t\t\t// a Promise means \"currently loading\".\n\t\t\tif(installedChunkData) {\n\t\t\t\tpromises.push(installedChunkData[2]);\n\t\t\t} else {\n\t\t\t\tif(true) { // all chunks have JS\n\t\t\t\t\t// setup Promise in chunk cache\n\t\t\t\t\tvar promise = new Promise(function(resolve, reject) { installedChunkData = installedChunks[chunkId] = [resolve, reject]; });\n\t\t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n\t\t\t\t\t// start chunk loading\n\t\t\t\t\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\n\t\t\t\t\t// create error before stack unwound to get useful stacktrace later\n\t\t\t\t\tvar error = new Error();\n\t\t\t\t\tvar loadingEnded = function(event) {\n\t\t\t\t\t\tif(__webpack_require__.o(installedChunks, chunkId)) {\n\t\t\t\t\t\t\tinstalledChunkData = installedChunks[chunkId];\n\t\t\t\t\t\t\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\n\t\t\t\t\t\t\tif(installedChunkData) {\n\t\t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n\t\t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n\t\t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n\t\t\t\t\t\t\t\terror.type = errorType;\n\t\t\t\t\t\t\t\terror.request = realSrc;\n\t\t\t\t\t\t\t\tinstalledChunkData[1](error);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\t__webpack_require__.l(url, loadingEnded, \"chunk-\" + chunkId, chunkId);\n\t\t\t\t} else installedChunks[chunkId] = 0;\n\t\t\t}\n\t\t}\n};\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n// no on chunks loaded\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = function(parentChunkLoadingFunction, data) {\n\tvar chunkIds = data[0];\n\tvar moreModules = data[1];\n\tvar runtime = data[2];\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some(function(id) { return installedChunks[id] !== 0; })) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkDomainChecker\"] = self[\"webpackChunkDomainChecker\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","export const wrap = (\n element: HTMLElement,\n wrapper: HTMLElement = document.createElement('div')\n): HTMLElement => {\n if (element.parentNode) {\n if (element.nextSibling) {\n element.parentNode.insertBefore(wrapper, element.nextSibling);\n } else {\n element.parentNode.appendChild(wrapper);\n }\n }\n\n return wrapper.appendChild(element);\n};\n","import { Options } from '../interfaces/options';\nimport { wrap } from './wrap';\nimport { ClassNames } from '../Interfaces/class-names';\n\nconst templates = {\n container({ classNames: { containerOuter } }: Options): HTMLDivElement {\n return Object.assign(document.createElement('div'), {\n className: containerOuter,\n });\n },\n inputContainer({ classNames: { inputContainer } }: Options): HTMLDivElement {\n return Object.assign(document.createElement('div'), {\n className: inputContainer,\n });\n },\n domainSearch({ classNames: { inputContainer, domainInput, searchButton }, }: Options): HTMLDivElement {\n const container = Object.assign(document.createElement('div'), {\n className: inputContainer,\n });\n\n const input = Object.assign(document.createElement('rs-input'), {\n className: domainInput,\n placeholder: 'Search for a domain',\n value: 'leereichardt123.co.nz' //fixme remove this after dev\n });\n\n const button = Object.assign(document.createElement('rs-button'), {\n className: searchButton,\n innerText: 'Search',\n });\n\n button.setAttribute('color', 'primary');\n\n wrap(input, container);\n wrap(button, container);\n\n return container;\n },\n popupContainer({ classNames: { popupContainer }, }: Options): HTMLDivElement {\n return Object.assign(document.createElement('div'), {\n className: `${ popupContainer } rs-component-shadow--popup`,\n });\n },\n searchHeading({ classNames: { searchHeading }, }: Options): HTMLRsHeaderElement {\n const heading = Object.assign(document.createElement('rs-header'), {\n className: searchHeading\n });\n heading.setAttribute('heading', '2');\n return heading;\n },\n searchLoader({ classNames: { popupSearchSpinner }, }: Options): HTMLRsSpinnerElement {\n const spinner = Object.assign(document.createElement('rs-spinner'), {\n className: popupSearchSpinner\n });\n spinner.setAttribute('size', 'small');\n return spinner;\n },\n icon(classNames: Partial<ClassNames>, className: string): HTMLRsIconElement {\n const icon = Object.assign(document.createElement('rs-icon'), {\n className\n });\n icon.setAttribute('size', '32');\n return icon;\n },\n searchResultText({ classNames: { searchResultCaption }, }: Options): HTMLRsContentElement {\n return Object.assign(document.createElement('rs-content'), {\n className: searchResultCaption\n });\n },\n};\n\nexport default templates;\n","import { ClassNames } from '../Interfaces/class-names';\nimport { Options } from '../Interfaces/options';\n\nconst namespace = 'dc__';\n\nconst DEFAULT_CLASSNAMES: ClassNames = {\n element: `${ namespace }checker`,\n containerOuter: `${ namespace }container`,\n inputContainer: `${ namespace }input-container`,\n domainInput: `${ namespace }domain-input`,\n searchButton: `${ namespace }search-button`,\n\n popupContainer: `${ namespace }popup-container`,\n popupContainerActive: `${ namespace }popup-container--active`,\n popupSearchContainer: `${ namespace }popup-search-container`,\n popupClose: `${ namespace }popup-close`,\n popupSearchSpinner: `${ namespace }popup-search-spinner`,\n searchHeading: `${ namespace }search-heading`,\n searchAgain: `${ namespace }search-again`,\n searchAgainActive: `${ namespace }search-again--active`,\n searchResultCaption: `${ namespace }search-result-caption`,\n searchResultCaptionPrice: `${ namespace }search-result-caption__price`,\n searchResultCaptionActive: `${ namespace }search-result-caption--active`,\n\n};\n\nexport const DEFAULT_CONFIG: Options = {\n classNames: DEFAULT_CLASSNAMES,\n container: '.stack',\n fetchURL: null\n};\n","import { ClassNames } from '../Interfaces/class-names';\nimport { DomainFetch } from '../Helpers/Fetch';\nimport { Options } from '../Interfaces/options';\nimport { wrap } from '../Helpers/wrap';\n\nexport default class DomainSearch {\n public readonly element: HTMLElement;\n public readonly input: HTMLRsInputElement;\n private readonly button: HTMLRsButtonElement;\n private classNames: ClassNames;\n private readonly locale: string;\n private readonly fetchURL: string;\n private canClaim = false;\n private readonly searchAgain: HTMLDivElement;\n\n public constructor({\n element,\n config: { classNames, fetchURL },\n locale\n }: {\n element: HTMLElement;\n config: Partial<Options>;\n locale: string\n }) {\n this.fetchURL = fetchURL;\n this.classNames = classNames;\n this.element = element;\n this.locale = locale;\n\n this.input = this.element.querySelector(`.${ this.classNames.domainInput }`);\n this.button = this.element.querySelector(`.${ this.classNames.searchButton }`);\n\n this.searchAgain = Object.assign(document.createElement('div'), {\n className: this.classNames.searchAgain,\n textContent: 'Search again'\n });\n\n wrap(this.searchAgain, this.element);\n\n this.addEventListeners();\n }\n\n public setCanClaim(state: boolean): this {\n this.canClaim = state;\n if (state) {\n this.button.textContent = 'Get it now';\n this.searchAgain.classList.add(this.classNames.searchAgainActive);\n const inputWidth = this.input.offsetWidth;\n this.searchAgain.style.left = `${ inputWidth - 16 }px`;\n } else {\n this.searchAgain.classList.remove(this.classNames.searchAgainActive);\n this.button.textContent = 'Search';\n }\n return this;\n }\n\n public setDomain(domain: string): this {\n this.input.value = domain;\n return this;\n }\n\n private addEventListeners(): void {\n this.input?.addEventListener('keyup', (event) => {\n this.input.removeAttribute('has-error');\n this.element.dispatchEvent(new CustomEvent('domainSearchInput'));\n if (event.key === 'Enter') {\n this.submit();\n }\n });\n\n this.button?.addEventListener('click', this.submit.bind(this));\n\n this.searchAgain.addEventListener('click', () => {\n this.element.dispatchEvent(new CustomEvent('domainSearchAgain'));\n });\n }\n\n private submit(): void {\n if (this.canClaim) {\n window.location.href = `https://www.rocketspark.com/site_files/1/custom/1/packages/freeTrialRedirect.php?domainName=${ this.input.value }`;\n return;\n }\n\n if (this.input.value === '') {\n this.input.setAttribute('has-error', 'true');\n return;\n }\n\n this.element.dispatchEvent(new CustomEvent('domainSearchStart', { detail: this.input.value }));\n\n DomainFetch(this.fetchURL, this.input.value, this.locale).then(({ isAvailable, formattedPrice, success }) => {\n this.element.dispatchEvent(new CustomEvent('domainSearchFinish', { detail: { success, isAvailable, formattedPrice } }));\n }).catch(() => {\n this.element.dispatchEvent(new CustomEvent('domainSearchFinish', { detail: { success: false, isAvailable: false, formattedPrice: null } }));\n });\n }\n}\n","export interface DomainResponse {\n isAvailable: boolean;\n formattedPrice: string;\n success: boolean;\n}\n\nexport const DomainFetch = async (url: string, domainName: string, locale: string): Promise<DomainResponse> => {\n try {\n const response = await fetch(url, {\n method: 'POST',\n headers: {\n 'Content-Type': 'application/json',\n },\n body: JSON.stringify({ countryCode: locale, domain: domainName })\n });\n return response.json();\n } catch (err) {\n throw new Error('Network error');\n }\n};\n","\n(function(){if(\"undefined\"!==typeof window&&void 0!==window.Reflect&&void 0!==window.customElements){var a=HTMLElement;window.HTMLElement=function(){return Reflect.construct(a,[],this.constructor)};HTMLElement.prototype=a.prototype;HTMLElement.prototype.constructor=HTMLElement;Object.setPrototypeOf(HTMLElement,a)}})();\nexport * from '../dist/esm/polyfills/index.js';\nexport * from '../dist/esm/loader.js';\n","export default class SearchHeading {\n public set heading(value: string) {\n this._heading = value;\n this.element.textContent = this._heading;\n }\n\n public readonly element: HTMLRsHeaderElement;\n private _heading = 'Checking your domain';\n\n public constructor({\n element\n }: {\n element: HTMLRsHeaderElement;\n }) {\n this.element = element;\n\n this.element.textContent = this._heading;\n }\n}\n","import templates from '../Helpers/templates';\nimport { ClassNames } from '../Interfaces/class-names';\n\nexport type Status = 'loading' | 'available' | 'unavailable';\n\nexport default class SearchStatus {\n public element: HTMLElement;\n private readonly searchLoader: HTMLRsHeaderElement;\n private readonly icon: HTMLRsIconElement;\n private readonly classNames: ClassNames;\n\n public constructor({ classNames }: {\n classNames: ClassNames\n }) {\n this.classNames = classNames;\n this.searchLoader = this.getTemplate('searchLoader');\n this.icon = this.getTemplate('icon');\n this.element = this.searchLoader;\n }\n\n public setStatus(status?: Status): this {\n if (status === null) {\n this.icon.setAttribute('color', 'white');\n this.element.replaceWith(this.icon);\n this.element = this.icon;\n } else if (status === 'available') {\n this.icon.setAttribute('name', 'circle-tick');\n this.icon.setAttribute('color', 'positive-700');\n this.element.replaceWith(this.icon);\n this.element = this.icon;\n } else if (status === 'unavailable') {\n this.icon.setAttribute('name', 'warning');\n this.icon.setAttribute('color', 'negative');\n this.element.replaceWith(this.icon);\n this.element = this.icon;\n } else if (status === 'loading') {\n this.element.replaceWith(this.searchLoader);\n this.element = this.searchLoader;\n }\n\n return this;\n }\n\n private getTemplate(template: keyof typeof templates, ...args: any): any {\n return templates[template].call(this, { classNames: this.classNames }, ...args);\n }\n}\n","import { ClassNames } from '../Interfaces/class-names';\n\nexport default class SearchResultCaption {\n public set price(value: string | null) {\n this._price = value;\n if (value === null) {\n this.element.classList.remove(this.classNames.searchResultCaptionActive);\n } else {\n this.element.innerHTML = `${ this.base }<strong class=\"${ this.classNames.searchResultCaptionPrice }\">${ this._price }/year</strong>`;\n this.element.classList.add(this.classNames.searchResultCaptionActive);\n }\n }\n\n public readonly element: HTMLRsHeaderElement;\n private _price: string;\n private readonly base = 'You can get this domain now for';\n private classNames: ClassNames;\n\n public constructor({\n element,\n classNames\n }: {\n element: HTMLRsHeaderElement;\n classNames: ClassNames\n }) {\n this.element = element;\n this.classNames = classNames;\n }\n}\n","import { ClassNames } from '../Interfaces/class-names';\nimport { Options } from '../Interfaces/options';\nimport { wrap } from '../Helpers/wrap';\nimport SearchHeading from './SearchHeading';\nimport templates from '../Helpers/templates';\nimport SearchStatus, { Status } from './SearchStatus';\nimport DomainSearch from './DomainSearch';\nimport SearchResultCaption from './SearchResultCaption';\nimport DomainChecker from '../index';\nimport { DomainResponse } from '../Helpers/Fetch';\n\nexport default class PopupContainer {\n public readonly element: HTMLElement;\n private readonly classNames: ClassNames;\n private readonly container: HTMLElement;\n private heading: SearchHeading;\n private status: SearchStatus;\n private readonly locale: string;\n private readonly fetchURL: string;\n private search: DomainSearch;\n private searchResultText: SearchResultCaption;\n private closeIcon: HTMLRsIconElement;\n\n public constructor({\n element,\n config: { classNames, container, fetchURL },\n locale\n }: {\n element: HTMLElement;\n config: Options;\n locale: string\n }) {\n this.fetchURL = fetchURL;\n this.locale = locale;\n this.container = document.querySelector(container) ?? document.body;\n this.classNames = classNames;\n this.element = element;\n\n this.build();\n }\n\n private static isMobile(): boolean {\n return document.documentElement.clientWidth <= 740;\n }\n\n public open(): this {\n wrap(this.element, document.body);\n setTimeout(() => {\n this.element.classList.add(this.classNames.popupContainerActive);\n });\n // if(!PopupContainer.isMobile()) {\n // this.element.style.top = ``; //fixme what to do here\n // }\n return this;\n }\n\n public close(): this {\n this.element.classList.remove(this.classNames.popupContainerActive);\n setTimeout(() => {\n this.element.remove();\n this.resetLoadingUi();\n }, 150);\n return this;\n }\n\n public setStatus(status?: Status): this {\n this.status.setStatus(status);\n return this;\n }\n\n public setHeading(heading: string): this {\n this.heading.heading = heading;\n return this;\n }\n\n public setPrice(price?: string): this {\n this.searchResultText.price = price;\n return this;\n }\n\n public setCanClaim(state: boolean): this {\n this.search.setCanClaim(state);\n return this;\n }\n\n public setDomain(domain: string): this {\n this.search.setDomain(domain);\n return this;\n }\n\n private resetLoadingUi(message = 'Checking your domain'): void {\n this.setHeading(message);\n this.setPrice(null);\n this.setCanClaim(false);\n }\n\n private getTemplate(template: keyof typeof templates, ...args: any): any {\n return templates[template].call(this, { classNames: this.classNames }, ...args);\n }\n\n private build(): void {\n this.closeIcon = this.getTemplate('icon', this.classNames.popupClose);\n this.closeIcon.setAttribute('name', 'x');\n this.closeIcon.setAttribute('size', '13');\n this.heading = new SearchHeading({\n element: this.getTemplate('searchHeading')\n });\n\n this.status = new SearchStatus({\n classNames: this.classNames\n });\n\n const searchContainer = Object.assign(document.createElement('div'), {\n className: this.classNames.popupSearchContainer\n });\n\n this.searchResultText = new SearchResultCaption({\n element: this.getTemplate('searchResultText'),\n classNames: this.classNames\n });\n\n this.search = new DomainSearch({\n element: this.getTemplate('domainSearch'),\n config: {\n classNames: this.classNames,\n fetchURL: this.fetchURL\n },\n locale: this.locale\n });\n\n wrap(this.closeIcon, this.element);\n wrap(this.status.element, this.element);\n wrap(this.heading.element, this.element);\n wrap(this.search.element, searchContainer);\n wrap(searchContainer, this.element);\n wrap(this.searchResultText.element, this.element);\n\n this.search.element.addEventListener('domainSearchStart', event => {\n this.setStatus('loading');\n this.resetLoadingUi();\n event.stopImmediatePropagation();\n });\n\n this.search.element.addEventListener('domainSearchFinish', (event: CustomEvent<DomainResponse>) => {\n event.stopImmediatePropagation();\n DomainChecker.setPopupStatus(this, event.detail);\n });\n\n this.closeIcon.addEventListener('click', () => {\n this.close();\n });\n\n this.search.input.addEventListener('input', () => {\n this.resetLoadingUi('Enter a domain to register');\n this.setStatus(null);\n });\n\n this.search.element.addEventListener('domainSearchAgain', () => {\n this.resetLoadingUi('Enter a domain to register');\n this.setStatus(null);\n this.search.input.value = '';\n this.search.input.shadowRoot.querySelector('input')?.focus();\n });\n }\n}\n","import { p as promiseResolve, b as bootstrapLazy } from './index-d4fae449.js';\n\n/*\n Stencil Client Patch Esm v2.6.0 | MIT Licensed | https://stenciljs.com\n */\nconst patchEsm = () => {\n return promiseResolve();\n};\n\nconst defineCustomElements = (win, options) => {\n if (typeof window === 'undefined') return Promise.resolve();\n return patchEsm().then(() => {\n return bootstrapLazy([[\"rs-side-drawer\",[[1,\"rs-side-drawer\",{\"loading\":[4],\"heading\":[1],\"subHeading\":[1,\"sub-heading\"],\"items\":[1],\"isDirty\":[4,\"is-dirty\"],\"moreContentHeading\":[1,\"more-content-heading\"],\"contentLevelOpen\":[1026,\"content-level-open\"],\"itemsArray\":[32],\"openItemHeading\":[32],\"itemOpen\":[32],\"itemOpenHandle\":[32],\"openItem\":[64]},[[0,\"closeMoreContent\",\"closeMoreContentHandler\"],[0,\"closeContent\",\"closeContentHandler\"]]]]],[\"rs-color-swatch\",[[1,\"rs-color-swatch\",{\"label\":[1],\"color\":[1],\"palettes\":[16],\"opacity\":[4],\"alignment\":[1],\"transparentButton\":[4,\"transparent-button\"],\"mode\":[1],\"width\":[1],\"internalOpacity\":[32],\"internalColor\":[32],\"setColor\":[64],\"getColor\":[64]},[[0,\"rsColorChange\",\"rsColorChangeHandler\"]]]]],[\"rs-popup\",[[1,\"rs-popup\",{\"closeButton\":[4,\"close-button\"],\"helpLink\":[8,\"help-link\"],\"heading\":[1],\"backdrop\":[4],\"zIndex\":[2,\"z-index\"],\"width\":[1],\"top\":[1],\"left\":[1],\"right\":[1],\"bottom\":[1],\"transform\":[1],\"position\":[1],\"close\":[64],\"open\":[64]}]]],[\"rs-sidebar-incrementer\",[[0,\"rs-sidebar-incrementer\",{\"heading\":[1],\"step\":[2],\"value\":[1026],\"min\":[2],\"max\":[2],\"suffix\":[1],\"dropdown\":[4],\"decimalPlaces\":[2,\"decimal-places\"],\"dropdownStep\":[2,\"dropdown-step\"]}]]],[\"rs-alert\",[[1,\"rs-alert\",{\"actionLink\":[1,\"action-link\"]}]]],[\"rs-flint-popup\",[[6,\"rs-flint-popup\",{\"type\":[1],\"closeIcon\":[4,\"close-icon\"],\"backIcon\":[4,\"back-icon\"],\"steps\":[2],\"progress\":[2],\"stepActive\":[32],\"open\":[64],\"close\":[64],\"previousStep\":[64],\"nextStep\":[64]}]]],[\"rs-accordion\",[[1,\"rs-accordion\",{\"heading\":[1],\"error\":[4]}]]],[\"rs-checkbox\",[[1,\"rs-checkbox\",{\"disabled\":[4],\"checked\":[1028]}]]],[\"rs-list-item\",[[1,\"rs-list-item\",{\"heading\":[1],\"error\":[4],\"value\":[8],\"selectable\":[4],\"complete\":[4],\"showArrow\":[4,\"show-arrow\"],\"selected\":[32]}]]],[\"rs-multi-select-item\",[[1,\"rs-multi-select-item\",{\"selected\":[1028],\"featured\":[1028],\"value\":[1],\"width\":[1],\"error\":[4],\"showStar\":[32]}]]],[\"rs-card\",[[1,\"rs-card\",{\"disabled\":[4],\"collapsed\":[1028],\"collapsible\":[4],\"type\":[8],\"toggle\":[64],\"close\":[64],\"open\":[64]}]]],[\"rs-card-content\",[[1,\"rs-card-content\",{\"lines\":[1]}]]],[\"rs-card-header\",[[1,\"rs-card-header\",{\"flex\":[4],\"alignContent\":[1,\"align-content\"]}]]],[\"rs-col\",[[1,\"rs-col\",{\"flexGrow\":[1,\"flex-grow\"],\"flexBasis\":[1,\"flex-basis\"]}]]],[\"rs-content-placeholder\",[[0,\"rs-content-placeholder\",{\"mask\":[1],\"border\":[4],\"maskContent\":[32],\"width\":[32],\"scale\":[32]}]]],[\"rs-flint-popup-content\",[[1,\"rs-flint-popup-content\",{\"lines\":[1],\"order\":[2],\"parentType\":[1,\"parent-type\"]}]]],[\"rs-grid\",[[1,\"rs-grid\"]]],[\"rs-incrementer-option\",[[1,\"rs-incrementer-option\",{\"value\":[8]}]]],[\"rs-input\",[[1,\"rs-input\",{\"type\":[1],\"value\":[1025],\"disabled\":[4],\"readonly\":[4],\"placeholder\":[1],\"clearOnEdit\":[4,\"clear-on-edit\"],\"clearInput\":[4,\"clear-input\"],\"required\":[4],\"hideMax\":[4,\"hide-max\"],\"hardLimit\":[2,\"hard-limit\"],\"softLimit\":[2,\"soft-limit\"],\"name\":[1],\"hasError\":[4,\"has-error\"],\"textAlign\":[1,\"text-align\"],\"size\":[1],\"hasFocus\":[32],\"charsLeft\":[32],\"update\":[64],\"setFocus\":[64],\"getInputElement\":[64]}]]],[\"rs-item-group\",[[1,\"rs-item-group\",{\"justifyContent\":[1,\"justify-content\"],\"alignItems\":[1,\"align-items\"],\"alignContent\":[1,\"align-content\"],\"justifyItems\":[1,\"justify-items\"],\"flexWrap\":[1,\"flex-wrap\"],\"gap\":[2],\"flexDirection\":[1,\"flex-direction\"],\"padding\":[4],\"flex\":[4]}]]],[\"rs-label\",[[4,\"rs-label\",{\"color\":[1],\"position\":[1]}]]],[\"rs-list-select\",[[1,\"rs-list-select\",{\"value\":[1032]}]]],[\"rs-loader\",[[1,\"rs-loader\"]]],[\"rs-multi-select\",[[1,\"rs-multi-select\",{\"gap\":[1],\"columns\":[2],\"width\":[1],\"selectedItems\":[1025,\"selected-items\"],\"featuredItems\":[1025,\"featured-items\"]}]]],[\"rs-overline\",[[1,\"rs-overline\"]]],[\"rs-progress-bar\",[[1,\"rs-progress-bar\",{\"type\":[1],\"value\":[1026],\"color\":[1]}]]],[\"rs-progress-circle\",[[1,\"rs-progress-circle\",{\"progress\":[2],\"size\":[1]}]]],[\"rs-radio\",[[1,\"rs-radio\",{\"color\":[1],\"name\":[1],\"disabled\":[4],\"value\":[8],\"button\":[1],\"justifyContent\":[1,\"justify-content\"],\"textAlign\":[1,\"text-align\"],\"checked\":[32]}]]],[\"rs-radio-group\",[[1,\"rs-radio-group\",{\"allowDeselect\":[4,\"allow-deselect\"],\"value\":[1032],\"name\":[1],\"color\":[1],\"flex\":[4],\"justifyContent\":[1,\"justify-content\"],\"flexDirection\":[1,\"flex-direction\"],\"button\":[1]}]]],[\"rs-row\",[[1,\"rs-row\",{\"wrap\":[1],\"justifyContent\":[1,\"justify-content\"]}]]],[\"rs-spinner\",[[1,\"rs-spinner\",{\"size\":[1],\"color\":[1],\"speed\":[2]}]]],[\"rs-switch\",[[1,\"rs-switch\",{\"theme\":[1],\"on\":[1028],\"disabled\":[4]}]]],[\"rs-textarea\",[[1,\"rs-textarea\",{\"disabled\":[4],\"autoExpand\":[4,\"auto-expand\"],\"minHeight\":[2,\"min-height\"],\"maxHeight\":[2,\"max-height\"],\"rows\":[2],\"placeholder\":[1],\"hideMax\":[4,\"hide-max\"],\"hardLimit\":[2,\"hard-limit\"],\"softLimit\":[2,\"soft-limit\"],\"value\":[1025],\"richText\":[4,\"rich-text\"],\"hasError\":[4,\"has-error\"],\"required\":[4],\"charsLeft\":[32],\"hasFocus\":[32]}]]],[\"rs-toggle\",[[1,\"rs-toggle\",{\"currentPosition\":[32],\"setActivePosition\":[64]}]]],[\"rs-toggle-item\",[[1,\"rs-toggle-item\",{\"active\":[4]}]]],[\"rs-tool-tip\",[[1,\"rs-tool-tip\",{\"arrow\":[1],\"arrowDirection\":[32]}]]],[\"rs-incrementer\",[[6,\"rs-incrementer\",{\"step\":[2],\"value\":[1032],\"min\":[2],\"max\":[2],\"suffix\":[1],\"dropdown\":[4],\"decimalPlaces\":[2,\"decimal-places\"],\"dropdownStep\":[1026,\"dropdown-step\"],\"customOptions\":[4,\"custom-options\"],\"isDropdownVisible\":[32],\"showDropdown\":[64],\"hideDropdown\":[64],\"toggleDropdown\":[64]},[[0,\"rsOptionClick\",\"rsOptionClickHandler\"]]]]],[\"rs-progress-step\",[[1,\"rs-progress-step\",{\"progress\":[2],\"steps\":[2],\"color\":[1]}]]],[\"rs-content\",[[1,\"rs-content\",{\"body\":[2],\"color\":[1],\"display\":[1]}]]],[\"rs-header\",[[1,\"rs-header\",{\"heading\":[1],\"color\":[1]}]]],[\"rs-icon\",[[1,\"rs-icon\",{\"name\":[1],\"color\":[1],\"size\":[2]}]]],[\"color-picker_4\",[[1,\"color-picker\",{\"color\":[1],\"opacity\":[4],\"palettes\":[1],\"maxPresetDisplay\":[2,\"max-preset-display\"],\"recentColorsLabel\":[1,\"recent-colors-label\"],\"transparentButton\":[4,\"transparent-button\"],\"display\":[1],\"mode\":[1],\"currentColor\":[32],\"currentOpacity\":[32],\"palettesToDisplay\":[32],\"setColor\":[64],\"getColor\":[64],\"addToPreset\":[64]},[[0,\"opacityChange\",\"opacityChangeHandler\"],[4,\"colorPickerAddRecent\",\"colorPickerAddRecentHandler\"]]],[1,\"color-picker-color-palette\",{\"display\":[1],\"color\":[1],\"sliderOffsetWidth\":[32],\"sliderOffsetHeight\":[32],\"sliderLeft\":[32],\"sliderTop\":[32],\"paletteBackgroundStyle\":[32],\"hue\":[32],\"setHue\":[64],\"setColor\":[64]}],[1,\"color-picker-hue-slider\",{\"display\":[1],\"hue\":[2],\"_hue\":[32],\"setHue\":[64]}],[1,\"color-picker-opacity-slider\",{\"color\":[1],\"opacity\":[2],\"display\":[1],\"currentRgb\":[32],\"currentOpacity\":[32],\"setColor\":[64],\"setOpacity\":[64]}]]],[\"rs-caption_2\",[[1,\"rs-color-picker\",{\"color\":[1],\"palettes\":[16],\"opacity\":[4],\"showPicker\":[1028,\"show-picker\"],\"position\":[1],\"display\":[1],\"transparentButton\":[4,\"transparent-button\"],\"mode\":[1],\"colorSwatches\":[32],\"setColor\":[64],\"getColor\":[64],\"show\":[64],\"hide\":[64]}],[1,\"rs-caption\",{\"color\":[1]}]]],[\"rs-item\",[[1,\"rs-item\",{\"disabled\":[4],\"href\":[1],\"rel\":[1],\"target\":[1],\"type\":[1],\"appearance\":[1],\"justifyContent\":[1,\"justify-content\"],\"alignItems\":[1,\"align-items\"],\"alignContent\":[1,\"align-content\"],\"justifyItems\":[1,\"justify-items\"],\"gap\":[2],\"flexWrap\":[1,\"flex-wrap\"],\"flexDirection\":[1,\"flex-direction\"],\"padding\":[4],\"flex\":[4]},[[0,\"rsItem\",\"rsItem\"]]]]],[\"rs-button_2\",[[1,\"rs-button\",{\"color\":[1],\"disabled\":[4],\"href\":[1],\"rel\":[1],\"target\":[1],\"size\":[1],\"loading\":[4],\"expand\":[1],\"flexGrow\":[1,\"flex-grow\"]}],[1,\"rs-subtitle\",{\"subtitle\":[1],\"color\":[1]}]]],[\"rs-column-header_4\",[[1,\"rs-side-drawer-header\",{\"loading\":[4],\"disabled\":[4],\"panelOpen\":[4,\"panel-open\"],\"isDirty\":[4,\"is-dirty\"]}],[1,\"rs-side-drawer-item-content\",{\"itemOpen\":[4,\"item-open\"],\"heading\":[1],\"subHeading\":[1,\"sub-heading\"],\"moreContentOpen\":[4,\"more-content-open\"],\"contentLevel\":[2,\"content-level\"],\"openLevel\":[2,\"open-level\"],\"topScrollable\":[32],\"bottomScrollable\":[32]}],[1,\"rs-side-drawer-item\",{\"heading\":[1],\"icon\":[1]}],[1,\"rs-column-header\",{\"color\":[1]}]]]], options);\n });\n};\n\nexport { defineCustomElements };\n","import './index.css';\nimport { Options } from './interfaces/options';\nimport templates from './Helpers/templates';\nimport { DEFAULT_CONFIG } from './Helpers/defaults';\nimport { wrap } from './Helpers/wrap';\nimport DomainSearch from './Components/DomainSearch';\nimport { defineCustomElements } from '@rocketspark/flint-ui/loader';\nimport '@rocketspark/flint-ui/dist/rocketspark/rocketspark.css';\nimport PopupContainer from './Components/PopupContainer';\nimport { DomainResponse } from './Helpers/Fetch';\n\n// noinspection JSIgnoredPromiseFromCall\ndefineCustomElements();\n\nclass DomainChecker {\n private readonly element: HTMLElement;\n private readonly config: Options;\n private readonly locale: string;\n private readonly allowedLocales = ['NZ', 'AU', 'UK'];\n private readonly PRODUCTION_FETCH = '';\n private readonly DEVELOPMENT_FETCH = 'http://cms.rocketsparkcms/tools/checkDomainRegisterAvailability.php';\n private domainSearch: DomainSearch;\n private popupContainer: PopupContainer;\n\n public constructor(element: HTMLElement, options: Partial<Options> = {}) {\n this.element = element;\n\n this.config = {\n ...DEFAULT_CONFIG,\n ...options,\n };\n\n this.config.fetchURL = window.location.hostname.includes('rocketspark.com') ? this.PRODUCTION_FETCH : this.DEVELOPMENT_FETCH;\n\n this.locale = this.element.dataset.locale.toUpperCase() ?? null;\n\n if (this.locale === null || !this.allowedLocales.includes(this.locale)) {\n throw TypeError(\n `data-locale is a required attribute, must a string, and must be one of ${ this.allowedLocales.join('|') }`\n );\n }\n\n this.init();\n this.startListening();\n }\n\n public static setPopupStatus(popupContainer: PopupContainer, { success, isAvailable, formattedPrice }: DomainResponse): void {\n if (success) {\n popupContainer.setCanClaim(isAvailable);\n if (isAvailable) {\n popupContainer.setStatus('available');\n popupContainer.setPrice(formattedPrice);\n popupContainer.setHeading('This domain is available');\n } else {\n popupContainer.setStatus('unavailable');\n popupContainer.setPrice(null);\n popupContainer.setHeading('This domain is unavailable');\n }\n } else {\n popupContainer.setStatus('unavailable');\n popupContainer.setPrice(null);\n popupContainer.setHeading('Please try again later');\n }\n }\n\n private init(): void {\n this.element.classList.add(this.config.classNames.element);\n const container = this.getTemplate('container');\n const inputContainer = this.getTemplate('inputContainer');\n\n this.domainSearch = new DomainSearch({\n element: this.getTemplate('domainSearch'),\n config: this.config,\n locale: this.locale\n });\n\n this.popupContainer = new PopupContainer({\n element: this.getTemplate('popupContainer'),\n config: this.config,\n locale: this.locale\n });\n\n wrap(this.domainSearch.element, inputContainer);\n wrap(inputContainer, container);\n wrap(container, this.element);\n }\n\n private getTemplate(template: keyof typeof templates, ...args: any): any {\n return templates[template].call(this, this.config, ...args);\n }\n\n private startListening(): void {\n this.domainSearch.element.addEventListener('domainSearchStart', ({ detail }: CustomEvent) => {\n this.popupContainer.setPrice(null);\n this.popupContainer.open();\n this.popupContainer.setDomain(detail);\n });\n this.domainSearch.element.addEventListener('domainSearchFinish', ({ detail: { success, isAvailable, formattedPrice } }: CustomEvent<DomainResponse>) => {\n DomainChecker.setPopupStatus(this.popupContainer, { success, isAvailable, formattedPrice });\n });\n }\n}\n\nexport default DomainChecker;\n\ndocument.addEventListener('DOMContentLoaded', () => {\n document\n .querySelectorAll('.rs-domain-check')\n .forEach((element: HTMLElement) => {\n new DomainChecker(element);\n });\n});\n"],"names":["root","factory","exports","module","define","amd","self","inProgress","dataWebpackPrefix","scopeId","contentRef","hostTagName","useNativeShadowDom","checkSlotFallbackVisibility","checkSlotRelocate","isSvgMode","queuePending","win","window","doc","document","head","plt","$flags$","$resourcesUrl$","jmp","h","raf","requestAnimationFrame","ael","el","eventName","listener","opts","addEventListener","rel","removeEventListener","ce","CustomEvent","promiseResolve","v","Promise","resolve","supportsConstructibleStylesheets","CSSStyleSheet","replace","e","addHostEventListeners","elm","hostRef","listeners","attachParentListeners","map","flags","name","method","target","getHostListenerTarget","handler","hostListenerProxy","hostListenerOpts","$rmListeners$","push","methodName","ev","$lazyInstance$","$queuedListeners$","consoleError","XLINK_NS","rootAppliedStyles","WeakMap","attachStyles","cmpMeta","$cmpMeta$","$hostElement$","endAttachStyles","$tagName$","styleContainerNode","mode","hostElm","getScopeId","style","styles","get","nodeType","styleElm","appliedStyles","set","Set","has","createElement","innerHTML","insertBefore","querySelector","add","adoptedStyleSheets","includes","addStyle","shadowRoot","getRootNode","classList","cmp","EMPTY_OBJ","isComplexType","o","nodeName","vnodeData","children","child","key","slotName","simple","lastSimple","vNodeChildren","walk","c","i","length","Array","isArray","String","$text$","newVNode","classData","className","class","Object","keys","filter","k","join","vdomFnUtils","vnode","$attrs$","$children$","$key$","$name$","tag","text","$tag$","$elm$","Host","forEach","cb","convertToPublic","convertToPrivate","node","vattrs","vchildren","vkey","vname","vtag","vtext","assign","setAccessor","memberName","oldValue","newValue","isSvg","isProp","isMemberInElement","ln","toLowerCase","oldClasses","parseClassList","newClasses","remove","prop","removeProperty","setProperty","isComplex","tagName","n","xlink","getAttribute","removeAttributeNS","removeAttribute","setAttributeNS","setAttribute","slice","parseClassListRegex","value","split","updateElement","oldVnode","newVnode","host","oldVnodeAttrs","newVnodeAttrs","undefined","createElm","oldParentVNode","newParentVNode","childIndex","parentElm","childNode","oldVNode","createTextNode","createElementNS","appendChild","putBackInOriginalLocation","recursive","oldSlotChildNodes","childNodes","parentReferenceNode","referenceNode","addVnodes","before","parentVNode","vnodes","startIdx","endIdx","containerElm","parentNode","removeVnodes","callNodeRefs","isSameVnode","vnode1","vnode2","patch","oldChildren","newChildren","defaultHolder","oldCh","newCh","elmToMove","oldStartIdx","newStartIdx","idxInOld","oldEndIdx","oldStartVnode","oldEndVnode","newEndIdx","newStartVnode","newEndVnode","nextSibling","updateChildren","textContent","data","updateFallbackSlotVisibility","ilen","j","slotNameAttr","hidden","trim","relocateNodes","relocateSlotContent","hostContentNodes","relocateNodeData","isNodeLocatedInSlot","find","r","$nodeToRelocate$","$slotRefNode$","relocateNode","some","nodeToRelocate","vNode","ref","renderVdom","renderFnResults","$vnode$","rootVnode","relocateData","orgLocationNode","parentNodeRef","insertBeforeNode","refNode","previousSibling","getElement","getHostRef","createEvent","emit","detail","emitEvent","bubbles","composed","cancelable","dispatchEvent","attachToAncestor","ancestorComponent","$onRenderResolve$","scheduleUpdate","isInitialLoad","$ancestorComponent$","writeTask","dispatchHooks","endSchedule","instance","promise","event","safeCall","then","updateComponent","async","endUpdate","rc","endRender","callRender","childrenPromises","postUpdate","postUpdateComponent","all","render","endPostUpdate","addHydratedFlag","$onReadyResolve$","appDidLoad","$onInstanceResolve$","nextTick","forceUpdate","isConnected","who","documentElement","namespace","arg","thenFn","setValue","propName","newVal","oldVal","$instanceValues$","propValue","propType","$members$","parseFloat","$watchers$","watchMethods","watchMethodName","proxyComponent","Cstr","watchers","members","entries","prototype","memberFlags","defineProperty","this","configurable","enumerable","args","$onInstancePromise$","attrNameToPropName","Map","attributeChangedCallback","attrName","_oldValue","observedAttributes","_","m","initializeComponent","hmrVersionId","loadModule","endLoad","isProxied","endNewInstance","fireConnectedCallback","endRegisterStyles","cssText","allowCS","registerStyle","schedule","setContentReference","contentRefElm","createComment","firstChild","bootstrapLazy","lazyBundles","options","endBootstrap","cmpTags","exclude","customElements","metaCharset","visibilityStyle","deferredConnectedCallbacks","appLoadFallback","isBootstrapping","URL","resourcesUrl","baseURI","href","lazyBundle","compactMeta","$listeners$","HostElement","HTMLElement","constructor","super","registerHost","attachShadow","connectedCallback","clearTimeout","endConnected","hasOwnProperty","disconnectedCallback","rmListener","componentOnReady","$onReadyPromise$","$lazyBundleId$","setTimeout","getAssetPath","path","assetUrl","origin","location","pathname","hostRefs","registerInstance","lazyInstance","console","error","cmpModules","exportName","bundleId","importedModule","queueDomReads","queueDomWrites","queueTask","queue","write","flush","consume","performance","now","webpackAsyncContext","req","__webpack_require__","Error","code","ids","id","__webpack_module_cache__","moduleId","cachedModule","__webpack_modules__","d","definition","f","chunkId","reduce","promises","u","miniCssF","g","globalThis","Function","obj","call","l","url","done","script","needAttach","scripts","getElementsByTagName","s","charset","timeout","nc","src","onScriptComplete","prev","onerror","onload","doneFns","removeChild","fn","bind","type","Symbol","toStringTag","scriptUrl","importScripts","currentScript","p","installedChunks","installedChunkData","reject","errorType","realSrc","message","request","webpackJsonpCallback","parentChunkLoadingFunction","chunkIds","moreModules","runtime","chunkLoadingGlobal","wrap","element","wrapper","container","classNames","containerOuter","inputContainer","domainSearch","domainInput","searchButton","input","placeholder","button","innerText","popupContainer","searchHeading","heading","searchLoader","popupSearchSpinner","spinner","icon","searchResultText","searchResultCaption","DEFAULT_CONFIG","popupContainerActive","popupSearchContainer","popupClose","searchAgain","searchAgainActive","searchResultCaptionPrice","searchResultCaptionActive","fetchURL","DomainSearch","config","locale","addEventListeners","setCanClaim","state","canClaim","inputWidth","offsetWidth","left","setDomain","domain","submit","domainName","fetch","headers","body","JSON","stringify","countryCode","json","err","DomainFetch","isAvailable","formattedPrice","success","catch","Reflect","a","construct","setPrototypeOf","SearchHeading","_heading","SearchStatus","getTemplate","setStatus","status","replaceWith","template","templates","SearchResultCaption","_price","base","PopupContainer","build","clientWidth","open","close","resetLoadingUi","setHeading","setPrice","price","search","closeIcon","searchContainer","stopImmediatePropagation","DomainChecker","focus","b","hostname","PRODUCTION_FETCH","DEVELOPMENT_FETCH","dataset","toUpperCase","allowedLocales","TypeError","init","startListening","setPopupStatus","querySelectorAll"],"sourceRoot":""}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Options } from '../Interfaces/options';
|
|
2
|
+
export default class DomainSearch {
|
|
3
|
+
readonly element: HTMLElement;
|
|
4
|
+
readonly input: HTMLRsInputElement;
|
|
5
|
+
private readonly button;
|
|
6
|
+
private classNames;
|
|
7
|
+
private readonly locale;
|
|
8
|
+
private readonly fetchURL;
|
|
9
|
+
private canClaim;
|
|
10
|
+
private readonly searchAgain;
|
|
11
|
+
constructor({ element, config: { classNames, fetchURL }, locale }: {
|
|
12
|
+
element: HTMLElement;
|
|
13
|
+
config: Partial<Options>;
|
|
14
|
+
locale: string;
|
|
15
|
+
});
|
|
16
|
+
setCanClaim(state: boolean): this;
|
|
17
|
+
setDomain(domain: string): this;
|
|
18
|
+
private addEventListeners;
|
|
19
|
+
private submit;
|
|
20
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { Options } from '../Interfaces/options';
|
|
2
|
+
import { Status } from './SearchStatus';
|
|
3
|
+
export default class PopupContainer {
|
|
4
|
+
readonly element: HTMLElement;
|
|
5
|
+
private readonly classNames;
|
|
6
|
+
private readonly container;
|
|
7
|
+
private heading;
|
|
8
|
+
private status;
|
|
9
|
+
private readonly locale;
|
|
10
|
+
private readonly fetchURL;
|
|
11
|
+
private search;
|
|
12
|
+
private searchResultText;
|
|
13
|
+
private closeIcon;
|
|
14
|
+
constructor({ element, config: { classNames, container, fetchURL }, locale }: {
|
|
15
|
+
element: HTMLElement;
|
|
16
|
+
config: Options;
|
|
17
|
+
locale: string;
|
|
18
|
+
});
|
|
19
|
+
private static isMobile;
|
|
20
|
+
open(): this;
|
|
21
|
+
close(): this;
|
|
22
|
+
setStatus(status?: Status): this;
|
|
23
|
+
setHeading(heading: string): this;
|
|
24
|
+
setPrice(price?: string): this;
|
|
25
|
+
setCanClaim(state: boolean): this;
|
|
26
|
+
setDomain(domain: string): this;
|
|
27
|
+
private resetLoadingUi;
|
|
28
|
+
private getTemplate;
|
|
29
|
+
private build;
|
|
30
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ClassNames } from '../Interfaces/class-names';
|
|
2
|
+
export default class SearchResultCaption {
|
|
3
|
+
set price(value: string | null);
|
|
4
|
+
readonly element: HTMLRsHeaderElement;
|
|
5
|
+
private _price;
|
|
6
|
+
private readonly base;
|
|
7
|
+
private classNames;
|
|
8
|
+
constructor({ element, classNames }: {
|
|
9
|
+
element: HTMLRsHeaderElement;
|
|
10
|
+
classNames: ClassNames;
|
|
11
|
+
});
|
|
12
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ClassNames } from '../Interfaces/class-names';
|
|
2
|
+
export declare type Status = 'loading' | 'available' | 'unavailable';
|
|
3
|
+
export default class SearchStatus {
|
|
4
|
+
element: HTMLElement;
|
|
5
|
+
private readonly searchLoader;
|
|
6
|
+
private readonly icon;
|
|
7
|
+
private readonly classNames;
|
|
8
|
+
constructor({ classNames }: {
|
|
9
|
+
classNames: ClassNames;
|
|
10
|
+
});
|
|
11
|
+
setStatus(status?: Status): this;
|
|
12
|
+
private getTemplate;
|
|
13
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Options } from '../interfaces/options';
|
|
2
|
+
import { ClassNames } from '../Interfaces/class-names';
|
|
3
|
+
declare const templates: {
|
|
4
|
+
container({ classNames: { containerOuter } }: Options): HTMLDivElement;
|
|
5
|
+
inputContainer({ classNames: { inputContainer } }: Options): HTMLDivElement;
|
|
6
|
+
domainSearch({ classNames: { inputContainer, domainInput, searchButton }, }: Options): HTMLDivElement;
|
|
7
|
+
popupContainer({ classNames: { popupContainer }, }: Options): HTMLDivElement;
|
|
8
|
+
searchHeading({ classNames: { searchHeading }, }: Options): HTMLRsHeaderElement;
|
|
9
|
+
searchLoader({ classNames: { popupSearchSpinner }, }: Options): HTMLRsSpinnerElement;
|
|
10
|
+
icon(classNames: Partial<ClassNames>, className: string): HTMLRsIconElement;
|
|
11
|
+
searchResultText({ classNames: { searchResultCaption }, }: Options): HTMLRsContentElement;
|
|
12
|
+
};
|
|
13
|
+
export default templates;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const wrap: (element: HTMLElement, wrapper?: HTMLElement) => HTMLElement;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import './index.css';
|
|
2
|
+
import { Options } from './interfaces/options';
|
|
3
|
+
import '@rocketspark/flint-ui/dist/rocketspark/rocketspark.css';
|
|
4
|
+
import PopupContainer from './Components/PopupContainer';
|
|
5
|
+
import { DomainResponse } from './Helpers/Fetch';
|
|
6
|
+
declare class DomainChecker {
|
|
7
|
+
private readonly element;
|
|
8
|
+
private readonly config;
|
|
9
|
+
private readonly locale;
|
|
10
|
+
private readonly allowedLocales;
|
|
11
|
+
private readonly PRODUCTION_FETCH;
|
|
12
|
+
private readonly DEVELOPMENT_FETCH;
|
|
13
|
+
private domainSearch;
|
|
14
|
+
private popupContainer;
|
|
15
|
+
constructor(element: HTMLElement, options?: Partial<Options>);
|
|
16
|
+
static setPopupStatus(popupContainer: PopupContainer, { success, isAvailable, formattedPrice }: DomainResponse): void;
|
|
17
|
+
private init;
|
|
18
|
+
private getTemplate;
|
|
19
|
+
private startListening;
|
|
20
|
+
}
|
|
21
|
+
export default DomainChecker;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/** Classes added to HTML generated by default classnames follow the BEM notation. */
|
|
2
|
+
export interface ClassNames {
|
|
3
|
+
element: string;
|
|
4
|
+
containerOuter: string;
|
|
5
|
+
inputContainer: string;
|
|
6
|
+
domainInput: string;
|
|
7
|
+
searchButton: string;
|
|
8
|
+
popupContainer: string;
|
|
9
|
+
popupContainerActive: string;
|
|
10
|
+
popupSearchContainer: string;
|
|
11
|
+
popupClose: string;
|
|
12
|
+
popupSearchSpinner: string;
|
|
13
|
+
searchHeading: string;
|
|
14
|
+
searchAgain: string;
|
|
15
|
+
searchAgainActive: string;
|
|
16
|
+
searchResultCaption: string;
|
|
17
|
+
searchResultCaptionPrice: string;
|
|
18
|
+
searchResultCaptionActive: string;
|
|
19
|
+
}
|