PageSourceSearch

https://katalon.com/_next/static/chunks/pages/extend-trial-form-6792b5cd04b4d25b.js

js katalon.com collected 2026-10-01 10:32:59 UTC 16,506 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1435],{76489:function(e,t){"use strict";t.parse=function(e,t){if("string"!==typeof e)throw new TypeError("argument str must be a string");var a={},o=e.length;if(o<2)return a;var n=t&&t.decode||d,r=0,s=0,p=0;do{if(-1===(s=e.indexOf("=",r)))break;if(-1===(p=e.indexOf(";",r)))p=o;else if(s>p){r=e.lastIndexOf(";",s-1)+1;continue}var m=c(e,r,s),f=l(e,s,m),v=e.slice(m,f);if(!i.call(a,v)){var h=c(e,s+1,p),y=l(e,p,h);34===e.charCodeAt(h)&&34===e.charCodeAt(y-1)&&(h++,y--);var x=e.slice(h,y);a[v]=u(x,n)}r=p+1}while(r<o);return a},t.serialize=function(e,t,i){var c=i&&i.encode||encodeURIComponent;if("function"!==typeof c)throw new TypeError("option encode is invalid");if(!o.test(e))throw new TypeError("argument name is invalid");var l=c(t);if(!n.test(l))throw new TypeError("argument val is invalid");var d=e+"="+l;if(!i)return d;if(null!=i.maxAge){var u=Math.floor(i.maxAge);if(!isFinite(u))throw new TypeError("option maxAge is invalid");d+="; Max-Age="+u}if(i.domain){if(!r.test(i.domain))throw new TypeError("option domain is invalid");d+="; Domain="+i.domain}if(i.path){if(!s.test(i.path))throw new TypeError("option path is invalid");d+="; Path="+i.path}if(i.expires){var p=i.expires;if(!function(e){return"[object Date]"===a.call(e)}(p)||isNaN(p.valueOf()))throw new TypeError("option expires is invali
1d");d+="; Expires="+p.toUTCString()}i.httpOnly&&(d+="; HttpOnly");i.secure&&(d+="; Secure");i.partitioned&&(d+="; Partitioned");if(i.priority){switch("string"===typeof i.priority?i.priority.toLowerCase():i.priority){case"low":d+="; Priority=Low";break;case"medium":d+="; Priority=Medium";break;case"high":d+="; Priority=High";break;default:throw new TypeError("option priority is invalid")}}if(i.sameSite){switch("string"===typeof i.sameSite?i.sameSite.toLowerCase():i.sameSite){case!0:d+="; SameSite=Strict";break;case"lax":d+="; SameSite=Lax";break;case"strict":d+="; SameSite=Strict";break;case"none":d+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return d};var a=Object.prototype.toString,i=Object.prototype.hasOwnProperty,o=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/,n=/^("?)[\u0021\u0023-\u002B\u002D-\u003A\u003C-\u005B\u005D-\u007E]*\1$/,r=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,s=/^[\u0020-\u003A\u003D-\u007E]*$/;function c(e,t,a){do{var i=e.charCodeAt(t);if(32!==i&&9!==i)return t}while(++t<a);return a}function l(e,t,a){for(;t>a;){var i=e.charCodeAt(--t);if(32!==i&&9!==i)return t+1}return a}
1function d(e){return-1!==e.indexOf("%")?decodeURIComponent(e):e}function u(e,t){try{return t(e)}catch(a){return e}}},47041:function(e,t,a){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,a=1,i=arguments.length;a<i;a++)for(var o in t=arguments[a])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)},o=this&&this.__rest||function(e,t){var a={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(a[i]=e[i]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(a[i[o]]=e[i[o]])}return a};Object.defineProperty(t,"__esModule",{value:!0}),t.hasCookie=t.deleteCookie=t.setCookie=t.getCookie=t.getCookies=void 0;var n=a(76489),r=function(){return"undefined"!==typeof window},s=function(e){return!!e&&("getAll"in e&&"set"in e&&"function"===typeof e.getAll&&"function"===typeof e.set)},c=function(e){return!!(null===e||void 0===e?void 0:e.req)&&"cookies"in e.req&&s(null===e||void 0===e?void 0:e.req.cookies)||!!(null===e||void 0===e?void 0:e.res)&&"cookies"in e.res&&s(null===e||void 0===e?void 0:e.res.cookies)||!!(null===e||void 0===e?void 0:e.cookies)&&s(e.cookies())},l=function(e){var t={};return e.getAll().forEach((function(e){var a=e.name,i=e.value;t[a]=i})),t},d=function(e){try{return"string"===typeof e?e:JSON.stringify(e)}catch(t){return e}};t.getCookies=function(e){if(c(e)){if(null===e||void 0===e?void 0:e.req)return l(e.req.cookies);if(null===e||void 0===e?void 0:e.cookies)return l(e.cookies())}var t;if(e&&(t=e.req),!r())return t&&t.cookies?t.cookies:t&&t.headers.cookie?(0,n.parse)(t.headers.cookie):{};for(var a={},i=document.cookie?document.cookie.split("; "):[],o=0,s=i.length;o<s;o++){var d=i[o].split("="),u=d.slice(1).join("=");a[d[0]]=u}return a};t.getCookie=function(e,a){var i,o=(0,t.getCookies)(a)[e];if(void 0!==o)return(i=o)?i.replace(/(%[0-9A-Z]{2}
1)+/g,decodeURIComponent):i};t.setCookie=function(e,t,a){if(c(a)){var s=a.req,l=a.res,u=a.cookies,p=o(a,["req","res","cookies"]),m=i({name:e,value:d(t)},p);return s&&s.cookies.set(m),l&&l.cookies.set(m),void(u&&u().set(m))}var f,v,h;if(a){var y=a;v=s=y.req,h=l=y.res,f=o(y,["req","res"])}var x=(0,n.serialize)(e,d(t),i({path:"/"},f));if(r())document.cookie=x;else if(h&&v){var _=h.getHeader("Set-Cookie");if(Array.isArray(_)||(_=_?[String(_)]:[]),h.setHeader("Set-Cookie",_.concat(x)),v&&v.cookies){var g=v.cookies;""===t?delete g[e]:g[e]=d(t)}if(v&&v.headers&&v.headers.cookie){g=(0,n.parse)(v.headers.cookie);""===t?delete g[e]:g[e]=d(t),v.headers.cookie=Object.entries(g).reduce((function(e,t){return e.concat("".concat(t[0],"=").concat(t[1],";"))}),"")}}};t.deleteCookie=function(e,a){return(0,t.setCookie)(e,"",i(i({},a),{maxAge:-1}))};t.hasCookie=function(e,a){return!!e&&(0,t.getCookies)(a).hasOwnProperty(e)}},72770:function(e,t,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/extend-trial-form",function(){return a(26472)}])},98514:function(e,t,a){"use strict";a.d(t,{$:function(){return s},t:function(){return c}});var i=a(85893),o=a(2962),n=a(9008),r=a.n(n);function s(e){var t,a,n,s,c,l,d,u=e.data,p=u.title,m=u.description,f=u.slug,v=u.featureImage,h=u.featureImageAlt,y=u.keywords,x="https://katalon.com";return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(o.PB,{title:p,description:m,canonical:u.noCanonical?void 0:"".concat(x).concat(f),noindex:!0===u.noindex,openGraph:{type:"website",url:"".concat(x).concat(f),title:u.facebookSocial?u.facebookSocial.title:p,description:u.facebookSocial?u.facebookSocial.description:m,locale:"en_EN",images:(null===(t=u.facebookSocial)||void 0===t?void 0:t.image)||v?[{url:(null===(a=u.facebookSocial)||void 0===a?void 0:a.image)||v,alt:(null===(n=u.facebookSocial)||void 0===n?void 0:n.alt)||h}]:void 0,site_name:"katalon.com"},twitter:{handle:"@",site:"katalon.com",cardType:(null===(s=u.twitterSocial)||void 0===s?void 0:s.cardType)||"summary"}}),"",(0,i.jsxs)(r(),{children:[(0,i.jsx)("meta",{name:"twitter:description",content:u.twitterSocial?u.twitterSocial.description:m}),(0,i.jsx)("meta",{name:"twitter:title",content:u.twitterSocial?u.twitterSocial.title:p}),((null===(c=u.twitterSocial)||void 0===c?void 0:c.image)||v)&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("meta",{name:"twitter:image",content:(null===(l=u.twitterSocial)||void 0===l?void 0:l.image)||v}),(0,i.jsx)("meta",{name:"twitter:image:alt",content:(null===(d=u.twitterSocial)||void 0===d?void 0:d.alt)||h})]}),y?(0,i.jsx)("meta",{name:"keywords",content:y}):"",u.structuredData?(0,i.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:u.structuredData.replace(/</g,"\\u003c")}}):""]})]})}function c(e){var t=e.data,a=t.title,n=t.description,s=t.slug,c=t.featureImage,l=t.featureImageAlt,d=t.keywords,u="https://katalon.com";return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(o.PB,{title:a,description:n,canonical:"".concat(u).concat(s),openGraph:{type:"article",url:"".concat(u).concat(s),title:t.facebookSocial?t.facebookSocial.title:a,description:t.facebookSocial?t.facebookSocial.description:n,locale:"en_EN",images:[{url:t.facebookSocial?t.facebookSocial.image:c,alt:t.facebookSocial?t.facebookSocial.alt:l}],site_name:"katalon.com"},twitter:{handle:"@",site:"katalon.com",cardType:"summary"}}),"",(0,i.jsxs)(r(),{children:[(0,i.jsx)("meta",{name:"twitter:description",content:t.twitterSocial?t.twitterSocial.description:n}),(0,i.jsx)("meta",{name:"twitter:title",content:t.twitterSocial?t.twitterSocial.title:a}),(0,i.jsx)("meta",{name:"twitter:image",content:t.twitterSocial?t.twitterSocial.image:c}),(0,i.jsx)("meta",{name:"twitter:image:alt",content:t.twitterSocial?t.twitterSocial.alt:l}),(0,i.jsx)("meta",{name:"keywords",content:d}),(0,i.jsx)("link",{rel:"alternate",type:"application/rss+xml",href:"https://katalon.com/resources-center/blog/rss.xml"}),t.structuredData?(0,i.jsx)("script",{type:"application/ld+json",children:JSON.stringify(t.structuredData)}):""]})]})}},26472:function(e,t,a){"use strict";a.r(t),a.d(t,{__N_SSP:function(){return v},default:function(){return h}});var i=a(85893),o=a(93207),n=(a(47041),a(98514)),r=a(2962),s=a(67294),c=a(11163),l=a(92729),d=a(84808),u=a(98456),p=a(24601),m=a.n(p),f=function(){var e=(0,c.useRouter)(),t=(0,s.use
1State)(!1),a=t[0],o=t[1],n=e.query.trialDay;return(0,s.useEffect)((function(){jQuery(document).ready((function(e){var t,a=null!==(t=new URLSearchParams(window.location.search).get("token"))&&void 0!==t?t:"";jQuery(".btn_book_a_call").on("click",(function(e){var t={token:a,eventData:{event:"ksu_survey_button_clicked",properties:{button_name:"Book a call",page_name:"Extend Trial",page_url:window.origin+window.location.pathname,timestamp:Date.now()}}};l.Z.post("".concat("https://backend.katalon.com","/v1/surveys/tracking"),t,{headers:{"Content-Type":"application/json"}}).then((function(e){})),window.location.href="katalonstudio://survey/navigate?dest=".concat(encodeURIComponent("https://katalon.com/contact-us#contact-us"))})),jQuery(".btn_view_all_plans").on("click",(function(e){var t={token:a,eventData:{event:"ksu_survey_button_clicked",properties:{button_name:"View all plans",page_name:"Extend Trial",page_url:window.origin+window.location.pathname,timestamp:Date.now()}}};l.Z.post("".concat("https://backend.katalon.com","/v1/surveys/tracking"),t,{headers:{"Content-Type":"application/json"}}).then((function(e){})),window.location.href="katalonstudio://survey/navigate?dest=".concat(encodeURIComponent("https://katalon.com/pricing?source=ks-inapp"))})),jQuery(".field_input textarea").on("input",(function(e){jQuery(e.currentTarget).css("height","5px");var t=jQuery(e.currentTarget)[0].scrollHeight;jQuery(e.currentTarget).css("height","".concat(t,"px"))})),jQuery(".btn_submit").on("click",(function(e){jQuery(".error_message").removeClass("active"),o(!0),function(){var e={token:a,eventData:{event:"ksu_survey_button_clicked",properties:{button_name:"Submit",page_name:"Extend Trial",page_url:window.origin+window.location.pathname,timestamp:Date.now()}}};l.Z.post("".concat("https://backend.katalon.com","/v1/surveys/tracking"),e,{headers:{"Content-Type":"application/json"}}).then((function(e){}))}();var t=jQuery("#trial_improve_input").val(),i=jQuery("#features_planning_explore_input").val(),n=jQuery("#overall_impressions_input").val();if(i&&n){var r,s,c,d,u=new URLSearchParams(window.location.search),p=null!==(r=u.get("token"))&&void 0!==r?r:"",m=null!==(s=u.get("accountId"))&&void 0!==s?s:"",f=null!==(c=u.get("organizationId"))&&void 0!==c?c:"",v=null!==(d=u.get("trialDay"))&&void 0!==d?d:"25",h={surveyName:"extend_trial_d".concat(v),userInfo:{token:p,accountId:m,organizationId:f},surveyData:{what_are_your_overall_impressions_of_katalon_products:n,what_features_are_you_planning_to_explore_in_the_trial_extension:i,what_can_we_do_to_improve_your_trial_experience:t}};l.Z.post("".concat("https://backend.katalon.com","/v1/surveys/submit-extend-trial-survey"),h,{headers:{"Content-Type":"application/json"}}).then((function(e){var t=e.data;o(!1),1==t.error&&"trial.extend.not.same.expiry.date"!=t.message?(jQuery(".error_message").html('Oops! We couldn\u2019t save your response. Please try submitting again or contact us at <a href="mailto:[email protected]">[email protected]</a> for help.'),jQuery(".error_message").addClass("active")):(jQuery(".extend_trial_page").css("display","none"),jQuery(".notification_page").css("display","flex"),setTimeout((function(){window.location.href="katalonstudio://survey/close"}),1e4))})).catch((function(e){o(!1),jQuery(".error_message").html('Oops! We couldn\u2019t save your response. Please try submitting again or contact us at <a href="mailto:[email protected]">[email protected]</a> for help.'),jQuery(".error_message").addClass("active")}))}else o(!1),jQuery(".error_message").addClass("active")}))}))}),[]),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{className:m().wrapExtendTrialFormPage,children:[(0,i.jsxs)("div",{className:"extend_trial_page",children:[(0,i.jsxs)("div",{className:"title",children:["Your ",(0,i.jsx)("span",{className:"highlight_text",children:"Katalon Studio trial"})," ",30==n?"ends today!":"is coming to an end!"]}),30==n?(0,i.jsx)(i.Fragment,{children:(0,i.jsxs)("div",{className:"desc",children:["After the trial expires, you can use our Studio Free version. If you need more time to evaluate, ",(0,i.jsx)("span",{className:"bold_text",children:"we can offer a 30-day extension"})," after you fill out the form below."]})}):(0,i.jsx)(i.Fragment,{children:(0,i.jsxs)("div",{className:"desc",children:[(0,i.jsx)("span",{className:"bold_text",children:"Your Enterprise trial ends in 5 days."})," If you need more time to evaluate, ",(0,i.jsx)("span",{className:"bold_text",children:"we can offer a 30-day extension"}),". Please fill out this quick survey before your trial ends."]})}),(0,i.jsxs)("div",{className:"extend_trial_form",children:[(0,i.jsxs)("div",{className:"field",children:[(0,i.jsxs)("div",{className:"field_label",children:["What are your overall impressions of Katalon products?",(0,i.jsx)("span",{className:"required_text",children:"*"})]}),(0,i.jsx)("div",{className:"field_input",children:(0,i.jsx)("textarea",{placeholder:"Type your feeling",id:"overall_impressions_input"})})]}),(0,i.jsxs)("div",{className:"field",children:[(0,i.jsxs)("div",{className:"field_label",children:["What features are you planning to explore in the trial extension?",(0,i.jsx)("span",{className:"required_text",children:"*"})]}),(0,i.jsx)("div",{className:"field_input",children:(0,i.jsx)("textarea",{placeholder:"Type your answer",id:"features_planning_explore_input"})})]}),(0,i.jsxs)("div",{className:"field",children:[(0,i.jsx)("div",{className:"field_label",children:"What can we do to improve your trial experience?"}),(0,i.jsx)("div",{className:"field_input",children:(0,i.jsx)("textarea",{placeholder:"Type your answer (optional)",id:"trial_improve_input"})})]}),(0,i.jsx)("div",{className:"error_message",children:"Please complete the required field(s)."}),(0,i.jsx)("div",{className:"btn_submit",children:"Submit"})]}),30==n?(0,i.jsx)(i.Fragment,{children:(0,i.jsxs)("div",{className:"more_information_section",children:[(0,i.jsx)("div",{className:"left_content",children:(0,i.jsxs)("div",{className:"message",children:[(0,i.jsx)("span",{className:"bold_text",children:"Need guidance?"})," ",(0,i.jsx)("br",{}),"I'm happy to help! ",(0,i.jsx)("span",{className:"btn_book_a_call btn_underline",children:"Book a call"})]})}),(0,i.jsx)("div",{className:"right_content",children:(0,i.jsxs)("div",{className:"message",children:[(0,i.jsx)("span",{className:"bold_text",children:"Love it already?"})," "," ","Get 30% off Starter Plan license. ",(0,i.jsx)("span",{className:"btn_view_all_plans btn_underline",children:"View all plans"})]})})]})}):""]}),(0,i.jsxs)("div",{className:"notification_page",children:[(0,i.jsx)("div",{className:"title",children:"Thank y
1ou for your feedback!"}),(0,i.jsxs)("div",{className:"desc",children:["Your feedback is valuable to us as we continue to improve our products. ",(0,i.jsx)("br",{}),"Your trial has been extended by 30 days. Enjoy continued access to our product."]})]})]}),(0,i.jsx)(d.Z,{sx:{color:"#fff",zIndex:function(e){return e.zIndex.drawer+1}},open:a,children:(0,i.jsx)(u.Z,{color:"inherit"})})]})},v=!0;function h(e){e.data;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.$,{data:{title:"Extend Trial",description:"Extend Trial",slug:"/extend-trial-form",featureImage:"",featureImageAlt:""}}),(0,i.jsx)(r.PB,{noindex:!0,nofollow:!0}),(0,i.jsx)(f,{})]})}h.getLayout=function(e){return(0,i.jsx)(o.Z,{children:e})}},24601:function(e){e.exports={wrapExtendTrialFormPage:"ExtendTrialFormPage_wrapExtendTrialFormPage__uvkva"}}},function(e){e.O(0,[571,3102,2729,3207,9774,2888,179],(function(){return t=72770,e(e.s=t);var t}));var t=e.O();_N_E=t}]);

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.