PageSourceSearch

https://qwickbirr.com/_nuxt/C6UxIsRt.js

js qwickbirr.com collected 2026-10-06 18:11:23 UTC 8,983 bytes, 1 lines download raw bytes

1import{_ as N}from"./D8wZDWdq.js";import{d as I,c as i,o,F as j,s as M,a as s,i as _,w as E,u as e,b as F,t as C,S as x,B as w,j as d,r as y,m as T,e as z,p as V,C as B,g as q,N as H,O as K,A as U,M as O,h as S}from"./w7OlQP-1.js";import{_ as R}from"./DlAUqK2U.js";const A="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='12'%20cy='12'%20r='11'%20fill='%230F1113'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8.0442%2017.0166C7.75131%2017.3095%207.27644%2017.3095%206.98354%2017.0166C6.69065%2016.7237%206.69065%2016.2488%206.98354%2015.9559L10.9394%2012L6.98355%208.04414C6.69065%207.75125%206.69065%207.27637%206.98355%206.98348C7.27644%206.69059%207.75131%206.69059%208.0442%206.98348L12.0001%2010.9394L15.956%206.98346C16.2489%206.69057%2016.7238%206.69057%2017.0167%206.98346C17.3096%207.27636%2017.3096%207.75123%2017.0167%208.04412L13.0608%2012L17.0167%2015.9559C17.3096%2016.2488%2017.3096%2016.7237%2017.0167%2017.0166C16.7238%2017.3095%2016.2489%2017.3095%2015.956%2017.0166L12.0001%2013.0607L8.0442%2017.0166Z'%20fill='white'/%3e%3c/svg%3e",Z={class:"search-item"},W={class:"flex items-center"},J=["src"],Q={class:"item-style ml-2"},X=["onClick"],Y={key:0,src:A},ee=I({__name:"SearchGamesItem",props:{games:{type:Array,required:!0},fromStorgae:{default:!1}},setup(g){const m=F(),p=g;function f(a){p.fromStorgae||w().setSearchGameDataToStorage(a)}return(a,n)=>{const r=N;return o(!0),i(j,null,M(g.games,(l,u)=>(o(),i("div",null,[s("div",Z,[(o(),_(r,{class:"flex items-center justify-between mt-2 p-2",to:{path:"/games/".concat(l.Key??"")},key:l.Key,onClick:h=>f(l)},{default:E(()=>[s("div",W,[s("img",{src:e(m).public.API_ENDPOINT.concat(l.Image??""),class:"item-img"},null,8,J),s("span",Q,C(l.Name),1)])]),_:2},1032,["to","onClick"])),s("button",{onClick:x(h=>e(w)().deleteGameFromStorage(u),["prevent"]),class:"h-[24px] w-[24px] flex-none"},[p.fromStorgae?(o(),i("img",Y)):d("",!0)],8,X)])]))),256)}}}),te=R(ee,[["__scopeId","data-v-fa100bcf"]]),se={class:"search-item"},oe={class:"flex items-center"},ae={class:"item-style ml-2"},ne=["onClick"],re={key:0,src:A},le=I({__name:"SearchProvidersItem",props:{providers:{type:Array,required:!0},fromStorgae:{default:!1}},emits:["clearProvidersList"],setup(g,{emit:m}){const p=g,f=m;function a(n){p.fromStorgae||(f("clearProvidersList"),w().saveSearchProvider(n))}return(n,r)=>{const l=N;return o(!0),i(j,null,M(g.providers,(u,h)=>(o(),i("div",null,[s("div",se,[(o(),_(l,{class:"flex items-center justify-between mt-2 p-2",to:{path:"/providers",query:{provider:u.Name}},key:u.ID,onClick:b=>a(u)},{default:E(()=>[s("div",oe,[s("span",ae,C(u.Name),1)])]),_:2},1032,["to","onClick"])),s("button",{onClick:x(b=>e(w)().deleteProviderFromStorage(h),["prevent"])},[p.fromStorgae?(o(),i("img",re)):d("",!0)],8,ne)])]))),256)}}}),ie=R(le,[["__scopeId","data-v-2f5a70ec"]]),ce="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='16.414'%20height='16.414'%20viewBox='0%200%2016.414%2016.414'%3e%3cdefs%3e%3cclipPath%20id='clip-path'%3e%3crect%20width='16.414'%20height='16.414'%20fill='none'/%3e%3c/clipPath%3e%3c/defs%3e%3cg%20id='Repeat_Grid_1'%20data-name='Repeat%20Grid%201'%20clip-path='url(%23clip-path)'%3e%3cg%20transform='translate(-14%20-14)'%3e%3cg%20id='Icon_feather-search'%20data-name='Icon%20feather-search'%20transform='translate(15%2015)'%3e%3cpath%20id='Path_52'%20data-name='Path%2052'%20d='M16.944,10.722A6.222,6.222,0,1,1,10.722,4.5,6.222,6.222,0,0,1,16.944,10.722Z'%20transform='translate(-4.5%20-4.5)'%20fill='none'%20stroke='%231c2630'%20stroke-linecap='round'%20stroke-linejoin='round'%20stroke-width='2'/%3e%3cpath%20id='Path_53'%20data-name='Path%2053'%20d='M28.358,28.358l-3.383-3.383'%20transform='translate(-14.358%20-14.358)'%20fill='none'%20stroke='%231c2630'%20stroke-linecap='round'%20stroke-linejoin='round'%20stroke-width='2'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e",de={class:"h-[35px] md:h-[39px] md:w-[250px] w-[300px] rounded-[4px] overflow-clip bg-white flex-shrink-0 flex items-center ml-[15px]"},ue=["placeholder"],me={key:0,id:"searchContentID",class:"md:w-[250px] w-[300px] py-[13px] bg-surface absolute right-0 rounded-b-[8px] top-[35px] flex flex-col z-20"},pe={class:"px-[10px]"},he={class:"bg-neutrals-background-2 text-white flex items-center justify-between rounded-full relative"},fe={class:"max-h-[250px] overflow-auto"},ge={key:0},ve={key:2,class:"flex justify-center mt-[5px]"},_e={key:1},xe={key:2,class:"flex justify-center mt-[5px]"},we={key:2,class:"flex items-center justify-center mt-[30px] mb-[20px]"},be=I({__name:"SearchWithAutoComplete",setup(g){const{openAutocomplete:m,toggleRightDrawer:p}=V(),{debounce:f}=U(),a=y(!0),n=y(""),r=w(),l=y([]),{providers:u}=T();let h=f($,n,1e3);z(()=>{document.getElementById("searchId")?.addEventListener("focus",L),r.getSearchGameDataFromStorage(),r.getProvidersFromStorage();const c=document.getElementById("searchContentID");window.addEventListener("click",t=>{m.value&&c&&!c.contains(t.target)&&(m.value=!1)})});function b(c){if(c.length<3){l.value=[];return}u&&(l.value=u.filter(t=>t.Name?.toLowerCase().includes(c.toLowerCase())))}const k=y(!1);async function $(){k.value=!0,await r.searchGames(n.value),k.value=!1}B(()=>r.searchedGameData,c=>{if(c.length>0){const t=document.getElementById("search_content");t&&t.scrollTo({top:0,behavior:"smooth"})}},{immediate:!0});function L(c){m.value=!0,p.value&&(p.value=!1)}q(()=>{document.getElementById("searchId")?.removeEventListener("focus",L)});function P(){a.value=!a.value,n.value="",a.value?r.searchedGameData=[]:l.value=[]}return B(a,()=>{a.value?h=f($,n,1e3):a.value||(h=f(b,n,1e3))}),(c,t)=>{const G=te,D=ie;return o(),i("div",{class:"relative",onClick:t[7]||(t[7]=x(()=>{},["stop"]))},[s("form",{action:"#",onSubmit:t[3]||(t[3]=x(()=>{},["prevent"])),autocomplete:"off"},[s("div",de,[H(s("input",{type:"text",class:"border-none text-[14px] w-[90%] focus:ring-0 placeholder:font-medium",placeholder:c.$t("search"),"data-testId":"search-input",id:"searchId","onUpdate:modelValue":t[0]||(t[0]=v=>O(n)?n.value=v:null),onKeyup:t[1]||(t[1]=(...v)=>e(h)&&e(h)(...v)),onClick:t[2]||(t[2]=x(()=>{},["stop"]))},null,40,ue),[[K,e(n)]]),t[8]||(t[8]=s("img",{src:ce,class:"md:w-[8%]",alt:"search-icon"}
1,null,-1))])],32),e(m)?(o(),i("div",me,[s("div",pe,[s("div",he,[s("span",{class:S([[{"left-0":e(a)===!0},{"left-[50%]":e(a)===!1}],"w-[50%] absolute bg-primary-button flex justify-center h-10 rounded-full transition-all"])},null,2),s("button",{"data-testId":"change-games-btn",class:S([[{"text-neutrals-background-2 ":e(a)===!0},{"hover:text-primary":e(a)===!1}],"w-[50%] z-10 flex justify-center items-center h-10 font-medium"]),onClick:t[4]||(t[4]=v=>P())},C(c.$t("games")),3),s("button",{"data-testId":"change-providers-btn",class:S([[{"text-neutrals-background-2 ":e(a)===!1},{"hover:text-primary":e(a)===!0}],"w-[50%] z-10 flex justify-center items-center h-10 font-medium"]),onClick:t[5]||(t[5]=v=>P())},C(c.$t("providers")),3)])]),s("div",fe,[e(a)&&!e(k)?(o(),i("div",ge,[e(r).searchedGameData?.length>0?(o(),_(G,{key:0,games:e(r).searchedGameData},null,8,["games"])):d("",!0),e(r).searchedGameData?.length==0&&e(n).length==0&&e(r).storageGameData.length>0?(o(),_(G,{key:1,games:e(r).storageGameData,"from-storgae":!0},null,8,["games"])):d("",!0),e(n).length>0&&e(r).searchedGameData?.length===0?(o(),i("div",ve," No Result ")):d("",!0)])):e(k)?e(n).length>2?(o(),i("div",we,[...t[9]||(t[9]=[s("div",{class:"loader"},null,-1)])])):d("",!0):(o(),i("div",_e,[e(l).length>0?(o(),_(D,{key:0,providers:e(l),onClearProvidersList:t[6]||(t[6]=v=>l.value=[])},null,8,["providers"])):d("",!0),e(l).length==0&&e(n).length==0&&e(r).storageProviderData.length>0?(o(),_(D,{key:1,providers:e(r).storageProviderData,"from-storgae":!0},null,8,["providers"])):d("",!0),e(n).length>0&&e(l).length===0?(o(),i("div",xe," No Result ")):d("",!0)]))])])):d("",!0)])}}}),Se="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2025.2.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3csvg%20version='1.1'%20id='Component_6_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%2016%2010'%20style='enable-background:new%200%200%2016%2010;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e%20.st0{fill:%23009841;}%20%3c/style%3e%3cpath%20id='Rectangle_3'%20class='st0'%20d='M1,4h14c0.6,0,1,0.4,1,1l0,0c0,0.6-0.4,1-1,1H1C0.4,6,0,5.6,0,5l0,0C0,4.4,0.4,4,1,4z'/%3e%3cpath%20id='Rectangle_3_1_'%20class='st0'%20d='M1,0h14c0.6,0,1,0.4,1,1l0,0c0,0.6-0.4,1-1,1H1C0.4,2,0,1.6,0,1l0,0C0,0.4,0.4,0,1,0z'/%3e%3cpath%20id='Rectangle_3_2_'%20class='st0'%20d='M1,8h14c0.6,0,1,0.4,1,1l0,0c0,0.6-0.4,1-1,1H1c-0.6,0-1-0.4-1-1l0,0C0,8.4,0.4,8,1,8z'/%3e%3c/svg%3e";export{be as _,Se as a};

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.