var getRandomValues,vidjetDisplayLaunchPopup=e=>{{const t=`\n
\n
\n

Your video popup looks stunning!

\n
\n Back to Vidjet\n
\n `,i="\n @import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');\n .vidjet-preview-launch-popup {\n font-family: 'Montserrat', sans-serif;\n display: flex;\n justify-content: center;\n align-items: center;\n flex-direction: column;\n background-color: white;\n position: fixed;\n left: 0;\n top: 0;\n margin: 10px;\n z-index: 9999999999999;\n box-shadow: 1px 1px 20px rgba(0, 0, 0, 0.12);\n border-radius: 10px;\n text-align: center;\n padding: 30px 90px;\n max-width: 500px;\n }\n\n .vidjet-wrapper {\n width: 100%;\n }\n\n\n .vidjet-preview-launch-text {\n\n }\n\n .vidjet-preview-launch-text h1 {\n font: inherit;\n font-weight: 600;\n font-size: 20px !important;\n line-height: 24px;\n color: #585858;\n }\n .vidjet-preview-launch-text h1 strong {\n font-weight: 800;\n }\n\n .vidjet-preview-launch-button {\n color: #585858;\n font-weight: 500;\n font-size: 14px;\n line-height: 17px;\n padding: 10px 20px;\n background: white;\n box-shadow: 2px 2px 15px rgba(141, 22, 193, 0.25);\n border-radius: 20px;\n border: none;\n cursor: pointer;\n text-decoration: none;\n }\n\n .vidjet-preview-launch-button:hover {\n background: #FAE8FF;\n }\n ",d=document.createElement("style");d.innerHTML=i,document.body.appendChild(d);const a=document.createElement("div");a.classList.add("vidjet-wrapper"),a.innerHTML=t,document.body.appendChild(a);document.getElementById("vidjet-launch-campaign-button-popup").addEventListener("click",(()=>{_deleteCookie("vidjet-preview"),_deleteCookie("vidjet-campaignId")}))}},rnds8=new Uint8Array(16);function rng(){if(!getRandomValues&&!(getRandomValues="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return getRandomValues(rnds8)}var REGEX=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function validate(e){return"string"==typeof e&®EX.test(e)}function stringify(e){var t=[];for(let e=0;e<256;++e)t.push((e+256).toString(16).substr(1));var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,d=(t[e[i+0]]+t[e[i+1]]+t[e[i+2]]+t[e[i+3]]+"-"+t[e[i+4]]+t[e[i+5]]+"-"+t[e[i+6]]+t[e[i+7]]+"-"+t[e[i+8]]+t[e[i+9]]+"-"+t[e[i+10]]+t[e[i+11]]+t[e[i+12]]+t[e[i+13]]+t[e[i+14]]+t[e[i+15]]).toLowerCase();if(!validate(d))throw TypeError("Stringified UUID is invalid");return d}var Vidjet=function(){var e,t,i=/(tablet|ipad|playbook|silk|kindle)/i.test(navigator.userAgent)||/(android(?!.*mobi))|Mobile|iP(hone|od)|Android|BlackBerry|IEMobile|(hpw|web)OS|Opera M(obi|ini)/i.test(navigator.userAgent),d={campaignsActivated:JSON.parse("[]"),campaignsPaused:JSON.parse('[{"_id":"da9c9818-a02d-4517-90f0-0f9c3229adc3","name":"From scratcteststh","videos":[{"videoId":"49a3bcca-45ee-4d74-84c6-013d80514370","_id":"49a3bcca-45ee-4d74-84c6-013d80514370","siteId":"923ded32-0367-44b3-8394-78e9bd13cf08","useCase":"carousel","videoDuration":1067.3,"height":360,"width":640,"fileName":"I made ALL my Blinds SMART! (2023 update!).mp4","url":"https://video.vidjet.io/923ded32-0367-44b3-8394-78e9bd13cf08/49a3bcca-45ee-4d74-84c6-013d80514370/i_made_all_my_blinds_smart___2023_update__.mp4-compressed.mp4","thumbnail":"https://image.vidjet.io/923ded32-0367-44b3-8394-78e9bd13cf08/49a3bcca-45ee-4d74-84c6-013d80514370/1690344807035.jpg","creationDate":"2023-07-26T03:41:28.363Z","modificationDate":"2023-08-11T07:48:27.669Z","thumbnailS3Path":"s3://image-compression-pipeline-source/923ded32-0367-44b3-8394-78e9bd13cf08/49a3bcca-45ee-4d74-84c6-013d80514370/1690344807035.jpg","key":"923ded32-0367-44b3-8394-78e9bd13cf08/49a3bcca-45ee-4d74-84c6-013d80514370/i_made_all_my_blinds_smart___2023_update__.mp4","s3Path":"s3://video-compression-pipeline-source-czz220hqvww8/923ded32-0367-44b3-8394-78e9bd13cf08/49a3bcca-45ee-4d74-84c6-013d80514370/i_made_all_my_blinds_smart___2023_update__.mp4","trimmedUrl":"https://video.vidjet.io/923ded32-0367-44b3-8394-78e9bd13cf08/49a3bcca-45ee-4d74-84c6-013d80514370/i_made_all_my_blinds_smart___2023_update__.mp4-compressed-short.mp4","streamingUrl":"https://video.vidjet.io/923ded32-0367-44b3-8394-78e9bd13cf08/49a3bcca-45ee-4d74-84c6-013d80514370/i_made_all_my_blinds_smart___2023_update__.mp4.m3u8"},{"videoId":"e9422039-9bde-4989-851f-d364ab0c92e2","_id":"e9422039-9bde-4989-851f-d364ab0c92e2","siteId":"923ded32-0367-44b3-8394-78e9bd13cf08","useCase":"carousel","videoDuration":465.5,"height":360,"width":640,"fileName":"SwitchBot Blind Tilt : Get your blinds smart within minutes !.mp4","url":"https://video.vidjet.io/923ded32-0367-44b3-8394-78e9bd13cf08/e9422039-9bde-4989-851f-d364ab0c92e2/switchbot_blind_tilt___get_your_blinds_smart_within_minutes__.mp4-compressed.mp4","thumbnail":"https://image.vidjet.io/923ded32-0367-44b3-8394-78e9bd13cf08/e9422039-9bde-4989-851f-d364ab0c92e2/1690344807043.jpg","creationDate":"2023-07-26T03:41:28.456Z","modificationDate":"2023-08-11T07:48:27.917Z","thumbnailS3Path":"s3://image-compression-pipeline-source/923ded32-0367-44b3-8394-78e9bd13cf08/e9422039-9bde-4989-851f-d364ab0c92e2/1690344807043.jpg","key":"923ded32-0367-44b3-8394-78e9bd13cf08/e9422039-9bde-4989-851f-d364ab0c92e2/switchbot_blind_tilt___get_your_blinds_smart_within_minutes__.mp4","s3Path":"s3://video-compression-pipeline-source-czz220hqvww8/923ded32-0367-44b3-8394-78e9bd13cf08/e9422039-9bde-4989-851f-d364ab0c92e2/switchbot_blind_tilt___get_your_blinds_smart_within_minutes__.mp4","trimmedUrl":"https://video.vidjet.io/923ded32-0367-44b3-8394-78e9bd13cf08/e9422039-9bde-4989-851f-d364ab0c92e2/switchbot_blind_tilt___get_your_blinds_smart_within_minutes__.mp4-compressed-short.mp4","streamingUrl":"https://video.vidjet.io/923ded32-0367-44b3-8394-78e9bd13cf08/e9422039-9bde-4989-851f-d364ab0c92e2/switchbot_blind_tilt___get_your_blinds_smart_within_minutes__.mp4.m3u8"},{"videoId":"5305a2a0-d07b-4184-8824-8049b4f39bba","_id":"5305a2a0-d07b-4184-8824-8049b4f39bba","siteId":"923ded32-0367-44b3-8394-78e9bd13cf08","useCase":"carousel","videoDuration":1725.3,"height":360,"width":640,"fileName":"Everything the SwitchBot Blind Tilt Can Do.mp4","url":"https://video.vidjet.io/923ded32-0367-44b3-8394-78e9bd13cf08/5305a2a0-d07b-4184-8824-8049b4f39bba/everything_the_switchbot_blind_tilt_can_do.mp4-compressed.mp4","thumbnail":"https://image.vidjet.io/923ded32-0367-44b3-8394-78e9bd13cf08/5305a2a0-d07b-4184-8824-8049b4f39bba/1690344807044.jpg","creationDate":"2023-07-26T03:41:28.363Z","modificationDate":"2023-08-11T07:48:27.469Z","key":"923ded32-0367-44b3-8394-78e9bd13cf08/5305a2a0-d07b-4184-8824-8049b4f39bba/everything_the_switchbot_blind_tilt_can_do.mp4","s3Path":"s3://video-compression-pipeline-source-czz220hqvww8/923ded32-0367-44b3-8394-78e9bd13cf08/5305a2a0-d07b-4184-8824-8049b4f39bba/everything_the_switchbot_blind_tilt_can_do.mp4","thumbnailS3Path":"s3://image-compression-pipeline-source/923ded32-0367-44b3-8394-78e9bd13cf08/5305a2a0-d07b-4184-8824-8049b4f39bba/1690344807044.jpg","trimmedUrl":"https://video.vidjet.io/923ded32-0367-44b3-8394-78e9bd13cf08/5305a2a0-d07b-4184-8824-8049b4f39bba/everything_the_switchbot_blind_tilt_can_do.mp4-compressed-short.mp4","streamingUrl":"https://video.vidjet.io/923ded32-0367-44b3-8394-78e9bd13cf08/5305a2a0-d07b-4184-8824-8049b4f39bba/everything_the_switchbot_blind_tilt_can_do.mp4.m3u8"}],"formats":[{"formatType":2,"responsive":true,"embedSize":{"height":0,"width":0},"autoLoop":false,"autoScroll":true,"autoplay":false,"hidePlayPause":false,"hideControlBar":false,"title":"","hideFeedArrow":false,"deviceType":1}],"siteId":"923ded32-0367-44b3-8394-78e9bd13cf08","order":1,"stateFlag":0,"creationDate":"2023-07-26T04:04:20.099Z","modificationDate":"2023-07-26T07:30:43.125Z"},{"_id":"e2fce1bf-f880-434d-8166-ef009ac54376","name":"Curtain Rod 2","videos":[{"videoId":"83916ee4-2d13-4fcc-ba2f-a39d701a9679","_id":"83916ee4-2d13-4fcc-ba2f-a39d701a9679","siteId":"923ded32-0367-44b3-8394-78e9bd13cf08","useCase":"embed","videoDuration":330.9,"height":720,"width":1280,"fileName":"SwitchBot Curtains - One Year Later (and NEW Rod 2 upgrades).mp4","url":"https://video.vidjet.io/923ded32-0367-44b3-8394-78e9bd13cf08/83916ee4-2d13-4fcc-ba2f-a39d701a9679/switchbot_curtains___one_year_later__and_new_rod_2_upgrades_.mp4-compressed.mp4","thumbnail":"https://image.vidjet.io/923ded32-0367-44b3-8394-78e9bd13cf08/83916ee4-2d13-4fcc-ba2f-a39d701a9679/1690529891031.jpg","creationDate":"2023-07-28T07:33:44.870Z","modificationDate":"2023-08-11T07:49:04.851Z","key":"923ded32-0367-44b3-8394-78e9bd13cf08/83916ee4-2d13-4fcc-ba2f-a39d701a9679/switchbot_curtains___one_year_later__and_new_rod_2_upgrades_.mp4","s3Path":"s3://video-compression-pipeline-source-czz220hqvww8/923ded32-0367-44b3-8394-78e9bd13cf08/83916ee4-2d13-4fcc-ba2f-a39d701a9679/switchbot_curtains___one_year_later__and_new_rod_2_upgrades_.mp4","thumbnailS3Path":"s3://image-compression-pipeline-source/923ded32-0367-44b3-8394-78e9bd13cf08/83916ee4-2d13-4fcc-ba2f-a39d701a9679/1690529891031.jpg","trimmedUrl":"https://video.vidjet.io/923ded32-0367-44b3-8394-78e9bd13cf08/83916ee4-2d13-4fcc-ba2f-a39d701a9679/switchbot_curtains___one_year_later__and_new_rod_2_upgrades_.mp4-compressed-short.mp4","streamingUrl":"https://video.vidjet.io/923ded32-0367-44b3-8394-78e9bd13cf08/83916ee4-2d13-4fcc-ba2f-a39d701a9679/switchbot_curtains___one_year_later__and_new_rod_2_upgrades_.mp4.m3u8"},{"videoId":"e3c02c6c-4673-435a-83e8-52f4fdfb46f7","_id":"e3c02c6c-4673-435a-83e8-52f4fdfb46f7","siteId":"923ded32-0367-44b3-8394-78e9bd13cf08","useCase":"embed","videoDuration":453.1,"height":720,"width":1280,"fileName":"NEW SwitchBot Curtain Rod V2 ! (PLUS Home Assistant Bluetooth Integration).mp4","url":"https://video.vidjet.io/923ded32-0367-44b3-8394-78e9bd13cf08/e3c02c6c-4673-435a-83e8-52f4fdfb46f7/new_switchbot_curtain_rod_v2____plus_home_assistant_bluetooth_integration_.mp4-compressed.mp4","thumbnail":"https://image.vidjet.io/923ded32-0367-44b3-8394-78e9bd13cf08/e3c02c6c-4673-435a-83e8-52f4fdfb46f7/1690529891035.jpg","creationDate":"2023-07-28T07:33:44.870Z","modificationDate":"2023-08-11T07:49:05.087Z","thumbnailS3Path":"s3://image-compression-pipeline-source/923ded32-0367-44b3-8394-78e9bd13cf08/e3c02c6c-4673-435a-83e8-52f4fdfb46f7/1690529891035.jpg","key":"923ded32-0367-44b3-8394-78e9bd13cf08/e3c02c6c-4673-435a-83e8-52f4fdfb46f7/new_switchbot_curtain_rod_v2____plus_home_assistant_bluetooth_integration_.mp4","s3Path":"s3://video-compression-pipeline-source-czz220hqvww8/923ded32-0367-44b3-8394-78e9bd13cf08/e3c02c6c-4673-435a-83e8-52f4fdfb46f7/new_switchbot_curtain_rod_v2____plus_home_assistant_bluetooth_integration_.mp4","trimmedUrl":"https://video.vidjet.io/923ded32-0367-44b3-8394-78e9bd13cf08/e3c02c6c-4673-435a-83e8-52f4fdfb46f7/new_switchbot_curtain_rod_v2____plus_home_assistant_bluetooth_integration_.mp4-compressed-short.mp4","streamingUrl":"https://video.vidjet.io/923ded32-0367-44b3-8394-78e9bd13cf08/e3c02c6c-4673-435a-83e8-52f4fdfb46f7/new_switchbot_curtain_rod_v2____plus_home_assistant_bluetooth_integration_.mp4.m3u8"},{"videoId":"a9250007-c9e8-47ab-adce-e28a251a1ea4","_id":"a9250007-c9e8-47ab-adce-e28a251a1ea4","siteId":"923ded32-0367-44b3-8394-78e9bd13cf08","useCase":"embed","videoDuration":434.3,"height":720,"width":1280,"fileName":"Smartest Bedroom Ever with SwitchBot!.mp4","url":"https://video.vidjet.io/923ded32-0367-44b3-8394-78e9bd13cf08/a9250007-c9e8-47ab-adce-e28a251a1ea4/smartest_bedroom_ever_with_switchbot_.mp4-compressed.mp4","thumbnail":"https://image.vidjet.io/923ded32-0367-44b3-8394-78e9bd13cf08/a9250007-c9e8-47ab-adce-e28a251a1ea4/1690529891037.jpg","creationDate":"2023-07-28T07:37:42.450Z","modificationDate":"2023-08-11T07:49:05.836Z","key":"923ded32-0367-44b3-8394-78e9bd13cf08/a9250007-c9e8-47ab-adce-e28a251a1ea4/smartest_bedroom_ever_with_switchbot_.mp4","s3Path":"s3://video-compression-pipeline-source-czz220hqvww8/923ded32-0367-44b3-8394-78e9bd13cf08/a9250007-c9e8-47ab-adce-e28a251a1ea4/smartest_bedroom_ever_with_switchbot_.mp4","thumbnailS3Path":"s3://image-compression-pipeline-source/923ded32-0367-44b3-8394-78e9bd13cf08/a9250007-c9e8-47ab-adce-e28a251a1ea4/1690529891037.jpg","trimmedUrl":"https://video.vidjet.io/923ded32-0367-44b3-8394-78e9bd13cf08/a9250007-c9e8-47ab-adce-e28a251a1ea4/smartest_bedroom_ever_with_switchbot_.mp4-compressed-short.mp4","streamingUrl":"https://video.vidjet.io/923ded32-0367-44b3-8394-78e9bd13cf08/a9250007-c9e8-47ab-adce-e28a251a1ea4/smartest_bedroom_ever_with_switchbot_.mp4.m3u8"}],"formats":[{"deviceType":1,"autoLoop":false,"autoScroll":false,"autoplay":false,"hidePlayPause":false,"hideControlBar":false,"title":"","hideFeedArrow":false,"formatType":2,"responsive":true,"embedSize":{"height":0,"width":0}}],"siteId":"923ded32-0367-44b3-8394-78e9bd13cf08","order":1,"stateFlag":0,"creationDate":"2023-07-28T07:38:16.916Z","modificationDate":"2023-07-28T07:38:29.045Z"},{"_id":"27a5c22c-0fe1-460e-b87b-a73080dfa345","name":"Hub 2","videos":[{"videoId":"573b06c2-cd44-44d7-81b7-ef697f3cbf69","_id":"573b06c2-cd44-44d7-81b7-ef697f3cbf69","siteId":"923ded32-0367-44b3-8394-78e9bd13cf08","useCase":"embed","videoDuration":376.5,"height":360,"width":640,"fileName":"SwitchBot Hub 2! Now supported in HomeKit!.mp4","url":"https://video.vidjet.io/923ded32-0367-44b3-8394-78e9bd13cf08/573b06c2-cd44-44d7-81b7-ef697f3cbf69/switchbot_hub_2__now_supported_in_homekit_.mp4-compressed.mp4","thumbnail":"https://image.vidjet.io/923ded32-0367-44b3-8394-78e9bd13cf08/573b06c2-cd44-44d7-81b7-ef697f3cbf69/1691133823398.jpg","creationDate":"2023-08-04T07:23:12.955Z","modificationDate":"2023-08-11T07:50:19.470Z","key":"923ded32-0367-44b3-8394-78e9bd13cf08/573b06c2-cd44-44d7-81b7-ef697f3cbf69/switchbot_hub_2__now_supported_in_homekit_.mp4","s3Path":"s3://video-compression-pipeline-source-czz220hqvww8/923ded32-0367-44b3-8394-78e9bd13cf08/573b06c2-cd44-44d7-81b7-ef697f3cbf69/switchbot_hub_2__now_supported_in_homekit_.mp4","thumbnailS3Path":"s3://image-compression-pipeline-source/923ded32-0367-44b3-8394-78e9bd13cf08/573b06c2-cd44-44d7-81b7-ef697f3cbf69/1691133823398.jpg","trimmedUrl":"https://video.vidjet.io/923ded32-0367-44b3-8394-78e9bd13cf08/573b06c2-cd44-44d7-81b7-ef697f3cbf69/switchbot_hub_2__now_supported_in_homekit_.mp4-compressed-short.mp4","streamingUrl":"https://video.vidjet.io/923ded32-0367-44b3-8394-78e9bd13cf08/573b06c2-cd44-44d7-81b7-ef697f3cbf69/switchbot_hub_2__now_supported_in_homekit_.mp4.m3u8"},{"videoId":"5ff80dc2-afdb-48af-a329-f6561907d029","_id":"5ff80dc2-afdb-48af-a329-f6561907d029","siteId":"923ded32-0367-44b3-8394-78e9bd13cf08","useCase":"embed","videoDuration":790.6,"height":360,"width":640,"fileName":"SwitchBot now supports HomeKit! (and Matter!).mp4","url":"https://video.vidjet.io/923ded32-0367-44b3-8394-78e9bd13cf08/5ff80dc2-afdb-48af-a329-f6561907d029/switchbot_now_supports_homekit___and_matter__.mp4-compressed.mp4","thumbnail":"https://image.vidjet.io/923ded32-0367-44b3-8394-78e9bd13cf08/5ff80dc2-afdb-48af-a329-f6561907d029/1691133823401.jpg","creationDate":"2023-08-04T07:23:12.955Z","modificationDate":"2023-08-11T07:50:19.337Z","key":"923ded32-0367-44b3-8394-78e9bd13cf08/5ff80dc2-afdb-48af-a329-f6561907d029/switchbot_now_supports_homekit___and_matter__.mp4","s3Path":"s3://video-compression-pipeline-source-czz220hqvww8/923ded32-0367-44b3-8394-78e9bd13cf08/5ff80dc2-afdb-48af-a329-f6561907d029/switchbot_now_supports_homekit___and_matter__.mp4","thumbnailS3Path":"s3://image-compression-pipeline-source/923ded32-0367-44b3-8394-78e9bd13cf08/5ff80dc2-afdb-48af-a329-f6561907d029/1691133823401.jpg","trimmedUrl":"https://video.vidjet.io/923ded32-0367-44b3-8394-78e9bd13cf08/5ff80dc2-afdb-48af-a329-f6561907d029/switchbot_now_supports_homekit___and_matter__.mp4-compressed-short.mp4","streamingUrl":"https://video.vidjet.io/923ded32-0367-44b3-8394-78e9bd13cf08/5ff80dc2-afdb-48af-a329-f6561907d029/switchbot_now_supports_homekit___and_matter__.mp4.m3u8"},{"videoId":"e076342f-c4e3-4542-8eb9-7145503476dc","_id":"e076342f-c4e3-4542-8eb9-7145503476dc","siteId":"923ded32-0367-44b3-8394-78e9bd13cf08","useCase":"embed","videoDuration":526.3,"height":360,"width":640,"fileName":"SwitchBot Hub 2 Review.mp4","url":"https://video.vidjet.io/923ded32-0367-44b3-8394-78e9bd13cf08/e076342f-c4e3-4542-8eb9-7145503476dc/switchbot_hub_2_review.mp4-compressed.mp4","thumbnail":"https://image.vidjet.io/923ded32-0367-44b3-8394-78e9bd13cf08/e076342f-c4e3-4542-8eb9-7145503476dc/1691133823404.jpg","creationDate":"2023-08-04T07:23:13.005Z","modificationDate":"2023-08-11T07:50:19.639Z","thumbnailS3Path":"s3://image-compression-pipeline-source/923ded32-0367-44b3-8394-78e9bd13cf08/e076342f-c4e3-4542-8eb9-7145503476dc/1691133823404.jpg","key":"923ded32-0367-44b3-8394-78e9bd13cf08/e076342f-c4e3-4542-8eb9-7145503476dc/switchbot_hub_2_review.mp4","s3Path":"s3://video-compression-pipeline-source-czz220hqvww8/923ded32-0367-44b3-8394-78e9bd13cf08/e076342f-c4e3-4542-8eb9-7145503476dc/switchbot_hub_2_review.mp4","trimmedUrl":"https://video.vidjet.io/923ded32-0367-44b3-8394-78e9bd13cf08/e076342f-c4e3-4542-8eb9-7145503476dc/switchbot_hub_2_review.mp4-compressed-short.mp4","streamingUrl":"https://video.vidjet.io/923ded32-0367-44b3-8394-78e9bd13cf08/e076342f-c4e3-4542-8eb9-7145503476dc/switchbot_hub_2_review.mp4.m3u8"}],"formats":[{"deviceType":1,"autoLoop":false,"autoScroll":false,"autoplay":false,"hidePlayPause":false,"hideControlBar":false,"title":"","hideFeedArrow":false,"formatType":2,"responsive":true,"embedSize":{"height":0,"width":0}}],"siteId":"923ded32-0367-44b3-8394-78e9bd13cf08","order":2,"stateFlag":0,"creationDate":"2023-08-04T07:24:05.109Z","modificationDate":"2023-08-04T07:24:11.651Z"},{"_id":"230fea79-2b15-4220-9039-6c6148f28e0d","name":"Curtain 3","videos":[{"videoId":"3965682b-5389-4ed9-85d2-20d288ddfde5","_id":"3965682b-5389-4ed9-85d2-20d288ddfde5","siteId":"923ded32-0367-44b3-8394-78e9bd13cf08","videoDuration":1043.9,"height":360,"width":640,"fileName":"SwitchBot Has Made Smart Curtains Easier Than Ever With the Curtain 3.mp4","url":"https://video.vidjet.io/923ded32-0367-44b3-8394-78e9bd13cf08/3965682b-5389-4ed9-85d2-20d288ddfde5/switchbot_has_made_smart_curtains_easier_than_ever_with_the_curtain_3.mp4-compressed.mp4","thumbnail":"https://image-compression-pipeline-destination.s3.eu-west-1.amazonaws.com/923ded32-0367-44b3-8394-78e9bd13cf08/3965682b-5389-4ed9-85d2-20d288ddfde5/1693204902957.jpg","creationDate":"2023-08-28T06:36:08.676Z","modificationDate":"2023-08-28T06:41:43.429Z","key":"923ded32-0367-44b3-8394-78e9bd13cf08/3965682b-5389-4ed9-85d2-20d288ddfde5/switchbot_has_made_smart_curtains_easier_than_ever_with_the_curtain_3.mp4","s3Path":"s3://video-compression-pipeline-source-czz220hqvww8/923ded32-0367-44b3-8394-78e9bd13cf08/3965682b-5389-4ed9-85d2-20d288ddfde5/switchbot_has_made_smart_curtains_easier_than_ever_with_the_curtain_3.mp4","thumbnailS3Path":"s3://image-compression-pipeline-source/923ded32-0367-44b3-8394-78e9bd13cf08/3965682b-5389-4ed9-85d2-20d288ddfde5/1693204902957.jpg","trimmedUrl":"https://video.vidjet.io/923ded32-0367-44b3-8394-78e9bd13cf08/3965682b-5389-4ed9-85d2-20d288ddfde5/switchbot_has_made_smart_curtains_easier_than_ever_with_the_curtain_3.mp4-compressed-short.mp4","streamingUrl":"https://video.vidjet.io/923ded32-0367-44b3-8394-78e9bd13cf08/3965682b-5389-4ed9-85d2-20d288ddfde5/switchbot_has_made_smart_curtains_easier_than_ever_with_the_curtain_3.mp4.m3u8"},{"videoId":"49aed4b2-9d9c-4821-9b8e-d85c6c33c59c","_id":"49aed4b2-9d9c-4821-9b8e-d85c6c33c59c","siteId":"923ded32-0367-44b3-8394-78e9bd13cf08","videoDuration":550.5,"height":360,"width":640,"fileName":"Make Your Curtains Smart with SwitchBot Curtain 3.mp4","url":"https://video.vidjet.io/923ded32-0367-44b3-8394-78e9bd13cf08/49aed4b2-9d9c-4821-9b8e-d85c6c33c59c/make_your_curtains_smart_with_switchbot_curtain_3.mp4-compressed.mp4","thumbnail":"https://image-compression-pipeline-destination.s3.eu-west-1.amazonaws.com/923ded32-0367-44b3-8394-78e9bd13cf08/49aed4b2-9d9c-4821-9b8e-d85c6c33c59c/1693204902962.jpg","creationDate":"2023-08-28T06:35:32.640Z","modificationDate":"2023-08-28T06:41:43.428Z","thumbnailS3Path":"s3://image-compression-pipeline-source/923ded32-0367-44b3-8394-78e9bd13cf08/49aed4b2-9d9c-4821-9b8e-d85c6c33c59c/1693204902962.jpg","key":"923ded32-0367-44b3-8394-78e9bd13cf08/49aed4b2-9d9c-4821-9b8e-d85c6c33c59c/make_your_curtains_smart_with_switchbot_curtain_3.mp4","s3Path":"s3://video-compression-pipeline-source-czz220hqvww8/923ded32-0367-44b3-8394-78e9bd13cf08/49aed4b2-9d9c-4821-9b8e-d85c6c33c59c/make_your_curtains_smart_with_switchbot_curtain_3.mp4","trimmedUrl":"https://video.vidjet.io/923ded32-0367-44b3-8394-78e9bd13cf08/49aed4b2-9d9c-4821-9b8e-d85c6c33c59c/make_your_curtains_smart_with_switchbot_curtain_3.mp4-compressed-short.mp4","streamingUrl":"https://video.vidjet.io/923ded32-0367-44b3-8394-78e9bd13cf08/49aed4b2-9d9c-4821-9b8e-d85c6c33c59c/make_your_curtains_smart_with_switchbot_curtain_3.mp4.m3u8"}],"formats":[{"formatType":2,"responsive":true,"embedSize":{"height":0,"width":0},"autoLoop":false,"autoScroll":true,"autoplay":false,"hidePlayPause":false,"hideControlBar":false,"title":"","hideFeedArrow":false,"deviceType":1}],"siteId":"923ded32-0367-44b3-8394-78e9bd13cf08","order":3,"stateFlag":0,"creationDate":"2023-08-28T06:27:04.415Z","modificationDate":"2023-08-28T06:41:43.464Z"},{"_id":"3be6cdd2-8b2b-4683-a2f8-5b9b25bfbcad","name":"Created by leo","videos":[{"videoId":"de0b79b7-d282-4d06-bbec-1baf1f3f8868","_id":"de0b79b7-d282-4d06-bbec-1baf1f3f8868","siteId":"923ded32-0367-44b3-8394-78e9bd13cf08","videoDuration":30.2,"height":1920,"width":1080,"fileName":"Curtain 3-1.mp4","url":"https://video.vidjet.io/923ded32-0367-44b3-8394-78e9bd13cf08/de0b79b7-d282-4d06-bbec-1baf1f3f8868/curtain_3_1.mp4-compressed.mp4","thumbnail":"https://image-compression-pipeline-destination.s3.eu-west-1.amazonaws.com/923ded32-0367-44b3-8394-78e9bd13cf08/de0b79b7-d282-4d06-bbec-1baf1f3f8868/1694161831778.jpg","creationDate":"2023-09-08T08:27:57.024Z","modificationDate":"2023-09-08T08:30:31.908Z","thumbnailS3Path":"s3://image-compression-pipeline-source/923ded32-0367-44b3-8394-78e9bd13cf08/de0b79b7-d282-4d06-bbec-1baf1f3f8868/1694161831778.jpg","key":"923ded32-0367-44b3-8394-78e9bd13cf08/de0b79b7-d282-4d06-bbec-1baf1f3f8868/curtain_3_1.mp4","s3Path":"s3://video-compression-pipeline-source-czz220hqvww8/923ded32-0367-44b3-8394-78e9bd13cf08/de0b79b7-d282-4d06-bbec-1baf1f3f8868/curtain_3_1.mp4","trimmedUrl":"https://video.vidjet.io/923ded32-0367-44b3-8394-78e9bd13cf08/de0b79b7-d282-4d06-bbec-1baf1f3f8868/curtain_3_1.mp4-compressed-short.mp4","streamingUrl":"https://video.vidjet.io/923ded32-0367-44b3-8394-78e9bd13cf08/de0b79b7-d282-4d06-bbec-1baf1f3f8868/curtain_3_1.mp4.m3u8"},{"videoId":"0eca2cfb-d5f5-45a0-9b4e-bb206fee6e00","_id":"0eca2cfb-d5f5-45a0-9b4e-bb206fee6e00","siteId":"923ded32-0367-44b3-8394-78e9bd13cf08","videoDuration":27.9,"height":1920,"width":1080,"fileName":"Curtain 3-2.mp4","url":"https://video.vidjet.io/923ded32-0367-44b3-8394-78e9bd13cf08/0eca2cfb-d5f5-45a0-9b4e-bb206fee6e00/curtain_3_2.mp4-compressed.mp4","thumbnail":"https://image-compression-pipeline-destination.s3.eu-west-1.amazonaws.com/923ded32-0367-44b3-8394-78e9bd13cf08/0eca2cfb-d5f5-45a0-9b4e-bb206fee6e00/1694161831782.jpg","creationDate":"2023-09-08T08:28:06.649Z","modificationDate":"2023-09-08T08:30:31.880Z","thumbnailS3Path":"s3://image-compression-pipeline-source/923ded32-0367-44b3-8394-78e9bd13cf08/0eca2cfb-d5f5-45a0-9b4e-bb206fee6e00/1694161831782.jpg","key":"923ded32-0367-44b3-8394-78e9bd13cf08/0eca2cfb-d5f5-45a0-9b4e-bb206fee6e00/curtain_3_2.mp4","s3Path":"s3://video-compression-pipeline-source-czz220hqvww8/923ded32-0367-44b3-8394-78e9bd13cf08/0eca2cfb-d5f5-45a0-9b4e-bb206fee6e00/curtain_3_2.mp4","trimmedUrl":"https://video.vidjet.io/923ded32-0367-44b3-8394-78e9bd13cf08/0eca2cfb-d5f5-45a0-9b4e-bb206fee6e00/curtain_3_2.mp4-compressed-short.mp4","streamingUrl":"https://video.vidjet.io/923ded32-0367-44b3-8394-78e9bd13cf08/0eca2cfb-d5f5-45a0-9b4e-bb206fee6e00/curtain_3_2.mp4.m3u8"},{"videoId":"0a4c53db-5da1-477d-aace-df9dc149c463","_id":"0a4c53db-5da1-477d-aace-df9dc149c463","siteId":"923ded32-0367-44b3-8394-78e9bd13cf08","videoDuration":32.2,"height":1920,"width":1080,"fileName":"Curtain 3-3.mp4","url":"https://video.vidjet.io/923ded32-0367-44b3-8394-78e9bd13cf08/0a4c53db-5da1-477d-aace-df9dc149c463/curtain_3_3.mp4-compressed.mp4","thumbnail":"https://image-compression-pipeline-destination.s3.eu-west-1.amazonaws.com/923ded32-0367-44b3-8394-78e9bd13cf08/0a4c53db-5da1-477d-aace-df9dc149c463/1694161831783.jpg","creationDate":"2023-09-08T08:28:02.494Z","modificationDate":"2023-09-08T08:30:31.885Z","thumbnailS3Path":"s3://image-compression-pipeline-source/923ded32-0367-44b3-8394-78e9bd13cf08/0a4c53db-5da1-477d-aace-df9dc149c463/1694161831783.jpg","key":"923ded32-0367-44b3-8394-78e9bd13cf08/0a4c53db-5da1-477d-aace-df9dc149c463/curtain_3_3.mp4","s3Path":"s3://video-compression-pipeline-source-czz220hqvww8/923ded32-0367-44b3-8394-78e9bd13cf08/0a4c53db-5da1-477d-aace-df9dc149c463/curtain_3_3.mp4","trimmedUrl":"https://video.vidjet.io/923ded32-0367-44b3-8394-78e9bd13cf08/0a4c53db-5da1-477d-aace-df9dc149c463/curtain_3_3.mp4-compressed-short.mp4","streamingUrl":"https://video.vidjet.io/923ded32-0367-44b3-8394-78e9bd13cf08/0a4c53db-5da1-477d-aace-df9dc149c463/curtain_3_3.mp4.m3u8"}],"formats":[{"autoLoop":false,"autoScroll":false,"autoplay":false,"hidePlayPause":false,"hideControlBar":false,"title":"","hideFeedArrow":false,"iconSettings":{"iconType":"minimal","animation":"none","secondaryColor":"#c4c4c4","color":"white","opacity":1},"arrowSettings":{"iconType":"corner2","secondaryColor":"#A3A3A3","color":"#FFFFFFFF","opacity":1},"deviceType":1,"formatType":3,"isFullScreen":false,"carouselThumbnailAmount":1}],"siteId":"923ded32-0367-44b3-8394-78e9bd13cf08","order":4,"stateFlag":0,"creationDate":"2023-09-07T07:44:57.152Z","modificationDate":"2023-09-08T08:30:32.084Z"},{"_id":"1c766960-650c-4f13-9059-3e55572f6731","name":"K10+","videos":[{"videoId":"a0a3b59d-70db-4e1b-9ef3-fc29f141afce","_id":"a0a3b59d-70db-4e1b-9ef3-fc29f141afce","siteId":"923ded32-0367-44b3-8394-78e9bd13cf08","videoDuration":588.9,"height":360,"width":640,"fileName":"New SwitchBot MINI Vacuum!!.mp4","url":"https://video.vidjet.io/923ded32-0367-44b3-8394-78e9bd13cf08/a0a3b59d-70db-4e1b-9ef3-fc29f141afce/new_switchbot_mini_vacuum__.mp4-compressed.mp4","thumbnail":"https://image-compression-pipeline-destination.s3.eu-west-1.amazonaws.com/923ded32-0367-44b3-8394-78e9bd13cf08/a0a3b59d-70db-4e1b-9ef3-fc29f141afce/1700649431926.jpg","creationDate":"2023-11-22T10:32:10.256Z","modificationDate":"2023-11-22T10:37:11.885Z","thumbnailS3Path":"s3://image-compression-pipeline-source/923ded32-0367-44b3-8394-78e9bd13cf08/a0a3b59d-70db-4e1b-9ef3-fc29f141afce/1700649431926.jpg","key":"923ded32-0367-44b3-8394-78e9bd13cf08/a0a3b59d-70db-4e1b-9ef3-fc29f141afce/new_switchbot_mini_vacuum__.mp4","s3Path":"s3://video-compression-pipeline-source-czz220hqvww8/923ded32-0367-44b3-8394-78e9bd13cf08/a0a3b59d-70db-4e1b-9ef3-fc29f141afce/new_switchbot_mini_vacuum__.mp4","trimmedUrl":"https://video.vidjet.io/923ded32-0367-44b3-8394-78e9bd13cf08/a0a3b59d-70db-4e1b-9ef3-fc29f141afce/new_switchbot_mini_vacuum__.mp4-compressed-short.mp4","streamingUrl":"https://video.vidjet.io/923ded32-0367-44b3-8394-78e9bd13cf08/a0a3b59d-70db-4e1b-9ef3-fc29f141afce/new_switchbot_mini_vacuum__.mp4.m3u8"},{"videoId":"6dfa7075-d25f-4a06-883f-994eb351a792","_id":"6dfa7075-d25f-4a06-883f-994eb351a792","siteId":"923ded32-0367-44b3-8394-78e9bd13cf08","videoDuration":372.3,"height":360,"width":640,"fileName":"A Tiny Robot Sidekick 🥷 SwitchBot K10+ Micro LiDAR Robot Vacuum and Mop.mp4","url":"https://video.vidjet.io/923ded32-0367-44b3-8394-78e9bd13cf08/6dfa7075-d25f-4a06-883f-994eb351a792/a_tiny_robot_sidekick____switchbot_k10__micro_lidar_robot_vacuum_and_mop.mp4-compressed.mp4","thumbnail":"https://image-compression-pipeline-destination.s3.eu-west-1.amazonaws.com/923ded32-0367-44b3-8394-78e9bd13cf08/6dfa7075-d25f-4a06-883f-994eb351a792/1700649431935.jpg","creationDate":"2023-11-22T10:33:37.496Z","modificationDate":"2023-11-22T10:37:11.886Z","thumbnailS3Path":"s3://image-compression-pipeline-source/923ded32-0367-44b3-8394-78e9bd13cf08/6dfa7075-d25f-4a06-883f-994eb351a792/1700649431935.jpg","key":"923ded32-0367-44b3-8394-78e9bd13cf08/6dfa7075-d25f-4a06-883f-994eb351a792/a_tiny_robot_sidekick____switchbot_k10__micro_lidar_robot_vacuum_and_mop.mp4","s3Path":"s3://video-compression-pipeline-source-czz220hqvww8/923ded32-0367-44b3-8394-78e9bd13cf08/6dfa7075-d25f-4a06-883f-994eb351a792/a_tiny_robot_sidekick____switchbot_k10__micro_lidar_robot_vacuum_and_mop.mp4","trimmedUrl":"https://video.vidjet.io/923ded32-0367-44b3-8394-78e9bd13cf08/6dfa7075-d25f-4a06-883f-994eb351a792/a_tiny_robot_sidekick____switchbot_k10__micro_lidar_robot_vacuum_and_mop.mp4-compressed-short.mp4","streamingUrl":"https://video.vidjet.io/923ded32-0367-44b3-8394-78e9bd13cf08/6dfa7075-d25f-4a06-883f-994eb351a792/a_tiny_robot_sidekick____switchbot_k10__micro_lidar_robot_vacuum_and_mop.mp4.m3u8"},{"videoId":"cb0a3db5-2981-4d47-b73f-d545f50dfafa","_id":"cb0a3db5-2981-4d47-b73f-d545f50dfafa","siteId":"923ded32-0367-44b3-8394-78e9bd13cf08","videoDuration":774.4,"height":360,"width":640,"fileName":"The Worlds SMALLEST Robot Vacuum Cleaner - SwitchBot K10+ Review.mp4","url":"https://video.vidjet.io/923ded32-0367-44b3-8394-78e9bd13cf08/cb0a3db5-2981-4d47-b73f-d545f50dfafa/the_worlds_smallest_robot_vacuum_cleaner___switchbot_k10__review.mp4-compressed.mp4","thumbnail":"https://image-compression-pipeline-destination.s3.eu-west-1.amazonaws.com/923ded32-0367-44b3-8394-78e9bd13cf08/cb0a3db5-2981-4d47-b73f-d545f50dfafa/1700649431936.jpg","creationDate":"2023-11-22T10:32:52.719Z","modificationDate":"2023-11-22T10:37:12.071Z","key":"923ded32-0367-44b3-8394-78e9bd13cf08/cb0a3db5-2981-4d47-b73f-d545f50dfafa/the_worlds_smallest_robot_vacuum_cleaner___switchbot_k10__review.mp4","s3Path":"s3://video-compression-pipeline-source-czz220hqvww8/923ded32-0367-44b3-8394-78e9bd13cf08/cb0a3db5-2981-4d47-b73f-d545f50dfafa/the_worlds_smallest_robot_vacuum_cleaner___switchbot_k10__review.mp4","thumbnailS3Path":"s3://image-compression-pipeline-source/923ded32-0367-44b3-8394-78e9bd13cf08/cb0a3db5-2981-4d47-b73f-d545f50dfafa/1700649431936.jpg","trimmedUrl":"https://video.vidjet.io/923ded32-0367-44b3-8394-78e9bd13cf08/cb0a3db5-2981-4d47-b73f-d545f50dfafa/the_worlds_smallest_robot_vacuum_cleaner___switchbot_k10__review.mp4-compressed-short.mp4","streamingUrl":"https://video.vidjet.io/923ded32-0367-44b3-8394-78e9bd13cf08/cb0a3db5-2981-4d47-b73f-d545f50dfafa/the_worlds_smallest_robot_vacuum_cleaner___switchbot_k10__review.mp4.m3u8"}],"formats":[{"formatType":2,"responsive":true,"embedSize":{"height":0,"width":0},"autoLoop":false,"autoScroll":true,"autoplay":false,"hidePlayPause":false,"hideControlBar":false,"title":"","hideFeedArrow":false,"iconSettings":{"iconType":"minimal","animation":"none","secondaryColor":"#c4c4c4","color":"white","opacity":1},"arrowSettings":{"iconType":"corner1","secondaryColor":"#A3A3A3","color":"black","opacity":1},"deviceType":1}],"siteId":"923ded32-0367-44b3-8394-78e9bd13cf08","order":5,"stateFlag":0,"creationDate":"2023-11-22T09:50:03.125Z","modificationDate":"2023-11-22T10:37:11.900Z"},{"_id":"96e86b8c-9d1c-44bf-b3cd-829761bc81fa","name":"K10+ (Copy)","videos":[{"videoId":"de0b79b7-d282-4d06-bbec-1baf1f3f8868","_id":"de0b79b7-d282-4d06-bbec-1baf1f3f8868","siteId":"923ded32-0367-44b3-8394-78e9bd13cf08","videoDuration":30.2,"height":1920,"width":1080,"fileName":"Curtain 3-1.mp4","url":"https://video.vidjet.io/923ded32-0367-44b3-8394-78e9bd13cf08/de0b79b7-d282-4d06-bbec-1baf1f3f8868/curtain_3_1.mp4-compressed.mp4","thumbnail":"https://image-compression-pipeline-destination.s3.eu-west-1.amazonaws.com/923ded32-0367-44b3-8394-78e9bd13cf08/de0b79b7-d282-4d06-bbec-1baf1f3f8868/1694161831778.jpg","creationDate":"2023-09-08T08:27:57.024Z","modificationDate":"2023-09-08T08:30:31.908Z","thumbnailS3Path":"s3://image-compression-pipeline-source/923ded32-0367-44b3-8394-78e9bd13cf08/de0b79b7-d282-4d06-bbec-1baf1f3f8868/1694161831778.jpg","key":"923ded32-0367-44b3-8394-78e9bd13cf08/de0b79b7-d282-4d06-bbec-1baf1f3f8868/curtain_3_1.mp4","s3Path":"s3://video-compression-pipeline-source-czz220hqvww8/923ded32-0367-44b3-8394-78e9bd13cf08/de0b79b7-d282-4d06-bbec-1baf1f3f8868/curtain_3_1.mp4","trimmedUrl":"https://video.vidjet.io/923ded32-0367-44b3-8394-78e9bd13cf08/de0b79b7-d282-4d06-bbec-1baf1f3f8868/curtain_3_1.mp4-compressed-short.mp4","streamingUrl":"https://video.vidjet.io/923ded32-0367-44b3-8394-78e9bd13cf08/de0b79b7-d282-4d06-bbec-1baf1f3f8868/curtain_3_1.mp4.m3u8"},{"videoId":"0eca2cfb-d5f5-45a0-9b4e-bb206fee6e00","_id":"0eca2cfb-d5f5-45a0-9b4e-bb206fee6e00","siteId":"923ded32-0367-44b3-8394-78e9bd13cf08","videoDuration":27.9,"height":1920,"width":1080,"fileName":"Curtain 3-2.mp4","url":"https://video.vidjet.io/923ded32-0367-44b3-8394-78e9bd13cf08/0eca2cfb-d5f5-45a0-9b4e-bb206fee6e00/curtain_3_2.mp4-compressed.mp4","thumbnail":"https://image-compression-pipeline-destination.s3.eu-west-1.amazonaws.com/923ded32-0367-44b3-8394-78e9bd13cf08/0eca2cfb-d5f5-45a0-9b4e-bb206fee6e00/1694161831782.jpg","creationDate":"2023-09-08T08:28:06.649Z","modificationDate":"2023-09-08T08:30:31.880Z","thumbnailS3Path":"s3://image-compression-pipeline-source/923ded32-0367-44b3-8394-78e9bd13cf08/0eca2cfb-d5f5-45a0-9b4e-bb206fee6e00/1694161831782.jpg","key":"923ded32-0367-44b3-8394-78e9bd13cf08/0eca2cfb-d5f5-45a0-9b4e-bb206fee6e00/curtain_3_2.mp4","s3Path":"s3://video-compression-pipeline-source-czz220hqvww8/923ded32-0367-44b3-8394-78e9bd13cf08/0eca2cfb-d5f5-45a0-9b4e-bb206fee6e00/curtain_3_2.mp4","trimmedUrl":"https://video.vidjet.io/923ded32-0367-44b3-8394-78e9bd13cf08/0eca2cfb-d5f5-45a0-9b4e-bb206fee6e00/curtain_3_2.mp4-compressed-short.mp4","streamingUrl":"https://video.vidjet.io/923ded32-0367-44b3-8394-78e9bd13cf08/0eca2cfb-d5f5-45a0-9b4e-bb206fee6e00/curtain_3_2.mp4.m3u8"},{"videoId":"0a4c53db-5da1-477d-aace-df9dc149c463","_id":"0a4c53db-5da1-477d-aace-df9dc149c463","siteId":"923ded32-0367-44b3-8394-78e9bd13cf08","videoDuration":32.2,"height":1920,"width":1080,"fileName":"Curtain 3-3.mp4","url":"https://video.vidjet.io/923ded32-0367-44b3-8394-78e9bd13cf08/0a4c53db-5da1-477d-aace-df9dc149c463/curtain_3_3.mp4-compressed.mp4","thumbnail":"https://image-compression-pipeline-destination.s3.eu-west-1.amazonaws.com/923ded32-0367-44b3-8394-78e9bd13cf08/0a4c53db-5da1-477d-aace-df9dc149c463/1694161831783.jpg","creationDate":"2023-09-08T08:28:02.494Z","modificationDate":"2023-09-08T08:30:31.885Z","thumbnailS3Path":"s3://image-compression-pipeline-source/923ded32-0367-44b3-8394-78e9bd13cf08/0a4c53db-5da1-477d-aace-df9dc149c463/1694161831783.jpg","key":"923ded32-0367-44b3-8394-78e9bd13cf08/0a4c53db-5da1-477d-aace-df9dc149c463/curtain_3_3.mp4","s3Path":"s3://video-compression-pipeline-source-czz220hqvww8/923ded32-0367-44b3-8394-78e9bd13cf08/0a4c53db-5da1-477d-aace-df9dc149c463/curtain_3_3.mp4","trimmedUrl":"https://video.vidjet.io/923ded32-0367-44b3-8394-78e9bd13cf08/0a4c53db-5da1-477d-aace-df9dc149c463/curtain_3_3.mp4-compressed-short.mp4","streamingUrl":"https://video.vidjet.io/923ded32-0367-44b3-8394-78e9bd13cf08/0a4c53db-5da1-477d-aace-df9dc149c463/curtain_3_3.mp4.m3u8"}],"formats":[{"autoLoop":false,"autoScroll":false,"autoplay":false,"hidePlayPause":false,"hideControlBar":false,"title":"","hideFeedArrow":false,"iconSettings":{"iconType":"minimal","animation":"none","secondaryColor":"#c4c4c4","color":"white","opacity":1},"arrowSettings":{"iconType":"corner2","secondaryColor":"#A3A3A3","color":"#FFFFFFFF","opacity":1},"deviceType":1,"formatType":3,"isFullScreen":false,"carouselThumbnailAmount":1}],"siteId":"923ded32-0367-44b3-8394-78e9bd13cf08","order":6,"stateFlag":0,"creationDate":"2023-11-22T10:15:07.301Z","modificationDate":"2023-11-22T10:15:17.122Z"}]'),site:JSON.parse('{"integration":"shopify","_id":"923ded32-0367-44b3-8394-78e9bd13cf08","websiteUrl":"https://ca.switch-bot.com","currency":"CAD","isLocked":false,"showWatermark":false}'),playerUrl:JSON.parse('"https://player.vidjet.io"'),backendUrl:JSON.parse('"https://app-api.vidjet.io"')},a=!1,o=!1,n=window.location.search,s=new URLSearchParams(n),c=Boolean(_getCookie("vidjet-preview")),r=_getCookie("vidjet-campaignId");a=c;var m=!1,l=!1,b=[],p={},f=!1,u=!1,_=120;const h={width:40,height:40};let v=0;const g=_getCookie("vidjet-sessionId");var w=g||function(e,t,i){var d=(e=e||{}).random||(e.rng||rng)();if(d[6]=15&d[6]|64,d[8]=63&d[8]|128,t){i=i||0;for(let e=0;e<16;++e)t[i+e]=d[e];return t}return stringify(d)}();_setCookie("vidjet-sessionId",w,1);var y={url:location.href,sessionId:w};"product"===window?.ShopifyAnalytics?.meta?.page?.resourceType&&(y.productId=ShopifyAnalytics.meta.page.resourceId),"prestashop"===d.site?.integration&&(y.productId=window.id_product),"woocommerce"===d.site?.integration&&(y.productId=document.querySelector("[data-product_id]")?.getAttribute("data-product_id"));var j={landing:0,exit:1,scroll:2,delay:3},k={mobile:0,desktop:1};_sendAnalyticsToIframes(),window.addEventListener("message",(i=>{"vidjet"===i.data.messageOrigin&&function(i){const{origin:a,properties:o}=i&&i.data,n=document.querySelector(".vidjet-iframe")||document.querySelector(".vidjet-embed-iframe");if(n)if("closeMainPlayer"===a){if(o&&o.currentVideoId&&"original"===e.bubbleShape){const e=b.find((e=>e._id===o.currentVideoId));p={height:e.height,width:e.width}}if(u=!1,setTimeout((()=>{const{width:e,height:t}=_setBubbleSize();n.style.width=`${e+h.width}px`,n.style.height=`${t+h.height}px`}),500),e.isFullScreen){document.querySelectorAll(".vidjet-body").forEach((e=>e.classList.remove("vidjet-body"))),n.classList.remove("vidjet-fullscreen"),window.scrollTo(0,v);const t=10;n.style.bottom=e.moveY?`${e.moveY+t}px`:`${t}px`,n.style.display="block",1===e.position?(n.style.left="unset",n.style.right=e.moveX?`${e.moveX+t}px`:`${t}px`):0===e.position&&(n.style.right="unset",n.style.left=e.moveX?`${e.moveX+t}px`:`${t}px`)}}else if("openMainPlayer"===a)if(u=!0,f&&(p={width:1080,height:1920}),e.isFullScreen)n.style.height="100%",n.style.width="100%",n.style.bottom="0px",n.style.right="0px",n.style.left="0px",n.classList.add("vidjet-fullscreen"),_injectCssFullScreen();else{if(_isWarmangoProductCampaign(d.site._id,t._id))return n.style.width="auto",void(n.style.height="100%");const{iframeWidth:e,iframeHeight:i}=_setIframeSize(p);n.style.width=`${e}px`,n.style.height=`${i}px`}else if("destroyIframe"===a)setTimeout((()=>{_destroyIframe(),e?.isStickyBar&&document.getElementById("vidjet-stickybar")&&document.getElementById("vidjet-stickybar").classList.remove("vidjet-hidden")}),500);else if("getCartItems"===a)!async function(){const e=[document.querySelector(".vidjet-iframe"),...document.querySelectorAll(".vidjet-embed-iframe")],t={action:"sendCartItems",data:await _getCartItems()},i=e.filter((e=>e));i.length>0&&i.forEach((e=>{e.contentWindow.postMessage(t,"*")}))}();else if("addToCart"===a)!function(e){switch(d.site.integration){case"shopify":!function(e){let t={items:[{id:e.variantId,qty:e.qty||1}]};fetch("/cart/add.js",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)})}(e);break;case"woocommerce":window.vidjetAddToCart(e),e.isBuyNow&&(window.location.href=window.vidjetcheckoutUrl);break;case"prestashop":!function(e){const t=window.prestashop&&prestashop.static_token,i=window.prestashop&&prestashop.urls?.pages?.cart||location.origin;var d="controller=cart&add=1&action=update&ajax=true&qty="+(e.qty||1)+"&token="+t+"&id_product="+e.productId+"&ipa="+e.variantId;$.post(i,d,null,"json").then((t=>{window.prestashop&&prestashop.emit("updateCart",{reason:{},resp:t}),e.isBuyNow&&(window.location.href=window.prestashop&&prestashop.urls?.pages?.order||location.origin+"/order")})).fail((e=>{window.prestashop&&prestashop.emit("handleError",{eventType:"addProductToCart",resp:e})}))}(e)}if("9b37caa1-347d-4e4f-8478-1c4126fb9f7e"===d.site._id){const e=[document.querySelector(".vidjet-iframe"),...document.querySelectorAll(".vidjet-embed-iframe")],t={action:"scriptCloseEvent"},i=e.filter((e=>e));i.length>0&&i.forEach((e=>{e.contentWindow.postMessage(t,"*")})),document.dispatchEvent(new CustomEvent("cart:refresh"));const d=document.querySelector("cart-drawer");d&&!d.hasAttribute("open")&&d.show(),document.dispatchEvent(new CustomEvent("cart:refresh"))}}(o);else if("killIframe"===a){const e=document.querySelector(`iframe[data-vidjet-campaign-id="${o.campaignId}"]`);e?.parentElement?.remove()}else if("getAnalytics"===a){const e={action:"getAnalytics",data:y};n.contentWindow.postMessage(e,"*")}else"openFullScreen"===a?(!function(e){const t=".vidjet-fullscreen { \n position: fixed !important; \n height: 100% !important; \n width: 100% !important; \n z-index: 2147483647; \n top: 0; \n right: 0; \n bottom: 0px; \n left: 0px; \n max-height: none !important; \n margin: 0 !important\n } ",i=document.createElement("style");i.innerText=t,document.head.appendChild(i),window.scrollY&&(v=window.scrollY);const d=_targetCarousels(e);d.forEach((e=>{Array.from(e.classList).includes("vidjet-fullscreen")||e.parentElement.classList.add("vidjet-fullscreen")})),document.querySelectorAll(".vidjet-iframe").forEach((e=>{e.style.display="none"}))}(o),_injectCssFullScreen()):"closeFullScreen"===a?(document.querySelectorAll(".vidjet-body").forEach((e=>e.classList.remove("vidjet-body"))),document.querySelectorAll(".vidjet-fullscreen").forEach((e=>e.classList.remove("vidjet-fullscreen"))),window.scrollTo(0,v),document.querySelectorAll(".vidjet-iframe").forEach((e=>{e.style.display="block"}))):"carouselHeight"===a?_targetCarousels(o.campaignId).forEach((e=>{e.parentElement.style.height=`calc(${o.carouselHeight}px + 32px)`,e.parentElement.style.paddingBottom="0"})):"bulkSegMatched"===a?_targetCarousels(o).forEach((e=>{"0"!==e.parentElement.style.height&&"0px"!==e.parentElement.style.height&&e.parentElement.style.height||(e.parentElement.style.height="100px")})):"youtubeThumbnailClicked"===a&&document.querySelector("#videos")?.scrollIntoView({behavior:"smooth"})}(i)}),!1),_sendEvent("pageView"),function(){let e=document.querySelector("style[data-vidjet]");if(e)return e.remove();{const e="";document.head.insertAdjacentHTML("beforeend",e)}}();var S,I=[{integration:"shopify",cookieName:"cart"},{integration:"woocommerce",cookieName:"vidjet_woo_cart_id"},{integration:"wix",cookieName:"vidjet_wix_cart_id"},{integration:"prestashop"}].find((e=>e.integration===d.site.integration));if(!(S=d.site,0===Object.keys(S).length&&S.constructor===Object||d.site.integration)){_makeRequest("/website/integrate",{siteId:d.site&&d.site._id,integrationDate:(new Date).toISOString(),integration:"manual",websiteUrl:window.location.protocol+"//"+window.location.hostname},d.backendUrl)}if(I){let e="prestashop"===I.integration?window.vidjetPreastshopCartId:_getCookie(I.cookieName);"shopify"===I?.integration&&e?.includes("key")&&(e.includes("%3Fkey")?e=e.split("%3Fkey")[0]:e.includes("?key")&&(e=e.split("?key")[0])),e&&e!==_getCookie("vidjet_cart_id")&&(_setCookie("vidjet_cart_id",e,1),_sendEvent("cartCreated"))}function _isWarmangoProductCampaign(e,t){if("383ece2b-e9a7-4e37-a0a2-5f42d0a1009b"!==e)return!1;return!["d7dfa072-fb6d-48ea-9b1d-b8bb576435bd","618bf347-b02b-43d4-9ffa-079318639735","a246fc8d-fd05-4f2e-886b-fac3065d89bd"].includes(t)}function _setIframeSize(t){let d=function(e){const{mobile:t,tablet:i,desktop:d,bigDesktop:a,giantDesktop:o}={mobile:{square:.8,portrait:.65,landscape:.95},tablet:{square:.6,portrait:.3,landscape:.7},desktop:{square:.35,portrait:.25,landscape:.5},bigDesktop:{square:.3,portrait:.2,landscape:.4},giantDesktop:{square:.25,portrait:.2,landscape:.3}},n=Math.max(document.documentElement.clientWidth||0,window.innerWidth||0),s=function({height:e,width:t}){return e/t>.9&&e/t<1.2?"square":e>t?"portrait":"landscape"}(e);switch(!0){case n<=480:return n*t[s];case n<=768:return n*i[s];case n<=1024:return n*d[s];case n<=1680:return n*a[s];default:return n*o[s]}}(t);const a=e.hideBubble||i,o=f?0:30,n=a?0:_||120,{width:s,height:c}=t;return iframeHeight=c/(s/d)+o+n,{iframeWidth:d,iframeHeight:iframeHeight}}function _setBubbleSize(){if(_=_||90,"original"===e.bubbleShape){const{width:e,height:t}=p,i=e/t;return i<1?{width:_,height:_/i}:{width:_*i,height:_}}return{width:_,height:_}}function _limitOffset(e){const{height:t,width:i}=p;if(0===e.moveX&&0===e.moveY)return{offsetX:0,offsetY:0};const{iframeWidth:d,iframeHeight:a}=u?_setIframeSize({width:i,height:t}):_setBubbleSize(),o=Math.max(document.documentElement.clientHeight||0,window.innerHeight||0)-20,n=Math.max(document.documentElement.clientWidth||0,window.innerWidth||0)-20;let{moveX:s,moveY:c}=e;const r=c+a,m=s+d;return r>o&&(c-=r-o),m>n&&(s-=m-n),{offsetX:s,offsetY:c}}function _addElement(t,i,d,a,o,n){if(e.isStickyBar)return _sendEvent("display"),function(t,i,d,a,o){const n=document.createElement("div"),{backgroundColor:s,textColor:c,text:r}=e.stickyBarOptions,{moveY:m}=a;n.classList.add("vidjet-stickyBar"),n.id="vidjet-stickybar",n.style["background-color"]=s,m&&(n.style.bottom=`${m||20}px`),n.innerHTML=`\n
\n
\n \n ${r}\n
\n
\n \n
\n
\n `,document.body.appendChild(n),document.getElementById("vidjet-stickybar-open-video").addEventListener("click",(function(){n.classList.add("vidjet-hidden"),_addIframe(t,i,d,a,o)})),document.getElementById("vidjet-stickybar-close").addEventListener("click",(function(){n.classList.add("vidjet-hidden")}))}(t,i,d,a,o);_addIframe(t,i,d,a,o)}function _addIframe(t,a,o,n,s,c){const{campaignType:r}=t||{},{offsetX:m,offsetY:l}=_limitOffset(n);if(!document.querySelectorAll(".vidjet-iframe").length){let t=document.createElement("iframe");var b=`${d.playerUrl}/${a}/${o}`,u=new URL(b);const n="popup"===r;u.searchParams.set("sessionId",w),u.searchParams.set("device",i?"mobile":"desktop"),u.searchParams.set("url",y.url),y.productId&&u.searchParams.set("productId",y.productId),t.classList.add("vidjet-iframe"),t.title="Vidjet video player",t.allow="clipboard-read; clipboard-write; fullscreen",t.style.border="none",t.style.position="fixed";const c=10;if(t.style.bottom=n?0:l?`${l}px`:`${c}px`,t.style.display="block",f&&(t.style.borderRadius="10px"),"right"!==r||n?"left"!==r||n?n?t.classList.add("vidjet-popup"):t.style.left=m?`${m}px`:0:t.style.left=m?`${m}px`:`${c}px`:t.style.right=m?`${m}px`:`${c}px`,t.style.zIndex="4815162342","3b552290-2fcf-4b40-84bb-eb6c0118d821"===a?t.style.zIndex="2147483646":"4eb27fa9-2ff9-4c62-8a74-184ded24bb80"===a&&(t.style.zIndex="29"),t.src=u.toString(),!n)if(s&&!e.isFullScreen){const{iframeWidth:e,iframeHeight:i}=_setIframeSize(p);t.style.width=`${e}px`,t.style.height=`${i}px`}else{const{width:e,height:i}=_setBubbleSize();t.style.width=`${e+h.width}px`,t.style.height=`${i+h.height}px`}if(_isWarmangoProductCampaign(a,o))return t.style.position="absolute",document.getElementsByClassName("media-viewer__image-link")[0].style.position="relative",void document.getElementsByClassName("media-viewer__image-link")[0].appendChild(t);document.body.appendChild(t)}}async function _getCartItems(){if("shopify"===d.site.integration){return(await async function(){const e=await fetch("/cart.json");if(200===e.status)return e.json();console.log(`Failed to get request, Shopify returned ${e.status} ${e.statusText}`)}()).items.map((e=>({productId:e.id,variantId:e.variant_id,quantity:e.quantity})))}}function _targetCarousels(e){let t=document.querySelectorAll(".vidjet-embed-iframe");t=Array.prototype.slice.call(t);let i=[];return 1===t.length?t:(i=t.filter((t=>t.dataset.vidjetCampaignId===e||(t.dataset&&t.dataset.src&&t.dataset.src.value.includes("vidjet.io")?t.dataset.src.value.includes(e):t.attributes.src.value.includes(e)))),i)}function _injectCssFullScreen(){if("object"!=typeof Array.from(document.head.querySelectorAll("style")).find((e=>"vidjet-body"===e.id))){const e=".vidjet-body {\n position: fixed;\n top: 0;\n left: 0;\n overflow: hidden;\n height: 100vh;\n width: 100vw;\n background-color: white;\n color: white;\n }\n .vidjet-body *:not(.vidjet-fullscreen) {z-index: unset !important;} ",t=document.createElement("style");t.setAttribute("id","vidjet-body-style"),t.innerText=e,document.head.appendChild(t)}document.querySelector("body").classList.add("vidjet-body"),document.querySelector("html").classList.add("vidjet-body"),window.scrollTo(0,1)}function _decryptParams(e){let t={};return 0===e?.formatType?t.campaignType="popup":1===e?.formatType&&(0===e?.position&&(t.campaignType="left"),1===e?.position&&(t.campaignType="right")),e?.isFullScreen&&(t.isFullScreen="fullscreen"),t}function _setCookie(e,t,i){var d="";if(i){var a=new Date;a.setTime(a.getTime()+60*i*60*1e3),d="; expires="+a.toUTCString()}document.cookie=e+"="+(t||"")+d+"; path=/"}function _displayLaunchPopup(e){return vidjetDisplayLaunchPopup(e)}function _getCookie(e){for(var t=e+"=",i=document.cookie.split(";"),d=0;d1?(f=!0,p={width:1080,height:1920}):p={width:d.videos[0].width,height:d.videos[0].height},u=e.openByDefault&&!e.isFullScreen);const{moveX:g,moveY:w,bubbleSize:y}=e||{},k={siteId:h,_id:v,videoOriginalSize:p,moveX:g,moveY:w,isPlayerOpen:u,bubbleSize:y};_=y,d.bulk||function(){const e=_getCookie(`vidjet_view_${t._id}`),i=e?parseInt(e)+1:1;_setCookie(`vidjet_view_${t._id}`,i,t.segmentation.viewRestriction.notShownTime+1),i>=t.segmentation.viewRestriction.maxView&&(_setCookie(`vidjet_timing_${t._id}`,new Date((new Date).getTime()+1e3*t.segmentation.viewRestriction.notShownTime*3600).toISOString(),t.segmentation.viewRestriction.notShownTime+1),_deleteCookie(`vidjet_view_${t._id}`))}(),!d?.segmentation?.trigger?.type||d.segmentation.trigger.type===n||a?_addElement(_decryptParams(e),h,v,{moveX:g,moveY:w},u):d.segmentation.trigger.type===s?(document.addEventListener("mouseout",(e=>{_onExitIntent(e,k)})),i&&document.addEventListener("scroll",(e=>{_onExitIntent(e,k)}))):d.segmentation.trigger.type===c?window.addEventListener("scroll",(function(t){m||(window.requestAnimationFrame((function(){!function(t,i){let d=document.documentElement,a=document.body,o="scrollTop",n="scrollHeight",s=(d[o]||a[o])/((d[n]||a[n])-d.clientHeight)*100;const{siteId:c,_id:r,moveX:m,moveY:b,isPlayerOpen:p,bubbleSize:f}=i;s>=t.segmentation.trigger.option&&!l&&(_addElement(_decryptParams(e),c,r,{moveX:m,moveY:b},p),l=!0)}(d,k),m=!1})),m=!0)}),!0):d.segmentation.trigger.type===r&&setTimeout((()=>{_addElement(_decryptParams(e),h,v,{moveX:g,moveY:w},u)}),1e3*(d.segmentation.trigger.option||10))}let T=0;const _onExitIntent=(t,i)=>{const{siteId:d,_id:a,moveX:o,moveY:n,isPlayerOpen:s,bubbleSize:c}=i;if(t.clientY<50&&null==t.relatedTarget&&"select"!==t.target.nodeName.toLowerCase())document.removeEventListener("mouseout",(e=>{console.log(e,"removed")})),_addElement(_decryptParams(e),d,a,{moveX:o,moveY:n},s);else if("scroll"==t.type){let t=window.pageYOffset||document.documentElement.scrollTop;t+50{console.log(e,"removed")})),_addElement(_decryptParams(e),d,a,{moveX:o,moveY:n},s)),T=t<=0?0:t}};function _deleteCookie(e){document.cookie=e+"=; Max-Age=-99999999;"}function _destroyIframe(){if(document.querySelector(".vidjet-iframe")){return document.querySelector(".vidjet-iframe").remove()}}function _makeRequest(e,t,i){var d=new XMLHttpRequest,a=i+e;d.onreadystatechange=function(){if(4===this.readyState)return 200===this.status?JSON.parse(this.responseText.trim()):console.log((new Date).toISOString(),"AJAX ERROR for [",a,"]:",this.status,"with message [",this.statusText,"]")},d.open("POST",a,!0),d.timeout=5e3,d.setRequestHeader("Content-Type","application/json"),d.send(JSON.stringify(t))}function _sendAnalyticsToIframes(){const e=[...document.querySelectorAll(".vidjet-embed-iframe")],t={action:"getAnalytics",data:y},i=e.filter((e=>e));i.length>0&&i.forEach((e=>{e.contentWindow.postMessage(t,"*")}))}function _sendEvent(e,o){if(a)return;const n={siteId:d.site._id,campaignId:t&&t._id,sessionId:w,type:e,date:(new Date).toISOString(),device:i?"mobile":"desktop",params:o};if("cartCreated"===e){const e=_getCookie("vidjet_cart_id");e&&(n.cartId=e)}_makeRequest("/track-event",n,d.backendUrl)}function _matchBulkSegmentation(e){return e.bulk.find(_matchBulkCriteria)}function _matchBulkCriteria(e){return e.segmentation?.productId?.length&&e.segmentation.url?.length?_matchProductIdSegmentation(e.segmentation.productId)&&_matchUrlSegmentation(e.segmentation.url):e.segmentation?.productId?_matchProductIdSegmentation(e.segmentation.productId):!!y.url&&_matchUrlSegmentation(e.segmentation.url)}function _compareUrl(e){return"eq"===e.comparison&&e.string===document.location.href||("not_eq"===e.comparison&&e.string!==document.location.href||(!("contains"!==e.comparison||!document.location.href.includes(e.string))||"not_contains"===e.comparison&&!document.location.href.includes(e.string)))}function _matchUrlSegmentation(e,t){if(!e||!e.length)return!1;for(const i of e){if(!i.type&&!t)return _compareUrl(i);if(i.type){let e=_matchUrlSegmentation(i.filters,i.type);if(!t)return e;if("or"===t&&e)return!0;if("and"===t&&!e)return!1}else{let e=_compareUrl(i);if("or"===t&&e)return!0;if("and"===t&&!e)return!1}}return"or"!==t}function _matchProductIdSegmentation(e){return e.includes(y.productId.toString())||e.includes(parseInt(y.productId))}function _matchSegmentation(t,d=!1){if(e=i?t.formats.find((e=>e.deviceType===k.mobile)):t.formats.find((e=>e.deviceType===k.desktop)),d)return!0;if(!e)return!1;if(!a){const e=_getCookie(`vidjet_timing_${t._id}`);if(e&&(new Date).getTime()"f7278680-1975-48d8-832a-f8eeb6c4ad86"===e._id));if(!t)return;const a=_matchBulkSegmentation(t);if(!a)return;document.getElementsByClassName("magic-slide mt-active")[0].insertAdjacentHTML("afterend",'');const o=document.getElementsByClassName("magictoolbox-selector mz-thumb");for(let t of o)t.addEventListener(e,(()=>{document.getElementsByClassName("magic-slide mt-active")[0].style.display="block",document.getElementsByClassName("magic-slide mt-active vidjet-toggle")[0].style.display="none";const e=document.getElementsByClassName("magictoolbox-selector mz-thumb vidjet-toggle")[0];e.classList.remove("active-selector"),e.classList.remove("mz-thumb-selected")}));const n=document.createElement("a");n.innerHTML=`Audemars Piguet Royal Oak - 14img-1`,n.firstChild.addEventListener(e,(()=>{document.getElementsByClassName("magic-slide mt-active")[0].style.display="none",document.getElementsByClassName("magic-slide mt-active vidjet-toggle")[0].style.display="block";const e=document.getElementsByClassName("magictoolbox-selector mz-thumb active-selector")[0];e&&e.classList.remove("active-selector"),e&&e.classList.remove("mz-thumb-selected");const t=document.getElementsByClassName("magictoolbox-selector mz-thumb vidjet-toggle")[0];t.classList.add("active-selector"),t.classList.add("mz-thumb-selected")})),document.getElementsByClassName("magictoolbox-selector mz-thumb")[document.getElementsByClassName("magictoolbox-selector mz-thumb").length-1].parentNode.appendChild(n.firstChild),_sendAnalyticsToIframes()}if("1f3f4a1f-b5cf-41c9-8906-be1aeebde3e1"===d.site._id){const i=[{url:"/ritual-fit",campaignId:"707e9af6-fc42-47e5-9c29-509b79964d0c",secondPath:"/ritual-fit/"},{url:"/vientre-plano",campaignId:"24189915-94f1-44de-8bdf-3f1cccfba7f5",secondPath:"/vientre-plano/"},{url:"/fitness",campaignId:"75ce73a6-65cb-48db-bbc5-0d8ee2d57401",secondPath:"/fitness/"}];for(const d of i)if(document.location.pathname===d.url||document.location.pathname===d.secondPath){var e=1,t=setInterval((function(){var i=document.getElementsByClassName("woocommerce-product-gallery__image")&&document.getElementsByClassName("woocommerce-product-gallery__image")[2];i&&(i.innerHTML=`\n
\n \n
`,clearInterval(t)),(e+=1)>=20&&clearInterval(t)}),100);break}}else if("15701a38-dae7-47d3-9881-cddf540b11a2"===d.site._id){const i=[{url:"https://atashicellular.com/antioxidante/587-tonico-regenerante-purificante.html",campaignId:"6c9e1a3b-f851-4d81-a280-162a175ad732"}];for(const d of i)if(document.location.href.includes(d.url)){e=1,t=setInterval((function(){var i=document.getElementsByClassName("product-lmage-large swiper-slide")&&document.getElementsByClassName("product-lmage-large swiper-slide")[2];i&&(i.innerHTML=`\n
\n \n
`,clearInterval(t)),(e+=1)>=20&&clearInterval(t)}),100);break}}}(),d.site.isLocked&&function(){const e=[...document.querySelectorAll(".vidjet-video-wrapper"),...document.querySelectorAll(".vidjet-carousel-wrapper")];for(const t of e)t.remove()}(),function(){const e="video-preview"===(s.has("vidjet")&&s.get("vidjet"))&&s.has("campaignId"),{isLocked:t}=d.site,o=d.campaignsActivated.length;if(e){const e=d.campaignsPaused.find((e=>e._id===s.get("campaignId")));e?(a=!0,!i&&_displayLaunchPopup(e._id),_matchSegmentation(e,!0)&&_displayIframeBasedOnTrigger(e),_setCookie("vidjet-preview",!0,1),_setCookie("vidjet-campaignId",s.get("campaignId"),1)):(_deleteCookie("vidjet-preview"),_deleteCookie("vidjet-campaignId"))}else if(c){const e=d.campaignsPaused.find((e=>e._id===r));e?(!i&&_displayLaunchPopup(e._id),_matchSegmentation(e,!0)&&_displayIframeBasedOnTrigger(e)):(_deleteCookie("vidjet-preview"),_deleteCookie("vidjet-campaignId"))}else{if(t||!o)return;for(const e of d.campaignsActivated)if(_matchSegmentation(e)){_displayIframeBasedOnTrigger(e);break}}}(),e){const{isFullScreen:t}=_decryptParams(e);!t&&_addResizeListener()}},showCampaign:function(t,a){const n=d.campaignsActivated.find((e=>e._id==t));if(!n)return console.error(`Invalid campaign id for ${t}`);e=i?n.formats.find((e=>e.deviceType===k.mobile)):n.formats.find((e=>e.deviceType===k.desktop));const{isFullScreen:s}=_decryptParams(e);if(a)_destroyIframe(),o=!1,m=!1,l=!1,_displayIframeBasedOnTrigger(n),!s&&_addResizeListener();else{if(document.querySelectorAll(".vidjet-iframe").length)return console.warn('Campaign already running. To show this video, pass "true" as the second parameter to force show.');o=!1,m=!1,l=!1,_displayIframeBasedOnTrigger(n),!s&&_addResizeListener()}},initSpa:function(){const e=this;let t=location.href;setInterval((function(){t!=location.href&&(console.log("VIDJET: page change detected"),_destroyIframe(),o=!1,m=!1,l=!1,e.init(),t=location.href)}),500)},send:function(e,t){return"conversion"===e||"order"===e?_sendEvent(e,t):console.warn(`The '${e}' type is not supported. Please use a valid event type.`)}}}();document&&("complete"===document.readyState||(document.location.href.includes("https://elifexir.com")||document.location.href.includes("https://atashicellular.com")||document.location.href.includes("https://www.lafloreparis.com/")||document.location.href.includes("https://www.coolgadget.com/"))&&"interactive"===document.readyState)?(console.log("VIDJET: document loaded"),Vidjet.init()):window.addEventListener("load",(e=>{console.log("VIDJET: window loaded"),Vidjet.init()}));