@purpurds/illustrative-icon 6.12.5 → 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
|
@@ -1,24 +1,24 @@
|
|
|
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
|
-
function gr(
|
|
4
|
-
return
|
|
3
|
+
function gr(kt) {
|
|
4
|
+
return kt && kt.__esModule && Object.prototype.hasOwnProperty.call(kt, "default") ? kt.default : kt;
|
|
5
5
|
}
|
|
6
|
-
var
|
|
6
|
+
var Ve = { exports: {} }, yr = Ve.exports, cs;
|
|
7
7
|
function _r() {
|
|
8
|
-
return cs || (cs = 1, function(
|
|
9
|
-
typeof navigator < "u" && function(
|
|
10
|
-
|
|
8
|
+
return cs || (cs = 1, function(kt, ue) {
|
|
9
|
+
typeof navigator < "u" && function(ce, Et) {
|
|
10
|
+
kt.exports = Et();
|
|
11
11
|
}(yr, function() {
|
|
12
|
-
var
|
|
13
|
-
|
|
14
|
-
},
|
|
15
|
-
return
|
|
16
|
-
},
|
|
17
|
-
|
|
18
|
-
},
|
|
19
|
-
return
|
|
12
|
+
var ce = "http://www.w3.org/2000/svg", Et = "", Re = !1, de = -999999, Kt = function(e) {
|
|
13
|
+
Re = !!e;
|
|
14
|
+
}, xt = function() {
|
|
15
|
+
return Re;
|
|
16
|
+
}, ve = function(e) {
|
|
17
|
+
Et = e;
|
|
18
|
+
}, at = function() {
|
|
19
|
+
return Et;
|
|
20
20
|
};
|
|
21
|
-
function
|
|
21
|
+
function _t(t) {
|
|
22
22
|
return document.createElement(t);
|
|
23
23
|
}
|
|
24
24
|
function X(t, e) {
|
|
@@ -29,12 +29,12 @@ function _r() {
|
|
|
29
29
|
Object.prototype.hasOwnProperty.call(n, r) && (e.prototype[r] = n[r]);
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function ei(t) {
|
|
33
33
|
function e() {
|
|
34
34
|
}
|
|
35
35
|
return e.prototype = t, e;
|
|
36
36
|
}
|
|
37
|
-
var
|
|
37
|
+
var Ut = function() {
|
|
38
38
|
function t(e) {
|
|
39
39
|
this.audios = [], this.audioFactory = e, this._volume = 1, this._isMuted = !1;
|
|
40
40
|
}
|
|
@@ -120,12 +120,12 @@ function _r() {
|
|
|
120
120
|
}
|
|
121
121
|
return typeof Uint8ClampedArray == "function" && typeof Float32Array == "function" ? e : t;
|
|
122
122
|
}();
|
|
123
|
-
function
|
|
123
|
+
function tt(t) {
|
|
124
124
|
return Array.apply(null, {
|
|
125
125
|
length: t
|
|
126
126
|
});
|
|
127
127
|
}
|
|
128
|
-
var
|
|
128
|
+
var me = !0, ge = null, re = "", Oe = /^((?!chrome|android).)*safari/i.test(navigator.userAgent), At = Math.pow, gi = Math.sqrt, Jt = Math.floor, ds = Math.min, yi = 150, Q = Math.PI / 180, Nt = 0.5519;
|
|
129
129
|
function ii(t, e, i, s) {
|
|
130
130
|
this.type = t, this.currentTime = e, this.totalTime = i, this.direction = s < 0 ? -1 : 1;
|
|
131
131
|
}
|
|
@@ -150,7 +150,7 @@ function _r() {
|
|
|
150
150
|
var pt = /* @__PURE__ */ function() {
|
|
151
151
|
var t = 0;
|
|
152
152
|
return function() {
|
|
153
|
-
return t += 1,
|
|
153
|
+
return t += 1, re + "__lottie_element_" + t;
|
|
154
154
|
};
|
|
155
155
|
}();
|
|
156
156
|
function si(t, e, i) {
|
|
@@ -216,32 +216,32 @@ function _r() {
|
|
|
216
216
|
};
|
|
217
217
|
})();
|
|
218
218
|
var gs = function(e) {
|
|
219
|
-
|
|
219
|
+
me = !!e;
|
|
220
220
|
}, ys = function() {
|
|
221
|
-
return
|
|
221
|
+
return me;
|
|
222
222
|
}, _s = function(e) {
|
|
223
|
-
|
|
224
|
-
}, Re = function() {
|
|
225
|
-
return de;
|
|
226
|
-
}, Oe = function(e) {
|
|
227
|
-
yi = e;
|
|
223
|
+
ge = e;
|
|
228
224
|
}, Be = function() {
|
|
225
|
+
return ge;
|
|
226
|
+
}, Ne = function(e) {
|
|
227
|
+
yi = e;
|
|
228
|
+
}, ze = function() {
|
|
229
229
|
return yi;
|
|
230
230
|
}, bs = function(e) {
|
|
231
|
-
|
|
231
|
+
re = e;
|
|
232
232
|
};
|
|
233
233
|
function W(t) {
|
|
234
|
-
return document.createElementNS(
|
|
234
|
+
return document.createElementNS(ce, t);
|
|
235
235
|
}
|
|
236
|
-
function
|
|
236
|
+
function qe(t) {
|
|
237
237
|
"@babel/helpers - typeof";
|
|
238
|
-
return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ?
|
|
238
|
+
return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? qe = function(i) {
|
|
239
239
|
return typeof i;
|
|
240
|
-
} :
|
|
240
|
+
} : qe = function(i) {
|
|
241
241
|
return i && typeof Symbol == "function" && i.constructor === Symbol && i !== Symbol.prototype ? "symbol" : typeof i;
|
|
242
|
-
},
|
|
242
|
+
}, qe(t);
|
|
243
243
|
}
|
|
244
|
-
var
|
|
244
|
+
var ye = /* @__PURE__ */ function() {
|
|
245
245
|
var t = 1, e = [], i, s, n = {
|
|
246
246
|
onmessage: function() {
|
|
247
247
|
},
|
|
@@ -258,7 +258,7 @@ function _r() {
|
|
|
258
258
|
}
|
|
259
259
|
};
|
|
260
260
|
function o(p) {
|
|
261
|
-
if (window.Worker && window.Blob &&
|
|
261
|
+
if (window.Worker && window.Blob && xt()) {
|
|
262
262
|
var b = new Blob(["var _workerSelf = self; self.onmessage = ", p.toString()], {
|
|
263
263
|
type: "text/javascript"
|
|
264
264
|
}), k = URL.createObjectURL(b);
|
|
@@ -512,7 +512,7 @@ function _r() {
|
|
|
512
512
|
if (r.dataManager || (r.dataManager = k()), r.assetLoader || (r.assetLoader = /* @__PURE__ */ function() {
|
|
513
513
|
function C(v) {
|
|
514
514
|
var f = v.getResponseHeader("content-type");
|
|
515
|
-
return f && v.responseType === "json" && f.indexOf("json") !== -1 || v.response &&
|
|
515
|
+
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;
|
|
516
516
|
}
|
|
517
517
|
function y(v, f, u, g) {
|
|
518
518
|
var A, T = new XMLHttpRequest();
|
|
@@ -622,7 +622,7 @@ function _r() {
|
|
|
622
622
|
};
|
|
623
623
|
}(), Ss = function() {
|
|
624
624
|
var t = function() {
|
|
625
|
-
var y =
|
|
625
|
+
var y = _t("canvas");
|
|
626
626
|
y.width = 1, y.height = 1;
|
|
627
627
|
var v = y.getContext("2d");
|
|
628
628
|
return v.fillStyle = "rgba(0,0,0,0)", v.fillRect(0, 0, 1, 1), y;
|
|
@@ -652,7 +652,7 @@ function _r() {
|
|
|
652
652
|
}
|
|
653
653
|
function r(y) {
|
|
654
654
|
var v = s(y, this.assetsPath, this.path), f = W("image");
|
|
655
|
-
|
|
655
|
+
Oe ? this.testImageLoaded(f) : f.addEventListener("load", this._imageLoaded, !1), f.addEventListener("error", (function() {
|
|
656
656
|
u.img = t, this._imageLoaded();
|
|
657
657
|
}).bind(this), !1), f.setAttributeNS("http://www.w3.org/1999/xlink", "href", v), this._elementHelper.append ? this._elementHelper.append(f) : this._elementHelper.appendChild(f);
|
|
658
658
|
var u = {
|
|
@@ -662,7 +662,7 @@ function _r() {
|
|
|
662
662
|
return u;
|
|
663
663
|
}
|
|
664
664
|
function o(y) {
|
|
665
|
-
var v = s(y, this.assetsPath, this.path), f =
|
|
665
|
+
var v = s(y, this.assetsPath, this.path), f = _t("img");
|
|
666
666
|
f.crossOrigin = "anonymous", f.addEventListener("load", this._imageLoaded, !1), f.addEventListener("error", (function() {
|
|
667
667
|
u.img = t, this._imageLoaded();
|
|
668
668
|
}).bind(this), !1), f.src = v;
|
|
@@ -676,7 +676,7 @@ function _r() {
|
|
|
676
676
|
var v = {
|
|
677
677
|
assetData: y
|
|
678
678
|
}, f = s(y, this.assetsPath, this.path);
|
|
679
|
-
return
|
|
679
|
+
return ye.loadData(f, (function(u) {
|
|
680
680
|
v.img = u, this._footageLoaded();
|
|
681
681
|
}).bind(this), (function() {
|
|
682
682
|
v.img = {}, this._footageLoaded();
|
|
@@ -800,43 +800,43 @@ function _r() {
|
|
|
800
800
|
}
|
|
801
801
|
return e.compositions = [], e.currentFrame = 0, e.registerComposition = t, e;
|
|
802
802
|
};
|
|
803
|
-
}(),
|
|
804
|
-
|
|
803
|
+
}(), _e = {}, As = function(e, i) {
|
|
804
|
+
_e[e] = i;
|
|
805
805
|
};
|
|
806
806
|
function ws(t) {
|
|
807
|
-
return
|
|
807
|
+
return _e[t];
|
|
808
808
|
}
|
|
809
809
|
function Cs() {
|
|
810
|
-
if (
|
|
810
|
+
if (_e.canvas)
|
|
811
811
|
return "canvas";
|
|
812
|
-
for (var t in
|
|
813
|
-
if (
|
|
812
|
+
for (var t in _e)
|
|
813
|
+
if (_e[t])
|
|
814
814
|
return t;
|
|
815
815
|
return "";
|
|
816
816
|
}
|
|
817
|
-
function
|
|
817
|
+
function be(t) {
|
|
818
818
|
"@babel/helpers - typeof";
|
|
819
|
-
return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ?
|
|
819
|
+
return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? be = function(i) {
|
|
820
820
|
return typeof i;
|
|
821
|
-
} :
|
|
821
|
+
} : be = function(i) {
|
|
822
822
|
return i && typeof Symbol == "function" && i.constructor === Symbol && i !== Symbol.prototype ? "symbol" : typeof i;
|
|
823
|
-
},
|
|
823
|
+
}, be(t);
|
|
824
824
|
}
|
|
825
825
|
var z = function() {
|
|
826
|
-
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 =
|
|
826
|
+
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 = Ut(), 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();
|
|
827
827
|
};
|
|
828
828
|
X([Ci], z), z.prototype.setParams = function(t) {
|
|
829
829
|
(t.wrapper || t.container) && (this.wrapper = t.wrapper || t.container);
|
|
830
830
|
var e = "svg";
|
|
831
831
|
t.animType ? e = t.animType : t.renderer && (e = t.renderer);
|
|
832
832
|
var i = ws(e);
|
|
833
|
-
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")),
|
|
833
|
+
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")), ye.loadAnimation(t.path, this.configAnimation, this.onSetupError));
|
|
834
834
|
}, z.prototype.onSetupError = function() {
|
|
835
835
|
this.trigger("data_failed");
|
|
836
836
|
}, z.prototype.setupAnimation = function(t) {
|
|
837
|
-
|
|
837
|
+
ye.completeAnimation(t, this.configAnimation);
|
|
838
838
|
}, z.prototype.setData = function(t, e) {
|
|
839
|
-
e &&
|
|
839
|
+
e && be(e) !== "object" && (e = JSON.parse(e));
|
|
840
840
|
var i = {
|
|
841
841
|
wrapper: t,
|
|
842
842
|
animationData: e
|
|
@@ -862,10 +862,10 @@ function _r() {
|
|
|
862
862
|
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)
|
|
863
863
|
for (s = t.assets.length, i = 0; i < s; i += 1)
|
|
864
864
|
this.animationData.assets.push(t.assets[i]);
|
|
865
|
-
this.animationData.__complete = !1,
|
|
865
|
+
this.animationData.__complete = !1, ye.completeAnimation(this.animationData, this.onSegmentComplete);
|
|
866
866
|
}, z.prototype.onSegmentComplete = function(t) {
|
|
867
867
|
this.animationData = t;
|
|
868
|
-
var e =
|
|
868
|
+
var e = Be();
|
|
869
869
|
e && e.initExpressions(this), this.loadNextSegment();
|
|
870
870
|
}, z.prototype.loadNextSegment = function() {
|
|
871
871
|
var t = this.animationData.segments;
|
|
@@ -876,7 +876,7 @@ function _r() {
|
|
|
876
876
|
var e = t.shift();
|
|
877
877
|
this.timeCompleted = e.time * this.frameRate;
|
|
878
878
|
var i = this.path + this.fileName + "_" + this.segmentPos + ".json";
|
|
879
|
-
this.segmentPos += 1,
|
|
879
|
+
this.segmentPos += 1, ye.loadData(i, this.includeLayers.bind(this), (function() {
|
|
880
880
|
this.trigger("data_failed");
|
|
881
881
|
}).bind(this));
|
|
882
882
|
}, z.prototype.loadSegments = function() {
|
|
@@ -898,7 +898,7 @@ function _r() {
|
|
|
898
898
|
}, z.prototype.checkLoaded = function() {
|
|
899
899
|
if (!this.isLoaded && this.renderer.globalData.fontManager.isLoaded && (this.imagePreloader.loadedImages() || this.renderer.rendererType !== "canvas") && this.imagePreloader.loadedFootages()) {
|
|
900
900
|
this.isLoaded = !0;
|
|
901
|
-
var t =
|
|
901
|
+
var t = Be();
|
|
902
902
|
t && t.initExpressions(this), this.renderer.initItems(), setTimeout((function() {
|
|
903
903
|
this.trigger("DOMLoaded");
|
|
904
904
|
}).bind(this), 0), this.gotoFrame(), this.autoplay && this.play();
|
|
@@ -960,7 +960,7 @@ function _r() {
|
|
|
960
960
|
var i = -1;
|
|
961
961
|
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);
|
|
962
962
|
}, z.prototype.playSegments = function(t, e) {
|
|
963
|
-
if (e && (this.segments.length = 0),
|
|
963
|
+
if (e && (this.segments.length = 0), be(t[0]) === "object") {
|
|
964
964
|
var i, s = t.length;
|
|
965
965
|
for (i = 0; i < s; i += 1)
|
|
966
966
|
this.segments.push(t[i]);
|
|
@@ -1150,7 +1150,7 @@ function _r() {
|
|
|
1150
1150
|
a || (a = "svg");
|
|
1151
1151
|
var R = document.getElementsByTagName("body")[0];
|
|
1152
1152
|
R.innerText = "";
|
|
1153
|
-
var q =
|
|
1153
|
+
var q = _t("div");
|
|
1154
1154
|
q.style.width = "100%", q.style.height = "100%", q.setAttribute("data-bm-type", a), R.appendChild(q), h(q, d);
|
|
1155
1155
|
}
|
|
1156
1156
|
}
|
|
@@ -1184,7 +1184,7 @@ function _r() {
|
|
|
1184
1184
|
e[P].animation.unmute(d);
|
|
1185
1185
|
}
|
|
1186
1186
|
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;
|
|
1187
|
-
}(),
|
|
1187
|
+
}(), Se = function() {
|
|
1188
1188
|
var t = {};
|
|
1189
1189
|
t.getBezierEasing = i;
|
|
1190
1190
|
var e = {};
|
|
@@ -1257,14 +1257,14 @@ function _r() {
|
|
|
1257
1257
|
}, t;
|
|
1258
1258
|
}(), Ti = /* @__PURE__ */ function() {
|
|
1259
1259
|
function t(e) {
|
|
1260
|
-
return e.concat(
|
|
1260
|
+
return e.concat(tt(e.length));
|
|
1261
1261
|
}
|
|
1262
1262
|
return {
|
|
1263
1263
|
double: t
|
|
1264
1264
|
};
|
|
1265
|
-
}(),
|
|
1265
|
+
}(), je = /* @__PURE__ */ function() {
|
|
1266
1266
|
return function(t, e, i) {
|
|
1267
|
-
var s = 0, n = t, r =
|
|
1267
|
+
var s = 0, n = t, r = tt(n), o = {
|
|
1268
1268
|
newElement: c,
|
|
1269
1269
|
release: h
|
|
1270
1270
|
};
|
|
@@ -1281,11 +1281,11 @@ function _r() {
|
|
|
1281
1281
|
function t() {
|
|
1282
1282
|
return {
|
|
1283
1283
|
addedLength: 0,
|
|
1284
|
-
percents: U("float32",
|
|
1285
|
-
lengths: U("float32",
|
|
1284
|
+
percents: U("float32", ze()),
|
|
1285
|
+
lengths: U("float32", ze())
|
|
1286
1286
|
};
|
|
1287
1287
|
}
|
|
1288
|
-
return
|
|
1288
|
+
return je(8, t);
|
|
1289
1289
|
}(), Ei = function() {
|
|
1290
1290
|
function t() {
|
|
1291
1291
|
return {
|
|
@@ -1299,7 +1299,7 @@ function _r() {
|
|
|
1299
1299
|
Mi.release(i.lengths[s]);
|
|
1300
1300
|
i.lengths.length = 0;
|
|
1301
1301
|
}
|
|
1302
|
-
return
|
|
1302
|
+
return je(8, t, e);
|
|
1303
1303
|
}();
|
|
1304
1304
|
function Ts() {
|
|
1305
1305
|
var t = Math;
|
|
@@ -1315,10 +1315,10 @@ function _r() {
|
|
|
1315
1315
|
}
|
|
1316
1316
|
var s = /* @__PURE__ */ function() {
|
|
1317
1317
|
return function(p, b, k, S) {
|
|
1318
|
-
var C =
|
|
1318
|
+
var C = ze(), y, v, f, u, g, A = 0, T, x = [], I = [], j = Mi.newElement();
|
|
1319
1319
|
for (f = k.length, y = 0; y < C; y += 1) {
|
|
1320
1320
|
for (g = y / (C - 1), T = 0, v = 0; v < f; v += 1)
|
|
1321
|
-
u =
|
|
1321
|
+
u = At(1 - g, 3) * p[v] + 3 * At(1 - g, 2) * g * k[v] + 3 * (1 - g) * At(g, 2) * S[v] + At(g, 3) * b[v], x[v] = u, I[v] !== null && (T += At(x[v] - I[v], 2)), I[v] = x[v];
|
|
1322
1322
|
T && (T = gi(T), A += T), j.percents[y] = g, j.lengths[y] = A;
|
|
1323
1323
|
}
|
|
1324
1324
|
return j.addedLength = A, j;
|
|
@@ -1341,12 +1341,12 @@ function _r() {
|
|
|
1341
1341
|
return function(b, k, S, C) {
|
|
1342
1342
|
var y = (b[0] + "_" + b[1] + "_" + k[0] + "_" + k[1] + "_" + S[0] + "_" + S[1] + "_" + C[0] + "_" + C[1]).replace(/\./g, "p");
|
|
1343
1343
|
if (!p[y]) {
|
|
1344
|
-
var v =
|
|
1344
|
+
var v = ze(), f, u, g, A, T, x = 0, I, j, N = null;
|
|
1345
1345
|
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);
|
|
1346
1346
|
var L = new r(v);
|
|
1347
1347
|
for (g = S.length, f = 0; f < v; f += 1) {
|
|
1348
|
-
for (j =
|
|
1349
|
-
A =
|
|
1348
|
+
for (j = tt(g), T = f / (v - 1), I = 0, u = 0; u < g; u += 1)
|
|
1349
|
+
A = At(1 - T, 3) * b[u] + 3 * At(1 - T, 2) * T * (b[u] + S[u]) + 3 * (1 - T) * At(T, 2) * (k[u] + C[u]) + At(T, 3) * k[u], j[u] = A, N !== null && (I += At(j[u] - N[u], 2));
|
|
1350
1350
|
I = gi(I), x += I, L.points[f] = new o(I, j), N = j;
|
|
1351
1351
|
}
|
|
1352
1352
|
L.segmentLength = x, p[y] = L;
|
|
@@ -1355,7 +1355,7 @@ function _r() {
|
|
|
1355
1355
|
};
|
|
1356
1356
|
}();
|
|
1357
1357
|
function h(p, b) {
|
|
1358
|
-
var k = b.percents, S = b.lengths, C = k.length, y =
|
|
1358
|
+
var k = b.percents, S = b.lengths, C = k.length, y = Jt((C - 1) * p), v = p * b.addedLength, f = 0;
|
|
1359
1359
|
if (y === C - 1 || y === 0 || v === S[y])
|
|
1360
1360
|
return k[y];
|
|
1361
1361
|
for (var u = S[y] > v ? -1 : 1, g = !0; g; )
|
|
@@ -1389,7 +1389,7 @@ function _r() {
|
|
|
1389
1389
|
pointOnLine3D: i
|
|
1390
1390
|
};
|
|
1391
1391
|
}
|
|
1392
|
-
var
|
|
1392
|
+
var wt = Ts(), Qt = de, xi = Math.abs;
|
|
1393
1393
|
function Fi(t, e) {
|
|
1394
1394
|
var i = this.offsetTime, s;
|
|
1395
1395
|
this.propType === "multidimensional" && (s = U("float32", this.pv.length));
|
|
@@ -1407,14 +1407,14 @@ function _r() {
|
|
|
1407
1407
|
_ = this.keyframesMetadata[r] || {};
|
|
1408
1408
|
var M, p, b, k, S, C, y = m.t - i, v = h.t - i, f;
|
|
1409
1409
|
if (h.to) {
|
|
1410
|
-
_.bezierData || (_.bezierData =
|
|
1410
|
+
_.bezierData || (_.bezierData = wt.buildBezierData(h.s, m.s || h.e, h.to, h.ti));
|
|
1411
1411
|
var u = _.bezierData;
|
|
1412
1412
|
if (t >= y || t < v) {
|
|
1413
1413
|
var g = t >= y ? u.points.length - 1 : 0;
|
|
1414
1414
|
for (p = u.points[g].point.length, M = 0; M < p; M += 1)
|
|
1415
1415
|
s[M] = u.points[g].point[M];
|
|
1416
1416
|
} else {
|
|
1417
|
-
_.__fnct ? C = _.__fnct : (C =
|
|
1417
|
+
_.__fnct ? C = _.__fnct : (C = Se.getBezierEasing(h.o.x, h.o.y, h.i.x, h.i.y, h.n).get, _.__fnct = C), b = C((t - v) / (y - v));
|
|
1418
1418
|
var A = u.segmentLength * b, T, x = e.lastFrame < t && e._lastKeyframeIndex === r ? e._lastAddedLength : 0;
|
|
1419
1419
|
for (S = e.lastFrame < t && e._lastKeyframeIndex === r ? e._lastPoint : 0, c = !0, k = u.points.length; c; ) {
|
|
1420
1420
|
if (x += u.points[S].partialLength, A === 0 || b === 0 || S === u.points.length - 1) {
|
|
@@ -1443,7 +1443,7 @@ function _r() {
|
|
|
1443
1443
|
}
|
|
1444
1444
|
else
|
|
1445
1445
|
for (r = 0; r < o; r += 1)
|
|
1446
|
-
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 =
|
|
1446
|
+
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 = Se.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 = Se.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;
|
|
1447
1447
|
}
|
|
1448
1448
|
return e.lastIndex = n, s;
|
|
1449
1449
|
}
|
|
@@ -1453,22 +1453,22 @@ function _r() {
|
|
|
1453
1453
|
}
|
|
1454
1454
|
function Es(t, e) {
|
|
1455
1455
|
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);
|
|
1456
|
-
t[0] = o /
|
|
1456
|
+
t[0] = o / Q, t[1] = c / Q, t[2] = h / Q;
|
|
1457
1457
|
}
|
|
1458
1458
|
function Ii(t) {
|
|
1459
|
-
var e = t[0] *
|
|
1459
|
+
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;
|
|
1460
1460
|
return [M, p, b, _];
|
|
1461
1461
|
}
|
|
1462
1462
|
function Li() {
|
|
1463
1463
|
var t = this.comp.renderedFrame - this.offsetTime, e = this.keyframes[0].t - this.offsetTime, i = this.keyframes[this.keyframes.length - 1].t - this.offsetTime;
|
|
1464
|
-
if (!(t === this._caching.lastFrame || this._caching.lastFrame !==
|
|
1464
|
+
if (!(t === this._caching.lastFrame || this._caching.lastFrame !== Qt && (this._caching.lastFrame >= i && t >= i || this._caching.lastFrame < e && t < e))) {
|
|
1465
1465
|
this._caching.lastFrame >= t && (this._caching._lastKeyframeIndex = -1, this._caching.lastIndex = 0);
|
|
1466
1466
|
var s = this.interpolateValue(t, this._caching);
|
|
1467
1467
|
this.pv = s;
|
|
1468
1468
|
}
|
|
1469
1469
|
return this._caching.lastFrame = t, this.pv;
|
|
1470
1470
|
}
|
|
1471
|
-
function
|
|
1471
|
+
function De(t) {
|
|
1472
1472
|
var e;
|
|
1473
1473
|
if (this.propType === "unidimensional")
|
|
1474
1474
|
e = t * this.mult, xi(this.v - e) > 1e-5 && (this.v = e, this._mdf = !0);
|
|
@@ -1476,7 +1476,7 @@ function _r() {
|
|
|
1476
1476
|
for (var i = 0, s = this.v.length; i < s; )
|
|
1477
1477
|
e = t[i] * this.mult, xi(this.v[i] - e) > 1e-5 && (this.v[i] = e, this._mdf = !0), i += 1;
|
|
1478
1478
|
}
|
|
1479
|
-
function
|
|
1479
|
+
function We() {
|
|
1480
1480
|
if (!(this.elem.globalData.frameId === this.frameId || !this.effectsSequence.length)) {
|
|
1481
1481
|
if (this.lock) {
|
|
1482
1482
|
this.setVValue(this.pv);
|
|
@@ -1489,41 +1489,41 @@ function _r() {
|
|
|
1489
1489
|
this.setVValue(i), this._isFirstFrame = !1, this.lock = !1, this.frameId = this.elem.globalData.frameId;
|
|
1490
1490
|
}
|
|
1491
1491
|
}
|
|
1492
|
-
function
|
|
1492
|
+
function Ge(t) {
|
|
1493
1493
|
this.effectsSequence.push(t), this.container.addDynamicProperty(this);
|
|
1494
1494
|
}
|
|
1495
1495
|
function xs(t, e, i, s) {
|
|
1496
|
-
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 =
|
|
1496
|
+
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;
|
|
1497
1497
|
}
|
|
1498
1498
|
function Fs(t, e, i, s) {
|
|
1499
1499
|
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;
|
|
1500
1500
|
var n, r = e.k.length;
|
|
1501
1501
|
for (this.v = U("float32", r), this.pv = U("float32", r), this.vel = U("float32", r), n = 0; n < r; n += 1)
|
|
1502
1502
|
this.v[n] = e.k[n] * this.mult, this.pv[n] = e.k[n];
|
|
1503
|
-
this._isFirstFrame = !0, this.effectsSequence = [], this.getValue =
|
|
1503
|
+
this._isFirstFrame = !0, this.effectsSequence = [], this.getValue = We, this.setVValue = De, this.addEffect = Ge;
|
|
1504
1504
|
}
|
|
1505
1505
|
function Is(t, e, i, s) {
|
|
1506
1506
|
this.propType = "unidimensional", this.keyframes = e.k, this.keyframesMetadata = [], this.offsetTime = t.data.st, this.frameId = -1, this._caching = {
|
|
1507
|
-
lastFrame:
|
|
1507
|
+
lastFrame: Qt,
|
|
1508
1508
|
lastIndex: 0,
|
|
1509
1509
|
value: 0,
|
|
1510
1510
|
_lastKeyframeIndex: -1
|
|
1511
|
-
}, 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 =
|
|
1511
|
+
}, 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 = Qt, this.pv = Qt, this._isFirstFrame = !0, this.getValue = We, this.setVValue = De, this.interpolateValue = Fi, this.effectsSequence = [Li.bind(this)], this.addEffect = Ge;
|
|
1512
1512
|
}
|
|
1513
1513
|
function Ls(t, e, i, s) {
|
|
1514
1514
|
this.propType = "multidimensional";
|
|
1515
1515
|
var n, r = e.k.length, o, c, h, m;
|
|
1516
1516
|
for (n = 0; n < r - 1; n += 1)
|
|
1517
|
-
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]) &&
|
|
1518
|
-
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 =
|
|
1517
|
+
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]) && wt.pointOnLine2D(o[0], o[1], c[0], c[1], o[0] + h[0], o[1] + h[1]) && wt.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]) && wt.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]) && wt.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));
|
|
1518
|
+
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;
|
|
1519
1519
|
var _ = e.k[0].s.length;
|
|
1520
1520
|
for (this.v = U("float32", _), this.pv = U("float32", _), n = 0; n < _; n += 1)
|
|
1521
|
-
this.v[n] =
|
|
1521
|
+
this.v[n] = Qt, this.pv[n] = Qt;
|
|
1522
1522
|
this._caching = {
|
|
1523
|
-
lastFrame:
|
|
1523
|
+
lastFrame: Qt,
|
|
1524
1524
|
lastIndex: 0,
|
|
1525
1525
|
value: U("float32", _)
|
|
1526
|
-
}, this.addEffect =
|
|
1526
|
+
}, this.addEffect = Ge;
|
|
1527
1527
|
}
|
|
1528
1528
|
var V = /* @__PURE__ */ function() {
|
|
1529
1529
|
function t(i, s, n, r, o) {
|
|
@@ -1549,9 +1549,9 @@ function _r() {
|
|
|
1549
1549
|
};
|
|
1550
1550
|
return e;
|
|
1551
1551
|
}();
|
|
1552
|
-
function
|
|
1552
|
+
function rt() {
|
|
1553
1553
|
}
|
|
1554
|
-
|
|
1554
|
+
rt.prototype = {
|
|
1555
1555
|
addDynamicProperty: function(e) {
|
|
1556
1556
|
this.dynamicProperties.indexOf(e) === -1 && (this.dynamicProperties.push(e), this.container.addDynamicProperty(this), this._isAnimated = !0);
|
|
1557
1557
|
},
|
|
@@ -1565,26 +1565,26 @@ function _r() {
|
|
|
1565
1565
|
this.container = e, this.dynamicProperties = [], this._mdf = !1, this._isAnimated = !1;
|
|
1566
1566
|
}
|
|
1567
1567
|
};
|
|
1568
|
-
var
|
|
1568
|
+
var $t = function() {
|
|
1569
1569
|
function t() {
|
|
1570
1570
|
return U("float32", 2);
|
|
1571
1571
|
}
|
|
1572
|
-
return
|
|
1572
|
+
return je(8, t);
|
|
1573
1573
|
}();
|
|
1574
|
-
function
|
|
1575
|
-
this.c = !1, this._length = 0, this._maxLength = 8, this.v =
|
|
1574
|
+
function Ft() {
|
|
1575
|
+
this.c = !1, this._length = 0, this._maxLength = 8, this.v = tt(this._maxLength), this.o = tt(this._maxLength), this.i = tt(this._maxLength);
|
|
1576
1576
|
}
|
|
1577
|
-
|
|
1577
|
+
Ft.prototype.setPathData = function(t, e) {
|
|
1578
1578
|
this.c = t, this.setLength(e);
|
|
1579
1579
|
for (var i = 0; i < e; )
|
|
1580
|
-
this.v[i] =
|
|
1581
|
-
},
|
|
1580
|
+
this.v[i] = $t.newElement(), this.o[i] = $t.newElement(), this.i[i] = $t.newElement(), i += 1;
|
|
1581
|
+
}, Ft.prototype.setLength = function(t) {
|
|
1582
1582
|
for (; this._maxLength < t; )
|
|
1583
1583
|
this.doubleArrayLength();
|
|
1584
1584
|
this._length = t;
|
|
1585
|
-
},
|
|
1586
|
-
this.v = this.v.concat(
|
|
1587
|
-
},
|
|
1585
|
+
}, Ft.prototype.doubleArrayLength = function() {
|
|
1586
|
+
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;
|
|
1587
|
+
}, Ft.prototype.setXYAt = function(t, e, i, s, n) {
|
|
1588
1588
|
var r;
|
|
1589
1589
|
switch (this._length = Math.max(this._length, s + 1), this._length >= this._maxLength && this.doubleArrayLength(), i) {
|
|
1590
1590
|
case "v":
|
|
@@ -1600,11 +1600,11 @@ function _r() {
|
|
|
1600
1600
|
r = [];
|
|
1601
1601
|
break;
|
|
1602
1602
|
}
|
|
1603
|
-
(!r[s] || r[s] && !n) && (r[s] =
|
|
1604
|
-
},
|
|
1603
|
+
(!r[s] || r[s] && !n) && (r[s] = $t.newElement()), r[s][0] = t, r[s][1] = e;
|
|
1604
|
+
}, Ft.prototype.setTripleAt = function(t, e, i, s, n, r, o, c) {
|
|
1605
1605
|
this.setXYAt(t, e, "v", o, c), this.setXYAt(i, s, "o", o, c), this.setXYAt(n, r, "i", o, c);
|
|
1606
|
-
},
|
|
1607
|
-
var t = new
|
|
1606
|
+
}, Ft.prototype.reverse = function() {
|
|
1607
|
+
var t = new Ft();
|
|
1608
1608
|
t.setPathData(this.c, this._length);
|
|
1609
1609
|
var e = this.v, i = this.o, s = this.i, n = 0;
|
|
1610
1610
|
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);
|
|
@@ -1612,17 +1612,17 @@ function _r() {
|
|
|
1612
1612
|
for (c = n; c < o; c += 1)
|
|
1613
1613
|
t.setTripleAt(e[r][0], e[r][1], s[r][0], s[r][1], i[r][0], i[r][1], c, !1), r -= 1;
|
|
1614
1614
|
return t;
|
|
1615
|
-
},
|
|
1615
|
+
}, Ft.prototype.length = function() {
|
|
1616
1616
|
return this._length;
|
|
1617
1617
|
};
|
|
1618
1618
|
var ot = function() {
|
|
1619
1619
|
function t() {
|
|
1620
|
-
return new
|
|
1620
|
+
return new Ft();
|
|
1621
1621
|
}
|
|
1622
1622
|
function e(n) {
|
|
1623
1623
|
var r = n._length, o;
|
|
1624
1624
|
for (o = 0; o < r; o += 1)
|
|
1625
|
-
|
|
1625
|
+
$t.release(n.v[o]), $t.release(n.i[o]), $t.release(n.o[o]), n.v[o] = null, n.i[o] = null, n.o[o] = null;
|
|
1626
1626
|
n._length = 0, n.c = !1;
|
|
1627
1627
|
}
|
|
1628
1628
|
function i(n) {
|
|
@@ -1631,25 +1631,25 @@ function _r() {
|
|
|
1631
1631
|
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);
|
|
1632
1632
|
return r;
|
|
1633
1633
|
}
|
|
1634
|
-
var s =
|
|
1634
|
+
var s = je(4, t, e);
|
|
1635
1635
|
return s.clone = i, s;
|
|
1636
1636
|
}();
|
|
1637
1637
|
function ni() {
|
|
1638
|
-
this._length = 0, this._maxLength = 4, this.shapes =
|
|
1638
|
+
this._length = 0, this._maxLength = 4, this.shapes = tt(this._maxLength);
|
|
1639
1639
|
}
|
|
1640
1640
|
ni.prototype.addShape = function(t) {
|
|
1641
|
-
this._length === this._maxLength && (this.shapes = this.shapes.concat(
|
|
1641
|
+
this._length === this._maxLength && (this.shapes = this.shapes.concat(tt(this._maxLength)), this._maxLength *= 2), this.shapes[this._length] = t, this._length += 1;
|
|
1642
1642
|
}, ni.prototype.releaseShapes = function() {
|
|
1643
1643
|
var t;
|
|
1644
1644
|
for (t = 0; t < this._length; t += 1)
|
|
1645
1645
|
ot.release(this.shapes[t]);
|
|
1646
1646
|
this._length = 0;
|
|
1647
1647
|
};
|
|
1648
|
-
var
|
|
1648
|
+
var ne = function() {
|
|
1649
1649
|
var t = {
|
|
1650
1650
|
newShapeCollection: n,
|
|
1651
1651
|
release: r
|
|
1652
|
-
}, e = 0, i = 4, s =
|
|
1652
|
+
}, e = 0, i = 4, s = tt(i);
|
|
1653
1653
|
function n() {
|
|
1654
1654
|
var o;
|
|
1655
1655
|
return e ? (e -= 1, o = s[e]) : o = new ni(), o;
|
|
@@ -1661,7 +1661,7 @@ function _r() {
|
|
|
1661
1661
|
o._length = 0, e === i && (s = Ti.double(s), i *= 2), s[e] = o, e += 1;
|
|
1662
1662
|
}
|
|
1663
1663
|
return t;
|
|
1664
|
-
}(),
|
|
1664
|
+
}(), Xe = function() {
|
|
1665
1665
|
var t = -999999;
|
|
1666
1666
|
function e(y, v, f) {
|
|
1667
1667
|
var u = f.lastIndex, g, A, T, x, I, j, N, L, G, O = this.keyframes;
|
|
@@ -1679,7 +1679,7 @@ function _r() {
|
|
|
1679
1679
|
L = 0;
|
|
1680
1680
|
else {
|
|
1681
1681
|
var w;
|
|
1682
|
-
E.__fnct ? w = E.__fnct : (w =
|
|
1682
|
+
E.__fnct ? w = E.__fnct : (w = Se.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)));
|
|
1683
1683
|
}
|
|
1684
1684
|
A = l.s ? l.s[0] : a.e[0];
|
|
1685
1685
|
}
|
|
@@ -1730,7 +1730,7 @@ function _r() {
|
|
|
1730
1730
|
function c(y, v, f) {
|
|
1731
1731
|
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;
|
|
1732
1732
|
var u = f === 3 ? v.pt.k : v.ks.k;
|
|
1733
|
-
this.v = ot.clone(u), this.pv = ot.clone(this.v), this.localShapeCollection =
|
|
1733
|
+
this.v = ot.clone(u), this.pv = ot.clone(this.v), this.localShapeCollection = ne.newShapeCollection(), this.paths = this.localShapeCollection, this.paths.addShape(this.v), this.reset = s, this.effectsSequence = [];
|
|
1734
1734
|
}
|
|
1735
1735
|
function h(y) {
|
|
1736
1736
|
this.effectsSequence.push(y), this.container.addDynamicProperty(this);
|
|
@@ -1739,7 +1739,7 @@ function _r() {
|
|
|
1739
1739
|
function m(y, v, f) {
|
|
1740
1740
|
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;
|
|
1741
1741
|
var u = this.keyframes[0].s[0].i.length;
|
|
1742
|
-
this.v = ot.newElement(), this.v.setPathData(this.keyframes[0].s[0].c, u), this.pv = ot.clone(this.v), this.localShapeCollection =
|
|
1742
|
+
this.v = ot.newElement(), this.v.setPathData(this.keyframes[0].s[0].c, u), this.pv = ot.clone(this.v), this.localShapeCollection = ne.newShapeCollection(), this.paths = this.localShapeCollection, this.paths.addShape(this.v), this.lastFrame = t, this.reset = s, this._caching = {
|
|
1743
1743
|
lastFrame: t,
|
|
1744
1744
|
lastIndex: 0
|
|
1745
1745
|
}, this.effectsSequence = [i.bind(this)];
|
|
@@ -1748,7 +1748,7 @@ function _r() {
|
|
|
1748
1748
|
var _ = function() {
|
|
1749
1749
|
var y = Nt;
|
|
1750
1750
|
function v(f, u) {
|
|
1751
|
-
this.v = ot.newElement(), this.v.setPathData(!0, 4), this.localShapeCollection =
|
|
1751
|
+
this.v = ot.newElement(), this.v.setPathData(!0, 4), this.localShapeCollection = ne.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());
|
|
1752
1752
|
}
|
|
1753
1753
|
return v.prototype = {
|
|
1754
1754
|
reset: s,
|
|
@@ -1759,10 +1759,10 @@ function _r() {
|
|
|
1759
1759
|
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;
|
|
1760
1760
|
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;
|
|
1761
1761
|
}
|
|
1762
|
-
}, X([
|
|
1762
|
+
}, X([rt], v), v;
|
|
1763
1763
|
}(), M = function() {
|
|
1764
1764
|
function y(v, f) {
|
|
1765
|
-
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,
|
|
1765
|
+
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 = ne.newShapeCollection(), this.localShapeCollection.addShape(this.v), this.paths = this.localShapeCollection, this.dynamicProperties.length ? this.k = !0 : (this.k = !1, this.convertToPath());
|
|
1766
1766
|
}
|
|
1767
1767
|
return y.prototype = {
|
|
1768
1768
|
reset: s,
|
|
@@ -1787,10 +1787,10 @@ function _r() {
|
|
|
1787
1787
|
}
|
|
1788
1788
|
this.paths.length = 0, this.paths[0] = this.v;
|
|
1789
1789
|
}
|
|
1790
|
-
}, X([
|
|
1790
|
+
}, X([rt], y), y;
|
|
1791
1791
|
}(), p = function() {
|
|
1792
1792
|
function y(v, f) {
|
|
1793
|
-
this.v = ot.newElement(), this.v.c = !0, this.localShapeCollection =
|
|
1793
|
+
this.v = ot.newElement(), this.v.c = !0, this.localShapeCollection = ne.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());
|
|
1794
1794
|
}
|
|
1795
1795
|
return y.prototype = {
|
|
1796
1796
|
convertRectToPath: function() {
|
|
@@ -1801,7 +1801,7 @@ function _r() {
|
|
|
1801
1801
|
this.elem.globalData.frameId !== this.frameId && (this.frameId = this.elem.globalData.frameId, this.iterateDynamicProperties(), this._mdf && this.convertRectToPath());
|
|
1802
1802
|
},
|
|
1803
1803
|
reset: s
|
|
1804
|
-
}, X([
|
|
1804
|
+
}, X([rt], y), y;
|
|
1805
1805
|
}();
|
|
1806
1806
|
function b(y, v, f) {
|
|
1807
1807
|
var u;
|
|
@@ -1870,18 +1870,18 @@ function _r() {
|
|
|
1870
1870
|
function p(a, l, E) {
|
|
1871
1871
|
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);
|
|
1872
1872
|
}
|
|
1873
|
-
function b(a, l, E, w, R, q, D, Y, H, et, ct,
|
|
1874
|
-
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] =
|
|
1873
|
+
function b(a, l, E, w, R, q, D, Y, H, et, ct, Tt, dt, nt, mt, K) {
|
|
1874
|
+
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] = Tt, this.props[12] = dt, this.props[13] = nt, this.props[14] = mt, this.props[15] = K, this;
|
|
1875
1875
|
}
|
|
1876
1876
|
function k(a, l, E) {
|
|
1877
1877
|
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;
|
|
1878
1878
|
}
|
|
1879
|
-
function S(a, l, E, w, R, q, D, Y, H, et, ct,
|
|
1879
|
+
function S(a, l, E, w, R, q, D, Y, H, et, ct, Tt, dt, nt, mt, K) {
|
|
1880
1880
|
var B = this.props;
|
|
1881
|
-
if (a === 1 && l === 0 && E === 0 && w === 0 && R === 0 && q === 1 && D === 0 && Y === 0 && H === 0 && et === 0 && ct === 1 &&
|
|
1882
|
-
return B[12] = B[12] * a + B[15] * dt, B[13] = B[13] * q + B[15] *
|
|
1883
|
-
var
|
|
1884
|
-
return B[0] =
|
|
1881
|
+
if (a === 1 && l === 0 && E === 0 && w === 0 && R === 0 && q === 1 && D === 0 && Y === 0 && H === 0 && et === 0 && ct === 1 && Tt === 0)
|
|
1882
|
+
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;
|
|
1883
|
+
var Vt = B[0], Xt = B[1], Rt = B[2], Mt = B[3], Ot = B[4], Bt = B[5], vt = B[6], Yt = B[7], Ht = B[8], St = B[9], Zt = B[10], Pt = B[11], se = B[12], Qe = B[13], $e = B[14], ti = B[15];
|
|
1884
|
+
return B[0] = Vt * a + Xt * R + Rt * H + Mt * dt, B[1] = Vt * l + Xt * q + Rt * et + Mt * nt, B[2] = Vt * E + Xt * D + Rt * ct + Mt * mt, B[3] = Vt * w + Xt * Y + Rt * Tt + Mt * K, B[4] = Ot * a + Bt * R + vt * H + Yt * dt, B[5] = Ot * l + Bt * q + vt * et + Yt * nt, B[6] = Ot * E + Bt * D + vt * ct + Yt * mt, B[7] = Ot * w + Bt * Y + vt * Tt + Yt * K, B[8] = Ht * a + St * R + Zt * H + Pt * dt, B[9] = Ht * l + St * q + Zt * et + Pt * nt, B[10] = Ht * E + St * D + Zt * ct + Pt * mt, B[11] = Ht * w + St * Y + Zt * Tt + Pt * K, B[12] = se * a + Qe * R + $e * H + ti * dt, B[13] = se * l + Qe * q + $e * et + ti * nt, B[14] = se * E + Qe * D + $e * ct + ti * mt, B[15] = se * w + Qe * Y + $e * Tt + ti * K, this._identityCalculated = !1, this;
|
|
1885
1885
|
}
|
|
1886
1886
|
function C(a) {
|
|
1887
1887
|
var l = a.props;
|
|
@@ -1976,17 +1976,17 @@ function _r() {
|
|
|
1976
1976
|
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();
|
|
1977
1977
|
};
|
|
1978
1978
|
}();
|
|
1979
|
-
function
|
|
1979
|
+
function Ye(t) {
|
|
1980
1980
|
"@babel/helpers - typeof";
|
|
1981
|
-
return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ?
|
|
1981
|
+
return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Ye = function(i) {
|
|
1982
1982
|
return typeof i;
|
|
1983
|
-
} :
|
|
1983
|
+
} : Ye = function(i) {
|
|
1984
1984
|
return i && typeof Symbol == "function" && i.constructor === Symbol && i !== Symbol.prototype ? "symbol" : typeof i;
|
|
1985
|
-
},
|
|
1985
|
+
}, Ye(t);
|
|
1986
1986
|
}
|
|
1987
1987
|
var Z = {};
|
|
1988
1988
|
function Vs(t) {
|
|
1989
|
-
|
|
1989
|
+
ve(t);
|
|
1990
1990
|
}
|
|
1991
1991
|
function Vi() {
|
|
1992
1992
|
it.searchAnimations();
|
|
@@ -2004,17 +2004,17 @@ function _r() {
|
|
|
2004
2004
|
if (typeof t == "string")
|
|
2005
2005
|
switch (t) {
|
|
2006
2006
|
case "high":
|
|
2007
|
-
|
|
2007
|
+
Ne(200);
|
|
2008
2008
|
break;
|
|
2009
2009
|
default:
|
|
2010
2010
|
case "medium":
|
|
2011
|
-
|
|
2011
|
+
Ne(50);
|
|
2012
2012
|
break;
|
|
2013
2013
|
case "low":
|
|
2014
|
-
|
|
2014
|
+
Ne(10);
|
|
2015
2015
|
break;
|
|
2016
2016
|
}
|
|
2017
|
-
else !isNaN(t) && t > 1 &&
|
|
2017
|
+
else !isNaN(t) && t > 1 && Ne(t);
|
|
2018
2018
|
}
|
|
2019
2019
|
function zs() {
|
|
2020
2020
|
return typeof navigator < "u";
|
|
@@ -2027,14 +2027,14 @@ function _r() {
|
|
|
2027
2027
|
case "propertyFactory":
|
|
2028
2028
|
return V;
|
|
2029
2029
|
case "shapePropertyFactory":
|
|
2030
|
-
return
|
|
2030
|
+
return Xe;
|
|
2031
2031
|
case "matrix":
|
|
2032
2032
|
return ht;
|
|
2033
2033
|
default:
|
|
2034
2034
|
return null;
|
|
2035
2035
|
}
|
|
2036
2036
|
}
|
|
2037
|
-
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 =
|
|
2037
|
+
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 = Kt, Z.setIDPrefix = Os, Z.__getFactory = js, Z.version = "5.12.2";
|
|
2038
2038
|
function Ds() {
|
|
2039
2039
|
document.readyState === "complete" && (clearInterval(Xs), Vi());
|
|
2040
2040
|
}
|
|
@@ -2055,7 +2055,7 @@ function _r() {
|
|
|
2055
2055
|
}
|
|
2056
2056
|
var Xs = setInterval(Ds, 100);
|
|
2057
2057
|
try {
|
|
2058
|
-
|
|
2058
|
+
Ye(ue) !== "object" && (window.bodymovin = Z);
|
|
2059
2059
|
} catch {
|
|
2060
2060
|
}
|
|
2061
2061
|
var zt = function() {
|
|
@@ -2069,32 +2069,32 @@ function _r() {
|
|
|
2069
2069
|
}
|
|
2070
2070
|
return t;
|
|
2071
2071
|
}();
|
|
2072
|
-
function
|
|
2072
|
+
function gt() {
|
|
2073
2073
|
}
|
|
2074
|
-
|
|
2075
|
-
},
|
|
2076
|
-
},
|
|
2074
|
+
gt.prototype.initModifierProperties = function() {
|
|
2075
|
+
}, gt.prototype.addShapeToModifier = function() {
|
|
2076
|
+
}, gt.prototype.addShape = function(t) {
|
|
2077
2077
|
if (!this.closed) {
|
|
2078
2078
|
t.sh.container.addDynamicProperty(t.sh);
|
|
2079
2079
|
var e = {
|
|
2080
2080
|
shape: t.sh,
|
|
2081
2081
|
data: t,
|
|
2082
|
-
localShapeCollection:
|
|
2082
|
+
localShapeCollection: ne.newShapeCollection()
|
|
2083
2083
|
};
|
|
2084
2084
|
this.shapes.push(e), this.addShapeToModifier(e), this._isAnimated && t.setAsAnimated();
|
|
2085
2085
|
}
|
|
2086
|
-
},
|
|
2087
|
-
this.shapes = [], this.elem = t, this.initDynamicPropertyContainer(t), this.initModifierProperties(t, e), this.frameId =
|
|
2088
|
-
},
|
|
2086
|
+
}, gt.prototype.init = function(t, e) {
|
|
2087
|
+
this.shapes = [], this.elem = t, this.initDynamicPropertyContainer(t), this.initModifierProperties(t, e), this.frameId = de, this.closed = !1, this.k = !1, this.dynamicProperties.length ? this.k = !0 : this.getValue(!0);
|
|
2088
|
+
}, gt.prototype.processKeys = function() {
|
|
2089
2089
|
this.elem.globalData.frameId !== this.frameId && (this.frameId = this.elem.globalData.frameId, this.iterateDynamicProperties());
|
|
2090
|
-
}, X([
|
|
2091
|
-
function
|
|
2090
|
+
}, X([rt], gt);
|
|
2091
|
+
function bt() {
|
|
2092
2092
|
}
|
|
2093
|
-
X([
|
|
2093
|
+
X([gt], bt), bt.prototype.initModifierProperties = function(t, e) {
|
|
2094
2094
|
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;
|
|
2095
|
-
},
|
|
2095
|
+
}, bt.prototype.addShapeToModifier = function(t) {
|
|
2096
2096
|
t.pathsData = [];
|
|
2097
|
-
},
|
|
2097
|
+
}, bt.prototype.calculateShapeEdges = function(t, e, i, s, n) {
|
|
2098
2098
|
var r = [];
|
|
2099
2099
|
e <= 1 ? r.push({
|
|
2100
2100
|
s: t,
|
|
@@ -2116,12 +2116,12 @@ function _r() {
|
|
|
2116
2116
|
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]);
|
|
2117
2117
|
}
|
|
2118
2118
|
return o.length || o.push([0, 0]), o;
|
|
2119
|
-
},
|
|
2119
|
+
}, bt.prototype.releasePathsData = function(t) {
|
|
2120
2120
|
var e, i = t.length;
|
|
2121
2121
|
for (e = 0; e < i; e += 1)
|
|
2122
2122
|
Ei.release(t[e]);
|
|
2123
2123
|
return t.length = 0, t;
|
|
2124
|
-
},
|
|
2124
|
+
}, bt.prototype.processShapes = function(t) {
|
|
2125
2125
|
var e, i;
|
|
2126
2126
|
if (this._mdf || t) {
|
|
2127
2127
|
var s = this.o.v % 360 / 360;
|
|
@@ -2150,7 +2150,7 @@ function _r() {
|
|
|
2150
2150
|
p = S.totalShapeLength;
|
|
2151
2151
|
else {
|
|
2152
2152
|
for (_ = this.releasePathsData(S.pathsData), h = 0; h < m; h += 1)
|
|
2153
|
-
M =
|
|
2153
|
+
M = wt.getSegmentsLength(r.shapes[h]), _.push(M), p += M.totalLength;
|
|
2154
2154
|
S.totalShapeLength = p, S.pathsData = _;
|
|
2155
2155
|
}
|
|
2156
2156
|
b += p, S.shape._mdf = !0;
|
|
@@ -2188,15 +2188,15 @@ function _r() {
|
|
|
2188
2188
|
S.shape.paths = C;
|
|
2189
2189
|
}
|
|
2190
2190
|
}
|
|
2191
|
-
},
|
|
2191
|
+
}, bt.prototype.addPaths = function(t, e) {
|
|
2192
2192
|
var i, s = t.length;
|
|
2193
2193
|
for (i = 0; i < s; i += 1)
|
|
2194
2194
|
e.addShape(t[i]);
|
|
2195
|
-
},
|
|
2195
|
+
}, bt.prototype.addSegment = function(t, e, i, s, n, r, o) {
|
|
2196
2196
|
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);
|
|
2197
|
-
},
|
|
2197
|
+
}, bt.prototype.addSegmentFromArray = function(t, e, i, s) {
|
|
2198
2198
|
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);
|
|
2199
|
-
},
|
|
2199
|
+
}, bt.prototype.addShapes = function(t, e, i) {
|
|
2200
2200
|
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;
|
|
2201
2201
|
for (i ? (M = i._length, S = i._length) : (i = ot.newElement(), M = 0, S = 0), k.push(i), r = 0; r < o; r += 1) {
|
|
2202
2202
|
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)
|
|
@@ -2206,11 +2206,11 @@ function _r() {
|
|
|
2206
2206
|
i.c = !1;
|
|
2207
2207
|
break;
|
|
2208
2208
|
} else
|
|
2209
|
-
e.s <= m && e.e >= m + _.addedLength ? (this.addSegment(n[r].v[c - 1], n[r].o[c - 1], n[r].i[c], n[r].v[c], i, M, C), C = !1) : (b =
|
|
2209
|
+
e.s <= m && e.e >= m + _.addedLength ? (this.addSegment(n[r].v[c - 1], n[r].o[c - 1], n[r].i[c], n[r].v[c], i, M, C), C = !1) : (b = wt.getNewSegment(n[r].v[c - 1], n[r].v[c], n[r].o[c - 1], n[r].i[c], (e.s - m) / _.addedLength, (e.e - m) / _.addedLength, p[c - 1]), this.addSegmentFromArray(b, i, M, C), C = !1, i.c = !1), m += _.addedLength, M += 1;
|
|
2210
2210
|
if (n[r].c && p.length) {
|
|
2211
2211
|
if (_ = p[c - 1], m <= e.e) {
|
|
2212
2212
|
var y = p[c - 1].addedLength;
|
|
2213
|
-
e.s <= m && e.e >= m + y ? (this.addSegment(n[r].v[c - 1], n[r].o[c - 1], n[r].i[0], n[r].v[0], i, M, C), C = !1) : (b =
|
|
2213
|
+
e.s <= m && e.e >= m + y ? (this.addSegment(n[r].v[c - 1], n[r].o[c - 1], n[r].i[0], n[r].v[0], i, M, C), C = !1) : (b = wt.getNewSegment(n[r].v[c - 1], n[r].v[0], n[r].o[c - 1], n[r].i[0], (e.s - m) / y, (e.e - m) / y, p[c - 1]), this.addSegmentFromArray(b, i, M, C), C = !1, i.c = !1);
|
|
2214
2214
|
} else
|
|
2215
2215
|
i.c = !1;
|
|
2216
2216
|
m += _.addedLength, M += 1;
|
|
@@ -2221,11 +2221,11 @@ function _r() {
|
|
|
2221
2221
|
}
|
|
2222
2222
|
return k;
|
|
2223
2223
|
};
|
|
2224
|
-
function
|
|
2224
|
+
function Pe() {
|
|
2225
2225
|
}
|
|
2226
|
-
X([
|
|
2226
|
+
X([gt], Pe), Pe.prototype.initModifierProperties = function(t, e) {
|
|
2227
2227
|
this.getValue = this.processKeys, this.amount = V.getProp(t, e.a, 0, null, this), this._isAnimated = !!this.amount.effectsSequence.length;
|
|
2228
|
-
},
|
|
2228
|
+
}, Pe.prototype.processPath = function(t, e) {
|
|
2229
2229
|
var i = e / 100, s = [0, 0], n = t._length, r = 0;
|
|
2230
2230
|
for (r = 0; r < n; r += 1)
|
|
2231
2231
|
s[0] += t.v[r][0], s[1] += t.v[r][1];
|
|
@@ -2236,7 +2236,7 @@ function _r() {
|
|
|
2236
2236
|
for (r = 0; r < n; r += 1)
|
|
2237
2237
|
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);
|
|
2238
2238
|
return o;
|
|
2239
|
-
},
|
|
2239
|
+
}, Pe.prototype.processShapes = function(t) {
|
|
2240
2240
|
var e, i, s = this.shapes.length, n, r, o = this.amount.v;
|
|
2241
2241
|
if (o !== 0) {
|
|
2242
2242
|
var c, h;
|
|
@@ -2301,17 +2301,17 @@ function _r() {
|
|
|
2301
2301
|
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 || {
|
|
2302
2302
|
k: [0, 0, 0]
|
|
2303
2303
|
}, 1, 0, this), m.rx) {
|
|
2304
|
-
if (this.rx = V.getProp(h, m.rx, 0,
|
|
2304
|
+
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) {
|
|
2305
2305
|
var M, p = m.or.k.length;
|
|
2306
2306
|
for (M = 0; M < p; M += 1)
|
|
2307
2307
|
m.or.k[M].to = null, m.or.k[M].ti = null;
|
|
2308
2308
|
}
|
|
2309
|
-
this.or = V.getProp(h, m.or, 1,
|
|
2309
|
+
this.or = V.getProp(h, m.or, 1, Q, this), this.or.sh = !0;
|
|
2310
2310
|
} else
|
|
2311
2311
|
this.r = V.getProp(h, m.r || {
|
|
2312
2312
|
k: 0
|
|
2313
|
-
}, 0,
|
|
2314
|
-
m.sk && (this.sk = V.getProp(h, m.sk, 0,
|
|
2313
|
+
}, 0, Q, this);
|
|
2314
|
+
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 || {
|
|
2315
2315
|
k: [0, 0, 0]
|
|
2316
2316
|
}, 1, 0, this), this.s = V.getProp(h, m.s || {
|
|
2317
2317
|
k: [100, 100, 100]
|
|
@@ -2325,7 +2325,7 @@ function _r() {
|
|
|
2325
2325
|
getValue: i,
|
|
2326
2326
|
precalculateMatrix: s,
|
|
2327
2327
|
autoOrient: n
|
|
2328
|
-
}, X([
|
|
2328
|
+
}, X([rt], o), o.prototype.addDynamicProperty = r, o.prototype._addDynamicProperty = rt.prototype.addDynamicProperty;
|
|
2329
2329
|
function c(h, m, _) {
|
|
2330
2330
|
return new o(h, m, _);
|
|
2331
2331
|
}
|
|
@@ -2333,29 +2333,29 @@ function _r() {
|
|
|
2333
2333
|
getTransformProperty: c
|
|
2334
2334
|
};
|
|
2335
2335
|
}();
|
|
2336
|
-
function
|
|
2336
|
+
function Ct() {
|
|
2337
2337
|
}
|
|
2338
|
-
X([
|
|
2338
|
+
X([gt], Ct), Ct.prototype.initModifierProperties = function(t, e) {
|
|
2339
2339
|
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();
|
|
2340
|
-
},
|
|
2340
|
+
}, Ct.prototype.applyTransforms = function(t, e, i, s, n, r) {
|
|
2341
2341
|
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);
|
|
2342
2342
|
t.translate(s.p.v[0] * o * n, s.p.v[1] * o * n, s.p.v[2]), e.translate(-s.a.v[0], -s.a.v[1], s.a.v[2]), e.rotate(-s.r.v * o * n), e.translate(s.a.v[0], s.a.v[1], s.a.v[2]), i.translate(-s.a.v[0], -s.a.v[1], s.a.v[2]), i.scale(r ? 1 / c : c, r ? 1 / h : h), i.translate(s.a.v[0], s.a.v[1], s.a.v[2]);
|
|
2343
|
-
},
|
|
2343
|
+
}, Ct.prototype.init = function(t, e, i, s) {
|
|
2344
2344
|
for (this.elem = t, this.arr = e, this.pos = i, this.elemsData = s, this._currentCopies = 0, this._elements = [], this._groups = [], this.frameId = -1, this.initDynamicPropertyContainer(t), this.initModifierProperties(t, e[i]); i > 0; )
|
|
2345
2345
|
i -= 1, this._elements.unshift(e[i]);
|
|
2346
2346
|
this.dynamicProperties.length ? this.k = !0 : this.getValue(!0);
|
|
2347
|
-
},
|
|
2347
|
+
}, Ct.prototype.resetElements = function(t) {
|
|
2348
2348
|
var e, i = t.length;
|
|
2349
2349
|
for (e = 0; e < i; e += 1)
|
|
2350
2350
|
t[e]._processed = !1, t[e].ty === "gr" && this.resetElements(t[e].it);
|
|
2351
|
-
},
|
|
2351
|
+
}, Ct.prototype.cloneElements = function(t) {
|
|
2352
2352
|
var e = JSON.parse(JSON.stringify(t));
|
|
2353
2353
|
return this.resetElements(e), e;
|
|
2354
|
-
},
|
|
2354
|
+
}, Ct.prototype.changeGroupRender = function(t, e) {
|
|
2355
2355
|
var i, s = t.length;
|
|
2356
2356
|
for (i = 0; i < s; i += 1)
|
|
2357
2357
|
t[i]._render = e, t[i].ty === "gr" && this.changeGroupRender(t[i].it, e);
|
|
2358
|
-
},
|
|
2358
|
+
}, Ct.prototype.processShapes = function(t) {
|
|
2359
2359
|
var e, i, s, n, r, o = !1;
|
|
2360
2360
|
if (this._mdf || t) {
|
|
2361
2361
|
var c = Math.ceil(this.c.v);
|
|
@@ -2452,20 +2452,20 @@ function _r() {
|
|
|
2452
2452
|
for (r = this._currentCopies, s = 0, n = 1; r; )
|
|
2453
2453
|
e = this.elemsData[s].it, i = e[e.length - 1].transform.mProps.v.props, e[e.length - 1].transform.mProps._mdf = !1, e[e.length - 1].transform.op._mdf = !1, r -= 1, s += n;
|
|
2454
2454
|
return o;
|
|
2455
|
-
},
|
|
2455
|
+
}, Ct.prototype.addShape = function() {
|
|
2456
2456
|
};
|
|
2457
|
-
function
|
|
2457
|
+
function ke() {
|
|
2458
2458
|
}
|
|
2459
|
-
X([
|
|
2459
|
+
X([gt], ke), ke.prototype.initModifierProperties = function(t, e) {
|
|
2460
2460
|
this.getValue = this.processKeys, this.rd = V.getProp(t, e.r, 0, null, this), this._isAnimated = !!this.rd.effectsSequence.length;
|
|
2461
|
-
},
|
|
2461
|
+
}, ke.prototype.processPath = function(t, e) {
|
|
2462
2462
|
var i = ot.newElement();
|
|
2463
2463
|
i.c = t.c;
|
|
2464
2464
|
var s, n = t._length, r, o, c, h, m, _, M = 0, p, b, k, S, C, y;
|
|
2465
2465
|
for (s = 0; s < n; s += 1)
|
|
2466
2466
|
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]) * Nt, S = b - (b - r[1]) * Nt, 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]) * Nt, y = b - (b - r[1]) * Nt, 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);
|
|
2467
2467
|
return i;
|
|
2468
|
-
},
|
|
2468
|
+
}, ke.prototype.processShapes = function(t) {
|
|
2469
2469
|
var e, i, s = this.shapes.length, n, r, o = this.rd.v;
|
|
2470
2470
|
if (o !== 0) {
|
|
2471
2471
|
var c, h;
|
|
@@ -2478,7 +2478,7 @@ function _r() {
|
|
|
2478
2478
|
}
|
|
2479
2479
|
this.dynamicProperties.length || (this._mdf = !1);
|
|
2480
2480
|
};
|
|
2481
|
-
function
|
|
2481
|
+
function He(t, e) {
|
|
2482
2482
|
return Math.abs(t - e) * 1e5 <= Math.min(Math.abs(t), Math.abs(e));
|
|
2483
2483
|
}
|
|
2484
2484
|
function oi(t) {
|
|
@@ -2503,24 +2503,24 @@ function _r() {
|
|
|
2503
2503
|
return [-t + 3 * e - 3 * i + s, 3 * t - 6 * e + 3 * i, -3 * t + 3 * e, t];
|
|
2504
2504
|
}
|
|
2505
2505
|
function qi(t) {
|
|
2506
|
-
return new
|
|
2506
|
+
return new J(t, t, t, t, !1);
|
|
2507
2507
|
}
|
|
2508
|
-
function
|
|
2509
|
-
n &&
|
|
2508
|
+
function J(t, e, i, s, n) {
|
|
2509
|
+
n && oe(t, e) && (e = qt(t, s, 1 / 3)), n && oe(i, s) && (i = qt(t, s, 2 / 3));
|
|
2510
2510
|
var r = zi(t[0], e[0], i[0], s[0]), o = zi(t[1], e[1], i[1], s[1]);
|
|
2511
2511
|
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];
|
|
2512
2512
|
}
|
|
2513
|
-
|
|
2513
|
+
J.prototype.point = function(t) {
|
|
2514
2514
|
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]];
|
|
2515
|
-
},
|
|
2515
|
+
}, J.prototype.derivative = function(t) {
|
|
2516
2516
|
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]];
|
|
2517
|
-
},
|
|
2517
|
+
}, J.prototype.tangentAngle = function(t) {
|
|
2518
2518
|
var e = this.derivative(t);
|
|
2519
2519
|
return Math.atan2(e[1], e[0]);
|
|
2520
|
-
},
|
|
2520
|
+
}, J.prototype.normalAngle = function(t) {
|
|
2521
2521
|
var e = this.derivative(t);
|
|
2522
2522
|
return Math.atan2(e[0], e[1]);
|
|
2523
|
-
},
|
|
2523
|
+
}, J.prototype.inflectionPoints = function() {
|
|
2524
2524
|
var t = this.a[1] * this.b[0] - this.a[0] * this.b[1];
|
|
2525
2525
|
if (oi(t)) return [];
|
|
2526
2526
|
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;
|
|
@@ -2529,11 +2529,11 @@ function _r() {
|
|
|
2529
2529
|
return oi(s) ? s > 0 && s < 1 ? [e] : [] : [e - s, e + s].filter(function(n) {
|
|
2530
2530
|
return n > 0 && n < 1;
|
|
2531
2531
|
});
|
|
2532
|
-
},
|
|
2532
|
+
}, J.prototype.split = function(t) {
|
|
2533
2533
|
if (t <= 0) return [qi(this.points[0]), this];
|
|
2534
2534
|
if (t >= 1) return [this, qi(this.points[this.points.length - 1])];
|
|
2535
2535
|
var e = qt(this.points[0], this.points[1], t), i = qt(this.points[1], this.points[2], t), s = qt(this.points[2], this.points[3], t), n = qt(e, i, t), r = qt(i, s, t), o = qt(n, r, t);
|
|
2536
|
-
return [new
|
|
2536
|
+
return [new J(this.points[0], e, n, o, !0), new J(o, r, s, this.points[3], !0)];
|
|
2537
2537
|
};
|
|
2538
2538
|
function ji(t, e) {
|
|
2539
2539
|
var i = t.points[0][e], s = t.points[t.points.length - 1][e];
|
|
@@ -2551,12 +2551,12 @@ function _r() {
|
|
|
2551
2551
|
max: s
|
|
2552
2552
|
};
|
|
2553
2553
|
}
|
|
2554
|
-
|
|
2554
|
+
J.prototype.bounds = function() {
|
|
2555
2555
|
return {
|
|
2556
2556
|
x: ji(this, 0),
|
|
2557
2557
|
y: ji(this, 1)
|
|
2558
2558
|
};
|
|
2559
|
-
},
|
|
2559
|
+
}, J.prototype.boundingBox = function() {
|
|
2560
2560
|
var t = this.bounds();
|
|
2561
2561
|
return {
|
|
2562
2562
|
left: t.x.min,
|
|
@@ -2569,7 +2569,7 @@ function _r() {
|
|
|
2569
2569
|
cy: (t.y.max + t.y.min) / 2
|
|
2570
2570
|
};
|
|
2571
2571
|
};
|
|
2572
|
-
function
|
|
2572
|
+
function Ze(t, e, i) {
|
|
2573
2573
|
var s = t.boundingBox();
|
|
2574
2574
|
return {
|
|
2575
2575
|
cx: s.cx,
|
|
@@ -2584,51 +2584,51 @@ function _r() {
|
|
|
2584
2584
|
}
|
|
2585
2585
|
function Di(t) {
|
|
2586
2586
|
var e = t.bez.split(0.5);
|
|
2587
|
-
return [
|
|
2587
|
+
return [Ze(e[0], t.t1, t.t), Ze(e[1], t.t, t.t2)];
|
|
2588
2588
|
}
|
|
2589
2589
|
function Hs(t, e) {
|
|
2590
2590
|
return Math.abs(t.cx - e.cx) * 2 < t.width + e.width && Math.abs(t.cy - e.cy) * 2 < t.height + e.height;
|
|
2591
2591
|
}
|
|
2592
|
-
function
|
|
2592
|
+
function Ae(t, e, i, s, n, r) {
|
|
2593
2593
|
if (Hs(t, e)) {
|
|
2594
2594
|
if (i >= r || t.width <= s && t.height <= s && e.width <= s && e.height <= s) {
|
|
2595
2595
|
n.push([t.t, e.t]);
|
|
2596
2596
|
return;
|
|
2597
2597
|
}
|
|
2598
2598
|
var o = Di(t), c = Di(e);
|
|
2599
|
-
|
|
2599
|
+
Ae(o[0], c[0], i + 1, s, n, r), Ae(o[0], c[1], i + 1, s, n, r), Ae(o[1], c[0], i + 1, s, n, r), Ae(o[1], c[1], i + 1, s, n, r);
|
|
2600
2600
|
}
|
|
2601
2601
|
}
|
|
2602
|
-
|
|
2602
|
+
J.prototype.intersections = function(t, e, i) {
|
|
2603
2603
|
e === void 0 && (e = 2), i === void 0 && (i = 7);
|
|
2604
2604
|
var s = [];
|
|
2605
|
-
return
|
|
2606
|
-
},
|
|
2605
|
+
return Ae(Ze(this, 0, 1), Ze(t, 0, 1), 0, e, s, i), s;
|
|
2606
|
+
}, J.shapeSegment = function(t, e) {
|
|
2607
2607
|
var i = (e + 1) % t.length();
|
|
2608
|
-
return new
|
|
2609
|
-
},
|
|
2608
|
+
return new J(t.v[e], t.o[e], t.i[i], t.v[i], !0);
|
|
2609
|
+
}, J.shapeSegmentInverted = function(t, e) {
|
|
2610
2610
|
var i = (e + 1) % t.length();
|
|
2611
|
-
return new
|
|
2611
|
+
return new J(t.v[i], t.i[i], t.o[e], t.v[e], !0);
|
|
2612
2612
|
};
|
|
2613
2613
|
function hi(t, e) {
|
|
2614
2614
|
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]];
|
|
2615
2615
|
}
|
|
2616
|
-
function
|
|
2616
|
+
function Ke(t, e, i, s) {
|
|
2617
2617
|
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));
|
|
2618
2618
|
return oi(h[2]) ? null : [h[0] / h[2], h[1] / h[2]];
|
|
2619
2619
|
}
|
|
2620
|
-
function
|
|
2620
|
+
function ae(t, e, i) {
|
|
2621
2621
|
return [t[0] + Math.cos(e) * i, t[1] - Math.sin(e) * i];
|
|
2622
2622
|
}
|
|
2623
2623
|
function li(t, e) {
|
|
2624
2624
|
return Math.hypot(t[0] - e[0], t[1] - e[1]);
|
|
2625
2625
|
}
|
|
2626
|
-
function
|
|
2627
|
-
return
|
|
2626
|
+
function oe(t, e) {
|
|
2627
|
+
return He(t[0], e[0]) && He(t[1], e[1]);
|
|
2628
2628
|
}
|
|
2629
|
-
function
|
|
2629
|
+
function we() {
|
|
2630
2630
|
}
|
|
2631
|
-
X([
|
|
2631
|
+
X([gt], we), we.prototype.initModifierProperties = function(t, e) {
|
|
2632
2632
|
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;
|
|
2633
2633
|
};
|
|
2634
2634
|
function Wi(t, e, i, s, n, r, o) {
|
|
@@ -2654,15 +2654,15 @@ function _r() {
|
|
|
2654
2654
|
}
|
|
2655
2655
|
return r;
|
|
2656
2656
|
}
|
|
2657
|
-
|
|
2657
|
+
we.prototype.processPath = function(t, e, i, s) {
|
|
2658
2658
|
var n = t._length, r = ot.newElement();
|
|
2659
2659
|
if (r.c = t.c, t.c || (n -= 1), n === 0) return r;
|
|
2660
|
-
var o = -1, c =
|
|
2660
|
+
var o = -1, c = J.shapeSegment(t, 0);
|
|
2661
2661
|
Gi(r, t, 0, e, i, s, o);
|
|
2662
2662
|
for (var h = 0; h < n; h += 1)
|
|
2663
|
-
o = Us(r, c, e, i, s, -o), h === n - 1 && !t.c ? c = null : c =
|
|
2663
|
+
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);
|
|
2664
2664
|
return r;
|
|
2665
|
-
},
|
|
2665
|
+
}, we.prototype.processShapes = function(t) {
|
|
2666
2666
|
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;
|
|
2667
2667
|
if (o !== 0) {
|
|
2668
2668
|
var m, _;
|
|
@@ -2677,29 +2677,29 @@ function _r() {
|
|
|
2677
2677
|
};
|
|
2678
2678
|
function fi(t, e, i) {
|
|
2679
2679
|
var s = Math.atan2(e[0] - t[0], e[1] - t[1]);
|
|
2680
|
-
return [
|
|
2680
|
+
return [ae(t, s, i), ae(e, s, i)];
|
|
2681
2681
|
}
|
|
2682
|
-
function
|
|
2682
|
+
function he(t, e) {
|
|
2683
2683
|
var i, s, n, r, o, c, h;
|
|
2684
2684
|
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];
|
|
2685
|
-
var m =
|
|
2685
|
+
var m = Ke(i, s, n, r);
|
|
2686
2686
|
m === null && (m = s);
|
|
2687
|
-
var _ =
|
|
2688
|
-
return _ === null && (_ = o), new
|
|
2687
|
+
var _ = Ke(o, c, n, r);
|
|
2688
|
+
return _ === null && (_ = o), new J(i, m, _, c);
|
|
2689
2689
|
}
|
|
2690
2690
|
function Xi(t, e, i, s, n) {
|
|
2691
2691
|
var r = e.points[3], o = i.points[0];
|
|
2692
|
-
if (s === 3 ||
|
|
2692
|
+
if (s === 3 || oe(r, o)) return r;
|
|
2693
2693
|
if (s === 2) {
|
|
2694
|
-
var c = -e.tangentAngle(1), h = -i.tangentAngle(0) + Math.PI, m =
|
|
2695
|
-
return t.setXYAt(M[0], M[1], "o", t.length() - 1), M =
|
|
2694
|
+
var c = -e.tangentAngle(1), h = -i.tangentAngle(0) + Math.PI, m = Ke(r, ae(r, c + Math.PI / 2, 100), o, ae(o, c + Math.PI / 2, 100)), _ = m ? li(m, r) : li(r, o) / 2, M = ae(r, c, 2 * _ * Nt);
|
|
2695
|
+
return t.setXYAt(M[0], M[1], "o", t.length() - 1), M = ae(o, h, 2 * _ * Nt), t.setTripleAt(o[0], o[1], o[0], o[1], M[0], M[1], t.length()), o;
|
|
2696
2696
|
}
|
|
2697
|
-
var p =
|
|
2697
|
+
var p = oe(r, e.points[2]) ? e.points[0] : e.points[2], b = oe(o, i.points[1]) ? i.points[3] : i.points[1], k = Ke(p, r, o, b);
|
|
2698
2698
|
return k && li(k, r) < n ? (t.setTripleAt(k[0], k[1], k[0], k[1], k[0], k[1], t.length()), k) : r;
|
|
2699
2699
|
}
|
|
2700
2700
|
function Yi(t, e) {
|
|
2701
2701
|
var i = t.intersections(e);
|
|
2702
|
-
return i.length &&
|
|
2702
|
+
return i.length && He(i[0][0], 1) && i.shift(), i.length ? i[0] : null;
|
|
2703
2703
|
}
|
|
2704
2704
|
function Hi(t, e) {
|
|
2705
2705
|
var i = t.slice(), s = e.slice(), n = Yi(t[t.length - 1], e[0]);
|
|
@@ -2713,37 +2713,37 @@ function _r() {
|
|
|
2713
2713
|
function Zi(t, e) {
|
|
2714
2714
|
var i = t.inflectionPoints(), s, n, r, o;
|
|
2715
2715
|
if (i.length === 0)
|
|
2716
|
-
return [
|
|
2717
|
-
if (i.length === 1 ||
|
|
2718
|
-
return r = t.split(i[0]), s = r[0], n = r[1], [
|
|
2716
|
+
return [he(t, e)];
|
|
2717
|
+
if (i.length === 1 || He(i[1], 1))
|
|
2718
|
+
return r = t.split(i[0]), s = r[0], n = r[1], [he(s, e), he(n, e)];
|
|
2719
2719
|
r = t.split(i[0]), s = r[0];
|
|
2720
2720
|
var c = (i[1] - i[0]) / (1 - i[0]);
|
|
2721
|
-
return r = r[1].split(c), o = r[0], n = r[1], [
|
|
2721
|
+
return r = r[1].split(c), o = r[0], n = r[1], [he(s, e), he(o, e), he(n, e)];
|
|
2722
2722
|
}
|
|
2723
|
-
function
|
|
2723
|
+
function Ce() {
|
|
2724
2724
|
}
|
|
2725
|
-
X([
|
|
2725
|
+
X([gt], Ce), Ce.prototype.initModifierProperties = function(t, e) {
|
|
2726
2726
|
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;
|
|
2727
|
-
},
|
|
2727
|
+
}, Ce.prototype.processPath = function(t, e, i, s) {
|
|
2728
2728
|
var n = ot.newElement();
|
|
2729
2729
|
n.c = t.c;
|
|
2730
2730
|
var r = t.length();
|
|
2731
2731
|
t.c || (r -= 1);
|
|
2732
2732
|
var o, c, h, m = [];
|
|
2733
2733
|
for (o = 0; o < r; o += 1)
|
|
2734
|
-
h =
|
|
2734
|
+
h = J.shapeSegment(t, o), m.push(Zi(h, e));
|
|
2735
2735
|
if (!t.c)
|
|
2736
2736
|
for (o = r - 1; o >= 0; o -= 1)
|
|
2737
|
-
h =
|
|
2737
|
+
h = J.shapeSegmentInverted(t, o), m.push(Zi(h, e));
|
|
2738
2738
|
m = Js(m);
|
|
2739
2739
|
var _ = null, M = null;
|
|
2740
2740
|
for (o = 0; o < m.length; o += 1) {
|
|
2741
2741
|
var p = m[o];
|
|
2742
2742
|
for (M && (_ = Xi(n, M, p[0], i, s)), M = p[p.length - 1], c = 0; c < p.length; c += 1)
|
|
2743
|
-
h = p[c], _ &&
|
|
2743
|
+
h = p[c], _ && oe(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];
|
|
2744
2744
|
}
|
|
2745
2745
|
return m.length && Xi(n, M, m[0][0], i, s), n;
|
|
2746
|
-
},
|
|
2746
|
+
}, Ce.prototype.processShapes = function(t) {
|
|
2747
2747
|
var e, i, s = this.shapes.length, n, r, o = this.amount.v, c = this.miterLimit.v, h = this.lineJoin;
|
|
2748
2748
|
if (o !== 0) {
|
|
2749
2749
|
var m, _;
|
|
@@ -2785,7 +2785,7 @@ function _r() {
|
|
|
2785
2785
|
weight: t.fWeight || i
|
|
2786
2786
|
};
|
|
2787
2787
|
}
|
|
2788
|
-
var
|
|
2788
|
+
var te = function() {
|
|
2789
2789
|
var t = 5e3, e = {
|
|
2790
2790
|
w: 0,
|
|
2791
2791
|
size: 0,
|
|
@@ -2803,9 +2803,9 @@ function _r() {
|
|
|
2803
2803
|
return E.join(",");
|
|
2804
2804
|
}
|
|
2805
2805
|
function b(d, P) {
|
|
2806
|
-
var a =
|
|
2806
|
+
var a = _t("span");
|
|
2807
2807
|
a.setAttribute("aria-hidden", !0), a.style.fontFamily = P;
|
|
2808
|
-
var l =
|
|
2808
|
+
var l = _t("span");
|
|
2809
2809
|
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);
|
|
2810
2810
|
var E = l.offsetWidth;
|
|
2811
2811
|
return l.style.fontFamily = p(d) + ", " + P, {
|
|
@@ -2858,21 +2858,21 @@ function _r() {
|
|
|
2858
2858
|
a[l].loaded = !0, w -= 1;
|
|
2859
2859
|
else if (a[l].fOrigin === "p" || a[l].origin === 3) {
|
|
2860
2860
|
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) {
|
|
2861
|
-
var Y =
|
|
2861
|
+
var Y = _t("style");
|
|
2862
2862
|
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);
|
|
2863
2863
|
}
|
|
2864
2864
|
} else if (a[l].fOrigin === "g" || a[l].origin === 1) {
|
|
2865
2865
|
for (q = document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'), D = 0; D < q.length; D += 1)
|
|
2866
2866
|
q[D].href.indexOf(a[l].fPath) !== -1 && (R = !1);
|
|
2867
2867
|
if (R) {
|
|
2868
|
-
var H =
|
|
2868
|
+
var H = _t("link");
|
|
2869
2869
|
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);
|
|
2870
2870
|
}
|
|
2871
2871
|
} else if (a[l].fOrigin === "t" || a[l].origin === 2) {
|
|
2872
2872
|
for (q = document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'), D = 0; D < q.length; D += 1)
|
|
2873
2873
|
a[l].fPath === q[D].src && (R = !1);
|
|
2874
2874
|
if (R) {
|
|
2875
|
-
var et =
|
|
2875
|
+
var et = _t("link");
|
|
2876
2876
|
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);
|
|
2877
2877
|
}
|
|
2878
2878
|
}
|
|
@@ -2986,9 +2986,9 @@ function _r() {
|
|
|
2986
2986
|
function Qs(t) {
|
|
2987
2987
|
return new Ui(t);
|
|
2988
2988
|
}
|
|
2989
|
-
function
|
|
2989
|
+
function Ue() {
|
|
2990
2990
|
}
|
|
2991
|
-
|
|
2991
|
+
Ue.prototype = {
|
|
2992
2992
|
initRenderable: function() {
|
|
2993
2993
|
this.isInRange = !1, this.hidden = !1, this.isTransparent = !1, this.renderableComponents = [];
|
|
2994
2994
|
},
|
|
@@ -3090,12 +3090,12 @@ function _r() {
|
|
|
3090
3090
|
this.effectElements = [];
|
|
3091
3091
|
var s, n = i.length, r;
|
|
3092
3092
|
for (s = 0; s < n; s += 1)
|
|
3093
|
-
r = new
|
|
3093
|
+
r = new Te(i[s], e), this.effectElements.push(r);
|
|
3094
3094
|
}
|
|
3095
|
-
function
|
|
3095
|
+
function Te(t, e) {
|
|
3096
3096
|
this.init(t, e);
|
|
3097
3097
|
}
|
|
3098
|
-
X([
|
|
3098
|
+
X([rt], Te), Te.prototype.getValue = Te.prototype.iterateDynamicProperties, Te.prototype.init = function(t, e) {
|
|
3099
3099
|
this.data = t, this.effectElements = [], this.initDynamicPropertyContainer(e);
|
|
3100
3100
|
var i, s = this.data.ef.length, n, r = this.data.ef;
|
|
3101
3101
|
for (i = 0; i < s; i += 1) {
|
|
@@ -3195,7 +3195,7 @@ function _r() {
|
|
|
3195
3195
|
this.initFrame(), this.initRenderable(), this.assetData = e.getAssetData(t.refId), this.footageData = e.imageLoader.getAsset(this.assetData), this.initBaseData(t, e, i);
|
|
3196
3196
|
}
|
|
3197
3197
|
Wt.prototype.prepareFrame = function() {
|
|
3198
|
-
}, X([
|
|
3198
|
+
}, X([Ue, jt, Dt], Wt), Wt.prototype.getBaseElement = function() {
|
|
3199
3199
|
return null;
|
|
3200
3200
|
}, Wt.prototype.renderFrame = function() {
|
|
3201
3201
|
}, Wt.prototype.destroy = function() {
|
|
@@ -3222,7 +3222,7 @@ function _r() {
|
|
|
3222
3222
|
this._volume = this.lv.v[0];
|
|
3223
3223
|
var i = this._volume * this._volumeMultiplier;
|
|
3224
3224
|
this._previousVolume !== i && (this._previousVolume = i, this.audio.volume(i));
|
|
3225
|
-
}, X([
|
|
3225
|
+
}, X([Ue, jt, Dt], ut), ut.prototype.renderFrame = function() {
|
|
3226
3226
|
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));
|
|
3227
3227
|
}, ut.prototype.show = function() {
|
|
3228
3228
|
}, ut.prototype.hide = function() {
|
|
@@ -3329,7 +3329,7 @@ function _r() {
|
|
|
3329
3329
|
}
|
|
3330
3330
|
return t.length === 0 ? i : i.getElementByPath(t);
|
|
3331
3331
|
}, lt.prototype.setupGlobalData = function(t, e) {
|
|
3332
|
-
this.globalData.fontManager = new
|
|
3332
|
+
this.globalData.fontManager = new te(), 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 = {
|
|
3333
3333
|
w: t.w,
|
|
3334
3334
|
h: t.h
|
|
3335
3335
|
};
|
|
@@ -3337,9 +3337,9 @@ function _r() {
|
|
|
3337
3337
|
var or = {
|
|
3338
3338
|
TRANSFORM_EFFECT: "transformEFfect"
|
|
3339
3339
|
};
|
|
3340
|
-
function
|
|
3340
|
+
function le() {
|
|
3341
3341
|
}
|
|
3342
|
-
|
|
3342
|
+
le.prototype = {
|
|
3343
3343
|
initTransform: function() {
|
|
3344
3344
|
var e = new ht();
|
|
3345
3345
|
this.finalTransform = {
|
|
@@ -3416,16 +3416,16 @@ function _r() {
|
|
|
3416
3416
|
},
|
|
3417
3417
|
mHelper: new ht()
|
|
3418
3418
|
};
|
|
3419
|
-
function
|
|
3419
|
+
function ee(t, e, i) {
|
|
3420
3420
|
this.data = t, this.element = e, this.globalData = i, this.storedData = [], this.masksProperties = this.data.masksProperties || [], this.maskElement = null;
|
|
3421
3421
|
var s = this.globalData.defs, n, r = this.masksProperties ? this.masksProperties.length : 0;
|
|
3422
|
-
this.viewData =
|
|
3422
|
+
this.viewData = tt(r), this.solidPath = "";
|
|
3423
3423
|
var o, c = this.masksProperties, h = 0, m = [], _, M, p = pt(), b, k, S, C, y = "clipPath", v = "clip-path";
|
|
3424
3424
|
for (n = 0; n < r; n += 1)
|
|
3425
3425
|
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")
|
|
3426
3426
|
this.viewData[n] = {
|
|
3427
3427
|
op: V.getProp(this.element, c[n].o, 0, 0.01, this.element),
|
|
3428
|
-
prop:
|
|
3428
|
+
prop: Xe.getShapeProp(this.element, c[n], 3),
|
|
3429
3429
|
elem: o,
|
|
3430
3430
|
lastPath: ""
|
|
3431
3431
|
}, s.appendChild(o);
|
|
@@ -3446,36 +3446,36 @@ function _r() {
|
|
|
3446
3446
|
for (_ = 0; _ < M; _ += 1)
|
|
3447
3447
|
u.appendChild(m[_]);
|
|
3448
3448
|
var g = W("mask");
|
|
3449
|
-
g.setAttribute("mask-type", "alpha"), g.setAttribute("id", p + "_" + h), g.appendChild(o), s.appendChild(g), u.setAttribute("mask", "url(" +
|
|
3449
|
+
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);
|
|
3450
3450
|
} else
|
|
3451
3451
|
m.push(o);
|
|
3452
3452
|
c[n].inv && !this.solidPath && (this.solidPath = this.createLayerSolidPath()), this.viewData[n] = {
|
|
3453
3453
|
elem: o,
|
|
3454
3454
|
lastPath: "",
|
|
3455
3455
|
op: V.getProp(this.element, c[n].o, 0, 0.01, this.element),
|
|
3456
|
-
prop:
|
|
3456
|
+
prop: Xe.getShapeProp(this.element, c[n], 3),
|
|
3457
3457
|
invRect: b
|
|
3458
3458
|
}, this.viewData[n].prop.k || this.drawPath(c[n], this.viewData[n].prop.v, this.viewData[n]);
|
|
3459
3459
|
}
|
|
3460
3460
|
for (this.maskElement = W(y), r = m.length, n = 0; n < r; n += 1)
|
|
3461
3461
|
this.maskElement.appendChild(m[n]);
|
|
3462
|
-
h > 0 && (this.maskElement.setAttribute("id", p), this.element.maskedElement.setAttribute(v, "url(" +
|
|
3462
|
+
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);
|
|
3463
3463
|
}
|
|
3464
|
-
|
|
3464
|
+
ee.prototype.getMaskProperty = function(t) {
|
|
3465
3465
|
return this.viewData[t].prop;
|
|
3466
|
-
},
|
|
3466
|
+
}, ee.prototype.renderFrame = function(t) {
|
|
3467
3467
|
var e = this.element.finalTransform.mat, i, s = this.masksProperties.length;
|
|
3468
3468
|
for (i = 0; i < s; i += 1)
|
|
3469
3469
|
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))) {
|
|
3470
3470
|
var n = this.storedData[i].expan;
|
|
3471
|
-
this.storedData[i].x.v < 0 ? (this.storedData[i].lastOperator !== "erode" && (this.storedData[i].lastOperator = "erode", this.storedData[i].elem.setAttribute("filter", "url(" +
|
|
3471
|
+
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));
|
|
3472
3472
|
}
|
|
3473
|
-
},
|
|
3473
|
+
}, ee.prototype.getMaskelement = function() {
|
|
3474
3474
|
return this.maskElement;
|
|
3475
|
-
},
|
|
3475
|
+
}, ee.prototype.createLayerSolidPath = function() {
|
|
3476
3476
|
var t = "M0,0 ";
|
|
3477
3477
|
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;
|
|
3478
|
-
},
|
|
3478
|
+
}, ee.prototype.drawPath = function(t, e, i) {
|
|
3479
3479
|
var s = " M" + e.v[0][0] + "," + e.v[0][1], n, r;
|
|
3480
3480
|
for (r = e._length, n = 1; n < r; n += 1)
|
|
3481
3481
|
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];
|
|
@@ -3483,10 +3483,10 @@ function _r() {
|
|
|
3483
3483
|
var o = "";
|
|
3484
3484
|
i.elem && (e.c && (o = t.inv ? this.solidPath + s : s), i.elem.setAttribute("d", o)), i.lastPath = s;
|
|
3485
3485
|
}
|
|
3486
|
-
},
|
|
3486
|
+
}, ee.prototype.destroy = function() {
|
|
3487
3487
|
this.element = null, this.globalData = null, this.maskElement = null, this.data = null, this.masksProperties = null;
|
|
3488
3488
|
};
|
|
3489
|
-
var
|
|
3489
|
+
var Me = function() {
|
|
3490
3490
|
var t = {};
|
|
3491
3491
|
t.createFilter = e, t.createAlphaToLuminanceFilter = i;
|
|
3492
3492
|
function e(s, n) {
|
|
@@ -3507,7 +3507,7 @@ function _r() {
|
|
|
3507
3507
|
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;
|
|
3508
3508
|
}(), ui = {}, $i = "filter_result_";
|
|
3509
3509
|
function ci(t) {
|
|
3510
|
-
var e, i = "SourceGraphic", s = t.data.ef ? t.data.ef.length : 0, n = pt(), r =
|
|
3510
|
+
var e, i = "SourceGraphic", s = t.data.ef ? t.data.ef.length : 0, n = pt(), r = Me.createFilter(n, !0), o = 0;
|
|
3511
3511
|
this.filters = [];
|
|
3512
3512
|
var c;
|
|
3513
3513
|
for (e = 0; e < s; e += 1) {
|
|
@@ -3519,7 +3519,7 @@ function _r() {
|
|
|
3519
3519
|
}
|
|
3520
3520
|
c && this.filters.push(c);
|
|
3521
3521
|
}
|
|
3522
|
-
o && (t.globalData.defs.appendChild(r), t.layerElement.setAttribute("filter", "url(" +
|
|
3522
|
+
o && (t.globalData.defs.appendChild(r), t.layerElement.setAttribute("filter", "url(" + at() + "#" + n + ")")), this.filters.length && t.addRenderableComponent(this);
|
|
3523
3523
|
}
|
|
3524
3524
|
ci.prototype.renderFrame = function(t) {
|
|
3525
3525
|
var e, i = this.filters.length;
|
|
@@ -3531,9 +3531,9 @@ function _r() {
|
|
|
3531
3531
|
this.filters[e].type === t && s.push(this.filters[e]);
|
|
3532
3532
|
return s;
|
|
3533
3533
|
};
|
|
3534
|
-
function
|
|
3534
|
+
function Ee() {
|
|
3535
3535
|
}
|
|
3536
|
-
|
|
3536
|
+
Ee.prototype = {
|
|
3537
3537
|
initRendererElement: function() {
|
|
3538
3538
|
this.layerElement = W("g");
|
|
3539
3539
|
},
|
|
@@ -3551,9 +3551,9 @@ function _r() {
|
|
|
3551
3551
|
var r = pt();
|
|
3552
3552
|
if (s.setAttribute("id", r), s.appendChild(n), this.globalData.defs.appendChild(s), this.checkMasks()) {
|
|
3553
3553
|
var o = W("g");
|
|
3554
|
-
o.setAttribute("clip-path", "url(" +
|
|
3554
|
+
o.setAttribute("clip-path", "url(" + at() + "#" + r + ")"), o.appendChild(this.layerElement), this.transformedElement = o, e ? e.appendChild(this.transformedElement) : this.baseElement = this.transformedElement;
|
|
3555
3555
|
} else
|
|
3556
|
-
this.layerElement.setAttribute("clip-path", "url(" +
|
|
3556
|
+
this.layerElement.setAttribute("clip-path", "url(" + at() + "#" + r + ")");
|
|
3557
3557
|
}
|
|
3558
3558
|
this.data.bm !== 0 && this.setBlendMode();
|
|
3559
3559
|
},
|
|
@@ -3567,37 +3567,37 @@ function _r() {
|
|
|
3567
3567
|
return this.data.hd ? null : this.baseElement;
|
|
3568
3568
|
},
|
|
3569
3569
|
createRenderableComponents: function() {
|
|
3570
|
-
this.maskManager = new
|
|
3570
|
+
this.maskManager = new ee(this.data, this, this.globalData), this.renderableEffectsManager = new ci(this), this.searchEffectTransforms();
|
|
3571
3571
|
},
|
|
3572
3572
|
getMatte: function(e) {
|
|
3573
3573
|
if (this.matteMasks || (this.matteMasks = {}), !this.matteMasks[e]) {
|
|
3574
3574
|
var i = this.layerId + "_" + e, s, n, r, o;
|
|
3575
3575
|
if (e === 1 || e === 3) {
|
|
3576
3576
|
var c = W("mask");
|
|
3577
|
-
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 =
|
|
3577
|
+
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 = Me.createFilter(s), this.globalData.defs.appendChild(n), n.appendChild(Me.createAlphaToLuminanceFilter()), o = W("g"), o.appendChild(r), c.appendChild(o), o.setAttribute("filter", "url(" + at() + "#" + s + ")"));
|
|
3578
3578
|
} else if (e === 2) {
|
|
3579
3579
|
var h = W("mask");
|
|
3580
3580
|
h.setAttribute("id", i), h.setAttribute("mask-type", "alpha");
|
|
3581
3581
|
var m = W("g");
|
|
3582
|
-
h.appendChild(m), s = pt(), n =
|
|
3582
|
+
h.appendChild(m), s = pt(), n = Me.createFilter(s);
|
|
3583
3583
|
var _ = W("feComponentTransfer");
|
|
3584
3584
|
_.setAttribute("in", "SourceGraphic"), n.appendChild(_);
|
|
3585
3585
|
var M = W("feFuncA");
|
|
3586
3586
|
M.setAttribute("type", "table"), M.setAttribute("tableValues", "1.0 0.0"), _.appendChild(M), this.globalData.defs.appendChild(n);
|
|
3587
3587
|
var p = W("rect");
|
|
3588
|
-
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(" +
|
|
3588
|
+
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(Me.createAlphaToLuminanceFilter()), o = W("g"), m.appendChild(p), o.appendChild(this.layerElement), m.appendChild(o)), this.globalData.defs.appendChild(h);
|
|
3589
3589
|
}
|
|
3590
3590
|
this.matteMasks[e] = i;
|
|
3591
3591
|
}
|
|
3592
3592
|
return this.matteMasks[e];
|
|
3593
3593
|
},
|
|
3594
3594
|
setMatte: function(e) {
|
|
3595
|
-
this.matteElement && this.matteElement.setAttribute("mask", "url(" +
|
|
3595
|
+
this.matteElement && this.matteElement.setAttribute("mask", "url(" + at() + "#" + e + ")");
|
|
3596
3596
|
}
|
|
3597
3597
|
};
|
|
3598
|
-
function
|
|
3598
|
+
function fe() {
|
|
3599
3599
|
}
|
|
3600
|
-
|
|
3600
|
+
fe.prototype = {
|
|
3601
3601
|
/**
|
|
3602
3602
|
* @function
|
|
3603
3603
|
* Initializes hierarchy properties
|
|
@@ -3633,7 +3633,7 @@ function _r() {
|
|
|
3633
3633
|
this.data.parent !== void 0 && this.comp.buildElementParenting(this, this.data.parent, []);
|
|
3634
3634
|
}
|
|
3635
3635
|
};
|
|
3636
|
-
function
|
|
3636
|
+
function xe() {
|
|
3637
3637
|
}
|
|
3638
3638
|
(function() {
|
|
3639
3639
|
var t = {
|
|
@@ -3667,9 +3667,9 @@ function _r() {
|
|
|
3667
3667
|
this.innerElem = null, this.destroyBaseElement();
|
|
3668
3668
|
}
|
|
3669
3669
|
};
|
|
3670
|
-
X([
|
|
3670
|
+
X([Ue, ei(t)], xe);
|
|
3671
3671
|
})();
|
|
3672
|
-
function
|
|
3672
|
+
function Fe(t, e, i) {
|
|
3673
3673
|
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 = {
|
|
3674
3674
|
top: 0,
|
|
3675
3675
|
left: 0,
|
|
@@ -3677,10 +3677,10 @@ function _r() {
|
|
|
3677
3677
|
height: this.assetData.h
|
|
3678
3678
|
};
|
|
3679
3679
|
}
|
|
3680
|
-
X([jt,
|
|
3680
|
+
X([jt, le, Ee, fe, Dt, xe], Fe), Fe.prototype.createContent = function() {
|
|
3681
3681
|
var t = this.globalData.getAssetsPath(this.assetData);
|
|
3682
3682
|
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);
|
|
3683
|
-
},
|
|
3683
|
+
}, Fe.prototype.sourceRectAtTime = function() {
|
|
3684
3684
|
return this.sourceRect;
|
|
3685
3685
|
};
|
|
3686
3686
|
function hr(t, e) {
|
|
@@ -3759,8 +3759,8 @@ function _r() {
|
|
|
3759
3759
|
rs.prototype.reset = function() {
|
|
3760
3760
|
this.d = "", this._mdf = !1;
|
|
3761
3761
|
};
|
|
3762
|
-
function
|
|
3763
|
-
this.elem = t, this.frameId = -1, this.dataProps =
|
|
3762
|
+
function Je(t, e, i, s) {
|
|
3763
|
+
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);
|
|
3764
3764
|
var n, r = e.length || 0, o;
|
|
3765
3765
|
for (n = 0; n < r; n += 1)
|
|
3766
3766
|
o = V.getProp(t, e[n].v, 0, 0, this), this.k = o.k || this.k, this.dataProps[n] = {
|
|
@@ -3769,38 +3769,38 @@ function _r() {
|
|
|
3769
3769
|
};
|
|
3770
3770
|
this.k || this.getValue(!0), this._isAnimated = this.k;
|
|
3771
3771
|
}
|
|
3772
|
-
|
|
3772
|
+
Je.prototype.getValue = function(t) {
|
|
3773
3773
|
if (!(this.elem.globalData.frameId === this.frameId && !t) && (this.frameId = this.elem.globalData.frameId, this.iterateDynamicProperties(), this._mdf = this._mdf || t, this._mdf)) {
|
|
3774
3774
|
var e = 0, i = this.dataProps.length;
|
|
3775
3775
|
for (this.renderer === "svg" && (this.dashStr = ""), e = 0; e < i; e += 1)
|
|
3776
3776
|
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;
|
|
3777
3777
|
}
|
|
3778
|
-
}, X([
|
|
3778
|
+
}, X([rt], Je);
|
|
3779
3779
|
function ns(t, e, i) {
|
|
3780
|
-
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
|
|
3780
|
+
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;
|
|
3781
3781
|
}
|
|
3782
|
-
X([
|
|
3782
|
+
X([rt], ns);
|
|
3783
3783
|
function as(t, e, i) {
|
|
3784
3784
|
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;
|
|
3785
3785
|
}
|
|
3786
|
-
X([
|
|
3786
|
+
X([rt], as);
|
|
3787
3787
|
function os(t, e, i) {
|
|
3788
3788
|
this.initDynamicPropertyContainer(t), this.getValue = this.iterateDynamicProperties, this.style = i;
|
|
3789
3789
|
}
|
|
3790
|
-
X([
|
|
3791
|
-
function
|
|
3790
|
+
X([rt], os);
|
|
3791
|
+
function Ie(t, e, i) {
|
|
3792
3792
|
this.data = e, this.c = U("uint8c", e.p * 4);
|
|
3793
3793
|
var s = e.k.k[0].s ? e.k.k[0].s.length - e.p * 4 : e.k.k.length - e.p * 4;
|
|
3794
3794
|
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);
|
|
3795
3795
|
}
|
|
3796
|
-
|
|
3796
|
+
Ie.prototype.comparePoints = function(t, e) {
|
|
3797
3797
|
for (var i = 0, s = this.o.length / 2, n; i < s; ) {
|
|
3798
3798
|
if (n = Math.abs(t[i * 4] - t[e * 4 + i * 2]), n > 0.01)
|
|
3799
3799
|
return !1;
|
|
3800
3800
|
i += 1;
|
|
3801
3801
|
}
|
|
3802
3802
|
return !0;
|
|
3803
|
-
},
|
|
3803
|
+
}, Ie.prototype.checkCollapsable = function() {
|
|
3804
3804
|
if (this.o.length / 2 !== this.c.length / 4)
|
|
3805
3805
|
return !1;
|
|
3806
3806
|
if (this.data.k.k[0].s)
|
|
@@ -3812,7 +3812,7 @@ function _r() {
|
|
|
3812
3812
|
else if (!this.comparePoints(this.data.k.k, this.data.p))
|
|
3813
3813
|
return !1;
|
|
3814
3814
|
return !0;
|
|
3815
|
-
},
|
|
3815
|
+
}, Ie.prototype.getValue = function(t) {
|
|
3816
3816
|
if (this.prop.getValue(), this._mdf = !1, this._cmdf = !1, this._omdf = !1, this.prop._mdf || t) {
|
|
3817
3817
|
var e, i = this.data.p * 4, s, n;
|
|
3818
3818
|
for (e = 0; e < i; e += 1)
|
|
@@ -3822,24 +3822,24 @@ function _r() {
|
|
|
3822
3822
|
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);
|
|
3823
3823
|
this._mdf = !t;
|
|
3824
3824
|
}
|
|
3825
|
-
}, X([
|
|
3826
|
-
function
|
|
3825
|
+
}, X([rt], Ie);
|
|
3826
|
+
function pe(t, e, i) {
|
|
3827
3827
|
this.initDynamicPropertyContainer(t), this.getValue = this.iterateDynamicProperties, this.initGradientData(t, e, i);
|
|
3828
3828
|
}
|
|
3829
|
-
|
|
3829
|
+
pe.prototype.initGradientData = function(t, e, i) {
|
|
3830
3830
|
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 || {
|
|
3831
3831
|
k: 0
|
|
3832
3832
|
}, 0, 0.01, this), this.a = V.getProp(t, e.a || {
|
|
3833
3833
|
k: 0
|
|
3834
|
-
}, 0,
|
|
3835
|
-
},
|
|
3834
|
+
}, 0, Q, this), this.g = new Ie(t, e.g, this), this.style = i, this.stops = [], this.setGradientData(i.pElem, e), this.setGradientOpacity(e, i), this._isAnimated = !!this._isAnimated;
|
|
3835
|
+
}, pe.prototype.setGradientData = function(t, e) {
|
|
3836
3836
|
var i = pt(), s = W(e.t === 1 ? "linearGradient" : "radialGradient");
|
|
3837
3837
|
s.setAttribute("id", i), s.setAttribute("spreadMethod", "pad"), s.setAttribute("gradientUnits", "userSpaceOnUse");
|
|
3838
3838
|
var n = [], r, o, c;
|
|
3839
3839
|
for (c = e.g.p * 4, o = 0; o < c; o += 4)
|
|
3840
3840
|
r = W("stop"), s.appendChild(r), n.push(r);
|
|
3841
|
-
t.setAttribute(e.ty === "gf" ? "fill" : "stroke", "url(" +
|
|
3842
|
-
},
|
|
3841
|
+
t.setAttribute(e.ty === "gf" ? "fill" : "stroke", "url(" + at() + "#" + i + ")"), this.gf = s, this.cst = n;
|
|
3842
|
+
}, pe.prototype.setGradientOpacity = function(t, e) {
|
|
3843
3843
|
if (this.g._hasOpacity && !this.g._collapsable) {
|
|
3844
3844
|
var i, s, n, r = W("mask"), o = W("path");
|
|
3845
3845
|
r.appendChild(o);
|
|
@@ -3850,13 +3850,13 @@ function _r() {
|
|
|
3850
3850
|
var _ = this.stops;
|
|
3851
3851
|
for (s = t.g.p * 4; s < n; s += 2)
|
|
3852
3852
|
i = W("stop"), i.setAttribute("stop-color", "rgb(255,255,255)"), m.appendChild(i), _.push(i);
|
|
3853
|
-
o.setAttribute(t.ty === "gf" ? "fill" : "stroke", "url(" +
|
|
3853
|
+
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;
|
|
3854
3854
|
}
|
|
3855
|
-
}, X([
|
|
3855
|
+
}, X([rt], pe);
|
|
3856
3856
|
function hs(t, e, i) {
|
|
3857
|
-
this.initDynamicPropertyContainer(t), this.getValue = this.iterateDynamicProperties, this.w = V.getProp(t, e.w, 0, null, this), this.d = new
|
|
3857
|
+
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;
|
|
3858
3858
|
}
|
|
3859
|
-
X([
|
|
3859
|
+
X([pe, rt], hs);
|
|
3860
3860
|
function lr() {
|
|
3861
3861
|
this.it = [], this.prevViewData = [], this.gr = W("g");
|
|
3862
3862
|
}
|
|
@@ -3928,7 +3928,7 @@ function _r() {
|
|
|
3928
3928
|
}
|
|
3929
3929
|
function c(M, p, b) {
|
|
3930
3930
|
var k = p.style;
|
|
3931
|
-
(p.c._mdf || b) && k.pElem.setAttribute("fill", "rgb(" +
|
|
3931
|
+
(p.c._mdf || b) && k.pElem.setAttribute("fill", "rgb(" + Jt(p.c.v[0]) + "," + Jt(p.c.v[1]) + "," + Jt(p.c.v[2]) + ")"), (p.o._mdf || b) && k.pElem.setAttribute("fill-opacity", p.o.v);
|
|
3932
3932
|
}
|
|
3933
3933
|
function h(M, p, b) {
|
|
3934
3934
|
m(M, p, b), _(M, p, b);
|
|
@@ -3970,51 +3970,51 @@ function _r() {
|
|
|
3970
3970
|
}
|
|
3971
3971
|
function _(M, p, b) {
|
|
3972
3972
|
var k = p.style, S = p.d;
|
|
3973
|
-
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(" +
|
|
3973
|
+
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(" + Jt(p.c.v[0]) + "," + Jt(p.c.v[1]) + "," + Jt(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));
|
|
3974
3974
|
}
|
|
3975
3975
|
return i;
|
|
3976
3976
|
}();
|
|
3977
|
-
function
|
|
3977
|
+
function $(t, e, i) {
|
|
3978
3978
|
this.shapes = [], this.shapesData = t.shapes, this.stylesList = [], this.shapeModifiers = [], this.itemsData = [], this.processedElements = [], this.animatedContents = [], this.initElement(t, e, i), this.prevViewData = [];
|
|
3979
3979
|
}
|
|
3980
|
-
X([jt,
|
|
3981
|
-
},
|
|
3982
|
-
},
|
|
3980
|
+
X([jt, le, Ee, ts, fe, Dt, xe], $), $.prototype.initSecondaryElement = function() {
|
|
3981
|
+
}, $.prototype.identityMatrix = new ht(), $.prototype.buildExpressionInterface = function() {
|
|
3982
|
+
}, $.prototype.createContent = function() {
|
|
3983
3983
|
this.searchShapes(this.shapesData, this.itemsData, this.prevViewData, this.layerElement, 0, [], !0), this.filterUniqueShapes();
|
|
3984
|
-
},
|
|
3984
|
+
}, $.prototype.filterUniqueShapes = function() {
|
|
3985
3985
|
var t, e = this.shapes.length, i, s, n = this.stylesList.length, r, o = [], c = !1;
|
|
3986
3986
|
for (s = 0; s < n; s += 1) {
|
|
3987
3987
|
for (r = this.stylesList[s], c = !1, o.length = 0, t = 0; t < e; t += 1)
|
|
3988
3988
|
i = this.shapes[t], i.styles.indexOf(r) !== -1 && (o.push(i), c = i._isAnimated || c);
|
|
3989
3989
|
o.length > 1 && c && this.setShapesAsAnimated(o);
|
|
3990
3990
|
}
|
|
3991
|
-
},
|
|
3991
|
+
}, $.prototype.setShapesAsAnimated = function(t) {
|
|
3992
3992
|
var e, i = t.length;
|
|
3993
3993
|
for (e = 0; e < i; e += 1)
|
|
3994
3994
|
t[e].setAsAnimated();
|
|
3995
|
-
},
|
|
3995
|
+
}, $.prototype.createStyleElement = function(t, e) {
|
|
3996
3996
|
var i, s = new rs(t, e), n = s.pElem;
|
|
3997
3997
|
if (t.ty === "st")
|
|
3998
3998
|
i = new ns(this, t, s);
|
|
3999
3999
|
else if (t.ty === "fl")
|
|
4000
4000
|
i = new as(this, t, s);
|
|
4001
4001
|
else if (t.ty === "gf" || t.ty === "gs") {
|
|
4002
|
-
var r = t.ty === "gf" ?
|
|
4003
|
-
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(" +
|
|
4002
|
+
var r = t.ty === "gf" ? pe : hs;
|
|
4003
|
+
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 + ")"));
|
|
4004
4004
|
} else t.ty === "no" && (i = new os(this, t, s));
|
|
4005
4005
|
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;
|
|
4006
|
-
},
|
|
4006
|
+
}, $.prototype.createGroupElement = function(t) {
|
|
4007
4007
|
var e = new lr();
|
|
4008
4008
|
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;
|
|
4009
|
-
},
|
|
4009
|
+
}, $.prototype.createTransformElement = function(t, e) {
|
|
4010
4010
|
var i = ai.getTransformProperty(this, t, this), s = new fr(i, i.o, e);
|
|
4011
4011
|
return this.addToAnimatedContents(t, s), s;
|
|
4012
|
-
},
|
|
4012
|
+
}, $.prototype.createShapeElement = function(t, e, i) {
|
|
4013
4013
|
var s = 4;
|
|
4014
4014
|
t.ty === "rc" ? s = 5 : t.ty === "el" ? s = 6 : t.ty === "sr" && (s = 7);
|
|
4015
|
-
var n =
|
|
4015
|
+
var n = Xe.getShapeProp(this, t, s, this), r = new ss(e, i, n);
|
|
4016
4016
|
return this.shapes.push(r), this.addShapeToModifiers(r), this.addToAnimatedContents(t, r), r;
|
|
4017
|
-
},
|
|
4017
|
+
}, $.prototype.addToAnimatedContents = function(t, e) {
|
|
4018
4018
|
for (var i = 0, s = this.animatedContents.length; i < s; ) {
|
|
4019
4019
|
if (this.animatedContents[i].element === e)
|
|
4020
4020
|
return;
|
|
@@ -4025,11 +4025,11 @@ function _r() {
|
|
|
4025
4025
|
element: e,
|
|
4026
4026
|
data: t
|
|
4027
4027
|
});
|
|
4028
|
-
},
|
|
4028
|
+
}, $.prototype.setElementStyles = function(t) {
|
|
4029
4029
|
var e = t.styles, i, s = this.stylesList.length;
|
|
4030
4030
|
for (i = 0; i < s; i += 1)
|
|
4031
4031
|
this.stylesList[i].closed || e.push(this.stylesList[i]);
|
|
4032
|
-
},
|
|
4032
|
+
}, $.prototype.reloadShapes = function() {
|
|
4033
4033
|
this._isFirstFrame = !0;
|
|
4034
4034
|
var t, e = this.itemsData.length;
|
|
4035
4035
|
for (t = 0; t < e; t += 1)
|
|
@@ -4037,7 +4037,7 @@ function _r() {
|
|
|
4037
4037
|
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)
|
|
4038
4038
|
this.dynamicProperties[t].getValue();
|
|
4039
4039
|
this.renderModifiers();
|
|
4040
|
-
},
|
|
4040
|
+
}, $.prototype.searchShapes = function(t, e, i, s, n, r, o) {
|
|
4041
4041
|
var c = [].concat(r), h, m = t.length - 1, _, M, p = [], b = [], k, S, C;
|
|
4042
4042
|
for (h = m; h >= 0; h -= 1) {
|
|
4043
4043
|
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")
|
|
@@ -4056,18 +4056,18 @@ function _r() {
|
|
|
4056
4056
|
p[h].closed = !0;
|
|
4057
4057
|
for (m = b.length, h = 0; h < m; h += 1)
|
|
4058
4058
|
b[h].closed = !0;
|
|
4059
|
-
},
|
|
4059
|
+
}, $.prototype.renderInnerContent = function() {
|
|
4060
4060
|
this.renderModifiers();
|
|
4061
4061
|
var t, e = this.stylesList.length;
|
|
4062
4062
|
for (t = 0; t < e; t += 1)
|
|
4063
4063
|
this.stylesList[t].reset();
|
|
4064
4064
|
for (this.renderShape(), t = 0; t < e; t += 1)
|
|
4065
4065
|
(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"));
|
|
4066
|
-
},
|
|
4066
|
+
}, $.prototype.renderShape = function() {
|
|
4067
4067
|
var t, e = this.animatedContents.length, i;
|
|
4068
4068
|
for (t = 0; t < e; t += 1)
|
|
4069
4069
|
i = this.animatedContents[t], (this._isFirstFrame || i.element._isAnimated) && i.data !== !0 && i.fn(i.data, i.element, this._isFirstFrame);
|
|
4070
|
-
},
|
|
4070
|
+
}, $.prototype.destroy = function() {
|
|
4071
4071
|
this.destroyBaseElement(), this.shapesData = null, this.itemsData = null;
|
|
4072
4072
|
};
|
|
4073
4073
|
function di(t, e, i, s, n, r) {
|
|
@@ -4086,7 +4086,7 @@ function _r() {
|
|
|
4086
4086
|
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;
|
|
4087
4087
|
};
|
|
4088
4088
|
function ft(t, e) {
|
|
4089
|
-
this._frameId =
|
|
4089
|
+
this._frameId = de, 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 = {
|
|
4090
4090
|
ascent: 0,
|
|
4091
4091
|
boxWidth: this.defaultBoxWidth,
|
|
4092
4092
|
f: "",
|
|
@@ -4149,7 +4149,7 @@ function _r() {
|
|
|
4149
4149
|
return this.keysIndex !== i && (this.keysIndex = i), this.data.d.k[this.keysIndex].s;
|
|
4150
4150
|
}, ft.prototype.buildFinalText = function(t) {
|
|
4151
4151
|
for (var e = [], i = 0, s = t.length, n, r, o = !1, c = !1, h = ""; i < s; )
|
|
4152
|
-
o = c, c = !1, n = t.charCodeAt(i), h = t.charAt(i),
|
|
4152
|
+
o = c, c = !1, n = t.charCodeAt(i), h = t.charAt(i), te.isCombinedCharacter(n) ? o = !0 : n >= 55296 && n <= 56319 ? te.isRegionalFlag(t, i) ? h = t.substr(i, 14) : (r = t.charCodeAt(i + 1), r >= 56320 && r <= 57343 && (te.isModifier(n, r) ? (h = t.substr(i, 2), o = !0) : te.isFlagEmoji(t.substr(i, 4)) ? h = t.substr(i, 4) : h = t.substr(i, 2))) : n > 56319 ? (r = t.charCodeAt(i + 1), te.isVariationSelector(n) && (o = !0)) : te.isZeroWidthJoiner(n) && (o = !0, c = !0), o ? (e[e.length - 1] += h, o = !1) : e.push(h), i += h.length;
|
|
4153
4153
|
return e;
|
|
4154
4154
|
}, ft.prototype.completeTextData = function(t) {
|
|
4155
4155
|
t.__complete = !0;
|
|
@@ -4251,7 +4251,7 @@ function _r() {
|
|
|
4251
4251
|
this._currentTextLength !== this.elem.textProperty.currentData.l.length && this.getValue();
|
|
4252
4252
|
var c = 0, h = 0, m = 1, _ = 1;
|
|
4253
4253
|
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;
|
|
4254
|
-
var M =
|
|
4254
|
+
var M = Se.getBezierEasing(c, h, m, _).get, p = 0, b = this.finalS, k = this.finalE, S = this.data.sh;
|
|
4255
4255
|
if (S === 2)
|
|
4256
4256
|
k === b ? p = o >= k ? 1 : 0 : p = t(0, e(0.5 / (k - b) + (o - b) / (k - b), 1)), p = M(p);
|
|
4257
4257
|
else if (S === 3)
|
|
@@ -4286,7 +4286,7 @@ function _r() {
|
|
|
4286
4286
|
}
|
|
4287
4287
|
this.finalS = m, this.finalE = _;
|
|
4288
4288
|
}
|
|
4289
|
-
}, X([
|
|
4289
|
+
}, X([rt], s);
|
|
4290
4290
|
function n(r, o, c) {
|
|
4291
4291
|
return new s(r, o);
|
|
4292
4292
|
}
|
|
@@ -4299,11 +4299,11 @@ function _r() {
|
|
|
4299
4299
|
propType: !1
|
|
4300
4300
|
}, n = V.getProp, r = e.a;
|
|
4301
4301
|
this.a = {
|
|
4302
|
-
r: r.r ? n(t, r.r, 0,
|
|
4303
|
-
rx: r.rx ? n(t, r.rx, 0,
|
|
4304
|
-
ry: r.ry ? n(t, r.ry, 0,
|
|
4305
|
-
sk: r.sk ? n(t, r.sk, 0,
|
|
4306
|
-
sa: r.sa ? n(t, r.sa, 0,
|
|
4302
|
+
r: r.r ? n(t, r.r, 0, Q, i) : s,
|
|
4303
|
+
rx: r.rx ? n(t, r.rx, 0, Q, i) : s,
|
|
4304
|
+
ry: r.ry ? n(t, r.ry, 0, Q, i) : s,
|
|
4305
|
+
sk: r.sk ? n(t, r.sk, 0, Q, i) : s,
|
|
4306
|
+
sa: r.sa ? n(t, r.sa, 0, Q, i) : s,
|
|
4307
4307
|
s: r.s ? n(t, r.s, 1, 0.01, i) : s,
|
|
4308
4308
|
a: r.a ? n(t, r.a, 1, 0, i) : s,
|
|
4309
4309
|
o: r.o ? n(t, r.o, 0, 0.01, i) : s,
|
|
@@ -4317,12 +4317,12 @@ function _r() {
|
|
|
4317
4317
|
t: r.t ? n(t, r.t, 0, 0, i) : s
|
|
4318
4318
|
}, this.s = ur.getTextSelectorProp(t, e.s, i), this.s.t = e.s.t;
|
|
4319
4319
|
}
|
|
4320
|
-
function
|
|
4321
|
-
this._isFirstFrame = !0, this._hasMaskedPath = !1, this._frameId = -1, this._textData = t, this._renderType = e, this._elem = i, this._animatorsData =
|
|
4320
|
+
function ie(t, e, i) {
|
|
4321
|
+
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 = {
|
|
4322
4322
|
alignment: {}
|
|
4323
4323
|
}, this.renderedLetters = [], this.lettersChangedFlag = !1, this.initDynamicPropertyContainer(i);
|
|
4324
4324
|
}
|
|
4325
|
-
|
|
4325
|
+
ie.prototype.searchProperties = function() {
|
|
4326
4326
|
var t, e = this._textData.a.length, i, s = V.getProp;
|
|
4327
4327
|
for (t = 0; t < e; t += 1)
|
|
4328
4328
|
i = this._textData.a[t], this._animatorsData[t] = new cr(this._elem, i, this);
|
|
@@ -4334,7 +4334,7 @@ function _r() {
|
|
|
4334
4334
|
p: s(this._elem, this._textData.p.p, 0, 0, this),
|
|
4335
4335
|
m: this._elem.maskManager.getMaskProperty(this._textData.p.m)
|
|
4336
4336
|
}, this._hasMaskedPath = !0) : this._hasMaskedPath = !1, this._moreOptions.alignment = s(this._elem, this._textData.m.a, 1, 0, this);
|
|
4337
|
-
},
|
|
4337
|
+
}, ie.prototype.getMeasures = function(t, e) {
|
|
4338
4338
|
if (this.lettersChangedFlag = e, !(!this._mdf && !this._isFirstFrame && !e && (!this._hasMaskedPath || !this._pathData.m._mdf))) {
|
|
4339
4339
|
this._isFirstFrame = !1;
|
|
4340
4340
|
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;
|
|
@@ -4347,8 +4347,8 @@ function _r() {
|
|
|
4347
4347
|
}, M = L._length - 1;
|
|
4348
4348
|
var G;
|
|
4349
4349
|
for (x = 0, _ = 0; _ < M; _ += 1)
|
|
4350
|
-
G =
|
|
4351
|
-
_ = M, N.v.c && (G =
|
|
4350
|
+
G = wt.buildBezierData(L.v[_], L.v[_ + 1], [L.o[_][0] - L.v[_][0], L.o[_][1] - L.v[_][1]], [L.i[_ + 1][0] - L.v[_ + 1][0], L.i[_ + 1][1] - L.v[_ + 1][1]]), b.tLength += G.segmentLength, b.segments.push(G), x += G.segmentLength;
|
|
4351
|
+
_ = M, N.v.c && (G = wt.buildBezierData(L.v[_], L.v[0], [L.o[_][0] - L.v[_][0], L.o[_][1] - L.v[_][1]], [L.i[0][0] - L.v[0][0], L.i[0][1] - L.v[0][1]]), b.tLength += G.segmentLength, b.segments.push(G), x += G.segmentLength), this._pathData.pi = b;
|
|
4352
4352
|
}
|
|
4353
4353
|
if (b = this._pathData.pi, k = this._pathData.f.v, f = 0, v = 1, C = 0, y = !0, A = b.segments, k < 0 && N.v.c)
|
|
4354
4354
|
for (b.tLength < Math.abs(k) && (k = -Math.abs(k) % b.tLength), f = A.length - 1, g = A[f].points, v = g.length - 1; k < 0; )
|
|
@@ -4358,28 +4358,28 @@ function _r() {
|
|
|
4358
4358
|
M = p.length, h = 0, m = 0;
|
|
4359
4359
|
var O = t.finalSize * 1.2 * 0.714, F = !0, d, P, a, l, E;
|
|
4360
4360
|
l = s.length;
|
|
4361
|
-
var w, R = -1, q, D, Y, H = k, et = f, ct = v,
|
|
4361
|
+
var w, R = -1, q, D, Y, H = k, et = f, ct = v, Tt = -1, dt, nt, mt, K, B, Vt, Xt, Rt, Mt = "", Ot = this.defaultPropsArray, Bt;
|
|
4362
4362
|
if (t.j === 2 || t.j === 1) {
|
|
4363
|
-
var vt = 0, Yt = 0, Ht = t.j === 2 ? -0.5 : -1,
|
|
4363
|
+
var vt = 0, Yt = 0, Ht = t.j === 2 ? -0.5 : -1, St = 0, Zt = !0;
|
|
4364
4364
|
for (_ = 0; _ < M; _ += 1)
|
|
4365
4365
|
if (p[_].n) {
|
|
4366
|
-
for (vt && (vt += Yt);
|
|
4367
|
-
p[
|
|
4366
|
+
for (vt && (vt += Yt); St < _; )
|
|
4367
|
+
p[St].animatorJustifyOffset = vt, St += 1;
|
|
4368
4368
|
vt = 0, Zt = !0;
|
|
4369
4369
|
} else {
|
|
4370
4370
|
for (a = 0; a < l; a += 1)
|
|
4371
4371
|
d = s[a].a, d.t.propType && (Zt && t.j === 2 && (Yt += d.t.v * Ht), P = s[a].s, w = P.getMult(p[_].anIndexes[a], n.a[a].s.totalChars), w.length ? vt += d.t.v * w[0] * Ht : vt += d.t.v * w * Ht);
|
|
4372
4372
|
Zt = !1;
|
|
4373
4373
|
}
|
|
4374
|
-
for (vt && (vt += Yt);
|
|
4375
|
-
p[
|
|
4374
|
+
for (vt && (vt += Yt); St < _; )
|
|
4375
|
+
p[St].animatorJustifyOffset = vt, St += 1;
|
|
4376
4376
|
}
|
|
4377
4377
|
for (_ = 0; _ < M; _ += 1) {
|
|
4378
4378
|
if (r.reset(), dt = 1, p[_].n)
|
|
4379
|
-
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),
|
|
4379
|
+
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), Mt = "", Rt = "", Vt = "", Bt = "", Ot = this.defaultPropsArray;
|
|
4380
4380
|
else {
|
|
4381
4381
|
if (this._hasMaskedPath) {
|
|
4382
|
-
if (
|
|
4382
|
+
if (Tt !== p[_].line) {
|
|
4383
4383
|
switch (t.j) {
|
|
4384
4384
|
case 1:
|
|
4385
4385
|
k += x - t.lineWidths[p[_].line];
|
|
@@ -4388,27 +4388,27 @@ function _r() {
|
|
|
4388
4388
|
k += (x - t.lineWidths[p[_].line]) / 2;
|
|
4389
4389
|
break;
|
|
4390
4390
|
}
|
|
4391
|
-
|
|
4391
|
+
Tt = p[_].line;
|
|
4392
4392
|
}
|
|
4393
4393
|
R !== p[_].ind && (p[R] && (k += p[R].extra), k += p[_].an / 2, R = p[_].ind), k += i[0] * p[_].an * 5e-3;
|
|
4394
|
-
var
|
|
4394
|
+
var Pt = 0;
|
|
4395
4395
|
for (a = 0; a < l; a += 1)
|
|
4396
|
-
d = s[a].a, d.p.propType && (P = s[a].s, w = P.getMult(p[_].anIndexes[a], n.a[a].s.totalChars), w.length ?
|
|
4396
|
+
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);
|
|
4397
4397
|
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; )
|
|
4398
|
-
C + T >= k +
|
|
4398
|
+
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));
|
|
4399
4399
|
q = p[_].an / 2 - p[_].add, r.translate(-q, 0, 0);
|
|
4400
4400
|
} else
|
|
4401
4401
|
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);
|
|
4402
4402
|
for (a = 0; a < l; a += 1)
|
|
4403
4403
|
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));
|
|
4404
|
-
for (t.strokeWidthAnim && (
|
|
4404
|
+
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)
|
|
4405
4405
|
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));
|
|
4406
4406
|
for (a = 0; a < l; a += 1)
|
|
4407
4407
|
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));
|
|
4408
4408
|
for (a = 0; a < l; a += 1) {
|
|
4409
|
-
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 ?
|
|
4409
|
+
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)
|
|
4410
4410
|
for (B = 0; B < 3; B += 1)
|
|
4411
|
-
w.length ?
|
|
4411
|
+
w.length ? nt[B] += (d.sc.v[B] - nt[B]) * w[0] : nt[B] += (d.sc.v[B] - nt[B]) * w;
|
|
4412
4412
|
if (t.fillColorAnim && t.fc) {
|
|
4413
4413
|
if (d.fc.propType)
|
|
4414
4414
|
for (B = 0; B < 3; B += 1)
|
|
@@ -4418,11 +4418,11 @@ function _r() {
|
|
|
4418
4418
|
}
|
|
4419
4419
|
for (a = 0; a < l; a += 1)
|
|
4420
4420
|
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));
|
|
4421
|
-
if (t.strokeWidthAnim && (
|
|
4421
|
+
if (t.strokeWidthAnim && (Vt = mt < 0 ? 0 : mt), t.strokeColorAnim && (Xt = "rgb(" + Math.round(nt[0] * 255) + "," + Math.round(nt[1] * 255) + "," + Math.round(nt[2] * 255) + ")"), t.fillColorAnim && t.fc && (Rt = "rgb(" + Math.round(K[0] * 255) + "," + Math.round(K[1] * 255) + "," + Math.round(K[2] * 255) + ")"), this._hasMaskedPath) {
|
|
4422
4422
|
if (r.translate(0, -t.ls), r.translate(0, i[1] * O * 0.01 + m, 0), this._pathData.p.v) {
|
|
4423
4423
|
j = (S.point[1] - u.point[1]) / (S.point[0] - u.point[0]);
|
|
4424
|
-
var
|
|
4425
|
-
S.point[0] < u.point[0] && (
|
|
4424
|
+
var se = Math.atan(j) * 180 / Math.PI;
|
|
4425
|
+
S.point[0] < u.point[0] && (se += 180), r.rotate(-se * Math.PI / 180);
|
|
4426
4426
|
}
|
|
4427
4427
|
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);
|
|
4428
4428
|
} else {
|
|
@@ -4436,32 +4436,32 @@ function _r() {
|
|
|
4436
4436
|
}
|
|
4437
4437
|
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;
|
|
4438
4438
|
}
|
|
4439
|
-
o === "html" ?
|
|
4439
|
+
o === "html" ? Mt = r.toCSS() : o === "svg" ? Mt = r.to2dCSS() : Ot = [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]], Bt = dt;
|
|
4440
4440
|
}
|
|
4441
|
-
c <= _ ? (E = new di(
|
|
4441
|
+
c <= _ ? (E = new di(Bt, Vt, Xt, Rt, Mt, Ot), this.renderedLetters.push(E), c += 1, this.lettersChangedFlag = !0) : (E = this.renderedLetters[_], this.lettersChangedFlag = E.update(Bt, Vt, Xt, Rt, Mt, Ot) || this.lettersChangedFlag);
|
|
4442
4442
|
}
|
|
4443
4443
|
}
|
|
4444
|
-
},
|
|
4444
|
+
}, ie.prototype.getValue = function() {
|
|
4445
4445
|
this._elem.globalData.frameId !== this._frameId && (this._frameId = this._elem.globalData.frameId, this.iterateDynamicProperties());
|
|
4446
|
-
},
|
|
4447
|
-
function
|
|
4446
|
+
}, ie.prototype.mHelper = new ht(), ie.prototype.defaultPropsArray = [], X([rt], ie);
|
|
4447
|
+
function yt() {
|
|
4448
4448
|
}
|
|
4449
|
-
|
|
4450
|
-
this.lettersChangedFlag = !0, this.initFrame(), this.initBaseData(t, e, i), this.textProperty = new ft(this, t.t, this.dynamicProperties), this.textAnimator = new
|
|
4451
|
-
},
|
|
4449
|
+
yt.prototype.initElement = function(t, e, i) {
|
|
4450
|
+
this.lettersChangedFlag = !0, this.initFrame(), this.initBaseData(t, e, i), this.textProperty = new ft(this, t.t, this.dynamicProperties), this.textAnimator = new ie(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);
|
|
4451
|
+
}, yt.prototype.prepareFrame = function(t) {
|
|
4452
4452
|
this._mdf = !1, this.prepareRenderableFrame(t), this.prepareProperties(t, this.isInRange);
|
|
4453
|
-
},
|
|
4453
|
+
}, yt.prototype.createPathShape = function(t, e) {
|
|
4454
4454
|
var i, s = e.length, n, r = "";
|
|
4455
4455
|
for (i = 0; i < s; i += 1)
|
|
4456
4456
|
e[i].ty === "sh" && (n = e[i].ks.k, r += ls(n, n.i.length, !0, t));
|
|
4457
4457
|
return r;
|
|
4458
|
-
},
|
|
4458
|
+
}, yt.prototype.updateDocumentData = function(t, e) {
|
|
4459
4459
|
this.textProperty.updateDocumentData(t, e);
|
|
4460
|
-
},
|
|
4460
|
+
}, yt.prototype.canResizeFont = function(t) {
|
|
4461
4461
|
this.textProperty.canResizeFont(t);
|
|
4462
|
-
},
|
|
4462
|
+
}, yt.prototype.setMinimumFontSize = function(t) {
|
|
4463
4463
|
this.textProperty.setMinimumFontSize(t);
|
|
4464
|
-
},
|
|
4464
|
+
}, yt.prototype.applyTextPropertiesToMatrix = function(t, e, i, s, n) {
|
|
4465
4465
|
switch (t.ps && e.translate(t.ps[0], t.ps[1] + t.ascent, 0), e.translate(0, -t.ls, 0), t.j) {
|
|
4466
4466
|
case 1:
|
|
4467
4467
|
e.translate(t.justifyOffset + (t.boxWidth - t.lineWidths[i]), 0, 0);
|
|
@@ -4471,25 +4471,25 @@ function _r() {
|
|
|
4471
4471
|
break;
|
|
4472
4472
|
}
|
|
4473
4473
|
e.translate(s, n, 0);
|
|
4474
|
-
},
|
|
4474
|
+
}, yt.prototype.buildColor = function(t) {
|
|
4475
4475
|
return "rgb(" + Math.round(t[0] * 255) + "," + Math.round(t[1] * 255) + "," + Math.round(t[2] * 255) + ")";
|
|
4476
|
-
},
|
|
4477
|
-
},
|
|
4476
|
+
}, yt.prototype.emptyProp = new di(), yt.prototype.destroy = function() {
|
|
4477
|
+
}, yt.prototype.validateText = function() {
|
|
4478
4478
|
(this.textProperty._mdf || this.textProperty._isFirstFrame) && (this.buildNewText(), this.textProperty._isFirstFrame = !1, this.textProperty._mdf = !1);
|
|
4479
4479
|
};
|
|
4480
4480
|
var dr = {
|
|
4481
4481
|
shapes: []
|
|
4482
4482
|
};
|
|
4483
|
-
function
|
|
4483
|
+
function It(t, e, i) {
|
|
4484
4484
|
this.textSpans = [], this.renderType = "svg", this.initElement(t, e, i);
|
|
4485
4485
|
}
|
|
4486
|
-
X([jt,
|
|
4486
|
+
X([jt, le, Ee, fe, Dt, xe, yt], It), It.prototype.createContent = function() {
|
|
4487
4487
|
this.data.singleShape && !this.globalData.fontManager.chars && (this.textContainer = W("text"));
|
|
4488
|
-
},
|
|
4488
|
+
}, It.prototype.buildTextContents = function(t) {
|
|
4489
4489
|
for (var e = 0, i = t.length, s = [], n = ""; e < i; )
|
|
4490
4490
|
t[e] === "\r" || t[e] === "" ? (s.push(n), n = "") : n += t[e], e += 1;
|
|
4491
4491
|
return s.push(n), s;
|
|
4492
|
-
},
|
|
4492
|
+
}, It.prototype.buildShapeData = function(t, e) {
|
|
4493
4493
|
if (t.shapes && t.shapes.length) {
|
|
4494
4494
|
var i = t.shapes[0];
|
|
4495
4495
|
if (i.it) {
|
|
@@ -4498,10 +4498,10 @@ function _r() {
|
|
|
4498
4498
|
}
|
|
4499
4499
|
}
|
|
4500
4500
|
return t;
|
|
4501
|
-
},
|
|
4501
|
+
}, It.prototype.buildNewText = function() {
|
|
4502
4502
|
this.addDynamicProperty(this);
|
|
4503
4503
|
var t, e, i = this.textProperty.currentData;
|
|
4504
|
-
this.renderedLetters =
|
|
4504
|
+
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);
|
|
4505
4505
|
var s = this.globalData.fontManager.getFontByName(i.f);
|
|
4506
4506
|
if (s.fClass)
|
|
4507
4507
|
this.layerElement.setAttribute("class", s.fClass);
|
|
@@ -4556,10 +4556,10 @@ function _r() {
|
|
|
4556
4556
|
u = this.globalData.fontManager.getCharData(i.finalText[t], s.fStyle, this.globalData.fontManager.getFontByName(i.f).fFamily);
|
|
4557
4557
|
var A;
|
|
4558
4558
|
if (u.t === 1)
|
|
4559
|
-
A = new
|
|
4559
|
+
A = new Le(u.data, this.globalData, this);
|
|
4560
4560
|
else {
|
|
4561
4561
|
var T = dr;
|
|
4562
|
-
u.data && u.data.shapes && (T = this.buildShapeData(u.data, i.finalSize)), A = new
|
|
4562
|
+
u.data && u.data.shapes && (T = this.buildShapeData(u.data, i.finalSize)), A = new $(T, this.globalData, this);
|
|
4563
4563
|
}
|
|
4564
4564
|
if (this.textSpans[t].glyph) {
|
|
4565
4565
|
var x = this.textSpans[t].glyph;
|
|
@@ -4574,7 +4574,7 @@ function _r() {
|
|
|
4574
4574
|
for (; t < this.textSpans.length; )
|
|
4575
4575
|
this.textSpans[t].span.style.display = "none", t += 1;
|
|
4576
4576
|
this._sizeChanged = !0;
|
|
4577
|
-
},
|
|
4577
|
+
}, It.prototype.sourceRectAtTime = function() {
|
|
4578
4578
|
if (this.prepareFrame(this.comp.renderedFrame - this.data.st), this.renderInnerContent(), this._sizeChanged) {
|
|
4579
4579
|
this._sizeChanged = !1;
|
|
4580
4580
|
var t = this.layerElement.getBBox();
|
|
@@ -4586,11 +4586,11 @@ function _r() {
|
|
|
4586
4586
|
};
|
|
4587
4587
|
}
|
|
4588
4588
|
return this.bbox;
|
|
4589
|
-
},
|
|
4589
|
+
}, It.prototype.getValue = function() {
|
|
4590
4590
|
var t, e = this.textSpans.length, i;
|
|
4591
4591
|
for (this.renderedFrame = this.comp.renderedFrame, t = 0; t < e; t += 1)
|
|
4592
4592
|
i = this.textSpans[t].glyph, i && (i.prepareFrame(this.comp.renderedFrame - this.data.st), i._mdf && (this._mdf = !0));
|
|
4593
|
-
},
|
|
4593
|
+
}, It.prototype.renderInnerContent = function() {
|
|
4594
4594
|
if (this.validateText(), (!this.data.singleShape || this._mdf) && (this.textAnimator.getMeasures(this.textProperty.currentData, this.lettersChangedFlag), this.lettersChangedFlag || this.textAnimator.lettersChangedFlag)) {
|
|
4595
4595
|
this._sizeChanged = !0;
|
|
4596
4596
|
var t, e, i = this.textAnimator.renderedLetters, s = this.textProperty.currentData.l;
|
|
@@ -4603,7 +4603,7 @@ function _r() {
|
|
|
4603
4603
|
function vi(t, e, i) {
|
|
4604
4604
|
this.initElement(t, e, i);
|
|
4605
4605
|
}
|
|
4606
|
-
X([
|
|
4606
|
+
X([Fe], vi), vi.prototype.createContent = function() {
|
|
4607
4607
|
var t = W("rect");
|
|
4608
4608
|
t.setAttribute("width", this.data.sw), t.setAttribute("height", this.data.sh), t.setAttribute("fill", this.data.sc), this.layerElement.appendChild(t);
|
|
4609
4609
|
};
|
|
@@ -4618,17 +4618,17 @@ function _r() {
|
|
|
4618
4618
|
}, Gt.prototype.destroy = function() {
|
|
4619
4619
|
}, Gt.prototype.sourceRectAtTime = function() {
|
|
4620
4620
|
}, Gt.prototype.hide = function() {
|
|
4621
|
-
}, X([jt,
|
|
4621
|
+
}, X([jt, le, fe, Dt], Gt);
|
|
4622
4622
|
function st() {
|
|
4623
4623
|
}
|
|
4624
4624
|
X([lt], st), st.prototype.createNull = function(t) {
|
|
4625
4625
|
return new Gt(t, this.globalData, this);
|
|
4626
4626
|
}, st.prototype.createShape = function(t) {
|
|
4627
|
-
return new
|
|
4627
|
+
return new $(t, this.globalData, this);
|
|
4628
4628
|
}, st.prototype.createText = function(t) {
|
|
4629
|
-
return new
|
|
4629
|
+
return new It(t, this.globalData, this);
|
|
4630
4630
|
}, st.prototype.createImage = function(t) {
|
|
4631
|
-
return new
|
|
4631
|
+
return new Fe(t, this.globalData, this);
|
|
4632
4632
|
}, st.prototype.createSolid = function(t) {
|
|
4633
4633
|
return new vi(t, this.globalData, this);
|
|
4634
4634
|
}, st.prototype.configAnimation = function(t) {
|
|
@@ -4638,7 +4638,7 @@ function _r() {
|
|
|
4638
4638
|
var i = W("clipPath"), s = W("rect");
|
|
4639
4639
|
s.setAttribute("width", t.w), s.setAttribute("height", t.h), s.setAttribute("x", 0), s.setAttribute("y", 0);
|
|
4640
4640
|
var n = pt();
|
|
4641
|
-
i.setAttribute("id", n), i.appendChild(s), this.layerElement.setAttribute("clip-path", "url(" +
|
|
4641
|
+
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);
|
|
4642
4642
|
}, st.prototype.destroy = function() {
|
|
4643
4643
|
this.animationItem.wrapper && (this.animationItem.wrapper.innerText = ""), this.layerElement = null, this.globalData.defs = null;
|
|
4644
4644
|
var t, e = this.layers ? this.layers.length : 0;
|
|
@@ -4657,7 +4657,7 @@ function _r() {
|
|
|
4657
4657
|
if (!(e[t] || this.layers[t].ty === 99)) {
|
|
4658
4658
|
e[t] = !0;
|
|
4659
4659
|
var i = this.createItem(this.layers[t]);
|
|
4660
|
-
if (e[t] = i,
|
|
4660
|
+
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) {
|
|
4661
4661
|
var s = "tp" in this.layers[t] ? this.findIndexByInd(this.layers[t].tp) : t - 1;
|
|
4662
4662
|
if (s === -1)
|
|
4663
4663
|
return;
|
|
@@ -4704,11 +4704,11 @@ function _r() {
|
|
|
4704
4704
|
}, st.prototype.show = function() {
|
|
4705
4705
|
this.layerElement.style.display = "block";
|
|
4706
4706
|
};
|
|
4707
|
-
function
|
|
4707
|
+
function Lt() {
|
|
4708
4708
|
}
|
|
4709
|
-
X([jt,
|
|
4709
|
+
X([jt, le, fe, Dt, xe], Lt), Lt.prototype.initElement = function(t, e, i) {
|
|
4710
4710
|
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();
|
|
4711
|
-
},
|
|
4711
|
+
}, Lt.prototype.prepareFrame = function(t) {
|
|
4712
4712
|
if (this._mdf = !1, this.prepareRenderableFrame(t), this.prepareProperties(t, this.isInRange), !(!this.isInRange && !this.data.xt)) {
|
|
4713
4713
|
if (this.tm._placeholder)
|
|
4714
4714
|
this.renderedFrame = t / this.data.sr;
|
|
@@ -4720,28 +4720,28 @@ function _r() {
|
|
|
4720
4720
|
for (this.completeLayers || this.checkLayers(this.renderedFrame), i = s - 1; i >= 0; i -= 1)
|
|
4721
4721
|
(this.completeLayers || this.elements[i]) && (this.elements[i].prepareFrame(this.renderedFrame - this.layers[i].st), this.elements[i]._mdf && (this._mdf = !0));
|
|
4722
4722
|
}
|
|
4723
|
-
},
|
|
4723
|
+
}, Lt.prototype.renderInnerContent = function() {
|
|
4724
4724
|
var t, e = this.layers.length;
|
|
4725
4725
|
for (t = 0; t < e; t += 1)
|
|
4726
4726
|
(this.completeLayers || this.elements[t]) && this.elements[t].renderFrame();
|
|
4727
|
-
},
|
|
4727
|
+
}, Lt.prototype.setElements = function(t) {
|
|
4728
4728
|
this.elements = t;
|
|
4729
|
-
},
|
|
4729
|
+
}, Lt.prototype.getElements = function() {
|
|
4730
4730
|
return this.elements;
|
|
4731
|
-
},
|
|
4731
|
+
}, Lt.prototype.destroyElements = function() {
|
|
4732
4732
|
var t, e = this.layers.length;
|
|
4733
4733
|
for (t = 0; t < e; t += 1)
|
|
4734
4734
|
this.elements[t] && this.elements[t].destroy();
|
|
4735
|
-
},
|
|
4735
|
+
}, Lt.prototype.destroy = function() {
|
|
4736
4736
|
this.destroyElements(), this.destroyBaseElement();
|
|
4737
4737
|
};
|
|
4738
|
-
function
|
|
4739
|
-
this.layers = t.layers, this.supports3d = !0, this.completeLayers = !1, this.pendingElements = [], this.elements = this.layers ?
|
|
4738
|
+
function Le(t, e, i) {
|
|
4739
|
+
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) : {
|
|
4740
4740
|
_placeholder: !0
|
|
4741
4741
|
};
|
|
4742
4742
|
}
|
|
4743
|
-
X([st,
|
|
4744
|
-
return new
|
|
4743
|
+
X([st, Lt, Ee], Le), Le.prototype.createComp = function(t) {
|
|
4744
|
+
return new Le(t, this.globalData, this);
|
|
4745
4745
|
};
|
|
4746
4746
|
function mi(t, e) {
|
|
4747
4747
|
this.animationItem = t, this.layers = null, this.renderedFrame = -1, this.svgElement = W("svg");
|
|
@@ -4786,71 +4786,64 @@ function _r() {
|
|
|
4786
4786
|
}, this.elements = [], this.pendingElements = [], this.destroyed = !1, this.rendererType = "svg";
|
|
4787
4787
|
}
|
|
4788
4788
|
return X([st], mi), mi.prototype.createComp = function(t) {
|
|
4789
|
-
return new
|
|
4790
|
-
}, As("svg", mi), zt.registerModifier("tm",
|
|
4789
|
+
return new Le(t, this.globalData, this);
|
|
4790
|
+
}, As("svg", mi), zt.registerModifier("tm", bt), zt.registerModifier("pb", Pe), zt.registerModifier("rp", Ct), zt.registerModifier("rd", ke), zt.registerModifier("zz", we), zt.registerModifier("op", Ce), Z;
|
|
4791
4791
|
});
|
|
4792
|
-
}(
|
|
4792
|
+
}(Ve, Ve.exports)), Ve.exports;
|
|
4793
4793
|
}
|
|
4794
4794
|
var br = _r();
|
|
4795
4795
|
const Sr = /* @__PURE__ */ gr(br), Pr = vr(
|
|
4796
|
-
({
|
|
4797
|
-
|
|
4798
|
-
|
|
4799
|
-
autoplay: ne = !0,
|
|
4800
|
-
delay: Kt = 0,
|
|
4801
|
-
onAnimationEnd: Ut,
|
|
4802
|
-
...ce
|
|
4803
|
-
}, $e) => {
|
|
4804
|
-
const Jt = ps(null), Et = ps(null), [rt, bt] = mr(!1), X = (Bt) => {
|
|
4805
|
-
bt(Bt.matches);
|
|
4796
|
+
({ json: kt, autoplay: ue = !0, delay: ce = 0, onAnimationEnd: Et, ...Re }, de) => {
|
|
4797
|
+
const Kt = ps(null), xt = ps(null), [ve, at] = mr(!1), _t = (X) => {
|
|
4798
|
+
at(X.matches);
|
|
4806
4799
|
};
|
|
4807
4800
|
return us(() => {
|
|
4808
|
-
const
|
|
4809
|
-
return
|
|
4810
|
-
|
|
4801
|
+
const X = window.matchMedia("(prefers-reduced-motion)");
|
|
4802
|
+
return at(X.matches), X.addEventListener("change", _t), () => {
|
|
4803
|
+
X.removeEventListener("change", _t);
|
|
4811
4804
|
};
|
|
4812
4805
|
}, []), us(() => {
|
|
4813
|
-
const
|
|
4814
|
-
if (
|
|
4815
|
-
const
|
|
4806
|
+
const ei = setTimeout(() => {
|
|
4807
|
+
if (Kt.current) {
|
|
4808
|
+
const Ut = {
|
|
4816
4809
|
"rgb(153,10,227)": "--purpur-color-brand-core-purple",
|
|
4817
4810
|
"rgb(41,0,62)": "--purpur-color-brand-deep-purple",
|
|
4818
4811
|
"rgb(30,30,32)": "--purpur-color-brand-off-black"
|
|
4819
4812
|
};
|
|
4820
|
-
if (
|
|
4821
|
-
container:
|
|
4813
|
+
if (xt.current = Sr.loadAnimation({
|
|
4814
|
+
container: Kt.current,
|
|
4822
4815
|
renderer: "svg",
|
|
4823
4816
|
loop: !1,
|
|
4824
|
-
autoplay: !
|
|
4825
|
-
animationData:
|
|
4817
|
+
autoplay: !ve && ue,
|
|
4818
|
+
animationData: kt,
|
|
4826
4819
|
rendererSettings: {
|
|
4827
4820
|
preserveAspectRatio: "xMidYMid slice"
|
|
4828
4821
|
}
|
|
4829
|
-
}),
|
|
4830
|
-
if (!
|
|
4831
|
-
const
|
|
4832
|
-
|
|
4833
|
-
["fill", "stroke"].forEach((
|
|
4834
|
-
const
|
|
4835
|
-
if (
|
|
4836
|
-
const
|
|
4837
|
-
|
|
4822
|
+
}), xt.current.addEventListener("DOMLoaded", () => {
|
|
4823
|
+
if (!Kt.current) return;
|
|
4824
|
+
const U = getComputedStyle(document.documentElement);
|
|
4825
|
+
Kt.current.querySelectorAll("svg *").forEach((me) => {
|
|
4826
|
+
["fill", "stroke"].forEach((ge) => {
|
|
4827
|
+
const re = me.getAttribute(ge);
|
|
4828
|
+
if (re && Object.prototype.hasOwnProperty.call(Ut, re)) {
|
|
4829
|
+
const Oe = U.getPropertyValue(Ut[re]).trim();
|
|
4830
|
+
Oe && me.setAttribute(ge, Oe);
|
|
4838
4831
|
}
|
|
4839
4832
|
});
|
|
4840
4833
|
});
|
|
4841
|
-
}),
|
|
4842
|
-
|
|
4843
|
-
}), (
|
|
4844
|
-
const
|
|
4845
|
-
|
|
4834
|
+
}), xt.current.addEventListener("complete", () => {
|
|
4835
|
+
Et == null || Et();
|
|
4836
|
+
}), (ve || !ue) && xt.current) {
|
|
4837
|
+
const U = xt.current.getDuration(!0);
|
|
4838
|
+
xt.current.goToAndStop(U - 1, !0);
|
|
4846
4839
|
}
|
|
4847
4840
|
}
|
|
4848
|
-
},
|
|
4841
|
+
}, ce);
|
|
4849
4842
|
return () => {
|
|
4850
|
-
var
|
|
4851
|
-
clearTimeout(
|
|
4843
|
+
var Ut;
|
|
4844
|
+
clearTimeout(ei), (Ut = xt.current) == null || Ut.destroy();
|
|
4852
4845
|
};
|
|
4853
|
-
}, [
|
|
4846
|
+
}, [ve, kt, ue, Et, ce]), /* @__PURE__ */ fs("div", { ref: de, ...Re, children: /* @__PURE__ */ fs("div", { ref: Kt }) });
|
|
4854
4847
|
}
|
|
4855
4848
|
);
|
|
4856
4849
|
Pr.displayName = "AnimatedIllustrativeIcon";
|