PageSourceSearch

https://taasingetennisklub.dk/assets/js/5320.0db1c4b86e9d0762.js

js taasingetennisklub.dk collected 2026-10-02 01:02:36 UTC 17,945 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[5320],{60185:(e,t,n)=>{n.d(t,{G:()=>a});var a={props:{},data:function(){return{}},methods:{mixinDisplayCurrency:function(e){return null==e?e:""==e||null==e?"da"===window.appLocale?"kr.":"DKK":e="DKK"===(e=(e=e.replace(/^\s+|\s+$/g,"")).toLowerCase())||"dkk"===e?"da"===window.appLocale?"kr.":"DKK":e.toUpperCase()}},computed:{},mounted:function(){},created:function(){}}},2616:(e,t,n)=>{n.d(t,{A:()=>i});var a=n(76314),o=n.n(a)()((function(e){return e[1]}));o.push([e.id,".off-btn-color[data-v-c2868486],.off-btn-color[data-v-c2868486]:before{color:#9ea2a6!important}",""]);const i=o},76314:e=>{e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=e(t);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,a){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(a)for(var i=0;i<this.length;i++){var r=this[i][0];null!=r&&(o[r]=!0)}for(var s=0;s<e.length;s++){var l=[].concat(e[s]);a&&o[l[0]]||(n&&(l[2]?l[2]="".concat(n," and ").concat(l[2]):l[2]=n),t.push(l))}},t}},85072:(e,t,n)=>{var a,o=function(){return void 0===a&&(a=Boolean(window&&document&&document.all&&!window.atob)),a},i=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),r=[];function s(e){for(var t=-1,n=0;n<r.length;n++)if(r[n].identifier===e){t=n;break}return t}function l(e,t){for(var n={},a=[],o=0;o<e.length;o++){var i=e[o],l=t.base?i[0]+t.base:i[0],c=n[l]||0,p="".concat(l," ").concat(c);n[l]=c+1;var d=s(p),u={css:i[1],media:i[2],sourceMap:i[3]};-1!==d?(r[d].references++,r[d].updater(u)):r.push({identifier:p,updater:v(u,t),references:1}),a.push(p)}return a}function c(e){var t=document.createElement("style"),a=e.attributes||{};if(void 0===a.nonce){var o=n.nc;o&&(a.nonce=o)}if(Object.keys(a).forEach((function(e){t.setAttribute(e,a[e])})),"function"==typeof e.insert)e.insert(t);else{var r=i(e.insert||"head");if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(t)}return t}var p,d=(p=[],function(e,t){return p[e]=t,p.filter(Boolean).join("\n")});function u(e,t,n,a){var o=n?"":a.media?"@media ".concat(a.media," {").concat(a.css,"}"):a.css;if(e.styleSheet)e.styleSheet.cssText=d(t,o);else{var i=document.createTextNode(o),r=e.childNodes;r[t]&&e.removeChild(r[t]),r.length?e.insertBefore(i,r[t]):e.appendChild(i)}}function f(e,t,n){var a=n.css,o=n.media,i=n.sourceMap;if(o?e.setAttribute("media",o):e.removeAttribute("media"),i&&"undefined"!=typeof btoa&&(a+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),e.styleSheet)e.styleSheet.cssText=a;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(a))}}var h=null,g=0;function v(e,t){var n,a,o;if(t.singleton){var i=g++;n=h||(h=c(t)),a=u.bind(null,n,i,!1),o=u.bind(null,n,i,!0)}else n=c(t),a=f.bind(null,n,t),o=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return a(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;a(e=t)}else o()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=o());var n=l(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var a=0;a<n.length;a++){var o=s(n[a]);r[o].references--}for(var i=l(e,t),c=0;c<n.length;c++){var p=s(n[c]);0===r[p].references&&(r[p].updater(),r.splice(p,1))}n=i}}}},5320:(e,t,n)=>{n.r(t),n.d(t,{default:()=>m});var a=n(60185),o=n(69301);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function r(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?i(Object(n),!0).forEach((function(t){s(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}for(var l=[],c=1;c<=10;c++)for(var p=1;p<=5;p++)l.push("newtable_"+c+"_"+p);var d={theme:"snow",modules:{toolbar:[["bold","italic","underline","clean"],[{header:1},{header:2}],[{color:["#818589","#4E5961","#559AE4","#81A8D8","#AD705F","#CB709D","#77CFC2","#ad8d13","#8776B1","#D08733","#6F6F6F","#8586AE","#E99C9A","#77B383"]},{background:["#F3F4F4","#ffe9e9","#fff5e9","#fffde9","#defbe5","#def3fb","#ffecfd"]}],["blockquote"],[{list:"ordered"},{list:"bullet"}],[{align:[]}],["link","image","video"],[{table:l},{table:"append-row"},{table:"append-col"}]],table:!0,imageDrop:!(navigator.userAgent.indexOf("MSIE ")>-1||navigator.userAgent.indexOf("Trident/")>-1),imageResize:!(navigator.userAgent.indexOf("MSIE ")>-1||navigator.userAgent.indexOf("Trident/")>-1)}};const u={mixins:[o.V,a.G],data:function(){return{lang_options:[],placeholderText:"Enter any additional order information",groupTranslationLang:"en",processing:!1,confirmationEmail:"",descriptionQuill:r({},d)}},computed:{options:function(){return store.state.webshop.options},initData:function(){return store.state.layout.initData}},methods:{changeLanguage:function(){var e=this,t=this.options.placeholder_info.find((function(t){return t.lang==e.groupTranslationLang}));this.placeholderText=t?t.placeHolderInfo:""},insertPlaceHolderInfo:function(){var e=this;if(""!==this.placeholderText)if(this.options.placeholder_info.length){var t=this.options.placeholder_info.find((function(t){return t.lang==e.groupTranslationLang}));t?t.placeHolderInfo=this.placeholderText:this.options.placeholder_info.push({lang:this.groupTranslationLang,placeHolderInfo:this.placeholderText})}else this.options.placeholder_info.push({lang:this.groupTranslationLang,placeHolderInfo:this.placeholderText})},showOptionsModal:function(){store.dispatch("webshop/getWebshopSettings",{groupId:this.initData.group.id})},updateOptions:function(){this.options.picked||(this.options.picked_location=null);var e=this;this.processing=!0,axios.post(api_routes.admin.group.updateWebshopOptions(this.initData.group.id),{options:this.options}).then((function(t){e.processing=!1,e.$bvModal.hide("webshopOptionsModal"),alert.$emit("alert",t.data)})).catch((function(t){alert.$emit("alert",t.response.data),e.processing=!1}))},disableDelivery:function(){this.options.delivery=0},enableDelivery:function(){this.options.delivery=1},disablePicked:function(){this.options.picked=0,this.options.picked_location=null},enablePicked:function(){this.options.picked=1},enableDisableAutomaticAcceptPurchase:function(){this.options.automatic_accept_purchase=!this.options.automatic_accept_purchase}},created:function(){this.lang_options=this.initData.group.languages,this.initData.group.webshop&&store.dispatch("webshop/getWebshopSettings",{groupId:this.initData.group.id})},watch:{"options.picked":function(e){this.options.picked_location=e?this.initData.group.address.city+", "+this.initData.group.address.street1:null},"options.placeholder_info":function(e){var t=this;if(e&&Array.isArray(e)){var n=e.find((function(e){return e.lang==t.groupTranslationLang}));this.placeholderText=n?n.placeHolderInfo:"Enter any additional order information"}}}};var f=n(85072),h=n.n(f),g=n(2616),v={insert:"head",singleton:!1};h()(g.A,v);g.A.locals;const m=(0,n(14486).A)(u,(function(){var e=this,t=e._self._c;return t("b-modal",{attrs:{id:"webshopOptionsModal","hide-footer":"","hide-header":"","body-class":"border-radius-medium"},on:{show:e.showOptionsModal}},[t("div",[t("div",{staticClass:"modal-content"},[t("div",{staticClass:"header-section"},[t("a",{staticClass:"fa fa-times pull-right pointer color-light-blue",on:{click:function(t){return e.$bvModal.hide("webshopOptionsModal")}}}),e._v(" "),t("h2",{staticClass:"align-center"},[e._v("\n                        "+e._s(e.localLangs.club_general.webshop_options)+"\n                    ")])]),e._v(" "),t("div",{staticClass:"modal-body settings-content padding-massive strip-padding-bottom"},[t("div",[t("div",{staticClass:"form-block clearfix"},[t("div",{staticClass:"font-14 col-6-12 align-left",staticStyle:{padding:"20px 0"}},[t("label",{staticClass:"strip-margin w-100"},[e._v("\n                                    "+e._s(e.localLangs.club_general.shipping_fee)+"\n                                    "),t("a",{directives:[{name:"b-popover",rawName:"v-b-popover.hover.right.html",value:e.localLangs.help.webshop_shipping_fee_help_text,expression:"localLangs.help.webshop_shipping_fee_help_text",modifiers:{hover:!0,right:!0,html:!0}}],staticClass:"popover-hover",attrs:{href:"javascript:void(0)",rel:"popover"}},[t("i",{staticClass:"popover-icon"})])])]),e._v(" "),t("div",{staticClass:"col-6-12"},[t("label",{staticClass:"form-control-new flex align-items-center strip-margin w-100",staticStyle:{padding:"0 15px 0 0"}},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.options.shipping_fee,expression:"options.shipping_fee"}],staticClass:"form-control-new strip-margin",attrs:{type:"number"},domProps:{value:e.options.shipping_fee},on:{input:function(t){t.target.composing||e.$set(e.options,"shipping_fee",t.target.value)}}}),e._v(" "),t("span",{staticClass:"pull-right text-black"},[e._v("\n                                                    "+e._s(e.mixinDisplayCurrency(e.initData.group.address.currency))+"\n                                                ")])])])]),e._v(" "),t("div",{staticClass:"flex justify-content-between align-items-center form-block padding-top padding-bottom"},[t("label",{staticClass:"strip-margin"},[e._v("\n                                "+e._s(e.localLangs.webshop.order_additional_information)+"\n                                "),t("a",{directives:[{name:"b-popover",rawName:"v-b-popover.hover.right.html",value:e.localLangs.webshop.order_additional_info_help,expression:"localLangs.webshop.order_additional_info_help",modifiers:{hover:!0,right:!0,html:!0}}],staticClass:"popover-hover",attrs:{href:"javascript:void(0)",rel:"popover"}},[t("i",{staticClass:"popover-icon"})])]),e._v(" "),t("div",[t("span",{class:e.options.additional_info?"fa fa-toggle-on fa-2x text-success":"fa fa-toggle-off fa-2x off-btn-color",on:{click:function(t){e.options.additional_info=!e.options.additional_info}}})])]),e._v(" "),e.options.additional_info?t("div",{staticClass:"align-items-center form-block padding-top padding-bottom"},[t("div",{staticClass:"col-12-12"},[t("label",{staticClass:"strip-margin"},[e._v("\n                                    Additional Information Placeholder\n                                ")])]),e._v(" "),t("div",{staticClass:"col-12-12"},[t("div",{staticClass:"flex padding-top padding-bottom-small"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.placeholderText,expression:"placeholderText"}],staticClass:"form-control-new w-100 strip-margin",attrs:{type:"text",id:"description",name:"description",placeholder:e.localLangs.main.description},domProps:{value:e.placeholderText},on:{blur:function(t){return e.insertPlaceHolderInfo()},input:function(t){t.target.composing||(e.placeholderText=t.target.value)}}}),e._v(" "),t("select",{directives:[{name:"model",rawName:"v-model",value:e.groupTranslationLang,expression:"groupTranslationLang"}],staticClass:"strip-margin form-control-new-select margin-left text-uppercase w-25",on:{change:[function(t){var n=Array.prototype.filter.call(t.target.options,
1(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.groupTranslationLang=t.target.multiple?n:n[0]},e.changeLanguage]}},e._l(e.lang_options,(function(n){return t("option",{key:n.lang,domProps:{value:n.lang}},[e._v("\n                                            "+e._s(n.lang)+"\n                                        ")])})),0)])])]):e._e(),e._v(" "),t("div",{staticClass:"form-block padding-top padding-bottom clearfix"},[t("label",{staticClass:"strip-margin"},[e._v("\n                                "+e._s(e.localLangs.club_general.deliveryOption)+"\n                            ")]),e._v(" "),1==e.options.delivery?t("div",{staticClass:"pull-right"},[t("span",{staticClass:"fa fa-toggle-on fa-2x text-success",attrs:{"aria-hidden":"true",title:e.localLangs.club_general.enabledDelivery},on:{click:function(t){return t.preventDefault(),e.disableDelivery.apply(null,arguments)}}})]):0==e.options.delivery?t("div",{staticClass:"pull-right"},[t("span",{staticClass:"fa fa-toggle-off fa-2x off-btn-color",attrs:{"aria-hidden":"true",title:e.localLangs.club_general.disabledDelivery},on:{click:function(t){return t.preventDefault(),e.enableDelivery.apply(null,arguments)}}})]):e._e()]),e._v(" "),t("div",{staticClass:"form-block padding-top padding-bottom clearfix"},[t("label",{staticClass:"strip-margin"},[e._v("\n                                "+e._s(e.localLangs.club_general.pickedUpOption)+"\n                                "),t("a",{directives:[{name:"b-popover",rawName:"v-b-popover.hover.right.html",value:e.localLangs.help.webshop_picked_up_help_text,expression:"localLangs.help.webshop_picked_up_help_text",modifiers:{hover:!0,right:!0,html:!0}}],staticClass:"popover-hover",attrs:{href:"javascript:void(0)",rel:"popover"}},[t("i",{staticClass:"popover-icon"})])]),e._v(" "),1==e.options.picked?t("div",{staticClass:"pull-right"},[t("span",{staticClass:"fa fa-toggle-on fa-2x text-success",attrs:{"aria-hidden":"true",title:e.localLangs.club_general.enabledPicked},on:{click:function(t){return t.preventDefault(),e.disablePicked.apply(null,arguments)}}})]):e._e(),e._v(" "),1==e.options.picked?t("div",{staticClass:"form-block clearfix margin-top padding-top"},[t("label",[e._v("\n                                    "+e._s(e.localLangs.webshop.pickup_location_address)+"\n                                ")]),e._v(" "),t("input",{directives:[{name:"model",rawName:"v-model",value:e.options.picked_location,expression:"options.picked_location"}],staticClass:"form-control-new strip-margin",attrs:{type:"text"},domProps:{value:e.options.picked_location},on:{input:function(t){t.target.composing||e.$set(e.options,"picked_location",t.target.value)}}})]):0==e.options.picked?t("div",{staticClass:"pull-right"},[t("span",{staticClass:"fa fa-toggle-off fa-2x off-btn-color",attrs:{"aria-hidden":"true",title:e.localLangs.club_general.disabledPicked},on:{click:function(t){return t.preventDefault(),e.enablePicked.apply(null,arguments)}}})]):e._e()]),e._v(" "),t("div",{staticClass:"form-block padding-top padding-bottom clearfix"},[t("label",{staticClass:"strip-margin"},[e._v("\n                                "+e._s(e.localLangs.club_general.automaticAcceptPurchase)+"\n                                "),t("a",{directives:[{name:"b-popover",rawName:"v-b-popover.hover.right.html",value:e.localLangs.club_general.automaticAcceptPurchaseHelp,expression:"localLangs.club_general.automaticAcceptPurchaseHelp",modifiers:{hover:!0,right:!0,html:!0}}],staticClass:"popover-hover",attrs:{href:"javascript:void(0)",rel:"popover"}},[t("i",{staticClass:"popover-icon"})])]),e._v(" "),t("div",{staticClass:"pull-right"},[t("a",{attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.enableDisableAutomaticAcceptPurchase.apply(null,arguments)}}},[t("span",{class:e.options.automatic_accept_purchase?"fa fa-toggle-on fa-2x text-success":"fa fa-toggle-off fa-2x text-grey",attrs:{"aria-hidden":"true",title:e.options.automatic_accept_purchase?e.localLangs.club_general.disabledAutomaticAcceptPurchase:e.localLangs.club_general.enabledAutomaticAcceptPurchase}})])])])])]),e._v(" "),t("quill-editor",{ref:"quill",attrs:{groupId:e.initData.group.id,options:e.descriptionQuill},on:{change:function(t){return e.decodeBase64Quill(t)},ready:function(t){return e.onEditorReady()}},model:{value:e.options.confirmation_email,callback:function(t){e.$set(e.options,"confirmation_email",t)},expression:"options.confirmation_email"}}),e._v(" "),t("div",{staticClass:"modal-footer"},[t("button",{staticClass:"btn btn-large btn-light-grey pull-left",on:{click:function(t){return e.$bvModal.hide("webshopOptionsModal")}}},[e._v("\n                        "+e._s(e.localLangs.main.close)+"\n                        "),t("i",{directives:[{name:"show",rawName:"v-show",value:e.processing,expression:"processing"}],staticClass:"fa fa-circle-o-notch fa-spin fa-fw"})]),e._v(" "),t("button",{staticClass:"btn btn-large btn-dark-green pull-right",attrs:{disabled:e.processing},on:{click:e.updateOptions}},[e._v("\n                        "+e._s(e.localLangs.club_general.save_changes)+"\n                        "),t("i",{directives:[{name:"show",rawName:"v-show",value:e.processing,expression:"processing"}],staticClass:"fa fa-circle-o-notch fa-spin fa-fw"}
1)])])],1)])])}),[],!1,null,"c2868486",null).exports},14486:(e,t,n)=>{function a(e,t,n,a,o,i,r,s){var l,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),a&&(c.functional=!0),i&&(c._scopeId="data-v-"+i),r?(l=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(r)},c._ssrRegister=l):o&&(l=s?function(){o.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:o),l)if(c.functional){c._injectStyles=l;var p=c.render;c.render=function(e,t){return l.call(t),p(e,t)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,l):[l]}return{exports:e,options:c}}n.d(t,{A:()=>a})}}]);

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.