PageSourceSearch

https://1gbits.com/build/assets/style-wrapper-oluhp-wg-e0e84a00.js

js 1gbits.com collected 2026-09-25 04:03:04 UTC 4,167 bytes, 1 lines download raw bytes

1import"./_plugin-vue_export-helper-f51aa658.js";import{_ as e,b as t,T as s,c as l,f as o,h as n,j as i,k as c,d as r,l as a}from"./index-etzqvbnh-0bae2ce9.js";import{u as d}from"./find-block-4fksmtpz-dabb8b9c.js";import{S as u,o as m,c as v,K as y,F as k,d as p,y as h}from"./inertia-5113923f.js";const x=e(p({name:"block-styles",components:{InlinedStyles:l},props:["block","context"],data:()=>({TARGET:s}),computed:{canShowBlock(){const e=this.block;return r(e.hide)?!e.hide:!r(e.show)||e.show},css(){var e,t,s,l,r;const a=this.block,d=a.responsiveStyles,u=this.context.content,m=o((null==(e=null==u?void 0:u.meta)?void 0:e.breakpoints)||{}),v=!(null==(s=null==(t=null==u?void 0:u.meta)?void 0:t.breakpoints)||!s.xsmall),y=null==d?void 0:d.large,k=null==d?void 0:d.medium,p=null==d?void 0:d.small,h=null==d?void 0:d.xsmall,x=a.id;if(!x)return"";const b=y?n({className:x,styles:y}):"",S=k?n({className:x,styles:k,mediaQuery:i("medium",m)}):"",B=p?n({className:x,styles:p,mediaQuery:i("small",m)}):"",f=h&&v?n({className:x,styles:h,mediaQuery:i("xsmall",m)}):"",T=a.animations&&a.animations.find((e=>"hover"===e.trigger));let P="";if(T){const e=(null==(r=null==(l=T.steps)?void 0:l[1])?void 0:r.styles)||{};P=n({className:`${x}:hover`,styles:{...e,transition:`all ${T.duration}s ${c(T.easing)}`,transitionDelay:T.delay?`${T.delay}s`:"0s"}})||""}return[b,S,B,f,P].join(" ").trim()}}}),[["render",function(e,t,s,l,o,n){const i=u("InlinedStyles");return"reactNative"!==e.TARGET&&e.css&&e.canShowBlock?(m(),y(i,{key:0,id:"builderio-block",styles:e.css,nonce:e.context.nonce},null,8,["styles","nonce"])):h("",!0)}]]),b=p({name:"live-edit-block-styles",components:{InlinedStyles:l},props:["contextProvider","id"],data:()=>({TARGET:s}),computed:{block(){return d(this.contextProvider.content,this.id)},processedBlock(){var e;const t=this.block;return t?null!=(e=t.repeat)&&e.collection?t:a({block:t,localState:this.contextProvider.localState,rootState:this.contextProvider.rootState,rootSetState:this.contextProvider.rootSetState,context:this.contextProvider.context}):null},canShowBlock(){var e,t,s,l;return r(null==(e=this.processedBlock)?void 0:e.hide)?!(null!=(t=this.processedBlock)&&t.hide):!r(null==(s=this.processedBlock)?void 0:s.show)||(null==(l=this.processedBlock)?void 0:l.show)},css(){var e,t,s,l,r,a,d;const u=null==(e=this.processedBlock)?void 0:e.responsiveStyles,m=this.contextProvider.content,v=o((null==(t=null==m?void 0:m.meta)?void 0:t.breakpoints)||{}),y=!(null==(l=null==(s=null==m?void 0:m.meta)?void 0:s.breakpoints)||!l.xsmall),k=null==u?void 0:u.large,p=null==u?void 0:u.medium,h=null==u?void 0:u.small,x=null==u?void 0:u.xsmall,b=null==(r=this.processedBlock)?void 0:r.id;if(!b)return"";const S=k?n({className:b,styles:k}):"",B=p?n({className:b,styles:p,mediaQuery:i("medium",v)}):"",f=h?n({className:b,styles:h,mediaQuery:i("small",v)}):"",T=x&&y?n({className:b,styles:x,mediaQuery:i("xsmall",v)}):"",P=this.processedBlock.animations&&this.processedBlock.animations.find((e=>"hover"===e.trigger));let g="";if(P){const e=(null==(d=null==(a=P.steps)?void 0:a[1])?void 0:d.styles)||{};g=n({className:`${b}:hover`,styles:{...e,transition:`all ${P.duration}s ${c(P.easing)}`,transitionDelay:P.delay?`${P.delay}s`:"0s"}})||""}return[S,B,f,T,g].join(" ").trim()}}});const S=e(p({name:"style-wrapper",components:{BlockStyles:x,LiveEditBlockStyles:e(b,[["render",function(e,t,s,l,o,n){const i=u("InlinedStyles");return"rsc"===e.TARGET&&e.css&&e.canShowBlock?(m(),y(i,{key:0,id:"builderio-block",styles:e.css,nonce:e.contextProvider.nonce},null,8,["styles","nonce"])):h("",!0)}]])},props:["block","context"],data:()=>({isClientEditing:!1,isHydrated:!1,TARGET:s}),inject:{contextProvider:t.key},mounted(){}}),[["render",function(e,t,s,l,o,n){const i=u("LiveEditBlockStyles"),c=u("BlockStyles");return e.isHydrated?(m(),v(k,{key:0},["rsc"===e.TARGET&&e.isClientEditing?(m(),y(i,{key:0,id:e.block.id,contextProvider:e.contextProvider},null,8,["id","contextProvider"])):(m(),y(c,{key:1,block:e.block,context:e.context},null,8,["block","context"]))],64)):(m(),y(c,{key:1,block:e.block,context:e.context},null,8,["block","context"]))}]]);export{S as default};

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.