1"use strict";(self.webpackChunkpixfort_core=self.webpackChunkpixfort_core||[]).push([[167],{31:(t,e,o)=>{o.r(e),o.d(e,{default:()=>s});var i=o(7663);function s(){function t(t,e="",o="",s=!1){const c=$(`<div class="pix-select-dropdown ${o}"></div>`),n=$(`<button type="button" class="${e}">${t.find("option:selected").text()}</button>`),d=$('<div class="pix-select-menu"></div>');function l(t,e){(0,i.rD)(t,e,{placement:"bottom-start",middleware:[(0,i.cY)(10),(0,i.UU)(),(0,i.BN)()]}).then((({x:t,y:o})=>{Object.assign(e.style,{left:`${t}px`,top:`${o}px`})}))}t.find("option").each((function(){const e=$(this),o=$(`<div class="pix-select-item">${e.text()}</div>`);e.is(":selected")&&o.addClass("selected"),o.on("click",(function(){t.val(e.val()).change(),n.text(e.text()),d.find(".pix-select-item").removeClass("selected"),o.addClass("selected"),d.hide(),s&&s(e)})),d.append(o)})),c.append(n).append(d),t.hide().after(c),n.on("click",(function(t){t.stopPropagation(),d.is(":visible")?d.hide():(d.show(),l(n[0],d[0]))})),$(document).on("click",(function(){d.hide()})),d.on("click",(function(t){t.stopPropagation()})),(0,i.ll)(n[0],d[0],(()=>l(n[0],d[0])))}$(".pixfort-select").each((function(){const e=$(this).attr("class")+" btn dropdown-toggle";t($(this),e)})),$(".widget:not(.widget_categories):not(.widget_product_categories) select, .wp-block-archives.wp-block-archives-dropdown select, .wp-block-categories.wp-block-categories-dropdown select").each((function(){t($(this),"pix-widget-select pix-mb-15 btn dropdown-toggle btn-light bg-white font-weight-bold text-body-default text-sm")})),$(".widget.widget_categories select").each((function(){t($(this),"pix-widget-select pix-mb-15 btn dropdown-toggle btn-light bg-white font-weight-bold text-body-default text-sm",(t=>{$(this).closest("form").submit()}))})),$(".pixfort-shop-select").each((function(){t($(this),"btn w-100 mr-0 dropdown-toggle btn-light bg-white shadow-sm font-weight-bold text-body-default text-sm","pix-shop-dropdown")}))}}}]);
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.