PageSourceSearch

https://cdn.buymeacoffee.com/static/prod/1052/build/assets/EmojiPicker-BAM8DU2y.js

js buymeacoffee.com collected 2026-09-24 06:04:33 UTC 172,200 bytes, 230 lines download raw bytes

1import{a as e,i as t,n,o as r,r as i,t as a}from"./rolldown-runtime-DAXXjFlN.js";import{E as o,o as s}from"./dist-DiEP1Qns.js";import{D as c,Ht as l,On as u,T as d,Yt as f,Zn as p,_ as m,b as h,bt as g,ct as _,er as v,ft as y,mt as b,o as x,qt as S,tr as C,un as w,v as T,vn as E,xt as D,y as O}from"./runtime-core.esm-bundler-BKdLzFmX.js";import{t as k}from"./appVariables-if8fQ3xE.js";import{t as A}from"./_plugin-vue_export-helper-BDNMzG2s.js";import{t as j}from"./Search-CEzinYQA.js";import{t as M}from"./Input-DIU8PGUv.js";import{t as N}from"./Close-D2uHUzBO.js";import{t as P}from"./helper-D5ziWoUd.js";import{t as F}from"./lodash-BOrJCwl2.js";import{t as I}from"./CircularLoader-C_Fn2BEL.js";var L={"Frequently used":{categoryName:`frequently_used`,emojis:{thumbs_up:`👍`,sob:`😭`,confused:`😕`,neutral_face:`😐`,blush:`😊`,heart_eyes:`😍`}},"Smileys & People":{categoryName:`smileys_people`,emojis:{smile:`😄`,smiley:`😃`,grinning:`😀`,blush:`😊`,innocent:`😇`,smiling_face_with_three_hearts:`🥰`,wink:`😉`,heart_eyes:`😍`,star_struck:`🤩`,kissing_heart:`😘`,kissing_closed_eyes:`😚`,kissing:`😗`,kissing_smiling_eyes:`😙`,smiling_face_with_tear:`🥲`,stuck_out_tongue_winking_eye:`😜`,stuck_out_tongue_closed_eyes:`😝`,stuck_out_tongue:`😛`,money_mouth_face:`🤑`,hugs:`🤗`,hand_over_mouth:`🤭`,zipper_mouth_face:`🤐`,raised_eyebrow:`🤨`,shushing_face:`🤫`,thinking:`🤔`,zany_face:`🤪`,flushed:`😳`,pleading_face:`🥺`,slightly_smiling_face:`🙂`,grin:`😁`,pensive:`😔`,relieved:`😌`,unamused:`😒`,roll_eyes:`🙄`,disappointed:`😞`,persevere:`😣`,upside_down_face:`🙃`,cry:`😢`,joy:`😂`,sob:`😭`,sleepy:`😪`,drooling_face:`🤤`,disappointed_relieved:`😥`,cold_sweat:`😰`,sweat_smile:`😅`,sweat:`😓`,weary:`😩`,tired_face:`😫`,yawning_face:`🥱`,fearful:`😨`,scream:`😱`,angry:`😠`,rage:`😡`,cursing_face:`🤬`,smiling_imp:`😈`,triumph:`😤`,confounded:`😖`,laughing:`😆`,yum:`😋`,mask:`😷`,face_with_thermometer:`🤒`,face_with_head_bandage:`🤕`,nauseated_face:`🤢`,vomiting_face:`🤮`,sneezing_face:`🤧`,hot_face:`🥵`,woozy_face:`🥴`,rofl:`🤣`,sunglasses:`😎`,sleeping:`😴`,nerd_face:`🤓`,monocle_face:`🧐`,dizzy_face:`😵`,exploding_head:`🤯`,cowboy_hat_face:`🤠`,partying_face:`🥳`,disguised_face:`🥸`,astonished:`😲`,worried:`😟`,slightly_frowning_face:`🙁`,frowning:`😦`,anguished:`😧`,imp:`👿`,open_mouth:`😮`,grimacing:`😬`,lying_face:`🤥`,neutral_face:`😐`,confused:`😕`,hushed:`😯`,smirk:`😏`,expressionless:`😑`,no_mouth:`😶`,man_with_gua_pi_mao:`👲`,man_with_turban:`👳`,cop:`👮`,construction_worker:`👷`,guardsman:`💂`,baby:`👶`,boy:`👦`,girl:`👧`,man:`👨`,woman:`👩`,older_man:`👴`,older_woman:`👵`,person_with_blond_hair:`👱`,angel:`👼`,princess:`👸`,smiley_cat:`😺`,smile_cat:`😸`,heart_eyes_cat:`😻`,kissing_c
1at:`😽`,smirk_cat:`😼`,scream_cat:`🙀`,crying_cat_face:`😿`,joy_cat:`😹`,pouting_cat:`😾`,japanese_ogre:`👹`,japanese_goblin:`👺`,see_no_evil:`🙈`,hear_no_evil:`🙉`,speak_no_evil:`🙊`,skull:`💀`,alien:`👽`,clown_face:`🤡`,hankey:`💩`,fire:`🔥`,sparkles:`✨`,star2:`🌟`,dizzy:`💫`,boom:`💥`,anger:`💢`,sweat_drops:`💦`,droplet:`💧`,zzz:`💤`,dash:`💨`,ear:`👂`,eyes:`👀`,nose:`👃`,tongue:`👅`,hole:`🕳️`,lips:`👄`,thumbs_up:`👍`,thumbs_down:`👎`,"-1":`👎`,ok_hand:`👌`,facepunch:`👊`,fist_left:`🤛`,fist_right:`🤜`,fist:`✊`,wave:`👋`,raised_back_of_hand:`🤚`,raised_hand_with_fingers_splayed:`🖐️`,hand:`✋`,pinched_fingers:`🤌`,pinching_hand:`🤏`,crossed_fingers:`🤞`,love_you_gesture:`🤟`,call_me_hand:`🤙`,metal:`🤘`,open_hands:`👐`,palms_up_together:`🤲`,handshake:`🤝`,point_up_2:`👆`,point_down:`👇`,point_right:`👉`,point_left:`👈`,middle_finger:`🖕`,raised_hands:`🙌`,vulcan_salute:`🖖`,pray:`🙏`,clap:`👏`,muscle:`💪`,walking:`🚶`,runner:`🏃`,dancer:`💃`,couple:`👫`,family:`👪`,couplekiss:`💏`,couple_with_heart:`💑`,dancers:`👯`,ok_woman:`🙆`,no_good:`🙅`,information_desk_person:`💁`,raising_hand:`🙋`,massage:`💆`,haircut:`💇`,nail_care:`💅`,selfie:`🤳`,bride_with_veil:`👰`,person_with_pouting_face:`🙎`,person_frowning:`🙍`,bow:`🙇`,tophat:`🎩`,crown:`👑`,womans_hat:`👒`,athletic_shoe:`👟`,mans_shoe:`👞`,sandal:`👡`,high_heel:`👠`,boot:`👢`,shirt:`👕`,necktie:`👔`,womans_clothes:`👚`,dress:`👗`,running_shirt_with_sash:`🎽`,jeans:`👖`,kimono:`👘`,bikini:`👙`,briefcase:`💼`,handbag:`👜`,pouch:`👝`,purse:`👛`,eyeglasses:`👓`,ribbon:`🎀`,closed_umbrella:`🌂`,lipstick:`💄`,yellow_heart:`💛`,orange_heart:`🧡`,blue_heart:`💙`,purple_heart:`💜`,green_heart:`💚`,black_heart:`🖤`,white_heart:`🤍`,broken_heart:`💔`,heartpulse:`💗`,heartbeat:`💓`,two_hearts:`💕`,sparkling_heart:`💖`,revolving_hearts:`💞`,gift_heart:`💝`,cupid:`💘`,love_letter:`💌`,kiss:`💋`,ring:`💍`,gem:`💎`,bust_in_silhouette:`👤`,speech_balloon:`💬`,eye_speech_bubble:`👁️‍`,thought_balloon:`💭`,footprints:`👣`}},"Animals & Nature":{categoryName:`animals_nature`,emojis:{dog:`🐶`,wolf:`🐺`,cat:`🐱`,mouse:`🐭`,hamster:`🐹`,rabbit:`🐰`,frog:`🐸`,tiger:`🐯`,koala:`🐨`,bear:`🐻`,pig:`🐷`,pig_nose:`🐽`,cow:`🐮`,boar:`🐗`,monkey_face:`🐵`,monkey:`🐒`,horse:`🐴`,sheep:`🐑`,elephant:`🐘`,panda_face:`🐼`,penguin:`🐧`,bird:`🐦`,baby_chick:`🐤`,hatched_chick:`🐥`,hatching_chick:`🐣`,chicken:`🐔`,snake:`🐍`,turtle:`🐢`,bug:`🐛`,bee:`🐝`,ant:`🐜`,beetle:`🐞`,snail:`🐌`,octopus:`🐙`,shell:`🐚`,tropical_fish:`🐠`,fish:`🐟`,dolphin:`🐬`,whale:`🐳`,racehorse:`🐎`,dragon_face:`🐲`,blowfish:`🐡`,camel:`🐫`,poodle:`🐩`,feet:`🐾`,bouquet:`💐`,cherry_blossom:`🌸`,tulip:`🌷`,four_leaf_clover:`🍀`,rose:`🌹`,sunflower:`🌻`,hibiscus:`🌺`,maple_leaf:`🍁`,leaves:`🍃`,fallen_leaf:`🍂`,herb:`🌿`,ear_of_rice:`🌾`,mushroom:`🍄`,cactus:`🌵`,palm_tree:`🌴`,chestnut:`🌰`,seedling:`🌱`,blossom:`🌼`,new_moon:`🌑`,first_quarter_moon:`🌓`,moon:`🌔`,full_moon:`🌕`,first_quarter_moon_with_face:`🌛`,crescent_moon:`🌙`,earth_asia:`🌏`,volcano:`🌋`,milky_way:`🌌`,stars:`🌠`,partly_sunny:`⛅`,snowman:`⛄`,cyclone:`🌀`,foggy:`🌁`,rainbow:`🌈`,ocean:`🌊`}},"Food & Drinks":{categoryName:`food_drinks`,emojis:{tea:`🍵`,coffee:`☕`,sake:`🍶`,beer:`🍺`,beers:`🍻`,cocktail:`🍸`,tropical_drink:`🍹`,wine_glass:`🍷`,fork_and_knife:`🍴`,pizza:`🍕`,hamburger:`🍔`,fries:`🍟`,poultry_leg:`🍗`,meat_on_bone:`🍖`,spaghetti:`🍝`,curry:`🍛`,fried_shrimp:`🍤`,bento:`🍱`,sushi:`🍣`,fish_cake:`🍥`,rice_ball:`🍙`,rice_cracker:`🍘`,rice:`🍚`,ramen:`🍜`,stew:`🍲`,oden:`🍢`,dango:`🍡`,egg:`🍳`,bread:`🍞`,doughnut:`🍩`,custard:`🍮`,icecream:`🍦`,ice_cream:`🍨`,shaved_ice:`🍧`,birthday:`🎂`,cake:`🍰`,cookie:`🍪`,chocolate_bar:`🍫`,candy:`🍬`,lollipop:`🍭`,honey_pot:`🍯`,apple:`🍎`,green_apple:`🍏`,tangerine:`🍊`,cherries:`🍒`,grapes:`🍇`,watermelon:`🍉`,strawberry:`🍓`,peach:`🍑`,melon:`🍈`,banana:`🍌`,pineapple:`🍍`,sweet_potato:`🍠`,eggplant:`🍆`,tomato:`🍅`,corn:`🌽`}},"Travel & Places":{categoryName:`travel_places`,emojis:{house:`🏠`,house_with_garden:`🏡`,school:`🏫`,office:`🏢`,post_office:`🏣`,hospital:`🏥`,bank:`🏦`,convenience_store:`🏪`,love_hotel:`🏩`,hotel:`🏨`,wedding:`💒`,church:`⛪`,department_store:`🏬`,city_sunrise:`🌇`,city_sunset:`🌆`,japanese_castle:`🏯`,european_castle:`🏰`,tent:`⛺`,factory:`🏭`,tokyo_tower:`🗼`,japan:`🗾`,mount_fuji:`🗻`,sunrise_over_mountains:`🌄`,sunrise:`🌅`,night_with_stars:`🌃`,statue_of_liberty:`🗽`,bridge_at_night:`🌉`,carousel_horse:`🎠`,ferris_wheel:`🎡`,fountain:`⛲`,roller_coaster:`🎢`,ship:`🚢`,boat:`⛵`,speedboat:`🚤`,rocket:`🚀`,seat:`💺`,station:`🚉`,bullettrain_side:`🚄`,bullettrain_front:`🚅`,metro:`🚇`,railway_car:`🚃`,bus:`🚌`,blue_car:`🚙`,car:`🚗`,taxi:`🚕`,truck:`🚚`,rotating_light:`🚨`,police_car:`🚓`,fire_engine:`🚒`,ambulance:`🚑`,bike:`🚲`,barber:`💈`,busstop:`🚏`,ticket:`🎫`,traffic_light:`🚥`,construction:`🚧`,beginner:`🔰`,fuelpump:`⛽`,izakaya_lantern:`🏮`,slot_machine:`🎰`,moyai:`🗿`,circus_tent:`🎪`,performing_arts:`🎭`,round_pushpin:`📍`,triangular_flag_on_post:`🚩`}},Objects:{categoryName:`objects`,emojis:{bamboo:`🎍`,dolls:`🎎`,school_satchel:`🎒`,mortar_board:`🎓`,flags:`🎏`,fireworks:`🎆`,sparkler:`🎇`,wind_chime:`🎐`,rice_scene:`🎑`,jack_o_lantern:`🎃`,ghost:`👻`,santa:`🎅`,christmas_tree:`🎄`,gift:`🎁`,tanabata_tree:`🎋`,tada:`🎉`,confetti_ball:`🎊`,balloon:`🎈`,crossed_flags:`🎌`,crystal_ball:`🔮`,movie_camera:`🎥`,camera:`📷`,video_camera:`📹`,vhs:`📼`,cd:`💿`,dvd:`📀`,minidisc:`💽`,floppy_disk:`💾`,computer:`💻`,iphone:`📱`,telephone_receiver:`📞`,pager:`📟`,fax:`📠`,satellite:`📡`,tv:`📺`,radio:`📻`,loud_sound:`🔊`,bell:`🔔`,loudspeaker:`📢`,mega:`📣`,hourglass_flowing_sand:`⏳`,hourglass:`⌛`,alarm_clock:`⏰`,watch:`⌚`,unlock:`🔓`,lock:`🔒`,lock_with_ink_pen:`🔏`,closed_lock_with_key:`🔐`,key:`🔑`,mag_right:`🔎`,bulb:`💡`,flashlight:`🔦`,electric_plug:`🔌`,battery:`🔋`,mag:`🔍`,bath:`🛀`,toilet:`🚽`,wrench:`🔧`,nut_and_bolt:`🔩`,hammer:`🔨`,door:`🚪`,smoking:`🚬`,bomb:`💣`,gun:`🔫`,hocho:`🔪`,pill:`💊`,syringe:`💉`,moneybag:`💰`,yen:`💴`,dollar:`💵`,credit_card:`💳`,money_with_wings:`💸`,calling:`📲`,"e-mail":`📧`,inbox_tray:`📥`,outbox_tray:`📤`,envelope_with_arrow:`📩`,incoming_envelope:`📨`,mailbox:`📫`,mailbox_closed:`📪`,postbox:`📮`,package:`📦`,memo:`📝`,page_facing_up:`📄`,page_with_curl:`📃`,bookmark_tabs:`📑`,bar_chart:`📊`,chart_with_upwards_trend:`📈`,chart_with_downwards_trend:`📉`,scroll:`📜`,clipboard:`📋`,date:`📅`,calendar:`📆`,card_index:`📇`,file_folder:`📁`,open_file_folder:`📂`,pushpin:`📌`,paperclip:`📎`,straight_ruler:`📏`,triangular_ruler:`📐`,closed_book:`📕`,green_book:`📗`,blue_book:`📘`,orange_book:`📙`,notebook:`📓`,notebook_with_decorative_cover:`📔`,ledger:`📒`,books:`📚`,book:`📖`,bookmark:`🔖`,name_badge:`📛`,newspaper:`📰`,art:`🎨`,clapper:`🎬`,microphone:`🎤`,headphones:`🎧`,musical_score:`🎼`,musical_note:`🎵`,notes:`🎶`,musical_keyboard:`🎹`,violin:`🎻`,trumpet:`🎺`,saxophone:`🎷`,guitar:`🎸`,space_invader:`👾`,robot:`🤖`,video_game:`🎮`,black_joker:`🃏`,flower_playing_cards:`🎴`,mahjong:`🀄`,game_die:`🎲`,dart:`🎯`,football:`🏈`,basketball:`🏀`,soccer:`⚽`,baseball:`⚾`,tennis:`🎾`,"8ball":`🎱`,bowling:`🎳`,golf:`⛳`,checkered_flag:`🏁`,trophy:`🏆`,ski:`🎿`,snowboarder:`🏂`,swimmer:`🏊`,surfer:`🏄`,fishing_pole_and_fish:`🎣`}},Symbols:{categoryName:`symbols`,emojis:{keycap_ten:`🔟`,1234:`🔢`,symbols:`🔣`,capital_abcd:`🔠`,abcd:`🔡`,abc:`🔤`,arrow_up_small:`🔼`,arrow_down_small:`🔽`,rewind:`⏪`,fast_forward:`⏩`,arrow_double_up:`⏫`,arrow_double_down:`⏬`,ok:`🆗`,new:`🆕`,up:`🆙`,cool:`🆒`,free:`🆓`,ng:`🆖`,signal_strength:`📶`,cinema:`🎦`,koko:`🈁`,u6307:`🈯`,u7a7a:`🈳`,u6e80:`🈵`,u5408:`🈴`,u7981:`🈲`,ideograph_advantage:`🉐`,u5272:`🈹`,u55b6:`🈺`,u6709:`🈶`,u7121:`🈚`,restroom:`🚻`,mens:`🚹`,womens:`🚺`,baby_symbol
1:`🚼`,wc:`🚾`,no_smoking:`🚭`,u7533:`🈸`,accept:`🉑`,cl:`🆑`,sos:`🆘`,id:`🆔`,no_entry_sign:`🚫`,underage:`🔞`,no_entry:`⛔`,negative_squared_cross_mark:`❎`,white_check_mark:`✅`,heart_decoration:`💟`,vs:`🆚`,vibration_mode:`📳`,mobile_phone_off:`📴`,ab:`🆎`,diamond_shape_with_a_dot_inside:`💠`,ophiuchus:`⛎`,six_pointed_star:`🔯`,atm:`🏧`,chart:`💹`,heavy_dollar_sign:`💲`,currency_exchange:`💱`,x:`❌`,exclamation:`❗`,question:`❓`,grey_exclamation:`❕`,grey_question:`❔`,o:`⭕`,top:`🔝`,end:`🔚`,back:`🔙`,on:`🔛`,soon:`🔜`,arrows_clockwise:`🔃`,clock12:`🕛`,clock1:`🕐`,clock2:`🕑`,clock3:`🕒`,clock4:`🕓`,clock5:`🕔`,clock6:`🕕`,clock7:`🕖`,clock8:`🕗`,clock9:`🕘`,clock10:`🕙`,clock11:`🕚`,heavy_plus_sign:`➕`,heavy_minus_sign:`➖`,heavy_division_sign:`➗`,white_flower:`💮`,100:`💯`,radio_button:`🔘`,link:`🔗`,curly_loop:`➰`,trident:`🔱`,small_red_triangle:`🔺`,black_square_button:`🔲`,white_square_button:`🔳`,red_circle:`🔴`,large_blue_circle:`🔵`,small_red_triangle_down:`🔻`,white_large_square:`⬜`,black_large_square:`⬛`,large_orange_diamond:`🔶`,large_blue_diamond:`🔷`,small_orange_diamond:`🔸`,small_blue_diamond:`🔹`}}},R=[];for(let e=0;e<256;++e)R.push((e+256).toString(16).slice(1));function z(e,t=0){return(R[e[t+0]]+R[e[t+1]]+R[e[t+2]]+R[e[t+3]]+`-`+R[e[t+4]]+R[e[t+5]]+`-`+R[e[t+6]]+R[e[t+7]]+`-`+R[e[t+8]]+R[e[t+9]]+`-`+R[e[t+10]]+R[e[t+11]]+R[e[t+12]]+R[e[t+13]]+R[e[t+14]]+R[e[t+15]]).toLowerCase()}var B,V=new Uint8Array(16);function H(){if(!B){if(typeof crypto>`u`||!crypto.getRandomValues)throw Error(`crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported`);B=crypto.getRandomValues.bind(crypto)}return B(V)}var ee={randomUUID:typeof crypto<`u`&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function te(e,t,n){if(ee.randomUUID&&!t&&!e)return ee.randomUUID();e||={};let r=e.random??e.rng?.()??H();if(r.length<16)throw Error(`Random bytes length must be >= 16`);if(r[6]=r[6]&15|64,r[8]=r[8]&63|128,t){if(n||=0,n<0||n+16>t.length)throw RangeError(`UUID byte range ${n}:${n+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[n+e]=r[e];return t}return z(r)}var U={ENABLED:typeof window<`u`&&typeof location<`u`&&location.search.indexOf(`giphy-debug`)!==-1,LEVEL:0,PREFIX:`GiphyJS`,debug:(...e)=>{U.ENABLED&&U.LEVEL<=0&&console.debug(U.PREFIX,...e)},info:(...e)=>{U.ENABLED&&U.LEVEL<=1&&console.info(U.PREFIX,...e)},warn:(...e)=>{U.ENABLED&&U.LEVEL<=2&&console.warn(U.PREFIX,...e)},error:(...e)=>{U.ENABLED&&U.LEVEL<=3&&console.error(U.PREFIX,...e)}},W=``,G=16,K=()=>{let e=``;for(let t=0;t<G;t++)e+=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789`.charAt(Math.floor(Math.random()*62));return e},ne=()=>{if(!W){try{W=sessionStorage.getItem(`giphyPingbackId`)}catch{}if(!W){let e=new Date().getTime().toString(16);try{W=`${e}${te().replace(/-/g,``)}`.substring(0,G)}catch{W=K()}try{sessionStorage.setItem(`giphyPingbackId`,W)}catch{}}}return W},q=null;new Promise(e=>{typeof Image>`u`&&e(!1);let t=new Image;t.onload=()=>{q=!0,e(q)},t.onerror=()=>{q=!1,e(q)},t.src=`data:image/webp;base64,UklGRjoAAABXRUJQVlA4IC4AAACyAgCdASoCAAIALmk0mk0iIiIiIgBoSygABc6WWgAA/veff/0PP8bA//LwYAAA`});var re=(typeof window<`u`?window:global)||{};re._GIPHY_SDK_HEADERS_=re._GIPHY_SDK_HEADERS_||(re.Headers?new re.Headers({"X-GIPHY-SDK-PLATFORM":`web`}):void 0);var ie=()=>re._GIPHY_SDK_HEADERS_,ae=(e,t)=>ie()?.set(e,t),oe=Object.defineProperty,se=Object.defineProperties,ce=Object.getOwnPropertyDescriptors,le=Object.getOwnPropertyNames,ue=Object.getOwnPropertySymbols,de=Object.prototype.hasOwnProperty,fe=Object.prototype.propertyIsEnumerable,pe=(e,t,n)=>t in e?oe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,me=(e,t)=>{for(var n in t||={})de.call(t,n)&&pe(e,n,t[n]);if(ue)for(var n of ue(t))fe.call(t,n)&&pe(e,n,t[n]);return e},he=(e,t)=>se(e,ce(t)),ge=(e=>t===void 0?typeof Proxy<`u`?new Proxy(e,{get:(e,n)=>(t===void 0?e:t)[n]}):e:t)(function(e){if(t!==void 0)return t.apply(this,arguments);throw Error(`Dynamic require of "`+e+`" is not supported`)}),_e=(e,t)=>
1function(){return t||(0,e[le(e)[0]])((t={exports:{}}).exports,t),t.exports},ve=(e,t,n)=>new Promise((r,i)=>{var a=e=>{try{s(n.next(e))}catch(e){i(e)}},o=e=>{try{s(n.throw(e))}catch(e){i(e)}},s=e=>e.done?r(e.value):Promise.resolve(e.value).then(a,o);s((n=n.apply(e,t)).next())}),ye=_e({"package.json"(e,t){t.exports={scripts:{lint:`run -T eslint . --ext .ts,.tsx`,clean:`rm -rf ./dist`,dev:`parcel public/test.html`,docs:`typedoc src/index.ts`,build:`run -T tsup src/index.ts --format cjs,esm --dts && run -T publint`,prepublish:`npm run clean && npm run build`,test:`run -T jest --config ./jestconfig.js`,"test:watch":`run -T jest --config ./jestconfig.js --watchAll`},name:`@giphy/js-fetch-api`,version:`5.8.0`,description:`Javascript API to fetch gifs and stickers from the GIPHY API.`,homepage:`https://github.com/Giphy/giphy-js/tree/master/packages/fetch-api`,repository:{type:`git`,url:`https://github.com/Giphy/giphy-js`,directory:`packages/fetch-api`},main:`dist/index.cjs`,types:`dist/index.d.ts`,module:`dist/index.js`,type:`module`,sideEffects:!1,exports:{".":{types:`./dist/index.d.ts`,import:`./dist/index.js`,require:`./dist/index.cjs`},"./package.json":`./package.json`},files:[`dist/`,`src/**/*`],license:`MIT`,publishConfig:{access:`public`},dependencies:{"@giphy/js-types":`*`,"@giphy/js-util":`*`},devDependencies:{"jest-fetch-mock":`^3.0.3`,"parcel-bundler":`latest`,typedoc:`^0.20.37`,"typedoc-thunder-theme":`^0.0.3`,typescript:`^5.0.4`}}}}),be=((typeof window<`u`?window:global)||{}).GIPHY_API_URL||`https://api.giphy.com/v1/`,xe=`pg-13`,Se=[`is_anonymous`,`is_community`,`is_featured`,`is_hidden`,`is_indexable`,`is_preserve_size`,`is_realtime`,`is_removed`,`is_sticker`,`is_dynamic`],Ce=[`suppress_chrome`,`is_public`,`is_verified`],we=e=>t=>e[t]=!!e[t],Te=e=>typeof e==`string`?e:e.text,Ee=(e,t=``)=>{let n=me({},e);n.id=String(n.id),n.tags=(n.tags||[]).map(Te),n.bottle_data||={},n.response_id=t,Se.forEach(we(n)),Object.keys(n.images||{}).forEach(e=>{let t=n.images[e];t.width=parseInt(t.width),t.height=parseInt(t.height)});let{user:r}=n;if(r){let e=me({},r);Ce.forEach(we(e)),n.user=e}return n},De=e=>{let{response_id:t}=e.meta;return e.data=Ee(e.data,t),e},Oe=e=>{let{response_id:t}=e.meta;return e.data=e.data.map(e=>Ee(e,t)),e},ke=class extends Error{constructor(e,t,n=0,r=``){super(e),this.url=t,this.status=n,this.statusText=r}},Ae=class extends ke{},je=ke,Me=`@giphy/js-fetch-api: `,Ne=`Error fetching`,Pe=e=>e,Fe={},Ie=6e4,Le=6e3,Re=()=>{let e=Date.now();Object.keys(Fe).forEach(t=>{let n=Fe[t].isError?Le:Ie;e-Fe[t].ts>=n&&delete Fe[t]})};function ze(e,t={}){let{apiVersion:n=1,noCache:r=!1,normalizer:i=Pe}=t,a=be.replace(/\/v\d+\/$/,`/v${n}/`);if(Re(),!Fe[e]||r){let t=`${a}${e}`;Fe[e]={request:ve(this,null,function*(){let n;try{let r=yield fetch(t,{method:`get`});if(r.ok){let e=yield r.json();if(e.meta?.response_id)return i(e);throw{message:`synthetic response`}}else{let i=Ne;try{let e=yield r.json();e.message&&(i=e.message),e.meta?.msg&&(i=e.meta.msg)}catch{}Fe[e]&&(Fe[e].isError=!0);let a=je;i===`This content is not available in your location`&&(a=Ae),n=new a(`${Me}${i}`,t,r.status,r.statusText)}}catch(r){n=new je(r.message,t),Fe[e]&&(Fe[e].isError=!0)}throw n}),ts:Date.now()}}return Fe[e].request}var Be=ze,Ve=e=>e&&e.type?e.type:`gifs`,He=class{constructor(e,t={}){this.getQS=(e={})=>new URLSearchParams(me(he(me({},e),{api_key:this.apiKey,pingback_id:ne()}),this.qsParams)).toString(),this.apiKey=e,this.qsParams=t}categories(e){return Be(`gifs/categories?${this.getQS(e)}`)}gif(e,t){return Be(`${t?.internal?`internal/`:``}gifs/${e}?${this.getQS()}`,{normalizer:De})}gifs(e,t){return Be(Array.isArray(e)?`gifs?${this.getQS({ids:e.join(`,`)})}`:`gifs/categories/${e}/${t}?${this.getQS()}`,{normalizer:Oe})}emoji(e){return Be(`emoji?${this.getQS(e)}`,{normalizer:Oe})}emojiDefaultVariations(e){return Be(`emoji?${this.getQS(e)}
1`,{apiVersion:2,normalizer:Oe})}emojiVariations(e){return Be(`emoji/${e}/variations?${this.getQS()}`,{apiVersion:2,normalizer:Oe})}animate(e,t={}){return Be(`text/animate?${this.getQS(he(me({},t),{m:e}))}`,{normalizer:Oe})}search(e,t={}){let n=t.channel?`@${t.channel} ${e}`:e,r;t.type===`text`&&(r=!0);let i=this.getQS(he(me({rating:xe},t),{q:n,excludeDynamicResults:r}));return Be(`${Ve(t)}/search?${i}`,{normalizer:Oe})}subcategories(e,t){return Be(`gifs/categories/${e}?${this.getQS(t)}`)}trending(e={}){return Be(`${Ve(e)}/trending?${this.getQS(me({rating:xe},e))}`,{normalizer:Oe})}random(e){return Be(`${Ve(e)}/random?${this.getQS(me({rating:xe},e||{}))}`,{noCache:!0,normalizer:De})}related(e,t={}){let{type:n=`gifs`}=t;return Be(`${n}/related?${this.getQS(me({gif_id:e,rating:xe},t))}`,{normalizer:Oe})}channels(e,t={}){return Be(`channels/search?${this.getQS(me({q:e,rating:xe},t))}`)}};if(ge!==void 0){let{version:e}=ye();ie()?.get(`X-GIPHY-SDK-NAME`)||(ae(`X-GIPHY-SDK-NAME`,`FetchAPI`),ae(`X-GIPHY-SDK-VERSION`,e))}var Ue=a((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=`ffffffff-ffff-ffff-ffff-ffffffffffff`})),We=a((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=`00000000-0000-0000-0000-000000000000`})),Ge=a((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/i})),Ke=a((e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Ge();function n(e){return typeof e==`string`&&t.default.test(e)}e.default=n})),qe=a((e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Ke();function n(e){if(!(0,t.default)(e))throw TypeError(`Invalid UUID`);let n;return Uint8Array.of((n=parseInt(e.slice(0,8),16))>>>24,n>>>16&255,n>>>8&255,n&255,(n=parseInt(e.slice(9,13),16))>>>8,n&255,(n=parseInt(e.slice(14,18),16))>>>8,n&255,(n=parseInt(e.slice(19,23),16))>>>8,n&255,(n=parseInt(e.slice(24,36),16))/1099511627776&255,n/4294967296&255,n>>>24&255,n>>>16&255,n>>>8&255,n&255)}e.default=n})),Je=a((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.unsafeStringify=void 0;var t=Ke(),n=[];for(let e=0;e<256;++e)n.push((e+256).toString(16).slice(1));function r(e,t=0){return(n[e[t+0]]+n[e[t+1]]+n[e[t+2]]+n[e[t+3]]+`-`+n[e[t+4]]+n[e[t+5]]+`-`+n[e[t+6]]+n[e[t+7]]+`-`+n[e[t+8]]+n[e[t+9]]+`-`+n[e[t+10]]+n[e[t+11]]+n[e[t+12]]+n[e[t+13]]+n[e[t+14]]+n[e[t+15]]).toLowerCase()}e.unsafeStringify=r;function i(e,n=0){let i=r(e,n);if(!(0,t.default)(i))throw TypeError(`Stringified UUID is invalid`);return i}e.default=i})),Ye=a((e=>{Object.defineProperty(e,"__esModule",{value:!0});var t,n=new Uint8Array(16);function r(){if(!t){if(typeof crypto>`u`||!crypto.getRandomValues)throw Error(`crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported`);t=crypto.getRandomValues.bind(crypto)}return t(n)}e.default=r})),Xe=a((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.updateV1State=void 0;var t=Ye(),n=Je(),r={};function i(e,i,s){let c,l=e?._v6??!1;if(e){let t=Object.keys(e);t.length===1&&t[0]===`_v6`&&(e=void 0)}if(e)c=o(e.random??e.rng?.()??(0,t.default)(),e.msecs,e.nsecs,e.clockseq,e.node,i,s);else{let e=Date.now(),n=(0,t.default)();a(r,e,n),c=o(n,r.msecs,r.nsecs,l?void 0:r.clockseq,l?void 0:r.node,i,s)}return i??(0,n.unsafeStringify)(c)}function a(e,t,n){return e.msecs??=-1/0,e.nsecs??=0,t===e.msecs?(e.nsecs++,e.nsecs>=1e4&&(e.node=void 0,e.nsecs=0)):t>e.msecs?e.nsecs=0:t<e.msecs&&(e.node=void 0),e.node||(e.node=n.slice(10,16),e.node[0]|=1,e.clockseq=(n[8]<<8|n[9])&16383),e.msecs=t,e}e.updateV1State=a;function o(e,t,n,r,i,a,o=0){if(e.length<16)throw Error(`Random bytes length must be >= 16`);if(!a)a=new Uint8Array(16),o=0;else if(o<0||o+16>a.length)throw RangeError(`UUID byte range ${o}:${o+15} is out of buffer bounds`);t??=Date.now(),n??=0,r??=(e[8]<<8|e[9])&16383,i??=e.slice(10,16),t+=0xb1d069b5400;let s=((t&268435455)*1e4+n)%4294967296;a[o++]=s>>>24&255,a[o++]=s>>>16&255,a[o++]=s>>>8&255,a[o++]=s&255;let c=t/4294967296*1e4&268435455;a[o++]=c>>>8&255,a[o++]=c&255,a[o++]=c>>>24&15|16,a[o++]=c>>>16&255,a[o++]=r>>>8|128,a[o++]=r&255;for(let e=0;e<6;++e)a[o++]=i[e];return a}e.default=i})),Ze=a((e=>
1{Object.defineProperty(e,"__esModule",{value:!0});var t=qe(),n=Je();function r(e){let r=i(typeof e==`string`?(0,t.default)(e):e);return typeof e==`string`?(0,n.unsafeStringify)(r):r}e.default=r;function i(e){return Uint8Array.of((e[6]&15)<<4|e[7]>>4&15,(e[7]&15)<<4|(e[4]&240)>>4,(e[4]&15)<<4|(e[5]&240)>>4,(e[5]&15)<<4|(e[0]&240)>>4,(e[0]&15)<<4|(e[1]&240)>>4,(e[1]&15)<<4|(e[2]&240)>>4,96|e[2]&15,e[3],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15])}})),Qe=a((e=>{Object.defineProperty(e,"__esModule",{value:!0});function t(e){return n(i(a(e),e.length*8))}function n(e){let t=new Uint8Array(e.length*4);for(let n=0;n<e.length*4;n++)t[n]=e[n>>2]>>>n%4*8&255;return t}function r(e){return(e+64>>>9<<4)+14+1}function i(e,t){let n=new Uint32Array(r(t)).fill(0);n.set(e),n[t>>5]|=128<<t%32,n[n.length-1]=t,e=n;let i=1732584193,a=-271733879,s=-1732584194,c=271733878;for(let t=0;t<e.length;t+=16){let n=i,r=a,p=s,m=c;i=l(i,a,s,c,e[t],7,-680876936),c=l(c,i,a,s,e[t+1],12,-389564586),s=l(s,c,i,a,e[t+2],17,606105819),a=l(a,s,c,i,e[t+3],22,-1044525330),i=l(i,a,s,c,e[t+4],7,-176418897),c=l(c,i,a,s,e[t+5],12,1200080426),s=l(s,c,i,a,e[t+6],17,-1473231341),a=l(a,s,c,i,e[t+7],22,-45705983),i=l(i,a,s,c,e[t+8],7,1770035416),c=l(c,i,a,s,e[t+9],12,-1958414417),s=l(s,c,i,a,e[t+10],17,-42063),a=l(a,s,c,i,e[t+11],22,-1990404162),i=l(i,a,s,c,e[t+12],7,1804603682),c=l(c,i,a,s,e[t+13],12,-40341101),s=l(s,c,i,a,e[t+14],17,-1502002290),a=l(a,s,c,i,e[t+15],22,1236535329),i=u(i,a,s,c,e[t+1],5,-165796510),c=u(c,i,a,s,e[t+6],9,-1069501632),s=u(s,c,i,a,e[t+11],14,643717713),a=u(a,s,c,i,e[t],20,-373897302),i=u(i,a,s,c,e[t+5],5,-701558691),c=u(c,i,a,s,e[t+10],9,38016083),s=u(s,c,i,a,e[t+15],14,-660478335),a=u(a,s,c,i,e[t+4],20,-405537848),i=u(i,a,s,c,e[t+9],5,568446438),c=u(c,i,a,s,e[t+14],9,-1019803690),s=u(s,c,i,a,e[t+3],14,-187363961),a=u(a,s,c,i,e[t+8],20,1163531501),i=u(i,a,s,c,e[t+13],5,-1444681467),c=u(c,i,a,s,e[t+2],9,-51403784),s=u(s,c,i,a,e[t+7],14,1735328473),a=u(a,s,c,i,e[t+12],20,-1926607734),i=d(i,a,s,c,e[t+5],4,-378558),c=d(c,i,a,s,e[t+8],11,-2022574463),s=d(s,c,i,a,e[t+11],16,1839030562),a=d(a,s,c,i,e[t+14],23,-35309556),i=d(i,a,s,c,e[t+1],4,-1530992060),c=d(c,i,a,s,e[t+4],11,1272893353),s=d(s,c,i,a,e[t+7],16,-155497632),a=d(a,s,c,i,e[t+10],23,-1094730640),i=d(i,a,s,c,e[t+13],4,681279174),c=d(c,i,a,s,e[t],11,-358537222),s=d(s,c,i,a,e[t+3],16,-722521979),a=d(a,s,c,i,e[t+6],23,76029189),i=d(i,a,s,c,e[t+9],4,-640364487),c=d(c,i,a,s,e[t+12],11,-421815835),s=d(s,c,i,a,e[t+15],16,530742520),a=d(a,s,c,i,e[t+2],23,-995338651),i=f(i,a,s,c,e[t],6,-198630844),c=f(c,i,a,s,e[t+7],10,1126891415),s=f(s,c,i,a,e[t+14],15,-1416354905),a=f(a,s,c,i,e[t+5],21,-57434055),i=f(i,a,s,c,e[t+12],6,1700485571),c=f(c,i,a,s,e[t+3],10,-1894986606),s=f(s,c,i,a,e[t+10],15,-1051523),a=f(a,s,c,i,e[t+1],21,-2054922799),i=f(i,a,s,c,e[t+8],6,1873313359),c=f(c,i,a,s,e[t+15],10,-30611744),s=f(s,c,i,a,e[t+6],15,-1560198380),a=f(a,s,c,i,e[t+13],21,1309151649),i=f(i,a,s,c,e[t+4],6,-145523070),c=f(c,i,a,s,e[t+11],10,-1120210379),s=f(s,c,i,a,e[t+2],15,718787259),a=f(a,s,c,i,e[t+9],21,-343485551),i=o(i,n),a=o(a,r),s=o(s,p),c=o(c,m)}return Uint32Array.of(i,a,s,c)}function a(e){if(e.length===0)return new Uint32Array;let t=new Uint32Array(r(e.length*8)).fill(0);for(let n=0;n<e.length;n++)t[n>>2]|=(e[n]&255)<<n%4*8;return t}function o(e,t){let n=(e&65535)+(t&65535);return(e>>16)+(t>>16)+(n>>16)<<16|n&65535}function s(e,t){return e<<t|e>>>32-t}function c(e,t,n,r,i,a){return o(s(o(o(t,e),o(r,a)),i),n)}function l(e,t,n,r,i,a,o){return c(t&n|~t&r,e,t,i,a,o)}function u(e,t,n,r,i,a,o){return c(t&r|n&~r,e,t,i,a,o)}function d(e,t,n,r,i,a,o){return c(t^n^r,e,t,i,a,o)}function f(e,t,n,r,i,a,o){return c(n^(t|~r),e,t,i,a,o)}e.default=t})),$e=a((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.URL=e.DNS=e.stringToBytes=void 0;var t=qe(),n=Je();function r(e){e=unescape(encodeURIComponent(e));let t=new Uint8Array(e.length);for(let n=0;n<e.length;++n)t[n]=e.charCodeAt(n);return t}e.stringToBytes=r,e.DNS=`6ba7b810-9dad-11d1-80b4-00c04fd430c8`,e.URL=`6ba7b811-9dad-11d1-80b4-00c04fd430c8`;function i(e,i,a,o,s,c){let l=typeof a==`string`?r(a):a,u=typeof o==`string`?(0,t.default)(o):o;if(typeof o==`string`&&(o=(0,t.default)(o)),o?.length!==16)throw TypeError(`Namespace must be array-like (16 iterable integer values, 0-255)`);let d=new Uint8Array(16+l.length);if(d.set(u),d.set(l,u.length),d=i(d),d[6]=d[6]&15|e,d[8]=d[8]&63|128,s){if(c||=0,c<0||c+16>s.length)throw RangeError(`UUID byte range ${c}:${c+15} is out of buffer bounds`);for(let e=0;e<16;++e)s[c+e]=d[e];return s}return(0,n.unsafeStringify)(d)}e.default=i})),et=a((e=>
1{Object.defineProperty(e,"__esModule",{value:!0}),e.URL=e.DNS=void 0;var t=Qe(),n=$e(),r=$e();Object.defineProperty(e,"DNS",{enumerable:!0,get:function(){return r.DNS}}),Object.defineProperty(e,"URL",{enumerable:!0,get:function(){return r.URL}});function i(e,r,i,a){return(0,n.default)(48,t.default,e,r,i,a)}i.DNS=n.DNS,i.URL=n.URL,e.default=i})),tt=a((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default={randomUUID:typeof crypto<`u`&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)}})),nt=a((e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=tt(),n=Ye(),r=Je();function i(e,i,a){if(t.default.randomUUID&&!i&&!e)return t.default.randomUUID();e||={};let o=e.random??e.rng?.()??(0,n.default)();if(o.length<16)throw Error(`Random bytes length must be >= 16`);if(o[6]=o[6]&15|64,o[8]=o[8]&63|128,i){if(a||=0,a<0||a+16>i.length)throw RangeError(`UUID byte range ${a}:${a+15} is out of buffer bounds`);for(let e=0;e<16;++e)i[a+e]=o[e];return i}return(0,r.unsafeStringify)(o)}e.default=i})),rt=a((e=>{Object.defineProperty(e,"__esModule",{value:!0});function t(e,t,n,r){switch(e){case 0:return t&n^~t&r;case 1:return t^n^r;case 2:return t&n^t&r^n&r;case 3:return t^n^r}}function n(e,t){return e<<t|e>>>32-t}function r(e){let r=[1518500249,1859775393,2400959708,3395469782],i=[1732584193,4023233417,2562383102,271733878,3285377520],a=new Uint8Array(e.length+1);a.set(e),a[e.length]=128,e=a;let o=e.length/4+2,s=Math.ceil(o/16),c=Array(s);for(let t=0;t<s;++t){let n=new Uint32Array(16);for(let r=0;r<16;++r)n[r]=e[t*64+r*4]<<24|e[t*64+r*4+1]<<16|e[t*64+r*4+2]<<8|e[t*64+r*4+3];c[t]=n}c[s-1][14]=(e.length-1)*8/2**32,c[s-1][14]=Math.floor(c[s-1][14]),c[s-1][15]=(e.length-1)*8&4294967295;for(let e=0;e<s;++e){let a=new Uint32Array(80);for(let t=0;t<16;++t)a[t]=c[e][t];for(let e=16;e<80;++e)a[e]=n(a[e-3]^a[e-8]^a[e-14]^a[e-16],1);let o=i[0],s=i[1],l=i[2],u=i[3],d=i[4];for(let e=0;e<80;++e){let i=Math.floor(e/20),c=n(o,5)+t(i,s,l,u)+d+r[i]+a[e]>>>0;d=u,u=l,l=n(s,30)>>>0,s=o,o=c}i[0]=i[0]+o>>>0,i[1]=i[1]+s>>>0,i[2]=i[2]+l>>>0,i[3]=i[3]+u>>>0,i[4]=i[4]+d>>>0}return Uint8Array.of(i[0]>>24,i[0]>>16,i[0]>>8,i[0],i[1]>>24,i[1]>>16,i[1]>>8,i[1],i[2]>>24,i[2]>>16,i[2]>>8,i[2],i[3]>>24,i[3]>>16,i[3]>>8,i[3],i[4]>>24,i[4]>>16,i[4]>>8,i[4])}e.default=r})),it=a((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.URL=e.DNS=void 0;var t=rt(),n=$e(),r=$e();Object.defineProperty(e,"DNS",{enumerable:!0,get:function(){return r.DNS}}),Object.defineProperty(e,"URL",{enumerable:!0,get:function(){return r.URL}});function i(e,r,i,a){return(0,n.default)(80,t.default,e,r,i,a)}i.DNS=n.DNS,i.URL=n.URL,e.default=i})),at=a((e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=Je(),n=Xe(),r=Ze();function i(e,i,a){e??={},a??=0;let o=(0,n.default)({...e,_v6:!0},new Uint8Array(16));if(o=(0,r.default)(o),i){if(a<0||a+16>i.length)throw RangeError(`UUID byte range ${a}:${a+15} is out of buffer bounds`);for(let e=0;e<16;e++)i[a+e]=o[e];return i}return(0,t.unsafeStringify)(o)}e.default=i})),ot=a((e=>{Object.defineProperty(e,"__esModule",{value:!0});var t=qe(),n=Je();function r(e){let r=i(typeof e==`string`?(0,t.default)(e):e);return typeof e==`string`?(0,n.unsafeStringify)(r):r}e.default=r;function i(e){return Uint8Array.of((e[3]&15)<<4|e[4]>>4&15,(e[4]&15)<<4|(e[5]&240)>>4,(e[5]&15)<<4|e[6]&15,e[7],(e[1]&15)<<4|(e[2]&240)>>4,(e[2]&15)<<4|(e[3]&240)>>4,16|(e[0]&240)>>4,(e[0]&15)<<4|(e[1]&240)>>4,e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15])}})),st=a((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.updateV7State=void 0;var t=Ye(),n=Je(),r={};function i(e,i,s){let c;if(e)c=o(e.random??e.rng?.()??(0,t.default)(),e.msecs,e.seq,i,s);else{let e=Date.now(),n=(0,t.default)();a(r,e,n),c=o(n,r.msecs,r.seq,i,s)}return i??(0,n.unsafeStringify)(c)}function a(e,t,n){return e.msecs??=-1/0,e.seq??=0,t>e.msecs?(e.seq=n[6]<<23|n[7]<<16|n[8]<<8|n[9],e.msecs=t):(e.seq=e.seq+1|0,e.seq===0&&e.msecs++),e}e.updateV7State=a;function o(e,t,n,r,i=0){if(e.length<16)throw Error(`Random bytes length must be >= 16`);if(!r)r=new Uint8Array(16),i=0;else if(i<0||i+16>r.length)throw RangeError(`UUID byte range ${i}:${i+15} is out of buffer bounds`);return t??=Date.now(),n??=e[6]*127<<24|e[7]<<16|e[8]<<8|e[9],r[i++]=t/1099511627776&255,r[i++]=t/4294967296&255,r[i++]=t/16777216&255,r[i++]=t/65536&255,r[i++]=t/256&255,r[i++]=t&255,r[i++]=112|n>>>28&15,r[i++]=n>>>20&255,r[i++]=128|n>>>14&63,r[i++]=n>>>6&255,r[i++]=n<<2&255|e[10]&3,r[i++]=e[11],r[i++]=e[12],r[i++]=e[13],r[i++]=e[14],r[i++]=e[15],r}e.default=i})),ct=a((e=>
1{Object.defineProperty(e,"__esModule",{value:!0});var t=Ke();function n(e){if(!(0,t.default)(e))throw TypeError(`Invalid UUID`);return parseInt(e.slice(14,15),16)}e.default=n})),lt=a((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.version=e.validate=e.v7=e.v6ToV1=e.v6=e.v5=e.v4=e.v3=e.v1ToV6=e.v1=e.stringify=e.parse=e.NIL=e.MAX=void 0;var t=Ue();Object.defineProperty(e,"MAX",{enumerable:!0,get:function(){return t.default}});var n=We();Object.defineProperty(e,"NIL",{enumerable:!0,get:function(){return n.default}});var r=qe();Object.defineProperty(e,"parse",{enumerable:!0,get:function(){return r.default}});var i=Je();Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return i.default}});var a=Xe();Object.defineProperty(e,"v1",{enumerable:!0,get:function(){return a.default}});var o=Ze();Object.defineProperty(e,"v1ToV6",{enumerable:!0,get:function(){return o.default}});var s=et();Object.defineProperty(e,"v3",{enumerable:!0,get:function(){return s.default}});var c=nt();Object.defineProperty(e,"v4",{enumerable:!0,get:function(){return c.default}});var l=it();Object.defineProperty(e,"v5",{enumerable:!0,get:function(){return l.default}});var u=at();Object.defineProperty(e,"v6",{enumerable:!0,get:function(){return u.default}});var d=ot();Object.defineProperty(e,"v6ToV1",{enumerable:!0,get:function(){return d.default}});var f=st();Object.defineProperty(e,"v7",{enumerable:!0,get:function(){return f.default}});var p=Ke();Object.defineProperty(e,"validate",{enumerable:!0,get:function(){return p.default}});var m=ct();Object.defineProperty(e,"version",{enumerable:!0,get:function(){return m.default}})})),ut=a(((e,t)=>{var n=Object.defineProperty,r=Object.defineProperties,i=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyDescriptors,o=Object.getOwnPropertyNames,s=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable,u=(e,t,r)=>t in e?n(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,d=(e,t)=>{for(var n in t||={})c.call(t,n)&&u(e,n,t[n]);if(s)for(var n of s(t))l.call(t,n)&&u(e,n,t[n]);return e},f=(e,t)=>r(e,a(t)),p=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})},m=(e,t,r,a)=>{if(t&&typeof t==`object`||typeof t==`function`)for(let s of o(t))!c.call(e,s)&&s!==r&&n(e,s,{get:()=>t[s],enumerable:!(a=i(t,s))||a.enumerable});return e},h=e=>m(n({},`__esModule`,{value:!0}),e),g={};p(g,{LogLevel:()=>_,Logger:()=>v,appendGiphySDKRequestHeader:()=>ne,appendGiphySDKRequestParam:()=>q,bestfit:()=>C,checkIfWebP:()=>R,forEach:()=>T,getAltText:()=>W,getBestRendition:()=>H,getBestRenditionUrl:()=>ee,getBestVideo:()=>B,getClientRect:()=>A,getGifHeight:()=>te,getGifWidth:()=>U,getGiphySDKRequestHeaders:()=>K,getPingbackId:()=>I,getSpecificRendition:()=>z,mapValues:()=>w,noUUIDRandom:()=>P,pick:()=>O,setRenditionScaleUpMaxPixels:()=>x,take:()=>E,without:()=>D}),t.exports=h(g);var _=(e=>(e[e.DEBUG=0]=`DEBUG`,e[e.INFO=1]=`INFO`,e[e.WARN=2]=`WARN`,e[e.ERROR=3]=`ERROR`,e))(_||{}),v={ENABLED:typeof window<`u`&&typeof location<`u`&&location.search.indexOf(`giphy-debug`)!==-1,LEVEL:0,PREFIX:`GiphyJS`,debug:(...e)=>{v.ENABLED&&v.LEVEL<=0&&console.debug(v.PREFIX,...e)},info:(...e)=>{v.ENABLED&&v.LEVEL<=1&&console.info(v.PREFIX,...e)},warn:(...e)=>{v.ENABLED&&v.LEVEL<=2&&console.warn(v.PREFIX,...e)},error:(...e)=>{v.ENABLED&&v.LEVEL<=3&&console.error(v.PREFIX,...e)}},y=(e,t,n)=>{let r=1/0,i;return n.forEach(n=>{let a=n.width/e*(n.height/t),o=Math.abs(1-a);o<r&&(r=o,i=n)}),i},b=50,x=e=>{v.debug(`@giphy/js-util set rendition selection scale up max pixels to ${e}`),b=e};function S(e,t,n,r=b){let[i]=e,a=e.filter(e=>(e.width*e.height>i.width*i.height&&(i=e),t-e.width<=r&&n-e.height<=r));return a.length===0?i:y(t,n,a)}var C=S;function w(e,t){if(Array.isArray(e))throw`This map is just for objects, just use array.map for arrays`;return Object.keys(e).reduce((n,r)=>(n[r]=t(e[r],r),n),{})}function T(e,t){if(Array.isArray(e))throw`This map is just for objects, just use array.forEach for arrays`;return Object.keys(e).forEach(n=>{t(e[n],n)})}function E(e,t=0){return e.slice(0,t)}function D(e,t){return e.filter(e=>t.indexOf(e)===-1)}function O(e,t){let n={};return t.forEach(t=>{e[t]!==void 0&&(n[t]=e[t])}),n}var k=e=>{let t=0,n=0,r=e.offsetWidth,i=e.offsetHeight;do t+=e.offsetLeft,n+=e.offsetTop,e=e.offsetParent;while(e);let a={left:t,top:n,width:r,height:i,right:t+r,bottom:n+i,x:t,y:n};return f(d({},a),{toJSON:()=>JSON.stringify(a)})},A=k,j=lt(),M=``,N=16,P=()=>{let e=``;for(let t=0;t<N;t++)e+=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789`.charAt(Math.floor(Math.random()*62));return e},F=()=>
1{if(!M){try{M=sessionStorage.getItem(`giphyPingbackId`)}catch{}if(!M){let e=new Date().getTime().toString(16);try{M=`${e}${(0,j.v4)().replace(/-/g,``)}`.substring(0,N)}catch{M=P()}try{sessionStorage.setItem(`giphyPingbackId`,M)}catch{}}}return M},I=F,L=null,R=new Promise(e=>{typeof Image>`u`&&e(!1);let t=new Image;t.onload=()=>{L=!0,e(L)},t.onerror=()=>{L=!1,e(L)},t.src=`data:image/webp;base64,UklGRjoAAABXRUJQVlA4IC4AAACyAgCdASoCAAIALmk0mk0iIiIiIgBoSygABc6WWgAA/veff/0PP8bA//LwYAAA`}),z=({images:e,is_sticker:t},n,r=!1,i=!1)=>{if(!e||!n)return``;r&&=!i;let a=e[`${n}${r?`_still`:``}`];if(a){if(t||r)return a.url;let e=L&&a.webp;return i?a.mp4:e||a.url}return``},B=(e,t,n)=>{let r=e?.assets;if(r)return r=d({},r),delete r.source,C(Object.values(r).sort((e,t)=>e.width-t.width),t,n)},V=(e,t,n)=>e===`video`&&n&&n.previews&&!Object.keys(t).length?n.previews:t,H=(e,t,n,r)=>{let i=O(e,[`original`,`fixed_width`,`fixed_height`,`fixed_width_small`,`fixed_height_small`]);return C(Object.entries(i).map(([e,t])=>d({renditionName:e},t)),t,n,r)},ee=({images:e,video:t,type:n},r,i,a={isStill:!1,useVideo:!1})=>{if(!r||!i||!e)return``;let{useVideo:o,isStill:s,scaleUpMaxPixels:c}=a,l=V(n,e,t),{renditionName:u}=H(l,r,i,c),d=l[`${u}${s&&!o?`_still`:``}`];return(o?d.mp4:L&&d.webp?d.webp:d.url)||``},te=({images:e},t)=>{let{fixed_width:n}=e;if(n){let{width:e,height:r}=n,i=e/r;return Math.round(t/i)}return 0},U=({images:e},t)=>{let{fixed_width:n}=e;if(n){let{width:e,height:r}=n,i=e/r;return Math.round(t*i)}return 0},W=({alt_text:e,user:t,tags:n=[],is_sticker:r=!1,title:i=``})=>{if(e)return e;if(i)return i;let a=t&&t.username||``,o=E(D(n,[`transparent`]),a?4:5);return`${a?`${a} `:``}${o.join(` `)} ${r?`Sticker`:`GIF`}`},G=(typeof window<`u`?window:global)||{};G._GIPHY_SDK_HEADERS_=G._GIPHY_SDK_HEADERS_||(G.Headers?new G.Headers({"X-GIPHY-SDK-PLATFORM":`web`}):void 0);var K=()=>G._GIPHY_SDK_HEADERS_,ne=(e,t)=>K()?.set(e,t),q=(e,t)=>K()?.set(e,t);0&&(t.exports={LogLevel:_,Logger:v,appendGiphySDKRequestHeader:ne,appendGiphySDKRequestParam:q,bestfit:S,checkIfWebP:R,forEach:T,getAltText:W,getBestRendition:H,getBestRenditionUrl:ee,getBestVideo:B,getClientRect:k,getGifHeight:te,getGifWidth:U,getGiphySDKRequestHeaders:K,getPingbackId:F,getSpecificRendition:z,mapValues:w,noUUIDRandom:P,pick:O,setRenditionScaleUpMaxPixels:x,take:E,without:D})})),dt=a((()=>{(function(){if(typeof window!=`object`)return;if(`IntersectionObserver`in window&&`IntersectionObserverEntry`in window&&`intersectionRatio`in window.IntersectionObserverEntry.prototype){`isIntersecting`in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});return}function e(e){try{return e.defaultView&&e.defaultView.frameElement||null}catch{return null}}var t=(function(t){for(var n=t,r=e(n);r;)n=r.ownerDocument,r=e(n);return n})(window.document),n=[],r=null,i=null;function a(e){this.time=e.time,this.target=e.target,this.rootBounds=m(e.rootBounds),this.boundingClientRect=m(e.boundingClientRect),this.intersectionRect=m(e.intersectionRect||p()),this.isIntersecting=!!e.intersectionRect;var t=this.boundingClientRect,n=t.width*t.height,r=this.intersectionRect,i=r.width*r.height;n?this.intersectionRatio=Number((i/n).toFixed(4)):this.intersectionRatio=+!!this.isIntersecting}function o(e,t){var n=t||{};if(typeof e!=`function`)throw Error(`callback must be a function`);if(n.root&&n.root.nodeType!=1)throw Error(`root must be an Element`);this._checkForIntersections=c(this._checkForIntersections.bind(this),this.THROTTLE_TIMEOUT),this._callback=e,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(n.rootMargin),this.thresholds=this._initThresholds(n.threshold),this.root=n.root||null,this.rootMargin=this._rootMarginValues.map(function(e){return e.value+e.unit}).join(` `),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}o.prototype.THROTTLE_TIMEOUT=100,o.prototype.POLL_INTERVAL=null,o.prototype.USE_MUTATION_OBSERVER=!0,o._setupCrossOriginUpdater=function(){return r||=function(e,t){i=!e||!t?p():h(e,t),n.forEac
1h(function(e){e._checkForIntersections()})},r},o._resetCrossOriginUpdater=function(){r=null,i=null},o.prototype.observe=function(e){if(!this._observationTargets.some(function(t){return t.element==e})){if(!(e&&e.nodeType==1))throw Error(`target must be an Element`);this._registerInstance(),this._observationTargets.push({element:e,entry:null}),this._monitorIntersections(e.ownerDocument),this._checkForIntersections()}},o.prototype.unobserve=function(e){this._observationTargets=this._observationTargets.filter(function(t){return t.element!=e}),this._unmonitorIntersections(e.ownerDocument),this._observationTargets.length==0&&this._unregisterInstance()},o.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},o.prototype.takeRecords=function(){var e=this._queuedEntries.slice();return this._queuedEntries=[],e},o.prototype._initThresholds=function(e){var t=e||[0];return Array.isArray(t)||(t=[t]),t.sort().filter(function(e,t,n){if(typeof e!=`number`||isNaN(e)||e<0||e>1)throw Error(`threshold must be a number between 0 and 1 inclusively`);return e!==n[t-1]})},o.prototype._parseRootMargin=function(e){var t=(e||`0px`).split(/\s+/).map(function(e){var t=/^(-?\d*\.?\d+)(px|%)$/.exec(e);if(!t)throw Error(`rootMargin must be specified in pixels or percent`);return{value:parseFloat(t[1]),unit:t[2]}});return t[1]=t[1]||t[0],t[2]=t[2]||t[0],t[3]=t[3]||t[1],t},o.prototype._monitorIntersections=function(n){var r=n.defaultView;if(r&&this._monitoringDocuments.indexOf(n)==-1){var i=this._checkForIntersections,a=null,o=null;if(this.POLL_INTERVAL?a=r.setInterval(i,this.POLL_INTERVAL):(l(r,`resize`,i,!0),l(n,`scroll`,i,!0),this.USE_MUTATION_OBSERVER&&`MutationObserver`in r&&(o=new r.MutationObserver(i),o.observe(n,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))),this._monitoringDocuments.push(n),this._monitoringUnsubscribes.push(function(){var e=n.defaultView;e&&(a&&e.clearInterval(a),u(e,`resize`,i,!0)),u(n,`scroll`,i,!0),o&&o.disconnect()}),n!=(this.root&&this.root.ownerDocument||t)){var s=e(n);s&&this._monitorIntersections(s.ownerDocument)}}},o.prototype._unmonitorIntersections=function(n){var r=this._monitoringDocuments.indexOf(n);if(r!=-1){var i=this.root&&this.root.ownerDocument||t;if(!this._observationTargets.some(function(t){var r=t.element.ownerDocument;if(r==n)return!0;for(;r&&r!=i;){var a=e(r);if(r=a&&a.ownerDocument,r==n)return!0}return!1})){var a=this._monitoringUnsubscribes[r];if(this._monitoringDocuments.splice(r,1),this._monitoringUnsubscribes.splice(r,1),a(),n!=i){var o=e(n);o&&this._unmonitorIntersections(o.ownerDocument)}}}},o.prototype._unmonitorAllIntersections=function(){var e=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var t=0;t<e.length;t++)e[t]()},o.prototype._checkForIntersections=function(){if(!(!this.root&&r&&!i)){var e=this._rootIsInDom(),t=e?this._getRootRect():p();this._observationTargets.forEach(function(n){var i=n.element,o=f(i),c=this._rootContainsTarget(i),l=n.entry,u=e&&c&&this._computeTargetAndRootIntersection(i,o,t),d=n.entry=new a({time:s(),target:i,boundingClientRect:o,rootBounds:r&&!this.root?null:t,intersectionRect:u});l?e&&c?this._hasCrossedThreshold(l,d)&&this._queuedEntries.push(d):l&&l.isIntersecting&&this._queuedEntries.push(d):this._queuedEntries.push(d)},this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)}},o.prototype._computeTargetAndRootIntersection=function(e,n,a){if(window.getComputedStyle(e).display!=`none`){for(var o=n,s=_(e),c=!1;!c&&s;){var l=null,u=s.nodeType==1?window.getComputedStyle(s):{};if(u.display==`none`)return null;if(s==this.root||s.nodeType==9)if(c=!0,s==this.root||s==t)r&&!this.root?!i||i.width==0&&i.height==0?(s=null,l=null,o=null):l=i:l=a;else{var p=_(s),m=p&&f(p),g=p&&this._computeTargetAndRootIntersection(p,m,a);m&&g?(s=p,l=h(m,g)):(s=null,o=null)}else{var v=s.ownerDocument;s!=v.body&&s!=v.documentElement&&u.overflow!=`visible`&&(l=f(s))}if(l&&(o=d(l,o)),!o)break;s&&=_(s)}return o}},o.prototype._getRootRect=function(){var e;if(this.root)e=f(this.root);else{var n=t.documentElement,r=t.body;e={top:0,left:0,right:n.clientWidth||r.clientWidth,width:n.clientWidth||r.clientWidth,bottom:n.clientHeight||r.clientHeight,height:n.clientHeight||r.clientHeight}}return this._expandRectByRootMargin(e)},o.prototype._expandRectByRootMargin=function(e){var t=this._rootMarginValues.map(function(t,n){return t.unit==`px`?t.value:t.value*(n%2?e.width:e.height)/100}),n={top:e.top-t[0],right:e.right+t[1],bottom:e.bottom+t[2],left:e.left-t[3]};return n.width=n.right-n.left,n.height=n.bottom-n.top,n},o.prototype._hasCrossedThreshold=function(e,t){var n=e&&e.isIntersecting?e.intersectionRatio||0:-1,r=t.isIntersecting?t.intersectionRatio||0:-1;if(n!==r)for(var i=0;i<this.thresholds.length;i++){var a=this.thresholds[i];if(a==n||a==r||a<n!=a<r)return!0}},o.prototype._rootIsInDom=function(){return!this.root||g(t,this.root)},o.prototype._rootContainsTarget=function(e){return g(this.root||t,e)&&(!this.root||this.root.ownerDocument==e.ownerDocument)},o.prototype._registerInstance=function(){n.indexOf(this)<0&&n.push(this)},o.prototype._unregisterInstance=function(){var e=n.indexOf(this);e!=-1&&n.splice(e,1)};function s(){return window.performance&&performance.now&&performance.now()}function c(e,t){var n=null;return function(){n||=setTimeout(function(){e(),n=null},t)}}function l(e,t,n,r){typeof e.addEventListener==`function`?e.addEventListener(t,n,r||!1):typeof e.attachEvent==`function`&&e.attachEvent(`on`+t,n)}function u(e,t,n,r){typeof e.removeEventListener==`function`?e.removeEventListener(t,n,r||!1):typeof e.detatchEvent==`function`&&e.detatchEvent(`on`+t,n)}function d(e,t){var n=Math.max(e.top,t.top),r=Math.min(e.bottom,t.bottom),i=Math.max(e.left,t.left),a=Math.min(e.right,t.right),o=a-i,s=r-n;return o>=0&&s>=0&&{top:n,bottom:r,left:i,right:a,width:o,height:s}||null}function f(e){var t;try{t=e.getBoundingClientRect()}catch{}
1return t?(t.width&&t.height||(t={top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.right-t.left,height:t.bottom-t.top}),t):p()}function p(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function m(e){return!e||`x`in e?e:{top:e.top,y:e.top,bottom:e.bottom,left:e.left,x:e.left,right:e.right,width:e.width,height:e.height}}function h(e,t){var n=t.top-e.top,r=t.left-e.left;return{top:n,left:r,height:t.height,width:t.width,bottom:n+t.height,right:r+t.width}}function g(e,t){for(var n=t;n;){if(n==e)return!0;n=_(n)}return!1}function _(n){var r=n.parentNode;return n.nodeType==9&&n!=t?e(n):r&&r.nodeType==11&&r.host?r.host:r&&r.assignedSlot?r.assignedSlot.parentNode:r}window.IntersectionObserver=o,window.IntersectionObserverEntry=a})()})),J=i({Component:()=>vt,Fragment:()=>_t,__u:()=>Ft,cloneElement:()=>zt,createContext:()=>Bt,createElement:()=>mt,createRef:()=>gt,h:()=>mt,hydrate:()=>Rt,isValidElement:()=>Vt,options:()=>Y,render:()=>Lt,toChildArray:()=>wt});function ft(e,t){for(var n in t)e[n]=t[n];return e}function pt(e){var t=e.parentNode;t&&t.removeChild(e)}function mt(e,t,n){var r,i,a,o=arguments,s={};for(a in t)a==`key`?r=t[a]:a==`ref`?i=t[a]:s[a]=t[a];if(arguments.length>3)for(n=[n],a=3;a<arguments.length;a++)n.push(o[a]);if(n!=null&&(s.children=n),typeof e==`function`&&e.defaultProps!=null)for(a in e.defaultProps)s[a]===void 0&&(s[a]=e.defaultProps[a]
1);return ht(e,s,r,i,null)}function ht(e,t,n,r,i){var a={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:i};return i??(a.__v=a),Y.vnode!=null&&Y.vnode(a),a}function gt(){return{current:null}}function _t(e){return e.children}function vt(e,t){this.props=e,this.context=t}function yt(e,t){if(t==null)return e.__?yt(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null)return n.__e;return typeof e.type==`function`?yt(e):null}function bt(e){var t,n;if((e=e.__)!=null&&e.__c!=null){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null){e.__e=e.__c.base=n.__e;break}return bt(e)}}function xt(e){(!e.__d&&(e.__d=!0)&&Ht.push(e)&&!St.__r++||Wt!==Y.debounceRendering)&&((Wt=Y.debounceRendering)||Ut)(St)}function St(){for(var e;St.__r=Ht.length;)e=Ht.sort(function(e,t){return e.__v.__b-t.__v.__b}),Ht=[],e.some(function(e){var t,n,r,i,a,o,s;e.__d&&(o=(a=(t=e).__v).__e,(s=t.__P)&&(n=[],(r=ft({},a)).__v=r,i=jt(s,a,r,t.__n,s.ownerSVGElement!==void 0,null,n,o??yt(a)),Mt(n,a),i!=o&&bt(a)))})}function Ct(e,t,n,r,i,a,o,s,c,l){var u,d,f,p,m,h,g,_=r&&r.__k||Jt,v=_.length;for(c==qt&&(c=o==null?v?yt(r,0):null:o[0]),n.__k=[],u=0;u<t.length;u++)if((p=n.__k[u]=(p=t[u])==null||typeof p==`boolean`?null:typeof p==`string`||typeof p==`number`?ht(null,p,null,null,p):Array.isArray(p)?ht(_t,{children:p},null,null,null):p.__e!=null||p.__c!=null?ht(p.type,p.props,p.key,null,p.__v):p)!=null){if(p.__=n,p.__b=n.__b+1,(f=_[u])===null||f&&p.key==f.key&&p.type===f.type)_[u]=void 0;else for(d=0;d<v;d++){if((f=_[d])&&p.key==f.key&&p.type===f.type){_[d]=void 0;break}f=null}m=jt(e,p,f||=qt,i,a,o,s,c,l),(d=p.ref)&&f.ref!=d&&(g||=[],f.ref&&g.push(f.ref,null,p),g.push(d,p.__c||m,p)),m==null?c&&f.__e==c&&c.parentNode!=e&&(c=yt(f)):(h??=m,c=Tt(e,p,f,_,o,m,c),l||n.type!=`option`?typeof n.type==`function`&&(n.__d=c):e.value=``)}if(n.__e=h,o!=null&&typeof n.type!=`function`)for(u=o.length;u--;)o[u]!=null&&pt(o[u]);for(u=v;u--;)_[u]!=null&&Ft(_[u],_[u]);if(g)for(u=0;u<g.length;u++)Pt(g[u],g[++u],g[++u])}function wt(e,t){return t||=[],e==null||typeof e==`boolean`||(Array.isArray(e)?e.some(function(e){wt(e,t)}):t.push(e)),t}function Tt(e,t,n,r,i,a,o){var s,c,l;if(t.__d!==void 0)s=t.__d,t.__d=void 0;else if(i==n||a!=o||a.parentNode==null)n:if(o==null||o.parentNode!==e)e.appendChild(a),s=null;else{for(c=o,l=0;(c=c.nextSibling)&&l<r.length;l+=2)if(c==a)break n;e.insertBefore(a,o),s=o}return s===void 0?a.nextSibling:s}function Et(e,t,n,r,i){for(var a in n)a===`children`||a===`key`||a in t||Ot(e,a,null,n[a],r);for(a in t)i&&typeof t[a]!=`function`||a===`children`||a===`key`||a===`value`||a===`checked`||n[a]===t[a]||Ot(e,a,t[a],n[a],r)}function Dt(e,t,n){t[0]===`-`?e.setProperty(t,n):e[t]=n==null?``:typeof n!=`number`||Yt.test(t)?n:n+`px`}function Ot(e,t,n,r,i){var a,o;if(i&&t==`className`&&(t=`class`),t===`style`)if(typeof n==`string`)e.style=n;else{if(typeof r==`string`&&(e.style=r=``),r)for(t in r)n&&t in n||Dt(e.style,t,``);if(n)for(t in n)r&&n[t]===r[t]||Dt(e.style,t,n[t])}else t[0]===`o`&&t[1]===`n`?(a=t!==(t=t.replace(/Capture$/,``)),(o=t.toLowerCase())in e&&(t=o),t=t.slice(2),e.l||={},e.l[t]=n,n?r||e.addEventListener(t,kt,a):e.removeEventListener(t,kt,a)):t!==`list`&&t!==`tagName`&&t!==`form`&&t!==`type`&&t!==`size`&&t!==`download`&&t!==`href`&&!i&&t in e?e[t]=n??``:typeof n!=`function`&&t!==`dangerouslySetInnerHTML`&&(t===(t=t.replace(/xlink:?/,``))?n==null||!1===n&&!/^ar/.test(t)?e.removeAttribute(t):e.setAttribute(t,n):n==null||!1===n?e.removeAttributeNS(`http://www.w3.org/1999/xlink`,t.toLowerCase()):e.setAttributeNS(`http://www.w3.org/1999/xlink`,t.toLowerCase(),n))}function kt(e){this.l[e.type](Y.event?Y.event(e):e)}function At(e,t,n){var r,i;for(r=0;r<e.__k.length;r++)(i=e.__k[r])&&(i.__=e,i.__e&&(typeof i.type==`function`&&i.__k.length>1&&At(i,t,n),t=Tt(n,i,i,e.__k,null,i.__e,t),typeof e.type==`function`&&(e.__d=t)))}function jt(e,t,n,r,i,a,o,s,c){var l,u,d,f,p,m,h,g,_,v,y,b=t.type;if(t.constructor!==void 0)return null;(l=Y.__b)&&l(t);try{n:if(typeof b==`function`){if(g=t.props,_=(l=b.contextType)&&r[l.__c],v=l?_?_.props.value:l.__:r,n.__c?h=(u=t.__c=n.__c).__=u.__E:(`prototype`in b&&b.prototype.render?t.__c=u=new b(g,v):(t.__c=u=new vt(g,v),u.constructor=b,u.render=It),_&&_.sub(u),u.props=g,u.state||={},u.context=v,u.__n=r,d=u.__d=!0,u.__h=[]),u.__s??=u.state,b.getDerivedStateFromProps!=null&&(u.__s==u.state&&(u.__s=ft({},u.__s)),ft(u.__s,b.getDerivedStateFromProps(g,u.__s))),f=u.props,p=u.state,d)b.getDerivedStateFromProps==null&&u.componentWillMount!=null&&u.componentWillMount(),u.componentDidMount!=null&&u.__h.push(u.componentDidMount);else{if(b.getDerivedStateFromProps==null&&g!==f&&u.componentWillReceiveProps!=null&&u.componentWillReceiveProps(g,v),!u.__e&&u.shouldComponentUpdate!=null&&!1===u.shouldComponentUpdate(g,u.__s,v)||t.__v===n.__v){u.props=g,u.state=u.__s,t.__v!==n.__v&&(u.__d=!1),u.__v=t,t.__e=n.__e,t.__k=n.__k,u.__h.length&&o.push(u),At(t,s,e);break n}u.componentWillUpdate!=null&&u.componentWillUpdate(g,u.__s,v),u.componentDidUpdate!=null&&u.__h.push(function(){u.componentDidUpdate(f,p,m)})}u.context=v,u.props=g,u.state=u.__s,(l=Y.__r)&&l(t),u.__d=!1,u.__v=t,u.__P=e,l=u.render(u.props,u.state,u.context),u.state=u.__s,u.getChildContext!=null&&(r=ft(ft({},r),u.getChildContext())),d||u.getSnapshotBeforeUpdate==null||(m=u.getSnapshotBeforeUpdate(f,p)),y=l!=null&&l.type==_t&&l.key==null?l.props.children:l,Ct(e,Array.isArray(y)?y:[y],t,n,r,i,a,o,s,c),u.base=t.__e,u.__h.length&&o.push(u),h&&(u.__E=u.__=null),u.__e=!1}else a==null&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=Nt(n.__e,t,n,r,i,a,o,c);(l=Y.diffed)&&l(t)}catch(e){t.__v=null,Y.__e(e,t,n)}return t.__e}function Mt(e,t){Y.__c&&Y.__c(t,e),e.some(function(t){try{e=t.__h,t.__h=[],e.some(function(e){e.call(t)})}catch(e){Y.__e(e,t.__v)}})}function Nt(e,t,n,r,i,a,o,s){var c,l,u,d,f,p=n.props,m=t.props;if(i=t.type===`svg`||i,a!=null){for(c=0;c<a.length;c++)if((l=a[c])!=null&&((t.type===null?l.nodeType===3:l.localName===t.type)||e==l)){e=l,a[c]=null;break}}if(e==null){if(t.type===null)return document.createTextNode(m);e=i?document.createElementNS(`http://www.w3.org/2000/svg`,t.type):document.createElement(t.type,m.is&&{is:m.is}),a=null,s=!1}if(t.type===null)p!==m&&e.data!==m&&(e.data=m);else{if(a!=null&&(a=Jt.slice.call(e.childNodes)),u=(p=n.props||qt).dangerouslySetInnerHTML,d=m.dangerouslySetInnerHTML,!s){if(a!=null)for(p={},f=0;f<e.attributes.length;f++)p[e.attributes[f].name]=e.attributes[f].value;
1(d||u)&&(d&&u&&d.__html==u.__html||(e.innerHTML=d&&d.__html||``))}Et(e,m,p,i,s),d?t.__k=[]:(c=t.props.children,Ct(e,Array.isArray(c)?c:[c],t,n,r,t.type!==`foreignObject`&&i,a,o,qt,s)),s||(`value`in m&&(c=m.value)!==void 0&&c!==e.value&&Ot(e,`value`,c,p.value,!1),`checked`in m&&(c=m.checked)!==void 0&&c!==e.checked&&Ot(e,`checked`,c,p.checked,!1))}return e}function Pt(e,t,n){try{typeof e==`function`?e(t):e.current=t}catch(e){Y.__e(e,n)}}function Ft(e,t,n){var r,i,a;if(Y.unmount&&Y.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||Pt(r,null,t)),n||typeof e.type==`function`||(n=(i=e.__e)!=null),e.__e=e.__d=void 0,(r=e.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(e){Y.__e(e,t)}r.base=r.__P=null}if(r=e.__k)for(a=0;a<r.length;a++)r[a]&&Ft(r[a],t,n);i!=null&&pt(i)}function It(e,t,n){return this.constructor(e,n)}function Lt(e,t,n){var r,i,a;Y.__&&Y.__(e,t),i=(r=n===Gt)?null:n&&n.__k||t.__k,e=mt(_t,null,[e]),a=[],jt(t,(r?t:n||t).__k=e,i||qt,qt,t.ownerSVGElement!==void 0,n&&!r?[n]:i?null:t.childNodes.length?Jt.slice.call(t.childNodes):null,a,n||qt,r),Mt(a,e)}function Rt(e,t){Lt(e,t,Gt)}function zt(e,t,n){var r,i,a,o=arguments,s=ft({},e.props);for(a in t)a==`key`?r=t[a]:a==`ref`?i=t[a]:s[a]=t[a];if(arguments.length>3)for(n=[n],a=3;a<arguments.length;a++)n.push(o[a]);return n!=null&&(s.children=n),ht(e.type,s,r||e.key,i||e.ref,null)}function Bt(e,t){var n={__c:t=`__cC`+Kt++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e,n,r){return this.getChildContext||(n=[],(r={})[t]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some(xt)},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n.splice(n.indexOf(e),1),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n}var Y,Vt,Ht,Ut,Wt,Gt,Kt,qt,Jt,Yt,X=n((()=>{qt={},Jt=[],Yt=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,Y={__e:function(e,t){for(var n,r;t=t.__;)if((n=t.__c)&&!n.__)try{if(n.constructor&&n.constructor.getDerivedStateFromError!=null&&(r=!0,n.setState(n.constructor.getDerivedStateFromError(e))),n.componentDidCatch!=null&&(r=!0,n.componentDidCatch(e)),r)return xt(n.__E=n)}catch(t){e=t}throw e}},Vt=function(e){return e!=null&&e.constructor===void 0},vt.prototype.setState=function(e,t){var n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=ft({},this.state);typeof e==`function`&&(e=e(ft({},n),this.props)),e&&ft(n,e),e!=null&&this.__v&&(t&&this.__h.push(t),xt(this))},vt.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),xt(this))},vt.prototype.render=_t,Ht=[],Ut=typeof Promise==`function`?Promise.prototype.then.bind(Prom
1ise.resolve()):setTimeout,St.__r=0,Gt=qt,Kt=0})),Xt=a(((e,n)=>{var r=Object.defineProperty,i=Object.defineProperties,a=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyDescriptors,s=Object.getOwnPropertyNames,c=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable,d=(e,t,n)=>t in e?r(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,f=(e,t)=>{for(var n in t||={})l.call(t,n)&&d(e,n,t[n]);if(c)for(var n of c(t))u.call(t,n)&&d(e,n,t[n]);return e},p=(e,t)=>i(e,o(t)),m=(e,t)=>function(){return t||(0,e[s(e)[0]])((t={exports:{}}).exports,t),t.exports},h=(e,t)=>{for(var n in t)r(e,n,{get:t[n],enumerable:!0})},g=(e,t,n,i)=>{if(t&&typeof t==`object`||typeof t==`function`)for(let o of s(t))!l.call(e,o)&&o!==n&&r(e,o,{get:()=>t[o],enumerable:!(i=a(t,o))||i.enumerable});return e},_=e=>g(r({},`__esModule`,{value:!0}),e),v=(e,t,n)=>new Promise((r,i)=>{var a=e=>{try{s(n.next(e))}catch(e){i(e)}},o=e=>{try{s(n.throw(e))}catch(e){i(e)}},s=e=>e.done?r(e.value):Promise.resolve(e.value).then(a,o);s((n=n.apply(e,t)).next())}),y=m({"package.json"(e,t){t.exports={scripts:{lint:`run -T eslint . --ext .ts,.tsx`,clean:`rm -rf ./dist`,dev:`parcel public/test.html`,docs:`typedoc src/index.ts`,build:`run -T tsup src/index.ts --format cjs,esm --dts && run -T publint`,prepublish:`npm run clean && npm run build`,test:`run -T jest --config ./jestconfig.js`,"test:watch":`run -T jest --config ./jestconfig.js --watchAll`},name:`@giphy/js-fetch-api`,version:`5.8.0`,description:`Javascript API to fetch gifs and stickers from the GIPHY API.`,homepage:`https://github.com/Giphy/giphy-js/tree/master/packages/fetch-api`,repository:{type:`git`,url:`https://github.com/Giphy/giphy-js`,directory:`packages/fetch-api`},main:`dist/index.cjs`,types:`dist/index.d.ts`,module:`dist/index.js`,type:`module`,sideEffects:!1,exports:{".":{types:`./dist/index.d.ts`,import:`./dist/index.js`,require:`./dist/index.cjs`},"./package.json":`./package.json`},files:[`dist/`,`src/**/*`],license:`MIT`,publishConfig:{access:`public`},dependencies:{"@giphy/js-types":`*`,"@giphy/js-util":`*`},devDependencies:{"jest-fetch-mock":`^3.0.3`,"parcel-bundler":`latest`,typedoc:`^0.20.37`,"typedoc-thunder-theme":`^0.0.3`,typescript:`^5.0.4`}}}}),b={};h(b,{FetchError:()=>I,GeoFetchError:()=>F,GiphyFetch:()=>K,defaultRating:()=>w,gifPaginator:()=>q,request:()=>U,serverUrl:()=>C,setDefaultRating:()=>E,setServerUrl:()=>T}),n.exports=_(b);var x=ut(),S=ut(),C=((typeof window<`u`?window:global)||{}).GIPHY_API_URL||`https://api.giphy.com/v1/`,w=`pg-13`,T=e=>{C=e},E=e=>{w=e},D=[`is_anonymous`,`is_community`,`is_featured`,`is_hidden`,`is_indexable`,`is_preserve_size`,`is_realtime`,`is_removed`,`is_sticker`,`is_dynamic`],O=[`suppress_chrome`,`is_public`,`is_verified`],k=e=>t=>e[t]=!!e[t],A=e=>typeof e==`string`?e:e.text,j=(e,t=``)=>{let n=f({},e);n.id=String(n.id),n.tags=(n.tags||[]).map(A),n.bottle_data||={},n.response_id=t,D.forEach(k(n)),Object.keys(n.images||{}).forEach(e=>{let t=n.images[e];t.width=parseInt(t.width),t.height=parseInt(t.height)});let{user:r}=n;if(r){let e=f({},r);O.forEach(k(e)),n.user=e}return n},M=e=>{let{response_id:t}=e.meta;return e.data=j(e.data,t),e},N=e=>{let{response_id:t}=e.meta;return e.data=e.data.map(e=>j(e,t)),e},P=class extends Error{constructor(e,t,n=0,r=``){super(e),this.url=t,this.status=n,this.statusText=r}},F=class extends P{},I=P,L=`@giphy/js-fetch-api: `,R=`Error fetching`,z=e=>e,B={},V=6e4,H=6e3,ee=()=>{let e=Date.now();Object.keys(B).forEach(t=>{let n=B[t].isError?H:V;e-B[t].ts>=n&&delete B[t]})};function te(e,t={}){let{apiVersion:n=1,noCache:r=!1,normalizer:i=z}=t,a=C.replace(/\/v\d+\/$/,`/v${n}/`);if(ee(),!B[e]||r){let t=`${a}${e}`;B[e]={request:v(this,null,function*(){let n;try{let r=yield fetch(t,{method:`get`});if(r.ok){let e=yield r.json();if(e.meta?.response_id)return i(e);throw{message:`synthetic response`}}else{let i=R;try{let e=yield r.json();e.message&&(i=e.message),e.meta?.msg&&(i=e.meta.msg)}catch{}B[e]&&(B[e].isError=!0);let a=I;i===`This content is not available in your location`&&(a=F),n=new a(`${L}${i}`,t,r.status,r.statusText)}}catch(r){n=new I(r.message,t),B[e]&&(B[e].isError=!0)}throw n}),ts:Date.now()}}return B[e].request}var U=te,W=e=>e&&e.type?e.type:`gifs`,G=class{constructor(e,t={}){this.getQS=(e={})=>new URLSearchParams(f(p(f({},e),{api_key:this.apiKey,pingback_id:(0,S.getPingbackId)()}),this.qsParams)).toString(),this.apiKey=e,this.qsParams=t}categories(e){return U(`gifs/categories?${this.getQS(e)}`)}gif(e,t){return U(`${t?.internal?`internal/`:``}gifs/${e}?${this.getQS()}
1`,{normalizer:M})}gifs(e,t){return U(Array.isArray(e)?`gifs?${this.getQS({ids:e.join(`,`)})}`:`gifs/categories/${e}/${t}?${this.getQS()}`,{normalizer:N})}emoji(e){return U(`emoji?${this.getQS(e)}`,{normalizer:N})}emojiDefaultVariations(e){return U(`emoji?${this.getQS(e)}`,{apiVersion:2,normalizer:N})}emojiVariations(e){return U(`emoji/${e}/variations?${this.getQS()}`,{apiVersion:2,normalizer:N})}animate(e,t={}){return U(`text/animate?${this.getQS(p(f({},t),{m:e}))}`,{normalizer:N})}search(e,t={}){let n=t.channel?`@${t.channel} ${e}`:e,r;t.type===`text`&&(r=!0);let i=this.getQS(p(f({rating:w},t),{q:n,excludeDynamicResults:r}));return U(`${W(t)}/search?${i}`,{normalizer:N})}subcategories(e,t){return U(`gifs/categories/${e}?${this.getQS(t)}`)}trending(e={}){return U(`${W(e)}/trending?${this.getQS(f({rating:w},e))}`,{normalizer:N})}random(e){return U(`${W(e)}/random?${this.getQS(f({rating:w},e||{}))}`,{noCache:!0,normalizer:M})}related(e,t={}){let{type:n=`gifs`}=t;return U(`${n}/related?${this.getQS(f({gif_id:e,rating:w},t))}`,{normalizer:N})}channels(e,t={}){return U(`channels/search?${this.getQS(f({q:e,rating:w},t))}`)}},K=G,ne=Symbol(`has inivisible gifs`),q=(e,t=[])=>{let n=[...t],r=t.map(e=>e.id),i=t.length,a=!1;return t=>v(void 0,null,function*(){if(t&&(n=t,r=t.map(e=>e.id)),a)return n;let{pagination:o,data:s}=yield e(i);i=o.count+o.offset,a=i===o.total_count,s.forEach(e=>{let{id:t}=e;r.includes(t)||(n.push(e),r.push(t))});let c=[...n];return o.hasMoreGifs&&(c.skipCountCheck=ne),c})};if(t!==void 0){let{version:e}=y();(0,x.getGiphySDKRequestHeaders)()?.get(`X-GIPHY-SDK-NAME`)||((0,x.appendGiphySDKRequestHeader)(`X-GIPHY-SDK-NAME`,`FetchAPI`),(0,x.appendGiphySDKRequestHeader)(`X-GIPHY-SDK-VERSION`,e))}0&&(n.exports={FetchError:P,GeoFetchError:F,GiphyFetch:G,defaultRating:w,gifPaginator:q,request:te,serverUrl:C,setDefaultRating:E,setServerUrl:T})}));function Zt(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function Qt(e){var t=document.createElement(`style`);return t.setAttribute(`data-emotion`,e.key),e.nonce!==void 0&&t.setAttribute(`nonce`,e.nonce),t.appendChild(document.createTextNode(``)),t.setAttribute(`data-s`,``),t}var $t,en=n((()=>{$t=function(){function e(e){var t=this;this._insertTag=function(e){var n=t.tags.length===0?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling;t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=e.speedy===void 0||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(Qt(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=Zt(t);try{n.insertRule(e,n.cssRules.length)}catch{}}else t.appendChild(document.createTextNode(e));this.ctr++}
1,t.flush=function(){this.tags.forEach(function(e){return e.parentNode?.removeChild(e)}),this.tags=[],this.ctr=0},e}()})),tn,nn,Z,rn,an,on,sn,cn,ln,un=n((()=>{tn=`-ms-`,nn=`-moz-`,Z=`-webkit-`,rn=`comm`,an=`rule`,on=`decl`,sn=`@import`,cn=`@keyframes`,ln=`@layer`}));function dn(e,t){return hn(e,0)^45?(((t<<2^hn(e,0))<<2^hn(e,1))<<2^hn(e,2))<<2^hn(e,3):0}function fn(e){return e.trim()}function pn(e,t){return(e=t.exec(e))?e[0]:e}function Q(e,t,n){return e.replace(t,n)}function mn(e,t){return e.indexOf(t)}function hn(e,t){return e.charCodeAt(t)|0}function gn(e,t,n){return e.slice(t,n)}function _n(e){return e.length}function vn(e){return e.length}function yn(e,t){return t.push(e),e}function bn(e,t){return e.map(t).join(``)}var xn,Sn,Cn,wn=n((()=>{xn=Math.abs,Sn=String.fromCharCode,Cn=Object.assign}));function Tn(e,t,n,r,i,a,o){return{value:e,root:t,parent:n,type:r,props:i,children:a,line:Hn,column:Un,length:o,return:``}}function En(e,t){return Cn(Tn(``,null,null,``,null,null,0),e,{length:-e.length},t)}function Dn(){return $}function On(){return $=Gn>0?hn(Kn,--Gn):0,Un--,$===10&&(Un=1,Hn--),$}function kn(){return $=Gn<Wn?hn(Kn,Gn++):0,Un++,$===10&&(Un=1,Hn++),$}function An(){return hn(Kn,Gn)}function jn(){return Gn}function Mn(e,t){return gn(Kn,e,t)}function Nn(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Pn(e){return Hn=Un=1,Wn=_n(Kn=e),Gn=0,[]}function Fn(e){return Kn=``,e}function In(e){return fn(Mn(Gn-1,zn(e===91?e+2:e===40?e+1:e)))}function Ln(e){for(;($=An())&&$<33;)kn();return Nn(e)>2||Nn($)>3?``:` `}function Rn(e,t){for(;--t&&kn()&&!($<48||$>102||$>57&&$<65||$>70&&$<97););return Mn(e,jn()+(t<6&&An()==32&&kn()==32))}function zn(e){for(;kn();)switch($){case e:return Gn;case 34:case 39:e!==34&&e!==39&&zn($);break;case 40:e===41&&zn(e);break;case 92:kn();break}return Gn}function Bn(e,t){for(;kn()&&e+$!==57&&!(e+$===84&&An()===47););return`/*`+Mn(t,Gn-1)+`*`+Sn(e===47?e:kn())}function Vn(e){for(;!Nn(An());)kn();return Mn(e,Gn)}var Hn,Un,Wn,Gn,$,Kn,qn=n((()=>{wn(),Hn=1,Un=1,Wn=0,Gn=0,$=0,Kn=``}));function Jn(e){return Fn(Yn(``,null,null,null,[``],e=Pn(e),0,[0],e))}function Yn(e,t,n,r,i,a,o,s,c){for(var l=0,u=0,d=o,f=0,p=0,m=0,h=1,g=1,_=1,v=0,y=``,b=i,x=a,S=r,C=y;g;)switch(m=v,v=kn()){case 40:if(m!=108&&hn(C,d-1)==58){mn(C+=Q(In(v),`&`,`&\f`),`&\f`)!=-1&&(_=-1);break}case 34:case 39:case 91:C+=In(v);break;case 9:case 10:case 13:case 32:C+=Ln(m);break;case 92:C+=Rn(jn()-1,7);continue;case 47:switch(An()){case 42:case 47:yn(Zn(Bn(kn(),jn()),t,n),c);break;default:C+=`/`}break;case 123*h:s[l++]=_n(C)*_;case 125*h:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:_==-1&&(C=Q(C,/\f/g,``)),p>0&&_n(C)-d&&yn(p>32?Qn(C+`;`,r,n,d-1):Qn(Q(C,` `,``)+`;`,r,n,d-2),c);break;case 59:C+=`;`;default:if(yn(S=Xn(C,t,n,l,u,i,s,y,b=[],x=[],d),a),v===123)if(u===0)Yn(C,t,S,S,b,a,d,s,x);else switch(f===99&&hn(C,3)===110?100:f){case 100:case 108:case 109:case 115:Yn(e,S,S,r&&yn(Xn(e,S,S,0,0,i,s,y,i,b=[],d),x),i,x,d,s,r?b:x);break;default:Yn(C,S,S,S,[``],x,0,s,x)}}l=u=p=0,h=_=1,y=C=``,d=o;break;case 58:d=1+_n(C),p=m;default:if(h<1){if(v==123)--h;else if(v==125&&h++==0&&On()==125)continue}switch(C+=Sn(v),v*h){case 38:_=u>0?1:(C+=`\f`,-1);break;case 44:s[l++]=(_n(C)-1)*_,_=1;break;case 64:An()===45&&(C+=In(kn())),f=An(),u=d=_n(y=C+=Vn(jn())),v++;break;case 45:m===45&&_n(C)==2&&(h=0)}}return a}function Xn(e,t,n,r,i,a,o,s,c,l,u){for(var d=i-1,f=i===0?a:[``],p=vn(f),m=0,h=0,g=0;m<r;++m)for(var _=0,v=gn(e,d+1,d=xn(h=o[m])),y=e;_<p;++_)(y=fn(h>0?f[_]+` `+v:Q(v,/&\f/g,f[_])))&&(c[g++]=y);return Tn(e,t,n,i===0?an:s,c,l,u)}function Zn(e,t,n){return Tn(e,t,n,rn,Sn(Dn()),gn(e,2,-2),0)}function Qn(e,t,n,r){return Tn(e,t,n,on,gn(e,0,r),gn(e,r+1,-1),r)}var $n=n((()=>{un(),wn(),qn()})),er=n((()=>{}));function tr(e,t){for(var n=``,r=vn(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||``;return n}function nr(e,t,n,r){switch(e.type){case ln:if(e.children.length)break;case sn:case on:return e.return=e.return||e.value;case rn:return``;case cn:return e.return=e.value+`{`+tr(e.children,r)+`}`;case an:e.value=e.props.join(`,`)}return _n(n=tr(e.children,r))?e.return=e.value+`{`+n+`}`:``}var rr=n((()=>{un(),wn()}));function ir(e){var t=vn(e);return function(n,r,i,a){for(var o=``,s=0;s<t;s++)o+=e[s](n,r,i,a)||``;return o}}function ar(e){return function(t){t.root||(t=t.return)&&e(t)}}var or=n((()=>{wn()})),sr=n((()=>{un(),wn(),$n(),er(),qn(),rr(),or()}));function cr(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var lr=n((()=>{}));function ur(e,t){switch(dn(e,t)){case 5103:return Z+`print-`+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Z+e+e;
1case 5349:case 4246:case 4810:case 6968:case 2756:return Z+e+nn+e+tn+e+e;case 6828:case 4268:return Z+e+tn+e+e;case 6165:return Z+e+tn+`flex-`+e+e;case 5187:return Z+e+Q(e,/(\w+).+(:[^]+)/,Z+`box-$1$2`+tn+`flex-$1$2`)+e;case 5443:return Z+e+tn+`flex-item-`+Q(e,/flex-|-self/,``)+e;case 4675:return Z+e+tn+`flex-line-pack`+Q(e,/align-content|flex-|-self/,``)+e;case 5548:return Z+e+tn+Q(e,`shrink`,`negative`)+e;case 5292:return Z+e+tn+Q(e,`basis`,`preferred-size`)+e;case 6060:return Z+`box-`+Q(e,`-grow`,``)+Z+e+tn+Q(e,`grow`,`positive`)+e;case 4554:return Z+Q(e,/([^-])(transform)/g,`$1`+Z+`$2`)+e;case 6187:return Q(Q(Q(e,/(zoom-|grab)/,Z+`$1`),/(image-set)/,Z+`$1`),e,``)+e;case 5495:case 3959:return Q(e,/(image-set\([^]*)/,Z+"$1$`$1");case 4968:return Q(Q(e,/(.+:)(flex-)?(.*)/,Z+`box-pack:$3`+tn+`flex-pack:$3`),/s.+-b[^;]+/,`justify`)+Z+e+e;case 4095:case 3583:case 4068:case 2532:return Q(e,/(.+)-inline(.+)/,Z+`$1$2`)+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(_n(e)-1-t>6)switch(hn(e,t+1)){case 109:if(hn(e,t+4)!==45)break;case 102:return Q(e,/(.+:)(.+)-([^]+)/,`$1`+Z+`$2-$3$1`+nn+(hn(e,t+3)==108?`$3`:`$2-$3`))+e;case 115:return~mn(e,`stretch`)?ur(Q(e,`stretch`,`fill-available`),t)+e:e}break;case 4949:if(hn(e,t+1)!==115)break;case 6444:switch(hn(e,_n(e)-3-(~mn(e,`!important`)&&10))){case 107:return Q(e,`:`,`:`+Z)+e;case 101:return Q(e,/(.+:)([^;!]+)(;|!.+)?/,`$1`+Z+(hn(e,14)===45?`inline-`:``)+`box$3$1`+Z+`$2$3$1`+tn+`$2box$3`)+e}break;case 5936:switch(hn(e,t+11)){case 114:return Z+e+tn+Q(e,/[svh]\w+-[tblr]{2}/,`tb`)+e;case 108:return Z+e+tn+Q(e,/[svh]\w+-[tblr]{2}/,`tb-rl`)+e;case 45:return Z+e+tn+Q(e,/[svh]\w+-[tblr]{2}/,`lr`)+e}return Z+e+tn+e+e}return e}var dr,fr,pr,mr,hr,gr,_r,vr,yr=n((()=>{en(),sr(),dr=function(e,t,n){for(var r=0,i=0;r=i,i=An(),r===38&&i===12&&(t[n]=1),!Nn(i);)kn();return Mn(e,Gn)},fr=function(e,t){var n=-1,r=44;do switch(Nn(r)){case 0:r===38&&An()===12&&(t[n]=1),e[n]+=dr(Gn-1,t,n);break;case 2:e[n]+=In(r);break;case 4:if(r===44){e[++n]=An()===58?`&\f`:``,t[n]=e[n].length;break}default:e[n]+=Sn(r)}while(r=kn());return e},pr=function(e,t){return Fn(fr(Pn(e),t))},mr=new WeakMap,hr=function(e){if(!(e.type!==`rule`||!e.parent||e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;n.type!==`rule`;)if(n=n.parent,!n)return;if(!(e.props.length===1&&t.charCodeAt(0)!==58&&!mr.get(n))&&!r){mr.set(e,!0);for(var i=[],a=pr(t,i),o=n.props,s=0,c=0;s<a.length;s++)for(var l=0;l<o.length;l++,c++)e.props[c]=i[s]?a[s].replace(/&\f/g,o[l]):o[l]+` `+a[s]}}},gr=function(e){if(e.type===`decl`){var t=e.value;t.charCodeAt(0)===108&&t.charCodeAt(2)===98&&(e.return=``,e.value=``)}},_r=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case on:e.return=ur(e.value,e.length);break;case cn:return tr([En(e,{value:Q(e.value,`@`,`@`+Z)})],r);case an:if(e.length)return bn(e.props,function(t){switch(pn(t,/(::plac\w+|:read-\w+)/)){case`:read-only`:case`:read-write`:return tr([En(e,{props:[Q(t,/:(read-\w+)/,`:`+nn+`$1`)]})],r);case`::placeholder`:return tr([En(e,{props:[Q(t,/:(plac\w+)/,`:`+Z+`input-$1`)]}),En(e,{props:[Q(t,/:(plac\w+)/,`:`+nn+`$1`)]}),En(e,{props:[Q(t,/:(plac\w+)/,tn+`input-$1`)]})],r)}return``})}}],vr=function(e){var t=e.key;if(t===`css`){var n=document.querySelectorAll(`style[data-emotion]:not([data-s])`);Array.prototype.forEach.call(n,function(e){e.getAttribute(`data-emotion`).indexOf(` `)!==-1&&(document.head.appendChild(e),e.setAttribute(`data-s`,``))})}var r=e.stylisPlugins||_r,i={},a,o=[];a=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll(`style[data-emotion^="`+t+` "]`),function(e){for(var t=e.getAttribute(`data-emotion`).split(` `),n=1;n<t.length;n++)i[t[n]]=!0;o.push(e)});var s,c=[hr,gr],l,u=[nr,ar(function(e){l.insert(e)})],d=ir(c.concat(r,u)),f=function(e){return tr(Jn(e),d)};s=function(e,t,n,r){l=n,f(e?e+`{`+t.styles+`}`:t.styles),r&&(p.inserted[t.name]=!0)};var p={key:t,sheet:new $t({key:t,container:a,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:i,registered:{},insert:s};return p.sheet.hydrate(o),p}}));function br(e){for(var t=0,n,r=0,i=e.length;i>=4;++r,i-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>
1>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var xr=n((()=>{})),Sr,Cr=n((()=>{Sr={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1}}));function wr(e,t,n){if(n==null)return``;var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case`boolean`:return``;case`object`:var i=n;if(i.anim===1)return Ir={name:i.name,styles:i.styles,next:Ir},i.name;var a=n;if(a.styles!==void 0){var o=a.next;if(o!==void 0)for(;o!==void 0;)Ir={name:o.name,styles:o.styles,next:Ir},o=o.next;return a.styles+`;`}return Tr(e,t,n);case`function`:if(e!==void 0){var s=Ir,c=n(e);return Ir=s,wr(e,t,c)}break}var l=n;if(t==null)return l;var u=t[l];return u===void 0?l:u}function Tr(e,t,n){var r=``;if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=wr(e,t,n[i])+`;`;else for(var a in n){var o=n[a];if(typeof o!=`object`){var s=o;t!=null&&t[s]!==void 0?r+=a+`{`+t[s]+`}`:jr(s)&&(r+=Mr(a)+`:`+Nr(a,s)+`;`)}else{if(a===`NO_COMPONENT_SELECTOR`&&Dr)throw Error(Pr);if(Array.isArray(o)&&typeof o[0]==`string`&&(t==null||t[o[0]]===void 0))for(var c=0;c<o.length;c++)jr(o[c])&&(r+=Mr(a)+`:`+Nr(a,o[c])+`;`);else{var l=wr(e,t,o);switch(a){case`animation`:case`animationName`:r+=Mr(a)+`:`+l+`;`;break;default:r+=a+`{`+l+`}`}}}}return r}function Er(e,t,n){if(e.length===1&&typeof e[0]==`object`&&e[0]!==null&&e[0].styles!==void 0)return e[0];var r=!0,i=``;Ir=void 0;var a=e[0];a==null||a.raw===void 0?(r=!1,i+=wr(n,t,a)):i+=a[0];for(var o=1;o<e.length;o++)i+=wr(n,t,e[o]),r&&(i+=a[o]);Fr.lastIndex=0;for(var s=``,c;(c=Fr.exec(i))!==null;)s+=`-`+c[1];return{name:br(i)+s,styles:i,next:Ir}}var Dr,Or,kr,Ar,jr,Mr,Nr,Pr,Fr,Ir,Lr=n((()=>{xr(),Cr(),lr(),Dr=!1,Or=/[A-Z]|^ms/g,kr=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Ar=function(e){return e.charCodeAt(1)===45},jr=function(e){return e!=null&&typeof e!=`boolean`},Mr=cr(function(e){return Ar(e)?e:e.replace(Or,`-$&`).toLowerCase()}),Nr=function(e,t){switch(e){case`animation`:case`animationName`:if(typeof t==`string`)return t.replace(kr,function(e,t,n){return Ir={name:t,styles:n,next:Ir},t})}return Sr[e]!==1&&!Ar(e)&&typeof t==`number`&&t!==0?t+`px`:t},Pr=`Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.`,Fr=/label:\s*([^\s;{]+)\s*(;|$)/g}));function Rr(e,t,n){var r=``;return n.split(` `).forEach(function(n){e[n]===void 0?n&&(r+=n+` `):t.push(e[n]+`;`)}),r}var zr,Br,Vr=n((()=>{zr=function(e,t,n){var r=e.key+`-`+t.name;n===!1&&e.registered[r]===void 0&&(e.registered[r]=t.styles)},Br=function(e,t,n){zr(e,t,n);var r=e.key+`-`+t.name;if(e.inserted[t.name]===void 0){var i=t;do e.insert(t===i?`.`+r:``,i,e.sheet,!0),i=i.next;while(i!==void 0)}}}));function Hr(e,t){if(e.inserted[t.name]===void 0)return e.insert(``,t,e.sheet,!0)}function Ur(e,t,n){var r=[],i=Rr(e,r,n);return r.length<2?n:i+t(r)}var Wr,Gr,Kr=n((()=>{yr(),Lr(),Vr(),Wr=function(e){var t=vr(e);t.sheet.speedy=function(e){this.isSpeedy=e},t.compat=!0;var n=function(){var e=Er([...arguments],t.registered,void 0);return Br(t,e,!1),t.key+`-`+e.name};return{css:n,cx:function(){var e=[...arguments];return Ur(t.registered,n,Gr(e))},injectGlobal:function(){Hr(t,Er([...arguments],t.registered))},keyframes:function(){var e=Er([...arguments],t.registered),n=`animation-`+e.name;return Hr(t,{name:e.name,styles:`@keyframes `+n+`{`+e.styles+`}`}),n},hydrate:function(e){e.forEach(function(e){t.inserted[e]=!0})},flush:function(){t.registered={},t.inserted={},t.sheet.flush()},sheet:t.sheet,cache:t,getRegisteredStyles:Rr.bind(null,t.registered),merge:Ur.bind(null,t.registered,n)}},Gr=function e(t){for(var n=``,r=0;r<t.length;r++){var i=t[r];
1if(i!=null){var a=void 0;switch(typeof i){case`boolean`:break;case`object`:if(Array.isArray(i))a=e(i);else for(var o in a=``,i)i[o]&&o&&(a&&(a+=` `),a+=o);break;default:a=i}a&&(n&&(n+=` `),n+=a)}}return n}})),qr=i({cache:()=>ii,css:()=>ni,cx:()=>Zr,flush:()=>Yr,getRegisteredStyles:()=>$r,hydrate:()=>Xr,injectGlobal:()=>ei,keyframes:()=>ti,merge:()=>Qr,sheet:()=>ri}),Jr,Yr,Xr,Zr,Qr,$r,ei,ti,ni,ri,ii,ai=n((()=>{Kr(),Jr=Wr({key:`css`}),Yr=Jr.flush,Xr=Jr.hydrate,Zr=Jr.cx,Qr=Jr.merge,$r=Jr.getRegisteredStyles,ei=Jr.injectGlobal,ti=Jr.keyframes,ni=Jr.css,ri=Jr.sheet,ii=Jr.cache})),oi=a((e=>{Object.defineProperty(e,"__esModule",{value:!0});function t(e,t,n,r){var i,a=!1,o=0;function s(){i&&clearTimeout(i)}function c(){s(),a=!0}typeof t!=`boolean`&&(r=n,n=t,t=void 0);function l(){var c=[...arguments],l=this,u=Date.now()-o;if(a)return;function d(){o=Date.now(),n.apply(l,c)}function f(){i=void 0}r&&!i&&d(),s(),r===void 0&&u>e?d():t!==!0&&(i=setTimeout(r?f:d,r===void 0?e-u:e))}return l.cancel=c,l}function n(e,n,r){return r===void 0?t(e,n,!1):t(e,r,n!==!1)}e.debounce=n,e.throttle=t})),si=a((t=>{Object.defineProperty(t,"__esModule",{value:!0});var n=(X(),e(J));t.default=class extends n.Component{constructor(){super(...arguments),this.container=null}componentDidMount(){this.io=new IntersectionObserver(([e])=>{this.setState({isVisible:e.isIntersecting});let{onVisibleChange:t}=this.props;t&&t(e.isIntersecting)}),this.io.observe(this.container)}componentWillUnmount(){this.io&&this.io.disconnect()}render({children:e,className:t},{isVisible:r}){let i=Array.isArray(e)?e:[e];return(0,n.h)(`div`,{ref:e=>this.container=e,className:t},i.map(e=>e?(0,n.cloneElement)(e,{isVisible:r}):null))}}}));function ci(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function li(e){var t=document.createElement(`style`);return t.setAttribute(`data-emotion`,e.key),e.nonce!==void 0&&t.setAttribute(`nonce`,e.nonce),t.appendChild(document.createTextNode(``)),t}var ui,di=n((()=>{ui=function(){function e(e){this.isSpeedy=e.speedy===void 0||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.before=null}var t=e.prototype;return t.insert=function(e){if(this.ctr%(this.isSpeedy?65e3:1)==0){var t=li(this),n=this.tags.length===0?this.before:this.tags[this.tags.length-1].nextSibling;this.container.insertBefore(t,n),this.tags.push(t)}var r=this.tags[this.tags.length-1];if(this.isSpeedy){var i=ci(r);try{var a=e.charCodeAt(1)===105&&e.charCodeAt(0)===64;i.insertRule(e,a?0:i.cssRules.length)}catch{}}else r.appendChild(document.createTextNode(e));this.ctr++}
1,t.flush=function(){this.tags.forEach(function(e){return e.parentNode.removeChild(e)}),this.tags=[],this.ctr=0},e}()}));function fi(e){function t(e,r,c,l,u){for(var p=0,m=0,h=0,g=0,_,x,C=0,w=0,T,E=T=_=0,D=0,N=0,F=0,L=0,R=c.length,z=R-1,B,V=``,H=``,ee=``,te=``,U;D<R;){if(x=c.charCodeAt(D),D===z&&m+g+h+p!==0&&(m!==0&&(x=m===47?10:47),g=h=p=0,R++,z++),m+g+h+p===0){if(D===z&&(0<N&&(V=V.replace(f,``)),0<V.trim().length)){switch(x){case 32:case 9:case 59:case 13:case 10:break;default:V+=c.charAt(D)}x=59}switch(x){case 123:for(V=V.trim(),_=V.charCodeAt(0),T=1,L=++D;D<R;){switch(x=c.charCodeAt(D)){case 123:T++;break;case 125:T--;break;case 47:switch(x=c.charCodeAt(D+1)){case 42:case 47:a:{for(E=D+1;E<z;++E)switch(c.charCodeAt(E)){case 47:if(x===42&&c.charCodeAt(E-1)===42&&D+2!==E){D=E+1;break a}break;case 10:if(x===47){D=E+1;break a}}D=E}}break;case 91:x++;case 40:x++;case 34:case 39:for(;D++<z&&c.charCodeAt(D)!==x;);}if(T===0)break;D++}switch(T=c.substring(L,D),_===0&&(_=(V=V.replace(d,``).trim()).charCodeAt(0)),_){case 64:switch(0<N&&(V=V.replace(f,``)),x=V.charCodeAt(1),x){case 100:case 109:case 115:case 45:N=r;break;default:N=M}if(T=t(r,N,T,x,u+1),L=T.length,0<P&&(N=n(M,V,F),U=s(3,T,N,r,k,O,L,x,u,l),V=N.join(``),U!==void 0&&(L=(T=U.trim()).length)===0&&(x=0,T=``)),0<L)switch(x){case 115:V=V.replace(S,o);case 100:case 109:case 45:T=V+`{`+T+`}`;break;case 107:V=V.replace(v,`$1 $2`),T=V+`{`+T+`}`,T=j===1||j===2&&a(`@`+T,3)?`@-webkit-`+T+`@`+T:`@`+T;break;default:T=V+T,l===112&&(T=(H+=T,``))}else T=``;break;default:T=t(r,n(r,V,F),T,l,u+1)}ee+=T,T=F=N=E=_=0,V=``,x=c.charCodeAt(++D);break;case 125:case 59:if(V=(0<N?V.replace(f,``):V).trim(),1<(L=V.length))switch(E===0&&(_=V.charCodeAt(0),_===45||96<_&&123>_)&&(L=(V=V.replace(` `,`:`)).length),0<P&&(U=s(1,V,r,e,k,O,H.length,l,u,l))!==void 0&&(L=(V=U.trim()).length)===0&&(V=`\0\0`),_=V.charCodeAt(0),x=V.charCodeAt(1),_){case 0:break;case 64:if(x===105||x===99){te+=V+c.charAt(D);break}default:V.charCodeAt(L-1)!==58&&(H+=i(V,_,x,V.charCodeAt(2)))}F=N=E=_=0,V=``,x=c.charCodeAt(++D)}}switch(x){case 13:case 10:m===47?m=0:1+_===0&&l!==107&&0<V.length&&(N=1,V+=`\0`),0<P*I&&s(0,V,r,e,k,O,H.length,l,u,l),O=1,k++;break;case 59:case 125:if(m+g+h+p===0){O++;break}default:switch(O++,B=c.charAt(D),x){case 9:case 32:if(g+p+m===0)switch(C){case 44:case 58:case 9:case 32:B=``;break;default:x!==32&&(B=` `)}break;case 0:B=`\\0`;break;case 12:B=`\\f`;break;case 11:B=`\\v`;break;case 38:g+m+p===0&&(N=F=1,B=`\f`+B);break;case 108:if(g+m+p+A===0&&0<E)switch(D-E){case 2:C===112&&c.charCodeAt(D-3)===58&&(A=C);case 8:w===111&&(A=w)}break;case 58:g+m+p===0&&(E=D);break;case 44:m+h+g+p===0&&(N=1,B+=`\r`);break;case 34:case 39:m===0&&(g=g===x?0:g===0?x:g);break;case 91:g+m+h===0&&p++;break;case 93:g+m+h===0&&p--;break;case 41:g+m+p===0&&h--;break;case 40:if(g+m+p===0){if(_===0)switch(2*C+3*w){case 533:break;default:_=1}h++}break;case 64:m+h+g+p+E+T===0&&(T=1);break;case 42:case 47:if(!(0<g+p+h))switch(m){case 0:switch(2*x+3*c.charCodeAt(D+1)){case 235:m=47;break;case 220:L=D,m=42}break;case 42:x===47&&C===42&&L+2!==D&&(c.charCodeAt(L+2)===33&&(H+=c.substring(L,D+1)),B=``,m=0)}}m===0&&(V+=B)}w=C,C=x,D++}if(L=H.length,0<L){if(N=r,0<P&&(U=s(2,H,N,e,k,O,L,l,u,l),U!==void 0&&(H=U).length===0))return te+H+ee;if(H=N.join(`,`)+`{`+H+`}`,j*A!==0){switch(j!==2||a(H,2)||(A=0),A){case 111:H=H.replace(b,`:-moz-$1`)+H;break;case 112:H=H.replace(y,`::-webkit-input-$1`)+H.replace(y,`::-moz-$1`)+H.replace(y,`:-ms-input-$1`)+H}A=0}}return te+H+ee}function n(e,t,n){var i=t.trim().split(g);t=i;var a=i.length,o=e.length;switch(o){case 0:case 1:var s=0;for(e=o===0?``:e[0]+` `;s<a;++s)t[s]=r(e,t[s],n).trim();break;default:var c=s=0;for(t=[];s<a;++s)for(var l=0;l<o;++l)t[c++]=r(e[l]+` `,i[s],n).trim()}return t}function r(e,t,n){var r=t.charCodeAt(0);switch(33>r&&(r=(t=t.trim()).charCodeAt(0)),r){case 38:return t.replace(_,`$1`+e.trim());case 58:return e.trim()+t.replace(_,`$1`+e.trim());default:if(0<1*n&&0<t.indexOf(`\f`))return t.replace(_,(e.charCodeAt(0)===58?``:`$1`)+e.trim())}return e+t}function i(e,t,n,r){var o=e+`;`,s=2*t+3*n+4*r;if(s===944){e=o.indexOf(`:`,9)+1;var c=o.substring(e,o.length-1).trim();return c=o.substring(0,e).trim()+c+`;`,j===1||j===2&&a(c,1)?`-webkit-`+c+c:c}if(j===0||j===2&&!a(o,1))return o;switch(s){case 1015:return o.charCodeAt(10)===97?`-webkit-`+o+o:o;case 951:return o.charCodeAt(3)===116?`-webkit-`+o+o:o;case 963:return o.charCodeAt(5)===110?`-webkit-`+o+o:o;
1case 1009:if(o.charCodeAt(4)!==100)break;case 969:case 942:return`-webkit-`+o+o;case 978:return`-webkit-`+o+`-moz-`+o+o;case 1019:case 983:return`-webkit-`+o+`-moz-`+o+`-ms-`+o+o;case 883:if(o.charCodeAt(8)===45)return`-webkit-`+o+o;if(0<o.indexOf(`image-set(`,11))return o.replace(D,`$1-webkit-$2`)+o;break;case 932:if(o.charCodeAt(4)===45)switch(o.charCodeAt(5)){case 103:return`-webkit-box-`+o.replace(`-grow`,``)+`-webkit-`+o+`-ms-`+o.replace(`grow`,`positive`)+o;case 115:return`-webkit-`+o+`-ms-`+o.replace(`shrink`,`negative`)+o;case 98:return`-webkit-`+o+`-ms-`+o.replace(`basis`,`preferred-size`)+o}return`-webkit-`+o+`-ms-`+o+o;case 964:return`-webkit-`+o+`-ms-flex-`+o+o;case 1023:if(o.charCodeAt(8)!==99)break;return c=o.substring(o.indexOf(`:`,15)).replace(`flex-`,``).replace(`space-between`,`justify`),`-webkit-box-pack`+c+`-webkit-`+o+`-ms-flex-pack`+c+o;case 1005:return m.test(o)?o.replace(p,`:-webkit-`)+o.replace(p,`:-moz-`)+o:o;case 1e3:switch(c=o.substring(13).trim(),t=c.indexOf(`-`)+1,c.charCodeAt(0)+c.charCodeAt(t)){case 226:c=o.replace(x,`tb`);break;case 232:c=o.replace(x,`tb-rl`);break;case 220:c=o.replace(x,`lr`);break;default:return o}return`-webkit-`+o+`-ms-`+c+o;case 1017:if(o.indexOf(`sticky`,9)===-1)break;case 975:switch(t=(o=e).length-10,c=(o.charCodeAt(t)===33?o.substring(0,t):o).substring(e.indexOf(`:`,7)+1).trim(),s=c.charCodeAt(0)+(c.charCodeAt(7)|0)){case 203:if(111>c.charCodeAt(8))break;case 115:o=o.replace(c,`-webkit-`+c)+`;`+o;break;case 207:case 102:o=o.replace(c,`-webkit-`+(102<s?`inline-`:``)+`box`)+`;`+o.replace(c,`-webkit-`+c)+`;`+o.replace(c,`-ms-`+c+`box`)+`;`+o}return o+`;`;case 938:if(o.charCodeAt(5)===45)switch(o.charCodeAt(6)){case 105:return c=o.replace(`-items`,``),`-webkit-`+o+`-webkit-box-`+c+`-ms-flex-`+c+o;case 115:return`-webkit-`+o+`-ms-flex-item-`+o.replace(w,``)+o;default:return`-webkit-`+o+`-ms-flex-line-pack`+o.replace(`align-content`,``).replace(w,``)+o}break;case 973:case 989:if(o.charCodeAt(3)!==45||o.charCodeAt(4)===122)break;case 931:case 953:if(!0===E.test(e))return(c=e.substring(e.indexOf(`:`)+1)).charCodeAt(0)===115?i(e.replace(`stretch`,`fill-available`),t,n,r).replace(`:fill-available`,`:stretch`):o.replace(c,`-webkit-`+c)+o.replace(c,`-moz-`+c.replace(`fill-`,``))+o;break;case 962:if(o=`-webkit-`+o+(o.charCodeAt(5)===102?`-ms-`+o:``)+o,n+r===211&&o.charCodeAt(13)===105&&0<o.indexOf(`transform`,10))return o.substring(0,o.indexOf(`;`,27)+1).replace(h,`$1-webkit-$2`)+o}return o}function a(e,t){var n=e.indexOf(t===1?`:`:`{`),r=e.substring(0,t===3?10:n);return n=e.substring(n+1,e.length-1),F(t===2?r.replace(T,`$1`):r,n,t)}function o(e,t){var n=i(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return n===t+`;`?`(`+t+`)`:n.replace(C,` or ($1)`).substring(4)}function s(e,t,n,r,i,a,o,s,c,l){for(var d=0,f=t,p;d<P;++d)switch(p=N[d].call(u,e,f,n,r,i,a,o,s,c,l)){case void 0:case!1:case!0:case null:break;default:f=p}if(f!==t)return f}function c(e){switch(e){case void 0:case null:P=N.length=0;break;default:if(typeof e==`function`)N[P++]=e;else if(typeof e==`object`)for(var t=0,n=e.length;t<n;++t)c(e[t]);else I=!!e|0}return c}function l(e){return e=e.prefix,e!==void 0&&(F=null,e?typeof e==`function`?(j=2,F=e):j=1:j=0),l}function u(e,n){var r=e;if(33>r.charCodeAt(0)&&(r=r.trim()),L=r,r=[L],0<P){var i=s(-1,n,r,r,k,O,0,0,0,0);i!==void 0&&typeof i==`string`&&(n=i)}var a=t(M,r,n,0,0);return 0<P&&(i=s(-2,a,r,r,k,O,a.length,0,0,0),i!==void 0&&(a=i)),L=``,A=0,O=k=1,a}var d=/^\0+/g,f=/[\0\r\f]/g,p=/: */g,m=/zoo|gra/,h=/([,: ])(transform)/g,g=/,\r+?/g,_=/([\t\r\n ])*\f?&/g,v=/@(k\w+)\s*(\S*)\s*/,y=/::(place)/g,b=/:(read-only)/g,x=/[svh]\w+-[tblr]{2}/,S=/\(\s*(.*)\s*\)/g,C=/([\s\S]*?);/g,w=/-self|flex-/g,T=/[^]*?(:[rp][el]a[\w-]+)[^]*/,E=/stretch|:\s*\w+\-(?:conte|avail)/,D=/([^-])(image-set\()/,O=1,k=1,A=0,j=1,M=[],N=[],P=0,F=null,I=0,L=``;return u.use=c,u.set=l,e!==void 0&&l(e),u}var pi=n((()=>{}));function mi(e){e&&_i.current.insert(e+`}`)}var hi,gi,_i,vi,yi,bi=n((()=>{di(),pi(),hi=`/*|*/`,gi=hi+`}`,_i={current:null},vi=function(e,t,n,r,i,a,o,s,c,l){switch(e){case 1:switch(t.charCodeAt(0)){case 64:return _i.current.insert(t+`;`),``;case 108:if(t.charCodeAt(2)===98)return``}break;case 2:if(s===0)return t+hi;break;case 3:switch(s){case 102:case 112:return _i.current.insert(n[0]+t),``;default:return t+(l===0?hi:``)}
1case-2:t.split(gi).forEach(mi)}},yi=function(e){e===void 0&&(e={});var t=e.key||`css`,n;e.prefix!==void 0&&(n={prefix:e.prefix});var r=new fi(n),i={},a=e.container||document.head,o=document.querySelectorAll(`style[data-emotion-`+t+`]`);Array.prototype.forEach.call(o,function(e){e.getAttribute(`data-emotion-`+t).split(` `).forEach(function(e){i[e]=!0}),e.parentNode!==a&&a.appendChild(e)});var s;r.use(e.stylisPlugins)(vi),s=function(e,t,n,i){var a=t.name;_i.current=n,r(e,t.styles),i&&(c.inserted[a]=!0)};var c={key:t,sheet:new ui({key:t,container:a,nonce:e.nonce,speedy:e.speedy}),nonce:e.nonce,inserted:i,registered:{},insert:s};return c}}));function xi(e){for(var t=0,n,r=0,i=e.length;i>=4;++r,i-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var Si=n((()=>{})),Ci,wi=n((()=>{Ci={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1}}));function Ti(e){var t={};return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var Ei=n((()=>{}));function Di(e,t,n,r){if(n==null)return``;if(n.__emotion_styles!==void 0)return n;switch(typeof n){case`boolean`:return``;case`object`:if(n.anim===1)return Ii={name:n.name,styles:n.styles,next:Ii},n.name;if(n.styles!==void 0){var i=n.next;if(i!==void 0)for(;i!==void 0;)Ii={name:i.name,styles:i.styles,next:Ii},i=i.next;return n.styles+`;`}return Oi(e,t,n);case`function`:if(e!==void 0){var a=Ii,o=n(e);return Ii=a,Di(e,t,o,r)}break;case`string`:break}if(t==null)return n;var s=t[n];return s!==void 0&&!r?s:n}function Oi(e,t,n){var r=``;if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=Di(e,t,n[i],!1);else for(var a in n){var o=n[a];if(typeof o!=`object`)t!=null&&t[o]!==void 0?r+=a+`{`+t[o]+`}`:Mi(o)&&(r+=Ni(a)+`:`+Pi(a,o)+`;`);else if(Array.isArray(o)&&typeof o[0]==`string`&&(t==null||t[o[0]]===void 0))for(var s=0;s<o.length;s++)Mi(o[s])&&(r+=Ni(a)+`:`+Pi(a,o[s])+`;`);else{var c=Di(e,t,o,!1);switch(a){case`animation`:case`animationName`:r+=Ni(a)+`:`+c+`;`;break;default:r+=a+`{`+c+`}`}}}return r}var ki,Ai,ji,Mi,Ni,Pi,Fi,Ii,Li,Ri=n((()=>{Si(),wi(),Ei(),ki=/[A-Z]|^ms/g,Ai=/_EMO_([^_]+?)_([^]*?)_EMO_/g,ji=function(e){return e.charCodeAt(1)===45},Mi=function(e){return e!=null&&typeof e!=`boolean`},Ni=Ti(function(e){return ji(e)?e:e.replace(ki,`-$&`).toLowerCase()}),Pi=function(e,t){switch(e){case`animation`:case`animationName`:if(typeof t==`string`)return t.replace(Ai,function(e,t,n){return Ii={name:t,styles:n,next:Ii},t})}return Ci[e]!==1&&!ji(e)&&typeof t==`number`&&t!==0?t+`px`:t},Fi=/label:\s*([^\s;\n{]+)\s*;/g,Li=function(e,t,n){if(e.length===1&&typeof e[0]==`object`&&e[0]!==null&&e[0].styles!==void 0)return e[0];var r=!0,i=``;Ii=void 0;var a=e[0];a==null||a.raw===void 0?(r=!1,i+=Di(n,t,a,!1)):i+=a[0];for(var o=1;o<e.length;o++)i+=Di(n,t,e[o],i.charCodeAt(i.length-1)===46),r&&(i+=a[o]);Fi.lastIndex=0;for(var s=``,c;(c=Fi.exec(i))!==null;)s+=`-`+c[1];return{name:xi(i)+s,styles:i,next:Ii}}}));function zi(e,t,n){var r=``;return n.split(` `).forEach(function(n){e[n]===void 0?r+=n+` `:t.push(e[n])}),r}var Bi,Vi=n((()=>{Bi=function(e,t,n){var r=e.key+`-`+t.name;if(n===!1&&e.registered[r]===void 0&&(e.registered[r]=t.styles),e.inserted[t.name]===void 0){var i=t;do e.insert(`.`+r,i,e.sheet,!0),i=i.next;while(i!==void 0)}}}));function Hi(e,t){if(e.inserted[t.name]===void 0)return e.insert(``,t,e.sheet,!0)}function Ui(e,t,n){var r=[],i=zi(e,r,n);return r.length<2?n:i+t(r)}var Wi,Gi,Ki=n((()=>{bi(),Ri(),Vi(),Wi=function(e){var t=yi(e);t.sheet.speedy=function(e){this.isSpeedy=e},t.compat=!0;var n=function(){var e=Li([...arguments],t.registered,void 0);return Bi(t,e,!1),t.key+`-`+e.name};return{css:n,cx:function(){var e=[...arguments];return Ui(t.registered,n,Gi(e))},injectGlobal:function(){Hi(t,Li([...arguments],t.registered))},keyframes:function(){var e=Li([...arguments],t.registered),n=`animation-`+e.name;return Hi(t,{name:e.name,styles:`@keyframes `+n+`{`+e.styles+`}`}),n},hydrate:function(e){e.forEach(function(e){t.inserted[e]=!0})},flush:function(){t.registered={},t.inserted={},t.sheet.flush()},sheet:t.sheet,cache:t,getRegisteredStyles:zi.bind(null,t.registered),merge:Ui.bind(null,t.registered,n)}},Gi=function e(t){for(var n=``,r=0;r<t.length;r++){var i=t[r];
1if(i!=null){var a=void 0;switch(typeof i){case`boolean`:break;case`object`:if(Array.isArray(i))a=e(i);else for(var o in a=``,i)i[o]&&o&&(a&&(a+=` `),a+=o);break;default:a=i}a&&(n&&(n+=` `),n+=a)}}return n}})),qi=i({cache:()=>ia,css:()=>na,cx:()=>Zi,flush:()=>Yi,getRegisteredStyles:()=>$i,hydrate:()=>Xi,injectGlobal:()=>ea,keyframes:()=>ta,merge:()=>Qi,sheet:()=>ra}),Ji,Yi,Xi,Zi,Qi,$i,ea,ta,na,ra,ia,aa=n((()=>{Ki(),Ji=Wi(),Yi=Ji.flush,Xi=Ji.hydrate,Zi=Ji.cx,Qi=Ji.merge,$i=Ji.getRegisteredStyles,ea=Ji.injectGlobal,ta=Ji.keyframes,na=Ji.css,ra=Ji.sheet,ia=Ji.cache})),oa=a(((e,t)=>{var n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,a=Object.prototype.hasOwnProperty,o=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})},s=(e,t,o,s)=>{if(t&&typeof t==`object`||typeof t==`function`)for(let c of i(t))!a.call(e,c)&&c!==o&&n(e,c,{get:()=>t[c],enumerable:!(s=r(t,c))||s.enumerable});return e},c=e=>s(n({},`__esModule`,{value:!0}),e),l={};o(l,{addFonts:()=>ne,css:()=>de,deleteColor:()=>L,dimColor:()=>V,errorColor:()=>I,facebookColor:()=>k,fontFamily:()=>q,fontSize:()=>re,gifOverlayColor:()=>H,giphyAqua:()=>T,giphyBlack:()=>u,giphyBlue:()=>b,giphyCharcoal:()=>m,giphyDarkCharcoal:()=>p,giphyDarkGrey:()=>f,giphyDarkestGrey:()=>d,giphyGreen:()=>x,giphyIndigo:()=>D,giphyLightBlue:()=>E,giphyLightCharcoal:()=>h,giphyLightGrey:()=>g,giphyLightestGrey:()=>_,giphyPink:()=>O,giphyPurple:()=>S,giphyRed:()=>C,giphyWhite:()=>y,giphyWhiteSmoke:()=>v,giphyYellow:()=>w,instagramColor:()=>N,loader:()=>G,pinterestColor:()=>j,primaryCTA:()=>R,primaryCTADisabled:()=>z,redditColor:()=>P,secondaryCTA:()=>B,smsColor:()=>F,tumblrColor:()=>M,twitterColor:()=>A}),t.exports=c(l);var u=`#121212`,d=`#212121`,f=`#2e2e2e`,p=`#3e3e3e`,m=`#4a4a4a`,h=`#5c5c5c`,g=`#a6a6a6`,_=`#d8d8d8`,v=`#ececec`,y=`#ffffff`,b=`#00ccff`,x=`#00ff99`,S=`#9933ff`,C=`#ff6666`,w=`#fff35c`,T=`#00e6cc`,E=`#3191ff`,D=`#6157ff`,O=`#e646b6`,k=`#3894fc`,A=`#00ccff`,j=`#e54cb5`,M=`#529ecc`,N=`#c23c8d`,P=`#fc6669`,F=`#00ff99`,I=C,L=C,R=D,z=`#241F74`,B=m,V=`rgba(0, 0, 0, 0.8)`,H=`rgba(0, 0, 0, 0.4)`,ee=(aa(),c(qi)),te=ee.keyframes`
2     to {
3    transform: scale(1.75) translateY(-20px);
4  }
5`,U=37,W=ee.css`
6    display: flex;
7    align-items: center;
8    height: ${U}px;
9    padding-top: 15px;
10    margin: 0 auto;
11    text-align: center;
12    justify-content: center;
13    animation: pulse 0.8s ease-in-out 0s infinite alternate backwards;
14    div {
15        display: inline-block;
16        height: 10px;
17        width: 10px;
18        margin: ${U}px 10px 10px 10px;
19        position: relative;
20        box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.3);
21        animation: ${te} cubic-bezier(0.455, 0.03, 0.515, 0.955) 0.75s infinite alternate;
22        &:nth-child(5n + 1) {
23            background: ${x};
24            animation-delay: 0;
25        }
26        &:nth-child(5n + 2) {
27            background: ${b};
28            animation-delay: calc(0s + (0.1s * 1));
29        }
30        &:nth-child(5n + 3) {
31            background: ${S};
32            animation-delay: calc(0s + (0.1s * 2));
33        }
34        &:nth-child(5n + 4) {
35            background: ${C};
36            animation-delay: calc(0s + (0.1s * 3));
37        }
38        &:nth-child(5n + 5) {
39            background: ${w};
40            animation-delay: calc(0s + (0.1s * 4));
41        }
42    }
43`,G=W,K=(aa(),c(qi)),ne=()=>K.injectGlobal`
44@font-face {
45    font-family: 'interface';
46    font-style: normal;
47    font-weight: normal;
48    src: url('https://s3.amazonaws.com/giphyscripts/react-giphy-brand/fonts/InterFace_W_Rg.woff2') format('woff2'),
49        url('https://s3.amazonaws.com/giphyscripts/react-giphy-brand/fonts/InterFace_W_Rg.woff') format('woff');
50}
51
52@font-face {
53    font-family: 'interface';
54    font-style: normal;
55    font-weight: bold;
56    src: url('https://s3.amazonaws.com/giphyscripts/react-giphy-brand/fonts/InterFace_W_Bd.woff2') format('woff2'),
57        url('https://s3.amazonaws.com/giphyscripts/react-giphy-brand/fonts/InterFace_W_Bd.woff') format('woff');
58}
59@font-face {
60    font-family: 'interface';
61    font-style: normal;
62    font-weight: 900;
63    src: url('https://s3.amazonaws.com/giphyscripts/react-giphy-brand/fonts/InterFace_W_XBd.woff') format('woff');
64}
65@font-face {
66    font-family: 'nexablack'; 
67    font-style: normal;
68    font-weight: normal;
69    src: url('https://s3.amazonaws.com/giphyscripts/react-giphy-brand/fonts/nexa_black-webfont.woff2') format('woff2'),
70        url('https://s3.amazonaws.com/giphyscripts/react-giphy-brand/fonts/nexa_black-webfont.woff') format('woff');
71}
72@font-face {
73    font-family: 'SSStandard'; 
74    font-style: normal;
75    font-weight: normal;
76    src:  url('https://s3.amazonaws.com/giphyscripts/react-giphy-brand/fonts/ss-standard.woff') format('woff');
77}
78@font-face {
79    font-family: 'SSSocial'; 
80    font-style: normal;
81    font-weight: normal;
82    src:  url('https://s3.amazonaws.com/giphyscripts/react-giphy-brand/fonts/ss-social.woff') format('woff');
83}
84`;try{({}).GIPHY_SDK_NO_FONTS||ne()}catch{ne()}var q={title:`'nexablack', sans-serif`,body:`interface, Helvetica Neue, helvetica, sans-serif;`},re={titleSmall:`20px`,title:`26px`,titleLarge:`36px`,subheader:`16px`,subheaderSmall:`12px`},ie=K.css`
85    font-family: ${q.title};
86    -webkit-font-smoothing: antialiased;
87`,ae=(0,K.cx)(K.css`
88        font-size: ${re.title};
89    `,ie),oe=(0,K.cx)(K.css`
90        font-size: ${re.titleLarge};
91    `,ie),se=(0,K.cx)(K.css`
92        font-size: ${re.titleSmall};
93    `,ie),ce=K.css`
94    font-family: ${q.body};
95    font-weight: bold;
96    -webkit-font-smoothing: antialiased;
97`,le=(0,K.cx)(K.css`
98        font-size: ${re.subheader};
99    `,ce),ue=(0,K.cx)(K.css`
100        font-size: ${re.subheaderSmall};
101    `,ce),de={sectionHeader:K.css`
102    font-family: ${q.body};
103    font-size: 14px;
104    font-weight: bold;
105    text-transform: uppercase;
106    -webkit-font-smoothing: antialiased;
107`,subheaderSmall:ue,subheader:le,titleLarge:oe,titleSmall:se,title:ae};0&&(t.exports={addFonts:ne,css,deleteColor:L,dimColor:V,errorColor:I,facebookColor:k,fontFamily:q,fontSize:re,gifOverlayColor:H,giphyAqua:T,giphyBlack:u,giphyBlue:b,giphyCharcoal:m,giphyDarkCharcoal:p,giphyDarkGrey:f,giphyDarkestGrey:d,giphyGreen:x,giphyIndigo:D,giphyLightBlue:E,giphyLightCharcoal:h,giphyLightGrey:g,giphyLightestGrey:_,giphyPink:O,giphyPurple:S,giphyRed:C,giphyWhite:y,giphyWhiteSmoke:v,giphyYellow:w,instagramColor:N,loader:W,pinterestColor:j,primaryCTA:R,primaryCTADisabled:z,redditColor:P,secondaryCTA:B,smsColor:F,tumblrColor:M,twitterColor:A})})),sa=i({useCallback:()=>ga,useContext:()=>_a,useDebugValue:()=>va,useEffect:()=>da,useErrorBoundary:()=>ya,useImperativeHandle:()=>ma,useLayoutEffect:()=>fa,useMemo:()=>ha,useReducer:()=>ua,useRef:()=>pa,useState:()=>la});function ca(e,t){Y.__h&&Y.__h(Ea,e,Oa||t),Oa=0;var n=Ea.__H||={__:[],__h:[]};return e>=n.__.length&&n.__.push({}),n.__[e]}function la(e){return Oa=1,ua(wa,e)}function ua(e,t,n){var r=ca(Ta++,2);return r.t=e,r.__c||(r.__c=Ea,r.__=[n?n(t):wa(void 0,t),function(e){var t=r.t(r.__[0],e);r.__[0]!==t&&(r.__=[t,r.__[1]],r.__c.setState({}))}]),r.__}function da(e,t){var n=ca(Ta++,3);!Y.__s&&Ca(n.__H,t)&&(n.__=e,n.__H=t,Ea.__H.__h.push(n))}function fa(e,t){var n=ca(Ta++,4);!Y.__s&&Ca(n.__H,t)&&(n.__=e,n.__H=t,Ea.__h.push(n))}function pa(e){return Oa=5,ha(function(){return{current:e}},[])}function ma(e,t,n){Oa=6,fa(function(){typeof e==`function`?e(t()):e&&(e.current=t())},n==null?n:n.concat(e))}function ha(e,t){var n=ca(Ta++,7);return Ca(n.__H,t)?(n.__H=t,n.__h=e,n.__=e()):n.__}function ga(e,t){return Oa=8,ha(function(){return e},t)}function _a(e){var t=Ea.context[e.__c],n=ca(Ta++,9);return n.__c=e,t?(n.__??(n.__=!0,t.sub(Ea)),t.props.value):e.__}function va(e,t){Y.useDebugValue&&Y.useDebugValue(t?t(e):e)}function ya(e){var t=ca(Ta++,10),n=la();return t.__=e,Ea.componentDidCatch||=function(e){t.__&&t.__(e),n[1](e)},[n[0],function(){n[1](void 0)}]}function ba(){ka.some(function(e){if(e.__P)try{e.__H.__h.forEach(xa),e.__H.__h.forEach(Sa),e.__H.__h=[]}catch(t){return e.__H.__h=[],Y.__e(t,e.__v),!0}}),ka=[]}function xa(e){typeof e.u==`function`&&e.u()}function Sa(e){e.u=e.__()}function Ca(e,t){return!e||t.some(function(t,n){return t!==e[n]})}function wa(e,t){return typeof t==`function`?t(e):t}var Ta,Ea,Da,Oa,ka,Aa,ja,Ma,Na,Pa,Fa=n((()=>{X(),Oa=0,ka=[],Aa=Y.__r,ja=Y.diffed,Ma=Y.__c,Na=Y.unmount,Y.__r=function(e){Aa&&Aa(e),Ta=0;var t=(Ea=e.__c).__H;t&&(t.__h.forEach(xa),t.__h.forEach(Sa),t.__h=[])},Y.diffed=function(e){ja&&ja(e);var t=e.__c;t&&t.__H&&t.__H.__h.length&&(ka.push(t)!==1&&Da===Y.requestAnimationFrame||((Da=Y.requestAnimationFrame)||function(e){var t,n=function(){clearTimeout(r),Pa&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);Pa&&(t=requestAnimationFrame(n))})(ba))}
107,Y.__c=function(e,t){t.some(function(e){try{e.__h.forEach(xa),e.__h=e.__h.filter(function(e){return!e.__||Sa(e)})}catch(n){t.some(function(e){e.__h&&=[]}),t=[],Y.__e(n,e.__v)}}),Ma&&Ma(e,t)},Y.unmount=function(e){Na&&Na(e);var t=e.__c;if(t&&t.__H)try{t.__H.__.forEach(xa)}catch(e){Y.__e(e,t.__v)}},Pa=typeof requestAnimationFrame==`function`})),Ia=a(((e,t)=>{var n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,a=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,c=(e,t,r)=>t in e?n(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,l=(e,t)=>{for(var n in t||={})o.call(t,n)&&c(e,n,t[n]);if(a)for(var n of a(t))s.call(t,n)&&c(e,n,t[n]);return e},u=(e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})},d=(e,t,a,s)=>{if(t&&typeof t==`object`||typeof t==`function`)for(let c of i(t))!o.call(e,c)&&c!==a&&n(e,c,{get:()=>t[c],enumerable:!(s=r(t,c))||s.enumerable});return e},f=e=>d(n({},`__esModule`,{value:!0}),e),p={};u(p,{mergeAttributes:()=>h,pingback:()=>k}),t.exports=f(p);var m=ut(),h=(e,t,n)=>{let r=(0,m.pick)(e,[n]),i=(0,m.pick)(t,[n]);return r[n]&&i[n]?l(l(l({},e),t),{[n]:r[n]+`, `+i[n]}):l(l({},e),t)},g=ut(),_=oi(),v=(typeof window<`u`?window:global)||{},y=ut(),b=`${v?.GIPHY_PINGBACK_URL||`https://pingback.giphy.com`}/v2/pingback?apikey=l0HlIwPWyBBUDAUgM`,x=e=>{let t=(0,y.getGiphySDKRequestHeaders)();return t?.set(`Content-Type`,`application/json`),y.Logger.debug(`Pingback session`,e),e.length?fetch(b,{method:`POST`,body:JSON.stringify({events:e}),headers:t}).catch(e=>{y.Logger.warn(`pingbacks failing to post ${e}`)}):new Promise(e=>e())},S=[];v.giphyRandomId=(0,g.getPingbackId)();var C=``;function w(){let e=[...S];S=[],x(e)}var T=(0,_.debounce)(1e3,w),E,D;(D=(E=v).addEventListener)==null||D.call(E,`beforeunload`,w);var O=({userId:e,eventType:t,actionType:n,attributes:r,queueEvents:i=!0,analyticsResponsePayload:a})=>{C=e?String(e):C;let o={ts:Date.now(),attributes:r,action_type:n,user_id:(0,g.getPingbackId)(),analytics_response_payload:a};C&&(o.logged_in_user_id=C),o.analytics_response_payload&&=`${o.analytics_response_payload}${g.Logger.ENABLED?`&mode=verification`:``}`,t&&(o.event_type=t),S.push(o),i?T():w()},k=O;0&&(t.exports={mergeAttributes,pingback:O})})),La=a((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.onGifHover=e.onGifClick=e.onGifSeen=void 0;var t=Ia(),n=ut(),r=e=>(r,i,a,o={})=>{r.analytics_response_payload&&(0,t.pingback)({userId:i,actionType:e,attributes:Object.assign({position:JSON.stringify((0,n.getClientRect)(a))},o),analyticsResponsePayload:r.analytics_response_payload})};e.onGifSeen=(e,n,r,i={})=>{e.analytics_response_payload&&(0,t.pingback)({analyticsResponsePayload:e.analytics_response_payload,userId:n,actionType:`SEEN`,attributes:Object.assign({position:JSON.stringify(r)},i)})},e.onGifClick=r(`CLICK`),e.onGifHover=r(`HOVER`)})),Ra=a((t=>{Object.defineProperty(t,"__esModule",{value:!0});var n=(ai(),e(qr)),r=(X(),e(J)),i=(Fa(),e(sa)),a=e=>{if(!e)return``;let t=((e?.split(`.`))?.pop())?.toLowerCase();return e.replace(`.${t}`,`/80h.${t}`)},o=(0,n.css)`
108    object-fit: cover;
109    width: 32px;
110    height: 32px;
111    margin-right: 8px;
112`;t.default=({user:e,className:t=``})=>{let s=(0,i.useRef)(Math.floor(Math.random()*5)+1),c=e.avatar_url?a(e.avatar_url):`https://media.giphy.com/avatars/default${s.current}.gif`;return(0,r.h)(`img`,{src:c,className:(0,n.cx)(o,t)})}})),za=a((t=>{Object.defineProperty(t,"__esModule",{value:!0});var n=(ai(),e(qr)),r=(X(),e(J)),i=({className:e=``,size:t=17,fill:a=`#15CDFF`})=>(0,r.h)(`svg`,{className:(0,n.cx)(i.className,e),height:t,width:`19px`,viewBox:`0 0 19 17`},(0,r.h)(`g`,{transform:`translate(-532.000000, -466.000000)`,fill:a},(0,r.h)(`g`,{transform:`translate(141.000000, 235.000000)`},(0,r.h)(`g`,{transform:`translate(264.000000, 0.000000)`},(0,r.h)(`g`,{transform:`translate(10.000000, 224.000000)`},(0,r.h)(`g`,{transform:`translate(114.000000, 2.500000)`},(0,r.h)(`path`,{d:`M15.112432,4.80769231 L16.8814194,6.87556817 L19.4157673,7.90116318 L19.6184416,10.6028916 L21.0594951,12.9065042 L19.6184416,15.2101168 L19.4157673,17.9118452 L16.8814194,18.9374402 L15.112432,21.0053161 L12.4528245,20.3611511 L9.79321699,21.0053161 L8.02422954,18.9374402 L5.48988167,17.9118452 L5.28720734,15.2101168 L3.84615385,12.9065042 L5.28720734,10.6028916 L5.48988167,7.90116318 L8.02422954,6.87556817 L9.79321699,4.80769231 L12.4528245,5.4518573 L15.112432,4.80769231 Z M17.8163503,10.8991009 L15.9282384,9.01098901 L11.5681538,13.3696923 L9.68115218,11.4818515 L7.81302031,13.3499833 L9.7011322,15.2380952 L11.5892441,17.1262071 L17.8163503,10.8991009 Z`})))))));i.className=`giphy-verified-badge`,t.default=i})),Ba=a((t=>
112{var n=t&&t.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var r=(ai(),e(qr)),i=(X(),e(J)),a=n(Ra()),o=n(za()),s=(0,r.css)`
113    display: flex;
114    align-items: center;
115    font-family: interface, helvetica, arial;
116`,c=(0,r.css)`
117    flex-shrink: 0;
118`,l=(0,r.css)`
119    color: white;
120    font-size: 17px;
121    font-weight: bold;
122    overflow: hidden;
123    text-overflow: ellipsis;
124    white-space: nowrap;
125    -webkit-font-smoothing: antialiased;
126`,u=(0,r.css)`
127    margin: 0 4px;
128    flex-shrink: 0;
129`,d=({gif:e,className:t,onClick:n})=>{let{user:f}=e;if(!f?.username&&!f?.display_name)return null;let{display_name:p,username:m}=f;return(0,i.h)(`div`,{className:(0,r.cx)(s,d.className,t),onClick:t=>{if(t.preventDefault(),t.stopPropagation(),n)n(e);else{let e=f.profile_url;e&&window.open(e,`_blank`)}}},(0,i.h)(a.default,{user:f,className:c}),(0,i.h)(`div`,{className:l},p||`@${m}`),f.is_verified?(0,i.h)(o.default,{size:14,className:u}):null)};d.className=`giphy-attribution`,t.default=d}
129)),Va=a((t=>{var n=t&&t.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var r=(ai(),e(qr)),i=(X(),e(J)),a=(Fa(),e(sa)),o=n(Ba()),s=(0,r.css)`
130    background: linear-gradient(rgba(0, 0, 0, 0), rgba(18, 18, 18, 0.6));
131    cursor: default;
132    position: absolute;
133    bottom: 0;
134    left: 0;
135    right: 0;
136    height: 75px;
137    pointer-events: none;
138`,c=(0,r.css)`
139    position: absolute;
140    bottom: 10px;
141    left: 10px;
142    right: 10px;
143`,l=(0,r.css)`
144    transition: opacity 150ms ease-in;
145`;t.default=({gif:e,isHovered:t,onClick:n})=>{let r=(0,a.useRef)(t);return t&&(r.current=!0),e.user&&r.current?(0,i.h)(`div`,{className:l,style:{opacity:+!!t}},(0,i.h)(`div`,{className:s}),(0,i.h)(o.default,{gif:e,className:c,onClick:n})):null}})),Ha=a((t=>{Object.defineProperty(t,"__esModule",{value:!0}),t.PingbackContext=void 0;var n=Ia(),r=(X(),e(J)),i=(Fa(),e(sa));t.PingbackContext=(0,r.createContext)({}),t.default=({attributes:e,children:a})=>{let{attributes:o={}}=(0,i.useContext)(t.PingbackContext);return(0,r.h)(t.PingbackContext.Provider,{value:{attributes:(0,n.mergeAttributes)(o,e,`layout_type`)}},a)}})),Ua=a((t=>{var n=t&&t.__createBinding||(Object.create?(function(e,t,n,r){r===void 0&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||(`get`in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}):(function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]})),r=t&&t.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),i=t&&t.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var i in e)i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t},a=t&&t.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getColor=t.GRID_COLORS=void 0;var o=oa(),s=ut(),c=(ai(),e(qr)),l=(X(),e(J)),u=(Fa(),e(sa)),d=i(La()),f=a(Va()),p=a(za()),m=Ha(),h=(0,c.css)`
146    display: block;
147    &:focus {
148        outline: unset;
149    }
150    img {
151        display: block;
152    }
153    .${p.default.className} {
154        g {
155            fill: white;
156        }
157    }
158`;t.GRID_COLORS=[o.giphyBlue,o.giphyGreen,o.giphyPurple,o.giphyRed,o.giphyYellow],t.getColor=()=>t.GRID_COLORS[Math.round(Math.random()*(t.GRID_COLORS.length-1))];var g=200,_=e=>e.href?(0,l.h)(`a`,Object.assign({href:e.href},e)):(0,l.h)(`div`,Object.assign({},e));function v(e){let[t]=(0,u.useState)({current:e});return t}var y=`data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7`,b=()=>{},x=({gif:e,width:n,height:r,onGifRightClick:i=b,className:a,onGifClick:o=b,onGifKeyPress:p=b,onGifSeen:S=b,onGifVisible:C=b,user:w={},backgroundColor:T,hideAttribution:E=!1,noLink:D=!1,borderRadius:O=4,tabIndex:k})=>{let[A,j]=(0,u.useState)(!1),[M,N]=(0,u.useState)(``),[P,F]=(0,u.useState)(!1),[I,L]=(0,u.useState)(!1),R=(0,u.useRef)((0,t.getColor)()),z=(0,u.useRef)(null),B=v(),V=v(),H=v(),ee=(0,u.useRef)(b),{attributes:te}=(0,u.useContext)(m.PingbackContext),U=t=>{clearTimeout(H.current),F(!0),H.current=window.setTimeout(()=>{d.onGifHover(e,w?.id,t.target,te)},g)},W=()=>{clearTimeout(H.current),F(!1)},G=t=>{d.onGifClick(e,w?.id,t.target,te),o(e,t)},K=t=>{p(e,t)};ee.current=t=>{j(!0),s.Logger.debug(`GIF ${e.id} seen. ${e.title}`),d.onGifSeen(e,w?.id,t.boundingClientRect,te),S?.(e,t.boundingClientRect),V.current&&V.current.disconnect()};let ne=t=>{V.current||=new IntersectionObserver(([e])=>{e.isIntersecting&&ee.current(e)},{threshold:[.99]}),!A&&z.current&&V.current&&V.current.observe(z.current),C(e,t),N(x.imgLoadedClassName)};(0,u.useEffect)(()=>{V.current&&V.current.disconnect(),j(!1)},[e.id]),(0,u.useEffect)(()=>(B.current=new IntersectionObserver(([e])=>{let{isIntersecting:t}=e;L(t),!t&&V.current&&V.current.disconnect()}),B.current.observe(z.current),()=>{B.current&&B.current.disconnect(),V.current&&V.current.disconnect(),H.current&&clearTimeout(H.current)}),[]);let q=r||(0,s.getGifHeight)(e,n),re=(0,s.getBestRendition)(e.images,n,q),ie=e.images[re.renditionName],ae=T||(e.is_sticker?`url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADgAAAA4AQMAAACSSKldAAAABlBMVEUhIiIWFhYoSqvJAAAAGElEQVQY02MAAv7///8PWxqIPwDZw5UGABtgwz2xhFKxAAAAAElFTkSuQmCC') 0 0`:R.current),oe=O?(0,c.css)`
159              border-radius: ${O}px;
160              overflow: hidden;
161          `:``;return(0,l.h)(_,{href:D?void 0:e.url,style:{width:n,height:q}
161,className:(0,c.cx)(x.className,h,oe,a),onMouseOver:U,onMouseLeave:W,onClick:G,onContextMenu:t=>i(e,t),onKeyPress:K,tabIndex:k},(0,l.h)(`div`,{style:{width:n,height:q,position:`relative`},ref:z},(0,l.h)(`picture`,null,(0,l.h)(`source`,{type:`image/webp`,srcSet:I?ie.webp:y}),(0,l.h)(`img`,{className:[x.imgClassName,M].join(` `),src:I?ie.url:y,style:{background:ae},width:n,height:q,alt:(0,s.getAltText)(e),onLoad:I?ne:()=>{}})),I?(0,l.h)(`div`,null,!E&&(0,l.h)(f.default,{gif:e,isHovered:P})):null))};x.className=`giphy-gif`,x.imgClassName=`giphy-gif-img`,x.imgLoadedClassName=`giphy-img-loaded`,t.default=x})),Wa=a((t=>{var n=t&&t.__awaiter||function(e,t,n,r){function i(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||=Promise)(function(n,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){e.done?n(e.value):i(e.value).then(o,s)}c((r=r.apply(e,t||[])).next())})},r=t&&t.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=Xt(),a=ut(),o=(ai(),e(qr)),s=(X(),e(J)),c=oi(),l=r(si()),u=r(Ua()),d=r(Ha()),f=(0,o.css)`
162    -webkit-overflow-scrolling: touch;
163    overflow-x: auto;
164    overflow-y: hidden;
165    white-space: nowrap;
166    position: relative;
167`,p=(0,o.css)`
168    display: inline-block;
169    list-style: none;
170    /* make sure gifs are fully visible with a scrollbar */
171    margin-bottom: 1px;
172    &:first-of-type {
173        margin-left: 0;
174    }
175`,m=(0,o.css)`
176    display: inline-block;
177`,h=(0,o.css)`
178    width: 30px;
179    display: inline-block;
180`,g=Object.freeze({gutter:6,user:{}}),_=Object.freeze({isFetching:!1,numberOfGifs:0,gifs:[],isLoaderVisible:!0,isDoneFetching:!1}),v=class e extends s.Component{constructor(){super(...arguments),this.state=_,this.paginator=(0,i.gifPaginator)(this.props.fetchGifs),this.onLoaderVisible=e=>{this.setState({isLoaderVisible:e},this.onFetch)},this.onFetch=(0,c.debounce)(100,()=>n(this,void 0,void 0,function*(){let{isFetching:e,isLoaderVisible:t,gifs:n}=this.state;if(!e&&t){this.setState({isFetching:!0});let e;try{e=yield this.paginator()}catch{this.setState({isFetching:!1})}if(e)if(n.length===e.length)this.setState({isDoneFetching:!0});else{this.setState({gifs:e,isFetching:!1});let{onGifsFetched:t}=this.props;t&&t(e),this.onFetch()}}}))}componentDidMount(){this.onFetch()}render({onGifVisible:t,onGifRightClick:n,gifHeight:r,gifWidth:i,gutter:c,className:g=e.className,onGifClick:_,onGifHover:v,onGifKeyPress:y,onGifSeen:b,user:x,noResultsMessage:S,hideAttribution:C,noLink:w,tabIndex:T=0,borderRadius:E},{gifs:D}){let O=D.length>0,k=(0,o.css)`
181            margin-left: ${c}px;
182        `,A=(0,o.css)`
183            height: ${r}px;
184        `,j=(0,o.cx)(g,f),M=(0,o.cx)(p,k);return(0,s.h)(d.default,{attributes:{layout_type:`CAROUSEL`}},(0,s.h)(`div`,{class:j},D.map(e=>(0,s.h)(u.default,{className:M,gif:e,key:e.id,tabIndex:T,width:i||(0,a.getGifWidth)(e,r),height:r,onGifClick:_,onGifHover:v,onGifKeyPress:y,onGifSeen:b,onGifVisible:t,onGifRightClick:n,user:x,hideAttribution:C,noLink:w,borderRadius:E})),!O&&D.length===0&&S,O&&(0,s.h)(l.default,{className:m,onVisibleChange:this.onLoaderVisible},(0,s.h)(`div`,{className:(0,o.cx)(h,A)}))))}};v.className=`giphy-carousel`,v.defaultProps=g,t.default=v})),Ga=i({default:()=>Ja}),Ka,qa,Ja,Ya=n((()=>{Ka=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},qa=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=Object.create(null);function n(e,n){return t[e]=t[e]||[],t[e].push(n),this}function r(e,t){return t._once=!0,n(e,t),this}function i(e){var n=arguments.length>1&&arguments[1]!==void 0&&arguments[1];return n?t[e].splice(t[e].indexOf(n),1):delete t[e],this}function a(e){var n=this,r=[...arguments].slice(1),a=t[e]&&t[e].slice();return a&&a.forEach(function(t){t._once&&i(e,t),t.apply(n,r)}),this}return Ka({},e,{on:n,once:r,off:i,emit:a})},Ja=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=void 0,n=void 0,r=void 0,i=void 0,a=void 0,o=void 0,s=void 0,c=void 0,l=void 0,u=void 0,d=void 0,f=void 0,p=void 0,m=e.packed.indexOf(`data-`)===0?e.packed:`data-`+e.packed,h=e.sizes.slice().reverse(),g=e.position!==!1,_=e.container.nodeType?e.container:document.querySelector(e.container),v={all:function(){return C(_.children)},new:function(){return C(_.children).filter(function(e){return!e.hasAttribute(``+m)})}}
184,y=[E,D,O],b=[k,A,j,M],x=qa({pack:F,update:I,resize:L});return x;function S(e){e.forEach(function(e){return e()})}function C(e){return arguments.length>1&&arguments[1]!==void 0&&arguments[1],Array.prototype.slice.call(e)}function w(e){return Array.apply(null,Array(e)).map(function(){return 0})}function T(){return h.map(function(e){return e.mq&&window.matchMedia(`(min-width: `+e.mq+`)`).matches}).indexOf(!0)}function E(){r=T()}function D(){i=r===-1?h[h.length-1]:h[r]}function O(){o=w(i.columns)}function k(){d=v[t?`new`:`all`]()}function A(){d.length!==0&&(f=d.map(function(e){return e.clientWidth}),p=d.map(function(e){return e.clientHeight}))}function j(){d.forEach(function(e,t){a=o.indexOf(Math.min.apply(Math,o)),e.style.position=`absolute`,s=o[a]+`px`,c=a*f[t]+a*i.gutter+`px`,g?(e.style.top=s,e.style.left=c):e.style.transform=`translate3d(`+c+`, `+s+`, 0)`,e.setAttribute(m,``),l=f[t],u=p[t],l&&u&&(o[a]+=u+i.gutter)})}function M(){_.style.position=`relative`,_.style.width=i.columns*l+(i.columns-1)*i.gutter+`px`,_.style.height=Math.max.apply(Math,o)-i.gutter+`px`}function N(){n||=(window.requestAnimationFrame(P),!0)}function P(){r!==T()&&(F(),x.emit(`resize`,i)),n=!1}function F(){return t=!1,S(y.concat(b)),x.emit(`pack`)}function I(){return t=!0,S(b),x.emit(`update`)}function L(){var e=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0]?`addEventListener`:`removeEventListener`;return window[e](`resize`,N),x}}})),Xa=a((t=>{Object.defineProperty(t,"__esModule",{value:!0});var n=oa(),r=(ai(),e(qr)),i=(X(),e(J)),a=(0,r.css)`
185    color: ${n.giphyLightGrey};
186    display: flex;
187    justify-content: center;
188    margin: 30px 0;
189    font-family: ${n.fontFamily.body};
190    font-size: 16px;
191    font-weight: 600;
192    a {
193        color: ${n.giphyBlue};
194        cursor: pointer;
195        &:hover {
196            color: white;
197        }
198    }
199`;t.default=({onClick:e})=>(0,i.h)(`div`,{className:a},`Error loading GIFs.\xA0`,(0,i.h)(`a`,{onClick:e},`Try again?`))})),Za=a((t=>{Object.defineProperty(t,"__esModule",{value:!0});var n=oa(),r=(ai(),e(qr)),i=(X(),e(J));t.default=({className:e=``})=>(0,i.h)(`div`,{className:(0,r.cx)(n.loader,e)},(0,i.h)(`div`,null),(0,i.h)(`div`,null),(0,i.h)(`div`,null),(0,i.h)(`div`,null),(0,i.h)(`div`,null))})),Qa=a((t=>{var n=t&&t.__awaiter||function(e,t,n,r){function i(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||=Promise)(function(n,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){e.done?n(e.value):i(e.value).then(o,s)}c((r=r.apply(e,t||[])).next())})},r=t&&t.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=Xt(),a=r((Ya(),e(Ga))),o=(ai(),e(qr)),s=(X(),e(J)),c=oi(),l=r(si()),u=r(Xa()),d=r(Ua()),f=r(Za()),p=r(Ha()),m=(0,o.css)`
200    opacity: 0;
201`,h=Object.freeze({gutter:6,user:{}}),g=Object.freeze({isFetching:!1,isError:!1,numberOfGifs:0,gifWidth:0,gifs:[],isLoaderVisible:!0,isDoneFetching:!1}),_=class e extends s.Component{constructor(){super(...arguments),this.state=g,this.el=null,this.paginator=(0,i.gifPaginator)(this.props.fetchGifs),this.onLoaderVisible=e=>{this.setState({isLoaderVisible:e},this.onFetch)},this.fetchGifs=(0,c.debounce)(e.fetchDebounce,e=>n(this,void 0,void 0,function*(){let t;try{t=yield this.paginator()}catch(e){this.setState({isFetching:!1,isError:!0});let{onGifsFetchError:t}=this.props;t&&t(e)}if(t)if(e===t.length)this.setState({isDoneFetching:!0});else{this.setState({gifs:t,isFetching:!1});let{onGifsFetched:e}=this.props;e&&e(t),this.onFetch()}})),this.onFetch=()=>n(this,void 0,void 0,function*(){let{isFetching:e,isLoaderVisible:t,gifs:n}=this.state;!e&&t&&(this.setState({isFetching:!0,isError:!1}),this.fetchGifs(n.length))})}static getDerivedStateFromProps({columns:e,gutter:t,width:n},r){let i=t*(e-1),a=Math.floor((n-i)/e);return r.gifWidth===a?{}:{gifWidth:a}}setBricks(){let{columns:e,gutter:t}=this.props;this.bricks=(0,a.default)({container:this.el,packed:`data-packed-${e}`,sizes:[{columns:e,gutter:t}]})}componentDidMount(){this.setBricks(),this.onFetch()}componentDidUpdate(e,t){let{gifs:n}=this.state,{gifWidth:r}=this.state,i=t.gifs.length,a=n.length;if(t.gifWidth!==r&&i>0){let{columns:t}=this.props;t!==e.columns&&this.setBricks(),this.bricks.pack()}t.gifs!==n&&(a>i&&i>0?this.bricks.update():this.bricks.pack())}render({onGifVisible:t,onGifRightClick:n,className:r=e.className,onGifClick:i,onGifHover:a,onGifKeyPress:c,onGifSeen:h,user:g,noResultsMessage:_,hideAttribution:v,noLink:y,tabIndex:b=0,borderRadius:x},{gifWidth:S,gifs:C,isError:w,isDoneFetching:T}){let E=!T,D=C.length===0;return(0,s.h)(p.default,{attributes:{layout_type:`GRID`}},(0,s.h)(`div`,{class:r},(0,s.h)(`div`,{ref:e=>this.el=e},C.map(e=>(0,s.h)(d.default,{gif:e,key:e.id,tabIndex:b,width:S,onGifClick:i,onGifHover:a,onGifKeyPress:c,onGifSeen:h,onGifVisible:t,onGifRightClick:n,user:g,hideAttribution:v,noLink:y,borderRadius:x})),!E&&C.length===0&&_),w?(0,s.h)(u.default,{onClick:this.onFetch}):E&&(0,s.h)(l.default,{onVisibleChange:this.onLoaderVisible}
201,(0,s.h)(f.default,{className:(0,o.cx)(e.loaderClassName,D?m:``)}))))}};_.className=`giphy-grid`,_.loaderClassName=`giphy-loader`,_.defaultProps=h,_.fetchDebounce=250,t.default=_})),$a=a((t=>{Object.defineProperty(t,"__esModule",{value:!0}),t.PauseIcon=t.PlayIcon=t.PlayPauseSize=void 0;var n=(X(),e(J));t.PlayPauseSize=25,t.PlayIcon=({size:e=t.PlayPauseSize})=>(0,n.h)(`svg`,{height:e,viewBox:`15.39 10.84 18.21 24`,width:e,xmlns:`http://www.w3.org/2000/svg`},(0,n.h)(`g`,{fillRule:`evenodd`,fill:`none`},(0,n.h)(`path`,{fill:`#fff`,d:`M15.836 10.842c.135 0 .27.04.404.12L33.444 22.86c.107.087.161.19.161.311 0 .12-.054.224-.161.31-11.649 7.575-17.528 11.362-17.64 11.362a.632.632 0 0 1-.41-.13l.025-23.75a.804.804 0 0 1 .417-.12z`}))),t.PauseIcon=({size:e=t.PlayPauseSize})=>(0,n.h)(`svg`,{height:e,viewBox:`0.92 0.92 23.54 24`,width:e,xmlns:`http://www.w3.org/2000/svg`},(0,n.h)(`g`,{id:`Page-1`,stroke:`none`,strokeWidth:`1`,fill:`none`,fillRule:`evenodd`},(0,n.h)(`g`,{id:`Group`,transform:`translate(0.916948, 0.916948)`,fill:`#FFFFFF`,fillRule:`nonzero`},(0,n.h)(`path`,{d:`M0,23.2 L0,0.8 C0,0.3581722 0.3581722,0 0.8,0 L8.2,0 C8.64182776,0 9,0.3581722 9,0.8 L9,23.2 C9,23.6418278 8.64182776,24 8.2,24 L0.8,24 C0.3581722,24 0,23.6418278 0,23.2 Z`,id:`Path`}),(0,n.h)(`path`,{d:`M14.5408163,23.2 L14.5408163,0.8 C14.5408163,0.3581722 14.8989886,0 15.3408163,0 L22.7408163,0 C23.1826441,0 23.5408163,0.3581722 23.5408163,0.8 L23.5408163,23.2 C23.5408163,23.6418278 23.1826441,24 22.7408163,24 L15.3408163,24 C14.8989886,24 14.5408163,23.6418278 14.5408163,23.2 Z`,id:`Path`}))))})),eo=a((t=>{Object.defineProperty(t,"__esModule",{value:!0}),t.VolumeOffIcon=t.VolumeOnIcon=t.VolumeSize=void 0;var n=(X(),e(J));t.VolumeSize=25,t.VolumeOnIcon=({size:e=t.VolumeSize,onClick:r=()=>{}})=>(0,n.h)(`svg`,{width:e,height:e,viewBox:`0 0 26 23`,onClick:r},(0,n.h)(`g`,{stroke:`none`,strokeWidth:1,fill:`none`,fillRule:`evenodd`},(0,n.h)(`g`,{transform:`translate(1.000000, 0.000000)`,fill:`#FFF`,fillRule:`nonzero`},(0,n.h)(`path`,{d:`M11.9625091,0.572584405 L11.9625091,22.2272644 C11.9625091,22.4856644 11.8466091,22.6635044 11.6151891,22.7611644 C11.3480491,22.8413444 11.1390491,22.7968844 10.9878091,22.6277844 L4.8732291,15.9143244 L0.573909096,15.9143244 C0.413549096,15.9143244 0.277509096,15.8588444 0.166549096,15.7475044 C0.0573082348,15.6406091 -0.00292164572,15.4933347 -1.77635684e-15,15.3405244 L-1.77635684e-15,7.45058441 C-1.77635684e-15,7.29022441 0.0555890961,7.15456441 0.167309096,7.04322441 C0.278269096,6.93226441 0.414309096,6.87640441 0.573909096,6.87640441 L4.8732291,6.87640441 L10.9874291,0.172064405 C11.1390491,0.00296440549 11.3484291,-0.0414955945 11.6151891,0.0386844055 C11.8466091,0.136344405 11.9621291,0.314564405 11.9621291,0.572584405 L11.9625091,0.572584405 Z`}),(0,n.h)(`path`,{d:`M15.7579491,16.0914044 L14.6798891,13.6594044 C15.5739159,13.2635547 16.1503537,12.3776671 16.1501091,11.3999244 C16.150386,10.4242626 15.5763999,9.53983269 14.6852091,9.14272441 L15.7697291,6.71376441 C17.6193585,7.53872062 18.810518,9.37466359 18.8101092,11.3999244 C18.8105521,13.4298903 17.6139475,15.2691931 15.7579491,16.0914044 L15.7579491,16.0914044 Z`}),(0,n.h)(`path`,{d:`M18.3647491,20.2619044 L17.2863091,17.8299044 C19.8302925,16.7031661 21.4705725,14.1822599 21.4701091,11.3999244 C21.4701091,8.59818441 19.8167291,6.09892441 17.3022691,4.97678441 L18.3864091,2.54782441 C21.8804724,4.10607079 24.1307363,7.57414217 24.1301093,11.3999244 C24.1308375,15.2343934 21.8705556,18.7086904 18.3647491,20.2619044 Z`})))),t.VolumeOffIcon=({size:e=t.VolumeSize,onClick:r=()=>{}})=>(0,n.h)(`svg`,{onClick:r,height:e,width:e,viewBox:`0 0 26 23`,version:`1.1`,xmlns:`http://www.w3.org/2000/svg`},(0,n.h)(`g`,{id:`Page-1`,stroke:`none`,strokeWidth:1,fill:`none`,fillRule:`evenodd`},(0,n.h)(`g`,{id:`Group`,transform:`translate(1.000000, 0.000000)`,fill:`#FFFFFF`,fillRule:`nonzero`},(0,n.h)(`path`,{d:`M11.9625091,0.572584405 L11.9625091,22.2272644 C11.9625091,22.4856644 11.8466091,22.6635044 11.6151891,22.7611644 C11.3480491,22.8413444 11.1390491,22.7968844 10.9878091,22.6277844 L4.8732291,15.9143244 L0.573909096,15.9143244 C0.413549096,15.9143244 0.277509096,15.8588444 0.166549096,15.7475044 C0.0573082348,15.6406091 -0.00292164572,15.4933347 0,15.3405244 L0,7.45058441 C0,7.29022441 0.0555890961,7.15456441 0.167309096,7.04322441 C0.278269096,6.93226441 0.414309096,6.87640441 0.573909096,6.87640441 L4.8732291,6.87640441 L10.9874291,0.172064405 C11.1390491,0.00296440549 11.3484291,-0.0414955945 11.6151891,0.0386844055 C11.8466091,0.136344405 11.9621291,0.314564405 11.9621291,0.572584405 L11.9625091,0.572584405 Z`,id:`Path`})),(0,n.h)(`g`,{id:`Group`,transform:`translate(14.887009, 6.947630)`,fill:`#FFFFFF`,fillRule:`nonzero`},(0,n.h)(`path`,{d:`M7.88199149,6.27905236 C7.94693088,6.35707599 7.94693088,6.47033309 7.88199149,6.54835671 L6.54835671,7.88199149 C6.47033309,7.94693088 6.35707599,7.94693088 6.27905236,7.88199149 L3.96534802,5.56828715 L1.65164367,7.88199149 C1.57362004,7.94693088 1.46036294,7.94693088 1.38233932,7.88199149 L0.0487045381,6.54835671 C-0.016234846,6.47033309 -0.016234846,6.35707599 0.0487045381,6.27905236 L2.36240889,3.96534802 L0.0487045381,1.65164367 C-0.016234846,1.57362004 -0.016234846,1.46036294 0.0487045381,1.38233932 L1.38233932,0.0487045381 C1.46036294,-0.016234846 1.57362004,-0.
201016234846 1.65164367,0.0487045381 L3.96534802,2.36240889 L6.27905236,0.0487045381 C6.35707599,-0.016234846 6.47033309,-0.016234846 6.54835671,0.0487045381 L7.88199149,1.38233932 C7.94693088,1.46036294 7.94693088,1.57362004 7.88199149,1.65164367 L5.56828715,3.96534802 L7.88199149,6.27905236 Z`,id:`Shape`}))))})),to=a((t=>{Object.defineProperty(t,"__esModule",{value:!0});var n=(ai(),e(qr)),r=oa(),i=(Fa(),e(sa)),a=(X(),e(J)),o=(e=0xe8d4a51000,t=0)=>{let[n,r]=(0,i.useState)(0);return(0,i.useLayoutEffect)(()=>{let n,i,a,o=()=>{let t=Math.min(1,(Date.now()-a)/e);r(t),s()},s=()=>{n=requestAnimationFrame(o)},c=setTimeout(()=>{i=setTimeout(()=>{cancelAnimationFrame(n),r(1)},e),a=Date.now(),s()},t);return()=>{clearTimeout(i),clearTimeout(c),cancelAnimationFrame(n)}},[e,t]),n},s=(0,n.css)`
202    background: ${r.giphyWhite};
203    height: 2px;
204    position: absolute;
205    width: 5px;
206    bottom: 0;
207    left: 0;
208    opacity: 0.95;
209`;t.default=({videoEl:e})=>{let[t,n]=(0,i.useState)(0);o(2147483647,100);let r=e?.currentTime||0,c=e?.duration||0,l=r/c;(0,i.useLayoutEffect)(()=>{n(l)},[l,n]);let u=Math.round(t*100);return u=c<10&&u>98?100:u,(0,a.h)(`div`,{style:{width:`${u}%`},className:s})}})),no=a((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.shouldFireQuartile=e.getErrorMessage=void 0,e.getErrorMessage=(e,t=``)=>{switch(e){case 1:return`Aborted. The fetching process for the media resource was aborted by the user agent at the user's request.`;case 2:return`Network Error. A network error of some description caused the user agent to stop fetching the media resource, after the resource was established to be usable.`;case 3:return`Decode Error. An error of some description occurred while decoding the media resource, after the resource was established to be usable.`;case 4:return`Can not play a video of type "${t.split(`.`).pop()}" on this platform.`;default:return``}},e.shouldFireQuartile=(e,t,n,r,i)=>{let a=i+e;return!r.has(a)&&n>0&&t>n*e?(r.add(a),!0):!1}})),ro=a((t=>{var n=t&&t.__awaiter||function(e,t,n,r){function i(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||=Promise)(function(n,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){e.done?n(e.value):i(e.value).then(o,s)}c((r=r.apply(e,t||[])).next())})};Object.defineProperty(t,"__esModule",{value:!0});var r=Ia(),i=ut(),a=(X(),e(J)),o=(Fa(),e(sa)),s=no(),c=[.25,.5,.75],l={EMPTY:0,IDLE:1,LOADING:2,NO_SOURCE:3},u=({muted:e,loop:t=!0,onStateChange:u,onTimeUpdate:d,onCanPlay:f,onFirstPlay:p,onWaiting:m,onMuted:h,onError:g,onEnded:_,onLoop:v,onQuartile:y,onEndFullscreen:b,setVideoEl:x,gif:S,width:C,height:w,volume:T=.7,className:E})=>{let D=w||(0,i.getGifHeight)(S,C),[O,k]=(0,o.useState)((0,i.getBestVideo)(S.video,C,D)),A=(0,o.useRef)(0);O||console.warn(`GiphyJS No video content for id: ${S.id}`);let j=(0,o.useRef)(Date.now()),M=(0,o.useRef)(!1),N=(0,o.useRef)(0),P=(0,o.useRef)(0),F=(0,o.useRef)(new Set);(0,o.useEffect)(()=>{j.current=Date.now(),M.current=!1,N.current=1,P.current=0,F.current=new Set},[S.id]);let I=(0,o.useRef)(null);(0,o.useEffect)(()=>{let e=(0,i.getBestVideo)(S.video,C,D);I.current&&O?.url&&e.url!==O.url&&(O.url.indexOf(String(S.id))!==-1&&(A.current=I.current.currentTime),k(e))},[C,w,S.video,D,O?.url,S.id]),(0,o.useEffect)(()=>{I.current&&O?.url&&A.current&&(I.current.currentTime=A.current,A.current=0)},[O?.url,A]);let L=(0,o.useCallback)(()=>{let e=I.current,t=e?.error?.code;if(t&&e?.src){let n=(0,s.getErrorMessage)(t,e?.src);console.error(n),g?.(t)}},[g]),R=(0,o.useCallback)(()=>{u?.(`playing`),M.current||(M.current=!0,S.analytics_response_payload&&(0,r.pingback)({actionType:`START`,analyticsResponsePayload:S.analytics_response_payload}),p?.(Date.now()-j.current))},[p,u]),z=(0,o.useCallback)(()=>u?.(`paused`),[u]),B=(0,o.useCallback)(()=>{let e=I.current;if(e){let t=e.currentTime;c.some(n=>(0,s.shouldFireQuartile)(n,t,e.duration,F.current,N.current)?(y?.(n),!0):!1),d?.(t||0)}},[y,d]),V=(0,o.useCallback)(()=>f?.(),[f]),H=(0,o.useCallback)(()=>{let e=I.current;e?.currentTime!==0&&e?.networkState!==l.IDLE&&m?.(++P.current)},[m]),ee=(0,o.useCallback)(()=>{M.current&&(t&&I.current&&I.current.play(),v?.(N.current),N.current+=1,_?.())},[_,t,v]),te=(0,o.useCallback)(()=>b?.(),[b]),U=(0,o.useCallback)(e=>n(void 0,void 0,void 0,function*(){if(e){let t=e.play();if(t!==void 0)try{yield t,h?.(!1)}catch{e.muted=!0,h?.(!0),e.play()}}}),[h]);return(0,o.useEffect)(()=>{let e=I.current;e&&(U(e),x?.(e),isNaN(T)||(e.volume=T))},[]),(0,o.useEffect)(()=>{let e=I.current;return e&&(e.addEventListener(`play`,R),e.addEventListener(`pause`,z),e.addEventListener(`error`,L),e.addEventListener(`timeupdate`,B),e.addEventListener(`canplay`,V),e.addEventListener(`ended`,ee),e.addEventListener(`waiting`,H),e.addEventListener(`webkitendfullscreen`,te)),()=>{e&&(e.removeEventListener(`play`,R),e.removeEventListener(`pause`,z),e.removeEventListener(`error`,L),e.removeEventListener(`timeupdate`,B),e.removeEventListener(`canplay`,V),e.removeEventListener(`ended`,ee),e.removeEventListener(`waiting`,H),e.removeEventListener(`webkitendfullscreen`,te))}},[R,z,L,B,V,ee,H,te]),O?.url?(0,a.h)(`video`,{className:E,width:C,height:D,muted:e,autoPlay:!0,playsInl
209ine:!0,ref:I,src:O?.url}):null};u.className=`giphy-video`,t.default=u})),io=a((t=>{var n=t&&t.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var r=ut(),i=(ai(),e(qr)),a=(X(),e(J)),o=(Fa(),e(sa)),s=$a(),c=eo(),l=n(to()),u=n(ro()),d=(0,i.css)`
210    position: relative;
211    top: 0;
212    left: 0;
213    right: 0;
214    bottom: 0;
215    background: black;
216`,f=(0,i.css)`
217    display: flex;
218    justify-content: center;
219    align-items: center;
220`,p=(0,i.css)`
221    position: absolute;
222    bottom: 10px;
223    right: 10px;
224    left: 10px;
225    display: flex;
226    justify-content: space-between;
227    transition: opacity ease-out 250ms;
228`,m=e=>{let{width:t,hideMute:n,hidePlayPause:m,hideProgressBar:h,className:g,persistentControls:_}=e,[v,y]=(0,o.useState)(!1),[b,x]=(0,o.useState)(`paused`),[S,C]=(0,o.useState)(null),[w,T]=(0,o.useState)(e.muted),[E,D]=(0,o.useState)(!1),{onStateChange:O,setVideoEl:k,onMuted:A,onUserMuted:j}=e,M=e.height||(0,r.getGifHeight)(e.gif,t),N=(0,o.useCallback)(e=>{O?.(e),x(e)},[O,x]),P=(0,o.useCallback)(e=>{A?.(e),D(e)},[D,A]),F=(0,o.useCallback)(e=>{k?.(e),C(e)},[k,C]),I=()=>{E?(D(!1),T(!1)):T(!w)};return(0,o.useEffect)(()=>{T(e.muted)},[e.muted]),(0,a.h)(`div`,{className:(0,i.cx)(d,g),style:{width:t,height:M},onMouseOver:()=>y(!0),onMouseLeave:()=>y(!1)},(0,a.h)(u.default,Object.assign({},e,{onStateChange:N,onMuted:P,setVideoEl:F,muted:w})),(0,a.h)(`div`,{style:{opacity:_||v?1:0},className:p},S&&!m?(0,a.h)(`div`,{onClick:()=>{b===`playing`?S.pause():S.play()}},b===`playing`?(0,a.h)(s.PauseIcon,null):(0,a.h)(s.PlayIcon,null)):(0,a.h)(`div`,null),!n&&(0,a.h)(`div`,{className:f,onClick:e=>{j?.(!w),e.preventDefault(),I()}},w||E?(0,a.h)(c.VolumeOffIcon,null):(0,a.h)(c.VolumeOnIcon,null))),(_||v)&&!h&&S?(0,a.h)(l.default,{videoEl:S}):null)},h=e=>e.controls?(0,a.h)(m,Object.assign({},e)):(0,a.h)(u.default,Object.assign({},e));h.className=u.default.className,t.default=h})),ao=i({author:()=>go,default:()=>yo,dependencies:()=>vo,description:()=>uo,devDependencies:()=>so,files:()=>ho,homepage:()=>fo,license:()=>`MIT`,main:()=>po,name:()=>co,publishConfig:()=>_o,scripts:()=>oo,types:()=>mo,version:()=>lo}),oo,so,co,lo,uo,fo,po,mo,ho,go,_o,vo,yo,bo=n((()=>{oo={lint:`run -T eslint . --ext .ts,.tsx`,clean:`rm -rf ./dist`,types:`tsc ./src/index.tsx -d --emitDeclarationOnly -declarationDir ./dist`,dev:`parcel public/test.html`,build:`tsc`,prepublish:`npm run clean && tsc`},so={"@types/bricks.js":`^1.8.1`,"@types/throttle-debounce":`^2.1.0`,"parcel-bundler":`latest`,typescript:`^4.7.4`},co=`@giphy/js-components`,lo=`5.13.0`,uo=`A lightweight set of components, focused on easy-of-use and performance.`,fo=`https://github.com/Giphy/giphy-js/tree/master/packages/components`,po=`dist/index.js`,mo=`dist/index.d.ts`,ho=[`dist/**/*`,`src/**/*`],go=`giannif`,_o={access:`public`},vo={"@emotion/css":`11.9.0`,"@giphy/js-analytics":`*`,"@giphy/js-brand":`*`,"@giphy/js-fetch-api":`*`,"@giphy/js-types":`*`,"@giphy/js-util":`*`,"bricks.js":`^1.8.0`,"intersection-observer":`^0.11.0`,preact:`10.4.8`,"throttle-debounce":`^3.0.1`},yo={scripts:oo,devDependencies:so,name:co,version:lo,description:uo,homepage:fo,main:po,types:mo,files:ho,author:go,license:`MIT`,publishConfig:_o,dependencies:vo}})),xo=a((t=>{var n=t&&t.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.renderGif=t.renderCarousel=t.renderVideo=t.renderGrid=t.Video=t.Grid=t.Gif=t.Carousel=void 0;var r=ut();dt();var i=(X(),e(J)),a=n(Wa()),o=n(Ua()),s=n(Qa()),c=n(io()),l=Wa();Object.defineProperty(t,"Carousel",{enumerable:!0,get:function(){return n(l).default}});var u=Ua();Object.defineProperty(t,"Gif",{enumerable:!0,get:function(){return n(u).default}});var d=Qa();Object.defineProperty(t,"Grid",{enumerable:!0,get:function(){return n(d).default}});var f=io();Object.defineProperty(t,"Video",{enumerable:!0,get:function(){return n(f).default}});var{version:p}=(bo(),e(ao).default);(0,r.appendGiphySDKRequestHeader)(`X-GIPHY-SDK-NAME`,`JavascriptSDK`),(0,r.appendGiphySDKRequestHeader)(`X-GIPHY-SDK-VERSION`,p),t.renderGrid=(e,t)=>((0,i.render)((0,i.h)(s.default,Object.assign({},e)),t),()=>(0,i.render)(null,t)),t.renderVideo=(e,t)=>((0,i.render)((0,i.h)(c.default,Object.assign({},e)),t),()=>(0,i.render)(null,t)),t.renderCarousel=(e,t)=>
228((0,i.render)((0,i.h)(a.default,Object.assign({},e)),t),()=>(0,i.render)(null,t)),t.renderGif=(e,t)=>((0,i.render)((0,i.h)(o.default,Object.assign({},e)),t),()=>(0,i.render)(null,t))})),So=r(F()),Co=xo(),wo=`https://cdn.buymeacoffee.com/static/prod/1052/build/assets/giphyHorizText-CP39-o2m.png`,To={class:`mb-2 relative flex items-center`},Eo={class:`flex items-center justify-between w-full`},Do=[`onClick`],Oo={class:`overflow-y-scroll h-[300px]`},ko=[`src`],Ao={__name:`GifPicker`,props:[`dropDownPosition`],emits:[`handleGifSelection`],setup(e,{emit:t}){let n=t,r=new He(`B23QP2mQRAHq5Eg44TpLWio7UZpXzoUk`),i=E(12),a=E(``),o=E(`coffee_thanks`),s=E(null),l,d=E(`coffee thankyou`),f={coffee_thanks:{icon:`🔥`,label:`coffee_thanks`,searchKey:`coffee thankyou`},happy:{icon:`😃`,label:`happy`,searchKey:`happy`},love:{icon:`❤️`,label:`love`,searchKey:`heart`},sad:{icon:`🙁`,label:`sad`,searchKey:`sad`},celebration:{icon:`🎉`,label:`celebration`,searchKey:`celebration`},thumbsup:{icon:`👍`,label:`thumbs Up`,searchKey:`thumbs up`}};_(()=>{l=T(s.value),v.observe(s.value,{childList:!0,subtree:!0})}),y(()=>{l.remove(),v.disconnect()});let v=new MutationObserver(()=>{let e=s.value.getElementsByTagName(`img`);for(let t=0;t<e.length;t++)e[t].style.cursor=`pointer`}),S=window.innerWidth,T=e=>{let t=(0,Co.renderGrid)({width:S<767?276:355,fetchGifs:O,columns:2,gutter:6,noLink:!0,hideAttribution:!0,backgroundColor:`#f0f0f0`,onGifClick:k},e);return{remove:()=>{t()}}},D=()=>{l.remove(),l=T(s.value)},O=e=>a.value?r.search(a.value,{limit:i.value,offset:e}):d.value?r.search(d.value,{limit:i.value,offset:e}):r.trending({offset:e,limit:i.value}),k=(e,t)=>{t.preventDefault(),n(`handleGifSelection`,e.id)},A=So.default.debounce(()=>{o.value=``,a.value==``?N(f.coffee_thanks):D()},500),N=e=>{a.value=``,o.value=e.label,d.value=e.searchKey?e.searchKey:``,D()};return(t,n)=>(b(),h(`div`,{class:p([`bg-white shadow-lg border border-dark/5 rounded-[20px] w-[390px] xs:w-[310px] h-[442px] overflow-hidden p-4 absolute right-0 z-100 tw-emoji-picker`,e.dropDownPosition===`top`?`bottom-8`:``])},[m(`div`,To,[c(j,{class:`absolute ml-2`}),c(M,{type:`text`,modelValue:u(a),"onUpdate:modelValue":n[0]||=e=>w(a)?a.value=e:a=e,onInput:u(A),placeholder:`Search GIPHY`,class:`w-full !py-1.5 !pl-8`},null,8,[`modelValue`,`onInput`])]),m(`div`,Eo,[(b(!0),h(x,null,g(u(f),(e,t)=>(b(),h(`div`,{key:t,onClick:t=>N(e),class:p([{"border-b":e.label==u(o)},`p-3 border-solid border-dark cursor-pointer`])},C(e.icon),11,Do))),128))]),m(`div`,Oo,[m(`div`,{class:`h-[300px] pt-2`,ref_key:`targetEl`,ref:s},null,512)]),m(`img`,{src:u(wo),class:`absolute bottom-1 right-4 h-4`},null,8,ko)],2))}},jo={};function Mo(e,t){return t[0]||=d(`<svg width="18" height="12" viewBox="0 0 18 12" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M3.79102 11.957C2.87044 11.957 2.16406 11.7406 1.67188 11.3076C1.17969 10.8747 0.933594 10.2207 0.933594 9.3457V3.4668C0.933594 2.58268 1.18197 1.90137 1.67871 1.42285C2.17546 0.944336 2.87956 0.705078 3.79102 0.705078H10.4424C11.363 0.705078 12.0671 0.944336 12.5547 1.42285C13.0469 1.90137 13.293 2.5804 13.293 3.45996V9.20215C13.293 10.0817 13.0469 10.7607 12.5547 11.2393C12.0671 11.7178 11.363 11.957 10.4424 11.957H3.79102ZM4.07812 10.3438H10.1348C10.5814 10.3438 10.93 10.2207 11.1807 9.97461C11.4359 9.72852 11.5635 9.38444 11.5635 8.94238V3.71973C11.5635 3.27311 11.4382 2.92676 11.1875 2.68066C10.9414 2.43457 10.5951 2.31152 10.1484 2.31152H4.07812C3.62695 2.31152 3.27832 2.43001 3.03223 2.66699C2.78613 2.89941 2.66309 3.25033 2.66309 3.71973V8.94238C2.66309 9.38444 2.78613 9.72852 3.03223 9.97461C3.27832 10.2207 3.62695 10.3438 4.07812 10.3438ZM12.9033 4.41016L15.3438 2.33203C15.5488 2.15885 15.7471 2.01986 15.9385 1.91504C16.1299 1.81022 16.3281 1.75781 16.5332 1.75781C16.8568 1.75781 17.1234 1.86263 17.333 2.07227C17.5472 2.2819 17.6543 2.56901 17.6543 2.93359V9.84473C17.6543 10.2048 17.5472 10.4896 17.333 10.6992C17.1234 10.9089 16.8568 11.0137 16.5332 11.0137C16.3327 11.0137 16.1344 10.9613 15.9385 10.8564C15.7471 10.7516 15.5488 10.6126 15.3438 10.4395L12.9033 8.35449V6.61133L15.8291 8.94922C15.8564 8.96745 15.8792 8.9834 15.8975 8.99707C15.9157 9.01074 15.9362 9.01758 15.959 9.01758C16.0228 9.01758 16.0547 8.97656 16.0547 8.89453V3.87012C16.0547 3.7972 16.0228 3.76074 15.959 3.76074C15.9362 3.76074 15.9157 3.7653 15.8975 3.77441C15.8792 3.78353 15.8564 3.79948 15.8291 3.82227L12.9033 6.15332V4.41016Z" fill="black"></path></svg><svg class="absolute -top-[3px] -left-0.5 animate-[pulsev2_1.5s_ease-in-out_infinite]" width="8" height="9" viewBox="0 0 8 9" fill="none" xmlns="http://www.w3.org/2000/svg"><mask id="path-1-outside-1_2357_1467" maskUnits="userSpaceOnUse" x="-1" y="-1" width="10" height="11" fill="black"><rect fill="white" x="-1" y="-1" width="10" height="11"></rect><path d="M4 8.13672C3.90365 8.13672 3.82031 8.10417 3.75 8.03906C3.68229 7.97656 3.63802 7.89453 3.61719 7.79297C3.55469 7.38411 3.49089 7.03125 3.42578 6.73438C3.36068 6.4349 3.28125 6.18099 3.1875 5.97266C3.09375 5.76432 2.97656 5.59115 2.83594 5.45312C2.69792 5.3151 2.52604 5.20182 2.32031 5.11328C2.11719 5.02214 1.86979 4.94661 1.57812 4.88672C1.28906 4.82682 0.945312 4.76953 0.546875 4.71484C0.445312 4.69922 0.360677 4.65625 0.292969 4.58594C0.227865 4.51302 0.195312 4.42839 0.195312 4.33203C0.195312 4.23307 0.229167 4.14844 0.296875 4.07812C0.364583 4.00521 0.449219 3.96224 0.550781 3.94922C1.02734 3.89453 1.42969 3.83203 1.75781 3.76172C2.08594 3.6888 2.35547 3.58854 2.56641 3.46094C2.77995 3.33073 2.95182 3.15885 3.08203 2.94531C3.21224 2.72917 3.31641 2.45312 3.39453 2.11719C3.47526 1.77865 3.54948 1.36328 3.61719 0.871094C3.63542 0.769531 3.67969 0.6875 3.75 0.625C3.82031 0.559896 3.90365 0.527344 4 0.527344C4.09375 0.527344 4.17578 0.559896 4.24609 0.625C4.31641 0.6875 4.35938 0.768229 4.375 0.867188C4.44792 1.36198 4.52604 1.77734 4.60938 2.11328C4.69271 2.44661 4.79948 2.72135 4.92969 2.9375C5.0599 3.15104 5.23047 3.32161 5.44141 3.44922C5.65234 3.57422 5.92057 3.67448 6.24609 3.75C6.57161 3.82552 6.97266 3.89193 7.44922 3.94922C7.55078 3.96224 7.63411 4.00521 7.69922 4.07812C7.76693 4.14844 7.80078 4.23307 7.80078 4.33203C7.80078 4.42839 7.76693 4.51302 7.69922 4.58594C7.63411 4.65885 7.55078 4.70182 7.44922 4.71484C6.97266 4.76693 6.57031 4.82943 6.24219 4.90234C5.91406 4.97526 5.64323 5.07682 5.42969 5.20703C5.21875 5.33464 5.04688 5.50651 4.91406 5.72266C4.78385 5.9362 4.67839 6.21224 4.59766 6.55078C4.51693 6.88672 4.44271 7.30078 4.375 7.79297C4.36198 7.89453 4.32031 7.97656 4.25 8.03906C4.17969 8.10417 4.09635 8.13672 4 8.13672Z"></path></mask><path d="M4 8.13672C3.90365 8.13672 3.82031 8.10417 3.75 8.03906C3.68229 7.97656 3.63802 7.89453 3.61719 7.79297C3.55469 7.38411 3.49089 7.03125 3.42578 6.73438C3.36068 6.4349 3.28125 6.18099 3.1875 5.97266C3.09375 5.76432 2.97656 5.59115 2.83594 5.45312C2.69792 5.3151 2.52604 5.20182 2.32031 5.11328C2.11719 5.02214 1.86979 4.94661 1.57812 4.88672C1.28906 4.82682 0.945312 4.76953 0.546875 4.71484C0.445312 4.69922 0.360677 4.65625 0.292969 4.58594C0.227865 4.51302 0.195312 4.42839 0.195312 4.33203C0.195312 4.23307 0.229167 4.14844 0.296875 4.07812C0.364583 4.00521 0.449219 3.96224 0.550781 3.94922C1.02734 3.89453 1.42969 3.83203 1.75781 3.76172C2.08594 3.6888 2.35547 3.58854 2.56641 3.46094C2.77995 3.33073 2.95182 3.15885 3.08203 2.94531C3.21224 2.72917 3.31641 2.45312 3.39453 2.11719C3.47526 1.77865 3.54948 1.36328 3.61719 0.871094C3.63542 0.769531 3.67969 0.6875 3.75 0.625C3.82031 0.559896 3.90365 0.527344 4 0.527344C4.09375 0.527344 4.17578 0.559896 4.24609 0.625C4.31641 0.6875 4.35938 0.768229 4.375 0.867188C4.44792 1.36198 4.52604 1.77734 4.60938 2.11328C4.69271 2.44661 4.79948 2.72135 4.92969 2.9375C5.0599 3.15104 5.23047 3.32161 5.44141 3.44922C5.65234 3.57422 5.92057 3.67448 6.24609 3.75C6.57161 3.82552 6.97266 3.89193 7.44922 3.94922C7.55078 3.96224 7.63411 4.00521 7.69922 4.07812C7.76693 4.14844 7.80078 4.23307 7.80078 4.33203C7.80078 4.42839 7.76693 4.51302 7.69922 4.58594C7.63411 4.65885 7.55078 4.70182 7.44922 4.71484C6.97266 4.76693 6.57031 4.82943 6.24219 4.90234C5.91406 4.97526 5.64323 5.07682 5.42969 5.20703C5.21875 5.33464 5.04688 5.50651 4.91406 5.72266C4.78385 5.9362 4.67839 6.21224 4.59766 6.55078C4.51693 6.88672 4.44271 7.30078 4.375 7.79297C4.36198 7.89453 4.32031 7.97656 4.25 8.03906C4.17969 8.10417 4.09635 8.13672 4 8.13672Z" fill="#F6C85B"></path><path d="M3.75 8.03906L4.42941 7.3053L4.42828 7.30426L3.75 8.03906ZM3.61719 7.79297L2.62867 7.94408L2.6325 7.96911L2.63758 7.99391L3.61719 7.79297ZM3.42578 6.73438L2.4486 6.94681L2.44899 6.94858L3.42578 6.73438ZM2.83594 5.45312L2.1288 6.16026L2.13547 6.16681L2.83594 5.45312ZM2.32031 5.11328L1.91092 6.02564L1.91793 6.02879L1.92499 6.03182L2.32031 5.11328ZM1.57812 4.88672L1.37523 5.86592L1.37697 5.86628L1.57812 4.88672ZM0.546875 4.71484L0.394818 5.70322L0.402847 5.70445L0.410895 5.70556L0.546875 4.71484ZM0.292969 4.58594L-0.452969 5.25195L-0.44042 5.26601L-0.427351 5.27958L0.292969 4.58594ZM0.296875 4.07812L1.0172 4.77177L1.02349 4.76523L1.02967 4.75858L0.296875 4.07812ZM0.550781 3.94922L0.436765 2.95565L0.423617 2.95734L0.550781 3.94922ZM1.75781 3.76172L1.96735 4.73955L1.97474 4.73791L1.75781 3.76172ZM2.56641 3.46094L3.08401 4.31657L3.08701 4.31473L2.56641 3.46094ZM3.08203 2.94531L3.93584 3.46593L3.93861 3.46133L3.08203 2.94531ZM3.39453 2.11719L2.42179 1.88523L2.42052 1.89067L3.39453 2.11719ZM3.61719 0.871094L2.63292 0.69443L2.6293 0.714555L2.62652 0.734811L3.61719 0.871094ZM3.75 0.625L4.41436 1.37241L4.42196 1.36566L4.42941 1.35876L3.7
2285 0.625ZM4.24609 0.625L3.56669 1.35876L3.57414 1.36566L3.58173 1.37241L4.24609 0.625ZM4.375 0.867188L5.36437 0.721386L5.36276 0.711225L4.375 0.867188ZM4.60938 2.11328L3.63879 2.35405L3.63923 2.35582L4.60938 2.11328ZM4.92969 2.9375L4.07309 3.45352L4.07589 3.45811L4.92969 2.9375ZM5.44141 3.44922L4.92379 4.30488L4.9316 4.30951L5.44141 3.44922ZM7.44922 3.94922L7.57639 2.95731L7.56858 2.95637L7.44922 3.94922ZM7.69922 4.07812L6.95328 4.74414L6.96583 4.75819L6.9789 4.77177L7.69922 4.07812ZM7.69922 4.58594L6.96643 3.90549L6.95978 3.91264L6.95328 3.91992L7.69922 4.58594ZM7.44922 4.71484L7.55786 5.70892L7.56713 5.70791L7.57638 5.70673L7.44922 4.71484ZM5.42969 5.20703L5.94729 6.06266L5.95029 6.06083L5.42969 5.20703ZM4.91406 5.72266L4.06205 5.19913L4.06027 5.20205L4.91406 5.72266ZM4.59766 6.55078L5.56998 6.78444L5.57038 6.78274L4.59766 6.55078ZM4.375 7.79297L3.38429 7.65668L3.38312 7.6658L4.375 7.79297ZM4.25 8.03906L3.58564 7.29165L3.57804 7.2984L3.57059 7.3053L4.25 8.03906ZM4 7.13672C4.06667 7.13672 4.14613 7.14844 4.22908 7.18085C4.31213 7.21329 4.37927 7.25888 4.42941 7.3053L3.07059 8.77282C3.32689 9.01013 3.65327 9.13672 4 9.13672V7.13672ZM4.42828 7.30426C4.47651 7.34878 4.51635 7.40073 4.54604 7.45573C4.57518 7.50973 4.58975 7.55771 4.59679 7.59202L2.63758 7.99391C2.695 8.2738 2.83122 8.55186 3.07172 8.77387L4.42828 7.30426ZM4.6057 7.64186C4.54104 7.21882 4.47355 6.84385 4.40257 6.52017L2.44899 6.94858C2.50822 7.21865 2.56834 7.54941 2.62867 7.94408L4.6057 7.64186ZM4.40296 6.52195C4.32772 6.17587 4.22955 5.85147 4.09942 5.56229L2.27558 6.38302C2.33295 6.51051 2.39363 6.69392 2.4486 6.9468L4.40296 6.52195ZM4.09942 5.56229C3.96267 5.2584 3.77871 4.97726 3.53641 4.73944L2.13547 6.16681C2.17442 6.20504 2.22483 6.27024 2.27558 6.38302L4.09942 5.56229ZM3.54304 4.74602C3.30322 4.5062 3.02076 4.32606 2.71563 4.19474L1.92499 6.03182C2.03132 6.07759 2.09261 6.12401 2.12883 6.16023L3.54304 4.74602ZM2.7297 4.20092C2.4418 4.07173 2.12023 3.97718 1.77928 3.90716L1.37697 5.86628C1.61935 5.91605 1.79258 5.97254 1.91092 6.02564L2.7297 4.20092ZM1.78102 3.90752C1.46351 3.84173 1.09631 3.78088 0.682855 3.72413L0.410895 5.70556C0.794318 5.75818 1.11462 5.81192 1.37523 5.86592L1.78102 3.90752ZM0.698932 3.72647C0.744221 3.73344 0.800296 3.74896 0.859919 3.77923C0.920078 3.80977 0.971857 3.84927 1.01329 3.8923L-0.427351 5.27958C-0.199275 5.51643 0.0888772 5.65615 0.394818 5.70322L0.698932 3.72647ZM1.03891 3.91992C1.08056 3.96657 1.12267 4.02976 1.15307 4.10879C1.18356 4.18805 1.19531 4.26523 1.19531 4.33203H-0.804688C-0.804688 4.67797 -0.679078 4.99871 -0.452969 5.25195L1.03891 3.91992ZM1.19531 4.33203C1.19531 4.39882 1.18341 4.48016 1.14918 4.56573C1.11485 4.65154 1.06647 4.7206 1.0172 4.77177L-0.423445 3.38448C-0.673331 3.64398 -0.804688 3.97837 -0.804688 4.33203H1.19531ZM1.02967 4.75858C0.98725 4.80426 0.931607 4.84847 0.863825 4.88288C0.796412 4.9171 0.731652 4.93422 0.677946 4.9411L0.423617 2.95734C0.0972991 2.99917 -0.204024 3.14794 -0.435919 3.39767L1.02967 4.75858ZM0.664787 4.9427C1.16106 4.88575 1.59746 4.81878 1.96734 4.73952L1.54828 2.78392C1.26192 2.84528 0.893626 2.90331 0.436775 2.95574L0.664787 4.9427ZM1.97474 4.73791C2.37314 4.64937 2.75314 4.51672 3.08401 4.31656L2.04881 2.60531C1.9578 2.66037 1.79874 2.72823 1.54088 2.78553L1.97474 4.73791ZM3.08701 4.31473C3.43657 4.10159 3.72268 3.81548 3.93583 3.46592L2.22824 2.42471C2.18096 2.50223 2.12332 2.55987 2.0458 2.60714L3.08701 4.31473ZM3.93861 3.46133C4.13863 3.12929 4.27475 2.74698 4.36854 2.3437L2.42052 1.89067C2.35806 2.15927 2.28585 2.32904 2.22545 2.4293L3.93861 3.46133ZM4.36726 2.34915C4.45794 1.96886 4.53742 1.51938 4.60786 1.00738L2.62652 0.734811C2.56154 1.20718 2.49258 1.58843 2.42181 1.88523L4.36726 2.34915ZM4.60146 1.04776C4.59384 1.09023 4.57736 1.14667 4.54408 1.20833C4.51027 1.27099 4.46562 1.32685 4.41436 1.37241L3.08564 -0.122409C2.83124 0.103725 2.68669 0.394844 2.63292 0.69443L4.60146 1.04776ZM4.42941 1.35876C4.37927 1.40518 4.31213 1.45077 4.22908 1.48322C4.14613 1.51562 4.06667 1.52734 4 1.52734V-0.472656C3.65327 -0.472656 3.32689 -0.34607 3.07059 -0.108761L4.42941 1.35876ZM4 1.52734C3.92853 1.52734 3.84654 1.5144 3.76299 1.48
228125C3.67981 1.44824 3.61429 1.40283 3.56669 1.35876L4.9255 -0.108761C4.67487 -0.340826 4.35178 -0.472656 4 -0.472656V1.52734ZM3.58173 1.37241C3.53079 1.32713 3.48418 1.26966 3.44831 1.20227C3.41285 1.13565 3.3951 1.07296 3.38724 1.02315L5.36276 0.711225C5.31356 0.399627 5.1655 0.104295 4.91046 -0.122409L3.58173 1.37241ZM3.38568 1.01298C3.46144 1.52701 3.54511 1.97639 3.63879 2.35405L5.57996 1.87252C5.50697 1.5783 5.4344 1.19695 5.36432 0.721394L3.38568 1.01298ZM3.63923 2.35582C3.73857 2.75317 3.87696 3.12791 4.07311 3.45351L5.78627 2.42149C5.722 2.3148 5.64685 2.14006 5.57952 1.87075L3.63923 2.35582ZM4.07589 3.45811C4.28839 3.80661 4.57348 4.09292 4.92381 4.30484L5.95901 2.5936C5.88745 2.55031 5.8314 2.49547 5.78348 2.41689L4.07589 3.45811ZM4.9316 4.30951C5.2562 4.50186 5.62831 4.63323 6.0201 4.72413L6.47209 2.77587C6.21283 2.71572 6.04849 2.64657 5.95121 2.58893L4.9316 4.30951ZM6.0201 4.72413C6.3923 4.81048 6.83146 4.88215 7.32986 4.94207L7.56858 2.95637C7.11385 2.9017 6.75093 2.84056 6.47209 2.77587L6.0201 4.72413ZM7.32205 4.9411C7.26794 4.93416 7.20058 4.91662 7.1296 4.88001C7.05797 4.84308 6.99866 4.79497 6.95328 4.74414L8.44516 3.41211C8.21163 3.15056 7.90434 2.99938 7.57638 2.95734L7.32205 4.9411ZM6.9789 4.77177C6.92963 4.7206 6.88124 4.65154 6.84691 4.56573C6.81269 4.48016 6.80078 4.39882 6.80078 4.33203H8.80078C8.80078 3.97837 8.66943 3.64398 8.41954 3.38448L6.9789 4.77177Z
228M6.80078 4.33203C6.80078 4.26034 6.81394 4.17882 6.84691 4.09638C6.87967 4.01449 6.92429 3.95087 6.96643 3.90549L8.43201 5.26639C8.66527 5.01519 8.80078 4.68977 8.80078 4.33203H6.80078ZM6.95328 3.91992C6.99866 3.86909 7.05797 3.82098 7.1296 3.78405C7.20058 3.74745 7.26794 3.7299 7.32205 3.72296L7.57638 5.70673C7.90434 5.66468 8.21163 5.51351 8.44516 5.25195L6.95328 3.91992ZM7.34058 3.72076C6.84156 3.7753 6.4006 3.84275 6.02526 3.92616L6.45912 5.87853C6.74002 5.81611 7.10375 5.75855 7.55786 5.70892L7.34058 3.72076ZM6.02526 3.92616C5.62434 4.01525 5.24247 4.14995 4.90908 4.35324L5.95029 6.06083C6.04399 6.00369 6.20378 5.93527 6.45912 5.87853L6.02526 3.92616ZM4.91209 4.35141C4.56077 4.56393 4.27577 4.85131 4.06205 5.19913L5.76607 6.24618C5.81798 6.16171 5.87673 6.10534 5.94729 6.06265L4.91209 4.35141ZM4.06027 5.20205C3.85886 5.53236 3.72119 5.91517 3.62493 6.31882L5.57038 6.78274C5.63559 6.50931 5.70885 6.34004 5.76786 6.24326L4.06027 5.20205ZM3.62534 6.31712C3.53436 6.69572 3.45478 7.1446 3.38433 7.65669L5.36567 7.92925C5.43064 7.45696 5.4995 7.07771 5.56997 6.78444L3.62534 6.31712ZM3.38312 7.6658C3.38953 7.61581 3.4059 7.54966 3.44241 7.4778C3.47951 7.40475 3.52944 7.3416 3.58564 7.29165L4.91436 8.78647C5.18167 8.54887 5.32609 8.23834 5.36688 7.92013L3.38312 7.6658ZM3.57059 7.3053C3.62073 7.25888 3.68787 7.21329 3.77092 7.18085C3.85387 7.14844 3.93333 7.13672 4 7.13672V9.13672C4.34673 9.13672 4.67311 9.01013 4.92941 8.77282L3.57059 7.3053Z" fill="white" mask="url(#path-1-outside-1_2357_1467)"></path></svg>`,2)}var No=A(jo,[[`render`,Mo]]),Po={SUPPORT:1,REPLY:2,COMMENT:3},Fo=[`placeholder`,`disabled`],Io={key:0,class:`relative mt-2`},Lo={key:0,class:`absolute z-10`},Ro={key:0,class:`absolute w-full h-full inset-0 backdrop-blur-md z-1`},zo={ref:`videoElem`,alt:`video_thumbnail`,class:`w-full h-full object-cover object-center`},Bo=[`src`],Vo={key:1,class:`relative mt-2`},Ho=[`src`],Uo={class:`overflow-hidden flex items-center`},Wo={class:`relative`,"aria-hidden":`true`},Go=[`aria-expanded`,`aria-label`],Ko={key:0,width:`20`,height:`20`,viewBox:`0 0 20 20`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`},qo={key:1,width:`20`,height:`20`,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`},Jo={class:`grid grid-cols-7 pb-3`},Yo=[`onClick`],Xo=[`placeholder`],Zo=[`id`],Qo={class:`text-sm font-cr-medium text-dark mt-3 mb-4`},$o={class:`grid grid-cols-8 gap-y-2`},es=[`onClick`],ts=[`aria-expanded`],ns={width:`24`,height:`17`,viewBox:`0 0 24 17`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`},rs={key:0,class:`text-error text-[12px]`},is={__name:`EmojiPicker`,props:[`creatorData`,`currentUser`,`placeholder`,`height`,`hideEmojiPicker`,`showGifPicker`,`content`,`gif`,`dropDownPosition`,`smallInputField`,`disabled`,`fieldType`,`inputV1`,`hasError`,`extraClass`,`paddingBottom`,`videoData`,`videoURL`,`thumbnailURL`,`showVideoRecorderIcon`,`outerDivClass`],emits:[`getContent`,`getGif`,`getVideo`,`triggerFocusEvent`,`toggleVideoRecorderModal`,`removeVideo`,`openVideoPlayModal`,`setIsUploadingVideo`],setup(e,{emit:t}){let n=e,r=t,i=E(n.content?n.content.replace(/<br *\/?>/gi,`
229`):``),a=E(``),d=E(``),y=E(L),A=E(!1),j=E(!1),M=E(!1),F=E(),R=E(),z=E(),B=E(``);E(!!n.gif),E(!!n.videoURL);let V=n.height,H=E(null);n.paddingBottom&&n.paddingBottom;let ee=`tw-box-common-v2 tw-input-common w-full block font-cr-medium relative cursor-text resize-none tw-contenteditbale !ring-0 !outline-none placeholder:font-cr-book ${n.smallInputField?`pl-4 min-h-10 py-2 pr-10 xs:pr-8 xs:pl-3 text-sm`:`px-4 pt-3 text-sm`} ${n.extraClass??``}`,te=`absolute right-2.5 flex items-center justify-center gap-2 ${n.smallInputField?`bottom-1`:n.fieldType==`message`?`bottom-4`:`bottom-2.5`}`;E(``);let U=E(!1);E(``),E(``);let W=E(``),G=E(!1),K={frequently_used:`🕒`,smileys_people:`😃`,animals_nature:`🐹`,food_drinks:`🍔`,travel_places:`🌇`,objects:`💡`,symbols:`🔣`};_(()=>{n.content&&ie(),n.videoData&&de(),n.gif&&(B.value=P.getGifURLFromId(n.gif)),z.value.addEventListener(`input`,ce),k.IsBrowser&&document.addEventListener(`click`,(e=>{R.value&&!R.value.contains(e.target)&&(A.value=!1,j.value=!1,M.value=!1)}))});let ne=()=>{A.value=!A.value,j.value=!1,M.value=!1},q=()=>{A.value=!1,j.value=!j.value,M.value=!1},re=()=>{A.value=!1,j.value=!1,r(`toggleVideoRecorderModal`,!0)};l(()=>n.content,e=>{ie()}),l(()=>n.gif,e=>{B.value=e?P.getGifURLFromId(e):``}),l(()=>n.videoData,e=>{e&&me(e)}
229);let ie=()=>{i.value=n.content?n.content.replace(/<br *\/?>/gi,`
230`):``,setTimeout(()=>{ce()},10)},ae=()=>{if(a.value){let e={Results:{categoryName:`search_results`,emojis:{}}};for(let t in y.value)for(let n in y.value[t].emojis)n.toLowerCase().indexOf(a.value.toLowerCase())!=-1&&(e.Results.emojis[n]=y.value[t].emojis[n]);y.value=e}else y.value=L},oe=e=>{k.IsBrowser&&setTimeout(()=>{let t=F.value,n=document.getElementById(e).offsetTop-t.offsetTop;t.scroll({top:n,left:0,behavior:`smooth`})},100)},se=e=>{let t=z.value,n=i.value.substring(0,t.selectionStart),a=i.value.substring(t.selectionStart),o=n+e+a;i.value=o,t.focus(),r(`getContent`,i.value),A.value=!1},ce=()=>{let e=z.value,t=d.value,i=e.value,a=i.replace(/&/g,`&amp;`).replace(/</g,`&lt;`).replace(/>/g,`&gt;`).replace(/"/g,`&quot;`).replace(/'/g,`&#039;`);a=a.replace(/\n/g,`<br>`),t.innerHTML=a+`<br style="line-height: 3px;">`,t.style.visibility=`hidden`,t.style.display=`block`,e.style.height=t.offsetHeight+`px`,t.style.visibility=`visible`,t.style.display=`none`,i=i.replace(/\n/g,`<br>`),r(`getContent`,i,n.fieldType)},le=e=>{j.value=!1,r(`getGif`,e)},ue=()=>{B.value=``,r(`getGif`,``)},de=()=>{U.value=!1,r(`removeVideo`,``)},fe=(e,t)=>{let r={filename:P.generateTimestampedFileName(`${n.creatorData?.slug}_${n.currentUser?.data.slug??``}`,t),filetype:t,filesize:e.size/8,upload_for:`support_comment_video`};return new Promise((e,t)=>{axios.post(`api/v1/public/upload/generate-signed-url`,r).then(t=>{let n=t.data;e(n)}).catch(e=>{t(e)})})},pe=(e,t,n)=>new Promise((r,i)=>{let a=new XMLHttpRequest;a.open(`PUT`,e.url,!0),a.setRequestHeader(`Content-Type`,n),a.send(t),a.onload=()=>{a.status===200?r(e):i(error)}}),me=async e=>{U.value=!0,r(`setIsUploadingVideo`,!0);let t=fe(e.video_data,e.mimeType==`video/mp4`?`mp4`:`webm`).then(t=>pe(t,e.video_data,e.mimeType??`video/webm`)),i=fe(e.thumbnail_data,`jpg`).then(t=>pe(t,e.thumbnail_data,`image/jpeg`));Promise.allSettled([t,i]).then(t=>{let i=t[0],a=t[1];if(i.status===`rejected`){i.reason.response.data.errors.filesize?ge(`Video file size is too large, please try again.`):ge(`Video uploading failed, please try again.`),de(),U.value=!1,r(`setIsUploadingVideo`,!1);return}let o=``;n.fieldType==`message`?o=Po.SUPPORT:n.fieldType==`reply`&&(o=Po.REPLY);let s={video_data:i.value,thumbnail_data:a.value??``,message_type:o,video_filesize:e.video_data.size/8,video_mimetype:e.mimeType};U.value=!1,r(`triggerFocusEvent`),r(`getVideo`,n.videoData?s:``)})},he=()=>{r(`openVideoPlayModal`)},ge=e=>{W.value=e,setTimeout(()=>{W.value=``},5e3)};return(t,n)=>(b(),h(`div`,null,[m(`div`,{class:p([`relative group tw-box-common-v2 tw-input-common !p-0 border-2 border-transparent focus-within:bg-white focus-within:border-pageTheme cursor-text`,`${e.hasError,e.outerDivClass}`]),ref_key:`emojiPickerWrap`,ref:R,tabindex:`0`,onFocusin:n[3]||=e=>w(G)?G.value=!0:G=!0,onFocusout:n[4]||=e=>w(G)?G.value=!1:G=!1},[f(m(`textarea`,{ref_key:`contenteditable`,ref:z,placeholder:e.placeholder,disabled:e.disabled,"onUpdate:modelValue":n[0]||=e=>w(i)?i.value=e:i=e,onFocus:n[1]||=e=>t.$emit(`triggerFocusEvent`),class:p([`border-none !bg-transparent`,u(ee)+(u(B)||e.videoURL||e.smallInputField?``:` min-h-25`)]),style:v(u(V)?`height: ${u(V)}px`:``)},null,46,Fo),[[o,u(i)]]),m(`div`,{ref_key:`hiddenDiv`,ref:d,class:p([u(ee),`hiddenContainer hidden break-words whitespace-pre-wrap py-2`]),style:v(u(V)?`min-height: ${u(V)}px`:``)},null,6),c(s,{name:`displayElem_resize`,mode:`out-in`},{default:S(()=>[e.videoURL||u(B)?(b(),h(`div`,{key:0,ref_key:`displayElem`,ref:H,class:p([[e.videoURL?`h-[124px]`:`h-[108px]`],`px-4 pb-4 flex gap-2 items-end h-[108px]`])},[e.videoURL||u(U)?(b(),h(`div`,Io,[m(`div`,{onClick:de,class:`closeGif z-10 rounded-full p-1.5 cursor-pointer absolute -top-2 -right-2 outline outline-[3px] outline-white bg-dark`},[c(N,{fillClass:`fill-white`,class:`w-2 h-2`})]),m(`div`,{class:`relative flex items-center justify-center cursor-pointer`,role:`button`,tabindex:`0`,onClick:he},[u(U)?(b(),h(`div`,Lo,[c(I,{sizeClass:`w-6 h-6`,loaderClass:`tw-grey-circle-loader`})])):O(``,!0),m(`div`,{style:v({backgroundImage:`url(`+e.thumbnailURL+`)`}),class:`relative w-[100px] h-[100px] overflow-hidden rounded-xl bg-grey71 bg-cover bg-center bg-no-repeat`},[u(U)?(b(),h(`div`,Ro)):O(``,!0),m(`video`,zo,[m(`source`,{src:e.videoURL},null,8,Bo)],512)],4)])])):O(``,!0),u(B)?(b(),h(`div`,Vo,[m(`div`,{role:`button`,tabindex:`0`,onClick:ue,class:`closeGif z-10 rounded-full p-1.5 cursor-pointer absolute -top-2 -right-2 outline outline-[3px] outline-white bg-dark`},[c(N,{fillClass:`fill-white`,class:`w-2 h-2`})]),m(`div`,null,[m(`img`,{src:u(B),alt:`gif`,class:`w-[117px] h-[84px] rounded-xl object-cover object-center`},null,8,Ho)])])):O(``,!0)],2)):O(``,!0)]),_:1}),D(t.$slots,`editor-more-options`),m(`div`,{class:p(u(te))},[e.showVideoRecorderIcon&&!(e.videoURL||u(B))?(b(),h(`div`,{key:0,class:p([`video-picker-toggle-container`,u(` h-8 rounded-full  flex items-center justify-end`)])},[m(`div`,{class:p([`video-picker-toggle text-18 group/videoIcon bg-white hover:bg-greyF5 w-full h-full flex items-center justify-center rounded-full shadow-boxV1 cursor-pointer relative transform-gpu duration-300 ease-in-out`,{"max-w-[32px] px-1.5":!u(G),"max-w-full px-2.5":u(G),"xs-xl:max-w-[32px] xs-xl:px-1.5":e.fieldType==`message`}]),role:`button`,tabindex:`0`,"aria-haspopup":`true`,onClick:re},[m(`div`,Uo,[m(`div`,Wo,[c(No)]),n[5]||=m(`div`,{class:`font-cr-medium text-[14px] leading-4 ml-2 whitespace-nowrap`},` Add a video message `,-1)]),m(`div`,{class:p([{hidden:u(G)},`absolute -top-5 video-note-tooltip select-none transform transition-all duration-[0.15s] ease-out rounded p-1 flex-col items-center justify-center z-50 bg-dark15 text-white opacity-0 invisible xs:right-0`])},[...n[6]||=[m(`div`,{class:`font-normal text-[10px] leading-3 font-cr-medium whitespace-nowrap`}
230,`Add a video message`,-1)]],2)],2)],2)):O(``,!0),!e.hideEmojiPicker&&!e.showVideoRecorderIcon?(b(),h(`div`,{key:1,class:p([`emoji-picker-toggle-container`,u(` w-10 h-10 rounded-full  flex items-center justify-center`)])},[m(`div`,{class:p([`emoji-picker-toggle text-18 w-full h-full flex items-center justify-center rounded-full cursor-pointer group/emojiIcon relative`,e.showVideoRecorderIcon?`bg-white hover:bg-greyF5 shadow-boxV1`:``]),role:`button`,tabindex:`0`,"aria-haspopup":`true`,"aria-expanded":u(A),"aria-label":t.$t(`lang.a11y.emoji_picker`),onClick:ne},[e.showVideoRecorderIcon?(b(),h(`svg`,Ko,[...n[7]||=[m(`path`,{d:`M10 18.3334C14.6024 18.3334 18.3333 14.6024 18.3333 10C18.3333 5.39765 14.6024 1.66669 10 1.66669C5.39762 1.66669 1.66666 5.39765 1.66666 10C1.66666 14.6024 5.39762 18.3334 10 18.3334Z`,stroke:`black`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null,-1),m(`path`,{d:`M6.66666 12.5C7.42676 13.512 8.63691 14.1667 10 14.1667C11.3631 14.1667 12.5732 13.512 13.3333 12.5`,stroke:`black`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null,-1),m(`path`,{d:`M6.67414 7.5H6.66666M13.3333 7.5H13.3258`,stroke:`black`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null,-1)]])):(b(),h(`svg`,qo,[...n[8]||=[m(`path`,{d:`M11.99 2C6.47 2 2 6.48 2 12C2 17.52 6.47 22 11.99 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 11.99 2ZM12 20C7.58 20 4 16.42 4 12C4 7.58 7.58 4 12 4C16.42 4 20 7.58 20 12C20 16.42 16.42 20 12 20ZM15.5 11C16.33 11 17 10.33 17 9.5C17 8.67 16.33 8 15.5 8C14.67 8 14 8.67 14 9.5C14 10.33 14.67 11 15.5 11ZM8.5 11C9.33 11 10 10.33 10 9.5C10 8.67 9.33 8 8.5 8C7.67 8 7 8.67 7 9.5C7 10.33 7.67 11 8.5 11ZM12 17.5C14.33 17.5 16.31 16.04 17.11 14H6.89C7.69 16.04 9.67 17.5 12 17.5Z`,class:`group-hover/emojiIcon:fill-dark`,fill:`#717171`},null,-1)]]))],10,Go),u(A)?(b(),h(`div`,{key:0,tabindex:`0`,"aria-modal":`true`,role:`dialog`,class:p([`bg-white shadow-lg border border-dark/5 rounded-lg w-64 h-80 overflow-y-auto p-4 absolute right-0 z-100 tw-emoji-picker`,e.dropDownPosition===`top`?`bottom-8`:``]),ref_key:`emojiPickerParent`,ref:F},[m(`div`,Jo,[(b(!0),h(x,null,g(u(K),(e,t)=>(b(),h(`div`,{class:`text-2xl cursor-pointer hover:bg-dark/5 flex justify-center items-center rounded-lg`,key:t,role:`button`,tabindex:`0`,onClick:e=>oe(t)},C(e),9,Yo))),128))]),f(m(`input`,{type:`text`,class:`bg-white border border-greyE5 rounded-full py-2 px-3 placeholder-grey71 font-cr-regular text-sm w-full focus:ring-0 focus:outline-none hover:border-grey71 focus:border-grey71`,"onUpdate:modelValue":n[2]||=e=>w(a)?a.value=e:a=e,placeholder:t.$t(`lang.common.search`),onInput:ae},null,40,Xo),[[o,u(a)]]),(b(!0),h(x,null,g(u(y),(e,n)=>(b(),h(`div`,{key:n,id:e.categoryName},[m(`div`,Qo,C(t.$t(`lang.emoji.${e.categoryName}`)),1),m(`div`,$o,[(b(!0),h(x,null,g(e.emojis,(e,t)=>(b(),h(`div`,{class:`cursor-pointer hover:bg-dark/5 flex justify-center items-center rounded-lg text-xl`,key:t,role:`button`,tabindex:`0`,onClick:t=>se(e)},C(e),9,es))),128))])],8,Zo))),128))],2)):O(``,!0)],2)):O(``,!0),e.showGifPicker&&!(e.videoURL||u(B))?(b(),h(`div`,{key:2,class:p([`gif-picker-toggle-container`,[u(` w-10 h-10 rounded-md  flex items-center justify-center`),e.videoURL||u(B)?``:` hover:bg-dark/5`]])},[m(`div`,{class:p([`gif-picker-toggle text-18 group/gifIcon`,[e.videoURL||u(B)?`opacity-60  cursor-not-allowed`:`cursor-pointer`]]),role:`button`,tabindex:`0`,"aria-haspopup":`true`,"aria-expanded":u(j),onClick:q},[(b(),h(`svg`,ns,[m(`rect`,{class:p({"group-hover/gifIcon:stroke-dark":!(e.videoURL||u(B))}),x:`0.967432`,y:`0.859277`,width:`21.8003`,height:`15.4665`,rx:`2.4`,stroke:`#717171`,"stroke-width":`1.2`},null,2),m(`path`,{class:p({"group-hover/gifIcon:fill-dark":!(e.videoURL||u(B))}),d:`M14.4924 12.0926V5.63281H18.5104V6.66237H15.5858V8.47548H18.2098V9.48681H15.5858V12.0926H14.4924Z`,fill:`#717171`},null,2),m(`path`,{class:p({"group-hover/gifIcon:fill-dark":!(e.videoURL||u(B))}),d:`M11.761 12.0926V5.63281H12.8725V12.0926H11.761Z`,fill:`#717171`},null,2),m(`path`,{class:p({"group-hover/gifIcon:fill-dark":!(e.videoURL||u(B))}),d:`M9.51648 12.0925L9.43448 11.2725C9.36159 11.394 9.2644 11.5125 9.14292 11.6279C9.02751 11.7372 8.88781 11.8374 8.72381 11.9285C8.55981 12.0196 8.371
23051 12.0925 8.15892 12.1472C7.94633 12.2019 7.71248 12.2292 7.45737 12.2292C7.03825 12.2292 6.63433 12.1533 6.24559 12.0014C5.86292 11.8496 5.52581 11.6309 5.23425 11.3454C4.9427 11.0539 4.70885 10.7016 4.5327 10.2885C4.36262 9.86943 4.27759 9.39261 4.27759 8.85809C4.27759 8.32965 4.3687 7.85587 4.55092 7.43676C4.73314 7.01765 4.97307 6.66535 5.2707 6.37987C5.5744 6.09439 5.92062 5.87572 6.30937 5.72387C6.70418 5.57202 7.11114 5.49609 7.53025 5.49609C7.91899 5.49609 8.27433 5.55076 8.59625 5.66009C8.91818 5.76335 9.20062 5.90609 9.44359 6.08832C9.69262 6.26446 9.89914 6.47098 10.0631 6.70787C10.2332 6.94476 10.3608 7.19683 10.4458 7.46409L9.41625 7.85587C9.36159 7.67365 9.27959 7.50054 9.17025 7.33654C9.06699 7.17254 8.9364 7.0298 8.77848 6.90832C8.62055 6.78683 8.43529 6.68965 8.2227 6.61676C8.01618 6.54387 7.78537 6.50743 7.53025 6.50743C7.26907 6.50743 7.01092 6.55602 6.75581 6.6532C6.5007 6.74432 6.26988 6.88706 6.06337 7.08143C5.86292 7.2758 5.69892 7.5218 5.57137 7.81943C5.44988 8.11098 5.38914 8.4572 5.38914 8.85809C5.38914 9.25291 5.44685 9.59913 5.56225 9.89676C5.68374 10.1883 5.84166 10.4343 6.03603 10.6348C6.23648 10.8291 6.46425 10.9779 6.71937 11.0812C6.97448 11.1784 7.24174 11.227 7.52114 11.227C7.84914 11.227 8.12551 11.1784 8.35025 11.0812C8.58107 10.9779 8.76936 10.8534 8.91514 10.7076C9.06092 10.5619 9.17025 10.407 9.24314 10.243C9.31603 10.0729 9.35855 9.91802 9.3707 9.77832H7.2387V8.82165H10.4003V12.0925H9.51648Z`,fill:`#717171`},null,2)]))],10,ts),u(j)?(b(),T(Ao,{key:0,tabindex:`0`,"aria-modal":`true`,role:`dialog`,dropDownPosition:e.dropDownPosition,onHandleGifSelection:le},null,8,[`dropDownPosition`])):O(``,!0)],2)):O(``,!0)],2)],34),u(W)?(b(),h(`p`,rs,C(u(W)),1)):O(``,!0)]))}};export{Po as n,No as r,is as t};

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.