PageSourceSearch

https://www.galerie-am-dom.de/theme/0233c5576fc4774bbe00f24c9f1f8b…atus.zen-search-expandable.plugin.9ec7c7.js

js galerie-am-dom.de collected 2026-10-02 11:15:38 UTC 5,133 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[73447],{3447:(e,t,s)=>{s.r(t),s.d(t,{default:()=>i});var o=s(4049);class i extends window.PluginBaseClass{init(){let e=this.options;this._collapseTarget=o.Z.querySelector(document,e.searchWidgetCollapseTarget),this._iconSearch=o.Z.querySelector(this.el,e.searchWidgetSearchIcon),this._iconClose=o.Z.querySelector(this.el,e.searchWidgetCloseIcon),this.onBodyClick=this._onBodyClick.bind(this),this.onKeyDown=this._onKeyDown.bind(this),this._registerEvents()}_registerEvents(){let e=this.options;this._collapseTarget.addEventListener("hide.bs.collapse",()=>{var t,s;this._iconSearch.classList.remove(e.hiddenClass),this._iconClose.classList.add(e.hiddenClass),this._unregisterActiveEvents(),(s=window.focusHandler)===null||void 0===s||(t=s.resumeFocusState)===null||void 0===t||t.call(s,"search-expandable")}),this._collapseTarget.addEventListener("show.bs.collapse",()=>{var t,s;this._iconSearch.classList.add(e.hiddenClass),this._iconClose.classList.remove(e.hiddenClass),this._registerActiveEvents(),(s=window.focusHandler)===null||void 0===s||(t=s.saveFocusState)===null||void 0===t||t.call(s,"search-expandable")})}_registerActiveEvents(){document.body.addEventListener("click",this.onBodyClick),document.addEventListener("keydown",this.onKeyDown)}_unregisterActiveEvents(){document.body.removeEventListener("click",this.onBodyClick),document.removeEventListener("keydown",this.onKeyDown)}_onBodyClick(e){e.target.closest(this.options.searchWidgetCollapseTarget)||(this._closeSearch(),this.$emitter.publish("onBodyClick"))}_onKeyDown(e){"Escape"===e.key&&(e.preventDefault(),this._closeSearch(),this.$emitter.publish("onKeyDown"))}_closeSearch(){bootstrap.Collapse.getInstance(this._collapseTarget).hide(),this.$emitter.publish("closeSearch")}}i.options={searchWidgetCollapseTarget:"#searchCollapse",searchWidgetSearchIcon:".icon-search",searchWidgetCloseIcon:".icon-x",hiddenClass:"d-none"}},4049:(e,t,s)=>{s.d(t,{Z:()=>i});var o=s(5140);class i{static isNode(e){return"object"==typeof e&&null!==e&&(e===document||e===window||e instanceof Node)}static hasAttribute(e,t){if(!i.isNode(e))throw Error("The element must be a valid HTML Node!");return"function"==typeof e.hasAttribute&&e.hasAttribute(t)}static getAttribute(e,t){let s=!(arguments.length>2)||void 0===arguments[2]||arguments[2];if(s&&!1===i.hasAttribute(e,t))throw Error('The required property "'.concat(t,'" does not exist!'));if("function"!=typeof e.getAttribute){if(s)throw Error("This node doesn't support the getAttribute function!");return}return e.getAttribute(t)}static getDataAttribute(e,t){let s=!(arguments.length>2)||void 0===arguments[2]||arguments[2],r=t.replace(/^data(|-)/,""),n=o.Z.toLowerCamelCase(r,"-");if(!i.isNode(e)){if(s)throw Error("The passed node is not a valid HTML Node!");return}if(void 0===e.dataset){if(s)throw Error("This node doesn't support the dataset attribute!");return}let a=e.dataset[n];if(void 0===a){if(s)throw Error('The required data attribute "'.concat(t,'" does not exist on ').concat(e,"!"));return a}return o.Z.parsePrimitive(a)}static querySelector(e,t){let s=!(arguments.length>2)||void 0===arguments[2]||arguments[2];if(s&&!i.isNode(e))throw Error("The parent node is not a valid HTML Node!");let o=e.querySelector(t)||!1;if(s&&!1===o)throw Error('The required element "'.concat(t,'" does not exist in parent node!'));return o}static querySelectorAll(e,t){let s=!(arguments.length>2)||void 0===arguments[2]||arguments[2];if(s&&!i.isNode(e))throw Error("The parent node is not a valid HTML Node!");let o=e.querySelectorAll(t);if(0===o.length&&(o=!1),s&&!1===o)throw Error('At least one item of "'.concat(t,'" must exist in parent node!'));return o}static getFocusableElements(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.body;return e.querySelectorAll('\n            input:not([tabindex^="-"]):not([disabled]):not([type="hidden"]),\n            select:not([tabindex^="-"]):not([disabled]),\n            textarea:not([tabindex^="-"]):not([disabled]),\n            button:not([tabindex^="-"]):not([disabled]),\n            a[href]:not([tabindex^="-"]):not([disabled]),\n            [tabindex]:not
1([tabindex^="-"]):not([disabled])\n        ')}static getFirstFocusableElement(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.body;return this.getFocusableElements(e)[0]}static getLastFocusableElement(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,t=this.getFocusableElements(e);return t[t.length-1]}}},5140:(e,t,s)=>{s.d(t,{Z:()=>o});class o{static ucFirst(e){return e.charAt(0).toUpperCase()+e.slice(1)}static lcFirst(e){return e.charAt(0).toLowerCase()+e.slice(1)}static toDashCase(e){return e.replace(/([A-Z])/g,"-$1").replace(/^-/,"").toLowerCase()}static toLowerCamelCase(e,t){let s=o.toUpperCamelCase(e,t);return o.lcFirst(s)}static toUpperCamelCase(e,t){return t?e.split(t).map(e=>o.ucFirst(e.toLowerCase())).join(""):o.ucFirst(e.toLowerCase())}static parsePrimitive(e){try{return/^\d+(.|,)\d+$/.test(e)&&(e=e.replace(",",".")),JSON.parse(e)}catch(t){return e.toString()}}}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.