PageSourceSearch

https://hzysds-socialreasonforge.hf.space/static/js/8380.9d225c39.chunk.js

js hzysds-socialreasonforge.hf.space collected 2026-10-04 16:58:07 UTC 4,297 bytes, 1 lines download raw bytes

vendor: 4,297 bytes, line 1
1"use strict";(self.webpackChunk_streamlit_app=self.webpackChunk_streamlit_app||[]).push([[8380],{4494:(e,t,n)=>{n.d(t,{T:()=>o});const o=(0,n(58878).createContext)(null);o.displayName="ElementFullscreenContext"},75760:(e,t,n)=>{n.d(t,{A:()=>m});var o=n(58878),l=n(53124),i=n.n(l),s=n(8151);const a=(0,n(89653).A)("div",{target:"elp1w7k0"})((e=>{let{theme:t,isExpanded:n}=e;return{...n?{position:"fixed",top:0,left:0,bottom:0,right:0,background:t.colors.bgColor,zIndex:t.zIndices.fullscreenWrapper,padding:t.spacing.md,paddingTop:t.sizes.fullScreenHeaderHeight,overflow:["auto","overlay"],display:"flex",alignItems:"center",justifyContent:"center"}:{}}}),"");var r=n(4494),d=n(84152),c=n(19342),u=n(59323);var p=n(90782);const h=e=>{let{children:t,height:n,width:l}=e;const i=(0,s.u)(),{expanded:h,fullHeight:m,fullWidth:x,zoomIn:f,zoomOut:g}=(()=>{const{setFullScreen:e}=(0,o.useContext)(d.n),[t,n]=(0,o.useState)(!1),{fullHeight:l,fullWidth:i}=(0,u.i)(c.j),s=(0,o.useCallback)((t=>{n(t),e(t)}),[e]),a=(0,o.useCallback)((()=>{document.body.style.overflow="hidden",s(!0)}),[s]),r=(0,o.useCallback)((()=>{document.body.style.overflow="unset",s(!1)}),[s]),p=(0,o.useCallback)((e=>{27===e.keyCode&&t&&r()}),[r,t]);return(0,o.useEffect)((()=>(document.addEventListener("keydown",p,!1),()=>{document.removeEventListener("keydown",p,!1)})),[p]),(0,o.useMemo)((()=>({expanded:t,zoomIn:a,zoomOut:r,fullHeight:l,fullWidth:i})),[t,a,r,l,i])})(),b=(0,o.useMemo)((()=>({width:h?x:l,height:h?m:n,expanded:h,expand:f,collapse:g})),[h,m,x,n,l,f,g]);return(0,p.jsx)(r.T.Provider,{value:b,children:(0,p.jsx)(a,{isExpanded:h,"data-testid":"stFullScreenFrame",theme:i,children:t})})};const m=function(e){const t=t=>(0,p.jsx)(h,{width:t.width,children:(0,p.jsx)(e,{...t})});return t.displayName=`withFullScreenWrapper(${e.displayName||e.name})`,i()(t,e)}},70691:(e,t,n)=>{n.d(t,{A:()=>m,K:()=>h});n(58878);var o=n(8151),l=n(12274),i=n(63186),s=n(4629),a=n(997),r=n(36459),d=n(84720),c=n(64611),u=n(6244),p=n(90782);function h(e){let{label:t,show_label:n,icon:l,onClick:i}=e;const u=(0,o.u)(),h=n?t:"";return(0,p.jsx)("div",{"data-testid":"stElementToolbarButton",children:(0,p.jsx)(a.A,{content:(0,p.jsx)(s.Ay,{source:t,allowHTML:!1,style:{fontSize:u.fontSizes.sm}}),placement:a.W.TOP,onMouseEnterDelay:1e3,inline:!0,children:(0,p.jsxs)(r.Ay,{onClick:e=>{i&&i(),e.stopPropagation()},kind:d.KX.ELEMENT_TOOLBAR,"aria-label":t,children:[l&&(0,p.jsx)(c.A,{content:l,size:"md",testid:"stElementToolbarButtonIcon"}),h&&(0,p.jsx)("span",{children:h})]})})})}const m=e=>{let{onExpand:t,onCollapse:n,isFullScreen:o,locked:s,children:a,target:r,disableFullscreenMode:d}=e;return(0,p.jsx)(u.Sq,{className:"stElementToolbar","data-testid":"stElementToolbar",locked:s||o,target:r,children:(0,p.jsxs)(u.x8,{children:[a,t&&!d&&!o&&(0,p.jsx)(h,{label:"Fullscreen",icon:l.g,onClick:()=>t()}),n&&!d&&o&&(0,p.jsx)(h,{label:"Close fullscreen",icon:i.Q,onClick:()=>n()})]})})}},6244:(e,t,n)=>{n.d(t,{Sq:()=>s,mx:()=>r,x8:()=>a});var o=n(89653),l=n(16795);const i="-2.4rem",s=(0,o.A)("div",{target:"e2wxzia2"})((e=>{let{theme:t,locked:n,target:o}=e;return{padding:`${t.spacing.sm} 0 ${t.spacing.sm} ${t.spacing.sm}`,position:"absolute",top:n?i:"-1rem",right:t.spacing.none,transition:"none",...!n&&{opacity:0,"&:active, &:focus-visible, &:hover":{transition:"opacity 150ms 100ms, top 100ms 100ms",opacity:1,top:i},...o&&{[`${o}:hover &, ${o}:active &, ${o}:focus-visible &`]:{transition:"opacity 150ms 100ms, top 100ms 100ms",opacity:1,top:i}}}}}),""),a=(0,o.A)("div",{target:"e2wxzia1"})((e=>{let{theme:t}=e;return{color:(0,l.iq)(t)?t.colors.fadedText60:t.colors.bodyText,display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"flex-end",boxShadow:"1px 2px 8px rgba(0, 0, 0, 0.08)",borderRadius:t.radii.default,backgroundColor:t.colors.lightenedBg05,width:"fit-content",zIndex:t.zIndices.sidebar+1}}),""),r=(0,o.A)("div",{target:"e2wxzia0"})((e=>{let{width:t,height:n,useContainerWidth:o}=e;return{position:"relative",height:o?n:"fit-content",width:o?t:"fit-content",maxWidth:"100%"}}),"")},59323:(e,t,n)=>{n.d(t,{i:()=>l});var o=n(58878);const l=e=>{const t=(0,o.useContext)(e);var n;if(null===t||void 0===t)throw new Error(`useRequiredContext: ${null!==(n=e.displayName)&&void 0!==n?n:"context"} not found`);return 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.