PageSourceSearch

https://phoneo.fr/_next/static/chunks/57748.e7e50dfa1f45b2af.js

js phoneo.fr collected 2026-10-08 20:01:17 UTC 2,738 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[57748],{58703:(e,t,n)=>{n.d(t,{B:()=>i});async function i(e,t,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1e3,l=arguments.length>4?arguments[4]:void 0,r="string"==typeof n?{column:n,ascending:!0}:n,s=e.order(r.column,{ascending:r.ascending??!0}),a=[];for(let e=0;;e+=i){let{data:n,error:r}=await s.range(e,e+i-1);if(r){let e=r.code;throw Error(`${t}: ${e?`[${e}] `:""}${r.message}`)}l?.(n);let o=n??[];if(a.push(...o),o.length<i)return a}}},74250:(e,t,n)=>{n.d(t,{$:()=>l});var i=n(95155);function l(e){let{options:t,value:n,onChange:l,size:r="md",ariaLabel:s,disabled:a=!1,className:o=""}=e,d="sm"===r?"h-8 pointer-coarse:h-11 px-3 text-[13px]":"tactile"===r?"h-11 px-3.5 text-sm":"h-9 pointer-coarse:h-11 px-3.5 text-sm";return(0,i.jsx)("div",{className:`overflow-x-auto p-1 -m-1 ${o}`,children:(0,i.jsx)("div",{role:"group","aria-label":s,className:"inline-flex rounded-[11px] bg-[#edf0f4] p-[3px] gap-0.5",children:t.map(e=>{let t=n===e.key;return(0,i.jsxs)("button",{type:"button",onClick:()=>l(e.key),disabled:a,"aria-pressed":t,className:`${d} rounded-lg transition-all whitespace-nowrap shrink-0 inline-flex items-center gap-1.5 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[rgba(245,164,0,0.35)] ${a?"cursor-not-allowed opacity-60":"cursor-pointer"} ${t?"bg-white text-[#141822] font-semibold shadow-[0_1px_3px_rgba(15,23,42,0.10)]":"text-[#5d6b82] font-medium hover:text-[#141822]"}`,children:[e.label,"number"==typeof e.count&&(0,i.jsx)("span",{className:`text-[11px] font-semibold tabular-nums px-1.5 py-0.5 rounded-md ${t?"bg-[#f1f3f7] text-[#5d6b82]":"bg-[rgba(15,23,42,0.06)] text-[#5d6b82]"}`,children:e.count})]},e.key)})})})}},86163:(e,t,n)=>{n.d(t,{Y5:()=>d,rb:()=>o,wG:()=>s});var i=n(62890),l=n(58703),r=n(40944);let s=["smartphone","tablette"],a="id, name";async function o(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{columns:t=a,deviceTypes:n,label:s="fetchSelectableModels",exclusions:o}=e,d=(0,r.XA)(o)?o:null,c=d?function(e){let t=function(e){let t,n=e;do t=n,n=n.replace(/\([^()]*\)/g,"");while(n!==t);return n}(e),n=[];return/\bid\b/.test(t)||n.push("id"),/\bbrand_id\b/.test(t)||n.push("brand_id"),/\bdevice_type\b/.test(t)||n.push("device_type"),n.length>0?`${e}, ${n.join(", ")}`:e}(t):t,u=i.supabase.from("models").select(c).eq("is_active",!0),p=(n&&n.length>0?u.in("device_type",n):u).order("name",{ascending:!0}).order("id"),b=await (0,l.B)(p,s,"id");return d?b.filter(e=>!(0,r.iu)(e,d)):b}async function d(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a,{data:n}=await i.supabase.from("models").select(t).eq("id",e).maybeSingle();return n??null}}}]);

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.