"use strict";var __defProp=Object.defineProperty,__getOwnPropDesc=Object.getOwnPropertyDescriptor,__getOwnPropNames=Object.getOwnPropertyNames,__hasOwnProp=Object.prototype.hasOwnProperty,__export=(e,o)=>{for(var t in o)__defProp(e,t,{get:o[t],enumerable:!0})},__copyProps=(o,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let e of __getOwnPropNames(t))__hasOwnProp.call(o,e)||e===r||__defProp(o,e,{get:()=>t[e],enumerable:!(n=__getOwnPropDesc(t,e))||n.enumerable});return o},__toCommonJS=e=>__copyProps(__defProp({},"__esModule",{value:!0}),e),options_exports={},CORS_HEADERS=(__export(options_exports,{handler:()=>handler,method:()=>method,path:()=>path}),module.exports=__toCommonJS(options_exports),{"Access-Control-Allow-Origin":"*"}),sendNoContent=(e,o={})=>{e.sendResponse(204,{...CORS_HEADERS,...o},"")},method="OPTIONS",path=/^\/cpl\//,handler=(e,o,t)=>{sendNoContent(t,{...CORS_HEADERS,"Access-Control-Allow-Methods":"GET, POST, PUT, OPTIONS","Access-Control-Allow-Headers":"Content-Type, Authorization, X-Requested-With","Access-Control-Max-Age":"86400"})};