PageSourceSearch

https://giphy.com/_next/static/chunks/9201.5fa8913202cdebeb.js

js giphy.com collected 2026-09-24 07:35:11 UTC 23,361 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9201],{1036:(e,t,r)=>{var i=r(35844);e.exports=function(e){return null==e?"":i(e)}},2972:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={callServer:function(){return n.callServer},createServerReference:function(){return a.createServerReference},findSourceMapURL:function(){return o.findSourceMapURL}};for(var s in i)Object.defineProperty(t,s,{enumerable:!0,get:i[s]});let n=r(51531),o=r(31363),a=r(97102)},3135:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});var i=r(7620),s=r(81229);let n=function(e,t,r){if(!s.Bd)return[t,s.lQ,s.lQ];if(!e)throw Error("useLocalStorage key may not be falsy");var n=r?r.raw?function(e){return e}:r.deserializer:JSON.parse,o=(0,i.useRef)(function(e){try{var i=r?r.raw?String:r.serializer:JSON.stringify,s=localStorage.getItem(e);if(null!==s)return n(s);return t&&localStorage.setItem(e,i(t)),t}catch(e){return t}}),a=(0,i.useState)(function(){return o.current(e)}),l=a[0],c=a[1];(0,i.useLayoutEffect)(function(){return c(o.current(e))},[e]);var u=(0,i.useCallback)(function(t){try{var i="function"==typeof t?t(l):t;if(void 0===i)return;var s=void 0;s=r?r.raw?"string"==typeof i?i:JSON.stringify(i):r.serializer?r.serializer(i):JSON.stringify(i):JSON.stringify(i),localStorage.setItem(e,s),c(n(s))}catch(e){}},[e,c]);return[l,u,(0,i.useCallback)(function(){try{localStorage.removeItem(e),c(void 0)}catch(e){}},[e,c])]}},4398:(e,t,r)=>{var i=r(1036),s=0;e.exports=function(e){var t=++s;return i(e)+t}},5458:(e,t,r)=>{"use strict";r.d(t,{A:()=>p,J:()=>d});var i=r(54568),s=r(99680),n=r(29306),o=r(7620),a=r(97509),l=r(54713),c=r(61848),u=r(39427);let d=(0,o.createContext)({}),f=l.Ay.div.withConfig({componentId:"sc-721d4398-0"})(["transform:",";transition:transform 0.3s ease-in-out;z-index:",";"],({$visible:e})=>e?"translateY(0)":"translateY(-100%)",c.wR+1),p=e=>{let t,r,l,p,g,v,m,x=(0,s.c)(18),{children:h}=e,[y,C]=(0,o.useState)(!1),[b,j]=(0,o.useState)(),[w,_]=(0,o.useState)(0);x[0]===Symbol.for("react.memo_cache_sentinel")?(t=e=>{j(e),C(!0)},x[0]=t):t=x[0];let N=t;x[1]===Symbol.for("react.memo_cache_sentinel")?(r=(e,t,r)=>{r?N({message:e,type:"success"}):N({message:t,type:"error"})},x[1]=r):r=x[1];let k=r;x[2]!==b?.displayTime?(l=()=>{let e=setTimeout(()=>{C(!1)},b?.displayTime||5e3);return()=>clearTimeout(e)},x[2]=b?.displayTime,x[3]=l):l=x[3];let S=b?.displayTime;x[4]!==w||x[5]!==S?(p=[w,S],x[4]=w,x[5]=S,x[6]=p):p=x[6],(0,o.useEffect)(l,p);let A=(0,u.A)();return x[7]===Symbol.for("react.memo_cache_sentinel")?(g={showMessage:N,showStatusMessage:k,hideMessage:()=>C(!1)},x[7]=g):g=x[7],x[8]!==A||x[9]!==w||x[10]!==b?.className||x[11]!==b?.message||x[12]!==b?.type||x[13]!==y?(v=A&&(0,a.createPortal)((0,i.jsx)(f,{className:"fixed top-0 right-0 left-0",style:{zIndex:c.wR+1},$visible:y,onTransitionEnd:()=>{_(w+1)},children:(0,i.jsx)("div",{className:(0,n.cn)("flex items-center justify-center p-2.5 text-center font-bold text-giphyWhite",b?.type==="success"?"bg-gradient-info":"bg-gradient-warning",b?.className),children:b?.message})}),document.body,`flash-message-${w}`),x[8]=A,x[9]=w,x[10]=b?.className,x[11]=b?.message,x[12]=b?.type,x[13]=y,x[14]=v):v=x[14],x[15]!==
1h||x[16]!==v?(m=(0,i.jsxs)(d.Provider,{value:g,children:[v,h]}),x[15]=h,x[16]=v,x[17]=m):m=x[17],m}},5817:(e,t,r)=>{"use strict";r.d(t,{A:()=>v,z:()=>g});var i=r(54568),s=r(99680),n=r(23305),o=r(88275),a=r(88267),l=r(41198),c=r.n(l),u=r(29306),d=r(41798),f=r(7620),p=r(28131);let g=e=>{let t,r=(0,s.c)(7),{gif:l}=e,{position:g}=(0,n.FH)(l.id),v=(0,a.jb)(l.id),m=(0,a.UT)(v),{gifs:x}=(0,f.useContext)(o.kv),[h]=(0,p.A)("Alt"),y=(0,n.rL)();if(m){let e;return r[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,i.jsx)("div",{className:`absolute inset-0 flex items-center justify-center bg-giphyBlack/60 text-2xl text-white ${c().className}`,children:"DELETED"}),r[0]=e):e=r[0],e}return r[1]!==y||r[2]!==l||r[3]!==x||r[4]!==h||r[5]!==g?(t=h?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{className:"absolute inset-0 grid place-items-center",children:(0,i.jsx)("div",{className:"text-3xl font-bold uppercase drop-shadow-text-shadow",children:l.rating})}),(0,i.jsx)(d.AttributionOverlay,{gif:l,isHovered:!0})]}):g>0?(0,i.jsx)("div",{onClick:e=>{e.preventDefault(),e.stopPropagation(),(0,n.Ql)(l.id)},className:(0,u.cn)(`absolute inset-0 box-border border-[6px] border-solid border-giphyIndigo ${c().className}`),children:g&&(0,i.jsx)("div",{className:"absolute top-[-6px] right-[-6px] flex size-9 items-center justify-center bg-giphyYellow text-lg font-extrabold text-black",children:g})}):(0,i.jsx)("div",{className:"absolute inset-0 cursor-pointer",onClick:async e=>{e.preventDefault(),e.stopPropagation();let t=x.findIndex(e=>e.id===l.id);if(-1!==t)if(e.shiftKey&&null!==y){let e=Math.min(y,t),r=Math.max(y,t);(0,n.Cl)();let i=1;for(let t=e;t<=r;t++)(0,n.XN)(x[t],i++)}else e.metaKey||(0,n.Cl)(),(0,n.XN)(l,t),(0,n.WF)(t)}}),r[1]=y,r[2]=l,r[3]=x,r[4]=h,r[5]=g,r[6]=t):t=r[6],t},v=e=>{let t,r=(0,s.c)(2),{count:n}=e,o=void 0===n?0:n;return r[0]!==o?(t=o>0?(0,i.jsx)("div",{className:(0,u.cn)(`absolute inset-0 box-border border-[6px] border-solid border-giphyIndigo ${c().className}`),children:o&&(0,i.jsx)("div",{className:"absolute top-[-6px] right-[-6px] flex size-9 items-center justify-center bg-giphyYellow text-lg font-extrabold text-black",children:o})}):null,r[0]=o,r[1]=t):t=r[1],t}},28131:(e,t,r)=>{"use strict";r.d(t,{A:()=>u});var i=r(7620),s=r(81229),n=s.Bd?window:null,o=function(e){return!!e.addEventListener},a=function(e){return!!e.on};let l=function(e,t,r,l){void 0===r&&(r=n),(0,i.useEffect)(function(){if(t&&r)return o(r)?(0,s.on)(r,e,t,l):a(r)&&r.on(e,t,l),function(){o(r)?(0,s.AU)(r,e,t,l):a(r)&&r.off(e,t,l)}},[e,t,r,JSON.stringify(l)])},c=function(e,t,r,n){void 0===t&&(t=s.lQ),void 0===r&&(r={}),void 0===n&&(n=[e]);var o=r.event,a=r.target,c=r.options;l(void 0===o?"keydown":o,(0,i.useMemo)(function(){var r="function"==typeof e?e:"string"==typeof e?function(t){return t.key===e}:e?function(){return!0}:function(){return!1};return function(e){if(r(e))return t(e)}},n),a,c)},u=function(e){var t=(0,i.useState)([!1,null]),r=t[0],s=t[1];return c(e,function(e){return s([!0,e])},{event:"keydown"},[r]),c(e,function(e){return s([!1,e])},{event:"keyup"},[r]),r}},35844:(e,t,r)=>{var i=r(82229),s=r(62404),n=r(55541),o=r(1136),a=1/0,l=i?i.prototype:void 0,c=l?l.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(n(t))return s(t,e)+"";if(o(t))return c?c.call(t):"";var r=t+"";return"0"==r&&1/t==-a?"-0":r}},55541:e=>{e.exports=Array.isArray},61127:(e,t,r)=>{"use strict";r.d(t,{p2:()=>i,vX:()=>s}),r(91769);let i=(e,t)=>!!e?.is_staff||n(t,e),s=(e,t)=>!!e?.is_staff||(e?.user_type==="artist"||e?.user_type==="partner")&&n(t,e);function n(e,t){return!!t&&!!e&&e?.user?.id===t?.id}},61475:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});var i=r(54568),s=r(99680);let n=e=>{let t,r,n,o,a,l,c,u=(0,s.c)(18);if(u[0]!==e){let s,l,{gradientId:c,...d}=e,f=void 0===c?"favorites-icon":c;r="0 0 22 20",n="http://www.w3.org/2000/svg",o=d,u[6]===Symbol.for("react.memo_cache_sentinel")?(s=(0,i.jsx)("stop",{id:"gradient-stop-1",offset:"0%",stopColor:"var(--stop-color-1)"}),l=(0,i.jsx)("stop",{id:"gradient-stop-2",offset:"100%",stopColor:"var(--stop-color-2)"}),u[6]=s,u[7]=l):(s=u[6],l=u[7]),u[8]!==f?(a=(0,i.jsx)("defs",{children:(0,i.jsxs)("linearGradient",{x1:"0%",y1:"10%",x2:"0%",y2:"90%",id:f,children:[s,l]})}),u[8]=f,u[9]=a):a=u[9],t=d.className?.indexOf("--stop-color-1")===-1?"":`url(#${f})`,u[0]=e,u[1]=t,u[2]=r,u[3]=n,u[4]=o,u[5]=a}else t=u[1],r=u[2],n=u[3],o=u[4],a=u[5];return u[10]!==t?(l=(0,i.jsx)("path",{fill:t,fillRule:"evenodd",clipRule:"evenodd",d:"M18.9307 11.9353L11.3231 19.8661C11.2015 19.9554 11.0906 20 10.9904 20C10.8545 20 10.7436 19.9554 10.6578 19.8661L3.05013 11.9353C2.1631 11.0132 1.46386 10.0707 0.952383 9.10764C0.440911 8.14463 
10.136893 7.22997 0.0403214 6.36364C-0.0562504 5.4973 0.0206483 4.6756 0.271019 3.8985C0.521391 3.1214 0.939862 2.43168 1.52645 1.82934C2.28471 1.04108 3.17352 0.507532 4.19289 0.228668C5.21225 -0.0501953 6.23161 -0.0501953 7.25098 0.228668C8.27034 0.507532 9.15915 1.04108 9.91741 1.82934C10.3395 2.26808 10.6971 2.76259 10.9904 3.31288C11.2837 2.76259 11.6414 2.26808 12.0634 1.82934C12.8217 1.03365 13.7105 0.494518 14.7299 0.211936C15.7493 -0.0706455 16.7704 -0.0706455 17.7933 0.211936C18.8163 0.494518 19.7105 1.03365 20.4759 1.82934C21.2556 2.6399 21.7385 3.5843 21.9244 4.66258C22.1104 5.74085 21.9531 6.91578 21.4523 8.1874C20.9516 9.45901 20.1111 10.7083 18.9307 11.9353Z"}),u[10]=t,u[11]=l):l=u[11],u[12]!==r||u[13]!==n||u[14]!==o||u[15]!==a||u[16]!==l?(c=(0,i.jsxs)("svg",{viewBox:r,xmlns:n,...o,children:[a,l]}),u[12]=r,u[13]=n,u[14]=o,u[15]=a,u[16]=l,u[17]=c):c=u[17],c}},62404:e=>{e.exports=function(e,t){for(var r=-1,i=null==e?0:e.length,s=Array(i);++r<i;)s[r]=t(e[r],r,e);return s}},63522:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});var i=r(54568),s=r(99680);let n=e=>{let t,r,n=(0,s.c)(4),o=e.color||"white";return n[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.6667 20C15.0347 20 15.349 19.8779 15.6094 19.6338C15.8698 19.3896 16 19.0951 16 18.75V10C16 9.65495 15.8698 9.36035 15.6094 9.11621C15.349 8.87207 15.0347 8.75 14.6667 8.75H13.3333V5C13.3333 4.32292 13.1927 3.67676 12.9115 3.06152C12.6302 2.44629 12.25 1.91406 11.7708 1.46484C11.2917 1.01562 10.724 0.659179 10.0677 0.395507C9.41146 0.131835 8.72222 0 8 0C7.27778 0 6.58854 0.131835 5.93229 0.395507C5.27604 0.659179 4.70833 1.01562 4.22917 1.46484C3.75 1.91406 3.36979 2.44629 3.08854 3.06152C2.80729 3.67676 2.66667 4.32292 2.66667 5V8.75H1.33333C0.965277 8.75 0.651042 8.87207 0.390625 9.11621C0.130208 9.36035 0 9.65495 0 10V18.75C0 19.0951 0.130208 19.3896 0.390625 19.6338C0.651042 19.8779 0.965277 20 1.33333 20H14.6667ZM10.6667 8.75H5.33333V5C5.33333 4.3099 5.59375 3.7207 6.11458 3.23242C6.63542 2.74414 7.26389 2.5 8 2.5C8.73611 2.5 9.36458 2.74414 9.88542 3.23242C10.4062 3.7207 10.6667 4.3099 10.6667 5V8.75Z"}),n[0]=t):t=n[0],n[1]!==e||n[2]!==o?(r=(0,i.jsx)("svg",{fill:o,viewBox:"0 0 16 20",xmlns:"http://www.w3.org/2000/svg",...e,children:t}),n[1]=e,n[2]=o,n[3]=r):r=n[3],r}},65784:(e,t,r)=>{"use strict";r.d(t,{T:()=>n});var i=r(26274);let s={creator:i.MU,partner:i.C2,artist:i.DK,user:i.aw},n=(e,t=!1)=>{let r=t?"creator":e?.toLowerCase();return r?s[r]:void 0}},74932:(e,t,r)=>{"use strict";r.d(t,{Q:()=>l,default:()=>c});var i=r(54568),s=r(99680),n=r(7620);let o={panel:"none",setPanel:()=>{}},a=(e,t)=>({...e,panel:t.type}),l=(0,n.createContext)(o),c=e=>{let t,r,c,u=(0,s.c)(6),{children:d}=e,[f,p]=(0,n.useReducer)(a,o);u[0]===Symbol.for("react.memo_cache_sentinel")?(t=e=>{p({type:e})},u[0]=t):t=u[0];let g=t;return u[1]!==f?(r={...f,setPanel:g},u[1]=f,u[2]=r):r=u[2],u[3]!==d||u[4]!==r?(c=(0,i.jsx)(l.Provider,{value:r,children:d}),u[3]=d,u[4]=r,u[5]=c):c=u[5],c}},77187:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var i=r(7620);function s(e,t,r){void 0===t&&(t=0),void 0===r&&(r=[]);var s,n,o,a,l,c,u,d=(void 0===(s=t)&&(s=0),n=(0,i.useRef)(!1),o=(0,i.useRef)(),a=(0,i.useRef)(e),l=(0,i.useCallback)(function(){return n.current},[]),c=(0,i.useCallback)(function(){n.current=!1,o.current&&clearTimeout(o.current),o.current=setTimeout(function(){n.current=!0,a.current()},s)},[s]),u=(0,i.useCallback)(function(){n.current=null,o.current&&clearTimeout(o.current)},[]),(0,i.useEffect)(function(){a.current=e},[e]),(0,i.useEffect)(function(){return c(),u},[s]),[l,u,c]),f=d[0],p=d[1],g=d[2];return(0,i.useEffect)(g,r),[f,p]}},83500:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var i=r(54568),s=r(7620),n=r(75646),o=r(92805),a=r(85129);let l=r(54713).Ay.i.withConfig({componentId:"sc-d571b98-0"})(["display:inline-block;"]),c=({className:e,color:t="#fff",gradient:r,height:c,icon:u,style:d,width:f})=>{let[p,g]=(0,s.useState)({}),v=(0,s.useMemo)(()=>(0,a.f)(u),[u]),m=(0,s.useMemo)(()=>(0,n.F0)((0,i.jsx)(v,{})),[u]),x={height:c,width:f,...d,...p};return(0,s.useEffect)(()=>
1{if(!r)return void g({});let e=`url(data:image/svg+xml,${encodeURIComponent(m)}) center center/${f}px ${c}px no-repeat`;g({background:(0,o.$_)(r),display:"inline-block",WebkitMask:e,mask:e})},[r,c,m,f]),r?(0,i.jsx)(l,{className:e,style:x}):(0,i.jsx)(v,{className:e,color:t,style:x})}},85874:(e,t,r)=>{"use strict";r.d(t,{default:()=>p});var i=r(54568),s=r(74932),n=r(61475),o=r(36119),a=r(5458),l=r(39865),c=r(29306),u=r(19010),d=r(7620),f=r(3135);let p=({gif:e,iconSize:t,className:r="",isFavorite:p,iconClassName:g,hideLabel:v})=>{let{user:m}=(0,d.useContext)(l.A),[x,h]=(0,f.A)("hasSeenLocalFavoritesMessage",!1),{showMessage:y}=(0,d.useContext)(a.J),C=(0,o.jn)(),{setFavorites:b}=(0,d.useContext)(o.Ay),{setPanel:j}=(0,d.useContext)(s.Q);(0,d.useEffect)(()=>{p&&b(t=>[...t,e.id])},[p,e.id,b]);let[w,_]=(0,d.useState)(void 0),N=void 0===w?p:w,[k,S]=(0,d.useState)("Favorite");return(0,d.useEffect)(()=>{let e;return w?(S("Favorited!"),e=setTimeout(()=>{S("Favorite")},2e3),j("favorited")):!1===w&&(e=setTimeout(()=>{S("Favorite")},2e3),S("Removed")),()=>clearTimeout(e)},[w,j]),(0,i.jsxs)("div",{className:r,onClick:async t=>{if(t.preventDefault(),t.stopPropagation(),_(!N),await C(e.id))try{(0,u.Ed)({event:"favorite_success",options:{content:(0,u.Jc)(e),creator:{...(0,u.OV)(e),user_is_creator:m?.id===e.user?.id}}})}catch(e){}m||x||(h(!0),y({message:"Favorite saved! You can access your favorites from the user menu."}))},children:[(0,i.jsx)(n.A,{gradientId:`${e.id}-favorite`,width:t,height:t,className:(0,c.cn)("[--stop-color-1:var(--giphy-white)] [--stop-color-2:var(--giphy-white)]",g,N&&"[--stop-color-1:var(--giphy-pink)] [--stop-color-2:var(--giphy-red)]","Removed"===k&&"[--stop-color-1:var(--giphy-white)]! [--stop-color-2:var(--giphy-white)]!")}),!v&&(0,i.jsx)("label",{className:(0,c.cn)("hidden md:block","text-lg font-bold","Removed"===k?"text-giphyWhite":"from-giphyRed to-giphyPink bg-clip-text group-hover:bg-linear-to-b group-hover:text-transparent"),children:k})]})}},87956:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>Q});var i=r(54568),s=r(99680),n=r(72505),o=r(5817),a=r(85874),l=r(36119),c=r(39865),u=r(29306),d=r(61127),f=r(65784),p=r(902),g=r(7620),v=r(54713),m=r(82576),x=r(82994);let h=v.Ay.div.withConfig({componentId:"sc-17aa61f3-0"})(["position:absolute;bottom:0;color:white;justify-content:flex-start;align-items:flex-end;font-size:12px;white-space:nowrap;padding:4px;overflow:hidden;width:100%;text-overflow:ellipsis;font-weight:bold;background:linear-gradient(180deg,rgba(0,0,0,0) 0%,rgba(0,0,0,0.5) 100%);opacity:",";transition:opacity 300ms;box-sizing:border-box;"],e=>+!!e.$isHovered),y=({tag:e})=>(e=(0,m.Bn)(e))?(0,i.jsxs)("span",{onClick:t=>{t.preventDefault(),t.stopPropagation();let r=(0,x.vz)(e);t.metaKey?window.open(`${location.origin}${r}`):location.href=r},children:["#",e,"\xa0"]}):null,C=e=>{let t,r,n=(0,s.c)(5),{gif:o,isHovered:a}=e;return n[0]!==o.tags?(t=o.tags.map(b),n[0]=o.tags,n[1]=t):t=n[1],n[2]!==a||n[3]!==t?(r=(0,i.jsx)(h,{$isHovered:a,children:t}),n[2]=a,n[3]=t,n[4]=r):r=n[4],r};function b(e){return(0,i.jsx)(y,{tag:e},e)}var j=r(23305),w=r(89785),_=r(16496),N=r(41798),k=r(94613);let S=e=>{let t,r=(0,s.c)(6),{gif:o,isHovered:a,width:l}=e,c=void 0!==a&&a,d=(0,g.useContext)(n.B);if(!d)return null;let{soundOn:f,setSoundOn:p}=d;return r[0]!==o||r[1]!==c||r[2]!==p||r[3]!==f||r[4]!==l?(t="video"===o.type?(0,i.jsxs)("div",{className:"absolute inset-0",children:[f&&c&&(0,i.jsx)(N.Video,{gif:o,width:l||0,height:(0,_._2)(o,l||0),muted:!1,loop:!0}),(0,i.jsx)(k.SoundOnIcon,{onClick:e=>{e.preventDefault(),e.stopPropagation(),p(!f)},color:"#fff",className:(0,u.cn)("absolute top-4 left-4 h-6 w-6 cursor-pointer opacity-70",c&&"opacity-100")})]}):null,r[0]=o,r[1]=c,r[2]=p,r[3]=f,r[4]=l,r[5]=t):t=r[5],t},A="link-icon",L=e=>{let t,r,n,o,a,l=(0,s.c)(10),c=e.id||A;l[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,i.jsx)("stop",{id:"gradient-stop-1",offset:"0%",stopColor:"var(--stop-color-1)"}),r=(0,i.jsx)("stop",{id:"gradient-stop-2",offset:"100%",stopColor:"var(--stop-color-2)"}),l[0]=t,l[1]=r):(t=l[0],r=l[1]),l[2]!==c?(n=(0,i.jsx)("defs",{children:(0,i.jsxs)("linearGradient",{x1:"0%",y1:"10%",x2:"0%",y2:"90%",id:c,children:[t,r]})}),l[2]=c,l[3]=n):n=l[3];
1let u=e.className?.indexOf("--stop-color-1")===-1?"":`url(#${e.id||A})`;return l[4]!==u?(o=(0,i.jsx)("path",{fill:u,d:"M20.397 11.2546L17.5764 14.0751C17.674 13.0113 17.5374 11.9768 17.1665 10.9813L18.6402 9.47835C19.7724 8.33646 19.7724 6.49189 18.6402 5.35977C17.5081 4.22764 15.6635 4.22764 14.5217 5.35977L11.3986 8.45358C10.2664 9.61498 10.2664 11.44 11.3986 12.6014C11.9158 13.0797 11.9158 13.8702 11.3986 14.3582C10.9203 14.8462 10.1298 14.8462 9.64182 14.3582C7.54349 12.2306 7.54349 8.80493 9.64182 6.69684L12.7454 3.60303C14.873 1.46566 18.2986 1.46566 20.397 3.60303C22.5343 5.70135 22.5343 9.127 20.397 11.2546ZM14.3655 17.2958L11.2424 20.4189C9.13432 22.527 5.70867 22.527 3.58107 20.4189C1.47298 18.2913 1.47298 14.8657 3.58107 12.7576L6.43089 9.91753C6.33329 10.9813 6.46993 12.0451 6.8408 13.0406L5.36709 14.5143C4.23496 15.6562 4.23496 17.5008 5.36709 18.6329C6.49921 19.765 8.34378 19.765 9.48567 18.6329L12.5795 15.5391C13.7409 14.407 13.7409 12.5526 12.5795 11.4205C12.0915 10.9325 12.0915 10.1225 12.5795 9.6345C13.0675 9.14652 13.8775 9.14652 14.3655 9.6345C16.4638 11.7621 16.4638 15.1878 14.3655 17.2958Z"}),l[4]=u,l[5]=o):o=l[5],l[6]!==e||l[7]!==n||l[8]!==o?(a=(0,i.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[n,o]}),l[6]=e,l[7]=n,l[8]=o,l[9]=a):a=l[9],a};var R=r(39712),T=r(34874),z=r(19010),E=r(98399),O=r(5458);let M=e=>{let t,r,n,o=(0,s.c)(11),{gif:a,isClip:l}=e,c=void 0!==l&&l,{showMessage:u}=(0,g.useContext)(O.J),{url:d,images:f}=a,{original:p}=f,{url:v}=p;o[0]!==c||o[1]!==v||o[2]!==d?(t=c?d:(0,x.x5)(v),o[0]=c,o[1]=v,o[2]=d,o[3]=t):t=o[3];let m=t;o[4]!==a||o[5]!==m?(r=(0,R.VJ)(a)?(0,T.ck)(m):m,o[4]=a,o[5]=m,o[6]=r):r=o[6];let h=r;return o[7]!==h||o[8]!==a||o[9]!==u?(n=(0,i.jsx)(L,{className:"size-5 fill-giphyWhite transition-transform hover:scale-125",onClick:e=>{e.stopPropagation(),e.preventDefault(),navigator.clipboard.writeText(h),u({message:"Link copied to clipboard!",type:"success"}),(0,z.Ed)({event:"share_success",options:{social:{socialChannel:"share"},content:(0,z.Jc)(a,{rendition:E.m.Original,format:a.images.original.url}),creator:(0,z.OV)(a)}})}}),o[7]=h,o[8]=a,o[9]=u,o[10]=n):n=o[10],n};var $=r(6479),I=r(88267);let P=e=>{let t,r,n,o=(0,s.c)(8),{gif:a,className:l}=e,{addToEdit:c}=(0,g.useContext)(I.iO);return o[0]!==l?(t=(0,u.cn)("size-5 transition-transform hover:scale-110",l),o[0]=l,o[1]=t):t=o[1],o[2]!==c||o[3]!==a.id?(r=e=>{e.stopPropagation(),e.preventDefault(),c(a.id)},o[2]=c,o[3]=a.id,o[4]=r):r=o[4],o[5]!==t||o[6]!==r?(n=(0,i.jsx)($.A,{className:t,onClick:r}),o[5]=t,o[6]=r,o[7]=n):n=o[7],n};var F=r(63522);let H=e=>{let t,r=(0,s.c)(2),{gif:n}=e;return r[0]!==n.is_hidden?(t=n.is_hidden?(0,i.jsx)("div",{className:"pointer-events-none absolute inset-0 flex items-center justify-center select-none",children:(0,i.jsx)(F.A,{className:"size-10 fill-giphyRed"})}):null,r[0]=n.is_hidden,r[1]=t):t=r[1],t},B=e=>{let t,r=(0,s.c)(2),{children:n}=e;return r[0]!==n?(t=(0,i.jsx)("div",{className:"absolute top-0 left-0 h-full w-full",children:n}),r[0]=n,r[1]=t):t=r[1],t},J=e=>{let t,r,n=(0,s.c)(5),{tag:o}=e;return n[0]!==o?(t=e=>{e.preventDefault(),e.stopPropagation(),location.href="/edit/gifs?query="+encodeURIComponent(o)},n[0]=o,n[1]=t):t=n[1],n[2]!==t||n[3]!==o?(r=(0,i.jsxs)("a",{className:"absolute top-1/2 left-1/2 h-9 max-w-full -translate-x-1/2 -translate-y-1/2 transform overflow-hidden rounded-full bg-giphyBlack px-[18px] text-[15px] leading-9 font-bold text-ellipsis whitespace-nowrap text-giphyGreen italic",onClick:t,children:["#",o]}),n[2]=t,n[3]=o,n[4]=r):r=n[4],r},D=e=>{let t,r=(0,s.c)(2),{colorClass:n}=e,o=`absolute top-2 left-2 h-3.5 w-3.5 rounded-full ${n}`;return r[0]!==o?(t=(0,i.jsx)("div",{className:o}),r[0]=o,r[1]=t):t=r[1],t},V=e=>{let t,r,n=(0,s.c)(5),{user:o}=e,a=o?.user_type,l=o?.is_community;n[0]!==a||n[1]!==l?(t=(0,f.T)(a,l),n[0]=a,n[1]=l,n[2]=t):t=n[2];let c=t;return n[3]!==c?(r=c?(0,i.jsx)("div",{"aria-hidden":!0,className:"pointer-events-none absolute inset-x-0 bottom-0 h-1",style:{backgroundColor:c}}):null,n[3]=c,n[4]=r):r=n[4],r},Q=e=>{let t,r,f,v=(0,s.c)(22),{isHovered:m,gif:x,width:h,hideAttribution:y}=e,{user:b}=(0,g.useContext)(c.A),_=(0,l._I)(m?x.id:void 0),N=(0,p.usePathname)(),k=(0,j.Qt)();v[0]!==k||v[1]!==N?(t=k||N.includes("/edit/gifs"),v[0]=k,v[1]=N,v[2]=t):t=v[2];let A=t,{params:L}=(0,g.useContext)(n.B),R=Array.isArray(x.gps_tags)&&"string"==typeof x.gps_tags[0]?x.gps_tags[0]:void 0;v[3]!==x.tags||v[4]!==L?.publicTrending||v[5]!==N?(r=N.includes("/edit/gifs")&&L?.publicTrending==="Yes"&&Array.isArray(x.tags)?x.tags.find(U):void 0,v[3]=x.tags,v[4]=L?.publicTrending,v[5]=N,v[6]=r):r=v[6];let T=r,z=R||T,E=null;
1if(Array.isArray(x.tags)){if(x.tags.includes("giphytrending")){let e;v[7]===Symbol.for("react.memo_cache_sentinel")?(e=(0,i.jsx)(D,{colorClass:"bg-giphyGreen"}),v[7]=e):e=v[7],E=e}else if(x.tags.includes("giphytrendingqueue")){let e;v[8]===Symbol.for("react.memo_cache_sentinel")?(e=(0,i.jsx)(D,{colorClass:"bg-blue-500"}),v[8]=e):e=v[8],E=e}else if(x.tags.includes("giphytrendingschedule")){let e;v[9]===Symbol.for("react.memo_cache_sentinel")?(e=(0,i.jsx)(D,{colorClass:"bg-yellow-400"}),v[9]=e):e=v[9],E=e}}return v[10]!==k||v[11]!==x||v[12]!==y||v[13]!==z||v[14]!==_||v[15]!==m||v[16]!==N||v[17]!==A||v[18]!==E||v[19]!==b||v[20]!==h?(f=k?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(S,{gif:x,isHovered:m,width:h}),(0,i.jsx)(H,{gif:x}),(0,i.jsx)(o.z,{isHovered:m,gif:x,width:h}),A&&(0,i.jsx)(V,{user:x.user})]}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(S,{gif:x,isHovered:m,width:h}),!m&&E,m&&z?(0,i.jsxs)(B,{children:[(0,i.jsxs)("div",{className:"absolute top-2.5 right-2.5 flex items-center gap-3 rounded-md bg-giphyBlack/10 p-2",children:[b&&(0,d.p2)(b,x)&&(0,i.jsx)(P,{gif:x}),(0,i.jsx)(a.default,{hideLabel:!0,gif:x,className:(0,u.cn)("size-5 fill-giphyWhite opacity-5 duration-300 ease-in-out",(void 0!==_||!b)&&"opacity-100"),iconClassName:"hover:scale-110 transition-all",isFavorite:!!_}),(0,i.jsx)(M,{gif:x})]}),(0,i.jsx)(J,{tag:z})]}):m&&(0,i.jsxs)("div",{className:"absolute top-2.5 right-2.5 flex items-center gap-3 rounded-md bg-giphyBlack/10 p-2",children:[b&&(0,d.p2)(b,x)&&(0,i.jsx)(P,{gif:x}),(0,i.jsx)(a.default,{hideLabel:!0,gif:x,className:(0,u.cn)("size-5 fill-giphyWhite opacity-5 duration-300 ease-in-out",(void 0!==_||!b)&&"opacity-100"),iconClassName:"hover:scale-110 transition-all",isFavorite:!!_}),(0,i.jsx)(M,{gif:x})]}),!y&&(0,i.jsx)(i.Fragment,{children:x.user&&0!==N.indexOf(`/${x.user.username}`)?(0,i.jsx)(w.e,{gif:x,width:h,isHovered:m}):(0,i.jsx)(C,{gif:x,isHovered:m,width:h})}),(0,i.jsx)(H,{gif:x}),A&&(0,i.jsx)(V,{user:x.user})]}),v[10]=k,v[11]=x,v[12]=y,v[13]=z,v[14]=_,v[15]=m,v[16]=N,v[17]=A,v[18]=E,v[19]=b,v[20]=h,v[21]=f):f=v[21],f};function U(e){return"string"==typeof e&&e.trim()&&!["giphytrending","giphytrendingqueue","giphytrendingschedule"].includes(e)}},98399:(e,t,r)=>{"use strict";r.d(t,{m:()=>i});let i={Small:"downsized",Social:"fixed_width",Original:"original",OriginalStill:"original_still",MP4:"original_mp4"}}}]);
2//# sourceMappingURL=9201.5fa8913202cdebeb.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.