@purpurds/illustrative-icon 6.12.4 → 7.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/animated-illustrative-icon-C4tsMFn9.js +10 -0
- package/dist/{animated-illustrative-icon-CQ8IWhPF.js.map → animated-illustrative-icon-C4tsMFn9.js.map} +1 -1
- package/dist/{animated-illustrative-icon-D6lAHqSI.mjs → animated-illustrative-icon-Cxd93oY1.mjs} +431 -438
- package/dist/{animated-illustrative-icon-D6lAHqSI.mjs.map → animated-illustrative-icon-Cxd93oY1.mjs.map} +1 -1
- package/dist/animated-illustrative-icon.d.ts +0 -2
- package/dist/animated-illustrative-icon.d.ts.map +1 -1
- package/dist/components/404-error-duocolor.cjs.js +1 -1
- package/dist/components/404-error-duocolor.es.js +1 -1
- package/dist/components/404-error-offblack.cjs.js +1 -1
- package/dist/components/404-error-offblack.es.js +1 -1
- package/dist/components/airplane-above-duocolor.cjs.js +1 -1
- package/dist/components/airplane-above-duocolor.es.js +1 -1
- package/dist/components/airplane-above-offblack.cjs.js +1 -1
- package/dist/components/airplane-above-offblack.es.js +1 -1
- package/dist/components/alert-lamp-duocolor.cjs.js +1 -1
- package/dist/components/alert-lamp-duocolor.es.js +1 -1
- package/dist/components/alert-lamp-offblack.cjs.js +1 -1
- package/dist/components/alert-lamp-offblack.es.js +1 -1
- package/dist/components/apartment-building-duocolor.cjs.js +1 -1
- package/dist/components/apartment-building-duocolor.es.js +1 -1
- package/dist/components/apartment-building-offblack.cjs.js +1 -1
- package/dist/components/apartment-building-offblack.es.js +1 -1
- package/dist/components/backup-duocolor.cjs.js +1 -1
- package/dist/components/backup-duocolor.es.js +1 -1
- package/dist/components/backup-offblack.cjs.js +1 -1
- package/dist/components/backup-offblack.es.js +1 -1
- package/dist/components/bike-duocolor.cjs.js +1 -1
- package/dist/components/bike-duocolor.es.js +1 -1
- package/dist/components/bike-offblack.cjs.js +1 -1
- package/dist/components/bike-offblack.es.js +1 -1
- package/dist/components/bridge-duocolor.cjs.js +1 -1
- package/dist/components/bridge-duocolor.es.js +1 -1
- package/dist/components/bridge-offblack.cjs.js +1 -1
- package/dist/components/bridge-offblack.es.js +1 -1
- package/dist/components/building-wireless-1-duocolor.cjs.js +1 -1
- package/dist/components/building-wireless-1-duocolor.es.js +1 -1
- package/dist/components/building-wireless-1-offblack.cjs.js +1 -1
- package/dist/components/building-wireless-1-offblack.es.js +1 -1
- package/dist/components/building-wireless-2-duocolor.cjs.js +1 -1
- package/dist/components/building-wireless-2-duocolor.es.js +1 -1
- package/dist/components/building-wireless-2-offblack.cjs.js +1 -1
- package/dist/components/building-wireless-2-offblack.es.js +1 -1
- package/dist/components/bus-connected-duocolor.cjs.js +1 -1
- package/dist/components/bus-connected-duocolor.es.js +1 -1
- package/dist/components/bus-connected-offblack.cjs.js +1 -1
- package/dist/components/bus-connected-offblack.es.js +1 -1
- package/dist/components/bus-duocolor.cjs.js +1 -1
- package/dist/components/bus-duocolor.es.js +1 -1
- package/dist/components/bus-offblack.cjs.js +1 -1
- package/dist/components/bus-offblack.es.js +1 -1
- package/dist/components/car-duocolor.cjs.js +1 -1
- package/dist/components/car-duocolor.es.js +1 -1
- package/dist/components/car-offblack.cjs.js +1 -1
- package/dist/components/car-offblack.es.js +1 -1
- package/dist/components/car-wireless-duocolor.cjs.js +1 -1
- package/dist/components/car-wireless-duocolor.es.js +1 -1
- package/dist/components/car-wireless-offblack.cjs.js +1 -1
- package/dist/components/car-wireless-offblack.es.js +1 -1
- package/dist/components/cart-checkmark-duocolor.cjs.js +1 -1
- package/dist/components/cart-checkmark-duocolor.es.js +1 -1
- package/dist/components/cart-checkmark-offblack.cjs.js +1 -1
- package/dist/components/cart-checkmark-offblack.es.js +1 -1
- package/dist/components/chart-duocolor.cjs.js +1 -1
- package/dist/components/chart-duocolor.es.js +1 -1
- package/dist/components/chart-offblack.cjs.js +1 -1
- package/dist/components/chart-offblack.es.js +1 -1
- package/dist/components/chat-heart-duocolor.cjs.js +1 -1
- package/dist/components/chat-heart-duocolor.es.js +1 -1
- package/dist/components/chat-heart-offblack.cjs.js +1 -1
- package/dist/components/chat-heart-offblack.es.js +1 -1
- package/dist/components/checkmark-duocolor.cjs.js +1 -1
- package/dist/components/checkmark-duocolor.es.js +1 -1
- package/dist/components/checkmark-offblack.cjs.js +1 -1
- package/dist/components/checkmark-offblack.es.js +1 -1
- package/dist/components/clock-duocolor.cjs.js +1 -1
- package/dist/components/clock-duocolor.es.js +1 -1
- package/dist/components/clock-offblack.cjs.js +1 -1
- package/dist/components/clock-offblack.es.js +1 -1
- package/dist/components/cloud-hosting-duocolor.cjs.js +1 -1
- package/dist/components/cloud-hosting-duocolor.es.js +1 -1
- package/dist/components/cloud-hosting-offblack.cjs.js +1 -1
- package/dist/components/cloud-hosting-offblack.es.js +1 -1
- package/dist/components/cloud-lightbulb-duocolor.cjs.js +1 -1
- package/dist/components/cloud-lightbulb-duocolor.es.js +1 -1
- package/dist/components/cloud-lightbulb-offblack.cjs.js +1 -1
- package/dist/components/cloud-lightbulb-offblack.es.js +1 -1
- package/dist/components/cloud-lock-duocolor.cjs.js +1 -1
- package/dist/components/cloud-lock-duocolor.es.js +1 -1
- package/dist/components/cloud-lock-offblack.cjs.js +1 -1
- package/dist/components/cloud-lock-offblack.es.js +1 -1
- package/dist/components/cloud-settings-duocolor.cjs.js +1 -1
- package/dist/components/cloud-settings-duocolor.es.js +1 -1
- package/dist/components/cloud-settings-offblack.cjs.js +1 -1
- package/dist/components/cloud-settings-offblack.es.js +1 -1
- package/dist/components/cloud-transfer-duocolor.cjs.js +1 -1
- package/dist/components/cloud-transfer-duocolor.es.js +1 -1
- package/dist/components/cloud-transfer-offblack.cjs.js +1 -1
- package/dist/components/cloud-transfer-offblack.es.js +1 -1
- package/dist/components/cloud-upload-duocolor.cjs.js +1 -1
- package/dist/components/cloud-upload-duocolor.es.js +1 -1
- package/dist/components/cloud-upload-offblack.cjs.js +1 -1
- package/dist/components/cloud-upload-offblack.es.js +1 -1
- package/dist/components/clouds-duocolor.cjs.js +1 -1
- package/dist/components/clouds-duocolor.es.js +1 -1
- package/dist/components/clouds-offblack.cjs.js +1 -1
- package/dist/components/clouds-offblack.es.js +1 -1
- package/dist/components/data-center-duocolor.cjs.js +1 -1
- package/dist/components/data-center-duocolor.es.js +1 -1
- package/dist/components/data-center-offblack.cjs.js +1 -1
- package/dist/components/data-center-offblack.es.js +1 -1
- package/dist/components/desktop-growth-duocolor.cjs.js +1 -1
- package/dist/components/desktop-growth-duocolor.es.js +1 -1
- package/dist/components/desktop-growth-offblack.cjs.js +1 -1
- package/dist/components/desktop-growth-offblack.es.js +1 -1
- package/dist/components/devices-router-duocolor.cjs.js +1 -1
- package/dist/components/devices-router-duocolor.es.js +1 -1
- package/dist/components/devices-router-offblack.cjs.js +1 -1
- package/dist/components/devices-router-offblack.es.js +1 -1
- package/dist/components/devices-time-duocolor.cjs.js +1 -1
- package/dist/components/devices-time-duocolor.es.js +1 -1
- package/dist/components/devices-time-offblack.cjs.js +1 -1
- package/dist/components/devices-time-offblack.es.js +1 -1
- package/dist/components/devices-wireless-duocolor.cjs.js +1 -1
- package/dist/components/devices-wireless-duocolor.es.js +1 -1
- package/dist/components/devices-wireless-offblack.cjs.js +1 -1
- package/dist/components/devices-wireless-offblack.es.js +1 -1
- package/dist/components/document-checkmark-duocolor.cjs.js +1 -1
- package/dist/components/document-checkmark-duocolor.es.js +1 -1
- package/dist/components/document-checkmark-offblack.cjs.js +1 -1
- package/dist/components/document-checkmark-offblack.es.js +1 -1
- package/dist/components/drone-duocolor.cjs.js +1 -1
- package/dist/components/drone-duocolor.es.js +1 -1
- package/dist/components/drone-offblack.cjs.js +1 -1
- package/dist/components/drone-offblack.es.js +1 -1
- package/dist/components/factory-duocolor.cjs.js +1 -1
- package/dist/components/factory-duocolor.es.js +1 -1
- package/dist/components/factory-offblack.cjs.js +1 -1
- package/dist/components/factory-offblack.es.js +1 -1
- package/dist/components/family-subscription-duocolor.cjs.js +1 -1
- package/dist/components/family-subscription-duocolor.es.js +1 -1
- package/dist/components/family-subscription-offblack.cjs.js +1 -1
- package/dist/components/family-subscription-offblack.es.js +1 -1
- package/dist/components/getting-started-duocolor.cjs.js +1 -1
- package/dist/components/getting-started-duocolor.es.js +1 -1
- package/dist/components/getting-started-offblack.cjs.js +1 -1
- package/dist/components/getting-started-offblack.es.js +1 -1
- package/dist/components/group-development-duocolor.cjs.js +1 -1
- package/dist/components/group-development-duocolor.es.js +1 -1
- package/dist/components/group-development-offblack.cjs.js +1 -1
- package/dist/components/group-development-offblack.es.js +1 -1
- package/dist/components/group-small-duocolor.cjs.js +1 -1
- package/dist/components/group-small-duocolor.es.js +1 -1
- package/dist/components/group-small-offblack.cjs.js +1 -1
- package/dist/components/group-small-offblack.es.js +1 -1
- package/dist/components/hand-heart-duocolor.cjs.js +1 -1
- package/dist/components/hand-heart-duocolor.es.js +1 -1
- package/dist/components/hand-heart-offblack.cjs.js +1 -1
- package/dist/components/hand-heart-offblack.es.js +1 -1
- package/dist/components/hand-leaf-duocolor.cjs.js +1 -1
- package/dist/components/hand-leaf-duocolor.es.js +1 -1
- package/dist/components/hand-leaf-offblack.cjs.js +1 -1
- package/dist/components/hand-leaf-offblack.es.js +1 -1
- package/dist/components/heart-duocolor.cjs.js +1 -1
- package/dist/components/heart-duocolor.es.js +1 -1
- package/dist/components/heart-offblack.cjs.js +1 -1
- package/dist/components/heart-offblack.es.js +1 -1
- package/dist/components/hospital-duocolor.cjs.js +1 -1
- package/dist/components/hospital-duocolor.es.js +1 -1
- package/dist/components/hospital-offblack.cjs.js +1 -1
- package/dist/components/hospital-offblack.es.js +1 -1
- package/dist/components/hosting-hand-duocolor.cjs.js +1 -1
- package/dist/components/hosting-hand-duocolor.es.js +1 -1
- package/dist/components/hosting-hand-offblack.cjs.js +1 -1
- package/dist/components/hosting-hand-offblack.es.js +1 -1
- package/dist/components/hosting-time-duocolor.cjs.js +1 -1
- package/dist/components/hosting-time-duocolor.es.js +1 -1
- package/dist/components/hosting-time-offblack.cjs.js +1 -1
- package/dist/components/hosting-time-offblack.es.js +1 -1
- package/dist/components/house-duocolor.cjs.js +1 -1
- package/dist/components/house-duocolor.es.js +1 -1
- package/dist/components/house-offblack.cjs.js +1 -1
- package/dist/components/house-offblack.es.js +1 -1
- package/dist/components/house-wireless-duocolor.cjs.js +1 -1
- package/dist/components/house-wireless-duocolor.es.js +1 -1
- package/dist/components/house-wireless-offblack.cjs.js +1 -1
- package/dist/components/house-wireless-offblack.es.js +1 -1
- package/dist/components/id-error-duocolor.cjs.js +1 -1
- package/dist/components/id-error-duocolor.es.js +1 -1
- package/dist/components/id-error-offblack.cjs.js +1 -1
- package/dist/components/id-error-offblack.es.js +1 -1
- package/dist/components/iot-devices-duocolor.cjs.js +1 -1
- package/dist/components/iot-devices-duocolor.es.js +1 -1
- package/dist/components/iot-devices-offblack.cjs.js +1 -1
- package/dist/components/iot-devices-offblack.es.js +1 -1
- package/dist/components/iot-duocolor.cjs.js +1 -1
- package/dist/components/iot-duocolor.es.js +1 -1
- package/dist/components/iot-offblack.cjs.js +1 -1
- package/dist/components/iot-offblack.es.js +1 -1
- package/dist/components/iot-wireless-duocolor.cjs.js +1 -1
- package/dist/components/iot-wireless-duocolor.es.js +1 -1
- package/dist/components/iot-wireless-offblack.cjs.js +1 -1
- package/dist/components/iot-wireless-offblack.es.js +1 -1
- package/dist/components/link-duocolor.cjs.js +1 -1
- package/dist/components/link-duocolor.es.js +1 -1
- package/dist/components/link-offblack.cjs.js +1 -1
- package/dist/components/link-offblack.es.js +1 -1
- package/dist/components/lock-duocolor.cjs.js +1 -1
- package/dist/components/lock-duocolor.es.js +1 -1
- package/dist/components/lock-offblack.cjs.js +1 -1
- package/dist/components/lock-offblack.es.js +1 -1
- package/dist/components/magnifying-glass-growth-duocolor.cjs.js +1 -1
- package/dist/components/magnifying-glass-growth-duocolor.es.js +1 -1
- package/dist/components/magnifying-glass-growth-offblack.cjs.js +1 -1
- package/dist/components/magnifying-glass-growth-offblack.es.js +1 -1
- package/dist/components/mast-duocolor.cjs.js +1 -1
- package/dist/components/mast-duocolor.es.js +1 -1
- package/dist/components/mast-offblack.cjs.js +1 -1
- package/dist/components/mast-offblack.es.js +1 -1
- package/dist/components/media-entertainment-duocolor.cjs.js +1 -1
- package/dist/components/media-entertainment-duocolor.es.js +1 -1
- package/dist/components/media-entertainment-offblack.cjs.js +1 -1
- package/dist/components/media-entertainment-offblack.es.js +1 -1
- package/dist/components/money-euro-duocolor.cjs.js +1 -1
- package/dist/components/money-euro-duocolor.es.js +1 -1
- package/dist/components/money-euro-offblack.cjs.js +1 -1
- package/dist/components/money-euro-offblack.es.js +1 -1
- package/dist/components/money-kr-duocolor.cjs.js +1 -1
- package/dist/components/money-kr-duocolor.es.js +1 -1
- package/dist/components/money-kr-offblack.cjs.js +1 -1
- package/dist/components/money-kr-offblack.es.js +1 -1
- package/dist/components/people-dialogue-duocolor.cjs.js +1 -1
- package/dist/components/people-dialogue-duocolor.es.js +1 -1
- package/dist/components/people-dialogue-offblack.cjs.js +1 -1
- package/dist/components/people-dialogue-offblack.es.js +1 -1
- package/dist/components/phone-wireless-duocolor.cjs.js +1 -1
- package/dist/components/phone-wireless-duocolor.es.js +1 -1
- package/dist/components/phone-wireless-offblack.cjs.js +1 -1
- package/dist/components/phone-wireless-offblack.es.js +1 -1
- package/dist/components/satellite-dish-duocolor.cjs.js +1 -1
- package/dist/components/satellite-dish-duocolor.es.js +1 -1
- package/dist/components/satellite-dish-offblack.cjs.js +1 -1
- package/dist/components/satellite-dish-offblack.es.js +1 -1
- package/dist/components/satellite-duocolor.cjs.js +1 -1
- package/dist/components/satellite-duocolor.es.js +1 -1
- package/dist/components/satellite-offblack.cjs.js +1 -1
- package/dist/components/satellite-offblack.es.js +1 -1
- package/dist/components/screen-settings-checkmark-duocolor.cjs.js +1 -1
- package/dist/components/screen-settings-checkmark-duocolor.es.js +1 -1
- package/dist/components/screen-settings-checkmark-offblack.cjs.js +1 -1
- package/dist/components/screen-settings-checkmark-offblack.es.js +1 -1
- package/dist/components/search-duocolor.cjs.js +1 -1
- package/dist/components/search-duocolor.es.js +1 -1
- package/dist/components/search-field-duocolor.cjs.js +1 -1
- package/dist/components/search-field-duocolor.es.js +1 -1
- package/dist/components/search-field-offblack.cjs.js +1 -1
- package/dist/components/search-field-offblack.es.js +1 -1
- package/dist/components/search-offblack.cjs.js +1 -1
- package/dist/components/search-offblack.es.js +1 -1
- package/dist/components/search-question-duocolor.cjs.js +1 -1
- package/dist/components/search-question-duocolor.es.js +1 -1
- package/dist/components/search-question-offblack.cjs.js +1 -1
- package/dist/components/search-question-offblack.es.js +1 -1
- package/dist/components/settings-loop-duocolor.cjs.js +1 -1
- package/dist/components/settings-loop-duocolor.es.js +1 -1
- package/dist/components/settings-loop-offblack.cjs.js +1 -1
- package/dist/components/settings-loop-offblack.es.js +1 -1
- package/dist/components/settings-time-duocolor.cjs.js +1 -1
- package/dist/components/settings-time-duocolor.es.js +1 -1
- package/dist/components/settings-time-offblack.cjs.js +1 -1
- package/dist/components/settings-time-offblack.es.js +1 -1
- package/dist/components/shield-fingerprint-duocolor.cjs.js +1 -1
- package/dist/components/shield-fingerprint-duocolor.es.js +1 -1
- package/dist/components/shield-fingerprint-offblack.cjs.js +1 -1
- package/dist/components/shield-fingerprint-offblack.es.js +1 -1
- package/dist/components/shield-lock-connectivity-duocolor.cjs.js +1 -1
- package/dist/components/shield-lock-connectivity-duocolor.es.js +1 -1
- package/dist/components/shield-lock-connectivity-offblack.cjs.js +1 -1
- package/dist/components/shield-lock-connectivity-offblack.es.js +1 -1
- package/dist/components/shield-lock-duocolor.cjs.js +1 -1
- package/dist/components/shield-lock-duocolor.es.js +1 -1
- package/dist/components/shield-lock-offblack.cjs.js +1 -1
- package/dist/components/shield-lock-offblack.es.js +1 -1
- package/dist/components/shield-lock-puzzle-duocolor.cjs.js +1 -1
- package/dist/components/shield-lock-puzzle-duocolor.es.js +1 -1
- package/dist/components/shield-lock-puzzle-offblack.cjs.js +1 -1
- package/dist/components/shield-lock-puzzle-offblack.es.js +1 -1
- package/dist/components/ship-duocolor.cjs.js +1 -1
- package/dist/components/ship-duocolor.es.js +1 -1
- package/dist/components/ship-offblack.cjs.js +1 -1
- package/dist/components/ship-offblack.es.js +1 -1
- package/dist/components/skyscraper-duocolor.cjs.js +1 -1
- package/dist/components/skyscraper-duocolor.es.js +1 -1
- package/dist/components/skyscraper-offblack.cjs.js +1 -1
- package/dist/components/skyscraper-offblack.es.js +1 -1
- package/dist/components/smart-family-duocolor.cjs.js +1 -1
- package/dist/components/smart-family-duocolor.es.js +1 -1
- package/dist/components/smart-family-offblack.cjs.js +1 -1
- package/dist/components/smart-family-offblack.es.js +1 -1
- package/dist/components/smartphone-broken-duocolor.cjs.js +1 -1
- package/dist/components/smartphone-broken-duocolor.es.js +1 -1
- package/dist/components/smartphone-broken-offblack.cjs.js +1 -1
- package/dist/components/smartphone-broken-offblack.es.js +1 -1
- package/dist/components/smartphone-duocolor.cjs.js +1 -1
- package/dist/components/smartphone-duocolor.es.js +1 -1
- package/dist/components/smartphone-internet-duocolor.cjs.js +1 -1
- package/dist/components/smartphone-internet-duocolor.es.js +1 -1
- package/dist/components/smartphone-internet-offblack.cjs.js +1 -1
- package/dist/components/smartphone-internet-offblack.es.js +1 -1
- package/dist/components/smartphone-offblack.cjs.js +1 -1
- package/dist/components/smartphone-offblack.es.js +1 -1
- package/dist/components/smartphone-recycle-duocolor.cjs.js +1 -1
- package/dist/components/smartphone-recycle-duocolor.es.js +1 -1
- package/dist/components/smartphone-recycle-offblack.cjs.js +1 -1
- package/dist/components/smartphone-recycle-offblack.es.js +1 -1
- package/dist/components/smartphone-ringing-duocolor.cjs.js +1 -1
- package/dist/components/smartphone-ringing-duocolor.es.js +1 -1
- package/dist/components/smartphone-ringing-offblack.cjs.js +1 -1
- package/dist/components/smartphone-ringing-offblack.es.js +1 -1
- package/dist/components/smartphone-wireless-duocolor.cjs.js +1 -1
- package/dist/components/smartphone-wireless-duocolor.es.js +1 -1
- package/dist/components/smartphone-wireless-offblack.cjs.js +1 -1
- package/dist/components/smartphone-wireless-offblack.es.js +1 -1
- package/dist/components/subway-duocolor.cjs.js +1 -1
- package/dist/components/subway-duocolor.es.js +1 -1
- package/dist/components/subway-offblack.cjs.js +1 -1
- package/dist/components/subway-offblack.es.js +1 -1
- package/dist/components/support-checkmark-duocolor.cjs.js +1 -1
- package/dist/components/support-checkmark-duocolor.es.js +1 -1
- package/dist/components/support-checkmark-offblack.cjs.js +1 -1
- package/dist/components/support-checkmark-offblack.es.js +1 -1
- package/dist/components/sync-duocolor.cjs.js +1 -1
- package/dist/components/sync-duocolor.es.js +1 -1
- package/dist/components/sync-offblack.cjs.js +1 -1
- package/dist/components/sync-offblack.es.js +1 -1
- package/dist/components/target-duocolor.cjs.js +1 -1
- package/dist/components/target-duocolor.es.js +1 -1
- package/dist/components/target-offblack.cjs.js +1 -1
- package/dist/components/target-offblack.es.js +1 -1
- package/dist/components/technical-error-duocolor.cjs.js +1 -1
- package/dist/components/technical-error-duocolor.es.js +1 -1
- package/dist/components/technical-error-offblack.cjs.js +1 -1
- package/dist/components/technical-error-offblack.es.js +1 -1
- package/dist/components/train-duocolor.cjs.js +1 -1
- package/dist/components/train-duocolor.es.js +1 -1
- package/dist/components/train-offblack.cjs.js +1 -1
- package/dist/components/train-offblack.es.js +1 -1
- package/dist/components/trees-duocolor.cjs.js +1 -1
- package/dist/components/trees-duocolor.es.js +1 -1
- package/dist/components/trees-offblack.cjs.js +1 -1
- package/dist/components/trees-offblack.es.js +1 -1
- package/dist/components/truck-duocolor.cjs.js +1 -1
- package/dist/components/truck-duocolor.es.js +1 -1
- package/dist/components/truck-offblack.cjs.js +1 -1
- package/dist/components/truck-offblack.es.js +1 -1
- package/dist/components/user-checkmark-duocolor.cjs.js +1 -1
- package/dist/components/user-checkmark-duocolor.es.js +1 -1
- package/dist/components/user-checkmark-offblack.cjs.js +1 -1
- package/dist/components/user-checkmark-offblack.es.js +1 -1
- package/dist/components/user-error-duocolor.cjs.js +1 -1
- package/dist/components/user-error-duocolor.es.js +1 -1
- package/dist/components/user-error-offblack.cjs.js +1 -1
- package/dist/components/user-error-offblack.es.js +1 -1
- package/dist/components/user-lock-duocolor.cjs.js +1 -1
- package/dist/components/user-lock-duocolor.es.js +1 -1
- package/dist/components/user-lock-offblack.cjs.js +1 -1
- package/dist/components/user-lock-offblack.es.js +1 -1
- package/dist/components/user-plus-duocolor.cjs.js +1 -1
- package/dist/components/user-plus-duocolor.es.js +1 -1
- package/dist/components/user-plus-offblack.cjs.js +1 -1
- package/dist/components/user-plus-offblack.es.js +1 -1
- package/dist/components/user-settings-duocolor.cjs.js +1 -1
- package/dist/components/user-settings-duocolor.es.js +1 -1
- package/dist/components/user-settings-offblack.cjs.js +1 -1
- package/dist/components/user-settings-offblack.es.js +1 -1
- package/dist/components/video-meeting-duocolor.cjs.js +1 -1
- package/dist/components/video-meeting-duocolor.es.js +1 -1
- package/dist/components/video-meeting-offblack.cjs.js +1 -1
- package/dist/components/video-meeting-offblack.es.js +1 -1
- package/dist/components/video-surveillance-cloud-duocolor.cjs.js +1 -1
- package/dist/components/video-surveillance-cloud-duocolor.es.js +1 -1
- package/dist/components/video-surveillance-cloud-offblack.cjs.js +1 -1
- package/dist/components/video-surveillance-cloud-offblack.es.js +1 -1
- package/dist/components/video-surveillance-duocolor.cjs.js +1 -1
- package/dist/components/video-surveillance-duocolor.es.js +1 -1
- package/dist/components/video-surveillance-offblack.cjs.js +1 -1
- package/dist/components/video-surveillance-offblack.es.js +1 -1
- package/dist/components/workshop-duocolor.cjs.js +1 -1
- package/dist/components/workshop-duocolor.es.js +1 -1
- package/dist/components/workshop-offblack.cjs.js +1 -1
- package/dist/components/workshop-offblack.es.js +1 -1
- package/dist/components/world-close-duocolor.cjs.js +1 -1
- package/dist/components/world-close-duocolor.es.js +1 -1
- package/dist/components/world-close-offblack.cjs.js +1 -1
- package/dist/components/world-close-offblack.es.js +1 -1
- package/dist/components/world-duocolor.cjs.js +1 -1
- package/dist/components/world-duocolor.es.js +1 -1
- package/dist/components/world-offblack.cjs.js +1 -1
- package/dist/components/world-offblack.es.js +1 -1
- package/dist/components/world-questionmark-duocolor.cjs.js +1 -1
- package/dist/components/world-questionmark-duocolor.es.js +1 -1
- package/dist/components/world-questionmark-offblack.cjs.js +1 -1
- package/dist/components/world-questionmark-offblack.es.js +1 -1
- package/dist/illustrative-icon.cjs.js +3 -3
- package/dist/illustrative-icon.cjs.js.map +1 -1
- package/dist/illustrative-icon.es.js +450 -457
- package/dist/illustrative-icon.es.js.map +1 -1
- package/dist/{static-illustrative-icon-iifz8PfS.js → static-illustrative-icon-D7TEjcF7.js} +2 -2
- package/dist/{static-illustrative-icon-iifz8PfS.js.map → static-illustrative-icon-D7TEjcF7.js.map} +1 -1
- package/dist/{static-illustrative-icon-CQBauYmB.mjs → static-illustrative-icon-z57e5Jl2.mjs} +5 -6
- package/dist/{static-illustrative-icon-CQBauYmB.mjs.map → static-illustrative-icon-z57e5Jl2.mjs.map} +1 -1
- package/dist/static-illustrative-icon.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/animated-illustrative-icon.tsx +3 -11
- package/src/illustrative-icon.stories.tsx +1 -1
- package/src/static-illustrative-icon.tsx +1 -3
- package/dist/animated-illustrative-icon-CQ8IWhPF.js +0 -10
package/dist/{animated-illustrative-icon-D6lAHqSI.mjs → animated-illustrative-icon-Cxd93oY1.mjs}
RENAMED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { jsx as fs } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as vr, useRef as ps, useState as mr, useEffect as us } from "react";
|
|
3
3
|
import { g as gr } from "./_commonjsHelpers-C6fGbg64.mjs";
|
|
4
|
-
var
|
|
4
|
+
var Le = { exports: {} }, yr = Le.exports, cs;
|
|
5
5
|
function _r() {
|
|
6
|
-
return cs || (cs = 1, function(
|
|
7
|
-
typeof navigator < "u" && function(
|
|
8
|
-
|
|
6
|
+
return cs || (cs = 1, function(Ve, pe) {
|
|
7
|
+
typeof navigator < "u" && function(ue, Mt) {
|
|
8
|
+
Ve.exports = Mt();
|
|
9
9
|
}(yr, function() {
|
|
10
|
-
var
|
|
11
|
-
|
|
12
|
-
},
|
|
13
|
-
return
|
|
14
|
-
},
|
|
15
|
-
|
|
16
|
-
},
|
|
17
|
-
return
|
|
10
|
+
var ue = "http://www.w3.org/2000/svg", Mt = "", Re = !1, ce = -999999, Zt = function(e) {
|
|
11
|
+
Re = !!e;
|
|
12
|
+
}, Et = function() {
|
|
13
|
+
return Re;
|
|
14
|
+
}, de = function(e) {
|
|
15
|
+
Mt = e;
|
|
16
|
+
}, at = function() {
|
|
17
|
+
return Mt;
|
|
18
18
|
};
|
|
19
|
-
function
|
|
19
|
+
function _t(t) {
|
|
20
20
|
return document.createElement(t);
|
|
21
21
|
}
|
|
22
22
|
function X(t, e) {
|
|
@@ -27,12 +27,12 @@ function _r() {
|
|
|
27
27
|
Object.prototype.hasOwnProperty.call(n, r) && (e.prototype[r] = n[r]);
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
|
-
function
|
|
30
|
+
function ei(t) {
|
|
31
31
|
function e() {
|
|
32
32
|
}
|
|
33
33
|
return e.prototype = t, e;
|
|
34
34
|
}
|
|
35
|
-
var
|
|
35
|
+
var Kt = function() {
|
|
36
36
|
function t(e) {
|
|
37
37
|
this.audios = [], this.audioFactory = e, this._volume = 1, this._isMuted = !1;
|
|
38
38
|
}
|
|
@@ -118,12 +118,12 @@ function _r() {
|
|
|
118
118
|
}
|
|
119
119
|
return typeof Uint8ClampedArray == "function" && typeof Float32Array == "function" ? e : t;
|
|
120
120
|
}();
|
|
121
|
-
function
|
|
121
|
+
function tt(t) {
|
|
122
122
|
return Array.apply(null, {
|
|
123
123
|
length: t
|
|
124
124
|
});
|
|
125
125
|
}
|
|
126
|
-
var
|
|
126
|
+
var ve = !0, me = null, se = "", Oe = /^((?!chrome|android).)*safari/i.test(navigator.userAgent), kt = Math.pow, gi = Math.sqrt, Ut = Math.floor, ds = Math.min, yi = 150, Q = Math.PI / 180, Bt = 0.5519;
|
|
127
127
|
function ii(t, e, i, s) {
|
|
128
128
|
this.type = t, this.currentTime = e, this.totalTime = i, this.direction = s < 0 ? -1 : 1;
|
|
129
129
|
}
|
|
@@ -148,7 +148,7 @@ function _r() {
|
|
|
148
148
|
var pt = /* @__PURE__ */ function() {
|
|
149
149
|
var t = 0;
|
|
150
150
|
return function() {
|
|
151
|
-
return t += 1,
|
|
151
|
+
return t += 1, se + "__lottie_element_" + t;
|
|
152
152
|
};
|
|
153
153
|
}();
|
|
154
154
|
function si(t, e, i) {
|
|
@@ -214,32 +214,32 @@ function _r() {
|
|
|
214
214
|
};
|
|
215
215
|
})();
|
|
216
216
|
var gs = function(e) {
|
|
217
|
-
|
|
217
|
+
ve = !!e;
|
|
218
218
|
}, ys = function() {
|
|
219
|
-
return
|
|
219
|
+
return ve;
|
|
220
220
|
}, _s = function(e) {
|
|
221
|
-
|
|
222
|
-
},
|
|
223
|
-
return
|
|
224
|
-
},
|
|
221
|
+
me = e;
|
|
222
|
+
}, Be = function() {
|
|
223
|
+
return me;
|
|
224
|
+
}, Ne = function(e) {
|
|
225
225
|
yi = e;
|
|
226
|
-
},
|
|
226
|
+
}, ze = function() {
|
|
227
227
|
return yi;
|
|
228
228
|
}, bs = function(e) {
|
|
229
|
-
|
|
229
|
+
se = e;
|
|
230
230
|
};
|
|
231
231
|
function W(t) {
|
|
232
|
-
return document.createElementNS(
|
|
232
|
+
return document.createElementNS(ue, t);
|
|
233
233
|
}
|
|
234
|
-
function
|
|
234
|
+
function qe(t) {
|
|
235
235
|
"@babel/helpers - typeof";
|
|
236
|
-
return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ?
|
|
236
|
+
return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? qe = function(i) {
|
|
237
237
|
return typeof i;
|
|
238
|
-
} :
|
|
238
|
+
} : qe = function(i) {
|
|
239
239
|
return i && typeof Symbol == "function" && i.constructor === Symbol && i !== Symbol.prototype ? "symbol" : typeof i;
|
|
240
|
-
},
|
|
240
|
+
}, qe(t);
|
|
241
241
|
}
|
|
242
|
-
var
|
|
242
|
+
var ge = /* @__PURE__ */ function() {
|
|
243
243
|
var t = 1, e = [], i, s, n = {
|
|
244
244
|
onmessage: function() {
|
|
245
245
|
},
|
|
@@ -256,7 +256,7 @@ function _r() {
|
|
|
256
256
|
}
|
|
257
257
|
};
|
|
258
258
|
function o(p) {
|
|
259
|
-
if (window.Worker && window.Blob &&
|
|
259
|
+
if (window.Worker && window.Blob && Et()) {
|
|
260
260
|
var b = new Blob(["var _workerSelf = self; self.onmessage = ", p.toString()], {
|
|
261
261
|
type: "text/javascript"
|
|
262
262
|
}), k = URL.createObjectURL(b);
|
|
@@ -510,7 +510,7 @@ function _r() {
|
|
|
510
510
|
if (r.dataManager || (r.dataManager = k()), r.assetLoader || (r.assetLoader = /* @__PURE__ */ function() {
|
|
511
511
|
function C(v) {
|
|
512
512
|
var f = v.getResponseHeader("content-type");
|
|
513
|
-
return f && v.responseType === "json" && f.indexOf("json") !== -1 || v.response &&
|
|
513
|
+
return f && v.responseType === "json" && f.indexOf("json") !== -1 || v.response && qe(v.response) === "object" ? v.response : v.response && typeof v.response == "string" ? JSON.parse(v.response) : v.responseText ? JSON.parse(v.responseText) : null;
|
|
514
514
|
}
|
|
515
515
|
function y(v, f, u, g) {
|
|
516
516
|
var A, T = new XMLHttpRequest();
|
|
@@ -620,7 +620,7 @@ function _r() {
|
|
|
620
620
|
};
|
|
621
621
|
}(), Ss = function() {
|
|
622
622
|
var t = function() {
|
|
623
|
-
var y =
|
|
623
|
+
var y = _t("canvas");
|
|
624
624
|
y.width = 1, y.height = 1;
|
|
625
625
|
var v = y.getContext("2d");
|
|
626
626
|
return v.fillStyle = "rgba(0,0,0,0)", v.fillRect(0, 0, 1, 1), y;
|
|
@@ -650,7 +650,7 @@ function _r() {
|
|
|
650
650
|
}
|
|
651
651
|
function r(y) {
|
|
652
652
|
var v = s(y, this.assetsPath, this.path), f = W("image");
|
|
653
|
-
|
|
653
|
+
Oe ? this.testImageLoaded(f) : f.addEventListener("load", this._imageLoaded, !1), f.addEventListener("error", (function() {
|
|
654
654
|
u.img = t, this._imageLoaded();
|
|
655
655
|
}).bind(this), !1), f.setAttributeNS("http://www.w3.org/1999/xlink", "href", v), this._elementHelper.append ? this._elementHelper.append(f) : this._elementHelper.appendChild(f);
|
|
656
656
|
var u = {
|
|
@@ -660,7 +660,7 @@ function _r() {
|
|
|
660
660
|
return u;
|
|
661
661
|
}
|
|
662
662
|
function o(y) {
|
|
663
|
-
var v = s(y, this.assetsPath, this.path), f =
|
|
663
|
+
var v = s(y, this.assetsPath, this.path), f = _t("img");
|
|
664
664
|
f.crossOrigin = "anonymous", f.addEventListener("load", this._imageLoaded, !1), f.addEventListener("error", (function() {
|
|
665
665
|
u.img = t, this._imageLoaded();
|
|
666
666
|
}).bind(this), !1), f.src = v;
|
|
@@ -674,7 +674,7 @@ function _r() {
|
|
|
674
674
|
var v = {
|
|
675
675
|
assetData: y
|
|
676
676
|
}, f = s(y, this.assetsPath, this.path);
|
|
677
|
-
return
|
|
677
|
+
return ge.loadData(f, (function(u) {
|
|
678
678
|
v.img = u, this._footageLoaded();
|
|
679
679
|
}).bind(this), (function() {
|
|
680
680
|
v.img = {}, this._footageLoaded();
|
|
@@ -798,43 +798,43 @@ function _r() {
|
|
|
798
798
|
}
|
|
799
799
|
return e.compositions = [], e.currentFrame = 0, e.registerComposition = t, e;
|
|
800
800
|
};
|
|
801
|
-
}(),
|
|
802
|
-
|
|
801
|
+
}(), ye = {}, As = function(e, i) {
|
|
802
|
+
ye[e] = i;
|
|
803
803
|
};
|
|
804
804
|
function ws(t) {
|
|
805
|
-
return
|
|
805
|
+
return ye[t];
|
|
806
806
|
}
|
|
807
807
|
function Cs() {
|
|
808
|
-
if (
|
|
808
|
+
if (ye.canvas)
|
|
809
809
|
return "canvas";
|
|
810
|
-
for (var t in
|
|
811
|
-
if (
|
|
810
|
+
for (var t in ye)
|
|
811
|
+
if (ye[t])
|
|
812
812
|
return t;
|
|
813
813
|
return "";
|
|
814
814
|
}
|
|
815
|
-
function
|
|
815
|
+
function _e(t) {
|
|
816
816
|
"@babel/helpers - typeof";
|
|
817
|
-
return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ?
|
|
817
|
+
return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? _e = function(i) {
|
|
818
818
|
return typeof i;
|
|
819
|
-
} :
|
|
819
|
+
} : _e = function(i) {
|
|
820
820
|
return i && typeof Symbol == "function" && i.constructor === Symbol && i !== Symbol.prototype ? "symbol" : typeof i;
|
|
821
|
-
},
|
|
821
|
+
}, _e(t);
|
|
822
822
|
}
|
|
823
823
|
var z = function() {
|
|
824
|
-
this._cbs = [], this.name = "", this.path = "", this.isLoaded = !1, this.currentFrame = 0, this.currentRawFrame = 0, this.firstFrame = 0, this.totalFrames = 0, this.frameRate = 0, this.frameMult = 0, this.playSpeed = 1, this.playDirection = 1, this.playCount = 0, this.animationData = {}, this.assets = [], this.isPaused = !0, this.autoplay = !1, this.loop = !0, this.renderer = null, this.animationID = pt(), this.assetsPath = "", this.timeCompleted = 0, this.segmentPos = 0, this.isSubframeEnabled = ys(), this.segments = [], this._idle = !0, this._completedLoop = !1, this.projectInterface = ks(), this.imagePreloader = new Ss(), this.audioController =
|
|
824
|
+
this._cbs = [], this.name = "", this.path = "", this.isLoaded = !1, this.currentFrame = 0, this.currentRawFrame = 0, this.firstFrame = 0, this.totalFrames = 0, this.frameRate = 0, this.frameMult = 0, this.playSpeed = 1, this.playDirection = 1, this.playCount = 0, this.animationData = {}, this.assets = [], this.isPaused = !0, this.autoplay = !1, this.loop = !0, this.renderer = null, this.animationID = pt(), this.assetsPath = "", this.timeCompleted = 0, this.segmentPos = 0, this.isSubframeEnabled = ys(), this.segments = [], this._idle = !0, this._completedLoop = !1, this.projectInterface = ks(), this.imagePreloader = new Ss(), this.audioController = Kt(), this.markers = [], this.configAnimation = this.configAnimation.bind(this), this.onSetupError = this.onSetupError.bind(this), this.onSegmentComplete = this.onSegmentComplete.bind(this), this.drawnFrameEvent = new ii("drawnFrame", 0, 0, 0), this.expressionsPlugin = Be();
|
|
825
825
|
};
|
|
826
826
|
X([Ci], z), z.prototype.setParams = function(t) {
|
|
827
827
|
(t.wrapper || t.container) && (this.wrapper = t.wrapper || t.container);
|
|
828
828
|
var e = "svg";
|
|
829
829
|
t.animType ? e = t.animType : t.renderer && (e = t.renderer);
|
|
830
830
|
var i = ws(e);
|
|
831
|
-
this.renderer = new i(this, t.rendererSettings), this.imagePreloader.setCacheType(e, this.renderer.globalData.defs), this.renderer.setProjectInterface(this.projectInterface), this.animType = e, t.loop === "" || t.loop === null || t.loop === void 0 || t.loop === !0 ? this.loop = !0 : t.loop === !1 ? this.loop = !1 : this.loop = parseInt(t.loop, 10), this.autoplay = "autoplay" in t ? t.autoplay : !0, this.name = t.name ? t.name : "", this.autoloadSegments = Object.prototype.hasOwnProperty.call(t, "autoloadSegments") ? t.autoloadSegments : !0, this.assetsPath = t.assetsPath, this.initialSegment = t.initialSegment, t.audioFactory && this.audioController.setAudioFactory(t.audioFactory), t.animationData ? this.setupAnimation(t.animationData) : t.path && (t.path.lastIndexOf("\\") !== -1 ? this.path = t.path.substr(0, t.path.lastIndexOf("\\") + 1) : this.path = t.path.substr(0, t.path.lastIndexOf("/") + 1), this.fileName = t.path.substr(t.path.lastIndexOf("/") + 1), this.fileName = this.fileName.substr(0, this.fileName.lastIndexOf(".json")),
|
|
831
|
+
this.renderer = new i(this, t.rendererSettings), this.imagePreloader.setCacheType(e, this.renderer.globalData.defs), this.renderer.setProjectInterface(this.projectInterface), this.animType = e, t.loop === "" || t.loop === null || t.loop === void 0 || t.loop === !0 ? this.loop = !0 : t.loop === !1 ? this.loop = !1 : this.loop = parseInt(t.loop, 10), this.autoplay = "autoplay" in t ? t.autoplay : !0, this.name = t.name ? t.name : "", this.autoloadSegments = Object.prototype.hasOwnProperty.call(t, "autoloadSegments") ? t.autoloadSegments : !0, this.assetsPath = t.assetsPath, this.initialSegment = t.initialSegment, t.audioFactory && this.audioController.setAudioFactory(t.audioFactory), t.animationData ? this.setupAnimation(t.animationData) : t.path && (t.path.lastIndexOf("\\") !== -1 ? this.path = t.path.substr(0, t.path.lastIndexOf("\\") + 1) : this.path = t.path.substr(0, t.path.lastIndexOf("/") + 1), this.fileName = t.path.substr(t.path.lastIndexOf("/") + 1), this.fileName = this.fileName.substr(0, this.fileName.lastIndexOf(".json")), ge.loadAnimation(t.path, this.configAnimation, this.onSetupError));
|
|
832
832
|
}, z.prototype.onSetupError = function() {
|
|
833
833
|
this.trigger("data_failed");
|
|
834
834
|
}, z.prototype.setupAnimation = function(t) {
|
|
835
|
-
|
|
835
|
+
ge.completeAnimation(t, this.configAnimation);
|
|
836
836
|
}, z.prototype.setData = function(t, e) {
|
|
837
|
-
e &&
|
|
837
|
+
e && _e(e) !== "object" && (e = JSON.parse(e));
|
|
838
838
|
var i = {
|
|
839
839
|
wrapper: t,
|
|
840
840
|
animationData: e
|
|
@@ -860,10 +860,10 @@ function _r() {
|
|
|
860
860
|
if ((t.chars || t.fonts) && (this.renderer.globalData.fontManager.addChars(t.chars), this.renderer.globalData.fontManager.addFonts(t.fonts, this.renderer.globalData.defs)), t.assets)
|
|
861
861
|
for (s = t.assets.length, i = 0; i < s; i += 1)
|
|
862
862
|
this.animationData.assets.push(t.assets[i]);
|
|
863
|
-
this.animationData.__complete = !1,
|
|
863
|
+
this.animationData.__complete = !1, ge.completeAnimation(this.animationData, this.onSegmentComplete);
|
|
864
864
|
}, z.prototype.onSegmentComplete = function(t) {
|
|
865
865
|
this.animationData = t;
|
|
866
|
-
var e =
|
|
866
|
+
var e = Be();
|
|
867
867
|
e && e.initExpressions(this), this.loadNextSegment();
|
|
868
868
|
}, z.prototype.loadNextSegment = function() {
|
|
869
869
|
var t = this.animationData.segments;
|
|
@@ -874,7 +874,7 @@ function _r() {
|
|
|
874
874
|
var e = t.shift();
|
|
875
875
|
this.timeCompleted = e.time * this.frameRate;
|
|
876
876
|
var i = this.path + this.fileName + "_" + this.segmentPos + ".json";
|
|
877
|
-
this.segmentPos += 1,
|
|
877
|
+
this.segmentPos += 1, ge.loadData(i, this.includeLayers.bind(this), (function() {
|
|
878
878
|
this.trigger("data_failed");
|
|
879
879
|
}).bind(this));
|
|
880
880
|
}, z.prototype.loadSegments = function() {
|
|
@@ -896,7 +896,7 @@ function _r() {
|
|
|
896
896
|
}, z.prototype.checkLoaded = function() {
|
|
897
897
|
if (!this.isLoaded && this.renderer.globalData.fontManager.isLoaded && (this.imagePreloader.loadedImages() || this.renderer.rendererType !== "canvas") && this.imagePreloader.loadedFootages()) {
|
|
898
898
|
this.isLoaded = !0;
|
|
899
|
-
var t =
|
|
899
|
+
var t = Be();
|
|
900
900
|
t && t.initExpressions(this), this.renderer.initItems(), setTimeout((function() {
|
|
901
901
|
this.trigger("DOMLoaded");
|
|
902
902
|
}).bind(this), 0), this.gotoFrame(), this.autoplay && this.play();
|
|
@@ -958,7 +958,7 @@ function _r() {
|
|
|
958
958
|
var i = -1;
|
|
959
959
|
this.isPaused && (this.currentRawFrame + this.firstFrame < t ? i = t : this.currentRawFrame + this.firstFrame > e && (i = e - t)), this.firstFrame = t, this.totalFrames = e - t, this.timeCompleted = this.totalFrames, i !== -1 && this.goToAndStop(i, !0);
|
|
960
960
|
}, z.prototype.playSegments = function(t, e) {
|
|
961
|
-
if (e && (this.segments.length = 0),
|
|
961
|
+
if (e && (this.segments.length = 0), _e(t[0]) === "object") {
|
|
962
962
|
var i, s = t.length;
|
|
963
963
|
for (i = 0; i < s; i += 1)
|
|
964
964
|
this.segments.push(t[i]);
|
|
@@ -1148,7 +1148,7 @@ function _r() {
|
|
|
1148
1148
|
a || (a = "svg");
|
|
1149
1149
|
var R = document.getElementsByTagName("body")[0];
|
|
1150
1150
|
R.innerText = "";
|
|
1151
|
-
var q =
|
|
1151
|
+
var q = _t("div");
|
|
1152
1152
|
q.style.width = "100%", q.style.height = "100%", q.setAttribute("data-bm-type", a), R.appendChild(q), h(q, d);
|
|
1153
1153
|
}
|
|
1154
1154
|
}
|
|
@@ -1182,7 +1182,7 @@ function _r() {
|
|
|
1182
1182
|
e[P].animation.unmute(d);
|
|
1183
1183
|
}
|
|
1184
1184
|
return t.registerAnimation = h, t.loadAnimation = b, t.setSpeed = k, t.setDirection = S, t.play = C, t.pause = f, t.stop = g, t.togglePause = A, t.searchAnimations = x, t.resize = I, t.goToAndStop = u, t.destroy = T, t.freeze = N, t.unfreeze = L, t.setVolume = G, t.mute = O, t.unmute = F, t.getRegisteredAnimations = m, t;
|
|
1185
|
-
}(),
|
|
1185
|
+
}(), be = function() {
|
|
1186
1186
|
var t = {};
|
|
1187
1187
|
t.getBezierEasing = i;
|
|
1188
1188
|
var e = {};
|
|
@@ -1255,14 +1255,14 @@ function _r() {
|
|
|
1255
1255
|
}, t;
|
|
1256
1256
|
}(), Ti = /* @__PURE__ */ function() {
|
|
1257
1257
|
function t(e) {
|
|
1258
|
-
return e.concat(
|
|
1258
|
+
return e.concat(tt(e.length));
|
|
1259
1259
|
}
|
|
1260
1260
|
return {
|
|
1261
1261
|
double: t
|
|
1262
1262
|
};
|
|
1263
|
-
}(),
|
|
1263
|
+
}(), je = /* @__PURE__ */ function() {
|
|
1264
1264
|
return function(t, e, i) {
|
|
1265
|
-
var s = 0, n = t, r =
|
|
1265
|
+
var s = 0, n = t, r = tt(n), o = {
|
|
1266
1266
|
newElement: c,
|
|
1267
1267
|
release: h
|
|
1268
1268
|
};
|
|
@@ -1279,11 +1279,11 @@ function _r() {
|
|
|
1279
1279
|
function t() {
|
|
1280
1280
|
return {
|
|
1281
1281
|
addedLength: 0,
|
|
1282
|
-
percents: U("float32",
|
|
1283
|
-
lengths: U("float32",
|
|
1282
|
+
percents: U("float32", ze()),
|
|
1283
|
+
lengths: U("float32", ze())
|
|
1284
1284
|
};
|
|
1285
1285
|
}
|
|
1286
|
-
return
|
|
1286
|
+
return je(8, t);
|
|
1287
1287
|
}(), Ei = function() {
|
|
1288
1288
|
function t() {
|
|
1289
1289
|
return {
|
|
@@ -1297,7 +1297,7 @@ function _r() {
|
|
|
1297
1297
|
Mi.release(i.lengths[s]);
|
|
1298
1298
|
i.lengths.length = 0;
|
|
1299
1299
|
}
|
|
1300
|
-
return
|
|
1300
|
+
return je(8, t, e);
|
|
1301
1301
|
}();
|
|
1302
1302
|
function Ts() {
|
|
1303
1303
|
var t = Math;
|
|
@@ -1313,10 +1313,10 @@ function _r() {
|
|
|
1313
1313
|
}
|
|
1314
1314
|
var s = /* @__PURE__ */ function() {
|
|
1315
1315
|
return function(p, b, k, S) {
|
|
1316
|
-
var C =
|
|
1316
|
+
var C = ze(), y, v, f, u, g, A = 0, T, x = [], I = [], j = Mi.newElement();
|
|
1317
1317
|
for (f = k.length, y = 0; y < C; y += 1) {
|
|
1318
1318
|
for (g = y / (C - 1), T = 0, v = 0; v < f; v += 1)
|
|
1319
|
-
u =
|
|
1319
|
+
u = kt(1 - g, 3) * p[v] + 3 * kt(1 - g, 2) * g * k[v] + 3 * (1 - g) * kt(g, 2) * S[v] + kt(g, 3) * b[v], x[v] = u, I[v] !== null && (T += kt(x[v] - I[v], 2)), I[v] = x[v];
|
|
1320
1320
|
T && (T = gi(T), A += T), j.percents[y] = g, j.lengths[y] = A;
|
|
1321
1321
|
}
|
|
1322
1322
|
return j.addedLength = A, j;
|
|
@@ -1339,12 +1339,12 @@ function _r() {
|
|
|
1339
1339
|
return function(b, k, S, C) {
|
|
1340
1340
|
var y = (b[0] + "_" + b[1] + "_" + k[0] + "_" + k[1] + "_" + S[0] + "_" + S[1] + "_" + C[0] + "_" + C[1]).replace(/\./g, "p");
|
|
1341
1341
|
if (!p[y]) {
|
|
1342
|
-
var v =
|
|
1342
|
+
var v = ze(), f, u, g, A, T, x = 0, I, j, N = null;
|
|
1343
1343
|
b.length === 2 && (b[0] !== k[0] || b[1] !== k[1]) && e(b[0], b[1], k[0], k[1], b[0] + S[0], b[1] + S[1]) && e(b[0], b[1], k[0], k[1], k[0] + C[0], k[1] + C[1]) && (v = 2);
|
|
1344
1344
|
var L = new r(v);
|
|
1345
1345
|
for (g = S.length, f = 0; f < v; f += 1) {
|
|
1346
|
-
for (j =
|
|
1347
|
-
A =
|
|
1346
|
+
for (j = tt(g), T = f / (v - 1), I = 0, u = 0; u < g; u += 1)
|
|
1347
|
+
A = kt(1 - T, 3) * b[u] + 3 * kt(1 - T, 2) * T * (b[u] + S[u]) + 3 * (1 - T) * kt(T, 2) * (k[u] + C[u]) + kt(T, 3) * k[u], j[u] = A, N !== null && (I += kt(j[u] - N[u], 2));
|
|
1348
1348
|
I = gi(I), x += I, L.points[f] = new o(I, j), N = j;
|
|
1349
1349
|
}
|
|
1350
1350
|
L.segmentLength = x, p[y] = L;
|
|
@@ -1353,7 +1353,7 @@ function _r() {
|
|
|
1353
1353
|
};
|
|
1354
1354
|
}();
|
|
1355
1355
|
function h(p, b) {
|
|
1356
|
-
var k = b.percents, S = b.lengths, C = k.length, y =
|
|
1356
|
+
var k = b.percents, S = b.lengths, C = k.length, y = Ut((C - 1) * p), v = p * b.addedLength, f = 0;
|
|
1357
1357
|
if (y === C - 1 || y === 0 || v === S[y])
|
|
1358
1358
|
return k[y];
|
|
1359
1359
|
for (var u = S[y] > v ? -1 : 1, g = !0; g; )
|
|
@@ -1387,7 +1387,7 @@ function _r() {
|
|
|
1387
1387
|
pointOnLine3D: i
|
|
1388
1388
|
};
|
|
1389
1389
|
}
|
|
1390
|
-
var At = Ts(),
|
|
1390
|
+
var At = Ts(), Jt = ce, xi = Math.abs;
|
|
1391
1391
|
function Fi(t, e) {
|
|
1392
1392
|
var i = this.offsetTime, s;
|
|
1393
1393
|
this.propType === "multidimensional" && (s = U("float32", this.pv.length));
|
|
@@ -1412,7 +1412,7 @@ function _r() {
|
|
|
1412
1412
|
for (p = u.points[g].point.length, M = 0; M < p; M += 1)
|
|
1413
1413
|
s[M] = u.points[g].point[M];
|
|
1414
1414
|
} else {
|
|
1415
|
-
_.__fnct ? C = _.__fnct : (C =
|
|
1415
|
+
_.__fnct ? C = _.__fnct : (C = be.getBezierEasing(h.o.x, h.o.y, h.i.x, h.i.y, h.n).get, _.__fnct = C), b = C((t - v) / (y - v));
|
|
1416
1416
|
var A = u.segmentLength * b, T, x = e.lastFrame < t && e._lastKeyframeIndex === r ? e._lastAddedLength : 0;
|
|
1417
1417
|
for (S = e.lastFrame < t && e._lastKeyframeIndex === r ? e._lastPoint : 0, c = !0, k = u.points.length; c; ) {
|
|
1418
1418
|
if (x += u.points[S].partialLength, A === 0 || b === 0 || S === u.points.length - 1) {
|
|
@@ -1441,7 +1441,7 @@ function _r() {
|
|
|
1441
1441
|
}
|
|
1442
1442
|
else
|
|
1443
1443
|
for (r = 0; r < o; r += 1)
|
|
1444
|
-
h.h !== 1 && (t >= y ? b = 1 : t < v ? b = 0 : (h.o.x.constructor === Array ? (_.__fnct || (_.__fnct = []), _.__fnct[r] ? C = _.__fnct[r] : (I = h.o.x[r] === void 0 ? h.o.x[0] : h.o.x[r], j = h.o.y[r] === void 0 ? h.o.y[0] : h.o.y[r], N = h.i.x[r] === void 0 ? h.i.x[0] : h.i.x[r], L = h.i.y[r] === void 0 ? h.i.y[0] : h.i.y[r], C =
|
|
1444
|
+
h.h !== 1 && (t >= y ? b = 1 : t < v ? b = 0 : (h.o.x.constructor === Array ? (_.__fnct || (_.__fnct = []), _.__fnct[r] ? C = _.__fnct[r] : (I = h.o.x[r] === void 0 ? h.o.x[0] : h.o.x[r], j = h.o.y[r] === void 0 ? h.o.y[0] : h.o.y[r], N = h.i.x[r] === void 0 ? h.i.x[0] : h.i.x[r], L = h.i.y[r] === void 0 ? h.i.y[0] : h.i.y[r], C = be.getBezierEasing(I, j, N, L).get, _.__fnct[r] = C)) : _.__fnct ? C = _.__fnct : (I = h.o.x, j = h.o.y, N = h.i.x, L = h.i.y, C = be.getBezierEasing(I, j, N, L).get, h.keyframeMetadata = C), b = C((t - v) / (y - v)))), f = m.s || h.e, G = h.h === 1 ? h.s[r] : h.s[r] + (f[r] - h.s[r]) * b, this.propType === "multidimensional" ? s[r] = G : s = G;
|
|
1445
1445
|
}
|
|
1446
1446
|
return e.lastIndex = n, s;
|
|
1447
1447
|
}
|
|
@@ -1451,22 +1451,22 @@ function _r() {
|
|
|
1451
1451
|
}
|
|
1452
1452
|
function Es(t, e) {
|
|
1453
1453
|
var i = e[0], s = e[1], n = e[2], r = e[3], o = Math.atan2(2 * s * r - 2 * i * n, 1 - 2 * s * s - 2 * n * n), c = Math.asin(2 * i * s + 2 * n * r), h = Math.atan2(2 * i * r - 2 * s * n, 1 - 2 * i * i - 2 * n * n);
|
|
1454
|
-
t[0] = o /
|
|
1454
|
+
t[0] = o / Q, t[1] = c / Q, t[2] = h / Q;
|
|
1455
1455
|
}
|
|
1456
1456
|
function Ii(t) {
|
|
1457
|
-
var e = t[0] *
|
|
1457
|
+
var e = t[0] * Q, i = t[1] * Q, s = t[2] * Q, n = Math.cos(e / 2), r = Math.cos(i / 2), o = Math.cos(s / 2), c = Math.sin(e / 2), h = Math.sin(i / 2), m = Math.sin(s / 2), _ = n * r * o - c * h * m, M = c * h * o + n * r * m, p = c * r * o + n * h * m, b = n * h * o - c * r * m;
|
|
1458
1458
|
return [M, p, b, _];
|
|
1459
1459
|
}
|
|
1460
1460
|
function Li() {
|
|
1461
1461
|
var t = this.comp.renderedFrame - this.offsetTime, e = this.keyframes[0].t - this.offsetTime, i = this.keyframes[this.keyframes.length - 1].t - this.offsetTime;
|
|
1462
|
-
if (!(t === this._caching.lastFrame || this._caching.lastFrame !==
|
|
1462
|
+
if (!(t === this._caching.lastFrame || this._caching.lastFrame !== Jt && (this._caching.lastFrame >= i && t >= i || this._caching.lastFrame < e && t < e))) {
|
|
1463
1463
|
this._caching.lastFrame >= t && (this._caching._lastKeyframeIndex = -1, this._caching.lastIndex = 0);
|
|
1464
1464
|
var s = this.interpolateValue(t, this._caching);
|
|
1465
1465
|
this.pv = s;
|
|
1466
1466
|
}
|
|
1467
1467
|
return this._caching.lastFrame = t, this.pv;
|
|
1468
1468
|
}
|
|
1469
|
-
function
|
|
1469
|
+
function De(t) {
|
|
1470
1470
|
var e;
|
|
1471
1471
|
if (this.propType === "unidimensional")
|
|
1472
1472
|
e = t * this.mult, xi(this.v - e) > 1e-5 && (this.v = e, this._mdf = !0);
|
|
@@ -1474,7 +1474,7 @@ function _r() {
|
|
|
1474
1474
|
for (var i = 0, s = this.v.length; i < s; )
|
|
1475
1475
|
e = t[i] * this.mult, xi(this.v[i] - e) > 1e-5 && (this.v[i] = e, this._mdf = !0), i += 1;
|
|
1476
1476
|
}
|
|
1477
|
-
function
|
|
1477
|
+
function We() {
|
|
1478
1478
|
if (!(this.elem.globalData.frameId === this.frameId || !this.effectsSequence.length)) {
|
|
1479
1479
|
if (this.lock) {
|
|
1480
1480
|
this.setVValue(this.pv);
|
|
@@ -1487,41 +1487,41 @@ function _r() {
|
|
|
1487
1487
|
this.setVValue(i), this._isFirstFrame = !1, this.lock = !1, this.frameId = this.elem.globalData.frameId;
|
|
1488
1488
|
}
|
|
1489
1489
|
}
|
|
1490
|
-
function
|
|
1490
|
+
function Ge(t) {
|
|
1491
1491
|
this.effectsSequence.push(t), this.container.addDynamicProperty(this);
|
|
1492
1492
|
}
|
|
1493
1493
|
function xs(t, e, i, s) {
|
|
1494
|
-
this.propType = "unidimensional", this.mult = i || 1, this.data = e, this.v = i ? e.k * i : e.k, this.pv = e.k, this._mdf = !1, this.elem = t, this.container = s, this.comp = t.comp, this.k = !1, this.kf = !1, this.vel = 0, this.effectsSequence = [], this._isFirstFrame = !0, this.getValue =
|
|
1494
|
+
this.propType = "unidimensional", this.mult = i || 1, this.data = e, this.v = i ? e.k * i : e.k, this.pv = e.k, this._mdf = !1, this.elem = t, this.container = s, this.comp = t.comp, this.k = !1, this.kf = !1, this.vel = 0, this.effectsSequence = [], this._isFirstFrame = !0, this.getValue = We, this.setVValue = De, this.addEffect = Ge;
|
|
1495
1495
|
}
|
|
1496
1496
|
function Fs(t, e, i, s) {
|
|
1497
1497
|
this.propType = "multidimensional", this.mult = i || 1, this.data = e, this._mdf = !1, this.elem = t, this.container = s, this.comp = t.comp, this.k = !1, this.kf = !1, this.frameId = -1;
|
|
1498
1498
|
var n, r = e.k.length;
|
|
1499
1499
|
for (this.v = U("float32", r), this.pv = U("float32", r), this.vel = U("float32", r), n = 0; n < r; n += 1)
|
|
1500
1500
|
this.v[n] = e.k[n] * this.mult, this.pv[n] = e.k[n];
|
|
1501
|
-
this._isFirstFrame = !0, this.effectsSequence = [], this.getValue =
|
|
1501
|
+
this._isFirstFrame = !0, this.effectsSequence = [], this.getValue = We, this.setVValue = De, this.addEffect = Ge;
|
|
1502
1502
|
}
|
|
1503
1503
|
function Is(t, e, i, s) {
|
|
1504
1504
|
this.propType = "unidimensional", this.keyframes = e.k, this.keyframesMetadata = [], this.offsetTime = t.data.st, this.frameId = -1, this._caching = {
|
|
1505
|
-
lastFrame:
|
|
1505
|
+
lastFrame: Jt,
|
|
1506
1506
|
lastIndex: 0,
|
|
1507
1507
|
value: 0,
|
|
1508
1508
|
_lastKeyframeIndex: -1
|
|
1509
|
-
}, this.k = !0, this.kf = !0, this.data = e, this.mult = i || 1, this.elem = t, this.container = s, this.comp = t.comp, this.v =
|
|
1509
|
+
}, this.k = !0, this.kf = !0, this.data = e, this.mult = i || 1, this.elem = t, this.container = s, this.comp = t.comp, this.v = Jt, this.pv = Jt, this._isFirstFrame = !0, this.getValue = We, this.setVValue = De, this.interpolateValue = Fi, this.effectsSequence = [Li.bind(this)], this.addEffect = Ge;
|
|
1510
1510
|
}
|
|
1511
1511
|
function Ls(t, e, i, s) {
|
|
1512
1512
|
this.propType = "multidimensional";
|
|
1513
1513
|
var n, r = e.k.length, o, c, h, m;
|
|
1514
1514
|
for (n = 0; n < r - 1; n += 1)
|
|
1515
1515
|
e.k[n].to && e.k[n].s && e.k[n + 1] && e.k[n + 1].s && (o = e.k[n].s, c = e.k[n + 1].s, h = e.k[n].to, m = e.k[n].ti, (o.length === 2 && !(o[0] === c[0] && o[1] === c[1]) && At.pointOnLine2D(o[0], o[1], c[0], c[1], o[0] + h[0], o[1] + h[1]) && At.pointOnLine2D(o[0], o[1], c[0], c[1], c[0] + m[0], c[1] + m[1]) || o.length === 3 && !(o[0] === c[0] && o[1] === c[1] && o[2] === c[2]) && At.pointOnLine3D(o[0], o[1], o[2], c[0], c[1], c[2], o[0] + h[0], o[1] + h[1], o[2] + h[2]) && At.pointOnLine3D(o[0], o[1], o[2], c[0], c[1], c[2], c[0] + m[0], c[1] + m[1], c[2] + m[2])) && (e.k[n].to = null, e.k[n].ti = null), o[0] === c[0] && o[1] === c[1] && h[0] === 0 && h[1] === 0 && m[0] === 0 && m[1] === 0 && (o.length === 2 || o[2] === c[2] && h[2] === 0 && m[2] === 0) && (e.k[n].to = null, e.k[n].ti = null));
|
|
1516
|
-
this.effectsSequence = [Li.bind(this)], this.data = e, this.keyframes = e.k, this.keyframesMetadata = [], this.offsetTime = t.data.st, this.k = !0, this.kf = !0, this._isFirstFrame = !0, this.mult = i || 1, this.elem = t, this.container = s, this.comp = t.comp, this.getValue =
|
|
1516
|
+
this.effectsSequence = [Li.bind(this)], this.data = e, this.keyframes = e.k, this.keyframesMetadata = [], this.offsetTime = t.data.st, this.k = !0, this.kf = !0, this._isFirstFrame = !0, this.mult = i || 1, this.elem = t, this.container = s, this.comp = t.comp, this.getValue = We, this.setVValue = De, this.interpolateValue = Fi, this.frameId = -1;
|
|
1517
1517
|
var _ = e.k[0].s.length;
|
|
1518
1518
|
for (this.v = U("float32", _), this.pv = U("float32", _), n = 0; n < _; n += 1)
|
|
1519
|
-
this.v[n] =
|
|
1519
|
+
this.v[n] = Jt, this.pv[n] = Jt;
|
|
1520
1520
|
this._caching = {
|
|
1521
|
-
lastFrame:
|
|
1521
|
+
lastFrame: Jt,
|
|
1522
1522
|
lastIndex: 0,
|
|
1523
1523
|
value: U("float32", _)
|
|
1524
|
-
}, this.addEffect =
|
|
1524
|
+
}, this.addEffect = Ge;
|
|
1525
1525
|
}
|
|
1526
1526
|
var V = /* @__PURE__ */ function() {
|
|
1527
1527
|
function t(i, s, n, r, o) {
|
|
@@ -1547,9 +1547,9 @@ function _r() {
|
|
|
1547
1547
|
};
|
|
1548
1548
|
return e;
|
|
1549
1549
|
}();
|
|
1550
|
-
function
|
|
1550
|
+
function rt() {
|
|
1551
1551
|
}
|
|
1552
|
-
|
|
1552
|
+
rt.prototype = {
|
|
1553
1553
|
addDynamicProperty: function(e) {
|
|
1554
1554
|
this.dynamicProperties.indexOf(e) === -1 && (this.dynamicProperties.push(e), this.container.addDynamicProperty(this), this._isAnimated = !0);
|
|
1555
1555
|
},
|
|
@@ -1563,26 +1563,26 @@ function _r() {
|
|
|
1563
1563
|
this.container = e, this.dynamicProperties = [], this._mdf = !1, this._isAnimated = !1;
|
|
1564
1564
|
}
|
|
1565
1565
|
};
|
|
1566
|
-
var
|
|
1566
|
+
var Qt = function() {
|
|
1567
1567
|
function t() {
|
|
1568
1568
|
return U("float32", 2);
|
|
1569
1569
|
}
|
|
1570
|
-
return
|
|
1570
|
+
return je(8, t);
|
|
1571
1571
|
}();
|
|
1572
|
-
function
|
|
1573
|
-
this.c = !1, this._length = 0, this._maxLength = 8, this.v =
|
|
1572
|
+
function xt() {
|
|
1573
|
+
this.c = !1, this._length = 0, this._maxLength = 8, this.v = tt(this._maxLength), this.o = tt(this._maxLength), this.i = tt(this._maxLength);
|
|
1574
1574
|
}
|
|
1575
|
-
|
|
1575
|
+
xt.prototype.setPathData = function(t, e) {
|
|
1576
1576
|
this.c = t, this.setLength(e);
|
|
1577
1577
|
for (var i = 0; i < e; )
|
|
1578
|
-
this.v[i] =
|
|
1579
|
-
},
|
|
1578
|
+
this.v[i] = Qt.newElement(), this.o[i] = Qt.newElement(), this.i[i] = Qt.newElement(), i += 1;
|
|
1579
|
+
}, xt.prototype.setLength = function(t) {
|
|
1580
1580
|
for (; this._maxLength < t; )
|
|
1581
1581
|
this.doubleArrayLength();
|
|
1582
1582
|
this._length = t;
|
|
1583
|
-
},
|
|
1584
|
-
this.v = this.v.concat(
|
|
1585
|
-
},
|
|
1583
|
+
}, xt.prototype.doubleArrayLength = function() {
|
|
1584
|
+
this.v = this.v.concat(tt(this._maxLength)), this.i = this.i.concat(tt(this._maxLength)), this.o = this.o.concat(tt(this._maxLength)), this._maxLength *= 2;
|
|
1585
|
+
}, xt.prototype.setXYAt = function(t, e, i, s, n) {
|
|
1586
1586
|
var r;
|
|
1587
1587
|
switch (this._length = Math.max(this._length, s + 1), this._length >= this._maxLength && this.doubleArrayLength(), i) {
|
|
1588
1588
|
case "v":
|
|
@@ -1598,11 +1598,11 @@ function _r() {
|
|
|
1598
1598
|
r = [];
|
|
1599
1599
|
break;
|
|
1600
1600
|
}
|
|
1601
|
-
(!r[s] || r[s] && !n) && (r[s] =
|
|
1602
|
-
},
|
|
1601
|
+
(!r[s] || r[s] && !n) && (r[s] = Qt.newElement()), r[s][0] = t, r[s][1] = e;
|
|
1602
|
+
}, xt.prototype.setTripleAt = function(t, e, i, s, n, r, o, c) {
|
|
1603
1603
|
this.setXYAt(t, e, "v", o, c), this.setXYAt(i, s, "o", o, c), this.setXYAt(n, r, "i", o, c);
|
|
1604
|
-
},
|
|
1605
|
-
var t = new
|
|
1604
|
+
}, xt.prototype.reverse = function() {
|
|
1605
|
+
var t = new xt();
|
|
1606
1606
|
t.setPathData(this.c, this._length);
|
|
1607
1607
|
var e = this.v, i = this.o, s = this.i, n = 0;
|
|
1608
1608
|
this.c && (t.setTripleAt(e[0][0], e[0][1], s[0][0], s[0][1], i[0][0], i[0][1], 0, !1), n = 1);
|
|
@@ -1610,17 +1610,17 @@ function _r() {
|
|
|
1610
1610
|
for (c = n; c < o; c += 1)
|
|
1611
1611
|
t.setTripleAt(e[r][0], e[r][1], s[r][0], s[r][1], i[r][0], i[r][1], c, !1), r -= 1;
|
|
1612
1612
|
return t;
|
|
1613
|
-
},
|
|
1613
|
+
}, xt.prototype.length = function() {
|
|
1614
1614
|
return this._length;
|
|
1615
1615
|
};
|
|
1616
1616
|
var ot = function() {
|
|
1617
1617
|
function t() {
|
|
1618
|
-
return new
|
|
1618
|
+
return new xt();
|
|
1619
1619
|
}
|
|
1620
1620
|
function e(n) {
|
|
1621
1621
|
var r = n._length, o;
|
|
1622
1622
|
for (o = 0; o < r; o += 1)
|
|
1623
|
-
|
|
1623
|
+
Qt.release(n.v[o]), Qt.release(n.i[o]), Qt.release(n.o[o]), n.v[o] = null, n.i[o] = null, n.o[o] = null;
|
|
1624
1624
|
n._length = 0, n.c = !1;
|
|
1625
1625
|
}
|
|
1626
1626
|
function i(n) {
|
|
@@ -1629,25 +1629,25 @@ function _r() {
|
|
|
1629
1629
|
r.setTripleAt(n.v[o][0], n.v[o][1], n.o[o][0], n.o[o][1], n.i[o][0], n.i[o][1], o);
|
|
1630
1630
|
return r;
|
|
1631
1631
|
}
|
|
1632
|
-
var s =
|
|
1632
|
+
var s = je(4, t, e);
|
|
1633
1633
|
return s.clone = i, s;
|
|
1634
1634
|
}();
|
|
1635
1635
|
function ni() {
|
|
1636
|
-
this._length = 0, this._maxLength = 4, this.shapes =
|
|
1636
|
+
this._length = 0, this._maxLength = 4, this.shapes = tt(this._maxLength);
|
|
1637
1637
|
}
|
|
1638
1638
|
ni.prototype.addShape = function(t) {
|
|
1639
|
-
this._length === this._maxLength && (this.shapes = this.shapes.concat(
|
|
1639
|
+
this._length === this._maxLength && (this.shapes = this.shapes.concat(tt(this._maxLength)), this._maxLength *= 2), this.shapes[this._length] = t, this._length += 1;
|
|
1640
1640
|
}, ni.prototype.releaseShapes = function() {
|
|
1641
1641
|
var t;
|
|
1642
1642
|
for (t = 0; t < this._length; t += 1)
|
|
1643
1643
|
ot.release(this.shapes[t]);
|
|
1644
1644
|
this._length = 0;
|
|
1645
1645
|
};
|
|
1646
|
-
var
|
|
1646
|
+
var re = function() {
|
|
1647
1647
|
var t = {
|
|
1648
1648
|
newShapeCollection: n,
|
|
1649
1649
|
release: r
|
|
1650
|
-
}, e = 0, i = 4, s =
|
|
1650
|
+
}, e = 0, i = 4, s = tt(i);
|
|
1651
1651
|
function n() {
|
|
1652
1652
|
var o;
|
|
1653
1653
|
return e ? (e -= 1, o = s[e]) : o = new ni(), o;
|
|
@@ -1659,7 +1659,7 @@ function _r() {
|
|
|
1659
1659
|
o._length = 0, e === i && (s = Ti.double(s), i *= 2), s[e] = o, e += 1;
|
|
1660
1660
|
}
|
|
1661
1661
|
return t;
|
|
1662
|
-
}(),
|
|
1662
|
+
}(), Xe = function() {
|
|
1663
1663
|
var t = -999999;
|
|
1664
1664
|
function e(y, v, f) {
|
|
1665
1665
|
var u = f.lastIndex, g, A, T, x, I, j, N, L, G, O = this.keyframes;
|
|
@@ -1677,7 +1677,7 @@ function _r() {
|
|
|
1677
1677
|
L = 0;
|
|
1678
1678
|
else {
|
|
1679
1679
|
var w;
|
|
1680
|
-
E.__fnct ? w = E.__fnct : (w =
|
|
1680
|
+
E.__fnct ? w = E.__fnct : (w = be.getBezierEasing(a.o.x, a.o.y, a.i.x, a.i.y).get, E.__fnct = w), L = w((y - (a.t - this.offsetTime)) / (l.t - this.offsetTime - (a.t - this.offsetTime)));
|
|
1681
1681
|
}
|
|
1682
1682
|
A = l.s ? l.s[0] : a.e[0];
|
|
1683
1683
|
}
|
|
@@ -1728,7 +1728,7 @@ function _r() {
|
|
|
1728
1728
|
function c(y, v, f) {
|
|
1729
1729
|
this.propType = "shape", this.comp = y.comp, this.container = y, this.elem = y, this.data = v, this.k = !1, this.kf = !1, this._mdf = !1;
|
|
1730
1730
|
var u = f === 3 ? v.pt.k : v.ks.k;
|
|
1731
|
-
this.v = ot.clone(u), this.pv = ot.clone(this.v), this.localShapeCollection =
|
|
1731
|
+
this.v = ot.clone(u), this.pv = ot.clone(this.v), this.localShapeCollection = re.newShapeCollection(), this.paths = this.localShapeCollection, this.paths.addShape(this.v), this.reset = s, this.effectsSequence = [];
|
|
1732
1732
|
}
|
|
1733
1733
|
function h(y) {
|
|
1734
1734
|
this.effectsSequence.push(y), this.container.addDynamicProperty(this);
|
|
@@ -1737,7 +1737,7 @@ function _r() {
|
|
|
1737
1737
|
function m(y, v, f) {
|
|
1738
1738
|
this.propType = "shape", this.comp = y.comp, this.elem = y, this.container = y, this.offsetTime = y.data.st, this.keyframes = f === 3 ? v.pt.k : v.ks.k, this.keyframesMetadata = [], this.k = !0, this.kf = !0;
|
|
1739
1739
|
var u = this.keyframes[0].s[0].i.length;
|
|
1740
|
-
this.v = ot.newElement(), this.v.setPathData(this.keyframes[0].s[0].c, u), this.pv = ot.clone(this.v), this.localShapeCollection =
|
|
1740
|
+
this.v = ot.newElement(), this.v.setPathData(this.keyframes[0].s[0].c, u), this.pv = ot.clone(this.v), this.localShapeCollection = re.newShapeCollection(), this.paths = this.localShapeCollection, this.paths.addShape(this.v), this.lastFrame = t, this.reset = s, this._caching = {
|
|
1741
1741
|
lastFrame: t,
|
|
1742
1742
|
lastIndex: 0
|
|
1743
1743
|
}, this.effectsSequence = [i.bind(this)];
|
|
@@ -1746,7 +1746,7 @@ function _r() {
|
|
|
1746
1746
|
var _ = function() {
|
|
1747
1747
|
var y = Bt;
|
|
1748
1748
|
function v(f, u) {
|
|
1749
|
-
this.v = ot.newElement(), this.v.setPathData(!0, 4), this.localShapeCollection =
|
|
1749
|
+
this.v = ot.newElement(), this.v.setPathData(!0, 4), this.localShapeCollection = re.newShapeCollection(), this.paths = this.localShapeCollection, this.localShapeCollection.addShape(this.v), this.d = u.d, this.elem = f, this.comp = f.comp, this.frameId = -1, this.initDynamicPropertyContainer(f), this.p = V.getProp(f, u.p, 1, 0, this), this.s = V.getProp(f, u.s, 1, 0, this), this.dynamicProperties.length ? this.k = !0 : (this.k = !1, this.convertEllToPath());
|
|
1750
1750
|
}
|
|
1751
1751
|
return v.prototype = {
|
|
1752
1752
|
reset: s,
|
|
@@ -1757,10 +1757,10 @@ function _r() {
|
|
|
1757
1757
|
var u = this.p.v[0], g = this.p.v[1], A = this.s.v[0] / 2, T = this.s.v[1] / 2, x = this.d !== 3, I = this.v;
|
|
1758
1758
|
I.v[0][0] = u, I.v[0][1] = g - T, I.v[1][0] = x ? u + A : u - A, I.v[1][1] = g, I.v[2][0] = u, I.v[2][1] = g + T, I.v[3][0] = x ? u - A : u + A, I.v[3][1] = g, I.i[0][0] = x ? u - A * y : u + A * y, I.i[0][1] = g - T, I.i[1][0] = x ? u + A : u - A, I.i[1][1] = g - T * y, I.i[2][0] = x ? u + A * y : u - A * y, I.i[2][1] = g + T, I.i[3][0] = x ? u - A : u + A, I.i[3][1] = g + T * y, I.o[0][0] = x ? u + A * y : u - A * y, I.o[0][1] = g - T, I.o[1][0] = x ? u + A : u - A, I.o[1][1] = g + T * y, I.o[2][0] = x ? u - A * y : u + A * y, I.o[2][1] = g + T, I.o[3][0] = x ? u - A : u + A, I.o[3][1] = g - T * y;
|
|
1759
1759
|
}
|
|
1760
|
-
}, X([
|
|
1760
|
+
}, X([rt], v), v;
|
|
1761
1761
|
}(), M = function() {
|
|
1762
1762
|
function y(v, f) {
|
|
1763
|
-
this.v = ot.newElement(), this.v.setPathData(!0, 0), this.elem = v, this.comp = v.comp, this.data = f, this.frameId = -1, this.d = f.d, this.initDynamicPropertyContainer(v), f.sy === 1 ? (this.ir = V.getProp(v, f.ir, 0, 0, this), this.is = V.getProp(v, f.is, 0, 0.01, this), this.convertToPath = this.convertStarToPath) : this.convertToPath = this.convertPolygonToPath, this.pt = V.getProp(v, f.pt, 0, 0, this), this.p = V.getProp(v, f.p, 1, 0, this), this.r = V.getProp(v, f.r, 0,
|
|
1763
|
+
this.v = ot.newElement(), this.v.setPathData(!0, 0), this.elem = v, this.comp = v.comp, this.data = f, this.frameId = -1, this.d = f.d, this.initDynamicPropertyContainer(v), f.sy === 1 ? (this.ir = V.getProp(v, f.ir, 0, 0, this), this.is = V.getProp(v, f.is, 0, 0.01, this), this.convertToPath = this.convertStarToPath) : this.convertToPath = this.convertPolygonToPath, this.pt = V.getProp(v, f.pt, 0, 0, this), this.p = V.getProp(v, f.p, 1, 0, this), this.r = V.getProp(v, f.r, 0, Q, this), this.or = V.getProp(v, f.or, 0, 0, this), this.os = V.getProp(v, f.os, 0, 0.01, this), this.localShapeCollection = re.newShapeCollection(), this.localShapeCollection.addShape(this.v), this.paths = this.localShapeCollection, this.dynamicProperties.length ? this.k = !0 : (this.k = !1, this.convertToPath());
|
|
1764
1764
|
}
|
|
1765
1765
|
return y.prototype = {
|
|
1766
1766
|
reset: s,
|
|
@@ -1785,10 +1785,10 @@ function _r() {
|
|
|
1785
1785
|
}
|
|
1786
1786
|
this.paths.length = 0, this.paths[0] = this.v;
|
|
1787
1787
|
}
|
|
1788
|
-
}, X([
|
|
1788
|
+
}, X([rt], y), y;
|
|
1789
1789
|
}(), p = function() {
|
|
1790
1790
|
function y(v, f) {
|
|
1791
|
-
this.v = ot.newElement(), this.v.c = !0, this.localShapeCollection =
|
|
1791
|
+
this.v = ot.newElement(), this.v.c = !0, this.localShapeCollection = re.newShapeCollection(), this.localShapeCollection.addShape(this.v), this.paths = this.localShapeCollection, this.elem = v, this.comp = v.comp, this.frameId = -1, this.d = f.d, this.initDynamicPropertyContainer(v), this.p = V.getProp(v, f.p, 1, 0, this), this.s = V.getProp(v, f.s, 1, 0, this), this.r = V.getProp(v, f.r, 0, 0, this), this.dynamicProperties.length ? this.k = !0 : (this.k = !1, this.convertRectToPath());
|
|
1792
1792
|
}
|
|
1793
1793
|
return y.prototype = {
|
|
1794
1794
|
convertRectToPath: function() {
|
|
@@ -1799,7 +1799,7 @@ function _r() {
|
|
|
1799
1799
|
this.elem.globalData.frameId !== this.frameId && (this.frameId = this.elem.globalData.frameId, this.iterateDynamicProperties(), this._mdf && this.convertRectToPath());
|
|
1800
1800
|
},
|
|
1801
1801
|
reset: s
|
|
1802
|
-
}, X([
|
|
1802
|
+
}, X([rt], y), y;
|
|
1803
1803
|
}();
|
|
1804
1804
|
function b(y, v, f) {
|
|
1805
1805
|
var u;
|
|
@@ -1868,18 +1868,18 @@ function _r() {
|
|
|
1868
1868
|
function p(a, l, E) {
|
|
1869
1869
|
return !E && E !== 0 && (E = 1), a === 1 && l === 1 && E === 1 ? this : this._t(a, 0, 0, 0, 0, l, 0, 0, 0, 0, E, 0, 0, 0, 0, 1);
|
|
1870
1870
|
}
|
|
1871
|
-
function b(a, l, E, w, R, q, D, Y, H, et, ct, Ct, dt,
|
|
1872
|
-
return this.props[0] = a, this.props[1] = l, this.props[2] = E, this.props[3] = w, this.props[4] = R, this.props[5] = q, this.props[6] = D, this.props[7] = Y, this.props[8] = H, this.props[9] = et, this.props[10] = ct, this.props[11] = Ct, this.props[12] = dt, this.props[13] =
|
|
1871
|
+
function b(a, l, E, w, R, q, D, Y, H, et, ct, Ct, dt, nt, mt, K) {
|
|
1872
|
+
return this.props[0] = a, this.props[1] = l, this.props[2] = E, this.props[3] = w, this.props[4] = R, this.props[5] = q, this.props[6] = D, this.props[7] = Y, this.props[8] = H, this.props[9] = et, this.props[10] = ct, this.props[11] = Ct, this.props[12] = dt, this.props[13] = nt, this.props[14] = mt, this.props[15] = K, this;
|
|
1873
1873
|
}
|
|
1874
1874
|
function k(a, l, E) {
|
|
1875
1875
|
return E = E || 0, a !== 0 || l !== 0 || E !== 0 ? this._t(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, a, l, E, 1) : this;
|
|
1876
1876
|
}
|
|
1877
|
-
function S(a, l, E, w, R, q, D, Y, H, et, ct, Ct, dt,
|
|
1877
|
+
function S(a, l, E, w, R, q, D, Y, H, et, ct, Ct, dt, nt, mt, K) {
|
|
1878
1878
|
var B = this.props;
|
|
1879
1879
|
if (a === 1 && l === 0 && E === 0 && w === 0 && R === 0 && q === 1 && D === 0 && Y === 0 && H === 0 && et === 0 && ct === 1 && Ct === 0)
|
|
1880
|
-
return B[12] = B[12] * a + B[15] * dt, B[13] = B[13] * q + B[15] *
|
|
1881
|
-
var
|
|
1882
|
-
return B[0] =
|
|
1880
|
+
return B[12] = B[12] * a + B[15] * dt, B[13] = B[13] * q + B[15] * nt, B[14] = B[14] * ct + B[15] * mt, B[15] *= K, this._identityCalculated = !1, this;
|
|
1881
|
+
var Lt = B[0], Gt = B[1], Vt = B[2], Tt = B[3], Rt = B[4], Ot = B[5], vt = B[6], Xt = B[7], Yt = B[8], St = B[9], Ht = B[10], Pt = B[11], ie = B[12], Qe = B[13], $e = B[14], ti = B[15];
|
|
1882
|
+
return B[0] = Lt * a + Gt * R + Vt * H + Tt * dt, B[1] = Lt * l + Gt * q + Vt * et + Tt * nt, B[2] = Lt * E + Gt * D + Vt * ct + Tt * mt, B[3] = Lt * w + Gt * Y + Vt * Ct + Tt * K, B[4] = Rt * a + Ot * R + vt * H + Xt * dt, B[5] = Rt * l + Ot * q + vt * et + Xt * nt, B[6] = Rt * E + Ot * D + vt * ct + Xt * mt, B[7] = Rt * w + Ot * Y + vt * Ct + Xt * K, B[8] = Yt * a + St * R + Ht * H + Pt * dt, B[9] = Yt * l + St * q + Ht * et + Pt * nt, B[10] = Yt * E + St * D + Ht * ct + Pt * mt, B[11] = Yt * w + St * Y + Ht * Ct + Pt * K, B[12] = ie * a + Qe * R + $e * H + ti * dt, B[13] = ie * l + Qe * q + $e * et + ti * nt, B[14] = ie * E + Qe * D + $e * ct + ti * mt, B[15] = ie * w + Qe * Y + $e * Ct + ti * K, this._identityCalculated = !1, this;
|
|
1883
1883
|
}
|
|
1884
1884
|
function C(a) {
|
|
1885
1885
|
var l = a.props;
|
|
@@ -1974,17 +1974,17 @@ function _r() {
|
|
|
1974
1974
|
this.reset = n, this.rotate = r, this.rotateX = o, this.rotateY = c, this.rotateZ = h, this.skew = _, this.skewFromAxis = M, this.shear = m, this.scale = p, this.setTransform = b, this.translate = k, this.transform = S, this.multiply = C, this.applyToPoint = g, this.applyToX = A, this.applyToY = T, this.applyToZ = x, this.applyToPointArray = G, this.applyToTriplePoints = L, this.applyToPointStringified = O, this.toCSS = F, this.to2dCSS = P, this.clone = f, this.cloneFromProps = u, this.equals = v, this.inversePoints = N, this.inversePoint = j, this.getInverseMatrix = I, this._t = this.transform, this.isIdentity = y, this._identity = !0, this._identityCalculated = !1, this.props = U("float32", 16), this.reset();
|
|
1975
1975
|
};
|
|
1976
1976
|
}();
|
|
1977
|
-
function
|
|
1977
|
+
function Ye(t) {
|
|
1978
1978
|
"@babel/helpers - typeof";
|
|
1979
|
-
return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ?
|
|
1979
|
+
return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Ye = function(i) {
|
|
1980
1980
|
return typeof i;
|
|
1981
|
-
} :
|
|
1981
|
+
} : Ye = function(i) {
|
|
1982
1982
|
return i && typeof Symbol == "function" && i.constructor === Symbol && i !== Symbol.prototype ? "symbol" : typeof i;
|
|
1983
|
-
},
|
|
1983
|
+
}, Ye(t);
|
|
1984
1984
|
}
|
|
1985
1985
|
var Z = {};
|
|
1986
1986
|
function Vs(t) {
|
|
1987
|
-
|
|
1987
|
+
de(t);
|
|
1988
1988
|
}
|
|
1989
1989
|
function Vi() {
|
|
1990
1990
|
it.searchAnimations();
|
|
@@ -2002,17 +2002,17 @@ function _r() {
|
|
|
2002
2002
|
if (typeof t == "string")
|
|
2003
2003
|
switch (t) {
|
|
2004
2004
|
case "high":
|
|
2005
|
-
|
|
2005
|
+
Ne(200);
|
|
2006
2006
|
break;
|
|
2007
2007
|
default:
|
|
2008
2008
|
case "medium":
|
|
2009
|
-
|
|
2009
|
+
Ne(50);
|
|
2010
2010
|
break;
|
|
2011
2011
|
case "low":
|
|
2012
|
-
|
|
2012
|
+
Ne(10);
|
|
2013
2013
|
break;
|
|
2014
2014
|
}
|
|
2015
|
-
else !isNaN(t) && t > 1 &&
|
|
2015
|
+
else !isNaN(t) && t > 1 && Ne(t);
|
|
2016
2016
|
}
|
|
2017
2017
|
function zs() {
|
|
2018
2018
|
return typeof navigator < "u";
|
|
@@ -2025,14 +2025,14 @@ function _r() {
|
|
|
2025
2025
|
case "propertyFactory":
|
|
2026
2026
|
return V;
|
|
2027
2027
|
case "shapePropertyFactory":
|
|
2028
|
-
return
|
|
2028
|
+
return Xe;
|
|
2029
2029
|
case "matrix":
|
|
2030
2030
|
return ht;
|
|
2031
2031
|
default:
|
|
2032
2032
|
return null;
|
|
2033
2033
|
}
|
|
2034
2034
|
}
|
|
2035
|
-
Z.play = it.play, Z.pause = it.pause, Z.setLocationHref = Vs, Z.togglePause = it.togglePause, Z.setSpeed = it.setSpeed, Z.setDirection = it.setDirection, Z.stop = it.stop, Z.searchAnimations = Vi, Z.registerAnimation = it.registerAnimation, Z.loadAnimation = Bs, Z.setSubframeRendering = Rs, Z.resize = it.resize, Z.goToAndStop = it.goToAndStop, Z.destroy = it.destroy, Z.setQuality = Ns, Z.inBrowser = zs, Z.installPlugin = qs, Z.freeze = it.freeze, Z.unfreeze = it.unfreeze, Z.setVolume = it.setVolume, Z.mute = it.mute, Z.unmute = it.unmute, Z.getRegisteredAnimations = it.getRegisteredAnimations, Z.useWebWorker =
|
|
2035
|
+
Z.play = it.play, Z.pause = it.pause, Z.setLocationHref = Vs, Z.togglePause = it.togglePause, Z.setSpeed = it.setSpeed, Z.setDirection = it.setDirection, Z.stop = it.stop, Z.searchAnimations = Vi, Z.registerAnimation = it.registerAnimation, Z.loadAnimation = Bs, Z.setSubframeRendering = Rs, Z.resize = it.resize, Z.goToAndStop = it.goToAndStop, Z.destroy = it.destroy, Z.setQuality = Ns, Z.inBrowser = zs, Z.installPlugin = qs, Z.freeze = it.freeze, Z.unfreeze = it.unfreeze, Z.setVolume = it.setVolume, Z.mute = it.mute, Z.unmute = it.unmute, Z.getRegisteredAnimations = it.getRegisteredAnimations, Z.useWebWorker = Zt, Z.setIDPrefix = Os, Z.__getFactory = js, Z.version = "5.12.2";
|
|
2036
2036
|
function Ds() {
|
|
2037
2037
|
document.readyState === "complete" && (clearInterval(Xs), Vi());
|
|
2038
2038
|
}
|
|
@@ -2053,7 +2053,7 @@ function _r() {
|
|
|
2053
2053
|
}
|
|
2054
2054
|
var Xs = setInterval(Ds, 100);
|
|
2055
2055
|
try {
|
|
2056
|
-
|
|
2056
|
+
Ye(pe) !== "object" && (window.bodymovin = Z);
|
|
2057
2057
|
} catch {
|
|
2058
2058
|
}
|
|
2059
2059
|
var Nt = function() {
|
|
@@ -2067,32 +2067,32 @@ function _r() {
|
|
|
2067
2067
|
}
|
|
2068
2068
|
return t;
|
|
2069
2069
|
}();
|
|
2070
|
-
function
|
|
2070
|
+
function gt() {
|
|
2071
2071
|
}
|
|
2072
|
-
|
|
2073
|
-
},
|
|
2074
|
-
},
|
|
2072
|
+
gt.prototype.initModifierProperties = function() {
|
|
2073
|
+
}, gt.prototype.addShapeToModifier = function() {
|
|
2074
|
+
}, gt.prototype.addShape = function(t) {
|
|
2075
2075
|
if (!this.closed) {
|
|
2076
2076
|
t.sh.container.addDynamicProperty(t.sh);
|
|
2077
2077
|
var e = {
|
|
2078
2078
|
shape: t.sh,
|
|
2079
2079
|
data: t,
|
|
2080
|
-
localShapeCollection:
|
|
2080
|
+
localShapeCollection: re.newShapeCollection()
|
|
2081
2081
|
};
|
|
2082
2082
|
this.shapes.push(e), this.addShapeToModifier(e), this._isAnimated && t.setAsAnimated();
|
|
2083
2083
|
}
|
|
2084
|
-
},
|
|
2085
|
-
this.shapes = [], this.elem = t, this.initDynamicPropertyContainer(t), this.initModifierProperties(t, e), this.frameId =
|
|
2086
|
-
},
|
|
2084
|
+
}, gt.prototype.init = function(t, e) {
|
|
2085
|
+
this.shapes = [], this.elem = t, this.initDynamicPropertyContainer(t), this.initModifierProperties(t, e), this.frameId = ce, this.closed = !1, this.k = !1, this.dynamicProperties.length ? this.k = !0 : this.getValue(!0);
|
|
2086
|
+
}, gt.prototype.processKeys = function() {
|
|
2087
2087
|
this.elem.globalData.frameId !== this.frameId && (this.frameId = this.elem.globalData.frameId, this.iterateDynamicProperties());
|
|
2088
|
-
}, X([
|
|
2089
|
-
function
|
|
2088
|
+
}, X([rt], gt);
|
|
2089
|
+
function bt() {
|
|
2090
2090
|
}
|
|
2091
|
-
X([
|
|
2091
|
+
X([gt], bt), bt.prototype.initModifierProperties = function(t, e) {
|
|
2092
2092
|
this.s = V.getProp(t, e.s, 0, 0.01, this), this.e = V.getProp(t, e.e, 0, 0.01, this), this.o = V.getProp(t, e.o, 0, 0, this), this.sValue = 0, this.eValue = 0, this.getValue = this.processKeys, this.m = e.m, this._isAnimated = !!this.s.effectsSequence.length || !!this.e.effectsSequence.length || !!this.o.effectsSequence.length;
|
|
2093
|
-
},
|
|
2093
|
+
}, bt.prototype.addShapeToModifier = function(t) {
|
|
2094
2094
|
t.pathsData = [];
|
|
2095
|
-
},
|
|
2095
|
+
}, bt.prototype.calculateShapeEdges = function(t, e, i, s, n) {
|
|
2096
2096
|
var r = [];
|
|
2097
2097
|
e <= 1 ? r.push({
|
|
2098
2098
|
s: t,
|
|
@@ -2114,12 +2114,12 @@ function _r() {
|
|
|
2114
2114
|
m.s * n <= s ? _ = 0 : _ = (m.s * n - s) / i, m.e * n >= s + i ? M = 1 : M = (m.e * n - s) / i, o.push([_, M]);
|
|
2115
2115
|
}
|
|
2116
2116
|
return o.length || o.push([0, 0]), o;
|
|
2117
|
-
},
|
|
2117
|
+
}, bt.prototype.releasePathsData = function(t) {
|
|
2118
2118
|
var e, i = t.length;
|
|
2119
2119
|
for (e = 0; e < i; e += 1)
|
|
2120
2120
|
Ei.release(t[e]);
|
|
2121
2121
|
return t.length = 0, t;
|
|
2122
|
-
},
|
|
2122
|
+
}, bt.prototype.processShapes = function(t) {
|
|
2123
2123
|
var e, i;
|
|
2124
2124
|
if (this._mdf || t) {
|
|
2125
2125
|
var s = this.o.v % 360 / 360;
|
|
@@ -2186,15 +2186,15 @@ function _r() {
|
|
|
2186
2186
|
S.shape.paths = C;
|
|
2187
2187
|
}
|
|
2188
2188
|
}
|
|
2189
|
-
},
|
|
2189
|
+
}, bt.prototype.addPaths = function(t, e) {
|
|
2190
2190
|
var i, s = t.length;
|
|
2191
2191
|
for (i = 0; i < s; i += 1)
|
|
2192
2192
|
e.addShape(t[i]);
|
|
2193
|
-
},
|
|
2193
|
+
}, bt.prototype.addSegment = function(t, e, i, s, n, r, o) {
|
|
2194
2194
|
n.setXYAt(e[0], e[1], "o", r), n.setXYAt(i[0], i[1], "i", r + 1), o && n.setXYAt(t[0], t[1], "v", r), n.setXYAt(s[0], s[1], "v", r + 1);
|
|
2195
|
-
},
|
|
2195
|
+
}, bt.prototype.addSegmentFromArray = function(t, e, i, s) {
|
|
2196
2196
|
e.setXYAt(t[1], t[5], "o", i), e.setXYAt(t[2], t[6], "i", i + 1), s && e.setXYAt(t[0], t[4], "v", i), e.setXYAt(t[3], t[7], "v", i + 1);
|
|
2197
|
-
},
|
|
2197
|
+
}, bt.prototype.addShapes = function(t, e, i) {
|
|
2198
2198
|
var s = t.pathsData, n = t.shape.paths.shapes, r, o = t.shape.paths._length, c, h, m = 0, _, M, p, b, k = [], S, C = !0;
|
|
2199
2199
|
for (i ? (M = i._length, S = i._length) : (i = ot.newElement(), M = 0, S = 0), k.push(i), r = 0; r < o; r += 1) {
|
|
2200
2200
|
for (p = s[r].lengths, i.c = n[r].c, h = n[r].c ? p.length : p.length + 1, c = 1; c < h; c += 1)
|
|
@@ -2219,11 +2219,11 @@ function _r() {
|
|
|
2219
2219
|
}
|
|
2220
2220
|
return k;
|
|
2221
2221
|
};
|
|
2222
|
-
function
|
|
2222
|
+
function Se() {
|
|
2223
2223
|
}
|
|
2224
|
-
X([
|
|
2224
|
+
X([gt], Se), Se.prototype.initModifierProperties = function(t, e) {
|
|
2225
2225
|
this.getValue = this.processKeys, this.amount = V.getProp(t, e.a, 0, null, this), this._isAnimated = !!this.amount.effectsSequence.length;
|
|
2226
|
-
},
|
|
2226
|
+
}, Se.prototype.processPath = function(t, e) {
|
|
2227
2227
|
var i = e / 100, s = [0, 0], n = t._length, r = 0;
|
|
2228
2228
|
for (r = 0; r < n; r += 1)
|
|
2229
2229
|
s[0] += t.v[r][0], s[1] += t.v[r][1];
|
|
@@ -2234,7 +2234,7 @@ function _r() {
|
|
|
2234
2234
|
for (r = 0; r < n; r += 1)
|
|
2235
2235
|
c = t.v[r][0] + (s[0] - t.v[r][0]) * i, h = t.v[r][1] + (s[1] - t.v[r][1]) * i, m = t.o[r][0] + (s[0] - t.o[r][0]) * -i, _ = t.o[r][1] + (s[1] - t.o[r][1]) * -i, M = t.i[r][0] + (s[0] - t.i[r][0]) * -i, p = t.i[r][1] + (s[1] - t.i[r][1]) * -i, o.setTripleAt(c, h, m, _, M, p, r);
|
|
2236
2236
|
return o;
|
|
2237
|
-
},
|
|
2237
|
+
}, Se.prototype.processShapes = function(t) {
|
|
2238
2238
|
var e, i, s = this.shapes.length, n, r, o = this.amount.v;
|
|
2239
2239
|
if (o !== 0) {
|
|
2240
2240
|
var c, h;
|
|
@@ -2299,17 +2299,17 @@ function _r() {
|
|
|
2299
2299
|
if (this.elem = h, this.frameId = -1, this.propType = "transform", this.data = m, this.v = new ht(), this.pre = new ht(), this.appliedTransformations = 0, this.initDynamicPropertyContainer(_ || h), m.p && m.p.s ? (this.px = V.getProp(h, m.p.x, 0, 0, this), this.py = V.getProp(h, m.p.y, 0, 0, this), m.p.z && (this.pz = V.getProp(h, m.p.z, 0, 0, this))) : this.p = V.getProp(h, m.p || {
|
|
2300
2300
|
k: [0, 0, 0]
|
|
2301
2301
|
}, 1, 0, this), m.rx) {
|
|
2302
|
-
if (this.rx = V.getProp(h, m.rx, 0,
|
|
2302
|
+
if (this.rx = V.getProp(h, m.rx, 0, Q, this), this.ry = V.getProp(h, m.ry, 0, Q, this), this.rz = V.getProp(h, m.rz, 0, Q, this), m.or.k[0].ti) {
|
|
2303
2303
|
var M, p = m.or.k.length;
|
|
2304
2304
|
for (M = 0; M < p; M += 1)
|
|
2305
2305
|
m.or.k[M].to = null, m.or.k[M].ti = null;
|
|
2306
2306
|
}
|
|
2307
|
-
this.or = V.getProp(h, m.or, 1,
|
|
2307
|
+
this.or = V.getProp(h, m.or, 1, Q, this), this.or.sh = !0;
|
|
2308
2308
|
} else
|
|
2309
2309
|
this.r = V.getProp(h, m.r || {
|
|
2310
2310
|
k: 0
|
|
2311
|
-
}, 0,
|
|
2312
|
-
m.sk && (this.sk = V.getProp(h, m.sk, 0,
|
|
2311
|
+
}, 0, Q, this);
|
|
2312
|
+
m.sk && (this.sk = V.getProp(h, m.sk, 0, Q, this), this.sa = V.getProp(h, m.sa, 0, Q, this)), this.a = V.getProp(h, m.a || {
|
|
2313
2313
|
k: [0, 0, 0]
|
|
2314
2314
|
}, 1, 0, this), this.s = V.getProp(h, m.s || {
|
|
2315
2315
|
k: [100, 100, 100]
|
|
@@ -2323,7 +2323,7 @@ function _r() {
|
|
|
2323
2323
|
getValue: i,
|
|
2324
2324
|
precalculateMatrix: s,
|
|
2325
2325
|
autoOrient: n
|
|
2326
|
-
}, X([
|
|
2326
|
+
}, X([rt], o), o.prototype.addDynamicProperty = r, o.prototype._addDynamicProperty = rt.prototype.addDynamicProperty;
|
|
2327
2327
|
function c(h, m, _) {
|
|
2328
2328
|
return new o(h, m, _);
|
|
2329
2329
|
}
|
|
@@ -2333,7 +2333,7 @@ function _r() {
|
|
|
2333
2333
|
}();
|
|
2334
2334
|
function wt() {
|
|
2335
2335
|
}
|
|
2336
|
-
X([
|
|
2336
|
+
X([gt], wt), wt.prototype.initModifierProperties = function(t, e) {
|
|
2337
2337
|
this.getValue = this.processKeys, this.c = V.getProp(t, e.c, 0, null, this), this.o = V.getProp(t, e.o, 0, null, this), this.tr = ai.getTransformProperty(t, e.tr, this), this.so = V.getProp(t, e.tr.so, 0, 0.01, this), this.eo = V.getProp(t, e.tr.eo, 0, 0.01, this), this.data = e, this.dynamicProperties.length || this.getValue(!0), this._isAnimated = !!this.dynamicProperties.length, this.pMatrix = new ht(), this.rMatrix = new ht(), this.sMatrix = new ht(), this.tMatrix = new ht(), this.matrix = new ht();
|
|
2338
2338
|
}, wt.prototype.applyTransforms = function(t, e, i, s, n, r) {
|
|
2339
2339
|
var o = r ? -1 : 1, c = s.s.v[0] + (1 - s.s.v[0]) * (1 - n), h = s.s.v[1] + (1 - s.s.v[1]) * (1 - n);
|
|
@@ -2452,18 +2452,18 @@ function _r() {
|
|
|
2452
2452
|
return o;
|
|
2453
2453
|
}, wt.prototype.addShape = function() {
|
|
2454
2454
|
};
|
|
2455
|
-
function
|
|
2455
|
+
function Pe() {
|
|
2456
2456
|
}
|
|
2457
|
-
X([
|
|
2457
|
+
X([gt], Pe), Pe.prototype.initModifierProperties = function(t, e) {
|
|
2458
2458
|
this.getValue = this.processKeys, this.rd = V.getProp(t, e.r, 0, null, this), this._isAnimated = !!this.rd.effectsSequence.length;
|
|
2459
|
-
},
|
|
2459
|
+
}, Pe.prototype.processPath = function(t, e) {
|
|
2460
2460
|
var i = ot.newElement();
|
|
2461
2461
|
i.c = t.c;
|
|
2462
2462
|
var s, n = t._length, r, o, c, h, m, _, M = 0, p, b, k, S, C, y;
|
|
2463
2463
|
for (s = 0; s < n; s += 1)
|
|
2464
2464
|
r = t.v[s], c = t.o[s], o = t.i[s], r[0] === c[0] && r[1] === c[1] && r[0] === o[0] && r[1] === o[1] ? (s === 0 || s === n - 1) && !t.c ? (i.setTripleAt(r[0], r[1], c[0], c[1], o[0], o[1], M), M += 1) : (s === 0 ? h = t.v[n - 1] : h = t.v[s - 1], m = Math.sqrt(Math.pow(r[0] - h[0], 2) + Math.pow(r[1] - h[1], 2)), _ = m ? Math.min(m / 2, e) / m : 0, C = r[0] + (h[0] - r[0]) * _, p = C, y = r[1] - (r[1] - h[1]) * _, b = y, k = p - (p - r[0]) * Bt, S = b - (b - r[1]) * Bt, i.setTripleAt(p, b, k, S, C, y, M), M += 1, s === n - 1 ? h = t.v[0] : h = t.v[s + 1], m = Math.sqrt(Math.pow(r[0] - h[0], 2) + Math.pow(r[1] - h[1], 2)), _ = m ? Math.min(m / 2, e) / m : 0, k = r[0] + (h[0] - r[0]) * _, p = k, S = r[1] + (h[1] - r[1]) * _, b = S, C = p - (p - r[0]) * Bt, y = b - (b - r[1]) * Bt, i.setTripleAt(p, b, k, S, C, y, M), M += 1) : (i.setTripleAt(t.v[s][0], t.v[s][1], t.o[s][0], t.o[s][1], t.i[s][0], t.i[s][1], M), M += 1);
|
|
2465
2465
|
return i;
|
|
2466
|
-
},
|
|
2466
|
+
}, Pe.prototype.processShapes = function(t) {
|
|
2467
2467
|
var e, i, s = this.shapes.length, n, r, o = this.rd.v;
|
|
2468
2468
|
if (o !== 0) {
|
|
2469
2469
|
var c, h;
|
|
@@ -2476,7 +2476,7 @@ function _r() {
|
|
|
2476
2476
|
}
|
|
2477
2477
|
this.dynamicProperties.length || (this._mdf = !1);
|
|
2478
2478
|
};
|
|
2479
|
-
function
|
|
2479
|
+
function He(t, e) {
|
|
2480
2480
|
return Math.abs(t - e) * 1e5 <= Math.min(Math.abs(t), Math.abs(e));
|
|
2481
2481
|
}
|
|
2482
2482
|
function oi(t) {
|
|
@@ -2501,24 +2501,24 @@ function _r() {
|
|
|
2501
2501
|
return [-t + 3 * e - 3 * i + s, 3 * t - 6 * e + 3 * i, -3 * t + 3 * e, t];
|
|
2502
2502
|
}
|
|
2503
2503
|
function qi(t) {
|
|
2504
|
-
return new
|
|
2504
|
+
return new J(t, t, t, t, !1);
|
|
2505
2505
|
}
|
|
2506
|
-
function
|
|
2507
|
-
n &&
|
|
2506
|
+
function J(t, e, i, s, n) {
|
|
2507
|
+
n && ae(t, e) && (e = zt(t, s, 1 / 3)), n && ae(i, s) && (i = zt(t, s, 2 / 3));
|
|
2508
2508
|
var r = zi(t[0], e[0], i[0], s[0]), o = zi(t[1], e[1], i[1], s[1]);
|
|
2509
2509
|
this.a = [r[0], o[0]], this.b = [r[1], o[1]], this.c = [r[2], o[2]], this.d = [r[3], o[3]], this.points = [t, e, i, s];
|
|
2510
2510
|
}
|
|
2511
|
-
|
|
2511
|
+
J.prototype.point = function(t) {
|
|
2512
2512
|
return [((this.a[0] * t + this.b[0]) * t + this.c[0]) * t + this.d[0], ((this.a[1] * t + this.b[1]) * t + this.c[1]) * t + this.d[1]];
|
|
2513
|
-
},
|
|
2513
|
+
}, J.prototype.derivative = function(t) {
|
|
2514
2514
|
return [(3 * t * this.a[0] + 2 * this.b[0]) * t + this.c[0], (3 * t * this.a[1] + 2 * this.b[1]) * t + this.c[1]];
|
|
2515
|
-
},
|
|
2515
|
+
}, J.prototype.tangentAngle = function(t) {
|
|
2516
2516
|
var e = this.derivative(t);
|
|
2517
2517
|
return Math.atan2(e[1], e[0]);
|
|
2518
|
-
},
|
|
2518
|
+
}, J.prototype.normalAngle = function(t) {
|
|
2519
2519
|
var e = this.derivative(t);
|
|
2520
2520
|
return Math.atan2(e[0], e[1]);
|
|
2521
|
-
},
|
|
2521
|
+
}, J.prototype.inflectionPoints = function() {
|
|
2522
2522
|
var t = this.a[1] * this.b[0] - this.a[0] * this.b[1];
|
|
2523
2523
|
if (oi(t)) return [];
|
|
2524
2524
|
var e = -0.5 * (this.a[1] * this.c[0] - this.a[0] * this.c[1]) / t, i = e * e - 1 / 3 * (this.b[1] * this.c[0] - this.b[0] * this.c[1]) / t;
|
|
@@ -2527,11 +2527,11 @@ function _r() {
|
|
|
2527
2527
|
return oi(s) ? s > 0 && s < 1 ? [e] : [] : [e - s, e + s].filter(function(n) {
|
|
2528
2528
|
return n > 0 && n < 1;
|
|
2529
2529
|
});
|
|
2530
|
-
},
|
|
2530
|
+
}, J.prototype.split = function(t) {
|
|
2531
2531
|
if (t <= 0) return [qi(this.points[0]), this];
|
|
2532
2532
|
if (t >= 1) return [this, qi(this.points[this.points.length - 1])];
|
|
2533
2533
|
var e = zt(this.points[0], this.points[1], t), i = zt(this.points[1], this.points[2], t), s = zt(this.points[2], this.points[3], t), n = zt(e, i, t), r = zt(i, s, t), o = zt(n, r, t);
|
|
2534
|
-
return [new
|
|
2534
|
+
return [new J(this.points[0], e, n, o, !0), new J(o, r, s, this.points[3], !0)];
|
|
2535
2535
|
};
|
|
2536
2536
|
function ji(t, e) {
|
|
2537
2537
|
var i = t.points[0][e], s = t.points[t.points.length - 1][e];
|
|
@@ -2549,12 +2549,12 @@ function _r() {
|
|
|
2549
2549
|
max: s
|
|
2550
2550
|
};
|
|
2551
2551
|
}
|
|
2552
|
-
|
|
2552
|
+
J.prototype.bounds = function() {
|
|
2553
2553
|
return {
|
|
2554
2554
|
x: ji(this, 0),
|
|
2555
2555
|
y: ji(this, 1)
|
|
2556
2556
|
};
|
|
2557
|
-
},
|
|
2557
|
+
}, J.prototype.boundingBox = function() {
|
|
2558
2558
|
var t = this.bounds();
|
|
2559
2559
|
return {
|
|
2560
2560
|
left: t.x.min,
|
|
@@ -2567,7 +2567,7 @@ function _r() {
|
|
|
2567
2567
|
cy: (t.y.max + t.y.min) / 2
|
|
2568
2568
|
};
|
|
2569
2569
|
};
|
|
2570
|
-
function
|
|
2570
|
+
function Ze(t, e, i) {
|
|
2571
2571
|
var s = t.boundingBox();
|
|
2572
2572
|
return {
|
|
2573
2573
|
cx: s.cx,
|
|
@@ -2582,51 +2582,51 @@ function _r() {
|
|
|
2582
2582
|
}
|
|
2583
2583
|
function Di(t) {
|
|
2584
2584
|
var e = t.bez.split(0.5);
|
|
2585
|
-
return [
|
|
2585
|
+
return [Ze(e[0], t.t1, t.t), Ze(e[1], t.t, t.t2)];
|
|
2586
2586
|
}
|
|
2587
2587
|
function Hs(t, e) {
|
|
2588
2588
|
return Math.abs(t.cx - e.cx) * 2 < t.width + e.width && Math.abs(t.cy - e.cy) * 2 < t.height + e.height;
|
|
2589
2589
|
}
|
|
2590
|
-
function
|
|
2590
|
+
function ke(t, e, i, s, n, r) {
|
|
2591
2591
|
if (Hs(t, e)) {
|
|
2592
2592
|
if (i >= r || t.width <= s && t.height <= s && e.width <= s && e.height <= s) {
|
|
2593
2593
|
n.push([t.t, e.t]);
|
|
2594
2594
|
return;
|
|
2595
2595
|
}
|
|
2596
2596
|
var o = Di(t), c = Di(e);
|
|
2597
|
-
|
|
2597
|
+
ke(o[0], c[0], i + 1, s, n, r), ke(o[0], c[1], i + 1, s, n, r), ke(o[1], c[0], i + 1, s, n, r), ke(o[1], c[1], i + 1, s, n, r);
|
|
2598
2598
|
}
|
|
2599
2599
|
}
|
|
2600
|
-
|
|
2600
|
+
J.prototype.intersections = function(t, e, i) {
|
|
2601
2601
|
e === void 0 && (e = 2), i === void 0 && (i = 7);
|
|
2602
2602
|
var s = [];
|
|
2603
|
-
return
|
|
2604
|
-
},
|
|
2603
|
+
return ke(Ze(this, 0, 1), Ze(t, 0, 1), 0, e, s, i), s;
|
|
2604
|
+
}, J.shapeSegment = function(t, e) {
|
|
2605
2605
|
var i = (e + 1) % t.length();
|
|
2606
|
-
return new
|
|
2607
|
-
},
|
|
2606
|
+
return new J(t.v[e], t.o[e], t.i[i], t.v[i], !0);
|
|
2607
|
+
}, J.shapeSegmentInverted = function(t, e) {
|
|
2608
2608
|
var i = (e + 1) % t.length();
|
|
2609
|
-
return new
|
|
2609
|
+
return new J(t.v[i], t.i[i], t.o[e], t.v[e], !0);
|
|
2610
2610
|
};
|
|
2611
2611
|
function hi(t, e) {
|
|
2612
2612
|
return [t[1] * e[2] - t[2] * e[1], t[2] * e[0] - t[0] * e[2], t[0] * e[1] - t[1] * e[0]];
|
|
2613
2613
|
}
|
|
2614
|
-
function
|
|
2614
|
+
function Ke(t, e, i, s) {
|
|
2615
2615
|
var n = [t[0], t[1], 1], r = [e[0], e[1], 1], o = [i[0], i[1], 1], c = [s[0], s[1], 1], h = hi(hi(n, r), hi(o, c));
|
|
2616
2616
|
return oi(h[2]) ? null : [h[0] / h[2], h[1] / h[2]];
|
|
2617
2617
|
}
|
|
2618
|
-
function
|
|
2618
|
+
function ne(t, e, i) {
|
|
2619
2619
|
return [t[0] + Math.cos(e) * i, t[1] - Math.sin(e) * i];
|
|
2620
2620
|
}
|
|
2621
2621
|
function li(t, e) {
|
|
2622
2622
|
return Math.hypot(t[0] - e[0], t[1] - e[1]);
|
|
2623
2623
|
}
|
|
2624
|
-
function
|
|
2625
|
-
return
|
|
2624
|
+
function ae(t, e) {
|
|
2625
|
+
return He(t[0], e[0]) && He(t[1], e[1]);
|
|
2626
2626
|
}
|
|
2627
|
-
function
|
|
2627
|
+
function Ae() {
|
|
2628
2628
|
}
|
|
2629
|
-
X([
|
|
2629
|
+
X([gt], Ae), Ae.prototype.initModifierProperties = function(t, e) {
|
|
2630
2630
|
this.getValue = this.processKeys, this.amplitude = V.getProp(t, e.s, 0, null, this), this.frequency = V.getProp(t, e.r, 0, null, this), this.pointsType = V.getProp(t, e.pt, 0, null, this), this._isAnimated = this.amplitude.effectsSequence.length !== 0 || this.frequency.effectsSequence.length !== 0 || this.pointsType.effectsSequence.length !== 0;
|
|
2631
2631
|
};
|
|
2632
2632
|
function Wi(t, e, i, s, n, r, o) {
|
|
@@ -2652,15 +2652,15 @@ function _r() {
|
|
|
2652
2652
|
}
|
|
2653
2653
|
return r;
|
|
2654
2654
|
}
|
|
2655
|
-
|
|
2655
|
+
Ae.prototype.processPath = function(t, e, i, s) {
|
|
2656
2656
|
var n = t._length, r = ot.newElement();
|
|
2657
2657
|
if (r.c = t.c, t.c || (n -= 1), n === 0) return r;
|
|
2658
|
-
var o = -1, c =
|
|
2658
|
+
var o = -1, c = J.shapeSegment(t, 0);
|
|
2659
2659
|
Gi(r, t, 0, e, i, s, o);
|
|
2660
2660
|
for (var h = 0; h < n; h += 1)
|
|
2661
|
-
o = Us(r, c, e, i, s, -o), h === n - 1 && !t.c ? c = null : c =
|
|
2661
|
+
o = Us(r, c, e, i, s, -o), h === n - 1 && !t.c ? c = null : c = J.shapeSegment(t, (h + 1) % n), Gi(r, t, h + 1, e, i, s, o);
|
|
2662
2662
|
return r;
|
|
2663
|
-
},
|
|
2663
|
+
}, Ae.prototype.processShapes = function(t) {
|
|
2664
2664
|
var e, i, s = this.shapes.length, n, r, o = this.amplitude.v, c = Math.max(0, Math.round(this.frequency.v)), h = this.pointsType.v;
|
|
2665
2665
|
if (o !== 0) {
|
|
2666
2666
|
var m, _;
|
|
@@ -2675,29 +2675,29 @@ function _r() {
|
|
|
2675
2675
|
};
|
|
2676
2676
|
function fi(t, e, i) {
|
|
2677
2677
|
var s = Math.atan2(e[0] - t[0], e[1] - t[1]);
|
|
2678
|
-
return [
|
|
2678
|
+
return [ne(t, s, i), ne(e, s, i)];
|
|
2679
2679
|
}
|
|
2680
|
-
function
|
|
2680
|
+
function oe(t, e) {
|
|
2681
2681
|
var i, s, n, r, o, c, h;
|
|
2682
2682
|
h = fi(t.points[0], t.points[1], e), i = h[0], s = h[1], h = fi(t.points[1], t.points[2], e), n = h[0], r = h[1], h = fi(t.points[2], t.points[3], e), o = h[0], c = h[1];
|
|
2683
|
-
var m =
|
|
2683
|
+
var m = Ke(i, s, n, r);
|
|
2684
2684
|
m === null && (m = s);
|
|
2685
|
-
var _ =
|
|
2686
|
-
return _ === null && (_ = o), new
|
|
2685
|
+
var _ = Ke(o, c, n, r);
|
|
2686
|
+
return _ === null && (_ = o), new J(i, m, _, c);
|
|
2687
2687
|
}
|
|
2688
2688
|
function Xi(t, e, i, s, n) {
|
|
2689
2689
|
var r = e.points[3], o = i.points[0];
|
|
2690
|
-
if (s === 3 ||
|
|
2690
|
+
if (s === 3 || ae(r, o)) return r;
|
|
2691
2691
|
if (s === 2) {
|
|
2692
|
-
var c = -e.tangentAngle(1), h = -i.tangentAngle(0) + Math.PI, m =
|
|
2693
|
-
return t.setXYAt(M[0], M[1], "o", t.length() - 1), M =
|
|
2692
|
+
var c = -e.tangentAngle(1), h = -i.tangentAngle(0) + Math.PI, m = Ke(r, ne(r, c + Math.PI / 2, 100), o, ne(o, c + Math.PI / 2, 100)), _ = m ? li(m, r) : li(r, o) / 2, M = ne(r, c, 2 * _ * Bt);
|
|
2693
|
+
return t.setXYAt(M[0], M[1], "o", t.length() - 1), M = ne(o, h, 2 * _ * Bt), t.setTripleAt(o[0], o[1], o[0], o[1], M[0], M[1], t.length()), o;
|
|
2694
2694
|
}
|
|
2695
|
-
var p =
|
|
2695
|
+
var p = ae(r, e.points[2]) ? e.points[0] : e.points[2], b = ae(o, i.points[1]) ? i.points[3] : i.points[1], k = Ke(p, r, o, b);
|
|
2696
2696
|
return k && li(k, r) < n ? (t.setTripleAt(k[0], k[1], k[0], k[1], k[0], k[1], t.length()), k) : r;
|
|
2697
2697
|
}
|
|
2698
2698
|
function Yi(t, e) {
|
|
2699
2699
|
var i = t.intersections(e);
|
|
2700
|
-
return i.length &&
|
|
2700
|
+
return i.length && He(i[0][0], 1) && i.shift(), i.length ? i[0] : null;
|
|
2701
2701
|
}
|
|
2702
2702
|
function Hi(t, e) {
|
|
2703
2703
|
var i = t.slice(), s = e.slice(), n = Yi(t[t.length - 1], e[0]);
|
|
@@ -2711,37 +2711,37 @@ function _r() {
|
|
|
2711
2711
|
function Zi(t, e) {
|
|
2712
2712
|
var i = t.inflectionPoints(), s, n, r, o;
|
|
2713
2713
|
if (i.length === 0)
|
|
2714
|
-
return [
|
|
2715
|
-
if (i.length === 1 ||
|
|
2716
|
-
return r = t.split(i[0]), s = r[0], n = r[1], [
|
|
2714
|
+
return [oe(t, e)];
|
|
2715
|
+
if (i.length === 1 || He(i[1], 1))
|
|
2716
|
+
return r = t.split(i[0]), s = r[0], n = r[1], [oe(s, e), oe(n, e)];
|
|
2717
2717
|
r = t.split(i[0]), s = r[0];
|
|
2718
2718
|
var c = (i[1] - i[0]) / (1 - i[0]);
|
|
2719
|
-
return r = r[1].split(c), o = r[0], n = r[1], [
|
|
2719
|
+
return r = r[1].split(c), o = r[0], n = r[1], [oe(s, e), oe(o, e), oe(n, e)];
|
|
2720
2720
|
}
|
|
2721
|
-
function
|
|
2721
|
+
function we() {
|
|
2722
2722
|
}
|
|
2723
|
-
X([
|
|
2723
|
+
X([gt], we), we.prototype.initModifierProperties = function(t, e) {
|
|
2724
2724
|
this.getValue = this.processKeys, this.amount = V.getProp(t, e.a, 0, null, this), this.miterLimit = V.getProp(t, e.ml, 0, null, this), this.lineJoin = e.lj, this._isAnimated = this.amount.effectsSequence.length !== 0;
|
|
2725
|
-
},
|
|
2725
|
+
}, we.prototype.processPath = function(t, e, i, s) {
|
|
2726
2726
|
var n = ot.newElement();
|
|
2727
2727
|
n.c = t.c;
|
|
2728
2728
|
var r = t.length();
|
|
2729
2729
|
t.c || (r -= 1);
|
|
2730
2730
|
var o, c, h, m = [];
|
|
2731
2731
|
for (o = 0; o < r; o += 1)
|
|
2732
|
-
h =
|
|
2732
|
+
h = J.shapeSegment(t, o), m.push(Zi(h, e));
|
|
2733
2733
|
if (!t.c)
|
|
2734
2734
|
for (o = r - 1; o >= 0; o -= 1)
|
|
2735
|
-
h =
|
|
2735
|
+
h = J.shapeSegmentInverted(t, o), m.push(Zi(h, e));
|
|
2736
2736
|
m = Js(m);
|
|
2737
2737
|
var _ = null, M = null;
|
|
2738
2738
|
for (o = 0; o < m.length; o += 1) {
|
|
2739
2739
|
var p = m[o];
|
|
2740
2740
|
for (M && (_ = Xi(n, M, p[0], i, s)), M = p[p.length - 1], c = 0; c < p.length; c += 1)
|
|
2741
|
-
h = p[c], _ &&
|
|
2741
|
+
h = p[c], _ && ae(h.points[0], _) ? n.setXYAt(h.points[1][0], h.points[1][1], "o", n.length() - 1) : n.setTripleAt(h.points[0][0], h.points[0][1], h.points[1][0], h.points[1][1], h.points[0][0], h.points[0][1], n.length()), n.setTripleAt(h.points[3][0], h.points[3][1], h.points[3][0], h.points[3][1], h.points[2][0], h.points[2][1], n.length()), _ = h.points[3];
|
|
2742
2742
|
}
|
|
2743
2743
|
return m.length && Xi(n, M, m[0][0], i, s), n;
|
|
2744
|
-
},
|
|
2744
|
+
}, we.prototype.processShapes = function(t) {
|
|
2745
2745
|
var e, i, s = this.shapes.length, n, r, o = this.amount.v, c = this.miterLimit.v, h = this.lineJoin;
|
|
2746
2746
|
if (o !== 0) {
|
|
2747
2747
|
var m, _;
|
|
@@ -2783,7 +2783,7 @@ function _r() {
|
|
|
2783
2783
|
weight: t.fWeight || i
|
|
2784
2784
|
};
|
|
2785
2785
|
}
|
|
2786
|
-
var
|
|
2786
|
+
var $t = function() {
|
|
2787
2787
|
var t = 5e3, e = {
|
|
2788
2788
|
w: 0,
|
|
2789
2789
|
size: 0,
|
|
@@ -2801,9 +2801,9 @@ function _r() {
|
|
|
2801
2801
|
return E.join(",");
|
|
2802
2802
|
}
|
|
2803
2803
|
function b(d, P) {
|
|
2804
|
-
var a =
|
|
2804
|
+
var a = _t("span");
|
|
2805
2805
|
a.setAttribute("aria-hidden", !0), a.style.fontFamily = P;
|
|
2806
|
-
var l =
|
|
2806
|
+
var l = _t("span");
|
|
2807
2807
|
l.innerText = "giItT1WQy@!-/#", a.style.position = "absolute", a.style.left = "-10000px", a.style.top = "-10000px", a.style.fontSize = "300px", a.style.fontVariant = "normal", a.style.fontStyle = "normal", a.style.fontWeight = "normal", a.style.letterSpacing = "0", a.appendChild(l), document.body.appendChild(a);
|
|
2808
2808
|
var E = l.offsetWidth;
|
|
2809
2809
|
return l.style.fontFamily = p(d) + ", " + P, {
|
|
@@ -2856,21 +2856,21 @@ function _r() {
|
|
|
2856
2856
|
a[l].loaded = !0, w -= 1;
|
|
2857
2857
|
else if (a[l].fOrigin === "p" || a[l].origin === 3) {
|
|
2858
2858
|
if (q = document.querySelectorAll('style[f-forigin="p"][f-family="' + a[l].fFamily + '"], style[f-origin="3"][f-family="' + a[l].fFamily + '"]'), q.length > 0 && (R = !1), R) {
|
|
2859
|
-
var Y =
|
|
2859
|
+
var Y = _t("style");
|
|
2860
2860
|
Y.setAttribute("f-forigin", a[l].fOrigin), Y.setAttribute("f-origin", a[l].origin), Y.setAttribute("f-family", a[l].fFamily), Y.type = "text/css", Y.innerText = "@font-face {font-family: " + a[l].fFamily + "; font-style: normal; src: url('" + a[l].fPath + "');}", P.appendChild(Y);
|
|
2861
2861
|
}
|
|
2862
2862
|
} else if (a[l].fOrigin === "g" || a[l].origin === 1) {
|
|
2863
2863
|
for (q = document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'), D = 0; D < q.length; D += 1)
|
|
2864
2864
|
q[D].href.indexOf(a[l].fPath) !== -1 && (R = !1);
|
|
2865
2865
|
if (R) {
|
|
2866
|
-
var H =
|
|
2866
|
+
var H = _t("link");
|
|
2867
2867
|
H.setAttribute("f-forigin", a[l].fOrigin), H.setAttribute("f-origin", a[l].origin), H.type = "text/css", H.rel = "stylesheet", H.href = a[l].fPath, document.body.appendChild(H);
|
|
2868
2868
|
}
|
|
2869
2869
|
} else if (a[l].fOrigin === "t" || a[l].origin === 2) {
|
|
2870
2870
|
for (q = document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'), D = 0; D < q.length; D += 1)
|
|
2871
2871
|
a[l].fPath === q[D].src && (R = !1);
|
|
2872
2872
|
if (R) {
|
|
2873
|
-
var et =
|
|
2873
|
+
var et = _t("link");
|
|
2874
2874
|
et.setAttribute("f-forigin", a[l].fOrigin), et.setAttribute("f-origin", a[l].origin), et.setAttribute("rel", "stylesheet"), et.setAttribute("href", a[l].fPath), P.appendChild(et);
|
|
2875
2875
|
}
|
|
2876
2876
|
}
|
|
@@ -2984,9 +2984,9 @@ function _r() {
|
|
|
2984
2984
|
function Qs(t) {
|
|
2985
2985
|
return new Ui(t);
|
|
2986
2986
|
}
|
|
2987
|
-
function
|
|
2987
|
+
function Ue() {
|
|
2988
2988
|
}
|
|
2989
|
-
|
|
2989
|
+
Ue.prototype = {
|
|
2990
2990
|
initRenderable: function() {
|
|
2991
2991
|
this.isInRange = !1, this.hidden = !1, this.isTransparent = !1, this.renderableComponents = [];
|
|
2992
2992
|
},
|
|
@@ -3088,12 +3088,12 @@ function _r() {
|
|
|
3088
3088
|
this.effectElements = [];
|
|
3089
3089
|
var s, n = i.length, r;
|
|
3090
3090
|
for (s = 0; s < n; s += 1)
|
|
3091
|
-
r = new
|
|
3091
|
+
r = new Ce(i[s], e), this.effectElements.push(r);
|
|
3092
3092
|
}
|
|
3093
|
-
function
|
|
3093
|
+
function Ce(t, e) {
|
|
3094
3094
|
this.init(t, e);
|
|
3095
3095
|
}
|
|
3096
|
-
X([
|
|
3096
|
+
X([rt], Ce), Ce.prototype.getValue = Ce.prototype.iterateDynamicProperties, Ce.prototype.init = function(t, e) {
|
|
3097
3097
|
this.data = t, this.effectElements = [], this.initDynamicPropertyContainer(e);
|
|
3098
3098
|
var i, s = this.data.ef.length, n, r = this.data.ef;
|
|
3099
3099
|
for (i = 0; i < s; i += 1) {
|
|
@@ -3193,7 +3193,7 @@ function _r() {
|
|
|
3193
3193
|
this.initFrame(), this.initRenderable(), this.assetData = e.getAssetData(t.refId), this.footageData = e.imageLoader.getAsset(this.assetData), this.initBaseData(t, e, i);
|
|
3194
3194
|
}
|
|
3195
3195
|
Dt.prototype.prepareFrame = function() {
|
|
3196
|
-
}, X([
|
|
3196
|
+
}, X([Ue, qt, jt], Dt), Dt.prototype.getBaseElement = function() {
|
|
3197
3197
|
return null;
|
|
3198
3198
|
}, Dt.prototype.renderFrame = function() {
|
|
3199
3199
|
}, Dt.prototype.destroy = function() {
|
|
@@ -3220,7 +3220,7 @@ function _r() {
|
|
|
3220
3220
|
this._volume = this.lv.v[0];
|
|
3221
3221
|
var i = this._volume * this._volumeMultiplier;
|
|
3222
3222
|
this._previousVolume !== i && (this._previousVolume = i, this.audio.volume(i));
|
|
3223
|
-
}, X([
|
|
3223
|
+
}, X([Ue, qt, jt], ut), ut.prototype.renderFrame = function() {
|
|
3224
3224
|
this.isInRange && this._canPlay && (this._isPlaying ? (!this.audio.playing() || Math.abs(this._currentTime / this.globalData.frameRate - this.audio.seek()) > 0.1) && this.audio.seek(this._currentTime / this.globalData.frameRate) : (this.audio.play(), this.audio.seek(this._currentTime / this.globalData.frameRate), this._isPlaying = !0));
|
|
3225
3225
|
}, ut.prototype.show = function() {
|
|
3226
3226
|
}, ut.prototype.hide = function() {
|
|
@@ -3327,7 +3327,7 @@ function _r() {
|
|
|
3327
3327
|
}
|
|
3328
3328
|
return t.length === 0 ? i : i.getElementByPath(t);
|
|
3329
3329
|
}, lt.prototype.setupGlobalData = function(t, e) {
|
|
3330
|
-
this.globalData.fontManager = new
|
|
3330
|
+
this.globalData.fontManager = new $t(), this.globalData.slotManager = Qs(t), this.globalData.fontManager.addChars(t.chars), this.globalData.fontManager.addFonts(t.fonts, e), this.globalData.getAssetData = this.animationItem.getAssetData.bind(this.animationItem), this.globalData.getAssetsPath = this.animationItem.getAssetsPath.bind(this.animationItem), this.globalData.imageLoader = this.animationItem.imagePreloader, this.globalData.audioController = this.animationItem.audioController, this.globalData.frameId = 0, this.globalData.frameRate = t.fr, this.globalData.nm = t.nm, this.globalData.compSize = {
|
|
3331
3331
|
w: t.w,
|
|
3332
3332
|
h: t.h
|
|
3333
3333
|
};
|
|
@@ -3335,9 +3335,9 @@ function _r() {
|
|
|
3335
3335
|
var or = {
|
|
3336
3336
|
TRANSFORM_EFFECT: "transformEFfect"
|
|
3337
3337
|
};
|
|
3338
|
-
function
|
|
3338
|
+
function he() {
|
|
3339
3339
|
}
|
|
3340
|
-
|
|
3340
|
+
he.prototype = {
|
|
3341
3341
|
initTransform: function() {
|
|
3342
3342
|
var e = new ht();
|
|
3343
3343
|
this.finalTransform = {
|
|
@@ -3414,16 +3414,16 @@ function _r() {
|
|
|
3414
3414
|
},
|
|
3415
3415
|
mHelper: new ht()
|
|
3416
3416
|
};
|
|
3417
|
-
function
|
|
3417
|
+
function te(t, e, i) {
|
|
3418
3418
|
this.data = t, this.element = e, this.globalData = i, this.storedData = [], this.masksProperties = this.data.masksProperties || [], this.maskElement = null;
|
|
3419
3419
|
var s = this.globalData.defs, n, r = this.masksProperties ? this.masksProperties.length : 0;
|
|
3420
|
-
this.viewData =
|
|
3420
|
+
this.viewData = tt(r), this.solidPath = "";
|
|
3421
3421
|
var o, c = this.masksProperties, h = 0, m = [], _, M, p = pt(), b, k, S, C, y = "clipPath", v = "clip-path";
|
|
3422
3422
|
for (n = 0; n < r; n += 1)
|
|
3423
3423
|
if ((c[n].mode !== "a" && c[n].mode !== "n" || c[n].inv || c[n].o.k !== 100 || c[n].o.x) && (y = "mask", v = "mask"), (c[n].mode === "s" || c[n].mode === "i") && h === 0 ? (b = W("rect"), b.setAttribute("fill", "#ffffff"), b.setAttribute("width", this.element.comp.data.w || 0), b.setAttribute("height", this.element.comp.data.h || 0), m.push(b)) : b = null, o = W("path"), c[n].mode === "n")
|
|
3424
3424
|
this.viewData[n] = {
|
|
3425
3425
|
op: V.getProp(this.element, c[n].o, 0, 0.01, this.element),
|
|
3426
|
-
prop:
|
|
3426
|
+
prop: Xe.getShapeProp(this.element, c[n], 3),
|
|
3427
3427
|
elem: o,
|
|
3428
3428
|
lastPath: ""
|
|
3429
3429
|
}, s.appendChild(o);
|
|
@@ -3444,36 +3444,36 @@ function _r() {
|
|
|
3444
3444
|
for (_ = 0; _ < M; _ += 1)
|
|
3445
3445
|
u.appendChild(m[_]);
|
|
3446
3446
|
var g = W("mask");
|
|
3447
|
-
g.setAttribute("mask-type", "alpha"), g.setAttribute("id", p + "_" + h), g.appendChild(o), s.appendChild(g), u.setAttribute("mask", "url(" +
|
|
3447
|
+
g.setAttribute("mask-type", "alpha"), g.setAttribute("id", p + "_" + h), g.appendChild(o), s.appendChild(g), u.setAttribute("mask", "url(" + at() + "#" + p + "_" + h + ")"), m.length = 0, m.push(u);
|
|
3448
3448
|
} else
|
|
3449
3449
|
m.push(o);
|
|
3450
3450
|
c[n].inv && !this.solidPath && (this.solidPath = this.createLayerSolidPath()), this.viewData[n] = {
|
|
3451
3451
|
elem: o,
|
|
3452
3452
|
lastPath: "",
|
|
3453
3453
|
op: V.getProp(this.element, c[n].o, 0, 0.01, this.element),
|
|
3454
|
-
prop:
|
|
3454
|
+
prop: Xe.getShapeProp(this.element, c[n], 3),
|
|
3455
3455
|
invRect: b
|
|
3456
3456
|
}, this.viewData[n].prop.k || this.drawPath(c[n], this.viewData[n].prop.v, this.viewData[n]);
|
|
3457
3457
|
}
|
|
3458
3458
|
for (this.maskElement = W(y), r = m.length, n = 0; n < r; n += 1)
|
|
3459
3459
|
this.maskElement.appendChild(m[n]);
|
|
3460
|
-
h > 0 && (this.maskElement.setAttribute("id", p), this.element.maskedElement.setAttribute(v, "url(" +
|
|
3460
|
+
h > 0 && (this.maskElement.setAttribute("id", p), this.element.maskedElement.setAttribute(v, "url(" + at() + "#" + p + ")"), s.appendChild(this.maskElement)), this.viewData.length && this.element.addRenderableComponent(this);
|
|
3461
3461
|
}
|
|
3462
|
-
|
|
3462
|
+
te.prototype.getMaskProperty = function(t) {
|
|
3463
3463
|
return this.viewData[t].prop;
|
|
3464
|
-
},
|
|
3464
|
+
}, te.prototype.renderFrame = function(t) {
|
|
3465
3465
|
var e = this.element.finalTransform.mat, i, s = this.masksProperties.length;
|
|
3466
3466
|
for (i = 0; i < s; i += 1)
|
|
3467
3467
|
if ((this.viewData[i].prop._mdf || t) && this.drawPath(this.masksProperties[i], this.viewData[i].prop.v, this.viewData[i]), (this.viewData[i].op._mdf || t) && this.viewData[i].elem.setAttribute("fill-opacity", this.viewData[i].op.v), this.masksProperties[i].mode !== "n" && (this.viewData[i].invRect && (this.element.finalTransform.mProp._mdf || t) && this.viewData[i].invRect.setAttribute("transform", e.getInverseMatrix().to2dCSS()), this.storedData[i].x && (this.storedData[i].x._mdf || t))) {
|
|
3468
3468
|
var n = this.storedData[i].expan;
|
|
3469
|
-
this.storedData[i].x.v < 0 ? (this.storedData[i].lastOperator !== "erode" && (this.storedData[i].lastOperator = "erode", this.storedData[i].elem.setAttribute("filter", "url(" +
|
|
3469
|
+
this.storedData[i].x.v < 0 ? (this.storedData[i].lastOperator !== "erode" && (this.storedData[i].lastOperator = "erode", this.storedData[i].elem.setAttribute("filter", "url(" + at() + "#" + this.storedData[i].filterId + ")")), n.setAttribute("radius", -this.storedData[i].x.v)) : (this.storedData[i].lastOperator !== "dilate" && (this.storedData[i].lastOperator = "dilate", this.storedData[i].elem.setAttribute("filter", null)), this.storedData[i].elem.setAttribute("stroke-width", this.storedData[i].x.v * 2));
|
|
3470
3470
|
}
|
|
3471
|
-
},
|
|
3471
|
+
}, te.prototype.getMaskelement = function() {
|
|
3472
3472
|
return this.maskElement;
|
|
3473
|
-
},
|
|
3473
|
+
}, te.prototype.createLayerSolidPath = function() {
|
|
3474
3474
|
var t = "M0,0 ";
|
|
3475
3475
|
return t += " h" + this.globalData.compSize.w, t += " v" + this.globalData.compSize.h, t += " h-" + this.globalData.compSize.w, t += " v-" + this.globalData.compSize.h + " ", t;
|
|
3476
|
-
},
|
|
3476
|
+
}, te.prototype.drawPath = function(t, e, i) {
|
|
3477
3477
|
var s = " M" + e.v[0][0] + "," + e.v[0][1], n, r;
|
|
3478
3478
|
for (r = e._length, n = 1; n < r; n += 1)
|
|
3479
3479
|
s += " C" + e.o[n - 1][0] + "," + e.o[n - 1][1] + " " + e.i[n][0] + "," + e.i[n][1] + " " + e.v[n][0] + "," + e.v[n][1];
|
|
@@ -3481,10 +3481,10 @@ function _r() {
|
|
|
3481
3481
|
var o = "";
|
|
3482
3482
|
i.elem && (e.c && (o = t.inv ? this.solidPath + s : s), i.elem.setAttribute("d", o)), i.lastPath = s;
|
|
3483
3483
|
}
|
|
3484
|
-
},
|
|
3484
|
+
}, te.prototype.destroy = function() {
|
|
3485
3485
|
this.element = null, this.globalData = null, this.maskElement = null, this.data = null, this.masksProperties = null;
|
|
3486
3486
|
};
|
|
3487
|
-
var
|
|
3487
|
+
var Te = function() {
|
|
3488
3488
|
var t = {};
|
|
3489
3489
|
t.createFilter = e, t.createAlphaToLuminanceFilter = i;
|
|
3490
3490
|
function e(s, n) {
|
|
@@ -3505,7 +3505,7 @@ function _r() {
|
|
|
3505
3505
|
return (/MSIE 10/i.test(navigator.userAgent) || /MSIE 9/i.test(navigator.userAgent) || /rv:11.0/i.test(navigator.userAgent) || /Edge\/\d./i.test(navigator.userAgent)) && (t.maskType = !1), /firefox/i.test(navigator.userAgent) && (t.svgLumaHidden = !1), t;
|
|
3506
3506
|
}(), ui = {}, $i = "filter_result_";
|
|
3507
3507
|
function ci(t) {
|
|
3508
|
-
var e, i = "SourceGraphic", s = t.data.ef ? t.data.ef.length : 0, n = pt(), r =
|
|
3508
|
+
var e, i = "SourceGraphic", s = t.data.ef ? t.data.ef.length : 0, n = pt(), r = Te.createFilter(n, !0), o = 0;
|
|
3509
3509
|
this.filters = [];
|
|
3510
3510
|
var c;
|
|
3511
3511
|
for (e = 0; e < s; e += 1) {
|
|
@@ -3517,7 +3517,7 @@ function _r() {
|
|
|
3517
3517
|
}
|
|
3518
3518
|
c && this.filters.push(c);
|
|
3519
3519
|
}
|
|
3520
|
-
o && (t.globalData.defs.appendChild(r), t.layerElement.setAttribute("filter", "url(" +
|
|
3520
|
+
o && (t.globalData.defs.appendChild(r), t.layerElement.setAttribute("filter", "url(" + at() + "#" + n + ")")), this.filters.length && t.addRenderableComponent(this);
|
|
3521
3521
|
}
|
|
3522
3522
|
ci.prototype.renderFrame = function(t) {
|
|
3523
3523
|
var e, i = this.filters.length;
|
|
@@ -3529,9 +3529,9 @@ function _r() {
|
|
|
3529
3529
|
this.filters[e].type === t && s.push(this.filters[e]);
|
|
3530
3530
|
return s;
|
|
3531
3531
|
};
|
|
3532
|
-
function
|
|
3532
|
+
function Me() {
|
|
3533
3533
|
}
|
|
3534
|
-
|
|
3534
|
+
Me.prototype = {
|
|
3535
3535
|
initRendererElement: function() {
|
|
3536
3536
|
this.layerElement = W("g");
|
|
3537
3537
|
},
|
|
@@ -3549,9 +3549,9 @@ function _r() {
|
|
|
3549
3549
|
var r = pt();
|
|
3550
3550
|
if (s.setAttribute("id", r), s.appendChild(n), this.globalData.defs.appendChild(s), this.checkMasks()) {
|
|
3551
3551
|
var o = W("g");
|
|
3552
|
-
o.setAttribute("clip-path", "url(" +
|
|
3552
|
+
o.setAttribute("clip-path", "url(" + at() + "#" + r + ")"), o.appendChild(this.layerElement), this.transformedElement = o, e ? e.appendChild(this.transformedElement) : this.baseElement = this.transformedElement;
|
|
3553
3553
|
} else
|
|
3554
|
-
this.layerElement.setAttribute("clip-path", "url(" +
|
|
3554
|
+
this.layerElement.setAttribute("clip-path", "url(" + at() + "#" + r + ")");
|
|
3555
3555
|
}
|
|
3556
3556
|
this.data.bm !== 0 && this.setBlendMode();
|
|
3557
3557
|
},
|
|
@@ -3565,37 +3565,37 @@ function _r() {
|
|
|
3565
3565
|
return this.data.hd ? null : this.baseElement;
|
|
3566
3566
|
},
|
|
3567
3567
|
createRenderableComponents: function() {
|
|
3568
|
-
this.maskManager = new
|
|
3568
|
+
this.maskManager = new te(this.data, this, this.globalData), this.renderableEffectsManager = new ci(this), this.searchEffectTransforms();
|
|
3569
3569
|
},
|
|
3570
3570
|
getMatte: function(e) {
|
|
3571
3571
|
if (this.matteMasks || (this.matteMasks = {}), !this.matteMasks[e]) {
|
|
3572
3572
|
var i = this.layerId + "_" + e, s, n, r, o;
|
|
3573
3573
|
if (e === 1 || e === 3) {
|
|
3574
3574
|
var c = W("mask");
|
|
3575
|
-
c.setAttribute("id", i), c.setAttribute("mask-type", e === 3 ? "luminance" : "alpha"), r = W("use"), r.setAttributeNS("http://www.w3.org/1999/xlink", "href", "#" + this.layerId), c.appendChild(r), this.globalData.defs.appendChild(c), !Qi.maskType && e === 1 && (c.setAttribute("mask-type", "luminance"), s = pt(), n =
|
|
3575
|
+
c.setAttribute("id", i), c.setAttribute("mask-type", e === 3 ? "luminance" : "alpha"), r = W("use"), r.setAttributeNS("http://www.w3.org/1999/xlink", "href", "#" + this.layerId), c.appendChild(r), this.globalData.defs.appendChild(c), !Qi.maskType && e === 1 && (c.setAttribute("mask-type", "luminance"), s = pt(), n = Te.createFilter(s), this.globalData.defs.appendChild(n), n.appendChild(Te.createAlphaToLuminanceFilter()), o = W("g"), o.appendChild(r), c.appendChild(o), o.setAttribute("filter", "url(" + at() + "#" + s + ")"));
|
|
3576
3576
|
} else if (e === 2) {
|
|
3577
3577
|
var h = W("mask");
|
|
3578
3578
|
h.setAttribute("id", i), h.setAttribute("mask-type", "alpha");
|
|
3579
3579
|
var m = W("g");
|
|
3580
|
-
h.appendChild(m), s = pt(), n =
|
|
3580
|
+
h.appendChild(m), s = pt(), n = Te.createFilter(s);
|
|
3581
3581
|
var _ = W("feComponentTransfer");
|
|
3582
3582
|
_.setAttribute("in", "SourceGraphic"), n.appendChild(_);
|
|
3583
3583
|
var M = W("feFuncA");
|
|
3584
3584
|
M.setAttribute("type", "table"), M.setAttribute("tableValues", "1.0 0.0"), _.appendChild(M), this.globalData.defs.appendChild(n);
|
|
3585
3585
|
var p = W("rect");
|
|
3586
|
-
p.setAttribute("width", this.comp.data.w), p.setAttribute("height", this.comp.data.h), p.setAttribute("x", "0"), p.setAttribute("y", "0"), p.setAttribute("fill", "#ffffff"), p.setAttribute("opacity", "0"), m.setAttribute("filter", "url(" +
|
|
3586
|
+
p.setAttribute("width", this.comp.data.w), p.setAttribute("height", this.comp.data.h), p.setAttribute("x", "0"), p.setAttribute("y", "0"), p.setAttribute("fill", "#ffffff"), p.setAttribute("opacity", "0"), m.setAttribute("filter", "url(" + at() + "#" + s + ")"), m.appendChild(p), r = W("use"), r.setAttributeNS("http://www.w3.org/1999/xlink", "href", "#" + this.layerId), m.appendChild(r), Qi.maskType || (h.setAttribute("mask-type", "luminance"), n.appendChild(Te.createAlphaToLuminanceFilter()), o = W("g"), m.appendChild(p), o.appendChild(this.layerElement), m.appendChild(o)), this.globalData.defs.appendChild(h);
|
|
3587
3587
|
}
|
|
3588
3588
|
this.matteMasks[e] = i;
|
|
3589
3589
|
}
|
|
3590
3590
|
return this.matteMasks[e];
|
|
3591
3591
|
},
|
|
3592
3592
|
setMatte: function(e) {
|
|
3593
|
-
this.matteElement && this.matteElement.setAttribute("mask", "url(" +
|
|
3593
|
+
this.matteElement && this.matteElement.setAttribute("mask", "url(" + at() + "#" + e + ")");
|
|
3594
3594
|
}
|
|
3595
3595
|
};
|
|
3596
|
-
function
|
|
3596
|
+
function le() {
|
|
3597
3597
|
}
|
|
3598
|
-
|
|
3598
|
+
le.prototype = {
|
|
3599
3599
|
/**
|
|
3600
3600
|
* @function
|
|
3601
3601
|
* Initializes hierarchy properties
|
|
@@ -3631,7 +3631,7 @@ function _r() {
|
|
|
3631
3631
|
this.data.parent !== void 0 && this.comp.buildElementParenting(this, this.data.parent, []);
|
|
3632
3632
|
}
|
|
3633
3633
|
};
|
|
3634
|
-
function
|
|
3634
|
+
function Ee() {
|
|
3635
3635
|
}
|
|
3636
3636
|
(function() {
|
|
3637
3637
|
var t = {
|
|
@@ -3665,9 +3665,9 @@ function _r() {
|
|
|
3665
3665
|
this.innerElem = null, this.destroyBaseElement();
|
|
3666
3666
|
}
|
|
3667
3667
|
};
|
|
3668
|
-
X([
|
|
3668
|
+
X([Ue, ei(t)], Ee);
|
|
3669
3669
|
})();
|
|
3670
|
-
function
|
|
3670
|
+
function xe(t, e, i) {
|
|
3671
3671
|
this.assetData = e.getAssetData(t.refId), this.assetData && this.assetData.sid && (this.assetData = e.slotManager.getProp(this.assetData)), this.initElement(t, e, i), this.sourceRect = {
|
|
3672
3672
|
top: 0,
|
|
3673
3673
|
left: 0,
|
|
@@ -3675,10 +3675,10 @@ function _r() {
|
|
|
3675
3675
|
height: this.assetData.h
|
|
3676
3676
|
};
|
|
3677
3677
|
}
|
|
3678
|
-
X([qt,
|
|
3678
|
+
X([qt, he, Me, le, jt, Ee], xe), xe.prototype.createContent = function() {
|
|
3679
3679
|
var t = this.globalData.getAssetsPath(this.assetData);
|
|
3680
3680
|
this.innerElem = W("image"), this.innerElem.setAttribute("width", this.assetData.w + "px"), this.innerElem.setAttribute("height", this.assetData.h + "px"), this.innerElem.setAttribute("preserveAspectRatio", this.assetData.pr || this.globalData.renderConfig.imagePreserveAspectRatio), this.innerElem.setAttributeNS("http://www.w3.org/1999/xlink", "href", t), this.layerElement.appendChild(this.innerElem);
|
|
3681
|
-
},
|
|
3681
|
+
}, xe.prototype.sourceRectAtTime = function() {
|
|
3682
3682
|
return this.sourceRect;
|
|
3683
3683
|
};
|
|
3684
3684
|
function hr(t, e) {
|
|
@@ -3757,8 +3757,8 @@ function _r() {
|
|
|
3757
3757
|
rs.prototype.reset = function() {
|
|
3758
3758
|
this.d = "", this._mdf = !1;
|
|
3759
3759
|
};
|
|
3760
|
-
function
|
|
3761
|
-
this.elem = t, this.frameId = -1, this.dataProps =
|
|
3760
|
+
function Je(t, e, i, s) {
|
|
3761
|
+
this.elem = t, this.frameId = -1, this.dataProps = tt(e.length), this.renderer = i, this.k = !1, this.dashStr = "", this.dashArray = U("float32", e.length ? e.length - 1 : 0), this.dashoffset = U("float32", 1), this.initDynamicPropertyContainer(s);
|
|
3762
3762
|
var n, r = e.length || 0, o;
|
|
3763
3763
|
for (n = 0; n < r; n += 1)
|
|
3764
3764
|
o = V.getProp(t, e[n].v, 0, 0, this), this.k = o.k || this.k, this.dataProps[n] = {
|
|
@@ -3767,38 +3767,38 @@ function _r() {
|
|
|
3767
3767
|
};
|
|
3768
3768
|
this.k || this.getValue(!0), this._isAnimated = this.k;
|
|
3769
3769
|
}
|
|
3770
|
-
|
|
3770
|
+
Je.prototype.getValue = function(t) {
|
|
3771
3771
|
if (!(this.elem.globalData.frameId === this.frameId && !t) && (this.frameId = this.elem.globalData.frameId, this.iterateDynamicProperties(), this._mdf = this._mdf || t, this._mdf)) {
|
|
3772
3772
|
var e = 0, i = this.dataProps.length;
|
|
3773
3773
|
for (this.renderer === "svg" && (this.dashStr = ""), e = 0; e < i; e += 1)
|
|
3774
3774
|
this.dataProps[e].n !== "o" ? this.renderer === "svg" ? this.dashStr += " " + this.dataProps[e].p.v : this.dashArray[e] = this.dataProps[e].p.v : this.dashoffset[0] = this.dataProps[e].p.v;
|
|
3775
3775
|
}
|
|
3776
|
-
}, X([
|
|
3776
|
+
}, X([rt], Je);
|
|
3777
3777
|
function ns(t, e, i) {
|
|
3778
|
-
this.initDynamicPropertyContainer(t), this.getValue = this.iterateDynamicProperties, this.o = V.getProp(t, e.o, 0, 0.01, this), this.w = V.getProp(t, e.w, 0, null, this), this.d = new
|
|
3778
|
+
this.initDynamicPropertyContainer(t), this.getValue = this.iterateDynamicProperties, this.o = V.getProp(t, e.o, 0, 0.01, this), this.w = V.getProp(t, e.w, 0, null, this), this.d = new Je(t, e.d || {}, "svg", this), this.c = V.getProp(t, e.c, 1, 255, this), this.style = i, this._isAnimated = !!this._isAnimated;
|
|
3779
3779
|
}
|
|
3780
|
-
X([
|
|
3780
|
+
X([rt], ns);
|
|
3781
3781
|
function as(t, e, i) {
|
|
3782
3782
|
this.initDynamicPropertyContainer(t), this.getValue = this.iterateDynamicProperties, this.o = V.getProp(t, e.o, 0, 0.01, this), this.c = V.getProp(t, e.c, 1, 255, this), this.style = i;
|
|
3783
3783
|
}
|
|
3784
|
-
X([
|
|
3784
|
+
X([rt], as);
|
|
3785
3785
|
function os(t, e, i) {
|
|
3786
3786
|
this.initDynamicPropertyContainer(t), this.getValue = this.iterateDynamicProperties, this.style = i;
|
|
3787
3787
|
}
|
|
3788
|
-
X([
|
|
3789
|
-
function
|
|
3788
|
+
X([rt], os);
|
|
3789
|
+
function Fe(t, e, i) {
|
|
3790
3790
|
this.data = e, this.c = U("uint8c", e.p * 4);
|
|
3791
3791
|
var s = e.k.k[0].s ? e.k.k[0].s.length - e.p * 4 : e.k.k.length - e.p * 4;
|
|
3792
3792
|
this.o = U("float32", s), this._cmdf = !1, this._omdf = !1, this._collapsable = this.checkCollapsable(), this._hasOpacity = s, this.initDynamicPropertyContainer(i), this.prop = V.getProp(t, e.k, 1, null, this), this.k = this.prop.k, this.getValue(!0);
|
|
3793
3793
|
}
|
|
3794
|
-
|
|
3794
|
+
Fe.prototype.comparePoints = function(t, e) {
|
|
3795
3795
|
for (var i = 0, s = this.o.length / 2, n; i < s; ) {
|
|
3796
3796
|
if (n = Math.abs(t[i * 4] - t[e * 4 + i * 2]), n > 0.01)
|
|
3797
3797
|
return !1;
|
|
3798
3798
|
i += 1;
|
|
3799
3799
|
}
|
|
3800
3800
|
return !0;
|
|
3801
|
-
},
|
|
3801
|
+
}, Fe.prototype.checkCollapsable = function() {
|
|
3802
3802
|
if (this.o.length / 2 !== this.c.length / 4)
|
|
3803
3803
|
return !1;
|
|
3804
3804
|
if (this.data.k.k[0].s)
|
|
@@ -3810,7 +3810,7 @@ function _r() {
|
|
|
3810
3810
|
else if (!this.comparePoints(this.data.k.k, this.data.p))
|
|
3811
3811
|
return !1;
|
|
3812
3812
|
return !0;
|
|
3813
|
-
},
|
|
3813
|
+
}, Fe.prototype.getValue = function(t) {
|
|
3814
3814
|
if (this.prop.getValue(), this._mdf = !1, this._cmdf = !1, this._omdf = !1, this.prop._mdf || t) {
|
|
3815
3815
|
var e, i = this.data.p * 4, s, n;
|
|
3816
3816
|
for (e = 0; e < i; e += 1)
|
|
@@ -3820,24 +3820,24 @@ function _r() {
|
|
|
3820
3820
|
s = e % 2 === 0 ? 100 : 1, n = e % 2 === 0 ? Math.round(this.prop.v[e] * 100) : this.prop.v[e], this.o[e - this.data.p * 4] !== n && (this.o[e - this.data.p * 4] = n, this._omdf = !t);
|
|
3821
3821
|
this._mdf = !t;
|
|
3822
3822
|
}
|
|
3823
|
-
}, X([
|
|
3824
|
-
function
|
|
3823
|
+
}, X([rt], Fe);
|
|
3824
|
+
function fe(t, e, i) {
|
|
3825
3825
|
this.initDynamicPropertyContainer(t), this.getValue = this.iterateDynamicProperties, this.initGradientData(t, e, i);
|
|
3826
3826
|
}
|
|
3827
|
-
|
|
3827
|
+
fe.prototype.initGradientData = function(t, e, i) {
|
|
3828
3828
|
this.o = V.getProp(t, e.o, 0, 0.01, this), this.s = V.getProp(t, e.s, 1, null, this), this.e = V.getProp(t, e.e, 1, null, this), this.h = V.getProp(t, e.h || {
|
|
3829
3829
|
k: 0
|
|
3830
3830
|
}, 0, 0.01, this), this.a = V.getProp(t, e.a || {
|
|
3831
3831
|
k: 0
|
|
3832
|
-
}, 0,
|
|
3833
|
-
},
|
|
3832
|
+
}, 0, Q, this), this.g = new Fe(t, e.g, this), this.style = i, this.stops = [], this.setGradientData(i.pElem, e), this.setGradientOpacity(e, i), this._isAnimated = !!this._isAnimated;
|
|
3833
|
+
}, fe.prototype.setGradientData = function(t, e) {
|
|
3834
3834
|
var i = pt(), s = W(e.t === 1 ? "linearGradient" : "radialGradient");
|
|
3835
3835
|
s.setAttribute("id", i), s.setAttribute("spreadMethod", "pad"), s.setAttribute("gradientUnits", "userSpaceOnUse");
|
|
3836
3836
|
var n = [], r, o, c;
|
|
3837
3837
|
for (c = e.g.p * 4, o = 0; o < c; o += 4)
|
|
3838
3838
|
r = W("stop"), s.appendChild(r), n.push(r);
|
|
3839
|
-
t.setAttribute(e.ty === "gf" ? "fill" : "stroke", "url(" +
|
|
3840
|
-
},
|
|
3839
|
+
t.setAttribute(e.ty === "gf" ? "fill" : "stroke", "url(" + at() + "#" + i + ")"), this.gf = s, this.cst = n;
|
|
3840
|
+
}, fe.prototype.setGradientOpacity = function(t, e) {
|
|
3841
3841
|
if (this.g._hasOpacity && !this.g._collapsable) {
|
|
3842
3842
|
var i, s, n, r = W("mask"), o = W("path");
|
|
3843
3843
|
r.appendChild(o);
|
|
@@ -3848,13 +3848,13 @@ function _r() {
|
|
|
3848
3848
|
var _ = this.stops;
|
|
3849
3849
|
for (s = t.g.p * 4; s < n; s += 2)
|
|
3850
3850
|
i = W("stop"), i.setAttribute("stop-color", "rgb(255,255,255)"), m.appendChild(i), _.push(i);
|
|
3851
|
-
o.setAttribute(t.ty === "gf" ? "fill" : "stroke", "url(" +
|
|
3851
|
+
o.setAttribute(t.ty === "gf" ? "fill" : "stroke", "url(" + at() + "#" + c + ")"), t.ty === "gs" && (o.setAttribute("stroke-linecap", es[t.lc || 2]), o.setAttribute("stroke-linejoin", is[t.lj || 2]), t.lj === 1 && o.setAttribute("stroke-miterlimit", t.ml)), this.of = m, this.ms = r, this.ost = _, this.maskId = h, e.msElem = o;
|
|
3852
3852
|
}
|
|
3853
|
-
}, X([
|
|
3853
|
+
}, X([rt], fe);
|
|
3854
3854
|
function hs(t, e, i) {
|
|
3855
|
-
this.initDynamicPropertyContainer(t), this.getValue = this.iterateDynamicProperties, this.w = V.getProp(t, e.w, 0, null, this), this.d = new
|
|
3855
|
+
this.initDynamicPropertyContainer(t), this.getValue = this.iterateDynamicProperties, this.w = V.getProp(t, e.w, 0, null, this), this.d = new Je(t, e.d || {}, "svg", this), this.initGradientData(t, e, i), this._isAnimated = !!this._isAnimated;
|
|
3856
3856
|
}
|
|
3857
|
-
X([
|
|
3857
|
+
X([fe, rt], hs);
|
|
3858
3858
|
function lr() {
|
|
3859
3859
|
this.it = [], this.prevViewData = [], this.gr = W("g");
|
|
3860
3860
|
}
|
|
@@ -3926,7 +3926,7 @@ function _r() {
|
|
|
3926
3926
|
}
|
|
3927
3927
|
function c(M, p, b) {
|
|
3928
3928
|
var k = p.style;
|
|
3929
|
-
(p.c._mdf || b) && k.pElem.setAttribute("fill", "rgb(" +
|
|
3929
|
+
(p.c._mdf || b) && k.pElem.setAttribute("fill", "rgb(" + Ut(p.c.v[0]) + "," + Ut(p.c.v[1]) + "," + Ut(p.c.v[2]) + ")"), (p.o._mdf || b) && k.pElem.setAttribute("fill-opacity", p.o.v);
|
|
3930
3930
|
}
|
|
3931
3931
|
function h(M, p, b) {
|
|
3932
3932
|
m(M, p, b), _(M, p, b);
|
|
@@ -3968,51 +3968,51 @@ function _r() {
|
|
|
3968
3968
|
}
|
|
3969
3969
|
function _(M, p, b) {
|
|
3970
3970
|
var k = p.style, S = p.d;
|
|
3971
|
-
S && (S._mdf || b) && S.dashStr && (k.pElem.setAttribute("stroke-dasharray", S.dashStr), k.pElem.setAttribute("stroke-dashoffset", S.dashoffset[0])), p.c && (p.c._mdf || b) && k.pElem.setAttribute("stroke", "rgb(" +
|
|
3971
|
+
S && (S._mdf || b) && S.dashStr && (k.pElem.setAttribute("stroke-dasharray", S.dashStr), k.pElem.setAttribute("stroke-dashoffset", S.dashoffset[0])), p.c && (p.c._mdf || b) && k.pElem.setAttribute("stroke", "rgb(" + Ut(p.c.v[0]) + "," + Ut(p.c.v[1]) + "," + Ut(p.c.v[2]) + ")"), (p.o._mdf || b) && k.pElem.setAttribute("stroke-opacity", p.o.v), (p.w._mdf || b) && (k.pElem.setAttribute("stroke-width", p.w.v), k.msElem && k.msElem.setAttribute("stroke-width", p.w.v));
|
|
3972
3972
|
}
|
|
3973
3973
|
return i;
|
|
3974
3974
|
}();
|
|
3975
|
-
function
|
|
3975
|
+
function $(t, e, i) {
|
|
3976
3976
|
this.shapes = [], this.shapesData = t.shapes, this.stylesList = [], this.shapeModifiers = [], this.itemsData = [], this.processedElements = [], this.animatedContents = [], this.initElement(t, e, i), this.prevViewData = [];
|
|
3977
3977
|
}
|
|
3978
|
-
X([qt,
|
|
3979
|
-
},
|
|
3980
|
-
},
|
|
3978
|
+
X([qt, he, Me, ts, le, jt, Ee], $), $.prototype.initSecondaryElement = function() {
|
|
3979
|
+
}, $.prototype.identityMatrix = new ht(), $.prototype.buildExpressionInterface = function() {
|
|
3980
|
+
}, $.prototype.createContent = function() {
|
|
3981
3981
|
this.searchShapes(this.shapesData, this.itemsData, this.prevViewData, this.layerElement, 0, [], !0), this.filterUniqueShapes();
|
|
3982
|
-
},
|
|
3982
|
+
}, $.prototype.filterUniqueShapes = function() {
|
|
3983
3983
|
var t, e = this.shapes.length, i, s, n = this.stylesList.length, r, o = [], c = !1;
|
|
3984
3984
|
for (s = 0; s < n; s += 1) {
|
|
3985
3985
|
for (r = this.stylesList[s], c = !1, o.length = 0, t = 0; t < e; t += 1)
|
|
3986
3986
|
i = this.shapes[t], i.styles.indexOf(r) !== -1 && (o.push(i), c = i._isAnimated || c);
|
|
3987
3987
|
o.length > 1 && c && this.setShapesAsAnimated(o);
|
|
3988
3988
|
}
|
|
3989
|
-
},
|
|
3989
|
+
}, $.prototype.setShapesAsAnimated = function(t) {
|
|
3990
3990
|
var e, i = t.length;
|
|
3991
3991
|
for (e = 0; e < i; e += 1)
|
|
3992
3992
|
t[e].setAsAnimated();
|
|
3993
|
-
},
|
|
3993
|
+
}, $.prototype.createStyleElement = function(t, e) {
|
|
3994
3994
|
var i, s = new rs(t, e), n = s.pElem;
|
|
3995
3995
|
if (t.ty === "st")
|
|
3996
3996
|
i = new ns(this, t, s);
|
|
3997
3997
|
else if (t.ty === "fl")
|
|
3998
3998
|
i = new as(this, t, s);
|
|
3999
3999
|
else if (t.ty === "gf" || t.ty === "gs") {
|
|
4000
|
-
var r = t.ty === "gf" ?
|
|
4001
|
-
i = new r(this, t, s), this.globalData.defs.appendChild(i.gf), i.maskId && (this.globalData.defs.appendChild(i.ms), this.globalData.defs.appendChild(i.of), n.setAttribute("mask", "url(" +
|
|
4000
|
+
var r = t.ty === "gf" ? fe : hs;
|
|
4001
|
+
i = new r(this, t, s), this.globalData.defs.appendChild(i.gf), i.maskId && (this.globalData.defs.appendChild(i.ms), this.globalData.defs.appendChild(i.of), n.setAttribute("mask", "url(" + at() + "#" + i.maskId + ")"));
|
|
4002
4002
|
} else t.ty === "no" && (i = new os(this, t, s));
|
|
4003
4003
|
return (t.ty === "st" || t.ty === "gs") && (n.setAttribute("stroke-linecap", es[t.lc || 2]), n.setAttribute("stroke-linejoin", is[t.lj || 2]), n.setAttribute("fill-opacity", "0"), t.lj === 1 && n.setAttribute("stroke-miterlimit", t.ml)), t.r === 2 && n.setAttribute("fill-rule", "evenodd"), t.ln && n.setAttribute("id", t.ln), t.cl && n.setAttribute("class", t.cl), t.bm && (n.style["mix-blend-mode"] = pi(t.bm)), this.stylesList.push(s), this.addToAnimatedContents(t, i), i;
|
|
4004
|
-
},
|
|
4004
|
+
}, $.prototype.createGroupElement = function(t) {
|
|
4005
4005
|
var e = new lr();
|
|
4006
4006
|
return t.ln && e.gr.setAttribute("id", t.ln), t.cl && e.gr.setAttribute("class", t.cl), t.bm && (e.gr.style["mix-blend-mode"] = pi(t.bm)), e;
|
|
4007
|
-
},
|
|
4007
|
+
}, $.prototype.createTransformElement = function(t, e) {
|
|
4008
4008
|
var i = ai.getTransformProperty(this, t, this), s = new fr(i, i.o, e);
|
|
4009
4009
|
return this.addToAnimatedContents(t, s), s;
|
|
4010
|
-
},
|
|
4010
|
+
}, $.prototype.createShapeElement = function(t, e, i) {
|
|
4011
4011
|
var s = 4;
|
|
4012
4012
|
t.ty === "rc" ? s = 5 : t.ty === "el" ? s = 6 : t.ty === "sr" && (s = 7);
|
|
4013
|
-
var n =
|
|
4013
|
+
var n = Xe.getShapeProp(this, t, s, this), r = new ss(e, i, n);
|
|
4014
4014
|
return this.shapes.push(r), this.addShapeToModifiers(r), this.addToAnimatedContents(t, r), r;
|
|
4015
|
-
},
|
|
4015
|
+
}, $.prototype.addToAnimatedContents = function(t, e) {
|
|
4016
4016
|
for (var i = 0, s = this.animatedContents.length; i < s; ) {
|
|
4017
4017
|
if (this.animatedContents[i].element === e)
|
|
4018
4018
|
return;
|
|
@@ -4023,11 +4023,11 @@ function _r() {
|
|
|
4023
4023
|
element: e,
|
|
4024
4024
|
data: t
|
|
4025
4025
|
});
|
|
4026
|
-
},
|
|
4026
|
+
}, $.prototype.setElementStyles = function(t) {
|
|
4027
4027
|
var e = t.styles, i, s = this.stylesList.length;
|
|
4028
4028
|
for (i = 0; i < s; i += 1)
|
|
4029
4029
|
this.stylesList[i].closed || e.push(this.stylesList[i]);
|
|
4030
|
-
},
|
|
4030
|
+
}, $.prototype.reloadShapes = function() {
|
|
4031
4031
|
this._isFirstFrame = !0;
|
|
4032
4032
|
var t, e = this.itemsData.length;
|
|
4033
4033
|
for (t = 0; t < e; t += 1)
|
|
@@ -4035,7 +4035,7 @@ function _r() {
|
|
|
4035
4035
|
for (this.searchShapes(this.shapesData, this.itemsData, this.prevViewData, this.layerElement, 0, [], !0), this.filterUniqueShapes(), e = this.dynamicProperties.length, t = 0; t < e; t += 1)
|
|
4036
4036
|
this.dynamicProperties[t].getValue();
|
|
4037
4037
|
this.renderModifiers();
|
|
4038
|
-
},
|
|
4038
|
+
}, $.prototype.searchShapes = function(t, e, i, s, n, r, o) {
|
|
4039
4039
|
var c = [].concat(r), h, m = t.length - 1, _, M, p = [], b = [], k, S, C;
|
|
4040
4040
|
for (h = m; h >= 0; h -= 1) {
|
|
4041
4041
|
if (C = this.searchProcessedElement(t[h]), C ? e[h] = i[C - 1] : t[h]._render = o, t[h].ty === "fl" || t[h].ty === "st" || t[h].ty === "gf" || t[h].ty === "gs" || t[h].ty === "no")
|
|
@@ -4054,18 +4054,18 @@ function _r() {
|
|
|
4054
4054
|
p[h].closed = !0;
|
|
4055
4055
|
for (m = b.length, h = 0; h < m; h += 1)
|
|
4056
4056
|
b[h].closed = !0;
|
|
4057
|
-
},
|
|
4057
|
+
}, $.prototype.renderInnerContent = function() {
|
|
4058
4058
|
this.renderModifiers();
|
|
4059
4059
|
var t, e = this.stylesList.length;
|
|
4060
4060
|
for (t = 0; t < e; t += 1)
|
|
4061
4061
|
this.stylesList[t].reset();
|
|
4062
4062
|
for (this.renderShape(), t = 0; t < e; t += 1)
|
|
4063
4063
|
(this.stylesList[t]._mdf || this._isFirstFrame) && (this.stylesList[t].msElem && (this.stylesList[t].msElem.setAttribute("d", this.stylesList[t].d), this.stylesList[t].d = "M0 0" + this.stylesList[t].d), this.stylesList[t].pElem.setAttribute("d", this.stylesList[t].d || "M0 0"));
|
|
4064
|
-
},
|
|
4064
|
+
}, $.prototype.renderShape = function() {
|
|
4065
4065
|
var t, e = this.animatedContents.length, i;
|
|
4066
4066
|
for (t = 0; t < e; t += 1)
|
|
4067
4067
|
i = this.animatedContents[t], (this._isFirstFrame || i.element._isAnimated) && i.data !== !0 && i.fn(i.data, i.element, this._isFirstFrame);
|
|
4068
|
-
},
|
|
4068
|
+
}, $.prototype.destroy = function() {
|
|
4069
4069
|
this.destroyBaseElement(), this.shapesData = null, this.itemsData = null;
|
|
4070
4070
|
};
|
|
4071
4071
|
function di(t, e, i, s, n, r) {
|
|
@@ -4084,7 +4084,7 @@ function _r() {
|
|
|
4084
4084
|
return this.o !== t && (this.o = t, this._mdf.o = !0, o = !0), this.sw !== e && (this.sw = e, this._mdf.sw = !0, o = !0), this.sc !== i && (this.sc = i, this._mdf.sc = !0, o = !0), this.fc !== s && (this.fc = s, this._mdf.fc = !0, o = !0), this.m !== n && (this.m = n, this._mdf.m = !0, o = !0), r.length && (this.p[0] !== r[0] || this.p[1] !== r[1] || this.p[4] !== r[4] || this.p[5] !== r[5] || this.p[12] !== r[12] || this.p[13] !== r[13]) && (this.p = r, this._mdf.p = !0, o = !0), o;
|
|
4085
4085
|
};
|
|
4086
4086
|
function ft(t, e) {
|
|
4087
|
-
this._frameId =
|
|
4087
|
+
this._frameId = ce, this.pv = "", this.v = "", this.kf = !1, this._isFirstFrame = !0, this._mdf = !1, e.d && e.d.sid && (e.d = t.globalData.slotManager.getProp(e.d)), this.data = e, this.elem = t, this.comp = this.elem.comp, this.keysIndex = 0, this.canResize = !1, this.minimumFontSize = 1, this.effectsSequence = [], this.currentData = {
|
|
4088
4088
|
ascent: 0,
|
|
4089
4089
|
boxWidth: this.defaultBoxWidth,
|
|
4090
4090
|
f: "",
|
|
@@ -4147,7 +4147,7 @@ function _r() {
|
|
|
4147
4147
|
return this.keysIndex !== i && (this.keysIndex = i), this.data.d.k[this.keysIndex].s;
|
|
4148
4148
|
}, ft.prototype.buildFinalText = function(t) {
|
|
4149
4149
|
for (var e = [], i = 0, s = t.length, n, r, o = !1, c = !1, h = ""; i < s; )
|
|
4150
|
-
o = c, c = !1, n = t.charCodeAt(i), h = t.charAt(i),
|
|
4150
|
+
o = c, c = !1, n = t.charCodeAt(i), h = t.charAt(i), $t.isCombinedCharacter(n) ? o = !0 : n >= 55296 && n <= 56319 ? $t.isRegionalFlag(t, i) ? h = t.substr(i, 14) : (r = t.charCodeAt(i + 1), r >= 56320 && r <= 57343 && ($t.isModifier(n, r) ? (h = t.substr(i, 2), o = !0) : $t.isFlagEmoji(t.substr(i, 4)) ? h = t.substr(i, 4) : h = t.substr(i, 2))) : n > 56319 ? (r = t.charCodeAt(i + 1), $t.isVariationSelector(n) && (o = !0)) : $t.isZeroWidthJoiner(n) && (o = !0, c = !0), o ? (e[e.length - 1] += h, o = !1) : e.push(h), i += h.length;
|
|
4151
4151
|
return e;
|
|
4152
4152
|
}, ft.prototype.completeTextData = function(t) {
|
|
4153
4153
|
t.__complete = !0;
|
|
@@ -4249,7 +4249,7 @@ function _r() {
|
|
|
4249
4249
|
this._currentTextLength !== this.elem.textProperty.currentData.l.length && this.getValue();
|
|
4250
4250
|
var c = 0, h = 0, m = 1, _ = 1;
|
|
4251
4251
|
this.ne.v > 0 ? c = this.ne.v / 100 : h = -this.ne.v / 100, this.xe.v > 0 ? m = 1 - this.xe.v / 100 : _ = 1 + this.xe.v / 100;
|
|
4252
|
-
var M =
|
|
4252
|
+
var M = be.getBezierEasing(c, h, m, _).get, p = 0, b = this.finalS, k = this.finalE, S = this.data.sh;
|
|
4253
4253
|
if (S === 2)
|
|
4254
4254
|
k === b ? p = o >= k ? 1 : 0 : p = t(0, e(0.5 / (k - b) + (o - b) / (k - b), 1)), p = M(p);
|
|
4255
4255
|
else if (S === 3)
|
|
@@ -4284,7 +4284,7 @@ function _r() {
|
|
|
4284
4284
|
}
|
|
4285
4285
|
this.finalS = m, this.finalE = _;
|
|
4286
4286
|
}
|
|
4287
|
-
}, X([
|
|
4287
|
+
}, X([rt], s);
|
|
4288
4288
|
function n(r, o, c) {
|
|
4289
4289
|
return new s(r, o);
|
|
4290
4290
|
}
|
|
@@ -4297,11 +4297,11 @@ function _r() {
|
|
|
4297
4297
|
propType: !1
|
|
4298
4298
|
}, n = V.getProp, r = e.a;
|
|
4299
4299
|
this.a = {
|
|
4300
|
-
r: r.r ? n(t, r.r, 0,
|
|
4301
|
-
rx: r.rx ? n(t, r.rx, 0,
|
|
4302
|
-
ry: r.ry ? n(t, r.ry, 0,
|
|
4303
|
-
sk: r.sk ? n(t, r.sk, 0,
|
|
4304
|
-
sa: r.sa ? n(t, r.sa, 0,
|
|
4300
|
+
r: r.r ? n(t, r.r, 0, Q, i) : s,
|
|
4301
|
+
rx: r.rx ? n(t, r.rx, 0, Q, i) : s,
|
|
4302
|
+
ry: r.ry ? n(t, r.ry, 0, Q, i) : s,
|
|
4303
|
+
sk: r.sk ? n(t, r.sk, 0, Q, i) : s,
|
|
4304
|
+
sa: r.sa ? n(t, r.sa, 0, Q, i) : s,
|
|
4305
4305
|
s: r.s ? n(t, r.s, 1, 0.01, i) : s,
|
|
4306
4306
|
a: r.a ? n(t, r.a, 1, 0, i) : s,
|
|
4307
4307
|
o: r.o ? n(t, r.o, 0, 0.01, i) : s,
|
|
@@ -4315,12 +4315,12 @@ function _r() {
|
|
|
4315
4315
|
t: r.t ? n(t, r.t, 0, 0, i) : s
|
|
4316
4316
|
}, this.s = ur.getTextSelectorProp(t, e.s, i), this.s.t = e.s.t;
|
|
4317
4317
|
}
|
|
4318
|
-
function
|
|
4319
|
-
this._isFirstFrame = !0, this._hasMaskedPath = !1, this._frameId = -1, this._textData = t, this._renderType = e, this._elem = i, this._animatorsData =
|
|
4318
|
+
function ee(t, e, i) {
|
|
4319
|
+
this._isFirstFrame = !0, this._hasMaskedPath = !1, this._frameId = -1, this._textData = t, this._renderType = e, this._elem = i, this._animatorsData = tt(this._textData.a.length), this._pathData = {}, this._moreOptions = {
|
|
4320
4320
|
alignment: {}
|
|
4321
4321
|
}, this.renderedLetters = [], this.lettersChangedFlag = !1, this.initDynamicPropertyContainer(i);
|
|
4322
4322
|
}
|
|
4323
|
-
|
|
4323
|
+
ee.prototype.searchProperties = function() {
|
|
4324
4324
|
var t, e = this._textData.a.length, i, s = V.getProp;
|
|
4325
4325
|
for (t = 0; t < e; t += 1)
|
|
4326
4326
|
i = this._textData.a[t], this._animatorsData[t] = new cr(this._elem, i, this);
|
|
@@ -4332,7 +4332,7 @@ function _r() {
|
|
|
4332
4332
|
p: s(this._elem, this._textData.p.p, 0, 0, this),
|
|
4333
4333
|
m: this._elem.maskManager.getMaskProperty(this._textData.p.m)
|
|
4334
4334
|
}, this._hasMaskedPath = !0) : this._hasMaskedPath = !1, this._moreOptions.alignment = s(this._elem, this._textData.m.a, 1, 0, this);
|
|
4335
|
-
},
|
|
4335
|
+
}, ee.prototype.getMeasures = function(t, e) {
|
|
4336
4336
|
if (this.lettersChangedFlag = e, !(!this._mdf && !this._isFirstFrame && !e && (!this._hasMaskedPath || !this._pathData.m._mdf))) {
|
|
4337
4337
|
this._isFirstFrame = !1;
|
|
4338
4338
|
var i = this._moreOptions.alignment.v, s = this._animatorsData, n = this._textData, r = this.mHelper, o = this._renderType, c = this.renderedLetters.length, h, m, _, M, p = t.l, b, k, S, C, y, v, f, u, g, A, T, x, I, j, N;
|
|
@@ -4356,25 +4356,25 @@ function _r() {
|
|
|
4356
4356
|
M = p.length, h = 0, m = 0;
|
|
4357
4357
|
var O = t.finalSize * 1.2 * 0.714, F = !0, d, P, a, l, E;
|
|
4358
4358
|
l = s.length;
|
|
4359
|
-
var w, R = -1, q, D, Y, H = k, et = f, ct = v, Ct = -1, dt,
|
|
4359
|
+
var w, R = -1, q, D, Y, H = k, et = f, ct = v, Ct = -1, dt, nt, mt, K, B, Lt, Gt, Vt, Tt = "", Rt = this.defaultPropsArray, Ot;
|
|
4360
4360
|
if (t.j === 2 || t.j === 1) {
|
|
4361
|
-
var vt = 0, Xt = 0, Yt = t.j === 2 ? -0.5 : -1,
|
|
4361
|
+
var vt = 0, Xt = 0, Yt = t.j === 2 ? -0.5 : -1, St = 0, Ht = !0;
|
|
4362
4362
|
for (_ = 0; _ < M; _ += 1)
|
|
4363
4363
|
if (p[_].n) {
|
|
4364
|
-
for (vt && (vt += Xt);
|
|
4365
|
-
p[
|
|
4364
|
+
for (vt && (vt += Xt); St < _; )
|
|
4365
|
+
p[St].animatorJustifyOffset = vt, St += 1;
|
|
4366
4366
|
vt = 0, Ht = !0;
|
|
4367
4367
|
} else {
|
|
4368
4368
|
for (a = 0; a < l; a += 1)
|
|
4369
4369
|
d = s[a].a, d.t.propType && (Ht && t.j === 2 && (Xt += d.t.v * Yt), P = s[a].s, w = P.getMult(p[_].anIndexes[a], n.a[a].s.totalChars), w.length ? vt += d.t.v * w[0] * Yt : vt += d.t.v * w * Yt);
|
|
4370
4370
|
Ht = !1;
|
|
4371
4371
|
}
|
|
4372
|
-
for (vt && (vt += Xt);
|
|
4373
|
-
p[
|
|
4372
|
+
for (vt && (vt += Xt); St < _; )
|
|
4373
|
+
p[St].animatorJustifyOffset = vt, St += 1;
|
|
4374
4374
|
}
|
|
4375
4375
|
for (_ = 0; _ < M; _ += 1) {
|
|
4376
4376
|
if (r.reset(), dt = 1, p[_].n)
|
|
4377
|
-
h = 0, m += t.yOffset, m += F ? 1 : 0, k = H, F = !1, this._hasMaskedPath && (f = et, v = ct, g = A[f].points, u = g[v - 1], S = g[v], T = S.partialLength, C = 0), Tt = "",
|
|
4377
|
+
h = 0, m += t.yOffset, m += F ? 1 : 0, k = H, F = !1, this._hasMaskedPath && (f = et, v = ct, g = A[f].points, u = g[v - 1], S = g[v], T = S.partialLength, C = 0), Tt = "", Vt = "", Lt = "", Ot = "", Rt = this.defaultPropsArray;
|
|
4378
4378
|
else {
|
|
4379
4379
|
if (this._hasMaskedPath) {
|
|
4380
4380
|
if (Ct !== p[_].line) {
|
|
@@ -4389,24 +4389,24 @@ function _r() {
|
|
|
4389
4389
|
Ct = p[_].line;
|
|
4390
4390
|
}
|
|
4391
4391
|
R !== p[_].ind && (p[R] && (k += p[R].extra), k += p[_].an / 2, R = p[_].ind), k += i[0] * p[_].an * 5e-3;
|
|
4392
|
-
var
|
|
4392
|
+
var Pt = 0;
|
|
4393
4393
|
for (a = 0; a < l; a += 1)
|
|
4394
|
-
d = s[a].a, d.p.propType && (P = s[a].s, w = P.getMult(p[_].anIndexes[a], n.a[a].s.totalChars), w.length ?
|
|
4394
|
+
d = s[a].a, d.p.propType && (P = s[a].s, w = P.getMult(p[_].anIndexes[a], n.a[a].s.totalChars), w.length ? Pt += d.p.v[0] * w[0] : Pt += d.p.v[0] * w), d.a.propType && (P = s[a].s, w = P.getMult(p[_].anIndexes[a], n.a[a].s.totalChars), w.length ? Pt += d.a.v[0] * w[0] : Pt += d.a.v[0] * w);
|
|
4395
4395
|
for (y = !0, this._pathData.a.v && (k = p[0].an * 0.5 + (x - this._pathData.f.v - p[0].an * 0.5 - p[p.length - 1].an * 0.5) * R / (M - 1), k += this._pathData.f.v); y; )
|
|
4396
|
-
C + T >= k +
|
|
4396
|
+
C + T >= k + Pt || !g ? (I = (k + Pt - C) / S.partialLength, D = u.point[0] + (S.point[0] - u.point[0]) * I, Y = u.point[1] + (S.point[1] - u.point[1]) * I, r.translate(-i[0] * p[_].an * 5e-3, -(i[1] * O) * 0.01), y = !1) : g && (C += S.partialLength, v += 1, v >= g.length && (v = 0, f += 1, A[f] ? g = A[f].points : N.v.c ? (v = 0, f = 0, g = A[f].points) : (C -= S.partialLength, g = null)), g && (u = S, S = g[v], T = S.partialLength));
|
|
4397
4397
|
q = p[_].an / 2 - p[_].add, r.translate(-q, 0, 0);
|
|
4398
4398
|
} else
|
|
4399
4399
|
q = p[_].an / 2 - p[_].add, r.translate(-q, 0, 0), r.translate(-i[0] * p[_].an * 5e-3, -i[1] * O * 0.01, 0);
|
|
4400
4400
|
for (a = 0; a < l; a += 1)
|
|
4401
4401
|
d = s[a].a, d.t.propType && (P = s[a].s, w = P.getMult(p[_].anIndexes[a], n.a[a].s.totalChars), (h !== 0 || t.j !== 0) && (this._hasMaskedPath ? w.length ? k += d.t.v * w[0] : k += d.t.v * w : w.length ? h += d.t.v * w[0] : h += d.t.v * w));
|
|
4402
|
-
for (t.strokeWidthAnim && (
|
|
4402
|
+
for (t.strokeWidthAnim && (mt = t.sw || 0), t.strokeColorAnim && (t.sc ? nt = [t.sc[0], t.sc[1], t.sc[2]] : nt = [0, 0, 0]), t.fillColorAnim && t.fc && (K = [t.fc[0], t.fc[1], t.fc[2]]), a = 0; a < l; a += 1)
|
|
4403
4403
|
d = s[a].a, d.a.propType && (P = s[a].s, w = P.getMult(p[_].anIndexes[a], n.a[a].s.totalChars), w.length ? r.translate(-d.a.v[0] * w[0], -d.a.v[1] * w[1], d.a.v[2] * w[2]) : r.translate(-d.a.v[0] * w, -d.a.v[1] * w, d.a.v[2] * w));
|
|
4404
4404
|
for (a = 0; a < l; a += 1)
|
|
4405
4405
|
d = s[a].a, d.s.propType && (P = s[a].s, w = P.getMult(p[_].anIndexes[a], n.a[a].s.totalChars), w.length ? r.scale(1 + (d.s.v[0] - 1) * w[0], 1 + (d.s.v[1] - 1) * w[1], 1) : r.scale(1 + (d.s.v[0] - 1) * w, 1 + (d.s.v[1] - 1) * w, 1));
|
|
4406
4406
|
for (a = 0; a < l; a += 1) {
|
|
4407
|
-
if (d = s[a].a, P = s[a].s, w = P.getMult(p[_].anIndexes[a], n.a[a].s.totalChars), d.sk.propType && (w.length ? r.skewFromAxis(-d.sk.v * w[0], d.sa.v * w[1]) : r.skewFromAxis(-d.sk.v * w, d.sa.v * w)), d.r.propType && (w.length ? r.rotateZ(-d.r.v * w[2]) : r.rotateZ(-d.r.v * w)), d.ry.propType && (w.length ? r.rotateY(d.ry.v * w[1]) : r.rotateY(d.ry.v * w)), d.rx.propType && (w.length ? r.rotateX(d.rx.v * w[0]) : r.rotateX(d.rx.v * w)), d.o.propType && (w.length ? dt += (d.o.v * w[0] - dt) * w[0] : dt += (d.o.v * w - dt) * w), t.strokeWidthAnim && d.sw.propType && (w.length ?
|
|
4407
|
+
if (d = s[a].a, P = s[a].s, w = P.getMult(p[_].anIndexes[a], n.a[a].s.totalChars), d.sk.propType && (w.length ? r.skewFromAxis(-d.sk.v * w[0], d.sa.v * w[1]) : r.skewFromAxis(-d.sk.v * w, d.sa.v * w)), d.r.propType && (w.length ? r.rotateZ(-d.r.v * w[2]) : r.rotateZ(-d.r.v * w)), d.ry.propType && (w.length ? r.rotateY(d.ry.v * w[1]) : r.rotateY(d.ry.v * w)), d.rx.propType && (w.length ? r.rotateX(d.rx.v * w[0]) : r.rotateX(d.rx.v * w)), d.o.propType && (w.length ? dt += (d.o.v * w[0] - dt) * w[0] : dt += (d.o.v * w - dt) * w), t.strokeWidthAnim && d.sw.propType && (w.length ? mt += d.sw.v * w[0] : mt += d.sw.v * w), t.strokeColorAnim && d.sc.propType)
|
|
4408
4408
|
for (B = 0; B < 3; B += 1)
|
|
4409
|
-
w.length ?
|
|
4409
|
+
w.length ? nt[B] += (d.sc.v[B] - nt[B]) * w[0] : nt[B] += (d.sc.v[B] - nt[B]) * w;
|
|
4410
4410
|
if (t.fillColorAnim && t.fc) {
|
|
4411
4411
|
if (d.fc.propType)
|
|
4412
4412
|
for (B = 0; B < 3; B += 1)
|
|
@@ -4416,11 +4416,11 @@ function _r() {
|
|
|
4416
4416
|
}
|
|
4417
4417
|
for (a = 0; a < l; a += 1)
|
|
4418
4418
|
d = s[a].a, d.p.propType && (P = s[a].s, w = P.getMult(p[_].anIndexes[a], n.a[a].s.totalChars), this._hasMaskedPath ? w.length ? r.translate(0, d.p.v[1] * w[0], -d.p.v[2] * w[1]) : r.translate(0, d.p.v[1] * w, -d.p.v[2] * w) : w.length ? r.translate(d.p.v[0] * w[0], d.p.v[1] * w[1], -d.p.v[2] * w[2]) : r.translate(d.p.v[0] * w, d.p.v[1] * w, -d.p.v[2] * w));
|
|
4419
|
-
if (t.strokeWidthAnim && (
|
|
4419
|
+
if (t.strokeWidthAnim && (Lt = mt < 0 ? 0 : mt), t.strokeColorAnim && (Gt = "rgb(" + Math.round(nt[0] * 255) + "," + Math.round(nt[1] * 255) + "," + Math.round(nt[2] * 255) + ")"), t.fillColorAnim && t.fc && (Vt = "rgb(" + Math.round(K[0] * 255) + "," + Math.round(K[1] * 255) + "," + Math.round(K[2] * 255) + ")"), this._hasMaskedPath) {
|
|
4420
4420
|
if (r.translate(0, -t.ls), r.translate(0, i[1] * O * 0.01 + m, 0), this._pathData.p.v) {
|
|
4421
4421
|
j = (S.point[1] - u.point[1]) / (S.point[0] - u.point[0]);
|
|
4422
|
-
var
|
|
4423
|
-
S.point[0] < u.point[0] && (
|
|
4422
|
+
var ie = Math.atan(j) * 180 / Math.PI;
|
|
4423
|
+
S.point[0] < u.point[0] && (ie += 180), r.rotate(-ie * Math.PI / 180);
|
|
4424
4424
|
}
|
|
4425
4425
|
r.translate(D, Y, 0), k -= i[0] * p[_].an * 5e-3, p[_ + 1] && R !== p[_ + 1].ind && (k += p[_].an / 2, k += t.tr * 1e-3 * t.finalSize);
|
|
4426
4426
|
} else {
|
|
@@ -4434,32 +4434,32 @@ function _r() {
|
|
|
4434
4434
|
}
|
|
4435
4435
|
r.translate(0, -t.ls), r.translate(q, 0, 0), r.translate(i[0] * p[_].an * 5e-3, i[1] * O * 0.01, 0), h += p[_].l + t.tr * 1e-3 * t.finalSize;
|
|
4436
4436
|
}
|
|
4437
|
-
o === "html" ? Tt = r.toCSS() : o === "svg" ? Tt = r.to2dCSS() :
|
|
4437
|
+
o === "html" ? Tt = r.toCSS() : o === "svg" ? Tt = r.to2dCSS() : Rt = [r.props[0], r.props[1], r.props[2], r.props[3], r.props[4], r.props[5], r.props[6], r.props[7], r.props[8], r.props[9], r.props[10], r.props[11], r.props[12], r.props[13], r.props[14], r.props[15]], Ot = dt;
|
|
4438
4438
|
}
|
|
4439
|
-
c <= _ ? (E = new di(
|
|
4439
|
+
c <= _ ? (E = new di(Ot, Lt, Gt, Vt, Tt, Rt), this.renderedLetters.push(E), c += 1, this.lettersChangedFlag = !0) : (E = this.renderedLetters[_], this.lettersChangedFlag = E.update(Ot, Lt, Gt, Vt, Tt, Rt) || this.lettersChangedFlag);
|
|
4440
4440
|
}
|
|
4441
4441
|
}
|
|
4442
|
-
},
|
|
4442
|
+
}, ee.prototype.getValue = function() {
|
|
4443
4443
|
this._elem.globalData.frameId !== this._frameId && (this._frameId = this._elem.globalData.frameId, this.iterateDynamicProperties());
|
|
4444
|
-
},
|
|
4445
|
-
function
|
|
4444
|
+
}, ee.prototype.mHelper = new ht(), ee.prototype.defaultPropsArray = [], X([rt], ee);
|
|
4445
|
+
function yt() {
|
|
4446
4446
|
}
|
|
4447
|
-
|
|
4448
|
-
this.lettersChangedFlag = !0, this.initFrame(), this.initBaseData(t, e, i), this.textProperty = new ft(this, t.t, this.dynamicProperties), this.textAnimator = new
|
|
4449
|
-
},
|
|
4447
|
+
yt.prototype.initElement = function(t, e, i) {
|
|
4448
|
+
this.lettersChangedFlag = !0, this.initFrame(), this.initBaseData(t, e, i), this.textProperty = new ft(this, t.t, this.dynamicProperties), this.textAnimator = new ee(t.t, this.renderType, this), this.initTransform(t, e, i), this.initHierarchy(), this.initRenderable(), this.initRendererElement(), this.createContainerElements(), this.createRenderableComponents(), this.createContent(), this.hide(), this.textAnimator.searchProperties(this.dynamicProperties);
|
|
4449
|
+
}, yt.prototype.prepareFrame = function(t) {
|
|
4450
4450
|
this._mdf = !1, this.prepareRenderableFrame(t), this.prepareProperties(t, this.isInRange);
|
|
4451
|
-
},
|
|
4451
|
+
}, yt.prototype.createPathShape = function(t, e) {
|
|
4452
4452
|
var i, s = e.length, n, r = "";
|
|
4453
4453
|
for (i = 0; i < s; i += 1)
|
|
4454
4454
|
e[i].ty === "sh" && (n = e[i].ks.k, r += ls(n, n.i.length, !0, t));
|
|
4455
4455
|
return r;
|
|
4456
|
-
},
|
|
4456
|
+
}, yt.prototype.updateDocumentData = function(t, e) {
|
|
4457
4457
|
this.textProperty.updateDocumentData(t, e);
|
|
4458
|
-
},
|
|
4458
|
+
}, yt.prototype.canResizeFont = function(t) {
|
|
4459
4459
|
this.textProperty.canResizeFont(t);
|
|
4460
|
-
},
|
|
4460
|
+
}, yt.prototype.setMinimumFontSize = function(t) {
|
|
4461
4461
|
this.textProperty.setMinimumFontSize(t);
|
|
4462
|
-
},
|
|
4462
|
+
}, yt.prototype.applyTextPropertiesToMatrix = function(t, e, i, s, n) {
|
|
4463
4463
|
switch (t.ps && e.translate(t.ps[0], t.ps[1] + t.ascent, 0), e.translate(0, -t.ls, 0), t.j) {
|
|
4464
4464
|
case 1:
|
|
4465
4465
|
e.translate(t.justifyOffset + (t.boxWidth - t.lineWidths[i]), 0, 0);
|
|
@@ -4469,25 +4469,25 @@ function _r() {
|
|
|
4469
4469
|
break;
|
|
4470
4470
|
}
|
|
4471
4471
|
e.translate(s, n, 0);
|
|
4472
|
-
},
|
|
4472
|
+
}, yt.prototype.buildColor = function(t) {
|
|
4473
4473
|
return "rgb(" + Math.round(t[0] * 255) + "," + Math.round(t[1] * 255) + "," + Math.round(t[2] * 255) + ")";
|
|
4474
|
-
},
|
|
4475
|
-
},
|
|
4474
|
+
}, yt.prototype.emptyProp = new di(), yt.prototype.destroy = function() {
|
|
4475
|
+
}, yt.prototype.validateText = function() {
|
|
4476
4476
|
(this.textProperty._mdf || this.textProperty._isFirstFrame) && (this.buildNewText(), this.textProperty._isFirstFrame = !1, this.textProperty._mdf = !1);
|
|
4477
4477
|
};
|
|
4478
4478
|
var dr = {
|
|
4479
4479
|
shapes: []
|
|
4480
4480
|
};
|
|
4481
|
-
function
|
|
4481
|
+
function Ft(t, e, i) {
|
|
4482
4482
|
this.textSpans = [], this.renderType = "svg", this.initElement(t, e, i);
|
|
4483
4483
|
}
|
|
4484
|
-
X([qt,
|
|
4484
|
+
X([qt, he, Me, le, jt, Ee, yt], Ft), Ft.prototype.createContent = function() {
|
|
4485
4485
|
this.data.singleShape && !this.globalData.fontManager.chars && (this.textContainer = W("text"));
|
|
4486
|
-
},
|
|
4486
|
+
}, Ft.prototype.buildTextContents = function(t) {
|
|
4487
4487
|
for (var e = 0, i = t.length, s = [], n = ""; e < i; )
|
|
4488
4488
|
t[e] === "\r" || t[e] === "" ? (s.push(n), n = "") : n += t[e], e += 1;
|
|
4489
4489
|
return s.push(n), s;
|
|
4490
|
-
},
|
|
4490
|
+
}, Ft.prototype.buildShapeData = function(t, e) {
|
|
4491
4491
|
if (t.shapes && t.shapes.length) {
|
|
4492
4492
|
var i = t.shapes[0];
|
|
4493
4493
|
if (i.it) {
|
|
@@ -4496,10 +4496,10 @@ function _r() {
|
|
|
4496
4496
|
}
|
|
4497
4497
|
}
|
|
4498
4498
|
return t;
|
|
4499
|
-
},
|
|
4499
|
+
}, Ft.prototype.buildNewText = function() {
|
|
4500
4500
|
this.addDynamicProperty(this);
|
|
4501
4501
|
var t, e, i = this.textProperty.currentData;
|
|
4502
|
-
this.renderedLetters =
|
|
4502
|
+
this.renderedLetters = tt(i ? i.l.length : 0), i.fc ? this.layerElement.setAttribute("fill", this.buildColor(i.fc)) : this.layerElement.setAttribute("fill", "rgba(0,0,0,0)"), i.sc && (this.layerElement.setAttribute("stroke", this.buildColor(i.sc)), this.layerElement.setAttribute("stroke-width", i.sw)), this.layerElement.setAttribute("font-size", i.finalSize);
|
|
4503
4503
|
var s = this.globalData.fontManager.getFontByName(i.f);
|
|
4504
4504
|
if (s.fClass)
|
|
4505
4505
|
this.layerElement.setAttribute("class", s.fClass);
|
|
@@ -4554,10 +4554,10 @@ function _r() {
|
|
|
4554
4554
|
u = this.globalData.fontManager.getCharData(i.finalText[t], s.fStyle, this.globalData.fontManager.getFontByName(i.f).fFamily);
|
|
4555
4555
|
var A;
|
|
4556
4556
|
if (u.t === 1)
|
|
4557
|
-
A = new
|
|
4557
|
+
A = new Ie(u.data, this.globalData, this);
|
|
4558
4558
|
else {
|
|
4559
4559
|
var T = dr;
|
|
4560
|
-
u.data && u.data.shapes && (T = this.buildShapeData(u.data, i.finalSize)), A = new
|
|
4560
|
+
u.data && u.data.shapes && (T = this.buildShapeData(u.data, i.finalSize)), A = new $(T, this.globalData, this);
|
|
4561
4561
|
}
|
|
4562
4562
|
if (this.textSpans[t].glyph) {
|
|
4563
4563
|
var x = this.textSpans[t].glyph;
|
|
@@ -4572,7 +4572,7 @@ function _r() {
|
|
|
4572
4572
|
for (; t < this.textSpans.length; )
|
|
4573
4573
|
this.textSpans[t].span.style.display = "none", t += 1;
|
|
4574
4574
|
this._sizeChanged = !0;
|
|
4575
|
-
},
|
|
4575
|
+
}, Ft.prototype.sourceRectAtTime = function() {
|
|
4576
4576
|
if (this.prepareFrame(this.comp.renderedFrame - this.data.st), this.renderInnerContent(), this._sizeChanged) {
|
|
4577
4577
|
this._sizeChanged = !1;
|
|
4578
4578
|
var t = this.layerElement.getBBox();
|
|
@@ -4584,11 +4584,11 @@ function _r() {
|
|
|
4584
4584
|
};
|
|
4585
4585
|
}
|
|
4586
4586
|
return this.bbox;
|
|
4587
|
-
},
|
|
4587
|
+
}, Ft.prototype.getValue = function() {
|
|
4588
4588
|
var t, e = this.textSpans.length, i;
|
|
4589
4589
|
for (this.renderedFrame = this.comp.renderedFrame, t = 0; t < e; t += 1)
|
|
4590
4590
|
i = this.textSpans[t].glyph, i && (i.prepareFrame(this.comp.renderedFrame - this.data.st), i._mdf && (this._mdf = !0));
|
|
4591
|
-
},
|
|
4591
|
+
}, Ft.prototype.renderInnerContent = function() {
|
|
4592
4592
|
if (this.validateText(), (!this.data.singleShape || this._mdf) && (this.textAnimator.getMeasures(this.textProperty.currentData, this.lettersChangedFlag), this.lettersChangedFlag || this.textAnimator.lettersChangedFlag)) {
|
|
4593
4593
|
this._sizeChanged = !0;
|
|
4594
4594
|
var t, e, i = this.textAnimator.renderedLetters, s = this.textProperty.currentData.l;
|
|
@@ -4601,7 +4601,7 @@ function _r() {
|
|
|
4601
4601
|
function vi(t, e, i) {
|
|
4602
4602
|
this.initElement(t, e, i);
|
|
4603
4603
|
}
|
|
4604
|
-
X([
|
|
4604
|
+
X([xe], vi), vi.prototype.createContent = function() {
|
|
4605
4605
|
var t = W("rect");
|
|
4606
4606
|
t.setAttribute("width", this.data.sw), t.setAttribute("height", this.data.sh), t.setAttribute("fill", this.data.sc), this.layerElement.appendChild(t);
|
|
4607
4607
|
};
|
|
@@ -4616,17 +4616,17 @@ function _r() {
|
|
|
4616
4616
|
}, Wt.prototype.destroy = function() {
|
|
4617
4617
|
}, Wt.prototype.sourceRectAtTime = function() {
|
|
4618
4618
|
}, Wt.prototype.hide = function() {
|
|
4619
|
-
}, X([qt,
|
|
4619
|
+
}, X([qt, he, le, jt], Wt);
|
|
4620
4620
|
function st() {
|
|
4621
4621
|
}
|
|
4622
4622
|
X([lt], st), st.prototype.createNull = function(t) {
|
|
4623
4623
|
return new Wt(t, this.globalData, this);
|
|
4624
4624
|
}, st.prototype.createShape = function(t) {
|
|
4625
|
-
return new
|
|
4625
|
+
return new $(t, this.globalData, this);
|
|
4626
4626
|
}, st.prototype.createText = function(t) {
|
|
4627
|
-
return new
|
|
4627
|
+
return new Ft(t, this.globalData, this);
|
|
4628
4628
|
}, st.prototype.createImage = function(t) {
|
|
4629
|
-
return new
|
|
4629
|
+
return new xe(t, this.globalData, this);
|
|
4630
4630
|
}, st.prototype.createSolid = function(t) {
|
|
4631
4631
|
return new vi(t, this.globalData, this);
|
|
4632
4632
|
}, st.prototype.configAnimation = function(t) {
|
|
@@ -4636,7 +4636,7 @@ function _r() {
|
|
|
4636
4636
|
var i = W("clipPath"), s = W("rect");
|
|
4637
4637
|
s.setAttribute("width", t.w), s.setAttribute("height", t.h), s.setAttribute("x", 0), s.setAttribute("y", 0);
|
|
4638
4638
|
var n = pt();
|
|
4639
|
-
i.setAttribute("id", n), i.appendChild(s), this.layerElement.setAttribute("clip-path", "url(" +
|
|
4639
|
+
i.setAttribute("id", n), i.appendChild(s), this.layerElement.setAttribute("clip-path", "url(" + at() + "#" + n + ")"), e.appendChild(i), this.layers = t.layers, this.elements = tt(t.layers.length);
|
|
4640
4640
|
}, st.prototype.destroy = function() {
|
|
4641
4641
|
this.animationItem.wrapper && (this.animationItem.wrapper.innerText = ""), this.layerElement = null, this.globalData.defs = null;
|
|
4642
4642
|
var t, e = this.layers ? this.layers.length : 0;
|
|
@@ -4655,7 +4655,7 @@ function _r() {
|
|
|
4655
4655
|
if (!(e[t] || this.layers[t].ty === 99)) {
|
|
4656
4656
|
e[t] = !0;
|
|
4657
4657
|
var i = this.createItem(this.layers[t]);
|
|
4658
|
-
if (e[t] = i,
|
|
4658
|
+
if (e[t] = i, Be() && (this.layers[t].ty === 0 && this.globalData.projectInterface.registerComposition(i), i.initExpressions()), this.appendElementInPos(i, t), this.layers[t].tt) {
|
|
4659
4659
|
var s = "tp" in this.layers[t] ? this.findIndexByInd(this.layers[t].tp) : t - 1;
|
|
4660
4660
|
if (s === -1)
|
|
4661
4661
|
return;
|
|
@@ -4702,11 +4702,11 @@ function _r() {
|
|
|
4702
4702
|
}, st.prototype.show = function() {
|
|
4703
4703
|
this.layerElement.style.display = "block";
|
|
4704
4704
|
};
|
|
4705
|
-
function
|
|
4705
|
+
function It() {
|
|
4706
4706
|
}
|
|
4707
|
-
X([qt,
|
|
4707
|
+
X([qt, he, le, jt, Ee], It), It.prototype.initElement = function(t, e, i) {
|
|
4708
4708
|
this.initFrame(), this.initBaseData(t, e, i), this.initTransform(t, e, i), this.initRenderable(), this.initHierarchy(), this.initRendererElement(), this.createContainerElements(), this.createRenderableComponents(), (this.data.xt || !e.progressiveLoad) && this.buildAllItems(), this.hide();
|
|
4709
|
-
},
|
|
4709
|
+
}, It.prototype.prepareFrame = function(t) {
|
|
4710
4710
|
if (this._mdf = !1, this.prepareRenderableFrame(t), this.prepareProperties(t, this.isInRange), !(!this.isInRange && !this.data.xt)) {
|
|
4711
4711
|
if (this.tm._placeholder)
|
|
4712
4712
|
this.renderedFrame = t / this.data.sr;
|
|
@@ -4718,28 +4718,28 @@ function _r() {
|
|
|
4718
4718
|
for (this.completeLayers || this.checkLayers(this.renderedFrame), i = s - 1; i >= 0; i -= 1)
|
|
4719
4719
|
(this.completeLayers || this.elements[i]) && (this.elements[i].prepareFrame(this.renderedFrame - this.layers[i].st), this.elements[i]._mdf && (this._mdf = !0));
|
|
4720
4720
|
}
|
|
4721
|
-
},
|
|
4721
|
+
}, It.prototype.renderInnerContent = function() {
|
|
4722
4722
|
var t, e = this.layers.length;
|
|
4723
4723
|
for (t = 0; t < e; t += 1)
|
|
4724
4724
|
(this.completeLayers || this.elements[t]) && this.elements[t].renderFrame();
|
|
4725
|
-
},
|
|
4725
|
+
}, It.prototype.setElements = function(t) {
|
|
4726
4726
|
this.elements = t;
|
|
4727
|
-
},
|
|
4727
|
+
}, It.prototype.getElements = function() {
|
|
4728
4728
|
return this.elements;
|
|
4729
|
-
},
|
|
4729
|
+
}, It.prototype.destroyElements = function() {
|
|
4730
4730
|
var t, e = this.layers.length;
|
|
4731
4731
|
for (t = 0; t < e; t += 1)
|
|
4732
4732
|
this.elements[t] && this.elements[t].destroy();
|
|
4733
|
-
},
|
|
4733
|
+
}, It.prototype.destroy = function() {
|
|
4734
4734
|
this.destroyElements(), this.destroyBaseElement();
|
|
4735
4735
|
};
|
|
4736
|
-
function
|
|
4737
|
-
this.layers = t.layers, this.supports3d = !0, this.completeLayers = !1, this.pendingElements = [], this.elements = this.layers ?
|
|
4736
|
+
function Ie(t, e, i) {
|
|
4737
|
+
this.layers = t.layers, this.supports3d = !0, this.completeLayers = !1, this.pendingElements = [], this.elements = this.layers ? tt(this.layers.length) : [], this.initElement(t, e, i), this.tm = t.tm ? V.getProp(this, t.tm, 0, e.frameRate, this) : {
|
|
4738
4738
|
_placeholder: !0
|
|
4739
4739
|
};
|
|
4740
4740
|
}
|
|
4741
|
-
X([st,
|
|
4742
|
-
return new
|
|
4741
|
+
X([st, It, Me], Ie), Ie.prototype.createComp = function(t) {
|
|
4742
|
+
return new Ie(t, this.globalData, this);
|
|
4743
4743
|
};
|
|
4744
4744
|
function mi(t, e) {
|
|
4745
4745
|
this.animationItem = t, this.layers = null, this.renderedFrame = -1, this.svgElement = W("svg");
|
|
@@ -4784,75 +4784,68 @@ function _r() {
|
|
|
4784
4784
|
}, this.elements = [], this.pendingElements = [], this.destroyed = !1, this.rendererType = "svg";
|
|
4785
4785
|
}
|
|
4786
4786
|
return X([st], mi), mi.prototype.createComp = function(t) {
|
|
4787
|
-
return new
|
|
4788
|
-
}, As("svg", mi), Nt.registerModifier("tm",
|
|
4787
|
+
return new Ie(t, this.globalData, this);
|
|
4788
|
+
}, As("svg", mi), Nt.registerModifier("tm", bt), Nt.registerModifier("pb", Se), Nt.registerModifier("rp", wt), Nt.registerModifier("rd", Pe), Nt.registerModifier("zz", Ae), Nt.registerModifier("op", we), Z;
|
|
4789
4789
|
});
|
|
4790
|
-
}(
|
|
4790
|
+
}(Le, Le.exports)), Le.exports;
|
|
4791
4791
|
}
|
|
4792
4792
|
var br = _r();
|
|
4793
4793
|
const Sr = /* @__PURE__ */ gr(br), Pr = vr(
|
|
4794
|
-
({
|
|
4795
|
-
|
|
4796
|
-
|
|
4797
|
-
autoplay: re = !0,
|
|
4798
|
-
delay: Zt = 0,
|
|
4799
|
-
onAnimationEnd: Kt,
|
|
4800
|
-
...ue
|
|
4801
|
-
}, $e) => {
|
|
4802
|
-
const Ut = ps(null), Mt = ps(null), [rt, bt] = mr(!1), X = (Ot) => {
|
|
4803
|
-
bt(Ot.matches);
|
|
4794
|
+
({ json: Ve, autoplay: pe = !0, delay: ue = 0, onAnimationEnd: Mt, ...Re }, ce) => {
|
|
4795
|
+
const Zt = ps(null), Et = ps(null), [de, at] = mr(!1), _t = (X) => {
|
|
4796
|
+
at(X.matches);
|
|
4804
4797
|
};
|
|
4805
4798
|
return us(() => {
|
|
4806
|
-
const
|
|
4807
|
-
return
|
|
4808
|
-
|
|
4799
|
+
const X = window.matchMedia("(prefers-reduced-motion)");
|
|
4800
|
+
return at(X.matches), X.addEventListener("change", _t), () => {
|
|
4801
|
+
X.removeEventListener("change", _t);
|
|
4809
4802
|
};
|
|
4810
4803
|
}, []), us(() => {
|
|
4811
|
-
const
|
|
4812
|
-
if (
|
|
4813
|
-
const
|
|
4804
|
+
const ei = setTimeout(() => {
|
|
4805
|
+
if (Zt.current) {
|
|
4806
|
+
const Kt = {
|
|
4814
4807
|
"rgb(153,10,227)": "--purpur-color-brand-core-purple",
|
|
4815
4808
|
"rgb(41,0,62)": "--purpur-color-brand-deep-purple",
|
|
4816
4809
|
"rgb(30,30,32)": "--purpur-color-brand-off-black"
|
|
4817
4810
|
};
|
|
4818
|
-
if (
|
|
4819
|
-
container:
|
|
4811
|
+
if (Et.current = Sr.loadAnimation({
|
|
4812
|
+
container: Zt.current,
|
|
4820
4813
|
renderer: "svg",
|
|
4821
4814
|
loop: !1,
|
|
4822
|
-
autoplay: !
|
|
4823
|
-
animationData:
|
|
4815
|
+
autoplay: !de && pe,
|
|
4816
|
+
animationData: Ve,
|
|
4824
4817
|
rendererSettings: {
|
|
4825
4818
|
preserveAspectRatio: "xMidYMid slice"
|
|
4826
4819
|
}
|
|
4827
|
-
}),
|
|
4828
|
-
if (!
|
|
4829
|
-
const
|
|
4830
|
-
|
|
4831
|
-
["fill", "stroke"].forEach((
|
|
4832
|
-
const
|
|
4833
|
-
if (
|
|
4834
|
-
const
|
|
4835
|
-
|
|
4820
|
+
}), Et.current.addEventListener("DOMLoaded", () => {
|
|
4821
|
+
if (!Zt.current) return;
|
|
4822
|
+
const U = getComputedStyle(document.documentElement);
|
|
4823
|
+
Zt.current.querySelectorAll("svg *").forEach((ve) => {
|
|
4824
|
+
["fill", "stroke"].forEach((me) => {
|
|
4825
|
+
const se = ve.getAttribute(me);
|
|
4826
|
+
if (se && Object.prototype.hasOwnProperty.call(Kt, se)) {
|
|
4827
|
+
const Oe = U.getPropertyValue(Kt[se]).trim();
|
|
4828
|
+
Oe && ve.setAttribute(me, Oe);
|
|
4836
4829
|
}
|
|
4837
4830
|
});
|
|
4838
4831
|
});
|
|
4839
|
-
}),
|
|
4840
|
-
|
|
4841
|
-
}), (
|
|
4842
|
-
const
|
|
4843
|
-
|
|
4832
|
+
}), Et.current.addEventListener("complete", () => {
|
|
4833
|
+
Mt == null || Mt();
|
|
4834
|
+
}), (de || !pe) && Et.current) {
|
|
4835
|
+
const U = Et.current.getDuration(!0);
|
|
4836
|
+
Et.current.goToAndStop(U - 1, !0);
|
|
4844
4837
|
}
|
|
4845
4838
|
}
|
|
4846
|
-
},
|
|
4839
|
+
}, ue);
|
|
4847
4840
|
return () => {
|
|
4848
|
-
var
|
|
4849
|
-
clearTimeout(
|
|
4841
|
+
var Kt;
|
|
4842
|
+
clearTimeout(ei), (Kt = Et.current) == null || Kt.destroy();
|
|
4850
4843
|
};
|
|
4851
|
-
}, [
|
|
4844
|
+
}, [de, Ve, pe, Mt, ue]), /* @__PURE__ */ fs("div", { ref: ce, ...Re, children: /* @__PURE__ */ fs("div", { ref: Zt }) });
|
|
4852
4845
|
}
|
|
4853
4846
|
);
|
|
4854
4847
|
Pr.displayName = "AnimatedIllustrativeIcon";
|
|
4855
4848
|
export {
|
|
4856
4849
|
Pr as A
|
|
4857
4850
|
};
|
|
4858
|
-
//# sourceMappingURL=animated-illustrative-icon-
|
|
4851
|
+
//# sourceMappingURL=animated-illustrative-icon-Cxd93oY1.mjs.map
|