1!function(){try{var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},e=(new t.Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="6cced063-29b9-4eb8-98fc-bc3d9e64ba47",t._sentryDebugIdIdentifier="sentry-dbid-6cced063-29b9-4eb8-98fc-bc3d9e64ba47")}catch(t){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8389],{28964:(t,e,r)=>{r.d(e,{B:()=>u});var n=r(19866),i=r(2486),o=r(94502);let s=(0,o.z)("breadcrumbs",{},[]),_={},a=Object.keys(_),l=Object.assign((0,i.ph)(s.recipeFn),{__recipe__:!0,__name__:"StyledBreadcrumbs",__getCompoundVariantCss__:s.__getCompoundVariantCss__,raw:t=>t,variantKeys:a,variantMap:_,merge(t){return(0,o.q)(this,t)},splitVariantProps:t=>(0,i.rg)(t,a),getVariantProps:s.getVariantProps});var d=r(64255);let u=t=>{let{children:e}=(0,n.Y)({props:t,defaultProps:{}});return(0,d.jsx)("div",{className:l(),"data-part":"breadcrumb-root","data-testid":"breadcrumb__wrapper",children:(0,d.jsx)("div",{"data-part":"breadcrumb-breadcrumbs","data-testid":"breadcrumb",children:e})})}},65293:(t,e,r)=>{let n;function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e,r){var n;return(n=function(t,e){if("object"!=i(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=i(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==i(n)?n:n+"")in t)?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}r.d(e,{GL:()=>tr});var s=class{requestAnimationFrame(t){return requestAnimationFrame(t)}cancelAnimationFrame(t){cancelAnimationFrame(t)}},_=class{constructor(){o(this,"_lastHandleId",0),o(this,"_lastImmediate",null)}requestAnimationFrame(t){return this._lastHandleId>=0x20000000000000-1&&(this._lastHandleId=0),this._lastHandleId+=1,this._lastImmediate=setImmediate(()=>{t(performance.now())}),this._lastHandleId}cancelAnimationFrame(t){this._lastImmediate&&clearImmediate(this._lastImmediate)}},a=class{constructor(){o(this,"_strategy",void 0),this._strategy="function"==typeof requestAnimationFrame?new s:new _}requestAnimationFrame(t){return this._strategy.requestAnimationFrame(t)}cancelAnimationFrame(t){this._strategy.cancelAnimationFrame(t)}};let l="u">typeof window&&void 0!==window.document,d=new Uint8Array([80,75,3,4]),u=["v","ip","op","layers","fr","w","h"],h=Array(128).fill(void 0);h.push(void 0,null,!0,!1);let c=h.length;function g(t){c===h.length&&h.push(h.length+1);let e=c;return c=h[e],h[e]=t,e}function p(t,e){try{return t.apply(this,e)}catch(t){n.__wbindgen_export_0(g(t))}}function m(t){return null==t}let f="u">typeof TextDecoder?new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}):{decode:()=>{throw Error("TextDecoder not available")}};"u">typeof TextDecoder&&f.decode();let b=null;function w(){return(null===b||0===b.byteLength)&&(b=new Uint8Array(n.memory.buffer)),b}function y(t,e){return t>>>=0,f.decode(w().subarray(t,t+e))}let v=0,C="u">typeof TextEncoder?new TextEncoder("utf-8"):{encode:()=>{throw Error("TextEncoder not available")}},L="function"==typeof C.encodeInto?function(t,e){return C.encodeInto(t,e)}:function(t,e){let r=C.encode(t);return e.set(r),{read:t.length,written:r.length}};function M(t,e,r){if(void 0===r){let r=C.encode(t),n=e(r.length,1)>>>0;return w().subarray(n,n+r.length).set(r),v=r.length,n}let n=t.length,i=e(n,1)>>>0,o=w(),s=0;for(;s<n;s++){let e=t.charCodeAt(s);if(e>127)break;o[i+s]=e}if(s!==n){0!==s&&(t=t.slice(s)),i=r(i,n,n=s+3*t.length,1)>>>0;let e=L(t,w().subarray(i+s,i+n));s+=e.written,i=r(i,n,s,1)>>>0}return v=s,i}let k=null;function x(){return(null===k||!0===k.buffer.detached||void 0===k.buffer.detached&&k.buffer!==n.memory.buffer)&&(k=new DataView(n.memory.buffer)),k}function E(t,e){let r=e(+t.length,1)>>>0;return w().set(t,r/1),v=t.length,r}function I(t){let e=h[t];return t<132||(h[t]=c,c=t),e}let S=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>{n.__wbindgen_export_4.get(t.dtor)(t.a,t.b)}),P=null;function A(t,e,r){n.__wbindgen_export_5(t,e,g(r))}
1let O=Object.freeze({Forward:0,0:"Forward",Reverse:1,1:"Reverse",Bounce:2,2:"Bounce",ReverseBounce:3,3:"ReverseBounce"}),F=Object.freeze({Idle:0,0:"Idle",Playing:1,1:"Playing",Paused:2,2:"Paused",Stopped:3,3:"Stopped",Tweening:4,4:"Tweening"}),R=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>n.__wbg_dotlottieplayerwasm_free(t>>>0,1));var T=class{__destroy_into_raw(){let t=this.__wbg_ptr;return this.__wbg_ptr=0,R.unregister(this),t}free(){let t=this.__destroy_into_raw();n.__wbg_dotlottieplayerwasm_free(t,0)}clear_slot(t){let e=M(t,n.__wbindgen_export_1,n.__wbindgen_export_2),r=v;return 0!==n.dotlottieplayerwasm_clear_slot(this.__wbg_ptr,e,r)}layout_fit(){let t,e;try{let o=n.__wbindgen_add_to_stack_pointer(-16);n.dotlottieplayerwasm_layout_fit(o,this.__wbg_ptr);var r=x().getInt32(o+0,!0),i=x().getInt32(o+4,!0);return t=r,e=i,y(r,i)}finally{n.__wbindgen_add_to_stack_pointer(16),n.__wbindgen_export_3(t,e,1)}}loop_count(){return n.dotlottieplayerwasm_loop_count(this.__wbg_ptr)>>>0}poll_event(){return I(n.dotlottieplayerwasm_poll_event(this.__wbg_ptr))}reset_slot(t){let e=M(t,n.__wbindgen_export_1,n.__wbindgen_export_2),r=v;return 0!==n.dotlottieplayerwasm_reset_slot(this.__wbg_ptr,e,r)}set_layout(t,e,r){let i=M(t,n.__wbindgen_export_1,n.__wbindgen_export_2),o=v;return 0!==n.dotlottieplayerwasm_set_layout(this.__wbg_ptr,i,o,e,r)}set_marker(t){let e=M(t,n.__wbindgen_export_1,n.__wbindgen_export_2),r=v;n.dotlottieplayerwasm_set_marker(this.__wbg_ptr,e,r)}clear_slots(){return 0!==n.dotlottieplayerwasm_clear_slots(this.__wbg_ptr)}is_complete(){return 0!==n.dotlottieplayerwasm_is_complete(this.__wbg_ptr)}reset_slots(){return 0!==n.dotlottieplayerwasm_reset_slots(this.__wbg_ptr)}reset_theme(){return 0!==n.dotlottieplayerwasm_reset_theme(this.__wbg_ptr)}segment_end(){return n.dotlottieplayerwasm_segment_end(this.__wbg_ptr)}set_quality(t){return 0!==n.dotlottieplayerwasm_set_quality(this.__wbg_ptr,t)}set_segment(t,e){return 0!==n.dotlottieplayerwasm_set_segment(this.__wbg_ptr,t,e)}sm_set_seed(t){return 0!==n.dotlottieplayerwasm_sm_set_seed(this.__wbg_ptr,t)}static unload_font(t){let e=M(t,n.__wbindgen_export_1,n.__wbindgen_export_2),r=v;return 0!==n.dotlottieplayerwasm_unload_font(e,r)}animation_id(){try{let r,i=n.__wbindgen_add_to_stack_pointer(-16);n.dotlottieplayerwasm_animation_id(i,this.__wbg_ptr);var t=x().getInt32(i+0,!0),e=x().getInt32(i+4,!0);return 0!==t&&(r=y(t,e).slice(),n.__wbindgen_export_3(t,+e,1)),r}finally{n.__wbindgen_add_to_stack_pointer(16)}}audio_volume(){return n.dotlottieplayerwasm_audio_volume(this.__wbg_ptr)}background_a(){return n.dotlottieplayerwasm_background_a(this.__wbg_ptr)}background_b(){return n.dotlottieplayerwasm_background_b(this.__wbg_ptr)}background_g(){return n.dotlottieplayerwasm_background_g(this.__wbg_ptr)}background_r(){return n.dotlottieplayerwasm_background_r(this.__wbg_ptr)}clear_marker(){n.dotlottieplayerwasm_clear_marker(this.__wbg_ptr)}emit_on_loop(){n.dotlottieplayerwasm_emit_on_loop(this.__wbg_ptr)}get_slot_ids(){return I(n.dotlottieplayerwasm_get_slot_ids(this.__wbg_ptr))}get_slot_str(t){try{let i,o=n.__wbindgen_add_to_stack_pointer(-16),s=M(t,n.__wbindgen_export_1,n.__wbindgen_export_2),_=v;n.dotlottieplayerwasm_get_slot_str(o,this.__wbg_ptr,s,_);var e=x().getInt32(o+0,!0),r=x().getInt32(o+4,!0);return 0!==e&&(i=y(e,r).slice(),n.__wbindgen_export_3(e,+r,1)),i}finally{n.__wbindgen_add_to_stack_pointer(16)}}marker_names(){return I(n.dotlottieplayerwasm_marker_names(this.__wbg_ptr))}set_autoplay(t){n.dotlottieplayerwasm_set_autoplay(this.__wbg_ptr,t)}set_slot_str(t,e){let r=M(t,n.__wbindgen_export_1,n.__wbindgen_export_2),i=v,o=M(e,n.__wbindgen_export_1,n.__wbindgen_export_2),s=v;return 0!==n.dotlottieplayerwasm_set_slot_str(this.__wbg_ptr,r,i,o,s)}set_viewport(t,e,r,i){return 0!==n.dotlottieplayerwasm_set_viewport(this.__wbg_ptr,t,e,r,i)}total_frames(){return n.dotlottieplayerwasm_total_frames(this.__wbg_ptr)}clear_segment(){return 0!==n.dotlottieplayerwasm_clear_segment(this.__wbg_ptr)}current_frame(){return n.dotlottieplayerwasm_current_frame(this.__wbg_ptr)}get_slot_type(t){try{let i,o=n.__wbindgen_add_to_stack_pointer(-16),s=M(t,n.__wbindgen_export_1,n.__wbindgen_export_2),_=v;n.dotlottieplayerwasm_get_slot_type(o,this.__wbg_ptr,s,_);var e=x().getInt32(o+0,!0),r=x().getInt32(o+4,!0);return 0!==e&&(i=y(e,r).slice(),n.__wbindgen_export_3(e,+r,1)),i}finally{n.__wbindgen_add_to_stack_pointer(16)}}get_slots_str(){let t,e;try{let o=n.__wbindgen_add_to_stack_pointer(-16);n.dotlottieplayerwasm_get_slots_str(o,this.__wbg_ptr);var r=x().getInt32(o+0,!0),i=x().getInt32(o+4,!0);
1return t=r,e=i,y(r,i)}finally{n.__wbindgen_add_to_stack_pointer(16),n.__wbindgen_export_3(t,e,1)}}get_transform(){return I(n.dotlottieplayerwasm_get_transform(this.__wbg_ptr))}segment_start(){return n.dotlottieplayerwasm_segment_start(this.__wbg_ptr)}set_slots_str(t){let e=M(t,n.__wbindgen_export_1,n.__wbindgen_export_2),r=v;return 0!==n.dotlottieplayerwasm_set_slots_str(this.__wbg_ptr,e,r)}set_text_slot(t,e){let r=M(t,n.__wbindgen_export_1,n.__wbindgen_export_2),i=v,o=M(e,n.__wbindgen_export_1,n.__wbindgen_export_2),s=v;return 0!==n.dotlottieplayerwasm_set_text_slot(this.__wbg_ptr,r,i,o,s)}set_transform(t){let e,r=(e=(0,n.__wbindgen_export_1)(4*t.length,4)>>>0,((null===P||0===P.byteLength)&&(P=new Float32Array(n.memory.buffer)),P).set(t,e/4),v=t.length,e),i=v;return 0!==n.dotlottieplayerwasm_set_transform(this.__wbg_ptr,r,i)}sm_get_inputs(){return I(n.dotlottieplayerwasm_sm_get_inputs(this.__wbg_ptr))}sm_poll_event(){return I(n.dotlottieplayerwasm_sm_poll_event(this.__wbg_ptr))}sm_post_click(t,e){n.dotlottieplayerwasm_sm_post_click(this.__wbg_ptr,t,e)}animation_size(){return I(n.dotlottieplayerwasm_animation_size(this.__wbg_ptr))}current_marker(){try{let r,i=n.__wbindgen_add_to_stack_pointer(-16);n.dotlottieplayerwasm_current_marker(i,this.__wbg_ptr);var t=x().getInt32(i+0,!0),e=x().getInt32(i+4,!0);return 0!==t&&(r=y(t,e).slice(),n.__wbindgen_export_3(t,+e,1)),r}finally{n.__wbindgen_add_to_stack_pointer(16)}}layout_align_x(){return n.dotlottieplayerwasm_layout_align_x(this.__wbg_ptr)}layout_align_y(){return n.dotlottieplayerwasm_layout_align_y(this.__wbg_ptr)}load_animation(t){let e=M(t,n.__wbindgen_export_1,n.__wbindgen_export_2),r=v;return 0!==n.dotlottieplayerwasm_load_animation(this.__wbg_ptr,e,r)}loop_animation(){return 0!==n.dotlottieplayerwasm_loop_animation(this.__wbg_ptr)}set_background(t,e,r,i){return 0!==n.dotlottieplayerwasm_set_background(this.__wbg_ptr,t,e,r,i)}set_color_slot(t,e,r,i){let o=M(t,n.__wbindgen_export_1,n.__wbindgen_export_2),s=v;return 0!==n.dotlottieplayerwasm_set_color_slot(this.__wbg_ptr,o,s,e,r,i)}set_image_slot(t,e){let r=M(t,n.__wbindgen_export_1,n.__wbindgen_export_2),i=v,o=M(e,n.__wbindgen_export_1,n.__wbindgen_export_2),s=v;return 0!==n.dotlottieplayerwasm_set_image_slot(this.__wbg_ptr,r,i,o,s)}set_loop_count(t){n.dotlottieplayerwasm_set_loop_count(this.__wbg_ptr,t)}set_theme_data(t){let e=M(t,n.__wbindgen_export_1,n.__wbindgen_export_2),r=v;return 0!==n.dotlottieplayerwasm_set_theme_data(this.__wbg_ptr,e,r)}sm_reset_input(t){let e=M(t,n.__wbindgen_export_1,n.__wbindgen_export_2),r=v;n.dotlottieplayerwasm_sm_reset_input(this.__wbg_ptr,e,r)}manifest_string(){let t,e;try{let o=n.__wbindgen_add_to_stack_pointer(-16);n.dotlottieplayerwasm_manifest_string(o,this.__wbg_ptr);var r=x().getInt32(o+0,!0),i=x().getInt32(o+4,!0);return t=r,e=i,y(r,i)}finally{n.__wbindgen_add_to_stack_pointer(16),n.__wbindgen_export_3(t,e,1)}}set_scalar_slot(t,e){let r=M(t,n.__wbindgen_export_1,n.__wbindgen_export_2),i=v;return 0!==n.dotlottieplayerwasm_set_scalar_slot(this.__wbg_ptr,r,i,e)}set_vector_slot(t,e,r){let i=M(t,n.__wbindgen_export_1,n.__wbindgen_export_2),o=v;return 0!==n.dotlottieplayerwasm_set_vector_slot(this.__wbg_ptr,i,o,e,r)}setup_sw_target(t,e){return 0!==n.dotlottieplayerwasm_setup_sw_target(this.__wbg_ptr,t,e)}get_pixel_buffer(){return I(n.dotlottieplayerwasm_get_pixel_buffer(this.__wbg_ptr))}set_audio_volume(t){n.dotlottieplayerwasm_set_audio_volume(this.__wbg_ptr,t)}sm_current_state(){let t,e;try{let o=n.__wbindgen_add_to_stack_pointer(-16);n.dotlottieplayerwasm_sm_current_state(o,this.__wbg_ptr);var r=x().getInt32(o+0,!0),i=x().getInt32(o+4,!0);return t=r,e=i,y(r,i)}finally{n.__wbindgen_add_to_stack_pointer(16),n.__wbindgen_export_3(t,e,1)}}state_machine_id(){try{let r,i=n.__wbindgen_add_to_stack_pointer(-16);n.dotlottieplayerwasm_state_machine_id(i,this.__wbg_ptr);var t=x().getInt32(i+0,!0),e=x().getInt32(i+4,!0);return 0!==t&&(r=y(t,e).slice(),n.__wbindgen_export_3(t,+e,1)),r}finally{n.__wbindgen_add_to_stack_pointer(16)}}get_state_machine(t){try{let i,o=n.__wbindgen_add_to_stack_pointer(-16),s=M(t,n.__wbindgen_export_1,n.__wbindgen_export_2),_=v;n.dotlottieplayerwasm_get_state_machine(o,this.__wbg_ptr,s,_);var e=x().getInt32(o+0,!0),r=x().getInt32(o+4,!0);return 0!==e&&(i=y(e,r).slice(),n.__wbindgen_export_3(e,+r,1)),i}finally{n.__wbindgen_add_to_stack_pointer(16)}}set_position_slot(t,e,r){let i=M(t,n.__wbindgen_export_1,n.__wbindgen_export_2),o=v;return 0!==n.dotlottieplayerwasm_set_position_slot(this.__wbg_ptr,i,o,e,r)}current_loop_count(){return n.dotlottieplayerwasm_current_loop_count(this.__wbg_ptr)>>>0}set_asset_resolver(t){n.dotlottieplayerwasm_set_asset_resolver(this.__wbg_ptr,m(t)?0:g(t))}sm_framework_setup(){return I(n.dotlottieplayerwasm_sm_framework_setup(this.__wbg_ptr))}sm_post_pointer_up(t,e){n.dotlottieplayerwasm_sm_post_pointer_up(this.__wbg_ptr,t,e)}state_machine_load(t){let e=M(t,n.__wbindgen_export_1,n.__wbindgen_export_2),r=v;return 0!==n.dotlottieplayerwasm_state_machine_load(this.__wbg_ptr,e,r)}load_dotlottie_data(t){let e=E(t,n.__wbindgen_export_1),r=v;return 0!==n.dotlottieplayerwasm_load_dotlottie_data(this.__wbg_ptr,e,r)}sm_get_string_input(t){try{let i,o=n.__wbindgen_add_to_stack_pointer(-16),s=M(t,n.__wbindgen_export_1,n.__wbindgen_export_2),_=v;n.dotlottieplayerwasm_sm_get_string_input(o,this.__wbg_ptr,s,_);var e=x().getInt32(o+0,!0),r=x().getInt32(o+4,!0);return 0!==e&&(i=y(e,r).slice(),n.__wbindgen_export_3(e,+r,1)),i}finally{n.__wbindgen_add_to_stack_pointer(16)}}sm_set_string_input(t,e){let r=M(t,n.__wbindgen_export_1,n.__wbindgen_export_2),i=v,o=M(e,n.__wbindgen_export_1,n.__wbindgen_export_2),s=v;return 0!==n.dotlottieplayerwasm_sm_set_string_input(this.__wbg_ptr,r,i,o,s)}sm_get_boolean_input(t){let e=M(t,n.__wbindgen_export_1,n.__wbindgen_export_2),r=v,i=n.dotlottieplayerwasm_sm_get_boolean_input(this.__wbg_ptr,e,r);return 0xffffff===i?void 0:0!==i}sm_get_numeric_input(t){let e=M(t,n.__wbindgen_export_1,n.__wbindgen_export_2),r=v,i=n.dotlottieplayerwasm_sm_get_numeric_input(this.__wbg_ptr,e,r);return 0x100000001===i?void 0:i}sm_post_pointer_down(t,e){n.dotlottieplayerwasm_sm_post_pointer_down(this.__wbg_ptr,t,e)}sm_post_pointer_exit(t,e){n.dotlottieplayerwasm_sm_post_pointer_exit(this.__wbg_ptr,t,e)}sm_post_pointer_move(t,e){n.dotlottieplayerwasm_sm_post_pointer_move(this.__wbg_ptr,t,e)}sm_set_boolean_input(t,e){let r=M(t,n.__wbindgen_export_1,n.__wbindgen_export_2),i=v;return 0!==n.dotlottieplayerwasm_sm_set_boolean_input(this.__wbg_ptr,r,i,e)}sm_set_numeric_input(t,e){let r=M(t,n.__wbindgen_export_1,n.__wbindgen_export_2),i=v;return 0!==n.dotlottieplayerwasm_sm_set_numeric_input(this.__wbg_ptr,r,i,e)}state_machine_unload(){n.dotlottieplayerwasm_state_machine_unload(this.__wbg_ptr)}sm_post_pointer_enter(t,e){n.dotlottieplayerwasm_sm_post_pointer_enter(this.__wbg_ptr,t,e)}load_animation_from_id(t){let e=M(t,n.__wbindgen_export_1,n.__wbindgen_export_2),r=v;return 0!==n.dotlottieplayerwasm_load_animation_from_id(this.__wbg_ptr,e,r)}sm_poll_internal_event(){return I(n.dotlottieplayerwasm_sm_poll_internal_event(this.__wbg_ptr))}use_frame_interpolation(){return 0!==n.dotlottieplayerwasm_use_frame_interpolation(this.__wbg_ptr)}reset_current_loop_count(){n.dotlottieplayerwasm_reset_current_loop_count(this.__wbg_ptr)}sm_override_current_state(t,e){let r=M(t,n.__wbindgen_export_1,n.__wbindgen_export_2),i=v;return 0!==n.dotlottieplayerwasm_sm_override_current_state(this.__wbg_ptr,r,i,e)}state_machine_load_from_id(t){let e=M(t,n.__wbindgen_export_1,n.__wbindgen_export_2),r=v;return 0!==n.dotlottieplayerwasm_state_machine_load_from_id(this.__wbg_ptr,e,r)}set_use_frame_interpolation(t){n.dotlottieplayerwasm_set_use_frame_interpolation(this.__wbg_ptr,t)}constructor(){let t=n.dotlottieplayerwasm_new();return this.__wbg_ptr=t>>>0,R.register(this,this.__wbg_ptr,this),this}mode(){return n.dotlottieplayerwasm_mode(this.__wbg_ptr)}play(){return 0!==n.dotlottieplayerwasm_play(this.__wbg_ptr)}stop(){return 0!==n.dotlottieplayerwasm_stop(this.__wbg_ptr)}tick(t){return 0!==n.dotlottieplayerwasm_tick(this.__wbg_ptr,t)}pause(){return 0!==n.dotlottieplayerwasm_pause(this.__wbg_ptr)}speed(){return n.dotlottieplayerwasm_speed(this.__wbg_ptr)}width(){return n.dotlottieplayerwasm_width(this.__wbg_ptr)>>>0}height(){return n.dotlottieplayerwasm_height(this.__wbg_ptr)>>>0}render(){return 0!==n.dotlottieplayerwasm_render(this.__wbg_ptr)}status(){return n.dotlottieplayerwasm_status(this.__wbg_ptr)}markers(){return I(n.dotlottieplayerwasm_markers(this.__wbg_ptr))}sm_fire(t){let e=M(t,n.__wbindgen_export_1,n.__wbindgen_export_2),r=v;return 0!==n.dotlottieplayerwasm_sm_fire(this.__wbg_ptr,e,r)}sm_stop(){return 0!==n.dotlottieplayerwasm_sm_stop(this.__wbg_ptr)}sm_tick(t){return 0!==n.dotlottieplayerwasm_sm_tick(this.__wbg_ptr,t)}autoplay(){return 0!==n.dotlottieplayerwasm_autoplay(this.__wbg_ptr)}duration(){return n.dotlottieplayerwasm_duration(this.__wbg_ptr)}set_loop(t){n.dotlottieplayerwasm_set_loop(this.__wbg_ptr,t)}set_mode(t){n.dotlottieplayerwasm_set_mode(this.__wbg_ptr,t)}sm_start(t,e){let r=function(t,e){let r=e(4*t.length,4)>>>0,n=x();for(let e=0;e<t.length;e++)n.setUint32(r+4*e,g(t[e]),!0);return v=t.length,r}(e,n.__wbindgen_export_1),i=v;return 0!==n.dotlottieplayerwasm_sm_start(this.__wbg_ptr,t,r,i)}theme_id(){try{let r,i=n.__wbindgen_add_to_stack_pointer(-16);n.dotlottieplayerwasm_theme_id(i,this.__wbg_ptr);var t=x().getInt32(i+0,!0),e=x().getInt32(i+4,!0);return 0!==t&&(r=y(t,e).slice(),n.__wbindgen_export_3(t,+e,1)),r}finally{n.__wbindgen_add_to_stack_pointer(16)}}load_font(t,e){let r=M(t,n.__wbindgen_export_1,n.__wbindgen_export_2),i=v,o=E(e,n.__wbindgen_export_1),s=v;return 0!==n.dotlottieplayerwasm_load_font(this.__wbg_ptr,r,i,o,s)}set_frame(t){return 0!==n.dotlottieplayerwasm_set_frame(this.__wbg_ptr,t)}set_speed(t){n.dotlottieplayerwasm_set_speed(this.__wbg_ptr,t)}set_theme(t){let e=M(t,n.__wbindgen_export_1,n.__wbindgen_export_2),r=v;return 0!==n.dotlottieplayerwasm_set_theme(this.__wbg_ptr,e,r)}sm_status(){let t,e;try{let o=n.__wbindgen_add_to_stack_pointer(-16);n.dotlottieplayerwasm_sm_status(o,this.__wbg_ptr);var r=x().getInt32(o+0,!0),i=x().getInt32(o+4,!0);
1return t=r,e=i,y(r,i)}finally{n.__wbindgen_add_to_stack_pointer(16),n.__wbindgen_export_3(t,e,1)}}};async function z(t,e){if("function"==typeof Response&&t instanceof Response){if("function"==typeof WebAssembly.instantiateStreaming)try{return await WebAssembly.instantiateStreaming(t,e)}catch(e){if("application/wasm"!=t.headers.get("Content-Type"))console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve Wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n",e);else throw e}let r=await t.arrayBuffer();return await WebAssembly.instantiate(r,e)}{let r=await WebAssembly.instantiate(t,e);return r instanceof WebAssembly.Instance?{instance:r,module:t}:r}}async function D(t){let e;if(void 0!==n)return n;if(void 0!==t&&(Object.getPrototypeOf(t)===Object.prototype?{module_or_path:t}=t:console.warn("using deprecated parameters for the initialization function; pass a single object instead")),void 0===t)throw Error("WASM module URL must be provided via DotLottieWasmLoader or setWasmUrl().");let r=((e={}).wbg={},e.wbg.__wbg_appendChild_8204974b7328bf98=function(){return p(function(t,e){return g(h[t].appendChild(h[e]))},arguments)},e.wbg.__wbg_body_942ea927546a04ba=function(t){let e=h[t].body;return m(e)?0:g(e)},e.wbg.__wbg_buffer_609cc3eee51ed158=function(t){return g(h[t].buffer)},e.wbg.__wbg_call_672a4d21634d4a24=function(){return p(function(t,e){return g(h[t].call(h[e]))},arguments)},e.wbg.__wbg_call_7cccdd69e0791ae2=function(){return p(function(t,e,r){return g(h[t].call(h[e],h[r]))},arguments)},e.wbg.__wbg_catch_a6e601879b2610e9=function(t,e){return g(h[t].catch(h[e]))},e.wbg.__wbg_createElement_8c9931a732ee2fea=function(){return p(function(t,e,r){return g(h[t].createElement(y(e,r)))},arguments)},e.wbg.__wbg_createObjectURL_6e98d2f9c7bd9764=function(){return p(function(t,e){let r=M(URL.createObjectURL(h[e]),n.__wbindgen_export_1,n.__wbindgen_export_2),i=v;x().setInt32(t+4,i,!0),x().setInt32(t+0,r,!0)},arguments)},e.wbg.__wbg_currentTime_7940fe39798a1ca0=function(t){return h[t].currentTime},e.wbg.__wbg_data_d1ed736c1e42b10e=function(t,e){let r=E(h[e].data,n.__wbindgen_export_1),i=v;x().setInt32(t+4,i,!0),x().setInt32(t+0,r,!0)}
1,e.wbg.__wbg_document_d249400bd7bd996d=function(t){let e=h[t].document;return m(e)?0:g(e)},e.wbg.__wbg_drawImage_803dcc46897223c9=function(){return p(function(t,e,r,n){h[t].drawImage(h[e],r,n)},arguments)},e.wbg.__wbg_duration_4d32c501d87796c1=function(t){return h[t].duration},e.wbg.__wbg_error_7534b8e9a36f1ab4=function(t,e){let r,i;try{r=t,i=e,console.error(y(t,e))}finally{n.__wbindgen_export_3(r,i,1)}},e.wbg.__wbg_getContext_e9cf379449413580=function(){return p(function(t,e,r){let n=h[t].getContext(y(e,r));return m(n)?0:g(n)},arguments)},e.wbg.__wbg_getImageData_c02374a30b126dab=function(){return p(function(t,e,r,n,i){return g(h[t].getImageData(e,r,n,i))},arguments)},e.wbg.__wbg_instanceof_CanvasRenderingContext2d_df82a4d3437bf1cc=function(t){let e;try{e=h[t]instanceof CanvasRenderingContext2D}catch{e=!1}return e},e.wbg.__wbg_instanceof_HtmlCanvasElement_2ea67072a7624ac5=function(t){let e;try{e=h[t]instanceof HTMLCanvasElement}catch{e=!1}return e},e.wbg.__wbg_instanceof_HtmlVideoElement_7f414b32f362e317=function(t){let e;try{e=h[t]instanceof HTMLVideoElement}catch{e=!1}return e},e.wbg.__wbg_instanceof_Window_def73ea0955fc569=function(t){let e;try{e=h[t]instanceof Window}catch{e=!1}return e},e.wbg.__wbg_length_a446193dc22c12f8=function(t){return h[t].length},e.wbg.__wbg_load_2671477a3293aadb=function(t){h[t].load()},e.wbg.__wbg_new_405e22f390576ce2=function(){return g({})},e.wbg.__wbg_new_78feb108b6472713=function(){return g([])},e.wbg.__wbg_new_8a6f238a6ece86ea=function(){return g(Error())},e.wbg.__wbg_new_a12002a7f91c75be=function(t){return g(new Uint8Array(h[t]))},e.wbg.__wbg_newnoargs_105ed471475aaf50=function(t,e){return g(Function(y(t,e)))},e.wbg.__wbg_newwithbyteoffsetandlength_d97e637ebe145a9a=function(t,e,r){return g(new Uint8Array(h[t],e>>>0,r>>>0))},e.wbg.__wbg_newwithlength_5a5efe313cfd59f1=function(t){return g(new Float32Array(t>>>0))},e.wbg.__wbg_newwithsrc_20307ca7e8762a81=function(){return p(function(t,e){return g(new Audio(y(t,e)))},arguments)},e.wbg.__wbg_newwithu8arraysequenceandoptions_068570c487f69127=function(){return p(function(t,e){return g(new Blob(h[t],h[e]))},arguments)},e.wbg.__wbg_pause_b74c96d69f769518=function(){return p(function(t){h[t].pause()},arguments)},e.wbg.__wbg_paused_9b2affc0a8a62e86=function(t){return h[t].paused},e.wbg.__wbg_play_f6ec5fc4e84b0d26=function(){return p(function(t){return g(h[t].play())},arguments)},e.wbg.__wbg_push_737cfc8c1432c2c6=function(t,e){return h[t].push(h[e])},e.wbg.__wbg_readyState_017c08aa5e73517e=function(t){return h[t].readyState},e.wbg.__wbg_remove_e2d2659f3128c045=function(t){h[t].remove()},e.wbg.__wbg_revokeObjectURL_27267efebeb457c7=function(){return p(function(t,e){URL.revokeObjectURL(y(t,e))},arguments)},e.wbg.__wbg_seeking_c0427be38e698dcd=function(t){return h[t].seeking},e.wbg.__wbg_setAttribute_2704501201f15687=function(){return p(function(t,e,r,n,i){h[t].setAttribute(y(e,r),y(n,i))},arguments)},e.wbg.__wbg_set_65595bdd868b3009=function(t,e,r){h[t].set(h[e],r>>>0)},e.wbg.__wbg_set_bb8cecf6a62b9f46=function(){return p(function(t,e,r){return Reflect.set(h[t],h[e],h[r])},arguments)},e.wbg.__wbg_setcssText_e018c236104b0233=function(t,e,r){h[t].cssText=y(e,r)},e.wbg.__wbg_setcurrentTime_64727eddd3966512=function(t,e){h[t].currentTime=e},e.wbg.__wbg_setheight_da683a33fa99843c=function(t,e){h[t].height=e>>>0},e.wbg.__wbg_setindex_4e73afdcd9bb95cd=function(t,e,r){h[t][e>>>0]=r},e.wbg.__wbg_setmuted_e93fc48340c43e67=function(t,e){h[t].muted=0!==e},e.wbg.__wbg_setplaybackRate_f5c3b8896f82425e=function(t,e){h[t].playbackRate=e},e.wbg.__wbg_setpreload_d2fb02758e3f8e3a=function(t,e,r){h[t].preload=y(e,r)},e.wbg.__wbg_setsrc_3a759736e2659904=function(t,e,r){h[t].src=y(e,r)},e.wbg.__wbg_settype_39ed370d3edd403c=function(t,e,r){h[t].type=y(e,r)},e.wbg.__wbg_setvolume_3895e06a030ca4f7=function(t,e){h[t].volume=e},e.wbg.__wbg_setwidth_c5fed9f5e7f0b406=function(t,e){h[t].width=e>>>0},e.wbg.__wbg_stack_0ed75d68575b0f3c=function(t,e){let r=M(h[e].stack,n.__wbindgen_export_1,n.__wbindgen_export_2),i=v;x().setInt32(t+4,i,!0),x().setInt32(t+0,r,!0)}
1,e.wbg.__wbg_static_accessor_GLOBAL_88a902d13a557d07=function(){let t=typeof global>"u"?null:global;return m(t)?0:g(t)},e.wbg.__wbg_static_accessor_GLOBAL_THIS_56578be7e9f832b0=function(){let t=typeof globalThis>"u"?null:globalThis;return m(t)?0:g(t)},e.wbg.__wbg_static_accessor_SELF_37c5d418e4bf5819=function(){let t=typeof self>"u"?null:self;return m(t)?0:g(t)},e.wbg.__wbg_static_accessor_WINDOW_5de37043a91a9c40=function(){let t=typeof window>"u"?null:window;return m(t)?0:g(t)},e.wbg.__wbg_style_fb30c14e5815805c=function(t){return g(h[t].style)},e.wbg.__wbg_videoHeight_3a43327a766c1f03=function(t){return h[t].videoHeight},e.wbg.__wbg_videoWidth_4b400cf6f4744a4d=function(t){return h[t].videoWidth},e.wbg.__wbindgen_cb_drop=function(t){let e=I(t).original;return 1==e.cnt--&&(e.a=0,!0)},e.wbg.__wbindgen_closure_wrapper109=function(t,e,r){let i,o;return g((i={a:t,b:e,cnt:1,dtor:7},(o=(...t)=>{i.cnt++;let e=i.a;i.a=0;try{return A(e,i.b,...t)}finally{0==--i.cnt?(n.__wbindgen_export_4.get(i.dtor)(e,i.b),S.unregister(i)):i.a=e}}).original=i,S.register(o,i,i),o))},e.wbg.__wbindgen_is_null=function(t){return null===h[t]},e.wbg.__wbindgen_is_undefined=function(t){return void 0===h[t]},e.wbg.__wbindgen_memory=function(){return g(n.memory)},e.wbg.__wbindgen_number_new=function(t){return g(t)},e.wbg.__wbindgen_object_clone_ref=function(t){return g(h[t])},e.wbg.__wbindgen_object_drop_ref=function(t){I(t)},e.wbg.__wbindgen_string_get=function(t,e){let r=h[e],i="string"==typeof r?r:void 0;var o=m(i)?0:M(i,n.__wbindgen_export_1,n.__wbindgen_export_2),s=v;x().setInt32(t+4,s,!0),x().setInt32(t+0,o,!0)},e.wbg.__wbindgen_string_new=function(t,e){return g(y(t,e))},e.wbg.__wbindgen_throw=function(t,e){throw Error(y(t,e))},e);("string"==typeof t||"function"==typeof Request&&t instanceof Request||"function"==typeof URL&&t instanceof URL)&&(t=fetch(t));let{instance:i,module:o}=await z(await t,r);return n=i.exports,D.__wbindgen_wasm_module=o,k=null,P=null,b=null,n}var U=class{constructor(){o(this,"_eventListeners",new Map)}addEventListener(t,e){let r=this._eventListeners.get(t);r||(r=new Set,this._eventListeners.set(t,r)),r.add(e)}removeEventListener(t,e){let r=this._eventListeners.get(t);r&&(e?(r.delete(e),0===r.size&&this._eventListeners.delete(t)):this._eventListeners.delete(t))}dispatch(t){this._eventListeners.get(t.type)?.forEach(e=>e(t))}removeAllEventListeners(){this._eventListeners.clear()}},B=class t{static _initializeObserver(){t._observer||(t._observer=new IntersectionObserver(e=>{e.forEach(e=>{let r=t._observedCanvases.get(e.target);r&&(e.isIntersecting?r.unfreeze():r.freeze())})},{threshold:0}))}static observe(e,r){t._initializeObserver(),t._observedCanvases.has(e)||(t._observedCanvases.set(e,r),t._observer?.observe(e))}static unobserve(e){t._observer?.unobserve(e),t._observedCanvases.delete(e),0===t._observedCanvases.size&&(t._observer?.disconnect(),t._observer=null)}};o(B,"_observer",null),o(B,"_observedCanvases",new Map);var N=class t{static _initializeObserver(){t._observer||(t._observer=new ResizeObserver(e=>{e.forEach(e=>{let r=t._observedCanvases.get(e.target);if(!r)return;let[n,i]=r;clearTimeout(i);let o=setTimeout(()=>{n.resize()},100);t._observedCanvases.set(e.target,[n,o])})}))}static observe(e,r){t._initializeObserver(),t._observedCanvases.has(e)||(t._observedCanvases.set(e,[r,0]),t._observer?.observe(e))}static unobserve(e){let r=t._observedCanvases.get(e);if(r){let t=r[1];t&&clearTimeout(t)}t._observer?.unobserve(e),t._observedCanvases.delete(e),!t._observedCanvases.size&&t._observer&&(t._observer.disconnect(),t._observer=null)}};function W(t){if(t.byteLength<4)return!1;let e=new Uint8Array(t.slice(0,d.byteLength));for(let t=0;t<d.length;t+=1)if(d[t]!==e[t])return!1;return!0}function $(t){return"string"==typeof t?/^\s*\{/u.test(t)&&/\}\s*$/u.test(t):u.every(e=>Object.hasOwn(t,e))}function j(){return 1+((l?window.devicePixelRatio:1)-1)*.75}function q(t){let e=t.getBoundingClientRect(),r=window.innerHeight||document.documentElement.clientHeight,n=window.innerWidth||document.documentElement.clientWidth;return!(e.bottom<0||e.top>r||e.right<0||e.left>n)}function H(t){let e=t.target;if(e instanceof HTMLCanvasElement){let r=e.getBoundingClientRect();if(0===r.width||0===r.height||0===e.width||0===e.height)return null;
1let n=e.width/r.width,i=e.height/r.height,o=(t.clientX-r.left)*n,s=(t.clientY-r.top)*i;return!Number.isFinite(o)||!Number.isFinite(s)||Number.isNaN(o)||Number.isNaN(s)?null:{x:o,y:s}}return null}async function V(t){var e;if(!/^https?:\/\//i.test(t))return t;let r=await fetch(t);if(!r.ok)throw Error(`Failed to fetch image slot source from URL: ${t}. ${r.status}: ${r.statusText}`);return e=await r.blob(),new Promise((t,r)=>{let n=new FileReader;n.onerror=()=>r(n.error??Error("Failed to read image slot source")),n.onload=()=>t(n.result),n.readAsDataURL(e)})}o(N,"_observer",null),o(N,"_observedCanvases",new Map);let J=null;function G(){return J??(J=function(t,e,r){let n=null,i=e,o=r;async function s(e){await t({module_or_path:e})}async function _(e){let r=await fetch(e);if(!r.ok)throw Error(`fetch ${e} responded with ${r.status} ${r.statusText}`);await t({module_or_path:await r.arrayBuffer()})}async function a(t,e){try{return await t(e),null}catch(t){return t}}return{load(){if(!n){let t=i,e=null;n=e=(async()=>{let r=await a(s,t);if(!r)return;console.warn(`Primary WASM load failed from ${t}: ${r.message}`);let i=null;if(null!==o){if(console.warn(`Attempting to load WASM from backup URL: ${o}`),!(i=await a(s,o)))return;console.warn(`Backup WASM load failed from ${o}: ${i.message}`)}console.warn("Retrying WASM load with buffered instantiation");let l=await a(_,t);if(l&&(console.warn(`Buffered WASM load from ${t} failed: ${l.message}`),!(null!==o&&!(l=await a(_,o)))))throw console.error(`Primary WASM URL failed: ${r.message}`),i&&console.error(`Backup WASM URL failed: ${i.message}`),console.error(`Buffered fallback failed: ${l.message}`),n===e&&(n=null),Error("WASM loading failed from all sources.")})()}return n},setWasmUrl(t){if("string"!=typeof t||""===t.trim())throw TypeError("setWasmUrl() expects a non-empty URL string");o=null,t!==i&&(i=t,n=null)}}}(D,"https://cdn.jsdelivr.net/npm/@lottiefiles/[email protected]/dist/dotlottie-player.wasm","https://unpkg.com/@lottiefiles/[email protected]/dist/dotlottie-player.wasm")),J}let K=t=>{switch(t){case"reverse":return O.Reverse;case"bounce":return O.Bounce;case"reverse-bounce":return O.ReverseBounce;default:return O.Forward}},Y=t=>{switch(t){case O.Reverse:return"reverse";case O.Bounce:return"bounce";case O.ReverseBounce:return"reverse-bounce";default:return"forward"}};var X=class{constructor(t){o(this,"_canvas",null),o(this,"_pendingLoad",null),o(this,"_srcFetchAbort",null),o(this,"_context",null),o(this,"_eventManager",void 0),o(this,"_animationFrameId",null),o(this,"_frameManager",void 0),o(this,"_boundAnimationLoop",void 0),o(this,"_dotLottieCore",null),o(this,"_stateMachineId",""),o(this,"_stateMachineConfig",null),o(this,"_isStateMachineRunning",!1),o(this,"_renderConfig",{}),o(this,"_isFrozen",!1),o(this,"_backgroundColor",null),o(this,"_lastFrameTime",null),o(this,"_boundOnClick",null),o(this,"_boundOnPointerUp",null),o(this,"_boundOnPointerDown",null),o(this,"_boundOnPointerMove",null),o(this,"_boundOnPointerEnter",null),o(this,"_boundOnPointerLeave",null),o(this,"_bufferMismatchCount",0),o(this,"_lastExpectedBufferSize",0),o(this,"_cachedImageData",null),o(this,"_cachedImageDataBuffer",null),o(this,"_cachedImageDataByteOffset",0),o(this,"_marker",""),o(this,"_segment",null),this._canvas=t.canvas??null,this._eventManager=new U,this._frameManager=new a,this._boundAnimationLoop=this._animationLoop.bind(this),this._renderConfig={...t.renderConfig,devicePixelRatio:t.renderConfig?.devicePixelRatio||j(),freezeOnOffscreen:t.renderConfig?.freezeOnOffscreen??!0};let e=null;t.src&&!t.data&&(this._srcFetchAbort=new AbortController,(e=this._fetchData(t.src,this._srcFetchAbort.signal)).catch(()=>{})),this._initWasm().then(()=>{this._dotLottieCore=this._createCore(),this._dotLottieCore.set_autoplay(t.autoplay??!1),this._dotLottieCore.set_loop(t.loop??!1),this._dotLottieCore.set_loop_count(t.loopCount??0),this._dotLottieCore.set_mode(K(t.mode??"forward")),this._dotLottieCore.set_speed(t.speed??1),this._dotLottieCore.set_use_frame_interpolation(t.useFrameInterpolation??!0),t.segment&&2===t.segment.length&&(this._segment=[t.segment[0],t.segment[1]],this._dotLottieCore.set_segment(this._segment[0],this._segment[1])),this._marker=t.marker??"",this._marker&&this._dotLottieCore.set_marker(this._marker),this._dotLottieCore.set_layout(t.layout?.fit??"contain",t.layout?.align?.[0]??.5,t.layout?.align?.[1]??.5),this._applyAssetResolver(t.assetResolver??null),this._stateMachineId=t.stateMachineId??"",this._stateMachineConfig=t.stateMachineConfig??null,this._onCoreCreated(),this._eventManager.dispatch({type:"ready"}
1),t.data?this._canvas?this._loadFromData(t.data):this._pendingLoad={data:t.data}:t.src&&(this._canvas?this._loadFromSrc(t.src,e):this._pendingLoad={src:t.src,dataPromise:e}),t.backgroundColor&&this.setBackgroundColor(t.backgroundColor)}).catch(t=>{this._srcFetchAbort?.abort(),console.error("[dotlottie-web] Initialization failed:",t),this._eventManager.dispatch({type:"loadError",error:Error(`Failed to load wasm module: ${t}`)})})}async _initWasm(){return G().load()}_createCore(){return new T}_onCoreCreated(){}_setupTarget(t,e){return!!this._dotLottieCore&&this._dotLottieCore.setup_sw_target(t,e)}_drainPlayerEvents({skipFrame:t=!1}={}){if(this._dotLottieCore)for(;;){let e=this._dotLottieCore.poll_event();if(null==e)break;switch(e.type){case"Load":setTimeout(()=>this._eventManager.dispatch({type:"load"}),0);break;case"LoadError":setTimeout(()=>this._eventManager.dispatch({type:"loadError",error:Error("failed to load")}),0);break;case"Play":queueMicrotask(()=>this._eventManager.dispatch({type:"play"}));break;case"Pause":queueMicrotask(()=>this._eventManager.dispatch({type:"pause"}));break;case"Stop":queueMicrotask(()=>this._eventManager.dispatch({type:"stop"}));break;case"Frame":{let r=e.frameNo??0;t||queueMicrotask(()=>this._eventManager.dispatch({type:"frame",currentFrame:r}));break}case"Render":{let r=e.frameNo??0;t||queueMicrotask(()=>this._eventManager.dispatch({type:"render",currentFrame:r}));break}case"Loop":{let t=e.loopCount??0;queueMicrotask(()=>this._eventManager.dispatch({type:"loop",loopCount:t}));break}case"Complete":queueMicrotask(()=>this._eventManager.dispatch({type:"complete"}))}}}_discardPlayerEvents(){for(;this._dotLottieCore?.poll_event()!=null;);}_drainSmEvents(){if(this._dotLottieCore){for(;;){let t=this._dotLottieCore.sm_poll_event();if(null==t)break;switch(t.type){case"Start":queueMicrotask(()=>{this._isStateMachineRunning=!0,this._eventManager.dispatch({type:"stateMachineStart"}),this._startAnimationLoop()});break;case"Stop":queueMicrotask(()=>{this._isStateMachineRunning=!1,this._eventManager.dispatch({type:"stateMachineStop"}),this._dotLottieCore?.status()!==F.Playing&&this._stopAnimationLoop()});break;case"CustomEvent":this._eventManager.dispatch({type:"stateMachineCustomEvent",eventName:t.message??""});break;case"BooleanInputChange":this._eventManager.dispatch({type:"stateMachineBooleanInputValueChange",inputName:t.name??"",newValue:t.newValue,oldValue:t.oldValue});break;case"NumericInputChange":this._eventManager.dispatch({type:"stateMachineNumericInputValueChange",inputName:t.name??"",newValue:t.newValue,oldValue:t.oldValue});break;case"StringInputChange":this._eventManager.dispatch({type:"stateMachineStringInputValueChange",inputName:t.name??"",newValue:t.newValue,oldValue:t.oldValue});break;case"InputFired":this._eventManager.dispatch({type:"stateMachineInputFired",inputName:t.name??""});break;case"Transition":this._eventManager.dispatch({type:"stateMachineTransition",fromState:t.previousState??"",toState:t.newState??""});break;case"StateEntered":this._eventManager.dispatch({type:"stateMachineStateEntered",state:t.state??""});break;case"StateExit":this._eventManager.dispatch({type:"stateMachineStateExit",state:t.state??""});break;case"Error":this._eventManager.dispatch({type:"stateMachineError",error:t.message??""})}}for(;;){let t=this._dotLottieCore.sm_poll_internal_event();if(null==t)break;if("Message"===t.type){let e=t.message??"";l&&e.startsWith("OpenUrl: ")?function(t){let e=t.replace("OpenUrl: ",""),r=e.indexOf(" | Target: "),n,i;-1===r?(n=e,i="_blank"):(n=e.substring(0,r),i=e.substring(r+11)),window.open(n,i)}(e):this._eventManager.dispatch({type:"stateMachineInternalMessage",message:e})}}}}_dispatchError(t){console.error(t),this._eventManager.dispatch({type:"loadError",error:Error(t)})}async _fetchData(t,e=null){let r=await fetch(t,{signal:e});if(!r.ok)throw Error(`Failed to fetch animation data from URL: ${t}. ${r.status}: ${r.statusText}`);let n=await r.arrayBuffer();return W(n)?n:new TextDecoder().decode(n)}_loadFromData(t){if(null===this._dotLottieCore)return;if(!this._canvas)return void console.warn("[dotlottie-web] Cannot load animation without canvas. Call setCanvas() f
1irst.");this._syncCanvasSize(),this._setupTarget(this._canvas.width,this._canvas.height);let e=!1;if("string"==typeof t){if(!(e=this._dotLottieCore.load_animation(t))&&!$(t)){this._discardPlayerEvents(),this._dispatchError("Invalid Lottie JSON string: The provided string does not conform to the Lottie JSON format.");return}}else if(t instanceof ArrayBuffer){if(!W(t))return void this._dispatchError("Invalid dotLottie ArrayBuffer: The provided ArrayBuffer does not conform to the dotLottie format.");e=this._dotLottieCore.load_dotlottie_data(new Uint8Array(t))}else{if("object"!=typeof t)return void this._dispatchError(`Unsupported data type for animation data. Expected: 2 - string (Lottie JSON), 3 - ArrayBuffer (dotLottie), 4 - object (Lottie JSON). 5 Received: ${typeof t}`);if(!$(t))return void this._dispatchError("Invalid Lottie JSON object: The provided object does not conform to the Lottie JSON format.");e=this._dotLottieCore.load_animation(JSON.stringify(t))}if(e){if(void 0!==this._renderConfig.quality&&this._dotLottieCore.set_quality(this._renderConfig.quality),this._drainPlayerEvents({skipFrame:!!this._marker||!!this._segment}),this._marker&&this._dotLottieCore.set_marker(this._marker),this._segment){this._dotLottieCore.set_segment(this._segment[0],this._segment[1]);let t=Y(this._dotLottieCore.mode()),e="reverse"===t||"reverse-bounce"===t?this._segment[1]:this._segment[0];this._dotLottieCore.set_frame(e)}setTimeout(()=>{this._eventManager.dispatch({type:"frame",currentFrame:this.currentFrame})},0),this._dotLottieCore.render(),this._drainPlayerEvents(),this._draw(),this._stateMachineId?this.stateMachineLoad(this._stateMachineId)&&this.stateMachineStart()&&this._startAnimationLoop():this._dotLottieCore.status()===F.Playing&&this._startAnimationLoop(),l&&this._canvas instanceof HTMLCanvasElement&&(this._renderConfig.freezeOnOffscreen&&(B.observe(this._canvas,this),q(this._canvas)||this.freeze()),this._renderConfig.autoResize&&N.observe(this._canvas,this))}else this._drainPlayerEvents()}_loadFromSrc(t,e){(e??this._fetchData(t)).then(t=>this._loadFromData(t)).catch(e=>this._dispatchError(`Failed to load animation data from URL: ${t}. ${e}`))}get buffer(){return this._dotLottieCore?this._dotLottieCore.get_pixel_buffer():null}get activeAnimationId(){return this._dotLottieCore?.animation_id()??void 0}get activeThemeId(){return this._dotLottieCore?.theme_id()??void 0}get layout(){if(this._dotLottieCore)return{align:[this._dotLottieCore.layout_align_x(),this._dotLottieCore.layout_align_y()],fit:(t=>{switch(t){case"contain":default:return"contain";case"cover":return"cover";case"fill":return"fill";case"fit-height":return"fit-height";case"fit-width":return"fit-width";case"none":return"none"}})(this._dotLottieCore.layout_fit())}}get marker(){return this._dotLottieCore?.current_marker()??""}get manifest(){try{let t=this._dotLottieCore?.manifest_string();if(null===this._dotLottieCore||!t)return null;let e=JSON.parse(t);return 0===Object.keys(e).length?null:e}catch{return null}}get renderConfig(){return this._renderConfig}get segment(){if(this._dotLottieCore)return[this._dotLottieCore.segment_start(),this._dotLottieCore.segment_end()]}get loop(){return this._dotLottieCore?.loop_animation()??!1}get mode(){return this._dotLottieCore?Y(this._dotLottieCore.mode()):"forward"}get isFrozen(){return this._isFrozen}get isStateMachineRunning(){return this._isStateMachineRunning}get backgroundColor(){return this._backgroundColor??""}get autoplay(){return this._dotLottieCore?.autoplay()??!1}get useFrameInterpolation(){return this._dotLottieCore?.use_frame_interpolation()??!1}get speed(){return this._dotLottieCore?.speed()??0}get isReady(){return null!==this._dotLottieCore}get isLoaded(){return(this._dotLottieCore?.status()??F.Idle)!==F.Idle}get isPlaying(){return this._dotLottieCore?.status()===F.Playing}get isPaused(){return this._dotLottieCore?.status()===F.Paused}get isStopped(){return this._dotLottieCore?.status()===F.Stopped}get currentFrame(){return this._dotLottieCore?Math.round(100*this._dotLottieCore.current_frame())/100:0}get loopCount(){return this._dotLottieCore?.current_loop_count()??0}get totalFrames(){return this._dotLottieCore?.total_frames()??0}get duration(){return(this._dotLottieCore?.duration()??0)/1e3}
5get canvas(){return this._canvas}load(t){null!==this._dotLottieCore&&(this._stopAnimationLoop(),this._cleanupCanvas(),this._isFrozen=!1,this._dotLottieCore.set_autoplay(t.autoplay??!1),this._dotLottieCore.set_loop(t.loop??!1),this._dotLottieCore.set_loop_count(t.loopCount??0),this._dotLottieCore.set_mode(K(t.mode??"forward")),this._dotLottieCore.set_speed(t.speed??1),this._dotLottieCore.set_use_frame_interpolation(t.useFrameInterpolation??!0),t.segment&&2===t.segment.length?(this._segment=[t.segment[0],t.segment[1]],this._dotLottieCore.set_segment(this._segment[0],this._segment[1])):(this._segment=null,this._dotLottieCore.clear_segment()),this._marker=t.marker??"",this._marker?this._dotLottieCore.set_marker(this._marker):this._dotLottieCore.clear_marker(),this._dotLottieCore.set_layout(t.layout?.fit??"contain",t.layout?.align?.[0]??.5,t.layout?.align?.[1]??.5),this._applyAssetResolver(t.assetResolver??null),t.data?this._canvas?this._loadFromData(t.data):this._pendingLoad={data:t.data}:t.src&&(this._canvas?this._loadFromSrc(t.src):this._pendingLoad={src:t.src}),t.backgroundColor&&this.setBackgroundColor(t.backgroundColor))}_draw(){if(null===this._dotLottieCore||null===this._canvas||(!this._context&&"getContext"in this._canvas&&"function"==typeof this._canvas.getContext&&(!l||"u">typeof HTMLCanvasElement&&this._canvas instanceof HTMLCanvasElement||"u">typeof OffscreenCanvas&&this._canvas instanceof OffscreenCanvas)&&(this._context=this._canvas.getContext("2d")),!this._context))return;let t=this._dotLottieCore.get_pixel_buffer(),e=this._canvas.width,r=this._canvas.height,n=e*r*4;if(t.byteLength!==n){this._lastExpectedBufferSize===n?this._bufferMismatchCount+=1:(this._bufferMismatchCount=1,this._lastExpectedBufferSize=n),10===this._bufferMismatchCount&&console.warn(`[dotlottie-web] Persistent buffer size mismatch detected. Expected ${n} bytes for canvas ${e}x${r}, but got ${t.byteLength} bytes. This may indicate a WASM memory allocation issue or invalid canvas dimensions.`);return}this._bufferMismatchCount=0,this._lastExpectedBufferSize=n;let i=this._cachedImageData;if(null===i||i.width!==e||i.height!==r||i.data.byteLength!==n||this._cachedImageDataBuffer!==t.buffer||this._cachedImageDataByteOffset!==t.byteOffset){if(typeof ImageData>"u")this._cachedImageData=this._context.createImageData(e,r);else{let n=new Uint8ClampedArray(t.buffer,t.byteOffset,t.byteLength);this._cachedImageData=new ImageData(n,e,r)}this._cachedImageDataBuffer=t.buffer,this._cachedImageDataByteOffset=t.byteOffset}if(typeof ImageData>"u"){let e=new Uint8ClampedArray(t.buffer,t.byteOffset,t.byteLength);this._cachedImageData.data.set(e)}this._context.putImageData(this._cachedImageData,0,0)}_cleanupCanvas(){this._canvas&&l&&this._canvas instanceof HTMLCanvasElement&&(B.unobserve(this._canvas),N.unobserve(this._canvas),this._cleanupStateMachineListeners())}_initializeCanvas(){this._setupRendererOnCanvas(),this._canvas&&l&&this._canvas instanceof HTMLCanvasElement&&this.isLoaded&&(this._renderConfig.freezeOnOffscreen&&(B.observe(this._canvas,this),q(this._canvas)||this.freeze()),this._renderConfig.autoResize&&N.observe(this._canvas,this),this._isStateMachineRunning&&this._setupStateMachineListeners()),this._canvas&&this._dotLottieCore&&this.isLoaded&&this._setupTarget(this._canvas.width,this._canvas.height)&&(this._dotLottieCore.render(),this._draw())}_setupRendererOnCanvas(){this._context=null}_stopAnimationLoop(){null!==this._animationFrameId&&(this._frameManager.cancelAnimationFrame(this._animationFrameId),this._animationFrameId=null),this._lastFrameTime=null}_startAnimationLoop(){null===this._animationFrameId&&this._dotLottieCore&&!this._isFrozen&&(this._dotLottieCore.status()===F.Playing||this._isStateMachineRunning)&&(this._animationFrameId=this._frameManager.requestAnimationFrame(this._boundAnimationLoop))}_animationLoop(t){if(null===this._dotLottieCore||this._dotLottieCore.status()!==F.Playing&&!this._isStateMachineRunning)return void this._stopAnimationLoop();try{let e=null===this._lastFrameTime?0:t-this._lastFrameTime;this._lastFrameTime=t;let r=this._isStateMachineRunning?this._dotLottieCore.sm_tick(e):this._dotLottieCore.tick(e);this._isStateMachineRunning?this._drainSmEvents():this._drainPlayerEvents(),r&&this._draw(),this._animationFrameId=this._frameManager.requestAnimationFrame(this._boundAnimationLoop)}catch(t){console.error("Error in animation frame:",t),this._eventManager.dispatch({type:"renderError",error:t}),t instanceof WebAssembly.RuntimeError&&this.destroy()}}play(){if(null===this._dotLottieCore||!this.isLoaded)return;this._stopAnimationLoop();let t=this._dotLottieCore.play();this._drainPlayerEvents(),(t||this._dotLottieCore.status()===F.Playing)&&(this._isFrozen=!1,this._startAnimationLoop()),this._canvas&&l&&this._canvas instanceof HTMLCanvasElement&&this._renderConfig.freezeOnOffscreen&&!q(this._canvas)&&this.freeze()}pause(){null!==this._dotLottieCore&&(this._dotLottieCore.pause(),this._drainPlayerEvents(),this._stopAnimationLoop())}stop(){if(null===this._dotLottieCore)return;let t=this._dotLottieCore.stop();this._drainPlayerEvents(),this._stopAnimationLoop(),t&&(this._eventManager.dispatch({type:"frame",currentFrame:this.currentFrame}),this._dotLottieCore.render(),this._draw())}setFrame(t){if(null!==this._dotLottieCore&&this._dotLottieCore.set_frame(t)){let t=this._dotLottieCore.render();this._drainPlayerEvents(),t&&this._draw()}}setSpeed(t){null!==this._dotLottieCore&&this._dotLottieCore.set_speed(t)}
5setBackgroundColor(t){if(null!==this._dotLottieCore){if(l&&this._canvas instanceof HTMLCanvasElement)this._canvas.style.backgroundColor=t;else{let[e,r,n,i]=function(t){if(!/^#([\da-f]{6}|[\da-f]{8})$/iu.test(t))return[0,0,0,0];let e=t.replace("#","");return[parseInt((e=6===e.length?`${e}ff`:e).slice(0,2),16)/255,parseInt(e.slice(2,4),16)/255,parseInt(e.slice(4,6),16)/255,parseInt(e.slice(6,8),16)/255]}(t);this._dotLottieCore.set_background(e,r,n,i)}this._backgroundColor=t}}setLoop(t){null!==this._dotLottieCore&&this._dotLottieCore.set_loop(t)}setLoopCount(t){null!==this._dotLottieCore&&this._dotLottieCore.set_loop_count(t)}setUseFrameInterpolation(t){null!==this._dotLottieCore&&this._dotLottieCore.set_use_frame_interpolation(t)}_applyAssetResolver(t){if(null!==this._dotLottieCore){if(null===t)return void this._dotLottieCore.set_asset_resolver(null);this._dotLottieCore.set_asset_resolver(e=>{try{return t(e)??null}catch(t){return console.error(`[dotlottie-web] assetResolver threw for "${e}":`,t),null}})}}addEventListener(t,e){this._eventManager.addEventListener(t,e)}removeEventListener(t,e){this._eventManager.removeEventListener(t,e)}destroy(){this._stopAnimationLoop(),this._isStateMachineRunning=!1,this._cleanupCanvas(),this._srcFetchAbort?.abort(),this._srcFetchAbort=null,this._pendingLoad=null;let t=this._dotLottieCore;if(this._dotLottieCore=null,this._context=null,t)try{t.free()}catch(t){console.warn("[dotlottie-web] Error freeing wasm core during destroy:",t)}this._eventManager.dispatch({type:"destroy"}),this._eventManager.removeAllEventListeners(),this._cleanupStateMachineListeners()}freeze(){null!==this._animationFrameId&&(this._stopAnimationLoop(),this._isFrozen=!0,this._eventManager.dispatch({type:"freeze"}))}unfreeze(){null===this._animationFrameId&&(this._isFrozen=!1,this._eventManager.dispatch({type:"unfreeze"}),this._startAnimationLoop())}_syncCanvasSize(){if(!(l&&this._canvas instanceof HTMLCanvasElement))return;let t=this._renderConfig.devicePixelRatio||window.devicePixelRatio||1,{height:e,width:r}=this._canvas.getBoundingClientRect();0!==e&&0!==r&&(this._canvas.width=r*t,this._canvas.height=e*t)}resize(){this._dotLottieCore&&this.isLoaded&&this._canvas&&(this._syncCanvasSize(),this._setupTarget(this._canvas.width,this._canvas.height)&&(this._dotLottieCore.render(),this._draw()))}setCanvas(t){if(!(!t||this._canvas===t)&&(this._canvas&&this._cleanupCanvas(),this._canvas=t,this._initializeCanvas(),this._pendingLoad)){let t=this._pendingLoad;this._pendingLoad=null,t.data?this._loadFromData(t.data):t.src&&this._loadFromSrc(t.src,t.dataPromise)}}setTransform(t){if(!this._dotLottieCore)return!1;let e=this._dotLottieCore.set_transform(new Float32Array(t));return e&&this._dotLottieCore.render()&&this._draw(),e}getTransform(){if(this._dotLottieCore)return Array.from(this._dotLottieCore.get_transform())}setSegment(t,e){null!==this._dotLottieCore&&(this._segment=[t,e],this._dotLottieCore.set_segment(t,e))}resetSegment(){null!==this._dotLottieCore&&(this._segment=null,this._dotLottieCore.clear_segment())}setMode(t){null!==this._dotLottieCore&&this._dotLottieCore.set_mode(K(t))}setRenderConfig(t){let{devicePixelRatio:e,freezeOnOffscreen:r,quality:n,...i}=t;this._renderConfig={...this._renderConfig,...i,devicePixelRatio:e||j(),freezeOnOffscreen:r??!0,...void 0!==n&&{quality:n}},void 0!==n&&this._dotLottieCore&&this._dotLottieCore.set_quality(n),l&&this._canvas instanceof HTMLCanvasElement&&(this._renderConfig.autoResize?N.observe(this._canvas,this):N.unobserve(this._canvas),this._renderConfig.freezeOnOffscreen?(B.observe(this._canvas,this),q(this._canvas)||this.freeze()):(B.unobserve(this._canvas),this._isFrozen&&this.unfreeze()))}loadAnimation(t){null!==this._dotLottieCore&&this._dotLottieCore.animation_id()!==t&&this._canvas&&(this._syncCanvasSize(),this._setupTarget(this._canvas.width,this._canvas.height),this._dotLottieCore.load_animation_from_id(t)?(void 0!==this._renderConfig.quality&&this._dotLottieCore.set_quality(this._renderConfig.quality),this._drainPlayerEvents(),this._dotLottieCore.render(),this._draw()):this._dispatchError(`Failed to load animation with id: ${t}`))}setMarker(t){null!==this._dotLottieCore&&(this.markers().some(e=>
5e.name===t)?(this._marker=t,this._dotLottieCore.set_marker(t)):(this._marker="",this._segment=null,this._dotLottieCore.clear_marker(),this._dotLottieCore.clear_segment()))}markers(){let t=this._dotLottieCore?.markers();return t&&Array.isArray(t)?t:[]}setTheme(t){if(null===this._dotLottieCore)return!1;let e=this._dotLottieCore.set_theme(t);return e&&(this._dotLottieCore.render(),this._draw()),e}resetTheme(){if(null===this._dotLottieCore)return!1;let t=this._dotLottieCore.reset_theme();return t&&(this._dotLottieCore.render(),this._draw()),t}setThemeData(t){if(null===this._dotLottieCore)return!1;let e="string"==typeof t?t:JSON.stringify(t),r=this._dotLottieCore.set_theme_data(e);return r&&(this._dotLottieCore.render(),this._draw()),r}setSlots(t){null!==this._dotLottieCore&&this._dotLottieCore.set_slots_str(JSON.stringify(t))&&(this._dotLottieCore.render(),this._draw())}_isKeyframeArray(t){return Array.isArray(t)&&t.length>0&&"object"==typeof t[0]&&null!==t[0]&&"t"in t[0]&&"s"in t[0]}getSlotIds(){if(!this._dotLottieCore)return[];let t=this._dotLottieCore.get_slot_ids();return Array.isArray(t)?t:[]}getSlotType(t){if(!this._dotLottieCore)return;let e=this._dotLottieCore.get_slot_type(t);if(e)return e}getSlot(t){if(!this._dotLottieCore)return;let e=this._dotLottieCore.get_slot_str(t);if(e)try{return JSON.parse(e)}catch{return}}getSlots(){if(!this._dotLottieCore)return{};try{return JSON.parse(this._dotLottieCore.get_slots_str())}catch{return{}}}setColorSlot(t,e){if(null===this._dotLottieCore)return!1;let r=JSON.stringify({a:+!!this._isKeyframeArray(e),k:e}),n=this._dotLottieCore.set_slot_str(t,r);return this._dotLottieCore.render(),this._draw(),n}setScalarSlot(t,e){if(null===this._dotLottieCore)return!1;let r=JSON.stringify({a:+("number"!=typeof e),k:e}),n=this._dotLottieCore.set_slot_str(t,r);return this._dotLottieCore.render(),this._draw(),n}setVectorSlot(t,e){if(null===this._dotLottieCore)return!1;let r=JSON.stringify({a:+!!this._isKeyframeArray(e),k:e}),n=this._dotLottieCore.set_slot_str(t,r);return this._dotLottieCore.render(),this._draw(),n}setGradientSlot(t,e,r){if(null===this._dotLottieCore)return!1;let n=JSON.stringify({k:{a:+!!this._isKeyframeArray(e),k:e},p:r}),i=this._dotLottieCore.set_slot_str(t,n);return this._dotLottieCore.render(),this._draw(),i}setTextSlot(t,e){if(null===this._dotLottieCore)return!1;let r=this._dotLottieCore.get_slot_str(t),n=e;if(r){let t=JSON.parse(r);if(t&&"k"in t&&Array.isArray(t.k)){let r=t.k[0];"s"in r&&"object"==typeof r.s&&(n={...r.s,...e})}}let i=JSON.stringify({a:0,k:[{t:0,s:n}]}),o=this._dotLottieCore.set_slot_str(t,i);return this._dotLottieCore.render(),this._draw(),o}async setImageSlot(t,e){if(null===this._dotLottieCore)return!1;let r=await V(e);if(null===this._dotLottieCore)return!1;let n=this._dotLottieCore.set_image_slot(t,r);return this._dotLottieCore.render(),this._draw(),n}resetSlot(t){if(null===this._dotLottieCore)return!1;let e=this._dotLottieCore.reset_slot(t);return this._dotLottieCore.render(),this._draw(),e}clearSlot(t){if(null===this._dotLottieCore)return!1;let e=this._dotLottieCore.clear_slot(t);return this._dotLottieCore.render(),this._draw(),e}resetSlots(){if(null===this._dotLottieCore)return!1;let t=this._dotLottieCore.reset_slots();return this._dotLottieCore.render(),this._draw(),t}clearSlots(){if(null===this._dotLottieCore)return!1;let t=this._dotLottieCore.clear_slots();return this._dotLottieCore.render(),this._draw(),t}setLayout(t){null!==this._dotLottieCore&&this._dotLottieCore.set_layout(t.fit??"contain",t.align?.[0]??.5,t.align?.[1]??.5)}setViewport(t,e,r,n){return null!==this._dotLottieCore&&this._dotLottieCore.set_viewport(t,e,r,n)}static setWasmUrl(t){G().setWasmUrl(t)}static preload(){return G().load()}static async registerFont(t,e){try{var r;let i,o,s,_,a;if(await G().load(),"string"==typeof e){let t=await fetch(e);if(!t.ok)return console.error(`Failed to fetch font from URL: ${e}. Status: ${t.status}`),!1;i=new Uint8Array(await t.arrayBuffer())}else i=e instanceof Uint8Array?e:new Uint8Array(e);let l=(r=i,o=M(t,n.__wbindgen_export_1,n.__wbindgen_export_2),s=v,_=E(r,n.__wbindgen_export_1),a=v,0!==n.register_font(o,s,_,a));return l||console.error(`Failed to register font "${t}". Font data may be invalid.`),l}catch(e){return console.error(`Error registering font "${t}":`,e),!1}}animationSize(){let t=this._dotLottieCore?.animation_size();return{width:t?.[0]??0,height:t?.[1]??0}}stateMachineLoad(t){return!!this._dotLottieCore&&this._dotLottieCore.state_machine_load_from_id(t)}stateMachineLoadData(t){return!!this._dotLottieCore&&this._dotLottieCore.state_machine_load(t)}stateMachineSetConfig(t){this._stateMachineConfig=t}
vendor: 4,874 bytes, line 5
5stateMachineStart(){if(null===this._dotLottieCore)return!1;let t=this._dotLottieCore.sm_start(this._stateMachineConfig?.openUrlPolicy?.requireUserInteraction??!0,this._stateMachineConfig?.openUrlPolicy?.whitelist??[]);return this._drainSmEvents(),t&&(this._isStateMachineRunning=!0,this._setupStateMachineListeners(),this._startAnimationLoop()),t}stateMachineStop(){if(!this._dotLottieCore)return!1;let t=this._dotLottieCore.sm_stop();return this._drainSmEvents(),t&&(this._isStateMachineRunning=!1,this._cleanupStateMachineListeners(),this._dotLottieCore.status()!==F.Playing&&this._stopAnimationLoop()),t}stateMachineGetStatus(){return this._dotLottieCore?.sm_status()??""}stateMachineGetCurrentState(){return this._dotLottieCore?.sm_current_state()??""}stateMachineGetActiveId(){return this._dotLottieCore?.state_machine_id()??""}stateMachineOverrideState(t,e=!1){return this._dotLottieCore?.sm_override_current_state(t,e)??!1}stateMachineSetSeed(t){return this._dotLottieCore?.sm_set_seed(BigInt(Math.trunc(t)))??!1}stateMachineGet(t){return this._dotLottieCore?.get_state_machine(t)??""}stateMachineGetListeners(){if(!this._dotLottieCore)return[];let t=this._dotLottieCore.sm_framework_setup();return Array.isArray(t)?t:[]}stateMachineSetBooleanInput(t,e){return this._dotLottieCore?.sm_set_boolean_input(t,e)??!1}stateMachineSetNumericInput(t,e){return this._dotLottieCore?.sm_set_numeric_input(t,e)??!1}stateMachineSetStringInput(t,e){return this._dotLottieCore?.sm_set_string_input(t,e)??!1}stateMachineGetBooleanInput(t){return this._dotLottieCore?.sm_get_boolean_input(t)??void 0}stateMachineGetNumericInput(t){return this._dotLottieCore?.sm_get_numeric_input(t)??void 0}stateMachineGetStringInput(t){return this._dotLottieCore?.sm_get_string_input(t)??void 0}stateMachineGetInputs(){if(!this._dotLottieCore)return[];let t=this._dotLottieCore.sm_get_inputs();return Array.isArray(t)?t:[]}stateMachineFireEvent(t){this._dotLottieCore?.sm_fire(t)}stateMachinePostClickEvent(t,e){this._dotLottieCore?.sm_post_click(t,e)}stateMachinePostPointerUpEvent(t,e){this._dotLottieCore?.sm_post_pointer_up(t,e)}stateMachinePostPointerDownEvent(t,e){this._dotLottieCore?.sm_post_pointer_down(t,e)}stateMachinePostPointerMoveEvent(t,e){this._dotLottieCore?.sm_post_pointer_move(t,e)}stateMachinePostPointerEnterEvent(t,e){this._dotLottieCore?.sm_post_pointer_enter(t,e)}stateMachinePostPointerExitEvent(t,e){this._dotLottieCore?.sm_post_pointer_exit(t,e)}_onClick(t){let e=H(t);e&&this.stateMachinePostClickEvent(e.x,e.y)}_onPointerUp(t){let e=H(t);e&&this.stateMachinePostPointerUpEvent(e.x,e.y)}_onPointerDown(t){let e=H(t);e&&this.stateMachinePostPointerDownEvent(e.x,e.y)}_onPointerMove(t){let e=H(t);e&&this.stateMachinePostPointerMoveEvent(e.x,e.y)}_onPointerEnter(t){let e=H(t);e&&this.stateMachinePostPointerEnterEvent(e.x,e.y)}_onPointerLeave(t){let e=H(t);e&&this.stateMachinePostPointerExitEvent(e.x,e.y)}_setupStateMachineListeners(){if(l&&this._canvas instanceof HTMLCanvasElement&&null!==this._dotLottieCore&&this.isLoaded){let t=this.stateMachineGetListeners();this._cleanupStateMachineListeners(),t.includes("Click")&&(this._boundOnClick=this._onClick.bind(this),this._canvas.addEventListener("click",this._boundOnClick)),t.includes("PointerUp")&&(this._boundOnPointerUp=this._onPointerUp.bind(this),this._canvas.addEventListener("pointerup",this._boundOnPointerUp)),t.includes("PointerDown")&&(this._boundOnPointerDown=this._onPointerDown.bind(this),this._canvas.addEventListener("pointerdown",this._boundOnPointerDown)),t.includes("PointerMove")&&(this._boundOnPointerMove=this._onPointerMove.bind(this),this._canvas.addEventListener("pointermove",this._boundOnPointerMove)),t.includes("PointerEnter")&&(this._boundOnPointerEnter=this._onPointerEnter.bind(this),this._canvas.addEventListener("pointerenter",this._boundOnPointerEnter)),t.includes("PointerExit")&&(this._boundOnPointerLeave=this._onPointerLeave.bind(this),this._canvas.addEventListener("pointerleave",this._boundOnPointerLeave))}}_cleanupStateMachineListeners(){l&&this._canvas instanceof HTMLCanvasElement&&(this._boundOnClick&&(this._canvas.removeEventListener("click",this._boundOnClick),this._boundOnClick=null),this._boundOnPointerUp&&(this._canvas.removeEventListener("pointerup",this._boundOnPointerUp),this._boundOnPointerUp=null),this._boundOnPointerDown&&(this._canvas.removeEventListener("pointerdown",this._boundOnPointerDown),this._boundOnPointerDown=null),this._boundOnPointerMove&&(this._canvas.removeEventListener("pointermove",this._boundOnPointerMove),this._boundOnPointerMove=null),this._boundOnPointerEnter&&(this._canvas.removeEventListener("pointerenter",this._boundOnPointerEnter),this._boundOnPointerEnter=null),this._boundOnPointerLeave&&(this._canvas.removeEventListener("pointerleave",this._boundOnPointerLeave),this._boundOnPointerLeave=null))}},Q=r(41695),Z=r(64255);
5let tt=({animationId:t,autoplay:e,backgroundColor:r,className:n,createDotLottie:i,data:o,dotLottieRefCallback:s,layout:_,loop:a,loopCount:l,mode:d,playOnHover:u,renderConfig:h,segment:c,speed:g,src:p,stateMachineConfig:m,stateMachineId:f,style:b,themeData:w,themeId:y,useFrameInterpolation:v,workerId:C,...L})=>{let M=(0,Q.useRef)(null),k=(0,Q.useRef)(null),x=(0,Q.useRef)(s),E=(0,Q.useRef)(null),I={speed:g,mode:d,loop:a,loopCount:l,useFrameInterpolation:v,segment:c,backgroundColor:r,autoplay:e,themeId:y,workerId:C,src:p,data:o,layout:_,renderConfig:h,animationId:t,stateMachineConfig:m,stateMachineId:f},S=(0,Q.useRef)(I);x.current=s,S.current=I;let P=(0,Q.useCallback)(t=>{if(k.current=t,t){let e=E.current;e&&e.canvas===t?(clearTimeout(e.timer),E.current=null,M.current=e.instance):M.current?.canvas!==t&&(M.current=i({...S.current,canvas:t}))}else if(M.current){let t=M.current,e=t.canvas;M.current=null,e instanceof HTMLCanvasElement?E.current={canvas:e,instance:t,timer:setTimeout(()=>{E.current?.instance===t&&(E.current=null),t.destroy()},0)}:t.destroy()}x.current?.(M.current)},[]);return(0,Q.useEffect)(()=>{let t=t=>{u&&("mouseenter"===t.type&&M.current?.play(),"mouseleave"===t.type&&M.current?.pause())};return k.current?.addEventListener("mouseenter",t),k.current?.addEventListener("mouseleave",t),()=>{k.current?.removeEventListener("mouseenter",t),k.current?.removeEventListener("mouseleave",t)}},[u]),(0,Q.useEffect)(()=>{M.current?.setSpeed(g??1)},[g]),(0,Q.useEffect)(()=>{M.current?.setMode(d??"forward")},[d]),(0,Q.useEffect)(()=>{M.current?.setLoop(a??!1)},[a]),(0,Q.useEffect)(()=>{M.current?.setLoopCount(l??0)},[l]),(0,Q.useEffect)(()=>{M.current?.setUseFrameInterpolation(v??!0)},[v]),(0,Q.useEffect)(()=>{"number"==typeof c?.[0]&&"number"==typeof c[1]?M.current?.setSegment(c[0],c[1]):M.current?.resetSegment()},[c]),(0,Q.useEffect)(()=>{M.current?.setBackgroundColor(r??"")},[r]),(0,Q.useEffect)(()=>{M.current?.setRenderConfig(h??{})},[JSON.stringify(h)]),(0,Q.useEffect)(()=>{"string"!=typeof o&&"object"!=typeof o||M.current?.load({data:o,...S.current})},[o]),(0,Q.useEffect)(()=>{"string"==typeof p&&M.current?.load({src:p,...S.current})},[p]),(0,Q.useEffect)(()=>{M.current?.setMarker(L.marker??"")},[L.marker]),(0,Q.useEffect)(()=>{M.current?.isLoaded&&M.current.activeAnimationId!==t&&M.current.loadAnimation(t??"")},[t]),(0,Q.useEffect)(()=>{"string"==typeof y&&M.current?.setTheme(y)},[y]),(0,Q.useEffect)(()=>{M.current?.setThemeData(w??"")},[w]),(0,Q.useEffect)(()=>{M.current?.setLayout(_??{})},[_?.fit,_?.align?.[0],_?.align?.[1]]),(0,Q.useEffect)(()=>{M.current?.isLoaded&&("string"==typeof f&&f?M.current.stateMachineLoad(f)&&M.current.stateMachineStart():M.current.stateMachineStop())},[f]),(0,Q.useEffect)(()=>{M.current?.stateMachineSetConfig(m??null)},[m]),(0,Z.jsx)("div",{className:n,...!n&&{style:{width:"100%",height:"100%",lineHeight:0,...b}},children:(0,Z.jsx)("canvas",{ref:P,style:{width:"100%",height:"100%"},...L})})},te=t=>new X(t),tr=t=>(0,Z.jsx)(tt,{...t,createDotLottie:te})},94660:(t,e,r)=>{r.d(e,{P:()=>s});var n=r(52169),i=r(52729),o=r(64255);let s=({children:t,href:e,to:r,current:s})=>{let{defaultIcons:{IconChevronRight:_}}=(0,i.t)();return s?(0,o.jsx)("span",{"data-part":"breadcrumb-activeItem","data-testid":"breadcrumb__active",children:t}):(0,o.jsxs)("div",{"data-part":"breadcrumb-linkItem","data-testid":"breadcrumb__link",children:[(0,o.jsx)(n.N,{href:e,to:r,children:t}),(0,o.jsx)(_,{color:"inherit",size:10})]})}}}]);
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.