PageSourceSearch

https://assetss.tradervs.com.au/_next/static/chunks/4329.6c35ea845bd3a955.js

js tradervs.com.au collected 2026-10-08 19:10:25 UTC 4,166 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4329],{34329:function(e,t,r){function i(e){return e.includes("?")?e.split("?")[0]:e.includes("/")?e.split("/")[0]:e.includes("&")?e.split("&")[0]:e}function n(e){var t=e;t=(t=t.replace(/#t=.*$/,"")).replace(/^https?:\/\//,"");var r=/youtube:\/\/|youtu\.be\/|y2u\.be\//g;if(r.test(t))return i(t.split(r)[1]);var n=/\/v\/|\/vi\//g;if(n.test(t))return i(t.split(n)[1]);var o=/v=|vi=/g;if(o.test(t))return i(t.split(o)[1].split("&")[0]);var s=/\/an_webp\//g;if(s.test(t))return i(t.split(s)[1]);var u=/\/e\//g;if(u.test(t))return i(t.split(u)[1]);var c=/\/embed\//g;if(c.test(t))return i(t.split(c)[1]);if(!/\/user\/([a-zA-Z\d]*)$/g.test(t)){if(/\/user\/(?!.*videos)/g.test(t))return i(t.split("/").pop());var a=/\/attribution_link\?.*v%3D([^%&]*)(%26|&|$)/;return a.test(t)?i(t.match(a)[1]):void 0}}function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var i,n,o=[],s=!0,u=!1;try{for(r=r.call(e);!(s=(i=r.next()).done)&&(o.push(i.value),!t||o.length!==t);s=!0);}catch(c){u=!0,n=c}finally{try{s||null==r.return||r.return()}finally{if(u)throw n}}return o}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return s(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return s(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,i=new Array(t);r<t;r++)i[r]=e[r];return i}function u(e){var t,r,i=e;if(i.includes("#")){var n=i.split("#");i=o(n,1)[0]}if(i.includes("?")&&!i.includes("clip_id=")){var s=i.split("?");i=o(s,1)[0]}var u=/https?:\/\/vimeo\.com\/event\/(\d+)$/.exec(i);if(u&&u[1])return u[1];var c=/https?:\/\/vimeo\.com\/(\d+)/.exec(i);if(c&&c[1])return c[1];var a=["https?://player.vimeo.com/video/[0-9]+$","https?://vimeo.com/channels","groups","album"].join("|");if(new RegExp(a,"gim").test(i))(r=i.split("/"))&&r.length>0&&(t=r.pop());else if(/clip_id=/gim.test(i)){if((r=i.split("clip_id="))&&r.length>0)t=o(r[1].split("&"),1)[0]}return t}function c(e){var t=/https:\/\/vine\.co\/v\/([a-zA-Z\d]*)\/?/.exec(e);if(t&&t.length>1)return t[1]}function a(e){var t;if(e.includes("embed"))return t=/embed\/(\w{8})/,e.match(t)[1];t=/\/v\/(\w{8})/;var r=e.match(t);return r&&r.length>0?r[1]:void 0}function l(e){var t=(e.includes("embed")?/https:\/\/web\.microsoftstream\.com\/embed\/video\/([a-zA-Z\d-]*)\/?/:/https:\/\/web\.microsoftstream\.com\/video\/([a-zA-Z\d-]*)\/?/).exec(e);if(t&&t.length>1)return t[1]}function v(e){var t=/tiktok\.com(.*)\/video\/(\d+)/gm.exec(e);if(t&&t.length>2)return t[2]}function f(e){var t=/dailymotion\.com(.*)(video)\/([a-zA-Z\d]+)/gm.exec(e);if(t)return t[3];var r=/dai\.ly\/([a-zA-Z\d]+)/gm.exec(e);if(r&&r.length>1)return r[1];var i=/dailymotion\.com(.*)video=([a-zA-Z\d]+)/gm.exec(e);return i&&i.length>2?i[2]:void 0}r.r(t),t.default=function(e){if("string"!==typeof e)throw new TypeError("get-video-id expects a string");var t=e;/<iframe/gi.test(t)&&(t=function(e){if("string"!==typeof e)throw new TypeError("getSrc expected a string");var t=/src="(.*?)"/gm.exec(e);if(t&&t.length>=2)return t[1]}(t)),t=(t=(t=t.trim()).replace("-nocookie","")).replace("/www.","/");var r={id:null,service:null};if(/\/\/google/.test(t)){var i=t.match(/url=([^&]+)&/);i&&(t=decodeURIComponent(i[1]))}return/youtube|youtu\.be|y2u\.be|i.ytimg\./.test(t)?r={id:n(t),service:"youtube"}:/vimeo/.test(t)?r={id:u(t),service:"vimeo"}:/vine/.test(t)?r={id:c(t),service:"vine"}:/videopress/.test(t)?r={id:a(t),service:"videopress"}:/microsoftstream/.test(t)?r={id:l(t),service:"microsoftstream"}:/tiktok\.com/.test(t)?r={id:v(t),service:"tiktok"}:/(dailymotion\.com|dai\.ly)/.test(t)&&(r={id:f(t),service:"dailymotion"}),r}}}]);
2//# sourceMappingURL=4329.6c35ea845bd3a955.js.map

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.