PageSourceSearch

https://phala.world/_next/static/chunks/1045-e3d5349aa77c00ee.js

js phala.world collected 2026-09-30 09:28:07 UTC 15,336 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1045],{30541:function(r,t,e){e.d(t,{Z:function(){return y}});var o=e(2784),n=e(23031);function a(r){return void 0===r?null:r}function i(r,t){if(r)return r[t]}var p=(0,e(50592).zo)("div",function(r){var t,e,o=r.$theme,p=o.breakpoints,l=o.colors,u=o.typography,d=o.sizing,c=function(r,t){return r[t]},s=function(r){return d[r]||r},f=(t={},e=(0,n.W)(p),{apply:function(r){var o=r.property,n=r.transform,i=void 0===n?function(r){return r}:n,p=r.value;null!=p&&(Array.isArray(p)?p.forEach(function(r,n){if(0===n){t[o]=a(i(r));return}var p=e[n-1];t[p]||(t[p]={}),t[p][o]=a(i(r))}):t[o]=a(i(p)))},value:function(){return t}});return f.apply({property:"color",value:c(r,"$color"),transform:function(r){return l[r]||r}}),f.apply({property:"backgroundAttachment",value:c(r,"$backgroundAttachment")}),f.apply({property:"backgroundClip",value:c(r,"$backgroundClip")}),f.apply({property:"backgroundColor",value:c(r,"$backgroundColor"),transform:function(r){return l[r]||r}}),f.apply({property:"backgroundImage",value:c(r,"$backgroundImage")}),f.apply({property:"backgroundOrigin",value:c(r,"$backgroundOrigin")}),f.apply({property:"backgroundPosition",value:c(r,"$backgroundPosition")}),f.apply({property:"backgroundRepeat",value:c(r,"$backgroundRepeat")}),f.apply({property:"backgroundSize",value:c(r,"$backgroundSize")}),f.apply({property:"fontFamily",value:c(r,"$font"),transform:function(r){return i(u[r],"fontFamily")}}),f.apply({property:"fontWeight",value:c(r,"$font"),transform:function(r){return i(u[r],"fontWeight")}}),f.apply({property:"fontSize",value:c(r,"$font"),transform:function(r){return i(u[r],"fontSize")}}),f.apply({property:"lineHeight",value:c(r,"$font"),transform:function(r){return i(u[r],"lineHeight")}}),f.apply({property:"alignContent",value:c(r,"$alignContent")}),f.apply({property:"alignItems",value:c(r,"$alignItems")}),f.apply({property:"alignSelf",value:c(r,"$alignSelf")}),f.apply({property:"display",value:c(r,"$display")}),f.apply({property:"flex",value:c(r,"$flex")}),f.apply({property:"flexDirection",value:c(r,"$flexDirection")}),f.apply({property:"grid",value:c(r,"$grid")}),f.apply({property:"gridArea",value:c(r,"$gridArea")}),f.apply({property:"gridAutoColumns",value:c(r,"$gridAutoColumns")}),f.apply({property:"gridAutoFlow",value:c(r,"$gridAutoFlow")}),f.apply({property:"gridAutoRows",value:c(r,"$gridAutoRows")}),f.apply({property:"gridColumn",value:c(r,"$gridColumn")}),f.apply({property:"gridColumnEnd",value:c(r,"$gridColumnEnd")}),f.apply({property:"gridColumnGap",value:c(r,"$gridColumnGap"),transform:s}),f.apply({property:"gridColumnStart",value:c(r,"$gridColumnStart")}),f.apply({property:"gridGap",value:c(r,"$gridGap"),transform:s}),f.apply({property:"gridRow",value:c(r,"$gridRow")}),f.apply({property:"gridRowEnd",value:c(r,"$gridRowEnd")}),f.apply({property:"gridRowGap",value:c(r,"$gridRowGap"),transform:s}),f.apply({property:"gridRowStart",value:c(r,"$gridRowStart")}),f.apply({property:"gridTemplate",value:c(r,"$gridTemplate")}),f.apply({property:"gridTemplateAreas",value:c(r,"$gridTemplateAreas")}),f.apply({property:"gridTemplateColumns",value:c(r,"$gridTemplateColumns")}),f.apply({property:"gridTemplateRows",value:c(r,"$gridTemplateRows")}),f.apply({property:"justifyContent",value:c(r,"$justifyContent")}),f.apply({property:"justifyItems",value:c(r,"$justifyItems")}),f.apply({property:"justifySelf",value:c(r,"$justifySelf")}),f.apply({property:"position",value:c(r,"$position")}),f.apply({property:"width",value:c(r,"$width"),transform:s}),f.apply({property:"minWidth",value:c(r,"$minWidth"),transform:s}),f.apply({property:"maxWidth",value:c(r,"$maxWidth"),transform:s}),f.apply({property:"height",value:c(r,"$height"),transform:s}),f.apply({property:"minHeight",value:c(r,"$minHeight"),transform:s}),f.apply({property:"maxHeight",value:c(r,"$maxHeight"),transform:s}),f.apply({property:"overflowX",value:c(r,"$overflow"),transform:function(r){return"scrollX"===r?"scroll":null}}),f.apply({property:"overflowY",value:c(r,"$overflow"),transform:function(r){return"scrollY"===r?"scroll":null}}),f.apply({property:"overflow",value:c(r,"$overflow"),transform:function(r){return"scrollX"!==r&&"scrollY"!==r?r:null}}),f.apply({property:"margin",value:c(r,"$margin"),transform:s}),f.apply({property:"marginTop",value:c(r,"$marginTop"),transform:s}),f.apply({property:"marginRight",value:c(r,"$marginRight"),transform:s}),f.apply({property:"marginBottom",value:c(r,"$marginBottom"),transform:s}),f.apply({property:"marginLeft",value:c(r,"$marginLeft"),transform:s}),f.apply({property:"padding",value:c(r,"$padding"),transform:s}),f.apply({property:"paddingTop",value:c(r,"$paddingTop"),transform:s}),f.apply({property:"paddingRight",value:c(r,"$paddingRight"),transform:s}),f.apply({property:"paddingBottom",value:c(r,"$paddingBottom"),transform:s}),f.apply({property:"paddingLeft",value:c(r,"$paddingLeft"),transform:s}),f.apply({property:"placeContent",value:c(r,"$placeContent")}),f.apply({property:"placeItems",value:c(r,"$placeItems")}),f.apply({property:"placeSelf",value:c(r,"$placeSelf")}),f.apply({property:"flexWrap",value:c(r,"$flexWrap"),transform:function(){return"wrap"}}),f.apply({property:"top",value:c(r,"$top"),transform:s}),f.apply({property:"right",value:c(r,"$right"),transform:s}),f.apply({property:"left",value:c(r,"$left"),transform:s}),f.apply({property:"bottom",value:c(r,"$bottom"),transform:s}),f.apply({property:"textOverflow",value:c(r,"$textOverflow")}),f.apply({property:"whiteSpace",value:c(r,"$whiteSpace")}),f.value()});p.displayName="StyledBlock",p.displayName="StyledBlock";var l=e(58511),u=["forwardedRef","children","as","overrides","color","backgroundAttachment","backgroundClip","backgroundColor","backgroundImage","backgroundOrigin","backgroundPosition","backgroundRepeat","backgroundSize","font","alignContent","alignItems","alignSelf","flexDirection","display","flex","grid","gridArea","gridAutoColumns","gridAutoFlow","gridAutoRows","gridColumn","gridColumnEnd","gridColumnGap","gridColumnStart","gridGap","gridRow","gridRowEnd","gridRowGap","gridRowStart","gridTemplate","gridTemplateAreas","gridTemplateColumns","gridTemplateRows","justifyContent","justifyItems","justifySelf","position","width","minWidth","maxWidth","height","minHeight","maxHeight","overflow","margin","marginTop","marginRight","marginBottom","marginLeft","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","placeContent","placeItems","placeSelf","flexWrap","left","top","right","bottom","textOverflow","whiteSpace"];function d(){return(d=Object.assign?Object.assign.bind():function(r){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(r[o]=e[o])}return r}).apply(this,arguments)}function c(r,t){(null==t||t>r.length)&&(t=r.length);for(var e=0,o=Array(t);e<t;e++)o[e]=r[e];return o}var s=function(r){var t,e=r.forwardedRef,n=r.children,a=r.as,i=r.overrides,s=r.color,f=r.backgroundAttachment,y=r.backgroundClip,g=r.backgroundColor,m=r.backgroundImage,v=r.backgroundOrigin,h=r.backgroundPosition,$=r.backgroundRepeat,b=r.backgroundSize,w=r.font,C=r.alignContent,k=r.alignItems,x=r.alignSelf,R=r.flexDirection,S=r.display,O=r.flex,j=r.grid,A=r.gridArea,T=r.gridAutoColumns,E=r.gridAutoFlow,I=r.gridAutoRows,H=r.gridColumn,P=r.gridColumnEnd,D=r.gridColumnGap,K=r.gridColumnStart,W=r.gridGap,B=r.gridRow,z=r.gridRowEnd,G=r.gridRowGap,L=r.gridRowStart,U=r.gridTemplate,_=r.gridTemplateAreas,N=r.gridTemplateColumns,F=r.gridTemplateRows,M=r.justifyContent,X=r.justifyItems,Y=r.justifySelf,Z=r.position,q=r.width,J=r.minWidth,Q=r.maxWidth,V=r.height,rr=r.minHeight,rt=r.maxHeight,re=r.overflow,ro=r.margin,rn=r.marginTop,ra=r.marginRight,ri=r.marginBottom,rp=r.marginLeft,rl=r.padding,ru=r.paddingTop,rd=r.paddingRight,rc=r.paddingBottom,rs=r.paddingLeft,rf=r.placeContent,ry=r.placeItems,rg=r.placeSelf,rm=r.flexWrap,rv=r.left,rh=r.top,r$=r.right,rb=r.bottom,rw=r.textOverflow,rC=r.whiteSpace,rk=function(r,t){if(null==r)return{};var e,o,n=function(r,t){if(null==r)return{};var e,o,n={},a=Object.keys(r);for(o=0;o<a.length;o++)e=a[o],t.indexOf(e)>=0||(n[e]=r[e]);return n}(r,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(r);for(o=0;o<a.length;o++)e=a[o],!(t.indexOf(e)>=0)&&Object.prototype.propertyIsEnumerable.call(r,e)&&(n[e]=r[e])}return n}(r,u),rx=function(r){if(Array.isArray(r))return r}(t=(0,l.jb)((void 0===i?{}:i).Block,p))||function(r,t){var e,o,n=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=n){var a=[],i=!0,p=!1;try{for(n=n.call(r);!(i=(e=n.next()).done)&&(a.push(e.value),!t||a.length!==t);i=!0);}catch(r){p=!0,o=r}finally{try{i||null==n.return||n.return()}finally{if(p)throw o}}return a}}(t,2)||function(r,t){if(r){if("string"==typeof r)return c(r,t);var e=Object.prototype.toString.call(r).slice(8,-1);if("Object"===e&&r.constructor&&(e=r.constructor.name),"Map"===e||"Set"===e)return Array.from(r);
1if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return c(r,t)}}(t,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),rR=rx[0],rS=rx[1];return o.createElement(rR,d({ref:e,$as:void 0===a?"div":a,$color:s,$backgroundAttachment:f,$backgroundClip:y,$backgroundColor:g,$backgroundImage:m,$backgroundOrigin:v,$backgroundPosition:h,$backgroundRepeat:$,$backgroundSize:b,$font:w,$alignContent:C,$alignItems:k,$alignSelf:x,$flexDirection:R,$display:S,$flex:O,$grid:j,$gridArea:A,$gridAutoColumns:T,$gridAutoFlow:E,$gridAutoRows:I,$gridColumn:H,$gridColumnEnd:P,$gridColumnGap:D,$gridColumnStart:K,$gridGap:W,$gridRow:B,$gridRowEnd:z,$gridRowGap:G,$gridRowStart:L,$gridTemplate:U,$gridTemplateAreas:_,$gridTemplateColumns:N,$gridTemplateRows:F,$justifyContent:M,$justifyItems:X,$justifySelf:Y,$position:Z,$width:q,$minWidth:J,$maxWidth:Q,$height:V,$minHeight:rr,$maxHeight:rt,$overflow:re,$margin:ro,$marginTop:rn,$marginRight:ra,$marginBottom:ri,$marginLeft:rp,$padding:rl,$paddingTop:ru,$paddingRight:rd,$paddingBottom:rc,$paddingLeft:rs,$placeContent:rf,$placeItems:ry,$placeSelf:rg,$flexWrap:rm,$left:rv,$top:rh,$right:r$,$bottom:rb,$textOverflow:rw,$whiteSpace:rC,"data-baseweb":"block"},rk,rS),n)},f=o.forwardRef(function(r,t){return o.createElement(s,d({},r,{forwardedRef:t}))});f.displayName="Block";var y=f},15430:function(r,t,e){e.d(t,{Z:function(){return m}});var o=e(2784),n=e(28316),a=e(50592),i=e(6740);function p(r){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(r){return typeof r}:function(r){return r&&"function"==typeof Symbol&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r})(r)}function l(){return(l=Object.assign?Object.assign.bind():function(r){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(r[o]=e[o])}return r}).apply(this,arguments)}function u(r,t){for(var e=0;e<t.length;e++){var o=t[e];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(r,o.key,o)}}function d(r,t){return(d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,t){return r.__proto__=t,r})(r,t)}function c(r){if(void 0===r)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return r}function s(r){return(s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)})(r)}function f(r,t,e){return t in r?Object.defineProperty(r,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):r[t]=e,r}var y=(0,a.zo)("div",function(r){return{position:"absolute",top:0,left:0,right:0,zIndex:r.$zIndex||null}});y.displayName="Container";var g=function(r){!function(r,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");r.prototype=Object.create(t&&t.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),t&&d(r,t)}(l,r);var t,e,a,i=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(r){return!1}}(),function(){var r,e=s(l);if(t){var o=s(this).constructor;r=Reflect.construct(e,arguments,o)}else r=e.apply(this,arguments);return function(r,t){if(t&&("object"===p(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return c(r)}(this,r)});function l(){var r;!function(r,t){if(!(r instanceof t))throw TypeError("Cannot call a class as a function")}(this,l);for(var t=arguments.length,e=Array(t),o=0;o<t;o++)e[o]=arguments[o];return f(c(r=i.call.apply(i,[this].concat(e))),"state",{container:null}),f(c(r),"onEscape",function(){r.props.onEscape&&r.props.onEscape()}),f(c(r),"onKeyDown",function(t){r.props.onKeyDown&&r.props.onKeyDown(t)}),f(c(r),"onKeyUp",function(t){r.props.onKeyUp&&r.props.onKeyUp(t)}),f(c(r),"onKeyPress",function(t){r.props.onKeyPress&&r.props.onKeyPress(t)}),f(c(r),"onDocumentClick",function(t){r.props.onDocumentClick&&r.props.onDocumentClick(t)}),r}return e=[{key:"componentDidMount",value:function(){this.context.addEscapeHandler(this.onEscape),this.context.addKeyDownHandler(this.onKeyDown),this.context.addKeyUpHandler(this.onKeyUp),this.context.addKeyPressHandler(this.onKeyPress),this.props.isHoverLayer||this.context.addDocClickHandler(this.onDocumentClick);var r=this.props,t=r.onMount,e=r.mountNode,o=r.host;if(e){t&&t();return}var n=void 0!==o?o:document.body;n&&this.addContainer(n)}},{key:"componentDidUpdate",value:function(r){var t=this.props,e=t.host;t.mountNode||(e&&e!==r.host&&null===r.host&&this.addContainer(e),r.isHoverLayer!=this.props.isHoverLayer&&(this.props.isHoverLayer?this.context.removeDocClickHandler(this.onDocumentClick):this.context.addDocClickHandler(this.onDocumentClick)))}},{key:"componentWillUnmount",value:function(){this.context.removeEscapeHandler(this.onEscape),this.context.removeKeyDownHandler(this.onKeyDown),this.context.removeKeyUpHandler(this.onKeyUp),this.context.removeKeyPressHandler(this.onKeyPress),this.context.removeDocClickHandler(this.onDocumentClick),this.props.onUnmount&&this.props.onUnmount();var r=this.props.host,t=this.state.container;r&&t&&r.contains(t)&&r.removeChild(t)}},{key:"addContainer",value:function(r){var t=this.props,e=t.index,o=t.mountNode,n=t.onMount;if(!o&&r){var a=r.ownerDocument.createElement("div"),i="number"==typeof e?r.children[e]:null;i?r.insertBefore(a,i):r.appendChild(a),this.setState({container:a},function(){n&&n()})}}},{key:"render",value:function(){var r=this.state.container,t=this.props,e=t.children,a=t.mountNode,i=t.zIndex,p=i?o.createElement(y,{$zIndex:i},e):e;if("undefined"!=typeof document){if(a)return n.createPortal(p,a);if(r)return n.createPortal(p,r)}return null}}],u(l.prototype,e),a&&u(l,a),Object.defineProperty(l,"prototype",{writable:!1}),l}(o.Component);function m(r){return o.createElement(i.$6,null,function(t){var e=t.host,n=t.zIndex;return o.createElement(g,l({},r,{host:e,zIndex:n}))})}f(g,"contextType",i.rH)}}]);
2//# sourceMappingURL=1045-e3d5349aa77c00ee.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.