PageSourceSearch

https://giphy.com/_next/static/chunks/app/(site)/error-164f9bd56b115f3a.js

js giphy.com collected 2026-09-24 07:34:20 UTC 4,947 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7990],{39061:(e,t,r)=>{"use strict";r.d(t,{I:()=>i,l:()=>n});let n=["giphy","meme","fancy","pixel","subtitle"],i=["font","gif","image","video"]},80065:(e,t,r)=>{Promise.resolve().then(r.bind(r,90533))},82576:(e,t,r)=>{"use strict";r.d(t,{d9:()=>c,PY:()=>o,NN:()=>l,FW:()=>m,Bn:()=>a});var n=r(39061),i=r(82994);let s=RegExp(["gif","gifs","sticker","stickers","video","videos","transparent","transparents","clips","with-sound"].map(e=>`\\b(${e})\\b`).join("|"),"gi"),a=(e="")=>e.replace(s,"").trim();function c(e){if("string"==typeof e){let t=(0,i.hS)(e);return n.I.find(e=>(function(e){switch(e){case"font":return[".ttf"];case"gif":return[".gif"];case"image":return[".jpeg",".jpg",".png"];case"video":return[".mov",".mp4",".webm"]}})(e).indexOf(t)>-1)}return n.I.find(t=>(function(e){switch(e){case"font":return["font/ttf"];case"gif":return["image/gif"];case"image":return["image/jpeg","image/png"];case"video":return["video/mov","video/mp4","video/quicktime","video/webm"]}})(t).indexOf(e.type)>-1)}async function o(e,t){if(!FontFace)return Promise.reject();let r="string"==typeof e?e:URL.createObjectURL(e),n=new FontFace(t,`url(${r})`);return document.fonts.add(n),n.load()}async function l(e){let t="string"==typeof e?e:URL.createObjectURL(e);return new Promise((e,r)=>{let n=document.createElement("img");n.onerror=()=>r(),n.onload=()=>{e(n)},n.crossOrigin="anonymous",n.src=t})}async function m(e){let t="string"==typeof e?e:URL.createObjectURL(e);return new Promise((e,r)=>{let n=document.createElement("video");n.onerror=()=>r(),n.oncanplay=()=>{e(n)},n.crossOrigin="anonymous",n.preload="auto",n.src=t})}},82732:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(54568),i=r(99680),s=r(48828),a=r(88275);let c=new(r(2011)).uK(s.OT.fourOhFourApiKey),o=()=>{let e,t=(0,i.c)(1);return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,n.jsx)(a.Ay,{fetchGifs:l}),t[0]=e):e=t[0],e};function l(e){return c.trending({offset:e})}},82994:(e,t,r)=>{"use strict";r.d(t,{hS:()=>s,vz:()=>o,rs:()=>m,x5:()=>c,iV:()=>u});let n=/(http|https)?:\/\/(www\.)?vimeo.com\/(?:channels\/(?:\w+\/)?|groups\/([^\/]*)\/videos\/|)(\d+)(?:|\/\?)/,i=/^(?:https?:\/\/)?(?:www\.)?(?:youtu\.be\/|youtube\.com\/(?:embed\/|v\/|watch\?v=|watch\?.+&v=))((\w|-){11})(?:\S+)?$/;function s(e){return e.match(n)?"vimeo":e.match(i)?"youtube":e.indexOf("imaging.giphy.com")>-1?e.indexOf("fmt=mp4")>-1?".mp4":".gif":`.${e.split("?")[0].split(".").pop()}`}let a="[A-Za-z0-9]{6,24}",c=e=>e.replace(/media\d+\.giphy\.com/,"media.giphy.com"),o=(e="",t=!1)=>t?((e="",t=!1)=>`/search/${l(e)}${t?"-stickers":""}`)(e,t):`/explore/${l(e)}`,l=e=>`${e.replace(/[^\w\s-@]+/g,"").replace(/\s\s+/g," ").trim().replace(/ /g,"-")}`,m=e=>{let t=RegExp(`/(gifs|stickers|clips|media)/([A-Za-z0-9-]+-)?(${a})/?`),r=e.match(t);return r?r[3]:null},u=e=>{let t=RegExp(`^${a}$`);return!!e.match(t)}},90533:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>f});var n=r(54568),i=r(99680),s=r(7620),a=r(82732),c=r(35410);let o="PLACEMENT_ERROR:",l=" PLACEMENTS_DEBUG:";var m=r(48828);let u=window.location.pathname.startsWith("/password/change/"),d="https://giphy.com"===m.Dd&&!u&&.05>=Math.random(),g=async e=>{if(d){let t=(await r.e(6884).then(r.bind(r,96884))).TrackJS;t.isInstalled()||t.install({token:"00a54533935841dea5b9a1d9b7395dd3",application:"giphy-next",network:{error:!1},window:{promise:!1}}),e&&t.track(e)}};function f(e){let t,r,m,u,d,f,p,h,w,y,x=(0,i.c)(18),{error:v}=e;x[0]!==v?(t=()=>{g(v)},r=[v],x[0]=v,x[1]=t,x[2]=r):(t=x[1],r=x[2]),(0,s.useEffect)(t,r),x[3]!==v.message?(m=v.message?.startsWith(o),x[3]=v.message,x[4]=m):m=x[4];let b=m;x[5]!==v.message?(u=function(e){if(!e?.startsWith(o))return;let t=e.indexOf(l);if(-1!==t)try{return JSON.parse(e.slice(t+l.length))}catch{return}}(v.message),x[5]=v.message,x[6]=u):u=x[6];let j=u;x[7]!==j?(d=()=>{j&&console.info("[placements debug]",j)},f=[j],x[7]=j,x[8]=d,x[9]=f):(d=x[8],f=x[9]),(0,s.useEffect)(d,f);let E=b?"Please try again later.":"Find another GIF from our trending feed";return x[10]===Symbol.for("react.memo_cache_sentinel")?(p=(0,n.jsx)("h2",{children:"Oh-oh! Something went wrong!"}),x[10]=p):p=x[10],x[11]!==E?(h=(0,n.jsxs)("div",{className:"flex flex-col items-center justify-center rounded-lg bg-gradient-primary p-5",children:[p,(0,n.jsx)("p",{children:E})]}),x[11]=E,x[12]=h):h=x[12],x[13]!==b?(w=b?(0,n.jsx)("img",{src:"https://giphy.com/static/img/error_pages/crying-cowbow-emoji.gif",alt:"Error",className:"mx-auto mt-4 h-[220px] w-[220px]"}):(0,n.jsx)(a.A,{}
1),x[13]=b,x[14]=w):w=x[14],x[15]!==h||x[16]!==w?(y=(0,n.jsx)(c.default,{routeName:"/error",children:(0,n.jsxs)("div",{className:"mt-3 flex flex-col gap-3",children:[h,w]})}),x[15]=h,x[16]=w,x[17]=y):y=x[17],y}g()}},e=>{e.O(0,[8373,1210,2668,4713,2011,2616,1798,933,8928,5319,7463,8828,598,6121,8275,5410,587,7730,7358],()=>e(e.s=80065)),_N_E=e.O()}]);
2//# sourceMappingURL=error-164f9bd56b115f3a.js.map

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.