PageSourceSearch

https://cdn-frontend-r2.syarah.com/prod/static/js/9408.c1896eef.chunk.js

js syarah.com collected 2026-09-24 10:09:10 UTC 9,995 bytes, 4 lines download raw bytes

1(()=>{(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[9408],{18051:(function(F,B,x){(function(P,M){M(B,x(49891),x(96540))})(this,(function(P,M,g){"use strict";function N(t){return t&&typeof t=="object"&&"default"in t?t:{default:t}}var H=N(M),c=N(g);function h(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function j(t){if(Array.isArray(t))return t}function Y(t,e,r){return(e=Z(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function X(t,e){var r=t==null?null:typeof Symbol!="undefined"&&t[Symbol.iterator]||t["@@iterator"];if(r!=null){var n,f,v,a,A=[],l=!0,D=!1;try{if(v=(r=r.call(t)).next,e===0){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=v.call(r)).done)&&(A.push(n.value),A.length!==e);l=!0);}catch(S){D=!0,f=S}finally{try{if(!l&&r.return!=null&&(a=r.return(),Object(a)!==a))return}finally{if(D)throw f}}return A}}function z(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
2In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function U(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(f){return Object.getOwnPropertyDescriptor(t,f).enumerable})),r.push.apply(r,n)}return r}function V(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?U(Object(r),!0).forEach(function(n){Y(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):U(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function W(t,e){if(t==null)return{};var r,n,f=G(t,e);if(Object.getOwnPropertySymbols){var v=Object.getOwnPropertySymbols(t);for(n=0;n<v.length;n++)r=v[n],e.includes(r)||{}.propertyIsEnumerable.call(t,r)&&(f[r]=t[r])}return f}function G(t,e){if(t==null)return{};var r={};for(var n in t)if({}.hasOwnProperty.call(t,n)){if(e.includes(n))continue;r[n]=t[n]}return r}function J(t,e){return j(t)||X(t,e)||q(t,e)||z()}function Q(t,e){if(typeof t!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function Z(t){var e=Q(t,"string");return typeof e=="symbol"?e:e+""}function q(t,e){if(t){if(typeof t=="string")return h(t,e);var r={}.toString.call(t).slice(8,-1);return r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set"?Array.from(t):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?h(t,e):void 0}}var ee=["animationData","loop","autoplay","initialSegment","onComplete","onLoopComplete","onEnterFrame","onSegmentStart","onConfigReady","onDataReady","onDataFailed","onLoadedImages","onDOMLoaded","onDestroy","lottieRef","renderer","name","assetsPath","rendererSettings"],$=function(e,r){var n=e.animationData,f=e.loop,v=e.autoplay,a=e.initialSegment,A=e.onComplete,l=e.onLoopComplete,D=e.onEnterFrame,S=e.onSegmentStart,O=e.onConfigReady,w=e.onDataReady,L=e.onDataFailed,u=e.onLoadedImages,E=e.onDOMLoaded,_=e.onDestroy;e.lottieRef,e.renderer,e.name,e.assetsPath,e.rendererSettings;var b=W(e,ee),C=g.useState(!1),s=J(C,2),T=s[0],R=s[1],i=g.useRef(),y=g.useRef(null),ae=function(){var o;(o=i.current)===null||o===void 0||o.play()},ue=function(){var o;(o=i.current)===null||o===void 0||o.stop()},le=function(){var o;(o=i.current)===null||o===void 0||o.pause()},se=function(o){var d;(d=i.current)===null||d===void 0||d.setSpeed(o)},de=function(o,d){var m;(m=i.current)===null||m===void 0||m.goToAndPlay(o,d)},fe=function(o,d){var m;(m=i.current)===null||m===void 0||m.goToAndStop(o,d)},ce=function(o){var d;(d=i.current)===null||d===void 0||d.setDirection(o)},me=function(o,d){var m;(m=i.current)===null||m===void 0||m.playSegments(o,d)},ve=function(o){var d;(d=i.current)===null||d===void 0||d.setSubframe(o)},ye=function(o){var d;return(d=i.current)===null||d===void 0?void 0:d.getDuration(o)},pe=function(){var o;(o=i.current)===null||o===void 0||o.destroy(),i.current=void 0},ge=function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},d;if(y.current){(d=i.current)===null||d===void 0||d.destroy();var m=V(V(V({},e),o),{},{container:y.current});return i.current=H.default.loadAnimation(m),R(!!i.current),function(){var I;(I=i.current)===null||I===void 0||I.destroy(),i.current=void 0}}};g.useEffect(function(){var p=ge();return function(){return p==null?void 0:p()}},[n,f]),g.useEffect(function(){i.current&&(i.current.autoplay=!!v)},[v]),g.useEffect(function(){if(i.current){if(!a){i.current.resetSegments(!0);return}
vendor: 4,543 bytes, line 2
2!Array.isArray(a)||!a.length||((i.current.currentRawFrame<a[0]||i.current.currentRawFrame>a[1])&&(i.current.currentRawFrame=a[0]),i.current.setSegment(a[0],a[1]))}},[a]),g.useEffect(function(){var p=[{name:"complete",handler:A},{name:"loopComplete",handler:l},{name:"enterFrame",handler:D},{name:"segmentStart",handler:S},{name:"config_ready",handler:O},{name:"data_ready",handler:w},{name:"data_failed",handler:L},{name:"loaded_images",handler:u},{name:"DOMLoaded",handler:E},{name:"destroy",handler:_}],o=p.filter(function(m){return m.handler!=null});if(o.length){var d=o.map(function(m){var I;return(I=i.current)===null||I===void 0||I.addEventListener(m.name,m.handler),function(){var K;(K=i.current)===null||K===void 0||K.removeEventListener(m.name,m.handler)}});return function(){d.forEach(function(m){return m()})}}},[A,l,D,S,O,w,L,u,E,_]);var Se=c.default.createElement("div",V({style:r,ref:y},b));return{View:Se,play:ae,stop:ue,pause:le,setSpeed:se,goToAndStop:fe,goToAndPlay:de,setDirection:ce,playSegments:me,setSubframe:ve,getDuration:ye,destroy:pe,animationContainerRef:y,animationLoaded:T,animationItem:i.current}};function te(t){var e=t.getBoundingClientRect(),r=e.top,n=e.height,f=window.innerHeight-r,v=window.innerHeight+n;return f/v}function ne(t,e,r){var n=t.getBoundingClientRect(),f=n.top,v=n.left,a=n.width,A=n.height,l=(e-v)/a,D=(r-f)/A;return{x:l,y:D}}var re=function(e){var r=e.wrapperRef,n=e.animationItem,f=e.mode,v=e.actions;g.useEffect(function(){var a=r.current;if(!(!a||!n||!v.length)){n.stop();var A=function(){var S=null,O=function(){var L=te(a),u=v.find(function(_){var b=_.visibility;return b&&L>=b[0]&&L<=b[1]});if(u){if(u.type==="seek"&&u.visibility&&u.frames.length===2){var E=u.frames[0]+Math.ceil((L-u.visibility[0])/(u.visibility[1]-u.visibility[0])*u.frames[1]);n.goToAndStop(E-n.firstFrame-1,!0)}u.type==="loop"&&(S===null||S!==u.frames||n.isPaused)&&(n.playSegments(u.frames,!0),S=u.frames),u.type==="play"&&n.isPaused&&(n.resetSegments(!0),n.play()),u.type==="stop"&&n.goToAndStop(u.frames[0]-n.firstFrame-1,!0)}};return document.addEventListener("scroll",O),function(){document.removeEventListener("scroll",O)}},l=function(){var S=function(u,E){var _=u,b=E;if(_!==-1&&b!==-1){var C=ne(a,_,b);_=C.x,b=C.y}var s=v.find(function(i){var y=i.position;return y&&Array.isArray(y.x)&&Array.isArray(y.y)?_>=y.x[0]&&_<=y.x[1]&&b>=y.y[0]&&b<=y.y[1]:y&&!Number.isNaN(y.x)&&!Number.isNaN(y.y)?_===y.x&&b===y.y:!1});if(s){if(s.type==="seek"&&s.position&&Array.isArray(s.position.x)&&Array.isArray(s.position.y)&&s.frames.length===2){var T=(_-s.position.x[0])/(s.position.x[1]-s.position.x[0]),R=(b-s.position.y[0])/(s.position.y[1]-s.position.y[0]);n.playSegments(s.frames,!0),n.goToAndStop(Math.ceil((T+R)/2*(s.frames[1]-s.frames[0])),!0)}s.type==="loop"&&n.playSegments(s.frames,!0),s.type==="play"&&(n.isPaused&&n.resetSegments(!1),n.playSegments(s.frames)),s.type==="stop"&&n.goToAndStop(s.frames[0],!0)}},O=function(u){S(u.clientX,u.clientY)},w=function(){S(-1,-1)};return a.addEventListener("mousemove",O),a.addEventListener("mouseout",w),function(){a.removeEventListener("mousemove",O),a.removeEventListener("mouseout",w)}};switch(f){case"scroll":return A();case"cursor":return l()}}},[f,n])},k=function(e){var r=e.actions,n=e.mode,f=e.lottieObj,v=f.animationItem,a=f.View,A=f.animationContainerRef;return re({actions:r,animationItem:v,mode:n,wrapperRef:A}),a},oe=["style","interactivity"],ie=function(e){var r,n,f,v=e.style,a=e.interactivity,A=W(e,oe),l=$(A,v),D=l.View,S=l.play,O=l.stop,w=l.pause,L=l.setSpeed,u=l.goToAndStop,E=l.goToAndPlay,_=l.setDirection,b=l.playSegments,C=l.setSubframe,s=l.getDuration,T=l.destroy,R=l.animationContainerRef,i=l.animationLoaded,y=l.animationItem;return g.useEffect(function(){e.lottieRef&&(e.lottieRef.current={play:S,stop:O,pause:w,setSpeed:L,goToAndPlay:E,goToAndStop:u,setDirection:_,playSegments:b,setSubframe:C,getDuration:s,destroy:T,animationContainerRef:R,animationLoaded:i,animationItem:y})},[(r=e.lottieRef)===null||r===void 0?void 0:r.current]),k({lottieObj:{View:D,play:S,stop:O,pause:w,setSpeed:L,goToAndStop:u,goToAndPlay:E,setDirection:_,playSegments:b,setSubframe:C,getDuration:s,destroy:T,animationContainerRef:R,animationLoaded:i,animationItem:y},actions:(n=a==null?void 0:a.actions)!==null&&n!==void 0?n:[],mode:(f=a==null?void 0:a.mode)!==null&&f!==void 0?f:"scroll"})};Object.defineProperty(P,"LottiePlayer",{enumerable:!0,get:function(){return H.default}}),P.default=ie,P.useLottie=$,P.useLottieInteractivity=k,Object.defineProperty(P,"__esMo
2dule",{value:!0})}))}),46942:((F,B)=>{var x,P;(function(){"use strict";var M={}.hasOwnProperty;function g(){for(var c="",h=0;h<arguments.length;h++){var j=arguments[h];j&&(c=H(c,N(j)))}return c}function N(c){if(typeof c=="string"||typeof c=="number")return c;if(typeof c!="object")return"";if(Array.isArray(c))return g.apply(null,c);if(c.toString!==Object.prototype.toString&&!c.toString.toString().includes("[native code]"))return c.toString();var h="";for(var j in c)M.call(c,j)&&c[j]&&(h=H(h,j));return h}function H(c,h){return h?c?c+" "+h:c+h:c}F.exports?(g.default=g,F.exports=g):(x=[],P=(function(){return g}).apply(B,x),P!==void 0&&(F.exports=P))})()})}]);})();
3
4//# sourceMappingURL=9408.c1896eef.chunk.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.