PageSourceSearch

https://www.kachilu.com/_next/static/chunks/8237-8e87863546046274.js

js kachilu.com collected 2026-10-05 07:19:39 UTC 10,036 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8237],{8846:(e,t,a)=>{"use strict";a.d(t,{InsightDocumentLanguage:()=>i});var s=a(12115);function i(e){let{locale:t}=e;return(0,s.useEffect)(()=>{document.documentElement.lang=t},[t]),null}},9703:(e,t,a)=>{"use strict";a.d(t,{InsightSearch:()=>u});var s=a(95155),i=a(47924),n=a(54416),r=a(92138),l=a(6874),o=a.n(l),c=a(12115);function d(e,t){return e.normalize("NFKD").replace(/[\u0300-\u036f]/g,"").toLocaleLowerCase(t).trim()}function u(e){let{locale:t,label:a,placeholder:l,noResults:u,loadingLabel:h,errorLabel:m,clearLabel:p,readLabel:f,indexUrl:b}=e,x=(0,c.useId)(),g=(0,c.useId)(),[w,y]=(0,c.useState)(""),[v,k]=(0,c.useState)(-1),[j,N]=(0,c.useState)(!1),[A,_]=(0,c.useState)([]),[E,S]=(0,c.useState)("idle"),C=d(w,t),I=(0,c.useDeferredValue)(C),D=(0,c.useCallback)(async()=>{if("loading"!==E&&"ready"!==E){S("loading");try{let e=await fetch(b,{credentials:"same-origin",headers:{Accept:"application/json"}});if(!e.ok)throw Error("Search index returned ".concat(e.status));let t=await e.json();if(!Array.isArray(t))throw Error("Search index is not an array");_(t),S("ready")}catch(e){_([]),S("error")}}},[E,b]),L=(0,c.useMemo)(()=>A.map(e=>({item:e,normalizedTitle:d(e.title,t),normalizedText:d([e.title,e.description,e.bodyText,e.topicTitle,e.contentTypeLabel,...e.keywords,...e.tags].join(" "),t)})),[A,t]),z=(0,c.useMemo)(()=>I?L.map(e=>{let{item:t,normalizedTitle:a,normalizedText:s}=e,i=a.includes(I)?a.startsWith(I)?2:1:0;return s.includes(I)?{item:t,score:i}:null}).filter(e=>!!e).sort((e,a)=>a.score-e.score||e.item.title.localeCompare(a.item.title,t)).slice(0,8).map(e=>{let{item:t}=e;return t}):[],[I,t,L]),T=j&&!!C,R=C!==I,B=T&&"ready"===E&&!R&&z.length>0,F=v>=0?z[v]:void 0;return(0,s.jsxs)("div",{className:"relative mt-8 max-w-3xl",children:[(0,s.jsx)("label",{htmlFor:x,className:"sr-only",children:a}),(0,s.jsx)(i.A,{className:"pointer-events-none absolute left-4 top-4 h-5 w-5 text-slate-400","aria-hidden":"true"}),(0,s.jsx)("input",{id:x,type:"search",role:"combobox","aria-autocomplete":"list","aria-controls":B?g:void 0,"aria-expanded":B,"aria-activedescendant":B&&F?"".concat(g,"-").concat(F.slug):void 0,value:w,placeholder:l,className:"h-[52px] w-full border border-slate-300 bg-white py-3.5 pl-12 pr-12 text-base text-[#071b3a] outline-none transition placeholder:text-slate-400 focus:border-[#0569d9] focus:ring-2 focus:ring-[#0569d9]/15",onChange:e=>{y(e.target.value),k(-1)},onFocus:()=>{N(!0),D()},onBlur:()=>N(!1),onKeyDown:e=>{if(!e.nativeEvent.isComposing&&229!==e.keyCode){if("Escape"===e.key){y(""),k(-1);return}if(0!==z.length){if("ArrowDown"===e.key)e.preventDefault(),k(e=>(e+1)%z.length);else if("ArrowUp"===e.key)e.preventDefault(),k(e=>e<=0?z.length-1:e-1);else if("Enter"===e.key&&F){var t;e.preventDefault(),null===(t=document.getElementById("".concat(g,"-").concat(F.slug)))||void 0===t||t.click()}}}}}),w?(0,s.jsx)("button",{type:"button","aria-label":p,className:"absolute right-3 top-3 flex h-8 w-8 items-center justify-center text-slate-500 transition hover:text-[#0569d9] focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-[#0569d9]",onClick:()=>{y(""),k(-1)},children:(0,s.jsx)(n.A,{className:"h-4 w-4","aria-hidden":"true"})}):null,B?(0,s.jsx)("div",{id:g,role:"listbox",className:"absolute z-30 mt-2 max-h-[28rem] w-full overflow-y-auto border border-slate-300 bg-white shadow-[0_18px_50px_rgba(7,27,58,0.12)]",children:z.map((e,t)=>(0,s.jsxs)(o(),{id:"".concat(g,"-").concat(e.slug),role:"option",tabIndex:-1,"aria-selected":t===v,href:e.href,className:"group block border-b border-slate-200 px-5 py-4 last:border-b-0 ".concat(t===v?"bg-[#eef7ff]":"hover:bg-slate-50"),"data-analytics-event":"insights_article_click","data-analytics-location":"insights_search","data-analytics-target-article-slug":e.slug,"data-analytics-topic-id":e.topicId,"data-analytics-content-type":e.contentType,"data-analytics-position":t+1,onMouseDown:e=>e.preventDefault(),children:[(0,s.jsxs)("span",{className:"text-[11px] font-black uppercase tracking-[0.12em] text-[#0569d9]",children:[e.topicTitle," \xb7 ",e.contentTypeLabel]}),(0,s.jsxs)("span",{className:"mt-1 flex items-start justify-between gap-5",children:[(0,s.jsxs)("span",{children:[(0,s.jsx)("span",{className:"block font-black leading-6 text-[#071b3a]",children:e.title}),(0,s.jsx)("span",{className:"mt-1 line-clamp-2 block text-xs leading-5 text-slate-600",children:e.description})]}),(0,s.jsxs)("span",{className:"mt-1 inline-flex shrink-0 items-center gap-1 text-xs font-black text-[#0569d9]",children:[(0,s.jsx)("span",{className:"sr-only",children:f}),(0,s.jsx)(r.A,{className:"h-4 w-4","aria-hidden":"true"})]})]})]},e.slug))}):T?(0,s.jsx)("p",{role:"status","aria-live":"polite",className:"absolute z-30 mt-2 w-full border border-slate-300 bg-white px-5 py-6 text-sm text-slate-600 shadow-[0_18px_50px_rgba(7,27,58,0.12)]",children:"error"===E?m:"ready"!==E||R?h:u}):null]})}},19946:(e,t,a)=>{"use strict";a.d(t,{A:()=>
1o});var s=a(12115);let i=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),n=function(){for(var e=arguments.length,t=Array(e),a=0;a<e;a++)t[a]=arguments[a];return t.filter((e,t,a)=>!!e&&""!==e.trim()&&a.indexOf(e)===t).join(" ").trim()};var r={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let l=(0,s.forwardRef)((e,t)=>{let{color:a="currentColor",size:i=24,strokeWidth:l=2,absoluteStrokeWidth:o,className:c="",children:d,iconNode:u,...h}=e;return(0,s.createElement)("svg",{ref:t,...r,width:i,height:i,stroke:a,strokeWidth:o?24*Number(l)/Number(i):l,className:n("lucide",c),...h},[...u.map(e=>{let[t,a]=e;return(0,s.createElement)(t,a)}),...Array.isArray(d)?d:[d]])}),o=(e,t)=>{let a=(0,s.forwardRef)((a,r)=>{let{className:o,...c}=a;return(0,s.createElement)(l,{ref:r,iconNode:t,className:n("lucide-".concat(i(e)),o),...c})});return a.displayName="".concat(e),a}},28237:(e,t,a)=>{Promise.resolve().then(a.bind(a,8846)),Promise.resolve().then(a.bind(a,30733)),Promise.resolve().then(a.bind(a,9703)),Promise.resolve().then(a.t.bind(a,6874,23)),Promise.resolve().then(a.t.bind(a,33063,23))},30733:(e,t,a)=>{"use strict";a.d(t,{InsightFloatingCta:()=>u});var s=a(95155),i=a(92138),n=a(54416),r=a(6874),l=a.n(r),o=a(12115);let c={en:"Run your next outbound test in one workflow",ja:"次のアウトバウンド検証を、一つの流れで回す","pt-BR":"Valide seu pr\xf3ximo processo outbound em um \xfanico fluxo",es:"Valida tu pr\xf3ximo proceso outbound en un solo flujo",de:"Den n\xe4chsten Outbound-Test in einem Workflow steuern"},d={en:"Dismiss",ja:"閉じる","pt-BR":"Fechar",es:"Cerrar",de:"Schlie\xdfen"};function u(e){let{locale:t,href:a,label:r,articleSlug:u,topicId:h,contentType:m}=e,[p,f]=(0,o.useState)(!1),[b,x]=(0,o.useState)(!1),[g,w]=(0,o.useState)(!1),[y,v]=(0,o.useState)(!1),k="kachilu:insights-floating-cta-dismissed:2026-08-26:".concat(u);return((0,o.useEffect)(()=>{try{v("true"===window.sessionStorage.getItem(k))}catch(e){}f(!0)},[k]),(0,o.useEffect)(()=>{let e=document.querySelector("[data-insights-reading-region]"),t=document.querySelector("[data-insights-end-cta]");if(!e)return;let a=0,s=()=>{a=0;let s=e.getBoundingClientRect();if(s.height>0&&(.5*window.innerHeight-s.top)/s.height>=.38&&x(!0),t){let e=t.getBoundingClientRect();e.top<window.innerHeight&&e.bottom>0&&w(!0)}},i=()=>{a||(a=window.requestAnimationFrame(s))};s(),window.addEventListener("scroll",i,{passive:!0}),window.addEventListener("resize",i);let n=t&&"IntersectionObserver"in window?new IntersectionObserver(e=>{e.some(e=>e.isIntersecting)&&w(!0)},{threshold:.01}):null;return n&&t&&n.observe(t),()=>{window.removeEventListener("scroll",i),window.removeEventListener("resize",i),a&&window.cancelAnimationFrame(a),null==n||n.disconnect()}},[]),!p||!b||g||y)?null:(0,s.jsx)("aside",{className:"fixed inset-x-3 z-40 border border-slate-300 bg-white p-3 shadow-[0_12px_36px_rgba(7,27,58,0.16)] motion-reduce:transition-none sm:inset-x-auto sm:right-6 sm:w-[340px] sm:p-5",style:{bottom:"max(0.75rem, env(safe-area-inset-bottom))"},"aria-label":c[t],children:(0,s.jsxs)("div",{className:"flex items-center gap-3 sm:block",children:[(0,s.jsx)("p",{className:"hidden pr-10 text-sm font-black leading-6 text-[#071b3a] sm:block",children:c[t]}),(0,s.jsxs)(l(),{href:a,className:"inline-flex min-h-11 flex-1 items-center justify-center gap-2 bg-[#0569d9] px-4 py-2 text-center text-xs font-black text-white transition hover:bg-[#034f9f] focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-[#0569d9] sm:mt-4 sm:w-full","data-analytics-event":"insights_cta_click","data-analytics-location":"article_floating","data-analytics-variant":"floating_after_38_percent","data-analytics-article-slug":u,"data-analytics-topic-id":h,"data-analytics-content-type":m,"data-analytics-locale":t,children:[r,(0,s.jsx)(i.A,{className:"h-4 w-4 shrink-0","aria-hidden":"true"})]}),(0,s.jsx)("button",{type:"button",onClick:()=>{v(!0);try{window.sessionStorage.setItem(k,"true")}catch(e){}},className:"inline-flex h-11 w-11 shrink-0 items-center justify-center text-slate-500 transition hover:bg-slate-100 hover:text-[#071b3a] focu
1s-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-[#0569d9] sm:absolute sm:right-2 sm:top-2","aria-label":d[t],children:(0,s.jsx)(n.A,{className:"h-5 w-5","aria-hidden":"true"})})]})})}},47924:(e,t,a)=>{"use strict";a.d(t,{A:()=>s});let s=(0,a(19946).A)("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]])},54416:(e,t,a)=>{"use strict";a.d(t,{A:()=>s});let s=(0,a(19946).A)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},92138:(e,t,a)=>{"use strict";a.d(t,{A:()=>s});let s=(0,a(19946).A)("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]])}}]);

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.