@purpurds/illustrative-icon 8.8.1 → 8.9.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-Cc88HMC8.js +3 -0
- package/dist/{animated-illustrative-icon-B7VXVLhr.js.map → animated-illustrative-icon-Cc88HMC8.js.map} +1 -1
- package/dist/{animated-illustrative-icon-CJxecut6.mjs → animated-illustrative-icon-saKeBxEm.mjs} +566 -575
- package/dist/{animated-illustrative-icon-CJxecut6.mjs.map → animated-illustrative-icon-saKeBxEm.mjs.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/analysis-done-duocolor-animated.cjs.js +1 -1
- package/dist/components/analysis-done-duocolor-animated.es.js +1 -1
- package/dist/components/analysis-done-duocolor-static.cjs.js +1 -1
- package/dist/components/analysis-done-duocolor-static.es.js +1 -1
- package/dist/components/analysis-done-offblack-animated.cjs.js +1 -1
- package/dist/components/analysis-done-offblack-animated.es.js +1 -1
- package/dist/components/analysis-done-offblack-static.cjs.js +1 -1
- package/dist/components/analysis-done-offblack-static.es.js +1 -1
- package/dist/components/analysis-error-duocolor-animated.cjs.js +1 -1
- package/dist/components/analysis-error-duocolor-animated.es.js +1 -1
- package/dist/components/analysis-error-duocolor-static.cjs.js +1 -1
- package/dist/components/analysis-error-duocolor-static.es.js +1 -1
- package/dist/components/analysis-error-offblack-animated.cjs.js +1 -1
- package/dist/components/analysis-error-offblack-animated.es.js +1 -1
- package/dist/components/analysis-error-offblack-static.cjs.js +1 -1
- package/dist/components/analysis-error-offblack-static.es.js +1 -1
- package/dist/components/analysis-unavailable-duocolor-animated.cjs.js +1 -1
- package/dist/components/analysis-unavailable-duocolor-animated.es.js +1 -1
- package/dist/components/analysis-unavailable-duocolor-static.cjs.js +1 -1
- package/dist/components/analysis-unavailable-duocolor-static.es.js +1 -1
- package/dist/components/analysis-unavailable-offblack-animated.cjs.js +1 -1
- package/dist/components/analysis-unavailable-offblack-animated.es.js +1 -1
- package/dist/components/analysis-unavailable-offblack-static.cjs.js +1 -1
- package/dist/components/analysis-unavailable-offblack-static.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/cart-question-duocolor-animated.cjs.js +1 -1
- package/dist/components/cart-question-duocolor-animated.es.js +1 -1
- package/dist/components/cart-question-duocolor-static.cjs.js +1 -1
- package/dist/components/cart-question-duocolor-static.es.js +1 -1
- package/dist/components/cart-question-offblack-animated.cjs.js +1 -1
- package/dist/components/cart-question-offblack-animated.es.js +1 -1
- package/dist/components/cart-question-offblack-static.cjs.js +1 -1
- package/dist/components/cart-question-offblack-static.es.js +1 -1
- package/dist/components/charger-excluded-static.cjs.js +1 -1
- package/dist/components/charger-excluded-static.es.js +1 -1
- package/dist/components/charger-included-static.cjs.js +1 -1
- package/dist/components/charger-included-static.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-attach-duocolor-animated.cjs.js +1 -1
- package/dist/components/document-attach-duocolor-animated.es.js +1 -1
- package/dist/components/document-attach-duocolor-static.cjs.js +1 -1
- package/dist/components/document-attach-duocolor-static.es.js +1 -1
- package/dist/components/document-attach-offblack-animated.cjs.js +1 -1
- package/dist/components/document-attach-offblack-animated.es.js +1 -1
- package/dist/components/document-attach-offblack-static.cjs.js +1 -1
- package/dist/components/document-attach-offblack-static.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/document-question-duocolor-animated.cjs.js +1 -1
- package/dist/components/document-question-duocolor-animated.es.js +1 -1
- package/dist/components/document-question-duocolor-static.cjs.js +1 -1
- package/dist/components/document-question-duocolor-static.es.js +1 -1
- package/dist/components/document-question-offblack-animated.cjs.js +1 -1
- package/dist/components/document-question-offblack-animated.es.js +1 -1
- package/dist/components/document-question-offblack-static.cjs.js +1 -1
- package/dist/components/document-question-offblack-static.es.js +1 -1
- package/dist/components/document-upload-duocolor-animated.cjs.js +1 -1
- package/dist/components/document-upload-duocolor-animated.es.js +1 -1
- package/dist/components/document-upload-duocolor-static.cjs.js +1 -1
- package/dist/components/document-upload-duocolor-static.es.js +1 -1
- package/dist/components/document-upload-offblack-animated.cjs.js +1 -1
- package/dist/components/document-upload-offblack-animated.es.js +1 -1
- package/dist/components/document-upload-offblack-static.cjs.js +1 -1
- package/dist/components/document-upload-offblack-static.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/table-question-duocolor-animated.cjs.js +1 -1
- package/dist/components/table-question-duocolor-animated.es.js +1 -1
- package/dist/components/table-question-duocolor-static.cjs.js +1 -1
- package/dist/components/table-question-duocolor-static.es.js +1 -1
- package/dist/components/table-question-offblack-animated.cjs.js +1 -1
- package/dist/components/table-question-offblack-animated.es.js +1 -1
- package/dist/components/table-question-offblack-static.cjs.js +1 -1
- package/dist/components/table-question-offblack-static.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-logout-duocolor-animated.cjs.js +1 -1
- package/dist/components/user-logout-duocolor-animated.es.js +1 -1
- package/dist/components/user-logout-duocolor-static.cjs.js +1 -1
- package/dist/components/user-logout-duocolor-static.es.js +1 -1
- package/dist/components/user-logout-offblack-animated.cjs.js +1 -1
- package/dist/components/user-logout-offblack-animated.es.js +1 -1
- package/dist/components/user-logout-offblack-static.cjs.js +1 -1
- package/dist/components/user-logout-offblack-static.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 +2 -9
- package/dist/illustrative-icon.cjs.js.map +1 -1
- package/dist/illustrative-icon.es.js +419 -428
- package/dist/illustrative-icon.es.js.map +1 -1
- package/dist/{static-illustrative-icon-DIeg3Adi.mjs → static-illustrative-icon-B1ddcvze.mjs} +1 -6
- package/dist/{static-illustrative-icon-DIeg3Adi.mjs.map → static-illustrative-icon-B1ddcvze.mjs.map} +1 -1
- package/dist/static-illustrative-icon-C_cdAVSb.js +2 -0
- package/dist/{static-illustrative-icon-Cat-UTcO.js.map → static-illustrative-icon-C_cdAVSb.js.map} +1 -1
- package/package.json +24 -24
- package/dist/animated-illustrative-icon-B7VXVLhr.js +0 -10
- package/dist/static-illustrative-icon-Cat-UTcO.js +0 -6
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { jsx as fs } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as vr, useRef as ps, useState as mr, useEffect as us } from "react";
|
|
3
|
-
function gr(
|
|
4
|
-
return
|
|
3
|
+
function gr(At) {
|
|
4
|
+
return At && At.__esModule && Object.prototype.hasOwnProperty.call(At, "default") ? At.default : At;
|
|
5
5
|
}
|
|
6
|
-
var
|
|
6
|
+
var Ie = { exports: {} }, yr = Ie.exports, cs;
|
|
7
7
|
function _r() {
|
|
8
|
-
return cs || (cs = 1, (function(
|
|
9
|
-
typeof document < "u" && typeof navigator < "u" && (function(
|
|
10
|
-
|
|
8
|
+
return cs || (cs = 1, (function(At, pe) {
|
|
9
|
+
typeof document < "u" && typeof navigator < "u" && (function(ue, Zt) {
|
|
10
|
+
At.exports = Zt();
|
|
11
11
|
})(yr, (function() {
|
|
12
|
-
var
|
|
13
|
-
|
|
14
|
-
},
|
|
15
|
-
return
|
|
16
|
-
},
|
|
17
|
-
|
|
12
|
+
var ue = "http://www.w3.org/2000/svg", Zt = "", Le = !1, ce = -999999, Kt = function(e) {
|
|
13
|
+
Le = !!e;
|
|
14
|
+
}, Et = function() {
|
|
15
|
+
return Le;
|
|
16
|
+
}, de = function(e) {
|
|
17
|
+
Zt = e;
|
|
18
18
|
}, at = function() {
|
|
19
|
-
return
|
|
19
|
+
return Zt;
|
|
20
20
|
};
|
|
21
21
|
function _t(t) {
|
|
22
22
|
return document.createElement(t);
|
|
@@ -34,7 +34,7 @@ function _r() {
|
|
|
34
34
|
}
|
|
35
35
|
return e.prototype = t, e;
|
|
36
36
|
}
|
|
37
|
-
var
|
|
37
|
+
var Ve = (function() {
|
|
38
38
|
function t(e) {
|
|
39
39
|
this.audios = [], this.audioFactory = e, this._volume = 1, this._isMuted = !1;
|
|
40
40
|
}
|
|
@@ -125,7 +125,7 @@ function _r() {
|
|
|
125
125
|
length: t
|
|
126
126
|
});
|
|
127
127
|
}
|
|
128
|
-
var
|
|
128
|
+
var ve = !0, me = null, se = "", Re = /^((?!chrome|android).)*safari/i.test(navigator.userAgent), kt = Math.pow, gi = Math.sqrt, Ut = Math.floor, ds = Math.min, yi = 150, Q = Math.PI / 180, Bt = 0.5519;
|
|
129
129
|
function ti(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, se + "__lottie_element_" + t;
|
|
154
154
|
};
|
|
155
155
|
})();
|
|
156
156
|
function ei(t, e, i) {
|
|
@@ -195,11 +195,11 @@ function _r() {
|
|
|
195
195
|
}
|
|
196
196
|
return [o, c, h];
|
|
197
197
|
}
|
|
198
|
-
function
|
|
198
|
+
function Ai(t, e) {
|
|
199
199
|
var i = ii(t[0] * 255, t[1] * 255, t[2] * 255);
|
|
200
200
|
return i[1] += e, i[1] > 1 ? i[1] = 1 : i[1] <= 0 && (i[1] = 0), ei(i[0], i[1], i[2]);
|
|
201
201
|
}
|
|
202
|
-
function
|
|
202
|
+
function ki(t, e) {
|
|
203
203
|
var i = ii(t[0] * 255, t[1] * 255, t[2] * 255);
|
|
204
204
|
return i[2] += e, i[2] > 1 ? i[2] = 1 : i[2] < 0 && (i[2] = 0), ei(i[0], i[1], i[2]);
|
|
205
205
|
}
|
|
@@ -216,22 +216,22 @@ function _r() {
|
|
|
216
216
|
};
|
|
217
217
|
})();
|
|
218
218
|
var gs = function(e) {
|
|
219
|
-
|
|
219
|
+
ve = !!e;
|
|
220
220
|
}, ys = function() {
|
|
221
|
-
return
|
|
221
|
+
return ve;
|
|
222
222
|
}, _s = function(e) {
|
|
223
|
-
|
|
223
|
+
me = e;
|
|
224
224
|
}, Oe = function() {
|
|
225
|
-
return
|
|
225
|
+
return me;
|
|
226
226
|
}, Be = function(e) {
|
|
227
227
|
yi = e;
|
|
228
228
|
}, Ne = function() {
|
|
229
229
|
return yi;
|
|
230
230
|
}, bs = function(e) {
|
|
231
|
-
|
|
231
|
+
se = e;
|
|
232
232
|
};
|
|
233
233
|
function W(t) {
|
|
234
|
-
return document.createElementNS(
|
|
234
|
+
return document.createElementNS(ue, t);
|
|
235
235
|
}
|
|
236
236
|
function si(t) {
|
|
237
237
|
"@babel/helpers - typeof";
|
|
@@ -241,7 +241,7 @@ function _r() {
|
|
|
241
241
|
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
242
242
|
}, si(t);
|
|
243
243
|
}
|
|
244
|
-
var
|
|
244
|
+
var ge = /* @__PURE__ */ (function() {
|
|
245
245
|
var t = 1, e = [], i, s, n = {
|
|
246
246
|
onmessage: function() {
|
|
247
247
|
},
|
|
@@ -258,17 +258,17 @@ function _r() {
|
|
|
258
258
|
}
|
|
259
259
|
};
|
|
260
260
|
function o(p) {
|
|
261
|
-
if (window.Worker && window.Blob &&
|
|
261
|
+
if (window.Worker && window.Blob && Et()) {
|
|
262
262
|
var b = new Blob(["var _workerSelf = self; self.onmessage = ", p.toString()], {
|
|
263
263
|
type: "text/javascript"
|
|
264
|
-
}),
|
|
265
|
-
return new Worker(
|
|
264
|
+
}), A = URL.createObjectURL(b);
|
|
265
|
+
return new Worker(A);
|
|
266
266
|
}
|
|
267
267
|
return i = p, n;
|
|
268
268
|
}
|
|
269
269
|
function c() {
|
|
270
270
|
s || (s = o(function(b) {
|
|
271
|
-
function
|
|
271
|
+
function A() {
|
|
272
272
|
function C(F, d) {
|
|
273
273
|
var P, a, l = F.length, E, w, R, z;
|
|
274
274
|
for (a = 0; a < l; a += 1)
|
|
@@ -320,7 +320,7 @@ function _r() {
|
|
|
320
320
|
for (d = 0; d < P; d += 1)
|
|
321
321
|
F.i[d][0] += F.v[d][0], F.i[d][1] += F.v[d][1], F.o[d][0] += F.v[d][0], F.o[d][1] += F.v[d][1];
|
|
322
322
|
}
|
|
323
|
-
function
|
|
323
|
+
function k(F, d) {
|
|
324
324
|
var P = d ? d.split(".") : [100, 100, 100];
|
|
325
325
|
return F[0] > P[0] ? !0 : P[0] > F[0] ? !1 : F[1] > P[1] ? !0 : P[1] > F[1] ? !1 : F[2] > P[2] ? !0 : P[2] > F[2] ? !1 : null;
|
|
326
326
|
}
|
|
@@ -341,7 +341,7 @@ function _r() {
|
|
|
341
341
|
a[l].ty === 5 && d(a[l]);
|
|
342
342
|
}
|
|
343
343
|
return function(a) {
|
|
344
|
-
if (
|
|
344
|
+
if (k(F, a.v) && (P(a.layers), a.assets)) {
|
|
345
345
|
var l, E = a.assets.length;
|
|
346
346
|
for (l = 0; l < E; l += 1)
|
|
347
347
|
a.assets[l].layers && P(a.assets[l].layers);
|
|
@@ -350,7 +350,7 @@ function _r() {
|
|
|
350
350
|
})(), x = /* @__PURE__ */ (function() {
|
|
351
351
|
var F = [4, 7, 99];
|
|
352
352
|
return function(d) {
|
|
353
|
-
if (d.chars && !
|
|
353
|
+
if (d.chars && !k(F, d.v)) {
|
|
354
354
|
var P, a = d.chars.length;
|
|
355
355
|
for (P = 0; P < a; P += 1) {
|
|
356
356
|
var l = d.chars[P];
|
|
@@ -432,7 +432,7 @@ function _r() {
|
|
|
432
432
|
a[l].ty === 5 && d(a[l]);
|
|
433
433
|
}
|
|
434
434
|
return function(a) {
|
|
435
|
-
if (
|
|
435
|
+
if (k(F, a.v) && (P(a.layers), a.assets)) {
|
|
436
436
|
var l, E = a.assets.length;
|
|
437
437
|
for (l = 0; l < E; l += 1)
|
|
438
438
|
a.assets[l].layers && P(a.assets[l].layers);
|
|
@@ -458,7 +458,7 @@ function _r() {
|
|
|
458
458
|
a[l].ty === 4 && d(a[l].shapes);
|
|
459
459
|
}
|
|
460
460
|
return function(a) {
|
|
461
|
-
if (
|
|
461
|
+
if (k(F, a.v) && (P(a.layers), a.assets)) {
|
|
462
462
|
var l, E = a.assets.length;
|
|
463
463
|
for (l = 0; l < E; l += 1)
|
|
464
464
|
a.assets[l].layers && P(a.assets[l].layers);
|
|
@@ -493,7 +493,7 @@ function _r() {
|
|
|
493
493
|
}
|
|
494
494
|
}
|
|
495
495
|
return function(a) {
|
|
496
|
-
if (
|
|
496
|
+
if (k(F, a.v) && (P(a.layers), a.assets)) {
|
|
497
497
|
var l, E = a.assets.length;
|
|
498
498
|
for (l = 0; l < E; l += 1)
|
|
499
499
|
a.assets[l].layers && P(a.assets[l].layers);
|
|
@@ -509,13 +509,13 @@ function _r() {
|
|
|
509
509
|
var O = {};
|
|
510
510
|
return O.completeData = L, O.checkColors = q, O.checkChars = x, O.checkPathProperties = I, O.checkShapes = N, O.completeLayers = C, O;
|
|
511
511
|
}
|
|
512
|
-
if (r.dataManager || (r.dataManager =
|
|
512
|
+
if (r.dataManager || (r.dataManager = A()), r.assetLoader || (r.assetLoader = /* @__PURE__ */ (function() {
|
|
513
513
|
function C(v) {
|
|
514
514
|
var f = v.getResponseHeader("content-type");
|
|
515
515
|
return f && v.responseType === "json" && f.indexOf("json") !== -1 || v.response && si(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
|
-
var
|
|
518
|
+
var k, T = new XMLHttpRequest();
|
|
519
519
|
try {
|
|
520
520
|
T.responseType = "json";
|
|
521
521
|
} catch {
|
|
@@ -523,10 +523,10 @@ function _r() {
|
|
|
523
523
|
T.onreadystatechange = function() {
|
|
524
524
|
if (T.readyState === 4)
|
|
525
525
|
if (T.status === 200)
|
|
526
|
-
|
|
526
|
+
k = C(T), u(k);
|
|
527
527
|
else
|
|
528
528
|
try {
|
|
529
|
-
|
|
529
|
+
k = C(T), u(k);
|
|
530
530
|
} catch (x) {
|
|
531
531
|
g && g(x);
|
|
532
532
|
}
|
|
@@ -574,21 +574,21 @@ function _r() {
|
|
|
574
574
|
});
|
|
575
575
|
});
|
|
576
576
|
}), s.onmessage = function(p) {
|
|
577
|
-
var b = p.data,
|
|
578
|
-
e[
|
|
577
|
+
var b = p.data, A = b.id, S = e[A];
|
|
578
|
+
e[A] = null, b.status === "success" ? S.onComplete(b.payload) : S.onError && S.onError();
|
|
579
579
|
});
|
|
580
580
|
}
|
|
581
581
|
function h(p, b) {
|
|
582
582
|
t += 1;
|
|
583
|
-
var
|
|
584
|
-
return e[
|
|
583
|
+
var A = "processId_" + t;
|
|
584
|
+
return e[A] = {
|
|
585
585
|
onComplete: p,
|
|
586
586
|
onError: b
|
|
587
|
-
},
|
|
587
|
+
}, A;
|
|
588
588
|
}
|
|
589
|
-
function m(p, b,
|
|
589
|
+
function m(p, b, A) {
|
|
590
590
|
c();
|
|
591
|
-
var S = h(b,
|
|
591
|
+
var S = h(b, A);
|
|
592
592
|
s.postMessage({
|
|
593
593
|
type: "loadAnimation",
|
|
594
594
|
path: p,
|
|
@@ -596,9 +596,9 @@ function _r() {
|
|
|
596
596
|
id: S
|
|
597
597
|
});
|
|
598
598
|
}
|
|
599
|
-
function _(p, b,
|
|
599
|
+
function _(p, b, A) {
|
|
600
600
|
c();
|
|
601
|
-
var S = h(b,
|
|
601
|
+
var S = h(b, A);
|
|
602
602
|
s.postMessage({
|
|
603
603
|
type: "loadData",
|
|
604
604
|
path: p,
|
|
@@ -606,9 +606,9 @@ function _r() {
|
|
|
606
606
|
id: S
|
|
607
607
|
});
|
|
608
608
|
}
|
|
609
|
-
function M(p, b,
|
|
609
|
+
function M(p, b, A) {
|
|
610
610
|
c();
|
|
611
|
-
var S = h(b,
|
|
611
|
+
var S = h(b, A);
|
|
612
612
|
s.postMessage({
|
|
613
613
|
type: "complete",
|
|
614
614
|
animation: p,
|
|
@@ -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 ge.loadData(f, (function(u) {
|
|
680
680
|
v.img = u, this._footageLoaded();
|
|
681
681
|
}).bind(this), (function() {
|
|
682
682
|
v.img = {}, this._footageLoaded();
|
|
@@ -708,7 +708,7 @@ function _r() {
|
|
|
708
708
|
function b() {
|
|
709
709
|
return this.totalImages === this.loadedAssets;
|
|
710
710
|
}
|
|
711
|
-
function
|
|
711
|
+
function A() {
|
|
712
712
|
return this.totalFootages === this.loadedFootagesCount;
|
|
713
713
|
}
|
|
714
714
|
function S(y, v) {
|
|
@@ -722,7 +722,7 @@ function _r() {
|
|
|
722
722
|
setAssetsPath: _,
|
|
723
723
|
setPath: m,
|
|
724
724
|
loadedImages: b,
|
|
725
|
-
loadedFootages:
|
|
725
|
+
loadedFootages: A,
|
|
726
726
|
destroy: p,
|
|
727
727
|
getAsset: M,
|
|
728
728
|
createImgData: o,
|
|
@@ -785,7 +785,7 @@ function _r() {
|
|
|
785
785
|
}
|
|
786
786
|
return i;
|
|
787
787
|
};
|
|
788
|
-
})(),
|
|
788
|
+
})(), As = /* @__PURE__ */ (function() {
|
|
789
789
|
function t(e) {
|
|
790
790
|
this.compositions.push(e);
|
|
791
791
|
}
|
|
@@ -800,17 +800,17 @@ function _r() {
|
|
|
800
800
|
}
|
|
801
801
|
return e.compositions = [], e.currentFrame = 0, e.registerComposition = t, e;
|
|
802
802
|
};
|
|
803
|
-
})(),
|
|
804
|
-
|
|
803
|
+
})(), ye = {}, ks = function(e, i) {
|
|
804
|
+
ye[e] = i;
|
|
805
805
|
};
|
|
806
806
|
function ws(t) {
|
|
807
|
-
return
|
|
807
|
+
return ye[t];
|
|
808
808
|
}
|
|
809
809
|
function Cs() {
|
|
810
|
-
if (
|
|
810
|
+
if (ye.canvas)
|
|
811
811
|
return "canvas";
|
|
812
|
-
for (var t in
|
|
813
|
-
if (
|
|
812
|
+
for (var t in ye)
|
|
813
|
+
if (ye[t])
|
|
814
814
|
return t;
|
|
815
815
|
return "";
|
|
816
816
|
}
|
|
@@ -823,18 +823,18 @@ function _r() {
|
|
|
823
823
|
}, je(t);
|
|
824
824
|
}
|
|
825
825
|
var j = 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 =
|
|
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 = As(), this.imagePreloader = new Ss(), this.audioController = Ve(), this.markers = [], this.configAnimation = this.configAnimation.bind(this), this.onSetupError = this.onSetupError.bind(this), this.onSegmentComplete = this.onSegmentComplete.bind(this), this.drawnFrameEvent = new ti("drawnFrame", 0, 0, 0), this.expressionsPlugin = Oe();
|
|
827
827
|
};
|
|
828
828
|
X([Ci], j), j.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")), ge.loadAnimation(t.path, this.configAnimation, this.onSetupError));
|
|
834
834
|
}, j.prototype.onSetupError = function() {
|
|
835
835
|
this.trigger("data_failed");
|
|
836
836
|
}, j.prototype.setupAnimation = function(t) {
|
|
837
|
-
|
|
837
|
+
ge.completeAnimation(t, this.configAnimation);
|
|
838
838
|
}, j.prototype.setData = function(t, e) {
|
|
839
839
|
e && je(e) !== "object" && (e = JSON.parse(e));
|
|
840
840
|
var i = {
|
|
@@ -862,7 +862,7 @@ 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, ge.completeAnimation(this.animationData, this.onSegmentComplete);
|
|
866
866
|
}, j.prototype.onSegmentComplete = function(t) {
|
|
867
867
|
this.animationData = t;
|
|
868
868
|
var e = Oe();
|
|
@@ -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, ge.loadData(i, this.includeLayers.bind(this), (function() {
|
|
880
880
|
this.trigger("data_failed");
|
|
881
881
|
}).bind(this));
|
|
882
882
|
}, j.prototype.loadSegments = function() {
|
|
@@ -1093,7 +1093,7 @@ function _r() {
|
|
|
1093
1093
|
var P = new j();
|
|
1094
1094
|
return p(P, null), P.setParams(d), P;
|
|
1095
1095
|
}
|
|
1096
|
-
function
|
|
1096
|
+
function A(d, P) {
|
|
1097
1097
|
var a;
|
|
1098
1098
|
for (a = 0; a < s; a += 1)
|
|
1099
1099
|
e[a].animation.setSpeed(d, P);
|
|
@@ -1132,7 +1132,7 @@ function _r() {
|
|
|
1132
1132
|
for (P = 0; P < s; P += 1)
|
|
1133
1133
|
e[P].animation.stop(d);
|
|
1134
1134
|
}
|
|
1135
|
-
function
|
|
1135
|
+
function k(d) {
|
|
1136
1136
|
var P;
|
|
1137
1137
|
for (P = 0; P < s; P += 1)
|
|
1138
1138
|
e[P].animation.togglePause(d);
|
|
@@ -1183,13 +1183,13 @@ function _r() {
|
|
|
1183
1183
|
for (P = 0; P < s; P += 1)
|
|
1184
1184
|
e[P].animation.unmute(d);
|
|
1185
1185
|
}
|
|
1186
|
-
return t.registerAnimation = h, t.loadAnimation = b, t.setSpeed =
|
|
1187
|
-
})(),
|
|
1186
|
+
return t.registerAnimation = h, t.loadAnimation = b, t.setSpeed = A, t.setDirection = S, t.play = C, t.pause = f, t.stop = g, t.togglePause = k, 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
|
+
})(), _e = (function() {
|
|
1188
1188
|
var t = {};
|
|
1189
1189
|
t.getBezierEasing = i;
|
|
1190
1190
|
var e = {};
|
|
1191
|
-
function i(v, f, u, g,
|
|
1192
|
-
var T =
|
|
1191
|
+
function i(v, f, u, g, k) {
|
|
1192
|
+
var T = k || ("bez_" + v + "_" + f + "_" + u + "_" + g).replace(/\./g, "p");
|
|
1193
1193
|
if (e[T])
|
|
1194
1194
|
return e[T];
|
|
1195
1195
|
var x = new y([v, f, u, g]);
|
|
@@ -1208,19 +1208,19 @@ function _r() {
|
|
|
1208
1208
|
function b(v, f, u) {
|
|
1209
1209
|
return ((_(f, u) * v + M(f, u)) * v + p(f)) * v;
|
|
1210
1210
|
}
|
|
1211
|
-
function
|
|
1211
|
+
function A(v, f, u) {
|
|
1212
1212
|
return 3 * _(f, u) * v * v + 2 * M(f, u) * v + p(f);
|
|
1213
1213
|
}
|
|
1214
|
-
function S(v, f, u, g,
|
|
1214
|
+
function S(v, f, u, g, k) {
|
|
1215
1215
|
var T, x, I = 0;
|
|
1216
1216
|
do
|
|
1217
|
-
x = f + (u - f) / 2, T = b(x, g,
|
|
1217
|
+
x = f + (u - f) / 2, T = b(x, g, k) - v, T > 0 ? u = x : f = x;
|
|
1218
1218
|
while (Math.abs(T) > r && ++I < o);
|
|
1219
1219
|
return x;
|
|
1220
1220
|
}
|
|
1221
1221
|
function C(v, f, u, g) {
|
|
1222
|
-
for (var
|
|
1223
|
-
var T =
|
|
1222
|
+
for (var k = 0; k < s; ++k) {
|
|
1223
|
+
var T = A(f, u, g);
|
|
1224
1224
|
if (T === 0) return f;
|
|
1225
1225
|
var x = b(f, u, g) - v;
|
|
1226
1226
|
f -= x / T;
|
|
@@ -1232,13 +1232,13 @@ function _r() {
|
|
|
1232
1232
|
}
|
|
1233
1233
|
return y.prototype = {
|
|
1234
1234
|
get: function(f) {
|
|
1235
|
-
var u = this._p[0], g = this._p[1],
|
|
1236
|
-
return this._precomputed || this._precompute(), u === g &&
|
|
1235
|
+
var u = this._p[0], g = this._p[1], k = this._p[2], T = this._p[3];
|
|
1236
|
+
return this._precomputed || this._precompute(), u === g && k === T ? f : f === 0 ? 0 : f === 1 ? 1 : b(this._getTForX(f), g, T);
|
|
1237
1237
|
},
|
|
1238
1238
|
// Private part
|
|
1239
1239
|
_precompute: function() {
|
|
1240
|
-
var f = this._p[0], u = this._p[1], g = this._p[2],
|
|
1241
|
-
this._precomputed = !0, (f !== u || g !==
|
|
1240
|
+
var f = this._p[0], u = this._p[1], g = this._p[2], k = this._p[3];
|
|
1241
|
+
this._precomputed = !0, (f !== u || g !== k) && this._calcSampleValues();
|
|
1242
1242
|
},
|
|
1243
1243
|
_calcSampleValues: function() {
|
|
1244
1244
|
for (var f = this._p[0], u = this._p[2], g = 0; g < c; ++g)
|
|
@@ -1248,10 +1248,10 @@ function _r() {
|
|
|
1248
1248
|
* getTForX chose the fastest heuristic to determine the percentage value precisely from a given X projection.
|
|
1249
1249
|
*/
|
|
1250
1250
|
_getTForX: function(f) {
|
|
1251
|
-
for (var u = this._p[0], g = this._p[2],
|
|
1251
|
+
for (var u = this._p[0], g = this._p[2], k = this._mSampleValues, T = 0, x = 1, I = c - 1; x !== I && k[x] <= f; ++x)
|
|
1252
1252
|
T += h;
|
|
1253
1253
|
--x;
|
|
1254
|
-
var q = (f -
|
|
1254
|
+
var q = (f - k[x]) / (k[x + 1] - k[x]), N = T + q * h, L = A(N, u, g);
|
|
1255
1255
|
return L >= n ? C(f, N, u, g) : L === 0 ? N : S(f, T, T + h, u, g);
|
|
1256
1256
|
}
|
|
1257
1257
|
}, t;
|
|
@@ -1303,32 +1303,32 @@ function _r() {
|
|
|
1303
1303
|
})();
|
|
1304
1304
|
function Ts() {
|
|
1305
1305
|
var t = Math;
|
|
1306
|
-
function e(p, b,
|
|
1307
|
-
var v = p * S + b * C +
|
|
1306
|
+
function e(p, b, A, S, C, y) {
|
|
1307
|
+
var v = p * S + b * C + A * y - C * S - y * p - A * b;
|
|
1308
1308
|
return v > -1e-3 && v < 1e-3;
|
|
1309
1309
|
}
|
|
1310
|
-
function i(p, b,
|
|
1311
|
-
if (
|
|
1310
|
+
function i(p, b, A, S, C, y, v, f, u) {
|
|
1311
|
+
if (A === 0 && y === 0 && u === 0)
|
|
1312
1312
|
return e(p, b, S, C, v, f);
|
|
1313
|
-
var g = t.sqrt(t.pow(S - p, 2) + t.pow(C - b, 2) + t.pow(y -
|
|
1314
|
-
return g >
|
|
1313
|
+
var g = t.sqrt(t.pow(S - p, 2) + t.pow(C - b, 2) + t.pow(y - A, 2)), k = t.sqrt(t.pow(v - p, 2) + t.pow(f - b, 2) + t.pow(u - A, 2)), T = t.sqrt(t.pow(v - S, 2) + t.pow(f - C, 2) + t.pow(u - y, 2)), x;
|
|
1314
|
+
return g > k ? g > T ? x = g - k - T : x = T - k - g : T > k ? x = T - k - g : x = k - g - T, x > -1e-4 && x < 1e-4;
|
|
1315
1315
|
}
|
|
1316
1316
|
var s = /* @__PURE__ */ (function() {
|
|
1317
|
-
return function(p, b,
|
|
1318
|
-
var C = Ne(), y, v, f, u, g,
|
|
1319
|
-
for (f =
|
|
1317
|
+
return function(p, b, A, S) {
|
|
1318
|
+
var C = Ne(), y, v, f, u, g, k = 0, T, x = [], I = [], q = Mi.newElement();
|
|
1319
|
+
for (f = A.length, y = 0; y < C; y += 1) {
|
|
1320
1320
|
for (g = y / (C - 1), T = 0, v = 0; v < f; v += 1)
|
|
1321
|
-
u =
|
|
1322
|
-
T && (T = gi(T),
|
|
1321
|
+
u = kt(1 - g, 3) * p[v] + 3 * kt(1 - g, 2) * g * A[v] + 3 * (1 - g) * kt(g, 2) * S[v] + kt(g, 3) * b[v], x[v] = u, I[v] !== null && (T += kt(x[v] - I[v], 2)), I[v] = x[v];
|
|
1322
|
+
T && (T = gi(T), k += T), q.percents[y] = g, q.lengths[y] = k;
|
|
1323
1323
|
}
|
|
1324
|
-
return q.addedLength =
|
|
1324
|
+
return q.addedLength = k, q;
|
|
1325
1325
|
};
|
|
1326
1326
|
})();
|
|
1327
1327
|
function n(p) {
|
|
1328
|
-
var b = Ei.newElement(),
|
|
1328
|
+
var b = Ei.newElement(), A = p.c, S = p.v, C = p.o, y = p.i, v, f = p._length, u = b.lengths, g = 0;
|
|
1329
1329
|
for (v = 0; v < f - 1; v += 1)
|
|
1330
1330
|
u[v] = s(S[v], S[v + 1], C[v], y[v + 1]), g += u[v].addedLength;
|
|
1331
|
-
return
|
|
1331
|
+
return A && f && (u[v] = s(S[v], S[0], C[v], y[0]), g += u[v].addedLength), b.totalLength = g, b;
|
|
1332
1332
|
}
|
|
1333
1333
|
function r(p) {
|
|
1334
1334
|
this.segmentLength = 0, this.points = new Array(p);
|
|
@@ -1338,15 +1338,15 @@ function _r() {
|
|
|
1338
1338
|
}
|
|
1339
1339
|
var c = /* @__PURE__ */ (function() {
|
|
1340
1340
|
var p = {};
|
|
1341
|
-
return function(b,
|
|
1342
|
-
var y = (b[0] + "_" + b[1] + "_" +
|
|
1341
|
+
return function(b, A, S, C) {
|
|
1342
|
+
var y = (b[0] + "_" + b[1] + "_" + A[0] + "_" + A[1] + "_" + S[0] + "_" + S[1] + "_" + C[0] + "_" + C[1]).replace(/\./g, "p");
|
|
1343
1343
|
if (!p[y]) {
|
|
1344
|
-
var v = Ne(), f, u, g,
|
|
1345
|
-
b.length === 2 && (b[0] !==
|
|
1344
|
+
var v = Ne(), f, u, g, k, T, x = 0, I, q, N = null;
|
|
1345
|
+
b.length === 2 && (b[0] !== A[0] || b[1] !== A[1]) && e(b[0], b[1], A[0], A[1], b[0] + S[0], b[1] + S[1]) && e(b[0], b[1], A[0], A[1], A[0] + C[0], A[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
1348
|
for (q = tt(g), T = f / (v - 1), I = 0, u = 0; u < g; u += 1)
|
|
1349
|
-
|
|
1349
|
+
k = kt(1 - T, 3) * b[u] + 3 * kt(1 - T, 2) * T * (b[u] + S[u]) + 3 * (1 - T) * kt(T, 2) * (A[u] + C[u]) + kt(T, 3) * A[u], q[u] = k, N !== null && (I += kt(q[u] - N[u], 2));
|
|
1350
1350
|
I = gi(I), x += I, L.points[f] = new o(I, q), N = q;
|
|
1351
1351
|
}
|
|
1352
1352
|
L.segmentLength = x, p[y] = L;
|
|
@@ -1355,29 +1355,29 @@ function _r() {
|
|
|
1355
1355
|
};
|
|
1356
1356
|
})();
|
|
1357
1357
|
function h(p, b) {
|
|
1358
|
-
var
|
|
1358
|
+
var A = b.percents, S = b.lengths, C = A.length, y = Ut((C - 1) * p), v = p * b.addedLength, f = 0;
|
|
1359
1359
|
if (y === C - 1 || y === 0 || v === S[y])
|
|
1360
|
-
return
|
|
1360
|
+
return A[y];
|
|
1361
1361
|
for (var u = S[y] > v ? -1 : 1, g = !0; g; )
|
|
1362
1362
|
if (S[y] <= v && S[y + 1] > v ? (f = (v - S[y]) / (S[y + 1] - S[y]), g = !1) : y += u, y < 0 || y >= C - 1) {
|
|
1363
1363
|
if (y === C - 1)
|
|
1364
|
-
return
|
|
1364
|
+
return A[y];
|
|
1365
1365
|
g = !1;
|
|
1366
1366
|
}
|
|
1367
|
-
return
|
|
1367
|
+
return A[y] + (A[y + 1] - A[y]) * f;
|
|
1368
1368
|
}
|
|
1369
|
-
function m(p, b,
|
|
1370
|
-
var v = h(C, y), f = 1 - v, u = t.round((f * f * f * p[0] + (v * f * f + f * v * f + f * f * v) *
|
|
1369
|
+
function m(p, b, A, S, C, y) {
|
|
1370
|
+
var v = h(C, y), f = 1 - v, u = t.round((f * f * f * p[0] + (v * f * f + f * v * f + f * f * v) * A[0] + (v * v * f + f * v * v + v * f * v) * S[0] + v * v * v * b[0]) * 1e3) / 1e3, g = t.round((f * f * f * p[1] + (v * f * f + f * v * f + f * f * v) * A[1] + (v * v * f + f * v * v + v * f * v) * S[1] + v * v * v * b[1]) * 1e3) / 1e3;
|
|
1371
1371
|
return [u, g];
|
|
1372
1372
|
}
|
|
1373
1373
|
var _ = U("float32", 8);
|
|
1374
|
-
function M(p, b,
|
|
1374
|
+
function M(p, b, A, S, C, y, v) {
|
|
1375
1375
|
C < 0 ? C = 0 : C > 1 && (C = 1);
|
|
1376
1376
|
var f = h(C, v);
|
|
1377
1377
|
y = y > 1 ? 1 : y;
|
|
1378
|
-
var u = h(y, v), g,
|
|
1379
|
-
for (g = 0; g <
|
|
1380
|
-
_[g * 4] = t.round((I * p[g] + q *
|
|
1378
|
+
var u = h(y, v), g, k = p.length, T = 1 - f, x = 1 - u, I = T * T * T, q = f * T * T * 3, N = f * f * T * 3, L = f * f * f, G = T * T * x, O = f * T * x + T * f * x + T * T * u, F = f * f * x + T * f * u + f * T * u, d = f * f * u, P = T * x * x, a = f * x * x + T * u * x + T * x * u, l = f * u * x + T * u * u + f * x * u, E = f * u * u, w = x * x * x, R = u * x * x + x * u * x + x * x * u, z = u * u * x + x * u * u + u * x * u, D = u * u * u;
|
|
1379
|
+
for (g = 0; g < k; g += 1)
|
|
1380
|
+
_[g * 4] = t.round((I * p[g] + q * A[g] + N * S[g] + L * b[g]) * 1e3) / 1e3, _[g * 4 + 1] = t.round((G * p[g] + O * A[g] + F * S[g] + d * b[g]) * 1e3) / 1e3, _[g * 4 + 2] = t.round((P * p[g] + a * A[g] + l * S[g] + E * b[g]) * 1e3) / 1e3, _[g * 4 + 3] = t.round((w * p[g] + R * A[g] + z * S[g] + D * b[g]) * 1e3) / 1e3;
|
|
1381
1381
|
return _;
|
|
1382
1382
|
}
|
|
1383
1383
|
return {
|
|
@@ -1389,7 +1389,7 @@ function _r() {
|
|
|
1389
1389
|
pointOnLine3D: i
|
|
1390
1390
|
};
|
|
1391
1391
|
}
|
|
1392
|
-
var wt = Ts(),
|
|
1392
|
+
var wt = Ts(), Jt = ce, 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));
|
|
@@ -1405,7 +1405,7 @@ function _r() {
|
|
|
1405
1405
|
r < o - 1 ? r += 1 : (n = 0, c = !1);
|
|
1406
1406
|
}
|
|
1407
1407
|
_ = this.keyframesMetadata[r] || {};
|
|
1408
|
-
var M, p, b,
|
|
1408
|
+
var M, p, b, A, S, C, y = m.t - i, v = h.t - i, f;
|
|
1409
1409
|
if (h.to) {
|
|
1410
1410
|
_.bezierData || (_.bezierData = wt.buildBezierData(h.s, m.s || h.e, h.to, h.ti));
|
|
1411
1411
|
var u = _.bezierData;
|
|
@@ -1414,19 +1414,19 @@ function _r() {
|
|
|
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 =
|
|
1418
|
-
var
|
|
1419
|
-
for (S = e.lastFrame < t && e._lastKeyframeIndex === r ? e._lastPoint : 0, c = !0,
|
|
1420
|
-
if (x += u.points[S].partialLength,
|
|
1417
|
+
_.__fnct ? C = _.__fnct : (C = _e.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
|
+
var k = u.segmentLength * b, T, x = e.lastFrame < t && e._lastKeyframeIndex === r ? e._lastAddedLength : 0;
|
|
1419
|
+
for (S = e.lastFrame < t && e._lastKeyframeIndex === r ? e._lastPoint : 0, c = !0, A = u.points.length; c; ) {
|
|
1420
|
+
if (x += u.points[S].partialLength, k === 0 || b === 0 || S === u.points.length - 1) {
|
|
1421
1421
|
for (p = u.points[S].point.length, M = 0; M < p; M += 1)
|
|
1422
1422
|
s[M] = u.points[S].point[M];
|
|
1423
1423
|
break;
|
|
1424
|
-
} else if (
|
|
1425
|
-
for (T = (
|
|
1424
|
+
} else if (k >= x && k < x + u.points[S + 1].partialLength) {
|
|
1425
|
+
for (T = (k - x) / u.points[S + 1].partialLength, p = u.points[S].point.length, M = 0; M < p; M += 1)
|
|
1426
1426
|
s[M] = u.points[S].point[M] + (u.points[S + 1].point[M] - u.points[S].point[M]) * T;
|
|
1427
1427
|
break;
|
|
1428
1428
|
}
|
|
1429
|
-
S <
|
|
1429
|
+
S < A - 1 ? S += 1 : c = !1;
|
|
1430
1430
|
}
|
|
1431
1431
|
e._lastPoint = S, e._lastAddedLength = x - u.points[S].partialLength, e._lastKeyframeIndex = r;
|
|
1432
1432
|
}
|
|
@@ -1443,13 +1443,13 @@ 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], q = 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], q = 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 = _e.getBezierEasing(I, q, N, L).get, _.__fnct[r] = C)) : _.__fnct ? C = _.__fnct : (I = h.o.x, q = h.o.y, N = h.i.x, L = h.i.y, C = _e.getBezierEasing(I, q, 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
|
}
|
|
1450
1450
|
function Ms(t, e, i) {
|
|
1451
|
-
var s = [], n = t[0], r = t[1], o = t[2], c = t[3], h = e[0], m = e[1], _ = e[2], M = e[3], p, b,
|
|
1452
|
-
return b = n * h + r * m + o * _ + c * M, b < 0 && (b = -b, h = -h, m = -m, _ = -_, M = -M), 1 - b > 1e-6 ? (p = Math.acos(b),
|
|
1451
|
+
var s = [], n = t[0], r = t[1], o = t[2], c = t[3], h = e[0], m = e[1], _ = e[2], M = e[3], p, b, A, S, C;
|
|
1452
|
+
return b = n * h + r * m + o * _ + c * M, b < 0 && (b = -b, h = -h, m = -m, _ = -_, M = -M), 1 - b > 1e-6 ? (p = Math.acos(b), A = Math.sin(p), S = Math.sin((1 - i) * p) / A, C = Math.sin(i * p) / A) : (S = 1 - i, C = i), s[0] = S * n + C * h, s[1] = S * r + C * m, s[2] = S * o + C * _, s[3] = S * c + C * M, s;
|
|
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);
|
|
@@ -1461,7 +1461,7 @@ function _r() {
|
|
|
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 !== Jt && (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;
|
|
@@ -1504,11 +1504,11 @@ function _r() {
|
|
|
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: Jt,
|
|
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 = Jt, this.pv = Jt, this._isFirstFrame = !0, this.getValue = De, this.setVValue = qe, this.interpolateValue = Fi, this.effectsSequence = [Li.bind(this)], this.addEffect = We;
|
|
1512
1512
|
}
|
|
1513
1513
|
function Ls(t, e, i, s) {
|
|
1514
1514
|
this.propType = "multidimensional";
|
|
@@ -1518,9 +1518,9 @@ function _r() {
|
|
|
1518
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 = De, this.setVValue = qe, 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] = Jt, this.pv[n] = Jt;
|
|
1522
1522
|
this._caching = {
|
|
1523
|
-
lastFrame:
|
|
1523
|
+
lastFrame: Jt,
|
|
1524
1524
|
lastIndex: 0,
|
|
1525
1525
|
value: U("float32", _)
|
|
1526
1526
|
}, this.addEffect = We;
|
|
@@ -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 Qt = (function() {
|
|
1569
1569
|
function t() {
|
|
1570
1570
|
return U("float32", 2);
|
|
1571
1571
|
}
|
|
1572
1572
|
return ze(8, t);
|
|
1573
1573
|
})();
|
|
1574
|
-
function
|
|
1574
|
+
function xt() {
|
|
1575
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
|
+
xt.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] = Qt.newElement(), this.o[i] = Qt.newElement(), this.i[i] = Qt.newElement(), i += 1;
|
|
1581
|
+
}, xt.prototype.setLength = function(t) {
|
|
1582
1582
|
for (; this._maxLength < t; )
|
|
1583
1583
|
this.doubleArrayLength();
|
|
1584
1584
|
this._length = t;
|
|
1585
|
-
},
|
|
1585
|
+
}, xt.prototype.doubleArrayLength = function() {
|
|
1586
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
|
-
},
|
|
1587
|
+
}, xt.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] = Qt.newElement()), r[s][0] = t, r[s][1] = e;
|
|
1604
|
+
}, xt.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
|
+
}, xt.prototype.reverse = function() {
|
|
1607
|
+
var t = new xt();
|
|
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
|
+
}, xt.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 xt();
|
|
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
|
+
Qt.release(n.v[o]), Qt.release(n.i[o]), Qt.release(n.o[o]), n.v[o] = null, n.i[o] = null, n.o[o] = null;
|
|
1626
1626
|
n._length = 0, n.c = !1;
|
|
1627
1627
|
}
|
|
1628
1628
|
function i(n) {
|
|
@@ -1645,7 +1645,7 @@ function _r() {
|
|
|
1645
1645
|
ot.release(this.shapes[t]);
|
|
1646
1646
|
this._length = 0;
|
|
1647
1647
|
};
|
|
1648
|
-
var
|
|
1648
|
+
var re = (function() {
|
|
1649
1649
|
var t = {
|
|
1650
1650
|
newShapeCollection: n,
|
|
1651
1651
|
release: r
|
|
@@ -1664,7 +1664,7 @@ function _r() {
|
|
|
1664
1664
|
})(), Ge = (function() {
|
|
1665
1665
|
var t = -999999;
|
|
1666
1666
|
function e(y, v, f) {
|
|
1667
|
-
var u = f.lastIndex, g,
|
|
1667
|
+
var u = f.lastIndex, g, k, T, x, I, q, N, L, G, O = this.keyframes;
|
|
1668
1668
|
if (y < O[0].t - this.offsetTime)
|
|
1669
1669
|
g = O[0].s[0], T = !0, u = 0;
|
|
1670
1670
|
else if (y >= O[O.length - 1].t - this.offsetTime)
|
|
@@ -1679,15 +1679,15 @@ 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 = _e.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
|
+
k = l.s ? l.s[0] : a.e[0];
|
|
1685
1685
|
}
|
|
1686
1686
|
g = a.s[0];
|
|
1687
1687
|
}
|
|
1688
1688
|
for (q = v._length, N = g.i[0].length, f.lastIndex = u, x = 0; x < q; x += 1)
|
|
1689
1689
|
for (I = 0; I < N; I += 1)
|
|
1690
|
-
G = T ? g.i[x][I] : g.i[x][I] + (
|
|
1690
|
+
G = T ? g.i[x][I] : g.i[x][I] + (k.i[x][I] - g.i[x][I]) * L, v.i[x][I] = G, G = T ? g.o[x][I] : g.o[x][I] + (k.o[x][I] - g.o[x][I]) * L, v.o[x][I] = G, G = T ? g.v[x][I] : g.v[x][I] + (k.v[x][I] - g.v[x][I]) * L, v.v[x][I] = G;
|
|
1691
1691
|
}
|
|
1692
1692
|
function i() {
|
|
1693
1693
|
var y = this.comp.renderedFrame - this.offsetTime, v = this.keyframes[0].t - this.offsetTime, f = this.keyframes[this.keyframes.length - 1].t - this.offsetTime, u = this._caching.lastFrame;
|
|
@@ -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 = re.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,16 +1739,16 @@ 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 = re.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)];
|
|
1746
1746
|
}
|
|
1747
1747
|
m.prototype.getValue = o, m.prototype.interpolateShape = e, m.prototype.setVValue = r, m.prototype.addEffect = h;
|
|
1748
1748
|
var _ = (function() {
|
|
1749
|
-
var y =
|
|
1749
|
+
var y = Bt;
|
|
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 = re.newShapeCollection(), this.paths = this.localShapeCollection, this.localShapeCollection.addShape(this.v), this.d = u.d, this.elem = f, this.comp = f.comp, this.frameId = -1, this.initDynamicPropertyContainer(f), this.p = V.getProp(f, u.p, 1, 0, this), this.s = V.getProp(f, u.s, 1, 0, this), this.dynamicProperties.length ? this.k = !0 : (this.k = !1, this.convertEllToPath());
|
|
1752
1752
|
}
|
|
1753
1753
|
return v.prototype = {
|
|
1754
1754
|
reset: s,
|
|
@@ -1756,13 +1756,13 @@ function _r() {
|
|
|
1756
1756
|
this.elem.globalData.frameId !== this.frameId && (this.frameId = this.elem.globalData.frameId, this.iterateDynamicProperties(), this._mdf && this.convertEllToPath());
|
|
1757
1757
|
},
|
|
1758
1758
|
convertEllToPath: function() {
|
|
1759
|
-
var u = this.p.v[0], g = this.p.v[1],
|
|
1760
|
-
I.v[0][0] = u, I.v[0][1] = g - T, I.v[1][0] = x ? u +
|
|
1759
|
+
var u = this.p.v[0], g = this.p.v[1], k = this.s.v[0] / 2, T = this.s.v[1] / 2, x = this.d !== 3, I = this.v;
|
|
1760
|
+
I.v[0][0] = u, I.v[0][1] = g - T, I.v[1][0] = x ? u + k : u - k, I.v[1][1] = g, I.v[2][0] = u, I.v[2][1] = g + T, I.v[3][0] = x ? u - k : u + k, I.v[3][1] = g, I.i[0][0] = x ? u - k * y : u + k * y, I.i[0][1] = g - T, I.i[1][0] = x ? u + k : u - k, I.i[1][1] = g - T * y, I.i[2][0] = x ? u + k * y : u - k * y, I.i[2][1] = g + T, I.i[3][0] = x ? u - k : u + k, I.i[3][1] = g + T * y, I.o[0][0] = x ? u + k * y : u - k * y, I.o[0][1] = g - T, I.o[1][0] = x ? u + k : u - k, I.o[1][1] = g + T * y, I.o[2][0] = x ? u - k * y : u + k * y, I.o[2][1] = g + T, I.o[3][0] = x ? u - k : u + k, I.o[3][1] = g - T * y;
|
|
1761
1761
|
}
|
|
1762
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, 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 =
|
|
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 = re.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,
|
|
@@ -1770,32 +1770,32 @@ function _r() {
|
|
|
1770
1770
|
this.elem.globalData.frameId !== this.frameId && (this.frameId = this.elem.globalData.frameId, this.iterateDynamicProperties(), this._mdf && this.convertToPath());
|
|
1771
1771
|
},
|
|
1772
1772
|
convertStarToPath: function() {
|
|
1773
|
-
var f = Math.floor(this.pt.v) * 2, u = Math.PI * 2 / f, g = !0,
|
|
1773
|
+
var f = Math.floor(this.pt.v) * 2, u = Math.PI * 2 / f, g = !0, k = this.or.v, T = this.ir.v, x = this.os.v, I = this.is.v, q = 2 * Math.PI * k / (f * 2), N = 2 * Math.PI * T / (f * 2), L, G, O, F, d = -Math.PI / 2;
|
|
1774
1774
|
d += this.r.v;
|
|
1775
1775
|
var P = this.data.d === 3 ? -1 : 1;
|
|
1776
1776
|
for (this.v._length = 0, L = 0; L < f; L += 1) {
|
|
1777
|
-
G = g ?
|
|
1777
|
+
G = g ? k : T, O = g ? x : I, F = g ? q : N;
|
|
1778
1778
|
var a = G * Math.cos(d), l = G * Math.sin(d), E = a === 0 && l === 0 ? 0 : l / Math.sqrt(a * a + l * l), w = a === 0 && l === 0 ? 0 : -a / Math.sqrt(a * a + l * l);
|
|
1779
1779
|
a += +this.p.v[0], l += +this.p.v[1], this.v.setTripleAt(a, l, a - E * F * O * P, l - w * F * O * P, a + E * F * O * P, l + w * F * O * P, L, !0), g = !g, d += u * P;
|
|
1780
1780
|
}
|
|
1781
1781
|
},
|
|
1782
1782
|
convertPolygonToPath: function() {
|
|
1783
|
-
var f = Math.floor(this.pt.v), u = Math.PI * 2 / f, g = this.or.v,
|
|
1783
|
+
var f = Math.floor(this.pt.v), u = Math.PI * 2 / f, g = this.or.v, k = this.os.v, T = 2 * Math.PI * g / (f * 4), x, I = -Math.PI * 0.5, q = this.data.d === 3 ? -1 : 1;
|
|
1784
1784
|
for (I += this.r.v, this.v._length = 0, x = 0; x < f; x += 1) {
|
|
1785
1785
|
var N = g * Math.cos(I), L = g * Math.sin(I), G = N === 0 && L === 0 ? 0 : L / Math.sqrt(N * N + L * L), O = N === 0 && L === 0 ? 0 : -N / Math.sqrt(N * N + L * L);
|
|
1786
|
-
N += +this.p.v[0], L += +this.p.v[1], this.v.setTripleAt(N, L, N - G * T *
|
|
1786
|
+
N += +this.p.v[0], L += +this.p.v[1], this.v.setTripleAt(N, L, N - G * T * k * q, L - O * T * k * q, N + G * T * k * q, L + O * T * k * q, x, !0), I += u * q;
|
|
1787
1787
|
}
|
|
1788
1788
|
this.paths.length = 0, this.paths[0] = this.v;
|
|
1789
1789
|
}
|
|
1790
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 = re.newShapeCollection(), this.localShapeCollection.addShape(this.v), this.paths = this.localShapeCollection, this.elem = v, this.comp = v.comp, this.frameId = -1, this.d = f.d, this.initDynamicPropertyContainer(v), this.p = V.getProp(v, f.p, 1, 0, this), this.s = V.getProp(v, f.s, 1, 0, this), this.r = V.getProp(v, f.r, 0, 0, this), this.dynamicProperties.length ? this.k = !0 : (this.k = !1, this.convertRectToPath());
|
|
1794
1794
|
}
|
|
1795
1795
|
return y.prototype = {
|
|
1796
1796
|
convertRectToPath: function() {
|
|
1797
|
-
var f = this.p.v[0], u = this.p.v[1], g = this.s.v[0] / 2,
|
|
1798
|
-
this.v._length = 0, this.d === 2 || this.d === 1 ? (this.v.setTripleAt(f + g, u -
|
|
1797
|
+
var f = this.p.v[0], u = this.p.v[1], g = this.s.v[0] / 2, k = this.s.v[1] / 2, T = ds(g, k, this.r.v), x = T * (1 - Bt);
|
|
1798
|
+
this.v._length = 0, this.d === 2 || this.d === 1 ? (this.v.setTripleAt(f + g, u - k + T, f + g, u - k + T, f + g, u - k + x, 0, !0), this.v.setTripleAt(f + g, u + k - T, f + g, u + k - x, f + g, u + k - T, 1, !0), T !== 0 ? (this.v.setTripleAt(f + g - T, u + k, f + g - T, u + k, f + g - x, u + k, 2, !0), this.v.setTripleAt(f - g + T, u + k, f - g + x, u + k, f - g + T, u + k, 3, !0), this.v.setTripleAt(f - g, u + k - T, f - g, u + k - T, f - g, u + k - x, 4, !0), this.v.setTripleAt(f - g, u - k + T, f - g, u - k + x, f - g, u - k + T, 5, !0), this.v.setTripleAt(f - g + T, u - k, f - g + T, u - k, f - g + x, u - k, 6, !0), this.v.setTripleAt(f + g - T, u - k, f + g - x, u - k, f + g - T, u - k, 7, !0)) : (this.v.setTripleAt(f - g, u + k, f - g + x, u + k, f - g, u + k, 2), this.v.setTripleAt(f - g, u - k, f - g, u - k + x, f - g, u - k, 3))) : (this.v.setTripleAt(f + g, u - k + T, f + g, u - k + x, f + g, u - k + T, 0, !0), T !== 0 ? (this.v.setTripleAt(f + g - T, u - k, f + g - T, u - k, f + g - x, u - k, 1, !0), this.v.setTripleAt(f - g + T, u - k, f - g + x, u - k, f - g + T, u - k, 2, !0), this.v.setTripleAt(f - g, u - k + T, f - g, u - k + T, f - g, u - k + x, 3, !0), this.v.setTripleAt(f - g, u + k - T, f - g, u + k - x, f - g, u + k - T, 4, !0), this.v.setTripleAt(f - g + T, u + k, f - g + T, u + k, f - g + x, u + k, 5, !0), this.v.setTripleAt(f + g - T, u + k, f + g - x, u + k, f + g - T, u + k, 6, !0), this.v.setTripleAt(f + g, u + k - T, f + g, u + k - T, f + g, u + k - x, 7, !0)) : (this.v.setTripleAt(f - g, u - k, f - g + x, u - k, f - g, u - k, 1, !0), this.v.setTripleAt(f - g, u + k, f - g, u + k - x, f - g, u + k, 2, !0), this.v.setTripleAt(f + g, u + k, f + g - x, u + k, f + g, u + k, 3, !0)));
|
|
1799
1799
|
},
|
|
1800
1800
|
getValue: function() {
|
|
1801
1801
|
this.elem.globalData.frameId !== this.frameId && (this.frameId = this.elem.globalData.frameId, this.iterateDynamicProperties(), this._mdf && this.convertRectToPath());
|
|
@@ -1806,28 +1806,20 @@ function _r() {
|
|
|
1806
1806
|
function b(y, v, f) {
|
|
1807
1807
|
var u;
|
|
1808
1808
|
if (f === 3 || f === 4) {
|
|
1809
|
-
var g = f === 3 ? v.pt : v.ks,
|
|
1810
|
-
|
|
1809
|
+
var g = f === 3 ? v.pt : v.ks, k = g.k;
|
|
1810
|
+
k.length ? u = new m(y, v, f) : u = new c(y, v, f);
|
|
1811
1811
|
} else f === 5 ? u = new p(y, v) : f === 6 ? u = new _(y, v) : f === 7 && (u = new M(y, v));
|
|
1812
1812
|
return u.k && y.addDynamicProperty(u), u;
|
|
1813
1813
|
}
|
|
1814
|
-
function
|
|
1814
|
+
function A() {
|
|
1815
1815
|
return c;
|
|
1816
1816
|
}
|
|
1817
1817
|
function S() {
|
|
1818
1818
|
return m;
|
|
1819
1819
|
}
|
|
1820
1820
|
var C = {};
|
|
1821
|
-
return C.getShapeProp = b, C.getConstructorFunction =
|
|
1821
|
+
return C.getShapeProp = b, C.getConstructorFunction = A, C.getKeyframedConstructorFunction = S, C;
|
|
1822
1822
|
})();
|
|
1823
|
-
/*!
|
|
1824
|
-
Transformation Matrix v2.0
|
|
1825
|
-
(c) Epistemex 2014-2015
|
|
1826
|
-
www.epistemex.com
|
|
1827
|
-
By Ken Fyrstenberg
|
|
1828
|
-
Contributions by leeoniya.
|
|
1829
|
-
License: MIT, header required.
|
|
1830
|
-
*/
|
|
1831
1823
|
var ht = /* @__PURE__ */ (function() {
|
|
1832
1824
|
var t = Math.cos, e = Math.sin, i = Math.tan, s = Math.round;
|
|
1833
1825
|
function n() {
|
|
@@ -1873,15 +1865,15 @@ function _r() {
|
|
|
1873
1865
|
function b(a, l, E, w, R, z, D, Y, H, et, ct, Tt, dt, nt, mt, K) {
|
|
1874
1866
|
return this.props[0] = a, this.props[1] = l, this.props[2] = E, this.props[3] = w, this.props[4] = R, this.props[5] = z, 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
1867
|
}
|
|
1876
|
-
function
|
|
1868
|
+
function A(a, l, E) {
|
|
1877
1869
|
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
1870
|
}
|
|
1879
1871
|
function S(a, l, E, w, R, z, D, Y, H, et, ct, Tt, dt, nt, mt, K) {
|
|
1880
1872
|
var B = this.props;
|
|
1881
1873
|
if (a === 1 && l === 0 && E === 0 && w === 0 && R === 0 && z === 1 && D === 0 && Y === 0 && H === 0 && et === 0 && ct === 1 && Tt === 0)
|
|
1882
1874
|
return B[12] = B[12] * a + B[15] * dt, B[13] = B[13] * z + B[15] * nt, B[14] = B[14] * ct + B[15] * mt, B[15] *= K, this._identityCalculated = !1, this;
|
|
1883
|
-
var
|
|
1884
|
-
return B[0] =
|
|
1875
|
+
var Lt = B[0], Gt = B[1], Vt = B[2], Mt = B[3], Rt = B[4], Ot = B[5], vt = B[6], Xt = B[7], Yt = B[8], St = B[9], Ht = B[10], Pt = B[11], ie = B[12], Ue = B[13], Je = B[14], Qe = B[15];
|
|
1876
|
+
return B[0] = Lt * a + Gt * R + Vt * H + Mt * dt, B[1] = Lt * l + Gt * z + Vt * et + Mt * nt, B[2] = Lt * E + Gt * D + Vt * ct + Mt * mt, B[3] = Lt * w + Gt * Y + Vt * Tt + Mt * K, B[4] = Rt * a + Ot * R + vt * H + Xt * dt, B[5] = Rt * l + Ot * z + vt * et + Xt * nt, B[6] = Rt * E + Ot * D + vt * ct + Xt * mt, B[7] = Rt * w + Ot * Y + vt * Tt + Xt * K, B[8] = Yt * a + St * R + Ht * H + Pt * dt, B[9] = Yt * l + St * z + Ht * et + Pt * nt, B[10] = Yt * E + St * D + Ht * ct + Pt * mt, B[11] = Yt * w + St * Y + Ht * Tt + Pt * K, B[12] = ie * a + Ue * R + Je * H + Qe * dt, B[13] = ie * l + Ue * z + Je * et + Qe * nt, B[14] = ie * E + Ue * D + Je * ct + Qe * mt, B[15] = ie * w + Ue * Y + Je * Tt + Qe * K, this._identityCalculated = !1, this;
|
|
1885
1877
|
}
|
|
1886
1878
|
function C(a) {
|
|
1887
1879
|
var l = a.props;
|
|
@@ -1916,7 +1908,7 @@ function _r() {
|
|
|
1916
1908
|
z: a * this.props[2] + l * this.props[6] + E * this.props[10] + this.props[14]
|
|
1917
1909
|
};
|
|
1918
1910
|
}
|
|
1919
|
-
function
|
|
1911
|
+
function k(a, l, E) {
|
|
1920
1912
|
return a * this.props[0] + l * this.props[4] + E * this.props[8] + this.props[12];
|
|
1921
1913
|
}
|
|
1922
1914
|
function T(a, l, E) {
|
|
@@ -1973,7 +1965,7 @@ function _r() {
|
|
|
1973
1965
|
return "matrix(" + l + "," + E + "," + w + "," + R + "," + z + "," + D + ")";
|
|
1974
1966
|
}
|
|
1975
1967
|
return function() {
|
|
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 =
|
|
1968
|
+
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 = A, this.transform = S, this.multiply = C, this.applyToPoint = g, this.applyToX = k, 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 = q, this.getInverseMatrix = I, this._t = this.transform, this.isIdentity = y, this._identity = !0, this._identityCalculated = !1, this.props = U("float32", 16), this.reset();
|
|
1977
1969
|
};
|
|
1978
1970
|
})();
|
|
1979
1971
|
function ni(t) {
|
|
@@ -1986,7 +1978,7 @@ function _r() {
|
|
|
1986
1978
|
}
|
|
1987
1979
|
var Z = {};
|
|
1988
1980
|
function Vs(t) {
|
|
1989
|
-
|
|
1981
|
+
de(t);
|
|
1990
1982
|
}
|
|
1991
1983
|
function Vi() {
|
|
1992
1984
|
it.searchAnimations();
|
|
@@ -2055,10 +2047,10 @@ function _r() {
|
|
|
2055
2047
|
}
|
|
2056
2048
|
var Xs = setInterval(Ds, 100);
|
|
2057
2049
|
try {
|
|
2058
|
-
ni(
|
|
2050
|
+
ni(pe) !== "object" && (window.bodymovin = Z);
|
|
2059
2051
|
} catch {
|
|
2060
2052
|
}
|
|
2061
|
-
var
|
|
2053
|
+
var Nt = (function() {
|
|
2062
2054
|
var t = {}, e = {};
|
|
2063
2055
|
t.registerModifier = i, t.getModifier = s;
|
|
2064
2056
|
function i(n, r) {
|
|
@@ -2079,12 +2071,12 @@ function _r() {
|
|
|
2079
2071
|
var e = {
|
|
2080
2072
|
shape: t.sh,
|
|
2081
2073
|
data: t,
|
|
2082
|
-
localShapeCollection:
|
|
2074
|
+
localShapeCollection: re.newShapeCollection()
|
|
2083
2075
|
};
|
|
2084
2076
|
this.shapes.push(e), this.addShapeToModifier(e), this._isAnimated && t.setAsAnimated();
|
|
2085
2077
|
}
|
|
2086
2078
|
}, gt.prototype.init = function(t, e) {
|
|
2087
|
-
this.shapes = [], this.elem = t, this.initDynamicPropertyContainer(t), this.initModifierProperties(t, e), this.frameId =
|
|
2079
|
+
this.shapes = [], this.elem = t, this.initDynamicPropertyContainer(t), this.initModifierProperties(t, e), this.frameId = ce, this.closed = !1, this.k = !1, this.dynamicProperties.length ? this.k = !0 : this.getValue(!0);
|
|
2088
2080
|
}, gt.prototype.processKeys = function() {
|
|
2089
2081
|
this.elem.globalData.frameId !== this.frameId && (this.frameId = this.elem.globalData.frameId, this.iterateDynamicProperties());
|
|
2090
2082
|
}, X([rt], gt);
|
|
@@ -2141,7 +2133,7 @@ function _r() {
|
|
|
2141
2133
|
for (o = 0; o < c; o += 1)
|
|
2142
2134
|
this.shapes[o].pathsData.length = 0, this.shapes[o].shape._mdf = !0;
|
|
2143
2135
|
} else {
|
|
2144
|
-
var
|
|
2136
|
+
var A = [], S, C;
|
|
2145
2137
|
for (o = 0; o < c; o += 1)
|
|
2146
2138
|
if (S = this.shapes[o], !S.shape._mdf && !this._mdf && !t && this.m !== 2)
|
|
2147
2139
|
S.shape.paths = S.localShapeCollection;
|
|
@@ -2159,28 +2151,28 @@ function _r() {
|
|
|
2159
2151
|
for (o = c - 1; o >= 0; o -= 1)
|
|
2160
2152
|
if (S = this.shapes[o], S.shape._mdf) {
|
|
2161
2153
|
for (C = S.localShapeCollection, C.releaseShapes(), this.m === 2 && c > 1 ? (u = this.calculateShapeEdges(e, i, S.totalShapeLength, f, b), f += S.totalShapeLength) : u = [[y, v]], m = u.length, h = 0; h < m; h += 1) {
|
|
2162
|
-
y = u[h][0], v = u[h][1],
|
|
2154
|
+
y = u[h][0], v = u[h][1], A.length = 0, v <= 1 ? A.push({
|
|
2163
2155
|
s: S.totalShapeLength * y,
|
|
2164
2156
|
e: S.totalShapeLength * v
|
|
2165
|
-
}) : y >= 1 ?
|
|
2157
|
+
}) : y >= 1 ? A.push({
|
|
2166
2158
|
s: S.totalShapeLength * (y - 1),
|
|
2167
2159
|
e: S.totalShapeLength * (v - 1)
|
|
2168
|
-
}) : (
|
|
2160
|
+
}) : (A.push({
|
|
2169
2161
|
s: S.totalShapeLength * y,
|
|
2170
2162
|
e: S.totalShapeLength
|
|
2171
|
-
}),
|
|
2163
|
+
}), A.push({
|
|
2172
2164
|
s: 0,
|
|
2173
2165
|
e: S.totalShapeLength * (v - 1)
|
|
2174
2166
|
}));
|
|
2175
|
-
var g = this.addShapes(S,
|
|
2176
|
-
if (
|
|
2177
|
-
if (
|
|
2178
|
-
var
|
|
2179
|
-
if (
|
|
2167
|
+
var g = this.addShapes(S, A[0]);
|
|
2168
|
+
if (A[0].s !== A[0].e) {
|
|
2169
|
+
if (A.length > 1) {
|
|
2170
|
+
var k = S.shape.paths.shapes[S.shape.paths._length - 1];
|
|
2171
|
+
if (k.c) {
|
|
2180
2172
|
var T = g.pop();
|
|
2181
|
-
this.addPaths(g, C), g = this.addShapes(S,
|
|
2173
|
+
this.addPaths(g, C), g = this.addShapes(S, A[1], T);
|
|
2182
2174
|
} else
|
|
2183
|
-
this.addPaths(g, C), g = this.addShapes(S,
|
|
2175
|
+
this.addPaths(g, C), g = this.addShapes(S, A[1]);
|
|
2184
2176
|
}
|
|
2185
2177
|
this.addPaths(g, C);
|
|
2186
2178
|
}
|
|
@@ -2197,8 +2189,8 @@ function _r() {
|
|
|
2197
2189
|
}, bt.prototype.addSegmentFromArray = function(t, e, i, s) {
|
|
2198
2190
|
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
2191
|
}, bt.prototype.addShapes = function(t, e, i) {
|
|
2200
|
-
var s = t.pathsData, n = t.shape.paths.shapes, r, o = t.shape.paths._length, c, h, m = 0, _, M, p, b,
|
|
2201
|
-
for (i ? (M = i._length, S = i._length) : (i = ot.newElement(), M = 0, S = 0),
|
|
2192
|
+
var s = t.pathsData, n = t.shape.paths.shapes, r, o = t.shape.paths._length, c, h, m = 0, _, M, p, b, A = [], S, C = !0;
|
|
2193
|
+
for (i ? (M = i._length, S = i._length) : (i = ot.newElement(), M = 0, S = 0), A.push(i), r = 0; r < o; r += 1) {
|
|
2202
2194
|
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)
|
|
2203
2195
|
if (_ = p[c - 1], m + _.addedLength < e.s)
|
|
2204
2196
|
m += _.addedLength, i.c = !1;
|
|
@@ -2217,15 +2209,15 @@ function _r() {
|
|
|
2217
2209
|
}
|
|
2218
2210
|
if (i._length && (i.setXYAt(i.v[S][0], i.v[S][1], "i", S), i.setXYAt(i.v[i._length - 1][0], i.v[i._length - 1][1], "o", i._length - 1)), m > e.e)
|
|
2219
2211
|
break;
|
|
2220
|
-
r < o - 1 && (i = ot.newElement(), C = !0,
|
|
2212
|
+
r < o - 1 && (i = ot.newElement(), C = !0, A.push(i), M = 0);
|
|
2221
2213
|
}
|
|
2222
|
-
return
|
|
2214
|
+
return A;
|
|
2223
2215
|
};
|
|
2224
|
-
function
|
|
2216
|
+
function be() {
|
|
2225
2217
|
}
|
|
2226
|
-
X([gt],
|
|
2218
|
+
X([gt], be), be.prototype.initModifierProperties = function(t, e) {
|
|
2227
2219
|
this.getValue = this.processKeys, this.amount = V.getProp(t, e.a, 0, null, this), this._isAnimated = !!this.amount.effectsSequence.length;
|
|
2228
|
-
},
|
|
2220
|
+
}, be.prototype.processPath = function(t, e) {
|
|
2229
2221
|
var i = e / 100, s = [0, 0], n = t._length, r = 0;
|
|
2230
2222
|
for (r = 0; r < n; r += 1)
|
|
2231
2223
|
s[0] += t.v[r][0], s[1] += t.v[r][1];
|
|
@@ -2236,7 +2228,7 @@ function _r() {
|
|
|
2236
2228
|
for (r = 0; r < n; r += 1)
|
|
2237
2229
|
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
2230
|
return o;
|
|
2239
|
-
},
|
|
2231
|
+
}, be.prototype.processShapes = function(t) {
|
|
2240
2232
|
var e, i, s = this.shapes.length, n, r, o = this.amount.v;
|
|
2241
2233
|
if (o !== 0) {
|
|
2242
2234
|
var c, h;
|
|
@@ -2425,15 +2417,15 @@ function _r() {
|
|
|
2425
2417
|
r += 1;
|
|
2426
2418
|
}
|
|
2427
2419
|
this._currentCopies = c;
|
|
2428
|
-
var p = this.o.v, b = p % 1,
|
|
2420
|
+
var p = this.o.v, b = p % 1, A = p > 0 ? Math.floor(p) : Math.ceil(p), S = this.pMatrix.props, C = this.rMatrix.props, y = this.sMatrix.props;
|
|
2429
2421
|
this.pMatrix.reset(), this.rMatrix.reset(), this.sMatrix.reset(), this.tMatrix.reset(), this.matrix.reset();
|
|
2430
2422
|
var v = 0;
|
|
2431
2423
|
if (p > 0) {
|
|
2432
|
-
for (; v <
|
|
2424
|
+
for (; v < A; )
|
|
2433
2425
|
this.applyTransforms(this.pMatrix, this.rMatrix, this.sMatrix, this.tr, 1, !1), v += 1;
|
|
2434
2426
|
b && (this.applyTransforms(this.pMatrix, this.rMatrix, this.sMatrix, this.tr, b, !1), v += b);
|
|
2435
2427
|
} else if (p < 0) {
|
|
2436
|
-
for (; v >
|
|
2428
|
+
for (; v > A; )
|
|
2437
2429
|
this.applyTransforms(this.pMatrix, this.rMatrix, this.sMatrix, this.tr, 1, !0), v -= 1;
|
|
2438
2430
|
b && (this.applyTransforms(this.pMatrix, this.rMatrix, this.sMatrix, this.tr, -b, !0), v -= b);
|
|
2439
2431
|
}
|
|
@@ -2454,18 +2446,18 @@ function _r() {
|
|
|
2454
2446
|
return o;
|
|
2455
2447
|
}, Ct.prototype.addShape = function() {
|
|
2456
2448
|
};
|
|
2457
|
-
function
|
|
2449
|
+
function Se() {
|
|
2458
2450
|
}
|
|
2459
|
-
X([gt],
|
|
2451
|
+
X([gt], Se), Se.prototype.initModifierProperties = function(t, e) {
|
|
2460
2452
|
this.getValue = this.processKeys, this.rd = V.getProp(t, e.r, 0, null, this), this._isAnimated = !!this.rd.effectsSequence.length;
|
|
2461
|
-
},
|
|
2453
|
+
}, Se.prototype.processPath = function(t, e) {
|
|
2462
2454
|
var i = ot.newElement();
|
|
2463
2455
|
i.c = t.c;
|
|
2464
|
-
var s, n = t._length, r, o, c, h, m, _, M = 0, p, b,
|
|
2456
|
+
var s, n = t._length, r, o, c, h, m, _, M = 0, p, b, A, S, C, y;
|
|
2465
2457
|
for (s = 0; s < n; s += 1)
|
|
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,
|
|
2458
|
+
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, A = p - (p - r[0]) * Bt, S = b - (b - r[1]) * Bt, i.setTripleAt(p, b, A, 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, A = r[0] + (h[0] - r[0]) * _, p = A, S = r[1] + (h[1] - r[1]) * _, b = S, C = p - (p - r[0]) * Bt, y = b - (b - r[1]) * Bt, i.setTripleAt(p, b, A, 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
2459
|
return i;
|
|
2468
|
-
},
|
|
2460
|
+
}, Se.prototype.processShapes = function(t) {
|
|
2469
2461
|
var e, i, s = this.shapes.length, n, r, o = this.rd.v;
|
|
2470
2462
|
if (o !== 0) {
|
|
2471
2463
|
var c, h;
|
|
@@ -2487,7 +2479,7 @@ function _r() {
|
|
|
2487
2479
|
function Ni(t, e, i) {
|
|
2488
2480
|
return t * (1 - i) + e * i;
|
|
2489
2481
|
}
|
|
2490
|
-
function
|
|
2482
|
+
function jt(t, e, i) {
|
|
2491
2483
|
return [Ni(t[0], e[0], i), Ni(t[1], e[1], i)];
|
|
2492
2484
|
}
|
|
2493
2485
|
function Ys(t, e, i) {
|
|
@@ -2506,7 +2498,7 @@ function _r() {
|
|
|
2506
2498
|
return new J(t, t, t, t, !1);
|
|
2507
2499
|
}
|
|
2508
2500
|
function J(t, e, i, s, n) {
|
|
2509
|
-
n &&
|
|
2501
|
+
n && ae(t, e) && (e = jt(t, s, 1 / 3)), n && ae(i, s) && (i = jt(t, s, 2 / 3));
|
|
2510
2502
|
var r = ji(t[0], e[0], i[0], s[0]), o = ji(t[1], e[1], i[1], s[1]);
|
|
2511
2503
|
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
2504
|
}
|
|
@@ -2532,7 +2524,7 @@ function _r() {
|
|
|
2532
2524
|
}, J.prototype.split = function(t) {
|
|
2533
2525
|
if (t <= 0) return [zi(this.points[0]), this];
|
|
2534
2526
|
if (t >= 1) return [this, zi(this.points[this.points.length - 1])];
|
|
2535
|
-
var e =
|
|
2527
|
+
var e = jt(this.points[0], this.points[1], t), i = jt(this.points[1], this.points[2], t), s = jt(this.points[2], this.points[3], t), n = jt(e, i, t), r = jt(i, s, t), o = jt(n, r, t);
|
|
2536
2528
|
return [new J(this.points[0], e, n, o, !0), new J(o, r, s, this.points[3], !0)];
|
|
2537
2529
|
};
|
|
2538
2530
|
function qi(t, e) {
|
|
@@ -2589,20 +2581,20 @@ function _r() {
|
|
|
2589
2581
|
function Hs(t, e) {
|
|
2590
2582
|
return Math.abs(t.cx - e.cx) * 2 < t.width + e.width && Math.abs(t.cy - e.cy) * 2 < t.height + e.height;
|
|
2591
2583
|
}
|
|
2592
|
-
function
|
|
2584
|
+
function Pe(t, e, i, s, n, r) {
|
|
2593
2585
|
if (Hs(t, e)) {
|
|
2594
2586
|
if (i >= r || t.width <= s && t.height <= s && e.width <= s && e.height <= s) {
|
|
2595
2587
|
n.push([t.t, e.t]);
|
|
2596
2588
|
return;
|
|
2597
2589
|
}
|
|
2598
2590
|
var o = Di(t), c = Di(e);
|
|
2599
|
-
|
|
2591
|
+
Pe(o[0], c[0], i + 1, s, n, r), Pe(o[0], c[1], i + 1, s, n, r), Pe(o[1], c[0], i + 1, s, n, r), Pe(o[1], c[1], i + 1, s, n, r);
|
|
2600
2592
|
}
|
|
2601
2593
|
}
|
|
2602
2594
|
J.prototype.intersections = function(t, e, i) {
|
|
2603
2595
|
e === void 0 && (e = 2), i === void 0 && (i = 7);
|
|
2604
2596
|
var s = [];
|
|
2605
|
-
return
|
|
2597
|
+
return Pe(Ye(this, 0, 1), Ye(t, 0, 1), 0, e, s, i), s;
|
|
2606
2598
|
}, J.shapeSegment = function(t, e) {
|
|
2607
2599
|
var i = (e + 1) % t.length();
|
|
2608
2600
|
return new J(t.v[e], t.o[e], t.i[i], t.v[i], !0);
|
|
@@ -2617,13 +2609,13 @@ function _r() {
|
|
|
2617
2609
|
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
2610
|
return oi(h[2]) ? null : [h[0] / h[2], h[1] / h[2]];
|
|
2619
2611
|
}
|
|
2620
|
-
function
|
|
2612
|
+
function ne(t, e, i) {
|
|
2621
2613
|
return [t[0] + Math.cos(e) * i, t[1] - Math.sin(e) * i];
|
|
2622
2614
|
}
|
|
2623
2615
|
function li(t, e) {
|
|
2624
2616
|
return Math.hypot(t[0] - e[0], t[1] - e[1]);
|
|
2625
2617
|
}
|
|
2626
|
-
function
|
|
2618
|
+
function ae(t, e) {
|
|
2627
2619
|
return Xe(t[0], e[0]) && Xe(t[1], e[1]);
|
|
2628
2620
|
}
|
|
2629
2621
|
function Ae() {
|
|
@@ -2677,9 +2669,9 @@ function _r() {
|
|
|
2677
2669
|
};
|
|
2678
2670
|
function fi(t, e, i) {
|
|
2679
2671
|
var s = Math.atan2(e[0] - t[0], e[1] - t[1]);
|
|
2680
|
-
return [
|
|
2672
|
+
return [ne(t, s, i), ne(e, s, i)];
|
|
2681
2673
|
}
|
|
2682
|
-
function
|
|
2674
|
+
function oe(t, e) {
|
|
2683
2675
|
var i, s, n, r, o, c, h;
|
|
2684
2676
|
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
2677
|
var m = He(i, s, n, r);
|
|
@@ -2689,13 +2681,13 @@ function _r() {
|
|
|
2689
2681
|
}
|
|
2690
2682
|
function Xi(t, e, i, s, n) {
|
|
2691
2683
|
var r = e.points[3], o = i.points[0];
|
|
2692
|
-
if (s === 3 ||
|
|
2684
|
+
if (s === 3 || ae(r, o)) return r;
|
|
2693
2685
|
if (s === 2) {
|
|
2694
|
-
var c = -e.tangentAngle(1), h = -i.tangentAngle(0) + Math.PI, m = He(r,
|
|
2695
|
-
return t.setXYAt(M[0], M[1], "o", t.length() - 1), M =
|
|
2686
|
+
var c = -e.tangentAngle(1), h = -i.tangentAngle(0) + Math.PI, m = He(r, ne(r, c + Math.PI / 2, 100), o, ne(o, c + Math.PI / 2, 100)), _ = m ? li(m, r) : li(r, o) / 2, M = ne(r, c, 2 * _ * Bt);
|
|
2687
|
+
return t.setXYAt(M[0], M[1], "o", t.length() - 1), M = ne(o, h, 2 * _ * Bt), t.setTripleAt(o[0], o[1], o[0], o[1], M[0], M[1], t.length()), o;
|
|
2696
2688
|
}
|
|
2697
|
-
var p =
|
|
2698
|
-
return
|
|
2689
|
+
var p = ae(r, e.points[2]) ? e.points[0] : e.points[2], b = ae(o, i.points[1]) ? i.points[3] : i.points[1], A = He(p, r, o, b);
|
|
2690
|
+
return A && li(A, r) < n ? (t.setTripleAt(A[0], A[1], A[0], A[1], A[0], A[1], t.length()), A) : r;
|
|
2699
2691
|
}
|
|
2700
2692
|
function Yi(t, e) {
|
|
2701
2693
|
var i = t.intersections(e);
|
|
@@ -2713,18 +2705,18 @@ function _r() {
|
|
|
2713
2705
|
function Zi(t, e) {
|
|
2714
2706
|
var i = t.inflectionPoints(), s, n, r, o;
|
|
2715
2707
|
if (i.length === 0)
|
|
2716
|
-
return [
|
|
2708
|
+
return [oe(t, e)];
|
|
2717
2709
|
if (i.length === 1 || Xe(i[1], 1))
|
|
2718
|
-
return r = t.split(i[0]), s = r[0], n = r[1], [
|
|
2710
|
+
return r = t.split(i[0]), s = r[0], n = r[1], [oe(s, e), oe(n, e)];
|
|
2719
2711
|
r = t.split(i[0]), s = r[0];
|
|
2720
2712
|
var c = (i[1] - i[0]) / (1 - i[0]);
|
|
2721
|
-
return r = r[1].split(c), o = r[0], n = r[1], [
|
|
2713
|
+
return r = r[1].split(c), o = r[0], n = r[1], [oe(s, e), oe(o, e), oe(n, e)];
|
|
2722
2714
|
}
|
|
2723
|
-
function
|
|
2715
|
+
function ke() {
|
|
2724
2716
|
}
|
|
2725
|
-
X([gt],
|
|
2717
|
+
X([gt], ke), ke.prototype.initModifierProperties = function(t, e) {
|
|
2726
2718
|
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
|
-
},
|
|
2719
|
+
}, ke.prototype.processPath = function(t, e, i, s) {
|
|
2728
2720
|
var n = ot.newElement();
|
|
2729
2721
|
n.c = t.c;
|
|
2730
2722
|
var r = t.length();
|
|
@@ -2740,10 +2732,10 @@ function _r() {
|
|
|
2740
2732
|
for (o = 0; o < m.length; o += 1) {
|
|
2741
2733
|
var p = m[o];
|
|
2742
2734
|
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], _ &&
|
|
2735
|
+
h = p[c], _ && ae(h.points[0], _) ? n.setXYAt(h.points[1][0], h.points[1][1], "o", n.length() - 1) : n.setTripleAt(h.points[0][0], h.points[0][1], h.points[1][0], h.points[1][1], h.points[0][0], h.points[0][1], n.length()), n.setTripleAt(h.points[3][0], h.points[3][1], h.points[3][0], h.points[3][1], h.points[2][0], h.points[2][1], n.length()), _ = h.points[3];
|
|
2744
2736
|
}
|
|
2745
2737
|
return m.length && Xi(n, M, m[0][0], i, s), n;
|
|
2746
|
-
},
|
|
2738
|
+
}, ke.prototype.processShapes = function(t) {
|
|
2747
2739
|
var e, i, s = this.shapes.length, n, r, o = this.amount.v, c = this.miterLimit.v, h = this.lineJoin;
|
|
2748
2740
|
if (o !== 0) {
|
|
2749
2741
|
var m, _;
|
|
@@ -2785,7 +2777,7 @@ function _r() {
|
|
|
2785
2777
|
weight: t.fWeight || i
|
|
2786
2778
|
};
|
|
2787
2779
|
}
|
|
2788
|
-
var
|
|
2780
|
+
var $t = (function() {
|
|
2789
2781
|
var t = 5e3, e = {
|
|
2790
2782
|
w: 0,
|
|
2791
2783
|
size: 0,
|
|
@@ -2814,7 +2806,7 @@ function _r() {
|
|
|
2814
2806
|
parent: a
|
|
2815
2807
|
};
|
|
2816
2808
|
}
|
|
2817
|
-
function
|
|
2809
|
+
function A() {
|
|
2818
2810
|
var d, P = this.fonts.length, a, l, E = P;
|
|
2819
2811
|
for (d = 0; d < P; d += 1)
|
|
2820
2812
|
this.fonts[d].loaded ? E -= 1 : this.fonts[d].fOrigin === "n" || this.fonts[d].origin === 0 ? this.fonts[d].loaded = !0 : (a = this.fonts[d].monoCase.node, l = this.fonts[d].monoCase.w, a.offsetWidth !== l ? (E -= 1, this.fonts[d].loaded = !0) : (a = this.fonts[d].sansCase.node, l = this.fonts[d].sansCase.w, a.offsetWidth !== l && (E -= 1, this.fonts[d].loaded = !0)), this.fonts[d].loaded && (this.fonts[d].sansCase.parent.parentNode.removeChild(this.fonts[d].sansCase.parent), this.fonts[d].monoCase.parent.parentNode.removeChild(this.fonts[d].monoCase.parent)));
|
|
@@ -2927,7 +2919,7 @@ function _r() {
|
|
|
2927
2919
|
}
|
|
2928
2920
|
return P;
|
|
2929
2921
|
}
|
|
2930
|
-
function
|
|
2922
|
+
function k(d, P) {
|
|
2931
2923
|
var a = d.toString(16) + P.toString(16);
|
|
2932
2924
|
return M.indexOf(a) !== -1;
|
|
2933
2925
|
}
|
|
@@ -2965,14 +2957,14 @@ function _r() {
|
|
|
2965
2957
|
var O = function() {
|
|
2966
2958
|
this.fonts = [], this.chars = null, this.typekitLoaded = 0, this.isLoaded = !1, this._warned = !1, this.initTime = Date.now(), this.setIsLoadedBinded = this.setIsLoaded.bind(this), this.checkLoadedFontsBinded = this.checkLoadedFonts.bind(this);
|
|
2967
2959
|
};
|
|
2968
|
-
O.isModifier =
|
|
2960
|
+
O.isModifier = k, O.isZeroWidthJoiner = T, O.isFlagEmoji = q, O.isRegionalCode = I, O.isCombinedCharacter = N, O.isRegionalFlag = L, O.isVariationSelector = x, O.BLACK_FLAG_CODE_POINT = s;
|
|
2969
2961
|
var F = {
|
|
2970
2962
|
addChars: y,
|
|
2971
2963
|
addFonts: C,
|
|
2972
2964
|
getCharData: v,
|
|
2973
2965
|
getFontByName: u,
|
|
2974
2966
|
measureText: f,
|
|
2975
|
-
checkLoadedFonts:
|
|
2967
|
+
checkLoadedFonts: A,
|
|
2976
2968
|
setIsLoaded: G
|
|
2977
2969
|
};
|
|
2978
2970
|
return O.prototype = F, O;
|
|
@@ -3090,12 +3082,12 @@ function _r() {
|
|
|
3090
3082
|
this.effectElements = [];
|
|
3091
3083
|
var s, n = i.length, r;
|
|
3092
3084
|
for (s = 0; s < n; s += 1)
|
|
3093
|
-
r = new
|
|
3085
|
+
r = new we(i[s], e), this.effectElements.push(r);
|
|
3094
3086
|
}
|
|
3095
|
-
function
|
|
3087
|
+
function we(t, e) {
|
|
3096
3088
|
this.init(t, e);
|
|
3097
3089
|
}
|
|
3098
|
-
X([rt],
|
|
3090
|
+
X([rt], we), we.prototype.getValue = we.prototype.iterateDynamicProperties, we.prototype.init = function(t, e) {
|
|
3099
3091
|
this.data = t, this.effectElements = [], this.initDynamicPropertyContainer(e);
|
|
3100
3092
|
var i, s = this.data.ef.length, n, r = this.data.ef;
|
|
3101
3093
|
for (i = 0; i < s; i += 1) {
|
|
@@ -3133,9 +3125,9 @@ function _r() {
|
|
|
3133
3125
|
n && this.effectElements.push(n);
|
|
3134
3126
|
}
|
|
3135
3127
|
};
|
|
3136
|
-
function
|
|
3128
|
+
function zt() {
|
|
3137
3129
|
}
|
|
3138
|
-
|
|
3130
|
+
zt.prototype = {
|
|
3139
3131
|
checkMasks: function() {
|
|
3140
3132
|
if (!this.data.hasMask)
|
|
3141
3133
|
return !1;
|
|
@@ -3161,9 +3153,9 @@ function _r() {
|
|
|
3161
3153
|
sourceRectAtTime: function() {
|
|
3162
3154
|
}
|
|
3163
3155
|
};
|
|
3164
|
-
function
|
|
3156
|
+
function qt() {
|
|
3165
3157
|
}
|
|
3166
|
-
|
|
3158
|
+
qt.prototype = {
|
|
3167
3159
|
/**
|
|
3168
3160
|
* @function
|
|
3169
3161
|
* Initializes frame related properties.
|
|
@@ -3191,16 +3183,16 @@ function _r() {
|
|
|
3191
3183
|
this.dynamicProperties.indexOf(e) === -1 && this.dynamicProperties.push(e);
|
|
3192
3184
|
}
|
|
3193
3185
|
};
|
|
3194
|
-
function
|
|
3186
|
+
function Dt(t, e, i) {
|
|
3195
3187
|
this.initFrame(), this.initRenderable(), this.assetData = e.getAssetData(t.refId), this.footageData = e.imageLoader.getAsset(this.assetData), this.initBaseData(t, e, i);
|
|
3196
3188
|
}
|
|
3197
|
-
|
|
3198
|
-
}, X([Ze,
|
|
3189
|
+
Dt.prototype.prepareFrame = function() {
|
|
3190
|
+
}, X([Ze, zt, qt], Dt), Dt.prototype.getBaseElement = function() {
|
|
3199
3191
|
return null;
|
|
3200
|
-
},
|
|
3201
|
-
},
|
|
3202
|
-
},
|
|
3203
|
-
},
|
|
3192
|
+
}, Dt.prototype.renderFrame = function() {
|
|
3193
|
+
}, Dt.prototype.destroy = function() {
|
|
3194
|
+
}, Dt.prototype.initExpressions = function() {
|
|
3195
|
+
}, Dt.prototype.getFootageData = function() {
|
|
3204
3196
|
return this.footageData;
|
|
3205
3197
|
};
|
|
3206
3198
|
function ut(t, e, i) {
|
|
@@ -3222,7 +3214,7 @@ function _r() {
|
|
|
3222
3214
|
this._volume = this.lv.v[0];
|
|
3223
3215
|
var i = this._volume * this._volumeMultiplier;
|
|
3224
3216
|
this._previousVolume !== i && (this._previousVolume = i, this.audio.volume(i));
|
|
3225
|
-
}, X([Ze,
|
|
3217
|
+
}, X([Ze, zt, qt], ut), ut.prototype.renderFrame = function() {
|
|
3226
3218
|
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
3219
|
}, ut.prototype.show = function() {
|
|
3228
3220
|
}, ut.prototype.hide = function() {
|
|
@@ -3276,7 +3268,7 @@ function _r() {
|
|
|
3276
3268
|
}, lt.prototype.createAudio = function(t) {
|
|
3277
3269
|
return new ut(t, this.globalData, this);
|
|
3278
3270
|
}, lt.prototype.createFootage = function(t) {
|
|
3279
|
-
return new
|
|
3271
|
+
return new Dt(t, this.globalData, this);
|
|
3280
3272
|
}, lt.prototype.buildAllItems = function() {
|
|
3281
3273
|
var t, e = this.layers.length;
|
|
3282
3274
|
for (t = 0; t < e; t += 1)
|
|
@@ -3329,7 +3321,7 @@ function _r() {
|
|
|
3329
3321
|
}
|
|
3330
3322
|
return t.length === 0 ? i : i.getElementByPath(t);
|
|
3331
3323
|
}, lt.prototype.setupGlobalData = function(t, e) {
|
|
3332
|
-
this.globalData.fontManager = new
|
|
3324
|
+
this.globalData.fontManager = new $t(), this.globalData.slotManager = Qs(t), this.globalData.fontManager.addChars(t.chars), this.globalData.fontManager.addFonts(t.fonts, e), this.globalData.getAssetData = this.animationItem.getAssetData.bind(this.animationItem), this.globalData.getAssetsPath = this.animationItem.getAssetsPath.bind(this.animationItem), this.globalData.imageLoader = this.animationItem.imagePreloader, this.globalData.audioController = this.animationItem.audioController, this.globalData.frameId = 0, this.globalData.frameRate = t.fr, this.globalData.nm = t.nm, this.globalData.compSize = {
|
|
3333
3325
|
w: t.w,
|
|
3334
3326
|
h: t.h
|
|
3335
3327
|
};
|
|
@@ -3337,9 +3329,9 @@ function _r() {
|
|
|
3337
3329
|
var or = {
|
|
3338
3330
|
TRANSFORM_EFFECT: "transformEFfect"
|
|
3339
3331
|
};
|
|
3340
|
-
function
|
|
3332
|
+
function he() {
|
|
3341
3333
|
}
|
|
3342
|
-
|
|
3334
|
+
he.prototype = {
|
|
3343
3335
|
initTransform: function() {
|
|
3344
3336
|
var e = new ht();
|
|
3345
3337
|
this.finalTransform = {
|
|
@@ -3416,11 +3408,11 @@ function _r() {
|
|
|
3416
3408
|
},
|
|
3417
3409
|
mHelper: new ht()
|
|
3418
3410
|
};
|
|
3419
|
-
function
|
|
3411
|
+
function te(t, e, i) {
|
|
3420
3412
|
this.data = t, this.element = e, this.globalData = i, this.storedData = [], this.masksProperties = this.data.masksProperties || [], this.maskElement = null;
|
|
3421
3413
|
var s = this.globalData.defs, n, r = this.masksProperties ? this.masksProperties.length : 0;
|
|
3422
3414
|
this.viewData = tt(r), this.solidPath = "";
|
|
3423
|
-
var o, c = this.masksProperties, h = 0, m = [], _, M, p = pt(), b,
|
|
3415
|
+
var o, c = this.masksProperties, h = 0, m = [], _, M, p = pt(), b, A, S, C, y = "clipPath", v = "clip-path";
|
|
3424
3416
|
for (n = 0; n < r; n += 1)
|
|
3425
3417
|
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
3418
|
this.viewData[n] = {
|
|
@@ -3432,7 +3424,7 @@ function _r() {
|
|
|
3432
3424
|
else {
|
|
3433
3425
|
h += 1, o.setAttribute("fill", c[n].mode === "s" ? "#000000" : "#ffffff"), o.setAttribute("clip-rule", "nonzero");
|
|
3434
3426
|
var f;
|
|
3435
|
-
if (c[n].x.k !== 0 ? (y = "mask", v = "mask", C = V.getProp(this.element, c[n].x, 0, null, this.element), f = pt(),
|
|
3427
|
+
if (c[n].x.k !== 0 ? (y = "mask", v = "mask", C = V.getProp(this.element, c[n].x, 0, null, this.element), f = pt(), A = W("filter"), A.setAttribute("id", f), S = W("feMorphology"), S.setAttribute("operator", "erode"), S.setAttribute("in", "SourceGraphic"), S.setAttribute("radius", "0"), A.appendChild(S), s.appendChild(A), o.setAttribute("stroke", c[n].mode === "s" ? "#000000" : "#ffffff")) : (S = null, C = null), this.storedData[n] = {
|
|
3436
3428
|
elem: o,
|
|
3437
3429
|
x: C,
|
|
3438
3430
|
expan: S,
|
|
@@ -3461,21 +3453,21 @@ function _r() {
|
|
|
3461
3453
|
this.maskElement.appendChild(m[n]);
|
|
3462
3454
|
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
3455
|
}
|
|
3464
|
-
|
|
3456
|
+
te.prototype.getMaskProperty = function(t) {
|
|
3465
3457
|
return this.viewData[t].prop;
|
|
3466
|
-
},
|
|
3458
|
+
}, te.prototype.renderFrame = function(t) {
|
|
3467
3459
|
var e = this.element.finalTransform.mat, i, s = this.masksProperties.length;
|
|
3468
3460
|
for (i = 0; i < s; i += 1)
|
|
3469
3461
|
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
3462
|
var n = this.storedData[i].expan;
|
|
3471
3463
|
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
3464
|
}
|
|
3473
|
-
},
|
|
3465
|
+
}, te.prototype.getMaskelement = function() {
|
|
3474
3466
|
return this.maskElement;
|
|
3475
|
-
},
|
|
3467
|
+
}, te.prototype.createLayerSolidPath = function() {
|
|
3476
3468
|
var t = "M0,0 ";
|
|
3477
3469
|
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
|
-
},
|
|
3470
|
+
}, te.prototype.drawPath = function(t, e, i) {
|
|
3479
3471
|
var s = " M" + e.v[0][0] + "," + e.v[0][1], n, r;
|
|
3480
3472
|
for (r = e._length, n = 1; n < r; n += 1)
|
|
3481
3473
|
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 +3475,10 @@ function _r() {
|
|
|
3483
3475
|
var o = "";
|
|
3484
3476
|
i.elem && (e.c && (o = t.inv ? this.solidPath + s : s), i.elem.setAttribute("d", o)), i.lastPath = s;
|
|
3485
3477
|
}
|
|
3486
|
-
},
|
|
3478
|
+
}, te.prototype.destroy = function() {
|
|
3487
3479
|
this.element = null, this.globalData = null, this.maskElement = null, this.data = null, this.masksProperties = null;
|
|
3488
3480
|
};
|
|
3489
|
-
var
|
|
3481
|
+
var Ce = (function() {
|
|
3490
3482
|
var t = {};
|
|
3491
3483
|
t.createFilter = e, t.createAlphaToLuminanceFilter = i;
|
|
3492
3484
|
function e(s, n) {
|
|
@@ -3507,7 +3499,7 @@ function _r() {
|
|
|
3507
3499
|
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
3500
|
})(), ui = {}, $i = "filter_result_";
|
|
3509
3501
|
function ci(t) {
|
|
3510
|
-
var e, i = "SourceGraphic", s = t.data.ef ? t.data.ef.length : 0, n = pt(), r =
|
|
3502
|
+
var e, i = "SourceGraphic", s = t.data.ef ? t.data.ef.length : 0, n = pt(), r = Ce.createFilter(n, !0), o = 0;
|
|
3511
3503
|
this.filters = [];
|
|
3512
3504
|
var c;
|
|
3513
3505
|
for (e = 0; e < s; e += 1) {
|
|
@@ -3531,9 +3523,9 @@ function _r() {
|
|
|
3531
3523
|
this.filters[e].type === t && s.push(this.filters[e]);
|
|
3532
3524
|
return s;
|
|
3533
3525
|
};
|
|
3534
|
-
function
|
|
3526
|
+
function Te() {
|
|
3535
3527
|
}
|
|
3536
|
-
|
|
3528
|
+
Te.prototype = {
|
|
3537
3529
|
initRendererElement: function() {
|
|
3538
3530
|
this.layerElement = W("g");
|
|
3539
3531
|
},
|
|
@@ -3567,25 +3559,25 @@ function _r() {
|
|
|
3567
3559
|
return this.data.hd ? null : this.baseElement;
|
|
3568
3560
|
},
|
|
3569
3561
|
createRenderableComponents: function() {
|
|
3570
|
-
this.maskManager = new
|
|
3562
|
+
this.maskManager = new te(this.data, this, this.globalData), this.renderableEffectsManager = new ci(this), this.searchEffectTransforms();
|
|
3571
3563
|
},
|
|
3572
3564
|
getMatte: function(e) {
|
|
3573
3565
|
if (this.matteMasks || (this.matteMasks = {}), !this.matteMasks[e]) {
|
|
3574
3566
|
var i = this.layerId + "_" + e, s, n, r, o;
|
|
3575
3567
|
if (e === 1 || e === 3) {
|
|
3576
3568
|
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 =
|
|
3569
|
+
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 = Ce.createFilter(s), this.globalData.defs.appendChild(n), n.appendChild(Ce.createAlphaToLuminanceFilter()), o = W("g"), o.appendChild(r), c.appendChild(o), o.setAttribute("filter", "url(" + at() + "#" + s + ")"));
|
|
3578
3570
|
} else if (e === 2) {
|
|
3579
3571
|
var h = W("mask");
|
|
3580
3572
|
h.setAttribute("id", i), h.setAttribute("mask-type", "alpha");
|
|
3581
3573
|
var m = W("g");
|
|
3582
|
-
h.appendChild(m), s = pt(), n =
|
|
3574
|
+
h.appendChild(m), s = pt(), n = Ce.createFilter(s);
|
|
3583
3575
|
var _ = W("feComponentTransfer");
|
|
3584
3576
|
_.setAttribute("in", "SourceGraphic"), n.appendChild(_);
|
|
3585
3577
|
var M = W("feFuncA");
|
|
3586
3578
|
M.setAttribute("type", "table"), M.setAttribute("tableValues", "1.0 0.0"), _.appendChild(M), this.globalData.defs.appendChild(n);
|
|
3587
3579
|
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(" + 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(
|
|
3580
|
+
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(Ce.createAlphaToLuminanceFilter()), o = W("g"), m.appendChild(p), o.appendChild(this.layerElement), m.appendChild(o)), this.globalData.defs.appendChild(h);
|
|
3589
3581
|
}
|
|
3590
3582
|
this.matteMasks[e] = i;
|
|
3591
3583
|
}
|
|
@@ -3595,9 +3587,9 @@ function _r() {
|
|
|
3595
3587
|
this.matteElement && this.matteElement.setAttribute("mask", "url(" + at() + "#" + e + ")");
|
|
3596
3588
|
}
|
|
3597
3589
|
};
|
|
3598
|
-
function
|
|
3590
|
+
function le() {
|
|
3599
3591
|
}
|
|
3600
|
-
|
|
3592
|
+
le.prototype = {
|
|
3601
3593
|
/**
|
|
3602
3594
|
* @function
|
|
3603
3595
|
* Initializes hierarchy properties
|
|
@@ -3633,7 +3625,7 @@ function _r() {
|
|
|
3633
3625
|
this.data.parent !== void 0 && this.comp.buildElementParenting(this, this.data.parent, []);
|
|
3634
3626
|
}
|
|
3635
3627
|
};
|
|
3636
|
-
function
|
|
3628
|
+
function Me() {
|
|
3637
3629
|
}
|
|
3638
3630
|
(function() {
|
|
3639
3631
|
var t = {
|
|
@@ -3667,9 +3659,9 @@ function _r() {
|
|
|
3667
3659
|
this.innerElem = null, this.destroyBaseElement();
|
|
3668
3660
|
}
|
|
3669
3661
|
};
|
|
3670
|
-
X([Ze, $e(t)],
|
|
3662
|
+
X([Ze, $e(t)], Me);
|
|
3671
3663
|
})();
|
|
3672
|
-
function
|
|
3664
|
+
function Ee(t, e, i) {
|
|
3673
3665
|
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
3666
|
top: 0,
|
|
3675
3667
|
left: 0,
|
|
@@ -3677,10 +3669,10 @@ function _r() {
|
|
|
3677
3669
|
height: this.assetData.h
|
|
3678
3670
|
};
|
|
3679
3671
|
}
|
|
3680
|
-
X([
|
|
3672
|
+
X([zt, he, Te, le, qt, Me], Ee), Ee.prototype.createContent = function() {
|
|
3681
3673
|
var t = this.globalData.getAssetsPath(this.assetData);
|
|
3682
3674
|
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
|
-
},
|
|
3675
|
+
}, Ee.prototype.sourceRectAtTime = function() {
|
|
3684
3676
|
return this.sourceRect;
|
|
3685
3677
|
};
|
|
3686
3678
|
function hr(t, e) {
|
|
@@ -3788,19 +3780,19 @@ function _r() {
|
|
|
3788
3780
|
this.initDynamicPropertyContainer(t), this.getValue = this.iterateDynamicProperties, this.style = i;
|
|
3789
3781
|
}
|
|
3790
3782
|
X([rt], os);
|
|
3791
|
-
function
|
|
3783
|
+
function xe(t, e, i) {
|
|
3792
3784
|
this.data = e, this.c = U("uint8c", e.p * 4);
|
|
3793
3785
|
var s = e.k.k[0].s ? e.k.k[0].s.length - e.p * 4 : e.k.k.length - e.p * 4;
|
|
3794
3786
|
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
3787
|
}
|
|
3796
|
-
|
|
3788
|
+
xe.prototype.comparePoints = function(t, e) {
|
|
3797
3789
|
for (var i = 0, s = this.o.length / 2, n; i < s; ) {
|
|
3798
3790
|
if (n = Math.abs(t[i * 4] - t[e * 4 + i * 2]), n > 0.01)
|
|
3799
3791
|
return !1;
|
|
3800
3792
|
i += 1;
|
|
3801
3793
|
}
|
|
3802
3794
|
return !0;
|
|
3803
|
-
},
|
|
3795
|
+
}, xe.prototype.checkCollapsable = function() {
|
|
3804
3796
|
if (this.o.length / 2 !== this.c.length / 4)
|
|
3805
3797
|
return !1;
|
|
3806
3798
|
if (this.data.k.k[0].s)
|
|
@@ -3812,7 +3804,7 @@ function _r() {
|
|
|
3812
3804
|
else if (!this.comparePoints(this.data.k.k, this.data.p))
|
|
3813
3805
|
return !1;
|
|
3814
3806
|
return !0;
|
|
3815
|
-
},
|
|
3807
|
+
}, xe.prototype.getValue = function(t) {
|
|
3816
3808
|
if (this.prop.getValue(), this._mdf = !1, this._cmdf = !1, this._omdf = !1, this.prop._mdf || t) {
|
|
3817
3809
|
var e, i = this.data.p * 4, s, n;
|
|
3818
3810
|
for (e = 0; e < i; e += 1)
|
|
@@ -3822,24 +3814,24 @@ function _r() {
|
|
|
3822
3814
|
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
3815
|
this._mdf = !t;
|
|
3824
3816
|
}
|
|
3825
|
-
}, X([rt],
|
|
3826
|
-
function
|
|
3817
|
+
}, X([rt], xe);
|
|
3818
|
+
function fe(t, e, i) {
|
|
3827
3819
|
this.initDynamicPropertyContainer(t), this.getValue = this.iterateDynamicProperties, this.initGradientData(t, e, i);
|
|
3828
3820
|
}
|
|
3829
|
-
|
|
3821
|
+
fe.prototype.initGradientData = function(t, e, i) {
|
|
3830
3822
|
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
3823
|
k: 0
|
|
3832
3824
|
}, 0, 0.01, this), this.a = V.getProp(t, e.a || {
|
|
3833
3825
|
k: 0
|
|
3834
|
-
}, 0, Q, this), this.g = new
|
|
3835
|
-
},
|
|
3826
|
+
}, 0, Q, this), this.g = new xe(t, e.g, this), this.style = i, this.stops = [], this.setGradientData(i.pElem, e), this.setGradientOpacity(e, i), this._isAnimated = !!this._isAnimated;
|
|
3827
|
+
}, fe.prototype.setGradientData = function(t, e) {
|
|
3836
3828
|
var i = pt(), s = W(e.t === 1 ? "linearGradient" : "radialGradient");
|
|
3837
3829
|
s.setAttribute("id", i), s.setAttribute("spreadMethod", "pad"), s.setAttribute("gradientUnits", "userSpaceOnUse");
|
|
3838
3830
|
var n = [], r, o, c;
|
|
3839
3831
|
for (c = e.g.p * 4, o = 0; o < c; o += 4)
|
|
3840
3832
|
r = W("stop"), s.appendChild(r), n.push(r);
|
|
3841
3833
|
t.setAttribute(e.ty === "gf" ? "fill" : "stroke", "url(" + at() + "#" + i + ")"), this.gf = s, this.cst = n;
|
|
3842
|
-
},
|
|
3834
|
+
}, fe.prototype.setGradientOpacity = function(t, e) {
|
|
3843
3835
|
if (this.g._hasOpacity && !this.g._collapsable) {
|
|
3844
3836
|
var i, s, n, r = W("mask"), o = W("path");
|
|
3845
3837
|
r.appendChild(o);
|
|
@@ -3852,11 +3844,11 @@ function _r() {
|
|
|
3852
3844
|
i = W("stop"), i.setAttribute("stop-color", "rgb(255,255,255)"), m.appendChild(i), _.push(i);
|
|
3853
3845
|
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
3846
|
}
|
|
3855
|
-
}, X([rt],
|
|
3847
|
+
}, X([rt], fe);
|
|
3856
3848
|
function hs(t, e, i) {
|
|
3857
3849
|
this.initDynamicPropertyContainer(t), this.getValue = this.iterateDynamicProperties, this.w = V.getProp(t, e.w, 0, null, this), this.d = new Ke(t, e.d || {}, "svg", this), this.initGradientData(t, e, i), this._isAnimated = !!this._isAnimated;
|
|
3858
3850
|
}
|
|
3859
|
-
X([
|
|
3851
|
+
X([fe, rt], hs);
|
|
3860
3852
|
function lr() {
|
|
3861
3853
|
this.it = [], this.prevViewData = [], this.gr = W("g");
|
|
3862
3854
|
}
|
|
@@ -3907,7 +3899,7 @@ function _r() {
|
|
|
3907
3899
|
function r() {
|
|
3908
3900
|
}
|
|
3909
3901
|
function o(M, p, b) {
|
|
3910
|
-
var
|
|
3902
|
+
var A, S, C, y, v, f, u = p.styles.length, g = p.lvl, k, T, x, I;
|
|
3911
3903
|
for (f = 0; f < u; f += 1) {
|
|
3912
3904
|
if (y = p.sh._mdf || b, p.styles[f].lvl < g) {
|
|
3913
3905
|
for (T = e.reset(), x = g - p.styles[f].lvl, I = p.transformers.length - 1; !y && x > 0; )
|
|
@@ -3917,9 +3909,9 @@ function _r() {
|
|
|
3917
3909
|
T.multiply(p.transformers[I].mProps.v), x -= 1, I -= 1;
|
|
3918
3910
|
} else
|
|
3919
3911
|
T = t;
|
|
3920
|
-
if (
|
|
3921
|
-
for (C = "",
|
|
3922
|
-
v =
|
|
3912
|
+
if (k = p.sh.paths, S = k._length, y) {
|
|
3913
|
+
for (C = "", A = 0; A < S; A += 1)
|
|
3914
|
+
v = k.shapes[A], v && v._length && (C += ls(v, v._length, v.c, T));
|
|
3923
3915
|
p.caches[f] = C;
|
|
3924
3916
|
} else
|
|
3925
3917
|
C = p.caches[f];
|
|
@@ -3927,57 +3919,57 @@ function _r() {
|
|
|
3927
3919
|
}
|
|
3928
3920
|
}
|
|
3929
3921
|
function c(M, p, b) {
|
|
3930
|
-
var
|
|
3931
|
-
(p.c._mdf || b) &&
|
|
3922
|
+
var A = p.style;
|
|
3923
|
+
(p.c._mdf || b) && A.pElem.setAttribute("fill", "rgb(" + Ut(p.c.v[0]) + "," + Ut(p.c.v[1]) + "," + Ut(p.c.v[2]) + ")"), (p.o._mdf || b) && A.pElem.setAttribute("fill-opacity", p.o.v);
|
|
3932
3924
|
}
|
|
3933
3925
|
function h(M, p, b) {
|
|
3934
3926
|
m(M, p, b), _(M, p, b);
|
|
3935
3927
|
}
|
|
3936
3928
|
function m(M, p, b) {
|
|
3937
|
-
var
|
|
3929
|
+
var A = p.gf, S = p.g._hasOpacity, C = p.s.v, y = p.e.v;
|
|
3938
3930
|
if (p.o._mdf || b) {
|
|
3939
3931
|
var v = M.ty === "gf" ? "fill-opacity" : "stroke-opacity";
|
|
3940
3932
|
p.style.pElem.setAttribute(v, p.o.v);
|
|
3941
3933
|
}
|
|
3942
3934
|
if (p.s._mdf || b) {
|
|
3943
3935
|
var f = M.t === 1 ? "x1" : "cx", u = f === "x1" ? "y1" : "cy";
|
|
3944
|
-
|
|
3936
|
+
A.setAttribute(f, C[0]), A.setAttribute(u, C[1]), S && !p.g._collapsable && (p.of.setAttribute(f, C[0]), p.of.setAttribute(u, C[1]));
|
|
3945
3937
|
}
|
|
3946
|
-
var g,
|
|
3938
|
+
var g, k, T, x;
|
|
3947
3939
|
if (p.g._cmdf || b) {
|
|
3948
3940
|
g = p.cst;
|
|
3949
3941
|
var I = p.g.c;
|
|
3950
|
-
for (T = g.length,
|
|
3951
|
-
x = g[
|
|
3942
|
+
for (T = g.length, k = 0; k < T; k += 1)
|
|
3943
|
+
x = g[k], x.setAttribute("offset", I[k * 4] + "%"), x.setAttribute("stop-color", "rgb(" + I[k * 4 + 1] + "," + I[k * 4 + 2] + "," + I[k * 4 + 3] + ")");
|
|
3952
3944
|
}
|
|
3953
3945
|
if (S && (p.g._omdf || b)) {
|
|
3954
3946
|
var q = p.g.o;
|
|
3955
|
-
for (p.g._collapsable ? g = p.cst : g = p.ost, T = g.length,
|
|
3956
|
-
x = g[
|
|
3947
|
+
for (p.g._collapsable ? g = p.cst : g = p.ost, T = g.length, k = 0; k < T; k += 1)
|
|
3948
|
+
x = g[k], p.g._collapsable || x.setAttribute("offset", q[k * 2] + "%"), x.setAttribute("stop-opacity", q[k * 2 + 1]);
|
|
3957
3949
|
}
|
|
3958
3950
|
if (M.t === 1)
|
|
3959
|
-
(p.e._mdf || b) && (
|
|
3951
|
+
(p.e._mdf || b) && (A.setAttribute("x2", y[0]), A.setAttribute("y2", y[1]), S && !p.g._collapsable && (p.of.setAttribute("x2", y[0]), p.of.setAttribute("y2", y[1])));
|
|
3960
3952
|
else {
|
|
3961
3953
|
var N;
|
|
3962
|
-
if ((p.s._mdf || p.e._mdf || b) && (N = Math.sqrt(Math.pow(C[0] - y[0], 2) + Math.pow(C[1] - y[1], 2)),
|
|
3954
|
+
if ((p.s._mdf || p.e._mdf || b) && (N = Math.sqrt(Math.pow(C[0] - y[0], 2) + Math.pow(C[1] - y[1], 2)), A.setAttribute("r", N), S && !p.g._collapsable && p.of.setAttribute("r", N)), p.s._mdf || p.e._mdf || p.h._mdf || p.a._mdf || b) {
|
|
3963
3955
|
N || (N = Math.sqrt(Math.pow(C[0] - y[0], 2) + Math.pow(C[1] - y[1], 2)));
|
|
3964
3956
|
var L = Math.atan2(y[1] - C[1], y[0] - C[0]), G = p.h.v;
|
|
3965
3957
|
G >= 1 ? G = 0.99 : G <= -1 && (G = -0.99);
|
|
3966
3958
|
var O = N * G, F = Math.cos(L + p.a.v) * O + C[0], d = Math.sin(L + p.a.v) * O + C[1];
|
|
3967
|
-
|
|
3959
|
+
A.setAttribute("fx", F), A.setAttribute("fy", d), S && !p.g._collapsable && (p.of.setAttribute("fx", F), p.of.setAttribute("fy", d));
|
|
3968
3960
|
}
|
|
3969
3961
|
}
|
|
3970
3962
|
}
|
|
3971
3963
|
function _(M, p, b) {
|
|
3972
|
-
var
|
|
3973
|
-
S && (S._mdf || b) && S.dashStr && (
|
|
3964
|
+
var A = p.style, S = p.d;
|
|
3965
|
+
S && (S._mdf || b) && S.dashStr && (A.pElem.setAttribute("stroke-dasharray", S.dashStr), A.pElem.setAttribute("stroke-dashoffset", S.dashoffset[0])), p.c && (p.c._mdf || b) && A.pElem.setAttribute("stroke", "rgb(" + Ut(p.c.v[0]) + "," + Ut(p.c.v[1]) + "," + Ut(p.c.v[2]) + ")"), (p.o._mdf || b) && A.pElem.setAttribute("stroke-opacity", p.o.v), (p.w._mdf || b) && (A.pElem.setAttribute("stroke-width", p.w.v), A.msElem && A.msElem.setAttribute("stroke-width", p.w.v));
|
|
3974
3966
|
}
|
|
3975
3967
|
return i;
|
|
3976
3968
|
})();
|
|
3977
3969
|
function $(t, e, i) {
|
|
3978
3970
|
this.shapes = [], this.shapesData = t.shapes, this.stylesList = [], this.shapeModifiers = [], this.itemsData = [], this.processedElements = [], this.animatedContents = [], this.initElement(t, e, i), this.prevViewData = [];
|
|
3979
3971
|
}
|
|
3980
|
-
X([
|
|
3972
|
+
X([zt, he, Te, ts, le, qt, Me], $), $.prototype.initSecondaryElement = function() {
|
|
3981
3973
|
}, $.prototype.identityMatrix = new ht(), $.prototype.buildExpressionInterface = function() {
|
|
3982
3974
|
}, $.prototype.createContent = function() {
|
|
3983
3975
|
this.searchShapes(this.shapesData, this.itemsData, this.prevViewData, this.layerElement, 0, [], !0), this.filterUniqueShapes();
|
|
@@ -3999,7 +3991,7 @@ function _r() {
|
|
|
3999
3991
|
else if (t.ty === "fl")
|
|
4000
3992
|
i = new as(this, t, s);
|
|
4001
3993
|
else if (t.ty === "gf" || t.ty === "gs") {
|
|
4002
|
-
var r = t.ty === "gf" ?
|
|
3994
|
+
var r = t.ty === "gf" ? fe : hs;
|
|
4003
3995
|
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
3996
|
} else t.ty === "no" && (i = new os(this, t, s));
|
|
4005
3997
|
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;
|
|
@@ -4038,7 +4030,7 @@ function _r() {
|
|
|
4038
4030
|
this.dynamicProperties[t].getValue();
|
|
4039
4031
|
this.renderModifiers();
|
|
4040
4032
|
}, $.prototype.searchShapes = function(t, e, i, s, n, r, o) {
|
|
4041
|
-
var c = [].concat(r), h, m = t.length - 1, _, M, p = [], b = [],
|
|
4033
|
+
var c = [].concat(r), h, m = t.length - 1, _, M, p = [], b = [], A, S, C;
|
|
4042
4034
|
for (h = m; h >= 0; h -= 1) {
|
|
4043
4035
|
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")
|
|
4044
4036
|
C ? e[h].style.closed = t[h].hd : e[h] = this.createStyleElement(t[h], n), t[h]._render && e[h].style.pElem.parentNode !== s && s.appendChild(e[h].style.pElem), p.push(e[h].style);
|
|
@@ -4049,7 +4041,7 @@ function _r() {
|
|
|
4049
4041
|
for (M = e[h].it.length, _ = 0; _ < M; _ += 1)
|
|
4050
4042
|
e[h].prevViewData[_] = e[h].it[_];
|
|
4051
4043
|
this.searchShapes(t[h].it, e[h].it, e[h].prevViewData, e[h].gr, n + 1, c, o), t[h]._render && e[h].gr.parentNode !== s && s.appendChild(e[h].gr);
|
|
4052
|
-
} else t[h].ty === "tr" ? (C || (e[h] = this.createTransformElement(t[h], s)),
|
|
4044
|
+
} else t[h].ty === "tr" ? (C || (e[h] = this.createTransformElement(t[h], s)), A = e[h].transform, c.push(A)) : t[h].ty === "sh" || t[h].ty === "rc" || t[h].ty === "el" || t[h].ty === "sr" ? (C || (e[h] = this.createShapeElement(t[h], c, n)), this.setElementStyles(e[h])) : t[h].ty === "tm" || t[h].ty === "rd" || t[h].ty === "ms" || t[h].ty === "pb" || t[h].ty === "zz" || t[h].ty === "op" ? (C ? (S = e[h], S.closed = !1) : (S = Nt.getModifier(t[h].ty), S.init(this, t[h]), e[h] = S, this.shapeModifiers.push(S)), b.push(S)) : t[h].ty === "rp" && (C ? (S = e[h], S.closed = !0) : (S = Nt.getModifier(t[h].ty), e[h] = S, S.init(this, t, h, e), this.shapeModifiers.push(S), o = !1), b.push(S));
|
|
4053
4045
|
this.addProcessedElement(t[h], h + 1);
|
|
4054
4046
|
}
|
|
4055
4047
|
for (m = p.length, h = 0; h < m; h += 1)
|
|
@@ -4086,7 +4078,7 @@ function _r() {
|
|
|
4086
4078
|
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
4079
|
};
|
|
4088
4080
|
function ft(t, e) {
|
|
4089
|
-
this._frameId =
|
|
4081
|
+
this._frameId = ce, this.pv = "", this.v = "", this.kf = !1, this._isFirstFrame = !0, this._mdf = !1, e.d && e.d.sid && (e.d = t.globalData.slotManager.getProp(e.d)), this.data = e, this.elem = t, this.comp = this.elem.comp, this.keysIndex = 0, this.canResize = !1, this.minimumFontSize = 1, this.effectsSequence = [], this.currentData = {
|
|
4090
4082
|
ascent: 0,
|
|
4091
4083
|
boxWidth: this.defaultBoxWidth,
|
|
4092
4084
|
f: "",
|
|
@@ -4149,25 +4141,25 @@ function _r() {
|
|
|
4149
4141
|
return this.keysIndex !== i && (this.keysIndex = i), this.data.d.k[this.keysIndex].s;
|
|
4150
4142
|
}, ft.prototype.buildFinalText = function(t) {
|
|
4151
4143
|
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),
|
|
4144
|
+
o = c, c = !1, n = t.charCodeAt(i), h = t.charAt(i), $t.isCombinedCharacter(n) ? o = !0 : n >= 55296 && n <= 56319 ? $t.isRegionalFlag(t, i) ? h = t.substr(i, 14) : (r = t.charCodeAt(i + 1), r >= 56320 && r <= 57343 && ($t.isModifier(n, r) ? (h = t.substr(i, 2), o = !0) : $t.isFlagEmoji(t.substr(i, 4)) ? h = t.substr(i, 4) : h = t.substr(i, 2))) : n > 56319 ? (r = t.charCodeAt(i + 1), $t.isVariationSelector(n) && (o = !0)) : $t.isZeroWidthJoiner(n) && (o = !0, c = !0), o ? (e[e.length - 1] += h, o = !1) : e.push(h), i += h.length;
|
|
4153
4145
|
return e;
|
|
4154
4146
|
}, ft.prototype.completeTextData = function(t) {
|
|
4155
4147
|
t.__complete = !0;
|
|
4156
|
-
var e = this.elem.globalData.fontManager, i = this.data, s = [], n, r, o, c = 0, h, m = i.m.g, _ = 0, M = 0, p = 0, b = [],
|
|
4148
|
+
var e = this.elem.globalData.fontManager, i = this.data, s = [], n, r, o, c = 0, h, m = i.m.g, _ = 0, M = 0, p = 0, b = [], A = 0, S = 0, C, y, v = e.getFontByName(t.f), f, u = 0, g = Ki(v);
|
|
4157
4149
|
t.fWeight = g.weight, t.fStyle = g.style, t.finalSize = t.s, t.finalText = this.buildFinalText(t.t), r = t.finalText.length, t.finalLineHeight = t.lh;
|
|
4158
|
-
var
|
|
4150
|
+
var k = t.tr / 1e3 * t.finalSize, T;
|
|
4159
4151
|
if (t.sz)
|
|
4160
4152
|
for (var x = !0, I = t.sz[0], q = t.sz[1], N, L; x; ) {
|
|
4161
|
-
L = this.buildFinalText(t.t), N = 0,
|
|
4153
|
+
L = this.buildFinalText(t.t), N = 0, A = 0, r = L.length, k = t.tr / 1e3 * t.finalSize;
|
|
4162
4154
|
var G = -1;
|
|
4163
4155
|
for (n = 0; n < r; n += 1)
|
|
4164
|
-
T = L[n].charCodeAt(0), o = !1, L[n] === " " ? G = n : (T === 13 || T === 3) && (
|
|
4156
|
+
T = L[n].charCodeAt(0), o = !1, L[n] === " " ? G = n : (T === 13 || T === 3) && (A = 0, o = !0, N += t.finalLineHeight || t.finalSize * 1.2), e.chars ? (f = e.getCharData(L[n], v.fStyle, v.fFamily), u = o ? 0 : f.w * t.finalSize / 100) : u = e.measureText(L[n], t.f, t.finalSize), A + u > I && L[n] !== " " ? (G === -1 ? r += 1 : n = G, N += t.finalLineHeight || t.finalSize * 1.2, L.splice(n, G === n ? 1 : 0, "\r"), G = -1, A = 0) : (A += u, A += k);
|
|
4165
4157
|
N += v.ascent * t.finalSize / 100, this.canResize && t.finalSize > this.minimumFontSize && q < N ? (t.finalSize -= 1, t.finalLineHeight = t.finalSize * t.lh / t.s) : (t.finalText = L, r = t.finalText.length, x = !1);
|
|
4166
4158
|
}
|
|
4167
|
-
|
|
4159
|
+
A = -k, u = 0;
|
|
4168
4160
|
var O = 0, F;
|
|
4169
4161
|
for (n = 0; n < r; n += 1)
|
|
4170
|
-
if (o = !1, F = t.finalText[n], T = F.charCodeAt(0), T === 13 || T === 3 ? (O = 0, b.push(
|
|
4162
|
+
if (o = !1, F = t.finalText[n], T = F.charCodeAt(0), T === 13 || T === 3 ? (O = 0, b.push(A), S = A > S ? A : S, A = -2 * k, h = "", o = !0, p += 1) : h = F, e.chars ? (f = e.getCharData(F, v.fStyle, e.getFontByName(t.f).fFamily), u = o ? 0 : f.w * t.finalSize / 100) : u = e.measureText(h, t.f, t.finalSize), F === " " ? O += u + k : (A += u + k + O, O = 0), s.push({
|
|
4171
4163
|
l: u,
|
|
4172
4164
|
an: u,
|
|
4173
4165
|
add: _,
|
|
@@ -4190,7 +4182,7 @@ function _r() {
|
|
|
4190
4182
|
}
|
|
4191
4183
|
} else
|
|
4192
4184
|
s[c].ind = c, s[c].extra = 0, c += 1;
|
|
4193
|
-
if (t.l = s, S =
|
|
4185
|
+
if (t.l = s, S = A > S ? A : S, b.push(A), t.sz)
|
|
4194
4186
|
t.boxWidth = t.sz[0], t.justifyOffset = 0;
|
|
4195
4187
|
else
|
|
4196
4188
|
switch (t.boxWidth = S, t.j) {
|
|
@@ -4251,24 +4243,24 @@ function _r() {
|
|
|
4251
4243
|
this._currentTextLength !== this.elem.textProperty.currentData.l.length && this.getValue();
|
|
4252
4244
|
var c = 0, h = 0, m = 1, _ = 1;
|
|
4253
4245
|
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 =
|
|
4246
|
+
var M = _e.getBezierEasing(c, h, m, _).get, p = 0, b = this.finalS, A = this.finalE, S = this.data.sh;
|
|
4255
4247
|
if (S === 2)
|
|
4256
|
-
|
|
4248
|
+
A === b ? p = o >= A ? 1 : 0 : p = t(0, e(0.5 / (A - b) + (o - b) / (A - b), 1)), p = M(p);
|
|
4257
4249
|
else if (S === 3)
|
|
4258
|
-
|
|
4250
|
+
A === b ? p = o >= A ? 0 : 1 : p = 1 - t(0, e(0.5 / (A - b) + (o - b) / (A - b), 1)), p = M(p);
|
|
4259
4251
|
else if (S === 4)
|
|
4260
|
-
|
|
4252
|
+
A === b ? p = 0 : (p = t(0, e(0.5 / (A - b) + (o - b) / (A - b), 1)), p < 0.5 ? p *= 2 : p = 1 - 2 * (p - 0.5)), p = M(p);
|
|
4261
4253
|
else if (S === 5) {
|
|
4262
|
-
if (
|
|
4254
|
+
if (A === b)
|
|
4263
4255
|
p = 0;
|
|
4264
4256
|
else {
|
|
4265
|
-
var C =
|
|
4266
|
-
o = e(t(0, o + 0.5 - b),
|
|
4257
|
+
var C = A - b;
|
|
4258
|
+
o = e(t(0, o + 0.5 - b), A - b);
|
|
4267
4259
|
var y = -C / 2 + o, v = C / 2;
|
|
4268
4260
|
p = Math.sqrt(1 - y * y / (v * v));
|
|
4269
4261
|
}
|
|
4270
4262
|
p = M(p);
|
|
4271
|
-
} else S === 6 ? (
|
|
4263
|
+
} else S === 6 ? (A === b ? p = 0 : (o = e(t(0, o + 0.5 - b), A - b), p = (1 + Math.cos(Math.PI + Math.PI * 2 * o / (A - b))) / 2), p = M(p)) : (o >= i(b) && (o - b < 0 ? p = t(0, e(e(A, 1) - (b - o), 1)) : p = t(0, e(A - o, 1))), p = M(p));
|
|
4272
4264
|
if (this.sm.v !== 100) {
|
|
4273
4265
|
var f = this.sm.v * 0.01;
|
|
4274
4266
|
f === 0 && (f = 1e-8);
|
|
@@ -4317,12 +4309,12 @@ function _r() {
|
|
|
4317
4309
|
t: r.t ? n(t, r.t, 0, 0, i) : s
|
|
4318
4310
|
}, this.s = ur.getTextSelectorProp(t, e.s, i), this.s.t = e.s.t;
|
|
4319
4311
|
}
|
|
4320
|
-
function
|
|
4312
|
+
function ee(t, e, i) {
|
|
4321
4313
|
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
4314
|
alignment: {}
|
|
4323
4315
|
}, this.renderedLetters = [], this.lettersChangedFlag = !1, this.initDynamicPropertyContainer(i);
|
|
4324
4316
|
}
|
|
4325
|
-
|
|
4317
|
+
ee.prototype.searchProperties = function() {
|
|
4326
4318
|
var t, e = this._textData.a.length, i, s = V.getProp;
|
|
4327
4319
|
for (t = 0; t < e; t += 1)
|
|
4328
4320
|
i = this._textData.a[t], this._animatorsData[t] = new cr(this._elem, i, this);
|
|
@@ -4334,10 +4326,10 @@ function _r() {
|
|
|
4334
4326
|
p: s(this._elem, this._textData.p.p, 0, 0, this),
|
|
4335
4327
|
m: this._elem.maskManager.getMaskProperty(this._textData.p.m)
|
|
4336
4328
|
}, this._hasMaskedPath = !0) : this._hasMaskedPath = !1, this._moreOptions.alignment = s(this._elem, this._textData.m.a, 1, 0, this);
|
|
4337
|
-
},
|
|
4329
|
+
}, ee.prototype.getMeasures = function(t, e) {
|
|
4338
4330
|
if (this.lettersChangedFlag = e, !(!this._mdf && !this._isFirstFrame && !e && (!this._hasMaskedPath || !this._pathData.m._mdf))) {
|
|
4339
4331
|
this._isFirstFrame = !1;
|
|
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,
|
|
4332
|
+
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, A, S, C, y, v, f, u, g, k, T, x, I, q, N;
|
|
4341
4333
|
if (this._hasMaskedPath) {
|
|
4342
4334
|
if (N = this._pathData.m, !this._pathData.n || this._pathData._mdf) {
|
|
4343
4335
|
var L = N.v;
|
|
@@ -4350,57 +4342,57 @@ function _r() {
|
|
|
4350
4342
|
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
4343
|
_ = 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
4344
|
}
|
|
4353
|
-
if (b = this._pathData.pi,
|
|
4354
|
-
for (b.tLength < Math.abs(
|
|
4355
|
-
|
|
4356
|
-
g =
|
|
4345
|
+
if (b = this._pathData.pi, A = this._pathData.f.v, f = 0, v = 1, C = 0, y = !0, k = b.segments, A < 0 && N.v.c)
|
|
4346
|
+
for (b.tLength < Math.abs(A) && (A = -Math.abs(A) % b.tLength), f = k.length - 1, g = k[f].points, v = g.length - 1; A < 0; )
|
|
4347
|
+
A += g[v].partialLength, v -= 1, v < 0 && (f -= 1, g = k[f].points, v = g.length - 1);
|
|
4348
|
+
g = k[f].points, u = g[v - 1], S = g[v], T = S.partialLength;
|
|
4357
4349
|
}
|
|
4358
4350
|
M = p.length, h = 0, m = 0;
|
|
4359
4351
|
var O = t.finalSize * 1.2 * 0.714, F = !0, d, P, a, l, E;
|
|
4360
4352
|
l = s.length;
|
|
4361
|
-
var w, R = -1, z, D, Y, H =
|
|
4353
|
+
var w, R = -1, z, D, Y, H = A, et = f, ct = v, Tt = -1, dt, nt, mt, K, B, Lt, Gt, Vt, Mt = "", Rt = this.defaultPropsArray, Ot;
|
|
4362
4354
|
if (t.j === 2 || t.j === 1) {
|
|
4363
|
-
var vt = 0,
|
|
4355
|
+
var vt = 0, Xt = 0, Yt = t.j === 2 ? -0.5 : -1, St = 0, Ht = !0;
|
|
4364
4356
|
for (_ = 0; _ < M; _ += 1)
|
|
4365
4357
|
if (p[_].n) {
|
|
4366
|
-
for (vt && (vt +=
|
|
4358
|
+
for (vt && (vt += Xt); St < _; )
|
|
4367
4359
|
p[St].animatorJustifyOffset = vt, St += 1;
|
|
4368
|
-
vt = 0,
|
|
4360
|
+
vt = 0, Ht = !0;
|
|
4369
4361
|
} else {
|
|
4370
4362
|
for (a = 0; a < l; a += 1)
|
|
4371
|
-
d = s[a].a, d.t.propType && (
|
|
4372
|
-
|
|
4363
|
+
d = s[a].a, d.t.propType && (Ht && t.j === 2 && (Xt += d.t.v * Yt), P = s[a].s, w = P.getMult(p[_].anIndexes[a], n.a[a].s.totalChars), w.length ? vt += d.t.v * w[0] * Yt : vt += d.t.v * w * Yt);
|
|
4364
|
+
Ht = !1;
|
|
4373
4365
|
}
|
|
4374
|
-
for (vt && (vt +=
|
|
4366
|
+
for (vt && (vt += Xt); St < _; )
|
|
4375
4367
|
p[St].animatorJustifyOffset = vt, St += 1;
|
|
4376
4368
|
}
|
|
4377
4369
|
for (_ = 0; _ < M; _ += 1) {
|
|
4378
4370
|
if (r.reset(), dt = 1, p[_].n)
|
|
4379
|
-
h = 0, m += t.yOffset, m += F ? 1 : 0,
|
|
4371
|
+
h = 0, m += t.yOffset, m += F ? 1 : 0, A = H, F = !1, this._hasMaskedPath && (f = et, v = ct, g = k[f].points, u = g[v - 1], S = g[v], T = S.partialLength, C = 0), Mt = "", Vt = "", Lt = "", Ot = "", Rt = this.defaultPropsArray;
|
|
4380
4372
|
else {
|
|
4381
4373
|
if (this._hasMaskedPath) {
|
|
4382
4374
|
if (Tt !== p[_].line) {
|
|
4383
4375
|
switch (t.j) {
|
|
4384
4376
|
case 1:
|
|
4385
|
-
|
|
4377
|
+
A += x - t.lineWidths[p[_].line];
|
|
4386
4378
|
break;
|
|
4387
4379
|
case 2:
|
|
4388
|
-
|
|
4380
|
+
A += (x - t.lineWidths[p[_].line]) / 2;
|
|
4389
4381
|
break;
|
|
4390
4382
|
}
|
|
4391
4383
|
Tt = p[_].line;
|
|
4392
4384
|
}
|
|
4393
|
-
R !== p[_].ind && (p[R] && (
|
|
4385
|
+
R !== p[_].ind && (p[R] && (A += p[R].extra), A += p[_].an / 2, R = p[_].ind), A += i[0] * p[_].an * 5e-3;
|
|
4394
4386
|
var Pt = 0;
|
|
4395
4387
|
for (a = 0; a < l; a += 1)
|
|
4396
4388
|
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
|
-
for (y = !0, this._pathData.a.v && (
|
|
4398
|
-
C + T >=
|
|
4389
|
+
for (y = !0, this._pathData.a.v && (A = 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), A += this._pathData.f.v); y; )
|
|
4390
|
+
C + T >= A + Pt || !g ? (I = (A + 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, k[f] ? g = k[f].points : N.v.c ? (v = 0, f = 0, g = k[f].points) : (C -= S.partialLength, g = null)), g && (u = S, S = g[v], T = S.partialLength));
|
|
4399
4391
|
z = p[_].an / 2 - p[_].add, r.translate(-z, 0, 0);
|
|
4400
4392
|
} else
|
|
4401
4393
|
z = p[_].an / 2 - p[_].add, r.translate(-z, 0, 0), r.translate(-i[0] * p[_].an * 5e-3, -i[1] * O * 0.01, 0);
|
|
4402
4394
|
for (a = 0; a < l; a += 1)
|
|
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 ?
|
|
4395
|
+
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 ? A += d.t.v * w[0] : A += d.t.v * w : w.length ? h += d.t.v * w[0] : h += d.t.v * w));
|
|
4404
4396
|
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
4397
|
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
4398
|
for (a = 0; a < l; a += 1)
|
|
@@ -4413,18 +4405,18 @@ function _r() {
|
|
|
4413
4405
|
if (d.fc.propType)
|
|
4414
4406
|
for (B = 0; B < 3; B += 1)
|
|
4415
4407
|
w.length ? K[B] += (d.fc.v[B] - K[B]) * w[0] : K[B] += (d.fc.v[B] - K[B]) * w;
|
|
4416
|
-
d.fh.propType && (w.length ? K = wi(K, d.fh.v * w[0]) : K = wi(K, d.fh.v * w)), d.fs.propType && (w.length ? K =
|
|
4408
|
+
d.fh.propType && (w.length ? K = wi(K, d.fh.v * w[0]) : K = wi(K, d.fh.v * w)), d.fs.propType && (w.length ? K = Ai(K, d.fs.v * w[0]) : K = Ai(K, d.fs.v * w)), d.fb.propType && (w.length ? K = ki(K, d.fb.v * w[0]) : K = ki(K, d.fb.v * w));
|
|
4417
4409
|
}
|
|
4418
4410
|
}
|
|
4419
4411
|
for (a = 0; a < l; a += 1)
|
|
4420
4412
|
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 && (
|
|
4413
|
+
if (t.strokeWidthAnim && (Lt = mt < 0 ? 0 : mt), t.strokeColorAnim && (Gt = "rgb(" + Math.round(nt[0] * 255) + "," + Math.round(nt[1] * 255) + "," + Math.round(nt[2] * 255) + ")"), t.fillColorAnim && t.fc && (Vt = "rgb(" + Math.round(K[0] * 255) + "," + Math.round(K[1] * 255) + "," + Math.round(K[2] * 255) + ")"), this._hasMaskedPath) {
|
|
4422
4414
|
if (r.translate(0, -t.ls), r.translate(0, i[1] * O * 0.01 + m, 0), this._pathData.p.v) {
|
|
4423
4415
|
q = (S.point[1] - u.point[1]) / (S.point[0] - u.point[0]);
|
|
4424
|
-
var
|
|
4425
|
-
S.point[0] < u.point[0] && (
|
|
4416
|
+
var ie = Math.atan(q) * 180 / Math.PI;
|
|
4417
|
+
S.point[0] < u.point[0] && (ie += 180), r.rotate(-ie * Math.PI / 180);
|
|
4426
4418
|
}
|
|
4427
|
-
r.translate(D, Y, 0),
|
|
4419
|
+
r.translate(D, Y, 0), A -= i[0] * p[_].an * 5e-3, p[_ + 1] && R !== p[_ + 1].ind && (A += p[_].an / 2, A += t.tr * 1e-3 * t.finalSize);
|
|
4428
4420
|
} else {
|
|
4429
4421
|
switch (r.translate(h, m, 0), t.ps && r.translate(t.ps[0], t.ps[1] + t.ascent, 0), t.j) {
|
|
4430
4422
|
case 1:
|
|
@@ -4436,18 +4428,18 @@ function _r() {
|
|
|
4436
4428
|
}
|
|
4437
4429
|
r.translate(0, -t.ls), r.translate(z, 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
4430
|
}
|
|
4439
|
-
o === "html" ? Mt = r.toCSS() : o === "svg" ? Mt = r.to2dCSS() :
|
|
4431
|
+
o === "html" ? Mt = r.toCSS() : o === "svg" ? Mt = r.to2dCSS() : Rt = [r.props[0], r.props[1], r.props[2], r.props[3], r.props[4], r.props[5], r.props[6], r.props[7], r.props[8], r.props[9], r.props[10], r.props[11], r.props[12], r.props[13], r.props[14], r.props[15]], Ot = dt;
|
|
4440
4432
|
}
|
|
4441
|
-
c <= _ ? (E = new di(
|
|
4433
|
+
c <= _ ? (E = new di(Ot, Lt, Gt, Vt, Mt, Rt), this.renderedLetters.push(E), c += 1, this.lettersChangedFlag = !0) : (E = this.renderedLetters[_], this.lettersChangedFlag = E.update(Ot, Lt, Gt, Vt, Mt, Rt) || this.lettersChangedFlag);
|
|
4442
4434
|
}
|
|
4443
4435
|
}
|
|
4444
|
-
},
|
|
4436
|
+
}, ee.prototype.getValue = function() {
|
|
4445
4437
|
this._elem.globalData.frameId !== this._frameId && (this._frameId = this._elem.globalData.frameId, this.iterateDynamicProperties());
|
|
4446
|
-
},
|
|
4438
|
+
}, ee.prototype.mHelper = new ht(), ee.prototype.defaultPropsArray = [], X([rt], ee);
|
|
4447
4439
|
function yt() {
|
|
4448
4440
|
}
|
|
4449
4441
|
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
|
|
4442
|
+
this.lettersChangedFlag = !0, this.initFrame(), this.initBaseData(t, e, i), this.textProperty = new ft(this, t.t, this.dynamicProperties), this.textAnimator = new ee(t.t, this.renderType, this), this.initTransform(t, e, i), this.initHierarchy(), this.initRenderable(), this.initRendererElement(), this.createContainerElements(), this.createRenderableComponents(), this.createContent(), this.hide(), this.textAnimator.searchProperties(this.dynamicProperties);
|
|
4451
4443
|
}, yt.prototype.prepareFrame = function(t) {
|
|
4452
4444
|
this._mdf = !1, this.prepareRenderableFrame(t), this.prepareProperties(t, this.isInRange);
|
|
4453
4445
|
}, yt.prototype.createPathShape = function(t, e) {
|
|
@@ -4480,16 +4472,16 @@ function _r() {
|
|
|
4480
4472
|
var dr = {
|
|
4481
4473
|
shapes: []
|
|
4482
4474
|
};
|
|
4483
|
-
function
|
|
4475
|
+
function Ft(t, e, i) {
|
|
4484
4476
|
this.textSpans = [], this.renderType = "svg", this.initElement(t, e, i);
|
|
4485
4477
|
}
|
|
4486
|
-
X([
|
|
4478
|
+
X([zt, he, Te, le, qt, Me, yt], Ft), Ft.prototype.createContent = function() {
|
|
4487
4479
|
this.data.singleShape && !this.globalData.fontManager.chars && (this.textContainer = W("text"));
|
|
4488
|
-
},
|
|
4480
|
+
}, Ft.prototype.buildTextContents = function(t) {
|
|
4489
4481
|
for (var e = 0, i = t.length, s = [], n = ""; e < i; )
|
|
4490
4482
|
t[e] === "\r" || t[e] === "" ? (s.push(n), n = "") : n += t[e], e += 1;
|
|
4491
4483
|
return s.push(n), s;
|
|
4492
|
-
},
|
|
4484
|
+
}, Ft.prototype.buildShapeData = function(t, e) {
|
|
4493
4485
|
if (t.shapes && t.shapes.length) {
|
|
4494
4486
|
var i = t.shapes[0];
|
|
4495
4487
|
if (i.it) {
|
|
@@ -4498,7 +4490,7 @@ function _r() {
|
|
|
4498
4490
|
}
|
|
4499
4491
|
}
|
|
4500
4492
|
return t;
|
|
4501
|
-
},
|
|
4493
|
+
}, Ft.prototype.buildNewText = function() {
|
|
4502
4494
|
this.addDynamicProperty(this);
|
|
4503
4495
|
var t, e, i = this.textProperty.currentData;
|
|
4504
4496
|
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);
|
|
@@ -4513,7 +4505,7 @@ function _r() {
|
|
|
4513
4505
|
this.layerElement.setAttribute("aria-label", i.t);
|
|
4514
4506
|
var o = i.l || [], c = !!this.globalData.fontManager.chars;
|
|
4515
4507
|
e = o.length;
|
|
4516
|
-
var h, m = this.mHelper, _ = "", M = this.data.singleShape, p = 0, b = 0,
|
|
4508
|
+
var h, m = this.mHelper, _ = "", M = this.data.singleShape, p = 0, b = 0, A = !0, S = i.tr * 1e-3 * i.finalSize;
|
|
4517
4509
|
if (M && !c && !i.sz) {
|
|
4518
4510
|
var C = this.textContainer, y = "start";
|
|
4519
4511
|
switch (i.j) {
|
|
@@ -4552,20 +4544,20 @@ function _r() {
|
|
|
4552
4544
|
}
|
|
4553
4545
|
h.style.display = "inherit";
|
|
4554
4546
|
}
|
|
4555
|
-
if (m.reset(), M && (o[t].n && (p = -S, b += i.yOffset, b +=
|
|
4547
|
+
if (m.reset(), M && (o[t].n && (p = -S, b += i.yOffset, b += A ? 1 : 0, A = !1), this.applyTextPropertiesToMatrix(i, m, o[t].line, p, b), p += o[t].l || 0, p += S), c) {
|
|
4556
4548
|
u = this.globalData.fontManager.getCharData(i.finalText[t], s.fStyle, this.globalData.fontManager.getFontByName(i.f).fFamily);
|
|
4557
|
-
var
|
|
4549
|
+
var k;
|
|
4558
4550
|
if (u.t === 1)
|
|
4559
|
-
|
|
4551
|
+
k = new Fe(u.data, this.globalData, this);
|
|
4560
4552
|
else {
|
|
4561
4553
|
var T = dr;
|
|
4562
|
-
u.data && u.data.shapes && (T = this.buildShapeData(u.data, i.finalSize)),
|
|
4554
|
+
u.data && u.data.shapes && (T = this.buildShapeData(u.data, i.finalSize)), k = new $(T, this.globalData, this);
|
|
4563
4555
|
}
|
|
4564
4556
|
if (this.textSpans[t].glyph) {
|
|
4565
4557
|
var x = this.textSpans[t].glyph;
|
|
4566
4558
|
this.textSpans[t].childSpan.removeChild(x.layerElement), x.destroy();
|
|
4567
4559
|
}
|
|
4568
|
-
this.textSpans[t].glyph =
|
|
4560
|
+
this.textSpans[t].glyph = k, k._debug = !0, k.prepareFrame(0), k.renderFrame(), this.textSpans[t].childSpan.appendChild(k.layerElement), u.t === 1 && this.textSpans[t].childSpan.setAttribute("transform", "scale(" + i.finalSize / 100 + "," + i.finalSize / 100 + ")");
|
|
4569
4561
|
} else
|
|
4570
4562
|
M && h.setAttribute("transform", "translate(" + m.props[12] + "," + m.props[13] + ")"), h.textContent = o[t].val, h.setAttributeNS("http://www.w3.org/XML/1998/namespace", "xml:space", "preserve");
|
|
4571
4563
|
}
|
|
@@ -4574,7 +4566,7 @@ function _r() {
|
|
|
4574
4566
|
for (; t < this.textSpans.length; )
|
|
4575
4567
|
this.textSpans[t].span.style.display = "none", t += 1;
|
|
4576
4568
|
this._sizeChanged = !0;
|
|
4577
|
-
},
|
|
4569
|
+
}, Ft.prototype.sourceRectAtTime = function() {
|
|
4578
4570
|
if (this.prepareFrame(this.comp.renderedFrame - this.data.st), this.renderInnerContent(), this._sizeChanged) {
|
|
4579
4571
|
this._sizeChanged = !1;
|
|
4580
4572
|
var t = this.layerElement.getBBox();
|
|
@@ -4586,11 +4578,11 @@ function _r() {
|
|
|
4586
4578
|
};
|
|
4587
4579
|
}
|
|
4588
4580
|
return this.bbox;
|
|
4589
|
-
},
|
|
4581
|
+
}, Ft.prototype.getValue = function() {
|
|
4590
4582
|
var t, e = this.textSpans.length, i;
|
|
4591
4583
|
for (this.renderedFrame = this.comp.renderedFrame, t = 0; t < e; t += 1)
|
|
4592
4584
|
i = this.textSpans[t].glyph, i && (i.prepareFrame(this.comp.renderedFrame - this.data.st), i._mdf && (this._mdf = !0));
|
|
4593
|
-
},
|
|
4585
|
+
}, Ft.prototype.renderInnerContent = function() {
|
|
4594
4586
|
if (this.validateText(), (!this.data.singleShape || this._mdf) && (this.textAnimator.getMeasures(this.textProperty.currentData, this.lettersChangedFlag), this.lettersChangedFlag || this.textAnimator.lettersChangedFlag)) {
|
|
4595
4587
|
this._sizeChanged = !0;
|
|
4596
4588
|
var t, e, i = this.textAnimator.renderedLetters, s = this.textProperty.currentData.l;
|
|
@@ -4603,32 +4595,32 @@ function _r() {
|
|
|
4603
4595
|
function vi(t, e, i) {
|
|
4604
4596
|
this.initElement(t, e, i);
|
|
4605
4597
|
}
|
|
4606
|
-
X([
|
|
4598
|
+
X([Ee], vi), vi.prototype.createContent = function() {
|
|
4607
4599
|
var t = W("rect");
|
|
4608
4600
|
t.setAttribute("width", this.data.sw), t.setAttribute("height", this.data.sh), t.setAttribute("fill", this.data.sc), this.layerElement.appendChild(t);
|
|
4609
4601
|
};
|
|
4610
|
-
function
|
|
4602
|
+
function Wt(t, e, i) {
|
|
4611
4603
|
this.initFrame(), this.initBaseData(t, e, i), this.initFrame(), this.initTransform(t, e, i), this.initHierarchy();
|
|
4612
4604
|
}
|
|
4613
|
-
|
|
4605
|
+
Wt.prototype.prepareFrame = function(t) {
|
|
4614
4606
|
this.prepareProperties(t, !0);
|
|
4615
|
-
},
|
|
4616
|
-
},
|
|
4607
|
+
}, Wt.prototype.renderFrame = function() {
|
|
4608
|
+
}, Wt.prototype.getBaseElement = function() {
|
|
4617
4609
|
return null;
|
|
4618
|
-
},
|
|
4619
|
-
},
|
|
4620
|
-
},
|
|
4621
|
-
}, X([
|
|
4610
|
+
}, Wt.prototype.destroy = function() {
|
|
4611
|
+
}, Wt.prototype.sourceRectAtTime = function() {
|
|
4612
|
+
}, Wt.prototype.hide = function() {
|
|
4613
|
+
}, X([zt, he, le, qt], Wt);
|
|
4622
4614
|
function st() {
|
|
4623
4615
|
}
|
|
4624
4616
|
X([lt], st), st.prototype.createNull = function(t) {
|
|
4625
|
-
return new
|
|
4617
|
+
return new Wt(t, this.globalData, this);
|
|
4626
4618
|
}, st.prototype.createShape = function(t) {
|
|
4627
4619
|
return new $(t, this.globalData, this);
|
|
4628
4620
|
}, st.prototype.createText = function(t) {
|
|
4629
|
-
return new
|
|
4621
|
+
return new Ft(t, this.globalData, this);
|
|
4630
4622
|
}, st.prototype.createImage = function(t) {
|
|
4631
|
-
return new
|
|
4623
|
+
return new Ee(t, this.globalData, this);
|
|
4632
4624
|
}, st.prototype.createSolid = function(t) {
|
|
4633
4625
|
return new vi(t, this.globalData, this);
|
|
4634
4626
|
}, st.prototype.configAnimation = function(t) {
|
|
@@ -4704,11 +4696,11 @@ function _r() {
|
|
|
4704
4696
|
}, st.prototype.show = function() {
|
|
4705
4697
|
this.layerElement.style.display = "block";
|
|
4706
4698
|
};
|
|
4707
|
-
function
|
|
4699
|
+
function It() {
|
|
4708
4700
|
}
|
|
4709
|
-
X([
|
|
4701
|
+
X([zt, he, le, qt, Me], It), It.prototype.initElement = function(t, e, i) {
|
|
4710
4702
|
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
|
-
},
|
|
4703
|
+
}, It.prototype.prepareFrame = function(t) {
|
|
4712
4704
|
if (this._mdf = !1, this.prepareRenderableFrame(t), this.prepareProperties(t, this.isInRange), !(!this.isInRange && !this.data.xt)) {
|
|
4713
4705
|
if (this.tm._placeholder)
|
|
4714
4706
|
this.renderedFrame = t / this.data.sr;
|
|
@@ -4720,28 +4712,28 @@ function _r() {
|
|
|
4720
4712
|
for (this.completeLayers || this.checkLayers(this.renderedFrame), i = s - 1; i >= 0; i -= 1)
|
|
4721
4713
|
(this.completeLayers || this.elements[i]) && (this.elements[i].prepareFrame(this.renderedFrame - this.layers[i].st), this.elements[i]._mdf && (this._mdf = !0));
|
|
4722
4714
|
}
|
|
4723
|
-
},
|
|
4715
|
+
}, It.prototype.renderInnerContent = function() {
|
|
4724
4716
|
var t, e = this.layers.length;
|
|
4725
4717
|
for (t = 0; t < e; t += 1)
|
|
4726
4718
|
(this.completeLayers || this.elements[t]) && this.elements[t].renderFrame();
|
|
4727
|
-
},
|
|
4719
|
+
}, It.prototype.setElements = function(t) {
|
|
4728
4720
|
this.elements = t;
|
|
4729
|
-
},
|
|
4721
|
+
}, It.prototype.getElements = function() {
|
|
4730
4722
|
return this.elements;
|
|
4731
|
-
},
|
|
4723
|
+
}, It.prototype.destroyElements = function() {
|
|
4732
4724
|
var t, e = this.layers.length;
|
|
4733
4725
|
for (t = 0; t < e; t += 1)
|
|
4734
4726
|
this.elements[t] && this.elements[t].destroy();
|
|
4735
|
-
},
|
|
4727
|
+
}, It.prototype.destroy = function() {
|
|
4736
4728
|
this.destroyElements(), this.destroyBaseElement();
|
|
4737
4729
|
};
|
|
4738
|
-
function
|
|
4730
|
+
function Fe(t, e, i) {
|
|
4739
4731
|
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
4732
|
_placeholder: !0
|
|
4741
4733
|
};
|
|
4742
4734
|
}
|
|
4743
|
-
X([st,
|
|
4744
|
-
return new
|
|
4735
|
+
X([st, It, Te], Fe), Fe.prototype.createComp = function(t) {
|
|
4736
|
+
return new Fe(t, this.globalData, this);
|
|
4745
4737
|
};
|
|
4746
4738
|
function mi(t, e) {
|
|
4747
4739
|
this.animationItem = t, this.layers = null, this.renderedFrame = -1, this.svgElement = W("svg");
|
|
@@ -4786,15 +4778,15 @@ function _r() {
|
|
|
4786
4778
|
}, this.elements = [], this.pendingElements = [], this.destroyed = !1, this.rendererType = "svg";
|
|
4787
4779
|
}
|
|
4788
4780
|
return X([st], mi), mi.prototype.createComp = function(t) {
|
|
4789
|
-
return new
|
|
4790
|
-
},
|
|
4781
|
+
return new Fe(t, this.globalData, this);
|
|
4782
|
+
}, ks("svg", mi), Nt.registerModifier("tm", bt), Nt.registerModifier("pb", be), Nt.registerModifier("rp", Ct), Nt.registerModifier("rd", Se), Nt.registerModifier("zz", Ae), Nt.registerModifier("op", ke), Z;
|
|
4791
4783
|
}));
|
|
4792
|
-
})(
|
|
4784
|
+
})(Ie, Ie.exports)), Ie.exports;
|
|
4793
4785
|
}
|
|
4794
4786
|
var br = /* @__PURE__ */ _r();
|
|
4795
4787
|
const Sr = /* @__PURE__ */ gr(br), Pr = vr(
|
|
4796
|
-
({ json:
|
|
4797
|
-
const Kt = ps(null),
|
|
4788
|
+
({ json: At, autoplay: pe = !0, delay: ue = 0, onAnimationEnd: Zt, ...Le }, ce) => {
|
|
4789
|
+
const Kt = ps(null), Et = ps(null), [de, at] = mr(!1), _t = (X) => {
|
|
4798
4790
|
at(X.matches);
|
|
4799
4791
|
};
|
|
4800
4792
|
return us(() => {
|
|
@@ -4805,45 +4797,44 @@ const Sr = /* @__PURE__ */ gr(br), Pr = vr(
|
|
|
4805
4797
|
}, []), us(() => {
|
|
4806
4798
|
const $e = setTimeout(() => {
|
|
4807
4799
|
if (Kt.current) {
|
|
4808
|
-
const
|
|
4800
|
+
const Ve = {
|
|
4809
4801
|
"rgb(153,10,227)": "--purpur-color-brand-core-purple",
|
|
4810
4802
|
"rgb(41,0,62)": "--purpur-color-brand-deep-purple",
|
|
4811
4803
|
"rgb(30,30,32)": "--purpur-color-brand-off-black"
|
|
4812
4804
|
};
|
|
4813
|
-
if (
|
|
4805
|
+
if (Et.current = Sr.loadAnimation({
|
|
4814
4806
|
container: Kt.current,
|
|
4815
4807
|
renderer: "svg",
|
|
4816
4808
|
loop: !1,
|
|
4817
|
-
autoplay: !
|
|
4818
|
-
animationData:
|
|
4809
|
+
autoplay: !de && pe,
|
|
4810
|
+
animationData: At,
|
|
4819
4811
|
rendererSettings: {
|
|
4820
4812
|
preserveAspectRatio: "xMidYMid slice"
|
|
4821
4813
|
}
|
|
4822
|
-
}),
|
|
4814
|
+
}), Et.current.addEventListener("DOMLoaded", () => {
|
|
4823
4815
|
if (!Kt.current) return;
|
|
4824
4816
|
const U = getComputedStyle(document.documentElement);
|
|
4825
|
-
Kt.current.querySelectorAll("svg *").forEach((
|
|
4826
|
-
["fill", "stroke"].forEach((
|
|
4827
|
-
const
|
|
4828
|
-
if (
|
|
4829
|
-
const Re = U.getPropertyValue(
|
|
4830
|
-
Re &&
|
|
4817
|
+
Kt.current.querySelectorAll("svg *").forEach((ve) => {
|
|
4818
|
+
["fill", "stroke"].forEach((me) => {
|
|
4819
|
+
const se = ve.getAttribute(me);
|
|
4820
|
+
if (se && Object.prototype.hasOwnProperty.call(Ve, se)) {
|
|
4821
|
+
const Re = U.getPropertyValue(Ve[se]).trim();
|
|
4822
|
+
Re && ve.setAttribute(me, Re);
|
|
4831
4823
|
}
|
|
4832
4824
|
});
|
|
4833
4825
|
});
|
|
4834
|
-
}),
|
|
4835
|
-
|
|
4836
|
-
}), (
|
|
4837
|
-
const U =
|
|
4838
|
-
|
|
4826
|
+
}), Et.current.addEventListener("complete", () => {
|
|
4827
|
+
Zt?.();
|
|
4828
|
+
}), (de || !pe) && Et.current) {
|
|
4829
|
+
const U = Et.current.getDuration(!0);
|
|
4830
|
+
Et.current.goToAndStop(U - 1, !0);
|
|
4839
4831
|
}
|
|
4840
4832
|
}
|
|
4841
|
-
},
|
|
4833
|
+
}, ue);
|
|
4842
4834
|
return () => {
|
|
4843
|
-
|
|
4844
|
-
clearTimeout($e), (Ut = xt.current) == null || Ut.destroy();
|
|
4835
|
+
clearTimeout($e), Et.current?.destroy();
|
|
4845
4836
|
};
|
|
4846
|
-
}, [
|
|
4837
|
+
}, [de, At, pe, Zt, ue]), /* @__PURE__ */ fs("div", { ref: ce, ...Le, children: /* @__PURE__ */ fs("div", { ref: Kt }) });
|
|
4847
4838
|
}
|
|
4848
4839
|
);
|
|
4849
4840
|
Pr.displayName = "AnimatedIllustrativeIcon";
|