sidekicks / 1221-fc74b2d73188a975.js
Rainbowbeast's picture
Upload 57 files
5f64521 verified
'use strict';const a79_0xc9be45=a79_0x268e;function a79_0x268e(_0x542519,_0x2a8efd){const _0x15722f=a79_0x1572();return a79_0x268e=function(_0x268eee,_0x538cbd){_0x268eee=_0x268eee-0x181;let _0x5a6d8e=_0x15722f[_0x268eee];return _0x5a6d8e;},a79_0x268e(_0x542519,_0x2a8efd);}(function(_0x4233d1,_0xeca5e4){const _0x303d6a=a79_0x268e,_0x219a93=_0x4233d1();while(!![]){try{const _0x441d61=-parseInt(_0x303d6a(0x1a0))/0x1+parseInt(_0x303d6a(0x1f7))/0x2+parseInt(_0x303d6a(0x1c5))/0x3+parseInt(_0x303d6a(0x1f5))/0x4*(-parseInt(_0x303d6a(0x1a6))/0x5)+-parseInt(_0x303d6a(0x1ab))/0x6*(-parseInt(_0x303d6a(0x1ff))/0x7)+parseInt(_0x303d6a(0x1ce))/0x8*(parseInt(_0x303d6a(0x1d2))/0x9)+parseInt(_0x303d6a(0x1f3))/0xa;if(_0x441d61===_0xeca5e4)break;else _0x219a93['push'](_0x219a93['shift']());}catch(_0x1bdb32){_0x219a93['push'](_0x219a93['shift']());}}}(a79_0x1572,0x5ebe3));function a79_0x1572(){const _0x1d7476=['$isEnabled','useRouter','play',';background-color:','musicLmCard',';transition:background-color\x200.25s\x20ease,color\x200.25s\x20ease;@media\x20(max-width:','flex:1;display:flex;flex-direction:row;align-items:center;gap:0.5rem;','media','secondary','off',')\x20and\x20(max-width:','duration','sc-15f17c03-0','value',';outline:1px\x20solid\x20','position:absolute;top:0;left:0;width:100%;height:100%;opacity:0.55;','error','concat','useMutation','height:auto;aspect-ratio:3/2;width:22rem;max-width:100%;position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;gap:0.5rem;padding:1rem;border:','sc-3139e169-0','path{stroke:','soundThumbFeedback','isLooping',';width:100%;&:disabled{opacity:0;}',';box-shadow:','EMPTY','useEffect','foregroundColor','invalidate','length','playSoundByIndex',';color:','media_delete_button_text','target','end','webpackChunk_N_E','map','sc-3139e169-8','){font-size:1.5rem;}','){padding:0.4rem\x200.75rem;}','addSounds','display:flex;flex-direction:row;gap:0.5rem;','TOOL_NAME','mediaKey','){width:2.125rem;height:2.125rem;}','accent-color:','currentColor','tablet','useState','137021ujLaMZ','breakpoints','none','sc-3139e169-4','useCallback','No\x20prev\x20song','1261745unYxHc',';&:hover{background-color:','mobile',';@media\x20(max-width:','sc-3a34e1aa-1','915942kUyHMT','sc-15f17c03-3','setData',';width:2.5rem;height:2.5rem;pointer-events:none;border-radius:9999px;border:1px\x20solid\x20','mdLabelLarge','findIndex','jsx','SONG_ID','{border:1px\x20solid\x20','/library','theme','primaryText','musiclm_options_label','sounds','{background-color:','){border-radius:40px;width:30rem;}@media\x20(min-width:','floor','copy_prompt_success','BLURPLE','){border-radius:40px;width:28rem;}','toggleSoundState','stop','delete_outline','Howl','jsxs','src','1070589KtfmVY','seek','events','-32px\x20-32px\x2048px\x200px\x20rgba(0,\x200,\x200,\x200.2)\x20inset,\x0a\x20\x20\x20\x2032px\x2032px\x2048px\x200px\x20rgba(255,\x20255,\x20255,\x200.1)\x20inset,\x0a\x20\x20\x20\x200px\x2032px\x2056px\x20-16px\x20rgba(0,\x200,\x200,\x200.25)','aitkTitle1','justify-self:flex-end;','playing','howl','sc-15f17c03-1','708856DpNtym','border-radius:9999px;padding:0.5rem;color:','align-self:center;@media\x20(min-width:','musiclm_pause_audio_icon_text','45vlkKaG','div','article','sc-15f17c03-2','copy','pause',';display:flex;justify-content:center;gap:0.25rem;padding:0.625rem\x200.75rem;border-radius:48px;width:6rem;color:','sc-3139e169-2','sc-3139e169-1','PINK','currentSound','push','animationColor','deleteMedia','MUSICLM',';}}','flex:1;position:relative;','secondaryText','typography','play_arrow','laptop-large','input','seed','secondaryHighlight','ITEM','display:flex;align-items:center;justify-content:center;color:',';border-radius:20px;background-color:','SUCCESS','top','fetchMedia','copy_prompt',';}}button[data-state=\x27open\x27]{','1px\x20solid\x20','2482520BXDUgQ','No\x20next\x20song','12CIQokT','isRefinePanelOpen','162656MdzZhv','refineProperties','currentRefineProperties',';@media\x20(min-width:','range',';box-shadow:0\x200\x200\x201px\x20','media_deletion_error','MEDIA_DELETION','7PlASdB','withConfig','sc-15f17c03-4','routeChangeComplete','ERROR','sc-3139e169-7','musiclm_play_audio_icon_text','routeChangeStart'];a79_0x1572=function(){return _0x1d7476;};return a79_0x1572();}(self[a79_0xc9be45(0x192)]=self[a79_0xc9be45(0x192)]||[])['push']([[0x4c5],{0x13d45:function(_0x15a289,_0x34523e,_0x2a8c77){const _0x505f8c=a79_0xc9be45;_0x2a8c77['d'](_0x34523e,{'q':function(){return _0x12e2a3;}});var _0x53158a=_0x2a8c77(0x14f85),_0x20aef7=_0x2a8c77(0x9bc7),_0x3ed66c=_0x2a8c77(0x177db),_0x49c2ac=_0x2a8c77(0xbdc7),_0x24f88a=_0x2a8c77(0x7837),_0x166bb2=_0x2a8c77(0xc97f),_0x235d72=_0x2a8c77(0x10057),_0x34ac00=_0x2a8c77(0x2b9b),_0x1efc0f=_0x2a8c77(0x11313),_0x3747e0=_0x2a8c77(0xa2d6),_0xf09580=_0x2a8c77(0x1f52),_0xde1458=_0x2a8c77(0x6a9f),_0x1e3a70=_0x2a8c77(0xc463),_0x1a3be0=_0x2a8c77(0x2ddd),_0x3271f4=_0x2a8c77(0xc455),_0x337848=_0x2a8c77(0xdbca),_0x2d319f=_0x2a8c77(0xf3ff),_0x47eeba=_0x2a8c77(0xf51),_0x2acae5=_0x2a8c77(0xd6fd),_0x16eb3a=_0x2a8c77(0xa569),_0x50a8c8=_0x2a8c77(0x16101),_0x3d1342=_0x2a8c77(0x1217e),_0x28e44b=_0x2a8c77(0x12ce5),_0xa74557=_0x2a8c77(0xfbb9),_0x38f31a=_0x2a8c77(0x746e),_0x5d724c=_0x2a8c77(0x6eb7),_0x2853d5=_0x2a8c77(0x9f97);let _0x12e2a3=_0x1a15c9=>{const _0x628601=a79_0x268e;let {prompt:_0x36914a,howl:_0x291e50,id:_0x54c829,showThumbFeedback:_0x1b3d75=!0x1,colorTheme:_0x147cec,isEmpty:_0x1e3645=!0x1,isDisabled:_0x2327f6=!0x1,hasAnimation:_0x574522=!0x0,disableFeedback:_0x47b90e=!0x1,resetSwiperDraggable:_0x3510e9,className:_0x102a6a='',children:_0x5b9124}=_0x1a15c9,{t:_0x5ac1af}=(0x0,_0x235d72['$G'])(),{isSignedIn:_0x341406}=(0x0,_0x16eb3a['A'])(),{isPlaying:_0x31aba9}=(0x0,_0x2acae5['v'])(_0x291e50),_0x4dcb07=(0x0,_0x50a8c8['p'])(),_0x386650=(0x0,_0x38f31a['z'])(),{handleLogEvent:_0x2368ca}=(0x0,_0xa74557['an'])(),[,_0xfcf0d4]=(0x0,_0x49c2ac['KO'])(_0x3d1342['s1']),_0x1fcbe5=_0xf09580['h']['useUtils'](),_0x1c4574=(0x0,_0x34ac00[_0x628601(0x208)])(),{soundThumbFeedback:_0x29959b,setSoundThumbFeedback:_0x31d65f}=(0x0,_0x47eeba['D'])(_0x10951a=>({'soundThumbFeedback':_0x10951a[_0x628601(0x184)],'setSoundThumbFeedback':_0x10951a['setSoundThumbFeedback']})),{mutate:_0xd29002}=_0xf09580['h'][_0x628601(0x20e)][_0x628601(0x1df)][_0x628601(0x219)]({'onMutate':()=>{const _0x5e2cbd=_0x628601;_0x54c829&&_0x1fcbe5[_0x5e2cbd(0x20e)]['fetchMedia'][_0x5e2cbd(0x1ad)]({'mediaKey':_0x54c829},()=>({'result':{},'body':''}));},'onSuccess':()=>{const _0x12c7c4=_0x628601;_0x2368ca([{'event':_0xa74557['E_'][_0x12c7c4(0x1fe)],'eventProperties':[{'key':_0xa74557['Nn'][_0x12c7c4(0x199)],'stringValue':_0x28e44b['Nv'][_0x12c7c4(0x1e0)]}],'eventMetadata':{'mediaGenerationId':_0x54c829}}]);},'onError':()=>{const _0x31c5a2=_0x628601;_0x1fcbe5[_0x31c5a2(0x20e)][_0x31c5a2(0x1ef)][_0x31c5a2(0x18b)](),_0x4dcb07({'text':_0x5ac1af(_0x31c5a2(0x1fd)),'type':_0x28e44b['$n'][_0x31c5a2(0x203)],'actionText':_0x5ac1af('user_modal_send_feedback'),'onAction':()=>_0x386650()});}}),_0xd0af8d={'type':_0x628601(0x1ea),'icon':_0x628601(0x1c1),'value':'delete_outline','label':_0x5ac1af(_0x628601(0x18f)),'onClick':()=>{_0x54c829&&_0xd29002({'names':[_0x54c829]});}},_0x3f9a69=[{'type':'ITEM','icon':_0x628601(0x1d6),'value':_0x628601(0x1d6),'label':(0x0,_0x5d724c['yE'])(_0x628601(0x1f0)),'onClick':async()=>{const _0x13cfe9=_0x628601;await(0x0,_0x2853d5['vQ'])(_0x36914a),_0x4dcb07({'text':_0x5ac1af(_0x13cfe9(0x1bc)),'type':_0x28e44b['$n'][_0x13cfe9(0x1ed)]});}}];_0x47b90e||_0x3f9a69[_0x628601(0x1dd)]({'type':_0x628601(0x1ea),'icon':'feedback','value':'feedback','label':(0x0,_0x5d724c['yE'])('feedback_flag_output'),'onClick':()=>{const _0x168388=_0x628601;_0x341406?_0xfcf0d4({'isDialogOpen':!0x0,'mediaGenerationId':_0x54c829||''}):_0x4dcb07({'text':_0x5ac1af('platform_feedback_dialog_signed_out'),'type':_0x28e44b['$n'][_0x168388(0x203)]});}});let _0x429f7c=_0x628601(0x1b4)===_0x1c4574['pathname']?[..._0x3f9a69,_0xd0af8d]:_0x3f9a69;return(0x0,_0x53158a[_0x628601(0x1b1)])(_0x2d319f['T'],{'colorTheme':_0x1e3645?_0x628601(0x188):_0x147cec,'children':(0x0,_0x53158a['jsxs'])(_0x444b05,{'className':_0x102a6a,'$isEnabled':!_0x1e3645,'children':[(0x0,_0x53158a[_0x628601(0x1b1)])(_0x24f88a['M'],{'children':!_0x1e3645&&!_0x2327f6&&_0x574522&&_0x31aba9&&(0x0,_0x53158a[_0x628601(0x1b1)])(_0x2039cf,{'initial':{'opacity':0x0},'animate':{'opacity':0x1},'exit':{'opacity':0x0},'transition':{'duration':0.6},'children':(0x0,_0x53158a[_0x628601(0x1b1)])(_0x1ee578,{'autoplay':!0x0,'loop':!0x0,'src':_0x1efc0f})})}),(0x0,_0x53158a[_0x628601(0x1b1)])(_0x5358c2,{'children':(0x0,_0x53158a[_0x628601(0x1b1)])(_0x183005,{'children':_0x36914a})}),(0x0,_0x53158a['jsxs'])(_0x3a3385,{'children':[(0x0,_0x53158a['jsx'])(_0x337848['C'],{'howl':_0x291e50,'howlId':_0x54c829}),(0x0,_0x53158a[_0x628601(0x1b1)])(_0x3271f4['a'],{'howl':_0x291e50,'resetSwiperDraggable':_0x3510e9}),_0x54c829&&_0x1b3d75&&(0x0,_0x53158a['jsx'])(_0x1a3be0['W'],{'id':_0x54c829,'color':_0x628601(0x1db),'isDisabled':_0x1e3645,'thumbState':_0x29959b[_0x54c829],'onThumbStateChange':_0x31d65f}),(0x0,_0x53158a['jsx'])(_0xf7885b,{'children':(0x0,_0x53158a[_0x628601(0x1b1)])(_0x1e3a70['v'],{'color':_0x628601(0x1bd),'options':_0x429f7c,'menuContentProps':{'side':_0x628601(0x1ee),'alignOffset':0x0,'sideOffset':0xa},'menuTriggerProps':{'asChild':!0x1},'children':(0x0,_0x53158a['jsxs'])(_0x2058ca,{'children':[(0x0,_0x53158a[_0x628601(0x1b1)])(_0x3ed66c['f'],{'children':_0x5ac1af(_0x628601(0x1b7))}),(0x0,_0x53158a[_0x628601(0x1b1)])(_0xde1458['O'],{'icon':'more_vert','color':_0x628601(0x19d)})]})})}),void 0x0!==_0x5b9124&&(0x0,_0x53158a[_0x628601(0x1b1)])(_0x246328,{'children':_0x5b9124}),(_0x1e3645||_0x2327f6)&&(0x0,_0x53158a[_0x628601(0x1b1)])(_0x1b7840,{})]})]})});},_0x444b05=_0x3747e0['ZP'][_0x505f8c(0x1d4)][_0x505f8c(0x200)]({'componentId':_0x505f8c(0x182)})([_0x505f8c(0x181),_0x505f8c(0x1ec),_0x505f8c(0x187),_0x505f8c(0x1fa),'){border-radius:24px;width:24rem;}@media\x20(min-width:',_0x505f8c(0x1ba),_0x505f8c(0x211),_0x505f8c(0x1be)],_0x3c18d9=>_0x3c18d9[_0x505f8c(0x207)]?_0x505f8c(0x1f2)[_0x505f8c(0x218)](_0x3c18d9[_0x505f8c(0x1b5)][_0x505f8c(0x20b)]['primary']):_0x505f8c(0x1a2),_0xac6334=>_0xac6334[_0x505f8c(0x1b5)][_0x505f8c(0x20b)]['primary'],_0x49dc3a=>_0x49dc3a['$isEnabled']?_0x505f8c(0x1c8):_0x505f8c(0x1a2),_0x4f06b1=>_0x4f06b1[_0x505f8c(0x1b5)]['breakpoints'][_0x505f8c(0x1a8)],_0x3f6810=>_0x3f6810[_0x505f8c(0x1b5)][_0x505f8c(0x1a1)][_0x505f8c(0x19e)],_0x91c592=>_0x91c592[_0x505f8c(0x1b5)][_0x505f8c(0x1a1)]['laptop'],_0x2f904a=>_0x2f904a['theme'][_0x505f8c(0x1a1)][_0x505f8c(0x1e6)]),_0x1b7840=_0x3747e0['ZP'][_0x505f8c(0x1d3)]['withConfig']({'componentId':_0x505f8c(0x1da)})([_0x505f8c(0x216)]),_0x2039cf=(0x0,_0x3747e0['ZP'])(_0x166bb2['E'][_0x505f8c(0x1d3)])[_0x505f8c(0x200)]({'componentId':_0x505f8c(0x1d9)})(['aspect-ratio:1;bottom:0;left:0;position:absolute;right:0;transform:translateY(56%);width:100%;pointer-events:none;']),_0x1ee578=(0x0,_0x3747e0['ZP'])(_0x20aef7['J5'])[_0x505f8c(0x200)]({'componentId':'sc-3139e169-3'})([_0x505f8c(0x183),';}'],_0x10a2ff=>_0x10a2ff[_0x505f8c(0x1b5)][_0x505f8c(0x20b)][_0x505f8c(0x1de)]),_0x5358c2=_0x3747e0['ZP'][_0x505f8c(0x1d3)][_0x505f8c(0x200)]({'componentId':_0x505f8c(0x1a3)})(['--mask-height:2rem;--scrollbar-width:10px;--mask-image-content:linear-gradient(to\x20bottom,black\x2087%,transparent\x20100%);--mask-size-content:calc(100%\x20-\x20var(--scrollbar-width))\x20100%;--mask-image-scrollbar:linear-gradient(black,black);--mask-size-scrollbar:var(--scrollbar-width)\x20100%;overflow-y:auto;padding:0.5rem\x200.5rem\x201rem;mask-image:var(--mask-image-content),var(--mask-image-scrollbar);-webkit-mask-image:var(--mask-image-content),var(--mask-image-scrollbar);mask-size:var(--mask-size-content),var(--mask-size-scrollbar);-webkit-mask-size:var(--mask-size-content),var(--mask-size-scrollbar);mask-position:0\x200,100%\x200;-webkit-mask-position:0\x200,100%\x200;mask-repeat:no-repeat,no-repeat;-webkit-mask-repeat:no-repeat,no-repeat;@media\x20(max-width:','){height:100%;padding:0;}'],_0x4b159e=>_0x4b159e[_0x505f8c(0x1b5)]['breakpoints'][_0x505f8c(0x1a8)]),_0x183005=_0x3747e0['ZP']['h2'][_0x505f8c(0x200)]({'componentId':'sc-3139e169-5'})(['',_0x505f8c(0x18e),';'],_0x2b52d1=>_0x2b52d1['theme'][_0x505f8c(0x1e4)][_0x505f8c(0x1c9)],_0x44252d=>_0x44252d[_0x505f8c(0x1b5)]['musicLmCard'][_0x505f8c(0x1b6)]),_0x3a3385=_0x3747e0['ZP'][_0x505f8c(0x1d3)][_0x505f8c(0x200)]({'componentId':'sc-3139e169-6'})(['display:flex;flex-direction:row;align-items:center;gap:0.5rem;isolation:isolate;will-change:transform;']),_0x246328=_0x3747e0['ZP'][_0x505f8c(0x1d3)]['withConfig']({'componentId':_0x505f8c(0x204)})([_0x505f8c(0x198)]),_0x2058ca=_0x3747e0['ZP'][_0x505f8c(0x1d3)][_0x505f8c(0x200)]({'componentId':_0x505f8c(0x194)})([_0x505f8c(0x1eb),_0x505f8c(0x1ae),_0x505f8c(0x20a),_0x505f8c(0x18e),_0x505f8c(0x20c),_0x505f8c(0x19b)],_0x5869be=>_0x5869be['theme']['nav'][_0x505f8c(0x18a)],_0x5c3ec4=>_0x5c3ec4['theme'][_0x505f8c(0x20b)][_0x505f8c(0x1e9)],_0x48d1bb=>_0x48d1bb['theme']['musicLmCard'][_0x505f8c(0x20f)],_0x501dc6=>_0x501dc6[_0x505f8c(0x1b5)][_0x505f8c(0x20b)][_0x505f8c(0x1e3)],_0x551aa4=>_0x551aa4['theme'][_0x505f8c(0x1a1)][_0x505f8c(0x1a8)]),_0xf7885b=_0x3747e0['ZP'][_0x505f8c(0x1d3)][_0x505f8c(0x200)]({'componentId':'sc-3139e169-9'})(['&:hover{',_0x505f8c(0x1b9),_0x505f8c(0x1f1),_0x505f8c(0x1b3),';background-color:transparent;color:',_0x505f8c(0x1e1)],_0x2058ca,_0x10f9e1=>_0x10f9e1[_0x505f8c(0x1b5)]['musicLmCard']['secondaryHighlight'],_0x2058ca,_0x363608=>_0x363608[_0x505f8c(0x1b5)]['musicLmCard'][_0x505f8c(0x20f)],_0x54d6fd=>_0x54d6fd[_0x505f8c(0x1b5)][_0x505f8c(0x20b)][_0x505f8c(0x20f)]);},0xc455:function(_0x365901,_0xae3432,_0x4a2dd5){const _0x5b032d=a79_0xc9be45;_0x4a2dd5['d'](_0xae3432,{'a':function(){return _0x2838dc;}});var _0x38f1e7=_0x4a2dd5(0x14f85),_0x34f247=_0x4a2dd5(0x106de),_0x15016c=_0x4a2dd5(0xa2d6),_0x25e774=_0x4a2dd5(0xef54),_0x294a1b=_0x4a2dd5(0x115fa);let _0x2838dc=_0x53a3d5=>{const _0x1098d9=a79_0x268e;var _0x453b59,_0x4d73bf;let {howl:_0x4bca75,isEmpty:_0x276d2f,resetSwiperDraggable:_0x1d6440}=_0x53a3d5,[_0x1a2583,_0x1fa630]=(0x0,_0x34f247[_0x1098d9(0x19f)])(null!==(_0x453b59=null==_0x4bca75?void 0x0:_0x4bca75['seek']())&&void 0x0!==_0x453b59?_0x453b59:0x0);(0x0,_0x34f247[_0x1098d9(0x189)])(()=>{if(!_0x4bca75)return;let _0x1643cf=setInterval(()=>{const _0x14e48=a79_0x268e;_0x4bca75['playing']()&&_0x1fa630(null==_0x4bca75?void 0x0:_0x4bca75[_0x14e48(0x1c6)]());},0x64);return()=>{clearInterval(_0x1643cf);};});let _0x2a2d08=null!==(_0x4d73bf=null==_0x4bca75?void 0x0:_0x4bca75[_0x1098d9(0x212)]())&&void 0x0!==_0x4d73bf?_0x4d73bf:_0x294a1b['MD'];(0x0,_0x34f247['useEffect'])(()=>(null==_0x4bca75||_0x4bca75['on'](_0x1098d9(0x191),()=>{_0x1fa630(_0x2a2d08);}),()=>{const _0x26dfb9=_0x1098d9;null==_0x4bca75||_0x4bca75['off'](_0x26dfb9(0x191),()=>{_0x1fa630(_0x2a2d08);});}),[_0x4bca75,_0x2a2d08]);let _0x1a385c=_0x2b1428=>{const _0x4651a1=_0x1098d9;_0x4bca75&&(_0x4bca75[_0x4651a1(0x1c6)](_0x2b1428),_0x1fa630(_0x2b1428),_0x1d6440&&_0x1d6440(!0x0));};return(0x0,_0x38f1e7[_0x1098d9(0x1c3)])(_0x340c7c,{'children':[(0x0,_0x38f1e7[_0x1098d9(0x1b1)])(_0x166441,{'children':(0x0,_0x38f1e7[_0x1098d9(0x1b1)])(_0x19e3e2,{'type':_0x1098d9(0x1fb),'min':'0','max':Math['floor'](_0x2a2d08),'value':_0x276d2f?0x0:Math[_0x1098d9(0x1bb)](_0x1a2583),'onChange':_0x45ba0d=>_0x1a385c(Number(_0x45ba0d[_0x1098d9(0x190)][_0x1098d9(0x214)])),'onMouseUp':()=>{_0x1d6440&&_0x1d6440(!0x1);},'onTouchEnd':()=>{_0x1d6440&&_0x1d6440(!0x1);}})}),(0x0,_0x38f1e7['jsxs'])(_0x1fc224,{'children':[(0x0,_0x38f1e7[_0x1098d9(0x1b1)])('div',{'children':(0x0,_0x25e774['nH'])(_0x1a2583)}),(0x0,_0x38f1e7[_0x1098d9(0x1b1)])(_0x1098d9(0x1d3),{'children':'/'}),(0x0,_0x38f1e7[_0x1098d9(0x1b1)])(_0x1c85d9,{'children':(0x0,_0x25e774['nH'])(_0x2a2d08)})]})]});},_0x340c7c=_0x15016c['ZP'][_0x5b032d(0x1d3)][_0x5b032d(0x200)]({'componentId':_0x5b032d(0x213)})([_0x5b032d(0x20d)]),_0x166441=_0x15016c['ZP'][_0x5b032d(0x1d3)]['withConfig']({'componentId':_0x5b032d(0x1cd)})([_0x5b032d(0x1e2)]),_0x19e3e2=_0x15016c['ZP'][_0x5b032d(0x1e7)]['withConfig']({'componentId':_0x5b032d(0x1d5)})([_0x5b032d(0x19c),_0x5b032d(0x186)],_0x22e5dd=>_0x22e5dd[_0x5b032d(0x1b5)][_0x5b032d(0x20b)][_0x5b032d(0x20f)]),_0x1fc224=_0x15016c['ZP'][_0x5b032d(0x1d3)][_0x5b032d(0x200)]({'componentId':_0x5b032d(0x1ac)})(['',_0x5b032d(0x1d8),_0x5b032d(0x20a),_0x5b032d(0x215),_0x5b032d(0x1a9),_0x5b032d(0x196)],_0x1e570e=>_0x1e570e['theme'][_0x5b032d(0x1e4)]['mdTitleSmall'],_0x3b532f=>_0x3b532f[_0x5b032d(0x1b5)][_0x5b032d(0x20b)][_0x5b032d(0x1e3)],_0x58c220=>_0x58c220[_0x5b032d(0x1b5)]['musicLmCard'][_0x5b032d(0x20f)],_0x244e16=>_0x244e16[_0x5b032d(0x1b5)]['musicLmCard'][_0x5b032d(0x1e9)],_0x26a85b=>_0x26a85b[_0x5b032d(0x1b5)][_0x5b032d(0x1a1)][_0x5b032d(0x1a8)]),_0x1c85d9=_0x15016c['ZP']['div'][_0x5b032d(0x200)]({'componentId':_0x5b032d(0x201)})([_0x5b032d(0x1ca)]);},0xdbca:function(_0x3ed907,_0x372684,_0x2233cd){const _0x292172=a79_0xc9be45;_0x2233cd['d'](_0x372684,{'C':function(){return _0x1f3612;}});var _0x4cc3e8=_0x2233cd(0x14f85),_0x449ca8=_0x2233cd(0x10057),_0x50304c=_0x2233cd(0x2b9b),_0xca3f27=_0x2233cd(0x106de),_0x3bf0db=_0x2233cd(0xa2d6),_0x3f1ca3=_0x2233cd(0x170c8),_0x503dd7=_0x2233cd(0xef54),_0x490bad=_0x2233cd(0xd6fd),_0x56e1eb=_0x2233cd(0xfbb9);let _0x1f3612=_0x681c7d=>{const _0x5a1597=a79_0x268e;let {howl:_0x348527,howlId:_0x539a81,className:_0x116132,..._0x3d04ab}=_0x681c7d,{t:_0x427f38}=(0x0,_0x449ca8['$G'])(),{handleLogEvent:_0x238d28}=(0x0,_0x56e1eb['an'])(),{isPlaying:_0x3d926b}=(0x0,_0x490bad['v'])(_0x348527),_0x54a266=(0x0,_0x50304c[_0x5a1597(0x208)])(),_0x44203a=(0x0,_0xca3f27[_0x5a1597(0x1a4)])(()=>{const _0x5985c4=_0x5a1597;null==_0x348527||_0x348527[_0x5985c4(0x1c0)](),Howler[_0x5985c4(0x1c0)]();},[_0x348527]);return(0x0,_0xca3f27[_0x5a1597(0x189)])(()=>(_0x54a266['events']['on'](_0x5a1597(0x206),_0x44203a),_0x54a266[_0x5a1597(0x1c7)]['on'](_0x5a1597(0x202),_0x44203a),()=>{const _0xde2c5a=_0x5a1597;_0x54a266[_0xde2c5a(0x1c7)][_0xde2c5a(0x210)](_0xde2c5a(0x206),_0x44203a),_0x54a266[_0xde2c5a(0x1c7)]['off'](_0xde2c5a(0x202),_0x44203a);}),[_0x54a266[_0x5a1597(0x1c7)],_0x44203a]),(0x0,_0xca3f27[_0x5a1597(0x189)])(()=>{const _0x34178b=_0x5a1597;if(!_0x348527||!_0x539a81)return;let _0x47faa8=()=>{const _0x1df399=a79_0x268e;_0x238d28([{'event':_0x56e1eb['E_']['LISTENED_TO_COMPLETION'],'eventProperties':[{'key':_0x56e1eb['Nn'][_0x1df399(0x1b2)],'stringValue':_0x539a81}],'eventMetadata':{'mediaGenerationId':_0x539a81}}]);},_0x4d5305=()=>{const _0x15d126=a79_0x268e;let _0x3af1ff=_0x348527[_0x15d126(0x1c6)](),_0x65ed9a=_0x348527['duration']();_0x3af1ff&&_0x65ed9a&&_0x238d28((0x0,_0x503dd7['pT'])(_0x3af1ff,_0x65ed9a,_0x539a81));};return _0x348527['on'](_0x34178b(0x191),_0x47faa8),_0x348527['on'](_0x34178b(0x1d7),_0x4d5305),()=>{const _0x5b5d02=_0x34178b;_0x348527['off'](_0x5b5d02(0x191),_0x47faa8),_0x348527[_0x5b5d02(0x210)](_0x5b5d02(0x1d7),_0x4d5305);};},[_0x238d28,_0x348527,_0x539a81]),(0x0,_0x4cc3e8['jsx'])(_0xda3bc8,{'className':_0x116132,'onClick':()=>{const _0x8a3f3f=_0x5a1597;_0x348527&&(_0x348527['playing']()?_0x348527[_0x8a3f3f(0x1d7)]():_0x348527[_0x8a3f3f(0x209)]());},..._0x3d04ab,'icon':_0x3d926b?_0x5a1597(0x1d7):_0x5a1597(0x1e5),'iconProps':{'size':'inherit'},'label':_0x427f38(_0x3d926b?_0x5a1597(0x1d1):_0x5a1597(0x205))});},_0xda3bc8=(0x0,_0x3bf0db['ZP'])(_0x3f1ca3['n'])[_0x292172(0x200)]({'componentId':'sc-9bb00998-0'})([_0x292172(0x1d0),_0x292172(0x195)],_0x2807aa=>_0x2807aa['theme'][_0x292172(0x1a1)][_0x292172(0x1a8)]);},0xf3ff:function(_0x159d0a,_0x56ba35,_0x2d1be4){_0x2d1be4['d'](_0x56ba35,{'T':function(){return _0x52f2c6;}});var _0x34b436=_0x2d1be4(0x14f85),_0x40fab2=_0x2d1be4(0xa2d6),_0x1612ec=_0x2d1be4(0xea2d);let _0x52f2c6=_0x28153a=>{const _0x478a4c=a79_0x268e;let {colorTheme:_0x36bf00,children:_0x1b3edf}=_0x28153a,_0x441ed8=(0x0,_0x40fab2['Fg'])();return(0x0,_0x34b436[_0x478a4c(0x1b1)])(_0x40fab2['f6'],{'theme':{..._0x441ed8,..._0x1612ec['x'][_0x36bf00]},'children':_0x1b3edf});};},0x170c8:function(_0x46383b,_0x3a42f5,_0x143885){const _0x4ca6da=a79_0xc9be45;_0x143885['d'](_0x3a42f5,{'_':function(){return _0x50bb83;},'n':function(){return _0x161d45;}});var _0xc29b73=_0x143885(0xa2d6),_0x46af21=_0x143885(0x52b2),_0x214a8b=_0x143885(0x18606);let _0x50bb83=(0x0,_0xc29b73['ZP'])(_0x46af21['zx'])[_0x4ca6da(0x200)]({'componentId':'sc-3a34e1aa-0'})(['',';align-items:center;border-radius:9999px;gap:0.5rem;padding:0.625rem\x201.5rem\x200.625rem\x201rem;box-shadow:0\x200\x200\x201px\x20',_0x4ca6da(0x20a),';color:',';'],_0x512783=>_0x512783[_0x4ca6da(0x1b5)][_0x4ca6da(0x1e4)][_0x4ca6da(0x1af)],_0x460fb8=>_0x460fb8['theme'][_0x4ca6da(0x20b)][_0x4ca6da(0x1e9)],_0x27ad5a=>_0x27ad5a[_0x4ca6da(0x1b5)][_0x4ca6da(0x20b)]['secondary'],_0x22040e=>_0x22040e[_0x4ca6da(0x1b5)]['musicLmCard']['secondaryText']),_0x161d45=(0x0,_0xc29b73['ZP'])(_0x214a8b['h'])[_0x4ca6da(0x200)]({'componentId':_0x4ca6da(0x1aa)})([_0x4ca6da(0x1cf),_0x4ca6da(0x20a),_0x4ca6da(0x1fc),_0x4ca6da(0x1a7),';}'],_0x106da7=>_0x106da7[_0x4ca6da(0x1b5)][_0x4ca6da(0x20b)][_0x4ca6da(0x1e3)],_0x145321=>_0x145321[_0x4ca6da(0x1b5)][_0x4ca6da(0x20b)][_0x4ca6da(0x20f)],_0x105d5e=>_0x105d5e[_0x4ca6da(0x1b5)][_0x4ca6da(0x20b)][_0x4ca6da(0x1e9)],_0x481b93=>_0x481b93[_0x4ca6da(0x1b5)][_0x4ca6da(0x20b)][_0x4ca6da(0x1e9)]);},0xf51:function(_0x1f5ca6,_0x25a335,_0xa24c89){_0xa24c89['d'](_0x25a335,{'D':function(){return _0x4de01b;}});var _0x51ddd8=_0xa24c89(0xa326),_0x37c1d6=_0xa24c89(0x14e0e),_0x1a486c=_0xa24c89(0x30e),_0x42fd49=_0xa24c89(0xc3f1),_0x3f7c15=_0xa24c89(0xef54);let _0x1105c5={'currentSound':void 0x0,'sounds':[],'soundPrompt':'','isShareDialogOpen':!0x1,'isRefinePanelOpen':!0x1,'lockedSeed':null,'currentRefineProperties':{'seed':(0x0,_0xa24c89(0x9f97)['qb'])(),'isLooping':!0x1,'generationTimeSeconds':_0x3f7c15['Xh'],'isUsingSeed':!0x1},'soundThumbFeedback':{}},_0x4de01b=(0x0,_0x42fd49['F'])()((0x0,_0x1a486c['mW'])((_0x2b96b5,_0x40bcc4)=>({..._0x1105c5,'restart':()=>{const _0x408a5e=a79_0x268e;var _0x1c167d;null===(_0x1c167d=_0x40bcc4()[_0x408a5e(0x1dc)])||void 0x0===_0x1c167d||_0x1c167d[_0x408a5e(0x1cc)][_0x408a5e(0x1c0)](),_0x2b96b5({..._0x1105c5});},'toggleRefinePanel':_0x5815b1=>{const _0x496f3a=a79_0x268e;_0x2b96b5(_0x499e1d=>({'isRefinePanelOpen':null!=_0x5815b1?_0x5815b1:!_0x499e1d[_0x496f3a(0x1f6)]}));},'setLockedSeed':_0xd87be0=>{let _0xc95408=_0x40bcc4()['currentRefineProperties'];_0x2b96b5(_0x59a7d9=>({..._0x59a7d9,'lockedSeed':_0xd87be0,'currentRefineProperties':{..._0xc95408,'isUsingSeed':null!==_0xd87be0}}));},'toggleIsLooping':_0x3a5965=>{const _0x4f1d4a=a79_0x268e;let _0x42f899=_0x40bcc4()[_0x4f1d4a(0x1f9)];_0x2b96b5(_0x37c10c=>({..._0x37c10c,'currentRefineProperties':{..._0x42f899,'isLooping':null!=_0x3a5965?_0x3a5965:!_0x42f899[_0x4f1d4a(0x185)]}}));},'toggleIsUsingSeed':_0x3189da=>{const _0x5b11ed=a79_0x268e;let _0x495a86=_0x40bcc4()[_0x5b11ed(0x1f9)];_0x2b96b5(_0xae38a3=>({..._0xae38a3,'currentRefineProperties':{..._0x495a86,'isUsingSeed':null!=_0x3189da?_0x3189da:!_0x495a86['isUsingSeed']}}));},'setSeed':_0x221c71=>{const _0x9c97ad=a79_0x268e;let _0x19d535=_0x40bcc4()[_0x9c97ad(0x1f9)];_0x2b96b5(_0x16865b=>({..._0x16865b,'currentRefineProperties':{..._0x19d535,'seed':_0x221c71}}));},'setGenerationTimeSeconds':_0x57d0d5=>{_0x2b96b5({'currentRefineProperties':{..._0x40bcc4()['currentRefineProperties'],'generationTimeSeconds':_0x57d0d5}});},'addSounds':_0x1fa463=>{const _0x4ad77f=a79_0x268e;var _0x5084ed;let _0x1042ed=_0x1fa463[_0x4ad77f(0x193)](_0x5f3fbf=>{const _0x4eb69e=_0x4ad77f;let _0x339eb2=new _0x51ddd8[(_0x4eb69e(0x1c2))]({'src':[_0x5f3fbf[_0x4eb69e(0x1c4)]],'loop':_0x5f3fbf[_0x4eb69e(0x1f8)][_0x4eb69e(0x185)],'onend':()=>{const _0xd0df6d=_0x4eb69e;_0x5f3fbf[_0xd0df6d(0x1f8)]['isLooping']||_0x40bcc4()['toggleSoundState']({'newIsPlayingState':!0x1});},'onloaderror':_0x4dd7ec=>{}});return{..._0x5f3fbf,'howl':_0x339eb2};}),_0x87b2cc=_0x1042ed['at'](0x0);if(!_0x87b2cc)throw Error('addSounds\x20was\x20called\x20without\x20any\x20sounds');return null===(_0x5084ed=_0x40bcc4()[_0x4ad77f(0x1dc)])||void 0x0===_0x5084ed||_0x5084ed['howl'][_0x4ad77f(0x1c0)](),_0x37c1d6['gn']||_0x87b2cc[_0x4ad77f(0x1cc)][_0x4ad77f(0x209)](),_0x2b96b5(_0x3cce5a=>({..._0x3cce5a,'currentSound':_0x87b2cc,'sounds':[..._0x3cce5a[_0x4ad77f(0x1b8)],..._0x1042ed],'currentRefineProperties':{..._0x3cce5a['currentRefineProperties'],'seed':_0x87b2cc['refineProperties']['seed']}}));},'playNextSound':()=>{const _0x488ed3=a79_0x268e;let _0x4927fe=_0x40bcc4()[_0x488ed3(0x1dc)],_0x5e088f=_0x40bcc4()[_0x488ed3(0x1b8)],_0x3080d9=_0x5e088f[_0x488ed3(0x1b0)](_0x299f64=>_0x299f64['id']===(null==_0x4927fe?void 0x0:_0x4927fe['id']));if(-0x1===_0x3080d9){console[_0x488ed3(0x217)]('Could\x20not\x20find\x20a\x20song\x20with\x20that\x20id');return;}let _0x30bd6a=null==_0x5e088f?void 0x0:_0x5e088f[_0x3080d9+0x1];if(!_0x30bd6a)throw Error(_0x488ed3(0x1f4));_0x40bcc4()['toggleSoundState']({'newSound':_0x30bd6a});},'playPrevSound':()=>{const _0x1e8aad=a79_0x268e;let _0x3368af=_0x40bcc4()[_0x1e8aad(0x1dc)],_0x505241=_0x40bcc4()[_0x1e8aad(0x1b8)],_0xf94314=_0x505241[_0x1e8aad(0x1b0)](_0x34d083=>_0x34d083['id']===(null==_0x3368af?void 0x0:_0x3368af['id']));if(-0x1===_0xf94314){console['error']('Could\x20not\x20find\x20a\x20song\x20with\x20that\x20id');return;}let _0x127499=null==_0x505241?void 0x0:_0x505241[_0xf94314-0x1];if(!_0x127499)throw Error(_0x1e8aad(0x1a5));_0x40bcc4()[_0x1e8aad(0x1bf)]({'newSound':_0x127499});},'playSoundByIndex':_0x23d948=>{const _0x364db9=a79_0x268e;let _0x36d957=_0x40bcc4()[_0x364db9(0x1b8)],_0x15b6be=null==_0x36d957?void 0x0:_0x36d957[_0x23d948];if(!_0x15b6be)throw Error('No\x20current\x20song');_0x40bcc4()[_0x364db9(0x1bf)]({'newSound':_0x15b6be});},'toggleSoundState':_0x5370d8=>{const _0x5b1aeb=a79_0x268e;var _0x7a722c,_0x178d87,_0x1f5314,_0x3535d7,_0x301603,_0x2f8cb4,_0x2dcd1d,_0x47a94f,_0x4bd7ee,_0x4f3399;let _0x59dce3=null===(_0x7a722c=_0x40bcc4()[_0x5b1aeb(0x1dc)])||void 0x0===_0x7a722c?void 0x0:_0x7a722c['howl'][_0x5b1aeb(0x1cb)]();if(!_0x5370d8){_0x59dce3?null===(_0x1f5314=_0x40bcc4()[_0x5b1aeb(0x1dc)])||void 0x0===_0x1f5314||_0x1f5314[_0x5b1aeb(0x1cc)][_0x5b1aeb(0x1d7)]():null===(_0x3535d7=_0x40bcc4()[_0x5b1aeb(0x1dc)])||void 0x0===_0x3535d7||_0x3535d7[_0x5b1aeb(0x1cc)][_0x5b1aeb(0x209)]();return;}let {newIsPlayingState:_0x3d18ed,newSound:_0x500ff9}=_0x5370d8;if(_0x500ff9&&_0x500ff9['id']!==(null===(_0x178d87=_0x40bcc4()[_0x5b1aeb(0x1dc)])||void 0x0===_0x178d87?void 0x0:_0x178d87['id']))return(null===(_0x301603=_0x40bcc4()['currentSound'])||void 0x0===_0x301603?void 0x0:_0x301603[_0x5b1aeb(0x1cc)][_0x5b1aeb(0x1cb)]())&&(null===(_0x2f8cb4=_0x40bcc4()['currentSound'])||void 0x0===_0x2f8cb4||_0x2f8cb4[_0x5b1aeb(0x1cc)][_0x5b1aeb(0x1d7)](),_0x500ff9[_0x5b1aeb(0x1cc)][_0x5b1aeb(0x209)]()),_0x2b96b5(_0x938584=>({..._0x938584,'currentSound':_0x500ff9,'currentRefineProperties':{..._0x938584[_0x5b1aeb(0x1f9)],'seed':_0x500ff9[_0x5b1aeb(0x1f8)][_0x5b1aeb(0x1e8)]}}));if(void 0x0!==_0x3d18ed){_0x3d18ed?null===(_0x2dcd1d=_0x40bcc4()[_0x5b1aeb(0x1dc)])||void 0x0===_0x2dcd1d||_0x2dcd1d[_0x5b1aeb(0x1cc)]['play']():null===(_0x47a94f=_0x40bcc4()['currentSound'])||void 0x0===_0x47a94f||_0x47a94f[_0x5b1aeb(0x1cc)][_0x5b1aeb(0x1d7)]();return;}_0x59dce3?null===(_0x4bd7ee=_0x40bcc4()[_0x5b1aeb(0x1dc)])||void 0x0===_0x4bd7ee||_0x4bd7ee[_0x5b1aeb(0x1cc)][_0x5b1aeb(0x1d7)]():null===(_0x4f3399=_0x40bcc4()[_0x5b1aeb(0x1dc)])||void 0x0===_0x4f3399||_0x4f3399[_0x5b1aeb(0x1cc)]['play']();},'remix':_0x1c2d38=>{const _0x2aa49b=a79_0x268e;let _0x3fc998=_0x40bcc4();if(_0x3fc998[_0x2aa49b(0x1b8)][_0x2aa49b(0x18c)]>0x0){let _0x1d430f=_0x3fc998[_0x2aa49b(0x1b8)]['findIndex'](_0x56f253=>_0x56f253[_0x2aa49b(0x19a)]===_0x1c2d38[_0x2aa49b(0x19a)]);-0x1===_0x1d430f?_0x3fc998[_0x2aa49b(0x197)]([_0x1c2d38]):_0x3fc998[_0x2aa49b(0x18d)](_0x1d430f);}else _0x3fc998[_0x2aa49b(0x197)]([_0x1c2d38]);_0x2b96b5(_0x156e2a=>({..._0x156e2a,'currentRefineProperties':{..._0x1c2d38[_0x2aa49b(0x1f8)],'isUsingSeed':!0x0}}));},'setSoundThumbFeedback':(_0x543db3,_0x5606fd)=>{const _0x31edd8=a79_0x268e;_0x2b96b5(_0x129da7=>({'soundThumbFeedback':{..._0x129da7[_0x31edd8(0x184)],[_0x5606fd]:_0x543db3}}));}})),Object['is']);}}]);