PageSourceSearch

https://www.physikinstrumente.com/build/3458.1b6d7a84.js

js physikinstrumente.com collected 2026-10-02 06:22:19 UTC 4,029 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkav_physikinstrumente=self.webpackChunkav_physikinstrumente||[]).push([[3458],{3458(t,e,o){o.r(e),o.d(e,{default:()=>l});o(2675),o(9463),o(2259),o(5700),o(113),o(3792),o(739),o(9572),o(4170),o(2892),o(4185),o(6099),o(7764),o(2953);var a=o(4692);function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function i(t,e){for(var o=0;o<e.length;o++){var a=e[o];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,d(a.key),a)}}function r(t,e,o){return(e=d(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function d(t){var e=function(t,e){if("object"!=n(t)||!t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var a=o.call(t,e||"default");if("object"!=n(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==n(e)?e:e+""}var l=function(){return t=function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),r(this,"sources",void 0),r(this,"addSelector",".adddownloadtocart"),r(this,"removeFromFormSelector",".removefromform"),r(this,"formInputSelector",".downloadcartinput"),this.sources=e,this.initialize=this.initialize.bind(this),a(document).on("pi-download-initialize",this.initialize),a(document).on("articleloader.newcontent",this.initialize),this.initButtons(),this.doAjax("init",0)},(e=[{key:"initialize",value:function(){this.doAjax("init",0)}},{key:"initButtons",value:function(){var t=this;a(document).on("click touchend",this.addSelector,function(e){e.preventDefault();var o=a(this);return o.hasClass("incart")?t.removeFromCart(o):t.addToCart(o),!1}),a(document).on("click touchend",this.removeFromFormSelector,function(e){return e.preventDefault(),t.removeFromForm(a(this)),!1})}},{key:"addToCart",value:function(t){var e=t.data("download"),o=t.data("file");e&&o&&this.doAjax("add",e,o)}},{key:"removeFromCart",value:function(t){var e=t.data("download"),o=t.data("file");e&&o&&this.doAjax("remove",e,o)}},{key:"removeFromForm",value:function(t){var e=t.parents(".powermail_fieldwrap_downloadcart").first().find(this.formInputSelector),o=e.data("download");if(o[t.data("download")]){delete o[t.data("download")],e.attr("data-download",JSON.stringify(o)),t.parents(".download_list").first().remove();var a=t.data("download"),n=t.data("file");a&&n&&this.doAjax("remove",a,n)}}},{key:"doAjax",value:function(t,e,o){var n=this;if(!this.sources[t])throw'missing source for action "'+t+'"';a.post({url:this.sources[t],data:{tx_avphysikinstrumente_downloadcart:{downloadUid:e,fileUid:o}},success:function(t){n.processAjaxResonse(t)},error:function(t,e,o){n.processAjaxError(t,e,o)}})}},{key:"processAjaxResonse",value:function(t){this.cartList=t.items,a("#page_main .adddownloadtocart").removeClass("incart"),a("#page_main .language_selector").removeAttr("disabled"),a("#page_main .adddownloadtocart [data-add-download-button]").show(),a("#page_main .adddownloadtocart [data-remove-download-button]").hide(),a("#page_main [data-email-download][data-file]").hide();for(var e=0;e<this.cartList.length;e++){var o=t.items[e],n=a('#page_main .adddownloadtocart[data-download="'+o.uid+'"][data-file="'+o.fileUid+'"]'),i=a('#page_main [data-email-download][data-file="'+o.fileUid+'"]'),r=n.data("language");n.addClass("incart"),n.find("[data-remove-download-button]").show(),i.show(),n.find("[data-add-download-button]").hide();var d=a('#page_main .language_selector[data-download-uid="'+o.uid+'"]');d.val(r).change(),d.attr("disabled","disabled")}}},{key:"processAjaxError",value:function(t,e,o){"object"==("undefined"==typeof console?"undefined":n(console))&&console.log(e+" - "+o)}}])&&i(t.prototype,e),o&&i(t,o),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e,o}()}}]);

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.