PageSourceSearch

https://hinduyuva.org/594.381952937b43d89e.js

js hinduyuva.org collected 2026-10-02 10:39:10 UTC 10,744 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkHinduYuva=self.webpackChunkHinduYuva||[]).push([[594],{28594:(we,k,B)=>{B.r(k),B.d(k,{create:()=>H,default:()=>Z});var I={};!function q(M,T,A,P){var L=!!(M.Worker&&M.Blob&&M.Promise&&M.OffscreenCanvas&&M.OffscreenCanvasRenderingContext2D&&M.HTMLCanvasElement&&M.HTMLCanvasElement.prototype.transferControlToOffscreen&&M.URL&&M.URL.createObjectURL),N="function"==typeof Path2D&&"function"==typeof DOMMatrix,K=function(){if(!M.OffscreenCanvas)return!1;try{var r=new OffscreenCanvas(1,1),e=r.getContext("2d");e.fillRect(0,0,1,1);var a=r.transferToImageBitmap();e.createPattern(a,"no-repeat")}catch{return!1}return!0}();function W(){}function E(r){var e=T.exports.Promise,a=void 0!==e?e:M.Promise;return"function"==typeof a?new a(r):(r(W,W),null)}var r,e,R,F=(r=K,e=new Map,{transform:function(a){if(r)return a;if(e.has(a))return e.get(a);var t=new OffscreenCanvas(a.width,a.height);return t.getContext("2d").drawImage(a,0,0),e.set(a,t),t},clear:function(){e.clear()}}),x=function(){var e,a,r=Math.floor(16.666666666666668),t={},o=0;return"function"==typeof requestAnimationFrame&&"function"==typeof cancelAnimationFrame?(e=function(i){var l=Math.random();return t[l]=requestAnimationFrame(function n(s){o===s||o+r-1<s?(o=s,delete t[l],i()):t[l]=requestAnimationFrame(n)}),l},a=function(i){t[i]&&cancelAnimationFrame(t[i])}):(e=function(i){return setTimeout(i,r)},a=function(i){return clearTimeout(i)}),{frame:e,cancel:a}}(),Y=function(){var r,e,a={};return function(){if(r)return r;if(!A&&L){var o=["var CONFETTI, SIZE = {}, module = {};","("+q.toString()+")(this, module, true, SIZE);","onmessage = function(msg) {","  if (msg.data.options) {","    CONFETTI(msg.data.options).then(function () {","      if (msg.data.callback) {","        postMessage({ callback: msg.data.callback });","      }","    });","  } else if (msg.data.reset) {","    CONFETTI && CONFETTI.reset();","  } else if (msg.data.resize) {","    SIZE.width = msg.data.resize.width;","    SIZE.height = msg.data.resize.height;","  } else if (msg.data.canvas) {","    SIZE.width = msg.data.canvas.width;","    SIZE.height = msg.data.canvas.height;","    CONFETTI = module.exports.create(msg.data.canvas);","  }","}"].join("\n");try{r=new Worker(URL.createObjectURL(new Blob([o])))}catch(i){return typeof console<"u"&&"function"==typeof console.warn&&console.warn("\u{1f38a} Could not load worker",i),null}!function t(o){function i(l,n){o.postMessage({options:l||{},callback:n})}o.init=function(n){var s=n.transferControlToOffscreen();o.postMessage({canvas:s},[s])},o.fire=function(n,s,u){if(e)return i(n,null),e;var d=Math.random().toString(36).slice(2);return e=E(function(h){function f(m){m.data.callback===d&&(delete a[d],o.removeEventListener("message",f),e=null,F.clear(),u(),h())}o.addEventListener("message",f),i(n,d),a[d]=f.bind(null,{data:{callback:d}})})},o.reset=function(){for(var n in o.postMessage({reset:!0}),a)a[n](),delete a[n]}}(r)}return r}}(),G={particleCount:50,angle:90,spread:45,startVelocity:45,decay:.9,gravity:1,drift:0,ticks:200,x:.5,y:.5,shapes:["square","circle"],zIndex:100,colors:["#26ccff","#a25afd","#ff5e7e","#88ff5a","#fcff42","#ffa62d","#ff36ff"],disableForReducedMotion:!1,scalar:1};function v(r,e,a){return function J(r,e){return e?e(r):r}(r&&function Q(r){return null!=r}(r[e])?r[e]:G[e],a)}function X(r){return r<0?0:Math.floor(r)}function $(r,e){return Math.floor(Math.random()*(e-r))+r}function O(r){return parseInt(r,16)}function ee(r){return r.map(re)}function re(r){var e=String(r).replace(/[^0-9a-f]/gi,"");return e.length<6&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]),{r:O(e.substring(0,2)),g:O(e.substring(2,4)),b:O(e.substring(4,6))}}function ne(r){r.width=document.documentElement.clientWidth,r.height=document.documentElement.clientHeight}function te(r){var e=r.getBoundingClientRect();r.width=e.width,r.height=e.height}function le(r){var e=r.angle*(Math.PI/180),a=r.spread*(Math.PI/180);return{x:r.x,y:r.y,wobble:10*Math.random(),wobbleSpeed:Math.min(.11,.1*Math.random()+.05),velocity:.5*r.startVelocity+Math.random()*r.startVelocity,angle2D:-e+(.5*a-Math.random()*a),tiltAngle:(.5*Math.random()+.25)
1*Math.PI,color:r.color,shape:r.shape,tick:0,totalTicks:r.ticks,decay:r.decay,drift:r.drift,random:Math.random()+2,tiltSin:0,tiltCos:0,wobbleX:0,wobbleY:0,gravity:3*r.gravity,ovalScalar:.6,scalar:r.scalar,flat:r.flat}}function D(r,e){var h,a=!r,t=!!v(e||{},"resize"),o=!1,i=v(e,"disableForReducedMotion",Boolean),n=L&&v(e||{},"useWorker")?Y():null,s=a?ne:te,u=!(!r||!n||!r.__confetti_initialized),d="function"==typeof matchMedia&&matchMedia("(prefers-reduced-motion)").matches;function f(c,g,p){for(var y=v(c,"particleCount",X),w=v(c,"angle",Number),C=v(c,"spread",Number),b=v(c,"startVelocity",Number),fe=v(c,"decay",Number),ve=v(c,"gravity",Number),me=v(c,"drift",Number),_=v(c,"colors",ee),ge=v(c,"ticks",Number),j=v(c,"shapes"),Me=v(c,"scalar"),pe=!!v(c,"flat"),z=function ae(r){var e=v(r,"origin",Object);return e.x=v(e,"x",Number),e.y=v(e,"y",Number),e}(c),V=y,S=[],ye=r.width*z.x,be=r.height*z.y;V--;)S.push(le({x:ye,y:be,angle:w,spread:C,startVelocity:b,color:_[V%_.length],shape:j[$(0,j.length)],ticks:ge,decay:fe,gravity:ve,drift:me,scalar:Me,flat:pe}));return h?h.addFettis(S):(h=function ce(r,e,a,t,o){var n,s,i=e.slice(),l=r.getContext("2d"),u=E(function(d){function h(){n=s=null,l.clearRect(0,0,t.width,t.height),F.clear(),o(),d()}n=x.frame(function f(){A&&!(t.width===P.width&&t.height===P.height)&&(t.width=r.width=P.width,t.height=r.height=P.height),!t.width&&!t.height&&(a(r),t.width=r.width,t.height=r.height),l.clearRect(0,0,t.width,t.height),(i=i.filter(function(m){return function se(r,e){e.x+=Math.cos(e.angle2D)*e.velocity+e.drift,e.y+=Math.sin(e.angle2D)*e.velocity+e.gravity,e.velocity*=e.decay,e.flat?(e.wobble=0,e.wobbleX=e.x+10*e.scalar,e.wobbleY=e.y+10*e.scalar,e.tiltSin=0,e.tiltCos=0,e.random=1):(e.wobble+=e.wobbleSpeed,e.wobbleX=e.x+10*e.scalar*Math.cos(e.wobble),e.wobbleY=e.y+10*e.scalar*Math.sin(e.wobble),e.tiltAngle+=.1,e.tiltSin=Math.sin(e.tiltAngle),e.tiltCos=Math.cos(e.tiltAngle),e.random=Math.random()+2);var a=e.tick++/e.totalTicks,t=e.x+e.random*e.tiltCos,o=e.y+e.random*e.tiltSin,i=e.wobbleX+e.random*e.tiltCos,l=e.wobbleY+e.random*e.tiltSin;if(r.fillStyle="rgba("+e.color.r+", "+e.color.g+", "+e.color.b+", "+(1-a)+")",r.beginPath(),N&&"path"===e.shape.type&&"string"==typeof e.shape.path&&Array.isArray(e.shape.matrix))r.fill(function ue(r,e,a,t,o,i,l){var n=new Path2D(r),s=new Path2D;s.addPath(n,new DOMMatrix(e));var u=new Path2D;return u.addPath(s,new DOMMatrix([Math.cos(l)*o,Math.sin(l)*o,-Math.sin(l)*i,Math.cos(l)*i,a,t])),u}(e.shape.path,e.shape.matrix,e.x,e.y,.1*Math.abs(i-t),.1*Math.abs(l-o),Math.PI/10*e.wobble));else if("bitmap"===e.shape.type){var n=Math.PI/10*e.wobble,s=.1*Math.abs(i-t),u=.1*Math.abs(l-o),d=e.shape.bitmap.width*e.scalar,h=e.shape.bitmap.height*e.scalar,f=new DOMMatrix([Math.cos(n)*s,Math.sin(n)*s,-Math.sin(n)*u,Math.cos(n)*u,e.x,e.y]);f.multiplySelf(new DOMMatrix(e.shape.matrix));var m=r.createPattern(F.transform(e.shape.bitmap),"no-repeat");m.setTransform(f),r.globalAlpha=1-a,r.fillStyle=m,r.fillRect(e.x-d/2,e.y-h/2,d,h),r.globalAlpha=1}else if("circle"===e.shape)r.ellipse?r.ellipse(e.x,e.y,Math.abs(i-t)*e.ovalScalar,Math.abs(l-o)*e.ovalScalar,Math.PI/10*e.wobble,0,2*Math.PI):function ie(r,e,a,t,o,i,l,n,s){r.save(),r.translate(e,a),r.rotate(i),r.scale(t,o),r.arc(0,0,1,l,n,s),r.restore()}(r,e.x,e.y,Math.abs(i-t)*e.ovalScalar,Math.abs(l-o)*e.ovalScalar,Math.PI/10*e.wobble,0,2*Math.PI);else if("star"===e.shape)for(var c=Math.PI/2*3,g=4*e.scalar,p=8*e.scalar,y=e.x,w=e.y,C=5,b=Math.PI/C;C--;)y=e.x+Math.cos(c)*p,w=e.y+Math.sin(c)*p,r.lineTo(y,w),c+=b,y=e.x+Math.cos(c)*g,w=e.y+Math.sin(c)*g,r.lineTo(y,w),c+=b;else r.moveTo(Math.floor(e.x),Math.floor(e.y)),r.lineTo(Math.floor(e.wobbleX),Math.floor(o)),r.lineTo(Math.floor(i),Math.floor(l)),r.lineTo(Math.floor(t),Math.floor(e.wobbleY));return r.closePath(),r.fill(),e.tick<e.totalTicks}(l,m)})).length?n=x.frame(f):h()}),s=h});return{addFettis:function(d){return i=i.concat(d),u},canvas:r,promise:u,reset:function(){n&&x.cancel(n),s&&s()}}}(r,S,s,g,p),h.promise)}function m(c){var g=i||v(c,"disableForReducedMotion",Boolean),p=v(c,"zIndex",Number);if(g&&d)return E(function(b){b()});a&&h?r=h.canvas:a&&!r&&(r=function oe(r){var e=document.createElement("canvas");return e.style.position="fixed",e.style.top="0px",e.style.left="0px",e.style.pointerEvents="none",e.style.zIndex=r,e}(p),document.body.appendChild(r)),t&&!u&&s(r);var y={width:r.width,height:r.height};function w(){if(n){var b={getBoundingClientRect:function(){if(!a)return r.getBoundingClientRect()}};
1return s(b),void n.postMessage({resize:{width:b.width,height:b.height}})}y.width=y.height=null}function C(){h=null,t&&(o=!1,M.removeEventListener("resize",w)),a&&r&&(document.body.contains(r)&&document.body.removeChild(r),r=null,u=!1)}return n&&!u&&n.init(r),u=!0,n&&(r.__confetti_initialized=!0),t&&!o&&(o=!0,M.addEventListener("resize",w,!1)),n?n.fire(c,y,C):f(c,y,C)}return m.reset=function(){n&&n.reset(),h&&h.reset()},m}function U(){return R||(R=D(null,{useWorker:!0,resize:!0})),R}T.exports=function(){return U().apply(this,arguments)},T.exports.reset=function(){U().reset()},T.exports.create=D,T.exports.shapeFromPath=function he(r){if(!N)throw new Error("path confetti are not supported in this browser");var e,a;"string"==typeof r?e=r:(e=r.path,a=r.matrix);var t=new Path2D(e),i=document.createElement("canvas").getContext("2d");if(!a){for(var h,f,l=1e3,n=l,s=l,u=0,d=0,m=0;m<l;m+=2)for(var c=0;c<l;c+=2)i.isPointInPath(t,m,c,"nonzero")&&(n=Math.min(n,m),s=Math.min(s,c),u=Math.max(u,m),d=Math.max(d,c));h=u-n,f=d-s;var p=Math.min(10/h,10/f);a=[p,0,0,p,-Math.round(h/2+n)*p,-Math.round(f/2+s)*p]}return{type:"path",path:e,matrix:a}},T.exports.shapeFromText=function de(r){var e,a=1,t="#000000",o='"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", "EmojiOne Color", "Android Emoji", "Twemoji Mozilla", "system emoji", sans-serif';"string"==typeof r?e=r:(e=r.text,a="scalar"in r?r.scalar:a,o="fontFamily"in r?r.fontFamily:o,t="color"in r?r.color:t);var i=10*a,l=i+"px "+o,n=new OffscreenCanvas(i,i),s=n.getContext("2d");s.font=l;var u=s.measureText(e),d=Math.ceil(u.actualBoundingBoxRight+u.actualBoundingBoxLeft),h=Math.ceil(u.actualBoundingBoxAscent+u.actualBoundingBoxDescent),m=u.actualBoundingBoxLeft+2,c=u.actualBoundingBoxAscent+2;d+=4,h+=4,(s=(n=new OffscreenCanvas(d,h)).getContext("2d")).font=l,s.fillStyle=t,s.fillText(e,m,c);var g=1/a;return{type:"bitmap",bitmap:n.transferToImageBitmap(),matrix:[g,0,0,g,-d*g/2,-h*g/2]}}}(function(){return typeof window<"u"?window:typeof self<"u"?self:this||{}}(),I,!1);const Z=I.exports;var H=I.exports.create}}]);

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.