PageSourceSearch

https://lender.sparkil.org/assets/vue-content-loader.es-4w4u5Wqd.js

js sparkil.org collected 2026-09-26 07:53:27 UTC 2,308 bytes, 1 lines download raw bytes

1import{d as c,b as t,g as a}from"./main-QFd2JyzA.js";var r=function(){return Math.random().toString(36).substring(2)},h=c({name:"ContentLoader",props:{width:{type:[Number,String]},height:{type:[Number,String]},viewBox:{type:String},preserveAspectRatio:{type:String,default:"xMidYMid meet"},speed:{type:Number,default:2},baseUrl:{type:String,default:""},primaryColor:{type:String,default:"#f9f9f9"},secondaryColor:{type:String,default:"#ecebeb"},primaryOpacity:{type:Number,default:1},secondaryOpacity:{type:Number,default:1},uniqueKey:{type:String},animate:{type:Boolean,default:!0}},setup:function(i){var o=a(function(){return i.uniqueKey?"".concat(i.uniqueKey,"-idClip"):r()}),u=a(function(){return i.uniqueKey?"".concat(i.uniqueKey,"-idGradient"):r()}),s=a(function(){var e;return(e=i.width)!==null&&e!==void 0?e:400}),d=a(function(){var e;return(e=i.height)!==null&&e!==void 0?e:130}),l=a(function(){var e;return(e=i.viewBox)!==null&&e!==void 0?e:"0 0 ".concat(s.value," ").concat(d.value)});return{idClip:o,idGradient:u,computedViewBox:l}},render:function(){return t("svg",{width:this.width,height:this.height,viewBox:this.computedViewBox,version:"1.1",preserveAspectRatio:this.preserveAspectRatio},[t("rect",{style:{fill:"url(".concat(this.baseUrl,"#").concat(this.idGradient,")")},"clip-path":"url(".concat(this.baseUrl,"#").concat(this.idClip,")"),x:"0",y:"0",width:"100%",height:"100%"},null),t("defs",null,[t("clipPath",{id:this.idClip},[this.$slots.default?this.$slots.default():t("rect",{x:"0",y:"0",rx:"5",ry:"5",width:"100%",height:"100%"},null)]),t("linearGradient",{id:this.idGradient},[t("stop",{offset:"0%","stop-color":this.primaryColor,"stop-opacity":this.primaryOpacity},[this.animate?t("animate",{attributeName:"offset",values:"-2; 1",dur:"".concat(this.speed,"s"),repeatCount:"indefinite"},null):null]),t("stop",{offset:"50%","stop-color":this.secondaryColor,"stop-opacity":this.secondaryOpacity},[this.animate?t("animate",{attributeName:"offset",values:"-1.5; 1.5",dur:"".concat(this.speed,"s"),repeatCount:"indefinite"},null):null]),t("stop",{offset:"100%","stop-color":this.primaryColor,"stop-opacity":this.primaryOpacity},[this.animate?t("animate",{attributeName:"offset",values:"-1; 2",dur:"".concat(this.speed,"s"),repeatCount:"indefinite"},null):null])])])])}});export{h as C};

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.