PageSourceSearch

https://torras.co.jp/cdn/shop/t/48/assets/video-feedback.script-global-BmnQFQNw.js

js torras.co.jp collected 2026-09-24 18:58:26 UTC 1,322 bytes, 1 lines download raw bytes

1import{D as r,a as s}from"./index-B2z_lZoq.js";function c(t){return t.search(/^https?:\/\/(www|)\.youtube\.com/g)!==-1||t.search(/^https?:\/\/(www|)\.youtu\.be/g)!==-1}function d(t){return t.search(/^https?:\/\/(player\.|)vimeo\.com/g)!==-1}function n(t,o){var i,a;const e=typeof o=="string"?document.querySelector(o):o;e&&(e.tagName==="VIDEO"?e[t]():e.tagName==="IFRAME"&&c(e.src)?(i=e.contentWindow)==null||i.postMessage(`{"event":"command","func":"${t}Video","args":[],"id":1,"channel":"widget"}`,"*"):e.tagName==="IFRAME"&&d(e.src)&&((a=e.contentWindow)==null||a.postMessage({method:t,value:{}},"*")))}function l(t){n("play",t)}function f(t){n("pause",t)}function u(){document.querySelectorAll(".video-feedback__carousel xo-carousel-slide").forEach(o=>{const e=o.querySelector("xo-video-cover"),i=e==null?void 0:e.querySelector("video"),a=o.querySelector("xo-video-cover-button");!e||!i||!a||(s.get(o,"xo-active")===!1?s.get(e,"xo-playing")&&(e.removeAttribute("xo-playing"),e.setAttribute("xo-paused",""),a.setAttribute("xo-disabled",""),f(i)):s.get(e,"xo-paused")&&(e.removeAttribute("xo-paused"),e.setAttribute("xo-playing",""),a.removeAttribute("xo-disabled"),l(i)))})}function g(){const t=document.querySelector(".video-feedback__carousel");t&&t.addEventListener("xo:carousel:change",()=>{u()})}r(()=>{u(),g()});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.